@pufferfinance/puffer-sdk 1.2.2 → 1.3.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.
@@ -2,6 +2,14 @@ import { WalletClient, PublicClient, Address } from 'viem';
2
2
  import { Chain, ViemChain } from '../../chains/constants';
3
3
  import { PufToken } from '../tokens';
4
4
 
5
+ export type LockerDepositParams = {
6
+ token: PufToken;
7
+ account: Address;
8
+ recipient: Address;
9
+ value: bigint;
10
+ lockPeriod: bigint;
11
+ isPreapproved?: boolean;
12
+ };
5
13
  /**
6
14
  * Handler for the `PufLocker` contract exposing methods to interact
7
15
  * with the contract.
@@ -95,7 +103,7 @@ export declare class PufLockerHandler {
95
103
  } | undefined) => Promise<readonly [bigint, bigint]>;
96
104
  };
97
105
  estimateGas: {
98
- deposit: (args: readonly [`0x${string}`, bigint, {
106
+ deposit: (args: readonly [`0x${string}`, `0x${string}`, bigint, {
99
107
  deadline: bigint;
100
108
  amount: bigint;
101
109
  v: number;
@@ -132,16 +140,6 @@ export declare class PufLockerHandler {
132
140
  readonly type: "address";
133
141
  }];
134
142
  readonly name: "AccessManagedUnauthorized";
135
- /**
136
- * Create the handler for the `PufLocker` contract exposing methods to
137
- * interact with the contract.
138
- *
139
- * @param chain Chain to use for the client.
140
- * @param walletClient The wallet client to use for wallet
141
- * interactions.
142
- * @param publicClient The public client to use for public
143
- * interactions.
144
- */
145
143
  readonly type: "error";
146
144
  }, {
147
145
  readonly inputs: readonly [{
@@ -376,6 +374,10 @@ export declare class PufLockerHandler {
376
374
  readonly internalType: "address";
377
375
  readonly name: "token";
378
376
  readonly type: "address";
377
+ }, {
378
+ readonly internalType: "address";
379
+ readonly name: "recipient";
380
+ readonly type: "address";
379
381
  }, {
380
382
  readonly internalType: "uint128";
381
383
  readonly name: "lockPeriod";
@@ -586,7 +588,7 @@ export declare class PufLockerHandler {
586
588
  readonly outputs: readonly [];
587
589
  readonly stateMutability: "nonpayable";
588
590
  readonly type: "function";
589
- }], "deposit", readonly [`0x${string}`, bigint, {
591
+ }], "deposit", readonly [`0x${string}`, `0x${string}`, bigint, {
590
592
  deadline: bigint;
591
593
  amount: bigint;
592
594
  v: number;
@@ -624,16 +626,6 @@ export declare class PufLockerHandler {
624
626
  readonly type: "address";
625
627
  }];
626
628
  readonly name: "AccessManagedUnauthorized";
627
- /**
628
- * Create the handler for the `PufLocker` contract exposing methods to
629
- * interact with the contract.
630
- *
631
- * @param chain Chain to use for the client.
632
- * @param walletClient The wallet client to use for wallet
633
- * interactions.
634
- * @param publicClient The public client to use for public
635
- * interactions.
636
- */
637
629
  readonly type: "error";
638
630
  }, {
639
631
  readonly inputs: readonly [{
@@ -868,6 +860,10 @@ export declare class PufLockerHandler {
868
860
  readonly internalType: "address";
869
861
  readonly name: "token";
870
862
  readonly type: "address";
863
+ }, {
864
+ readonly internalType: "address";
865
+ readonly name: "recipient";
866
+ readonly type: "address";
871
867
  }, {
872
868
  readonly internalType: "uint128";
873
869
  readonly name: "lockPeriod";
@@ -1110,16 +1106,6 @@ export declare class PufLockerHandler {
1110
1106
  readonly type: "address";
1111
1107
  }];
1112
1108
  readonly name: "AccessManagedUnauthorized";
1113
- /**
1114
- * Create the handler for the `PufLocker` contract exposing methods to
1115
- * interact with the contract.
1116
- *
1117
- * @param chain Chain to use for the client.
1118
- * @param walletClient The wallet client to use for wallet
1119
- * interactions.
1120
- * @param publicClient The public client to use for public
1121
- * interactions.
1122
- */
1123
1109
  readonly type: "error";
1124
1110
  }, {
1125
1111
  readonly inputs: readonly [{
@@ -1354,6 +1340,10 @@ export declare class PufLockerHandler {
1354
1340
  readonly internalType: "address";
1355
1341
  readonly name: "token";
1356
1342
  readonly type: "address";
1343
+ }, {
1344
+ readonly internalType: "address";
1345
+ readonly name: "recipient";
1346
+ readonly type: "address";
1357
1347
  }, {
1358
1348
  readonly internalType: "uint128";
1359
1349
  readonly name: "lockPeriod";
@@ -1596,16 +1586,6 @@ export declare class PufLockerHandler {
1596
1586
  readonly type: "address";
1597
1587
  }];
1598
1588
  readonly name: "AccessManagedUnauthorized";
1599
- /**
1600
- * Create the handler for the `PufLocker` contract exposing methods to
1601
- * interact with the contract.
1602
- *
1603
- * @param chain Chain to use for the client.
1604
- * @param walletClient The wallet client to use for wallet
1605
- * interactions.
1606
- * @param publicClient The public client to use for public
1607
- * interactions.
1608
- */
1609
1589
  readonly type: "error";
1610
1590
  }, {
1611
1591
  readonly inputs: readonly [{
@@ -1840,6 +1820,10 @@ export declare class PufLockerHandler {
1840
1820
  readonly internalType: "address";
1841
1821
  readonly name: "token";
1842
1822
  readonly type: "address";
1823
+ }, {
1824
+ readonly internalType: "address";
1825
+ readonly name: "recipient";
1826
+ readonly type: "address";
1843
1827
  }, {
1844
1828
  readonly internalType: "uint128";
1845
1829
  readonly name: "lockPeriod";
@@ -2082,16 +2066,6 @@ export declare class PufLockerHandler {
2082
2066
  readonly type: "address";
2083
2067
  }];
2084
2068
  readonly name: "AccessManagedUnauthorized";
2085
- /**
2086
- * Create the handler for the `PufLocker` contract exposing methods to
2087
- * interact with the contract.
2088
- *
2089
- * @param chain Chain to use for the client.
2090
- * @param walletClient The wallet client to use for wallet
2091
- * interactions.
2092
- * @param publicClient The public client to use for public
2093
- * interactions.
2094
- */
2095
2069
  readonly type: "error";
2096
2070
  }, {
2097
2071
  readonly inputs: readonly [{
@@ -2326,6 +2300,10 @@ export declare class PufLockerHandler {
2326
2300
  readonly internalType: "address";
2327
2301
  readonly name: "token";
2328
2302
  readonly type: "address";
2303
+ }, {
2304
+ readonly internalType: "address";
2305
+ readonly name: "recipient";
2306
+ readonly type: "address";
2329
2307
  }, {
2330
2308
  readonly internalType: "uint128";
2331
2309
  readonly name: "lockPeriod";
@@ -2568,16 +2546,6 @@ export declare class PufLockerHandler {
2568
2546
  readonly type: "address";
2569
2547
  }];
2570
2548
  readonly name: "AccessManagedUnauthorized";
2571
- /**
2572
- * Create the handler for the `PufLocker` contract exposing methods to
2573
- * interact with the contract.
2574
- *
2575
- * @param chain Chain to use for the client.
2576
- * @param walletClient The wallet client to use for wallet
2577
- * interactions.
2578
- * @param publicClient The public client to use for public
2579
- * interactions.
2580
- */
2581
2549
  readonly type: "error";
2582
2550
  }, {
2583
2551
  readonly inputs: readonly [{
@@ -2812,6 +2780,10 @@ export declare class PufLockerHandler {
2812
2780
  readonly internalType: "address";
2813
2781
  readonly name: "token";
2814
2782
  readonly type: "address";
2783
+ }, {
2784
+ readonly internalType: "address";
2785
+ readonly name: "recipient";
2786
+ readonly type: "address";
2815
2787
  }, {
2816
2788
  readonly internalType: "uint128";
2817
2789
  readonly name: "lockPeriod";
@@ -3054,16 +3026,6 @@ export declare class PufLockerHandler {
3054
3026
  readonly type: "address";
3055
3027
  }];
3056
3028
  readonly name: "AccessManagedUnauthorized";
3057
- /**
3058
- * Create the handler for the `PufLocker` contract exposing methods to
3059
- * interact with the contract.
3060
- *
3061
- * @param chain Chain to use for the client.
3062
- * @param walletClient The wallet client to use for wallet
3063
- * interactions.
3064
- * @param publicClient The public client to use for public
3065
- * interactions.
3066
- */
3067
3029
  readonly type: "error";
3068
3030
  }, {
3069
3031
  readonly inputs: readonly [{
@@ -3298,6 +3260,10 @@ export declare class PufLockerHandler {
3298
3260
  readonly internalType: "address";
3299
3261
  readonly name: "token";
3300
3262
  readonly type: "address";
3263
+ }, {
3264
+ readonly internalType: "address";
3265
+ readonly name: "recipient";
3266
+ readonly type: "address";
3301
3267
  }, {
3302
3268
  readonly internalType: "uint128";
3303
3269
  readonly name: "lockPeriod";
@@ -3510,7 +3476,7 @@ export declare class PufLockerHandler {
3510
3476
  readonly type: "function";
3511
3477
  }], "setLockPeriods", readonly [bigint, bigint], ViemChain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<bigint>;
3512
3478
  } & {
3513
- deposit: (args: readonly [`0x${string}`, bigint, {
3479
+ deposit: (args: readonly [`0x${string}`, `0x${string}`, bigint, {
3514
3480
  deadline: bigint;
3515
3481
  amount: bigint;
3516
3482
  v: number;
@@ -3547,16 +3513,6 @@ export declare class PufLockerHandler {
3547
3513
  readonly type: "address";
3548
3514
  }];
3549
3515
  readonly name: "AccessManagedUnauthorized";
3550
- /**
3551
- * Create the handler for the `PufLocker` contract exposing methods to
3552
- * interact with the contract.
3553
- *
3554
- * @param chain Chain to use for the client.
3555
- * @param walletClient The wallet client to use for wallet
3556
- * interactions.
3557
- * @param publicClient The public client to use for public
3558
- * interactions.
3559
- */
3560
3516
  readonly type: "error";
3561
3517
  }, {
3562
3518
  readonly inputs: readonly [{
@@ -3791,6 +3747,10 @@ export declare class PufLockerHandler {
3791
3747
  readonly internalType: "address";
3792
3748
  readonly name: "token";
3793
3749
  readonly type: "address";
3750
+ }, {
3751
+ readonly internalType: "address";
3752
+ readonly name: "recipient";
3753
+ readonly type: "address";
3794
3754
  }, {
3795
3755
  readonly internalType: "uint128";
3796
3756
  readonly name: "lockPeriod";
@@ -4001,7 +3961,7 @@ export declare class PufLockerHandler {
4001
3961
  readonly outputs: readonly [];
4002
3962
  readonly stateMutability: "nonpayable";
4003
3963
  readonly type: "function";
4004
- }], "deposit", readonly [`0x${string}`, bigint, {
3964
+ }], "deposit", readonly [`0x${string}`, `0x${string}`, bigint, {
4005
3965
  deadline: bigint;
4006
3966
  amount: bigint;
4007
3967
  v: number;
@@ -4039,16 +3999,6 @@ export declare class PufLockerHandler {
4039
3999
  readonly type: "address";
4040
4000
  }];
4041
4001
  readonly name: "AccessManagedUnauthorized";
4042
- /**
4043
- * Create the handler for the `PufLocker` contract exposing methods to
4044
- * interact with the contract.
4045
- *
4046
- * @param chain Chain to use for the client.
4047
- * @param walletClient The wallet client to use for wallet
4048
- * interactions.
4049
- * @param publicClient The public client to use for public
4050
- * interactions.
4051
- */
4052
4002
  readonly type: "error";
4053
4003
  }, {
4054
4004
  readonly inputs: readonly [{
@@ -4283,6 +4233,10 @@ export declare class PufLockerHandler {
4283
4233
  readonly internalType: "address";
4284
4234
  readonly name: "token";
4285
4235
  readonly type: "address";
4236
+ }, {
4237
+ readonly internalType: "address";
4238
+ readonly name: "recipient";
4239
+ readonly type: "address";
4286
4240
  }, {
4287
4241
  readonly internalType: "uint128";
4288
4242
  readonly name: "lockPeriod";
@@ -4525,16 +4479,6 @@ export declare class PufLockerHandler {
4525
4479
  readonly type: "address";
4526
4480
  }];
4527
4481
  readonly name: "AccessManagedUnauthorized";
4528
- /**
4529
- * Create the handler for the `PufLocker` contract exposing methods to
4530
- * interact with the contract.
4531
- *
4532
- * @param chain Chain to use for the client.
4533
- * @param walletClient The wallet client to use for wallet
4534
- * interactions.
4535
- * @param publicClient The public client to use for public
4536
- * interactions.
4537
- */
4538
4482
  readonly type: "error";
4539
4483
  }, {
4540
4484
  readonly inputs: readonly [{
@@ -4769,6 +4713,10 @@ export declare class PufLockerHandler {
4769
4713
  readonly internalType: "address";
4770
4714
  readonly name: "token";
4771
4715
  readonly type: "address";
4716
+ }, {
4717
+ readonly internalType: "address";
4718
+ readonly name: "recipient";
4719
+ readonly type: "address";
4772
4720
  }, {
4773
4721
  readonly internalType: "uint128";
4774
4722
  readonly name: "lockPeriod";
@@ -5011,16 +4959,6 @@ export declare class PufLockerHandler {
5011
4959
  readonly type: "address";
5012
4960
  }];
5013
4961
  readonly name: "AccessManagedUnauthorized";
5014
- /**
5015
- * Create the handler for the `PufLocker` contract exposing methods to
5016
- * interact with the contract.
5017
- *
5018
- * @param chain Chain to use for the client.
5019
- * @param walletClient The wallet client to use for wallet
5020
- * interactions.
5021
- * @param publicClient The public client to use for public
5022
- * interactions.
5023
- */
5024
4962
  readonly type: "error";
5025
4963
  }, {
5026
4964
  readonly inputs: readonly [{
@@ -5255,6 +5193,10 @@ export declare class PufLockerHandler {
5255
5193
  readonly internalType: "address";
5256
5194
  readonly name: "token";
5257
5195
  readonly type: "address";
5196
+ }, {
5197
+ readonly internalType: "address";
5198
+ readonly name: "recipient";
5199
+ readonly type: "address";
5258
5200
  }, {
5259
5201
  readonly internalType: "uint128";
5260
5202
  readonly name: "lockPeriod";
@@ -5497,16 +5439,6 @@ export declare class PufLockerHandler {
5497
5439
  readonly type: "address";
5498
5440
  }];
5499
5441
  readonly name: "AccessManagedUnauthorized";
5500
- /**
5501
- * Create the handler for the `PufLocker` contract exposing methods to
5502
- * interact with the contract.
5503
- *
5504
- * @param chain Chain to use for the client.
5505
- * @param walletClient The wallet client to use for wallet
5506
- * interactions.
5507
- * @param publicClient The public client to use for public
5508
- * interactions.
5509
- */
5510
5442
  readonly type: "error";
5511
5443
  }, {
5512
5444
  readonly inputs: readonly [{
@@ -5741,6 +5673,10 @@ export declare class PufLockerHandler {
5741
5673
  readonly internalType: "address";
5742
5674
  readonly name: "token";
5743
5675
  readonly type: "address";
5676
+ }, {
5677
+ readonly internalType: "address";
5678
+ readonly name: "recipient";
5679
+ readonly type: "address";
5744
5680
  }, {
5745
5681
  readonly internalType: "uint128";
5746
5682
  readonly name: "lockPeriod";
@@ -5983,16 +5919,6 @@ export declare class PufLockerHandler {
5983
5919
  readonly type: "address";
5984
5920
  }];
5985
5921
  readonly name: "AccessManagedUnauthorized";
5986
- /**
5987
- * Create the handler for the `PufLocker` contract exposing methods to
5988
- * interact with the contract.
5989
- *
5990
- * @param chain Chain to use for the client.
5991
- * @param walletClient The wallet client to use for wallet
5992
- * interactions.
5993
- * @param publicClient The public client to use for public
5994
- * interactions.
5995
- */
5996
5922
  readonly type: "error";
5997
5923
  }, {
5998
5924
  readonly inputs: readonly [{
@@ -6227,6 +6153,10 @@ export declare class PufLockerHandler {
6227
6153
  readonly internalType: "address";
6228
6154
  readonly name: "token";
6229
6155
  readonly type: "address";
6156
+ }, {
6157
+ readonly internalType: "address";
6158
+ readonly name: "recipient";
6159
+ readonly type: "address";
6230
6160
  }, {
6231
6161
  readonly internalType: "uint128";
6232
6162
  readonly name: "lockPeriod";
@@ -6469,16 +6399,6 @@ export declare class PufLockerHandler {
6469
6399
  readonly type: "address";
6470
6400
  }];
6471
6401
  readonly name: "AccessManagedUnauthorized";
6472
- /**
6473
- * Create the handler for the `PufLocker` contract exposing methods to
6474
- * interact with the contract.
6475
- *
6476
- * @param chain Chain to use for the client.
6477
- * @param walletClient The wallet client to use for wallet
6478
- * interactions.
6479
- * @param publicClient The public client to use for public
6480
- * interactions.
6481
- */
6482
6402
  readonly type: "error";
6483
6403
  }, {
6484
6404
  readonly inputs: readonly [{
@@ -6713,6 +6633,10 @@ export declare class PufLockerHandler {
6713
6633
  readonly internalType: "address";
6714
6634
  readonly name: "token";
6715
6635
  readonly type: "address";
6636
+ }, {
6637
+ readonly internalType: "address";
6638
+ readonly name: "recipient";
6639
+ readonly type: "address";
6716
6640
  }, {
6717
6641
  readonly internalType: "uint128";
6718
6642
  readonly name: "lockPeriod";
@@ -6926,7 +6850,7 @@ export declare class PufLockerHandler {
6926
6850
  }], "setLockPeriods", readonly [bigint, bigint], ViemChain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<bigint>;
6927
6851
  };
6928
6852
  simulate: {
6929
- deposit: <TChainOverride extends ViemChain | undefined = undefined, TAccountOverride extends `0x${string}` | import('viem').Account | undefined = undefined>(args: readonly [`0x${string}`, bigint, {
6853
+ deposit: <TChainOverride extends ViemChain | undefined = undefined, TAccountOverride extends `0x${string}` | import('viem').Account | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint, {
6930
6854
  deadline: bigint;
6931
6855
  amount: bigint;
6932
6856
  v: number;
@@ -6963,16 +6887,6 @@ export declare class PufLockerHandler {
6963
6887
  readonly type: "address";
6964
6888
  }];
6965
6889
  readonly name: "AccessManagedUnauthorized";
6966
- /**
6967
- * Create the handler for the `PufLocker` contract exposing methods to
6968
- * interact with the contract.
6969
- *
6970
- * @param chain Chain to use for the client.
6971
- * @param walletClient The wallet client to use for wallet
6972
- * interactions.
6973
- * @param publicClient The public client to use for public
6974
- * interactions.
6975
- */
6976
6890
  readonly type: "error";
6977
6891
  }, {
6978
6892
  readonly inputs: readonly [{
@@ -7207,6 +7121,10 @@ export declare class PufLockerHandler {
7207
7121
  readonly internalType: "address";
7208
7122
  readonly name: "token";
7209
7123
  readonly type: "address";
7124
+ }, {
7125
+ readonly internalType: "address";
7126
+ readonly name: "recipient";
7127
+ readonly type: "address";
7210
7128
  }, {
7211
7129
  readonly internalType: "uint128";
7212
7130
  readonly name: "lockPeriod";
@@ -7417,7 +7335,7 @@ export declare class PufLockerHandler {
7417
7335
  readonly outputs: readonly [];
7418
7336
  readonly stateMutability: "nonpayable";
7419
7337
  readonly type: "function";
7420
- }], "deposit", readonly [`0x${string}`, bigint, {
7338
+ }], "deposit", readonly [`0x${string}`, `0x${string}`, bigint, {
7421
7339
  deadline: bigint;
7422
7340
  amount: bigint;
7423
7341
  v: number;
@@ -7454,16 +7372,6 @@ export declare class PufLockerHandler {
7454
7372
  readonly type: "address";
7455
7373
  }];
7456
7374
  readonly name: "AccessManagedUnauthorized";
7457
- /**
7458
- * Create the handler for the `PufLocker` contract exposing methods to
7459
- * interact with the contract.
7460
- *
7461
- * @param chain Chain to use for the client.
7462
- * @param walletClient The wallet client to use for wallet
7463
- * interactions.
7464
- * @param publicClient The public client to use for public
7465
- * interactions.
7466
- */
7467
7375
  readonly type: "error";
7468
7376
  }, {
7469
7377
  readonly inputs: readonly [{
@@ -7698,6 +7606,10 @@ export declare class PufLockerHandler {
7698
7606
  readonly internalType: "address";
7699
7607
  readonly name: "token";
7700
7608
  readonly type: "address";
7609
+ }, {
7610
+ readonly internalType: "address";
7611
+ readonly name: "recipient";
7612
+ readonly type: "address";
7701
7613
  }, {
7702
7614
  readonly internalType: "uint128";
7703
7615
  readonly name: "lockPeriod";
@@ -7908,7 +7820,7 @@ export declare class PufLockerHandler {
7908
7820
  readonly outputs: readonly [];
7909
7821
  readonly stateMutability: "nonpayable";
7910
7822
  readonly type: "function";
7911
- }], "deposit", readonly [`0x${string}`, bigint, {
7823
+ }], "deposit", readonly [`0x${string}`, `0x${string}`, bigint, {
7912
7824
  deadline: bigint;
7913
7825
  amount: bigint;
7914
7826
  v: number;
@@ -7946,16 +7858,6 @@ export declare class PufLockerHandler {
7946
7858
  readonly type: "address";
7947
7859
  }];
7948
7860
  readonly name: "AccessManagedUnauthorized";
7949
- /**
7950
- * Create the handler for the `PufLocker` contract exposing methods to
7951
- * interact with the contract.
7952
- *
7953
- * @param chain Chain to use for the client.
7954
- * @param walletClient The wallet client to use for wallet
7955
- * interactions.
7956
- * @param publicClient The public client to use for public
7957
- * interactions.
7958
- */
7959
7861
  readonly type: "error";
7960
7862
  }, {
7961
7863
  readonly inputs: readonly [{
@@ -8190,6 +8092,10 @@ export declare class PufLockerHandler {
8190
8092
  readonly internalType: "address";
8191
8093
  readonly name: "token";
8192
8094
  readonly type: "address";
8095
+ }, {
8096
+ readonly internalType: "address";
8097
+ readonly name: "recipient";
8098
+ readonly type: "address";
8193
8099
  }, {
8194
8100
  readonly internalType: "uint128";
8195
8101
  readonly name: "lockPeriod";
@@ -8431,16 +8337,6 @@ export declare class PufLockerHandler {
8431
8337
  readonly type: "address";
8432
8338
  }];
8433
8339
  readonly name: "AccessManagedUnauthorized";
8434
- /**
8435
- * Create the handler for the `PufLocker` contract exposing methods to
8436
- * interact with the contract.
8437
- *
8438
- * @param chain Chain to use for the client.
8439
- * @param walletClient The wallet client to use for wallet
8440
- * interactions.
8441
- * @param publicClient The public client to use for public
8442
- * interactions.
8443
- */
8444
8340
  readonly type: "error";
8445
8341
  }, {
8446
8342
  readonly inputs: readonly [{
@@ -8675,6 +8571,10 @@ export declare class PufLockerHandler {
8675
8571
  readonly internalType: "address";
8676
8572
  readonly name: "token";
8677
8573
  readonly type: "address";
8574
+ }, {
8575
+ readonly internalType: "address";
8576
+ readonly name: "recipient";
8577
+ readonly type: "address";
8678
8578
  }, {
8679
8579
  readonly internalType: "uint128";
8680
8580
  readonly name: "lockPeriod";
@@ -8917,16 +8817,6 @@ export declare class PufLockerHandler {
8917
8817
  readonly type: "address";
8918
8818
  }];
8919
8819
  readonly name: "AccessManagedUnauthorized";
8920
- /**
8921
- * Create the handler for the `PufLocker` contract exposing methods to
8922
- * interact with the contract.
8923
- *
8924
- * @param chain Chain to use for the client.
8925
- * @param walletClient The wallet client to use for wallet
8926
- * interactions.
8927
- * @param publicClient The public client to use for public
8928
- * interactions.
8929
- */
8930
8820
  readonly type: "error";
8931
8821
  }, {
8932
8822
  readonly inputs: readonly [{
@@ -9161,6 +9051,10 @@ export declare class PufLockerHandler {
9161
9051
  readonly internalType: "address";
9162
9052
  readonly name: "token";
9163
9053
  readonly type: "address";
9054
+ }, {
9055
+ readonly internalType: "address";
9056
+ readonly name: "recipient";
9057
+ readonly type: "address";
9164
9058
  }, {
9165
9059
  readonly internalType: "uint128";
9166
9060
  readonly name: "lockPeriod";
@@ -9402,16 +9296,6 @@ export declare class PufLockerHandler {
9402
9296
  readonly type: "address";
9403
9297
  }];
9404
9298
  readonly name: "AccessManagedUnauthorized";
9405
- /**
9406
- * Create the handler for the `PufLocker` contract exposing methods to
9407
- * interact with the contract.
9408
- *
9409
- * @param chain Chain to use for the client.
9410
- * @param walletClient The wallet client to use for wallet
9411
- * interactions.
9412
- * @param publicClient The public client to use for public
9413
- * interactions.
9414
- */
9415
9299
  readonly type: "error";
9416
9300
  }, {
9417
9301
  readonly inputs: readonly [{
@@ -9646,6 +9530,10 @@ export declare class PufLockerHandler {
9646
9530
  readonly internalType: "address";
9647
9531
  readonly name: "token";
9648
9532
  readonly type: "address";
9533
+ }, {
9534
+ readonly internalType: "address";
9535
+ readonly name: "recipient";
9536
+ readonly type: "address";
9649
9537
  }, {
9650
9538
  readonly internalType: "uint128";
9651
9539
  readonly name: "lockPeriod";
@@ -9888,16 +9776,6 @@ export declare class PufLockerHandler {
9888
9776
  readonly type: "address";
9889
9777
  }];
9890
9778
  readonly name: "AccessManagedUnauthorized";
9891
- /**
9892
- * Create the handler for the `PufLocker` contract exposing methods to
9893
- * interact with the contract.
9894
- *
9895
- * @param chain Chain to use for the client.
9896
- * @param walletClient The wallet client to use for wallet
9897
- * interactions.
9898
- * @param publicClient The public client to use for public
9899
- * interactions.
9900
- */
9901
9779
  readonly type: "error";
9902
9780
  }, {
9903
9781
  readonly inputs: readonly [{
@@ -10132,6 +10010,10 @@ export declare class PufLockerHandler {
10132
10010
  readonly internalType: "address";
10133
10011
  readonly name: "token";
10134
10012
  readonly type: "address";
10013
+ }, {
10014
+ readonly internalType: "address";
10015
+ readonly name: "recipient";
10016
+ readonly type: "address";
10135
10017
  }, {
10136
10018
  readonly internalType: "uint128";
10137
10019
  readonly name: "lockPeriod";
@@ -10373,16 +10255,6 @@ export declare class PufLockerHandler {
10373
10255
  readonly type: "address";
10374
10256
  }];
10375
10257
  readonly name: "AccessManagedUnauthorized";
10376
- /**
10377
- * Create the handler for the `PufLocker` contract exposing methods to
10378
- * interact with the contract.
10379
- *
10380
- * @param chain Chain to use for the client.
10381
- * @param walletClient The wallet client to use for wallet
10382
- * interactions.
10383
- * @param publicClient The public client to use for public
10384
- * interactions.
10385
- */
10386
10258
  readonly type: "error";
10387
10259
  }, {
10388
10260
  readonly inputs: readonly [{
@@ -10617,6 +10489,10 @@ export declare class PufLockerHandler {
10617
10489
  readonly internalType: "address";
10618
10490
  readonly name: "token";
10619
10491
  readonly type: "address";
10492
+ }, {
10493
+ readonly internalType: "address";
10494
+ readonly name: "recipient";
10495
+ readonly type: "address";
10620
10496
  }, {
10621
10497
  readonly internalType: "uint128";
10622
10498
  readonly name: "lockPeriod";
@@ -10859,16 +10735,6 @@ export declare class PufLockerHandler {
10859
10735
  readonly type: "address";
10860
10736
  }];
10861
10737
  readonly name: "AccessManagedUnauthorized";
10862
- /**
10863
- * Create the handler for the `PufLocker` contract exposing methods to
10864
- * interact with the contract.
10865
- *
10866
- * @param chain Chain to use for the client.
10867
- * @param walletClient The wallet client to use for wallet
10868
- * interactions.
10869
- * @param publicClient The public client to use for public
10870
- * interactions.
10871
- */
10872
10738
  readonly type: "error";
10873
10739
  }, {
10874
10740
  readonly inputs: readonly [{
@@ -11103,6 +10969,10 @@ export declare class PufLockerHandler {
11103
10969
  readonly internalType: "address";
11104
10970
  readonly name: "token";
11105
10971
  readonly type: "address";
10972
+ }, {
10973
+ readonly internalType: "address";
10974
+ readonly name: "recipient";
10975
+ readonly type: "address";
11106
10976
  }, {
11107
10977
  readonly internalType: "uint128";
11108
10978
  readonly name: "lockPeriod";
@@ -11344,16 +11214,6 @@ export declare class PufLockerHandler {
11344
11214
  readonly type: "address";
11345
11215
  }];
11346
11216
  readonly name: "AccessManagedUnauthorized";
11347
- /**
11348
- * Create the handler for the `PufLocker` contract exposing methods to
11349
- * interact with the contract.
11350
- *
11351
- * @param chain Chain to use for the client.
11352
- * @param walletClient The wallet client to use for wallet
11353
- * interactions.
11354
- * @param publicClient The public client to use for public
11355
- * interactions.
11356
- */
11357
11217
  readonly type: "error";
11358
11218
  }, {
11359
11219
  readonly inputs: readonly [{
@@ -11588,6 +11448,10 @@ export declare class PufLockerHandler {
11588
11448
  readonly internalType: "address";
11589
11449
  readonly name: "token";
11590
11450
  readonly type: "address";
11451
+ }, {
11452
+ readonly internalType: "address";
11453
+ readonly name: "recipient";
11454
+ readonly type: "address";
11591
11455
  }, {
11592
11456
  readonly internalType: "uint128";
11593
11457
  readonly name: "lockPeriod";
@@ -11830,16 +11694,6 @@ export declare class PufLockerHandler {
11830
11694
  readonly type: "address";
11831
11695
  }];
11832
11696
  readonly name: "AccessManagedUnauthorized";
11833
- /**
11834
- * Create the handler for the `PufLocker` contract exposing methods to
11835
- * interact with the contract.
11836
- *
11837
- * @param chain Chain to use for the client.
11838
- * @param walletClient The wallet client to use for wallet
11839
- * interactions.
11840
- * @param publicClient The public client to use for public
11841
- * interactions.
11842
- */
11843
11697
  readonly type: "error";
11844
11698
  }, {
11845
11699
  readonly inputs: readonly [{
@@ -12074,6 +11928,10 @@ export declare class PufLockerHandler {
12074
11928
  readonly internalType: "address";
12075
11929
  readonly name: "token";
12076
11930
  readonly type: "address";
11931
+ }, {
11932
+ readonly internalType: "address";
11933
+ readonly name: "recipient";
11934
+ readonly type: "address";
12077
11935
  }, {
12078
11936
  readonly internalType: "uint128";
12079
11937
  readonly name: "lockPeriod";
@@ -12315,16 +12173,6 @@ export declare class PufLockerHandler {
12315
12173
  readonly type: "address";
12316
12174
  }];
12317
12175
  readonly name: "AccessManagedUnauthorized";
12318
- /**
12319
- * Create the handler for the `PufLocker` contract exposing methods to
12320
- * interact with the contract.
12321
- *
12322
- * @param chain Chain to use for the client.
12323
- * @param walletClient The wallet client to use for wallet
12324
- * interactions.
12325
- * @param publicClient The public client to use for public
12326
- * interactions.
12327
- */
12328
12176
  readonly type: "error";
12329
12177
  }, {
12330
12178
  readonly inputs: readonly [{
@@ -12559,6 +12407,10 @@ export declare class PufLockerHandler {
12559
12407
  readonly internalType: "address";
12560
12408
  readonly name: "token";
12561
12409
  readonly type: "address";
12410
+ }, {
12411
+ readonly internalType: "address";
12412
+ readonly name: "recipient";
12413
+ readonly type: "address";
12562
12414
  }, {
12563
12415
  readonly internalType: "uint128";
12564
12416
  readonly name: "lockPeriod";
@@ -12801,16 +12653,6 @@ export declare class PufLockerHandler {
12801
12653
  readonly type: "address";
12802
12654
  }];
12803
12655
  readonly name: "AccessManagedUnauthorized";
12804
- /**
12805
- * Create the handler for the `PufLocker` contract exposing methods to
12806
- * interact with the contract.
12807
- *
12808
- * @param chain Chain to use for the client.
12809
- * @param walletClient The wallet client to use for wallet
12810
- * interactions.
12811
- * @param publicClient The public client to use for public
12812
- * interactions.
12813
- */
12814
12656
  readonly type: "error";
12815
12657
  }, {
12816
12658
  readonly inputs: readonly [{
@@ -13045,6 +12887,10 @@ export declare class PufLockerHandler {
13045
12887
  readonly internalType: "address";
13046
12888
  readonly name: "token";
13047
12889
  readonly type: "address";
12890
+ }, {
12891
+ readonly internalType: "address";
12892
+ readonly name: "recipient";
12893
+ readonly type: "address";
13048
12894
  }, {
13049
12895
  readonly internalType: "uint128";
13050
12896
  readonly name: "lockPeriod";
@@ -13286,16 +13132,6 @@ export declare class PufLockerHandler {
13286
13132
  readonly type: "address";
13287
13133
  }];
13288
13134
  readonly name: "AccessManagedUnauthorized";
13289
- /**
13290
- * Create the handler for the `PufLocker` contract exposing methods to
13291
- * interact with the contract.
13292
- *
13293
- * @param chain Chain to use for the client.
13294
- * @param walletClient The wallet client to use for wallet
13295
- * interactions.
13296
- * @param publicClient The public client to use for public
13297
- * interactions.
13298
- */
13299
13135
  readonly type: "error";
13300
13136
  }, {
13301
13137
  readonly inputs: readonly [{
@@ -13530,6 +13366,10 @@ export declare class PufLockerHandler {
13530
13366
  readonly internalType: "address";
13531
13367
  readonly name: "token";
13532
13368
  readonly type: "address";
13369
+ }, {
13370
+ readonly internalType: "address";
13371
+ readonly name: "recipient";
13372
+ readonly type: "address";
13533
13373
  }, {
13534
13374
  readonly internalType: "uint128";
13535
13375
  readonly name: "lockPeriod";
@@ -13779,16 +13619,6 @@ export declare class PufLockerHandler {
13779
13619
  readonly type: "address";
13780
13620
  }];
13781
13621
  readonly name: "AccessManagedUnauthorized";
13782
- /**
13783
- * Create the handler for the `PufLocker` contract exposing methods to
13784
- * interact with the contract.
13785
- *
13786
- * @param chain Chain to use for the client.
13787
- * @param walletClient The wallet client to use for wallet
13788
- * interactions.
13789
- * @param publicClient The public client to use for public
13790
- * interactions.
13791
- */
13792
13622
  readonly type: "error";
13793
13623
  }, {
13794
13624
  readonly inputs: readonly [{
@@ -14023,6 +13853,10 @@ export declare class PufLockerHandler {
14023
13853
  readonly internalType: "address";
14024
13854
  readonly name: "token";
14025
13855
  readonly type: "address";
13856
+ }, {
13857
+ readonly internalType: "address";
13858
+ readonly name: "recipient";
13859
+ readonly type: "address";
14026
13860
  }, {
14027
13861
  readonly internalType: "uint128";
14028
13862
  readonly name: "lockPeriod";
@@ -14270,16 +14104,6 @@ export declare class PufLockerHandler {
14270
14104
  readonly type: "address";
14271
14105
  }];
14272
14106
  readonly name: "AccessManagedUnauthorized";
14273
- /**
14274
- * Create the handler for the `PufLocker` contract exposing methods to
14275
- * interact with the contract.
14276
- *
14277
- * @param chain Chain to use for the client.
14278
- * @param walletClient The wallet client to use for wallet
14279
- * interactions.
14280
- * @param publicClient The public client to use for public
14281
- * interactions.
14282
- */
14283
14107
  readonly type: "error";
14284
14108
  }, {
14285
14109
  readonly inputs: readonly [{
@@ -14514,6 +14338,10 @@ export declare class PufLockerHandler {
14514
14338
  readonly internalType: "address";
14515
14339
  readonly name: "token";
14516
14340
  readonly type: "address";
14341
+ }, {
14342
+ readonly internalType: "address";
14343
+ readonly name: "recipient";
14344
+ readonly type: "address";
14517
14345
  }, {
14518
14346
  readonly internalType: "uint128";
14519
14347
  readonly name: "lockPeriod";
@@ -14769,16 +14597,6 @@ export declare class PufLockerHandler {
14769
14597
  readonly type: "address";
14770
14598
  }];
14771
14599
  readonly name: "AccessManagedUnauthorized";
14772
- /**
14773
- * Create the handler for the `PufLocker` contract exposing methods to
14774
- * interact with the contract.
14775
- *
14776
- * @param chain Chain to use for the client.
14777
- * @param walletClient The wallet client to use for wallet
14778
- * interactions.
14779
- * @param publicClient The public client to use for public
14780
- * interactions.
14781
- */
14782
14600
  readonly type: "error";
14783
14601
  }, {
14784
14602
  readonly inputs: readonly [{
@@ -15013,6 +14831,10 @@ export declare class PufLockerHandler {
15013
14831
  readonly internalType: "address";
15014
14832
  readonly name: "token";
15015
14833
  readonly type: "address";
14834
+ }, {
14835
+ readonly internalType: "address";
14836
+ readonly name: "recipient";
14837
+ readonly type: "address";
15016
14838
  }, {
15017
14839
  readonly internalType: "uint128";
15018
14840
  readonly name: "lockPeriod";
@@ -15272,16 +15094,6 @@ export declare class PufLockerHandler {
15272
15094
  readonly type: "address";
15273
15095
  }];
15274
15096
  readonly name: "AccessManagedUnauthorized";
15275
- /**
15276
- * Create the handler for the `PufLocker` contract exposing methods to
15277
- * interact with the contract.
15278
- *
15279
- * @param chain Chain to use for the client.
15280
- * @param walletClient The wallet client to use for wallet
15281
- * interactions.
15282
- * @param publicClient The public client to use for public
15283
- * interactions.
15284
- */
15285
15097
  readonly type: "error";
15286
15098
  }, {
15287
15099
  readonly inputs: readonly [{
@@ -15516,6 +15328,10 @@ export declare class PufLockerHandler {
15516
15328
  readonly internalType: "address";
15517
15329
  readonly name: "token";
15518
15330
  readonly type: "address";
15331
+ }, {
15332
+ readonly internalType: "address";
15333
+ readonly name: "recipient";
15334
+ readonly type: "address";
15519
15335
  }, {
15520
15336
  readonly internalType: "uint128";
15521
15337
  readonly name: "lockPeriod";
@@ -15779,16 +15595,6 @@ export declare class PufLockerHandler {
15779
15595
  readonly type: "address";
15780
15596
  }];
15781
15597
  readonly name: "AccessManagedUnauthorized";
15782
- /**
15783
- * Create the handler for the `PufLocker` contract exposing methods to
15784
- * interact with the contract.
15785
- *
15786
- * @param chain Chain to use for the client.
15787
- * @param walletClient The wallet client to use for wallet
15788
- * interactions.
15789
- * @param publicClient The public client to use for public
15790
- * interactions.
15791
- */
15792
15598
  readonly type: "error";
15793
15599
  }, {
15794
15600
  readonly inputs: readonly [{
@@ -16023,6 +15829,10 @@ export declare class PufLockerHandler {
16023
15829
  readonly internalType: "address";
16024
15830
  readonly name: "token";
16025
15831
  readonly type: "address";
15832
+ }, {
15833
+ readonly internalType: "address";
15834
+ readonly name: "recipient";
15835
+ readonly type: "address";
16026
15836
  }, {
16027
15837
  readonly internalType: "uint128";
16028
15838
  readonly name: "lockPeriod";
@@ -16270,16 +16080,6 @@ export declare class PufLockerHandler {
16270
16080
  readonly type: "address";
16271
16081
  }];
16272
16082
  readonly name: "AccessManagedUnauthorized";
16273
- /**
16274
- * Create the handler for the `PufLocker` contract exposing methods to
16275
- * interact with the contract.
16276
- *
16277
- * @param chain Chain to use for the client.
16278
- * @param walletClient The wallet client to use for wallet
16279
- * interactions.
16280
- * @param publicClient The public client to use for public
16281
- * interactions.
16282
- */
16283
16083
  readonly type: "error";
16284
16084
  }, {
16285
16085
  readonly inputs: readonly [{
@@ -16514,6 +16314,10 @@ export declare class PufLockerHandler {
16514
16314
  readonly internalType: "address";
16515
16315
  readonly name: "token";
16516
16316
  readonly type: "address";
16317
+ }, {
16318
+ readonly internalType: "address";
16319
+ readonly name: "recipient";
16320
+ readonly type: "address";
16517
16321
  }, {
16518
16322
  readonly internalType: "uint128";
16519
16323
  readonly name: "lockPeriod";
@@ -16769,16 +16573,6 @@ export declare class PufLockerHandler {
16769
16573
  readonly type: "address";
16770
16574
  }];
16771
16575
  readonly name: "AccessManagedUnauthorized";
16772
- /**
16773
- * Create the handler for the `PufLocker` contract exposing methods to
16774
- * interact with the contract.
16775
- *
16776
- * @param chain Chain to use for the client.
16777
- * @param walletClient The wallet client to use for wallet
16778
- * interactions.
16779
- * @param publicClient The public client to use for public
16780
- * interactions.
16781
- */
16782
16576
  readonly type: "error";
16783
16577
  }, {
16784
16578
  readonly inputs: readonly [{
@@ -17013,6 +16807,10 @@ export declare class PufLockerHandler {
17013
16807
  readonly internalType: "address";
17014
16808
  readonly name: "token";
17015
16809
  readonly type: "address";
16810
+ }, {
16811
+ readonly internalType: "address";
16812
+ readonly name: "recipient";
16813
+ readonly type: "address";
17016
16814
  }, {
17017
16815
  readonly internalType: "uint128";
17018
16816
  readonly name: "lockPeriod";
@@ -17262,16 +17060,6 @@ export declare class PufLockerHandler {
17262
17060
  readonly type: "address";
17263
17061
  }];
17264
17062
  readonly name: "AccessManagedUnauthorized";
17265
- /**
17266
- * Create the handler for the `PufLocker` contract exposing methods to
17267
- * interact with the contract.
17268
- *
17269
- * @param chain Chain to use for the client.
17270
- * @param walletClient The wallet client to use for wallet
17271
- * interactions.
17272
- * @param publicClient The public client to use for public
17273
- * interactions.
17274
- */
17275
17063
  readonly type: "error";
17276
17064
  }, {
17277
17065
  readonly inputs: readonly [{
@@ -17506,6 +17294,10 @@ export declare class PufLockerHandler {
17506
17294
  readonly internalType: "address";
17507
17295
  readonly name: "token";
17508
17296
  readonly type: "address";
17297
+ }, {
17298
+ readonly internalType: "address";
17299
+ readonly name: "recipient";
17300
+ readonly type: "address";
17509
17301
  }, {
17510
17302
  readonly internalType: "uint128";
17511
17303
  readonly name: "lockPeriod";
@@ -17753,16 +17545,6 @@ export declare class PufLockerHandler {
17753
17545
  readonly type: "address";
17754
17546
  }];
17755
17547
  readonly name: "AccessManagedUnauthorized";
17756
- /**
17757
- * Create the handler for the `PufLocker` contract exposing methods to
17758
- * interact with the contract.
17759
- *
17760
- * @param chain Chain to use for the client.
17761
- * @param walletClient The wallet client to use for wallet
17762
- * interactions.
17763
- * @param publicClient The public client to use for public
17764
- * interactions.
17765
- */
17766
17548
  readonly type: "error";
17767
17549
  }, {
17768
17550
  readonly inputs: readonly [{
@@ -17997,6 +17779,10 @@ export declare class PufLockerHandler {
17997
17779
  readonly internalType: "address";
17998
17780
  readonly name: "token";
17999
17781
  readonly type: "address";
17782
+ }, {
17783
+ readonly internalType: "address";
17784
+ readonly name: "recipient";
17785
+ readonly type: "address";
18000
17786
  }, {
18001
17787
  readonly internalType: "uint128";
18002
17788
  readonly name: "lockPeriod";
@@ -18246,16 +18032,6 @@ export declare class PufLockerHandler {
18246
18032
  readonly type: "address";
18247
18033
  }];
18248
18034
  readonly name: "AccessManagedUnauthorized";
18249
- /**
18250
- * Create the handler for the `PufLocker` contract exposing methods to
18251
- * interact with the contract.
18252
- *
18253
- * @param chain Chain to use for the client.
18254
- * @param walletClient The wallet client to use for wallet
18255
- * interactions.
18256
- * @param publicClient The public client to use for public
18257
- * interactions.
18258
- */
18259
18035
  readonly type: "error";
18260
18036
  }, {
18261
18037
  readonly inputs: readonly [{
@@ -18490,6 +18266,10 @@ export declare class PufLockerHandler {
18490
18266
  readonly internalType: "address";
18491
18267
  readonly name: "token";
18492
18268
  readonly type: "address";
18269
+ }, {
18270
+ readonly internalType: "address";
18271
+ readonly name: "recipient";
18272
+ readonly type: "address";
18493
18273
  }, {
18494
18274
  readonly internalType: "uint128";
18495
18275
  readonly name: "lockPeriod";
@@ -18740,16 +18520,6 @@ export declare class PufLockerHandler {
18740
18520
  readonly type: "address";
18741
18521
  }];
18742
18522
  readonly name: "AccessManagedUnauthorized";
18743
- /**
18744
- * Create the handler for the `PufLocker` contract exposing methods to
18745
- * interact with the contract.
18746
- *
18747
- * @param chain Chain to use for the client.
18748
- * @param walletClient The wallet client to use for wallet
18749
- * interactions.
18750
- * @param publicClient The public client to use for public
18751
- * interactions.
18752
- */
18753
18523
  readonly type: "error";
18754
18524
  }, {
18755
18525
  readonly inputs: readonly [{
@@ -18984,6 +18754,10 @@ export declare class PufLockerHandler {
18984
18754
  readonly internalType: "address";
18985
18755
  readonly name: "token";
18986
18756
  readonly type: "address";
18757
+ }, {
18758
+ readonly internalType: "address";
18759
+ readonly name: "recipient";
18760
+ readonly type: "address";
18987
18761
  }, {
18988
18762
  readonly internalType: "uint128";
18989
18763
  readonly name: "lockPeriod";
@@ -19235,16 +19009,6 @@ export declare class PufLockerHandler {
19235
19009
  readonly type: "address";
19236
19010
  }];
19237
19011
  readonly name: "AccessManagedUnauthorized";
19238
- /**
19239
- * Create the handler for the `PufLocker` contract exposing methods to
19240
- * interact with the contract.
19241
- *
19242
- * @param chain Chain to use for the client.
19243
- * @param walletClient The wallet client to use for wallet
19244
- * interactions.
19245
- * @param publicClient The public client to use for public
19246
- * interactions.
19247
- */
19248
19012
  readonly type: "error";
19249
19013
  }, {
19250
19014
  readonly inputs: readonly [{
@@ -19479,6 +19243,10 @@ export declare class PufLockerHandler {
19479
19243
  readonly internalType: "address";
19480
19244
  readonly name: "token";
19481
19245
  readonly type: "address";
19246
+ }, {
19247
+ readonly internalType: "address";
19248
+ readonly name: "recipient";
19249
+ readonly type: "address";
19482
19250
  }, {
19483
19251
  readonly internalType: "uint128";
19484
19252
  readonly name: "lockPeriod";
@@ -19726,16 +19494,6 @@ export declare class PufLockerHandler {
19726
19494
  readonly type: "address";
19727
19495
  }];
19728
19496
  readonly name: "AccessManagedUnauthorized";
19729
- /**
19730
- * Create the handler for the `PufLocker` contract exposing methods to
19731
- * interact with the contract.
19732
- *
19733
- * @param chain Chain to use for the client.
19734
- * @param walletClient The wallet client to use for wallet
19735
- * interactions.
19736
- * @param publicClient The public client to use for public
19737
- * interactions.
19738
- */
19739
19497
  readonly type: "error";
19740
19498
  }, {
19741
19499
  readonly inputs: readonly [{
@@ -19970,6 +19728,10 @@ export declare class PufLockerHandler {
19970
19728
  readonly internalType: "address";
19971
19729
  readonly name: "token";
19972
19730
  readonly type: "address";
19731
+ }, {
19732
+ readonly internalType: "address";
19733
+ readonly name: "recipient";
19734
+ readonly type: "address";
19973
19735
  }, {
19974
19736
  readonly internalType: "uint128";
19975
19737
  readonly name: "lockPeriod";
@@ -20219,16 +19981,6 @@ export declare class PufLockerHandler {
20219
19981
  readonly type: "address";
20220
19982
  }];
20221
19983
  readonly name: "AccessManagedUnauthorized";
20222
- /**
20223
- * Create the handler for the `PufLocker` contract exposing methods to
20224
- * interact with the contract.
20225
- *
20226
- * @param chain Chain to use for the client.
20227
- * @param walletClient The wallet client to use for wallet
20228
- * interactions.
20229
- * @param publicClient The public client to use for public
20230
- * interactions.
20231
- */
20232
19984
  readonly type: "error";
20233
19985
  }, {
20234
19986
  readonly inputs: readonly [{
@@ -20463,6 +20215,10 @@ export declare class PufLockerHandler {
20463
20215
  readonly internalType: "address";
20464
20216
  readonly name: "token";
20465
20217
  readonly type: "address";
20218
+ }, {
20219
+ readonly internalType: "address";
20220
+ readonly name: "recipient";
20221
+ readonly type: "address";
20466
20222
  }, {
20467
20223
  readonly internalType: "uint128";
20468
20224
  readonly name: "lockPeriod";
@@ -20713,16 +20469,6 @@ export declare class PufLockerHandler {
20713
20469
  readonly type: "address";
20714
20470
  }];
20715
20471
  readonly name: "AccessManagedUnauthorized";
20716
- /**
20717
- * Create the handler for the `PufLocker` contract exposing methods to
20718
- * interact with the contract.
20719
- *
20720
- * @param chain Chain to use for the client.
20721
- * @param walletClient The wallet client to use for wallet
20722
- * interactions.
20723
- * @param publicClient The public client to use for public
20724
- * interactions.
20725
- */
20726
20472
  readonly type: "error";
20727
20473
  }, {
20728
20474
  readonly inputs: readonly [{
@@ -20957,6 +20703,10 @@ export declare class PufLockerHandler {
20957
20703
  readonly internalType: "address";
20958
20704
  readonly name: "token";
20959
20705
  readonly type: "address";
20706
+ }, {
20707
+ readonly internalType: "address";
20708
+ readonly name: "recipient";
20709
+ readonly type: "address";
20960
20710
  }, {
20961
20711
  readonly internalType: "uint128";
20962
20712
  readonly name: "lockPeriod";
@@ -21207,16 +20957,6 @@ export declare class PufLockerHandler {
21207
20957
  readonly type: "address";
21208
20958
  }];
21209
20959
  readonly name: "AccessManagedUnauthorized";
21210
- /**
21211
- * Create the handler for the `PufLocker` contract exposing methods to
21212
- * interact with the contract.
21213
- *
21214
- * @param chain Chain to use for the client.
21215
- * @param walletClient The wallet client to use for wallet
21216
- * interactions.
21217
- * @param publicClient The public client to use for public
21218
- * interactions.
21219
- */
21220
20960
  readonly type: "error";
21221
20961
  }, {
21222
20962
  readonly inputs: readonly [{
@@ -21451,6 +21191,10 @@ export declare class PufLockerHandler {
21451
21191
  readonly internalType: "address";
21452
21192
  readonly name: "token";
21453
21193
  readonly type: "address";
21194
+ }, {
21195
+ readonly internalType: "address";
21196
+ readonly name: "recipient";
21197
+ readonly type: "address";
21454
21198
  }, {
21455
21199
  readonly internalType: "uint128";
21456
21200
  readonly name: "lockPeriod";
@@ -21703,16 +21447,6 @@ export declare class PufLockerHandler {
21703
21447
  readonly type: "address";
21704
21448
  }];
21705
21449
  readonly name: "AccessManagedUnauthorized";
21706
- /**
21707
- * Create the handler for the `PufLocker` contract exposing methods to
21708
- * interact with the contract.
21709
- *
21710
- * @param chain Chain to use for the client.
21711
- * @param walletClient The wallet client to use for wallet
21712
- * interactions.
21713
- * @param publicClient The public client to use for public
21714
- * interactions.
21715
- */
21716
21450
  readonly type: "error";
21717
21451
  }, {
21718
21452
  readonly inputs: readonly [{
@@ -21947,6 +21681,10 @@ export declare class PufLockerHandler {
21947
21681
  readonly internalType: "address";
21948
21682
  readonly name: "token";
21949
21683
  readonly type: "address";
21684
+ }, {
21685
+ readonly internalType: "address";
21686
+ readonly name: "recipient";
21687
+ readonly type: "address";
21950
21688
  }, {
21951
21689
  readonly internalType: "uint128";
21952
21690
  readonly name: "lockPeriod";
@@ -22200,16 +21938,6 @@ export declare class PufLockerHandler {
22200
21938
  readonly type: "address";
22201
21939
  }];
22202
21940
  readonly name: "AccessManagedUnauthorized";
22203
- /**
22204
- * Create the handler for the `PufLocker` contract exposing methods to
22205
- * interact with the contract.
22206
- *
22207
- * @param chain Chain to use for the client.
22208
- * @param walletClient The wallet client to use for wallet
22209
- * interactions.
22210
- * @param publicClient The public client to use for public
22211
- * interactions.
22212
- */
22213
21941
  readonly type: "error";
22214
21942
  }, {
22215
21943
  readonly inputs: readonly [{
@@ -22444,6 +22172,10 @@ export declare class PufLockerHandler {
22444
22172
  readonly internalType: "address";
22445
22173
  readonly name: "token";
22446
22174
  readonly type: "address";
22175
+ }, {
22176
+ readonly internalType: "address";
22177
+ readonly name: "recipient";
22178
+ readonly type: "address";
22447
22179
  }, {
22448
22180
  readonly internalType: "uint128";
22449
22181
  readonly name: "lockPeriod";
@@ -22698,16 +22430,6 @@ export declare class PufLockerHandler {
22698
22430
  readonly type: "address";
22699
22431
  }];
22700
22432
  readonly name: "AccessManagedUnauthorized";
22701
- /**
22702
- * Create the handler for the `PufLocker` contract exposing methods to
22703
- * interact with the contract.
22704
- *
22705
- * @param chain Chain to use for the client.
22706
- * @param walletClient The wallet client to use for wallet
22707
- * interactions.
22708
- * @param publicClient The public client to use for public
22709
- * interactions.
22710
- */
22711
22433
  readonly type: "error";
22712
22434
  }, {
22713
22435
  readonly inputs: readonly [{
@@ -22942,6 +22664,10 @@ export declare class PufLockerHandler {
22942
22664
  readonly internalType: "address";
22943
22665
  readonly name: "token";
22944
22666
  readonly type: "address";
22667
+ }, {
22668
+ readonly internalType: "address";
22669
+ readonly name: "recipient";
22670
+ readonly type: "address";
22945
22671
  }, {
22946
22672
  readonly internalType: "uint128";
22947
22673
  readonly name: "lockPeriod";
@@ -23192,16 +22918,6 @@ export declare class PufLockerHandler {
23192
22918
  readonly type: "address";
23193
22919
  }];
23194
22920
  readonly name: "AccessManagedUnauthorized";
23195
- /**
23196
- * Create the handler for the `PufLocker` contract exposing methods to
23197
- * interact with the contract.
23198
- *
23199
- * @param chain Chain to use for the client.
23200
- * @param walletClient The wallet client to use for wallet
23201
- * interactions.
23202
- * @param publicClient The public client to use for public
23203
- * interactions.
23204
- */
23205
22921
  readonly type: "error";
23206
22922
  }, {
23207
22923
  readonly inputs: readonly [{
@@ -23436,6 +23152,10 @@ export declare class PufLockerHandler {
23436
23152
  readonly internalType: "address";
23437
23153
  readonly name: "token";
23438
23154
  readonly type: "address";
23155
+ }, {
23156
+ readonly internalType: "address";
23157
+ readonly name: "recipient";
23158
+ readonly type: "address";
23439
23159
  }, {
23440
23160
  readonly internalType: "uint128";
23441
23161
  readonly name: "lockPeriod";
@@ -23688,16 +23408,6 @@ export declare class PufLockerHandler {
23688
23408
  readonly type: "address";
23689
23409
  }];
23690
23410
  readonly name: "AccessManagedUnauthorized";
23691
- /**
23692
- * Create the handler for the `PufLocker` contract exposing methods to
23693
- * interact with the contract.
23694
- *
23695
- * @param chain Chain to use for the client.
23696
- * @param walletClient The wallet client to use for wallet
23697
- * interactions.
23698
- * @param publicClient The public client to use for public
23699
- * interactions.
23700
- */
23701
23411
  readonly type: "error";
23702
23412
  }, {
23703
23413
  readonly inputs: readonly [{
@@ -23932,6 +23642,10 @@ export declare class PufLockerHandler {
23932
23642
  readonly internalType: "address";
23933
23643
  readonly name: "token";
23934
23644
  readonly type: "address";
23645
+ }, {
23646
+ readonly internalType: "address";
23647
+ readonly name: "recipient";
23648
+ readonly type: "address";
23935
23649
  }, {
23936
23650
  readonly internalType: "uint128";
23937
23651
  readonly name: "lockPeriod";
@@ -24178,16 +23892,6 @@ export declare class PufLockerHandler {
24178
23892
  readonly type: "address";
24179
23893
  }];
24180
23894
  readonly name: "AccessManagedUnauthorized";
24181
- /**
24182
- * Create the handler for the `PufLocker` contract exposing methods to
24183
- * interact with the contract.
24184
- *
24185
- * @param chain Chain to use for the client.
24186
- * @param walletClient The wallet client to use for wallet
24187
- * interactions.
24188
- * @param publicClient The public client to use for public
24189
- * interactions.
24190
- */
24191
23895
  readonly type: "error";
24192
23896
  }, {
24193
23897
  readonly inputs: readonly [{
@@ -24422,6 +24126,10 @@ export declare class PufLockerHandler {
24422
24126
  readonly internalType: "address";
24423
24127
  readonly name: "token";
24424
24128
  readonly type: "address";
24129
+ }, {
24130
+ readonly internalType: "address";
24131
+ readonly name: "recipient";
24132
+ readonly type: "address";
24425
24133
  }, {
24426
24134
  readonly internalType: "uint128";
24427
24135
  readonly name: "lockPeriod";
@@ -24632,7 +24340,7 @@ export declare class PufLockerHandler {
24632
24340
  readonly outputs: readonly [];
24633
24341
  readonly stateMutability: "nonpayable";
24634
24342
  readonly type: "function";
24635
- }], "deposit", readonly [`0x${string}`, bigint, {
24343
+ }], "deposit", readonly [`0x${string}`, `0x${string}`, bigint, {
24636
24344
  deadline: bigint;
24637
24345
  amount: bigint;
24638
24346
  v: number;
@@ -24669,16 +24377,6 @@ export declare class PufLockerHandler {
24669
24377
  readonly type: "address";
24670
24378
  }];
24671
24379
  readonly name: "AccessManagedUnauthorized";
24672
- /**
24673
- * Create the handler for the `PufLocker` contract exposing methods to
24674
- * interact with the contract.
24675
- *
24676
- * @param chain Chain to use for the client.
24677
- * @param walletClient The wallet client to use for wallet
24678
- * interactions.
24679
- * @param publicClient The public client to use for public
24680
- * interactions.
24681
- */
24682
24380
  readonly type: "error";
24683
24381
  }, {
24684
24382
  readonly inputs: readonly [{
@@ -24913,6 +24611,10 @@ export declare class PufLockerHandler {
24913
24611
  readonly internalType: "address";
24914
24612
  readonly name: "token";
24915
24613
  readonly type: "address";
24614
+ }, {
24615
+ readonly internalType: "address";
24616
+ readonly name: "recipient";
24617
+ readonly type: "address";
24916
24618
  }, {
24917
24619
  readonly internalType: "uint128";
24918
24620
  readonly name: "lockPeriod";
@@ -25123,13 +24825,13 @@ export declare class PufLockerHandler {
25123
24825
  readonly outputs: readonly [];
25124
24826
  readonly stateMutability: "nonpayable";
25125
24827
  readonly type: "function";
25126
- }], "deposit", readonly [`0x${string}`, bigint, {
24828
+ }], "deposit", readonly [`0x${string}`, `0x${string}`, bigint, {
25127
24829
  deadline: bigint;
25128
24830
  amount: bigint;
25129
24831
  v: number;
25130
24832
  r: `0x${string}`;
25131
24833
  s: `0x${string}`;
25132
- }], ViemChain | undefined, import('viem').Account | undefined, TChainOverride_7>, "address" | "abi" | "args" | "functionName">[K]; } : never>(args: readonly [`0x${string}`, bigint, {
24834
+ }], ViemChain | undefined, import('viem').Account | undefined, TChainOverride_7>, "address" | "abi" | "args" | "functionName">[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, bigint, {
25133
24835
  deadline: bigint;
25134
24836
  amount: bigint;
25135
24837
  v: number;
@@ -25167,16 +24869,6 @@ export declare class PufLockerHandler {
25167
24869
  readonly type: "address";
25168
24870
  }];
25169
24871
  readonly name: "AccessManagedUnauthorized";
25170
- /**
25171
- * Create the handler for the `PufLocker` contract exposing methods to
25172
- * interact with the contract.
25173
- *
25174
- * @param chain Chain to use for the client.
25175
- * @param walletClient The wallet client to use for wallet
25176
- * interactions.
25177
- * @param publicClient The public client to use for public
25178
- * interactions.
25179
- */
25180
24872
  readonly type: "error";
25181
24873
  }, {
25182
24874
  readonly inputs: readonly [{
@@ -25411,6 +25103,10 @@ export declare class PufLockerHandler {
25411
25103
  readonly internalType: "address";
25412
25104
  readonly name: "token";
25413
25105
  readonly type: "address";
25106
+ }, {
25107
+ readonly internalType: "address";
25108
+ readonly name: "recipient";
25109
+ readonly type: "address";
25414
25110
  }, {
25415
25111
  readonly internalType: "uint128";
25416
25112
  readonly name: "lockPeriod";
@@ -25652,16 +25348,6 @@ export declare class PufLockerHandler {
25652
25348
  readonly type: "address";
25653
25349
  }];
25654
25350
  readonly name: "AccessManagedUnauthorized";
25655
- /**
25656
- * Create the handler for the `PufLocker` contract exposing methods to
25657
- * interact with the contract.
25658
- *
25659
- * @param chain Chain to use for the client.
25660
- * @param walletClient The wallet client to use for wallet
25661
- * interactions.
25662
- * @param publicClient The public client to use for public
25663
- * interactions.
25664
- */
25665
25351
  readonly type: "error";
25666
25352
  }, {
25667
25353
  readonly inputs: readonly [{
@@ -25896,6 +25582,10 @@ export declare class PufLockerHandler {
25896
25582
  readonly internalType: "address";
25897
25583
  readonly name: "token";
25898
25584
  readonly type: "address";
25585
+ }, {
25586
+ readonly internalType: "address";
25587
+ readonly name: "recipient";
25588
+ readonly type: "address";
25899
25589
  }, {
25900
25590
  readonly internalType: "uint128";
25901
25591
  readonly name: "lockPeriod";
@@ -26138,16 +25828,6 @@ export declare class PufLockerHandler {
26138
25828
  readonly type: "address";
26139
25829
  }];
26140
25830
  readonly name: "AccessManagedUnauthorized";
26141
- /**
26142
- * Create the handler for the `PufLocker` contract exposing methods to
26143
- * interact with the contract.
26144
- *
26145
- * @param chain Chain to use for the client.
26146
- * @param walletClient The wallet client to use for wallet
26147
- * interactions.
26148
- * @param publicClient The public client to use for public
26149
- * interactions.
26150
- */
26151
25831
  readonly type: "error";
26152
25832
  }, {
26153
25833
  readonly inputs: readonly [{
@@ -26382,6 +26062,10 @@ export declare class PufLockerHandler {
26382
26062
  readonly internalType: "address";
26383
26063
  readonly name: "token";
26384
26064
  readonly type: "address";
26065
+ }, {
26066
+ readonly internalType: "address";
26067
+ readonly name: "recipient";
26068
+ readonly type: "address";
26385
26069
  }, {
26386
26070
  readonly internalType: "uint128";
26387
26071
  readonly name: "lockPeriod";
@@ -26623,16 +26307,6 @@ export declare class PufLockerHandler {
26623
26307
  readonly type: "address";
26624
26308
  }];
26625
26309
  readonly name: "AccessManagedUnauthorized";
26626
- /**
26627
- * Create the handler for the `PufLocker` contract exposing methods to
26628
- * interact with the contract.
26629
- *
26630
- * @param chain Chain to use for the client.
26631
- * @param walletClient The wallet client to use for wallet
26632
- * interactions.
26633
- * @param publicClient The public client to use for public
26634
- * interactions.
26635
- */
26636
26310
  readonly type: "error";
26637
26311
  }, {
26638
26312
  readonly inputs: readonly [{
@@ -26867,6 +26541,10 @@ export declare class PufLockerHandler {
26867
26541
  readonly internalType: "address";
26868
26542
  readonly name: "token";
26869
26543
  readonly type: "address";
26544
+ }, {
26545
+ readonly internalType: "address";
26546
+ readonly name: "recipient";
26547
+ readonly type: "address";
26870
26548
  }, {
26871
26549
  readonly internalType: "uint128";
26872
26550
  readonly name: "lockPeriod";
@@ -27109,16 +26787,6 @@ export declare class PufLockerHandler {
27109
26787
  readonly type: "address";
27110
26788
  }];
27111
26789
  readonly name: "AccessManagedUnauthorized";
27112
- /**
27113
- * Create the handler for the `PufLocker` contract exposing methods to
27114
- * interact with the contract.
27115
- *
27116
- * @param chain Chain to use for the client.
27117
- * @param walletClient The wallet client to use for wallet
27118
- * interactions.
27119
- * @param publicClient The public client to use for public
27120
- * interactions.
27121
- */
27122
26790
  readonly type: "error";
27123
26791
  }, {
27124
26792
  readonly inputs: readonly [{
@@ -27353,6 +27021,10 @@ export declare class PufLockerHandler {
27353
27021
  readonly internalType: "address";
27354
27022
  readonly name: "token";
27355
27023
  readonly type: "address";
27024
+ }, {
27025
+ readonly internalType: "address";
27026
+ readonly name: "recipient";
27027
+ readonly type: "address";
27356
27028
  }, {
27357
27029
  readonly internalType: "uint128";
27358
27030
  readonly name: "lockPeriod";
@@ -27594,16 +27266,6 @@ export declare class PufLockerHandler {
27594
27266
  readonly type: "address";
27595
27267
  }];
27596
27268
  readonly name: "AccessManagedUnauthorized";
27597
- /**
27598
- * Create the handler for the `PufLocker` contract exposing methods to
27599
- * interact with the contract.
27600
- *
27601
- * @param chain Chain to use for the client.
27602
- * @param walletClient The wallet client to use for wallet
27603
- * interactions.
27604
- * @param publicClient The public client to use for public
27605
- * interactions.
27606
- */
27607
27269
  readonly type: "error";
27608
27270
  }, {
27609
27271
  readonly inputs: readonly [{
@@ -27838,6 +27500,10 @@ export declare class PufLockerHandler {
27838
27500
  readonly internalType: "address";
27839
27501
  readonly name: "token";
27840
27502
  readonly type: "address";
27503
+ }, {
27504
+ readonly internalType: "address";
27505
+ readonly name: "recipient";
27506
+ readonly type: "address";
27841
27507
  }, {
27842
27508
  readonly internalType: "uint128";
27843
27509
  readonly name: "lockPeriod";
@@ -28080,16 +27746,6 @@ export declare class PufLockerHandler {
28080
27746
  readonly type: "address";
28081
27747
  }];
28082
27748
  readonly name: "AccessManagedUnauthorized";
28083
- /**
28084
- * Create the handler for the `PufLocker` contract exposing methods to
28085
- * interact with the contract.
28086
- *
28087
- * @param chain Chain to use for the client.
28088
- * @param walletClient The wallet client to use for wallet
28089
- * interactions.
28090
- * @param publicClient The public client to use for public
28091
- * interactions.
28092
- */
28093
27749
  readonly type: "error";
28094
27750
  }, {
28095
27751
  readonly inputs: readonly [{
@@ -28324,6 +27980,10 @@ export declare class PufLockerHandler {
28324
27980
  readonly internalType: "address";
28325
27981
  readonly name: "token";
28326
27982
  readonly type: "address";
27983
+ }, {
27984
+ readonly internalType: "address";
27985
+ readonly name: "recipient";
27986
+ readonly type: "address";
28327
27987
  }, {
28328
27988
  readonly internalType: "uint128";
28329
27989
  readonly name: "lockPeriod";
@@ -28565,16 +28225,6 @@ export declare class PufLockerHandler {
28565
28225
  readonly type: "address";
28566
28226
  }];
28567
28227
  readonly name: "AccessManagedUnauthorized";
28568
- /**
28569
- * Create the handler for the `PufLocker` contract exposing methods to
28570
- * interact with the contract.
28571
- *
28572
- * @param chain Chain to use for the client.
28573
- * @param walletClient The wallet client to use for wallet
28574
- * interactions.
28575
- * @param publicClient The public client to use for public
28576
- * interactions.
28577
- */
28578
28228
  readonly type: "error";
28579
28229
  }, {
28580
28230
  readonly inputs: readonly [{
@@ -28809,6 +28459,10 @@ export declare class PufLockerHandler {
28809
28459
  readonly internalType: "address";
28810
28460
  readonly name: "token";
28811
28461
  readonly type: "address";
28462
+ }, {
28463
+ readonly internalType: "address";
28464
+ readonly name: "recipient";
28465
+ readonly type: "address";
28812
28466
  }, {
28813
28467
  readonly internalType: "uint128";
28814
28468
  readonly name: "lockPeriod";
@@ -29051,16 +28705,6 @@ export declare class PufLockerHandler {
29051
28705
  readonly type: "address";
29052
28706
  }];
29053
28707
  readonly name: "AccessManagedUnauthorized";
29054
- /**
29055
- * Create the handler for the `PufLocker` contract exposing methods to
29056
- * interact with the contract.
29057
- *
29058
- * @param chain Chain to use for the client.
29059
- * @param walletClient The wallet client to use for wallet
29060
- * interactions.
29061
- * @param publicClient The public client to use for public
29062
- * interactions.
29063
- */
29064
28708
  readonly type: "error";
29065
28709
  }, {
29066
28710
  readonly inputs: readonly [{
@@ -29295,6 +28939,10 @@ export declare class PufLockerHandler {
29295
28939
  readonly internalType: "address";
29296
28940
  readonly name: "token";
29297
28941
  readonly type: "address";
28942
+ }, {
28943
+ readonly internalType: "address";
28944
+ readonly name: "recipient";
28945
+ readonly type: "address";
29298
28946
  }, {
29299
28947
  readonly internalType: "uint128";
29300
28948
  readonly name: "lockPeriod";
@@ -29536,16 +29184,6 @@ export declare class PufLockerHandler {
29536
29184
  readonly type: "address";
29537
29185
  }];
29538
29186
  readonly name: "AccessManagedUnauthorized";
29539
- /**
29540
- * Create the handler for the `PufLocker` contract exposing methods to
29541
- * interact with the contract.
29542
- *
29543
- * @param chain Chain to use for the client.
29544
- * @param walletClient The wallet client to use for wallet
29545
- * interactions.
29546
- * @param publicClient The public client to use for public
29547
- * interactions.
29548
- */
29549
29187
  readonly type: "error";
29550
29188
  }, {
29551
29189
  readonly inputs: readonly [{
@@ -29780,6 +29418,10 @@ export declare class PufLockerHandler {
29780
29418
  readonly internalType: "address";
29781
29419
  readonly name: "token";
29782
29420
  readonly type: "address";
29421
+ }, {
29422
+ readonly internalType: "address";
29423
+ readonly name: "recipient";
29424
+ readonly type: "address";
29783
29425
  }, {
29784
29426
  readonly internalType: "uint128";
29785
29427
  readonly name: "lockPeriod";
@@ -30022,16 +29664,6 @@ export declare class PufLockerHandler {
30022
29664
  readonly type: "address";
30023
29665
  }];
30024
29666
  readonly name: "AccessManagedUnauthorized";
30025
- /**
30026
- * Create the handler for the `PufLocker` contract exposing methods to
30027
- * interact with the contract.
30028
- *
30029
- * @param chain Chain to use for the client.
30030
- * @param walletClient The wallet client to use for wallet
30031
- * interactions.
30032
- * @param publicClient The public client to use for public
30033
- * interactions.
30034
- */
30035
29667
  readonly type: "error";
30036
29668
  }, {
30037
29669
  readonly inputs: readonly [{
@@ -30266,6 +29898,10 @@ export declare class PufLockerHandler {
30266
29898
  readonly internalType: "address";
30267
29899
  readonly name: "token";
30268
29900
  readonly type: "address";
29901
+ }, {
29902
+ readonly internalType: "address";
29903
+ readonly name: "recipient";
29904
+ readonly type: "address";
30269
29905
  }, {
30270
29906
  readonly internalType: "uint128";
30271
29907
  readonly name: "lockPeriod";
@@ -30507,16 +30143,6 @@ export declare class PufLockerHandler {
30507
30143
  readonly type: "address";
30508
30144
  }];
30509
30145
  readonly name: "AccessManagedUnauthorized";
30510
- /**
30511
- * Create the handler for the `PufLocker` contract exposing methods to
30512
- * interact with the contract.
30513
- *
30514
- * @param chain Chain to use for the client.
30515
- * @param walletClient The wallet client to use for wallet
30516
- * interactions.
30517
- * @param publicClient The public client to use for public
30518
- * interactions.
30519
- */
30520
30146
  readonly type: "error";
30521
30147
  }, {
30522
30148
  readonly inputs: readonly [{
@@ -30751,6 +30377,10 @@ export declare class PufLockerHandler {
30751
30377
  readonly internalType: "address";
30752
30378
  readonly name: "token";
30753
30379
  readonly type: "address";
30380
+ }, {
30381
+ readonly internalType: "address";
30382
+ readonly name: "recipient";
30383
+ readonly type: "address";
30754
30384
  }, {
30755
30385
  readonly internalType: "uint128";
30756
30386
  readonly name: "lockPeriod";
@@ -30995,16 +30625,6 @@ export declare class PufLockerHandler {
30995
30625
  readonly type: "address";
30996
30626
  }];
30997
30627
  readonly name: "AccessManagedUnauthorized";
30998
- /**
30999
- * Create the handler for the `PufLocker` contract exposing methods to
31000
- * interact with the contract.
31001
- *
31002
- * @param chain Chain to use for the client.
31003
- * @param walletClient The wallet client to use for wallet
31004
- * interactions.
31005
- * @param publicClient The public client to use for public
31006
- * interactions.
31007
- */
31008
30628
  readonly type: "error";
31009
30629
  }, {
31010
30630
  readonly inputs: readonly [{
@@ -31239,6 +30859,10 @@ export declare class PufLockerHandler {
31239
30859
  readonly internalType: "address";
31240
30860
  readonly name: "token";
31241
30861
  readonly type: "address";
30862
+ }, {
30863
+ readonly internalType: "address";
30864
+ readonly name: "recipient";
30865
+ readonly type: "address";
31242
30866
  }, {
31243
30867
  readonly internalType: "uint128";
31244
30868
  readonly name: "lockPeriod";
@@ -31482,42 +31106,25 @@ export declare class PufLockerHandler {
31482
31106
  * (`[minLock, maxLock]`)
31483
31107
  */
31484
31108
  getLockPeriods(): Promise<readonly [bigint, bigint]>;
31485
- /**
31486
- * Deposit the given pre-approved PufToken into the locker. A token
31487
- * can be pre-approved using `Token.approve()`, This doesn't make the
31488
- * transaction but returns two methods namely `transact` and
31489
- * `estimate`.
31490
- *
31491
- * @param pufToken PufToken to deposit.
31492
- * @param walletAddress Wallet address of the depositor.
31493
- * @param value Amount of the deposit.
31494
- * @param lockPeriod The period for the deposit in seconds.
31495
- * @returns `transact: () => Promise<Address>` - Used to make the
31496
- * transaction.
31497
- *
31498
- * `estimate: () => Promise<bigint>` - Gas estimate of the
31499
- * transaction.
31500
- */
31501
- depositPreApproved(pufToken: PufToken, walletAddress: Address, value: bigint, lockPeriod: bigint): Promise<{
31502
- transact: () => Promise<`0x${string}`>;
31503
- estimate: () => Promise<bigint>;
31504
- }>;
31505
31109
  /**
31506
31110
  * Deposit the given PufToken into the locker. This doesn't make the
31507
31111
  * transaction but returns two methods namely `transact` and
31508
31112
  * `estimate`.
31509
31113
  *
31510
- * @param pufToken PufToken to deposit.
31511
- * @param walletAddress Wallet address of the depositor.
31512
- * @param value Amount of the deposit.
31513
- * @param lockPeriod The period for the deposit in seconds.
31114
+ * @param depositParams.pufToken PufToken to deposit.
31115
+ * @param depositParams.account Wallet address of the depositor.
31116
+ * @param depositParams.value Amount of the deposit.
31117
+ * @param depositParams.lockPeriod The period for the deposit in
31118
+ * seconds.
31119
+ * @param depositParams.isPreapproved Whether the token is
31120
+ * pre-approved or needs a permit.
31514
31121
  * @returns `transact: () => Promise<Address>` - Used to make the
31515
31122
  * transaction.
31516
31123
  *
31517
31124
  * `estimate: () => Promise<bigint>` - Gas estimate of the
31518
31125
  * transaction.
31519
31126
  */
31520
- deposit(pufToken: PufToken, walletAddress: Address, value: bigint, lockPeriod: bigint): Promise<{
31127
+ deposit(depositParams: LockerDepositParams): Promise<{
31521
31128
  transact: () => Promise<`0x${string}`>;
31522
31129
  estimate: () => Promise<bigint>;
31523
31130
  }>;