@gitmyabi/walletsimple 1.0.28 → 1.0.29
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 +459 -0
- package/contracts/WalletSimple_json.js +395 -0
- package/contracts/WalletSimple_json.ts +580 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Auto-generated TypeScript type bindings for **WalletSimple**
|
|
4
4
|
|
|
5
|
-
- **Build ID**: `etherscan-walletsimple-
|
|
5
|
+
- **Build ID**: `etherscan-walletsimple-e5dcdc13-1789128813403`
|
|
6
6
|
- **Build Number**: 1
|
|
7
|
-
- **Commit**: `
|
|
7
|
+
- **Commit**: `775a563`
|
|
8
8
|
- **Branch**: `etherscan`
|
|
9
9
|
- **Target**: `ethers-v6`
|
|
10
10
|
- **Contracts**: 1
|
|
@@ -12,7 +12,7 @@ Auto-generated TypeScript type bindings for **WalletSimple**
|
|
|
12
12
|
## Installation
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
npm install @gitmyabi/walletsimple@1.0.
|
|
15
|
+
npm install @gitmyabi/walletsimple@1.0.29
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Usage
|
|
@@ -118,6 +118,60 @@ export declare const WalletSimple_jsonAbi: readonly [{
|
|
|
118
118
|
readonly outputs: readonly [];
|
|
119
119
|
readonly stateMutability: "nonpayable";
|
|
120
120
|
readonly type: "function";
|
|
121
|
+
}, {
|
|
122
|
+
readonly inputs: readonly [{
|
|
123
|
+
readonly internalType: "address payable";
|
|
124
|
+
readonly name: "forwarderAddress";
|
|
125
|
+
readonly type: "address";
|
|
126
|
+
}, {
|
|
127
|
+
readonly internalType: "address";
|
|
128
|
+
readonly name: "tokenContractAddress";
|
|
129
|
+
readonly type: "address";
|
|
130
|
+
}, {
|
|
131
|
+
readonly internalType: "uint256[]";
|
|
132
|
+
readonly name: "tokenIds";
|
|
133
|
+
readonly type: "uint256[]";
|
|
134
|
+
}];
|
|
135
|
+
readonly name: "batchFlushERC1155ForwarderTokens";
|
|
136
|
+
readonly outputs: readonly [];
|
|
137
|
+
readonly stateMutability: "nonpayable";
|
|
138
|
+
readonly type: "function";
|
|
139
|
+
}, {
|
|
140
|
+
readonly inputs: readonly [{
|
|
141
|
+
readonly internalType: "address payable";
|
|
142
|
+
readonly name: "forwarderAddress";
|
|
143
|
+
readonly type: "address";
|
|
144
|
+
}, {
|
|
145
|
+
readonly internalType: "address";
|
|
146
|
+
readonly name: "tokenContractAddress";
|
|
147
|
+
readonly type: "address";
|
|
148
|
+
}, {
|
|
149
|
+
readonly internalType: "uint256";
|
|
150
|
+
readonly name: "tokenId";
|
|
151
|
+
readonly type: "uint256";
|
|
152
|
+
}];
|
|
153
|
+
readonly name: "flushERC1155ForwarderTokens";
|
|
154
|
+
readonly outputs: readonly [];
|
|
155
|
+
readonly stateMutability: "nonpayable";
|
|
156
|
+
readonly type: "function";
|
|
157
|
+
}, {
|
|
158
|
+
readonly inputs: readonly [{
|
|
159
|
+
readonly internalType: "address payable";
|
|
160
|
+
readonly name: "forwarderAddress";
|
|
161
|
+
readonly type: "address";
|
|
162
|
+
}, {
|
|
163
|
+
readonly internalType: "address";
|
|
164
|
+
readonly name: "tokenContractAddress";
|
|
165
|
+
readonly type: "address";
|
|
166
|
+
}, {
|
|
167
|
+
readonly internalType: "uint256";
|
|
168
|
+
readonly name: "tokenId";
|
|
169
|
+
readonly type: "uint256";
|
|
170
|
+
}];
|
|
171
|
+
readonly name: "flushERC721ForwarderTokens";
|
|
172
|
+
readonly outputs: readonly [];
|
|
173
|
+
readonly stateMutability: "nonpayable";
|
|
174
|
+
readonly type: "function";
|
|
121
175
|
}, {
|
|
122
176
|
readonly inputs: readonly [{
|
|
123
177
|
readonly internalType: "address payable";
|
|
@@ -176,6 +230,92 @@ export declare const WalletSimple_jsonAbi: readonly [{
|
|
|
176
230
|
}];
|
|
177
231
|
readonly stateMutability: "view";
|
|
178
232
|
readonly type: "function";
|
|
233
|
+
}, {
|
|
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";
|
|
256
|
+
readonly outputs: readonly [{
|
|
257
|
+
readonly internalType: "bytes4";
|
|
258
|
+
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
|
+
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";
|
|
286
|
+
readonly outputs: readonly [{
|
|
287
|
+
readonly internalType: "bytes4";
|
|
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";
|
|
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";
|
|
316
|
+
}];
|
|
317
|
+
readonly stateMutability: "nonpayable";
|
|
318
|
+
readonly type: "function";
|
|
179
319
|
}, {
|
|
180
320
|
readonly inputs: readonly [];
|
|
181
321
|
readonly name: "safeMode";
|
|
@@ -272,6 +412,34 @@ export declare const WalletSimple_jsonAbi: readonly [{
|
|
|
272
412
|
readonly outputs: readonly [];
|
|
273
413
|
readonly stateMutability: "nonpayable";
|
|
274
414
|
readonly type: "function";
|
|
415
|
+
}, {
|
|
416
|
+
readonly inputs: readonly [{
|
|
417
|
+
readonly internalType: "address";
|
|
418
|
+
readonly name: "forwarderAddress";
|
|
419
|
+
readonly type: "address";
|
|
420
|
+
}, {
|
|
421
|
+
readonly internalType: "bool";
|
|
422
|
+
readonly name: "autoFlush";
|
|
423
|
+
readonly type: "bool";
|
|
424
|
+
}];
|
|
425
|
+
readonly name: "setAutoFlush1155";
|
|
426
|
+
readonly outputs: readonly [];
|
|
427
|
+
readonly stateMutability: "nonpayable";
|
|
428
|
+
readonly type: "function";
|
|
429
|
+
}, {
|
|
430
|
+
readonly inputs: readonly [{
|
|
431
|
+
readonly internalType: "address";
|
|
432
|
+
readonly name: "forwarderAddress";
|
|
433
|
+
readonly type: "address";
|
|
434
|
+
}, {
|
|
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";
|
|
275
443
|
}, {
|
|
276
444
|
readonly inputs: readonly [{
|
|
277
445
|
readonly internalType: "address";
|
|
@@ -286,6 +454,20 @@ export declare const WalletSimple_jsonAbi: readonly [{
|
|
|
286
454
|
}];
|
|
287
455
|
readonly stateMutability: "view";
|
|
288
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";
|
|
289
471
|
}, {
|
|
290
472
|
readonly stateMutability: "payable";
|
|
291
473
|
readonly type: "receive";
|
|
@@ -371,6 +553,11 @@ export declare class WalletSimple_json {
|
|
|
371
553
|
* view
|
|
372
554
|
*/
|
|
373
555
|
signers(arg0: `0x${string}`): Promise<boolean>;
|
|
556
|
+
/**
|
|
557
|
+
* supportsInterface
|
|
558
|
+
* view
|
|
559
|
+
*/
|
|
560
|
+
supportsInterface(interfaceId: `0x${string}`): Promise<boolean>;
|
|
374
561
|
/**
|
|
375
562
|
* activateSafeMode
|
|
376
563
|
* nonpayable
|
|
@@ -388,6 +575,57 @@ export declare class WalletSimple_json {
|
|
|
388
575
|
nonce?: number;
|
|
389
576
|
value?: bigint;
|
|
390
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}`>;
|
|
391
629
|
/**
|
|
392
630
|
* flushForwarderTokens
|
|
393
631
|
* nonpayable
|
|
@@ -422,6 +660,57 @@ export declare class WalletSimple_json {
|
|
|
422
660
|
nonce?: number;
|
|
423
661
|
value?: bigint;
|
|
424
662
|
}): Promise<`0x${string}`>;
|
|
663
|
+
/**
|
|
664
|
+
* onERC1155BatchReceived
|
|
665
|
+
* nonpayable
|
|
666
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
667
|
+
*/
|
|
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}`>;
|
|
680
|
+
/**
|
|
681
|
+
* onERC1155Received
|
|
682
|
+
* nonpayable
|
|
683
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
684
|
+
*/
|
|
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}`>;
|
|
697
|
+
/**
|
|
698
|
+
* onERC721Received
|
|
699
|
+
* nonpayable
|
|
700
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
701
|
+
*/
|
|
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}`>;
|
|
425
714
|
/**
|
|
426
715
|
* sendMultiSig
|
|
427
716
|
* nonpayable
|
|
@@ -473,6 +762,40 @@ export declare class WalletSimple_json {
|
|
|
473
762
|
nonce?: number;
|
|
474
763
|
value?: bigint;
|
|
475
764
|
}): Promise<`0x${string}`>;
|
|
765
|
+
/**
|
|
766
|
+
* setAutoFlush1155
|
|
767
|
+
* nonpayable
|
|
768
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
769
|
+
*/
|
|
770
|
+
setAutoFlush1155(forwarderAddress: `0x${string}`, autoFlush: boolean, options?: {
|
|
771
|
+
accessList?: import('viem').AccessList;
|
|
772
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
773
|
+
chain?: import('viem').Chain | null;
|
|
774
|
+
dataSuffix?: `0x${string}`;
|
|
775
|
+
gas?: bigint;
|
|
776
|
+
gasPrice?: bigint;
|
|
777
|
+
maxFeePerGas?: bigint;
|
|
778
|
+
maxPriorityFeePerGas?: bigint;
|
|
779
|
+
nonce?: number;
|
|
780
|
+
value?: bigint;
|
|
781
|
+
}): Promise<`0x${string}`>;
|
|
782
|
+
/**
|
|
783
|
+
* setAutoFlush721
|
|
784
|
+
* nonpayable
|
|
785
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
786
|
+
*/
|
|
787
|
+
setAutoFlush721(forwarderAddress: `0x${string}`, autoFlush: boolean, options?: {
|
|
788
|
+
accessList?: import('viem').AccessList;
|
|
789
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
790
|
+
chain?: import('viem').Chain | null;
|
|
791
|
+
dataSuffix?: `0x${string}`;
|
|
792
|
+
gas?: bigint;
|
|
793
|
+
gasPrice?: bigint;
|
|
794
|
+
maxFeePerGas?: bigint;
|
|
795
|
+
maxPriorityFeePerGas?: bigint;
|
|
796
|
+
nonce?: number;
|
|
797
|
+
value?: bigint;
|
|
798
|
+
}): Promise<`0x${string}`>;
|
|
476
799
|
/**
|
|
477
800
|
* Simulate contract write operations (dry-run without sending transaction)
|
|
478
801
|
*
|
|
@@ -499,6 +822,57 @@ export declare class WalletSimple_json {
|
|
|
499
822
|
nonce?: number;
|
|
500
823
|
value?: bigint;
|
|
501
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?: {
|
|
865
|
+
accessList?: import("viem").AccessList;
|
|
866
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
867
|
+
chain?: import("viem").Chain | null;
|
|
868
|
+
dataSuffix?: `0x${string}`;
|
|
869
|
+
gas?: bigint;
|
|
870
|
+
gasPrice?: bigint;
|
|
871
|
+
maxFeePerGas?: bigint;
|
|
872
|
+
maxPriorityFeePerGas?: bigint;
|
|
873
|
+
nonce?: number;
|
|
874
|
+
value?: bigint;
|
|
875
|
+
}): Promise<void>;
|
|
502
876
|
/**
|
|
503
877
|
* Simulate flushForwarderTokens
|
|
504
878
|
* Returns gas estimate and result without sending transaction
|
|
@@ -533,6 +907,57 @@ export declare class WalletSimple_json {
|
|
|
533
907
|
nonce?: number;
|
|
534
908
|
value?: bigint;
|
|
535
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}`>;
|
|
536
961
|
/**
|
|
537
962
|
* Simulate sendMultiSig
|
|
538
963
|
* Returns gas estimate and result without sending transaction
|
|
@@ -584,6 +1009,40 @@ export declare class WalletSimple_json {
|
|
|
584
1009
|
nonce?: number;
|
|
585
1010
|
value?: bigint;
|
|
586
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?: {
|
|
1035
|
+
accessList?: import("viem").AccessList;
|
|
1036
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1037
|
+
chain?: import("viem").Chain | null;
|
|
1038
|
+
dataSuffix?: `0x${string}`;
|
|
1039
|
+
gas?: bigint;
|
|
1040
|
+
gasPrice?: bigint;
|
|
1041
|
+
maxFeePerGas?: bigint;
|
|
1042
|
+
maxPriorityFeePerGas?: bigint;
|
|
1043
|
+
nonce?: number;
|
|
1044
|
+
value?: bigint;
|
|
1045
|
+
}): Promise<void>;
|
|
587
1046
|
};
|
|
588
1047
|
/**
|
|
589
1048
|
* Watch contract events
|