@pufferfinance/puffer-sdk 1.2.0 → 1.2.2

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.
@@ -183,7 +183,15 @@ export declare class ERC20PermitHandler {
183
183
  }, {
184
184
  readonly type: "function";
185
185
  readonly name: "eip712Domain";
186
- 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
+ */
187
195
  readonly outputs: readonly [{
188
196
  readonly name: "fields";
189
197
  readonly type: "bytes1";
@@ -579,7 +587,15 @@ export declare class ERC20PermitHandler {
579
587
  }, {
580
588
  readonly type: "function";
581
589
  readonly name: "eip712Domain";
582
- 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
+ */
583
599
  readonly outputs: readonly [{
584
600
  readonly name: "fields";
585
601
  readonly type: "bytes1";
@@ -975,7 +991,15 @@ export declare class ERC20PermitHandler {
975
991
  }, {
976
992
  readonly type: "function";
977
993
  readonly name: "eip712Domain";
978
- 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
+ */
979
1003
  readonly outputs: readonly [{
980
1004
  readonly name: "fields";
981
1005
  readonly type: "bytes1";
@@ -1371,7 +1395,15 @@ export declare class ERC20PermitHandler {
1371
1395
  }, {
1372
1396
  readonly type: "function";
1373
1397
  readonly name: "eip712Domain";
1374
- 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
+ */
1375
1407
  readonly outputs: readonly [{
1376
1408
  readonly name: "fields";
1377
1409
  readonly type: "bytes1";
@@ -1768,7 +1800,15 @@ export declare class ERC20PermitHandler {
1768
1800
  }, {
1769
1801
  readonly type: "function";
1770
1802
  readonly name: "eip712Domain";
1771
- 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
+ */
1772
1812
  readonly outputs: readonly [{
1773
1813
  readonly name: "fields";
1774
1814
  readonly type: "bytes1";
@@ -2164,7 +2204,15 @@ export declare class ERC20PermitHandler {
2164
2204
  }, {
2165
2205
  readonly type: "function";
2166
2206
  readonly name: "eip712Domain";
2167
- 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
+ */
2168
2216
  readonly outputs: readonly [{
2169
2217
  readonly name: "fields";
2170
2218
  readonly type: "bytes1";
@@ -2560,7 +2608,15 @@ export declare class ERC20PermitHandler {
2560
2608
  }, {
2561
2609
  readonly type: "function";
2562
2610
  readonly name: "eip712Domain";
2563
- 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
+ */
2564
2620
  readonly outputs: readonly [{
2565
2621
  readonly name: "fields";
2566
2622
  readonly type: "bytes1";
@@ -2956,7 +3012,15 @@ export declare class ERC20PermitHandler {
2956
3012
  }, {
2957
3013
  readonly type: "function";
2958
3014
  readonly name: "eip712Domain";
2959
- 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
+ */
2960
3024
  readonly outputs: readonly [{
2961
3025
  readonly name: "fields";
2962
3026
  readonly type: "bytes1";
@@ -3354,7 +3418,15 @@ export declare class ERC20PermitHandler {
3354
3418
  }, {
3355
3419
  readonly type: "function";
3356
3420
  readonly name: "eip712Domain";
3357
- 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
+ */
3358
3430
  readonly outputs: readonly [{
3359
3431
  readonly name: "fields";
3360
3432
  readonly type: "bytes1";
@@ -3749,7 +3821,15 @@ export declare class ERC20PermitHandler {
3749
3821
  }, {
3750
3822
  readonly type: "function";
3751
3823
  readonly name: "eip712Domain";
3752
- 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
+ */
3753
3833
  readonly outputs: readonly [{
3754
3834
  readonly name: "fields";
3755
3835
  readonly type: "bytes1";
@@ -4145,7 +4225,15 @@ export declare class ERC20PermitHandler {
4145
4225
  }, {
4146
4226
  readonly type: "function";
4147
4227
  readonly name: "eip712Domain";
4148
- 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
+ */
4149
4237
  readonly outputs: readonly [{
4150
4238
  readonly name: "fields";
4151
4239
  readonly type: "bytes1";
@@ -4540,7 +4628,15 @@ export declare class ERC20PermitHandler {
4540
4628
  }, {
4541
4629
  readonly type: "function";
4542
4630
  readonly name: "eip712Domain";
4543
- 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
+ */
4544
4640
  readonly outputs: readonly [{
4545
4641
  readonly name: "fields";
4546
4642
  readonly type: "bytes1";
@@ -4936,7 +5032,15 @@ export declare class ERC20PermitHandler {
4936
5032
  }, {
4937
5033
  readonly type: "function";
4938
5034
  readonly name: "eip712Domain";
4939
- 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
+ */
4940
5044
  readonly outputs: readonly [{
4941
5045
  readonly name: "fields";
4942
5046
  readonly type: "bytes1";
@@ -5331,7 +5435,15 @@ export declare class ERC20PermitHandler {
5331
5435
  }, {
5332
5436
  readonly type: "function";
5333
5437
  readonly name: "eip712Domain";
5334
- 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
+ */
5335
5447
  readonly outputs: readonly [{
5336
5448
  readonly name: "fields";
5337
5449
  readonly type: "bytes1";
@@ -5727,7 +5839,15 @@ export declare class ERC20PermitHandler {
5727
5839
  }, {
5728
5840
  readonly type: "function";
5729
5841
  readonly name: "eip712Domain";
5730
- 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
+ */
5731
5851
  readonly outputs: readonly [{
5732
5852
  readonly name: "fields";
5733
5853
  readonly type: "bytes1";
@@ -6122,7 +6242,15 @@ export declare class ERC20PermitHandler {
6122
6242
  }, {
6123
6243
  readonly type: "function";
6124
6244
  readonly name: "eip712Domain";
6125
- 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
+ */
6126
6254
  readonly outputs: readonly [{
6127
6255
  readonly name: "fields";
6128
6256
  readonly type: "bytes1";
@@ -6537,7 +6665,15 @@ export declare class ERC20PermitHandler {
6537
6665
  }, {
6538
6666
  readonly type: "function";
6539
6667
  readonly name: "eip712Domain";
6540
- 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
+ */
6541
6677
  readonly outputs: readonly [{
6542
6678
  readonly name: "fields";
6543
6679
  readonly type: "bytes1";
@@ -6938,7 +7074,15 @@ export declare class ERC20PermitHandler {
6938
7074
  }, {
6939
7075
  readonly type: "function";
6940
7076
  readonly name: "eip712Domain";
6941
- 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
+ */
6942
7086
  readonly outputs: readonly [{
6943
7087
  readonly name: "fields";
6944
7088
  readonly type: "bytes1";
@@ -7351,7 +7495,15 @@ export declare class ERC20PermitHandler {
7351
7495
  }, {
7352
7496
  readonly type: "function";
7353
7497
  readonly name: "eip712Domain";
7354
- 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
+ */
7355
7507
  readonly outputs: readonly [{
7356
7508
  readonly name: "fields";
7357
7509
  readonly type: "bytes1";
@@ -7757,7 +7909,15 @@ export declare class ERC20PermitHandler {
7757
7909
  }, {
7758
7910
  readonly type: "function";
7759
7911
  readonly name: "eip712Domain";
7760
- 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
+ */
7761
7921
  readonly outputs: readonly [{
7762
7922
  readonly name: "fields";
7763
7923
  readonly type: "bytes1";
@@ -8158,7 +8318,15 @@ export declare class ERC20PermitHandler {
8158
8318
  }, {
8159
8319
  readonly type: "function";
8160
8320
  readonly name: "eip712Domain";
8161
- 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
+ */
8162
8330
  readonly outputs: readonly [{
8163
8331
  readonly name: "fields";
8164
8332
  readonly type: "bytes1";
@@ -8562,7 +8730,15 @@ export declare class ERC20PermitHandler {
8562
8730
  }, {
8563
8731
  readonly type: "function";
8564
8732
  readonly name: "eip712Domain";
8565
- 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
+ */
8566
8742
  readonly outputs: readonly [{
8567
8743
  readonly name: "fields";
8568
8744
  readonly type: "bytes1";
@@ -8969,7 +9145,15 @@ export declare class ERC20PermitHandler {
8969
9145
  }, {
8970
9146
  readonly type: "function";
8971
9147
  readonly name: "eip712Domain";
8972
- 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
+ */
8973
9157
  readonly outputs: readonly [{
8974
9158
  readonly name: "fields";
8975
9159
  readonly type: "bytes1";
@@ -9373,7 +9557,15 @@ export declare class ERC20PermitHandler {
9373
9557
  }, {
9374
9558
  readonly type: "function";
9375
9559
  readonly name: "eip712Domain";
9376
- 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
+ */
9377
9569
  readonly outputs: readonly [{
9378
9570
  readonly name: "fields";
9379
9571
  readonly type: "bytes1";
@@ -9780,7 +9972,15 @@ export declare class ERC20PermitHandler {
9780
9972
  }, {
9781
9973
  readonly type: "function";
9782
9974
  readonly name: "eip712Domain";
9783
- 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
+ */
9784
9984
  readonly outputs: readonly [{
9785
9985
  readonly name: "fields";
9786
9986
  readonly type: "bytes1";
@@ -10180,7 +10380,15 @@ export declare class ERC20PermitHandler {
10180
10380
  }, {
10181
10381
  readonly type: "function";
10182
10382
  readonly name: "eip712Domain";
10183
- 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
+ */
10184
10392
  readonly outputs: readonly [{
10185
10393
  readonly name: "fields";
10186
10394
  readonly type: "bytes1";
@@ -10575,7 +10783,15 @@ export declare class ERC20PermitHandler {
10575
10783
  }, {
10576
10784
  readonly type: "function";
10577
10785
  readonly name: "eip712Domain";
10578
- 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
+ */
10579
10795
  readonly outputs: readonly [{
10580
10796
  readonly name: "fields";
10581
10797
  readonly type: "bytes1";
@@ -10971,7 +11187,15 @@ export declare class ERC20PermitHandler {
10971
11187
  }, {
10972
11188
  readonly type: "function";
10973
11189
  readonly name: "eip712Domain";
10974
- 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
+ */
10975
11199
  readonly outputs: readonly [{
10976
11200
  readonly name: "fields";
10977
11201
  readonly type: "bytes1";
@@ -11366,7 +11590,15 @@ export declare class ERC20PermitHandler {
11366
11590
  }, {
11367
11591
  readonly type: "function";
11368
11592
  readonly name: "eip712Domain";
11369
- 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
+ */
11370
11602
  readonly outputs: readonly [{
11371
11603
  readonly name: "fields";
11372
11604
  readonly type: "bytes1";
@@ -11762,7 +11994,15 @@ export declare class ERC20PermitHandler {
11762
11994
  }, {
11763
11995
  readonly type: "function";
11764
11996
  readonly name: "eip712Domain";
11765
- 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
+ */
11766
12006
  readonly outputs: readonly [{
11767
12007
  readonly name: "fields";
11768
12008
  readonly type: "bytes1";
@@ -12157,7 +12397,15 @@ export declare class ERC20PermitHandler {
12157
12397
  }, {
12158
12398
  readonly type: "function";
12159
12399
  readonly name: "eip712Domain";
12160
- 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
+ */
12161
12409
  readonly outputs: readonly [{
12162
12410
  readonly name: "fields";
12163
12411
  readonly type: "bytes1";
@@ -12553,7 +12801,15 @@ export declare class ERC20PermitHandler {
12553
12801
  }, {
12554
12802
  readonly type: "function";
12555
12803
  readonly name: "eip712Domain";
12556
- 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
+ */
12557
12813
  readonly outputs: readonly [{
12558
12814
  readonly name: "fields";
12559
12815
  readonly type: "bytes1";
@@ -12948,7 +13204,15 @@ export declare class ERC20PermitHandler {
12948
13204
  }, {
12949
13205
  readonly type: "function";
12950
13206
  readonly name: "eip712Domain";
12951
- 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
+ */
12952
13216
  readonly outputs: readonly [{
12953
13217
  readonly name: "fields";
12954
13218
  readonly type: "bytes1";
@@ -13346,7 +13610,15 @@ export declare class ERC20PermitHandler {
13346
13610
  }, {
13347
13611
  readonly type: "function";
13348
13612
  readonly name: "eip712Domain";
13349
- 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
+ */
13350
13622
  readonly outputs: readonly [{
13351
13623
  readonly name: "fields";
13352
13624
  readonly type: "bytes1";
@@ -13674,7 +13946,7 @@ export declare class ERC20PermitHandler {
13674
13946
  * Process and get permit signature for the given token to perform
13675
13947
  * transactions through the `PufferDepositor` contract.
13676
13948
  *
13677
- * @param ownerAddress Address of the token awner.
13949
+ * @param ownerAddress Address of the token owner.
13678
13950
  * @param spenderAddress Address of the spender who needs the permit.
13679
13951
  * @param value Value of the transaction.
13680
13952
  * @returns Permit signature in the form `{ r, s, v?, yParity }`.