@pufferfinance/puffer-sdk 1.2.1 → 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 { NonPufToken } from '../tokens';
3
+ import { Token } from '../tokens';
4
4
 
5
5
  /**
6
6
  * Handler for the `PufferL2Depositor` contract exposing methods to
@@ -229,6 +229,25 @@ export declare class PufferL2DepositorHandler {
229
229
  readonly type: "bool";
230
230
  }];
231
231
  readonly name: "SetIsMigratorAllowed";
232
+ /**
233
+ * Deposit the given token in exchange for the wrapped PufToken. This
234
+ * doesn't make the transaction but returns two methods namely
235
+ * `transact` and `estimate`.
236
+ *
237
+ * Note that not all token contracts support permit signatures (e.g.
238
+ * USDC). If a token's contract doesn't support permit signatures, use
239
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
240
+ *
241
+ * @param token Token to deposit.
242
+ * @param walletAddress Wallet address to take the token from.
243
+ * @param value Value in wei of the token to deposit.
244
+ * @param referralCode Referral code for the deposit.
245
+ * @returns `transact: () => Promise<Address>` - Used to make the
246
+ * transaction.
247
+ *
248
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
249
+ * transaction.
250
+ */
232
251
  readonly type: "event";
233
252
  }, {
234
253
  readonly anonymous: false;
@@ -586,6 +605,25 @@ export declare class PufferL2DepositorHandler {
586
605
  readonly type: "bool";
587
606
  }];
588
607
  readonly name: "SetIsMigratorAllowed";
608
+ /**
609
+ * Deposit the given token in exchange for the wrapped PufToken. This
610
+ * doesn't make the transaction but returns two methods namely
611
+ * `transact` and `estimate`.
612
+ *
613
+ * Note that not all token contracts support permit signatures (e.g.
614
+ * USDC). If a token's contract doesn't support permit signatures, use
615
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
616
+ *
617
+ * @param token Token to deposit.
618
+ * @param walletAddress Wallet address to take the token from.
619
+ * @param value Value in wei of the token to deposit.
620
+ * @param referralCode Referral code for the deposit.
621
+ * @returns `transact: () => Promise<Address>` - Used to make the
622
+ * transaction.
623
+ *
624
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
625
+ * transaction.
626
+ */
589
627
  readonly type: "event";
590
628
  }, {
591
629
  readonly anonymous: false;
@@ -937,6 +975,25 @@ export declare class PufferL2DepositorHandler {
937
975
  readonly type: "bool";
938
976
  }];
939
977
  readonly name: "SetIsMigratorAllowed";
978
+ /**
979
+ * Deposit the given token in exchange for the wrapped PufToken. This
980
+ * doesn't make the transaction but returns two methods namely
981
+ * `transact` and `estimate`.
982
+ *
983
+ * Note that not all token contracts support permit signatures (e.g.
984
+ * USDC). If a token's contract doesn't support permit signatures, use
985
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
986
+ *
987
+ * @param token Token to deposit.
988
+ * @param walletAddress Wallet address to take the token from.
989
+ * @param value Value in wei of the token to deposit.
990
+ * @param referralCode Referral code for the deposit.
991
+ * @returns `transact: () => Promise<Address>` - Used to make the
992
+ * transaction.
993
+ *
994
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
995
+ * transaction.
996
+ */
940
997
  readonly type: "event";
941
998
  }, {
942
999
  readonly anonymous: false;
@@ -1288,6 +1345,25 @@ export declare class PufferL2DepositorHandler {
1288
1345
  readonly type: "bool";
1289
1346
  }];
1290
1347
  readonly name: "SetIsMigratorAllowed";
1348
+ /**
1349
+ * Deposit the given token in exchange for the wrapped PufToken. This
1350
+ * doesn't make the transaction but returns two methods namely
1351
+ * `transact` and `estimate`.
1352
+ *
1353
+ * Note that not all token contracts support permit signatures (e.g.
1354
+ * USDC). If a token's contract doesn't support permit signatures, use
1355
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
1356
+ *
1357
+ * @param token Token to deposit.
1358
+ * @param walletAddress Wallet address to take the token from.
1359
+ * @param value Value in wei of the token to deposit.
1360
+ * @param referralCode Referral code for the deposit.
1361
+ * @returns `transact: () => Promise<Address>` - Used to make the
1362
+ * transaction.
1363
+ *
1364
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
1365
+ * transaction.
1366
+ */
1291
1367
  readonly type: "event";
1292
1368
  }, {
1293
1369
  readonly anonymous: false;
@@ -1639,6 +1715,25 @@ export declare class PufferL2DepositorHandler {
1639
1715
  readonly type: "bool";
1640
1716
  }];
1641
1717
  readonly name: "SetIsMigratorAllowed";
1718
+ /**
1719
+ * Deposit the given token in exchange for the wrapped PufToken. This
1720
+ * doesn't make the transaction but returns two methods namely
1721
+ * `transact` and `estimate`.
1722
+ *
1723
+ * Note that not all token contracts support permit signatures (e.g.
1724
+ * USDC). If a token's contract doesn't support permit signatures, use
1725
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
1726
+ *
1727
+ * @param token Token to deposit.
1728
+ * @param walletAddress Wallet address to take the token from.
1729
+ * @param value Value in wei of the token to deposit.
1730
+ * @param referralCode Referral code for the deposit.
1731
+ * @returns `transact: () => Promise<Address>` - Used to make the
1732
+ * transaction.
1733
+ *
1734
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
1735
+ * transaction.
1736
+ */
1642
1737
  readonly type: "event";
1643
1738
  }, {
1644
1739
  readonly anonymous: false;
@@ -1990,6 +2085,25 @@ export declare class PufferL2DepositorHandler {
1990
2085
  readonly type: "bool";
1991
2086
  }];
1992
2087
  readonly name: "SetIsMigratorAllowed";
2088
+ /**
2089
+ * Deposit the given token in exchange for the wrapped PufToken. This
2090
+ * doesn't make the transaction but returns two methods namely
2091
+ * `transact` and `estimate`.
2092
+ *
2093
+ * Note that not all token contracts support permit signatures (e.g.
2094
+ * USDC). If a token's contract doesn't support permit signatures, use
2095
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
2096
+ *
2097
+ * @param token Token to deposit.
2098
+ * @param walletAddress Wallet address to take the token from.
2099
+ * @param value Value in wei of the token to deposit.
2100
+ * @param referralCode Referral code for the deposit.
2101
+ * @returns `transact: () => Promise<Address>` - Used to make the
2102
+ * transaction.
2103
+ *
2104
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
2105
+ * transaction.
2106
+ */
1993
2107
  readonly type: "event";
1994
2108
  }, {
1995
2109
  readonly anonymous: false;
@@ -2341,6 +2455,25 @@ export declare class PufferL2DepositorHandler {
2341
2455
  readonly type: "bool";
2342
2456
  }];
2343
2457
  readonly name: "SetIsMigratorAllowed";
2458
+ /**
2459
+ * Deposit the given token in exchange for the wrapped PufToken. This
2460
+ * doesn't make the transaction but returns two methods namely
2461
+ * `transact` and `estimate`.
2462
+ *
2463
+ * Note that not all token contracts support permit signatures (e.g.
2464
+ * USDC). If a token's contract doesn't support permit signatures, use
2465
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
2466
+ *
2467
+ * @param token Token to deposit.
2468
+ * @param walletAddress Wallet address to take the token from.
2469
+ * @param value Value in wei of the token to deposit.
2470
+ * @param referralCode Referral code for the deposit.
2471
+ * @returns `transact: () => Promise<Address>` - Used to make the
2472
+ * transaction.
2473
+ *
2474
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
2475
+ * transaction.
2476
+ */
2344
2477
  readonly type: "event";
2345
2478
  }, {
2346
2479
  readonly anonymous: false;
@@ -2699,6 +2832,25 @@ export declare class PufferL2DepositorHandler {
2699
2832
  readonly type: "bool";
2700
2833
  }];
2701
2834
  readonly name: "SetIsMigratorAllowed";
2835
+ /**
2836
+ * Deposit the given token in exchange for the wrapped PufToken. This
2837
+ * doesn't make the transaction but returns two methods namely
2838
+ * `transact` and `estimate`.
2839
+ *
2840
+ * Note that not all token contracts support permit signatures (e.g.
2841
+ * USDC). If a token's contract doesn't support permit signatures, use
2842
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
2843
+ *
2844
+ * @param token Token to deposit.
2845
+ * @param walletAddress Wallet address to take the token from.
2846
+ * @param value Value in wei of the token to deposit.
2847
+ * @param referralCode Referral code for the deposit.
2848
+ * @returns `transact: () => Promise<Address>` - Used to make the
2849
+ * transaction.
2850
+ *
2851
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
2852
+ * transaction.
2853
+ */
2702
2854
  readonly type: "event";
2703
2855
  }, {
2704
2856
  readonly anonymous: false;
@@ -3056,6 +3208,25 @@ export declare class PufferL2DepositorHandler {
3056
3208
  readonly type: "bool";
3057
3209
  }];
3058
3210
  readonly name: "SetIsMigratorAllowed";
3211
+ /**
3212
+ * Deposit the given token in exchange for the wrapped PufToken. This
3213
+ * doesn't make the transaction but returns two methods namely
3214
+ * `transact` and `estimate`.
3215
+ *
3216
+ * Note that not all token contracts support permit signatures (e.g.
3217
+ * USDC). If a token's contract doesn't support permit signatures, use
3218
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
3219
+ *
3220
+ * @param token Token to deposit.
3221
+ * @param walletAddress Wallet address to take the token from.
3222
+ * @param value Value in wei of the token to deposit.
3223
+ * @param referralCode Referral code for the deposit.
3224
+ * @returns `transact: () => Promise<Address>` - Used to make the
3225
+ * transaction.
3226
+ *
3227
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
3228
+ * transaction.
3229
+ */
3059
3230
  readonly type: "event";
3060
3231
  }, {
3061
3232
  readonly anonymous: false;
@@ -3407,6 +3578,25 @@ export declare class PufferL2DepositorHandler {
3407
3578
  readonly type: "bool";
3408
3579
  }];
3409
3580
  readonly name: "SetIsMigratorAllowed";
3581
+ /**
3582
+ * Deposit the given token in exchange for the wrapped PufToken. This
3583
+ * doesn't make the transaction but returns two methods namely
3584
+ * `transact` and `estimate`.
3585
+ *
3586
+ * Note that not all token contracts support permit signatures (e.g.
3587
+ * USDC). If a token's contract doesn't support permit signatures, use
3588
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
3589
+ *
3590
+ * @param token Token to deposit.
3591
+ * @param walletAddress Wallet address to take the token from.
3592
+ * @param value Value in wei of the token to deposit.
3593
+ * @param referralCode Referral code for the deposit.
3594
+ * @returns `transact: () => Promise<Address>` - Used to make the
3595
+ * transaction.
3596
+ *
3597
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
3598
+ * transaction.
3599
+ */
3410
3600
  readonly type: "event";
3411
3601
  }, {
3412
3602
  readonly anonymous: false;
@@ -3758,6 +3948,25 @@ export declare class PufferL2DepositorHandler {
3758
3948
  readonly type: "bool";
3759
3949
  }];
3760
3950
  readonly name: "SetIsMigratorAllowed";
3951
+ /**
3952
+ * Deposit the given token in exchange for the wrapped PufToken. This
3953
+ * doesn't make the transaction but returns two methods namely
3954
+ * `transact` and `estimate`.
3955
+ *
3956
+ * Note that not all token contracts support permit signatures (e.g.
3957
+ * USDC). If a token's contract doesn't support permit signatures, use
3958
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
3959
+ *
3960
+ * @param token Token to deposit.
3961
+ * @param walletAddress Wallet address to take the token from.
3962
+ * @param value Value in wei of the token to deposit.
3963
+ * @param referralCode Referral code for the deposit.
3964
+ * @returns `transact: () => Promise<Address>` - Used to make the
3965
+ * transaction.
3966
+ *
3967
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
3968
+ * transaction.
3969
+ */
3761
3970
  readonly type: "event";
3762
3971
  }, {
3763
3972
  readonly anonymous: false;
@@ -4109,6 +4318,25 @@ export declare class PufferL2DepositorHandler {
4109
4318
  readonly type: "bool";
4110
4319
  }];
4111
4320
  readonly name: "SetIsMigratorAllowed";
4321
+ /**
4322
+ * Deposit the given token in exchange for the wrapped PufToken. This
4323
+ * doesn't make the transaction but returns two methods namely
4324
+ * `transact` and `estimate`.
4325
+ *
4326
+ * Note that not all token contracts support permit signatures (e.g.
4327
+ * USDC). If a token's contract doesn't support permit signatures, use
4328
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
4329
+ *
4330
+ * @param token Token to deposit.
4331
+ * @param walletAddress Wallet address to take the token from.
4332
+ * @param value Value in wei of the token to deposit.
4333
+ * @param referralCode Referral code for the deposit.
4334
+ * @returns `transact: () => Promise<Address>` - Used to make the
4335
+ * transaction.
4336
+ *
4337
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
4338
+ * transaction.
4339
+ */
4112
4340
  readonly type: "event";
4113
4341
  }, {
4114
4342
  readonly anonymous: false;
@@ -4460,6 +4688,25 @@ export declare class PufferL2DepositorHandler {
4460
4688
  readonly type: "bool";
4461
4689
  }];
4462
4690
  readonly name: "SetIsMigratorAllowed";
4691
+ /**
4692
+ * Deposit the given token in exchange for the wrapped PufToken. This
4693
+ * doesn't make the transaction but returns two methods namely
4694
+ * `transact` and `estimate`.
4695
+ *
4696
+ * Note that not all token contracts support permit signatures (e.g.
4697
+ * USDC). If a token's contract doesn't support permit signatures, use
4698
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
4699
+ *
4700
+ * @param token Token to deposit.
4701
+ * @param walletAddress Wallet address to take the token from.
4702
+ * @param value Value in wei of the token to deposit.
4703
+ * @param referralCode Referral code for the deposit.
4704
+ * @returns `transact: () => Promise<Address>` - Used to make the
4705
+ * transaction.
4706
+ *
4707
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
4708
+ * transaction.
4709
+ */
4463
4710
  readonly type: "event";
4464
4711
  }, {
4465
4712
  readonly anonymous: false;
@@ -4811,6 +5058,25 @@ export declare class PufferL2DepositorHandler {
4811
5058
  readonly type: "bool";
4812
5059
  }];
4813
5060
  readonly name: "SetIsMigratorAllowed";
5061
+ /**
5062
+ * Deposit the given token in exchange for the wrapped PufToken. This
5063
+ * doesn't make the transaction but returns two methods namely
5064
+ * `transact` and `estimate`.
5065
+ *
5066
+ * Note that not all token contracts support permit signatures (e.g.
5067
+ * USDC). If a token's contract doesn't support permit signatures, use
5068
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
5069
+ *
5070
+ * @param token Token to deposit.
5071
+ * @param walletAddress Wallet address to take the token from.
5072
+ * @param value Value in wei of the token to deposit.
5073
+ * @param referralCode Referral code for the deposit.
5074
+ * @returns `transact: () => Promise<Address>` - Used to make the
5075
+ * transaction.
5076
+ *
5077
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
5078
+ * transaction.
5079
+ */
4814
5080
  readonly type: "event";
4815
5081
  }, {
4816
5082
  readonly anonymous: false;
@@ -5170,6 +5436,25 @@ export declare class PufferL2DepositorHandler {
5170
5436
  readonly type: "bool";
5171
5437
  }];
5172
5438
  readonly name: "SetIsMigratorAllowed";
5439
+ /**
5440
+ * Deposit the given token in exchange for the wrapped PufToken. This
5441
+ * doesn't make the transaction but returns two methods namely
5442
+ * `transact` and `estimate`.
5443
+ *
5444
+ * Note that not all token contracts support permit signatures (e.g.
5445
+ * USDC). If a token's contract doesn't support permit signatures, use
5446
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
5447
+ *
5448
+ * @param token Token to deposit.
5449
+ * @param walletAddress Wallet address to take the token from.
5450
+ * @param value Value in wei of the token to deposit.
5451
+ * @param referralCode Referral code for the deposit.
5452
+ * @returns `transact: () => Promise<Address>` - Used to make the
5453
+ * transaction.
5454
+ *
5455
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
5456
+ * transaction.
5457
+ */
5173
5458
  readonly type: "event";
5174
5459
  }, {
5175
5460
  readonly anonymous: false;
@@ -5526,6 +5811,25 @@ export declare class PufferL2DepositorHandler {
5526
5811
  readonly type: "bool";
5527
5812
  }];
5528
5813
  readonly name: "SetIsMigratorAllowed";
5814
+ /**
5815
+ * Deposit the given token in exchange for the wrapped PufToken. This
5816
+ * doesn't make the transaction but returns two methods namely
5817
+ * `transact` and `estimate`.
5818
+ *
5819
+ * Note that not all token contracts support permit signatures (e.g.
5820
+ * USDC). If a token's contract doesn't support permit signatures, use
5821
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
5822
+ *
5823
+ * @param token Token to deposit.
5824
+ * @param walletAddress Wallet address to take the token from.
5825
+ * @param value Value in wei of the token to deposit.
5826
+ * @param referralCode Referral code for the deposit.
5827
+ * @returns `transact: () => Promise<Address>` - Used to make the
5828
+ * transaction.
5829
+ *
5830
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
5831
+ * transaction.
5832
+ */
5529
5833
  readonly type: "event";
5530
5834
  }, {
5531
5835
  readonly anonymous: false;
@@ -5883,6 +6187,25 @@ export declare class PufferL2DepositorHandler {
5883
6187
  readonly type: "bool";
5884
6188
  }];
5885
6189
  readonly name: "SetIsMigratorAllowed";
6190
+ /**
6191
+ * Deposit the given token in exchange for the wrapped PufToken. This
6192
+ * doesn't make the transaction but returns two methods namely
6193
+ * `transact` and `estimate`.
6194
+ *
6195
+ * Note that not all token contracts support permit signatures (e.g.
6196
+ * USDC). If a token's contract doesn't support permit signatures, use
6197
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
6198
+ *
6199
+ * @param token Token to deposit.
6200
+ * @param walletAddress Wallet address to take the token from.
6201
+ * @param value Value in wei of the token to deposit.
6202
+ * @param referralCode Referral code for the deposit.
6203
+ * @returns `transact: () => Promise<Address>` - Used to make the
6204
+ * transaction.
6205
+ *
6206
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
6207
+ * transaction.
6208
+ */
5886
6209
  readonly type: "event";
5887
6210
  }, {
5888
6211
  readonly anonymous: false;
@@ -6233,6 +6556,25 @@ export declare class PufferL2DepositorHandler {
6233
6556
  readonly type: "bool";
6234
6557
  }];
6235
6558
  readonly name: "SetIsMigratorAllowed";
6559
+ /**
6560
+ * Deposit the given token in exchange for the wrapped PufToken. This
6561
+ * doesn't make the transaction but returns two methods namely
6562
+ * `transact` and `estimate`.
6563
+ *
6564
+ * Note that not all token contracts support permit signatures (e.g.
6565
+ * USDC). If a token's contract doesn't support permit signatures, use
6566
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
6567
+ *
6568
+ * @param token Token to deposit.
6569
+ * @param walletAddress Wallet address to take the token from.
6570
+ * @param value Value in wei of the token to deposit.
6571
+ * @param referralCode Referral code for the deposit.
6572
+ * @returns `transact: () => Promise<Address>` - Used to make the
6573
+ * transaction.
6574
+ *
6575
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
6576
+ * transaction.
6577
+ */
6236
6578
  readonly type: "event";
6237
6579
  }, {
6238
6580
  readonly anonymous: false;
@@ -6584,6 +6926,25 @@ export declare class PufferL2DepositorHandler {
6584
6926
  readonly type: "bool";
6585
6927
  }];
6586
6928
  readonly name: "SetIsMigratorAllowed";
6929
+ /**
6930
+ * Deposit the given token in exchange for the wrapped PufToken. This
6931
+ * doesn't make the transaction but returns two methods namely
6932
+ * `transact` and `estimate`.
6933
+ *
6934
+ * Note that not all token contracts support permit signatures (e.g.
6935
+ * USDC). If a token's contract doesn't support permit signatures, use
6936
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
6937
+ *
6938
+ * @param token Token to deposit.
6939
+ * @param walletAddress Wallet address to take the token from.
6940
+ * @param value Value in wei of the token to deposit.
6941
+ * @param referralCode Referral code for the deposit.
6942
+ * @returns `transact: () => Promise<Address>` - Used to make the
6943
+ * transaction.
6944
+ *
6945
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
6946
+ * transaction.
6947
+ */
6587
6948
  readonly type: "event";
6588
6949
  }, {
6589
6950
  readonly anonymous: false;
@@ -6934,6 +7295,25 @@ export declare class PufferL2DepositorHandler {
6934
7295
  readonly type: "bool";
6935
7296
  }];
6936
7297
  readonly name: "SetIsMigratorAllowed";
7298
+ /**
7299
+ * Deposit the given token in exchange for the wrapped PufToken. This
7300
+ * doesn't make the transaction but returns two methods namely
7301
+ * `transact` and `estimate`.
7302
+ *
7303
+ * Note that not all token contracts support permit signatures (e.g.
7304
+ * USDC). If a token's contract doesn't support permit signatures, use
7305
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
7306
+ *
7307
+ * @param token Token to deposit.
7308
+ * @param walletAddress Wallet address to take the token from.
7309
+ * @param value Value in wei of the token to deposit.
7310
+ * @param referralCode Referral code for the deposit.
7311
+ * @returns `transact: () => Promise<Address>` - Used to make the
7312
+ * transaction.
7313
+ *
7314
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
7315
+ * transaction.
7316
+ */
6937
7317
  readonly type: "event";
6938
7318
  }, {
6939
7319
  readonly anonymous: false;
@@ -7285,6 +7665,25 @@ export declare class PufferL2DepositorHandler {
7285
7665
  readonly type: "bool";
7286
7666
  }];
7287
7667
  readonly name: "SetIsMigratorAllowed";
7668
+ /**
7669
+ * Deposit the given token in exchange for the wrapped PufToken. This
7670
+ * doesn't make the transaction but returns two methods namely
7671
+ * `transact` and `estimate`.
7672
+ *
7673
+ * Note that not all token contracts support permit signatures (e.g.
7674
+ * USDC). If a token's contract doesn't support permit signatures, use
7675
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
7676
+ *
7677
+ * @param token Token to deposit.
7678
+ * @param walletAddress Wallet address to take the token from.
7679
+ * @param value Value in wei of the token to deposit.
7680
+ * @param referralCode Referral code for the deposit.
7681
+ * @returns `transact: () => Promise<Address>` - Used to make the
7682
+ * transaction.
7683
+ *
7684
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
7685
+ * transaction.
7686
+ */
7288
7687
  readonly type: "event";
7289
7688
  }, {
7290
7689
  readonly anonymous: false;
@@ -7635,6 +8034,25 @@ export declare class PufferL2DepositorHandler {
7635
8034
  readonly type: "bool";
7636
8035
  }];
7637
8036
  readonly name: "SetIsMigratorAllowed";
8037
+ /**
8038
+ * Deposit the given token in exchange for the wrapped PufToken. This
8039
+ * doesn't make the transaction but returns two methods namely
8040
+ * `transact` and `estimate`.
8041
+ *
8042
+ * Note that not all token contracts support permit signatures (e.g.
8043
+ * USDC). If a token's contract doesn't support permit signatures, use
8044
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
8045
+ *
8046
+ * @param token Token to deposit.
8047
+ * @param walletAddress Wallet address to take the token from.
8048
+ * @param value Value in wei of the token to deposit.
8049
+ * @param referralCode Referral code for the deposit.
8050
+ * @returns `transact: () => Promise<Address>` - Used to make the
8051
+ * transaction.
8052
+ *
8053
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
8054
+ * transaction.
8055
+ */
7638
8056
  readonly type: "event";
7639
8057
  }, {
7640
8058
  readonly anonymous: false;
@@ -7986,6 +8404,25 @@ export declare class PufferL2DepositorHandler {
7986
8404
  readonly type: "bool";
7987
8405
  }];
7988
8406
  readonly name: "SetIsMigratorAllowed";
8407
+ /**
8408
+ * Deposit the given token in exchange for the wrapped PufToken. This
8409
+ * doesn't make the transaction but returns two methods namely
8410
+ * `transact` and `estimate`.
8411
+ *
8412
+ * Note that not all token contracts support permit signatures (e.g.
8413
+ * USDC). If a token's contract doesn't support permit signatures, use
8414
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
8415
+ *
8416
+ * @param token Token to deposit.
8417
+ * @param walletAddress Wallet address to take the token from.
8418
+ * @param value Value in wei of the token to deposit.
8419
+ * @param referralCode Referral code for the deposit.
8420
+ * @returns `transact: () => Promise<Address>` - Used to make the
8421
+ * transaction.
8422
+ *
8423
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
8424
+ * transaction.
8425
+ */
7989
8426
  readonly type: "event";
7990
8427
  }, {
7991
8428
  readonly anonymous: false;
@@ -8336,6 +8773,25 @@ export declare class PufferL2DepositorHandler {
8336
8773
  readonly type: "bool";
8337
8774
  }];
8338
8775
  readonly name: "SetIsMigratorAllowed";
8776
+ /**
8777
+ * Deposit the given token in exchange for the wrapped PufToken. This
8778
+ * doesn't make the transaction but returns two methods namely
8779
+ * `transact` and `estimate`.
8780
+ *
8781
+ * Note that not all token contracts support permit signatures (e.g.
8782
+ * USDC). If a token's contract doesn't support permit signatures, use
8783
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
8784
+ *
8785
+ * @param token Token to deposit.
8786
+ * @param walletAddress Wallet address to take the token from.
8787
+ * @param value Value in wei of the token to deposit.
8788
+ * @param referralCode Referral code for the deposit.
8789
+ * @returns `transact: () => Promise<Address>` - Used to make the
8790
+ * transaction.
8791
+ *
8792
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
8793
+ * transaction.
8794
+ */
8339
8795
  readonly type: "event";
8340
8796
  }, {
8341
8797
  readonly anonymous: false;
@@ -8687,6 +9143,25 @@ export declare class PufferL2DepositorHandler {
8687
9143
  readonly type: "bool";
8688
9144
  }];
8689
9145
  readonly name: "SetIsMigratorAllowed";
9146
+ /**
9147
+ * Deposit the given token in exchange for the wrapped PufToken. This
9148
+ * doesn't make the transaction but returns two methods namely
9149
+ * `transact` and `estimate`.
9150
+ *
9151
+ * Note that not all token contracts support permit signatures (e.g.
9152
+ * USDC). If a token's contract doesn't support permit signatures, use
9153
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
9154
+ *
9155
+ * @param token Token to deposit.
9156
+ * @param walletAddress Wallet address to take the token from.
9157
+ * @param value Value in wei of the token to deposit.
9158
+ * @param referralCode Referral code for the deposit.
9159
+ * @returns `transact: () => Promise<Address>` - Used to make the
9160
+ * transaction.
9161
+ *
9162
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
9163
+ * transaction.
9164
+ */
8690
9165
  readonly type: "event";
8691
9166
  }, {
8692
9167
  readonly anonymous: false;
@@ -9037,6 +9512,25 @@ export declare class PufferL2DepositorHandler {
9037
9512
  readonly type: "bool";
9038
9513
  }];
9039
9514
  readonly name: "SetIsMigratorAllowed";
9515
+ /**
9516
+ * Deposit the given token in exchange for the wrapped PufToken. This
9517
+ * doesn't make the transaction but returns two methods namely
9518
+ * `transact` and `estimate`.
9519
+ *
9520
+ * Note that not all token contracts support permit signatures (e.g.
9521
+ * USDC). If a token's contract doesn't support permit signatures, use
9522
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
9523
+ *
9524
+ * @param token Token to deposit.
9525
+ * @param walletAddress Wallet address to take the token from.
9526
+ * @param value Value in wei of the token to deposit.
9527
+ * @param referralCode Referral code for the deposit.
9528
+ * @returns `transact: () => Promise<Address>` - Used to make the
9529
+ * transaction.
9530
+ *
9531
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
9532
+ * transaction.
9533
+ */
9040
9534
  readonly type: "event";
9041
9535
  }, {
9042
9536
  readonly anonymous: false;
@@ -9388,6 +9882,25 @@ export declare class PufferL2DepositorHandler {
9388
9882
  readonly type: "bool";
9389
9883
  }];
9390
9884
  readonly name: "SetIsMigratorAllowed";
9885
+ /**
9886
+ * Deposit the given token in exchange for the wrapped PufToken. This
9887
+ * doesn't make the transaction but returns two methods namely
9888
+ * `transact` and `estimate`.
9889
+ *
9890
+ * Note that not all token contracts support permit signatures (e.g.
9891
+ * USDC). If a token's contract doesn't support permit signatures, use
9892
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
9893
+ *
9894
+ * @param token Token to deposit.
9895
+ * @param walletAddress Wallet address to take the token from.
9896
+ * @param value Value in wei of the token to deposit.
9897
+ * @param referralCode Referral code for the deposit.
9898
+ * @returns `transact: () => Promise<Address>` - Used to make the
9899
+ * transaction.
9900
+ *
9901
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
9902
+ * transaction.
9903
+ */
9391
9904
  readonly type: "event";
9392
9905
  }, {
9393
9906
  readonly anonymous: false;
@@ -9738,6 +10251,25 @@ export declare class PufferL2DepositorHandler {
9738
10251
  readonly type: "bool";
9739
10252
  }];
9740
10253
  readonly name: "SetIsMigratorAllowed";
10254
+ /**
10255
+ * Deposit the given token in exchange for the wrapped PufToken. This
10256
+ * doesn't make the transaction but returns two methods namely
10257
+ * `transact` and `estimate`.
10258
+ *
10259
+ * Note that not all token contracts support permit signatures (e.g.
10260
+ * USDC). If a token's contract doesn't support permit signatures, use
10261
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
10262
+ *
10263
+ * @param token Token to deposit.
10264
+ * @param walletAddress Wallet address to take the token from.
10265
+ * @param value Value in wei of the token to deposit.
10266
+ * @param referralCode Referral code for the deposit.
10267
+ * @returns `transact: () => Promise<Address>` - Used to make the
10268
+ * transaction.
10269
+ *
10270
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
10271
+ * transaction.
10272
+ */
9741
10273
  readonly type: "event";
9742
10274
  }, {
9743
10275
  readonly anonymous: false;
@@ -10096,6 +10628,25 @@ export declare class PufferL2DepositorHandler {
10096
10628
  readonly type: "bool";
10097
10629
  }];
10098
10630
  readonly name: "SetIsMigratorAllowed";
10631
+ /**
10632
+ * Deposit the given token in exchange for the wrapped PufToken. This
10633
+ * doesn't make the transaction but returns two methods namely
10634
+ * `transact` and `estimate`.
10635
+ *
10636
+ * Note that not all token contracts support permit signatures (e.g.
10637
+ * USDC). If a token's contract doesn't support permit signatures, use
10638
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
10639
+ *
10640
+ * @param token Token to deposit.
10641
+ * @param walletAddress Wallet address to take the token from.
10642
+ * @param value Value in wei of the token to deposit.
10643
+ * @param referralCode Referral code for the deposit.
10644
+ * @returns `transact: () => Promise<Address>` - Used to make the
10645
+ * transaction.
10646
+ *
10647
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
10648
+ * transaction.
10649
+ */
10099
10650
  readonly type: "event";
10100
10651
  }, {
10101
10652
  readonly anonymous: false;
@@ -10460,6 +11011,25 @@ export declare class PufferL2DepositorHandler {
10460
11011
  readonly type: "bool";
10461
11012
  }];
10462
11013
  readonly name: "SetIsMigratorAllowed";
11014
+ /**
11015
+ * Deposit the given token in exchange for the wrapped PufToken. This
11016
+ * doesn't make the transaction but returns two methods namely
11017
+ * `transact` and `estimate`.
11018
+ *
11019
+ * Note that not all token contracts support permit signatures (e.g.
11020
+ * USDC). If a token's contract doesn't support permit signatures, use
11021
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
11022
+ *
11023
+ * @param token Token to deposit.
11024
+ * @param walletAddress Wallet address to take the token from.
11025
+ * @param value Value in wei of the token to deposit.
11026
+ * @param referralCode Referral code for the deposit.
11027
+ * @returns `transact: () => Promise<Address>` - Used to make the
11028
+ * transaction.
11029
+ *
11030
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
11031
+ * transaction.
11032
+ */
10463
11033
  readonly type: "event";
10464
11034
  }, {
10465
11035
  readonly anonymous: false;
@@ -10832,6 +11402,25 @@ export declare class PufferL2DepositorHandler {
10832
11402
  readonly type: "bool";
10833
11403
  }];
10834
11404
  readonly name: "SetIsMigratorAllowed";
11405
+ /**
11406
+ * Deposit the given token in exchange for the wrapped PufToken. This
11407
+ * doesn't make the transaction but returns two methods namely
11408
+ * `transact` and `estimate`.
11409
+ *
11410
+ * Note that not all token contracts support permit signatures (e.g.
11411
+ * USDC). If a token's contract doesn't support permit signatures, use
11412
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
11413
+ *
11414
+ * @param token Token to deposit.
11415
+ * @param walletAddress Wallet address to take the token from.
11416
+ * @param value Value in wei of the token to deposit.
11417
+ * @param referralCode Referral code for the deposit.
11418
+ * @returns `transact: () => Promise<Address>` - Used to make the
11419
+ * transaction.
11420
+ *
11421
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
11422
+ * transaction.
11423
+ */
10835
11424
  readonly type: "event";
10836
11425
  }, {
10837
11426
  readonly anonymous: false;
@@ -11196,6 +11785,25 @@ export declare class PufferL2DepositorHandler {
11196
11785
  readonly type: "bool";
11197
11786
  }];
11198
11787
  readonly name: "SetIsMigratorAllowed";
11788
+ /**
11789
+ * Deposit the given token in exchange for the wrapped PufToken. This
11790
+ * doesn't make the transaction but returns two methods namely
11791
+ * `transact` and `estimate`.
11792
+ *
11793
+ * Note that not all token contracts support permit signatures (e.g.
11794
+ * USDC). If a token's contract doesn't support permit signatures, use
11795
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
11796
+ *
11797
+ * @param token Token to deposit.
11798
+ * @param walletAddress Wallet address to take the token from.
11799
+ * @param value Value in wei of the token to deposit.
11800
+ * @param referralCode Referral code for the deposit.
11801
+ * @returns `transact: () => Promise<Address>` - Used to make the
11802
+ * transaction.
11803
+ *
11804
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
11805
+ * transaction.
11806
+ */
11199
11807
  readonly type: "event";
11200
11808
  }, {
11201
11809
  readonly anonymous: false;
@@ -11560,6 +12168,25 @@ export declare class PufferL2DepositorHandler {
11560
12168
  readonly type: "bool";
11561
12169
  }];
11562
12170
  readonly name: "SetIsMigratorAllowed";
12171
+ /**
12172
+ * Deposit the given token in exchange for the wrapped PufToken. This
12173
+ * doesn't make the transaction but returns two methods namely
12174
+ * `transact` and `estimate`.
12175
+ *
12176
+ * Note that not all token contracts support permit signatures (e.g.
12177
+ * USDC). If a token's contract doesn't support permit signatures, use
12178
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
12179
+ *
12180
+ * @param token Token to deposit.
12181
+ * @param walletAddress Wallet address to take the token from.
12182
+ * @param value Value in wei of the token to deposit.
12183
+ * @param referralCode Referral code for the deposit.
12184
+ * @returns `transact: () => Promise<Address>` - Used to make the
12185
+ * transaction.
12186
+ *
12187
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
12188
+ * transaction.
12189
+ */
11563
12190
  readonly type: "event";
11564
12191
  }, {
11565
12192
  readonly anonymous: false;
@@ -11924,6 +12551,25 @@ export declare class PufferL2DepositorHandler {
11924
12551
  readonly type: "bool";
11925
12552
  }];
11926
12553
  readonly name: "SetIsMigratorAllowed";
12554
+ /**
12555
+ * Deposit the given token in exchange for the wrapped PufToken. This
12556
+ * doesn't make the transaction but returns two methods namely
12557
+ * `transact` and `estimate`.
12558
+ *
12559
+ * Note that not all token contracts support permit signatures (e.g.
12560
+ * USDC). If a token's contract doesn't support permit signatures, use
12561
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
12562
+ *
12563
+ * @param token Token to deposit.
12564
+ * @param walletAddress Wallet address to take the token from.
12565
+ * @param value Value in wei of the token to deposit.
12566
+ * @param referralCode Referral code for the deposit.
12567
+ * @returns `transact: () => Promise<Address>` - Used to make the
12568
+ * transaction.
12569
+ *
12570
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
12571
+ * transaction.
12572
+ */
11927
12573
  readonly type: "event";
11928
12574
  }, {
11929
12575
  readonly anonymous: false;
@@ -12282,6 +12928,25 @@ export declare class PufferL2DepositorHandler {
12282
12928
  readonly type: "bool";
12283
12929
  }];
12284
12930
  readonly name: "SetIsMigratorAllowed";
12931
+ /**
12932
+ * Deposit the given token in exchange for the wrapped PufToken. This
12933
+ * doesn't make the transaction but returns two methods namely
12934
+ * `transact` and `estimate`.
12935
+ *
12936
+ * Note that not all token contracts support permit signatures (e.g.
12937
+ * USDC). If a token's contract doesn't support permit signatures, use
12938
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
12939
+ *
12940
+ * @param token Token to deposit.
12941
+ * @param walletAddress Wallet address to take the token from.
12942
+ * @param value Value in wei of the token to deposit.
12943
+ * @param referralCode Referral code for the deposit.
12944
+ * @returns `transact: () => Promise<Address>` - Used to make the
12945
+ * transaction.
12946
+ *
12947
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
12948
+ * transaction.
12949
+ */
12285
12950
  readonly type: "event";
12286
12951
  }, {
12287
12952
  readonly anonymous: false;
@@ -12640,6 +13305,25 @@ export declare class PufferL2DepositorHandler {
12640
13305
  readonly type: "bool";
12641
13306
  }];
12642
13307
  readonly name: "SetIsMigratorAllowed";
13308
+ /**
13309
+ * Deposit the given token in exchange for the wrapped PufToken. This
13310
+ * doesn't make the transaction but returns two methods namely
13311
+ * `transact` and `estimate`.
13312
+ *
13313
+ * Note that not all token contracts support permit signatures (e.g.
13314
+ * USDC). If a token's contract doesn't support permit signatures, use
13315
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
13316
+ *
13317
+ * @param token Token to deposit.
13318
+ * @param walletAddress Wallet address to take the token from.
13319
+ * @param value Value in wei of the token to deposit.
13320
+ * @param referralCode Referral code for the deposit.
13321
+ * @returns `transact: () => Promise<Address>` - Used to make the
13322
+ * transaction.
13323
+ *
13324
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
13325
+ * transaction.
13326
+ */
12643
13327
  readonly type: "event";
12644
13328
  }, {
12645
13329
  readonly anonymous: false;
@@ -13000,6 +13684,25 @@ export declare class PufferL2DepositorHandler {
13000
13684
  readonly type: "bool";
13001
13685
  }];
13002
13686
  readonly name: "SetIsMigratorAllowed";
13687
+ /**
13688
+ * Deposit the given token in exchange for the wrapped PufToken. This
13689
+ * doesn't make the transaction but returns two methods namely
13690
+ * `transact` and `estimate`.
13691
+ *
13692
+ * Note that not all token contracts support permit signatures (e.g.
13693
+ * USDC). If a token's contract doesn't support permit signatures, use
13694
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
13695
+ *
13696
+ * @param token Token to deposit.
13697
+ * @param walletAddress Wallet address to take the token from.
13698
+ * @param value Value in wei of the token to deposit.
13699
+ * @param referralCode Referral code for the deposit.
13700
+ * @returns `transact: () => Promise<Address>` - Used to make the
13701
+ * transaction.
13702
+ *
13703
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
13704
+ * transaction.
13705
+ */
13003
13706
  readonly type: "event";
13004
13707
  }, {
13005
13708
  readonly anonymous: false;
@@ -13358,6 +14061,25 @@ export declare class PufferL2DepositorHandler {
13358
14061
  readonly type: "bool";
13359
14062
  }];
13360
14063
  readonly name: "SetIsMigratorAllowed";
14064
+ /**
14065
+ * Deposit the given token in exchange for the wrapped PufToken. This
14066
+ * doesn't make the transaction but returns two methods namely
14067
+ * `transact` and `estimate`.
14068
+ *
14069
+ * Note that not all token contracts support permit signatures (e.g.
14070
+ * USDC). If a token's contract doesn't support permit signatures, use
14071
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
14072
+ *
14073
+ * @param token Token to deposit.
14074
+ * @param walletAddress Wallet address to take the token from.
14075
+ * @param value Value in wei of the token to deposit.
14076
+ * @param referralCode Referral code for the deposit.
14077
+ * @returns `transact: () => Promise<Address>` - Used to make the
14078
+ * transaction.
14079
+ *
14080
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
14081
+ * transaction.
14082
+ */
13361
14083
  readonly type: "event";
13362
14084
  }, {
13363
14085
  readonly anonymous: false;
@@ -13716,6 +14438,25 @@ export declare class PufferL2DepositorHandler {
13716
14438
  readonly type: "bool";
13717
14439
  }];
13718
14440
  readonly name: "SetIsMigratorAllowed";
14441
+ /**
14442
+ * Deposit the given token in exchange for the wrapped PufToken. This
14443
+ * doesn't make the transaction but returns two methods namely
14444
+ * `transact` and `estimate`.
14445
+ *
14446
+ * Note that not all token contracts support permit signatures (e.g.
14447
+ * USDC). If a token's contract doesn't support permit signatures, use
14448
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
14449
+ *
14450
+ * @param token Token to deposit.
14451
+ * @param walletAddress Wallet address to take the token from.
14452
+ * @param value Value in wei of the token to deposit.
14453
+ * @param referralCode Referral code for the deposit.
14454
+ * @returns `transact: () => Promise<Address>` - Used to make the
14455
+ * transaction.
14456
+ *
14457
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
14458
+ * transaction.
14459
+ */
13719
14460
  readonly type: "event";
13720
14461
  }, {
13721
14462
  readonly anonymous: false;
@@ -14074,6 +14815,25 @@ export declare class PufferL2DepositorHandler {
14074
14815
  readonly type: "bool";
14075
14816
  }];
14076
14817
  readonly name: "SetIsMigratorAllowed";
14818
+ /**
14819
+ * Deposit the given token in exchange for the wrapped PufToken. This
14820
+ * doesn't make the transaction but returns two methods namely
14821
+ * `transact` and `estimate`.
14822
+ *
14823
+ * Note that not all token contracts support permit signatures (e.g.
14824
+ * USDC). If a token's contract doesn't support permit signatures, use
14825
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
14826
+ *
14827
+ * @param token Token to deposit.
14828
+ * @param walletAddress Wallet address to take the token from.
14829
+ * @param value Value in wei of the token to deposit.
14830
+ * @param referralCode Referral code for the deposit.
14831
+ * @returns `transact: () => Promise<Address>` - Used to make the
14832
+ * transaction.
14833
+ *
14834
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
14835
+ * transaction.
14836
+ */
14077
14837
  readonly type: "event";
14078
14838
  }, {
14079
14839
  readonly anonymous: false;
@@ -14433,6 +15193,25 @@ export declare class PufferL2DepositorHandler {
14433
15193
  readonly type: "bool";
14434
15194
  }];
14435
15195
  readonly name: "SetIsMigratorAllowed";
15196
+ /**
15197
+ * Deposit the given token in exchange for the wrapped PufToken. This
15198
+ * doesn't make the transaction but returns two methods namely
15199
+ * `transact` and `estimate`.
15200
+ *
15201
+ * Note that not all token contracts support permit signatures (e.g.
15202
+ * USDC). If a token's contract doesn't support permit signatures, use
15203
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
15204
+ *
15205
+ * @param token Token to deposit.
15206
+ * @param walletAddress Wallet address to take the token from.
15207
+ * @param value Value in wei of the token to deposit.
15208
+ * @param referralCode Referral code for the deposit.
15209
+ * @returns `transact: () => Promise<Address>` - Used to make the
15210
+ * transaction.
15211
+ *
15212
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
15213
+ * transaction.
15214
+ */
14436
15215
  readonly type: "event";
14437
15216
  }, {
14438
15217
  readonly anonymous: false;
@@ -14794,6 +15573,25 @@ export declare class PufferL2DepositorHandler {
14794
15573
  readonly type: "bool";
14795
15574
  }];
14796
15575
  readonly name: "SetIsMigratorAllowed";
15576
+ /**
15577
+ * Deposit the given token in exchange for the wrapped PufToken. This
15578
+ * doesn't make the transaction but returns two methods namely
15579
+ * `transact` and `estimate`.
15580
+ *
15581
+ * Note that not all token contracts support permit signatures (e.g.
15582
+ * USDC). If a token's contract doesn't support permit signatures, use
15583
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
15584
+ *
15585
+ * @param token Token to deposit.
15586
+ * @param walletAddress Wallet address to take the token from.
15587
+ * @param value Value in wei of the token to deposit.
15588
+ * @param referralCode Referral code for the deposit.
15589
+ * @returns `transact: () => Promise<Address>` - Used to make the
15590
+ * transaction.
15591
+ *
15592
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
15593
+ * transaction.
15594
+ */
14797
15595
  readonly type: "event";
14798
15596
  }, {
14799
15597
  readonly anonymous: false;
@@ -15157,6 +15955,25 @@ export declare class PufferL2DepositorHandler {
15157
15955
  readonly type: "bool";
15158
15956
  }];
15159
15957
  readonly name: "SetIsMigratorAllowed";
15958
+ /**
15959
+ * Deposit the given token in exchange for the wrapped PufToken. This
15960
+ * doesn't make the transaction but returns two methods namely
15961
+ * `transact` and `estimate`.
15962
+ *
15963
+ * Note that not all token contracts support permit signatures (e.g.
15964
+ * USDC). If a token's contract doesn't support permit signatures, use
15965
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
15966
+ *
15967
+ * @param token Token to deposit.
15968
+ * @param walletAddress Wallet address to take the token from.
15969
+ * @param value Value in wei of the token to deposit.
15970
+ * @param referralCode Referral code for the deposit.
15971
+ * @returns `transact: () => Promise<Address>` - Used to make the
15972
+ * transaction.
15973
+ *
15974
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
15975
+ * transaction.
15976
+ */
15160
15977
  readonly type: "event";
15161
15978
  }, {
15162
15979
  readonly anonymous: false;
@@ -15518,6 +16335,25 @@ export declare class PufferL2DepositorHandler {
15518
16335
  readonly type: "bool";
15519
16336
  }];
15520
16337
  readonly name: "SetIsMigratorAllowed";
16338
+ /**
16339
+ * Deposit the given token in exchange for the wrapped PufToken. This
16340
+ * doesn't make the transaction but returns two methods namely
16341
+ * `transact` and `estimate`.
16342
+ *
16343
+ * Note that not all token contracts support permit signatures (e.g.
16344
+ * USDC). If a token's contract doesn't support permit signatures, use
16345
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
16346
+ *
16347
+ * @param token Token to deposit.
16348
+ * @param walletAddress Wallet address to take the token from.
16349
+ * @param value Value in wei of the token to deposit.
16350
+ * @param referralCode Referral code for the deposit.
16351
+ * @returns `transact: () => Promise<Address>` - Used to make the
16352
+ * transaction.
16353
+ *
16354
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
16355
+ * transaction.
16356
+ */
15521
16357
  readonly type: "event";
15522
16358
  }, {
15523
16359
  readonly anonymous: false;
@@ -15879,6 +16715,25 @@ export declare class PufferL2DepositorHandler {
15879
16715
  readonly type: "bool";
15880
16716
  }];
15881
16717
  readonly name: "SetIsMigratorAllowed";
16718
+ /**
16719
+ * Deposit the given token in exchange for the wrapped PufToken. This
16720
+ * doesn't make the transaction but returns two methods namely
16721
+ * `transact` and `estimate`.
16722
+ *
16723
+ * Note that not all token contracts support permit signatures (e.g.
16724
+ * USDC). If a token's contract doesn't support permit signatures, use
16725
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
16726
+ *
16727
+ * @param token Token to deposit.
16728
+ * @param walletAddress Wallet address to take the token from.
16729
+ * @param value Value in wei of the token to deposit.
16730
+ * @param referralCode Referral code for the deposit.
16731
+ * @returns `transact: () => Promise<Address>` - Used to make the
16732
+ * transaction.
16733
+ *
16734
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
16735
+ * transaction.
16736
+ */
15882
16737
  readonly type: "event";
15883
16738
  }, {
15884
16739
  readonly anonymous: false;
@@ -16240,6 +17095,25 @@ export declare class PufferL2DepositorHandler {
16240
17095
  readonly type: "bool";
16241
17096
  }];
16242
17097
  readonly name: "SetIsMigratorAllowed";
17098
+ /**
17099
+ * Deposit the given token in exchange for the wrapped PufToken. This
17100
+ * doesn't make the transaction but returns two methods namely
17101
+ * `transact` and `estimate`.
17102
+ *
17103
+ * Note that not all token contracts support permit signatures (e.g.
17104
+ * USDC). If a token's contract doesn't support permit signatures, use
17105
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
17106
+ *
17107
+ * @param token Token to deposit.
17108
+ * @param walletAddress Wallet address to take the token from.
17109
+ * @param value Value in wei of the token to deposit.
17110
+ * @param referralCode Referral code for the deposit.
17111
+ * @returns `transact: () => Promise<Address>` - Used to make the
17112
+ * transaction.
17113
+ *
17114
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
17115
+ * transaction.
17116
+ */
16243
17117
  readonly type: "event";
16244
17118
  }, {
16245
17119
  readonly anonymous: false;
@@ -16595,6 +17469,25 @@ export declare class PufferL2DepositorHandler {
16595
17469
  readonly type: "bool";
16596
17470
  }];
16597
17471
  readonly name: "SetIsMigratorAllowed";
17472
+ /**
17473
+ * Deposit the given token in exchange for the wrapped PufToken. This
17474
+ * doesn't make the transaction but returns two methods namely
17475
+ * `transact` and `estimate`.
17476
+ *
17477
+ * Note that not all token contracts support permit signatures (e.g.
17478
+ * USDC). If a token's contract doesn't support permit signatures, use
17479
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
17480
+ *
17481
+ * @param token Token to deposit.
17482
+ * @param walletAddress Wallet address to take the token from.
17483
+ * @param value Value in wei of the token to deposit.
17484
+ * @param referralCode Referral code for the deposit.
17485
+ * @returns `transact: () => Promise<Address>` - Used to make the
17486
+ * transaction.
17487
+ *
17488
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
17489
+ * transaction.
17490
+ */
16598
17491
  readonly type: "event";
16599
17492
  }, {
16600
17493
  readonly anonymous: false;
@@ -16951,6 +17844,25 @@ export declare class PufferL2DepositorHandler {
16951
17844
  readonly type: "bool";
16952
17845
  }];
16953
17846
  readonly name: "SetIsMigratorAllowed";
17847
+ /**
17848
+ * Deposit the given token in exchange for the wrapped PufToken. This
17849
+ * doesn't make the transaction but returns two methods namely
17850
+ * `transact` and `estimate`.
17851
+ *
17852
+ * Note that not all token contracts support permit signatures (e.g.
17853
+ * USDC). If a token's contract doesn't support permit signatures, use
17854
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
17855
+ *
17856
+ * @param token Token to deposit.
17857
+ * @param walletAddress Wallet address to take the token from.
17858
+ * @param value Value in wei of the token to deposit.
17859
+ * @param referralCode Referral code for the deposit.
17860
+ * @returns `transact: () => Promise<Address>` - Used to make the
17861
+ * transaction.
17862
+ *
17863
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
17864
+ * transaction.
17865
+ */
16954
17866
  readonly type: "event";
16955
17867
  }, {
16956
17868
  readonly anonymous: false;
@@ -17314,6 +18226,25 @@ export declare class PufferL2DepositorHandler {
17314
18226
  readonly type: "bool";
17315
18227
  }];
17316
18228
  readonly name: "SetIsMigratorAllowed";
18229
+ /**
18230
+ * Deposit the given token in exchange for the wrapped PufToken. This
18231
+ * doesn't make the transaction but returns two methods namely
18232
+ * `transact` and `estimate`.
18233
+ *
18234
+ * Note that not all token contracts support permit signatures (e.g.
18235
+ * USDC). If a token's contract doesn't support permit signatures, use
18236
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
18237
+ *
18238
+ * @param token Token to deposit.
18239
+ * @param walletAddress Wallet address to take the token from.
18240
+ * @param value Value in wei of the token to deposit.
18241
+ * @param referralCode Referral code for the deposit.
18242
+ * @returns `transact: () => Promise<Address>` - Used to make the
18243
+ * transaction.
18244
+ *
18245
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
18246
+ * transaction.
18247
+ */
17317
18248
  readonly type: "event";
17318
18249
  }, {
17319
18250
  readonly anonymous: false;
@@ -17664,6 +18595,25 @@ export declare class PufferL2DepositorHandler {
17664
18595
  readonly type: "bool";
17665
18596
  }];
17666
18597
  readonly name: "SetIsMigratorAllowed";
18598
+ /**
18599
+ * Deposit the given token in exchange for the wrapped PufToken. This
18600
+ * doesn't make the transaction but returns two methods namely
18601
+ * `transact` and `estimate`.
18602
+ *
18603
+ * Note that not all token contracts support permit signatures (e.g.
18604
+ * USDC). If a token's contract doesn't support permit signatures, use
18605
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
18606
+ *
18607
+ * @param token Token to deposit.
18608
+ * @param walletAddress Wallet address to take the token from.
18609
+ * @param value Value in wei of the token to deposit.
18610
+ * @param referralCode Referral code for the deposit.
18611
+ * @returns `transact: () => Promise<Address>` - Used to make the
18612
+ * transaction.
18613
+ *
18614
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
18615
+ * transaction.
18616
+ */
17667
18617
  readonly type: "event";
17668
18618
  }, {
17669
18619
  readonly anonymous: false;
@@ -18015,6 +18965,25 @@ export declare class PufferL2DepositorHandler {
18015
18965
  readonly type: "bool";
18016
18966
  }];
18017
18967
  readonly name: "SetIsMigratorAllowed";
18968
+ /**
18969
+ * Deposit the given token in exchange for the wrapped PufToken. This
18970
+ * doesn't make the transaction but returns two methods namely
18971
+ * `transact` and `estimate`.
18972
+ *
18973
+ * Note that not all token contracts support permit signatures (e.g.
18974
+ * USDC). If a token's contract doesn't support permit signatures, use
18975
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
18976
+ *
18977
+ * @param token Token to deposit.
18978
+ * @param walletAddress Wallet address to take the token from.
18979
+ * @param value Value in wei of the token to deposit.
18980
+ * @param referralCode Referral code for the deposit.
18981
+ * @returns `transact: () => Promise<Address>` - Used to make the
18982
+ * transaction.
18983
+ *
18984
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
18985
+ * transaction.
18986
+ */
18018
18987
  readonly type: "event";
18019
18988
  }, {
18020
18989
  readonly anonymous: false;
@@ -18365,6 +19334,25 @@ export declare class PufferL2DepositorHandler {
18365
19334
  readonly type: "bool";
18366
19335
  }];
18367
19336
  readonly name: "SetIsMigratorAllowed";
19337
+ /**
19338
+ * Deposit the given token in exchange for the wrapped PufToken. This
19339
+ * doesn't make the transaction but returns two methods namely
19340
+ * `transact` and `estimate`.
19341
+ *
19342
+ * Note that not all token contracts support permit signatures (e.g.
19343
+ * USDC). If a token's contract doesn't support permit signatures, use
19344
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
19345
+ *
19346
+ * @param token Token to deposit.
19347
+ * @param walletAddress Wallet address to take the token from.
19348
+ * @param value Value in wei of the token to deposit.
19349
+ * @param referralCode Referral code for the deposit.
19350
+ * @returns `transact: () => Promise<Address>` - Used to make the
19351
+ * transaction.
19352
+ *
19353
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
19354
+ * transaction.
19355
+ */
18368
19356
  readonly type: "event";
18369
19357
  }, {
18370
19358
  readonly anonymous: false;
@@ -18716,6 +19704,25 @@ export declare class PufferL2DepositorHandler {
18716
19704
  readonly type: "bool";
18717
19705
  }];
18718
19706
  readonly name: "SetIsMigratorAllowed";
19707
+ /**
19708
+ * Deposit the given token in exchange for the wrapped PufToken. This
19709
+ * doesn't make the transaction but returns two methods namely
19710
+ * `transact` and `estimate`.
19711
+ *
19712
+ * Note that not all token contracts support permit signatures (e.g.
19713
+ * USDC). If a token's contract doesn't support permit signatures, use
19714
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
19715
+ *
19716
+ * @param token Token to deposit.
19717
+ * @param walletAddress Wallet address to take the token from.
19718
+ * @param value Value in wei of the token to deposit.
19719
+ * @param referralCode Referral code for the deposit.
19720
+ * @returns `transact: () => Promise<Address>` - Used to make the
19721
+ * transaction.
19722
+ *
19723
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
19724
+ * transaction.
19725
+ */
18719
19726
  readonly type: "event";
18720
19727
  }, {
18721
19728
  readonly anonymous: false;
@@ -19066,6 +20073,25 @@ export declare class PufferL2DepositorHandler {
19066
20073
  readonly type: "bool";
19067
20074
  }];
19068
20075
  readonly name: "SetIsMigratorAllowed";
20076
+ /**
20077
+ * Deposit the given token in exchange for the wrapped PufToken. This
20078
+ * doesn't make the transaction but returns two methods namely
20079
+ * `transact` and `estimate`.
20080
+ *
20081
+ * Note that not all token contracts support permit signatures (e.g.
20082
+ * USDC). If a token's contract doesn't support permit signatures, use
20083
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
20084
+ *
20085
+ * @param token Token to deposit.
20086
+ * @param walletAddress Wallet address to take the token from.
20087
+ * @param value Value in wei of the token to deposit.
20088
+ * @param referralCode Referral code for the deposit.
20089
+ * @returns `transact: () => Promise<Address>` - Used to make the
20090
+ * transaction.
20091
+ *
20092
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
20093
+ * transaction.
20094
+ */
19069
20095
  readonly type: "event";
19070
20096
  }, {
19071
20097
  readonly anonymous: false;
@@ -19417,6 +20443,25 @@ export declare class PufferL2DepositorHandler {
19417
20443
  readonly type: "bool";
19418
20444
  }];
19419
20445
  readonly name: "SetIsMigratorAllowed";
20446
+ /**
20447
+ * Deposit the given token in exchange for the wrapped PufToken. This
20448
+ * doesn't make the transaction but returns two methods namely
20449
+ * `transact` and `estimate`.
20450
+ *
20451
+ * Note that not all token contracts support permit signatures (e.g.
20452
+ * USDC). If a token's contract doesn't support permit signatures, use
20453
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
20454
+ *
20455
+ * @param token Token to deposit.
20456
+ * @param walletAddress Wallet address to take the token from.
20457
+ * @param value Value in wei of the token to deposit.
20458
+ * @param referralCode Referral code for the deposit.
20459
+ * @returns `transact: () => Promise<Address>` - Used to make the
20460
+ * transaction.
20461
+ *
20462
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
20463
+ * transaction.
20464
+ */
19420
20465
  readonly type: "event";
19421
20466
  }, {
19422
20467
  readonly anonymous: false;
@@ -19767,6 +20812,25 @@ export declare class PufferL2DepositorHandler {
19767
20812
  readonly type: "bool";
19768
20813
  }];
19769
20814
  readonly name: "SetIsMigratorAllowed";
20815
+ /**
20816
+ * Deposit the given token in exchange for the wrapped PufToken. This
20817
+ * doesn't make the transaction but returns two methods namely
20818
+ * `transact` and `estimate`.
20819
+ *
20820
+ * Note that not all token contracts support permit signatures (e.g.
20821
+ * USDC). If a token's contract doesn't support permit signatures, use
20822
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
20823
+ *
20824
+ * @param token Token to deposit.
20825
+ * @param walletAddress Wallet address to take the token from.
20826
+ * @param value Value in wei of the token to deposit.
20827
+ * @param referralCode Referral code for the deposit.
20828
+ * @returns `transact: () => Promise<Address>` - Used to make the
20829
+ * transaction.
20830
+ *
20831
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
20832
+ * transaction.
20833
+ */
19770
20834
  readonly type: "event";
19771
20835
  }, {
19772
20836
  readonly anonymous: false;
@@ -20118,6 +21182,25 @@ export declare class PufferL2DepositorHandler {
20118
21182
  readonly type: "bool";
20119
21183
  }];
20120
21184
  readonly name: "SetIsMigratorAllowed";
21185
+ /**
21186
+ * Deposit the given token in exchange for the wrapped PufToken. This
21187
+ * doesn't make the transaction but returns two methods namely
21188
+ * `transact` and `estimate`.
21189
+ *
21190
+ * Note that not all token contracts support permit signatures (e.g.
21191
+ * USDC). If a token's contract doesn't support permit signatures, use
21192
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
21193
+ *
21194
+ * @param token Token to deposit.
21195
+ * @param walletAddress Wallet address to take the token from.
21196
+ * @param value Value in wei of the token to deposit.
21197
+ * @param referralCode Referral code for the deposit.
21198
+ * @returns `transact: () => Promise<Address>` - Used to make the
21199
+ * transaction.
21200
+ *
21201
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
21202
+ * transaction.
21203
+ */
20121
21204
  readonly type: "event";
20122
21205
  }, {
20123
21206
  readonly anonymous: false;
@@ -20468,6 +21551,25 @@ export declare class PufferL2DepositorHandler {
20468
21551
  readonly type: "bool";
20469
21552
  }];
20470
21553
  readonly name: "SetIsMigratorAllowed";
21554
+ /**
21555
+ * Deposit the given token in exchange for the wrapped PufToken. This
21556
+ * doesn't make the transaction but returns two methods namely
21557
+ * `transact` and `estimate`.
21558
+ *
21559
+ * Note that not all token contracts support permit signatures (e.g.
21560
+ * USDC). If a token's contract doesn't support permit signatures, use
21561
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
21562
+ *
21563
+ * @param token Token to deposit.
21564
+ * @param walletAddress Wallet address to take the token from.
21565
+ * @param value Value in wei of the token to deposit.
21566
+ * @param referralCode Referral code for the deposit.
21567
+ * @returns `transact: () => Promise<Address>` - Used to make the
21568
+ * transaction.
21569
+ *
21570
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
21571
+ * transaction.
21572
+ */
20471
21573
  readonly type: "event";
20472
21574
  }, {
20473
21575
  readonly anonymous: false;
@@ -20819,6 +21921,25 @@ export declare class PufferL2DepositorHandler {
20819
21921
  readonly type: "bool";
20820
21922
  }];
20821
21923
  readonly name: "SetIsMigratorAllowed";
21924
+ /**
21925
+ * Deposit the given token in exchange for the wrapped PufToken. This
21926
+ * doesn't make the transaction but returns two methods namely
21927
+ * `transact` and `estimate`.
21928
+ *
21929
+ * Note that not all token contracts support permit signatures (e.g.
21930
+ * USDC). If a token's contract doesn't support permit signatures, use
21931
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
21932
+ *
21933
+ * @param token Token to deposit.
21934
+ * @param walletAddress Wallet address to take the token from.
21935
+ * @param value Value in wei of the token to deposit.
21936
+ * @param referralCode Referral code for the deposit.
21937
+ * @returns `transact: () => Promise<Address>` - Used to make the
21938
+ * transaction.
21939
+ *
21940
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
21941
+ * transaction.
21942
+ */
20822
21943
  readonly type: "event";
20823
21944
  }, {
20824
21945
  readonly anonymous: false;
@@ -21169,6 +22290,25 @@ export declare class PufferL2DepositorHandler {
21169
22290
  readonly type: "bool";
21170
22291
  }];
21171
22292
  readonly name: "SetIsMigratorAllowed";
22293
+ /**
22294
+ * Deposit the given token in exchange for the wrapped PufToken. This
22295
+ * doesn't make the transaction but returns two methods namely
22296
+ * `transact` and `estimate`.
22297
+ *
22298
+ * Note that not all token contracts support permit signatures (e.g.
22299
+ * USDC). If a token's contract doesn't support permit signatures, use
22300
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
22301
+ *
22302
+ * @param token Token to deposit.
22303
+ * @param walletAddress Wallet address to take the token from.
22304
+ * @param value Value in wei of the token to deposit.
22305
+ * @param referralCode Referral code for the deposit.
22306
+ * @returns `transact: () => Promise<Address>` - Used to make the
22307
+ * transaction.
22308
+ *
22309
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
22310
+ * transaction.
22311
+ */
21172
22312
  readonly type: "event";
21173
22313
  }, {
21174
22314
  readonly anonymous: false;
@@ -21522,6 +22662,25 @@ export declare class PufferL2DepositorHandler {
21522
22662
  readonly type: "bool";
21523
22663
  }];
21524
22664
  readonly name: "SetIsMigratorAllowed";
22665
+ /**
22666
+ * Deposit the given token in exchange for the wrapped PufToken. This
22667
+ * doesn't make the transaction but returns two methods namely
22668
+ * `transact` and `estimate`.
22669
+ *
22670
+ * Note that not all token contracts support permit signatures (e.g.
22671
+ * USDC). If a token's contract doesn't support permit signatures, use
22672
+ * `Token.approve()` and call `this.depositPreApproved()` instead.
22673
+ *
22674
+ * @param token Token to deposit.
22675
+ * @param walletAddress Wallet address to take the token from.
22676
+ * @param value Value in wei of the token to deposit.
22677
+ * @param referralCode Referral code for the deposit.
22678
+ * @returns `transact: () => Promise<Address>` - Used to make the
22679
+ * transaction.
22680
+ *
22681
+ * `estimate: () => Promise<bigint>` - Gas estimate of the
22682
+ * transaction.
22683
+ */
21525
22684
  readonly type: "event";
21526
22685
  }, {
21527
22686
  readonly anonymous: false;
@@ -21739,7 +22898,7 @@ export declare class PufferL2DepositorHandler {
21739
22898
  * `estimate: () => Promise<bigint>` - Gas estimate of the
21740
22899
  * transaction.
21741
22900
  */
21742
- depositPreApproved(token: NonPufToken, walletAddress: Address, value: bigint): {
22901
+ depositPreApproved(token: Token, walletAddress: Address, value: bigint): {
21743
22902
  transact: () => Promise<`0x${string}`>;
21744
22903
  estimate: () => Promise<bigint>;
21745
22904
  };
@@ -21762,7 +22921,7 @@ export declare class PufferL2DepositorHandler {
21762
22921
  * `estimate: () => Promise<bigint>` - Gas estimate of the
21763
22922
  * transaction.
21764
22923
  */
21765
- deposit(token: NonPufToken, walletAddress: Address, value: bigint, referralCode?: bigint): Promise<{
22924
+ deposit(token: Token, walletAddress: Address, value: bigint, referralCode?: bigint): Promise<{
21766
22925
  transact: () => Promise<`0x${string}`>;
21767
22926
  estimate: () => Promise<bigint>;
21768
22927
  }>;