@xccy/ts-sdk 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/index.ts +6 -0
- package/src/typechain/ICollateralEngine.ts +1560 -0
- package/src/typechain/IERC20Metadata.ts +286 -0
- package/src/typechain/IVAMMManager.ts +610 -0
- package/src/typechain/LockYieldAave.ts +1100 -0
- package/src/typechain/Operator.ts +671 -0
- package/src/typechain/factories/ICollateralEngine__factory.ts +2217 -0
- package/src/typechain/factories/IERC20Metadata__factory.ts +247 -0
- package/src/typechain/factories/IVAMMManager__factory.ts +752 -0
- package/src/typechain/factories/LockYieldAave__factory.ts +1468 -0
- package/src/typechain/factories/Operator__factory.ts +975 -0
- package/src/typechain/factories/index.ts +5 -0
- package/src/typechain/index.ts +10 -0
|
@@ -0,0 +1,1100 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type {
|
|
5
|
+
BaseContract,
|
|
6
|
+
BigNumberish,
|
|
7
|
+
BytesLike,
|
|
8
|
+
FunctionFragment,
|
|
9
|
+
Result,
|
|
10
|
+
Interface,
|
|
11
|
+
EventFragment,
|
|
12
|
+
AddressLike,
|
|
13
|
+
ContractRunner,
|
|
14
|
+
ContractMethod,
|
|
15
|
+
Listener,
|
|
16
|
+
} from "ethers";
|
|
17
|
+
import type {
|
|
18
|
+
TypedContractEvent,
|
|
19
|
+
TypedDeferredTopicFilter,
|
|
20
|
+
TypedEventLog,
|
|
21
|
+
TypedLogDescription,
|
|
22
|
+
TypedListener,
|
|
23
|
+
TypedContractMethod,
|
|
24
|
+
} from "./common";
|
|
25
|
+
|
|
26
|
+
export type PositionStruct = {
|
|
27
|
+
owner: AddressLike;
|
|
28
|
+
poolKey: PoolKey.KeyStruct;
|
|
29
|
+
principal: BigNumberish;
|
|
30
|
+
notional: BigNumberish;
|
|
31
|
+
aTokenDeposited: BigNumberish;
|
|
32
|
+
feeBuffer: BigNumberish;
|
|
33
|
+
termEndTimestampWad: BigNumberish;
|
|
34
|
+
openedAt: BigNumberish;
|
|
35
|
+
tickLower: BigNumberish;
|
|
36
|
+
tickUpper: BigNumberish;
|
|
37
|
+
entryTick: BigNumberish;
|
|
38
|
+
isSettled: boolean;
|
|
39
|
+
collateralToken: AddressLike;
|
|
40
|
+
lockedFixedRateWad: BigNumberish;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export type PositionStructOutput = [
|
|
44
|
+
owner: string,
|
|
45
|
+
poolKey: PoolKey.KeyStructOutput,
|
|
46
|
+
principal: bigint,
|
|
47
|
+
notional: bigint,
|
|
48
|
+
aTokenDeposited: bigint,
|
|
49
|
+
feeBuffer: bigint,
|
|
50
|
+
termEndTimestampWad: bigint,
|
|
51
|
+
openedAt: bigint,
|
|
52
|
+
tickLower: bigint,
|
|
53
|
+
tickUpper: bigint,
|
|
54
|
+
entryTick: bigint,
|
|
55
|
+
isSettled: boolean,
|
|
56
|
+
collateralToken: string,
|
|
57
|
+
lockedFixedRateWad: bigint
|
|
58
|
+
] & {
|
|
59
|
+
owner: string;
|
|
60
|
+
poolKey: PoolKey.KeyStructOutput;
|
|
61
|
+
principal: bigint;
|
|
62
|
+
notional: bigint;
|
|
63
|
+
aTokenDeposited: bigint;
|
|
64
|
+
feeBuffer: bigint;
|
|
65
|
+
termEndTimestampWad: bigint;
|
|
66
|
+
openedAt: bigint;
|
|
67
|
+
tickLower: bigint;
|
|
68
|
+
tickUpper: bigint;
|
|
69
|
+
entryTick: bigint;
|
|
70
|
+
isSettled: boolean;
|
|
71
|
+
collateralToken: string;
|
|
72
|
+
lockedFixedRateWad: bigint;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
export type PositionStatsStruct = {
|
|
76
|
+
position: PositionStruct;
|
|
77
|
+
fixedTokenBalance: BigNumberish;
|
|
78
|
+
variableTokenBalance: BigNumberish;
|
|
79
|
+
lockedFixedRateWad: BigNumberish;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
export type PositionStatsStructOutput = [
|
|
83
|
+
position: PositionStructOutput,
|
|
84
|
+
fixedTokenBalance: bigint,
|
|
85
|
+
variableTokenBalance: bigint,
|
|
86
|
+
lockedFixedRateWad: bigint
|
|
87
|
+
] & {
|
|
88
|
+
position: PositionStructOutput;
|
|
89
|
+
fixedTokenBalance: bigint;
|
|
90
|
+
variableTokenBalance: bigint;
|
|
91
|
+
lockedFixedRateWad: bigint;
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
export declare namespace PoolKey {
|
|
95
|
+
export type KeyStruct = {
|
|
96
|
+
underlyingAsset: AddressLike;
|
|
97
|
+
compoundToken: AddressLike;
|
|
98
|
+
termStartTimestampWad: BigNumberish;
|
|
99
|
+
termEndTimestampWad: BigNumberish;
|
|
100
|
+
feeWad: BigNumberish;
|
|
101
|
+
tickSpacing: BigNumberish;
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
export type KeyStructOutput = [
|
|
105
|
+
underlyingAsset: string,
|
|
106
|
+
compoundToken: string,
|
|
107
|
+
termStartTimestampWad: bigint,
|
|
108
|
+
termEndTimestampWad: bigint,
|
|
109
|
+
feeWad: bigint,
|
|
110
|
+
tickSpacing: bigint
|
|
111
|
+
] & {
|
|
112
|
+
underlyingAsset: string;
|
|
113
|
+
compoundToken: string;
|
|
114
|
+
termStartTimestampWad: bigint;
|
|
115
|
+
termEndTimestampWad: bigint;
|
|
116
|
+
feeWad: bigint;
|
|
117
|
+
tickSpacing: bigint;
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export interface LockYieldAaveInterface extends Interface {
|
|
122
|
+
getFunction(
|
|
123
|
+
nameOrSignature:
|
|
124
|
+
| "acceptOwnership"
|
|
125
|
+
| "activePositionsOf"
|
|
126
|
+
| "approvePool"
|
|
127
|
+
| "batchSettleLockYield"
|
|
128
|
+
| "calculateFee"
|
|
129
|
+
| "emergencyWithdraw"
|
|
130
|
+
| "enableEmergency"
|
|
131
|
+
| "getNextPositionId"
|
|
132
|
+
| "getPosition"
|
|
133
|
+
| "getPositionStats"
|
|
134
|
+
| "initialize"
|
|
135
|
+
| "isEmergencyEnabled"
|
|
136
|
+
| "isPaused"
|
|
137
|
+
| "isPoolApproved"
|
|
138
|
+
| "isPositionSettledInCE"
|
|
139
|
+
| "openLockYield"
|
|
140
|
+
| "owner"
|
|
141
|
+
| "pause"
|
|
142
|
+
| "pendingOwner"
|
|
143
|
+
| "positionsOf"
|
|
144
|
+
| "renounceOwnership"
|
|
145
|
+
| "revokePool"
|
|
146
|
+
| "setStaticToken"
|
|
147
|
+
| "settleLockYield"
|
|
148
|
+
| "transferOwnership"
|
|
149
|
+
| "unpause"
|
|
150
|
+
): FunctionFragment;
|
|
151
|
+
|
|
152
|
+
getEvent(
|
|
153
|
+
nameOrSignatureOrTopic:
|
|
154
|
+
| "EmergencyEnabled"
|
|
155
|
+
| "EmergencyWithdrawal"
|
|
156
|
+
| "Initialized"
|
|
157
|
+
| "LockYieldAaveBatchSettled"
|
|
158
|
+
| "LockYieldAaveOpened"
|
|
159
|
+
| "LockYieldAaveSettled"
|
|
160
|
+
| "OwnershipTransferStarted"
|
|
161
|
+
| "OwnershipTransferred"
|
|
162
|
+
| "Paused"
|
|
163
|
+
| "PoolApproved"
|
|
164
|
+
| "PoolRevoked"
|
|
165
|
+
| "StaticTokenSet"
|
|
166
|
+
| "Unpaused"
|
|
167
|
+
): EventFragment;
|
|
168
|
+
|
|
169
|
+
encodeFunctionData(
|
|
170
|
+
functionFragment: "acceptOwnership",
|
|
171
|
+
values?: undefined
|
|
172
|
+
): string;
|
|
173
|
+
encodeFunctionData(
|
|
174
|
+
functionFragment: "activePositionsOf",
|
|
175
|
+
values: [AddressLike]
|
|
176
|
+
): string;
|
|
177
|
+
encodeFunctionData(
|
|
178
|
+
functionFragment: "approvePool",
|
|
179
|
+
values: [PoolKey.KeyStruct]
|
|
180
|
+
): string;
|
|
181
|
+
encodeFunctionData(
|
|
182
|
+
functionFragment: "batchSettleLockYield",
|
|
183
|
+
values: [BigNumberish[]]
|
|
184
|
+
): string;
|
|
185
|
+
encodeFunctionData(
|
|
186
|
+
functionFragment: "calculateFee",
|
|
187
|
+
values: [PoolKey.KeyStruct, BigNumberish]
|
|
188
|
+
): string;
|
|
189
|
+
encodeFunctionData(
|
|
190
|
+
functionFragment: "emergencyWithdraw",
|
|
191
|
+
values: [AddressLike, BigNumberish, AddressLike]
|
|
192
|
+
): string;
|
|
193
|
+
encodeFunctionData(
|
|
194
|
+
functionFragment: "enableEmergency",
|
|
195
|
+
values?: undefined
|
|
196
|
+
): string;
|
|
197
|
+
encodeFunctionData(
|
|
198
|
+
functionFragment: "getNextPositionId",
|
|
199
|
+
values?: undefined
|
|
200
|
+
): string;
|
|
201
|
+
encodeFunctionData(
|
|
202
|
+
functionFragment: "getPosition",
|
|
203
|
+
values: [BigNumberish]
|
|
204
|
+
): string;
|
|
205
|
+
encodeFunctionData(
|
|
206
|
+
functionFragment: "getPositionStats",
|
|
207
|
+
values: [BigNumberish]
|
|
208
|
+
): string;
|
|
209
|
+
encodeFunctionData(
|
|
210
|
+
functionFragment: "initialize",
|
|
211
|
+
values: [AddressLike, AddressLike, AddressLike, AddressLike]
|
|
212
|
+
): string;
|
|
213
|
+
encodeFunctionData(
|
|
214
|
+
functionFragment: "isEmergencyEnabled",
|
|
215
|
+
values?: undefined
|
|
216
|
+
): string;
|
|
217
|
+
encodeFunctionData(functionFragment: "isPaused", values?: undefined): string;
|
|
218
|
+
encodeFunctionData(
|
|
219
|
+
functionFragment: "isPoolApproved",
|
|
220
|
+
values: [BytesLike]
|
|
221
|
+
): string;
|
|
222
|
+
encodeFunctionData(
|
|
223
|
+
functionFragment: "isPositionSettledInCE",
|
|
224
|
+
values: [BigNumberish]
|
|
225
|
+
): string;
|
|
226
|
+
encodeFunctionData(
|
|
227
|
+
functionFragment: "openLockYield",
|
|
228
|
+
values: [PoolKey.KeyStruct, BigNumberish, BigNumberish]
|
|
229
|
+
): string;
|
|
230
|
+
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
231
|
+
encodeFunctionData(functionFragment: "pause", values?: undefined): string;
|
|
232
|
+
encodeFunctionData(
|
|
233
|
+
functionFragment: "pendingOwner",
|
|
234
|
+
values?: undefined
|
|
235
|
+
): string;
|
|
236
|
+
encodeFunctionData(
|
|
237
|
+
functionFragment: "positionsOf",
|
|
238
|
+
values: [AddressLike]
|
|
239
|
+
): string;
|
|
240
|
+
encodeFunctionData(
|
|
241
|
+
functionFragment: "renounceOwnership",
|
|
242
|
+
values?: undefined
|
|
243
|
+
): string;
|
|
244
|
+
encodeFunctionData(
|
|
245
|
+
functionFragment: "revokePool",
|
|
246
|
+
values: [PoolKey.KeyStruct]
|
|
247
|
+
): string;
|
|
248
|
+
encodeFunctionData(
|
|
249
|
+
functionFragment: "setStaticToken",
|
|
250
|
+
values: [AddressLike, AddressLike]
|
|
251
|
+
): string;
|
|
252
|
+
encodeFunctionData(
|
|
253
|
+
functionFragment: "settleLockYield",
|
|
254
|
+
values: [BigNumberish]
|
|
255
|
+
): string;
|
|
256
|
+
encodeFunctionData(
|
|
257
|
+
functionFragment: "transferOwnership",
|
|
258
|
+
values: [AddressLike]
|
|
259
|
+
): string;
|
|
260
|
+
encodeFunctionData(functionFragment: "unpause", values?: undefined): string;
|
|
261
|
+
|
|
262
|
+
decodeFunctionResult(
|
|
263
|
+
functionFragment: "acceptOwnership",
|
|
264
|
+
data: BytesLike
|
|
265
|
+
): Result;
|
|
266
|
+
decodeFunctionResult(
|
|
267
|
+
functionFragment: "activePositionsOf",
|
|
268
|
+
data: BytesLike
|
|
269
|
+
): Result;
|
|
270
|
+
decodeFunctionResult(
|
|
271
|
+
functionFragment: "approvePool",
|
|
272
|
+
data: BytesLike
|
|
273
|
+
): Result;
|
|
274
|
+
decodeFunctionResult(
|
|
275
|
+
functionFragment: "batchSettleLockYield",
|
|
276
|
+
data: BytesLike
|
|
277
|
+
): Result;
|
|
278
|
+
decodeFunctionResult(
|
|
279
|
+
functionFragment: "calculateFee",
|
|
280
|
+
data: BytesLike
|
|
281
|
+
): Result;
|
|
282
|
+
decodeFunctionResult(
|
|
283
|
+
functionFragment: "emergencyWithdraw",
|
|
284
|
+
data: BytesLike
|
|
285
|
+
): Result;
|
|
286
|
+
decodeFunctionResult(
|
|
287
|
+
functionFragment: "enableEmergency",
|
|
288
|
+
data: BytesLike
|
|
289
|
+
): Result;
|
|
290
|
+
decodeFunctionResult(
|
|
291
|
+
functionFragment: "getNextPositionId",
|
|
292
|
+
data: BytesLike
|
|
293
|
+
): Result;
|
|
294
|
+
decodeFunctionResult(
|
|
295
|
+
functionFragment: "getPosition",
|
|
296
|
+
data: BytesLike
|
|
297
|
+
): Result;
|
|
298
|
+
decodeFunctionResult(
|
|
299
|
+
functionFragment: "getPositionStats",
|
|
300
|
+
data: BytesLike
|
|
301
|
+
): Result;
|
|
302
|
+
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
|
303
|
+
decodeFunctionResult(
|
|
304
|
+
functionFragment: "isEmergencyEnabled",
|
|
305
|
+
data: BytesLike
|
|
306
|
+
): Result;
|
|
307
|
+
decodeFunctionResult(functionFragment: "isPaused", data: BytesLike): Result;
|
|
308
|
+
decodeFunctionResult(
|
|
309
|
+
functionFragment: "isPoolApproved",
|
|
310
|
+
data: BytesLike
|
|
311
|
+
): Result;
|
|
312
|
+
decodeFunctionResult(
|
|
313
|
+
functionFragment: "isPositionSettledInCE",
|
|
314
|
+
data: BytesLike
|
|
315
|
+
): Result;
|
|
316
|
+
decodeFunctionResult(
|
|
317
|
+
functionFragment: "openLockYield",
|
|
318
|
+
data: BytesLike
|
|
319
|
+
): Result;
|
|
320
|
+
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
321
|
+
decodeFunctionResult(functionFragment: "pause", data: BytesLike): Result;
|
|
322
|
+
decodeFunctionResult(
|
|
323
|
+
functionFragment: "pendingOwner",
|
|
324
|
+
data: BytesLike
|
|
325
|
+
): Result;
|
|
326
|
+
decodeFunctionResult(
|
|
327
|
+
functionFragment: "positionsOf",
|
|
328
|
+
data: BytesLike
|
|
329
|
+
): Result;
|
|
330
|
+
decodeFunctionResult(
|
|
331
|
+
functionFragment: "renounceOwnership",
|
|
332
|
+
data: BytesLike
|
|
333
|
+
): Result;
|
|
334
|
+
decodeFunctionResult(functionFragment: "revokePool", data: BytesLike): Result;
|
|
335
|
+
decodeFunctionResult(
|
|
336
|
+
functionFragment: "setStaticToken",
|
|
337
|
+
data: BytesLike
|
|
338
|
+
): Result;
|
|
339
|
+
decodeFunctionResult(
|
|
340
|
+
functionFragment: "settleLockYield",
|
|
341
|
+
data: BytesLike
|
|
342
|
+
): Result;
|
|
343
|
+
decodeFunctionResult(
|
|
344
|
+
functionFragment: "transferOwnership",
|
|
345
|
+
data: BytesLike
|
|
346
|
+
): Result;
|
|
347
|
+
decodeFunctionResult(functionFragment: "unpause", data: BytesLike): Result;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
export namespace EmergencyEnabledEvent {
|
|
351
|
+
export type InputTuple = [enabledBy: AddressLike];
|
|
352
|
+
export type OutputTuple = [enabledBy: string];
|
|
353
|
+
export interface OutputObject {
|
|
354
|
+
enabledBy: string;
|
|
355
|
+
}
|
|
356
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
357
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
358
|
+
export type Log = TypedEventLog<Event>;
|
|
359
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
export namespace EmergencyWithdrawalEvent {
|
|
363
|
+
export type InputTuple = [
|
|
364
|
+
token: AddressLike,
|
|
365
|
+
amount: BigNumberish,
|
|
366
|
+
recipient: AddressLike
|
|
367
|
+
];
|
|
368
|
+
export type OutputTuple = [token: string, amount: bigint, recipient: string];
|
|
369
|
+
export interface OutputObject {
|
|
370
|
+
token: string;
|
|
371
|
+
amount: bigint;
|
|
372
|
+
recipient: string;
|
|
373
|
+
}
|
|
374
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
375
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
376
|
+
export type Log = TypedEventLog<Event>;
|
|
377
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
export namespace InitializedEvent {
|
|
381
|
+
export type InputTuple = [version: BigNumberish];
|
|
382
|
+
export type OutputTuple = [version: bigint];
|
|
383
|
+
export interface OutputObject {
|
|
384
|
+
version: bigint;
|
|
385
|
+
}
|
|
386
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
387
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
388
|
+
export type Log = TypedEventLog<Event>;
|
|
389
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export namespace LockYieldAaveBatchSettledEvent {
|
|
393
|
+
export type InputTuple = [
|
|
394
|
+
owner: AddressLike,
|
|
395
|
+
positionIds: BigNumberish[],
|
|
396
|
+
totalPayout: BigNumberish
|
|
397
|
+
];
|
|
398
|
+
export type OutputTuple = [
|
|
399
|
+
owner: string,
|
|
400
|
+
positionIds: bigint[],
|
|
401
|
+
totalPayout: bigint
|
|
402
|
+
];
|
|
403
|
+
export interface OutputObject {
|
|
404
|
+
owner: string;
|
|
405
|
+
positionIds: bigint[];
|
|
406
|
+
totalPayout: bigint;
|
|
407
|
+
}
|
|
408
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
409
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
410
|
+
export type Log = TypedEventLog<Event>;
|
|
411
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
export namespace LockYieldAaveOpenedEvent {
|
|
415
|
+
export type InputTuple = [
|
|
416
|
+
positionId: BigNumberish,
|
|
417
|
+
owner: AddressLike,
|
|
418
|
+
poolId: BytesLike,
|
|
419
|
+
principal: BigNumberish,
|
|
420
|
+
notional: BigNumberish,
|
|
421
|
+
feeBuffer: BigNumberish,
|
|
422
|
+
entryTick: BigNumberish,
|
|
423
|
+
lockedFixedRateWad: BigNumberish,
|
|
424
|
+
maturity: BigNumberish
|
|
425
|
+
];
|
|
426
|
+
export type OutputTuple = [
|
|
427
|
+
positionId: bigint,
|
|
428
|
+
owner: string,
|
|
429
|
+
poolId: string,
|
|
430
|
+
principal: bigint,
|
|
431
|
+
notional: bigint,
|
|
432
|
+
feeBuffer: bigint,
|
|
433
|
+
entryTick: bigint,
|
|
434
|
+
lockedFixedRateWad: bigint,
|
|
435
|
+
maturity: bigint
|
|
436
|
+
];
|
|
437
|
+
export interface OutputObject {
|
|
438
|
+
positionId: bigint;
|
|
439
|
+
owner: string;
|
|
440
|
+
poolId: string;
|
|
441
|
+
principal: bigint;
|
|
442
|
+
notional: bigint;
|
|
443
|
+
feeBuffer: bigint;
|
|
444
|
+
entryTick: bigint;
|
|
445
|
+
lockedFixedRateWad: bigint;
|
|
446
|
+
maturity: bigint;
|
|
447
|
+
}
|
|
448
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
449
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
450
|
+
export type Log = TypedEventLog<Event>;
|
|
451
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
export namespace LockYieldAaveSettledEvent {
|
|
455
|
+
export type InputTuple = [
|
|
456
|
+
positionId: BigNumberish,
|
|
457
|
+
owner: AddressLike,
|
|
458
|
+
payout: BigNumberish
|
|
459
|
+
];
|
|
460
|
+
export type OutputTuple = [positionId: bigint, owner: string, payout: bigint];
|
|
461
|
+
export interface OutputObject {
|
|
462
|
+
positionId: bigint;
|
|
463
|
+
owner: string;
|
|
464
|
+
payout: bigint;
|
|
465
|
+
}
|
|
466
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
467
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
468
|
+
export type Log = TypedEventLog<Event>;
|
|
469
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
export namespace OwnershipTransferStartedEvent {
|
|
473
|
+
export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
|
474
|
+
export type OutputTuple = [previousOwner: string, newOwner: string];
|
|
475
|
+
export interface OutputObject {
|
|
476
|
+
previousOwner: string;
|
|
477
|
+
newOwner: string;
|
|
478
|
+
}
|
|
479
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
480
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
481
|
+
export type Log = TypedEventLog<Event>;
|
|
482
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
export namespace OwnershipTransferredEvent {
|
|
486
|
+
export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
|
487
|
+
export type OutputTuple = [previousOwner: string, newOwner: string];
|
|
488
|
+
export interface OutputObject {
|
|
489
|
+
previousOwner: string;
|
|
490
|
+
newOwner: string;
|
|
491
|
+
}
|
|
492
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
493
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
494
|
+
export type Log = TypedEventLog<Event>;
|
|
495
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
export namespace PausedEvent {
|
|
499
|
+
export type InputTuple = [pausedBy: AddressLike];
|
|
500
|
+
export type OutputTuple = [pausedBy: string];
|
|
501
|
+
export interface OutputObject {
|
|
502
|
+
pausedBy: string;
|
|
503
|
+
}
|
|
504
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
505
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
506
|
+
export type Log = TypedEventLog<Event>;
|
|
507
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
export namespace PoolApprovedEvent {
|
|
511
|
+
export type InputTuple = [poolId: BytesLike, approvedBy: AddressLike];
|
|
512
|
+
export type OutputTuple = [poolId: string, approvedBy: string];
|
|
513
|
+
export interface OutputObject {
|
|
514
|
+
poolId: string;
|
|
515
|
+
approvedBy: string;
|
|
516
|
+
}
|
|
517
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
518
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
519
|
+
export type Log = TypedEventLog<Event>;
|
|
520
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
export namespace PoolRevokedEvent {
|
|
524
|
+
export type InputTuple = [poolId: BytesLike, revokedBy: AddressLike];
|
|
525
|
+
export type OutputTuple = [poolId: string, revokedBy: string];
|
|
526
|
+
export interface OutputObject {
|
|
527
|
+
poolId: string;
|
|
528
|
+
revokedBy: string;
|
|
529
|
+
}
|
|
530
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
531
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
532
|
+
export type Log = TypedEventLog<Event>;
|
|
533
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
export namespace StaticTokenSetEvent {
|
|
537
|
+
export type InputTuple = [
|
|
538
|
+
underlying: AddressLike,
|
|
539
|
+
staticToken: AddressLike,
|
|
540
|
+
setBy: AddressLike
|
|
541
|
+
];
|
|
542
|
+
export type OutputTuple = [
|
|
543
|
+
underlying: string,
|
|
544
|
+
staticToken: string,
|
|
545
|
+
setBy: string
|
|
546
|
+
];
|
|
547
|
+
export interface OutputObject {
|
|
548
|
+
underlying: string;
|
|
549
|
+
staticToken: string;
|
|
550
|
+
setBy: string;
|
|
551
|
+
}
|
|
552
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
553
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
554
|
+
export type Log = TypedEventLog<Event>;
|
|
555
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
export namespace UnpausedEvent {
|
|
559
|
+
export type InputTuple = [unpausedBy: AddressLike];
|
|
560
|
+
export type OutputTuple = [unpausedBy: string];
|
|
561
|
+
export interface OutputObject {
|
|
562
|
+
unpausedBy: string;
|
|
563
|
+
}
|
|
564
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
565
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
566
|
+
export type Log = TypedEventLog<Event>;
|
|
567
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
export interface LockYieldAave extends BaseContract {
|
|
571
|
+
connect(runner?: ContractRunner | null): LockYieldAave;
|
|
572
|
+
waitForDeployment(): Promise<this>;
|
|
573
|
+
|
|
574
|
+
interface: LockYieldAaveInterface;
|
|
575
|
+
|
|
576
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
577
|
+
event: TCEvent,
|
|
578
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
579
|
+
toBlock?: string | number | undefined
|
|
580
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
581
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
582
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
583
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
584
|
+
toBlock?: string | number | undefined
|
|
585
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
586
|
+
|
|
587
|
+
on<TCEvent extends TypedContractEvent>(
|
|
588
|
+
event: TCEvent,
|
|
589
|
+
listener: TypedListener<TCEvent>
|
|
590
|
+
): Promise<this>;
|
|
591
|
+
on<TCEvent extends TypedContractEvent>(
|
|
592
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
593
|
+
listener: TypedListener<TCEvent>
|
|
594
|
+
): Promise<this>;
|
|
595
|
+
|
|
596
|
+
once<TCEvent extends TypedContractEvent>(
|
|
597
|
+
event: TCEvent,
|
|
598
|
+
listener: TypedListener<TCEvent>
|
|
599
|
+
): Promise<this>;
|
|
600
|
+
once<TCEvent extends TypedContractEvent>(
|
|
601
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
602
|
+
listener: TypedListener<TCEvent>
|
|
603
|
+
): Promise<this>;
|
|
604
|
+
|
|
605
|
+
listeners<TCEvent extends TypedContractEvent>(
|
|
606
|
+
event: TCEvent
|
|
607
|
+
): Promise<Array<TypedListener<TCEvent>>>;
|
|
608
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
609
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(
|
|
610
|
+
event?: TCEvent
|
|
611
|
+
): Promise<this>;
|
|
612
|
+
|
|
613
|
+
acceptOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
614
|
+
|
|
615
|
+
activePositionsOf: TypedContractMethod<
|
|
616
|
+
[owner: AddressLike],
|
|
617
|
+
[bigint[]],
|
|
618
|
+
"view"
|
|
619
|
+
>;
|
|
620
|
+
|
|
621
|
+
approvePool: TypedContractMethod<
|
|
622
|
+
[poolKey: PoolKey.KeyStruct],
|
|
623
|
+
[void],
|
|
624
|
+
"nonpayable"
|
|
625
|
+
>;
|
|
626
|
+
|
|
627
|
+
batchSettleLockYield: TypedContractMethod<
|
|
628
|
+
[positionIds: BigNumberish[]],
|
|
629
|
+
[void],
|
|
630
|
+
"nonpayable"
|
|
631
|
+
>;
|
|
632
|
+
|
|
633
|
+
calculateFee: TypedContractMethod<
|
|
634
|
+
[poolKey: PoolKey.KeyStruct, principal: BigNumberish],
|
|
635
|
+
[bigint],
|
|
636
|
+
"view"
|
|
637
|
+
>;
|
|
638
|
+
|
|
639
|
+
emergencyWithdraw: TypedContractMethod<
|
|
640
|
+
[token: AddressLike, amount: BigNumberish, recipient: AddressLike],
|
|
641
|
+
[void],
|
|
642
|
+
"nonpayable"
|
|
643
|
+
>;
|
|
644
|
+
|
|
645
|
+
enableEmergency: TypedContractMethod<[], [void], "nonpayable">;
|
|
646
|
+
|
|
647
|
+
getNextPositionId: TypedContractMethod<[], [bigint], "view">;
|
|
648
|
+
|
|
649
|
+
getPosition: TypedContractMethod<
|
|
650
|
+
[positionId: BigNumberish],
|
|
651
|
+
[PositionStructOutput],
|
|
652
|
+
"view"
|
|
653
|
+
>;
|
|
654
|
+
|
|
655
|
+
getPositionStats: TypedContractMethod<
|
|
656
|
+
[positionId: BigNumberish],
|
|
657
|
+
[PositionStatsStructOutput],
|
|
658
|
+
"view"
|
|
659
|
+
>;
|
|
660
|
+
|
|
661
|
+
initialize: TypedContractMethod<
|
|
662
|
+
[
|
|
663
|
+
initialOwner: AddressLike,
|
|
664
|
+
aavePool: AddressLike,
|
|
665
|
+
collateralEngine: AddressLike,
|
|
666
|
+
vammManager: AddressLike
|
|
667
|
+
],
|
|
668
|
+
[void],
|
|
669
|
+
"nonpayable"
|
|
670
|
+
>;
|
|
671
|
+
|
|
672
|
+
isEmergencyEnabled: TypedContractMethod<[], [boolean], "view">;
|
|
673
|
+
|
|
674
|
+
isPaused: TypedContractMethod<[], [boolean], "view">;
|
|
675
|
+
|
|
676
|
+
isPoolApproved: TypedContractMethod<[poolId: BytesLike], [boolean], "view">;
|
|
677
|
+
|
|
678
|
+
isPositionSettledInCE: TypedContractMethod<
|
|
679
|
+
[positionId: BigNumberish],
|
|
680
|
+
[boolean],
|
|
681
|
+
"view"
|
|
682
|
+
>;
|
|
683
|
+
|
|
684
|
+
openLockYield: TypedContractMethod<
|
|
685
|
+
[
|
|
686
|
+
poolKey: PoolKey.KeyStruct,
|
|
687
|
+
principal: BigNumberish,
|
|
688
|
+
sqrtPriceLimitX96: BigNumberish
|
|
689
|
+
],
|
|
690
|
+
[
|
|
691
|
+
[bigint, bigint, bigint, bigint] & {
|
|
692
|
+
positionId: bigint;
|
|
693
|
+
executionRateWad: bigint;
|
|
694
|
+
fee: bigint;
|
|
695
|
+
priceAfterSwap: bigint;
|
|
696
|
+
}
|
|
697
|
+
],
|
|
698
|
+
"nonpayable"
|
|
699
|
+
>;
|
|
700
|
+
|
|
701
|
+
owner: TypedContractMethod<[], [string], "view">;
|
|
702
|
+
|
|
703
|
+
pause: TypedContractMethod<[], [void], "nonpayable">;
|
|
704
|
+
|
|
705
|
+
pendingOwner: TypedContractMethod<[], [string], "view">;
|
|
706
|
+
|
|
707
|
+
positionsOf: TypedContractMethod<[owner: AddressLike], [bigint[]], "view">;
|
|
708
|
+
|
|
709
|
+
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
710
|
+
|
|
711
|
+
revokePool: TypedContractMethod<
|
|
712
|
+
[poolKey: PoolKey.KeyStruct],
|
|
713
|
+
[void],
|
|
714
|
+
"nonpayable"
|
|
715
|
+
>;
|
|
716
|
+
|
|
717
|
+
setStaticToken: TypedContractMethod<
|
|
718
|
+
[underlying: AddressLike, staticToken: AddressLike],
|
|
719
|
+
[void],
|
|
720
|
+
"nonpayable"
|
|
721
|
+
>;
|
|
722
|
+
|
|
723
|
+
settleLockYield: TypedContractMethod<
|
|
724
|
+
[positionId: BigNumberish],
|
|
725
|
+
[void],
|
|
726
|
+
"nonpayable"
|
|
727
|
+
>;
|
|
728
|
+
|
|
729
|
+
transferOwnership: TypedContractMethod<
|
|
730
|
+
[newOwner: AddressLike],
|
|
731
|
+
[void],
|
|
732
|
+
"nonpayable"
|
|
733
|
+
>;
|
|
734
|
+
|
|
735
|
+
unpause: TypedContractMethod<[], [void], "nonpayable">;
|
|
736
|
+
|
|
737
|
+
getFunction<T extends ContractMethod = ContractMethod>(
|
|
738
|
+
key: string | FunctionFragment
|
|
739
|
+
): T;
|
|
740
|
+
|
|
741
|
+
getFunction(
|
|
742
|
+
nameOrSignature: "acceptOwnership"
|
|
743
|
+
): TypedContractMethod<[], [void], "nonpayable">;
|
|
744
|
+
getFunction(
|
|
745
|
+
nameOrSignature: "activePositionsOf"
|
|
746
|
+
): TypedContractMethod<[owner: AddressLike], [bigint[]], "view">;
|
|
747
|
+
getFunction(
|
|
748
|
+
nameOrSignature: "approvePool"
|
|
749
|
+
): TypedContractMethod<[poolKey: PoolKey.KeyStruct], [void], "nonpayable">;
|
|
750
|
+
getFunction(
|
|
751
|
+
nameOrSignature: "batchSettleLockYield"
|
|
752
|
+
): TypedContractMethod<[positionIds: BigNumberish[]], [void], "nonpayable">;
|
|
753
|
+
getFunction(
|
|
754
|
+
nameOrSignature: "calculateFee"
|
|
755
|
+
): TypedContractMethod<
|
|
756
|
+
[poolKey: PoolKey.KeyStruct, principal: BigNumberish],
|
|
757
|
+
[bigint],
|
|
758
|
+
"view"
|
|
759
|
+
>;
|
|
760
|
+
getFunction(
|
|
761
|
+
nameOrSignature: "emergencyWithdraw"
|
|
762
|
+
): TypedContractMethod<
|
|
763
|
+
[token: AddressLike, amount: BigNumberish, recipient: AddressLike],
|
|
764
|
+
[void],
|
|
765
|
+
"nonpayable"
|
|
766
|
+
>;
|
|
767
|
+
getFunction(
|
|
768
|
+
nameOrSignature: "enableEmergency"
|
|
769
|
+
): TypedContractMethod<[], [void], "nonpayable">;
|
|
770
|
+
getFunction(
|
|
771
|
+
nameOrSignature: "getNextPositionId"
|
|
772
|
+
): TypedContractMethod<[], [bigint], "view">;
|
|
773
|
+
getFunction(
|
|
774
|
+
nameOrSignature: "getPosition"
|
|
775
|
+
): TypedContractMethod<
|
|
776
|
+
[positionId: BigNumberish],
|
|
777
|
+
[PositionStructOutput],
|
|
778
|
+
"view"
|
|
779
|
+
>;
|
|
780
|
+
getFunction(
|
|
781
|
+
nameOrSignature: "getPositionStats"
|
|
782
|
+
): TypedContractMethod<
|
|
783
|
+
[positionId: BigNumberish],
|
|
784
|
+
[PositionStatsStructOutput],
|
|
785
|
+
"view"
|
|
786
|
+
>;
|
|
787
|
+
getFunction(
|
|
788
|
+
nameOrSignature: "initialize"
|
|
789
|
+
): TypedContractMethod<
|
|
790
|
+
[
|
|
791
|
+
initialOwner: AddressLike,
|
|
792
|
+
aavePool: AddressLike,
|
|
793
|
+
collateralEngine: AddressLike,
|
|
794
|
+
vammManager: AddressLike
|
|
795
|
+
],
|
|
796
|
+
[void],
|
|
797
|
+
"nonpayable"
|
|
798
|
+
>;
|
|
799
|
+
getFunction(
|
|
800
|
+
nameOrSignature: "isEmergencyEnabled"
|
|
801
|
+
): TypedContractMethod<[], [boolean], "view">;
|
|
802
|
+
getFunction(
|
|
803
|
+
nameOrSignature: "isPaused"
|
|
804
|
+
): TypedContractMethod<[], [boolean], "view">;
|
|
805
|
+
getFunction(
|
|
806
|
+
nameOrSignature: "isPoolApproved"
|
|
807
|
+
): TypedContractMethod<[poolId: BytesLike], [boolean], "view">;
|
|
808
|
+
getFunction(
|
|
809
|
+
nameOrSignature: "isPositionSettledInCE"
|
|
810
|
+
): TypedContractMethod<[positionId: BigNumberish], [boolean], "view">;
|
|
811
|
+
getFunction(
|
|
812
|
+
nameOrSignature: "openLockYield"
|
|
813
|
+
): TypedContractMethod<
|
|
814
|
+
[
|
|
815
|
+
poolKey: PoolKey.KeyStruct,
|
|
816
|
+
principal: BigNumberish,
|
|
817
|
+
sqrtPriceLimitX96: BigNumberish
|
|
818
|
+
],
|
|
819
|
+
[
|
|
820
|
+
[bigint, bigint, bigint, bigint] & {
|
|
821
|
+
positionId: bigint;
|
|
822
|
+
executionRateWad: bigint;
|
|
823
|
+
fee: bigint;
|
|
824
|
+
priceAfterSwap: bigint;
|
|
825
|
+
}
|
|
826
|
+
],
|
|
827
|
+
"nonpayable"
|
|
828
|
+
>;
|
|
829
|
+
getFunction(
|
|
830
|
+
nameOrSignature: "owner"
|
|
831
|
+
): TypedContractMethod<[], [string], "view">;
|
|
832
|
+
getFunction(
|
|
833
|
+
nameOrSignature: "pause"
|
|
834
|
+
): TypedContractMethod<[], [void], "nonpayable">;
|
|
835
|
+
getFunction(
|
|
836
|
+
nameOrSignature: "pendingOwner"
|
|
837
|
+
): TypedContractMethod<[], [string], "view">;
|
|
838
|
+
getFunction(
|
|
839
|
+
nameOrSignature: "positionsOf"
|
|
840
|
+
): TypedContractMethod<[owner: AddressLike], [bigint[]], "view">;
|
|
841
|
+
getFunction(
|
|
842
|
+
nameOrSignature: "renounceOwnership"
|
|
843
|
+
): TypedContractMethod<[], [void], "nonpayable">;
|
|
844
|
+
getFunction(
|
|
845
|
+
nameOrSignature: "revokePool"
|
|
846
|
+
): TypedContractMethod<[poolKey: PoolKey.KeyStruct], [void], "nonpayable">;
|
|
847
|
+
getFunction(
|
|
848
|
+
nameOrSignature: "setStaticToken"
|
|
849
|
+
): TypedContractMethod<
|
|
850
|
+
[underlying: AddressLike, staticToken: AddressLike],
|
|
851
|
+
[void],
|
|
852
|
+
"nonpayable"
|
|
853
|
+
>;
|
|
854
|
+
getFunction(
|
|
855
|
+
nameOrSignature: "settleLockYield"
|
|
856
|
+
): TypedContractMethod<[positionId: BigNumberish], [void], "nonpayable">;
|
|
857
|
+
getFunction(
|
|
858
|
+
nameOrSignature: "transferOwnership"
|
|
859
|
+
): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
|
860
|
+
getFunction(
|
|
861
|
+
nameOrSignature: "unpause"
|
|
862
|
+
): TypedContractMethod<[], [void], "nonpayable">;
|
|
863
|
+
|
|
864
|
+
getEvent(
|
|
865
|
+
key: "EmergencyEnabled"
|
|
866
|
+
): TypedContractEvent<
|
|
867
|
+
EmergencyEnabledEvent.InputTuple,
|
|
868
|
+
EmergencyEnabledEvent.OutputTuple,
|
|
869
|
+
EmergencyEnabledEvent.OutputObject
|
|
870
|
+
>;
|
|
871
|
+
getEvent(
|
|
872
|
+
key: "EmergencyWithdrawal"
|
|
873
|
+
): TypedContractEvent<
|
|
874
|
+
EmergencyWithdrawalEvent.InputTuple,
|
|
875
|
+
EmergencyWithdrawalEvent.OutputTuple,
|
|
876
|
+
EmergencyWithdrawalEvent.OutputObject
|
|
877
|
+
>;
|
|
878
|
+
getEvent(
|
|
879
|
+
key: "Initialized"
|
|
880
|
+
): TypedContractEvent<
|
|
881
|
+
InitializedEvent.InputTuple,
|
|
882
|
+
InitializedEvent.OutputTuple,
|
|
883
|
+
InitializedEvent.OutputObject
|
|
884
|
+
>;
|
|
885
|
+
getEvent(
|
|
886
|
+
key: "LockYieldAaveBatchSettled"
|
|
887
|
+
): TypedContractEvent<
|
|
888
|
+
LockYieldAaveBatchSettledEvent.InputTuple,
|
|
889
|
+
LockYieldAaveBatchSettledEvent.OutputTuple,
|
|
890
|
+
LockYieldAaveBatchSettledEvent.OutputObject
|
|
891
|
+
>;
|
|
892
|
+
getEvent(
|
|
893
|
+
key: "LockYieldAaveOpened"
|
|
894
|
+
): TypedContractEvent<
|
|
895
|
+
LockYieldAaveOpenedEvent.InputTuple,
|
|
896
|
+
LockYieldAaveOpenedEvent.OutputTuple,
|
|
897
|
+
LockYieldAaveOpenedEvent.OutputObject
|
|
898
|
+
>;
|
|
899
|
+
getEvent(
|
|
900
|
+
key: "LockYieldAaveSettled"
|
|
901
|
+
): TypedContractEvent<
|
|
902
|
+
LockYieldAaveSettledEvent.InputTuple,
|
|
903
|
+
LockYieldAaveSettledEvent.OutputTuple,
|
|
904
|
+
LockYieldAaveSettledEvent.OutputObject
|
|
905
|
+
>;
|
|
906
|
+
getEvent(
|
|
907
|
+
key: "OwnershipTransferStarted"
|
|
908
|
+
): TypedContractEvent<
|
|
909
|
+
OwnershipTransferStartedEvent.InputTuple,
|
|
910
|
+
OwnershipTransferStartedEvent.OutputTuple,
|
|
911
|
+
OwnershipTransferStartedEvent.OutputObject
|
|
912
|
+
>;
|
|
913
|
+
getEvent(
|
|
914
|
+
key: "OwnershipTransferred"
|
|
915
|
+
): TypedContractEvent<
|
|
916
|
+
OwnershipTransferredEvent.InputTuple,
|
|
917
|
+
OwnershipTransferredEvent.OutputTuple,
|
|
918
|
+
OwnershipTransferredEvent.OutputObject
|
|
919
|
+
>;
|
|
920
|
+
getEvent(
|
|
921
|
+
key: "Paused"
|
|
922
|
+
): TypedContractEvent<
|
|
923
|
+
PausedEvent.InputTuple,
|
|
924
|
+
PausedEvent.OutputTuple,
|
|
925
|
+
PausedEvent.OutputObject
|
|
926
|
+
>;
|
|
927
|
+
getEvent(
|
|
928
|
+
key: "PoolApproved"
|
|
929
|
+
): TypedContractEvent<
|
|
930
|
+
PoolApprovedEvent.InputTuple,
|
|
931
|
+
PoolApprovedEvent.OutputTuple,
|
|
932
|
+
PoolApprovedEvent.OutputObject
|
|
933
|
+
>;
|
|
934
|
+
getEvent(
|
|
935
|
+
key: "PoolRevoked"
|
|
936
|
+
): TypedContractEvent<
|
|
937
|
+
PoolRevokedEvent.InputTuple,
|
|
938
|
+
PoolRevokedEvent.OutputTuple,
|
|
939
|
+
PoolRevokedEvent.OutputObject
|
|
940
|
+
>;
|
|
941
|
+
getEvent(
|
|
942
|
+
key: "StaticTokenSet"
|
|
943
|
+
): TypedContractEvent<
|
|
944
|
+
StaticTokenSetEvent.InputTuple,
|
|
945
|
+
StaticTokenSetEvent.OutputTuple,
|
|
946
|
+
StaticTokenSetEvent.OutputObject
|
|
947
|
+
>;
|
|
948
|
+
getEvent(
|
|
949
|
+
key: "Unpaused"
|
|
950
|
+
): TypedContractEvent<
|
|
951
|
+
UnpausedEvent.InputTuple,
|
|
952
|
+
UnpausedEvent.OutputTuple,
|
|
953
|
+
UnpausedEvent.OutputObject
|
|
954
|
+
>;
|
|
955
|
+
|
|
956
|
+
filters: {
|
|
957
|
+
"EmergencyEnabled(address)": TypedContractEvent<
|
|
958
|
+
EmergencyEnabledEvent.InputTuple,
|
|
959
|
+
EmergencyEnabledEvent.OutputTuple,
|
|
960
|
+
EmergencyEnabledEvent.OutputObject
|
|
961
|
+
>;
|
|
962
|
+
EmergencyEnabled: TypedContractEvent<
|
|
963
|
+
EmergencyEnabledEvent.InputTuple,
|
|
964
|
+
EmergencyEnabledEvent.OutputTuple,
|
|
965
|
+
EmergencyEnabledEvent.OutputObject
|
|
966
|
+
>;
|
|
967
|
+
|
|
968
|
+
"EmergencyWithdrawal(address,uint256,address)": TypedContractEvent<
|
|
969
|
+
EmergencyWithdrawalEvent.InputTuple,
|
|
970
|
+
EmergencyWithdrawalEvent.OutputTuple,
|
|
971
|
+
EmergencyWithdrawalEvent.OutputObject
|
|
972
|
+
>;
|
|
973
|
+
EmergencyWithdrawal: TypedContractEvent<
|
|
974
|
+
EmergencyWithdrawalEvent.InputTuple,
|
|
975
|
+
EmergencyWithdrawalEvent.OutputTuple,
|
|
976
|
+
EmergencyWithdrawalEvent.OutputObject
|
|
977
|
+
>;
|
|
978
|
+
|
|
979
|
+
"Initialized(uint64)": TypedContractEvent<
|
|
980
|
+
InitializedEvent.InputTuple,
|
|
981
|
+
InitializedEvent.OutputTuple,
|
|
982
|
+
InitializedEvent.OutputObject
|
|
983
|
+
>;
|
|
984
|
+
Initialized: TypedContractEvent<
|
|
985
|
+
InitializedEvent.InputTuple,
|
|
986
|
+
InitializedEvent.OutputTuple,
|
|
987
|
+
InitializedEvent.OutputObject
|
|
988
|
+
>;
|
|
989
|
+
|
|
990
|
+
"LockYieldAaveBatchSettled(address,uint96[],uint256)": TypedContractEvent<
|
|
991
|
+
LockYieldAaveBatchSettledEvent.InputTuple,
|
|
992
|
+
LockYieldAaveBatchSettledEvent.OutputTuple,
|
|
993
|
+
LockYieldAaveBatchSettledEvent.OutputObject
|
|
994
|
+
>;
|
|
995
|
+
LockYieldAaveBatchSettled: TypedContractEvent<
|
|
996
|
+
LockYieldAaveBatchSettledEvent.InputTuple,
|
|
997
|
+
LockYieldAaveBatchSettledEvent.OutputTuple,
|
|
998
|
+
LockYieldAaveBatchSettledEvent.OutputObject
|
|
999
|
+
>;
|
|
1000
|
+
|
|
1001
|
+
"LockYieldAaveOpened(uint96,address,bytes32,uint256,uint256,uint256,int24,uint256,uint256)": TypedContractEvent<
|
|
1002
|
+
LockYieldAaveOpenedEvent.InputTuple,
|
|
1003
|
+
LockYieldAaveOpenedEvent.OutputTuple,
|
|
1004
|
+
LockYieldAaveOpenedEvent.OutputObject
|
|
1005
|
+
>;
|
|
1006
|
+
LockYieldAaveOpened: TypedContractEvent<
|
|
1007
|
+
LockYieldAaveOpenedEvent.InputTuple,
|
|
1008
|
+
LockYieldAaveOpenedEvent.OutputTuple,
|
|
1009
|
+
LockYieldAaveOpenedEvent.OutputObject
|
|
1010
|
+
>;
|
|
1011
|
+
|
|
1012
|
+
"LockYieldAaveSettled(uint96,address,uint256)": TypedContractEvent<
|
|
1013
|
+
LockYieldAaveSettledEvent.InputTuple,
|
|
1014
|
+
LockYieldAaveSettledEvent.OutputTuple,
|
|
1015
|
+
LockYieldAaveSettledEvent.OutputObject
|
|
1016
|
+
>;
|
|
1017
|
+
LockYieldAaveSettled: TypedContractEvent<
|
|
1018
|
+
LockYieldAaveSettledEvent.InputTuple,
|
|
1019
|
+
LockYieldAaveSettledEvent.OutputTuple,
|
|
1020
|
+
LockYieldAaveSettledEvent.OutputObject
|
|
1021
|
+
>;
|
|
1022
|
+
|
|
1023
|
+
"OwnershipTransferStarted(address,address)": TypedContractEvent<
|
|
1024
|
+
OwnershipTransferStartedEvent.InputTuple,
|
|
1025
|
+
OwnershipTransferStartedEvent.OutputTuple,
|
|
1026
|
+
OwnershipTransferStartedEvent.OutputObject
|
|
1027
|
+
>;
|
|
1028
|
+
OwnershipTransferStarted: TypedContractEvent<
|
|
1029
|
+
OwnershipTransferStartedEvent.InputTuple,
|
|
1030
|
+
OwnershipTransferStartedEvent.OutputTuple,
|
|
1031
|
+
OwnershipTransferStartedEvent.OutputObject
|
|
1032
|
+
>;
|
|
1033
|
+
|
|
1034
|
+
"OwnershipTransferred(address,address)": TypedContractEvent<
|
|
1035
|
+
OwnershipTransferredEvent.InputTuple,
|
|
1036
|
+
OwnershipTransferredEvent.OutputTuple,
|
|
1037
|
+
OwnershipTransferredEvent.OutputObject
|
|
1038
|
+
>;
|
|
1039
|
+
OwnershipTransferred: TypedContractEvent<
|
|
1040
|
+
OwnershipTransferredEvent.InputTuple,
|
|
1041
|
+
OwnershipTransferredEvent.OutputTuple,
|
|
1042
|
+
OwnershipTransferredEvent.OutputObject
|
|
1043
|
+
>;
|
|
1044
|
+
|
|
1045
|
+
"Paused(address)": TypedContractEvent<
|
|
1046
|
+
PausedEvent.InputTuple,
|
|
1047
|
+
PausedEvent.OutputTuple,
|
|
1048
|
+
PausedEvent.OutputObject
|
|
1049
|
+
>;
|
|
1050
|
+
Paused: TypedContractEvent<
|
|
1051
|
+
PausedEvent.InputTuple,
|
|
1052
|
+
PausedEvent.OutputTuple,
|
|
1053
|
+
PausedEvent.OutputObject
|
|
1054
|
+
>;
|
|
1055
|
+
|
|
1056
|
+
"PoolApproved(bytes32,address)": TypedContractEvent<
|
|
1057
|
+
PoolApprovedEvent.InputTuple,
|
|
1058
|
+
PoolApprovedEvent.OutputTuple,
|
|
1059
|
+
PoolApprovedEvent.OutputObject
|
|
1060
|
+
>;
|
|
1061
|
+
PoolApproved: TypedContractEvent<
|
|
1062
|
+
PoolApprovedEvent.InputTuple,
|
|
1063
|
+
PoolApprovedEvent.OutputTuple,
|
|
1064
|
+
PoolApprovedEvent.OutputObject
|
|
1065
|
+
>;
|
|
1066
|
+
|
|
1067
|
+
"PoolRevoked(bytes32,address)": TypedContractEvent<
|
|
1068
|
+
PoolRevokedEvent.InputTuple,
|
|
1069
|
+
PoolRevokedEvent.OutputTuple,
|
|
1070
|
+
PoolRevokedEvent.OutputObject
|
|
1071
|
+
>;
|
|
1072
|
+
PoolRevoked: TypedContractEvent<
|
|
1073
|
+
PoolRevokedEvent.InputTuple,
|
|
1074
|
+
PoolRevokedEvent.OutputTuple,
|
|
1075
|
+
PoolRevokedEvent.OutputObject
|
|
1076
|
+
>;
|
|
1077
|
+
|
|
1078
|
+
"StaticTokenSet(address,address,address)": TypedContractEvent<
|
|
1079
|
+
StaticTokenSetEvent.InputTuple,
|
|
1080
|
+
StaticTokenSetEvent.OutputTuple,
|
|
1081
|
+
StaticTokenSetEvent.OutputObject
|
|
1082
|
+
>;
|
|
1083
|
+
StaticTokenSet: TypedContractEvent<
|
|
1084
|
+
StaticTokenSetEvent.InputTuple,
|
|
1085
|
+
StaticTokenSetEvent.OutputTuple,
|
|
1086
|
+
StaticTokenSetEvent.OutputObject
|
|
1087
|
+
>;
|
|
1088
|
+
|
|
1089
|
+
"Unpaused(address)": TypedContractEvent<
|
|
1090
|
+
UnpausedEvent.InputTuple,
|
|
1091
|
+
UnpausedEvent.OutputTuple,
|
|
1092
|
+
UnpausedEvent.OutputObject
|
|
1093
|
+
>;
|
|
1094
|
+
Unpaused: TypedContractEvent<
|
|
1095
|
+
UnpausedEvent.InputTuple,
|
|
1096
|
+
UnpausedEvent.OutputTuple,
|
|
1097
|
+
UnpausedEvent.OutputObject
|
|
1098
|
+
>;
|
|
1099
|
+
};
|
|
1100
|
+
}
|