@pufferfinance/puffer-sdk 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ccip-CzWPognK.js → ccip-D9sqjqG8.js} +2 -2
- package/dist/{ccip-CzWPognK.js.map → ccip-D9sqjqG8.js.map} +1 -1
- package/dist/{ccip-DNUqn1xf.cjs → ccip-x56ET8k8.cjs} +2 -2
- package/dist/{ccip-DNUqn1xf.cjs.map → ccip-x56ET8k8.cjs.map} +1 -1
- package/dist/contracts/handlers/erc20-permit-handler.d.ts +204 -0
- package/dist/contracts/handlers/puf-locker-handler.d.ts +3228 -450
- package/dist/contracts/handlers/puffer-l2-depositor-handler.d.ts +68 -1166
- package/dist/contracts/tokens.d.ts +23 -2
- package/dist/{main--Ww95s5e.cjs → main-BqWpl7pY.cjs} +26 -26
- package/dist/{main--Ww95s5e.cjs.map → main-BqWpl7pY.cjs.map} +1 -1
- package/dist/{main-Cl9ZFxdC.js → main-DXvt8xU1.js} +562 -488
- package/dist/{main-Cl9ZFxdC.js.map → main-DXvt8xU1.js.map} +1 -1
- package/dist/main.cjs +1 -1
- package/dist/main.js +8 -7
- package/package.json +1 -1
|
@@ -228,25 +228,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
228
228
|
readonly name: "isAllowed";
|
|
229
229
|
readonly type: "bool";
|
|
230
230
|
}];
|
|
231
|
-
readonly name: "SetIsMigratorAllowed";
|
|
232
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
233
|
-
* the transaction but returns two methods namely `transact` and
|
|
234
|
-
* `estimate`.
|
|
235
|
-
*
|
|
236
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
237
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
238
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
239
|
-
*
|
|
240
|
-
* @param token Token to deposit.
|
|
241
|
-
* @param walletAddress Wallet address to take the token from.
|
|
242
|
-
* @param value Value in wei of the token to deposit.
|
|
243
|
-
* @param referralCode Referral code for the deposit.
|
|
244
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
245
|
-
* transaction.
|
|
246
|
-
*
|
|
247
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
248
|
-
* transaction.
|
|
249
|
-
*/
|
|
231
|
+
readonly name: "SetIsMigratorAllowed";
|
|
250
232
|
readonly type: "event";
|
|
251
233
|
}, {
|
|
252
234
|
readonly anonymous: false;
|
|
@@ -603,25 +585,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
603
585
|
readonly name: "isAllowed";
|
|
604
586
|
readonly type: "bool";
|
|
605
587
|
}];
|
|
606
|
-
readonly name: "SetIsMigratorAllowed";
|
|
607
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
608
|
-
* the transaction but returns two methods namely `transact` and
|
|
609
|
-
* `estimate`.
|
|
610
|
-
*
|
|
611
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
612
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
613
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
614
|
-
*
|
|
615
|
-
* @param token Token to deposit.
|
|
616
|
-
* @param walletAddress Wallet address to take the token from.
|
|
617
|
-
* @param value Value in wei of the token to deposit.
|
|
618
|
-
* @param referralCode Referral code for the deposit.
|
|
619
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
620
|
-
* transaction.
|
|
621
|
-
*
|
|
622
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
623
|
-
* transaction.
|
|
624
|
-
*/
|
|
588
|
+
readonly name: "SetIsMigratorAllowed";
|
|
625
589
|
readonly type: "event";
|
|
626
590
|
}, {
|
|
627
591
|
readonly anonymous: false;
|
|
@@ -972,25 +936,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
972
936
|
readonly name: "isAllowed";
|
|
973
937
|
readonly type: "bool";
|
|
974
938
|
}];
|
|
975
|
-
readonly name: "SetIsMigratorAllowed";
|
|
976
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
977
|
-
* the transaction but returns two methods namely `transact` and
|
|
978
|
-
* `estimate`.
|
|
979
|
-
*
|
|
980
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
981
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
982
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
983
|
-
*
|
|
984
|
-
* @param token Token to deposit.
|
|
985
|
-
* @param walletAddress Wallet address to take the token from.
|
|
986
|
-
* @param value Value in wei of the token to deposit.
|
|
987
|
-
* @param referralCode Referral code for the deposit.
|
|
988
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
989
|
-
* transaction.
|
|
990
|
-
*
|
|
991
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
992
|
-
* transaction.
|
|
993
|
-
*/
|
|
939
|
+
readonly name: "SetIsMigratorAllowed";
|
|
994
940
|
readonly type: "event";
|
|
995
941
|
}, {
|
|
996
942
|
readonly anonymous: false;
|
|
@@ -1341,25 +1287,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
1341
1287
|
readonly name: "isAllowed";
|
|
1342
1288
|
readonly type: "bool";
|
|
1343
1289
|
}];
|
|
1344
|
-
readonly name: "SetIsMigratorAllowed";
|
|
1345
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
1346
|
-
* the transaction but returns two methods namely `transact` and
|
|
1347
|
-
* `estimate`.
|
|
1348
|
-
*
|
|
1349
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
1350
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
1351
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
1352
|
-
*
|
|
1353
|
-
* @param token Token to deposit.
|
|
1354
|
-
* @param walletAddress Wallet address to take the token from.
|
|
1355
|
-
* @param value Value in wei of the token to deposit.
|
|
1356
|
-
* @param referralCode Referral code for the deposit.
|
|
1357
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
1358
|
-
* transaction.
|
|
1359
|
-
*
|
|
1360
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
1361
|
-
* transaction.
|
|
1362
|
-
*/
|
|
1290
|
+
readonly name: "SetIsMigratorAllowed";
|
|
1363
1291
|
readonly type: "event";
|
|
1364
1292
|
}, {
|
|
1365
1293
|
readonly anonymous: false;
|
|
@@ -1710,25 +1638,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
1710
1638
|
readonly name: "isAllowed";
|
|
1711
1639
|
readonly type: "bool";
|
|
1712
1640
|
}];
|
|
1713
|
-
readonly name: "SetIsMigratorAllowed";
|
|
1714
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
1715
|
-
* the transaction but returns two methods namely `transact` and
|
|
1716
|
-
* `estimate`.
|
|
1717
|
-
*
|
|
1718
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
1719
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
1720
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
1721
|
-
*
|
|
1722
|
-
* @param token Token to deposit.
|
|
1723
|
-
* @param walletAddress Wallet address to take the token from.
|
|
1724
|
-
* @param value Value in wei of the token to deposit.
|
|
1725
|
-
* @param referralCode Referral code for the deposit.
|
|
1726
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
1727
|
-
* transaction.
|
|
1728
|
-
*
|
|
1729
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
1730
|
-
* transaction.
|
|
1731
|
-
*/
|
|
1641
|
+
readonly name: "SetIsMigratorAllowed";
|
|
1732
1642
|
readonly type: "event";
|
|
1733
1643
|
}, {
|
|
1734
1644
|
readonly anonymous: false;
|
|
@@ -2079,25 +1989,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
2079
1989
|
readonly name: "isAllowed";
|
|
2080
1990
|
readonly type: "bool";
|
|
2081
1991
|
}];
|
|
2082
|
-
readonly name: "SetIsMigratorAllowed";
|
|
2083
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
2084
|
-
* the transaction but returns two methods namely `transact` and
|
|
2085
|
-
* `estimate`.
|
|
2086
|
-
*
|
|
2087
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
2088
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
2089
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
2090
|
-
*
|
|
2091
|
-
* @param token Token to deposit.
|
|
2092
|
-
* @param walletAddress Wallet address to take the token from.
|
|
2093
|
-
* @param value Value in wei of the token to deposit.
|
|
2094
|
-
* @param referralCode Referral code for the deposit.
|
|
2095
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
2096
|
-
* transaction.
|
|
2097
|
-
*
|
|
2098
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
2099
|
-
* transaction.
|
|
2100
|
-
*/
|
|
1992
|
+
readonly name: "SetIsMigratorAllowed";
|
|
2101
1993
|
readonly type: "event";
|
|
2102
1994
|
}, {
|
|
2103
1995
|
readonly anonymous: false;
|
|
@@ -2448,25 +2340,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
2448
2340
|
readonly name: "isAllowed";
|
|
2449
2341
|
readonly type: "bool";
|
|
2450
2342
|
}];
|
|
2451
|
-
readonly name: "SetIsMigratorAllowed";
|
|
2452
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
2453
|
-
* the transaction but returns two methods namely `transact` and
|
|
2454
|
-
* `estimate`.
|
|
2455
|
-
*
|
|
2456
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
2457
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
2458
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
2459
|
-
*
|
|
2460
|
-
* @param token Token to deposit.
|
|
2461
|
-
* @param walletAddress Wallet address to take the token from.
|
|
2462
|
-
* @param value Value in wei of the token to deposit.
|
|
2463
|
-
* @param referralCode Referral code for the deposit.
|
|
2464
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
2465
|
-
* transaction.
|
|
2466
|
-
*
|
|
2467
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
2468
|
-
* transaction.
|
|
2469
|
-
*/
|
|
2343
|
+
readonly name: "SetIsMigratorAllowed";
|
|
2470
2344
|
readonly type: "event";
|
|
2471
2345
|
}, {
|
|
2472
2346
|
readonly anonymous: false;
|
|
@@ -2824,25 +2698,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
2824
2698
|
readonly name: "isAllowed";
|
|
2825
2699
|
readonly type: "bool";
|
|
2826
2700
|
}];
|
|
2827
|
-
readonly name: "SetIsMigratorAllowed";
|
|
2828
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
2829
|
-
* the transaction but returns two methods namely `transact` and
|
|
2830
|
-
* `estimate`.
|
|
2831
|
-
*
|
|
2832
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
2833
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
2834
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
2835
|
-
*
|
|
2836
|
-
* @param token Token to deposit.
|
|
2837
|
-
* @param walletAddress Wallet address to take the token from.
|
|
2838
|
-
* @param value Value in wei of the token to deposit.
|
|
2839
|
-
* @param referralCode Referral code for the deposit.
|
|
2840
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
2841
|
-
* transaction.
|
|
2842
|
-
*
|
|
2843
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
2844
|
-
* transaction.
|
|
2845
|
-
*/
|
|
2701
|
+
readonly name: "SetIsMigratorAllowed";
|
|
2846
2702
|
readonly type: "event";
|
|
2847
2703
|
}, {
|
|
2848
2704
|
readonly anonymous: false;
|
|
@@ -3199,25 +3055,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
3199
3055
|
readonly name: "isAllowed";
|
|
3200
3056
|
readonly type: "bool";
|
|
3201
3057
|
}];
|
|
3202
|
-
readonly name: "SetIsMigratorAllowed";
|
|
3203
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
3204
|
-
* the transaction but returns two methods namely `transact` and
|
|
3205
|
-
* `estimate`.
|
|
3206
|
-
*
|
|
3207
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
3208
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
3209
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
3210
|
-
*
|
|
3211
|
-
* @param token Token to deposit.
|
|
3212
|
-
* @param walletAddress Wallet address to take the token from.
|
|
3213
|
-
* @param value Value in wei of the token to deposit.
|
|
3214
|
-
* @param referralCode Referral code for the deposit.
|
|
3215
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
3216
|
-
* transaction.
|
|
3217
|
-
*
|
|
3218
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
3219
|
-
* transaction.
|
|
3220
|
-
*/
|
|
3058
|
+
readonly name: "SetIsMigratorAllowed";
|
|
3221
3059
|
readonly type: "event";
|
|
3222
3060
|
}, {
|
|
3223
3061
|
readonly anonymous: false;
|
|
@@ -3568,25 +3406,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
3568
3406
|
readonly name: "isAllowed";
|
|
3569
3407
|
readonly type: "bool";
|
|
3570
3408
|
}];
|
|
3571
|
-
readonly name: "SetIsMigratorAllowed";
|
|
3572
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
3573
|
-
* the transaction but returns two methods namely `transact` and
|
|
3574
|
-
* `estimate`.
|
|
3575
|
-
*
|
|
3576
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
3577
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
3578
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
3579
|
-
*
|
|
3580
|
-
* @param token Token to deposit.
|
|
3581
|
-
* @param walletAddress Wallet address to take the token from.
|
|
3582
|
-
* @param value Value in wei of the token to deposit.
|
|
3583
|
-
* @param referralCode Referral code for the deposit.
|
|
3584
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
3585
|
-
* transaction.
|
|
3586
|
-
*
|
|
3587
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
3588
|
-
* transaction.
|
|
3589
|
-
*/
|
|
3409
|
+
readonly name: "SetIsMigratorAllowed";
|
|
3590
3410
|
readonly type: "event";
|
|
3591
3411
|
}, {
|
|
3592
3412
|
readonly anonymous: false;
|
|
@@ -3937,25 +3757,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
3937
3757
|
readonly name: "isAllowed";
|
|
3938
3758
|
readonly type: "bool";
|
|
3939
3759
|
}];
|
|
3940
|
-
readonly name: "SetIsMigratorAllowed";
|
|
3941
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
3942
|
-
* the transaction but returns two methods namely `transact` and
|
|
3943
|
-
* `estimate`.
|
|
3944
|
-
*
|
|
3945
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
3946
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
3947
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
3948
|
-
*
|
|
3949
|
-
* @param token Token to deposit.
|
|
3950
|
-
* @param walletAddress Wallet address to take the token from.
|
|
3951
|
-
* @param value Value in wei of the token to deposit.
|
|
3952
|
-
* @param referralCode Referral code for the deposit.
|
|
3953
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
3954
|
-
* transaction.
|
|
3955
|
-
*
|
|
3956
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
3957
|
-
* transaction.
|
|
3958
|
-
*/
|
|
3760
|
+
readonly name: "SetIsMigratorAllowed";
|
|
3959
3761
|
readonly type: "event";
|
|
3960
3762
|
}, {
|
|
3961
3763
|
readonly anonymous: false;
|
|
@@ -4306,25 +4108,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
4306
4108
|
readonly name: "isAllowed";
|
|
4307
4109
|
readonly type: "bool";
|
|
4308
4110
|
}];
|
|
4309
|
-
readonly name: "SetIsMigratorAllowed";
|
|
4310
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
4311
|
-
* the transaction but returns two methods namely `transact` and
|
|
4312
|
-
* `estimate`.
|
|
4313
|
-
*
|
|
4314
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
4315
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
4316
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
4317
|
-
*
|
|
4318
|
-
* @param token Token to deposit.
|
|
4319
|
-
* @param walletAddress Wallet address to take the token from.
|
|
4320
|
-
* @param value Value in wei of the token to deposit.
|
|
4321
|
-
* @param referralCode Referral code for the deposit.
|
|
4322
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
4323
|
-
* transaction.
|
|
4324
|
-
*
|
|
4325
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
4326
|
-
* transaction.
|
|
4327
|
-
*/
|
|
4111
|
+
readonly name: "SetIsMigratorAllowed";
|
|
4328
4112
|
readonly type: "event";
|
|
4329
4113
|
}, {
|
|
4330
4114
|
readonly anonymous: false;
|
|
@@ -4675,25 +4459,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
4675
4459
|
readonly name: "isAllowed";
|
|
4676
4460
|
readonly type: "bool";
|
|
4677
4461
|
}];
|
|
4678
|
-
readonly name: "SetIsMigratorAllowed";
|
|
4679
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
4680
|
-
* the transaction but returns two methods namely `transact` and
|
|
4681
|
-
* `estimate`.
|
|
4682
|
-
*
|
|
4683
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
4684
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
4685
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
4686
|
-
*
|
|
4687
|
-
* @param token Token to deposit.
|
|
4688
|
-
* @param walletAddress Wallet address to take the token from.
|
|
4689
|
-
* @param value Value in wei of the token to deposit.
|
|
4690
|
-
* @param referralCode Referral code for the deposit.
|
|
4691
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
4692
|
-
* transaction.
|
|
4693
|
-
*
|
|
4694
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
4695
|
-
* transaction.
|
|
4696
|
-
*/
|
|
4462
|
+
readonly name: "SetIsMigratorAllowed";
|
|
4697
4463
|
readonly type: "event";
|
|
4698
4464
|
}, {
|
|
4699
4465
|
readonly anonymous: false;
|
|
@@ -5044,25 +4810,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
5044
4810
|
readonly name: "isAllowed";
|
|
5045
4811
|
readonly type: "bool";
|
|
5046
4812
|
}];
|
|
5047
|
-
readonly name: "SetIsMigratorAllowed";
|
|
5048
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
5049
|
-
* the transaction but returns two methods namely `transact` and
|
|
5050
|
-
* `estimate`.
|
|
5051
|
-
*
|
|
5052
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
5053
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
5054
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
5055
|
-
*
|
|
5056
|
-
* @param token Token to deposit.
|
|
5057
|
-
* @param walletAddress Wallet address to take the token from.
|
|
5058
|
-
* @param value Value in wei of the token to deposit.
|
|
5059
|
-
* @param referralCode Referral code for the deposit.
|
|
5060
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
5061
|
-
* transaction.
|
|
5062
|
-
*
|
|
5063
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
5064
|
-
* transaction.
|
|
5065
|
-
*/
|
|
4813
|
+
readonly name: "SetIsMigratorAllowed";
|
|
5066
4814
|
readonly type: "event";
|
|
5067
4815
|
}, {
|
|
5068
4816
|
readonly anonymous: false;
|
|
@@ -5421,25 +5169,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
5421
5169
|
readonly name: "isAllowed";
|
|
5422
5170
|
readonly type: "bool";
|
|
5423
5171
|
}];
|
|
5424
|
-
readonly name: "SetIsMigratorAllowed";
|
|
5425
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
5426
|
-
* the transaction but returns two methods namely `transact` and
|
|
5427
|
-
* `estimate`.
|
|
5428
|
-
*
|
|
5429
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
5430
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
5431
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
5432
|
-
*
|
|
5433
|
-
* @param token Token to deposit.
|
|
5434
|
-
* @param walletAddress Wallet address to take the token from.
|
|
5435
|
-
* @param value Value in wei of the token to deposit.
|
|
5436
|
-
* @param referralCode Referral code for the deposit.
|
|
5437
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
5438
|
-
* transaction.
|
|
5439
|
-
*
|
|
5440
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
5441
|
-
* transaction.
|
|
5442
|
-
*/
|
|
5172
|
+
readonly name: "SetIsMigratorAllowed";
|
|
5443
5173
|
readonly type: "event";
|
|
5444
5174
|
}, {
|
|
5445
5175
|
readonly anonymous: false;
|
|
@@ -5795,25 +5525,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
5795
5525
|
readonly name: "isAllowed";
|
|
5796
5526
|
readonly type: "bool";
|
|
5797
5527
|
}];
|
|
5798
|
-
readonly name: "SetIsMigratorAllowed";
|
|
5799
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
5800
|
-
* the transaction but returns two methods namely `transact` and
|
|
5801
|
-
* `estimate`.
|
|
5802
|
-
*
|
|
5803
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
5804
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
5805
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
5806
|
-
*
|
|
5807
|
-
* @param token Token to deposit.
|
|
5808
|
-
* @param walletAddress Wallet address to take the token from.
|
|
5809
|
-
* @param value Value in wei of the token to deposit.
|
|
5810
|
-
* @param referralCode Referral code for the deposit.
|
|
5811
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
5812
|
-
* transaction.
|
|
5813
|
-
*
|
|
5814
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
5815
|
-
* transaction.
|
|
5816
|
-
*/
|
|
5528
|
+
readonly name: "SetIsMigratorAllowed";
|
|
5817
5529
|
readonly type: "event";
|
|
5818
5530
|
}, {
|
|
5819
5531
|
readonly anonymous: false;
|
|
@@ -6170,25 +5882,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
6170
5882
|
readonly name: "isAllowed";
|
|
6171
5883
|
readonly type: "bool";
|
|
6172
5884
|
}];
|
|
6173
|
-
readonly name: "SetIsMigratorAllowed";
|
|
6174
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
6175
|
-
* the transaction but returns two methods namely `transact` and
|
|
6176
|
-
* `estimate`.
|
|
6177
|
-
*
|
|
6178
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
6179
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
6180
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
6181
|
-
*
|
|
6182
|
-
* @param token Token to deposit.
|
|
6183
|
-
* @param walletAddress Wallet address to take the token from.
|
|
6184
|
-
* @param value Value in wei of the token to deposit.
|
|
6185
|
-
* @param referralCode Referral code for the deposit.
|
|
6186
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
6187
|
-
* transaction.
|
|
6188
|
-
*
|
|
6189
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
6190
|
-
* transaction.
|
|
6191
|
-
*/
|
|
5885
|
+
readonly name: "SetIsMigratorAllowed";
|
|
6192
5886
|
readonly type: "event";
|
|
6193
5887
|
}, {
|
|
6194
5888
|
readonly anonymous: false;
|
|
@@ -6538,25 +6232,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
6538
6232
|
readonly name: "isAllowed";
|
|
6539
6233
|
readonly type: "bool";
|
|
6540
6234
|
}];
|
|
6541
|
-
readonly name: "SetIsMigratorAllowed";
|
|
6542
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
6543
|
-
* the transaction but returns two methods namely `transact` and
|
|
6544
|
-
* `estimate`.
|
|
6545
|
-
*
|
|
6546
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
6547
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
6548
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
6549
|
-
*
|
|
6550
|
-
* @param token Token to deposit.
|
|
6551
|
-
* @param walletAddress Wallet address to take the token from.
|
|
6552
|
-
* @param value Value in wei of the token to deposit.
|
|
6553
|
-
* @param referralCode Referral code for the deposit.
|
|
6554
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
6555
|
-
* transaction.
|
|
6556
|
-
*
|
|
6557
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
6558
|
-
* transaction.
|
|
6559
|
-
*/
|
|
6235
|
+
readonly name: "SetIsMigratorAllowed";
|
|
6560
6236
|
readonly type: "event";
|
|
6561
6237
|
}, {
|
|
6562
6238
|
readonly anonymous: false;
|
|
@@ -6907,25 +6583,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
6907
6583
|
readonly name: "isAllowed";
|
|
6908
6584
|
readonly type: "bool";
|
|
6909
6585
|
}];
|
|
6910
|
-
readonly name: "SetIsMigratorAllowed";
|
|
6911
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
6912
|
-
* the transaction but returns two methods namely `transact` and
|
|
6913
|
-
* `estimate`.
|
|
6914
|
-
*
|
|
6915
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
6916
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
6917
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
6918
|
-
*
|
|
6919
|
-
* @param token Token to deposit.
|
|
6920
|
-
* @param walletAddress Wallet address to take the token from.
|
|
6921
|
-
* @param value Value in wei of the token to deposit.
|
|
6922
|
-
* @param referralCode Referral code for the deposit.
|
|
6923
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
6924
|
-
* transaction.
|
|
6925
|
-
*
|
|
6926
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
6927
|
-
* transaction.
|
|
6928
|
-
*/
|
|
6586
|
+
readonly name: "SetIsMigratorAllowed";
|
|
6929
6587
|
readonly type: "event";
|
|
6930
6588
|
}, {
|
|
6931
6589
|
readonly anonymous: false;
|
|
@@ -7275,25 +6933,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
7275
6933
|
readonly name: "isAllowed";
|
|
7276
6934
|
readonly type: "bool";
|
|
7277
6935
|
}];
|
|
7278
|
-
readonly name: "SetIsMigratorAllowed";
|
|
7279
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
7280
|
-
* the transaction but returns two methods namely `transact` and
|
|
7281
|
-
* `estimate`.
|
|
7282
|
-
*
|
|
7283
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
7284
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
7285
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
7286
|
-
*
|
|
7287
|
-
* @param token Token to deposit.
|
|
7288
|
-
* @param walletAddress Wallet address to take the token from.
|
|
7289
|
-
* @param value Value in wei of the token to deposit.
|
|
7290
|
-
* @param referralCode Referral code for the deposit.
|
|
7291
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
7292
|
-
* transaction.
|
|
7293
|
-
*
|
|
7294
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
7295
|
-
* transaction.
|
|
7296
|
-
*/
|
|
6936
|
+
readonly name: "SetIsMigratorAllowed";
|
|
7297
6937
|
readonly type: "event";
|
|
7298
6938
|
}, {
|
|
7299
6939
|
readonly anonymous: false;
|
|
@@ -7644,25 +7284,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
7644
7284
|
readonly name: "isAllowed";
|
|
7645
7285
|
readonly type: "bool";
|
|
7646
7286
|
}];
|
|
7647
|
-
readonly name: "SetIsMigratorAllowed";
|
|
7648
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
7649
|
-
* the transaction but returns two methods namely `transact` and
|
|
7650
|
-
* `estimate`.
|
|
7651
|
-
*
|
|
7652
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
7653
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
7654
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
7655
|
-
*
|
|
7656
|
-
* @param token Token to deposit.
|
|
7657
|
-
* @param walletAddress Wallet address to take the token from.
|
|
7658
|
-
* @param value Value in wei of the token to deposit.
|
|
7659
|
-
* @param referralCode Referral code for the deposit.
|
|
7660
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
7661
|
-
* transaction.
|
|
7662
|
-
*
|
|
7663
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
7664
|
-
* transaction.
|
|
7665
|
-
*/
|
|
7287
|
+
readonly name: "SetIsMigratorAllowed";
|
|
7666
7288
|
readonly type: "event";
|
|
7667
7289
|
}, {
|
|
7668
7290
|
readonly anonymous: false;
|
|
@@ -8012,25 +7634,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
8012
7634
|
readonly name: "isAllowed";
|
|
8013
7635
|
readonly type: "bool";
|
|
8014
7636
|
}];
|
|
8015
|
-
readonly name: "SetIsMigratorAllowed";
|
|
8016
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
8017
|
-
* the transaction but returns two methods namely `transact` and
|
|
8018
|
-
* `estimate`.
|
|
8019
|
-
*
|
|
8020
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
8021
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
8022
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
8023
|
-
*
|
|
8024
|
-
* @param token Token to deposit.
|
|
8025
|
-
* @param walletAddress Wallet address to take the token from.
|
|
8026
|
-
* @param value Value in wei of the token to deposit.
|
|
8027
|
-
* @param referralCode Referral code for the deposit.
|
|
8028
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
8029
|
-
* transaction.
|
|
8030
|
-
*
|
|
8031
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
8032
|
-
* transaction.
|
|
8033
|
-
*/
|
|
7637
|
+
readonly name: "SetIsMigratorAllowed";
|
|
8034
7638
|
readonly type: "event";
|
|
8035
7639
|
}, {
|
|
8036
7640
|
readonly anonymous: false;
|
|
@@ -8381,25 +7985,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
8381
7985
|
readonly name: "isAllowed";
|
|
8382
7986
|
readonly type: "bool";
|
|
8383
7987
|
}];
|
|
8384
|
-
readonly name: "SetIsMigratorAllowed";
|
|
8385
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
8386
|
-
* the transaction but returns two methods namely `transact` and
|
|
8387
|
-
* `estimate`.
|
|
8388
|
-
*
|
|
8389
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
8390
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
8391
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
8392
|
-
*
|
|
8393
|
-
* @param token Token to deposit.
|
|
8394
|
-
* @param walletAddress Wallet address to take the token from.
|
|
8395
|
-
* @param value Value in wei of the token to deposit.
|
|
8396
|
-
* @param referralCode Referral code for the deposit.
|
|
8397
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
8398
|
-
* transaction.
|
|
8399
|
-
*
|
|
8400
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
8401
|
-
* transaction.
|
|
8402
|
-
*/
|
|
7988
|
+
readonly name: "SetIsMigratorAllowed";
|
|
8403
7989
|
readonly type: "event";
|
|
8404
7990
|
}, {
|
|
8405
7991
|
readonly anonymous: false;
|
|
@@ -8749,25 +8335,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
8749
8335
|
readonly name: "isAllowed";
|
|
8750
8336
|
readonly type: "bool";
|
|
8751
8337
|
}];
|
|
8752
|
-
readonly name: "SetIsMigratorAllowed";
|
|
8753
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
8754
|
-
* the transaction but returns two methods namely `transact` and
|
|
8755
|
-
* `estimate`.
|
|
8756
|
-
*
|
|
8757
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
8758
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
8759
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
8760
|
-
*
|
|
8761
|
-
* @param token Token to deposit.
|
|
8762
|
-
* @param walletAddress Wallet address to take the token from.
|
|
8763
|
-
* @param value Value in wei of the token to deposit.
|
|
8764
|
-
* @param referralCode Referral code for the deposit.
|
|
8765
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
8766
|
-
* transaction.
|
|
8767
|
-
*
|
|
8768
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
8769
|
-
* transaction.
|
|
8770
|
-
*/
|
|
8338
|
+
readonly name: "SetIsMigratorAllowed";
|
|
8771
8339
|
readonly type: "event";
|
|
8772
8340
|
}, {
|
|
8773
8341
|
readonly anonymous: false;
|
|
@@ -9118,25 +8686,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
9118
8686
|
readonly name: "isAllowed";
|
|
9119
8687
|
readonly type: "bool";
|
|
9120
8688
|
}];
|
|
9121
|
-
readonly name: "SetIsMigratorAllowed";
|
|
9122
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
9123
|
-
* the transaction but returns two methods namely `transact` and
|
|
9124
|
-
* `estimate`.
|
|
9125
|
-
*
|
|
9126
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
9127
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
9128
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
9129
|
-
*
|
|
9130
|
-
* @param token Token to deposit.
|
|
9131
|
-
* @param walletAddress Wallet address to take the token from.
|
|
9132
|
-
* @param value Value in wei of the token to deposit.
|
|
9133
|
-
* @param referralCode Referral code for the deposit.
|
|
9134
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
9135
|
-
* transaction.
|
|
9136
|
-
*
|
|
9137
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
9138
|
-
* transaction.
|
|
9139
|
-
*/
|
|
8689
|
+
readonly name: "SetIsMigratorAllowed";
|
|
9140
8690
|
readonly type: "event";
|
|
9141
8691
|
}, {
|
|
9142
8692
|
readonly anonymous: false;
|
|
@@ -9486,25 +9036,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
9486
9036
|
readonly name: "isAllowed";
|
|
9487
9037
|
readonly type: "bool";
|
|
9488
9038
|
}];
|
|
9489
|
-
readonly name: "SetIsMigratorAllowed";
|
|
9490
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
9491
|
-
* the transaction but returns two methods namely `transact` and
|
|
9492
|
-
* `estimate`.
|
|
9493
|
-
*
|
|
9494
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
9495
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
9496
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
9497
|
-
*
|
|
9498
|
-
* @param token Token to deposit.
|
|
9499
|
-
* @param walletAddress Wallet address to take the token from.
|
|
9500
|
-
* @param value Value in wei of the token to deposit.
|
|
9501
|
-
* @param referralCode Referral code for the deposit.
|
|
9502
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
9503
|
-
* transaction.
|
|
9504
|
-
*
|
|
9505
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
9506
|
-
* transaction.
|
|
9507
|
-
*/
|
|
9039
|
+
readonly name: "SetIsMigratorAllowed";
|
|
9508
9040
|
readonly type: "event";
|
|
9509
9041
|
}, {
|
|
9510
9042
|
readonly anonymous: false;
|
|
@@ -9855,25 +9387,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
9855
9387
|
readonly name: "isAllowed";
|
|
9856
9388
|
readonly type: "bool";
|
|
9857
9389
|
}];
|
|
9858
|
-
readonly name: "SetIsMigratorAllowed";
|
|
9859
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
9860
|
-
* the transaction but returns two methods namely `transact` and
|
|
9861
|
-
* `estimate`.
|
|
9862
|
-
*
|
|
9863
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
9864
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
9865
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
9866
|
-
*
|
|
9867
|
-
* @param token Token to deposit.
|
|
9868
|
-
* @param walletAddress Wallet address to take the token from.
|
|
9869
|
-
* @param value Value in wei of the token to deposit.
|
|
9870
|
-
* @param referralCode Referral code for the deposit.
|
|
9871
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
9872
|
-
* transaction.
|
|
9873
|
-
*
|
|
9874
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
9875
|
-
* transaction.
|
|
9876
|
-
*/
|
|
9390
|
+
readonly name: "SetIsMigratorAllowed";
|
|
9877
9391
|
readonly type: "event";
|
|
9878
9392
|
}, {
|
|
9879
9393
|
readonly anonymous: false;
|
|
@@ -10223,25 +9737,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
10223
9737
|
readonly name: "isAllowed";
|
|
10224
9738
|
readonly type: "bool";
|
|
10225
9739
|
}];
|
|
10226
|
-
readonly name: "SetIsMigratorAllowed";
|
|
10227
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
10228
|
-
* the transaction but returns two methods namely `transact` and
|
|
10229
|
-
* `estimate`.
|
|
10230
|
-
*
|
|
10231
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
10232
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
10233
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
10234
|
-
*
|
|
10235
|
-
* @param token Token to deposit.
|
|
10236
|
-
* @param walletAddress Wallet address to take the token from.
|
|
10237
|
-
* @param value Value in wei of the token to deposit.
|
|
10238
|
-
* @param referralCode Referral code for the deposit.
|
|
10239
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
10240
|
-
* transaction.
|
|
10241
|
-
*
|
|
10242
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
10243
|
-
* transaction.
|
|
10244
|
-
*/
|
|
9740
|
+
readonly name: "SetIsMigratorAllowed";
|
|
10245
9741
|
readonly type: "event";
|
|
10246
9742
|
}, {
|
|
10247
9743
|
readonly anonymous: false;
|
|
@@ -10599,25 +10095,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
10599
10095
|
readonly name: "isAllowed";
|
|
10600
10096
|
readonly type: "bool";
|
|
10601
10097
|
}];
|
|
10602
|
-
readonly name: "SetIsMigratorAllowed";
|
|
10603
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
10604
|
-
* the transaction but returns two methods namely `transact` and
|
|
10605
|
-
* `estimate`.
|
|
10606
|
-
*
|
|
10607
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
10608
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
10609
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
10610
|
-
*
|
|
10611
|
-
* @param token Token to deposit.
|
|
10612
|
-
* @param walletAddress Wallet address to take the token from.
|
|
10613
|
-
* @param value Value in wei of the token to deposit.
|
|
10614
|
-
* @param referralCode Referral code for the deposit.
|
|
10615
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
10616
|
-
* transaction.
|
|
10617
|
-
*
|
|
10618
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
10619
|
-
* transaction.
|
|
10620
|
-
*/
|
|
10098
|
+
readonly name: "SetIsMigratorAllowed";
|
|
10621
10099
|
readonly type: "event";
|
|
10622
10100
|
}, {
|
|
10623
10101
|
readonly anonymous: false;
|
|
@@ -10981,25 +10459,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
10981
10459
|
readonly name: "isAllowed";
|
|
10982
10460
|
readonly type: "bool";
|
|
10983
10461
|
}];
|
|
10984
|
-
readonly name: "SetIsMigratorAllowed";
|
|
10985
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
10986
|
-
* the transaction but returns two methods namely `transact` and
|
|
10987
|
-
* `estimate`.
|
|
10988
|
-
*
|
|
10989
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
10990
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
10991
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
10992
|
-
*
|
|
10993
|
-
* @param token Token to deposit.
|
|
10994
|
-
* @param walletAddress Wallet address to take the token from.
|
|
10995
|
-
* @param value Value in wei of the token to deposit.
|
|
10996
|
-
* @param referralCode Referral code for the deposit.
|
|
10997
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
10998
|
-
* transaction.
|
|
10999
|
-
*
|
|
11000
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
11001
|
-
* transaction.
|
|
11002
|
-
*/
|
|
10462
|
+
readonly name: "SetIsMigratorAllowed";
|
|
11003
10463
|
readonly type: "event";
|
|
11004
10464
|
}, {
|
|
11005
10465
|
readonly anonymous: false;
|
|
@@ -11371,25 +10831,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
11371
10831
|
readonly name: "isAllowed";
|
|
11372
10832
|
readonly type: "bool";
|
|
11373
10833
|
}];
|
|
11374
|
-
readonly name: "SetIsMigratorAllowed";
|
|
11375
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
11376
|
-
* the transaction but returns two methods namely `transact` and
|
|
11377
|
-
* `estimate`.
|
|
11378
|
-
*
|
|
11379
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
11380
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
11381
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
11382
|
-
*
|
|
11383
|
-
* @param token Token to deposit.
|
|
11384
|
-
* @param walletAddress Wallet address to take the token from.
|
|
11385
|
-
* @param value Value in wei of the token to deposit.
|
|
11386
|
-
* @param referralCode Referral code for the deposit.
|
|
11387
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
11388
|
-
* transaction.
|
|
11389
|
-
*
|
|
11390
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
11391
|
-
* transaction.
|
|
11392
|
-
*/
|
|
10834
|
+
readonly name: "SetIsMigratorAllowed";
|
|
11393
10835
|
readonly type: "event";
|
|
11394
10836
|
}, {
|
|
11395
10837
|
readonly anonymous: false;
|
|
@@ -11753,25 +11195,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
11753
11195
|
readonly name: "isAllowed";
|
|
11754
11196
|
readonly type: "bool";
|
|
11755
11197
|
}];
|
|
11756
|
-
readonly name: "SetIsMigratorAllowed";
|
|
11757
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
11758
|
-
* the transaction but returns two methods namely `transact` and
|
|
11759
|
-
* `estimate`.
|
|
11760
|
-
*
|
|
11761
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
11762
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
11763
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
11764
|
-
*
|
|
11765
|
-
* @param token Token to deposit.
|
|
11766
|
-
* @param walletAddress Wallet address to take the token from.
|
|
11767
|
-
* @param value Value in wei of the token to deposit.
|
|
11768
|
-
* @param referralCode Referral code for the deposit.
|
|
11769
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
11770
|
-
* transaction.
|
|
11771
|
-
*
|
|
11772
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
11773
|
-
* transaction.
|
|
11774
|
-
*/
|
|
11198
|
+
readonly name: "SetIsMigratorAllowed";
|
|
11775
11199
|
readonly type: "event";
|
|
11776
11200
|
}, {
|
|
11777
11201
|
readonly anonymous: false;
|
|
@@ -12135,25 +11559,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
12135
11559
|
readonly name: "isAllowed";
|
|
12136
11560
|
readonly type: "bool";
|
|
12137
11561
|
}];
|
|
12138
|
-
readonly name: "SetIsMigratorAllowed";
|
|
12139
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
12140
|
-
* the transaction but returns two methods namely `transact` and
|
|
12141
|
-
* `estimate`.
|
|
12142
|
-
*
|
|
12143
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
12144
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
12145
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
12146
|
-
*
|
|
12147
|
-
* @param token Token to deposit.
|
|
12148
|
-
* @param walletAddress Wallet address to take the token from.
|
|
12149
|
-
* @param value Value in wei of the token to deposit.
|
|
12150
|
-
* @param referralCode Referral code for the deposit.
|
|
12151
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
12152
|
-
* transaction.
|
|
12153
|
-
*
|
|
12154
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
12155
|
-
* transaction.
|
|
12156
|
-
*/
|
|
11562
|
+
readonly name: "SetIsMigratorAllowed";
|
|
12157
11563
|
readonly type: "event";
|
|
12158
11564
|
}, {
|
|
12159
11565
|
readonly anonymous: false;
|
|
@@ -12517,25 +11923,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
12517
11923
|
readonly name: "isAllowed";
|
|
12518
11924
|
readonly type: "bool";
|
|
12519
11925
|
}];
|
|
12520
|
-
readonly name: "SetIsMigratorAllowed";
|
|
12521
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
12522
|
-
* the transaction but returns two methods namely `transact` and
|
|
12523
|
-
* `estimate`.
|
|
12524
|
-
*
|
|
12525
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
12526
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
12527
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
12528
|
-
*
|
|
12529
|
-
* @param token Token to deposit.
|
|
12530
|
-
* @param walletAddress Wallet address to take the token from.
|
|
12531
|
-
* @param value Value in wei of the token to deposit.
|
|
12532
|
-
* @param referralCode Referral code for the deposit.
|
|
12533
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
12534
|
-
* transaction.
|
|
12535
|
-
*
|
|
12536
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
12537
|
-
* transaction.
|
|
12538
|
-
*/
|
|
11926
|
+
readonly name: "SetIsMigratorAllowed";
|
|
12539
11927
|
readonly type: "event";
|
|
12540
11928
|
}, {
|
|
12541
11929
|
readonly anonymous: false;
|
|
@@ -12893,25 +12281,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
12893
12281
|
readonly name: "isAllowed";
|
|
12894
12282
|
readonly type: "bool";
|
|
12895
12283
|
}];
|
|
12896
|
-
readonly name: "SetIsMigratorAllowed";
|
|
12897
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
12898
|
-
* the transaction but returns two methods namely `transact` and
|
|
12899
|
-
* `estimate`.
|
|
12900
|
-
*
|
|
12901
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
12902
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
12903
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
12904
|
-
*
|
|
12905
|
-
* @param token Token to deposit.
|
|
12906
|
-
* @param walletAddress Wallet address to take the token from.
|
|
12907
|
-
* @param value Value in wei of the token to deposit.
|
|
12908
|
-
* @param referralCode Referral code for the deposit.
|
|
12909
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
12910
|
-
* transaction.
|
|
12911
|
-
*
|
|
12912
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
12913
|
-
* transaction.
|
|
12914
|
-
*/
|
|
12284
|
+
readonly name: "SetIsMigratorAllowed";
|
|
12915
12285
|
readonly type: "event";
|
|
12916
12286
|
}, {
|
|
12917
12287
|
readonly anonymous: false;
|
|
@@ -13269,25 +12639,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
13269
12639
|
readonly name: "isAllowed";
|
|
13270
12640
|
readonly type: "bool";
|
|
13271
12641
|
}];
|
|
13272
|
-
readonly name: "SetIsMigratorAllowed";
|
|
13273
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
13274
|
-
* the transaction but returns two methods namely `transact` and
|
|
13275
|
-
* `estimate`.
|
|
13276
|
-
*
|
|
13277
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
13278
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
13279
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
13280
|
-
*
|
|
13281
|
-
* @param token Token to deposit.
|
|
13282
|
-
* @param walletAddress Wallet address to take the token from.
|
|
13283
|
-
* @param value Value in wei of the token to deposit.
|
|
13284
|
-
* @param referralCode Referral code for the deposit.
|
|
13285
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
13286
|
-
* transaction.
|
|
13287
|
-
*
|
|
13288
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
13289
|
-
* transaction.
|
|
13290
|
-
*/
|
|
12642
|
+
readonly name: "SetIsMigratorAllowed";
|
|
13291
12643
|
readonly type: "event";
|
|
13292
12644
|
}, {
|
|
13293
12645
|
readonly anonymous: false;
|
|
@@ -13647,25 +12999,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
13647
12999
|
readonly name: "isAllowed";
|
|
13648
13000
|
readonly type: "bool";
|
|
13649
13001
|
}];
|
|
13650
|
-
readonly name: "SetIsMigratorAllowed";
|
|
13651
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
13652
|
-
* the transaction but returns two methods namely `transact` and
|
|
13653
|
-
* `estimate`.
|
|
13654
|
-
*
|
|
13655
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
13656
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
13657
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
13658
|
-
*
|
|
13659
|
-
* @param token Token to deposit.
|
|
13660
|
-
* @param walletAddress Wallet address to take the token from.
|
|
13661
|
-
* @param value Value in wei of the token to deposit.
|
|
13662
|
-
* @param referralCode Referral code for the deposit.
|
|
13663
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
13664
|
-
* transaction.
|
|
13665
|
-
*
|
|
13666
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
13667
|
-
* transaction.
|
|
13668
|
-
*/
|
|
13002
|
+
readonly name: "SetIsMigratorAllowed";
|
|
13669
13003
|
readonly type: "event";
|
|
13670
13004
|
}, {
|
|
13671
13005
|
readonly anonymous: false;
|
|
@@ -14023,25 +13357,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
14023
13357
|
readonly name: "isAllowed";
|
|
14024
13358
|
readonly type: "bool";
|
|
14025
13359
|
}];
|
|
14026
|
-
readonly name: "SetIsMigratorAllowed";
|
|
14027
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
14028
|
-
* the transaction but returns two methods namely `transact` and
|
|
14029
|
-
* `estimate`.
|
|
14030
|
-
*
|
|
14031
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
14032
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
14033
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
14034
|
-
*
|
|
14035
|
-
* @param token Token to deposit.
|
|
14036
|
-
* @param walletAddress Wallet address to take the token from.
|
|
14037
|
-
* @param value Value in wei of the token to deposit.
|
|
14038
|
-
* @param referralCode Referral code for the deposit.
|
|
14039
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
14040
|
-
* transaction.
|
|
14041
|
-
*
|
|
14042
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
14043
|
-
* transaction.
|
|
14044
|
-
*/
|
|
13360
|
+
readonly name: "SetIsMigratorAllowed";
|
|
14045
13361
|
readonly type: "event";
|
|
14046
13362
|
}, {
|
|
14047
13363
|
readonly anonymous: false;
|
|
@@ -14399,25 +13715,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
14399
13715
|
readonly name: "isAllowed";
|
|
14400
13716
|
readonly type: "bool";
|
|
14401
13717
|
}];
|
|
14402
|
-
readonly name: "SetIsMigratorAllowed";
|
|
14403
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
14404
|
-
* the transaction but returns two methods namely `transact` and
|
|
14405
|
-
* `estimate`.
|
|
14406
|
-
*
|
|
14407
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
14408
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
14409
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
14410
|
-
*
|
|
14411
|
-
* @param token Token to deposit.
|
|
14412
|
-
* @param walletAddress Wallet address to take the token from.
|
|
14413
|
-
* @param value Value in wei of the token to deposit.
|
|
14414
|
-
* @param referralCode Referral code for the deposit.
|
|
14415
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
14416
|
-
* transaction.
|
|
14417
|
-
*
|
|
14418
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
14419
|
-
* transaction.
|
|
14420
|
-
*/
|
|
13718
|
+
readonly name: "SetIsMigratorAllowed";
|
|
14421
13719
|
readonly type: "event";
|
|
14422
13720
|
}, {
|
|
14423
13721
|
readonly anonymous: false;
|
|
@@ -14775,25 +14073,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
14775
14073
|
readonly name: "isAllowed";
|
|
14776
14074
|
readonly type: "bool";
|
|
14777
14075
|
}];
|
|
14778
|
-
readonly name: "SetIsMigratorAllowed";
|
|
14779
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
14780
|
-
* the transaction but returns two methods namely `transact` and
|
|
14781
|
-
* `estimate`.
|
|
14782
|
-
*
|
|
14783
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
14784
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
14785
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
14786
|
-
*
|
|
14787
|
-
* @param token Token to deposit.
|
|
14788
|
-
* @param walletAddress Wallet address to take the token from.
|
|
14789
|
-
* @param value Value in wei of the token to deposit.
|
|
14790
|
-
* @param referralCode Referral code for the deposit.
|
|
14791
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
14792
|
-
* transaction.
|
|
14793
|
-
*
|
|
14794
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
14795
|
-
* transaction.
|
|
14796
|
-
*/
|
|
14076
|
+
readonly name: "SetIsMigratorAllowed";
|
|
14797
14077
|
readonly type: "event";
|
|
14798
14078
|
}, {
|
|
14799
14079
|
readonly anonymous: false;
|
|
@@ -15152,25 +14432,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
15152
14432
|
readonly name: "isAllowed";
|
|
15153
14433
|
readonly type: "bool";
|
|
15154
14434
|
}];
|
|
15155
|
-
readonly name: "SetIsMigratorAllowed";
|
|
15156
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
15157
|
-
* the transaction but returns two methods namely `transact` and
|
|
15158
|
-
* `estimate`.
|
|
15159
|
-
*
|
|
15160
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
15161
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
15162
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
15163
|
-
*
|
|
15164
|
-
* @param token Token to deposit.
|
|
15165
|
-
* @param walletAddress Wallet address to take the token from.
|
|
15166
|
-
* @param value Value in wei of the token to deposit.
|
|
15167
|
-
* @param referralCode Referral code for the deposit.
|
|
15168
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
15169
|
-
* transaction.
|
|
15170
|
-
*
|
|
15171
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
15172
|
-
* transaction.
|
|
15173
|
-
*/
|
|
14435
|
+
readonly name: "SetIsMigratorAllowed";
|
|
15174
14436
|
readonly type: "event";
|
|
15175
14437
|
}, {
|
|
15176
14438
|
readonly anonymous: false;
|
|
@@ -15531,25 +14793,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
15531
14793
|
readonly name: "isAllowed";
|
|
15532
14794
|
readonly type: "bool";
|
|
15533
14795
|
}];
|
|
15534
|
-
readonly name: "SetIsMigratorAllowed";
|
|
15535
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
15536
|
-
* the transaction but returns two methods namely `transact` and
|
|
15537
|
-
* `estimate`.
|
|
15538
|
-
*
|
|
15539
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
15540
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
15541
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
15542
|
-
*
|
|
15543
|
-
* @param token Token to deposit.
|
|
15544
|
-
* @param walletAddress Wallet address to take the token from.
|
|
15545
|
-
* @param value Value in wei of the token to deposit.
|
|
15546
|
-
* @param referralCode Referral code for the deposit.
|
|
15547
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
15548
|
-
* transaction.
|
|
15549
|
-
*
|
|
15550
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
15551
|
-
* transaction.
|
|
15552
|
-
*/
|
|
14796
|
+
readonly name: "SetIsMigratorAllowed";
|
|
15553
14797
|
readonly type: "event";
|
|
15554
14798
|
}, {
|
|
15555
14799
|
readonly anonymous: false;
|
|
@@ -15912,25 +15156,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
15912
15156
|
readonly name: "isAllowed";
|
|
15913
15157
|
readonly type: "bool";
|
|
15914
15158
|
}];
|
|
15915
|
-
readonly name: "SetIsMigratorAllowed";
|
|
15916
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
15917
|
-
* the transaction but returns two methods namely `transact` and
|
|
15918
|
-
* `estimate`.
|
|
15919
|
-
*
|
|
15920
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
15921
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
15922
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
15923
|
-
*
|
|
15924
|
-
* @param token Token to deposit.
|
|
15925
|
-
* @param walletAddress Wallet address to take the token from.
|
|
15926
|
-
* @param value Value in wei of the token to deposit.
|
|
15927
|
-
* @param referralCode Referral code for the deposit.
|
|
15928
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
15929
|
-
* transaction.
|
|
15930
|
-
*
|
|
15931
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
15932
|
-
* transaction.
|
|
15933
|
-
*/
|
|
15159
|
+
readonly name: "SetIsMigratorAllowed";
|
|
15934
15160
|
readonly type: "event";
|
|
15935
15161
|
}, {
|
|
15936
15162
|
readonly anonymous: false;
|
|
@@ -16291,25 +15517,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
16291
15517
|
readonly name: "isAllowed";
|
|
16292
15518
|
readonly type: "bool";
|
|
16293
15519
|
}];
|
|
16294
|
-
readonly name: "SetIsMigratorAllowed";
|
|
16295
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
16296
|
-
* the transaction but returns two methods namely `transact` and
|
|
16297
|
-
* `estimate`.
|
|
16298
|
-
*
|
|
16299
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
16300
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
16301
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
16302
|
-
*
|
|
16303
|
-
* @param token Token to deposit.
|
|
16304
|
-
* @param walletAddress Wallet address to take the token from.
|
|
16305
|
-
* @param value Value in wei of the token to deposit.
|
|
16306
|
-
* @param referralCode Referral code for the deposit.
|
|
16307
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
16308
|
-
* transaction.
|
|
16309
|
-
*
|
|
16310
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
16311
|
-
* transaction.
|
|
16312
|
-
*/
|
|
15520
|
+
readonly name: "SetIsMigratorAllowed";
|
|
16313
15521
|
readonly type: "event";
|
|
16314
15522
|
}, {
|
|
16315
15523
|
readonly anonymous: false;
|
|
@@ -16670,25 +15878,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
16670
15878
|
readonly name: "isAllowed";
|
|
16671
15879
|
readonly type: "bool";
|
|
16672
15880
|
}];
|
|
16673
|
-
readonly name: "SetIsMigratorAllowed";
|
|
16674
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
16675
|
-
* the transaction but returns two methods namely `transact` and
|
|
16676
|
-
* `estimate`.
|
|
16677
|
-
*
|
|
16678
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
16679
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
16680
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
16681
|
-
*
|
|
16682
|
-
* @param token Token to deposit.
|
|
16683
|
-
* @param walletAddress Wallet address to take the token from.
|
|
16684
|
-
* @param value Value in wei of the token to deposit.
|
|
16685
|
-
* @param referralCode Referral code for the deposit.
|
|
16686
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
16687
|
-
* transaction.
|
|
16688
|
-
*
|
|
16689
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
16690
|
-
* transaction.
|
|
16691
|
-
*/
|
|
15881
|
+
readonly name: "SetIsMigratorAllowed";
|
|
16692
15882
|
readonly type: "event";
|
|
16693
15883
|
}, {
|
|
16694
15884
|
readonly anonymous: false;
|
|
@@ -17049,25 +16239,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
17049
16239
|
readonly name: "isAllowed";
|
|
17050
16240
|
readonly type: "bool";
|
|
17051
16241
|
}];
|
|
17052
|
-
readonly name: "SetIsMigratorAllowed";
|
|
17053
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
17054
|
-
* the transaction but returns two methods namely `transact` and
|
|
17055
|
-
* `estimate`.
|
|
17056
|
-
*
|
|
17057
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
17058
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
17059
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
17060
|
-
*
|
|
17061
|
-
* @param token Token to deposit.
|
|
17062
|
-
* @param walletAddress Wallet address to take the token from.
|
|
17063
|
-
* @param value Value in wei of the token to deposit.
|
|
17064
|
-
* @param referralCode Referral code for the deposit.
|
|
17065
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
17066
|
-
* transaction.
|
|
17067
|
-
*
|
|
17068
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
17069
|
-
* transaction.
|
|
17070
|
-
*/
|
|
16242
|
+
readonly name: "SetIsMigratorAllowed";
|
|
17071
16243
|
readonly type: "event";
|
|
17072
16244
|
}, {
|
|
17073
16245
|
readonly anonymous: false;
|
|
@@ -17422,25 +16594,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
17422
16594
|
readonly name: "isAllowed";
|
|
17423
16595
|
readonly type: "bool";
|
|
17424
16596
|
}];
|
|
17425
|
-
readonly name: "SetIsMigratorAllowed";
|
|
17426
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
17427
|
-
* the transaction but returns two methods namely `transact` and
|
|
17428
|
-
* `estimate`.
|
|
17429
|
-
*
|
|
17430
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
17431
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
17432
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
17433
|
-
*
|
|
17434
|
-
* @param token Token to deposit.
|
|
17435
|
-
* @param walletAddress Wallet address to take the token from.
|
|
17436
|
-
* @param value Value in wei of the token to deposit.
|
|
17437
|
-
* @param referralCode Referral code for the deposit.
|
|
17438
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
17439
|
-
* transaction.
|
|
17440
|
-
*
|
|
17441
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
17442
|
-
* transaction.
|
|
17443
|
-
*/
|
|
16597
|
+
readonly name: "SetIsMigratorAllowed";
|
|
17444
16598
|
readonly type: "event";
|
|
17445
16599
|
}, {
|
|
17446
16600
|
readonly anonymous: false;
|
|
@@ -17796,25 +16950,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
17796
16950
|
readonly name: "isAllowed";
|
|
17797
16951
|
readonly type: "bool";
|
|
17798
16952
|
}];
|
|
17799
|
-
readonly name: "SetIsMigratorAllowed";
|
|
17800
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
17801
|
-
* the transaction but returns two methods namely `transact` and
|
|
17802
|
-
* `estimate`.
|
|
17803
|
-
*
|
|
17804
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
17805
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
17806
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
17807
|
-
*
|
|
17808
|
-
* @param token Token to deposit.
|
|
17809
|
-
* @param walletAddress Wallet address to take the token from.
|
|
17810
|
-
* @param value Value in wei of the token to deposit.
|
|
17811
|
-
* @param referralCode Referral code for the deposit.
|
|
17812
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
17813
|
-
* transaction.
|
|
17814
|
-
*
|
|
17815
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
17816
|
-
* transaction.
|
|
17817
|
-
*/
|
|
16953
|
+
readonly name: "SetIsMigratorAllowed";
|
|
17818
16954
|
readonly type: "event";
|
|
17819
16955
|
}, {
|
|
17820
16956
|
readonly anonymous: false;
|
|
@@ -18177,25 +17313,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
18177
17313
|
readonly name: "isAllowed";
|
|
18178
17314
|
readonly type: "bool";
|
|
18179
17315
|
}];
|
|
18180
|
-
readonly name: "SetIsMigratorAllowed";
|
|
18181
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
18182
|
-
* the transaction but returns two methods namely `transact` and
|
|
18183
|
-
* `estimate`.
|
|
18184
|
-
*
|
|
18185
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
18186
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
18187
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
18188
|
-
*
|
|
18189
|
-
* @param token Token to deposit.
|
|
18190
|
-
* @param walletAddress Wallet address to take the token from.
|
|
18191
|
-
* @param value Value in wei of the token to deposit.
|
|
18192
|
-
* @param referralCode Referral code for the deposit.
|
|
18193
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
18194
|
-
* transaction.
|
|
18195
|
-
*
|
|
18196
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
18197
|
-
* transaction.
|
|
18198
|
-
*/
|
|
17316
|
+
readonly name: "SetIsMigratorAllowed";
|
|
18199
17317
|
readonly type: "event";
|
|
18200
17318
|
}, {
|
|
18201
17319
|
readonly anonymous: false;
|
|
@@ -18545,25 +17663,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
18545
17663
|
readonly name: "isAllowed";
|
|
18546
17664
|
readonly type: "bool";
|
|
18547
17665
|
}];
|
|
18548
|
-
readonly name: "SetIsMigratorAllowed";
|
|
18549
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
18550
|
-
* the transaction but returns two methods namely `transact` and
|
|
18551
|
-
* `estimate`.
|
|
18552
|
-
*
|
|
18553
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
18554
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
18555
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
18556
|
-
*
|
|
18557
|
-
* @param token Token to deposit.
|
|
18558
|
-
* @param walletAddress Wallet address to take the token from.
|
|
18559
|
-
* @param value Value in wei of the token to deposit.
|
|
18560
|
-
* @param referralCode Referral code for the deposit.
|
|
18561
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
18562
|
-
* transaction.
|
|
18563
|
-
*
|
|
18564
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
18565
|
-
* transaction.
|
|
18566
|
-
*/
|
|
17666
|
+
readonly name: "SetIsMigratorAllowed";
|
|
18567
17667
|
readonly type: "event";
|
|
18568
17668
|
}, {
|
|
18569
17669
|
readonly anonymous: false;
|
|
@@ -18914,25 +18014,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
18914
18014
|
readonly name: "isAllowed";
|
|
18915
18015
|
readonly type: "bool";
|
|
18916
18016
|
}];
|
|
18917
|
-
readonly name: "SetIsMigratorAllowed";
|
|
18918
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
18919
|
-
* the transaction but returns two methods namely `transact` and
|
|
18920
|
-
* `estimate`.
|
|
18921
|
-
*
|
|
18922
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
18923
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
18924
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
18925
|
-
*
|
|
18926
|
-
* @param token Token to deposit.
|
|
18927
|
-
* @param walletAddress Wallet address to take the token from.
|
|
18928
|
-
* @param value Value in wei of the token to deposit.
|
|
18929
|
-
* @param referralCode Referral code for the deposit.
|
|
18930
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
18931
|
-
* transaction.
|
|
18932
|
-
*
|
|
18933
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
18934
|
-
* transaction.
|
|
18935
|
-
*/
|
|
18017
|
+
readonly name: "SetIsMigratorAllowed";
|
|
18936
18018
|
readonly type: "event";
|
|
18937
18019
|
}, {
|
|
18938
18020
|
readonly anonymous: false;
|
|
@@ -19282,25 +18364,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
19282
18364
|
readonly name: "isAllowed";
|
|
19283
18365
|
readonly type: "bool";
|
|
19284
18366
|
}];
|
|
19285
|
-
readonly name: "SetIsMigratorAllowed";
|
|
19286
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
19287
|
-
* the transaction but returns two methods namely `transact` and
|
|
19288
|
-
* `estimate`.
|
|
19289
|
-
*
|
|
19290
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
19291
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
19292
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
19293
|
-
*
|
|
19294
|
-
* @param token Token to deposit.
|
|
19295
|
-
* @param walletAddress Wallet address to take the token from.
|
|
19296
|
-
* @param value Value in wei of the token to deposit.
|
|
19297
|
-
* @param referralCode Referral code for the deposit.
|
|
19298
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
19299
|
-
* transaction.
|
|
19300
|
-
*
|
|
19301
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
19302
|
-
* transaction.
|
|
19303
|
-
*/
|
|
18367
|
+
readonly name: "SetIsMigratorAllowed";
|
|
19304
18368
|
readonly type: "event";
|
|
19305
18369
|
}, {
|
|
19306
18370
|
readonly anonymous: false;
|
|
@@ -19651,25 +18715,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
19651
18715
|
readonly name: "isAllowed";
|
|
19652
18716
|
readonly type: "bool";
|
|
19653
18717
|
}];
|
|
19654
|
-
readonly name: "SetIsMigratorAllowed";
|
|
19655
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
19656
|
-
* the transaction but returns two methods namely `transact` and
|
|
19657
|
-
* `estimate`.
|
|
19658
|
-
*
|
|
19659
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
19660
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
19661
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
19662
|
-
*
|
|
19663
|
-
* @param token Token to deposit.
|
|
19664
|
-
* @param walletAddress Wallet address to take the token from.
|
|
19665
|
-
* @param value Value in wei of the token to deposit.
|
|
19666
|
-
* @param referralCode Referral code for the deposit.
|
|
19667
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
19668
|
-
* transaction.
|
|
19669
|
-
*
|
|
19670
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
19671
|
-
* transaction.
|
|
19672
|
-
*/
|
|
18718
|
+
readonly name: "SetIsMigratorAllowed";
|
|
19673
18719
|
readonly type: "event";
|
|
19674
18720
|
}, {
|
|
19675
18721
|
readonly anonymous: false;
|
|
@@ -20019,25 +19065,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
20019
19065
|
readonly name: "isAllowed";
|
|
20020
19066
|
readonly type: "bool";
|
|
20021
19067
|
}];
|
|
20022
|
-
readonly name: "SetIsMigratorAllowed";
|
|
20023
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
20024
|
-
* the transaction but returns two methods namely `transact` and
|
|
20025
|
-
* `estimate`.
|
|
20026
|
-
*
|
|
20027
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
20028
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
20029
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
20030
|
-
*
|
|
20031
|
-
* @param token Token to deposit.
|
|
20032
|
-
* @param walletAddress Wallet address to take the token from.
|
|
20033
|
-
* @param value Value in wei of the token to deposit.
|
|
20034
|
-
* @param referralCode Referral code for the deposit.
|
|
20035
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
20036
|
-
* transaction.
|
|
20037
|
-
*
|
|
20038
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
20039
|
-
* transaction.
|
|
20040
|
-
*/
|
|
19068
|
+
readonly name: "SetIsMigratorAllowed";
|
|
20041
19069
|
readonly type: "event";
|
|
20042
19070
|
}, {
|
|
20043
19071
|
readonly anonymous: false;
|
|
@@ -20388,25 +19416,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
20388
19416
|
readonly name: "isAllowed";
|
|
20389
19417
|
readonly type: "bool";
|
|
20390
19418
|
}];
|
|
20391
|
-
readonly name: "SetIsMigratorAllowed";
|
|
20392
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
20393
|
-
* the transaction but returns two methods namely `transact` and
|
|
20394
|
-
* `estimate`.
|
|
20395
|
-
*
|
|
20396
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
20397
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
20398
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
20399
|
-
*
|
|
20400
|
-
* @param token Token to deposit.
|
|
20401
|
-
* @param walletAddress Wallet address to take the token from.
|
|
20402
|
-
* @param value Value in wei of the token to deposit.
|
|
20403
|
-
* @param referralCode Referral code for the deposit.
|
|
20404
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
20405
|
-
* transaction.
|
|
20406
|
-
*
|
|
20407
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
20408
|
-
* transaction.
|
|
20409
|
-
*/
|
|
19419
|
+
readonly name: "SetIsMigratorAllowed";
|
|
20410
19420
|
readonly type: "event";
|
|
20411
19421
|
}, {
|
|
20412
19422
|
readonly anonymous: false;
|
|
@@ -20756,25 +19766,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
20756
19766
|
readonly name: "isAllowed";
|
|
20757
19767
|
readonly type: "bool";
|
|
20758
19768
|
}];
|
|
20759
|
-
readonly name: "SetIsMigratorAllowed";
|
|
20760
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
20761
|
-
* the transaction but returns two methods namely `transact` and
|
|
20762
|
-
* `estimate`.
|
|
20763
|
-
*
|
|
20764
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
20765
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
20766
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
20767
|
-
*
|
|
20768
|
-
* @param token Token to deposit.
|
|
20769
|
-
* @param walletAddress Wallet address to take the token from.
|
|
20770
|
-
* @param value Value in wei of the token to deposit.
|
|
20771
|
-
* @param referralCode Referral code for the deposit.
|
|
20772
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
20773
|
-
* transaction.
|
|
20774
|
-
*
|
|
20775
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
20776
|
-
* transaction.
|
|
20777
|
-
*/
|
|
19769
|
+
readonly name: "SetIsMigratorAllowed";
|
|
20778
19770
|
readonly type: "event";
|
|
20779
19771
|
}, {
|
|
20780
19772
|
readonly anonymous: false;
|
|
@@ -21125,25 +20117,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
21125
20117
|
readonly name: "isAllowed";
|
|
21126
20118
|
readonly type: "bool";
|
|
21127
20119
|
}];
|
|
21128
|
-
readonly name: "SetIsMigratorAllowed";
|
|
21129
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
21130
|
-
* the transaction but returns two methods namely `transact` and
|
|
21131
|
-
* `estimate`.
|
|
21132
|
-
*
|
|
21133
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
21134
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
21135
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
21136
|
-
*
|
|
21137
|
-
* @param token Token to deposit.
|
|
21138
|
-
* @param walletAddress Wallet address to take the token from.
|
|
21139
|
-
* @param value Value in wei of the token to deposit.
|
|
21140
|
-
* @param referralCode Referral code for the deposit.
|
|
21141
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
21142
|
-
* transaction.
|
|
21143
|
-
*
|
|
21144
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
21145
|
-
* transaction.
|
|
21146
|
-
*/
|
|
20120
|
+
readonly name: "SetIsMigratorAllowed";
|
|
21147
20121
|
readonly type: "event";
|
|
21148
20122
|
}, {
|
|
21149
20123
|
readonly anonymous: false;
|
|
@@ -21493,25 +20467,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
21493
20467
|
readonly name: "isAllowed";
|
|
21494
20468
|
readonly type: "bool";
|
|
21495
20469
|
}];
|
|
21496
|
-
readonly name: "SetIsMigratorAllowed";
|
|
21497
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
21498
|
-
* the transaction but returns two methods namely `transact` and
|
|
21499
|
-
* `estimate`.
|
|
21500
|
-
*
|
|
21501
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
21502
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
21503
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
21504
|
-
*
|
|
21505
|
-
* @param token Token to deposit.
|
|
21506
|
-
* @param walletAddress Wallet address to take the token from.
|
|
21507
|
-
* @param value Value in wei of the token to deposit.
|
|
21508
|
-
* @param referralCode Referral code for the deposit.
|
|
21509
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
21510
|
-
* transaction.
|
|
21511
|
-
*
|
|
21512
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
21513
|
-
* transaction.
|
|
21514
|
-
*/
|
|
20470
|
+
readonly name: "SetIsMigratorAllowed";
|
|
21515
20471
|
readonly type: "event";
|
|
21516
20472
|
}, {
|
|
21517
20473
|
readonly anonymous: false;
|
|
@@ -21862,25 +20818,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
21862
20818
|
readonly name: "isAllowed";
|
|
21863
20819
|
readonly type: "bool";
|
|
21864
20820
|
}];
|
|
21865
|
-
readonly name: "SetIsMigratorAllowed";
|
|
21866
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
21867
|
-
* the transaction but returns two methods namely `transact` and
|
|
21868
|
-
* `estimate`.
|
|
21869
|
-
*
|
|
21870
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
21871
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
21872
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
21873
|
-
*
|
|
21874
|
-
* @param token Token to deposit.
|
|
21875
|
-
* @param walletAddress Wallet address to take the token from.
|
|
21876
|
-
* @param value Value in wei of the token to deposit.
|
|
21877
|
-
* @param referralCode Referral code for the deposit.
|
|
21878
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
21879
|
-
* transaction.
|
|
21880
|
-
*
|
|
21881
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
21882
|
-
* transaction.
|
|
21883
|
-
*/
|
|
20821
|
+
readonly name: "SetIsMigratorAllowed";
|
|
21884
20822
|
readonly type: "event";
|
|
21885
20823
|
}, {
|
|
21886
20824
|
readonly anonymous: false;
|
|
@@ -22230,25 +21168,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
22230
21168
|
readonly name: "isAllowed";
|
|
22231
21169
|
readonly type: "bool";
|
|
22232
21170
|
}];
|
|
22233
|
-
readonly name: "SetIsMigratorAllowed";
|
|
22234
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
22235
|
-
* the transaction but returns two methods namely `transact` and
|
|
22236
|
-
* `estimate`.
|
|
22237
|
-
*
|
|
22238
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
22239
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
22240
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
22241
|
-
*
|
|
22242
|
-
* @param token Token to deposit.
|
|
22243
|
-
* @param walletAddress Wallet address to take the token from.
|
|
22244
|
-
* @param value Value in wei of the token to deposit.
|
|
22245
|
-
* @param referralCode Referral code for the deposit.
|
|
22246
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
22247
|
-
* transaction.
|
|
22248
|
-
*
|
|
22249
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
22250
|
-
* transaction.
|
|
22251
|
-
*/
|
|
21171
|
+
readonly name: "SetIsMigratorAllowed";
|
|
22252
21172
|
readonly type: "event";
|
|
22253
21173
|
}, {
|
|
22254
21174
|
readonly anonymous: false;
|
|
@@ -22601,25 +21521,7 @@ export declare class PufferL2DepositorHandler {
|
|
|
22601
21521
|
readonly name: "isAllowed";
|
|
22602
21522
|
readonly type: "bool";
|
|
22603
21523
|
}];
|
|
22604
|
-
readonly name: "SetIsMigratorAllowed";
|
|
22605
|
-
* Deposit the given token in exchange for pufETH. This doesn't make
|
|
22606
|
-
* the transaction but returns two methods namely `transact` and
|
|
22607
|
-
* `estimate`.
|
|
22608
|
-
*
|
|
22609
|
-
* Note that not all token contracts support permit signatures (e.g.
|
|
22610
|
-
* USDC). If a token's contract doesn't support permit signatures, use
|
|
22611
|
-
* `Token.approve()` and call `depositAfterApproval()` instead.
|
|
22612
|
-
*
|
|
22613
|
-
* @param token Token to deposit.
|
|
22614
|
-
* @param walletAddress Wallet address to take the token from.
|
|
22615
|
-
* @param value Value in wei of the token to deposit.
|
|
22616
|
-
* @param referralCode Referral code for the deposit.
|
|
22617
|
-
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
22618
|
-
* transaction.
|
|
22619
|
-
*
|
|
22620
|
-
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
22621
|
-
* transaction.
|
|
22622
|
-
*/
|
|
21524
|
+
readonly name: "SetIsMigratorAllowed";
|
|
22623
21525
|
readonly type: "event";
|
|
22624
21526
|
}, {
|
|
22625
21527
|
readonly anonymous: false;
|
|
@@ -22824,8 +21726,8 @@ export declare class PufferL2DepositorHandler {
|
|
|
22824
21726
|
};
|
|
22825
21727
|
/**
|
|
22826
21728
|
* Deposit the given token which is pre-approved using
|
|
22827
|
-
* `
|
|
22828
|
-
* transaction but returns two methods namely `transact` and
|
|
21729
|
+
* `Token.approve()` in exchange for wrapped PufToken. This doesn't
|
|
21730
|
+
* make the transaction but returns two methods namely `transact` and
|
|
22829
21731
|
* `estimate`.
|
|
22830
21732
|
*
|
|
22831
21733
|
* @param token Token to deposit.
|
|
@@ -22837,18 +21739,18 @@ export declare class PufferL2DepositorHandler {
|
|
|
22837
21739
|
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
22838
21740
|
* transaction.
|
|
22839
21741
|
*/
|
|
22840
|
-
|
|
21742
|
+
depositPreApproved(token: NonPufToken, walletAddress: Address, value: bigint): {
|
|
22841
21743
|
transact: () => Promise<`0x${string}`>;
|
|
22842
21744
|
estimate: () => Promise<bigint>;
|
|
22843
21745
|
};
|
|
22844
21746
|
/**
|
|
22845
|
-
* Deposit the given token in exchange for
|
|
22846
|
-
* the transaction but returns two methods namely
|
|
22847
|
-
* `estimate`.
|
|
21747
|
+
* Deposit the given token in exchange for the wrapped PufToken. This
|
|
21748
|
+
* doesn't make the transaction but returns two methods namely
|
|
21749
|
+
* `transact` and `estimate`.
|
|
22848
21750
|
*
|
|
22849
21751
|
* Note that not all token contracts support permit signatures (e.g.
|
|
22850
21752
|
* USDC). If a token's contract doesn't support permit signatures, use
|
|
22851
|
-
* `Token.approve()` and call `
|
|
21753
|
+
* `Token.approve()` and call `this.depositPreApproved()` instead.
|
|
22852
21754
|
*
|
|
22853
21755
|
* @param token Token to deposit.
|
|
22854
21756
|
* @param walletAddress Wallet address to take the token from.
|