aiia-vault-sdk 1.2.15 → 1.2.16

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.
@@ -0,0 +1,502 @@
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";
3
+ export interface EthStakingInterface extends Interface {
4
+ getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE" | "OPERATOR_ROLE" | "SIGNER_ROLE" | "addRewards" | "addSigner" | "claimReward" | "emergencyUnstake" | "getRoleAdmin" | "getUserInfo" | "grantRole" | "hasRole" | "initialize" | "maxRewardAmount" | "minStakeAmount" | "owner" | "pause" | "paused" | "removeSigner" | "renounceOwnership" | "renounceRole" | "revokeRole" | "setMinStakeAmount" | "stake" | "supportsInterface" | "totalRewards" | "totalStaked" | "transferOwnership" | "unpause" | "unstake" | "unstakeAndClaim" | "updateMaxRewardAmount" | "usedSignatures" | "userStakes" | "userTotalRewardsClaimed"): FunctionFragment;
5
+ getEvent(nameOrSignatureOrTopic: "Initialized" | "MinStakeUpdated" | "OwnershipTransferred" | "Paused" | "RewardClaimed" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "SignerUpdated" | "Staked" | "Unpaused" | "Unstaked"): EventFragment;
6
+ encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
7
+ encodeFunctionData(functionFragment: "OPERATOR_ROLE", values?: undefined): string;
8
+ encodeFunctionData(functionFragment: "SIGNER_ROLE", values?: undefined): string;
9
+ encodeFunctionData(functionFragment: "addRewards", values?: undefined): string;
10
+ encodeFunctionData(functionFragment: "addSigner", values: [AddressLike]): string;
11
+ encodeFunctionData(functionFragment: "claimReward", values: [BigNumberish, BigNumberish, BigNumberish, BytesLike]): string;
12
+ encodeFunctionData(functionFragment: "emergencyUnstake", values: [AddressLike]): string;
13
+ encodeFunctionData(functionFragment: "getRoleAdmin", values: [BytesLike]): string;
14
+ encodeFunctionData(functionFragment: "getUserInfo", values: [AddressLike]): string;
15
+ encodeFunctionData(functionFragment: "grantRole", values: [BytesLike, AddressLike]): string;
16
+ encodeFunctionData(functionFragment: "hasRole", values: [BytesLike, AddressLike]): string;
17
+ encodeFunctionData(functionFragment: "initialize", values: [AddressLike, AddressLike, BigNumberish, BigNumberish]): string;
18
+ encodeFunctionData(functionFragment: "maxRewardAmount", values?: undefined): string;
19
+ encodeFunctionData(functionFragment: "minStakeAmount", values?: undefined): string;
20
+ encodeFunctionData(functionFragment: "owner", values?: undefined): string;
21
+ encodeFunctionData(functionFragment: "pause", values?: undefined): string;
22
+ encodeFunctionData(functionFragment: "paused", values?: undefined): string;
23
+ encodeFunctionData(functionFragment: "removeSigner", values: [AddressLike]): string;
24
+ encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
25
+ encodeFunctionData(functionFragment: "renounceRole", values: [BytesLike, AddressLike]): string;
26
+ encodeFunctionData(functionFragment: "revokeRole", values: [BytesLike, AddressLike]): string;
27
+ encodeFunctionData(functionFragment: "setMinStakeAmount", values: [BigNumberish]): string;
28
+ encodeFunctionData(functionFragment: "stake", values?: undefined): string;
29
+ encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
30
+ encodeFunctionData(functionFragment: "totalRewards", values?: undefined): string;
31
+ encodeFunctionData(functionFragment: "totalStaked", values?: undefined): string;
32
+ encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
33
+ encodeFunctionData(functionFragment: "unpause", values?: undefined): string;
34
+ encodeFunctionData(functionFragment: "unstake", values: [BigNumberish]): string;
35
+ encodeFunctionData(functionFragment: "unstakeAndClaim", values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish, BytesLike]): string;
36
+ encodeFunctionData(functionFragment: "updateMaxRewardAmount", values: [BigNumberish]): string;
37
+ encodeFunctionData(functionFragment: "usedSignatures", values: [BytesLike]): string;
38
+ encodeFunctionData(functionFragment: "userStakes", values: [AddressLike]): string;
39
+ encodeFunctionData(functionFragment: "userTotalRewardsClaimed", values: [AddressLike]): string;
40
+ decodeFunctionResult(functionFragment: "DEFAULT_ADMIN_ROLE", data: BytesLike): Result;
41
+ decodeFunctionResult(functionFragment: "OPERATOR_ROLE", data: BytesLike): Result;
42
+ decodeFunctionResult(functionFragment: "SIGNER_ROLE", data: BytesLike): Result;
43
+ decodeFunctionResult(functionFragment: "addRewards", data: BytesLike): Result;
44
+ decodeFunctionResult(functionFragment: "addSigner", data: BytesLike): Result;
45
+ decodeFunctionResult(functionFragment: "claimReward", data: BytesLike): Result;
46
+ decodeFunctionResult(functionFragment: "emergencyUnstake", data: BytesLike): Result;
47
+ decodeFunctionResult(functionFragment: "getRoleAdmin", data: BytesLike): Result;
48
+ decodeFunctionResult(functionFragment: "getUserInfo", data: BytesLike): Result;
49
+ decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
50
+ decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
51
+ decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
52
+ decodeFunctionResult(functionFragment: "maxRewardAmount", data: BytesLike): Result;
53
+ decodeFunctionResult(functionFragment: "minStakeAmount", data: BytesLike): Result;
54
+ decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
55
+ decodeFunctionResult(functionFragment: "pause", data: BytesLike): Result;
56
+ decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result;
57
+ decodeFunctionResult(functionFragment: "removeSigner", data: BytesLike): Result;
58
+ decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
59
+ decodeFunctionResult(functionFragment: "renounceRole", data: BytesLike): Result;
60
+ decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
61
+ decodeFunctionResult(functionFragment: "setMinStakeAmount", data: BytesLike): Result;
62
+ decodeFunctionResult(functionFragment: "stake", data: BytesLike): Result;
63
+ decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
64
+ decodeFunctionResult(functionFragment: "totalRewards", data: BytesLike): Result;
65
+ decodeFunctionResult(functionFragment: "totalStaked", data: BytesLike): Result;
66
+ decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
67
+ decodeFunctionResult(functionFragment: "unpause", data: BytesLike): Result;
68
+ decodeFunctionResult(functionFragment: "unstake", data: BytesLike): Result;
69
+ decodeFunctionResult(functionFragment: "unstakeAndClaim", data: BytesLike): Result;
70
+ decodeFunctionResult(functionFragment: "updateMaxRewardAmount", data: BytesLike): Result;
71
+ decodeFunctionResult(functionFragment: "usedSignatures", data: BytesLike): Result;
72
+ decodeFunctionResult(functionFragment: "userStakes", data: BytesLike): Result;
73
+ decodeFunctionResult(functionFragment: "userTotalRewardsClaimed", data: BytesLike): Result;
74
+ }
75
+ export declare namespace InitializedEvent {
76
+ type InputTuple = [version: BigNumberish];
77
+ type OutputTuple = [version: bigint];
78
+ interface OutputObject {
79
+ version: bigint;
80
+ }
81
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
82
+ type Filter = TypedDeferredTopicFilter<Event>;
83
+ type Log = TypedEventLog<Event>;
84
+ type LogDescription = TypedLogDescription<Event>;
85
+ }
86
+ export declare namespace MinStakeUpdatedEvent {
87
+ type InputTuple = [oldAmount: BigNumberish, newAmount: BigNumberish];
88
+ type OutputTuple = [oldAmount: bigint, newAmount: bigint];
89
+ interface OutputObject {
90
+ oldAmount: bigint;
91
+ newAmount: bigint;
92
+ }
93
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
94
+ type Filter = TypedDeferredTopicFilter<Event>;
95
+ type Log = TypedEventLog<Event>;
96
+ type LogDescription = TypedLogDescription<Event>;
97
+ }
98
+ export declare namespace OwnershipTransferredEvent {
99
+ type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
100
+ type OutputTuple = [previousOwner: string, newOwner: string];
101
+ interface OutputObject {
102
+ previousOwner: string;
103
+ newOwner: string;
104
+ }
105
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
106
+ type Filter = TypedDeferredTopicFilter<Event>;
107
+ type Log = TypedEventLog<Event>;
108
+ type LogDescription = TypedLogDescription<Event>;
109
+ }
110
+ export declare namespace PausedEvent {
111
+ type InputTuple = [account: AddressLike];
112
+ type OutputTuple = [account: string];
113
+ interface OutputObject {
114
+ account: string;
115
+ }
116
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
117
+ type Filter = TypedDeferredTopicFilter<Event>;
118
+ type Log = TypedEventLog<Event>;
119
+ type LogDescription = TypedLogDescription<Event>;
120
+ }
121
+ export declare namespace RewardClaimedEvent {
122
+ type InputTuple = [
123
+ user: AddressLike,
124
+ amount: BigNumberish,
125
+ timestamp: BigNumberish,
126
+ signatureHash: BytesLike
127
+ ];
128
+ type OutputTuple = [
129
+ user: string,
130
+ amount: bigint,
131
+ timestamp: bigint,
132
+ signatureHash: string
133
+ ];
134
+ interface OutputObject {
135
+ user: string;
136
+ amount: bigint;
137
+ timestamp: bigint;
138
+ signatureHash: string;
139
+ }
140
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
141
+ type Filter = TypedDeferredTopicFilter<Event>;
142
+ type Log = TypedEventLog<Event>;
143
+ type LogDescription = TypedLogDescription<Event>;
144
+ }
145
+ export declare namespace RoleAdminChangedEvent {
146
+ type InputTuple = [
147
+ role: BytesLike,
148
+ previousAdminRole: BytesLike,
149
+ newAdminRole: BytesLike
150
+ ];
151
+ type OutputTuple = [
152
+ role: string,
153
+ previousAdminRole: string,
154
+ newAdminRole: string
155
+ ];
156
+ interface OutputObject {
157
+ role: string;
158
+ previousAdminRole: string;
159
+ newAdminRole: string;
160
+ }
161
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
162
+ type Filter = TypedDeferredTopicFilter<Event>;
163
+ type Log = TypedEventLog<Event>;
164
+ type LogDescription = TypedLogDescription<Event>;
165
+ }
166
+ export declare namespace RoleGrantedEvent {
167
+ type InputTuple = [
168
+ role: BytesLike,
169
+ account: AddressLike,
170
+ sender: AddressLike
171
+ ];
172
+ type OutputTuple = [role: string, account: string, sender: string];
173
+ interface OutputObject {
174
+ role: string;
175
+ account: string;
176
+ sender: string;
177
+ }
178
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
179
+ type Filter = TypedDeferredTopicFilter<Event>;
180
+ type Log = TypedEventLog<Event>;
181
+ type LogDescription = TypedLogDescription<Event>;
182
+ }
183
+ export declare namespace RoleRevokedEvent {
184
+ type InputTuple = [
185
+ role: BytesLike,
186
+ account: AddressLike,
187
+ sender: AddressLike
188
+ ];
189
+ type OutputTuple = [role: string, account: string, sender: string];
190
+ interface OutputObject {
191
+ role: string;
192
+ account: string;
193
+ sender: string;
194
+ }
195
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
196
+ type Filter = TypedDeferredTopicFilter<Event>;
197
+ type Log = TypedEventLog<Event>;
198
+ type LogDescription = TypedLogDescription<Event>;
199
+ }
200
+ export declare namespace SignerUpdatedEvent {
201
+ type InputTuple = [newSigner: AddressLike];
202
+ type OutputTuple = [newSigner: string];
203
+ interface OutputObject {
204
+ newSigner: string;
205
+ }
206
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
207
+ type Filter = TypedDeferredTopicFilter<Event>;
208
+ type Log = TypedEventLog<Event>;
209
+ type LogDescription = TypedLogDescription<Event>;
210
+ }
211
+ export declare namespace StakedEvent {
212
+ type InputTuple = [
213
+ user: AddressLike,
214
+ amount: BigNumberish,
215
+ timestamp: BigNumberish
216
+ ];
217
+ type OutputTuple = [user: string, amount: bigint, timestamp: bigint];
218
+ interface OutputObject {
219
+ user: string;
220
+ amount: bigint;
221
+ timestamp: bigint;
222
+ }
223
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
224
+ type Filter = TypedDeferredTopicFilter<Event>;
225
+ type Log = TypedEventLog<Event>;
226
+ type LogDescription = TypedLogDescription<Event>;
227
+ }
228
+ export declare namespace UnpausedEvent {
229
+ type InputTuple = [account: AddressLike];
230
+ type OutputTuple = [account: string];
231
+ interface OutputObject {
232
+ account: string;
233
+ }
234
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
235
+ type Filter = TypedDeferredTopicFilter<Event>;
236
+ type Log = TypedEventLog<Event>;
237
+ type LogDescription = TypedLogDescription<Event>;
238
+ }
239
+ export declare namespace UnstakedEvent {
240
+ type InputTuple = [
241
+ user: AddressLike,
242
+ amount: BigNumberish,
243
+ timestamp: BigNumberish
244
+ ];
245
+ type OutputTuple = [user: string, amount: bigint, timestamp: bigint];
246
+ interface OutputObject {
247
+ user: string;
248
+ amount: bigint;
249
+ timestamp: bigint;
250
+ }
251
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
252
+ type Filter = TypedDeferredTopicFilter<Event>;
253
+ type Log = TypedEventLog<Event>;
254
+ type LogDescription = TypedLogDescription<Event>;
255
+ }
256
+ export interface EthStaking extends BaseContract {
257
+ connect(runner?: ContractRunner | null): EthStaking;
258
+ waitForDeployment(): Promise<this>;
259
+ interface: EthStakingInterface;
260
+ queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
261
+ queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
262
+ on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
263
+ on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
264
+ once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
265
+ once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
266
+ listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
267
+ listeners(eventName?: string): Promise<Array<Listener>>;
268
+ removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
269
+ DEFAULT_ADMIN_ROLE: TypedContractMethod<[], [string], "view">;
270
+ OPERATOR_ROLE: TypedContractMethod<[], [string], "view">;
271
+ SIGNER_ROLE: TypedContractMethod<[], [string], "view">;
272
+ addRewards: TypedContractMethod<[], [void], "payable">;
273
+ addSigner: TypedContractMethod<[_signer: AddressLike], [void], "nonpayable">;
274
+ claimReward: TypedContractMethod<[
275
+ _amount: BigNumberish,
276
+ _nonce: BigNumberish,
277
+ _deadline: BigNumberish,
278
+ _signature: BytesLike
279
+ ], [
280
+ void
281
+ ], "nonpayable">;
282
+ emergencyUnstake: TypedContractMethod<[
283
+ _recipient: AddressLike
284
+ ], [
285
+ void
286
+ ], "nonpayable">;
287
+ getRoleAdmin: TypedContractMethod<[role: BytesLike], [string], "view">;
288
+ getUserInfo: TypedContractMethod<[
289
+ _user: AddressLike
290
+ ], [
291
+ [bigint, bigint] & {
292
+ stake: bigint;
293
+ claimed: bigint;
294
+ }
295
+ ], "view">;
296
+ grantRole: TypedContractMethod<[
297
+ role: BytesLike,
298
+ account: AddressLike
299
+ ], [
300
+ void
301
+ ], "nonpayable">;
302
+ hasRole: TypedContractMethod<[
303
+ role: BytesLike,
304
+ account: AddressLike
305
+ ], [
306
+ boolean
307
+ ], "view">;
308
+ initialize: TypedContractMethod<[
309
+ _owner: AddressLike,
310
+ _signer: AddressLike,
311
+ _maxRewardAmount: BigNumberish,
312
+ _minStakeAmount: BigNumberish
313
+ ], [
314
+ void
315
+ ], "nonpayable">;
316
+ maxRewardAmount: TypedContractMethod<[], [bigint], "view">;
317
+ minStakeAmount: TypedContractMethod<[], [bigint], "view">;
318
+ owner: TypedContractMethod<[], [string], "view">;
319
+ pause: TypedContractMethod<[], [void], "nonpayable">;
320
+ paused: TypedContractMethod<[], [boolean], "view">;
321
+ removeSigner: TypedContractMethod<[
322
+ _signer: AddressLike
323
+ ], [
324
+ void
325
+ ], "nonpayable">;
326
+ renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
327
+ renounceRole: TypedContractMethod<[
328
+ role: BytesLike,
329
+ callerConfirmation: AddressLike
330
+ ], [
331
+ void
332
+ ], "nonpayable">;
333
+ revokeRole: TypedContractMethod<[
334
+ role: BytesLike,
335
+ account: AddressLike
336
+ ], [
337
+ void
338
+ ], "nonpayable">;
339
+ setMinStakeAmount: TypedContractMethod<[
340
+ _newMinStake: BigNumberish
341
+ ], [
342
+ void
343
+ ], "nonpayable">;
344
+ stake: TypedContractMethod<[], [void], "payable">;
345
+ supportsInterface: TypedContractMethod<[
346
+ interfaceId: BytesLike
347
+ ], [
348
+ boolean
349
+ ], "view">;
350
+ totalRewards: TypedContractMethod<[], [bigint], "view">;
351
+ totalStaked: TypedContractMethod<[], [bigint], "view">;
352
+ transferOwnership: TypedContractMethod<[
353
+ newOwner: AddressLike
354
+ ], [
355
+ void
356
+ ], "nonpayable">;
357
+ unpause: TypedContractMethod<[], [void], "nonpayable">;
358
+ unstake: TypedContractMethod<[_amount: BigNumberish], [void], "nonpayable">;
359
+ unstakeAndClaim: TypedContractMethod<[
360
+ _unstakeAmount: BigNumberish,
361
+ _rewardAmount: BigNumberish,
362
+ _nonce: BigNumberish,
363
+ _deadline: BigNumberish,
364
+ _signature: BytesLike
365
+ ], [
366
+ void
367
+ ], "nonpayable">;
368
+ updateMaxRewardAmount: TypedContractMethod<[
369
+ _newMaxReward: BigNumberish
370
+ ], [
371
+ void
372
+ ], "nonpayable">;
373
+ usedSignatures: TypedContractMethod<[arg0: BytesLike], [boolean], "view">;
374
+ userStakes: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
375
+ userTotalRewardsClaimed: TypedContractMethod<[
376
+ arg0: AddressLike
377
+ ], [
378
+ bigint
379
+ ], "view">;
380
+ getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
381
+ getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE"): TypedContractMethod<[], [string], "view">;
382
+ getFunction(nameOrSignature: "OPERATOR_ROLE"): TypedContractMethod<[], [string], "view">;
383
+ getFunction(nameOrSignature: "SIGNER_ROLE"): TypedContractMethod<[], [string], "view">;
384
+ getFunction(nameOrSignature: "addRewards"): TypedContractMethod<[], [void], "payable">;
385
+ getFunction(nameOrSignature: "addSigner"): TypedContractMethod<[_signer: AddressLike], [void], "nonpayable">;
386
+ getFunction(nameOrSignature: "claimReward"): TypedContractMethod<[
387
+ _amount: BigNumberish,
388
+ _nonce: BigNumberish,
389
+ _deadline: BigNumberish,
390
+ _signature: BytesLike
391
+ ], [
392
+ void
393
+ ], "nonpayable">;
394
+ getFunction(nameOrSignature: "emergencyUnstake"): TypedContractMethod<[_recipient: AddressLike], [void], "nonpayable">;
395
+ getFunction(nameOrSignature: "getRoleAdmin"): TypedContractMethod<[role: BytesLike], [string], "view">;
396
+ getFunction(nameOrSignature: "getUserInfo"): TypedContractMethod<[
397
+ _user: AddressLike
398
+ ], [
399
+ [bigint, bigint] & {
400
+ stake: bigint;
401
+ claimed: bigint;
402
+ }
403
+ ], "view">;
404
+ getFunction(nameOrSignature: "grantRole"): TypedContractMethod<[
405
+ role: BytesLike,
406
+ account: AddressLike
407
+ ], [
408
+ void
409
+ ], "nonpayable">;
410
+ getFunction(nameOrSignature: "hasRole"): TypedContractMethod<[
411
+ role: BytesLike,
412
+ account: AddressLike
413
+ ], [
414
+ boolean
415
+ ], "view">;
416
+ getFunction(nameOrSignature: "initialize"): TypedContractMethod<[
417
+ _owner: AddressLike,
418
+ _signer: AddressLike,
419
+ _maxRewardAmount: BigNumberish,
420
+ _minStakeAmount: BigNumberish
421
+ ], [
422
+ void
423
+ ], "nonpayable">;
424
+ getFunction(nameOrSignature: "maxRewardAmount"): TypedContractMethod<[], [bigint], "view">;
425
+ getFunction(nameOrSignature: "minStakeAmount"): TypedContractMethod<[], [bigint], "view">;
426
+ getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
427
+ getFunction(nameOrSignature: "pause"): TypedContractMethod<[], [void], "nonpayable">;
428
+ getFunction(nameOrSignature: "paused"): TypedContractMethod<[], [boolean], "view">;
429
+ getFunction(nameOrSignature: "removeSigner"): TypedContractMethod<[_signer: AddressLike], [void], "nonpayable">;
430
+ getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">;
431
+ getFunction(nameOrSignature: "renounceRole"): TypedContractMethod<[
432
+ role: BytesLike,
433
+ callerConfirmation: AddressLike
434
+ ], [
435
+ void
436
+ ], "nonpayable">;
437
+ getFunction(nameOrSignature: "revokeRole"): TypedContractMethod<[
438
+ role: BytesLike,
439
+ account: AddressLike
440
+ ], [
441
+ void
442
+ ], "nonpayable">;
443
+ getFunction(nameOrSignature: "setMinStakeAmount"): TypedContractMethod<[_newMinStake: BigNumberish], [void], "nonpayable">;
444
+ getFunction(nameOrSignature: "stake"): TypedContractMethod<[], [void], "payable">;
445
+ getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
446
+ getFunction(nameOrSignature: "totalRewards"): TypedContractMethod<[], [bigint], "view">;
447
+ getFunction(nameOrSignature: "totalStaked"): TypedContractMethod<[], [bigint], "view">;
448
+ getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
449
+ getFunction(nameOrSignature: "unpause"): TypedContractMethod<[], [void], "nonpayable">;
450
+ getFunction(nameOrSignature: "unstake"): TypedContractMethod<[_amount: BigNumberish], [void], "nonpayable">;
451
+ getFunction(nameOrSignature: "unstakeAndClaim"): TypedContractMethod<[
452
+ _unstakeAmount: BigNumberish,
453
+ _rewardAmount: BigNumberish,
454
+ _nonce: BigNumberish,
455
+ _deadline: BigNumberish,
456
+ _signature: BytesLike
457
+ ], [
458
+ void
459
+ ], "nonpayable">;
460
+ getFunction(nameOrSignature: "updateMaxRewardAmount"): TypedContractMethod<[_newMaxReward: BigNumberish], [void], "nonpayable">;
461
+ getFunction(nameOrSignature: "usedSignatures"): TypedContractMethod<[arg0: BytesLike], [boolean], "view">;
462
+ getFunction(nameOrSignature: "userStakes"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
463
+ getFunction(nameOrSignature: "userTotalRewardsClaimed"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
464
+ getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
465
+ getEvent(key: "MinStakeUpdated"): TypedContractEvent<MinStakeUpdatedEvent.InputTuple, MinStakeUpdatedEvent.OutputTuple, MinStakeUpdatedEvent.OutputObject>;
466
+ getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
467
+ getEvent(key: "Paused"): TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
468
+ getEvent(key: "RewardClaimed"): TypedContractEvent<RewardClaimedEvent.InputTuple, RewardClaimedEvent.OutputTuple, RewardClaimedEvent.OutputObject>;
469
+ getEvent(key: "RoleAdminChanged"): TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
470
+ getEvent(key: "RoleGranted"): TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
471
+ getEvent(key: "RoleRevoked"): TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
472
+ getEvent(key: "SignerUpdated"): TypedContractEvent<SignerUpdatedEvent.InputTuple, SignerUpdatedEvent.OutputTuple, SignerUpdatedEvent.OutputObject>;
473
+ getEvent(key: "Staked"): TypedContractEvent<StakedEvent.InputTuple, StakedEvent.OutputTuple, StakedEvent.OutputObject>;
474
+ getEvent(key: "Unpaused"): TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
475
+ getEvent(key: "Unstaked"): TypedContractEvent<UnstakedEvent.InputTuple, UnstakedEvent.OutputTuple, UnstakedEvent.OutputObject>;
476
+ filters: {
477
+ "Initialized(uint64)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
478
+ Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
479
+ "MinStakeUpdated(uint256,uint256)": TypedContractEvent<MinStakeUpdatedEvent.InputTuple, MinStakeUpdatedEvent.OutputTuple, MinStakeUpdatedEvent.OutputObject>;
480
+ MinStakeUpdated: TypedContractEvent<MinStakeUpdatedEvent.InputTuple, MinStakeUpdatedEvent.OutputTuple, MinStakeUpdatedEvent.OutputObject>;
481
+ "OwnershipTransferred(address,address)": TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
482
+ OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
483
+ "Paused(address)": TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
484
+ Paused: TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
485
+ "RewardClaimed(address,uint256,uint256,bytes32)": TypedContractEvent<RewardClaimedEvent.InputTuple, RewardClaimedEvent.OutputTuple, RewardClaimedEvent.OutputObject>;
486
+ RewardClaimed: TypedContractEvent<RewardClaimedEvent.InputTuple, RewardClaimedEvent.OutputTuple, RewardClaimedEvent.OutputObject>;
487
+ "RoleAdminChanged(bytes32,bytes32,bytes32)": TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
488
+ RoleAdminChanged: TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
489
+ "RoleGranted(bytes32,address,address)": TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
490
+ RoleGranted: TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
491
+ "RoleRevoked(bytes32,address,address)": TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
492
+ RoleRevoked: TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
493
+ "SignerUpdated(address)": TypedContractEvent<SignerUpdatedEvent.InputTuple, SignerUpdatedEvent.OutputTuple, SignerUpdatedEvent.OutputObject>;
494
+ SignerUpdated: TypedContractEvent<SignerUpdatedEvent.InputTuple, SignerUpdatedEvent.OutputTuple, SignerUpdatedEvent.OutputObject>;
495
+ "Staked(address,uint256,uint256)": TypedContractEvent<StakedEvent.InputTuple, StakedEvent.OutputTuple, StakedEvent.OutputObject>;
496
+ Staked: TypedContractEvent<StakedEvent.InputTuple, StakedEvent.OutputTuple, StakedEvent.OutputObject>;
497
+ "Unpaused(address)": TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
498
+ Unpaused: TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
499
+ "Unstaked(address,uint256,uint256)": TypedContractEvent<UnstakedEvent.InputTuple, UnstakedEvent.OutputTuple, UnstakedEvent.OutputObject>;
500
+ Unstaked: TypedContractEvent<UnstakedEvent.InputTuple, UnstakedEvent.OutputTuple, UnstakedEvent.OutputObject>;
501
+ };
502
+ }
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});
@@ -19,8 +19,8 @@ export declare namespace TradingVault {
19
19
  };
20
20
  }
21
21
  export interface TradingVaultInterface extends Interface {
22
- getFunction(nameOrSignature: "BASE_WEIGHT" | "DEFAULT_ADMIN_ROLE" | "EXPO" | "MAX_BATCH_SIZE" | "MAX_PRICE_PERCENTAGE" | "MIN_PRICE_PERCENTAGE" | "OPERATOR_ROLE" | "PERCENTAGE_BASE" | "PRICE_SETTER_ROLE" | "addReward" | "approve" | "balanceOf" | "batchEmitPriceUpdated" | "batchSetPositionExpiration" | "borrowCurrency" | "claimERC20" | "closeExpiredPosition" | "createPosition" | "currency" | "getApproved" | "getRewardConfigsLength" | "getRoleAdmin" | "grantOperatorRole" | "grantPriceSetterRole" | "grantRole" | "hasRole" | "initialize" | "isApprovedForAll" | "isReduceEnabled" | "name" | "owner" | "ownerOf" | "positions" | "price" | "reducePosition" | "reducePositions" | "renounceOwnership" | "renounceRole" | "repayCurrency" | "revokeRole" | "rewardConfigs" | "rewardToken" | "safeTransferFrom(address,address,uint256)" | "safeTransferFrom(address,address,uint256,bytes)" | "setApprovalForAll" | "setCurrency" | "setPositionExpiration" | "setPrice" | "setReduceEnabled" | "setRewardToken" | "setTreasury" | "supportsInterface" | "symbol" | "tokenURI" | "totalAmount" | "totalBorrowed" | "totalRewardsAdded" | "totalRewardsHarvested" | "transferFrom" | "transferOwnership" | "treasury" | "updateRewardConfigs"): FunctionFragment;
23
- getEvent(nameOrSignatureOrTopic: "Approval" | "ApprovalForAll" | "CurrencyBorrowed" | "CurrencyRepaid" | "CurrencyUpdated" | "Initialized" | "OwnershipTransferred" | "PositionCreated" | "PositionExpirationUpdated" | "PositionReduced" | "PriceUpdated" | "ReduceEnabledUpdated" | "RewardConfigsUpdated" | "RewardTokenUpdated" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "TotalAmountUpdated" | "TotalRewardsHarvestedUpdated" | "TotalRewardsUpdated" | "Transfer" | "TreasuryUpdated"): EventFragment;
22
+ getFunction(nameOrSignature: "BASE_WEIGHT" | "DEFAULT_ADMIN_ROLE" | "EXPO" | "MAX_BATCH_SIZE" | "MAX_PRICE_PERCENTAGE" | "MIN_PRICE_PERCENTAGE" | "OPERATOR_ROLE" | "PERCENTAGE_BASE" | "PRICE_SETTER_ROLE" | "addReward" | "approve" | "balanceOf" | "batchEmitPriceUpdated" | "batchSetPositionExpiration" | "batchUpdateEntryPrice" | "borrowCurrency" | "claimERC20" | "closeExpiredPosition" | "createPosition" | "currency" | "getApproved" | "getRewardConfigsLength" | "getRoleAdmin" | "grantOperatorRole" | "grantPriceSetterRole" | "grantRole" | "hasRole" | "initialize" | "isApprovedForAll" | "isReduceEnabled" | "name" | "owner" | "ownerOf" | "positions" | "price" | "reducePosition" | "reducePositions" | "renounceOwnership" | "renounceRole" | "repayCurrency" | "revokeRole" | "rewardConfigs" | "rewardToken" | "safeTransferFrom(address,address,uint256)" | "safeTransferFrom(address,address,uint256,bytes)" | "setApprovalForAll" | "setCurrency" | "setPositionExpiration" | "setPrice" | "setReduceEnabled" | "setRewardToken" | "setTreasury" | "supportsInterface" | "symbol" | "tokenURI" | "totalAmount" | "totalBorrowed" | "totalRewardsAdded" | "totalRewardsHarvested" | "transferFrom" | "transferOwnership" | "treasury" | "updateEntryPrice" | "updateRewardConfigs"): FunctionFragment;
23
+ getEvent(nameOrSignatureOrTopic: "Approval" | "ApprovalForAll" | "CurrencyBorrowed" | "CurrencyRepaid" | "CurrencyUpdated" | "EntryPriceUpdated" | "Initialized" | "OwnershipTransferred" | "PositionCreated" | "PositionExpirationUpdated" | "PositionReduced" | "PriceUpdated" | "ReduceEnabledUpdated" | "RewardConfigsUpdated" | "RewardTokenUpdated" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "TotalAmountUpdated" | "TotalRewardsHarvestedUpdated" | "TotalRewardsUpdated" | "Transfer" | "TreasuryUpdated"): EventFragment;
24
24
  encodeFunctionData(functionFragment: "BASE_WEIGHT", values?: undefined): string;
25
25
  encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
26
26
  encodeFunctionData(functionFragment: "EXPO", values?: undefined): string;
@@ -35,6 +35,7 @@ export interface TradingVaultInterface extends Interface {
35
35
  encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
36
36
  encodeFunctionData(functionFragment: "batchEmitPriceUpdated", values: [TradingVault.PriceDataStruct[]]): string;
37
37
  encodeFunctionData(functionFragment: "batchSetPositionExpiration", values: [BigNumberish[], BigNumberish[]]): string;
38
+ encodeFunctionData(functionFragment: "batchUpdateEntryPrice", values: [BigNumberish[], BigNumberish[]]): string;
38
39
  encodeFunctionData(functionFragment: "borrowCurrency", values: [BigNumberish]): string;
39
40
  encodeFunctionData(functionFragment: "claimERC20", values: [AddressLike, BigNumberish]): string;
40
41
  encodeFunctionData(functionFragment: "closeExpiredPosition", values: [BigNumberish, BigNumberish]): string;
@@ -82,6 +83,7 @@ export interface TradingVaultInterface extends Interface {
82
83
  encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
83
84
  encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
84
85
  encodeFunctionData(functionFragment: "treasury", values?: undefined): string;
86
+ encodeFunctionData(functionFragment: "updateEntryPrice", values: [BigNumberish, BigNumberish]): string;
85
87
  encodeFunctionData(functionFragment: "updateRewardConfigs", values: [TradingVault.RewardConfigStruct[]]): string;
86
88
  decodeFunctionResult(functionFragment: "BASE_WEIGHT", data: BytesLike): Result;
87
89
  decodeFunctionResult(functionFragment: "DEFAULT_ADMIN_ROLE", data: BytesLike): Result;
@@ -97,6 +99,7 @@ export interface TradingVaultInterface extends Interface {
97
99
  decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
98
100
  decodeFunctionResult(functionFragment: "batchEmitPriceUpdated", data: BytesLike): Result;
99
101
  decodeFunctionResult(functionFragment: "batchSetPositionExpiration", data: BytesLike): Result;
102
+ decodeFunctionResult(functionFragment: "batchUpdateEntryPrice", data: BytesLike): Result;
100
103
  decodeFunctionResult(functionFragment: "borrowCurrency", data: BytesLike): Result;
101
104
  decodeFunctionResult(functionFragment: "claimERC20", data: BytesLike): Result;
102
105
  decodeFunctionResult(functionFragment: "closeExpiredPosition", data: BytesLike): Result;
@@ -144,6 +147,7 @@ export interface TradingVaultInterface extends Interface {
144
147
  decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
145
148
  decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
146
149
  decodeFunctionResult(functionFragment: "treasury", data: BytesLike): Result;
150
+ decodeFunctionResult(functionFragment: "updateEntryPrice", data: BytesLike): Result;
147
151
  decodeFunctionResult(functionFragment: "updateRewardConfigs", data: BytesLike): Result;
148
152
  }
149
153
  export declare namespace ApprovalEvent {
@@ -220,6 +224,27 @@ export declare namespace CurrencyUpdatedEvent {
220
224
  type Log = TypedEventLog<Event>;
221
225
  type LogDescription = TypedLogDescription<Event>;
222
226
  }
227
+ export declare namespace EntryPriceUpdatedEvent {
228
+ type InputTuple = [
229
+ tokenId: BigNumberish,
230
+ oldEntryPrice: BigNumberish,
231
+ newEntryPrice: BigNumberish
232
+ ];
233
+ type OutputTuple = [
234
+ tokenId: bigint,
235
+ oldEntryPrice: bigint,
236
+ newEntryPrice: bigint
237
+ ];
238
+ interface OutputObject {
239
+ tokenId: bigint;
240
+ oldEntryPrice: bigint;
241
+ newEntryPrice: bigint;
242
+ }
243
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
244
+ type Filter = TypedDeferredTopicFilter<Event>;
245
+ type Log = TypedEventLog<Event>;
246
+ type LogDescription = TypedLogDescription<Event>;
247
+ }
223
248
  export declare namespace InitializedEvent {
224
249
  type InputTuple = [version: BigNumberish];
225
250
  type OutputTuple = [version: bigint];
@@ -563,6 +588,12 @@ export interface TradingVault extends BaseContract {
563
588
  ], [
564
589
  void
565
590
  ], "nonpayable">;
591
+ batchUpdateEntryPrice: TypedContractMethod<[
592
+ _tokenIds: BigNumberish[],
593
+ _newEntryPrices: BigNumberish[]
594
+ ], [
595
+ void
596
+ ], "nonpayable">;
566
597
  borrowCurrency: TypedContractMethod<[
567
598
  _amount: BigNumberish
568
599
  ], [
@@ -774,6 +805,12 @@ export interface TradingVault extends BaseContract {
774
805
  void
775
806
  ], "nonpayable">;
776
807
  treasury: TypedContractMethod<[], [string], "view">;
808
+ updateEntryPrice: TypedContractMethod<[
809
+ _tokenId: BigNumberish,
810
+ _newEntryPrice: BigNumberish
811
+ ], [
812
+ void
813
+ ], "nonpayable">;
777
814
  updateRewardConfigs: TypedContractMethod<[
778
815
  _configs: TradingVault.RewardConfigStruct[]
779
816
  ], [
@@ -808,6 +845,12 @@ export interface TradingVault extends BaseContract {
808
845
  ], [
809
846
  void
810
847
  ], "nonpayable">;
848
+ getFunction(nameOrSignature: "batchUpdateEntryPrice"): TypedContractMethod<[
849
+ _tokenIds: BigNumberish[],
850
+ _newEntryPrices: BigNumberish[]
851
+ ], [
852
+ void
853
+ ], "nonpayable">;
811
854
  getFunction(nameOrSignature: "borrowCurrency"): TypedContractMethod<[_amount: BigNumberish], [void], "nonpayable">;
812
855
  getFunction(nameOrSignature: "claimERC20"): TypedContractMethod<[
813
856
  _token: AddressLike,
@@ -975,6 +1018,12 @@ export interface TradingVault extends BaseContract {
975
1018
  ], "nonpayable">;
976
1019
  getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
977
1020
  getFunction(nameOrSignature: "treasury"): TypedContractMethod<[], [string], "view">;
1021
+ getFunction(nameOrSignature: "updateEntryPrice"): TypedContractMethod<[
1022
+ _tokenId: BigNumberish,
1023
+ _newEntryPrice: BigNumberish
1024
+ ], [
1025
+ void
1026
+ ], "nonpayable">;
978
1027
  getFunction(nameOrSignature: "updateRewardConfigs"): TypedContractMethod<[
979
1028
  _configs: TradingVault.RewardConfigStruct[]
980
1029
  ], [
@@ -985,6 +1034,7 @@ export interface TradingVault extends BaseContract {
985
1034
  getEvent(key: "CurrencyBorrowed"): TypedContractEvent<CurrencyBorrowedEvent.InputTuple, CurrencyBorrowedEvent.OutputTuple, CurrencyBorrowedEvent.OutputObject>;
986
1035
  getEvent(key: "CurrencyRepaid"): TypedContractEvent<CurrencyRepaidEvent.InputTuple, CurrencyRepaidEvent.OutputTuple, CurrencyRepaidEvent.OutputObject>;
987
1036
  getEvent(key: "CurrencyUpdated"): TypedContractEvent<CurrencyUpdatedEvent.InputTuple, CurrencyUpdatedEvent.OutputTuple, CurrencyUpdatedEvent.OutputObject>;
1037
+ getEvent(key: "EntryPriceUpdated"): TypedContractEvent<EntryPriceUpdatedEvent.InputTuple, EntryPriceUpdatedEvent.OutputTuple, EntryPriceUpdatedEvent.OutputObject>;
988
1038
  getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
989
1039
  getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
990
1040
  getEvent(key: "PositionCreated"): TypedContractEvent<PositionCreatedEvent.InputTuple, PositionCreatedEvent.OutputTuple, PositionCreatedEvent.OutputObject>;
@@ -1013,6 +1063,8 @@ export interface TradingVault extends BaseContract {
1013
1063
  CurrencyRepaid: TypedContractEvent<CurrencyRepaidEvent.InputTuple, CurrencyRepaidEvent.OutputTuple, CurrencyRepaidEvent.OutputObject>;
1014
1064
  "CurrencyUpdated(address,address)": TypedContractEvent<CurrencyUpdatedEvent.InputTuple, CurrencyUpdatedEvent.OutputTuple, CurrencyUpdatedEvent.OutputObject>;
1015
1065
  CurrencyUpdated: TypedContractEvent<CurrencyUpdatedEvent.InputTuple, CurrencyUpdatedEvent.OutputTuple, CurrencyUpdatedEvent.OutputObject>;
1066
+ "EntryPriceUpdated(uint256,uint256,uint256)": TypedContractEvent<EntryPriceUpdatedEvent.InputTuple, EntryPriceUpdatedEvent.OutputTuple, EntryPriceUpdatedEvent.OutputObject>;
1067
+ EntryPriceUpdated: TypedContractEvent<EntryPriceUpdatedEvent.InputTuple, EntryPriceUpdatedEvent.OutputTuple, EntryPriceUpdatedEvent.OutputObject>;
1016
1068
  "Initialized(uint64)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
1017
1069
  Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
1018
1070
  "OwnershipTransferred(address,address)": TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;