@wireio/outpost-ethereum-artifacts 0.4.3 → 0.4.5

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.
Files changed (61) hide show
  1. package/README.md +2 -4
  2. package/abis/BAR.json +131 -450
  3. package/abis/DepositManager.json +1917 -233
  4. package/abis/LiqEthToken.json +2039 -79
  5. package/abis/OPP.json +138 -67
  6. package/abis/OPPInbound.json +298 -388
  7. package/abis/SyndicationPool.json +266 -99
  8. package/abis/WithdrawalQueue.json +1926 -77
  9. package/lib/cjs/Manifest.js +65 -59
  10. package/lib/cjs/contracts/BAR.d.ts +2 -180
  11. package/lib/cjs/contracts/DepositManager.d.ts +80 -188
  12. package/lib/cjs/contracts/LiqEthToken.d.ts +33 -1
  13. package/lib/cjs/contracts/OPP.d.ts +13 -1
  14. package/lib/cjs/contracts/OPPInbound.d.ts +173 -225
  15. package/lib/cjs/contracts/SyndicationPool.d.ts +89 -2
  16. package/lib/cjs/contracts/WithdrawalQueue.d.ts +13 -29
  17. package/lib/cjs/contracts/factories/BAR__factory.d.ts +105 -353
  18. package/lib/cjs/contracts/factories/BAR__factory.js +131 -450
  19. package/lib/cjs/contracts/factories/DepositManager__factory.d.ts +1465 -205
  20. package/lib/cjs/contracts/factories/DepositManager__factory.js +1914 -230
  21. package/lib/cjs/contracts/factories/LiqEthToken__factory.d.ts +1542 -68
  22. package/lib/cjs/contracts/factories/LiqEthToken__factory.js +2037 -77
  23. package/lib/cjs/contracts/factories/OPPInbound__factory.d.ts +246 -318
  24. package/lib/cjs/contracts/factories/OPPInbound__factory.js +296 -386
  25. package/lib/cjs/contracts/factories/OPP__factory.d.ts +111 -57
  26. package/lib/cjs/contracts/factories/OPP__factory.js +138 -67
  27. package/lib/cjs/contracts/factories/SyndicationPool__factory.d.ts +210 -81
  28. package/lib/cjs/contracts/factories/SyndicationPool__factory.js +266 -99
  29. package/lib/cjs/contracts/factories/WithdrawalQueue__factory.d.ts +1452 -62
  30. package/lib/cjs/contracts/factories/WithdrawalQueue__factory.js +1924 -75
  31. package/lib/esm/Manifest.js +65 -59
  32. package/lib/esm/contracts/BAR.d.ts +2 -180
  33. package/lib/esm/contracts/DepositManager.d.ts +80 -188
  34. package/lib/esm/contracts/LiqEthToken.d.ts +33 -1
  35. package/lib/esm/contracts/OPP.d.ts +13 -1
  36. package/lib/esm/contracts/OPPInbound.d.ts +173 -225
  37. package/lib/esm/contracts/SyndicationPool.d.ts +89 -2
  38. package/lib/esm/contracts/WithdrawalQueue.d.ts +13 -29
  39. package/lib/esm/contracts/factories/BAR__factory.d.ts +105 -353
  40. package/lib/esm/contracts/factories/BAR__factory.js +131 -450
  41. package/lib/esm/contracts/factories/DepositManager__factory.d.ts +1465 -205
  42. package/lib/esm/contracts/factories/DepositManager__factory.js +1914 -230
  43. package/lib/esm/contracts/factories/LiqEthToken__factory.d.ts +1542 -68
  44. package/lib/esm/contracts/factories/LiqEthToken__factory.js +2037 -77
  45. package/lib/esm/contracts/factories/OPPInbound__factory.d.ts +246 -318
  46. package/lib/esm/contracts/factories/OPPInbound__factory.js +296 -386
  47. package/lib/esm/contracts/factories/OPP__factory.d.ts +111 -57
  48. package/lib/esm/contracts/factories/OPP__factory.js +138 -67
  49. package/lib/esm/contracts/factories/SyndicationPool__factory.d.ts +210 -81
  50. package/lib/esm/contracts/factories/SyndicationPool__factory.js +266 -99
  51. package/lib/esm/contracts/factories/WithdrawalQueue__factory.d.ts +1452 -62
  52. package/lib/esm/contracts/factories/WithdrawalQueue__factory.js +1924 -75
  53. package/manifest.json +65 -59
  54. package/package.json +1 -1
  55. package/runtime/BAR.bin +0 -0
  56. package/runtime/DepositManager.bin +0 -0
  57. package/runtime/LiqEthToken.bin +0 -0
  58. package/runtime/OPP.bin +0 -0
  59. package/runtime/OPPInbound.bin +0 -0
  60. package/runtime/SyndicationPool.bin +0 -0
  61. package/runtime/WithdrawalQueue.bin +0 -0
@@ -1,56 +1,41 @@
1
1
  import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
2
  import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "./common.js";
3
3
  export interface DepositManagerInterface extends Interface {
4
- getFunction(nameOrSignature: "DENOM" | "UPGRADE_INTERFACE_VERSION" | "accounting" | "authority" | "availableETH" | "checkDeficit" | "claim" | "dailyRateBPS" | "deposit" | "entryQueue" | "eth_requested" | "eth_reserved_for_stake" | "fullExitReceived" | "initialize" | "isConsumingScheduledOp" | "lastRewardPush" | "liqEth" | "minBal" | "minDeposit" | "partialExitReceived" | "partialExitRequested" | "pauseAll" | "paused" | "procFee" | "proxiableUUID" | "pushPenalty" | "pushRewards" | "queueRate" | "rewardCooldown" | "setAccounting" | "setAuthority" | "setEntryQueue" | "setMinDeposit" | "setRewardCooldown" | "setStakingModule" | "setWithdrawalVault" | "stakeThroughModule" | "stakingModule" | "topUpValidator" | "unpauseAll" | "updateApyBPS" | "upgradeToAndCall" | "valDeposit" | "validatorDepositAndLockBond" | "withdrawalQueue" | "withdrawalVault"): FunctionFragment;
5
- getEvent(nameOrSignatureOrTopic: "AuthorityUpdated" | "Claimed" | "DailyRateUpdated" | "Deposited" | "EntryQueueUpdated" | "FullExitReceived" | "Initialized" | "PartiallyExitReceived" | "Paused" | "PenaltyPushed" | "RewardPushed" | "Unpaused" | "Upgraded" | "ValidatorDeposited"): EventFragment;
4
+ getFunction(nameOrSignature: "DENOM" | "MAX_APY_BPS" | "UNUSED_keyBondManagerV2" | "UNUSED_lastRewardPush" | "UNUSED_minBal" | "UNUSED_rewardCooldown" | "UPGRADE_INTERFACE_VERSION" | "authority" | "dailyRateBPS" | "deposit" | "entryQueue" | "eth_exit_requested" | "excess_partial_exit_eth" | "exitReceived" | "initializeV2" | "initializeV3" | "isConsumingScheduledOp" | "keyBondManager" | "liqEth" | "minDeposit" | "partialExitRequested" | "pauseAll" | "paused" | "procFee" | "proxiableUUID" | "queueRate" | "setAuthority" | "setEntryQueue" | "setKeyBondManager" | "setMinDeposit" | "setStakingModule" | "setWithdrawalVault" | "stakingModule" | "unpauseAll" | "updateApyBPS" | "upgradeToAndCall" | "valDeposit" | "validatorDepositAndLockBond" | "withdrawalQueue" | "withdrawalVault"): FunctionFragment;
5
+ getEvent(nameOrSignatureOrTopic: "AuthorityUpdated" | "DailyRateUpdated" | "Deposited" | "EntryQueueUpdated" | "ExcessPartialExitReceived" | "FullExitReceived" | "Initialized" | "PartialExitReceived" | "Paused" | "Unpaused" | "Upgraded" | "ValidatorDeposited"): EventFragment;
6
6
  encodeFunctionData(functionFragment: "DENOM", values?: undefined): string;
7
+ encodeFunctionData(functionFragment: "MAX_APY_BPS", values?: undefined): string;
8
+ encodeFunctionData(functionFragment: "UNUSED_keyBondManagerV2", values?: undefined): string;
9
+ encodeFunctionData(functionFragment: "UNUSED_lastRewardPush", values?: undefined): string;
10
+ encodeFunctionData(functionFragment: "UNUSED_minBal", values?: undefined): string;
11
+ encodeFunctionData(functionFragment: "UNUSED_rewardCooldown", values?: undefined): string;
7
12
  encodeFunctionData(functionFragment: "UPGRADE_INTERFACE_VERSION", values?: undefined): string;
8
- encodeFunctionData(functionFragment: "accounting", values?: undefined): string;
9
13
  encodeFunctionData(functionFragment: "authority", values?: undefined): string;
10
- encodeFunctionData(functionFragment: "availableETH", values?: undefined): string;
11
- encodeFunctionData(functionFragment: "checkDeficit", values?: undefined): string;
12
- encodeFunctionData(functionFragment: "claim", values: [BigNumberish]): string;
13
14
  encodeFunctionData(functionFragment: "dailyRateBPS", values?: undefined): string;
14
15
  encodeFunctionData(functionFragment: "deposit", values?: undefined): string;
15
16
  encodeFunctionData(functionFragment: "entryQueue", values?: undefined): string;
16
- encodeFunctionData(functionFragment: "eth_requested", values?: undefined): string;
17
- encodeFunctionData(functionFragment: "eth_reserved_for_stake", values?: undefined): string;
18
- encodeFunctionData(functionFragment: "fullExitReceived", values?: undefined): string;
19
- encodeFunctionData(functionFragment: "initialize", values: [
20
- AddressLike,
21
- AddressLike,
22
- AddressLike,
23
- AddressLike,
24
- AddressLike,
25
- BigNumberish,
26
- BigNumberish,
27
- BigNumberish
28
- ]): string;
17
+ encodeFunctionData(functionFragment: "eth_exit_requested", values?: undefined): string;
18
+ encodeFunctionData(functionFragment: "excess_partial_exit_eth", values?: undefined): string;
19
+ encodeFunctionData(functionFragment: "exitReceived", values: [BigNumberish, BigNumberish]): string;
20
+ encodeFunctionData(functionFragment: "initializeV2", values: [AddressLike]): string;
21
+ encodeFunctionData(functionFragment: "initializeV3", values?: undefined): string;
29
22
  encodeFunctionData(functionFragment: "isConsumingScheduledOp", values?: undefined): string;
30
- encodeFunctionData(functionFragment: "lastRewardPush", values?: undefined): string;
23
+ encodeFunctionData(functionFragment: "keyBondManager", values?: undefined): string;
31
24
  encodeFunctionData(functionFragment: "liqEth", values?: undefined): string;
32
- encodeFunctionData(functionFragment: "minBal", values?: undefined): string;
33
25
  encodeFunctionData(functionFragment: "minDeposit", values?: undefined): string;
34
- encodeFunctionData(functionFragment: "partialExitReceived", values?: undefined): string;
35
26
  encodeFunctionData(functionFragment: "partialExitRequested", values: [BigNumberish]): string;
36
27
  encodeFunctionData(functionFragment: "pauseAll", values?: undefined): string;
37
28
  encodeFunctionData(functionFragment: "paused", values?: undefined): string;
38
29
  encodeFunctionData(functionFragment: "procFee", values: [BigNumberish]): string;
39
30
  encodeFunctionData(functionFragment: "proxiableUUID", values?: undefined): string;
40
- encodeFunctionData(functionFragment: "pushPenalty", values: [BigNumberish]): string;
41
- encodeFunctionData(functionFragment: "pushRewards", values: [BigNumberish]): string;
42
31
  encodeFunctionData(functionFragment: "queueRate", values?: undefined): string;
43
- encodeFunctionData(functionFragment: "rewardCooldown", values?: undefined): string;
44
- encodeFunctionData(functionFragment: "setAccounting", values: [AddressLike]): string;
45
32
  encodeFunctionData(functionFragment: "setAuthority", values: [AddressLike]): string;
46
33
  encodeFunctionData(functionFragment: "setEntryQueue", values: [BigNumberish]): string;
34
+ encodeFunctionData(functionFragment: "setKeyBondManager", values: [AddressLike]): string;
47
35
  encodeFunctionData(functionFragment: "setMinDeposit", values: [BigNumberish]): string;
48
- encodeFunctionData(functionFragment: "setRewardCooldown", values: [BigNumberish]): string;
49
36
  encodeFunctionData(functionFragment: "setStakingModule", values: [AddressLike]): string;
50
37
  encodeFunctionData(functionFragment: "setWithdrawalVault", values: [AddressLike]): string;
51
- encodeFunctionData(functionFragment: "stakeThroughModule", values: [BigNumberish]): string;
52
38
  encodeFunctionData(functionFragment: "stakingModule", values?: undefined): string;
53
- encodeFunctionData(functionFragment: "topUpValidator", values: [BigNumberish, BigNumberish]): string;
54
39
  encodeFunctionData(functionFragment: "unpauseAll", values?: undefined): string;
55
40
  encodeFunctionData(functionFragment: "updateApyBPS", values: [BigNumberish]): string;
56
41
  encodeFunctionData(functionFragment: "upgradeToAndCall", values: [AddressLike, BytesLike]): string;
@@ -59,44 +44,38 @@ export interface DepositManagerInterface extends Interface {
59
44
  encodeFunctionData(functionFragment: "withdrawalQueue", values?: undefined): string;
60
45
  encodeFunctionData(functionFragment: "withdrawalVault", values?: undefined): string;
61
46
  decodeFunctionResult(functionFragment: "DENOM", data: BytesLike): Result;
47
+ decodeFunctionResult(functionFragment: "MAX_APY_BPS", data: BytesLike): Result;
48
+ decodeFunctionResult(functionFragment: "UNUSED_keyBondManagerV2", data: BytesLike): Result;
49
+ decodeFunctionResult(functionFragment: "UNUSED_lastRewardPush", data: BytesLike): Result;
50
+ decodeFunctionResult(functionFragment: "UNUSED_minBal", data: BytesLike): Result;
51
+ decodeFunctionResult(functionFragment: "UNUSED_rewardCooldown", data: BytesLike): Result;
62
52
  decodeFunctionResult(functionFragment: "UPGRADE_INTERFACE_VERSION", data: BytesLike): Result;
63
- decodeFunctionResult(functionFragment: "accounting", data: BytesLike): Result;
64
53
  decodeFunctionResult(functionFragment: "authority", data: BytesLike): Result;
65
- decodeFunctionResult(functionFragment: "availableETH", data: BytesLike): Result;
66
- decodeFunctionResult(functionFragment: "checkDeficit", data: BytesLike): Result;
67
- decodeFunctionResult(functionFragment: "claim", data: BytesLike): Result;
68
54
  decodeFunctionResult(functionFragment: "dailyRateBPS", data: BytesLike): Result;
69
55
  decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result;
70
56
  decodeFunctionResult(functionFragment: "entryQueue", data: BytesLike): Result;
71
- decodeFunctionResult(functionFragment: "eth_requested", data: BytesLike): Result;
72
- decodeFunctionResult(functionFragment: "eth_reserved_for_stake", data: BytesLike): Result;
73
- decodeFunctionResult(functionFragment: "fullExitReceived", data: BytesLike): Result;
74
- decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
57
+ decodeFunctionResult(functionFragment: "eth_exit_requested", data: BytesLike): Result;
58
+ decodeFunctionResult(functionFragment: "excess_partial_exit_eth", data: BytesLike): Result;
59
+ decodeFunctionResult(functionFragment: "exitReceived", data: BytesLike): Result;
60
+ decodeFunctionResult(functionFragment: "initializeV2", data: BytesLike): Result;
61
+ decodeFunctionResult(functionFragment: "initializeV3", data: BytesLike): Result;
75
62
  decodeFunctionResult(functionFragment: "isConsumingScheduledOp", data: BytesLike): Result;
76
- decodeFunctionResult(functionFragment: "lastRewardPush", data: BytesLike): Result;
63
+ decodeFunctionResult(functionFragment: "keyBondManager", data: BytesLike): Result;
77
64
  decodeFunctionResult(functionFragment: "liqEth", data: BytesLike): Result;
78
- decodeFunctionResult(functionFragment: "minBal", data: BytesLike): Result;
79
65
  decodeFunctionResult(functionFragment: "minDeposit", data: BytesLike): Result;
80
- decodeFunctionResult(functionFragment: "partialExitReceived", data: BytesLike): Result;
81
66
  decodeFunctionResult(functionFragment: "partialExitRequested", data: BytesLike): Result;
82
67
  decodeFunctionResult(functionFragment: "pauseAll", data: BytesLike): Result;
83
68
  decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result;
84
69
  decodeFunctionResult(functionFragment: "procFee", data: BytesLike): Result;
85
70
  decodeFunctionResult(functionFragment: "proxiableUUID", data: BytesLike): Result;
86
- decodeFunctionResult(functionFragment: "pushPenalty", data: BytesLike): Result;
87
- decodeFunctionResult(functionFragment: "pushRewards", data: BytesLike): Result;
88
71
  decodeFunctionResult(functionFragment: "queueRate", data: BytesLike): Result;
89
- decodeFunctionResult(functionFragment: "rewardCooldown", data: BytesLike): Result;
90
- decodeFunctionResult(functionFragment: "setAccounting", data: BytesLike): Result;
91
72
  decodeFunctionResult(functionFragment: "setAuthority", data: BytesLike): Result;
92
73
  decodeFunctionResult(functionFragment: "setEntryQueue", data: BytesLike): Result;
74
+ decodeFunctionResult(functionFragment: "setKeyBondManager", data: BytesLike): Result;
93
75
  decodeFunctionResult(functionFragment: "setMinDeposit", data: BytesLike): Result;
94
- decodeFunctionResult(functionFragment: "setRewardCooldown", data: BytesLike): Result;
95
76
  decodeFunctionResult(functionFragment: "setStakingModule", data: BytesLike): Result;
96
77
  decodeFunctionResult(functionFragment: "setWithdrawalVault", data: BytesLike): Result;
97
- decodeFunctionResult(functionFragment: "stakeThroughModule", data: BytesLike): Result;
98
78
  decodeFunctionResult(functionFragment: "stakingModule", data: BytesLike): Result;
99
- decodeFunctionResult(functionFragment: "topUpValidator", data: BytesLike): Result;
100
79
  decodeFunctionResult(functionFragment: "unpauseAll", data: BytesLike): Result;
101
80
  decodeFunctionResult(functionFragment: "updateApyBPS", data: BytesLike): Result;
102
81
  decodeFunctionResult(functionFragment: "upgradeToAndCall", data: BytesLike): Result;
@@ -116,18 +95,6 @@ export declare namespace AuthorityUpdatedEvent {
116
95
  type Log = TypedEventLog<Event>;
117
96
  type LogDescription = TypedLogDescription<Event>;
118
97
  }
119
- export declare namespace ClaimedEvent {
120
- type InputTuple = [user: AddressLike, amount: BigNumberish];
121
- type OutputTuple = [user: string, amount: bigint];
122
- interface OutputObject {
123
- user: string;
124
- amount: bigint;
125
- }
126
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
127
- type Filter = TypedDeferredTopicFilter<Event>;
128
- type Log = TypedEventLog<Event>;
129
- type LogDescription = TypedLogDescription<Event>;
130
- }
131
98
  export declare namespace DailyRateUpdatedEvent {
132
99
  type InputTuple = [dailyRateBPS: BigNumberish];
133
100
  type OutputTuple = [dailyRateBPS: bigint];
@@ -174,6 +141,17 @@ export declare namespace EntryQueueUpdatedEvent {
174
141
  type Log = TypedEventLog<Event>;
175
142
  type LogDescription = TypedLogDescription<Event>;
176
143
  }
144
+ export declare namespace ExcessPartialExitReceivedEvent {
145
+ type InputTuple = [ethAmount: BigNumberish];
146
+ type OutputTuple = [ethAmount: bigint];
147
+ interface OutputObject {
148
+ ethAmount: bigint;
149
+ }
150
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
151
+ type Filter = TypedDeferredTopicFilter<Event>;
152
+ type Log = TypedEventLog<Event>;
153
+ type LogDescription = TypedLogDescription<Event>;
154
+ }
177
155
  export declare namespace FullExitReceivedEvent {
178
156
  type InputTuple = [ethAmount: BigNumberish];
179
157
  type OutputTuple = [ethAmount: bigint];
@@ -196,7 +174,7 @@ export declare namespace InitializedEvent {
196
174
  type Log = TypedEventLog<Event>;
197
175
  type LogDescription = TypedLogDescription<Event>;
198
176
  }
199
- export declare namespace PartiallyExitReceivedEvent {
177
+ export declare namespace PartialExitReceivedEvent {
200
178
  type InputTuple = [ethAmount: BigNumberish];
201
179
  type OutputTuple = [ethAmount: bigint];
202
180
  interface OutputObject {
@@ -218,28 +196,6 @@ export declare namespace PausedEvent {
218
196
  type Log = TypedEventLog<Event>;
219
197
  type LogDescription = TypedLogDescription<Event>;
220
198
  }
221
- export declare namespace PenaltyPushedEvent {
222
- type InputTuple = [fromUsers: BigNumberish];
223
- type OutputTuple = [fromUsers: bigint];
224
- interface OutputObject {
225
- fromUsers: bigint;
226
- }
227
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
228
- type Filter = TypedDeferredTopicFilter<Event>;
229
- type Log = TypedEventLog<Event>;
230
- type LogDescription = TypedLogDescription<Event>;
231
- }
232
- export declare namespace RewardPushedEvent {
233
- type InputTuple = [toUsers: BigNumberish];
234
- type OutputTuple = [toUsers: bigint];
235
- interface OutputObject {
236
- toUsers: bigint;
237
- }
238
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
239
- type Filter = TypedDeferredTopicFilter<Event>;
240
- type Log = TypedEventLog<Event>;
241
- type LogDescription = TypedLogDescription<Event>;
242
- }
243
199
  export declare namespace UnpausedEvent {
244
200
  type InputTuple = [account: AddressLike];
245
201
  type OutputTuple = [account: string];
@@ -293,42 +249,34 @@ export interface DepositManager extends BaseContract {
293
249
  listeners(eventName?: string): Promise<Array<Listener>>;
294
250
  removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
295
251
  DENOM: TypedContractMethod<[], [bigint], "view">;
252
+ MAX_APY_BPS: TypedContractMethod<[], [bigint], "view">;
253
+ UNUSED_keyBondManagerV2: TypedContractMethod<[], [string], "view">;
254
+ UNUSED_lastRewardPush: TypedContractMethod<[], [bigint], "view">;
255
+ UNUSED_minBal: TypedContractMethod<[], [bigint], "view">;
256
+ UNUSED_rewardCooldown: TypedContractMethod<[], [bigint], "view">;
296
257
  UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">;
297
- accounting: TypedContractMethod<[], [string], "view">;
298
258
  authority: TypedContractMethod<[], [string], "view">;
299
- availableETH: TypedContractMethod<[], [bigint], "view">;
300
- checkDeficit: TypedContractMethod<[
301
- ], [
302
- [bigint, boolean] & {
303
- def: bigint;
304
- needExits: boolean;
305
- }
306
- ], "view">;
307
- claim: TypedContractMethod<[nftId: BigNumberish], [void], "nonpayable">;
308
259
  dailyRateBPS: TypedContractMethod<[], [bigint], "view">;
309
260
  deposit: TypedContractMethod<[], [void], "payable">;
310
261
  entryQueue: TypedContractMethod<[], [bigint], "view">;
311
- eth_requested: TypedContractMethod<[], [bigint], "view">;
312
- eth_reserved_for_stake: TypedContractMethod<[], [bigint], "view">;
313
- fullExitReceived: TypedContractMethod<[], [void], "payable">;
314
- initialize: TypedContractMethod<[
315
- manager: AddressLike,
316
- _accounting: AddressLike,
317
- _liqEth: AddressLike,
318
- _queue: AddressLike,
319
- _stakingModule: AddressLike,
320
- _entryQueue: BigNumberish,
321
- _dailyRateBPS: BigNumberish,
322
- _rewardCooldown: BigNumberish
262
+ eth_exit_requested: TypedContractMethod<[], [bigint], "view">;
263
+ excess_partial_exit_eth: TypedContractMethod<[], [bigint], "view">;
264
+ exitReceived: TypedContractMethod<[
265
+ partialAmount: BigNumberish,
266
+ fullStakeAmount: BigNumberish
267
+ ], [
268
+ void
269
+ ], "payable">;
270
+ initializeV2: TypedContractMethod<[
271
+ _keyBondManager: AddressLike
323
272
  ], [
324
273
  void
325
274
  ], "nonpayable">;
275
+ initializeV3: TypedContractMethod<[], [void], "nonpayable">;
326
276
  isConsumingScheduledOp: TypedContractMethod<[], [string], "view">;
327
- lastRewardPush: TypedContractMethod<[], [bigint], "view">;
277
+ keyBondManager: TypedContractMethod<[], [string], "view">;
328
278
  liqEth: TypedContractMethod<[], [string], "view">;
329
- minBal: TypedContractMethod<[], [bigint], "view">;
330
279
  minDeposit: TypedContractMethod<[], [bigint], "view">;
331
- partialExitReceived: TypedContractMethod<[], [void], "payable">;
332
280
  partialExitRequested: TypedContractMethod<[
333
281
  ethAmount: BigNumberish
334
282
  ], [
@@ -338,23 +286,7 @@ export interface DepositManager extends BaseContract {
338
286
  paused: TypedContractMethod<[], [boolean], "view">;
339
287
  procFee: TypedContractMethod<[amount: BigNumberish], [bigint], "view">;
340
288
  proxiableUUID: TypedContractMethod<[], [string], "view">;
341
- pushPenalty: TypedContractMethod<[
342
- amount: BigNumberish
343
- ], [
344
- void
345
- ], "nonpayable">;
346
- pushRewards: TypedContractMethod<[
347
- amount: BigNumberish
348
- ], [
349
- void
350
- ], "nonpayable">;
351
289
  queueRate: TypedContractMethod<[], [bigint], "view">;
352
- rewardCooldown: TypedContractMethod<[], [bigint], "view">;
353
- setAccounting: TypedContractMethod<[
354
- _accounting: AddressLike
355
- ], [
356
- void
357
- ], "nonpayable">;
358
290
  setAuthority: TypedContractMethod<[
359
291
  newAuthority: AddressLike
360
292
  ], [
@@ -365,13 +297,13 @@ export interface DepositManager extends BaseContract {
365
297
  ], [
366
298
  void
367
299
  ], "nonpayable">;
368
- setMinDeposit: TypedContractMethod<[
369
- _minDeposit: BigNumberish
300
+ setKeyBondManager: TypedContractMethod<[
301
+ _keyBondManager: AddressLike
370
302
  ], [
371
303
  void
372
304
  ], "nonpayable">;
373
- setRewardCooldown: TypedContractMethod<[
374
- _rewardCooldown: BigNumberish
305
+ setMinDeposit: TypedContractMethod<[
306
+ _minDeposit: BigNumberish
375
307
  ], [
376
308
  void
377
309
  ], "nonpayable">;
@@ -385,18 +317,7 @@ export interface DepositManager extends BaseContract {
385
317
  ], [
386
318
  void
387
319
  ], "nonpayable">;
388
- stakeThroughModule: TypedContractMethod<[
389
- nKeys: BigNumberish
390
- ], [
391
- void
392
- ], "nonpayable">;
393
320
  stakingModule: TypedContractMethod<[], [string], "view">;
394
- topUpValidator: TypedContractMethod<[
395
- id: BigNumberish,
396
- ethAmount: BigNumberish
397
- ], [
398
- void
399
- ], "nonpayable">;
400
321
  unpauseAll: TypedContractMethod<[], [void], "nonpayable">;
401
322
  updateApyBPS: TypedContractMethod<[
402
323
  newDailyRateBPS: BigNumberish
@@ -415,66 +336,43 @@ export interface DepositManager extends BaseContract {
415
336
  withdrawalVault: TypedContractMethod<[], [string], "view">;
416
337
  getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
417
338
  getFunction(nameOrSignature: "DENOM"): TypedContractMethod<[], [bigint], "view">;
339
+ getFunction(nameOrSignature: "MAX_APY_BPS"): TypedContractMethod<[], [bigint], "view">;
340
+ getFunction(nameOrSignature: "UNUSED_keyBondManagerV2"): TypedContractMethod<[], [string], "view">;
341
+ getFunction(nameOrSignature: "UNUSED_lastRewardPush"): TypedContractMethod<[], [bigint], "view">;
342
+ getFunction(nameOrSignature: "UNUSED_minBal"): TypedContractMethod<[], [bigint], "view">;
343
+ getFunction(nameOrSignature: "UNUSED_rewardCooldown"): TypedContractMethod<[], [bigint], "view">;
418
344
  getFunction(nameOrSignature: "UPGRADE_INTERFACE_VERSION"): TypedContractMethod<[], [string], "view">;
419
- getFunction(nameOrSignature: "accounting"): TypedContractMethod<[], [string], "view">;
420
345
  getFunction(nameOrSignature: "authority"): TypedContractMethod<[], [string], "view">;
421
- getFunction(nameOrSignature: "availableETH"): TypedContractMethod<[], [bigint], "view">;
422
- getFunction(nameOrSignature: "checkDeficit"): TypedContractMethod<[
423
- ], [
424
- [bigint, boolean] & {
425
- def: bigint;
426
- needExits: boolean;
427
- }
428
- ], "view">;
429
- getFunction(nameOrSignature: "claim"): TypedContractMethod<[nftId: BigNumberish], [void], "nonpayable">;
430
346
  getFunction(nameOrSignature: "dailyRateBPS"): TypedContractMethod<[], [bigint], "view">;
431
347
  getFunction(nameOrSignature: "deposit"): TypedContractMethod<[], [void], "payable">;
432
348
  getFunction(nameOrSignature: "entryQueue"): TypedContractMethod<[], [bigint], "view">;
433
- getFunction(nameOrSignature: "eth_requested"): TypedContractMethod<[], [bigint], "view">;
434
- getFunction(nameOrSignature: "eth_reserved_for_stake"): TypedContractMethod<[], [bigint], "view">;
435
- getFunction(nameOrSignature: "fullExitReceived"): TypedContractMethod<[], [void], "payable">;
436
- getFunction(nameOrSignature: "initialize"): TypedContractMethod<[
437
- manager: AddressLike,
438
- _accounting: AddressLike,
439
- _liqEth: AddressLike,
440
- _queue: AddressLike,
441
- _stakingModule: AddressLike,
442
- _entryQueue: BigNumberish,
443
- _dailyRateBPS: BigNumberish,
444
- _rewardCooldown: BigNumberish
349
+ getFunction(nameOrSignature: "eth_exit_requested"): TypedContractMethod<[], [bigint], "view">;
350
+ getFunction(nameOrSignature: "excess_partial_exit_eth"): TypedContractMethod<[], [bigint], "view">;
351
+ getFunction(nameOrSignature: "exitReceived"): TypedContractMethod<[
352
+ partialAmount: BigNumberish,
353
+ fullStakeAmount: BigNumberish
445
354
  ], [
446
355
  void
447
- ], "nonpayable">;
356
+ ], "payable">;
357
+ getFunction(nameOrSignature: "initializeV2"): TypedContractMethod<[_keyBondManager: AddressLike], [void], "nonpayable">;
358
+ getFunction(nameOrSignature: "initializeV3"): TypedContractMethod<[], [void], "nonpayable">;
448
359
  getFunction(nameOrSignature: "isConsumingScheduledOp"): TypedContractMethod<[], [string], "view">;
449
- getFunction(nameOrSignature: "lastRewardPush"): TypedContractMethod<[], [bigint], "view">;
360
+ getFunction(nameOrSignature: "keyBondManager"): TypedContractMethod<[], [string], "view">;
450
361
  getFunction(nameOrSignature: "liqEth"): TypedContractMethod<[], [string], "view">;
451
- getFunction(nameOrSignature: "minBal"): TypedContractMethod<[], [bigint], "view">;
452
362
  getFunction(nameOrSignature: "minDeposit"): TypedContractMethod<[], [bigint], "view">;
453
- getFunction(nameOrSignature: "partialExitReceived"): TypedContractMethod<[], [void], "payable">;
454
363
  getFunction(nameOrSignature: "partialExitRequested"): TypedContractMethod<[ethAmount: BigNumberish], [void], "nonpayable">;
455
364
  getFunction(nameOrSignature: "pauseAll"): TypedContractMethod<[], [void], "nonpayable">;
456
365
  getFunction(nameOrSignature: "paused"): TypedContractMethod<[], [boolean], "view">;
457
366
  getFunction(nameOrSignature: "procFee"): TypedContractMethod<[amount: BigNumberish], [bigint], "view">;
458
367
  getFunction(nameOrSignature: "proxiableUUID"): TypedContractMethod<[], [string], "view">;
459
- getFunction(nameOrSignature: "pushPenalty"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
460
- getFunction(nameOrSignature: "pushRewards"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
461
368
  getFunction(nameOrSignature: "queueRate"): TypedContractMethod<[], [bigint], "view">;
462
- getFunction(nameOrSignature: "rewardCooldown"): TypedContractMethod<[], [bigint], "view">;
463
- getFunction(nameOrSignature: "setAccounting"): TypedContractMethod<[_accounting: AddressLike], [void], "nonpayable">;
464
369
  getFunction(nameOrSignature: "setAuthority"): TypedContractMethod<[newAuthority: AddressLike], [void], "nonpayable">;
465
370
  getFunction(nameOrSignature: "setEntryQueue"): TypedContractMethod<[newEntryQueue: BigNumberish], [void], "nonpayable">;
371
+ getFunction(nameOrSignature: "setKeyBondManager"): TypedContractMethod<[_keyBondManager: AddressLike], [void], "nonpayable">;
466
372
  getFunction(nameOrSignature: "setMinDeposit"): TypedContractMethod<[_minDeposit: BigNumberish], [void], "nonpayable">;
467
- getFunction(nameOrSignature: "setRewardCooldown"): TypedContractMethod<[_rewardCooldown: BigNumberish], [void], "nonpayable">;
468
373
  getFunction(nameOrSignature: "setStakingModule"): TypedContractMethod<[module: AddressLike], [void], "nonpayable">;
469
374
  getFunction(nameOrSignature: "setWithdrawalVault"): TypedContractMethod<[_vault: AddressLike], [void], "nonpayable">;
470
- getFunction(nameOrSignature: "stakeThroughModule"): TypedContractMethod<[nKeys: BigNumberish], [void], "nonpayable">;
471
375
  getFunction(nameOrSignature: "stakingModule"): TypedContractMethod<[], [string], "view">;
472
- getFunction(nameOrSignature: "topUpValidator"): TypedContractMethod<[
473
- id: BigNumberish,
474
- ethAmount: BigNumberish
475
- ], [
476
- void
477
- ], "nonpayable">;
478
376
  getFunction(nameOrSignature: "unpauseAll"): TypedContractMethod<[], [void], "nonpayable">;
479
377
  getFunction(nameOrSignature: "updateApyBPS"): TypedContractMethod<[newDailyRateBPS: BigNumberish], [void], "nonpayable">;
480
378
  getFunction(nameOrSignature: "upgradeToAndCall"): TypedContractMethod<[
@@ -488,42 +386,36 @@ export interface DepositManager extends BaseContract {
488
386
  getFunction(nameOrSignature: "withdrawalQueue"): TypedContractMethod<[], [string], "view">;
489
387
  getFunction(nameOrSignature: "withdrawalVault"): TypedContractMethod<[], [string], "view">;
490
388
  getEvent(key: "AuthorityUpdated"): TypedContractEvent<AuthorityUpdatedEvent.InputTuple, AuthorityUpdatedEvent.OutputTuple, AuthorityUpdatedEvent.OutputObject>;
491
- getEvent(key: "Claimed"): TypedContractEvent<ClaimedEvent.InputTuple, ClaimedEvent.OutputTuple, ClaimedEvent.OutputObject>;
492
389
  getEvent(key: "DailyRateUpdated"): TypedContractEvent<DailyRateUpdatedEvent.InputTuple, DailyRateUpdatedEvent.OutputTuple, DailyRateUpdatedEvent.OutputObject>;
493
390
  getEvent(key: "Deposited"): TypedContractEvent<DepositedEvent.InputTuple, DepositedEvent.OutputTuple, DepositedEvent.OutputObject>;
494
391
  getEvent(key: "EntryQueueUpdated"): TypedContractEvent<EntryQueueUpdatedEvent.InputTuple, EntryQueueUpdatedEvent.OutputTuple, EntryQueueUpdatedEvent.OutputObject>;
392
+ getEvent(key: "ExcessPartialExitReceived"): TypedContractEvent<ExcessPartialExitReceivedEvent.InputTuple, ExcessPartialExitReceivedEvent.OutputTuple, ExcessPartialExitReceivedEvent.OutputObject>;
495
393
  getEvent(key: "FullExitReceived"): TypedContractEvent<FullExitReceivedEvent.InputTuple, FullExitReceivedEvent.OutputTuple, FullExitReceivedEvent.OutputObject>;
496
394
  getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
497
- getEvent(key: "PartiallyExitReceived"): TypedContractEvent<PartiallyExitReceivedEvent.InputTuple, PartiallyExitReceivedEvent.OutputTuple, PartiallyExitReceivedEvent.OutputObject>;
395
+ getEvent(key: "PartialExitReceived"): TypedContractEvent<PartialExitReceivedEvent.InputTuple, PartialExitReceivedEvent.OutputTuple, PartialExitReceivedEvent.OutputObject>;
498
396
  getEvent(key: "Paused"): TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
499
- getEvent(key: "PenaltyPushed"): TypedContractEvent<PenaltyPushedEvent.InputTuple, PenaltyPushedEvent.OutputTuple, PenaltyPushedEvent.OutputObject>;
500
- getEvent(key: "RewardPushed"): TypedContractEvent<RewardPushedEvent.InputTuple, RewardPushedEvent.OutputTuple, RewardPushedEvent.OutputObject>;
501
397
  getEvent(key: "Unpaused"): TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
502
398
  getEvent(key: "Upgraded"): TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
503
399
  getEvent(key: "ValidatorDeposited"): TypedContractEvent<ValidatorDepositedEvent.InputTuple, ValidatorDepositedEvent.OutputTuple, ValidatorDepositedEvent.OutputObject>;
504
400
  filters: {
505
401
  "AuthorityUpdated(address)": TypedContractEvent<AuthorityUpdatedEvent.InputTuple, AuthorityUpdatedEvent.OutputTuple, AuthorityUpdatedEvent.OutputObject>;
506
402
  AuthorityUpdated: TypedContractEvent<AuthorityUpdatedEvent.InputTuple, AuthorityUpdatedEvent.OutputTuple, AuthorityUpdatedEvent.OutputObject>;
507
- "Claimed(address,uint256)": TypedContractEvent<ClaimedEvent.InputTuple, ClaimedEvent.OutputTuple, ClaimedEvent.OutputObject>;
508
- Claimed: TypedContractEvent<ClaimedEvent.InputTuple, ClaimedEvent.OutputTuple, ClaimedEvent.OutputObject>;
509
403
  "DailyRateUpdated(uint64)": TypedContractEvent<DailyRateUpdatedEvent.InputTuple, DailyRateUpdatedEvent.OutputTuple, DailyRateUpdatedEvent.OutputObject>;
510
404
  DailyRateUpdated: TypedContractEvent<DailyRateUpdatedEvent.InputTuple, DailyRateUpdatedEvent.OutputTuple, DailyRateUpdatedEvent.OutputObject>;
511
405
  "Deposited(address,uint256,uint256,uint256)": TypedContractEvent<DepositedEvent.InputTuple, DepositedEvent.OutputTuple, DepositedEvent.OutputObject>;
512
406
  Deposited: TypedContractEvent<DepositedEvent.InputTuple, DepositedEvent.OutputTuple, DepositedEvent.OutputObject>;
513
407
  "EntryQueueUpdated(uint64)": TypedContractEvent<EntryQueueUpdatedEvent.InputTuple, EntryQueueUpdatedEvent.OutputTuple, EntryQueueUpdatedEvent.OutputObject>;
514
408
  EntryQueueUpdated: TypedContractEvent<EntryQueueUpdatedEvent.InputTuple, EntryQueueUpdatedEvent.OutputTuple, EntryQueueUpdatedEvent.OutputObject>;
409
+ "ExcessPartialExitReceived(uint256)": TypedContractEvent<ExcessPartialExitReceivedEvent.InputTuple, ExcessPartialExitReceivedEvent.OutputTuple, ExcessPartialExitReceivedEvent.OutputObject>;
410
+ ExcessPartialExitReceived: TypedContractEvent<ExcessPartialExitReceivedEvent.InputTuple, ExcessPartialExitReceivedEvent.OutputTuple, ExcessPartialExitReceivedEvent.OutputObject>;
515
411
  "FullExitReceived(uint256)": TypedContractEvent<FullExitReceivedEvent.InputTuple, FullExitReceivedEvent.OutputTuple, FullExitReceivedEvent.OutputObject>;
516
412
  FullExitReceived: TypedContractEvent<FullExitReceivedEvent.InputTuple, FullExitReceivedEvent.OutputTuple, FullExitReceivedEvent.OutputObject>;
517
413
  "Initialized(uint64)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
518
414
  Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
519
- "PartiallyExitReceived(uint256)": TypedContractEvent<PartiallyExitReceivedEvent.InputTuple, PartiallyExitReceivedEvent.OutputTuple, PartiallyExitReceivedEvent.OutputObject>;
520
- PartiallyExitReceived: TypedContractEvent<PartiallyExitReceivedEvent.InputTuple, PartiallyExitReceivedEvent.OutputTuple, PartiallyExitReceivedEvent.OutputObject>;
415
+ "PartialExitReceived(uint256)": TypedContractEvent<PartialExitReceivedEvent.InputTuple, PartialExitReceivedEvent.OutputTuple, PartialExitReceivedEvent.OutputObject>;
416
+ PartialExitReceived: TypedContractEvent<PartialExitReceivedEvent.InputTuple, PartialExitReceivedEvent.OutputTuple, PartialExitReceivedEvent.OutputObject>;
521
417
  "Paused(address)": TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
522
418
  Paused: TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
523
- "PenaltyPushed(uint256)": TypedContractEvent<PenaltyPushedEvent.InputTuple, PenaltyPushedEvent.OutputTuple, PenaltyPushedEvent.OutputObject>;
524
- PenaltyPushed: TypedContractEvent<PenaltyPushedEvent.InputTuple, PenaltyPushedEvent.OutputTuple, PenaltyPushedEvent.OutputObject>;
525
- "RewardPushed(uint256)": TypedContractEvent<RewardPushedEvent.InputTuple, RewardPushedEvent.OutputTuple, RewardPushedEvent.OutputObject>;
526
- RewardPushed: TypedContractEvent<RewardPushedEvent.InputTuple, RewardPushedEvent.OutputTuple, RewardPushedEvent.OutputObject>;
527
419
  "Unpaused(address)": TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
528
420
  Unpaused: TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
529
421
  "Upgraded(address)": TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
@@ -1,7 +1,7 @@
1
1
  import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
2
  import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "./common.js";
3
3
  export interface LiqEthTokenInterface extends Interface {
4
- getFunction(nameOrSignature: "DOMAIN_SEPARATOR" | "MINTER_ROLE" | "ORACLE_ROLE" | "UNIT" | "UPGRADE_INTERFACE_VERSION" | "_withdrawalQueue" | "allowance" | "approve" | "authority" | "balanceOf" | "decimals" | "decreaseIndex" | "distributeYield" | "eip712Domain" | "increaseIndex" | "index" | "initialize" | "isConsumingScheduledOp" | "lastDistributeYieldAt" | "mint" | "name" | "nonces" | "pause" | "paused" | "permit" | "previewShares" | "proxiableUUID" | "safeBurn" | "setAuthority" | "shiftValueFrom" | "shiftValueTo" | "symbol" | "totalSupply" | "transfer" | "transferFrom" | "unit" | "unpause" | "upgradeToAndCall"): FunctionFragment;
4
+ getFunction(nameOrSignature: "DOMAIN_SEPARATOR" | "MINTER_ROLE" | "ORACLE_ROLE" | "UNIT" | "UPGRADE_INTERFACE_VERSION" | "_withdrawalQueue" | "allowance" | "approve" | "authority" | "balanceOf" | "decimals" | "decreaseIndex" | "distributeYield" | "eip712Domain" | "increaseIndex" | "index" | "initialize" | "initializeV2" | "initializeV3" | "isConsumingScheduledOp" | "lastDistributeYieldAt" | "maxShiftPercent" | "mint" | "name" | "nonces" | "pause" | "paused" | "permit" | "previewShares" | "proxiableUUID" | "safeBurn" | "setAuthority" | "shareToToken" | "sharesOf" | "shiftValueFrom" | "shiftValueTo" | "symbol" | "tokenToShare" | "totalShares" | "totalSupply" | "transfer" | "transferFrom" | "unit" | "unpause" | "upgradeToAndCall"): FunctionFragment;
5
5
  getEvent(nameOrSignatureOrTopic: "Approval" | "AuthorityUpdated" | "EIP712DomainChanged" | "IndexDecreased" | "IndexIncreased" | "Initialized" | "Paused" | "SharesBurned" | "SharesMinted" | "Transfer" | "Unpaused" | "Upgraded" | "ValueShiftedFrom" | "ValueShiftedTo"): EventFragment;
6
6
  encodeFunctionData(functionFragment: "DOMAIN_SEPARATOR", values?: undefined): string;
7
7
  encodeFunctionData(functionFragment: "MINTER_ROLE", values?: undefined): string;
@@ -20,8 +20,11 @@ export interface LiqEthTokenInterface extends Interface {
20
20
  encodeFunctionData(functionFragment: "increaseIndex", values: [BigNumberish]): string;
21
21
  encodeFunctionData(functionFragment: "index", values?: undefined): string;
22
22
  encodeFunctionData(functionFragment: "initialize", values: [AddressLike, AddressLike]): string;
23
+ encodeFunctionData(functionFragment: "initializeV2", values?: undefined): string;
24
+ encodeFunctionData(functionFragment: "initializeV3", values?: undefined): string;
23
25
  encodeFunctionData(functionFragment: "isConsumingScheduledOp", values?: undefined): string;
24
26
  encodeFunctionData(functionFragment: "lastDistributeYieldAt", values?: undefined): string;
27
+ encodeFunctionData(functionFragment: "maxShiftPercent", values?: undefined): string;
25
28
  encodeFunctionData(functionFragment: "mint", values: [AddressLike, BigNumberish]): string;
26
29
  encodeFunctionData(functionFragment: "name", values?: undefined): string;
27
30
  encodeFunctionData(functionFragment: "nonces", values: [AddressLike]): string;
@@ -40,9 +43,13 @@ export interface LiqEthTokenInterface extends Interface {
40
43
  encodeFunctionData(functionFragment: "proxiableUUID", values?: undefined): string;
41
44
  encodeFunctionData(functionFragment: "safeBurn", values: [AddressLike, BigNumberish]): string;
42
45
  encodeFunctionData(functionFragment: "setAuthority", values: [AddressLike]): string;
46
+ encodeFunctionData(functionFragment: "shareToToken", values: [BigNumberish]): string;
47
+ encodeFunctionData(functionFragment: "sharesOf", values: [AddressLike]): string;
43
48
  encodeFunctionData(functionFragment: "shiftValueFrom", values: [AddressLike, BigNumberish]): string;
44
49
  encodeFunctionData(functionFragment: "shiftValueTo", values: [AddressLike, BigNumberish]): string;
45
50
  encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
51
+ encodeFunctionData(functionFragment: "tokenToShare", values: [BigNumberish]): string;
52
+ encodeFunctionData(functionFragment: "totalShares", values?: undefined): string;
46
53
  encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
47
54
  encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
48
55
  encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
@@ -66,8 +73,11 @@ export interface LiqEthTokenInterface extends Interface {
66
73
  decodeFunctionResult(functionFragment: "increaseIndex", data: BytesLike): Result;
67
74
  decodeFunctionResult(functionFragment: "index", data: BytesLike): Result;
68
75
  decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
76
+ decodeFunctionResult(functionFragment: "initializeV2", data: BytesLike): Result;
77
+ decodeFunctionResult(functionFragment: "initializeV3", data: BytesLike): Result;
69
78
  decodeFunctionResult(functionFragment: "isConsumingScheduledOp", data: BytesLike): Result;
70
79
  decodeFunctionResult(functionFragment: "lastDistributeYieldAt", data: BytesLike): Result;
80
+ decodeFunctionResult(functionFragment: "maxShiftPercent", data: BytesLike): Result;
71
81
  decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
72
82
  decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
73
83
  decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result;
@@ -78,9 +88,13 @@ export interface LiqEthTokenInterface extends Interface {
78
88
  decodeFunctionResult(functionFragment: "proxiableUUID", data: BytesLike): Result;
79
89
  decodeFunctionResult(functionFragment: "safeBurn", data: BytesLike): Result;
80
90
  decodeFunctionResult(functionFragment: "setAuthority", data: BytesLike): Result;
91
+ decodeFunctionResult(functionFragment: "shareToToken", data: BytesLike): Result;
92
+ decodeFunctionResult(functionFragment: "sharesOf", data: BytesLike): Result;
81
93
  decodeFunctionResult(functionFragment: "shiftValueFrom", data: BytesLike): Result;
82
94
  decodeFunctionResult(functionFragment: "shiftValueTo", data: BytesLike): Result;
83
95
  decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
96
+ decodeFunctionResult(functionFragment: "tokenToShare", data: BytesLike): Result;
97
+ decodeFunctionResult(functionFragment: "totalShares", data: BytesLike): Result;
84
98
  decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
85
99
  decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
86
100
  decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
@@ -376,8 +390,11 @@ export interface LiqEthToken extends BaseContract {
376
390
  ], [
377
391
  void
378
392
  ], "nonpayable">;
393
+ initializeV2: TypedContractMethod<[], [void], "nonpayable">;
394
+ initializeV3: TypedContractMethod<[], [void], "nonpayable">;
379
395
  isConsumingScheduledOp: TypedContractMethod<[], [string], "view">;
380
396
  lastDistributeYieldAt: TypedContractMethod<[], [bigint], "view">;
397
+ maxShiftPercent: TypedContractMethod<[], [bigint], "view">;
381
398
  mint: TypedContractMethod<[
382
399
  to: AddressLike,
383
400
  tokenValue: BigNumberish
@@ -416,6 +433,8 @@ export interface LiqEthToken extends BaseContract {
416
433
  ], [
417
434
  void
418
435
  ], "nonpayable">;
436
+ shareToToken: TypedContractMethod<[share: BigNumberish], [bigint], "view">;
437
+ sharesOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
419
438
  shiftValueFrom: TypedContractMethod<[
420
439
  from: AddressLike,
421
440
  liqEthAmount: BigNumberish
@@ -429,6 +448,12 @@ export interface LiqEthToken extends BaseContract {
429
448
  void
430
449
  ], "nonpayable">;
431
450
  symbol: TypedContractMethod<[], [string], "view">;
451
+ tokenToShare: TypedContractMethod<[
452
+ tokenValue: BigNumberish
453
+ ], [
454
+ bigint
455
+ ], "view">;
456
+ totalShares: TypedContractMethod<[], [bigint], "view">;
432
457
  totalSupply: TypedContractMethod<[], [bigint], "view">;
433
458
  transfer: TypedContractMethod<[
434
459
  to: AddressLike,
@@ -508,8 +533,11 @@ export interface LiqEthToken extends BaseContract {
508
533
  ], [
509
534
  void
510
535
  ], "nonpayable">;
536
+ getFunction(nameOrSignature: "initializeV2"): TypedContractMethod<[], [void], "nonpayable">;
537
+ getFunction(nameOrSignature: "initializeV3"): TypedContractMethod<[], [void], "nonpayable">;
511
538
  getFunction(nameOrSignature: "isConsumingScheduledOp"): TypedContractMethod<[], [string], "view">;
512
539
  getFunction(nameOrSignature: "lastDistributeYieldAt"): TypedContractMethod<[], [bigint], "view">;
540
+ getFunction(nameOrSignature: "maxShiftPercent"): TypedContractMethod<[], [bigint], "view">;
513
541
  getFunction(nameOrSignature: "mint"): TypedContractMethod<[
514
542
  to: AddressLike,
515
543
  tokenValue: BigNumberish
@@ -540,6 +568,8 @@ export interface LiqEthToken extends BaseContract {
540
568
  bigint
541
569
  ], "nonpayable">;
542
570
  getFunction(nameOrSignature: "setAuthority"): TypedContractMethod<[newAuthority: AddressLike], [void], "nonpayable">;
571
+ getFunction(nameOrSignature: "shareToToken"): TypedContractMethod<[share: BigNumberish], [bigint], "view">;
572
+ getFunction(nameOrSignature: "sharesOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
543
573
  getFunction(nameOrSignature: "shiftValueFrom"): TypedContractMethod<[
544
574
  from: AddressLike,
545
575
  liqEthAmount: BigNumberish
@@ -553,6 +583,8 @@ export interface LiqEthToken extends BaseContract {
553
583
  void
554
584
  ], "nonpayable">;
555
585
  getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">;
586
+ getFunction(nameOrSignature: "tokenToShare"): TypedContractMethod<[tokenValue: BigNumberish], [bigint], "view">;
587
+ getFunction(nameOrSignature: "totalShares"): TypedContractMethod<[], [bigint], "view">;
556
588
  getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
557
589
  getFunction(nameOrSignature: "transfer"): TypedContractMethod<[
558
590
  to: AddressLike,