@gitmyabi/walletsimple 1.0.33 → 1.0.35
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 +130 -733
- package/contracts/WalletSimple_json.js +134 -692
- package/contracts/WalletSimple_json.ts +156 -925
- package/package.json +3 -3
|
@@ -5,472 +5,207 @@ 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
|
|
9
|
-
readonly inputs: 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";
|
|
33
|
-
readonly type: "address";
|
|
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";
|
|
42
|
-
readonly name: "value";
|
|
43
|
-
readonly type: "uint256";
|
|
44
|
-
}];
|
|
45
|
-
readonly name: "BatchTransfer";
|
|
46
|
-
readonly type: "event";
|
|
47
|
-
}, {
|
|
48
|
-
readonly anonymous: false;
|
|
8
|
+
readonly constant: false;
|
|
49
9
|
readonly inputs: readonly [{
|
|
50
|
-
readonly
|
|
51
|
-
readonly internalType: "address";
|
|
52
|
-
readonly name: "from";
|
|
10
|
+
readonly name: "toAddress";
|
|
53
11
|
readonly type: "address";
|
|
54
12
|
}, {
|
|
55
|
-
readonly indexed: false;
|
|
56
|
-
readonly internalType: "uint256";
|
|
57
13
|
readonly name: "value";
|
|
58
14
|
readonly type: "uint256";
|
|
59
15
|
}, {
|
|
60
|
-
readonly
|
|
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";
|
|
16
|
+
readonly name: "tokenContractAddress";
|
|
88
17
|
readonly type: "address";
|
|
89
18
|
}, {
|
|
90
|
-
readonly
|
|
91
|
-
readonly
|
|
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";
|
|
19
|
+
readonly name: "expireTime";
|
|
20
|
+
readonly type: "uint256";
|
|
99
21
|
}, {
|
|
100
|
-
readonly
|
|
101
|
-
readonly internalType: "uint256";
|
|
102
|
-
readonly name: "value";
|
|
22
|
+
readonly name: "sequenceId";
|
|
103
23
|
readonly type: "uint256";
|
|
104
24
|
}, {
|
|
105
|
-
readonly
|
|
106
|
-
readonly internalType: "bytes";
|
|
107
|
-
readonly name: "data";
|
|
25
|
+
readonly name: "signature";
|
|
108
26
|
readonly type: "bytes";
|
|
109
27
|
}];
|
|
110
|
-
readonly name: "
|
|
111
|
-
readonly type: "event";
|
|
112
|
-
}, {
|
|
113
|
-
readonly stateMutability: "payable";
|
|
114
|
-
readonly type: "fallback";
|
|
115
|
-
}, {
|
|
116
|
-
readonly inputs: readonly [];
|
|
117
|
-
readonly name: "activateSafeMode";
|
|
28
|
+
readonly name: "sendMultiSigToken";
|
|
118
29
|
readonly outputs: readonly [];
|
|
30
|
+
readonly payable: false;
|
|
119
31
|
readonly stateMutability: "nonpayable";
|
|
120
32
|
readonly type: "function";
|
|
121
33
|
}, {
|
|
34
|
+
readonly constant: true;
|
|
122
35
|
readonly inputs: readonly [{
|
|
123
|
-
readonly
|
|
124
|
-
readonly
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
readonly name: "
|
|
36
|
+
readonly name: "";
|
|
37
|
+
readonly type: "uint256";
|
|
38
|
+
}];
|
|
39
|
+
readonly name: "signers";
|
|
40
|
+
readonly outputs: readonly [{
|
|
41
|
+
readonly name: "";
|
|
129
42
|
readonly type: "address";
|
|
130
|
-
}, {
|
|
131
|
-
readonly internalType: "uint256[]";
|
|
132
|
-
readonly name: "tokenIds";
|
|
133
|
-
readonly type: "uint256[]";
|
|
134
43
|
}];
|
|
135
|
-
readonly
|
|
136
|
-
readonly
|
|
137
|
-
readonly stateMutability: "nonpayable";
|
|
44
|
+
readonly payable: false;
|
|
45
|
+
readonly stateMutability: "view";
|
|
138
46
|
readonly type: "function";
|
|
139
47
|
}, {
|
|
48
|
+
readonly constant: false;
|
|
140
49
|
readonly inputs: readonly [{
|
|
141
|
-
readonly internalType: "address payable";
|
|
142
50
|
readonly name: "forwarderAddress";
|
|
143
51
|
readonly type: "address";
|
|
144
52
|
}, {
|
|
145
|
-
readonly internalType: "address";
|
|
146
53
|
readonly name: "tokenContractAddress";
|
|
147
54
|
readonly type: "address";
|
|
148
|
-
}, {
|
|
149
|
-
readonly internalType: "uint256";
|
|
150
|
-
readonly name: "tokenId";
|
|
151
|
-
readonly type: "uint256";
|
|
152
55
|
}];
|
|
153
|
-
readonly name: "
|
|
56
|
+
readonly name: "flushForwarderTokens";
|
|
154
57
|
readonly outputs: readonly [];
|
|
58
|
+
readonly payable: false;
|
|
155
59
|
readonly stateMutability: "nonpayable";
|
|
156
60
|
readonly type: "function";
|
|
157
61
|
}, {
|
|
62
|
+
readonly constant: false;
|
|
158
63
|
readonly inputs: readonly [{
|
|
159
|
-
readonly
|
|
160
|
-
readonly name: "forwarderAddress";
|
|
64
|
+
readonly name: "toAddress";
|
|
161
65
|
readonly type: "address";
|
|
162
66
|
}, {
|
|
163
|
-
readonly
|
|
164
|
-
readonly
|
|
165
|
-
|
|
67
|
+
readonly name: "value";
|
|
68
|
+
readonly type: "uint256";
|
|
69
|
+
}, {
|
|
70
|
+
readonly name: "data";
|
|
71
|
+
readonly type: "bytes";
|
|
166
72
|
}, {
|
|
167
|
-
readonly
|
|
168
|
-
readonly name: "tokenId";
|
|
73
|
+
readonly name: "expireTime";
|
|
169
74
|
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";
|
|
180
75
|
}, {
|
|
181
|
-
readonly
|
|
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: "";
|
|
76
|
+
readonly name: "sequenceId";
|
|
195
77
|
readonly type: "uint256";
|
|
78
|
+
}, {
|
|
79
|
+
readonly name: "signature";
|
|
80
|
+
readonly type: "bytes";
|
|
196
81
|
}];
|
|
197
|
-
readonly
|
|
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";
|
|
82
|
+
readonly name: "sendMultiSig";
|
|
206
83
|
readonly outputs: readonly [];
|
|
84
|
+
readonly payable: false;
|
|
207
85
|
readonly stateMutability: "nonpayable";
|
|
208
86
|
readonly type: "function";
|
|
209
87
|
}, {
|
|
210
|
-
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
|
-
}, {
|
|
88
|
+
readonly constant: true;
|
|
220
89
|
readonly inputs: readonly [{
|
|
221
|
-
readonly internalType: "address";
|
|
222
90
|
readonly name: "signer";
|
|
223
91
|
readonly type: "address";
|
|
224
92
|
}];
|
|
225
93
|
readonly name: "isSigner";
|
|
226
94
|
readonly outputs: readonly [{
|
|
227
|
-
readonly internalType: "bool";
|
|
228
95
|
readonly name: "";
|
|
229
96
|
readonly type: "bool";
|
|
230
97
|
}];
|
|
98
|
+
readonly payable: false;
|
|
231
99
|
readonly stateMutability: "view";
|
|
232
100
|
readonly type: "function";
|
|
233
101
|
}, {
|
|
234
|
-
readonly
|
|
235
|
-
|
|
236
|
-
|
|
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";
|
|
102
|
+
readonly constant: true;
|
|
103
|
+
readonly inputs: readonly [];
|
|
104
|
+
readonly name: "getNextSequenceId";
|
|
256
105
|
readonly outputs: readonly [{
|
|
257
|
-
readonly internalType: "bytes4";
|
|
258
106
|
readonly name: "";
|
|
259
|
-
readonly type: "bytes4";
|
|
260
|
-
}];
|
|
261
|
-
readonly stateMutability: "nonpayable";
|
|
262
|
-
readonly type: "function";
|
|
263
|
-
}, {
|
|
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
107
|
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
108
|
}];
|
|
285
|
-
readonly
|
|
286
|
-
readonly
|
|
287
|
-
readonly internalType: "bytes4";
|
|
288
|
-
readonly name: "";
|
|
289
|
-
readonly type: "bytes4";
|
|
290
|
-
}];
|
|
291
|
-
readonly stateMutability: "nonpayable";
|
|
109
|
+
readonly payable: false;
|
|
110
|
+
readonly stateMutability: "view";
|
|
292
111
|
readonly type: "function";
|
|
293
112
|
}, {
|
|
294
|
-
readonly
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
readonly type: "address";
|
|
298
|
-
}, {
|
|
299
|
-
readonly internalType: "address";
|
|
300
|
-
readonly name: "_from";
|
|
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";
|
|
113
|
+
readonly constant: false;
|
|
114
|
+
readonly inputs: readonly [];
|
|
115
|
+
readonly name: "createForwarder";
|
|
312
116
|
readonly outputs: readonly [{
|
|
313
|
-
readonly internalType: "bytes4";
|
|
314
117
|
readonly name: "";
|
|
315
|
-
readonly type: "
|
|
118
|
+
readonly type: "address";
|
|
316
119
|
}];
|
|
120
|
+
readonly payable: false;
|
|
317
121
|
readonly stateMutability: "nonpayable";
|
|
318
122
|
readonly type: "function";
|
|
319
123
|
}, {
|
|
124
|
+
readonly constant: true;
|
|
320
125
|
readonly inputs: readonly [];
|
|
321
126
|
readonly name: "safeMode";
|
|
322
127
|
readonly outputs: readonly [{
|
|
323
|
-
readonly internalType: "bool";
|
|
324
128
|
readonly name: "";
|
|
325
129
|
readonly type: "bool";
|
|
326
130
|
}];
|
|
131
|
+
readonly payable: false;
|
|
327
132
|
readonly stateMutability: "view";
|
|
328
133
|
readonly type: "function";
|
|
329
134
|
}, {
|
|
330
|
-
readonly
|
|
331
|
-
|
|
332
|
-
|
|
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";
|
|
135
|
+
readonly constant: false;
|
|
136
|
+
readonly inputs: readonly [];
|
|
137
|
+
readonly name: "activateSafeMode";
|
|
356
138
|
readonly outputs: readonly [];
|
|
139
|
+
readonly payable: false;
|
|
357
140
|
readonly stateMutability: "nonpayable";
|
|
358
141
|
readonly type: "function";
|
|
359
142
|
}, {
|
|
360
143
|
readonly inputs: readonly [{
|
|
361
|
-
readonly
|
|
362
|
-
readonly name: "recipients";
|
|
144
|
+
readonly name: "allowedSigners";
|
|
363
145
|
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";
|
|
380
146
|
}];
|
|
381
|
-
readonly
|
|
382
|
-
readonly outputs: readonly [];
|
|
147
|
+
readonly payable: false;
|
|
383
148
|
readonly stateMutability: "nonpayable";
|
|
384
|
-
readonly type: "
|
|
149
|
+
readonly type: "constructor";
|
|
150
|
+
}, {
|
|
151
|
+
readonly payable: true;
|
|
152
|
+
readonly stateMutability: "payable";
|
|
153
|
+
readonly type: "fallback";
|
|
385
154
|
}, {
|
|
155
|
+
readonly anonymous: false;
|
|
386
156
|
readonly inputs: readonly [{
|
|
387
|
-
readonly
|
|
388
|
-
readonly name: "
|
|
157
|
+
readonly indexed: false;
|
|
158
|
+
readonly name: "from";
|
|
389
159
|
readonly type: "address";
|
|
390
160
|
}, {
|
|
391
|
-
readonly
|
|
161
|
+
readonly indexed: false;
|
|
392
162
|
readonly name: "value";
|
|
393
163
|
readonly type: "uint256";
|
|
394
164
|
}, {
|
|
395
|
-
readonly
|
|
396
|
-
readonly name: "
|
|
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";
|
|
165
|
+
readonly indexed: false;
|
|
166
|
+
readonly name: "data";
|
|
409
167
|
readonly type: "bytes";
|
|
410
168
|
}];
|
|
411
|
-
readonly name: "
|
|
412
|
-
readonly
|
|
413
|
-
readonly stateMutability: "nonpayable";
|
|
414
|
-
readonly type: "function";
|
|
169
|
+
readonly name: "Deposited";
|
|
170
|
+
readonly type: "event";
|
|
415
171
|
}, {
|
|
172
|
+
readonly anonymous: false;
|
|
416
173
|
readonly inputs: readonly [{
|
|
417
|
-
readonly
|
|
418
|
-
readonly name: "
|
|
174
|
+
readonly indexed: false;
|
|
175
|
+
readonly name: "msgSender";
|
|
419
176
|
readonly type: "address";
|
|
420
|
-
}, {
|
|
421
|
-
readonly internalType: "bool";
|
|
422
|
-
readonly name: "autoFlush";
|
|
423
|
-
readonly type: "bool";
|
|
424
177
|
}];
|
|
425
|
-
readonly name: "
|
|
426
|
-
readonly
|
|
427
|
-
readonly stateMutability: "nonpayable";
|
|
428
|
-
readonly type: "function";
|
|
178
|
+
readonly name: "SafeModeActivated";
|
|
179
|
+
readonly type: "event";
|
|
429
180
|
}, {
|
|
181
|
+
readonly anonymous: false;
|
|
430
182
|
readonly inputs: readonly [{
|
|
431
|
-
readonly
|
|
432
|
-
readonly name: "
|
|
183
|
+
readonly indexed: false;
|
|
184
|
+
readonly name: "msgSender";
|
|
433
185
|
readonly type: "address";
|
|
434
186
|
}, {
|
|
435
|
-
readonly
|
|
436
|
-
readonly name: "
|
|
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: "";
|
|
187
|
+
readonly indexed: false;
|
|
188
|
+
readonly name: "otherSigner";
|
|
447
189
|
readonly type: "address";
|
|
190
|
+
}, {
|
|
191
|
+
readonly indexed: false;
|
|
192
|
+
readonly name: "operation";
|
|
193
|
+
readonly type: "bytes32";
|
|
194
|
+
}, {
|
|
195
|
+
readonly indexed: false;
|
|
196
|
+
readonly name: "toAddress";
|
|
197
|
+
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";
|
|
448
206
|
}];
|
|
449
|
-
readonly name: "
|
|
450
|
-
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";
|
|
207
|
+
readonly name: "Transacted";
|
|
208
|
+
readonly type: "event";
|
|
474
209
|
}];
|
|
475
210
|
/**
|
|
476
211
|
* Type-safe ABI for WalletSimple_json
|
|
@@ -521,202 +256,39 @@ export declare class WalletSimple_json {
|
|
|
521
256
|
walletClient?: WalletClient;
|
|
522
257
|
});
|
|
523
258
|
/**
|
|
524
|
-
* Get the contract address
|
|
525
|
-
*/
|
|
526
|
-
get address(): Address;
|
|
527
|
-
/**
|
|
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}`>;
|
|
259
|
+
* Get the contract address
|
|
260
|
+
*/
|
|
261
|
+
get address(): Address;
|
|
629
262
|
/**
|
|
630
|
-
*
|
|
631
|
-
* nonpayable
|
|
632
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
263
|
+
* Get the underlying viem contract instance
|
|
633
264
|
*/
|
|
634
|
-
|
|
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}`>;
|
|
265
|
+
getContract(): WalletSimple_jsonContract;
|
|
646
266
|
/**
|
|
647
|
-
*
|
|
648
|
-
*
|
|
649
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
267
|
+
* signers
|
|
268
|
+
* view
|
|
650
269
|
*/
|
|
651
|
-
|
|
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}`>;
|
|
270
|
+
signers(arg0: bigint): Promise<`0x${string}`>;
|
|
663
271
|
/**
|
|
664
|
-
*
|
|
665
|
-
*
|
|
666
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
272
|
+
* isSigner
|
|
273
|
+
* view
|
|
667
274
|
*/
|
|
668
|
-
|
|
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}`>;
|
|
275
|
+
isSigner(signer: `0x${string}`): Promise<boolean>;
|
|
680
276
|
/**
|
|
681
|
-
*
|
|
682
|
-
*
|
|
683
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
277
|
+
* getNextSequenceId
|
|
278
|
+
* view
|
|
684
279
|
*/
|
|
685
|
-
|
|
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}`>;
|
|
280
|
+
getNextSequenceId(): Promise<bigint>;
|
|
697
281
|
/**
|
|
698
|
-
*
|
|
699
|
-
*
|
|
700
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
282
|
+
* safeMode
|
|
283
|
+
* view
|
|
701
284
|
*/
|
|
702
|
-
|
|
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}`>;
|
|
285
|
+
safeMode(): Promise<boolean>;
|
|
714
286
|
/**
|
|
715
|
-
*
|
|
287
|
+
* sendMultiSigToken
|
|
716
288
|
* nonpayable
|
|
717
289
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
718
290
|
*/
|
|
719
|
-
|
|
291
|
+
sendMultiSigToken(toAddress: `0x${string}`, value: bigint, tokenContractAddress: `0x${string}`, expireTime: bigint, sequenceId: bigint, signature: `0x${string}`, options?: {
|
|
720
292
|
accessList?: import('viem').AccessList;
|
|
721
293
|
authorizationList?: import('viem').AuthorizationList;
|
|
722
294
|
chain?: import('viem').Chain | null;
|
|
@@ -729,11 +301,11 @@ export declare class WalletSimple_json {
|
|
|
729
301
|
value?: bigint;
|
|
730
302
|
}): Promise<`0x${string}`>;
|
|
731
303
|
/**
|
|
732
|
-
*
|
|
304
|
+
* flushForwarderTokens
|
|
733
305
|
* nonpayable
|
|
734
306
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
735
307
|
*/
|
|
736
|
-
|
|
308
|
+
flushForwarderTokens(forwarderAddress: `0x${string}`, tokenContractAddress: `0x${string}`, options?: {
|
|
737
309
|
accessList?: import('viem').AccessList;
|
|
738
310
|
authorizationList?: import('viem').AuthorizationList;
|
|
739
311
|
chain?: import('viem').Chain | null;
|
|
@@ -746,11 +318,11 @@ export declare class WalletSimple_json {
|
|
|
746
318
|
value?: bigint;
|
|
747
319
|
}): Promise<`0x${string}`>;
|
|
748
320
|
/**
|
|
749
|
-
*
|
|
321
|
+
* sendMultiSig
|
|
750
322
|
* nonpayable
|
|
751
323
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
752
324
|
*/
|
|
753
|
-
|
|
325
|
+
sendMultiSig(toAddress: `0x${string}`, value: bigint, data: `0x${string}`, expireTime: bigint, sequenceId: bigint, signature: `0x${string}`, options?: {
|
|
754
326
|
accessList?: import('viem').AccessList;
|
|
755
327
|
authorizationList?: import('viem').AuthorizationList;
|
|
756
328
|
chain?: import('viem').Chain | null;
|
|
@@ -763,11 +335,11 @@ export declare class WalletSimple_json {
|
|
|
763
335
|
value?: bigint;
|
|
764
336
|
}): Promise<`0x${string}`>;
|
|
765
337
|
/**
|
|
766
|
-
*
|
|
338
|
+
* createForwarder
|
|
767
339
|
* nonpayable
|
|
768
340
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
769
341
|
*/
|
|
770
|
-
|
|
342
|
+
createForwarder(options?: {
|
|
771
343
|
accessList?: import('viem').AccessList;
|
|
772
344
|
authorizationList?: import('viem').AuthorizationList;
|
|
773
345
|
chain?: import('viem').Chain | null;
|
|
@@ -780,11 +352,11 @@ export declare class WalletSimple_json {
|
|
|
780
352
|
value?: bigint;
|
|
781
353
|
}): Promise<`0x${string}`>;
|
|
782
354
|
/**
|
|
783
|
-
*
|
|
355
|
+
* activateSafeMode
|
|
784
356
|
* nonpayable
|
|
785
357
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
786
358
|
*/
|
|
787
|
-
|
|
359
|
+
activateSafeMode(options?: {
|
|
788
360
|
accessList?: import('viem').AccessList;
|
|
789
361
|
authorizationList?: import('viem').AuthorizationList;
|
|
790
362
|
chain?: import('viem').Chain | null;
|
|
@@ -806,62 +378,11 @@ export declare class WalletSimple_json {
|
|
|
806
378
|
*/
|
|
807
379
|
get simulate(): {
|
|
808
380
|
/**
|
|
809
|
-
* Simulate
|
|
810
|
-
* Returns gas estimate and result without sending transaction
|
|
811
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
812
|
-
*/
|
|
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
|
|
381
|
+
* Simulate sendMultiSigToken
|
|
861
382
|
* Returns gas estimate and result without sending transaction
|
|
862
383
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
863
384
|
*/
|
|
864
|
-
|
|
385
|
+
sendMultiSigToken(toAddress: `0x${string}`, value: bigint, tokenContractAddress: `0x${string}`, expireTime: bigint, sequenceId: bigint, signature: `0x${string}`, options?: {
|
|
865
386
|
accessList?: import("viem").AccessList;
|
|
866
387
|
authorizationList?: import("viem").AuthorizationList;
|
|
867
388
|
chain?: import("viem").Chain | null;
|
|
@@ -890,74 +411,6 @@ export declare class WalletSimple_json {
|
|
|
890
411
|
nonce?: number;
|
|
891
412
|
value?: bigint;
|
|
892
413
|
}): 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}`>;
|
|
961
414
|
/**
|
|
962
415
|
* Simulate sendMultiSig
|
|
963
416
|
* Returns gas estimate and result without sending transaction
|
|
@@ -976,45 +429,11 @@ export declare class WalletSimple_json {
|
|
|
976
429
|
value?: bigint;
|
|
977
430
|
}): Promise<void>;
|
|
978
431
|
/**
|
|
979
|
-
* Simulate
|
|
980
|
-
* Returns gas estimate and result without sending transaction
|
|
981
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
982
|
-
*/
|
|
983
|
-
sendMultiSigBatch(recipients: `0x${string}`[], values: bigint[], expireTime: bigint, sequenceId: bigint, signature: `0x${string}`, options?: {
|
|
984
|
-
accessList?: import("viem").AccessList;
|
|
985
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
986
|
-
chain?: import("viem").Chain | null;
|
|
987
|
-
dataSuffix?: `0x${string}`;
|
|
988
|
-
gas?: bigint;
|
|
989
|
-
gasPrice?: bigint;
|
|
990
|
-
maxFeePerGas?: bigint;
|
|
991
|
-
maxPriorityFeePerGas?: bigint;
|
|
992
|
-
nonce?: number;
|
|
993
|
-
value?: bigint;
|
|
994
|
-
}): Promise<void>;
|
|
995
|
-
/**
|
|
996
|
-
* Simulate sendMultiSigToken
|
|
997
|
-
* Returns gas estimate and result without sending transaction
|
|
998
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
999
|
-
*/
|
|
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
|
|
432
|
+
* Simulate createForwarder
|
|
1014
433
|
* Returns gas estimate and result without sending transaction
|
|
1015
434
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1016
435
|
*/
|
|
1017
|
-
|
|
436
|
+
createForwarder(options?: {
|
|
1018
437
|
accessList?: import("viem").AccessList;
|
|
1019
438
|
authorizationList?: import("viem").AuthorizationList;
|
|
1020
439
|
chain?: import("viem").Chain | null;
|
|
@@ -1025,13 +444,13 @@ export declare class WalletSimple_json {
|
|
|
1025
444
|
maxPriorityFeePerGas?: bigint;
|
|
1026
445
|
nonce?: number;
|
|
1027
446
|
value?: bigint;
|
|
1028
|
-
}): Promise
|
|
447
|
+
}): Promise<`0x${string}`>;
|
|
1029
448
|
/**
|
|
1030
|
-
* Simulate
|
|
449
|
+
* Simulate activateSafeMode
|
|
1031
450
|
* Returns gas estimate and result without sending transaction
|
|
1032
451
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1033
452
|
*/
|
|
1034
|
-
|
|
453
|
+
activateSafeMode(options?: {
|
|
1035
454
|
accessList?: import("viem").AccessList;
|
|
1036
455
|
authorizationList?: import("viem").AuthorizationList;
|
|
1037
456
|
chain?: import("viem").Chain | null;
|
|
@@ -1057,28 +476,6 @@ export declare class WalletSimple_json {
|
|
|
1057
476
|
* unwatch();
|
|
1058
477
|
*/
|
|
1059
478
|
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;
|
|
1082
479
|
/**
|
|
1083
480
|
* Watch Deposited events
|
|
1084
481
|
* @param callback Function to call when event is emitted
|