@funkit/core 1.0.14 → 1.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1,44 @@
1
- { "name": "TokenPriceOracle", "abi": [{ "inputs": [], "name": "MAX_DELAY", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "WEI_IN_ETH", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "aggregatorOrToken", "type": "address" }, { "internalType": "uint256", "name": "ethAmount", "type": "uint256" }, { "internalType": "uint8", "name": "tokenDecimals", "type": "uint8" }], "name": "getTokenValueOfEth", "outputs": [{ "internalType": "uint256", "name": "tokenValueOfEth", "type": "uint256" }, { "internalType": "uint256", "name": "oracleValidUntil", "type": "uint256" }], "stateMutability": "view", "type": "function" }], "addresses": { "1": "0x302275dcF9919c5449F2d53253ACD06315385272", "5": "0x302275dcF9919c5449F2d53253ACD06315385272", "10": "0x302275dcF9919c5449F2d53253ACD06315385272", "137": "0x302275dcF9919c5449F2d53253ACD06315385272", "8453": "0x302275dcF9919c5449F2d53253ACD06315385272", "36865": "0x302275dcF9919c5449F2d53253ACD06315385272", "42161": "0x302275dcF9919c5449F2d53253ACD06315385272", "421614": "0x33CE83528023d9aee4e6321250514741F00976DB" } }
1
+ {
2
+ "name": "TokenPriceOracle",
3
+ "abi": [
4
+ {
5
+ "inputs": [],
6
+ "name": "MAX_DELAY",
7
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
8
+ "stateMutability": "view",
9
+ "type": "function"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "WEI_IN_ETH",
14
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
15
+ "stateMutability": "view",
16
+ "type": "function"
17
+ },
18
+ {
19
+ "inputs": [
20
+ { "internalType": "address", "name": "aggregatorOrToken", "type": "address" },
21
+ { "internalType": "uint256", "name": "ethAmount", "type": "uint256" },
22
+ { "internalType": "uint8", "name": "tokenDecimals", "type": "uint8" }
23
+ ],
24
+ "name": "getTokenValueOfEth",
25
+ "outputs": [
26
+ { "internalType": "uint256", "name": "tokenValueOfEth", "type": "uint256" },
27
+ { "internalType": "uint256", "name": "oracleValidUntil", "type": "uint256" }
28
+ ],
29
+ "stateMutability": "view",
30
+ "type": "function"
31
+ }
32
+ ],
33
+ "addresses": {
34
+ "1": "0x302275dcF9919c5449F2d53253ACD06315385272",
35
+ "5": "0x302275dcF9919c5449F2d53253ACD06315385272",
36
+ "10": "0x302275dcF9919c5449F2d53253ACD06315385272",
37
+ "137": "0x302275dcF9919c5449F2d53253ACD06315385272",
38
+ "8453": "0x302275dcF9919c5449F2d53253ACD06315385272",
39
+ "36865": "0x302275dcF9919c5449F2d53253ACD06315385272",
40
+ "42161": "0x302275dcF9919c5449F2d53253ACD06315385272",
41
+ "421614": "0x33CE83528023d9aee4e6321250514741F00976DB",
42
+ "5000": "0x46B1Aee819Af33fa9617059A3D54e5352793473B"
43
+ }
44
+ }
@@ -1 +1,223 @@
1
- { "name": "UserAuthentication", "abi": [{ "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "groupId", "type": "bytes32" }, { "components": [{ "internalType": "bytes32[]", "name": "userIds", "type": "bytes32[]" }, { "internalType": "uint256", "name": "threshold", "type": "uint256" }], "indexed": false, "internalType": "structMultiSigGroup", "name": "group", "type": "tuple" }], "name": "MultiSigGroupCreated", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "groupId", "type": "bytes32" }], "name": "MultiSigGroupDeleted", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "groupId", "type": "bytes32" }, { "components": [{ "internalType": "bytes32[]", "name": "userIds", "type": "bytes32[]" }, { "internalType": "uint256", "name": "threshold", "type": "uint256" }], "indexed": false, "internalType": "structMultiSigGroup", "name": "group", "type": "tuple" }], "name": "MultiSigGroupUpdated", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": false, "internalType": "bytes", "name": "multiSigInitData", "type": "bytes" }], "name": "UserAuthenticationInitialized", "type": "event" }, { "inputs": [], "name": "ADMIN_ROLE", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "INIT_HASH", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "VERSION", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "bytes", "name": "initCode", "type": "bytes" }, { "internalType": "bytes", "name": "callData", "type": "bytes" }, { "internalType": "uint256", "name": "callGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "verificationGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "preVerificationGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxFeePerGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxPriorityFeePerGas", "type": "uint256" }, { "internalType": "bytes", "name": "paymasterAndData", "type": "bytes" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }], "internalType": "structUserOperation", "name": "userOp", "type": "tuple" }, { "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" }, { "internalType": "bytes", "name": "", "type": "bytes" }], "name": "authenticateUserOp", "outputs": [{ "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "groupId", "type": "bytes32" }, { "components": [{ "internalType": "bytes32[]", "name": "userIds", "type": "bytes32[]" }, { "internalType": "uint256", "name": "threshold", "type": "uint256" }], "internalType": "structMultiSigGroup", "name": "group", "type": "tuple" }], "name": "createMultiSigGroup", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "groupId", "type": "bytes32" }], "name": "deleteMultiSigGroup", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }], "name": "getState", "outputs": [{ "internalType": "bytes", "name": "state", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }], "name": "getState32", "outputs": [{ "internalType": "bytes32", "name": "state", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes", "name": "multiSigInitData", "type": "bytes" }], "name": "init", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "bytes", "name": "", "type": "bytes" }, { "internalType": "bytes", "name": "_signature", "type": "bytes" }, { "internalType": "bytes32", "name": "_hash", "type": "bytes32" }], "name": "isValidAction", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "moduleId", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes[]", "name": "calls", "type": "bytes[]" }], "name": "multiCall", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes", "name": "signature", "type": "bytes" }, { "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" }, { "internalType": "bytes32", "name": "userId", "type": "bytes32" }], "name": "subValidateSignatureECDSA", "outputs": [{ "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }], "stateMutability": "pure", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "groupId", "type": "bytes32" }, { "components": [{ "internalType": "bytes32[]", "name": "userIds", "type": "bytes32[]" }, { "internalType": "uint256", "name": "threshold", "type": "uint256" }], "internalType": "structMultiSigGroup", "name": "group", "type": "tuple" }], "name": "updateMultiSigGroup", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "addresses": { "1": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F", "5": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F", "10": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F", "137": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F", "8453": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F", "36865": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F", "42161": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F", "421614": "0x81C464389b2ac51D39aD934732bd172c4126773b" } }
1
+ {
2
+ "name": "UserAuthentication",
3
+ "abi": [
4
+ {
5
+ "anonymous": false,
6
+ "inputs": [
7
+ { "indexed": true, "internalType": "address", "name": "wallet", "type": "address" },
8
+ { "indexed": true, "internalType": "bytes32", "name": "groupId", "type": "bytes32" },
9
+ {
10
+ "components": [
11
+ { "internalType": "bytes32[]", "name": "userIds", "type": "bytes32[]" },
12
+ { "internalType": "uint256", "name": "threshold", "type": "uint256" }
13
+ ],
14
+ "indexed": false,
15
+ "internalType": "structMultiSigGroup",
16
+ "name": "group",
17
+ "type": "tuple"
18
+ }
19
+ ],
20
+ "name": "MultiSigGroupCreated",
21
+ "type": "event"
22
+ },
23
+ {
24
+ "anonymous": false,
25
+ "inputs": [
26
+ { "indexed": true, "internalType": "address", "name": "wallet", "type": "address" },
27
+ { "indexed": true, "internalType": "bytes32", "name": "groupId", "type": "bytes32" }
28
+ ],
29
+ "name": "MultiSigGroupDeleted",
30
+ "type": "event"
31
+ },
32
+ {
33
+ "anonymous": false,
34
+ "inputs": [
35
+ { "indexed": true, "internalType": "address", "name": "wallet", "type": "address" },
36
+ { "indexed": true, "internalType": "bytes32", "name": "groupId", "type": "bytes32" },
37
+ {
38
+ "components": [
39
+ { "internalType": "bytes32[]", "name": "userIds", "type": "bytes32[]" },
40
+ { "internalType": "uint256", "name": "threshold", "type": "uint256" }
41
+ ],
42
+ "indexed": false,
43
+ "internalType": "structMultiSigGroup",
44
+ "name": "group",
45
+ "type": "tuple"
46
+ }
47
+ ],
48
+ "name": "MultiSigGroupUpdated",
49
+ "type": "event"
50
+ },
51
+ {
52
+ "anonymous": false,
53
+ "inputs": [
54
+ { "indexed": true, "internalType": "address", "name": "wallet", "type": "address" },
55
+ { "indexed": false, "internalType": "bytes", "name": "multiSigInitData", "type": "bytes" }
56
+ ],
57
+ "name": "UserAuthenticationInitialized",
58
+ "type": "event"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "ADMIN_ROLE",
63
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
64
+ "stateMutability": "view",
65
+ "type": "function"
66
+ },
67
+ {
68
+ "inputs": [],
69
+ "name": "INIT_HASH",
70
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
71
+ "stateMutability": "view",
72
+ "type": "function"
73
+ },
74
+ {
75
+ "inputs": [],
76
+ "name": "VERSION",
77
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
78
+ "stateMutability": "view",
79
+ "type": "function"
80
+ },
81
+ {
82
+ "inputs": [
83
+ {
84
+ "components": [
85
+ { "internalType": "address", "name": "sender", "type": "address" },
86
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
87
+ { "internalType": "bytes", "name": "initCode", "type": "bytes" },
88
+ { "internalType": "bytes", "name": "callData", "type": "bytes" },
89
+ { "internalType": "uint256", "name": "callGasLimit", "type": "uint256" },
90
+ { "internalType": "uint256", "name": "verificationGasLimit", "type": "uint256" },
91
+ { "internalType": "uint256", "name": "preVerificationGas", "type": "uint256" },
92
+ { "internalType": "uint256", "name": "maxFeePerGas", "type": "uint256" },
93
+ { "internalType": "uint256", "name": "maxPriorityFeePerGas", "type": "uint256" },
94
+ { "internalType": "bytes", "name": "paymasterAndData", "type": "bytes" },
95
+ { "internalType": "bytes", "name": "signature", "type": "bytes" }
96
+ ],
97
+ "internalType": "structUserOperation",
98
+ "name": "userOp",
99
+ "type": "tuple"
100
+ },
101
+ { "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" },
102
+ { "internalType": "bytes", "name": "", "type": "bytes" }
103
+ ],
104
+ "name": "authenticateUserOp",
105
+ "outputs": [{ "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }],
106
+ "stateMutability": "view",
107
+ "type": "function"
108
+ },
109
+ {
110
+ "inputs": [
111
+ { "internalType": "bytes32", "name": "groupId", "type": "bytes32" },
112
+ {
113
+ "components": [
114
+ { "internalType": "bytes32[]", "name": "userIds", "type": "bytes32[]" },
115
+ { "internalType": "uint256", "name": "threshold", "type": "uint256" }
116
+ ],
117
+ "internalType": "structMultiSigGroup",
118
+ "name": "group",
119
+ "type": "tuple"
120
+ }
121
+ ],
122
+ "name": "createMultiSigGroup",
123
+ "outputs": [],
124
+ "stateMutability": "nonpayable",
125
+ "type": "function"
126
+ },
127
+ {
128
+ "inputs": [{ "internalType": "bytes32", "name": "groupId", "type": "bytes32" }],
129
+ "name": "deleteMultiSigGroup",
130
+ "outputs": [],
131
+ "stateMutability": "nonpayable",
132
+ "type": "function"
133
+ },
134
+ {
135
+ "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }],
136
+ "name": "getState",
137
+ "outputs": [{ "internalType": "bytes", "name": "state", "type": "bytes" }],
138
+ "stateMutability": "view",
139
+ "type": "function"
140
+ },
141
+ {
142
+ "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }],
143
+ "name": "getState32",
144
+ "outputs": [{ "internalType": "bytes32", "name": "state", "type": "bytes32" }],
145
+ "stateMutability": "view",
146
+ "type": "function"
147
+ },
148
+ {
149
+ "inputs": [{ "internalType": "bytes", "name": "multiSigInitData", "type": "bytes" }],
150
+ "name": "init",
151
+ "outputs": [],
152
+ "stateMutability": "nonpayable",
153
+ "type": "function"
154
+ },
155
+ {
156
+ "inputs": [
157
+ { "internalType": "address", "name": "", "type": "address" },
158
+ { "internalType": "uint256", "name": "", "type": "uint256" },
159
+ { "internalType": "bytes", "name": "", "type": "bytes" },
160
+ { "internalType": "bytes", "name": "_signature", "type": "bytes" },
161
+ { "internalType": "bytes32", "name": "_hash", "type": "bytes32" }
162
+ ],
163
+ "name": "isValidAction",
164
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
165
+ "stateMutability": "view",
166
+ "type": "function"
167
+ },
168
+ {
169
+ "inputs": [],
170
+ "name": "moduleId",
171
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
172
+ "stateMutability": "view",
173
+ "type": "function"
174
+ },
175
+ {
176
+ "inputs": [{ "internalType": "bytes[]", "name": "calls", "type": "bytes[]" }],
177
+ "name": "multiCall",
178
+ "outputs": [],
179
+ "stateMutability": "nonpayable",
180
+ "type": "function"
181
+ },
182
+ {
183
+ "inputs": [
184
+ { "internalType": "bytes", "name": "signature", "type": "bytes" },
185
+ { "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" },
186
+ { "internalType": "bytes32", "name": "userId", "type": "bytes32" }
187
+ ],
188
+ "name": "subValidateSignatureECDSA",
189
+ "outputs": [{ "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }],
190
+ "stateMutability": "pure",
191
+ "type": "function"
192
+ },
193
+ {
194
+ "inputs": [
195
+ { "internalType": "bytes32", "name": "groupId", "type": "bytes32" },
196
+ {
197
+ "components": [
198
+ { "internalType": "bytes32[]", "name": "userIds", "type": "bytes32[]" },
199
+ { "internalType": "uint256", "name": "threshold", "type": "uint256" }
200
+ ],
201
+ "internalType": "structMultiSigGroup",
202
+ "name": "group",
203
+ "type": "tuple"
204
+ }
205
+ ],
206
+ "name": "updateMultiSigGroup",
207
+ "outputs": [],
208
+ "stateMutability": "nonpayable",
209
+ "type": "function"
210
+ }
211
+ ],
212
+ "addresses": {
213
+ "1": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F",
214
+ "5": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F",
215
+ "10": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F",
216
+ "137": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F",
217
+ "8453": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F",
218
+ "36865": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F",
219
+ "42161": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F",
220
+ "421614": "0x81C464389b2ac51D39aD934732bd172c4126773b",
221
+ "5000": "0x73dBAFFa2B1E93D4c824B70DE8CA8926b9F18339"
222
+ }
223
+ }