@wireio/outpost-ethereum-artifacts 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/abis/BAR.json +0 -5
  2. package/abis/DepositManager.json +973 -0
  3. package/abis/LiqEthToken.json +1228 -0
  4. package/abis/SyndicationPool.json +2074 -0
  5. package/lib/cjs/Manifest.d.ts +41 -0
  6. package/lib/cjs/Manifest.js +90 -5
  7. package/lib/cjs/contracts/DepositManager.d.ts +534 -0
  8. package/lib/cjs/contracts/DepositManager.js +2 -0
  9. package/lib/cjs/contracts/LiqEthToken.d.ts +622 -0
  10. package/lib/cjs/contracts/LiqEthToken.js +2 -0
  11. package/lib/cjs/contracts/SyndicationPool.d.ts +650 -0
  12. package/lib/cjs/contracts/SyndicationPool.js +2 -0
  13. package/lib/cjs/contracts/factories/BAR__factory.d.ts +0 -4
  14. package/lib/cjs/contracts/factories/BAR__factory.js +0 -5
  15. package/lib/cjs/contracts/factories/DepositManager__factory.d.ts +756 -0
  16. package/lib/cjs/contracts/factories/DepositManager__factory.js +986 -0
  17. package/lib/cjs/contracts/factories/LiqEthToken__factory.d.ts +948 -0
  18. package/lib/cjs/contracts/factories/LiqEthToken__factory.js +1241 -0
  19. package/lib/cjs/contracts/factories/SyndicationPool__factory.d.ts +1587 -0
  20. package/lib/cjs/contracts/factories/SyndicationPool__factory.js +2087 -0
  21. package/lib/cjs/contracts/factories/index.d.ts +3 -0
  22. package/lib/cjs/contracts/factories/index.js +7 -1
  23. package/lib/cjs/contracts/index.d.ts +6 -0
  24. package/lib/cjs/contracts/index.js +7 -1
  25. package/lib/esm/Manifest.d.ts +41 -0
  26. package/lib/esm/Manifest.js +90 -5
  27. package/lib/esm/contracts/DepositManager.d.ts +534 -0
  28. package/lib/esm/contracts/DepositManager.js +1 -0
  29. package/lib/esm/contracts/LiqEthToken.d.ts +622 -0
  30. package/lib/esm/contracts/LiqEthToken.js +1 -0
  31. package/lib/esm/contracts/SyndicationPool.d.ts +650 -0
  32. package/lib/esm/contracts/SyndicationPool.js +1 -0
  33. package/lib/esm/contracts/factories/BAR__factory.d.ts +0 -4
  34. package/lib/esm/contracts/factories/BAR__factory.js +0 -5
  35. package/lib/esm/contracts/factories/DepositManager__factory.d.ts +756 -0
  36. package/lib/esm/contracts/factories/DepositManager__factory.js +982 -0
  37. package/lib/esm/contracts/factories/LiqEthToken__factory.d.ts +948 -0
  38. package/lib/esm/contracts/factories/LiqEthToken__factory.js +1237 -0
  39. package/lib/esm/contracts/factories/SyndicationPool__factory.d.ts +1587 -0
  40. package/lib/esm/contracts/factories/SyndicationPool__factory.js +2083 -0
  41. package/lib/esm/contracts/factories/index.d.ts +3 -0
  42. package/lib/esm/contracts/factories/index.js +3 -0
  43. package/lib/esm/contracts/index.d.ts +6 -0
  44. package/lib/esm/contracts/index.js +3 -0
  45. package/manifest.json +90 -5
  46. package/package.json +1 -1
  47. package/runtime/BAR.bin +0 -0
  48. package/runtime/DepositManager.bin +0 -0
  49. package/runtime/LiqEthToken.bin +0 -0
  50. package/runtime/SyndicationPool.bin +0 -0
@@ -0,0 +1,622 @@
1
+ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
+ import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "./common.js";
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;
5
+ getEvent(nameOrSignatureOrTopic: "Approval" | "AuthorityUpdated" | "EIP712DomainChanged" | "IndexDecreased" | "IndexIncreased" | "Initialized" | "Paused" | "SharesBurned" | "SharesMinted" | "Transfer" | "Unpaused" | "Upgraded" | "ValueShiftedFrom" | "ValueShiftedTo"): EventFragment;
6
+ encodeFunctionData(functionFragment: "DOMAIN_SEPARATOR", values?: undefined): string;
7
+ encodeFunctionData(functionFragment: "MINTER_ROLE", values?: undefined): string;
8
+ encodeFunctionData(functionFragment: "ORACLE_ROLE", values?: undefined): string;
9
+ encodeFunctionData(functionFragment: "UNIT", values?: undefined): string;
10
+ encodeFunctionData(functionFragment: "UPGRADE_INTERFACE_VERSION", values?: undefined): string;
11
+ encodeFunctionData(functionFragment: "_withdrawalQueue", values?: undefined): string;
12
+ encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string;
13
+ encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
14
+ encodeFunctionData(functionFragment: "authority", values?: undefined): string;
15
+ encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
16
+ encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
17
+ encodeFunctionData(functionFragment: "decreaseIndex", values: [BigNumberish]): string;
18
+ encodeFunctionData(functionFragment: "distributeYield", values: [AddressLike, BigNumberish]): string;
19
+ encodeFunctionData(functionFragment: "eip712Domain", values?: undefined): string;
20
+ encodeFunctionData(functionFragment: "increaseIndex", values: [BigNumberish]): string;
21
+ encodeFunctionData(functionFragment: "index", values?: undefined): string;
22
+ encodeFunctionData(functionFragment: "initialize", values: [AddressLike, AddressLike]): string;
23
+ encodeFunctionData(functionFragment: "isConsumingScheduledOp", values?: undefined): string;
24
+ encodeFunctionData(functionFragment: "lastDistributeYieldAt", values?: undefined): string;
25
+ encodeFunctionData(functionFragment: "mint", values: [AddressLike, BigNumberish]): string;
26
+ encodeFunctionData(functionFragment: "name", values?: undefined): string;
27
+ encodeFunctionData(functionFragment: "nonces", values: [AddressLike]): string;
28
+ encodeFunctionData(functionFragment: "pause", values?: undefined): string;
29
+ encodeFunctionData(functionFragment: "paused", values?: undefined): string;
30
+ encodeFunctionData(functionFragment: "permit", values: [
31
+ AddressLike,
32
+ AddressLike,
33
+ BigNumberish,
34
+ BigNumberish,
35
+ BigNumberish,
36
+ BytesLike,
37
+ BytesLike
38
+ ]): string;
39
+ encodeFunctionData(functionFragment: "previewShares", values: [BigNumberish]): string;
40
+ encodeFunctionData(functionFragment: "proxiableUUID", values?: undefined): string;
41
+ encodeFunctionData(functionFragment: "safeBurn", values: [AddressLike, BigNumberish]): string;
42
+ encodeFunctionData(functionFragment: "setAuthority", values: [AddressLike]): string;
43
+ encodeFunctionData(functionFragment: "shiftValueFrom", values: [AddressLike, BigNumberish]): string;
44
+ encodeFunctionData(functionFragment: "shiftValueTo", values: [AddressLike, BigNumberish]): string;
45
+ encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
46
+ encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
47
+ encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
48
+ encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
49
+ encodeFunctionData(functionFragment: "unit", values?: undefined): string;
50
+ encodeFunctionData(functionFragment: "unpause", values?: undefined): string;
51
+ encodeFunctionData(functionFragment: "upgradeToAndCall", values: [AddressLike, BytesLike]): string;
52
+ decodeFunctionResult(functionFragment: "DOMAIN_SEPARATOR", data: BytesLike): Result;
53
+ decodeFunctionResult(functionFragment: "MINTER_ROLE", data: BytesLike): Result;
54
+ decodeFunctionResult(functionFragment: "ORACLE_ROLE", data: BytesLike): Result;
55
+ decodeFunctionResult(functionFragment: "UNIT", data: BytesLike): Result;
56
+ decodeFunctionResult(functionFragment: "UPGRADE_INTERFACE_VERSION", data: BytesLike): Result;
57
+ decodeFunctionResult(functionFragment: "_withdrawalQueue", data: BytesLike): Result;
58
+ decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
59
+ decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
60
+ decodeFunctionResult(functionFragment: "authority", data: BytesLike): Result;
61
+ decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
62
+ decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
63
+ decodeFunctionResult(functionFragment: "decreaseIndex", data: BytesLike): Result;
64
+ decodeFunctionResult(functionFragment: "distributeYield", data: BytesLike): Result;
65
+ decodeFunctionResult(functionFragment: "eip712Domain", data: BytesLike): Result;
66
+ decodeFunctionResult(functionFragment: "increaseIndex", data: BytesLike): Result;
67
+ decodeFunctionResult(functionFragment: "index", data: BytesLike): Result;
68
+ decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
69
+ decodeFunctionResult(functionFragment: "isConsumingScheduledOp", data: BytesLike): Result;
70
+ decodeFunctionResult(functionFragment: "lastDistributeYieldAt", data: BytesLike): Result;
71
+ decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
72
+ decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
73
+ decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result;
74
+ decodeFunctionResult(functionFragment: "pause", data: BytesLike): Result;
75
+ decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result;
76
+ decodeFunctionResult(functionFragment: "permit", data: BytesLike): Result;
77
+ decodeFunctionResult(functionFragment: "previewShares", data: BytesLike): Result;
78
+ decodeFunctionResult(functionFragment: "proxiableUUID", data: BytesLike): Result;
79
+ decodeFunctionResult(functionFragment: "safeBurn", data: BytesLike): Result;
80
+ decodeFunctionResult(functionFragment: "setAuthority", data: BytesLike): Result;
81
+ decodeFunctionResult(functionFragment: "shiftValueFrom", data: BytesLike): Result;
82
+ decodeFunctionResult(functionFragment: "shiftValueTo", data: BytesLike): Result;
83
+ decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
84
+ decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
85
+ decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
86
+ decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
87
+ decodeFunctionResult(functionFragment: "unit", data: BytesLike): Result;
88
+ decodeFunctionResult(functionFragment: "unpause", data: BytesLike): Result;
89
+ decodeFunctionResult(functionFragment: "upgradeToAndCall", data: BytesLike): Result;
90
+ }
91
+ export declare namespace ApprovalEvent {
92
+ type InputTuple = [
93
+ owner: AddressLike,
94
+ spender: AddressLike,
95
+ value: BigNumberish
96
+ ];
97
+ type OutputTuple = [owner: string, spender: string, value: bigint];
98
+ interface OutputObject {
99
+ owner: string;
100
+ spender: string;
101
+ value: bigint;
102
+ }
103
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
104
+ type Filter = TypedDeferredTopicFilter<Event>;
105
+ type Log = TypedEventLog<Event>;
106
+ type LogDescription = TypedLogDescription<Event>;
107
+ }
108
+ export declare namespace AuthorityUpdatedEvent {
109
+ type InputTuple = [authority: AddressLike];
110
+ type OutputTuple = [authority: string];
111
+ interface OutputObject {
112
+ authority: string;
113
+ }
114
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
115
+ type Filter = TypedDeferredTopicFilter<Event>;
116
+ type Log = TypedEventLog<Event>;
117
+ type LogDescription = TypedLogDescription<Event>;
118
+ }
119
+ export declare namespace EIP712DomainChangedEvent {
120
+ type InputTuple = [];
121
+ type OutputTuple = [];
122
+ interface OutputObject {
123
+ }
124
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
125
+ type Filter = TypedDeferredTopicFilter<Event>;
126
+ type Log = TypedEventLog<Event>;
127
+ type LogDescription = TypedLogDescription<Event>;
128
+ }
129
+ export declare namespace IndexDecreasedEvent {
130
+ type InputTuple = [newIndex: BigNumberish, tokenPenalty: BigNumberish];
131
+ type OutputTuple = [newIndex: bigint, tokenPenalty: bigint];
132
+ interface OutputObject {
133
+ newIndex: bigint;
134
+ tokenPenalty: bigint;
135
+ }
136
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
137
+ type Filter = TypedDeferredTopicFilter<Event>;
138
+ type Log = TypedEventLog<Event>;
139
+ type LogDescription = TypedLogDescription<Event>;
140
+ }
141
+ export declare namespace IndexIncreasedEvent {
142
+ type InputTuple = [newIndex: BigNumberish, tokenReward: BigNumberish];
143
+ type OutputTuple = [newIndex: bigint, tokenReward: bigint];
144
+ interface OutputObject {
145
+ newIndex: bigint;
146
+ tokenReward: bigint;
147
+ }
148
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
149
+ type Filter = TypedDeferredTopicFilter<Event>;
150
+ type Log = TypedEventLog<Event>;
151
+ type LogDescription = TypedLogDescription<Event>;
152
+ }
153
+ export declare namespace InitializedEvent {
154
+ type InputTuple = [version: BigNumberish];
155
+ type OutputTuple = [version: bigint];
156
+ interface OutputObject {
157
+ version: bigint;
158
+ }
159
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
160
+ type Filter = TypedDeferredTopicFilter<Event>;
161
+ type Log = TypedEventLog<Event>;
162
+ type LogDescription = TypedLogDescription<Event>;
163
+ }
164
+ export declare namespace PausedEvent {
165
+ type InputTuple = [account: AddressLike];
166
+ type OutputTuple = [account: string];
167
+ interface OutputObject {
168
+ account: string;
169
+ }
170
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
171
+ type Filter = TypedDeferredTopicFilter<Event>;
172
+ type Log = TypedEventLog<Event>;
173
+ type LogDescription = TypedLogDescription<Event>;
174
+ }
175
+ export declare namespace SharesBurnedEvent {
176
+ type InputTuple = [
177
+ from: AddressLike,
178
+ shares: BigNumberish,
179
+ tokenValue: BigNumberish
180
+ ];
181
+ type OutputTuple = [from: string, shares: bigint, tokenValue: bigint];
182
+ interface OutputObject {
183
+ from: string;
184
+ shares: bigint;
185
+ tokenValue: bigint;
186
+ }
187
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
188
+ type Filter = TypedDeferredTopicFilter<Event>;
189
+ type Log = TypedEventLog<Event>;
190
+ type LogDescription = TypedLogDescription<Event>;
191
+ }
192
+ export declare namespace SharesMintedEvent {
193
+ type InputTuple = [
194
+ to: AddressLike,
195
+ shares: BigNumberish,
196
+ tokenValue: BigNumberish
197
+ ];
198
+ type OutputTuple = [to: string, shares: bigint, tokenValue: bigint];
199
+ interface OutputObject {
200
+ to: string;
201
+ shares: bigint;
202
+ tokenValue: bigint;
203
+ }
204
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
205
+ type Filter = TypedDeferredTopicFilter<Event>;
206
+ type Log = TypedEventLog<Event>;
207
+ type LogDescription = TypedLogDescription<Event>;
208
+ }
209
+ export declare namespace TransferEvent {
210
+ type InputTuple = [
211
+ from: AddressLike,
212
+ to: AddressLike,
213
+ value: BigNumberish
214
+ ];
215
+ type OutputTuple = [from: string, to: string, value: bigint];
216
+ interface OutputObject {
217
+ from: string;
218
+ to: string;
219
+ value: bigint;
220
+ }
221
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
222
+ type Filter = TypedDeferredTopicFilter<Event>;
223
+ type Log = TypedEventLog<Event>;
224
+ type LogDescription = TypedLogDescription<Event>;
225
+ }
226
+ export declare namespace UnpausedEvent {
227
+ type InputTuple = [account: AddressLike];
228
+ type OutputTuple = [account: string];
229
+ interface OutputObject {
230
+ account: string;
231
+ }
232
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
233
+ type Filter = TypedDeferredTopicFilter<Event>;
234
+ type Log = TypedEventLog<Event>;
235
+ type LogDescription = TypedLogDescription<Event>;
236
+ }
237
+ export declare namespace UpgradedEvent {
238
+ type InputTuple = [implementation: AddressLike];
239
+ type OutputTuple = [implementation: string];
240
+ interface OutputObject {
241
+ implementation: string;
242
+ }
243
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
244
+ type Filter = TypedDeferredTopicFilter<Event>;
245
+ type Log = TypedEventLog<Event>;
246
+ type LogDescription = TypedLogDescription<Event>;
247
+ }
248
+ export declare namespace ValueShiftedFromEvent {
249
+ type InputTuple = [
250
+ from: AddressLike,
251
+ liqEthAmount: BigNumberish,
252
+ shares: BigNumberish,
253
+ oldIndex: BigNumberish,
254
+ newIndex: BigNumberish
255
+ ];
256
+ type OutputTuple = [
257
+ from: string,
258
+ liqEthAmount: bigint,
259
+ shares: bigint,
260
+ oldIndex: bigint,
261
+ newIndex: bigint
262
+ ];
263
+ interface OutputObject {
264
+ from: string;
265
+ liqEthAmount: bigint;
266
+ shares: bigint;
267
+ oldIndex: bigint;
268
+ newIndex: bigint;
269
+ }
270
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
271
+ type Filter = TypedDeferredTopicFilter<Event>;
272
+ type Log = TypedEventLog<Event>;
273
+ type LogDescription = TypedLogDescription<Event>;
274
+ }
275
+ export declare namespace ValueShiftedToEvent {
276
+ type InputTuple = [
277
+ to: AddressLike,
278
+ liqEthAmount: BigNumberish,
279
+ shares: BigNumberish,
280
+ oldIndex: BigNumberish,
281
+ newIndex: BigNumberish
282
+ ];
283
+ type OutputTuple = [
284
+ to: string,
285
+ liqEthAmount: bigint,
286
+ shares: bigint,
287
+ oldIndex: bigint,
288
+ newIndex: bigint
289
+ ];
290
+ interface OutputObject {
291
+ to: string;
292
+ liqEthAmount: bigint;
293
+ shares: bigint;
294
+ oldIndex: bigint;
295
+ newIndex: bigint;
296
+ }
297
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
298
+ type Filter = TypedDeferredTopicFilter<Event>;
299
+ type Log = TypedEventLog<Event>;
300
+ type LogDescription = TypedLogDescription<Event>;
301
+ }
302
+ export interface LiqEthToken extends BaseContract {
303
+ connect(runner?: ContractRunner | null): LiqEthToken;
304
+ waitForDeployment(): Promise<this>;
305
+ interface: LiqEthTokenInterface;
306
+ queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
307
+ queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
308
+ on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
309
+ on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
310
+ once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
311
+ once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
312
+ listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
313
+ listeners(eventName?: string): Promise<Array<Listener>>;
314
+ removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
315
+ DOMAIN_SEPARATOR: TypedContractMethod<[], [string], "view">;
316
+ MINTER_ROLE: TypedContractMethod<[], [string], "view">;
317
+ ORACLE_ROLE: TypedContractMethod<[], [string], "view">;
318
+ UNIT: TypedContractMethod<[], [bigint], "view">;
319
+ UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">;
320
+ _withdrawalQueue: TypedContractMethod<[], [string], "view">;
321
+ allowance: TypedContractMethod<[
322
+ owner: AddressLike,
323
+ spender: AddressLike
324
+ ], [
325
+ bigint
326
+ ], "view">;
327
+ approve: TypedContractMethod<[
328
+ spender: AddressLike,
329
+ value: BigNumberish
330
+ ], [
331
+ boolean
332
+ ], "nonpayable">;
333
+ authority: TypedContractMethod<[], [string], "view">;
334
+ balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
335
+ decimals: TypedContractMethod<[], [bigint], "view">;
336
+ decreaseIndex: TypedContractMethod<[
337
+ tokenReward: BigNumberish
338
+ ], [
339
+ void
340
+ ], "nonpayable">;
341
+ distributeYield: TypedContractMethod<[
342
+ from: AddressLike,
343
+ liqEthAmount: BigNumberish
344
+ ], [
345
+ void
346
+ ], "nonpayable">;
347
+ eip712Domain: TypedContractMethod<[
348
+ ], [
349
+ [
350
+ string,
351
+ string,
352
+ string,
353
+ bigint,
354
+ string,
355
+ string,
356
+ bigint[]
357
+ ] & {
358
+ fields: string;
359
+ name: string;
360
+ version: string;
361
+ chainId: bigint;
362
+ verifyingContract: string;
363
+ salt: string;
364
+ extensions: bigint[];
365
+ }
366
+ ], "view">;
367
+ increaseIndex: TypedContractMethod<[
368
+ tokenReward: BigNumberish
369
+ ], [
370
+ void
371
+ ], "nonpayable">;
372
+ index: TypedContractMethod<[], [bigint], "view">;
373
+ initialize: TypedContractMethod<[
374
+ manager: AddressLike,
375
+ withdrawalQueue: AddressLike
376
+ ], [
377
+ void
378
+ ], "nonpayable">;
379
+ isConsumingScheduledOp: TypedContractMethod<[], [string], "view">;
380
+ lastDistributeYieldAt: TypedContractMethod<[], [bigint], "view">;
381
+ mint: TypedContractMethod<[
382
+ to: AddressLike,
383
+ tokenValue: BigNumberish
384
+ ], [
385
+ bigint
386
+ ], "nonpayable">;
387
+ name: TypedContractMethod<[], [string], "view">;
388
+ nonces: TypedContractMethod<[owner: AddressLike], [bigint], "view">;
389
+ pause: TypedContractMethod<[], [void], "nonpayable">;
390
+ paused: TypedContractMethod<[], [boolean], "view">;
391
+ permit: TypedContractMethod<[
392
+ owner: AddressLike,
393
+ spender: AddressLike,
394
+ value: BigNumberish,
395
+ deadline: BigNumberish,
396
+ v: BigNumberish,
397
+ r: BytesLike,
398
+ s: BytesLike
399
+ ], [
400
+ void
401
+ ], "nonpayable">;
402
+ previewShares: TypedContractMethod<[
403
+ tokenValue: BigNumberish
404
+ ], [
405
+ bigint
406
+ ], "view">;
407
+ proxiableUUID: TypedContractMethod<[], [string], "view">;
408
+ safeBurn: TypedContractMethod<[
409
+ from: AddressLike,
410
+ tokenValue: BigNumberish
411
+ ], [
412
+ bigint
413
+ ], "nonpayable">;
414
+ setAuthority: TypedContractMethod<[
415
+ newAuthority: AddressLike
416
+ ], [
417
+ void
418
+ ], "nonpayable">;
419
+ shiftValueFrom: TypedContractMethod<[
420
+ from: AddressLike,
421
+ liqEthAmount: BigNumberish
422
+ ], [
423
+ void
424
+ ], "nonpayable">;
425
+ shiftValueTo: TypedContractMethod<[
426
+ to: AddressLike,
427
+ liqEthAmount: BigNumberish
428
+ ], [
429
+ void
430
+ ], "nonpayable">;
431
+ symbol: TypedContractMethod<[], [string], "view">;
432
+ totalSupply: TypedContractMethod<[], [bigint], "view">;
433
+ transfer: TypedContractMethod<[
434
+ to: AddressLike,
435
+ value: BigNumberish
436
+ ], [
437
+ boolean
438
+ ], "nonpayable">;
439
+ transferFrom: TypedContractMethod<[
440
+ from: AddressLike,
441
+ to: AddressLike,
442
+ value: BigNumberish
443
+ ], [
444
+ boolean
445
+ ], "nonpayable">;
446
+ unit: TypedContractMethod<[], [bigint], "view">;
447
+ unpause: TypedContractMethod<[], [void], "nonpayable">;
448
+ upgradeToAndCall: TypedContractMethod<[
449
+ newImplementation: AddressLike,
450
+ data: BytesLike
451
+ ], [
452
+ void
453
+ ], "payable">;
454
+ getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
455
+ getFunction(nameOrSignature: "DOMAIN_SEPARATOR"): TypedContractMethod<[], [string], "view">;
456
+ getFunction(nameOrSignature: "MINTER_ROLE"): TypedContractMethod<[], [string], "view">;
457
+ getFunction(nameOrSignature: "ORACLE_ROLE"): TypedContractMethod<[], [string], "view">;
458
+ getFunction(nameOrSignature: "UNIT"): TypedContractMethod<[], [bigint], "view">;
459
+ getFunction(nameOrSignature: "UPGRADE_INTERFACE_VERSION"): TypedContractMethod<[], [string], "view">;
460
+ getFunction(nameOrSignature: "_withdrawalQueue"): TypedContractMethod<[], [string], "view">;
461
+ getFunction(nameOrSignature: "allowance"): TypedContractMethod<[
462
+ owner: AddressLike,
463
+ spender: AddressLike
464
+ ], [
465
+ bigint
466
+ ], "view">;
467
+ getFunction(nameOrSignature: "approve"): TypedContractMethod<[
468
+ spender: AddressLike,
469
+ value: BigNumberish
470
+ ], [
471
+ boolean
472
+ ], "nonpayable">;
473
+ getFunction(nameOrSignature: "authority"): TypedContractMethod<[], [string], "view">;
474
+ getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
475
+ getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">;
476
+ getFunction(nameOrSignature: "decreaseIndex"): TypedContractMethod<[tokenReward: BigNumberish], [void], "nonpayable">;
477
+ getFunction(nameOrSignature: "distributeYield"): TypedContractMethod<[
478
+ from: AddressLike,
479
+ liqEthAmount: BigNumberish
480
+ ], [
481
+ void
482
+ ], "nonpayable">;
483
+ getFunction(nameOrSignature: "eip712Domain"): TypedContractMethod<[
484
+ ], [
485
+ [
486
+ string,
487
+ string,
488
+ string,
489
+ bigint,
490
+ string,
491
+ string,
492
+ bigint[]
493
+ ] & {
494
+ fields: string;
495
+ name: string;
496
+ version: string;
497
+ chainId: bigint;
498
+ verifyingContract: string;
499
+ salt: string;
500
+ extensions: bigint[];
501
+ }
502
+ ], "view">;
503
+ getFunction(nameOrSignature: "increaseIndex"): TypedContractMethod<[tokenReward: BigNumberish], [void], "nonpayable">;
504
+ getFunction(nameOrSignature: "index"): TypedContractMethod<[], [bigint], "view">;
505
+ getFunction(nameOrSignature: "initialize"): TypedContractMethod<[
506
+ manager: AddressLike,
507
+ withdrawalQueue: AddressLike
508
+ ], [
509
+ void
510
+ ], "nonpayable">;
511
+ getFunction(nameOrSignature: "isConsumingScheduledOp"): TypedContractMethod<[], [string], "view">;
512
+ getFunction(nameOrSignature: "lastDistributeYieldAt"): TypedContractMethod<[], [bigint], "view">;
513
+ getFunction(nameOrSignature: "mint"): TypedContractMethod<[
514
+ to: AddressLike,
515
+ tokenValue: BigNumberish
516
+ ], [
517
+ bigint
518
+ ], "nonpayable">;
519
+ getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
520
+ getFunction(nameOrSignature: "nonces"): TypedContractMethod<[owner: AddressLike], [bigint], "view">;
521
+ getFunction(nameOrSignature: "pause"): TypedContractMethod<[], [void], "nonpayable">;
522
+ getFunction(nameOrSignature: "paused"): TypedContractMethod<[], [boolean], "view">;
523
+ getFunction(nameOrSignature: "permit"): TypedContractMethod<[
524
+ owner: AddressLike,
525
+ spender: AddressLike,
526
+ value: BigNumberish,
527
+ deadline: BigNumberish,
528
+ v: BigNumberish,
529
+ r: BytesLike,
530
+ s: BytesLike
531
+ ], [
532
+ void
533
+ ], "nonpayable">;
534
+ getFunction(nameOrSignature: "previewShares"): TypedContractMethod<[tokenValue: BigNumberish], [bigint], "view">;
535
+ getFunction(nameOrSignature: "proxiableUUID"): TypedContractMethod<[], [string], "view">;
536
+ getFunction(nameOrSignature: "safeBurn"): TypedContractMethod<[
537
+ from: AddressLike,
538
+ tokenValue: BigNumberish
539
+ ], [
540
+ bigint
541
+ ], "nonpayable">;
542
+ getFunction(nameOrSignature: "setAuthority"): TypedContractMethod<[newAuthority: AddressLike], [void], "nonpayable">;
543
+ getFunction(nameOrSignature: "shiftValueFrom"): TypedContractMethod<[
544
+ from: AddressLike,
545
+ liqEthAmount: BigNumberish
546
+ ], [
547
+ void
548
+ ], "nonpayable">;
549
+ getFunction(nameOrSignature: "shiftValueTo"): TypedContractMethod<[
550
+ to: AddressLike,
551
+ liqEthAmount: BigNumberish
552
+ ], [
553
+ void
554
+ ], "nonpayable">;
555
+ getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">;
556
+ getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
557
+ getFunction(nameOrSignature: "transfer"): TypedContractMethod<[
558
+ to: AddressLike,
559
+ value: BigNumberish
560
+ ], [
561
+ boolean
562
+ ], "nonpayable">;
563
+ getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[
564
+ from: AddressLike,
565
+ to: AddressLike,
566
+ value: BigNumberish
567
+ ], [
568
+ boolean
569
+ ], "nonpayable">;
570
+ getFunction(nameOrSignature: "unit"): TypedContractMethod<[], [bigint], "view">;
571
+ getFunction(nameOrSignature: "unpause"): TypedContractMethod<[], [void], "nonpayable">;
572
+ getFunction(nameOrSignature: "upgradeToAndCall"): TypedContractMethod<[
573
+ newImplementation: AddressLike,
574
+ data: BytesLike
575
+ ], [
576
+ void
577
+ ], "payable">;
578
+ getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
579
+ getEvent(key: "AuthorityUpdated"): TypedContractEvent<AuthorityUpdatedEvent.InputTuple, AuthorityUpdatedEvent.OutputTuple, AuthorityUpdatedEvent.OutputObject>;
580
+ getEvent(key: "EIP712DomainChanged"): TypedContractEvent<EIP712DomainChangedEvent.InputTuple, EIP712DomainChangedEvent.OutputTuple, EIP712DomainChangedEvent.OutputObject>;
581
+ getEvent(key: "IndexDecreased"): TypedContractEvent<IndexDecreasedEvent.InputTuple, IndexDecreasedEvent.OutputTuple, IndexDecreasedEvent.OutputObject>;
582
+ getEvent(key: "IndexIncreased"): TypedContractEvent<IndexIncreasedEvent.InputTuple, IndexIncreasedEvent.OutputTuple, IndexIncreasedEvent.OutputObject>;
583
+ getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
584
+ getEvent(key: "Paused"): TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
585
+ getEvent(key: "SharesBurned"): TypedContractEvent<SharesBurnedEvent.InputTuple, SharesBurnedEvent.OutputTuple, SharesBurnedEvent.OutputObject>;
586
+ getEvent(key: "SharesMinted"): TypedContractEvent<SharesMintedEvent.InputTuple, SharesMintedEvent.OutputTuple, SharesMintedEvent.OutputObject>;
587
+ getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
588
+ getEvent(key: "Unpaused"): TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
589
+ getEvent(key: "Upgraded"): TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
590
+ getEvent(key: "ValueShiftedFrom"): TypedContractEvent<ValueShiftedFromEvent.InputTuple, ValueShiftedFromEvent.OutputTuple, ValueShiftedFromEvent.OutputObject>;
591
+ getEvent(key: "ValueShiftedTo"): TypedContractEvent<ValueShiftedToEvent.InputTuple, ValueShiftedToEvent.OutputTuple, ValueShiftedToEvent.OutputObject>;
592
+ filters: {
593
+ "Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
594
+ Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
595
+ "AuthorityUpdated(address)": TypedContractEvent<AuthorityUpdatedEvent.InputTuple, AuthorityUpdatedEvent.OutputTuple, AuthorityUpdatedEvent.OutputObject>;
596
+ AuthorityUpdated: TypedContractEvent<AuthorityUpdatedEvent.InputTuple, AuthorityUpdatedEvent.OutputTuple, AuthorityUpdatedEvent.OutputObject>;
597
+ "EIP712DomainChanged()": TypedContractEvent<EIP712DomainChangedEvent.InputTuple, EIP712DomainChangedEvent.OutputTuple, EIP712DomainChangedEvent.OutputObject>;
598
+ EIP712DomainChanged: TypedContractEvent<EIP712DomainChangedEvent.InputTuple, EIP712DomainChangedEvent.OutputTuple, EIP712DomainChangedEvent.OutputObject>;
599
+ "IndexDecreased(uint256,uint256)": TypedContractEvent<IndexDecreasedEvent.InputTuple, IndexDecreasedEvent.OutputTuple, IndexDecreasedEvent.OutputObject>;
600
+ IndexDecreased: TypedContractEvent<IndexDecreasedEvent.InputTuple, IndexDecreasedEvent.OutputTuple, IndexDecreasedEvent.OutputObject>;
601
+ "IndexIncreased(uint256,uint256)": TypedContractEvent<IndexIncreasedEvent.InputTuple, IndexIncreasedEvent.OutputTuple, IndexIncreasedEvent.OutputObject>;
602
+ IndexIncreased: TypedContractEvent<IndexIncreasedEvent.InputTuple, IndexIncreasedEvent.OutputTuple, IndexIncreasedEvent.OutputObject>;
603
+ "Initialized(uint64)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
604
+ Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
605
+ "Paused(address)": TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
606
+ Paused: TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
607
+ "SharesBurned(address,uint256,uint256)": TypedContractEvent<SharesBurnedEvent.InputTuple, SharesBurnedEvent.OutputTuple, SharesBurnedEvent.OutputObject>;
608
+ SharesBurned: TypedContractEvent<SharesBurnedEvent.InputTuple, SharesBurnedEvent.OutputTuple, SharesBurnedEvent.OutputObject>;
609
+ "SharesMinted(address,uint256,uint256)": TypedContractEvent<SharesMintedEvent.InputTuple, SharesMintedEvent.OutputTuple, SharesMintedEvent.OutputObject>;
610
+ SharesMinted: TypedContractEvent<SharesMintedEvent.InputTuple, SharesMintedEvent.OutputTuple, SharesMintedEvent.OutputObject>;
611
+ "Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
612
+ Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
613
+ "Unpaused(address)": TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
614
+ Unpaused: TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
615
+ "Upgraded(address)": TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
616
+ Upgraded: TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
617
+ "ValueShiftedFrom(address,uint256,uint256,uint256,uint256)": TypedContractEvent<ValueShiftedFromEvent.InputTuple, ValueShiftedFromEvent.OutputTuple, ValueShiftedFromEvent.OutputObject>;
618
+ ValueShiftedFrom: TypedContractEvent<ValueShiftedFromEvent.InputTuple, ValueShiftedFromEvent.OutputTuple, ValueShiftedFromEvent.OutputObject>;
619
+ "ValueShiftedTo(address,uint256,uint256,uint256,uint256)": TypedContractEvent<ValueShiftedToEvent.InputTuple, ValueShiftedToEvent.OutputTuple, ValueShiftedToEvent.OutputObject>;
620
+ ValueShiftedTo: TypedContractEvent<ValueShiftedToEvent.InputTuple, ValueShiftedToEvent.OutputTuple, ValueShiftedToEvent.OutputObject>;
621
+ };
622
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });