@gitmyabi/walletsimple 1.0.18 → 1.0.19

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 CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  Auto-generated TypeScript type bindings for **WalletSimple**
4
4
 
5
- - **Build ID**: `etherscan-walletsimple-88243719-1787689373544`
5
+ - **Build ID**: `etherscan-walletsimple-c35b403d-1787777117323`
6
6
  - **Build Number**: 1
7
- - **Commit**: `65db470`
7
+ - **Commit**: `f7f8f4a`
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.18
15
+ npm install @gitmyabi/walletsimple@1.0.19
16
16
  ```
17
17
 
18
18
  ## Usage
@@ -118,60 +118,6 @@ 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";
175
121
  }, {
176
122
  readonly inputs: readonly [{
177
123
  readonly internalType: "address payable";
@@ -230,92 +176,6 @@ export declare const WalletSimple_jsonAbi: readonly [{
230
176
  }];
231
177
  readonly stateMutability: "view";
232
178
  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";
319
179
  }, {
320
180
  readonly inputs: readonly [];
321
181
  readonly name: "safeMode";
@@ -412,34 +272,6 @@ export declare const WalletSimple_jsonAbi: readonly [{
412
272
  readonly outputs: readonly [];
413
273
  readonly stateMutability: "nonpayable";
414
274
  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";
443
275
  }, {
444
276
  readonly inputs: readonly [{
445
277
  readonly internalType: "address";
@@ -454,20 +286,6 @@ export declare const WalletSimple_jsonAbi: readonly [{
454
286
  }];
455
287
  readonly stateMutability: "view";
456
288
  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
289
  }, {
472
290
  readonly stateMutability: "payable";
473
291
  readonly type: "receive";
@@ -553,11 +371,6 @@ export declare class WalletSimple_json {
553
371
  * view
554
372
  */
555
373
  signers(arg0: `0x${string}`): Promise<boolean>;
556
- /**
557
- * supportsInterface
558
- * view
559
- */
560
- supportsInterface(interfaceId: `0x${string}`): Promise<boolean>;
561
374
  /**
562
375
  * activateSafeMode
563
376
  * nonpayable
@@ -575,57 +388,6 @@ export declare class WalletSimple_json {
575
388
  nonce?: number;
576
389
  value?: bigint;
577
390
  }): 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
391
  /**
630
392
  * flushForwarderTokens
631
393
  * nonpayable
@@ -660,57 +422,6 @@ export declare class WalletSimple_json {
660
422
  nonce?: number;
661
423
  value?: bigint;
662
424
  }): 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}`>;
714
425
  /**
715
426
  * sendMultiSig
716
427
  * nonpayable
@@ -762,40 +473,6 @@ export declare class WalletSimple_json {
762
473
  nonce?: number;
763
474
  value?: bigint;
764
475
  }): 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}`>;
799
476
  /**
800
477
  * Simulate contract write operations (dry-run without sending transaction)
801
478
  *
@@ -822,57 +499,6 @@ export declare class WalletSimple_json {
822
499
  nonce?: number;
823
500
  value?: bigint;
824
501
  }): 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>;
876
502
  /**
877
503
  * Simulate flushForwarderTokens
878
504
  * Returns gas estimate and result without sending transaction
@@ -907,57 +533,6 @@ export declare class WalletSimple_json {
907
533
  nonce?: number;
908
534
  value?: bigint;
909
535
  }): 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
536
  /**
962
537
  * Simulate sendMultiSig
963
538
  * Returns gas estimate and result without sending transaction
@@ -1009,40 +584,6 @@ export declare class WalletSimple_json {
1009
584
  nonce?: number;
1010
585
  value?: bigint;
1011
586
  }): 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>;
1046
587
  };
1047
588
  /**
1048
589
  * Watch contract events