@raac/rpc 1.2.0-beta.14 → 1.2.0-beta.15

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.
@@ -3,22 +3,22 @@ import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, Typed
3
3
  export declare namespace RAACLiquidLocker {
4
4
  type EpochUnlockInfoStruct = {
5
5
  pendingUnlock: BigNumberish;
6
+ reservedAmount: BigNumberish;
6
7
  unlockEpoch: BigNumberish;
7
- reserved: boolean;
8
8
  };
9
9
  type EpochUnlockInfoStructOutput = [
10
10
  pendingUnlock: bigint,
11
- unlockEpoch: bigint,
12
- reserved: boolean
11
+ reservedAmount: bigint,
12
+ unlockEpoch: bigint
13
13
  ] & {
14
14
  pendingUnlock: bigint;
15
+ reservedAmount: bigint;
15
16
  unlockEpoch: bigint;
16
- reserved: boolean;
17
17
  };
18
18
  }
19
19
  export interface RAACLiquidLockerInterface extends Interface {
20
- getFunction(nameOrSignature: "BOOSTER_ROLE" | "DEFAULT_ADMIN_ROLE" | "FEE_PRECISION" | "HARVEST_ROLE" | "ON_BEHALF_OF_ROLE" | "PAUSER_ROLE" | "accRewardPerShare" | "borrow" | "claimRewardFor" | "cleverFeeRecipient" | "deposit" | "depositOnBehalfOf" | "depositToGauge" | "donate" | "epochEndToLockAmount" | "epochEnds" | "feeSharesBots" | "feeSharesClever" | "feeSharesTreasury" | "getRoleAdmin" | "getUserInfo" | "getUserLocks" | "grantRole" | "harvest" | "harvestBountyPercentage" | "hasRole" | "initialize" | "intermediateRewardToken" | "isKeeper" | "leRAAC" | "lockDurationEpochs" | "maturityVault" | "oldToNewEpochEnds" | "owner" | "pause" | "paused" | "pendingCumulatedAmount" | "poolLockedUnderlying" | "processVaultExpiredLocks" | "processedEpochIndexes" | "raac" | "raacBotLocker" | "renounceOwnership" | "renounceRole" | "repay" | "repayFeePercentage" | "requestUnlock" | "reserveRate" | "revokeRole" | "supportsInterface" | "totalDebtGlobal" | "totalLockedGlobal" | "totalRaacInPool" | "totalUnlockedGlobal" | "transferOwnership" | "treasury" | "treasuryFeePercentage" | "unpause" | "updateBotLocker" | "updateCleverFeeRecipient" | "updateFeeShares" | "updateHarvestBountyPercentage" | "updateIntermediateRewardToken" | "updateRepayFeePercentage" | "updateTreasury" | "updateWhitelist" | "updateZap" | "userInfo" | "veRAAC" | "voteGauge" | "voteGovernance" | "withdrawFromGauge" | "withdrawUnlocked" | "zap"): FunctionFragment;
21
- getEvent(nameOrSignatureOrTopic: "BatchProcessCompleted" | "Borrow" | "Claim" | "ClaimRewardClaimed" | "ClaimRewardFailed" | "Deposit" | "DepositedToGauge" | "GaugeVote" | "GovernanceVote" | "Harvest" | "Initialized" | "OwnershipTransferred" | "Paused" | "ProcessUnlockableRAAC" | "Repay" | "RewardClaimedFor" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "Unlock" | "Unpaused" | "UpdateBotLocker" | "UpdateCleverFeeRecipient" | "UpdateFeeShares" | "UpdateHarvestBountyPercentage" | "UpdateIntermediateRewardToken" | "UpdateRepayFeePercentage" | "UpdateTreasury" | "UpdateVeBoost" | "UpdateWhitelist" | "UpdateZap" | "UserExpiredLocksProcessed" | "VaultExpiredLocksProcessed" | "Withdraw" | "WithdrawnFromGauge"): EventFragment;
20
+ getFunction(nameOrSignature: "BOOSTER_ROLE" | "DEFAULT_ADMIN_ROLE" | "FEE_PRECISION" | "HARVEST_ROLE" | "ON_BEHALF_OF_ROLE" | "PAUSER_ROLE" | "accRewardPerShare" | "borrow" | "checkAccountHealth" | "claimRewardFor" | "cleverFeeRecipient" | "deposit" | "depositOnBehalfOf" | "depositToGauge" | "donate" | "epochEndToLockAmount" | "epochEnds" | "feeSharesBots" | "feeSharesClever" | "feeSharesTreasury" | "getCurrentEpoch" | "getRoleAdmin" | "getUserInfo" | "getUserLocks" | "grantRole" | "harvest" | "harvestBountyPercentage" | "hasRole" | "initialize" | "intermediateRewardToken" | "isKeeper" | "leRAAC" | "lockDurationEpochs" | "maturityVault" | "oldToNewEpochEnds" | "owner" | "pause" | "paused" | "pendingCumulatedAmount" | "poolLockedUnderlying" | "previewWithdraw" | "processVaultExpiredLocks" | "processedEpochIndexes" | "raac" | "raacBotLocker" | "renounceOwnership" | "renounceRole" | "repay" | "repayFeePercentage" | "requestUnlock" | "reserveRate" | "revokeRole" | "setMaxHarvestDistribution" | "supportsInterface" | "toggleMaxDistributions" | "totalDebtGlobal" | "totalLockedGlobal" | "totalRaacInPool" | "totalUnlockedGlobal" | "transferOwnership" | "treasury" | "treasuryFeePercentage" | "unpause" | "updateBotLocker" | "updateCleverFeeRecipient" | "updateFeeShares" | "updateHarvestBountyPercentage" | "updateIntermediateRewardToken" | "updateRepayFeePercentage" | "updateTreasury" | "updateWhitelist" | "updateZap" | "userInfo" | "veRAAC" | "voteGauge" | "voteGovernance" | "withdrawFromGauge" | "withdrawUnlocked" | "zap"): FunctionFragment;
21
+ getEvent(nameOrSignatureOrTopic: "BatchProcessCompleted" | "Borrow" | "Claim" | "ClaimRewardClaimed" | "ClaimRewardFailed" | "Deposit" | "DepositedToGauge" | "GaugeVote" | "GovernanceVote" | "Harvest" | "Initialized" | "MaxDistributionSet" | "MaxDistributionValueUpdated" | "OwnershipTransferred" | "Paused" | "ProcessUnlockableRAAC" | "Repay" | "RewardClaimedFor" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "Unlock" | "Unpaused" | "UpdateBotLocker" | "UpdateCleverFeeRecipient" | "UpdateFeeShares" | "UpdateHarvestBountyPercentage" | "UpdateIntermediateRewardToken" | "UpdateRepayFeePercentage" | "UpdateTreasury" | "UpdateWhitelist" | "UpdateZap" | "UserExpiredLocksProcessed" | "VaultExpiredLocksProcessed" | "Withdraw" | "WithdrawnFromGauge"): EventFragment;
22
22
  encodeFunctionData(functionFragment: "BOOSTER_ROLE", values?: undefined): string;
23
23
  encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
24
24
  encodeFunctionData(functionFragment: "FEE_PRECISION", values?: undefined): string;
@@ -27,6 +27,7 @@ export interface RAACLiquidLockerInterface extends Interface {
27
27
  encodeFunctionData(functionFragment: "PAUSER_ROLE", values?: undefined): string;
28
28
  encodeFunctionData(functionFragment: "accRewardPerShare", values?: undefined): string;
29
29
  encodeFunctionData(functionFragment: "borrow", values: [BigNumberish, boolean]): string;
30
+ encodeFunctionData(functionFragment: "checkAccountHealth", values: [AddressLike]): string;
30
31
  encodeFunctionData(functionFragment: "claimRewardFor", values: [AddressLike, BigNumberish, AddressLike, AddressLike]): string;
31
32
  encodeFunctionData(functionFragment: "cleverFeeRecipient", values?: undefined): string;
32
33
  encodeFunctionData(functionFragment: "deposit", values: [BigNumberish]): string;
@@ -38,6 +39,7 @@ export interface RAACLiquidLockerInterface extends Interface {
38
39
  encodeFunctionData(functionFragment: "feeSharesBots", values?: undefined): string;
39
40
  encodeFunctionData(functionFragment: "feeSharesClever", values?: undefined): string;
40
41
  encodeFunctionData(functionFragment: "feeSharesTreasury", values?: undefined): string;
42
+ encodeFunctionData(functionFragment: "getCurrentEpoch", values?: undefined): string;
41
43
  encodeFunctionData(functionFragment: "getRoleAdmin", values: [BytesLike]): string;
42
44
  encodeFunctionData(functionFragment: "getUserInfo", values: [AddressLike]): string;
43
45
  encodeFunctionData(functionFragment: "getUserLocks", values: [AddressLike]): string;
@@ -55,7 +57,6 @@ export interface RAACLiquidLockerInterface extends Interface {
55
57
  AddressLike,
56
58
  AddressLike,
57
59
  AddressLike,
58
- AddressLike,
59
60
  BigNumberish,
60
61
  BigNumberish,
61
62
  BigNumberish,
@@ -73,6 +74,7 @@ export interface RAACLiquidLockerInterface extends Interface {
73
74
  encodeFunctionData(functionFragment: "paused", values?: undefined): string;
74
75
  encodeFunctionData(functionFragment: "pendingCumulatedAmount", values?: undefined): string;
75
76
  encodeFunctionData(functionFragment: "poolLockedUnderlying", values?: undefined): string;
77
+ encodeFunctionData(functionFragment: "previewWithdraw", values: [AddressLike]): string;
76
78
  encodeFunctionData(functionFragment: "processVaultExpiredLocks", values?: undefined): string;
77
79
  encodeFunctionData(functionFragment: "processedEpochIndexes", values?: undefined): string;
78
80
  encodeFunctionData(functionFragment: "raac", values?: undefined): string;
@@ -84,7 +86,9 @@ export interface RAACLiquidLockerInterface extends Interface {
84
86
  encodeFunctionData(functionFragment: "requestUnlock", values: [BigNumberish]): string;
85
87
  encodeFunctionData(functionFragment: "reserveRate", values?: undefined): string;
86
88
  encodeFunctionData(functionFragment: "revokeRole", values: [BytesLike, AddressLike]): string;
89
+ encodeFunctionData(functionFragment: "setMaxHarvestDistribution", values: [BigNumberish]): string;
87
90
  encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
91
+ encodeFunctionData(functionFragment: "toggleMaxDistributions", values: [boolean]): string;
88
92
  encodeFunctionData(functionFragment: "totalDebtGlobal", values?: undefined): string;
89
93
  encodeFunctionData(functionFragment: "totalLockedGlobal", values?: undefined): string;
90
94
  encodeFunctionData(functionFragment: "totalRaacInPool", values?: undefined): string;
@@ -117,6 +121,7 @@ export interface RAACLiquidLockerInterface extends Interface {
117
121
  decodeFunctionResult(functionFragment: "PAUSER_ROLE", data: BytesLike): Result;
118
122
  decodeFunctionResult(functionFragment: "accRewardPerShare", data: BytesLike): Result;
119
123
  decodeFunctionResult(functionFragment: "borrow", data: BytesLike): Result;
124
+ decodeFunctionResult(functionFragment: "checkAccountHealth", data: BytesLike): Result;
120
125
  decodeFunctionResult(functionFragment: "claimRewardFor", data: BytesLike): Result;
121
126
  decodeFunctionResult(functionFragment: "cleverFeeRecipient", data: BytesLike): Result;
122
127
  decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result;
@@ -128,6 +133,7 @@ export interface RAACLiquidLockerInterface extends Interface {
128
133
  decodeFunctionResult(functionFragment: "feeSharesBots", data: BytesLike): Result;
129
134
  decodeFunctionResult(functionFragment: "feeSharesClever", data: BytesLike): Result;
130
135
  decodeFunctionResult(functionFragment: "feeSharesTreasury", data: BytesLike): Result;
136
+ decodeFunctionResult(functionFragment: "getCurrentEpoch", data: BytesLike): Result;
131
137
  decodeFunctionResult(functionFragment: "getRoleAdmin", data: BytesLike): Result;
132
138
  decodeFunctionResult(functionFragment: "getUserInfo", data: BytesLike): Result;
133
139
  decodeFunctionResult(functionFragment: "getUserLocks", data: BytesLike): Result;
@@ -147,6 +153,7 @@ export interface RAACLiquidLockerInterface extends Interface {
147
153
  decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result;
148
154
  decodeFunctionResult(functionFragment: "pendingCumulatedAmount", data: BytesLike): Result;
149
155
  decodeFunctionResult(functionFragment: "poolLockedUnderlying", data: BytesLike): Result;
156
+ decodeFunctionResult(functionFragment: "previewWithdraw", data: BytesLike): Result;
150
157
  decodeFunctionResult(functionFragment: "processVaultExpiredLocks", data: BytesLike): Result;
151
158
  decodeFunctionResult(functionFragment: "processedEpochIndexes", data: BytesLike): Result;
152
159
  decodeFunctionResult(functionFragment: "raac", data: BytesLike): Result;
@@ -158,7 +165,9 @@ export interface RAACLiquidLockerInterface extends Interface {
158
165
  decodeFunctionResult(functionFragment: "requestUnlock", data: BytesLike): Result;
159
166
  decodeFunctionResult(functionFragment: "reserveRate", data: BytesLike): Result;
160
167
  decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
168
+ decodeFunctionResult(functionFragment: "setMaxHarvestDistribution", data: BytesLike): Result;
161
169
  decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
170
+ decodeFunctionResult(functionFragment: "toggleMaxDistributions", data: BytesLike): Result;
162
171
  decodeFunctionResult(functionFragment: "totalDebtGlobal", data: BytesLike): Result;
163
172
  decodeFunctionResult(functionFragment: "totalLockedGlobal", data: BytesLike): Result;
164
173
  decodeFunctionResult(functionFragment: "totalRaacInPool", data: BytesLike): Result;
@@ -374,6 +383,28 @@ export declare namespace InitializedEvent {
374
383
  type Log = TypedEventLog<Event>;
375
384
  type LogDescription = TypedLogDescription<Event>;
376
385
  }
386
+ export declare namespace MaxDistributionSetEvent {
387
+ type InputTuple = [_enable: boolean];
388
+ type OutputTuple = [_enable: boolean];
389
+ interface OutputObject {
390
+ _enable: boolean;
391
+ }
392
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
393
+ type Filter = TypedDeferredTopicFilter<Event>;
394
+ type Log = TypedEventLog<Event>;
395
+ type LogDescription = TypedLogDescription<Event>;
396
+ }
397
+ export declare namespace MaxDistributionValueUpdatedEvent {
398
+ type InputTuple = [_maxDistribution: BigNumberish];
399
+ type OutputTuple = [_maxDistribution: bigint];
400
+ interface OutputObject {
401
+ _maxDistribution: bigint;
402
+ }
403
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
404
+ type Filter = TypedDeferredTopicFilter<Event>;
405
+ type Log = TypedEventLog<Event>;
406
+ type LogDescription = TypedLogDescription<Event>;
407
+ }
377
408
  export declare namespace OwnershipTransferredEvent {
378
409
  type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
379
410
  type OutputTuple = [previousOwner: string, newOwner: string];
@@ -506,19 +537,10 @@ export declare namespace RoleRevokedEvent {
506
537
  type LogDescription = TypedLogDescription<Event>;
507
538
  }
508
539
  export declare namespace UnlockEvent {
509
- type InputTuple = [
510
- _account: AddressLike,
511
- _numLocks: BigNumberish,
512
- _amount: BigNumberish
513
- ];
514
- type OutputTuple = [
515
- _account: string,
516
- _numLocks: bigint,
517
- _amount: bigint
518
- ];
540
+ type InputTuple = [_account: AddressLike, _amount: BigNumberish];
541
+ type OutputTuple = [_account: string, _amount: bigint];
519
542
  interface OutputObject {
520
543
  _account: string;
521
- _numLocks: bigint;
522
544
  _amount: bigint;
523
545
  }
524
546
  type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
@@ -627,17 +649,6 @@ export declare namespace UpdateTreasuryEvent {
627
649
  type Log = TypedEventLog<Event>;
628
650
  type LogDescription = TypedLogDescription<Event>;
629
651
  }
630
- export declare namespace UpdateVeBoostEvent {
631
- type InputTuple = [_veBoost: AddressLike];
632
- type OutputTuple = [_veBoost: string];
633
- interface OutputObject {
634
- _veBoost: string;
635
- }
636
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
637
- type Filter = TypedDeferredTopicFilter<Event>;
638
- type Log = TypedEventLog<Event>;
639
- type LogDescription = TypedLogDescription<Event>;
640
- }
641
652
  export declare namespace UpdateWhitelistEvent {
642
653
  type InputTuple = [_whitelist: AddressLike, _status: boolean];
643
654
  type OutputTuple = [_whitelist: string, _status: boolean];
@@ -739,6 +750,11 @@ export interface RAACLiquidLocker extends BaseContract {
739
750
  ], [
740
751
  void
741
752
  ], "nonpayable">;
753
+ checkAccountHealth: TypedContractMethod<[
754
+ user: AddressLike
755
+ ], [
756
+ boolean
757
+ ], "view">;
742
758
  claimRewardFor: TypedContractMethod<[
743
759
  _user: AddressLike,
744
760
  _amount: BigNumberish,
@@ -772,6 +788,7 @@ export interface RAACLiquidLocker extends BaseContract {
772
788
  feeSharesBots: TypedContractMethod<[], [bigint], "view">;
773
789
  feeSharesClever: TypedContractMethod<[], [bigint], "view">;
774
790
  feeSharesTreasury: TypedContractMethod<[], [bigint], "view">;
791
+ getCurrentEpoch: TypedContractMethod<[], [bigint], "view">;
775
792
  getRoleAdmin: TypedContractMethod<[role: BytesLike], [string], "view">;
776
793
  getUserInfo: TypedContractMethod<[
777
794
  _account: AddressLike
@@ -824,7 +841,6 @@ export interface RAACLiquidLocker extends BaseContract {
824
841
  _treasury: AddressLike,
825
842
  _cleverFeeRecipient: AddressLike,
826
843
  _raacBotLocker: AddressLike,
827
- _veBoost: AddressLike,
828
844
  _treasuryFeePercentage: BigNumberish,
829
845
  _harvestBountyPercentage: BigNumberish,
830
846
  _feeSharesBots: BigNumberish,
@@ -848,6 +864,14 @@ export interface RAACLiquidLocker extends BaseContract {
848
864
  paused: TypedContractMethod<[], [boolean], "view">;
849
865
  pendingCumulatedAmount: TypedContractMethod<[], [bigint], "view">;
850
866
  poolLockedUnderlying: TypedContractMethod<[], [bigint], "view">;
867
+ previewWithdraw: TypedContractMethod<[
868
+ _account: AddressLike
869
+ ], [
870
+ [bigint, bigint] & {
871
+ payout: bigint;
872
+ relock: bigint;
873
+ }
874
+ ], "view">;
851
875
  processVaultExpiredLocks: TypedContractMethod<[], [void], "nonpayable">;
852
876
  processedEpochIndexes: TypedContractMethod<[], [bigint], "view">;
853
877
  raac: TypedContractMethod<[], [string], "view">;
@@ -866,7 +890,7 @@ export interface RAACLiquidLocker extends BaseContract {
866
890
  ], "nonpayable">;
867
891
  repayFeePercentage: TypedContractMethod<[], [bigint], "view">;
868
892
  requestUnlock: TypedContractMethod<[
869
- _numLocks: BigNumberish
893
+ _amount: BigNumberish
870
894
  ], [
871
895
  void
872
896
  ], "nonpayable">;
@@ -877,11 +901,21 @@ export interface RAACLiquidLocker extends BaseContract {
877
901
  ], [
878
902
  void
879
903
  ], "nonpayable">;
904
+ setMaxHarvestDistribution: TypedContractMethod<[
905
+ _maxDistribution: BigNumberish
906
+ ], [
907
+ void
908
+ ], "nonpayable">;
880
909
  supportsInterface: TypedContractMethod<[
881
910
  interfaceId: BytesLike
882
911
  ], [
883
912
  boolean
884
913
  ], "view">;
914
+ toggleMaxDistributions: TypedContractMethod<[
915
+ _enable: boolean
916
+ ], [
917
+ void
918
+ ], "nonpayable">;
885
919
  totalDebtGlobal: TypedContractMethod<[], [bigint], "view">;
886
920
  totalLockedGlobal: TypedContractMethod<[], [bigint], "view">;
887
921
  totalRaacInPool: TypedContractMethod<[], [bigint], "view">;
@@ -1000,6 +1034,7 @@ export interface RAACLiquidLocker extends BaseContract {
1000
1034
  ], [
1001
1035
  void
1002
1036
  ], "nonpayable">;
1037
+ getFunction(nameOrSignature: "checkAccountHealth"): TypedContractMethod<[user: AddressLike], [boolean], "view">;
1003
1038
  getFunction(nameOrSignature: "claimRewardFor"): TypedContractMethod<[
1004
1039
  _user: AddressLike,
1005
1040
  _amount: BigNumberish,
@@ -1029,6 +1064,7 @@ export interface RAACLiquidLocker extends BaseContract {
1029
1064
  getFunction(nameOrSignature: "feeSharesBots"): TypedContractMethod<[], [bigint], "view">;
1030
1065
  getFunction(nameOrSignature: "feeSharesClever"): TypedContractMethod<[], [bigint], "view">;
1031
1066
  getFunction(nameOrSignature: "feeSharesTreasury"): TypedContractMethod<[], [bigint], "view">;
1067
+ getFunction(nameOrSignature: "getCurrentEpoch"): TypedContractMethod<[], [bigint], "view">;
1032
1068
  getFunction(nameOrSignature: "getRoleAdmin"): TypedContractMethod<[role: BytesLike], [string], "view">;
1033
1069
  getFunction(nameOrSignature: "getUserInfo"): TypedContractMethod<[
1034
1070
  _account: AddressLike
@@ -1081,7 +1117,6 @@ export interface RAACLiquidLocker extends BaseContract {
1081
1117
  _treasury: AddressLike,
1082
1118
  _cleverFeeRecipient: AddressLike,
1083
1119
  _raacBotLocker: AddressLike,
1084
- _veBoost: AddressLike,
1085
1120
  _treasuryFeePercentage: BigNumberish,
1086
1121
  _harvestBountyPercentage: BigNumberish,
1087
1122
  _feeSharesBots: BigNumberish,
@@ -1101,6 +1136,14 @@ export interface RAACLiquidLocker extends BaseContract {
1101
1136
  getFunction(nameOrSignature: "paused"): TypedContractMethod<[], [boolean], "view">;
1102
1137
  getFunction(nameOrSignature: "pendingCumulatedAmount"): TypedContractMethod<[], [bigint], "view">;
1103
1138
  getFunction(nameOrSignature: "poolLockedUnderlying"): TypedContractMethod<[], [bigint], "view">;
1139
+ getFunction(nameOrSignature: "previewWithdraw"): TypedContractMethod<[
1140
+ _account: AddressLike
1141
+ ], [
1142
+ [bigint, bigint] & {
1143
+ payout: bigint;
1144
+ relock: bigint;
1145
+ }
1146
+ ], "view">;
1104
1147
  getFunction(nameOrSignature: "processVaultExpiredLocks"): TypedContractMethod<[], [void], "nonpayable">;
1105
1148
  getFunction(nameOrSignature: "processedEpochIndexes"): TypedContractMethod<[], [bigint], "view">;
1106
1149
  getFunction(nameOrSignature: "raac"): TypedContractMethod<[], [string], "view">;
@@ -1114,7 +1157,7 @@ export interface RAACLiquidLocker extends BaseContract {
1114
1157
  ], "nonpayable">;
1115
1158
  getFunction(nameOrSignature: "repay"): TypedContractMethod<[_leRAACAmount: BigNumberish], [void], "nonpayable">;
1116
1159
  getFunction(nameOrSignature: "repayFeePercentage"): TypedContractMethod<[], [bigint], "view">;
1117
- getFunction(nameOrSignature: "requestUnlock"): TypedContractMethod<[_numLocks: BigNumberish], [void], "nonpayable">;
1160
+ getFunction(nameOrSignature: "requestUnlock"): TypedContractMethod<[_amount: BigNumberish], [void], "nonpayable">;
1118
1161
  getFunction(nameOrSignature: "reserveRate"): TypedContractMethod<[], [bigint], "view">;
1119
1162
  getFunction(nameOrSignature: "revokeRole"): TypedContractMethod<[
1120
1163
  role: BytesLike,
@@ -1122,7 +1165,13 @@ export interface RAACLiquidLocker extends BaseContract {
1122
1165
  ], [
1123
1166
  void
1124
1167
  ], "nonpayable">;
1168
+ getFunction(nameOrSignature: "setMaxHarvestDistribution"): TypedContractMethod<[
1169
+ _maxDistribution: BigNumberish
1170
+ ], [
1171
+ void
1172
+ ], "nonpayable">;
1125
1173
  getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
1174
+ getFunction(nameOrSignature: "toggleMaxDistributions"): TypedContractMethod<[_enable: boolean], [void], "nonpayable">;
1126
1175
  getFunction(nameOrSignature: "totalDebtGlobal"): TypedContractMethod<[], [bigint], "view">;
1127
1176
  getFunction(nameOrSignature: "totalLockedGlobal"): TypedContractMethod<[], [bigint], "view">;
1128
1177
  getFunction(nameOrSignature: "totalRaacInPool"): TypedContractMethod<[], [bigint], "view">;
@@ -1214,6 +1263,8 @@ export interface RAACLiquidLocker extends BaseContract {
1214
1263
  getEvent(key: "GovernanceVote"): TypedContractEvent<GovernanceVoteEvent.InputTuple, GovernanceVoteEvent.OutputTuple, GovernanceVoteEvent.OutputObject>;
1215
1264
  getEvent(key: "Harvest"): TypedContractEvent<HarvestEvent.InputTuple, HarvestEvent.OutputTuple, HarvestEvent.OutputObject>;
1216
1265
  getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
1266
+ getEvent(key: "MaxDistributionSet"): TypedContractEvent<MaxDistributionSetEvent.InputTuple, MaxDistributionSetEvent.OutputTuple, MaxDistributionSetEvent.OutputObject>;
1267
+ getEvent(key: "MaxDistributionValueUpdated"): TypedContractEvent<MaxDistributionValueUpdatedEvent.InputTuple, MaxDistributionValueUpdatedEvent.OutputTuple, MaxDistributionValueUpdatedEvent.OutputObject>;
1217
1268
  getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
1218
1269
  getEvent(key: "Paused"): TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
1219
1270
  getEvent(key: "ProcessUnlockableRAAC"): TypedContractEvent<ProcessUnlockableRAACEvent.InputTuple, ProcessUnlockableRAACEvent.OutputTuple, ProcessUnlockableRAACEvent.OutputObject>;
@@ -1231,7 +1282,6 @@ export interface RAACLiquidLocker extends BaseContract {
1231
1282
  getEvent(key: "UpdateIntermediateRewardToken"): TypedContractEvent<UpdateIntermediateRewardTokenEvent.InputTuple, UpdateIntermediateRewardTokenEvent.OutputTuple, UpdateIntermediateRewardTokenEvent.OutputObject>;
1232
1283
  getEvent(key: "UpdateRepayFeePercentage"): TypedContractEvent<UpdateRepayFeePercentageEvent.InputTuple, UpdateRepayFeePercentageEvent.OutputTuple, UpdateRepayFeePercentageEvent.OutputObject>;
1233
1284
  getEvent(key: "UpdateTreasury"): TypedContractEvent<UpdateTreasuryEvent.InputTuple, UpdateTreasuryEvent.OutputTuple, UpdateTreasuryEvent.OutputObject>;
1234
- getEvent(key: "UpdateVeBoost"): TypedContractEvent<UpdateVeBoostEvent.InputTuple, UpdateVeBoostEvent.OutputTuple, UpdateVeBoostEvent.OutputObject>;
1235
1285
  getEvent(key: "UpdateWhitelist"): TypedContractEvent<UpdateWhitelistEvent.InputTuple, UpdateWhitelistEvent.OutputTuple, UpdateWhitelistEvent.OutputObject>;
1236
1286
  getEvent(key: "UpdateZap"): TypedContractEvent<UpdateZapEvent.InputTuple, UpdateZapEvent.OutputTuple, UpdateZapEvent.OutputObject>;
1237
1287
  getEvent(key: "UserExpiredLocksProcessed"): TypedContractEvent<UserExpiredLocksProcessedEvent.InputTuple, UserExpiredLocksProcessedEvent.OutputTuple, UserExpiredLocksProcessedEvent.OutputObject>;
@@ -1261,6 +1311,10 @@ export interface RAACLiquidLocker extends BaseContract {
1261
1311
  Harvest: TypedContractEvent<HarvestEvent.InputTuple, HarvestEvent.OutputTuple, HarvestEvent.OutputObject>;
1262
1312
  "Initialized(uint64)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
1263
1313
  Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
1314
+ "MaxDistributionSet(bool)": TypedContractEvent<MaxDistributionSetEvent.InputTuple, MaxDistributionSetEvent.OutputTuple, MaxDistributionSetEvent.OutputObject>;
1315
+ MaxDistributionSet: TypedContractEvent<MaxDistributionSetEvent.InputTuple, MaxDistributionSetEvent.OutputTuple, MaxDistributionSetEvent.OutputObject>;
1316
+ "MaxDistributionValueUpdated(uint256)": TypedContractEvent<MaxDistributionValueUpdatedEvent.InputTuple, MaxDistributionValueUpdatedEvent.OutputTuple, MaxDistributionValueUpdatedEvent.OutputObject>;
1317
+ MaxDistributionValueUpdated: TypedContractEvent<MaxDistributionValueUpdatedEvent.InputTuple, MaxDistributionValueUpdatedEvent.OutputTuple, MaxDistributionValueUpdatedEvent.OutputObject>;
1264
1318
  "OwnershipTransferred(address,address)": TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
1265
1319
  OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
1266
1320
  "Paused(address)": TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
@@ -1277,7 +1331,7 @@ export interface RAACLiquidLocker extends BaseContract {
1277
1331
  RoleGranted: TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
1278
1332
  "RoleRevoked(bytes32,address,address)": TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
1279
1333
  RoleRevoked: TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
1280
- "Unlock(address,uint256,uint256)": TypedContractEvent<UnlockEvent.InputTuple, UnlockEvent.OutputTuple, UnlockEvent.OutputObject>;
1334
+ "Unlock(address,uint256)": TypedContractEvent<UnlockEvent.InputTuple, UnlockEvent.OutputTuple, UnlockEvent.OutputObject>;
1281
1335
  Unlock: TypedContractEvent<UnlockEvent.InputTuple, UnlockEvent.OutputTuple, UnlockEvent.OutputObject>;
1282
1336
  "Unpaused(address)": TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
1283
1337
  Unpaused: TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
@@ -1295,8 +1349,6 @@ export interface RAACLiquidLocker extends BaseContract {
1295
1349
  UpdateRepayFeePercentage: TypedContractEvent<UpdateRepayFeePercentageEvent.InputTuple, UpdateRepayFeePercentageEvent.OutputTuple, UpdateRepayFeePercentageEvent.OutputObject>;
1296
1350
  "UpdateTreasury(address)": TypedContractEvent<UpdateTreasuryEvent.InputTuple, UpdateTreasuryEvent.OutputTuple, UpdateTreasuryEvent.OutputObject>;
1297
1351
  UpdateTreasury: TypedContractEvent<UpdateTreasuryEvent.InputTuple, UpdateTreasuryEvent.OutputTuple, UpdateTreasuryEvent.OutputObject>;
1298
- "UpdateVeBoost(address)": TypedContractEvent<UpdateVeBoostEvent.InputTuple, UpdateVeBoostEvent.OutputTuple, UpdateVeBoostEvent.OutputObject>;
1299
- UpdateVeBoost: TypedContractEvent<UpdateVeBoostEvent.InputTuple, UpdateVeBoostEvent.OutputTuple, UpdateVeBoostEvent.OutputObject>;
1300
1352
  "UpdateWhitelist(address,bool)": TypedContractEvent<UpdateWhitelistEvent.InputTuple, UpdateWhitelistEvent.OutputTuple, UpdateWhitelistEvent.OutputObject>;
1301
1353
  UpdateWhitelist: TypedContractEvent<UpdateWhitelistEvent.InputTuple, UpdateWhitelistEvent.OutputTuple, UpdateWhitelistEvent.OutputObject>;
1302
1354
  "UpdateZap(address)": TypedContractEvent<UpdateZapEvent.InputTuple, UpdateZapEvent.OutputTuple, UpdateZapEvent.OutputObject>;