@gitmyabi/walletsimple 1.0.36 → 1.0.37
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/README.md +3 -3
- package/contracts/WalletSimple_json.d.ts +730 -127
- package/contracts/WalletSimple_json.js +690 -132
- package/contracts/WalletSimple_json.ts +921 -152
- package/package.json +3 -3
|
@@ -5,207 +5,472 @@ import type { Address, PublicClient, WalletClient } from 'viem';
|
|
|
5
5
|
* This ABI is typed using viem's type system for full type safety.
|
|
6
6
|
*/
|
|
7
7
|
export declare const WalletSimple_jsonAbi: readonly [{
|
|
8
|
-
readonly
|
|
8
|
+
readonly anonymous: false;
|
|
9
9
|
readonly inputs: readonly [{
|
|
10
|
-
readonly
|
|
10
|
+
readonly indexed: false;
|
|
11
|
+
readonly internalType: "address";
|
|
12
|
+
readonly name: "msgSender";
|
|
13
|
+
readonly type: "address";
|
|
14
|
+
}, {
|
|
15
|
+
readonly indexed: false;
|
|
16
|
+
readonly internalType: "address";
|
|
17
|
+
readonly name: "otherSigner";
|
|
18
|
+
readonly type: "address";
|
|
19
|
+
}, {
|
|
20
|
+
readonly indexed: false;
|
|
21
|
+
readonly internalType: "bytes32";
|
|
22
|
+
readonly name: "operation";
|
|
23
|
+
readonly type: "bytes32";
|
|
24
|
+
}];
|
|
25
|
+
readonly name: "BatchTransacted";
|
|
26
|
+
readonly type: "event";
|
|
27
|
+
}, {
|
|
28
|
+
readonly anonymous: false;
|
|
29
|
+
readonly inputs: readonly [{
|
|
30
|
+
readonly indexed: false;
|
|
31
|
+
readonly internalType: "address";
|
|
32
|
+
readonly name: "sender";
|
|
11
33
|
readonly type: "address";
|
|
12
34
|
}, {
|
|
35
|
+
readonly indexed: false;
|
|
36
|
+
readonly internalType: "address";
|
|
37
|
+
readonly name: "recipient";
|
|
38
|
+
readonly type: "address";
|
|
39
|
+
}, {
|
|
40
|
+
readonly indexed: false;
|
|
41
|
+
readonly internalType: "uint256";
|
|
13
42
|
readonly name: "value";
|
|
14
43
|
readonly type: "uint256";
|
|
15
|
-
}
|
|
16
|
-
|
|
44
|
+
}];
|
|
45
|
+
readonly name: "BatchTransfer";
|
|
46
|
+
readonly type: "event";
|
|
47
|
+
}, {
|
|
48
|
+
readonly anonymous: false;
|
|
49
|
+
readonly inputs: readonly [{
|
|
50
|
+
readonly indexed: false;
|
|
51
|
+
readonly internalType: "address";
|
|
52
|
+
readonly name: "from";
|
|
17
53
|
readonly type: "address";
|
|
18
54
|
}, {
|
|
19
|
-
readonly
|
|
55
|
+
readonly indexed: false;
|
|
56
|
+
readonly internalType: "uint256";
|
|
57
|
+
readonly name: "value";
|
|
20
58
|
readonly type: "uint256";
|
|
21
59
|
}, {
|
|
22
|
-
readonly
|
|
60
|
+
readonly indexed: false;
|
|
61
|
+
readonly internalType: "bytes";
|
|
62
|
+
readonly name: "data";
|
|
63
|
+
readonly type: "bytes";
|
|
64
|
+
}];
|
|
65
|
+
readonly name: "Deposited";
|
|
66
|
+
readonly type: "event";
|
|
67
|
+
}, {
|
|
68
|
+
readonly anonymous: false;
|
|
69
|
+
readonly inputs: readonly [{
|
|
70
|
+
readonly indexed: false;
|
|
71
|
+
readonly internalType: "address";
|
|
72
|
+
readonly name: "msgSender";
|
|
73
|
+
readonly type: "address";
|
|
74
|
+
}];
|
|
75
|
+
readonly name: "SafeModeActivated";
|
|
76
|
+
readonly type: "event";
|
|
77
|
+
}, {
|
|
78
|
+
readonly anonymous: false;
|
|
79
|
+
readonly inputs: readonly [{
|
|
80
|
+
readonly indexed: false;
|
|
81
|
+
readonly internalType: "address";
|
|
82
|
+
readonly name: "msgSender";
|
|
83
|
+
readonly type: "address";
|
|
84
|
+
}, {
|
|
85
|
+
readonly indexed: false;
|
|
86
|
+
readonly internalType: "address";
|
|
87
|
+
readonly name: "otherSigner";
|
|
88
|
+
readonly type: "address";
|
|
89
|
+
}, {
|
|
90
|
+
readonly indexed: false;
|
|
91
|
+
readonly internalType: "bytes32";
|
|
92
|
+
readonly name: "operation";
|
|
93
|
+
readonly type: "bytes32";
|
|
94
|
+
}, {
|
|
95
|
+
readonly indexed: false;
|
|
96
|
+
readonly internalType: "address";
|
|
97
|
+
readonly name: "toAddress";
|
|
98
|
+
readonly type: "address";
|
|
99
|
+
}, {
|
|
100
|
+
readonly indexed: false;
|
|
101
|
+
readonly internalType: "uint256";
|
|
102
|
+
readonly name: "value";
|
|
23
103
|
readonly type: "uint256";
|
|
24
104
|
}, {
|
|
25
|
-
readonly
|
|
105
|
+
readonly indexed: false;
|
|
106
|
+
readonly internalType: "bytes";
|
|
107
|
+
readonly name: "data";
|
|
26
108
|
readonly type: "bytes";
|
|
27
109
|
}];
|
|
28
|
-
readonly name: "
|
|
110
|
+
readonly name: "Transacted";
|
|
111
|
+
readonly type: "event";
|
|
112
|
+
}, {
|
|
113
|
+
readonly stateMutability: "payable";
|
|
114
|
+
readonly type: "fallback";
|
|
115
|
+
}, {
|
|
116
|
+
readonly inputs: readonly [];
|
|
117
|
+
readonly name: "activateSafeMode";
|
|
29
118
|
readonly outputs: readonly [];
|
|
30
|
-
readonly payable: false;
|
|
31
119
|
readonly stateMutability: "nonpayable";
|
|
32
120
|
readonly type: "function";
|
|
33
121
|
}, {
|
|
34
|
-
readonly constant: true;
|
|
35
122
|
readonly inputs: readonly [{
|
|
36
|
-
readonly
|
|
37
|
-
readonly
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
readonly name: "";
|
|
123
|
+
readonly internalType: "address payable";
|
|
124
|
+
readonly name: "forwarderAddress";
|
|
125
|
+
readonly type: "address";
|
|
126
|
+
}, {
|
|
127
|
+
readonly internalType: "address";
|
|
128
|
+
readonly name: "tokenContractAddress";
|
|
42
129
|
readonly type: "address";
|
|
130
|
+
}, {
|
|
131
|
+
readonly internalType: "uint256[]";
|
|
132
|
+
readonly name: "tokenIds";
|
|
133
|
+
readonly type: "uint256[]";
|
|
43
134
|
}];
|
|
44
|
-
readonly
|
|
45
|
-
readonly
|
|
135
|
+
readonly name: "batchFlushERC1155ForwarderTokens";
|
|
136
|
+
readonly outputs: readonly [];
|
|
137
|
+
readonly stateMutability: "nonpayable";
|
|
46
138
|
readonly type: "function";
|
|
47
139
|
}, {
|
|
48
|
-
readonly constant: false;
|
|
49
140
|
readonly inputs: readonly [{
|
|
141
|
+
readonly internalType: "address payable";
|
|
50
142
|
readonly name: "forwarderAddress";
|
|
51
143
|
readonly type: "address";
|
|
52
144
|
}, {
|
|
145
|
+
readonly internalType: "address";
|
|
53
146
|
readonly name: "tokenContractAddress";
|
|
54
147
|
readonly type: "address";
|
|
148
|
+
}, {
|
|
149
|
+
readonly internalType: "uint256";
|
|
150
|
+
readonly name: "tokenId";
|
|
151
|
+
readonly type: "uint256";
|
|
55
152
|
}];
|
|
56
|
-
readonly name: "
|
|
153
|
+
readonly name: "flushERC1155ForwarderTokens";
|
|
57
154
|
readonly outputs: readonly [];
|
|
58
|
-
readonly payable: false;
|
|
59
155
|
readonly stateMutability: "nonpayable";
|
|
60
156
|
readonly type: "function";
|
|
61
157
|
}, {
|
|
62
|
-
readonly constant: false;
|
|
63
158
|
readonly inputs: readonly [{
|
|
64
|
-
readonly
|
|
159
|
+
readonly internalType: "address payable";
|
|
160
|
+
readonly name: "forwarderAddress";
|
|
65
161
|
readonly type: "address";
|
|
66
162
|
}, {
|
|
67
|
-
readonly
|
|
68
|
-
readonly
|
|
69
|
-
|
|
70
|
-
readonly name: "data";
|
|
71
|
-
readonly type: "bytes";
|
|
163
|
+
readonly internalType: "address";
|
|
164
|
+
readonly name: "tokenContractAddress";
|
|
165
|
+
readonly type: "address";
|
|
72
166
|
}, {
|
|
73
|
-
readonly
|
|
167
|
+
readonly internalType: "uint256";
|
|
168
|
+
readonly name: "tokenId";
|
|
74
169
|
readonly type: "uint256";
|
|
170
|
+
}];
|
|
171
|
+
readonly name: "flushERC721ForwarderTokens";
|
|
172
|
+
readonly outputs: readonly [];
|
|
173
|
+
readonly stateMutability: "nonpayable";
|
|
174
|
+
readonly type: "function";
|
|
175
|
+
}, {
|
|
176
|
+
readonly inputs: readonly [{
|
|
177
|
+
readonly internalType: "address payable";
|
|
178
|
+
readonly name: "forwarderAddress";
|
|
179
|
+
readonly type: "address";
|
|
75
180
|
}, {
|
|
76
|
-
readonly
|
|
181
|
+
readonly internalType: "address";
|
|
182
|
+
readonly name: "tokenContractAddress";
|
|
183
|
+
readonly type: "address";
|
|
184
|
+
}];
|
|
185
|
+
readonly name: "flushForwarderTokens";
|
|
186
|
+
readonly outputs: readonly [];
|
|
187
|
+
readonly stateMutability: "nonpayable";
|
|
188
|
+
readonly type: "function";
|
|
189
|
+
}, {
|
|
190
|
+
readonly inputs: readonly [];
|
|
191
|
+
readonly name: "getNextSequenceId";
|
|
192
|
+
readonly outputs: readonly [{
|
|
193
|
+
readonly internalType: "uint256";
|
|
194
|
+
readonly name: "";
|
|
77
195
|
readonly type: "uint256";
|
|
78
|
-
}, {
|
|
79
|
-
readonly name: "signature";
|
|
80
|
-
readonly type: "bytes";
|
|
81
196
|
}];
|
|
82
|
-
readonly
|
|
197
|
+
readonly stateMutability: "view";
|
|
198
|
+
readonly type: "function";
|
|
199
|
+
}, {
|
|
200
|
+
readonly inputs: readonly [{
|
|
201
|
+
readonly internalType: "address[]";
|
|
202
|
+
readonly name: "allowedSigners";
|
|
203
|
+
readonly type: "address[]";
|
|
204
|
+
}];
|
|
205
|
+
readonly name: "init";
|
|
83
206
|
readonly outputs: readonly [];
|
|
84
|
-
readonly payable: false;
|
|
85
207
|
readonly stateMutability: "nonpayable";
|
|
86
208
|
readonly type: "function";
|
|
87
209
|
}, {
|
|
88
|
-
readonly
|
|
210
|
+
readonly inputs: readonly [];
|
|
211
|
+
readonly name: "initialized";
|
|
212
|
+
readonly outputs: readonly [{
|
|
213
|
+
readonly internalType: "bool";
|
|
214
|
+
readonly name: "";
|
|
215
|
+
readonly type: "bool";
|
|
216
|
+
}];
|
|
217
|
+
readonly stateMutability: "view";
|
|
218
|
+
readonly type: "function";
|
|
219
|
+
}, {
|
|
89
220
|
readonly inputs: readonly [{
|
|
221
|
+
readonly internalType: "address";
|
|
90
222
|
readonly name: "signer";
|
|
91
223
|
readonly type: "address";
|
|
92
224
|
}];
|
|
93
225
|
readonly name: "isSigner";
|
|
94
226
|
readonly outputs: readonly [{
|
|
227
|
+
readonly internalType: "bool";
|
|
95
228
|
readonly name: "";
|
|
96
229
|
readonly type: "bool";
|
|
97
230
|
}];
|
|
98
|
-
readonly payable: false;
|
|
99
231
|
readonly stateMutability: "view";
|
|
100
232
|
readonly type: "function";
|
|
101
233
|
}, {
|
|
102
|
-
readonly
|
|
103
|
-
|
|
104
|
-
|
|
234
|
+
readonly inputs: readonly [{
|
|
235
|
+
readonly internalType: "address";
|
|
236
|
+
readonly name: "_operator";
|
|
237
|
+
readonly type: "address";
|
|
238
|
+
}, {
|
|
239
|
+
readonly internalType: "address";
|
|
240
|
+
readonly name: "_from";
|
|
241
|
+
readonly type: "address";
|
|
242
|
+
}, {
|
|
243
|
+
readonly internalType: "uint256[]";
|
|
244
|
+
readonly name: "ids";
|
|
245
|
+
readonly type: "uint256[]";
|
|
246
|
+
}, {
|
|
247
|
+
readonly internalType: "uint256[]";
|
|
248
|
+
readonly name: "values";
|
|
249
|
+
readonly type: "uint256[]";
|
|
250
|
+
}, {
|
|
251
|
+
readonly internalType: "bytes";
|
|
252
|
+
readonly name: "data";
|
|
253
|
+
readonly type: "bytes";
|
|
254
|
+
}];
|
|
255
|
+
readonly name: "onERC1155BatchReceived";
|
|
105
256
|
readonly outputs: readonly [{
|
|
257
|
+
readonly internalType: "bytes4";
|
|
106
258
|
readonly name: "";
|
|
107
|
-
readonly type: "
|
|
259
|
+
readonly type: "bytes4";
|
|
108
260
|
}];
|
|
109
|
-
readonly
|
|
110
|
-
readonly stateMutability: "view";
|
|
261
|
+
readonly stateMutability: "nonpayable";
|
|
111
262
|
readonly type: "function";
|
|
112
263
|
}, {
|
|
113
|
-
readonly
|
|
114
|
-
|
|
115
|
-
|
|
264
|
+
readonly inputs: readonly [{
|
|
265
|
+
readonly internalType: "address";
|
|
266
|
+
readonly name: "_operator";
|
|
267
|
+
readonly type: "address";
|
|
268
|
+
}, {
|
|
269
|
+
readonly internalType: "address";
|
|
270
|
+
readonly name: "_from";
|
|
271
|
+
readonly type: "address";
|
|
272
|
+
}, {
|
|
273
|
+
readonly internalType: "uint256";
|
|
274
|
+
readonly name: "id";
|
|
275
|
+
readonly type: "uint256";
|
|
276
|
+
}, {
|
|
277
|
+
readonly internalType: "uint256";
|
|
278
|
+
readonly name: "value";
|
|
279
|
+
readonly type: "uint256";
|
|
280
|
+
}, {
|
|
281
|
+
readonly internalType: "bytes";
|
|
282
|
+
readonly name: "data";
|
|
283
|
+
readonly type: "bytes";
|
|
284
|
+
}];
|
|
285
|
+
readonly name: "onERC1155Received";
|
|
116
286
|
readonly outputs: readonly [{
|
|
287
|
+
readonly internalType: "bytes4";
|
|
117
288
|
readonly name: "";
|
|
289
|
+
readonly type: "bytes4";
|
|
290
|
+
}];
|
|
291
|
+
readonly stateMutability: "nonpayable";
|
|
292
|
+
readonly type: "function";
|
|
293
|
+
}, {
|
|
294
|
+
readonly inputs: readonly [{
|
|
295
|
+
readonly internalType: "address";
|
|
296
|
+
readonly name: "_operator";
|
|
297
|
+
readonly type: "address";
|
|
298
|
+
}, {
|
|
299
|
+
readonly internalType: "address";
|
|
300
|
+
readonly name: "_from";
|
|
118
301
|
readonly type: "address";
|
|
302
|
+
}, {
|
|
303
|
+
readonly internalType: "uint256";
|
|
304
|
+
readonly name: "_tokenId";
|
|
305
|
+
readonly type: "uint256";
|
|
306
|
+
}, {
|
|
307
|
+
readonly internalType: "bytes";
|
|
308
|
+
readonly name: "_data";
|
|
309
|
+
readonly type: "bytes";
|
|
310
|
+
}];
|
|
311
|
+
readonly name: "onERC721Received";
|
|
312
|
+
readonly outputs: readonly [{
|
|
313
|
+
readonly internalType: "bytes4";
|
|
314
|
+
readonly name: "";
|
|
315
|
+
readonly type: "bytes4";
|
|
119
316
|
}];
|
|
120
|
-
readonly payable: false;
|
|
121
317
|
readonly stateMutability: "nonpayable";
|
|
122
318
|
readonly type: "function";
|
|
123
319
|
}, {
|
|
124
|
-
readonly constant: true;
|
|
125
320
|
readonly inputs: readonly [];
|
|
126
321
|
readonly name: "safeMode";
|
|
127
322
|
readonly outputs: readonly [{
|
|
323
|
+
readonly internalType: "bool";
|
|
128
324
|
readonly name: "";
|
|
129
325
|
readonly type: "bool";
|
|
130
326
|
}];
|
|
131
|
-
readonly payable: false;
|
|
132
327
|
readonly stateMutability: "view";
|
|
133
328
|
readonly type: "function";
|
|
134
329
|
}, {
|
|
135
|
-
readonly
|
|
136
|
-
|
|
137
|
-
|
|
330
|
+
readonly inputs: readonly [{
|
|
331
|
+
readonly internalType: "address";
|
|
332
|
+
readonly name: "toAddress";
|
|
333
|
+
readonly type: "address";
|
|
334
|
+
}, {
|
|
335
|
+
readonly internalType: "uint256";
|
|
336
|
+
readonly name: "value";
|
|
337
|
+
readonly type: "uint256";
|
|
338
|
+
}, {
|
|
339
|
+
readonly internalType: "bytes";
|
|
340
|
+
readonly name: "data";
|
|
341
|
+
readonly type: "bytes";
|
|
342
|
+
}, {
|
|
343
|
+
readonly internalType: "uint256";
|
|
344
|
+
readonly name: "expireTime";
|
|
345
|
+
readonly type: "uint256";
|
|
346
|
+
}, {
|
|
347
|
+
readonly internalType: "uint256";
|
|
348
|
+
readonly name: "sequenceId";
|
|
349
|
+
readonly type: "uint256";
|
|
350
|
+
}, {
|
|
351
|
+
readonly internalType: "bytes";
|
|
352
|
+
readonly name: "signature";
|
|
353
|
+
readonly type: "bytes";
|
|
354
|
+
}];
|
|
355
|
+
readonly name: "sendMultiSig";
|
|
138
356
|
readonly outputs: readonly [];
|
|
139
|
-
readonly payable: false;
|
|
140
357
|
readonly stateMutability: "nonpayable";
|
|
141
358
|
readonly type: "function";
|
|
142
359
|
}, {
|
|
143
360
|
readonly inputs: readonly [{
|
|
144
|
-
readonly
|
|
361
|
+
readonly internalType: "address[]";
|
|
362
|
+
readonly name: "recipients";
|
|
145
363
|
readonly type: "address[]";
|
|
364
|
+
}, {
|
|
365
|
+
readonly internalType: "uint256[]";
|
|
366
|
+
readonly name: "values";
|
|
367
|
+
readonly type: "uint256[]";
|
|
368
|
+
}, {
|
|
369
|
+
readonly internalType: "uint256";
|
|
370
|
+
readonly name: "expireTime";
|
|
371
|
+
readonly type: "uint256";
|
|
372
|
+
}, {
|
|
373
|
+
readonly internalType: "uint256";
|
|
374
|
+
readonly name: "sequenceId";
|
|
375
|
+
readonly type: "uint256";
|
|
376
|
+
}, {
|
|
377
|
+
readonly internalType: "bytes";
|
|
378
|
+
readonly name: "signature";
|
|
379
|
+
readonly type: "bytes";
|
|
146
380
|
}];
|
|
147
|
-
readonly
|
|
381
|
+
readonly name: "sendMultiSigBatch";
|
|
382
|
+
readonly outputs: readonly [];
|
|
148
383
|
readonly stateMutability: "nonpayable";
|
|
149
|
-
readonly type: "
|
|
150
|
-
}, {
|
|
151
|
-
readonly payable: true;
|
|
152
|
-
readonly stateMutability: "payable";
|
|
153
|
-
readonly type: "fallback";
|
|
384
|
+
readonly type: "function";
|
|
154
385
|
}, {
|
|
155
|
-
readonly anonymous: false;
|
|
156
386
|
readonly inputs: readonly [{
|
|
157
|
-
readonly
|
|
158
|
-
readonly name: "
|
|
387
|
+
readonly internalType: "address";
|
|
388
|
+
readonly name: "toAddress";
|
|
159
389
|
readonly type: "address";
|
|
160
390
|
}, {
|
|
161
|
-
readonly
|
|
391
|
+
readonly internalType: "uint256";
|
|
162
392
|
readonly name: "value";
|
|
163
393
|
readonly type: "uint256";
|
|
164
394
|
}, {
|
|
165
|
-
readonly
|
|
166
|
-
readonly name: "
|
|
395
|
+
readonly internalType: "address";
|
|
396
|
+
readonly name: "tokenContractAddress";
|
|
397
|
+
readonly type: "address";
|
|
398
|
+
}, {
|
|
399
|
+
readonly internalType: "uint256";
|
|
400
|
+
readonly name: "expireTime";
|
|
401
|
+
readonly type: "uint256";
|
|
402
|
+
}, {
|
|
403
|
+
readonly internalType: "uint256";
|
|
404
|
+
readonly name: "sequenceId";
|
|
405
|
+
readonly type: "uint256";
|
|
406
|
+
}, {
|
|
407
|
+
readonly internalType: "bytes";
|
|
408
|
+
readonly name: "signature";
|
|
167
409
|
readonly type: "bytes";
|
|
168
410
|
}];
|
|
169
|
-
readonly name: "
|
|
170
|
-
readonly
|
|
411
|
+
readonly name: "sendMultiSigToken";
|
|
412
|
+
readonly outputs: readonly [];
|
|
413
|
+
readonly stateMutability: "nonpayable";
|
|
414
|
+
readonly type: "function";
|
|
171
415
|
}, {
|
|
172
|
-
readonly anonymous: false;
|
|
173
416
|
readonly inputs: readonly [{
|
|
174
|
-
readonly
|
|
175
|
-
readonly name: "
|
|
417
|
+
readonly internalType: "address";
|
|
418
|
+
readonly name: "forwarderAddress";
|
|
176
419
|
readonly type: "address";
|
|
420
|
+
}, {
|
|
421
|
+
readonly internalType: "bool";
|
|
422
|
+
readonly name: "autoFlush";
|
|
423
|
+
readonly type: "bool";
|
|
177
424
|
}];
|
|
178
|
-
readonly name: "
|
|
179
|
-
readonly
|
|
425
|
+
readonly name: "setAutoFlush1155";
|
|
426
|
+
readonly outputs: readonly [];
|
|
427
|
+
readonly stateMutability: "nonpayable";
|
|
428
|
+
readonly type: "function";
|
|
180
429
|
}, {
|
|
181
|
-
readonly anonymous: false;
|
|
182
430
|
readonly inputs: readonly [{
|
|
183
|
-
readonly
|
|
184
|
-
readonly name: "
|
|
185
|
-
readonly type: "address";
|
|
186
|
-
}, {
|
|
187
|
-
readonly indexed: false;
|
|
188
|
-
readonly name: "otherSigner";
|
|
431
|
+
readonly internalType: "address";
|
|
432
|
+
readonly name: "forwarderAddress";
|
|
189
433
|
readonly type: "address";
|
|
190
434
|
}, {
|
|
191
|
-
readonly
|
|
192
|
-
readonly name: "
|
|
193
|
-
readonly type: "
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
|
|
435
|
+
readonly internalType: "bool";
|
|
436
|
+
readonly name: "autoFlush";
|
|
437
|
+
readonly type: "bool";
|
|
438
|
+
}];
|
|
439
|
+
readonly name: "setAutoFlush721";
|
|
440
|
+
readonly outputs: readonly [];
|
|
441
|
+
readonly stateMutability: "nonpayable";
|
|
442
|
+
readonly type: "function";
|
|
443
|
+
}, {
|
|
444
|
+
readonly inputs: readonly [{
|
|
445
|
+
readonly internalType: "address";
|
|
446
|
+
readonly name: "";
|
|
197
447
|
readonly type: "address";
|
|
198
|
-
}, {
|
|
199
|
-
readonly indexed: false;
|
|
200
|
-
readonly name: "value";
|
|
201
|
-
readonly type: "uint256";
|
|
202
|
-
}, {
|
|
203
|
-
readonly indexed: false;
|
|
204
|
-
readonly name: "data";
|
|
205
|
-
readonly type: "bytes";
|
|
206
448
|
}];
|
|
207
|
-
readonly name: "
|
|
208
|
-
readonly
|
|
449
|
+
readonly name: "signers";
|
|
450
|
+
readonly outputs: readonly [{
|
|
451
|
+
readonly internalType: "bool";
|
|
452
|
+
readonly name: "";
|
|
453
|
+
readonly type: "bool";
|
|
454
|
+
}];
|
|
455
|
+
readonly stateMutability: "view";
|
|
456
|
+
readonly type: "function";
|
|
457
|
+
}, {
|
|
458
|
+
readonly inputs: readonly [{
|
|
459
|
+
readonly internalType: "bytes4";
|
|
460
|
+
readonly name: "interfaceId";
|
|
461
|
+
readonly type: "bytes4";
|
|
462
|
+
}];
|
|
463
|
+
readonly name: "supportsInterface";
|
|
464
|
+
readonly outputs: readonly [{
|
|
465
|
+
readonly internalType: "bool";
|
|
466
|
+
readonly name: "";
|
|
467
|
+
readonly type: "bool";
|
|
468
|
+
}];
|
|
469
|
+
readonly stateMutability: "view";
|
|
470
|
+
readonly type: "function";
|
|
471
|
+
}, {
|
|
472
|
+
readonly stateMutability: "payable";
|
|
473
|
+
readonly type: "receive";
|
|
209
474
|
}];
|
|
210
475
|
/**
|
|
211
476
|
* Type-safe ABI for WalletSimple_json
|
|
@@ -260,35 +525,198 @@ export declare class WalletSimple_json {
|
|
|
260
525
|
*/
|
|
261
526
|
get address(): Address;
|
|
262
527
|
/**
|
|
263
|
-
* Get the underlying viem contract instance
|
|
528
|
+
* Get the underlying viem contract instance
|
|
529
|
+
*/
|
|
530
|
+
getContract(): WalletSimple_jsonContract;
|
|
531
|
+
/**
|
|
532
|
+
* getNextSequenceId
|
|
533
|
+
* view
|
|
534
|
+
*/
|
|
535
|
+
getNextSequenceId(): Promise<bigint>;
|
|
536
|
+
/**
|
|
537
|
+
* initialized
|
|
538
|
+
* view
|
|
539
|
+
*/
|
|
540
|
+
initialized(): Promise<boolean>;
|
|
541
|
+
/**
|
|
542
|
+
* isSigner
|
|
543
|
+
* view
|
|
544
|
+
*/
|
|
545
|
+
isSigner(signer: `0x${string}`): Promise<boolean>;
|
|
546
|
+
/**
|
|
547
|
+
* safeMode
|
|
548
|
+
* view
|
|
549
|
+
*/
|
|
550
|
+
safeMode(): Promise<boolean>;
|
|
551
|
+
/**
|
|
552
|
+
* signers
|
|
553
|
+
* view
|
|
554
|
+
*/
|
|
555
|
+
signers(arg0: `0x${string}`): Promise<boolean>;
|
|
556
|
+
/**
|
|
557
|
+
* supportsInterface
|
|
558
|
+
* view
|
|
559
|
+
*/
|
|
560
|
+
supportsInterface(interfaceId: `0x${string}`): Promise<boolean>;
|
|
561
|
+
/**
|
|
562
|
+
* activateSafeMode
|
|
563
|
+
* nonpayable
|
|
564
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
565
|
+
*/
|
|
566
|
+
activateSafeMode(options?: {
|
|
567
|
+
accessList?: import('viem').AccessList;
|
|
568
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
569
|
+
chain?: import('viem').Chain | null;
|
|
570
|
+
dataSuffix?: `0x${string}`;
|
|
571
|
+
gas?: bigint;
|
|
572
|
+
gasPrice?: bigint;
|
|
573
|
+
maxFeePerGas?: bigint;
|
|
574
|
+
maxPriorityFeePerGas?: bigint;
|
|
575
|
+
nonce?: number;
|
|
576
|
+
value?: bigint;
|
|
577
|
+
}): Promise<`0x${string}`>;
|
|
578
|
+
/**
|
|
579
|
+
* batchFlushERC1155ForwarderTokens
|
|
580
|
+
* nonpayable
|
|
581
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
582
|
+
*/
|
|
583
|
+
batchFlushERC1155ForwarderTokens(forwarderAddress: `0x${string}`, tokenContractAddress: `0x${string}`, tokenIds: bigint[], options?: {
|
|
584
|
+
accessList?: import('viem').AccessList;
|
|
585
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
586
|
+
chain?: import('viem').Chain | null;
|
|
587
|
+
dataSuffix?: `0x${string}`;
|
|
588
|
+
gas?: bigint;
|
|
589
|
+
gasPrice?: bigint;
|
|
590
|
+
maxFeePerGas?: bigint;
|
|
591
|
+
maxPriorityFeePerGas?: bigint;
|
|
592
|
+
nonce?: number;
|
|
593
|
+
value?: bigint;
|
|
594
|
+
}): Promise<`0x${string}`>;
|
|
595
|
+
/**
|
|
596
|
+
* flushERC1155ForwarderTokens
|
|
597
|
+
* nonpayable
|
|
598
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
599
|
+
*/
|
|
600
|
+
flushERC1155ForwarderTokens(forwarderAddress: `0x${string}`, tokenContractAddress: `0x${string}`, tokenId: bigint, options?: {
|
|
601
|
+
accessList?: import('viem').AccessList;
|
|
602
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
603
|
+
chain?: import('viem').Chain | null;
|
|
604
|
+
dataSuffix?: `0x${string}`;
|
|
605
|
+
gas?: bigint;
|
|
606
|
+
gasPrice?: bigint;
|
|
607
|
+
maxFeePerGas?: bigint;
|
|
608
|
+
maxPriorityFeePerGas?: bigint;
|
|
609
|
+
nonce?: number;
|
|
610
|
+
value?: bigint;
|
|
611
|
+
}): Promise<`0x${string}`>;
|
|
612
|
+
/**
|
|
613
|
+
* flushERC721ForwarderTokens
|
|
614
|
+
* nonpayable
|
|
615
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
616
|
+
*/
|
|
617
|
+
flushERC721ForwarderTokens(forwarderAddress: `0x${string}`, tokenContractAddress: `0x${string}`, tokenId: bigint, options?: {
|
|
618
|
+
accessList?: import('viem').AccessList;
|
|
619
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
620
|
+
chain?: import('viem').Chain | null;
|
|
621
|
+
dataSuffix?: `0x${string}`;
|
|
622
|
+
gas?: bigint;
|
|
623
|
+
gasPrice?: bigint;
|
|
624
|
+
maxFeePerGas?: bigint;
|
|
625
|
+
maxPriorityFeePerGas?: bigint;
|
|
626
|
+
nonce?: number;
|
|
627
|
+
value?: bigint;
|
|
628
|
+
}): Promise<`0x${string}`>;
|
|
629
|
+
/**
|
|
630
|
+
* flushForwarderTokens
|
|
631
|
+
* nonpayable
|
|
632
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
264
633
|
*/
|
|
265
|
-
|
|
634
|
+
flushForwarderTokens(forwarderAddress: `0x${string}`, tokenContractAddress: `0x${string}`, options?: {
|
|
635
|
+
accessList?: import('viem').AccessList;
|
|
636
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
637
|
+
chain?: import('viem').Chain | null;
|
|
638
|
+
dataSuffix?: `0x${string}`;
|
|
639
|
+
gas?: bigint;
|
|
640
|
+
gasPrice?: bigint;
|
|
641
|
+
maxFeePerGas?: bigint;
|
|
642
|
+
maxPriorityFeePerGas?: bigint;
|
|
643
|
+
nonce?: number;
|
|
644
|
+
value?: bigint;
|
|
645
|
+
}): Promise<`0x${string}`>;
|
|
266
646
|
/**
|
|
267
|
-
*
|
|
268
|
-
*
|
|
647
|
+
* init
|
|
648
|
+
* nonpayable
|
|
649
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
269
650
|
*/
|
|
270
|
-
|
|
651
|
+
init(allowedSigners: `0x${string}`[], options?: {
|
|
652
|
+
accessList?: import('viem').AccessList;
|
|
653
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
654
|
+
chain?: import('viem').Chain | null;
|
|
655
|
+
dataSuffix?: `0x${string}`;
|
|
656
|
+
gas?: bigint;
|
|
657
|
+
gasPrice?: bigint;
|
|
658
|
+
maxFeePerGas?: bigint;
|
|
659
|
+
maxPriorityFeePerGas?: bigint;
|
|
660
|
+
nonce?: number;
|
|
661
|
+
value?: bigint;
|
|
662
|
+
}): Promise<`0x${string}`>;
|
|
271
663
|
/**
|
|
272
|
-
*
|
|
273
|
-
*
|
|
664
|
+
* onERC1155BatchReceived
|
|
665
|
+
* nonpayable
|
|
666
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
274
667
|
*/
|
|
275
|
-
|
|
668
|
+
onERC1155BatchReceived(_operator: `0x${string}`, _from: `0x${string}`, ids: bigint[], values: bigint[], data: `0x${string}`, options?: {
|
|
669
|
+
accessList?: import('viem').AccessList;
|
|
670
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
671
|
+
chain?: import('viem').Chain | null;
|
|
672
|
+
dataSuffix?: `0x${string}`;
|
|
673
|
+
gas?: bigint;
|
|
674
|
+
gasPrice?: bigint;
|
|
675
|
+
maxFeePerGas?: bigint;
|
|
676
|
+
maxPriorityFeePerGas?: bigint;
|
|
677
|
+
nonce?: number;
|
|
678
|
+
value?: bigint;
|
|
679
|
+
}): Promise<`0x${string}`>;
|
|
276
680
|
/**
|
|
277
|
-
*
|
|
278
|
-
*
|
|
681
|
+
* onERC1155Received
|
|
682
|
+
* nonpayable
|
|
683
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
279
684
|
*/
|
|
280
|
-
|
|
685
|
+
onERC1155Received(_operator: `0x${string}`, _from: `0x${string}`, id: bigint, value: bigint, data: `0x${string}`, options?: {
|
|
686
|
+
accessList?: import('viem').AccessList;
|
|
687
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
688
|
+
chain?: import('viem').Chain | null;
|
|
689
|
+
dataSuffix?: `0x${string}`;
|
|
690
|
+
gas?: bigint;
|
|
691
|
+
gasPrice?: bigint;
|
|
692
|
+
maxFeePerGas?: bigint;
|
|
693
|
+
maxPriorityFeePerGas?: bigint;
|
|
694
|
+
nonce?: number;
|
|
695
|
+
value?: bigint;
|
|
696
|
+
}): Promise<`0x${string}`>;
|
|
281
697
|
/**
|
|
282
|
-
*
|
|
283
|
-
*
|
|
698
|
+
* onERC721Received
|
|
699
|
+
* nonpayable
|
|
700
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
284
701
|
*/
|
|
285
|
-
|
|
702
|
+
onERC721Received(_operator: `0x${string}`, _from: `0x${string}`, _tokenId: bigint, _data: `0x${string}`, options?: {
|
|
703
|
+
accessList?: import('viem').AccessList;
|
|
704
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
705
|
+
chain?: import('viem').Chain | null;
|
|
706
|
+
dataSuffix?: `0x${string}`;
|
|
707
|
+
gas?: bigint;
|
|
708
|
+
gasPrice?: bigint;
|
|
709
|
+
maxFeePerGas?: bigint;
|
|
710
|
+
maxPriorityFeePerGas?: bigint;
|
|
711
|
+
nonce?: number;
|
|
712
|
+
value?: bigint;
|
|
713
|
+
}): Promise<`0x${string}`>;
|
|
286
714
|
/**
|
|
287
|
-
*
|
|
715
|
+
* sendMultiSig
|
|
288
716
|
* nonpayable
|
|
289
717
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
290
718
|
*/
|
|
291
|
-
|
|
719
|
+
sendMultiSig(toAddress: `0x${string}`, value: bigint, data: `0x${string}`, expireTime: bigint, sequenceId: bigint, signature: `0x${string}`, options?: {
|
|
292
720
|
accessList?: import('viem').AccessList;
|
|
293
721
|
authorizationList?: import('viem').AuthorizationList;
|
|
294
722
|
chain?: import('viem').Chain | null;
|
|
@@ -301,11 +729,11 @@ export declare class WalletSimple_json {
|
|
|
301
729
|
value?: bigint;
|
|
302
730
|
}): Promise<`0x${string}`>;
|
|
303
731
|
/**
|
|
304
|
-
*
|
|
732
|
+
* sendMultiSigBatch
|
|
305
733
|
* nonpayable
|
|
306
734
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
307
735
|
*/
|
|
308
|
-
|
|
736
|
+
sendMultiSigBatch(recipients: `0x${string}`[], values: bigint[], expireTime: bigint, sequenceId: bigint, signature: `0x${string}`, options?: {
|
|
309
737
|
accessList?: import('viem').AccessList;
|
|
310
738
|
authorizationList?: import('viem').AuthorizationList;
|
|
311
739
|
chain?: import('viem').Chain | null;
|
|
@@ -318,11 +746,11 @@ export declare class WalletSimple_json {
|
|
|
318
746
|
value?: bigint;
|
|
319
747
|
}): Promise<`0x${string}`>;
|
|
320
748
|
/**
|
|
321
|
-
*
|
|
749
|
+
* sendMultiSigToken
|
|
322
750
|
* nonpayable
|
|
323
751
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
324
752
|
*/
|
|
325
|
-
|
|
753
|
+
sendMultiSigToken(toAddress: `0x${string}`, value: bigint, tokenContractAddress: `0x${string}`, expireTime: bigint, sequenceId: bigint, signature: `0x${string}`, options?: {
|
|
326
754
|
accessList?: import('viem').AccessList;
|
|
327
755
|
authorizationList?: import('viem').AuthorizationList;
|
|
328
756
|
chain?: import('viem').Chain | null;
|
|
@@ -335,11 +763,11 @@ export declare class WalletSimple_json {
|
|
|
335
763
|
value?: bigint;
|
|
336
764
|
}): Promise<`0x${string}`>;
|
|
337
765
|
/**
|
|
338
|
-
*
|
|
766
|
+
* setAutoFlush1155
|
|
339
767
|
* nonpayable
|
|
340
768
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
341
769
|
*/
|
|
342
|
-
|
|
770
|
+
setAutoFlush1155(forwarderAddress: `0x${string}`, autoFlush: boolean, options?: {
|
|
343
771
|
accessList?: import('viem').AccessList;
|
|
344
772
|
authorizationList?: import('viem').AuthorizationList;
|
|
345
773
|
chain?: import('viem').Chain | null;
|
|
@@ -352,11 +780,11 @@ export declare class WalletSimple_json {
|
|
|
352
780
|
value?: bigint;
|
|
353
781
|
}): Promise<`0x${string}`>;
|
|
354
782
|
/**
|
|
355
|
-
*
|
|
783
|
+
* setAutoFlush721
|
|
356
784
|
* nonpayable
|
|
357
785
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
358
786
|
*/
|
|
359
|
-
|
|
787
|
+
setAutoFlush721(forwarderAddress: `0x${string}`, autoFlush: boolean, options?: {
|
|
360
788
|
accessList?: import('viem').AccessList;
|
|
361
789
|
authorizationList?: import('viem').AuthorizationList;
|
|
362
790
|
chain?: import('viem').Chain | null;
|
|
@@ -378,11 +806,62 @@ export declare class WalletSimple_json {
|
|
|
378
806
|
*/
|
|
379
807
|
get simulate(): {
|
|
380
808
|
/**
|
|
381
|
-
* Simulate
|
|
809
|
+
* Simulate activateSafeMode
|
|
382
810
|
* Returns gas estimate and result without sending transaction
|
|
383
811
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
384
812
|
*/
|
|
385
|
-
|
|
813
|
+
activateSafeMode(options?: {
|
|
814
|
+
accessList?: import("viem").AccessList;
|
|
815
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
816
|
+
chain?: import("viem").Chain | null;
|
|
817
|
+
dataSuffix?: `0x${string}`;
|
|
818
|
+
gas?: bigint;
|
|
819
|
+
gasPrice?: bigint;
|
|
820
|
+
maxFeePerGas?: bigint;
|
|
821
|
+
maxPriorityFeePerGas?: bigint;
|
|
822
|
+
nonce?: number;
|
|
823
|
+
value?: bigint;
|
|
824
|
+
}): Promise<void>;
|
|
825
|
+
/**
|
|
826
|
+
* Simulate batchFlushERC1155ForwarderTokens
|
|
827
|
+
* Returns gas estimate and result without sending transaction
|
|
828
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
829
|
+
*/
|
|
830
|
+
batchFlushERC1155ForwarderTokens(forwarderAddress: `0x${string}`, tokenContractAddress: `0x${string}`, tokenIds: bigint[], options?: {
|
|
831
|
+
accessList?: import("viem").AccessList;
|
|
832
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
833
|
+
chain?: import("viem").Chain | null;
|
|
834
|
+
dataSuffix?: `0x${string}`;
|
|
835
|
+
gas?: bigint;
|
|
836
|
+
gasPrice?: bigint;
|
|
837
|
+
maxFeePerGas?: bigint;
|
|
838
|
+
maxPriorityFeePerGas?: bigint;
|
|
839
|
+
nonce?: number;
|
|
840
|
+
value?: bigint;
|
|
841
|
+
}): Promise<void>;
|
|
842
|
+
/**
|
|
843
|
+
* Simulate flushERC1155ForwarderTokens
|
|
844
|
+
* Returns gas estimate and result without sending transaction
|
|
845
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
846
|
+
*/
|
|
847
|
+
flushERC1155ForwarderTokens(forwarderAddress: `0x${string}`, tokenContractAddress: `0x${string}`, tokenId: bigint, options?: {
|
|
848
|
+
accessList?: import("viem").AccessList;
|
|
849
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
850
|
+
chain?: import("viem").Chain | null;
|
|
851
|
+
dataSuffix?: `0x${string}`;
|
|
852
|
+
gas?: bigint;
|
|
853
|
+
gasPrice?: bigint;
|
|
854
|
+
maxFeePerGas?: bigint;
|
|
855
|
+
maxPriorityFeePerGas?: bigint;
|
|
856
|
+
nonce?: number;
|
|
857
|
+
value?: bigint;
|
|
858
|
+
}): Promise<void>;
|
|
859
|
+
/**
|
|
860
|
+
* Simulate flushERC721ForwarderTokens
|
|
861
|
+
* Returns gas estimate and result without sending transaction
|
|
862
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
863
|
+
*/
|
|
864
|
+
flushERC721ForwarderTokens(forwarderAddress: `0x${string}`, tokenContractAddress: `0x${string}`, tokenId: bigint, options?: {
|
|
386
865
|
accessList?: import("viem").AccessList;
|
|
387
866
|
authorizationList?: import("viem").AuthorizationList;
|
|
388
867
|
chain?: import("viem").Chain | null;
|
|
@@ -411,6 +890,74 @@ export declare class WalletSimple_json {
|
|
|
411
890
|
nonce?: number;
|
|
412
891
|
value?: bigint;
|
|
413
892
|
}): Promise<void>;
|
|
893
|
+
/**
|
|
894
|
+
* Simulate init
|
|
895
|
+
* Returns gas estimate and result without sending transaction
|
|
896
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
897
|
+
*/
|
|
898
|
+
init(allowedSigners: `0x${string}`[], options?: {
|
|
899
|
+
accessList?: import("viem").AccessList;
|
|
900
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
901
|
+
chain?: import("viem").Chain | null;
|
|
902
|
+
dataSuffix?: `0x${string}`;
|
|
903
|
+
gas?: bigint;
|
|
904
|
+
gasPrice?: bigint;
|
|
905
|
+
maxFeePerGas?: bigint;
|
|
906
|
+
maxPriorityFeePerGas?: bigint;
|
|
907
|
+
nonce?: number;
|
|
908
|
+
value?: bigint;
|
|
909
|
+
}): Promise<void>;
|
|
910
|
+
/**
|
|
911
|
+
* Simulate onERC1155BatchReceived
|
|
912
|
+
* Returns gas estimate and result without sending transaction
|
|
913
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
914
|
+
*/
|
|
915
|
+
onERC1155BatchReceived(_operator: `0x${string}`, _from: `0x${string}`, ids: bigint[], values: bigint[], data: `0x${string}`, options?: {
|
|
916
|
+
accessList?: import("viem").AccessList;
|
|
917
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
918
|
+
chain?: import("viem").Chain | null;
|
|
919
|
+
dataSuffix?: `0x${string}`;
|
|
920
|
+
gas?: bigint;
|
|
921
|
+
gasPrice?: bigint;
|
|
922
|
+
maxFeePerGas?: bigint;
|
|
923
|
+
maxPriorityFeePerGas?: bigint;
|
|
924
|
+
nonce?: number;
|
|
925
|
+
value?: bigint;
|
|
926
|
+
}): Promise<`0x${string}`>;
|
|
927
|
+
/**
|
|
928
|
+
* Simulate onERC1155Received
|
|
929
|
+
* Returns gas estimate and result without sending transaction
|
|
930
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
931
|
+
*/
|
|
932
|
+
onERC1155Received(_operator: `0x${string}`, _from: `0x${string}`, id: bigint, value: bigint, data: `0x${string}`, options?: {
|
|
933
|
+
accessList?: import("viem").AccessList;
|
|
934
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
935
|
+
chain?: import("viem").Chain | null;
|
|
936
|
+
dataSuffix?: `0x${string}`;
|
|
937
|
+
gas?: bigint;
|
|
938
|
+
gasPrice?: bigint;
|
|
939
|
+
maxFeePerGas?: bigint;
|
|
940
|
+
maxPriorityFeePerGas?: bigint;
|
|
941
|
+
nonce?: number;
|
|
942
|
+
value?: bigint;
|
|
943
|
+
}): Promise<`0x${string}`>;
|
|
944
|
+
/**
|
|
945
|
+
* Simulate onERC721Received
|
|
946
|
+
* Returns gas estimate and result without sending transaction
|
|
947
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
948
|
+
*/
|
|
949
|
+
onERC721Received(_operator: `0x${string}`, _from: `0x${string}`, _tokenId: bigint, _data: `0x${string}`, options?: {
|
|
950
|
+
accessList?: import("viem").AccessList;
|
|
951
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
952
|
+
chain?: import("viem").Chain | null;
|
|
953
|
+
dataSuffix?: `0x${string}`;
|
|
954
|
+
gas?: bigint;
|
|
955
|
+
gasPrice?: bigint;
|
|
956
|
+
maxFeePerGas?: bigint;
|
|
957
|
+
maxPriorityFeePerGas?: bigint;
|
|
958
|
+
nonce?: number;
|
|
959
|
+
value?: bigint;
|
|
960
|
+
}): Promise<`0x${string}`>;
|
|
414
961
|
/**
|
|
415
962
|
* Simulate sendMultiSig
|
|
416
963
|
* Returns gas estimate and result without sending transaction
|
|
@@ -429,11 +976,11 @@ export declare class WalletSimple_json {
|
|
|
429
976
|
value?: bigint;
|
|
430
977
|
}): Promise<void>;
|
|
431
978
|
/**
|
|
432
|
-
* Simulate
|
|
979
|
+
* Simulate sendMultiSigBatch
|
|
433
980
|
* Returns gas estimate and result without sending transaction
|
|
434
981
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
435
982
|
*/
|
|
436
|
-
|
|
983
|
+
sendMultiSigBatch(recipients: `0x${string}`[], values: bigint[], expireTime: bigint, sequenceId: bigint, signature: `0x${string}`, options?: {
|
|
437
984
|
accessList?: import("viem").AccessList;
|
|
438
985
|
authorizationList?: import("viem").AuthorizationList;
|
|
439
986
|
chain?: import("viem").Chain | null;
|
|
@@ -444,13 +991,47 @@ export declare class WalletSimple_json {
|
|
|
444
991
|
maxPriorityFeePerGas?: bigint;
|
|
445
992
|
nonce?: number;
|
|
446
993
|
value?: bigint;
|
|
447
|
-
}): Promise
|
|
994
|
+
}): Promise<void>;
|
|
448
995
|
/**
|
|
449
|
-
* Simulate
|
|
996
|
+
* Simulate sendMultiSigToken
|
|
450
997
|
* Returns gas estimate and result without sending transaction
|
|
451
998
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
452
999
|
*/
|
|
453
|
-
|
|
1000
|
+
sendMultiSigToken(toAddress: `0x${string}`, value: bigint, tokenContractAddress: `0x${string}`, expireTime: bigint, sequenceId: bigint, signature: `0x${string}`, options?: {
|
|
1001
|
+
accessList?: import("viem").AccessList;
|
|
1002
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1003
|
+
chain?: import("viem").Chain | null;
|
|
1004
|
+
dataSuffix?: `0x${string}`;
|
|
1005
|
+
gas?: bigint;
|
|
1006
|
+
gasPrice?: bigint;
|
|
1007
|
+
maxFeePerGas?: bigint;
|
|
1008
|
+
maxPriorityFeePerGas?: bigint;
|
|
1009
|
+
nonce?: number;
|
|
1010
|
+
value?: bigint;
|
|
1011
|
+
}): Promise<void>;
|
|
1012
|
+
/**
|
|
1013
|
+
* Simulate setAutoFlush1155
|
|
1014
|
+
* Returns gas estimate and result without sending transaction
|
|
1015
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1016
|
+
*/
|
|
1017
|
+
setAutoFlush1155(forwarderAddress: `0x${string}`, autoFlush: boolean, options?: {
|
|
1018
|
+
accessList?: import("viem").AccessList;
|
|
1019
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1020
|
+
chain?: import("viem").Chain | null;
|
|
1021
|
+
dataSuffix?: `0x${string}`;
|
|
1022
|
+
gas?: bigint;
|
|
1023
|
+
gasPrice?: bigint;
|
|
1024
|
+
maxFeePerGas?: bigint;
|
|
1025
|
+
maxPriorityFeePerGas?: bigint;
|
|
1026
|
+
nonce?: number;
|
|
1027
|
+
value?: bigint;
|
|
1028
|
+
}): Promise<void>;
|
|
1029
|
+
/**
|
|
1030
|
+
* Simulate setAutoFlush721
|
|
1031
|
+
* Returns gas estimate and result without sending transaction
|
|
1032
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1033
|
+
*/
|
|
1034
|
+
setAutoFlush721(forwarderAddress: `0x${string}`, autoFlush: boolean, options?: {
|
|
454
1035
|
accessList?: import("viem").AccessList;
|
|
455
1036
|
authorizationList?: import("viem").AuthorizationList;
|
|
456
1037
|
chain?: import("viem").Chain | null;
|
|
@@ -476,6 +1057,28 @@ export declare class WalletSimple_json {
|
|
|
476
1057
|
* unwatch();
|
|
477
1058
|
*/
|
|
478
1059
|
get watch(): {
|
|
1060
|
+
/**
|
|
1061
|
+
* Watch BatchTransacted events
|
|
1062
|
+
* @param callback Function to call when event is emitted
|
|
1063
|
+
* @param filter Optional filter for indexed parameters
|
|
1064
|
+
* @returns Unwatch function to stop listening
|
|
1065
|
+
*/
|
|
1066
|
+
BatchTransacted: (callback: (event: {
|
|
1067
|
+
msgSender: `0x${string}`;
|
|
1068
|
+
otherSigner: `0x${string}`;
|
|
1069
|
+
operation: `0x${string}`;
|
|
1070
|
+
}) => void) => () => void;
|
|
1071
|
+
/**
|
|
1072
|
+
* Watch BatchTransfer events
|
|
1073
|
+
* @param callback Function to call when event is emitted
|
|
1074
|
+
* @param filter Optional filter for indexed parameters
|
|
1075
|
+
* @returns Unwatch function to stop listening
|
|
1076
|
+
*/
|
|
1077
|
+
BatchTransfer: (callback: (event: {
|
|
1078
|
+
sender: `0x${string}`;
|
|
1079
|
+
recipient: `0x${string}`;
|
|
1080
|
+
value: bigint;
|
|
1081
|
+
}) => void) => () => void;
|
|
479
1082
|
/**
|
|
480
1083
|
* Watch Deposited events
|
|
481
1084
|
* @param callback Function to call when event is emitted
|