@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.
@@ -150,75 +150,6 @@ exports.WalletSimple_jsonAbi = [
150
150
  "stateMutability": "nonpayable",
151
151
  "type": "function"
152
152
  },
153
- {
154
- "inputs": [
155
- {
156
- "internalType": "address payable",
157
- "name": "forwarderAddress",
158
- "type": "address"
159
- },
160
- {
161
- "internalType": "address",
162
- "name": "tokenContractAddress",
163
- "type": "address"
164
- },
165
- {
166
- "internalType": "uint256[]",
167
- "name": "tokenIds",
168
- "type": "uint256[]"
169
- }
170
- ],
171
- "name": "batchFlushERC1155ForwarderTokens",
172
- "outputs": [],
173
- "stateMutability": "nonpayable",
174
- "type": "function"
175
- },
176
- {
177
- "inputs": [
178
- {
179
- "internalType": "address payable",
180
- "name": "forwarderAddress",
181
- "type": "address"
182
- },
183
- {
184
- "internalType": "address",
185
- "name": "tokenContractAddress",
186
- "type": "address"
187
- },
188
- {
189
- "internalType": "uint256",
190
- "name": "tokenId",
191
- "type": "uint256"
192
- }
193
- ],
194
- "name": "flushERC1155ForwarderTokens",
195
- "outputs": [],
196
- "stateMutability": "nonpayable",
197
- "type": "function"
198
- },
199
- {
200
- "inputs": [
201
- {
202
- "internalType": "address payable",
203
- "name": "forwarderAddress",
204
- "type": "address"
205
- },
206
- {
207
- "internalType": "address",
208
- "name": "tokenContractAddress",
209
- "type": "address"
210
- },
211
- {
212
- "internalType": "uint256",
213
- "name": "tokenId",
214
- "type": "uint256"
215
- }
216
- ],
217
- "name": "flushERC721ForwarderTokens",
218
- "outputs": [],
219
- "stateMutability": "nonpayable",
220
- "type": "function"
221
- },
222
153
  {
223
154
  "inputs": [
224
155
  {
@@ -295,118 +226,6 @@ exports.WalletSimple_jsonAbi = [
295
226
  "stateMutability": "view",
296
227
  "type": "function"
297
228
  },
298
- {
299
- "inputs": [
300
- {
301
- "internalType": "address",
302
- "name": "_operator",
303
- "type": "address"
304
- },
305
- {
306
- "internalType": "address",
307
- "name": "_from",
308
- "type": "address"
309
- },
310
- {
311
- "internalType": "uint256[]",
312
- "name": "ids",
313
- "type": "uint256[]"
314
- },
315
- {
316
- "internalType": "uint256[]",
317
- "name": "values",
318
- "type": "uint256[]"
319
- },
320
- {
321
- "internalType": "bytes",
322
- "name": "data",
323
- "type": "bytes"
324
- }
325
- ],
326
- "name": "onERC1155BatchReceived",
327
- "outputs": [
328
- {
329
- "internalType": "bytes4",
330
- "name": "",
331
- "type": "bytes4"
332
- }
333
- ],
334
- "stateMutability": "nonpayable",
335
- "type": "function"
336
- },
337
- {
338
- "inputs": [
339
- {
340
- "internalType": "address",
341
- "name": "_operator",
342
- "type": "address"
343
- },
344
- {
345
- "internalType": "address",
346
- "name": "_from",
347
- "type": "address"
348
- },
349
- {
350
- "internalType": "uint256",
351
- "name": "id",
352
- "type": "uint256"
353
- },
354
- {
355
- "internalType": "uint256",
356
- "name": "value",
357
- "type": "uint256"
358
- },
359
- {
360
- "internalType": "bytes",
361
- "name": "data",
362
- "type": "bytes"
363
- }
364
- ],
365
- "name": "onERC1155Received",
366
- "outputs": [
367
- {
368
- "internalType": "bytes4",
369
- "name": "",
370
- "type": "bytes4"
371
- }
372
- ],
373
- "stateMutability": "nonpayable",
374
- "type": "function"
375
- },
376
- {
377
- "inputs": [
378
- {
379
- "internalType": "address",
380
- "name": "_operator",
381
- "type": "address"
382
- },
383
- {
384
- "internalType": "address",
385
- "name": "_from",
386
- "type": "address"
387
- },
388
- {
389
- "internalType": "uint256",
390
- "name": "_tokenId",
391
- "type": "uint256"
392
- },
393
- {
394
- "internalType": "bytes",
395
- "name": "_data",
396
- "type": "bytes"
397
- }
398
- ],
399
- "name": "onERC721Received",
400
- "outputs": [
401
- {
402
- "internalType": "bytes4",
403
- "name": "",
404
- "type": "bytes4"
405
- }
406
- ],
407
- "stateMutability": "nonpayable",
408
- "type": "function"
409
- },
410
229
  {
411
230
  "inputs": [],
412
231
  "name": "safeMode",
@@ -529,42 +348,6 @@ exports.WalletSimple_jsonAbi = [
529
348
  "stateMutability": "nonpayable",
530
349
  "type": "function"
531
350
  },
532
- {
533
- "inputs": [
534
- {
535
- "internalType": "address",
536
- "name": "forwarderAddress",
537
- "type": "address"
538
- },
539
- {
540
- "internalType": "bool",
541
- "name": "autoFlush",
542
- "type": "bool"
543
- }
544
- ],
545
- "name": "setAutoFlush1155",
546
- "outputs": [],
547
- "stateMutability": "nonpayable",
548
- "type": "function"
549
- },
550
- {
551
- "inputs": [
552
- {
553
- "internalType": "address",
554
- "name": "forwarderAddress",
555
- "type": "address"
556
- },
557
- {
558
- "internalType": "bool",
559
- "name": "autoFlush",
560
- "type": "bool"
561
- }
562
- ],
563
- "name": "setAutoFlush721",
564
- "outputs": [],
565
- "stateMutability": "nonpayable",
566
- "type": "function"
567
- },
568
351
  {
569
352
  "inputs": [
570
353
  {
@@ -584,25 +367,6 @@ exports.WalletSimple_jsonAbi = [
584
367
  "stateMutability": "view",
585
368
  "type": "function"
586
369
  },
587
- {
588
- "inputs": [
589
- {
590
- "internalType": "bytes4",
591
- "name": "interfaceId",
592
- "type": "bytes4"
593
- }
594
- ],
595
- "name": "supportsInterface",
596
- "outputs": [
597
- {
598
- "internalType": "bool",
599
- "name": "",
600
- "type": "bool"
601
- }
602
- ],
603
- "stateMutability": "view",
604
- "type": "function"
605
- },
606
370
  {
607
371
  "stateMutability": "payable",
608
372
  "type": "receive"
@@ -700,13 +464,6 @@ class WalletSimple_json {
700
464
  async signers(arg0) {
701
465
  return this.contract.read.signers([arg0]);
702
466
  }
703
- /**
704
- * supportsInterface
705
- * view
706
- */
707
- async supportsInterface(interfaceId) {
708
- return this.contract.read.supportsInterface([interfaceId]);
709
- }
710
467
  /**
711
468
  * activateSafeMode
712
469
  * nonpayable
@@ -718,39 +475,6 @@ class WalletSimple_json {
718
475
  }
719
476
  return this.contract.write.activateSafeMode(options);
720
477
  }
721
- /**
722
- * batchFlushERC1155ForwarderTokens
723
- * nonpayable
724
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
725
- */
726
- async batchFlushERC1155ForwarderTokens(forwarderAddress, tokenContractAddress, tokenIds, options) {
727
- if (!this.contract.write) {
728
- throw new Error('Wallet client is required for write operations');
729
- }
730
- return this.contract.write.batchFlushERC1155ForwarderTokens([forwarderAddress, tokenContractAddress, tokenIds], options);
731
- }
732
- /**
733
- * flushERC1155ForwarderTokens
734
- * nonpayable
735
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
736
- */
737
- async flushERC1155ForwarderTokens(forwarderAddress, tokenContractAddress, tokenId, options) {
738
- if (!this.contract.write) {
739
- throw new Error('Wallet client is required for write operations');
740
- }
741
- return this.contract.write.flushERC1155ForwarderTokens([forwarderAddress, tokenContractAddress, tokenId], options);
742
- }
743
- /**
744
- * flushERC721ForwarderTokens
745
- * nonpayable
746
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
747
- */
748
- async flushERC721ForwarderTokens(forwarderAddress, tokenContractAddress, tokenId, options) {
749
- if (!this.contract.write) {
750
- throw new Error('Wallet client is required for write operations');
751
- }
752
- return this.contract.write.flushERC721ForwarderTokens([forwarderAddress, tokenContractAddress, tokenId], options);
753
- }
754
478
  /**
755
479
  * flushForwarderTokens
756
480
  * nonpayable
@@ -773,39 +497,6 @@ class WalletSimple_json {
773
497
  }
774
498
  return this.contract.write.init([allowedSigners], options);
775
499
  }
776
- /**
777
- * onERC1155BatchReceived
778
- * nonpayable
779
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
780
- */
781
- async onERC1155BatchReceived(_operator, _from, ids, values, data, options) {
782
- if (!this.contract.write) {
783
- throw new Error('Wallet client is required for write operations');
784
- }
785
- return this.contract.write.onERC1155BatchReceived([_operator, _from, ids, values, data], options);
786
- }
787
- /**
788
- * onERC1155Received
789
- * nonpayable
790
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
791
- */
792
- async onERC1155Received(_operator, _from, id, value, data, options) {
793
- if (!this.contract.write) {
794
- throw new Error('Wallet client is required for write operations');
795
- }
796
- return this.contract.write.onERC1155Received([_operator, _from, id, value, data], options);
797
- }
798
- /**
799
- * onERC721Received
800
- * nonpayable
801
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
802
- */
803
- async onERC721Received(_operator, _from, _tokenId, _data, options) {
804
- if (!this.contract.write) {
805
- throw new Error('Wallet client is required for write operations');
806
- }
807
- return this.contract.write.onERC721Received([_operator, _from, _tokenId, _data], options);
808
- }
809
500
  /**
810
501
  * sendMultiSig
811
502
  * nonpayable
@@ -839,28 +530,6 @@ class WalletSimple_json {
839
530
  }
840
531
  return this.contract.write.sendMultiSigToken([toAddress, value, tokenContractAddress, expireTime, sequenceId, signature], options);
841
532
  }
842
- /**
843
- * setAutoFlush1155
844
- * nonpayable
845
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
846
- */
847
- async setAutoFlush1155(forwarderAddress, autoFlush, options) {
848
- if (!this.contract.write) {
849
- throw new Error('Wallet client is required for write operations');
850
- }
851
- return this.contract.write.setAutoFlush1155([forwarderAddress, autoFlush], options);
852
- }
853
- /**
854
- * setAutoFlush721
855
- * nonpayable
856
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
857
- */
858
- async setAutoFlush721(forwarderAddress, autoFlush, options) {
859
- if (!this.contract.write) {
860
- throw new Error('Wallet client is required for write operations');
861
- }
862
- return this.contract.write.setAutoFlush721([forwarderAddress, autoFlush], options);
863
- }
864
533
  /**
865
534
  * Simulate contract write operations (dry-run without sending transaction)
866
535
  *
@@ -883,30 +552,6 @@ class WalletSimple_json {
883
552
  async activateSafeMode(options) {
884
553
  return contract.simulate.activateSafeMode(options);
885
554
  },
886
- /**
887
- * Simulate batchFlushERC1155ForwarderTokens
888
- * Returns gas estimate and result without sending transaction
889
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
890
- */
891
- async batchFlushERC1155ForwarderTokens(forwarderAddress, tokenContractAddress, tokenIds, options) {
892
- return contract.simulate.batchFlushERC1155ForwarderTokens([forwarderAddress, tokenContractAddress, tokenIds], options);
893
- },
894
- /**
895
- * Simulate flushERC1155ForwarderTokens
896
- * Returns gas estimate and result without sending transaction
897
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
898
- */
899
- async flushERC1155ForwarderTokens(forwarderAddress, tokenContractAddress, tokenId, options) {
900
- return contract.simulate.flushERC1155ForwarderTokens([forwarderAddress, tokenContractAddress, tokenId], options);
901
- },
902
- /**
903
- * Simulate flushERC721ForwarderTokens
904
- * Returns gas estimate and result without sending transaction
905
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
906
- */
907
- async flushERC721ForwarderTokens(forwarderAddress, tokenContractAddress, tokenId, options) {
908
- return contract.simulate.flushERC721ForwarderTokens([forwarderAddress, tokenContractAddress, tokenId], options);
909
- },
910
555
  /**
911
556
  * Simulate flushForwarderTokens
912
557
  * Returns gas estimate and result without sending transaction
@@ -923,30 +568,6 @@ class WalletSimple_json {
923
568
  async init(allowedSigners, options) {
924
569
  return contract.simulate.init([allowedSigners], options);
925
570
  },
926
- /**
927
- * Simulate onERC1155BatchReceived
928
- * Returns gas estimate and result without sending transaction
929
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
930
- */
931
- async onERC1155BatchReceived(_operator, _from, ids, values, data, options) {
932
- return contract.simulate.onERC1155BatchReceived([_operator, _from, ids, values, data], options);
933
- },
934
- /**
935
- * Simulate onERC1155Received
936
- * Returns gas estimate and result without sending transaction
937
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
938
- */
939
- async onERC1155Received(_operator, _from, id, value, data, options) {
940
- return contract.simulate.onERC1155Received([_operator, _from, id, value, data], options);
941
- },
942
- /**
943
- * Simulate onERC721Received
944
- * Returns gas estimate and result without sending transaction
945
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
946
- */
947
- async onERC721Received(_operator, _from, _tokenId, _data, options) {
948
- return contract.simulate.onERC721Received([_operator, _from, _tokenId, _data], options);
949
- },
950
571
  /**
951
572
  * Simulate sendMultiSig
952
573
  * Returns gas estimate and result without sending transaction
@@ -970,22 +591,6 @@ class WalletSimple_json {
970
591
  */
971
592
  async sendMultiSigToken(toAddress, value, tokenContractAddress, expireTime, sequenceId, signature, options) {
972
593
  return contract.simulate.sendMultiSigToken([toAddress, value, tokenContractAddress, expireTime, sequenceId, signature], options);
973
- },
974
- /**
975
- * Simulate setAutoFlush1155
976
- * Returns gas estimate and result without sending transaction
977
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
978
- */
979
- async setAutoFlush1155(forwarderAddress, autoFlush, options) {
980
- return contract.simulate.setAutoFlush1155([forwarderAddress, autoFlush], options);
981
- },
982
- /**
983
- * Simulate setAutoFlush721
984
- * Returns gas estimate and result without sending transaction
985
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
986
- */
987
- async setAutoFlush721(forwarderAddress, autoFlush, options) {
988
- return contract.simulate.setAutoFlush721([forwarderAddress, autoFlush], options);
989
594
  }
990
595
  };
991
596
  }