@pufferfinance/puffer-sdk 1.2.1 → 1.3.0

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.
@@ -1,6 +1,6 @@
1
1
  import { WalletClient, PublicClient, Address } from 'viem';
2
2
  import { Chain, ViemChain } from '../../chains/constants';
3
- import { Token } from '../tokens';
3
+ import { AnyToken } from '../tokens';
4
4
 
5
5
  /**
6
6
  * Handler for performing operations for and with ERC20Permit tokens.
@@ -27,7 +27,7 @@ export declare class ERC20PermitHandler {
27
27
  * @param token Token to use for the handler.
28
28
  * @returns The handler.
29
29
  */
30
- withToken(token: Token): this;
30
+ withToken(token: AnyToken): this;
31
31
  /**
32
32
  * Get the contract. This is a method because the typings are complex
33
33
  * and lost when trying to make it a member.
@@ -153,12 +153,6 @@ export declare class ERC20PermitHandler {
153
153
  readonly outputs: readonly [{
154
154
  readonly name: "";
155
155
  readonly type: "bool";
156
- /**
157
- * Set the token to use for executing transactions on the contract.
158
- *
159
- * @param token Token to use for the handler.
160
- * @returns The handler.
161
- */
162
156
  readonly internalType: "bool";
163
157
  }];
164
158
  readonly stateMutability: "nonpayable";
@@ -189,7 +183,15 @@ export declare class ERC20PermitHandler {
189
183
  }, {
190
184
  readonly type: "function";
191
185
  readonly name: "eip712Domain";
192
- readonly inputs: readonly [];
186
+ readonly inputs: readonly []; /**
187
+ * Process and get permit signature for the given token to perform
188
+ * transactions through the `PufferDepositor` contract.
189
+ *
190
+ * @param ownerAddress Address of the token owner.
191
+ * @param spenderAddress Address of the spender who needs the permit.
192
+ * @param value Value of the transaction.
193
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
194
+ */
193
195
  readonly outputs: readonly [{
194
196
  readonly name: "fields";
195
197
  readonly type: "bytes1";
@@ -555,12 +557,6 @@ export declare class ERC20PermitHandler {
555
557
  readonly outputs: readonly [{
556
558
  readonly name: "";
557
559
  readonly type: "bool";
558
- /**
559
- * Set the token to use for executing transactions on the contract.
560
- *
561
- * @param token Token to use for the handler.
562
- * @returns The handler.
563
- */
564
560
  readonly internalType: "bool";
565
561
  }];
566
562
  readonly stateMutability: "nonpayable";
@@ -591,7 +587,15 @@ export declare class ERC20PermitHandler {
591
587
  }, {
592
588
  readonly type: "function";
593
589
  readonly name: "eip712Domain";
594
- readonly inputs: readonly [];
590
+ readonly inputs: readonly []; /**
591
+ * Process and get permit signature for the given token to perform
592
+ * transactions through the `PufferDepositor` contract.
593
+ *
594
+ * @param ownerAddress Address of the token owner.
595
+ * @param spenderAddress Address of the spender who needs the permit.
596
+ * @param value Value of the transaction.
597
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
598
+ */
595
599
  readonly outputs: readonly [{
596
600
  readonly name: "fields";
597
601
  readonly type: "bytes1";
@@ -957,12 +961,6 @@ export declare class ERC20PermitHandler {
957
961
  readonly outputs: readonly [{
958
962
  readonly name: "";
959
963
  readonly type: "bool";
960
- /**
961
- * Set the token to use for executing transactions on the contract.
962
- *
963
- * @param token Token to use for the handler.
964
- * @returns The handler.
965
- */
966
964
  readonly internalType: "bool";
967
965
  }];
968
966
  readonly stateMutability: "nonpayable";
@@ -993,7 +991,15 @@ export declare class ERC20PermitHandler {
993
991
  }, {
994
992
  readonly type: "function";
995
993
  readonly name: "eip712Domain";
996
- readonly inputs: readonly [];
994
+ readonly inputs: readonly []; /**
995
+ * Process and get permit signature for the given token to perform
996
+ * transactions through the `PufferDepositor` contract.
997
+ *
998
+ * @param ownerAddress Address of the token owner.
999
+ * @param spenderAddress Address of the spender who needs the permit.
1000
+ * @param value Value of the transaction.
1001
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
1002
+ */
997
1003
  readonly outputs: readonly [{
998
1004
  readonly name: "fields";
999
1005
  readonly type: "bytes1";
@@ -1359,12 +1365,6 @@ export declare class ERC20PermitHandler {
1359
1365
  readonly outputs: readonly [{
1360
1366
  readonly name: "";
1361
1367
  readonly type: "bool";
1362
- /**
1363
- * Set the token to use for executing transactions on the contract.
1364
- *
1365
- * @param token Token to use for the handler.
1366
- * @returns The handler.
1367
- */
1368
1368
  readonly internalType: "bool";
1369
1369
  }];
1370
1370
  readonly stateMutability: "nonpayable";
@@ -1395,7 +1395,15 @@ export declare class ERC20PermitHandler {
1395
1395
  }, {
1396
1396
  readonly type: "function";
1397
1397
  readonly name: "eip712Domain";
1398
- readonly inputs: readonly [];
1398
+ readonly inputs: readonly []; /**
1399
+ * Process and get permit signature for the given token to perform
1400
+ * transactions through the `PufferDepositor` contract.
1401
+ *
1402
+ * @param ownerAddress Address of the token owner.
1403
+ * @param spenderAddress Address of the spender who needs the permit.
1404
+ * @param value Value of the transaction.
1405
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
1406
+ */
1399
1407
  readonly outputs: readonly [{
1400
1408
  readonly name: "fields";
1401
1409
  readonly type: "bytes1";
@@ -1762,12 +1770,6 @@ export declare class ERC20PermitHandler {
1762
1770
  readonly outputs: readonly [{
1763
1771
  readonly name: "";
1764
1772
  readonly type: "bool";
1765
- /**
1766
- * Set the token to use for executing transactions on the contract.
1767
- *
1768
- * @param token Token to use for the handler.
1769
- * @returns The handler.
1770
- */
1771
1773
  readonly internalType: "bool";
1772
1774
  }];
1773
1775
  readonly stateMutability: "nonpayable";
@@ -1798,7 +1800,15 @@ export declare class ERC20PermitHandler {
1798
1800
  }, {
1799
1801
  readonly type: "function";
1800
1802
  readonly name: "eip712Domain";
1801
- readonly inputs: readonly [];
1803
+ readonly inputs: readonly []; /**
1804
+ * Process and get permit signature for the given token to perform
1805
+ * transactions through the `PufferDepositor` contract.
1806
+ *
1807
+ * @param ownerAddress Address of the token owner.
1808
+ * @param spenderAddress Address of the spender who needs the permit.
1809
+ * @param value Value of the transaction.
1810
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
1811
+ */
1802
1812
  readonly outputs: readonly [{
1803
1813
  readonly name: "fields";
1804
1814
  readonly type: "bytes1";
@@ -2164,12 +2174,6 @@ export declare class ERC20PermitHandler {
2164
2174
  readonly outputs: readonly [{
2165
2175
  readonly name: "";
2166
2176
  readonly type: "bool";
2167
- /**
2168
- * Set the token to use for executing transactions on the contract.
2169
- *
2170
- * @param token Token to use for the handler.
2171
- * @returns The handler.
2172
- */
2173
2177
  readonly internalType: "bool";
2174
2178
  }];
2175
2179
  readonly stateMutability: "nonpayable";
@@ -2200,7 +2204,15 @@ export declare class ERC20PermitHandler {
2200
2204
  }, {
2201
2205
  readonly type: "function";
2202
2206
  readonly name: "eip712Domain";
2203
- readonly inputs: readonly [];
2207
+ readonly inputs: readonly []; /**
2208
+ * Process and get permit signature for the given token to perform
2209
+ * transactions through the `PufferDepositor` contract.
2210
+ *
2211
+ * @param ownerAddress Address of the token owner.
2212
+ * @param spenderAddress Address of the spender who needs the permit.
2213
+ * @param value Value of the transaction.
2214
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
2215
+ */
2204
2216
  readonly outputs: readonly [{
2205
2217
  readonly name: "fields";
2206
2218
  readonly type: "bytes1";
@@ -2566,12 +2578,6 @@ export declare class ERC20PermitHandler {
2566
2578
  readonly outputs: readonly [{
2567
2579
  readonly name: "";
2568
2580
  readonly type: "bool";
2569
- /**
2570
- * Set the token to use for executing transactions on the contract.
2571
- *
2572
- * @param token Token to use for the handler.
2573
- * @returns The handler.
2574
- */
2575
2581
  readonly internalType: "bool";
2576
2582
  }];
2577
2583
  readonly stateMutability: "nonpayable";
@@ -2602,7 +2608,15 @@ export declare class ERC20PermitHandler {
2602
2608
  }, {
2603
2609
  readonly type: "function";
2604
2610
  readonly name: "eip712Domain";
2605
- readonly inputs: readonly [];
2611
+ readonly inputs: readonly []; /**
2612
+ * Process and get permit signature for the given token to perform
2613
+ * transactions through the `PufferDepositor` contract.
2614
+ *
2615
+ * @param ownerAddress Address of the token owner.
2616
+ * @param spenderAddress Address of the spender who needs the permit.
2617
+ * @param value Value of the transaction.
2618
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
2619
+ */
2606
2620
  readonly outputs: readonly [{
2607
2621
  readonly name: "fields";
2608
2622
  readonly type: "bytes1";
@@ -2968,12 +2982,6 @@ export declare class ERC20PermitHandler {
2968
2982
  readonly outputs: readonly [{
2969
2983
  readonly name: "";
2970
2984
  readonly type: "bool";
2971
- /**
2972
- * Set the token to use for executing transactions on the contract.
2973
- *
2974
- * @param token Token to use for the handler.
2975
- * @returns The handler.
2976
- */
2977
2985
  readonly internalType: "bool";
2978
2986
  }];
2979
2987
  readonly stateMutability: "nonpayable";
@@ -3004,7 +3012,15 @@ export declare class ERC20PermitHandler {
3004
3012
  }, {
3005
3013
  readonly type: "function";
3006
3014
  readonly name: "eip712Domain";
3007
- readonly inputs: readonly [];
3015
+ readonly inputs: readonly []; /**
3016
+ * Process and get permit signature for the given token to perform
3017
+ * transactions through the `PufferDepositor` contract.
3018
+ *
3019
+ * @param ownerAddress Address of the token owner.
3020
+ * @param spenderAddress Address of the spender who needs the permit.
3021
+ * @param value Value of the transaction.
3022
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
3023
+ */
3008
3024
  readonly outputs: readonly [{
3009
3025
  readonly name: "fields";
3010
3026
  readonly type: "bytes1";
@@ -3372,12 +3388,6 @@ export declare class ERC20PermitHandler {
3372
3388
  readonly outputs: readonly [{
3373
3389
  readonly name: "";
3374
3390
  readonly type: "bool";
3375
- /**
3376
- * Set the token to use for executing transactions on the contract.
3377
- *
3378
- * @param token Token to use for the handler.
3379
- * @returns The handler.
3380
- */
3381
3391
  readonly internalType: "bool";
3382
3392
  }];
3383
3393
  readonly stateMutability: "nonpayable";
@@ -3408,7 +3418,15 @@ export declare class ERC20PermitHandler {
3408
3418
  }, {
3409
3419
  readonly type: "function";
3410
3420
  readonly name: "eip712Domain";
3411
- readonly inputs: readonly [];
3421
+ readonly inputs: readonly []; /**
3422
+ * Process and get permit signature for the given token to perform
3423
+ * transactions through the `PufferDepositor` contract.
3424
+ *
3425
+ * @param ownerAddress Address of the token owner.
3426
+ * @param spenderAddress Address of the spender who needs the permit.
3427
+ * @param value Value of the transaction.
3428
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
3429
+ */
3412
3430
  readonly outputs: readonly [{
3413
3431
  readonly name: "fields";
3414
3432
  readonly type: "bytes1";
@@ -3773,12 +3791,6 @@ export declare class ERC20PermitHandler {
3773
3791
  readonly outputs: readonly [{
3774
3792
  readonly name: "";
3775
3793
  readonly type: "bool";
3776
- /**
3777
- * Set the token to use for executing transactions on the contract.
3778
- *
3779
- * @param token Token to use for the handler.
3780
- * @returns The handler.
3781
- */
3782
3794
  readonly internalType: "bool";
3783
3795
  }];
3784
3796
  readonly stateMutability: "nonpayable";
@@ -3809,7 +3821,15 @@ export declare class ERC20PermitHandler {
3809
3821
  }, {
3810
3822
  readonly type: "function";
3811
3823
  readonly name: "eip712Domain";
3812
- readonly inputs: readonly [];
3824
+ readonly inputs: readonly []; /**
3825
+ * Process and get permit signature for the given token to perform
3826
+ * transactions through the `PufferDepositor` contract.
3827
+ *
3828
+ * @param ownerAddress Address of the token owner.
3829
+ * @param spenderAddress Address of the spender who needs the permit.
3830
+ * @param value Value of the transaction.
3831
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
3832
+ */
3813
3833
  readonly outputs: readonly [{
3814
3834
  readonly name: "fields";
3815
3835
  readonly type: "bytes1";
@@ -4175,12 +4195,6 @@ export declare class ERC20PermitHandler {
4175
4195
  readonly outputs: readonly [{
4176
4196
  readonly name: "";
4177
4197
  readonly type: "bool";
4178
- /**
4179
- * Set the token to use for executing transactions on the contract.
4180
- *
4181
- * @param token Token to use for the handler.
4182
- * @returns The handler.
4183
- */
4184
4198
  readonly internalType: "bool";
4185
4199
  }];
4186
4200
  readonly stateMutability: "nonpayable";
@@ -4211,7 +4225,15 @@ export declare class ERC20PermitHandler {
4211
4225
  }, {
4212
4226
  readonly type: "function";
4213
4227
  readonly name: "eip712Domain";
4214
- readonly inputs: readonly [];
4228
+ readonly inputs: readonly []; /**
4229
+ * Process and get permit signature for the given token to perform
4230
+ * transactions through the `PufferDepositor` contract.
4231
+ *
4232
+ * @param ownerAddress Address of the token owner.
4233
+ * @param spenderAddress Address of the spender who needs the permit.
4234
+ * @param value Value of the transaction.
4235
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
4236
+ */
4215
4237
  readonly outputs: readonly [{
4216
4238
  readonly name: "fields";
4217
4239
  readonly type: "bytes1";
@@ -4576,12 +4598,6 @@ export declare class ERC20PermitHandler {
4576
4598
  readonly outputs: readonly [{
4577
4599
  readonly name: "";
4578
4600
  readonly type: "bool";
4579
- /**
4580
- * Set the token to use for executing transactions on the contract.
4581
- *
4582
- * @param token Token to use for the handler.
4583
- * @returns The handler.
4584
- */
4585
4601
  readonly internalType: "bool";
4586
4602
  }];
4587
4603
  readonly stateMutability: "nonpayable";
@@ -4612,7 +4628,15 @@ export declare class ERC20PermitHandler {
4612
4628
  }, {
4613
4629
  readonly type: "function";
4614
4630
  readonly name: "eip712Domain";
4615
- readonly inputs: readonly [];
4631
+ readonly inputs: readonly []; /**
4632
+ * Process and get permit signature for the given token to perform
4633
+ * transactions through the `PufferDepositor` contract.
4634
+ *
4635
+ * @param ownerAddress Address of the token owner.
4636
+ * @param spenderAddress Address of the spender who needs the permit.
4637
+ * @param value Value of the transaction.
4638
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
4639
+ */
4616
4640
  readonly outputs: readonly [{
4617
4641
  readonly name: "fields";
4618
4642
  readonly type: "bytes1";
@@ -4978,12 +5002,6 @@ export declare class ERC20PermitHandler {
4978
5002
  readonly outputs: readonly [{
4979
5003
  readonly name: "";
4980
5004
  readonly type: "bool";
4981
- /**
4982
- * Set the token to use for executing transactions on the contract.
4983
- *
4984
- * @param token Token to use for the handler.
4985
- * @returns The handler.
4986
- */
4987
5005
  readonly internalType: "bool";
4988
5006
  }];
4989
5007
  readonly stateMutability: "nonpayable";
@@ -5014,7 +5032,15 @@ export declare class ERC20PermitHandler {
5014
5032
  }, {
5015
5033
  readonly type: "function";
5016
5034
  readonly name: "eip712Domain";
5017
- readonly inputs: readonly [];
5035
+ readonly inputs: readonly []; /**
5036
+ * Process and get permit signature for the given token to perform
5037
+ * transactions through the `PufferDepositor` contract.
5038
+ *
5039
+ * @param ownerAddress Address of the token owner.
5040
+ * @param spenderAddress Address of the spender who needs the permit.
5041
+ * @param value Value of the transaction.
5042
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
5043
+ */
5018
5044
  readonly outputs: readonly [{
5019
5045
  readonly name: "fields";
5020
5046
  readonly type: "bytes1";
@@ -5379,12 +5405,6 @@ export declare class ERC20PermitHandler {
5379
5405
  readonly outputs: readonly [{
5380
5406
  readonly name: "";
5381
5407
  readonly type: "bool";
5382
- /**
5383
- * Set the token to use for executing transactions on the contract.
5384
- *
5385
- * @param token Token to use for the handler.
5386
- * @returns The handler.
5387
- */
5388
5408
  readonly internalType: "bool";
5389
5409
  }];
5390
5410
  readonly stateMutability: "nonpayable";
@@ -5415,7 +5435,15 @@ export declare class ERC20PermitHandler {
5415
5435
  }, {
5416
5436
  readonly type: "function";
5417
5437
  readonly name: "eip712Domain";
5418
- readonly inputs: readonly [];
5438
+ readonly inputs: readonly []; /**
5439
+ * Process and get permit signature for the given token to perform
5440
+ * transactions through the `PufferDepositor` contract.
5441
+ *
5442
+ * @param ownerAddress Address of the token owner.
5443
+ * @param spenderAddress Address of the spender who needs the permit.
5444
+ * @param value Value of the transaction.
5445
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
5446
+ */
5419
5447
  readonly outputs: readonly [{
5420
5448
  readonly name: "fields";
5421
5449
  readonly type: "bytes1";
@@ -5781,12 +5809,6 @@ export declare class ERC20PermitHandler {
5781
5809
  readonly outputs: readonly [{
5782
5810
  readonly name: "";
5783
5811
  readonly type: "bool";
5784
- /**
5785
- * Set the token to use for executing transactions on the contract.
5786
- *
5787
- * @param token Token to use for the handler.
5788
- * @returns The handler.
5789
- */
5790
5812
  readonly internalType: "bool";
5791
5813
  }];
5792
5814
  readonly stateMutability: "nonpayable";
@@ -5817,7 +5839,15 @@ export declare class ERC20PermitHandler {
5817
5839
  }, {
5818
5840
  readonly type: "function";
5819
5841
  readonly name: "eip712Domain";
5820
- readonly inputs: readonly [];
5842
+ readonly inputs: readonly []; /**
5843
+ * Process and get permit signature for the given token to perform
5844
+ * transactions through the `PufferDepositor` contract.
5845
+ *
5846
+ * @param ownerAddress Address of the token owner.
5847
+ * @param spenderAddress Address of the spender who needs the permit.
5848
+ * @param value Value of the transaction.
5849
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
5850
+ */
5821
5851
  readonly outputs: readonly [{
5822
5852
  readonly name: "fields";
5823
5853
  readonly type: "bytes1";
@@ -6182,12 +6212,6 @@ export declare class ERC20PermitHandler {
6182
6212
  readonly outputs: readonly [{
6183
6213
  readonly name: "";
6184
6214
  readonly type: "bool";
6185
- /**
6186
- * Set the token to use for executing transactions on the contract.
6187
- *
6188
- * @param token Token to use for the handler.
6189
- * @returns The handler.
6190
- */
6191
6215
  readonly internalType: "bool";
6192
6216
  }];
6193
6217
  readonly stateMutability: "nonpayable";
@@ -6218,7 +6242,15 @@ export declare class ERC20PermitHandler {
6218
6242
  }, {
6219
6243
  readonly type: "function";
6220
6244
  readonly name: "eip712Domain";
6221
- readonly inputs: readonly [];
6245
+ readonly inputs: readonly []; /**
6246
+ * Process and get permit signature for the given token to perform
6247
+ * transactions through the `PufferDepositor` contract.
6248
+ *
6249
+ * @param ownerAddress Address of the token owner.
6250
+ * @param spenderAddress Address of the spender who needs the permit.
6251
+ * @param value Value of the transaction.
6252
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
6253
+ */
6222
6254
  readonly outputs: readonly [{
6223
6255
  readonly name: "fields";
6224
6256
  readonly type: "bytes1";
@@ -6603,12 +6635,6 @@ export declare class ERC20PermitHandler {
6603
6635
  readonly outputs: readonly [{
6604
6636
  readonly name: "";
6605
6637
  readonly type: "bool";
6606
- /**
6607
- * Set the token to use for executing transactions on the contract.
6608
- *
6609
- * @param token Token to use for the handler.
6610
- * @returns The handler.
6611
- */
6612
6638
  readonly internalType: "bool";
6613
6639
  }];
6614
6640
  readonly stateMutability: "nonpayable";
@@ -6639,7 +6665,15 @@ export declare class ERC20PermitHandler {
6639
6665
  }, {
6640
6666
  readonly type: "function";
6641
6667
  readonly name: "eip712Domain";
6642
- readonly inputs: readonly [];
6668
+ readonly inputs: readonly []; /**
6669
+ * Process and get permit signature for the given token to perform
6670
+ * transactions through the `PufferDepositor` contract.
6671
+ *
6672
+ * @param ownerAddress Address of the token owner.
6673
+ * @param spenderAddress Address of the spender who needs the permit.
6674
+ * @param value Value of the transaction.
6675
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
6676
+ */
6643
6677
  readonly outputs: readonly [{
6644
6678
  readonly name: "fields";
6645
6679
  readonly type: "bytes1";
@@ -7010,12 +7044,6 @@ export declare class ERC20PermitHandler {
7010
7044
  readonly outputs: readonly [{
7011
7045
  readonly name: "";
7012
7046
  readonly type: "bool";
7013
- /**
7014
- * Set the token to use for executing transactions on the contract.
7015
- *
7016
- * @param token Token to use for the handler.
7017
- * @returns The handler.
7018
- */
7019
7047
  readonly internalType: "bool";
7020
7048
  }];
7021
7049
  readonly stateMutability: "nonpayable";
@@ -7046,7 +7074,15 @@ export declare class ERC20PermitHandler {
7046
7074
  }, {
7047
7075
  readonly type: "function";
7048
7076
  readonly name: "eip712Domain";
7049
- readonly inputs: readonly [];
7077
+ readonly inputs: readonly []; /**
7078
+ * Process and get permit signature for the given token to perform
7079
+ * transactions through the `PufferDepositor` contract.
7080
+ *
7081
+ * @param ownerAddress Address of the token owner.
7082
+ * @param spenderAddress Address of the spender who needs the permit.
7083
+ * @param value Value of the transaction.
7084
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
7085
+ */
7050
7086
  readonly outputs: readonly [{
7051
7087
  readonly name: "fields";
7052
7088
  readonly type: "bytes1";
@@ -7429,12 +7465,6 @@ export declare class ERC20PermitHandler {
7429
7465
  readonly outputs: readonly [{
7430
7466
  readonly name: "";
7431
7467
  readonly type: "bool";
7432
- /**
7433
- * Set the token to use for executing transactions on the contract.
7434
- *
7435
- * @param token Token to use for the handler.
7436
- * @returns The handler.
7437
- */
7438
7468
  readonly internalType: "bool";
7439
7469
  }];
7440
7470
  readonly stateMutability: "nonpayable";
@@ -7465,7 +7495,15 @@ export declare class ERC20PermitHandler {
7465
7495
  }, {
7466
7496
  readonly type: "function";
7467
7497
  readonly name: "eip712Domain";
7468
- readonly inputs: readonly [];
7498
+ readonly inputs: readonly []; /**
7499
+ * Process and get permit signature for the given token to perform
7500
+ * transactions through the `PufferDepositor` contract.
7501
+ *
7502
+ * @param ownerAddress Address of the token owner.
7503
+ * @param spenderAddress Address of the spender who needs the permit.
7504
+ * @param value Value of the transaction.
7505
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
7506
+ */
7469
7507
  readonly outputs: readonly [{
7470
7508
  readonly name: "fields";
7471
7509
  readonly type: "bytes1";
@@ -7841,12 +7879,6 @@ export declare class ERC20PermitHandler {
7841
7879
  readonly outputs: readonly [{
7842
7880
  readonly name: "";
7843
7881
  readonly type: "bool";
7844
- /**
7845
- * Set the token to use for executing transactions on the contract.
7846
- *
7847
- * @param token Token to use for the handler.
7848
- * @returns The handler.
7849
- */
7850
7882
  readonly internalType: "bool";
7851
7883
  }];
7852
7884
  readonly stateMutability: "nonpayable";
@@ -7877,7 +7909,15 @@ export declare class ERC20PermitHandler {
7877
7909
  }, {
7878
7910
  readonly type: "function";
7879
7911
  readonly name: "eip712Domain";
7880
- readonly inputs: readonly [];
7912
+ readonly inputs: readonly []; /**
7913
+ * Process and get permit signature for the given token to perform
7914
+ * transactions through the `PufferDepositor` contract.
7915
+ *
7916
+ * @param ownerAddress Address of the token owner.
7917
+ * @param spenderAddress Address of the spender who needs the permit.
7918
+ * @param value Value of the transaction.
7919
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
7920
+ */
7881
7921
  readonly outputs: readonly [{
7882
7922
  readonly name: "fields";
7883
7923
  readonly type: "bytes1";
@@ -8248,12 +8288,6 @@ export declare class ERC20PermitHandler {
8248
8288
  readonly outputs: readonly [{
8249
8289
  readonly name: "";
8250
8290
  readonly type: "bool";
8251
- /**
8252
- * Set the token to use for executing transactions on the contract.
8253
- *
8254
- * @param token Token to use for the handler.
8255
- * @returns The handler.
8256
- */
8257
8291
  readonly internalType: "bool";
8258
8292
  }];
8259
8293
  readonly stateMutability: "nonpayable";
@@ -8284,7 +8318,15 @@ export declare class ERC20PermitHandler {
8284
8318
  }, {
8285
8319
  readonly type: "function";
8286
8320
  readonly name: "eip712Domain";
8287
- readonly inputs: readonly [];
8321
+ readonly inputs: readonly []; /**
8322
+ * Process and get permit signature for the given token to perform
8323
+ * transactions through the `PufferDepositor` contract.
8324
+ *
8325
+ * @param ownerAddress Address of the token owner.
8326
+ * @param spenderAddress Address of the spender who needs the permit.
8327
+ * @param value Value of the transaction.
8328
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
8329
+ */
8288
8330
  readonly outputs: readonly [{
8289
8331
  readonly name: "fields";
8290
8332
  readonly type: "bytes1";
@@ -8658,12 +8700,6 @@ export declare class ERC20PermitHandler {
8658
8700
  readonly outputs: readonly [{
8659
8701
  readonly name: "";
8660
8702
  readonly type: "bool";
8661
- /**
8662
- * Set the token to use for executing transactions on the contract.
8663
- *
8664
- * @param token Token to use for the handler.
8665
- * @returns The handler.
8666
- */
8667
8703
  readonly internalType: "bool";
8668
8704
  }];
8669
8705
  readonly stateMutability: "nonpayable";
@@ -8694,7 +8730,15 @@ export declare class ERC20PermitHandler {
8694
8730
  }, {
8695
8731
  readonly type: "function";
8696
8732
  readonly name: "eip712Domain";
8697
- readonly inputs: readonly [];
8733
+ readonly inputs: readonly []; /**
8734
+ * Process and get permit signature for the given token to perform
8735
+ * transactions through the `PufferDepositor` contract.
8736
+ *
8737
+ * @param ownerAddress Address of the token owner.
8738
+ * @param spenderAddress Address of the spender who needs the permit.
8739
+ * @param value Value of the transaction.
8740
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
8741
+ */
8698
8742
  readonly outputs: readonly [{
8699
8743
  readonly name: "fields";
8700
8744
  readonly type: "bytes1";
@@ -9071,12 +9115,6 @@ export declare class ERC20PermitHandler {
9071
9115
  readonly outputs: readonly [{
9072
9116
  readonly name: "";
9073
9117
  readonly type: "bool";
9074
- /**
9075
- * Set the token to use for executing transactions on the contract.
9076
- *
9077
- * @param token Token to use for the handler.
9078
- * @returns The handler.
9079
- */
9080
9118
  readonly internalType: "bool";
9081
9119
  }];
9082
9120
  readonly stateMutability: "nonpayable";
@@ -9107,7 +9145,15 @@ export declare class ERC20PermitHandler {
9107
9145
  }, {
9108
9146
  readonly type: "function";
9109
9147
  readonly name: "eip712Domain";
9110
- readonly inputs: readonly [];
9148
+ readonly inputs: readonly []; /**
9149
+ * Process and get permit signature for the given token to perform
9150
+ * transactions through the `PufferDepositor` contract.
9151
+ *
9152
+ * @param ownerAddress Address of the token owner.
9153
+ * @param spenderAddress Address of the spender who needs the permit.
9154
+ * @param value Value of the transaction.
9155
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
9156
+ */
9111
9157
  readonly outputs: readonly [{
9112
9158
  readonly name: "fields";
9113
9159
  readonly type: "bytes1";
@@ -9481,12 +9527,6 @@ export declare class ERC20PermitHandler {
9481
9527
  readonly outputs: readonly [{
9482
9528
  readonly name: "";
9483
9529
  readonly type: "bool";
9484
- /**
9485
- * Set the token to use for executing transactions on the contract.
9486
- *
9487
- * @param token Token to use for the handler.
9488
- * @returns The handler.
9489
- */
9490
9530
  readonly internalType: "bool";
9491
9531
  }];
9492
9532
  readonly stateMutability: "nonpayable";
@@ -9517,7 +9557,15 @@ export declare class ERC20PermitHandler {
9517
9557
  }, {
9518
9558
  readonly type: "function";
9519
9559
  readonly name: "eip712Domain";
9520
- readonly inputs: readonly [];
9560
+ readonly inputs: readonly []; /**
9561
+ * Process and get permit signature for the given token to perform
9562
+ * transactions through the `PufferDepositor` contract.
9563
+ *
9564
+ * @param ownerAddress Address of the token owner.
9565
+ * @param spenderAddress Address of the spender who needs the permit.
9566
+ * @param value Value of the transaction.
9567
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
9568
+ */
9521
9569
  readonly outputs: readonly [{
9522
9570
  readonly name: "fields";
9523
9571
  readonly type: "bytes1";
@@ -9894,12 +9942,6 @@ export declare class ERC20PermitHandler {
9894
9942
  readonly outputs: readonly [{
9895
9943
  readonly name: "";
9896
9944
  readonly type: "bool";
9897
- /**
9898
- * Set the token to use for executing transactions on the contract.
9899
- *
9900
- * @param token Token to use for the handler.
9901
- * @returns The handler.
9902
- */
9903
9945
  readonly internalType: "bool";
9904
9946
  }];
9905
9947
  readonly stateMutability: "nonpayable";
@@ -9930,7 +9972,15 @@ export declare class ERC20PermitHandler {
9930
9972
  }, {
9931
9973
  readonly type: "function";
9932
9974
  readonly name: "eip712Domain";
9933
- readonly inputs: readonly [];
9975
+ readonly inputs: readonly []; /**
9976
+ * Process and get permit signature for the given token to perform
9977
+ * transactions through the `PufferDepositor` contract.
9978
+ *
9979
+ * @param ownerAddress Address of the token owner.
9980
+ * @param spenderAddress Address of the spender who needs the permit.
9981
+ * @param value Value of the transaction.
9982
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
9983
+ */
9934
9984
  readonly outputs: readonly [{
9935
9985
  readonly name: "fields";
9936
9986
  readonly type: "bytes1";
@@ -10300,12 +10350,6 @@ export declare class ERC20PermitHandler {
10300
10350
  readonly outputs: readonly [{
10301
10351
  readonly name: "";
10302
10352
  readonly type: "bool";
10303
- /**
10304
- * Set the token to use for executing transactions on the contract.
10305
- *
10306
- * @param token Token to use for the handler.
10307
- * @returns The handler.
10308
- */
10309
10353
  readonly internalType: "bool";
10310
10354
  }];
10311
10355
  readonly stateMutability: "nonpayable";
@@ -10336,7 +10380,15 @@ export declare class ERC20PermitHandler {
10336
10380
  }, {
10337
10381
  readonly type: "function";
10338
10382
  readonly name: "eip712Domain";
10339
- readonly inputs: readonly [];
10383
+ readonly inputs: readonly []; /**
10384
+ * Process and get permit signature for the given token to perform
10385
+ * transactions through the `PufferDepositor` contract.
10386
+ *
10387
+ * @param ownerAddress Address of the token owner.
10388
+ * @param spenderAddress Address of the spender who needs the permit.
10389
+ * @param value Value of the transaction.
10390
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
10391
+ */
10340
10392
  readonly outputs: readonly [{
10341
10393
  readonly name: "fields";
10342
10394
  readonly type: "bytes1";
@@ -10701,12 +10753,6 @@ export declare class ERC20PermitHandler {
10701
10753
  readonly outputs: readonly [{
10702
10754
  readonly name: "";
10703
10755
  readonly type: "bool";
10704
- /**
10705
- * Set the token to use for executing transactions on the contract.
10706
- *
10707
- * @param token Token to use for the handler.
10708
- * @returns The handler.
10709
- */
10710
10756
  readonly internalType: "bool";
10711
10757
  }];
10712
10758
  readonly stateMutability: "nonpayable";
@@ -10737,7 +10783,15 @@ export declare class ERC20PermitHandler {
10737
10783
  }, {
10738
10784
  readonly type: "function";
10739
10785
  readonly name: "eip712Domain";
10740
- readonly inputs: readonly [];
10786
+ readonly inputs: readonly []; /**
10787
+ * Process and get permit signature for the given token to perform
10788
+ * transactions through the `PufferDepositor` contract.
10789
+ *
10790
+ * @param ownerAddress Address of the token owner.
10791
+ * @param spenderAddress Address of the spender who needs the permit.
10792
+ * @param value Value of the transaction.
10793
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
10794
+ */
10741
10795
  readonly outputs: readonly [{
10742
10796
  readonly name: "fields";
10743
10797
  readonly type: "bytes1";
@@ -11103,12 +11157,6 @@ export declare class ERC20PermitHandler {
11103
11157
  readonly outputs: readonly [{
11104
11158
  readonly name: "";
11105
11159
  readonly type: "bool";
11106
- /**
11107
- * Set the token to use for executing transactions on the contract.
11108
- *
11109
- * @param token Token to use for the handler.
11110
- * @returns The handler.
11111
- */
11112
11160
  readonly internalType: "bool";
11113
11161
  }];
11114
11162
  readonly stateMutability: "nonpayable";
@@ -11139,7 +11187,15 @@ export declare class ERC20PermitHandler {
11139
11187
  }, {
11140
11188
  readonly type: "function";
11141
11189
  readonly name: "eip712Domain";
11142
- readonly inputs: readonly [];
11190
+ readonly inputs: readonly []; /**
11191
+ * Process and get permit signature for the given token to perform
11192
+ * transactions through the `PufferDepositor` contract.
11193
+ *
11194
+ * @param ownerAddress Address of the token owner.
11195
+ * @param spenderAddress Address of the spender who needs the permit.
11196
+ * @param value Value of the transaction.
11197
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
11198
+ */
11143
11199
  readonly outputs: readonly [{
11144
11200
  readonly name: "fields";
11145
11201
  readonly type: "bytes1";
@@ -11504,12 +11560,6 @@ export declare class ERC20PermitHandler {
11504
11560
  readonly outputs: readonly [{
11505
11561
  readonly name: "";
11506
11562
  readonly type: "bool";
11507
- /**
11508
- * Set the token to use for executing transactions on the contract.
11509
- *
11510
- * @param token Token to use for the handler.
11511
- * @returns The handler.
11512
- */
11513
11563
  readonly internalType: "bool";
11514
11564
  }];
11515
11565
  readonly stateMutability: "nonpayable";
@@ -11540,7 +11590,15 @@ export declare class ERC20PermitHandler {
11540
11590
  }, {
11541
11591
  readonly type: "function";
11542
11592
  readonly name: "eip712Domain";
11543
- readonly inputs: readonly [];
11593
+ readonly inputs: readonly []; /**
11594
+ * Process and get permit signature for the given token to perform
11595
+ * transactions through the `PufferDepositor` contract.
11596
+ *
11597
+ * @param ownerAddress Address of the token owner.
11598
+ * @param spenderAddress Address of the spender who needs the permit.
11599
+ * @param value Value of the transaction.
11600
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
11601
+ */
11544
11602
  readonly outputs: readonly [{
11545
11603
  readonly name: "fields";
11546
11604
  readonly type: "bytes1";
@@ -11906,12 +11964,6 @@ export declare class ERC20PermitHandler {
11906
11964
  readonly outputs: readonly [{
11907
11965
  readonly name: "";
11908
11966
  readonly type: "bool";
11909
- /**
11910
- * Set the token to use for executing transactions on the contract.
11911
- *
11912
- * @param token Token to use for the handler.
11913
- * @returns The handler.
11914
- */
11915
11967
  readonly internalType: "bool";
11916
11968
  }];
11917
11969
  readonly stateMutability: "nonpayable";
@@ -11942,7 +11994,15 @@ export declare class ERC20PermitHandler {
11942
11994
  }, {
11943
11995
  readonly type: "function";
11944
11996
  readonly name: "eip712Domain";
11945
- readonly inputs: readonly [];
11997
+ readonly inputs: readonly []; /**
11998
+ * Process and get permit signature for the given token to perform
11999
+ * transactions through the `PufferDepositor` contract.
12000
+ *
12001
+ * @param ownerAddress Address of the token owner.
12002
+ * @param spenderAddress Address of the spender who needs the permit.
12003
+ * @param value Value of the transaction.
12004
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
12005
+ */
11946
12006
  readonly outputs: readonly [{
11947
12007
  readonly name: "fields";
11948
12008
  readonly type: "bytes1";
@@ -12307,12 +12367,6 @@ export declare class ERC20PermitHandler {
12307
12367
  readonly outputs: readonly [{
12308
12368
  readonly name: "";
12309
12369
  readonly type: "bool";
12310
- /**
12311
- * Set the token to use for executing transactions on the contract.
12312
- *
12313
- * @param token Token to use for the handler.
12314
- * @returns The handler.
12315
- */
12316
12370
  readonly internalType: "bool";
12317
12371
  }];
12318
12372
  readonly stateMutability: "nonpayable";
@@ -12343,7 +12397,15 @@ export declare class ERC20PermitHandler {
12343
12397
  }, {
12344
12398
  readonly type: "function";
12345
12399
  readonly name: "eip712Domain";
12346
- readonly inputs: readonly [];
12400
+ readonly inputs: readonly []; /**
12401
+ * Process and get permit signature for the given token to perform
12402
+ * transactions through the `PufferDepositor` contract.
12403
+ *
12404
+ * @param ownerAddress Address of the token owner.
12405
+ * @param spenderAddress Address of the spender who needs the permit.
12406
+ * @param value Value of the transaction.
12407
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
12408
+ */
12347
12409
  readonly outputs: readonly [{
12348
12410
  readonly name: "fields";
12349
12411
  readonly type: "bytes1";
@@ -12709,12 +12771,6 @@ export declare class ERC20PermitHandler {
12709
12771
  readonly outputs: readonly [{
12710
12772
  readonly name: "";
12711
12773
  readonly type: "bool";
12712
- /**
12713
- * Set the token to use for executing transactions on the contract.
12714
- *
12715
- * @param token Token to use for the handler.
12716
- * @returns The handler.
12717
- */
12718
12774
  readonly internalType: "bool";
12719
12775
  }];
12720
12776
  readonly stateMutability: "nonpayable";
@@ -12745,7 +12801,15 @@ export declare class ERC20PermitHandler {
12745
12801
  }, {
12746
12802
  readonly type: "function";
12747
12803
  readonly name: "eip712Domain";
12748
- readonly inputs: readonly [];
12804
+ readonly inputs: readonly []; /**
12805
+ * Process and get permit signature for the given token to perform
12806
+ * transactions through the `PufferDepositor` contract.
12807
+ *
12808
+ * @param ownerAddress Address of the token owner.
12809
+ * @param spenderAddress Address of the spender who needs the permit.
12810
+ * @param value Value of the transaction.
12811
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
12812
+ */
12749
12813
  readonly outputs: readonly [{
12750
12814
  readonly name: "fields";
12751
12815
  readonly type: "bytes1";
@@ -13110,12 +13174,6 @@ export declare class ERC20PermitHandler {
13110
13174
  readonly outputs: readonly [{
13111
13175
  readonly name: "";
13112
13176
  readonly type: "bool";
13113
- /**
13114
- * Set the token to use for executing transactions on the contract.
13115
- *
13116
- * @param token Token to use for the handler.
13117
- * @returns The handler.
13118
- */
13119
13177
  readonly internalType: "bool";
13120
13178
  }];
13121
13179
  readonly stateMutability: "nonpayable";
@@ -13146,7 +13204,15 @@ export declare class ERC20PermitHandler {
13146
13204
  }, {
13147
13205
  readonly type: "function";
13148
13206
  readonly name: "eip712Domain";
13149
- readonly inputs: readonly [];
13207
+ readonly inputs: readonly []; /**
13208
+ * Process and get permit signature for the given token to perform
13209
+ * transactions through the `PufferDepositor` contract.
13210
+ *
13211
+ * @param ownerAddress Address of the token owner.
13212
+ * @param spenderAddress Address of the spender who needs the permit.
13213
+ * @param value Value of the transaction.
13214
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
13215
+ */
13150
13216
  readonly outputs: readonly [{
13151
13217
  readonly name: "fields";
13152
13218
  readonly type: "bytes1";
@@ -13514,12 +13580,6 @@ export declare class ERC20PermitHandler {
13514
13580
  readonly outputs: readonly [{
13515
13581
  readonly name: "";
13516
13582
  readonly type: "bool";
13517
- /**
13518
- * Set the token to use for executing transactions on the contract.
13519
- *
13520
- * @param token Token to use for the handler.
13521
- * @returns The handler.
13522
- */
13523
13583
  readonly internalType: "bool";
13524
13584
  }];
13525
13585
  readonly stateMutability: "nonpayable";
@@ -13550,7 +13610,15 @@ export declare class ERC20PermitHandler {
13550
13610
  }, {
13551
13611
  readonly type: "function";
13552
13612
  readonly name: "eip712Domain";
13553
- readonly inputs: readonly [];
13613
+ readonly inputs: readonly []; /**
13614
+ * Process and get permit signature for the given token to perform
13615
+ * transactions through the `PufferDepositor` contract.
13616
+ *
13617
+ * @param ownerAddress Address of the token owner.
13618
+ * @param spenderAddress Address of the spender who needs the permit.
13619
+ * @param value Value of the transaction.
13620
+ * @returns Permit signature in the form `{ r, s, v?, yParity }`.
13621
+ */
13554
13622
  readonly outputs: readonly [{
13555
13623
  readonly name: "fields";
13556
13624
  readonly type: "bytes1";
@@ -13878,7 +13946,7 @@ export declare class ERC20PermitHandler {
13878
13946
  * Process and get permit signature for the given token to perform
13879
13947
  * transactions through the `PufferDepositor` contract.
13880
13948
  *
13881
- * @param ownerAddress Address of the token awner.
13949
+ * @param ownerAddress Address of the token owner.
13882
13950
  * @param spenderAddress Address of the spender who needs the permit.
13883
13951
  * @param value Value of the transaction.
13884
13952
  * @returns Permit signature in the form `{ r, s, v?, yParity }`.