@pushchain/core 0.1.6 → 0.1.8
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.
- package/package.json +1 -1
- package/src/lib/constants/abi/factoryV1.d.ts +1 -5
- package/src/lib/constants/abi/factoryV1.js +183 -186
- package/src/lib/constants/abi/factoryV1.js.map +1 -1
- package/src/lib/constants/abi/feeLocker.evm.d.ts +54 -16
- package/src/lib/constants/abi/feeLocker.evm.js +166 -241
- package/src/lib/constants/abi/feeLocker.evm.js.map +1 -1
- package/src/lib/constants/abi/feeLocker.json +197 -2
- package/src/lib/constants/chain.js +6 -6
- package/src/lib/constants/chain.js.map +1 -1
- package/src/lib/universal/signer/signer.d.ts +5 -5
- package/src/lib/universal/signer/signer.js +5 -45
- package/src/lib/universal/signer/signer.js.map +1 -1
- package/src/lib/universal/universal.types.d.ts +0 -6
package/package.json
CHANGED
|
@@ -2,254 +2,251 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FACTORY_V1 = void 0;
|
|
4
4
|
exports.FACTORY_V1 = [
|
|
5
|
+
{ "type": "constructor", "inputs": [], "stateMutability": "nonpayable" },
|
|
5
6
|
{
|
|
6
|
-
type:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
internalType: 'address[]',
|
|
12
|
-
},
|
|
13
|
-
{ name: '_vmTypes', type: 'uint256[]', internalType: 'uint256[]' },
|
|
14
|
-
],
|
|
15
|
-
stateMutability: 'nonpayable',
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
type: 'function',
|
|
19
|
-
name: 'accountImplmentationForVM',
|
|
20
|
-
inputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
|
|
21
|
-
outputs: [{ name: '', type: 'address', internalType: 'address' }],
|
|
22
|
-
stateMutability: 'view',
|
|
7
|
+
"type": "function",
|
|
8
|
+
"name": "accountImplmentationForVM",
|
|
9
|
+
"inputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }],
|
|
10
|
+
"outputs": [{ "name": "", "type": "address", "internalType": "address" }],
|
|
11
|
+
"stateMutability": "view"
|
|
23
12
|
},
|
|
24
13
|
{
|
|
25
|
-
type:
|
|
26
|
-
name:
|
|
27
|
-
inputs: [
|
|
14
|
+
"type": "function",
|
|
15
|
+
"name": "computeSmartAccountAddress",
|
|
16
|
+
"inputs": [
|
|
28
17
|
{
|
|
29
|
-
name:
|
|
30
|
-
type:
|
|
31
|
-
internalType:
|
|
32
|
-
components: [
|
|
33
|
-
{ name:
|
|
34
|
-
{ name:
|
|
35
|
-
{ name:
|
|
18
|
+
"name": "_id",
|
|
19
|
+
"type": "tuple",
|
|
20
|
+
"internalType": "struct AccountId",
|
|
21
|
+
"components": [
|
|
22
|
+
{ "name": "namespace", "type": "string", "internalType": "string" },
|
|
23
|
+
{ "name": "chainId", "type": "string", "internalType": "string" },
|
|
24
|
+
{ "name": "ownerKey", "type": "bytes", "internalType": "bytes" },
|
|
36
25
|
{
|
|
37
|
-
name:
|
|
38
|
-
type:
|
|
39
|
-
internalType:
|
|
40
|
-
}
|
|
41
|
-
]
|
|
42
|
-
}
|
|
26
|
+
"name": "vmType",
|
|
27
|
+
"type": "uint8",
|
|
28
|
+
"internalType": "enum VM_TYPE"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
43
32
|
],
|
|
44
|
-
outputs: [{ name:
|
|
45
|
-
stateMutability:
|
|
33
|
+
"outputs": [{ "name": "", "type": "address", "internalType": "address" }],
|
|
34
|
+
"stateMutability": "view"
|
|
46
35
|
},
|
|
47
36
|
{
|
|
48
|
-
type:
|
|
49
|
-
name:
|
|
50
|
-
inputs: [
|
|
37
|
+
"type": "function",
|
|
38
|
+
"name": "deploySmartAccount",
|
|
39
|
+
"inputs": [
|
|
51
40
|
{
|
|
52
|
-
name:
|
|
53
|
-
type:
|
|
54
|
-
internalType:
|
|
55
|
-
components: [
|
|
56
|
-
{ name:
|
|
57
|
-
{ name:
|
|
58
|
-
{ name:
|
|
41
|
+
"name": "_id",
|
|
42
|
+
"type": "tuple",
|
|
43
|
+
"internalType": "struct AccountId",
|
|
44
|
+
"components": [
|
|
45
|
+
{ "name": "namespace", "type": "string", "internalType": "string" },
|
|
46
|
+
{ "name": "chainId", "type": "string", "internalType": "string" },
|
|
47
|
+
{ "name": "ownerKey", "type": "bytes", "internalType": "bytes" },
|
|
59
48
|
{
|
|
60
|
-
name:
|
|
61
|
-
type:
|
|
62
|
-
internalType:
|
|
63
|
-
}
|
|
64
|
-
]
|
|
65
|
-
}
|
|
49
|
+
"name": "vmType",
|
|
50
|
+
"type": "uint8",
|
|
51
|
+
"internalType": "enum VM_TYPE"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
66
55
|
],
|
|
67
|
-
outputs: [{ name:
|
|
68
|
-
stateMutability:
|
|
56
|
+
"outputs": [{ "name": "", "type": "address", "internalType": "address" }],
|
|
57
|
+
"stateMutability": "nonpayable"
|
|
69
58
|
},
|
|
70
59
|
{
|
|
71
|
-
type:
|
|
72
|
-
name:
|
|
73
|
-
inputs: [
|
|
60
|
+
"type": "function",
|
|
61
|
+
"name": "generateSalt",
|
|
62
|
+
"inputs": [
|
|
74
63
|
{
|
|
75
|
-
name:
|
|
76
|
-
type:
|
|
77
|
-
internalType:
|
|
78
|
-
components: [
|
|
79
|
-
{ name:
|
|
80
|
-
{ name:
|
|
81
|
-
{ name:
|
|
64
|
+
"name": "_id",
|
|
65
|
+
"type": "tuple",
|
|
66
|
+
"internalType": "struct AccountId",
|
|
67
|
+
"components": [
|
|
68
|
+
{ "name": "namespace", "type": "string", "internalType": "string" },
|
|
69
|
+
{ "name": "chainId", "type": "string", "internalType": "string" },
|
|
70
|
+
{ "name": "ownerKey", "type": "bytes", "internalType": "bytes" },
|
|
82
71
|
{
|
|
83
|
-
name:
|
|
84
|
-
type:
|
|
85
|
-
internalType:
|
|
86
|
-
}
|
|
87
|
-
]
|
|
88
|
-
}
|
|
72
|
+
"name": "vmType",
|
|
73
|
+
"type": "uint8",
|
|
74
|
+
"internalType": "enum VM_TYPE"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
}
|
|
89
78
|
],
|
|
90
|
-
outputs: [{ name:
|
|
91
|
-
stateMutability:
|
|
79
|
+
"outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }],
|
|
80
|
+
"stateMutability": "pure"
|
|
92
81
|
},
|
|
93
82
|
{
|
|
94
|
-
type:
|
|
95
|
-
name:
|
|
96
|
-
inputs: [
|
|
97
|
-
|
|
98
|
-
|
|
83
|
+
"type": "function",
|
|
84
|
+
"name": "getImplementation",
|
|
85
|
+
"inputs": [
|
|
86
|
+
{ "name": "_vmType", "type": "uint8", "internalType": "enum VM_TYPE" }
|
|
87
|
+
],
|
|
88
|
+
"outputs": [{ "name": "", "type": "address", "internalType": "address" }],
|
|
89
|
+
"stateMutability": "view"
|
|
99
90
|
},
|
|
100
91
|
{
|
|
101
|
-
type:
|
|
102
|
-
name:
|
|
103
|
-
inputs: [],
|
|
104
|
-
outputs: [{ name:
|
|
105
|
-
stateMutability:
|
|
92
|
+
"type": "function",
|
|
93
|
+
"name": "owner",
|
|
94
|
+
"inputs": [],
|
|
95
|
+
"outputs": [{ "name": "", "type": "address", "internalType": "address" }],
|
|
96
|
+
"stateMutability": "view"
|
|
106
97
|
},
|
|
107
98
|
{
|
|
108
|
-
type:
|
|
109
|
-
name:
|
|
110
|
-
inputs: [
|
|
111
|
-
{ name:
|
|
99
|
+
"type": "function",
|
|
100
|
+
"name": "registerImplementation",
|
|
101
|
+
"inputs": [
|
|
102
|
+
{ "name": "_vmType", "type": "uint256", "internalType": "uint256" },
|
|
112
103
|
{
|
|
113
|
-
name:
|
|
114
|
-
type:
|
|
115
|
-
internalType:
|
|
116
|
-
}
|
|
104
|
+
"name": "_implementation",
|
|
105
|
+
"type": "address",
|
|
106
|
+
"internalType": "address"
|
|
107
|
+
}
|
|
117
108
|
],
|
|
118
|
-
outputs: [],
|
|
119
|
-
stateMutability:
|
|
109
|
+
"outputs": [],
|
|
110
|
+
"stateMutability": "nonpayable"
|
|
120
111
|
},
|
|
121
112
|
{
|
|
122
|
-
type:
|
|
123
|
-
name:
|
|
124
|
-
inputs: [
|
|
113
|
+
"type": "function",
|
|
114
|
+
"name": "registerMultipleImplementations",
|
|
115
|
+
"inputs": [
|
|
125
116
|
{
|
|
126
|
-
name:
|
|
127
|
-
type:
|
|
128
|
-
internalType:
|
|
117
|
+
"name": "_vmTypes",
|
|
118
|
+
"type": "uint256[]",
|
|
119
|
+
"internalType": "uint256[]"
|
|
129
120
|
},
|
|
130
121
|
{
|
|
131
|
-
name:
|
|
132
|
-
type:
|
|
133
|
-
internalType:
|
|
134
|
-
}
|
|
122
|
+
"name": "_implementations",
|
|
123
|
+
"type": "address[]",
|
|
124
|
+
"internalType": "address[]"
|
|
125
|
+
}
|
|
135
126
|
],
|
|
136
|
-
outputs: [],
|
|
137
|
-
stateMutability:
|
|
127
|
+
"outputs": [],
|
|
128
|
+
"stateMutability": "nonpayable"
|
|
138
129
|
},
|
|
139
130
|
{
|
|
140
|
-
type:
|
|
141
|
-
name:
|
|
142
|
-
inputs: [],
|
|
143
|
-
outputs: [],
|
|
144
|
-
stateMutability:
|
|
131
|
+
"type": "function",
|
|
132
|
+
"name": "renounceOwnership",
|
|
133
|
+
"inputs": [],
|
|
134
|
+
"outputs": [],
|
|
135
|
+
"stateMutability": "nonpayable"
|
|
145
136
|
},
|
|
146
137
|
{
|
|
147
|
-
type:
|
|
148
|
-
name:
|
|
149
|
-
inputs: [
|
|
150
|
-
|
|
151
|
-
|
|
138
|
+
"type": "function",
|
|
139
|
+
"name": "transferOwnership",
|
|
140
|
+
"inputs": [
|
|
141
|
+
{ "name": "newOwner", "type": "address", "internalType": "address" }
|
|
142
|
+
],
|
|
143
|
+
"outputs": [],
|
|
144
|
+
"stateMutability": "nonpayable"
|
|
152
145
|
},
|
|
153
146
|
{
|
|
154
|
-
type:
|
|
155
|
-
name:
|
|
156
|
-
inputs: [{ name:
|
|
157
|
-
outputs: [{ name:
|
|
158
|
-
stateMutability:
|
|
147
|
+
"type": "function",
|
|
148
|
+
"name": "userAccounts",
|
|
149
|
+
"inputs": [{ "name": "", "type": "bytes", "internalType": "bytes" }],
|
|
150
|
+
"outputs": [{ "name": "", "type": "address", "internalType": "address" }],
|
|
151
|
+
"stateMutability": "view"
|
|
159
152
|
},
|
|
160
153
|
{
|
|
161
|
-
type:
|
|
162
|
-
name:
|
|
163
|
-
inputs: [
|
|
154
|
+
"type": "event",
|
|
155
|
+
"name": "ImplementationRegistered",
|
|
156
|
+
"inputs": [
|
|
164
157
|
{
|
|
165
|
-
name:
|
|
166
|
-
type:
|
|
167
|
-
indexed: true,
|
|
168
|
-
internalType:
|
|
158
|
+
"name": "vmType",
|
|
159
|
+
"type": "uint256",
|
|
160
|
+
"indexed": true,
|
|
161
|
+
"internalType": "uint256"
|
|
169
162
|
},
|
|
170
163
|
{
|
|
171
|
-
name:
|
|
172
|
-
type:
|
|
173
|
-
indexed: false,
|
|
174
|
-
internalType:
|
|
175
|
-
}
|
|
164
|
+
"name": "implementation",
|
|
165
|
+
"type": "address",
|
|
166
|
+
"indexed": false,
|
|
167
|
+
"internalType": "address"
|
|
168
|
+
}
|
|
176
169
|
],
|
|
177
|
-
anonymous: false
|
|
170
|
+
"anonymous": false
|
|
178
171
|
},
|
|
179
172
|
{
|
|
180
|
-
type:
|
|
181
|
-
name:
|
|
182
|
-
inputs: [
|
|
173
|
+
"type": "event",
|
|
174
|
+
"name": "OwnershipTransferred",
|
|
175
|
+
"inputs": [
|
|
183
176
|
{
|
|
184
|
-
name:
|
|
185
|
-
type:
|
|
186
|
-
indexed: true,
|
|
187
|
-
internalType:
|
|
177
|
+
"name": "previousOwner",
|
|
178
|
+
"type": "address",
|
|
179
|
+
"indexed": true,
|
|
180
|
+
"internalType": "address"
|
|
188
181
|
},
|
|
189
182
|
{
|
|
190
|
-
name:
|
|
191
|
-
type:
|
|
192
|
-
indexed: true,
|
|
193
|
-
internalType:
|
|
194
|
-
}
|
|
183
|
+
"name": "newOwner",
|
|
184
|
+
"type": "address",
|
|
185
|
+
"indexed": true,
|
|
186
|
+
"internalType": "address"
|
|
187
|
+
}
|
|
195
188
|
],
|
|
196
|
-
anonymous: false
|
|
189
|
+
"anonymous": false
|
|
197
190
|
},
|
|
198
191
|
{
|
|
199
|
-
type:
|
|
200
|
-
name:
|
|
201
|
-
inputs: [
|
|
192
|
+
"type": "event",
|
|
193
|
+
"name": "SmartAccountDeployed",
|
|
194
|
+
"inputs": [
|
|
202
195
|
{
|
|
203
|
-
name:
|
|
204
|
-
type:
|
|
205
|
-
indexed: true,
|
|
206
|
-
internalType:
|
|
196
|
+
"name": "smartAccount",
|
|
197
|
+
"type": "address",
|
|
198
|
+
"indexed": true,
|
|
199
|
+
"internalType": "address"
|
|
207
200
|
},
|
|
208
201
|
{
|
|
209
|
-
name:
|
|
210
|
-
type:
|
|
211
|
-
indexed: false,
|
|
212
|
-
internalType:
|
|
202
|
+
"name": "ownerKey",
|
|
203
|
+
"type": "bytes",
|
|
204
|
+
"indexed": false,
|
|
205
|
+
"internalType": "bytes"
|
|
213
206
|
},
|
|
214
207
|
{
|
|
215
|
-
name:
|
|
216
|
-
type:
|
|
217
|
-
indexed: false,
|
|
218
|
-
internalType:
|
|
219
|
-
components: [
|
|
220
|
-
{ name:
|
|
221
|
-
{ name:
|
|
222
|
-
{ name:
|
|
208
|
+
"name": "id",
|
|
209
|
+
"type": "tuple",
|
|
210
|
+
"indexed": false,
|
|
211
|
+
"internalType": "struct AccountId",
|
|
212
|
+
"components": [
|
|
213
|
+
{ "name": "namespace", "type": "string", "internalType": "string" },
|
|
214
|
+
{ "name": "chainId", "type": "string", "internalType": "string" },
|
|
215
|
+
{ "name": "ownerKey", "type": "bytes", "internalType": "bytes" },
|
|
223
216
|
{
|
|
224
|
-
name:
|
|
225
|
-
type:
|
|
226
|
-
internalType:
|
|
227
|
-
}
|
|
228
|
-
]
|
|
229
|
-
}
|
|
217
|
+
"name": "vmType",
|
|
218
|
+
"type": "uint8",
|
|
219
|
+
"internalType": "enum VM_TYPE"
|
|
220
|
+
}
|
|
221
|
+
]
|
|
222
|
+
}
|
|
230
223
|
],
|
|
231
|
-
anonymous: false
|
|
224
|
+
"anonymous": false
|
|
232
225
|
},
|
|
233
|
-
{ type:
|
|
234
|
-
{ type:
|
|
226
|
+
{ "type": "error", "name": "AccountAlreadyExists", "inputs": [] },
|
|
227
|
+
{ "type": "error", "name": "FailedDeployment", "inputs": [] },
|
|
235
228
|
{
|
|
236
|
-
type:
|
|
237
|
-
name:
|
|
238
|
-
inputs: [
|
|
239
|
-
{ name:
|
|
240
|
-
{ name:
|
|
241
|
-
]
|
|
229
|
+
"type": "error",
|
|
230
|
+
"name": "InsufficientBalance",
|
|
231
|
+
"inputs": [
|
|
232
|
+
{ "name": "balance", "type": "uint256", "internalType": "uint256" },
|
|
233
|
+
{ "name": "needed", "type": "uint256", "internalType": "uint256" }
|
|
234
|
+
]
|
|
242
235
|
},
|
|
243
|
-
{ type:
|
|
236
|
+
{ "type": "error", "name": "InvalidInputArgs", "inputs": [] },
|
|
244
237
|
{
|
|
245
|
-
type:
|
|
246
|
-
name:
|
|
247
|
-
inputs: [
|
|
238
|
+
"type": "error",
|
|
239
|
+
"name": "OwnableInvalidOwner",
|
|
240
|
+
"inputs": [
|
|
241
|
+
{ "name": "owner", "type": "address", "internalType": "address" }
|
|
242
|
+
]
|
|
248
243
|
},
|
|
249
244
|
{
|
|
250
|
-
type:
|
|
251
|
-
name:
|
|
252
|
-
inputs: [
|
|
253
|
-
|
|
245
|
+
"type": "error",
|
|
246
|
+
"name": "OwnableUnauthorizedAccount",
|
|
247
|
+
"inputs": [
|
|
248
|
+
{ "name": "account", "type": "address", "internalType": "address" }
|
|
249
|
+
]
|
|
250
|
+
}
|
|
254
251
|
];
|
|
255
252
|
//# sourceMappingURL=factoryV1.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factoryV1.js","sourceRoot":"","sources":["../../../../../../../packages/core/src/lib/constants/abi/factoryV1.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG;IACxB
|
|
1
|
+
{"version":3,"file":"factoryV1.js","sourceRoot":"","sources":["../../../../../../../packages/core/src/lib/constants/abi/factoryV1.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG;IACxB,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,EAAE,EAAE,iBAAiB,EAAE,YAAY,EAAE;IACxE;QACE,MAAM,EAAE,UAAU;QAClB,MAAM,EAAE,2BAA2B;QACnC,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,CAAC;QACxE,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,CAAC;QACzE,iBAAiB,EAAE,MAAM;KAC1B;IACD;QACE,MAAM,EAAE,UAAU;QAClB,MAAM,EAAE,4BAA4B;QACpC,QAAQ,EAAE;YACR;gBACE,MAAM,EAAE,KAAK;gBACb,MAAM,EAAE,OAAO;gBACf,cAAc,EAAE,kBAAkB;gBAClC,YAAY,EAAE;oBACZ,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,QAAQ,EAAE;oBACnE,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,QAAQ,EAAE;oBACjE,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE;oBAChE;wBACE,MAAM,EAAE,QAAQ;wBAChB,MAAM,EAAE,OAAO;wBACf,cAAc,EAAE,cAAc;qBAC/B;iBACF;aACF;SACF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E,EAAE,EAAE;IAC7D;QACE,MAAM,EAAE,OAAO;QACf,MAAM,EAAE,qBAAqB;QAC7B,QAAQ,EAAE;YACR,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE;YACnE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE;SACnE;KACF;IACD,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC7D;QACE,MAAM,EAAE,OAAO;QACf,MAAM,EAAE,qBAAqB;QAC7B,QAAQ,EAAE;YACR,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE;SAClE;KACF;IACD;QACE,MAAM,EAAE,OAAO;QACf,MAAM,EAAE,4BAA4B;QACpC,QAAQ,EAAE;YACR,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE;SACpE;KACF;CACF,CAAC"}
|
|
@@ -1,39 +1,77 @@
|
|
|
1
1
|
export declare const FEE_LOCKER_EVM: ({
|
|
2
|
+
type: string;
|
|
3
|
+
inputs: never[];
|
|
4
|
+
stateMutability: string;
|
|
5
|
+
name?: undefined;
|
|
6
|
+
outputs?: undefined;
|
|
7
|
+
anonymous?: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
type: string;
|
|
10
|
+
name: string;
|
|
2
11
|
inputs: {
|
|
12
|
+
name: string;
|
|
13
|
+
type: string;
|
|
3
14
|
internalType: string;
|
|
15
|
+
}[];
|
|
16
|
+
outputs: {
|
|
4
17
|
name: string;
|
|
5
18
|
type: string;
|
|
19
|
+
internalType: string;
|
|
6
20
|
}[];
|
|
7
|
-
|
|
8
|
-
type: string;
|
|
21
|
+
stateMutability: string;
|
|
9
22
|
anonymous?: undefined;
|
|
10
|
-
outputs?: undefined;
|
|
11
|
-
stateMutability?: undefined;
|
|
12
23
|
} | {
|
|
13
|
-
|
|
24
|
+
type: string;
|
|
25
|
+
name: string;
|
|
14
26
|
inputs: {
|
|
15
|
-
|
|
27
|
+
name: string;
|
|
28
|
+
type: string;
|
|
16
29
|
internalType: string;
|
|
30
|
+
components: {
|
|
31
|
+
name: string;
|
|
32
|
+
type: string;
|
|
33
|
+
internalType: string;
|
|
34
|
+
}[];
|
|
35
|
+
}[];
|
|
36
|
+
outputs: {
|
|
17
37
|
name: string;
|
|
18
38
|
type: string;
|
|
39
|
+
internalType: string;
|
|
19
40
|
}[];
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
outputs?: undefined;
|
|
23
|
-
stateMutability?: undefined;
|
|
41
|
+
stateMutability: string;
|
|
42
|
+
anonymous?: undefined;
|
|
24
43
|
} | {
|
|
25
|
-
|
|
44
|
+
type: string;
|
|
45
|
+
name: string;
|
|
46
|
+
inputs: ({
|
|
47
|
+
name: string;
|
|
48
|
+
type: string;
|
|
49
|
+
indexed: boolean;
|
|
26
50
|
internalType: string;
|
|
51
|
+
components?: undefined;
|
|
52
|
+
} | {
|
|
27
53
|
name: string;
|
|
28
54
|
type: string;
|
|
29
|
-
|
|
30
|
-
name: string;
|
|
31
|
-
outputs: {
|
|
55
|
+
indexed: boolean;
|
|
32
56
|
internalType: string;
|
|
57
|
+
components: {
|
|
58
|
+
name: string;
|
|
59
|
+
type: string;
|
|
60
|
+
internalType: string;
|
|
61
|
+
}[];
|
|
62
|
+
})[];
|
|
63
|
+
anonymous: boolean;
|
|
64
|
+
stateMutability?: undefined;
|
|
65
|
+
outputs?: undefined;
|
|
66
|
+
} | {
|
|
67
|
+
type: string;
|
|
68
|
+
name: string;
|
|
69
|
+
inputs: {
|
|
33
70
|
name: string;
|
|
34
71
|
type: string;
|
|
72
|
+
internalType: string;
|
|
35
73
|
}[];
|
|
36
|
-
stateMutability
|
|
37
|
-
|
|
74
|
+
stateMutability?: undefined;
|
|
75
|
+
outputs?: undefined;
|
|
38
76
|
anonymous?: undefined;
|
|
39
77
|
})[];
|