You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/types/lib/contract/abi.ts
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -47,14 +47,14 @@ export type AbiEnum = {
47
47
};
48
48
49
49
// AbiEvents type is an arborescence :
50
-
// - Nodes are hashes of Cairo 1 components names, or of Cairo 0 or 1 event names,
51
-
// - With Cairo 1 abi, the nodes are linked in accordance with the components arborescence ; the tree can have several levels.
52
-
// - With Cairo 0 abi : the tree has only one level (no component concept)
53
-
// - leaves are the description of each event (not the same for Cairo 0 and Cairo 1)
54
-
// - if the #[flat] flag is used in the Cairo 1 code to describe an event, or if the event is in the main code, the branch for this event has only one level.
50
+
// - Nodes are hashes of either Cairo 1 components names, or of Cairo 0 or 1 event names,
51
+
// - With Cairo 1 abi, the nodes are linked in accordance with the components arborescence ; the tree can have several levels of nodes.
52
+
// - With Cairo 0 abi : the tree has only one level of nodes (no component concept)
53
+
// - leaves are at the end of each branch ; they describes each event (not the same for Cairo 0 and Cairo 1)
54
+
// - if the #[flat] flag is used in the Cairo 1 code to describe an event, or if the event is in the main code, the branch for this event has only one level of nodes (see example class 0x46ded64ae2dead6448e247234bab192a9c483644395b66f2155f2614e5804b0 in Sepolia)
55
55
exporttypeAbiEvents={[hash: string]: AbiEvent};
56
56
57
-
// if Cairo 1 then definition of an event, or new level
57
+
// if Cairo 1 then either definition of an event, or new level of nodes
0 commit comments