aiia-vault-sdk 1.1.29 → 1.1.31

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,699 @@
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 FairLaunchInterface extends Interface {
4
+ getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE" | "OPERATOR_ROLE" | "addLiquidity" | "claimInitial" | "claimVested" | "claimingEnabled" | "contribute" | "contributors" | "dexRouter" | "earlyParticipationWindow" | "enableClaiming" | "endSale" | "endTime" | "fundingToken" | "getContributorAt" | "getContributorsCount" | "getRoleAdmin" | "getSaleInfo" | "getUserInfo" | "grantRole" | "hasRole" | "initialClaimPercent" | "initialize" | "liquidityAdded" | "liquidityPercent" | "liquidityTokens" | "owner" | "projectToken" | "renounceOwnership" | "renounceRole" | "revokeRole" | "saleEnded" | "startTime" | "supportsInterface" | "tokenPrice" | "totalRaised" | "totalTokensForSale" | "tradingVault" | "transferOwnership" | "updateEarlyParticipationWindow" | "updateInitialClaimPercent" | "updateLiquidityPercent" | "updateLiquidityTokens" | "updateVestingDuration" | "userContributions" | "vestingDuration" | "vestingStartTime" | "withdrawERC20" | "withdrawLPTokens"): FunctionFragment;
5
+ getEvent(nameOrSignatureOrTopic: "ClaimingEnabled" | "Contributed" | "InitialClaimed" | "Initialized" | "LiquidityAdded" | "OwnershipTransferred" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "SaleEnded" | "TradingVaultPositionCreated" | "VestedClaimed"): EventFragment;
6
+ encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
7
+ encodeFunctionData(functionFragment: "OPERATOR_ROLE", values?: undefined): string;
8
+ encodeFunctionData(functionFragment: "addLiquidity", values?: undefined): string;
9
+ encodeFunctionData(functionFragment: "claimInitial", values?: undefined): string;
10
+ encodeFunctionData(functionFragment: "claimVested", values?: undefined): string;
11
+ encodeFunctionData(functionFragment: "claimingEnabled", values?: undefined): string;
12
+ encodeFunctionData(functionFragment: "contribute", values: [BigNumberish]): string;
13
+ encodeFunctionData(functionFragment: "contributors", values: [BigNumberish]): string;
14
+ encodeFunctionData(functionFragment: "dexRouter", values?: undefined): string;
15
+ encodeFunctionData(functionFragment: "earlyParticipationWindow", values?: undefined): string;
16
+ encodeFunctionData(functionFragment: "enableClaiming", values?: undefined): string;
17
+ encodeFunctionData(functionFragment: "endSale", values?: undefined): string;
18
+ encodeFunctionData(functionFragment: "endTime", values?: undefined): string;
19
+ encodeFunctionData(functionFragment: "fundingToken", values?: undefined): string;
20
+ encodeFunctionData(functionFragment: "getContributorAt", values: [BigNumberish]): string;
21
+ encodeFunctionData(functionFragment: "getContributorsCount", values?: undefined): string;
22
+ encodeFunctionData(functionFragment: "getRoleAdmin", values: [BytesLike]): string;
23
+ encodeFunctionData(functionFragment: "getSaleInfo", values?: undefined): string;
24
+ encodeFunctionData(functionFragment: "getUserInfo", values: [AddressLike]): string;
25
+ encodeFunctionData(functionFragment: "grantRole", values: [BytesLike, AddressLike]): string;
26
+ encodeFunctionData(functionFragment: "hasRole", values: [BytesLike, AddressLike]): string;
27
+ encodeFunctionData(functionFragment: "initialClaimPercent", values?: undefined): string;
28
+ encodeFunctionData(functionFragment: "initialize", values: [
29
+ AddressLike,
30
+ AddressLike,
31
+ AddressLike,
32
+ AddressLike,
33
+ BigNumberish,
34
+ BigNumberish,
35
+ BigNumberish,
36
+ BigNumberish,
37
+ BigNumberish,
38
+ BigNumberish,
39
+ BigNumberish,
40
+ BigNumberish
41
+ ]): string;
42
+ encodeFunctionData(functionFragment: "liquidityAdded", values?: undefined): string;
43
+ encodeFunctionData(functionFragment: "liquidityPercent", values?: undefined): string;
44
+ encodeFunctionData(functionFragment: "liquidityTokens", values?: undefined): string;
45
+ encodeFunctionData(functionFragment: "owner", values?: undefined): string;
46
+ encodeFunctionData(functionFragment: "projectToken", values?: undefined): string;
47
+ encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
48
+ encodeFunctionData(functionFragment: "renounceRole", values: [BytesLike, AddressLike]): string;
49
+ encodeFunctionData(functionFragment: "revokeRole", values: [BytesLike, AddressLike]): string;
50
+ encodeFunctionData(functionFragment: "saleEnded", values?: undefined): string;
51
+ encodeFunctionData(functionFragment: "startTime", values?: undefined): string;
52
+ encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
53
+ encodeFunctionData(functionFragment: "tokenPrice", values?: undefined): string;
54
+ encodeFunctionData(functionFragment: "totalRaised", values?: undefined): string;
55
+ encodeFunctionData(functionFragment: "totalTokensForSale", values?: undefined): string;
56
+ encodeFunctionData(functionFragment: "tradingVault", values?: undefined): string;
57
+ encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
58
+ encodeFunctionData(functionFragment: "updateEarlyParticipationWindow", values: [BigNumberish]): string;
59
+ encodeFunctionData(functionFragment: "updateInitialClaimPercent", values: [BigNumberish]): string;
60
+ encodeFunctionData(functionFragment: "updateLiquidityPercent", values: [BigNumberish]): string;
61
+ encodeFunctionData(functionFragment: "updateLiquidityTokens", values: [BigNumberish]): string;
62
+ encodeFunctionData(functionFragment: "updateVestingDuration", values: [BigNumberish]): string;
63
+ encodeFunctionData(functionFragment: "userContributions", values: [AddressLike]): string;
64
+ encodeFunctionData(functionFragment: "vestingDuration", values?: undefined): string;
65
+ encodeFunctionData(functionFragment: "vestingStartTime", values?: undefined): string;
66
+ encodeFunctionData(functionFragment: "withdrawERC20", values: [AddressLike, BigNumberish]): string;
67
+ encodeFunctionData(functionFragment: "withdrawLPTokens", values: [AddressLike, AddressLike]): string;
68
+ decodeFunctionResult(functionFragment: "DEFAULT_ADMIN_ROLE", data: BytesLike): Result;
69
+ decodeFunctionResult(functionFragment: "OPERATOR_ROLE", data: BytesLike): Result;
70
+ decodeFunctionResult(functionFragment: "addLiquidity", data: BytesLike): Result;
71
+ decodeFunctionResult(functionFragment: "claimInitial", data: BytesLike): Result;
72
+ decodeFunctionResult(functionFragment: "claimVested", data: BytesLike): Result;
73
+ decodeFunctionResult(functionFragment: "claimingEnabled", data: BytesLike): Result;
74
+ decodeFunctionResult(functionFragment: "contribute", data: BytesLike): Result;
75
+ decodeFunctionResult(functionFragment: "contributors", data: BytesLike): Result;
76
+ decodeFunctionResult(functionFragment: "dexRouter", data: BytesLike): Result;
77
+ decodeFunctionResult(functionFragment: "earlyParticipationWindow", data: BytesLike): Result;
78
+ decodeFunctionResult(functionFragment: "enableClaiming", data: BytesLike): Result;
79
+ decodeFunctionResult(functionFragment: "endSale", data: BytesLike): Result;
80
+ decodeFunctionResult(functionFragment: "endTime", data: BytesLike): Result;
81
+ decodeFunctionResult(functionFragment: "fundingToken", data: BytesLike): Result;
82
+ decodeFunctionResult(functionFragment: "getContributorAt", data: BytesLike): Result;
83
+ decodeFunctionResult(functionFragment: "getContributorsCount", data: BytesLike): Result;
84
+ decodeFunctionResult(functionFragment: "getRoleAdmin", data: BytesLike): Result;
85
+ decodeFunctionResult(functionFragment: "getSaleInfo", data: BytesLike): Result;
86
+ decodeFunctionResult(functionFragment: "getUserInfo", data: BytesLike): Result;
87
+ decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
88
+ decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
89
+ decodeFunctionResult(functionFragment: "initialClaimPercent", data: BytesLike): Result;
90
+ decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
91
+ decodeFunctionResult(functionFragment: "liquidityAdded", data: BytesLike): Result;
92
+ decodeFunctionResult(functionFragment: "liquidityPercent", data: BytesLike): Result;
93
+ decodeFunctionResult(functionFragment: "liquidityTokens", data: BytesLike): Result;
94
+ decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
95
+ decodeFunctionResult(functionFragment: "projectToken", data: BytesLike): Result;
96
+ decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
97
+ decodeFunctionResult(functionFragment: "renounceRole", data: BytesLike): Result;
98
+ decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
99
+ decodeFunctionResult(functionFragment: "saleEnded", data: BytesLike): Result;
100
+ decodeFunctionResult(functionFragment: "startTime", data: BytesLike): Result;
101
+ decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
102
+ decodeFunctionResult(functionFragment: "tokenPrice", data: BytesLike): Result;
103
+ decodeFunctionResult(functionFragment: "totalRaised", data: BytesLike): Result;
104
+ decodeFunctionResult(functionFragment: "totalTokensForSale", data: BytesLike): Result;
105
+ decodeFunctionResult(functionFragment: "tradingVault", data: BytesLike): Result;
106
+ decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
107
+ decodeFunctionResult(functionFragment: "updateEarlyParticipationWindow", data: BytesLike): Result;
108
+ decodeFunctionResult(functionFragment: "updateInitialClaimPercent", data: BytesLike): Result;
109
+ decodeFunctionResult(functionFragment: "updateLiquidityPercent", data: BytesLike): Result;
110
+ decodeFunctionResult(functionFragment: "updateLiquidityTokens", data: BytesLike): Result;
111
+ decodeFunctionResult(functionFragment: "updateVestingDuration", data: BytesLike): Result;
112
+ decodeFunctionResult(functionFragment: "userContributions", data: BytesLike): Result;
113
+ decodeFunctionResult(functionFragment: "vestingDuration", data: BytesLike): Result;
114
+ decodeFunctionResult(functionFragment: "vestingStartTime", data: BytesLike): Result;
115
+ decodeFunctionResult(functionFragment: "withdrawERC20", data: BytesLike): Result;
116
+ decodeFunctionResult(functionFragment: "withdrawLPTokens", data: BytesLike): Result;
117
+ }
118
+ export declare namespace ClaimingEnabledEvent {
119
+ type InputTuple = [];
120
+ type OutputTuple = [];
121
+ interface OutputObject {
122
+ }
123
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
124
+ type Filter = TypedDeferredTopicFilter<Event>;
125
+ type Log = TypedEventLog<Event>;
126
+ type LogDescription = TypedLogDescription<Event>;
127
+ }
128
+ export declare namespace ContributedEvent {
129
+ type InputTuple = [user: AddressLike, amount: BigNumberish];
130
+ type OutputTuple = [user: string, amount: bigint];
131
+ interface OutputObject {
132
+ user: string;
133
+ amount: bigint;
134
+ }
135
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
136
+ type Filter = TypedDeferredTopicFilter<Event>;
137
+ type Log = TypedEventLog<Event>;
138
+ type LogDescription = TypedLogDescription<Event>;
139
+ }
140
+ export declare namespace InitialClaimedEvent {
141
+ type InputTuple = [user: AddressLike, amount: BigNumberish];
142
+ type OutputTuple = [user: string, amount: bigint];
143
+ interface OutputObject {
144
+ user: string;
145
+ amount: bigint;
146
+ }
147
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
148
+ type Filter = TypedDeferredTopicFilter<Event>;
149
+ type Log = TypedEventLog<Event>;
150
+ type LogDescription = TypedLogDescription<Event>;
151
+ }
152
+ export declare namespace InitializedEvent {
153
+ type InputTuple = [version: BigNumberish];
154
+ type OutputTuple = [version: bigint];
155
+ interface OutputObject {
156
+ version: bigint;
157
+ }
158
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
159
+ type Filter = TypedDeferredTopicFilter<Event>;
160
+ type Log = TypedEventLog<Event>;
161
+ type LogDescription = TypedLogDescription<Event>;
162
+ }
163
+ export declare namespace LiquidityAddedEvent {
164
+ type InputTuple = [
165
+ tokenAmount: BigNumberish,
166
+ fundingTokenAmount: BigNumberish
167
+ ];
168
+ type OutputTuple = [tokenAmount: bigint, fundingTokenAmount: bigint];
169
+ interface OutputObject {
170
+ tokenAmount: bigint;
171
+ fundingTokenAmount: bigint;
172
+ }
173
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
174
+ type Filter = TypedDeferredTopicFilter<Event>;
175
+ type Log = TypedEventLog<Event>;
176
+ type LogDescription = TypedLogDescription<Event>;
177
+ }
178
+ export declare namespace OwnershipTransferredEvent {
179
+ type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
180
+ type OutputTuple = [previousOwner: string, newOwner: string];
181
+ interface OutputObject {
182
+ previousOwner: string;
183
+ newOwner: string;
184
+ }
185
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
186
+ type Filter = TypedDeferredTopicFilter<Event>;
187
+ type Log = TypedEventLog<Event>;
188
+ type LogDescription = TypedLogDescription<Event>;
189
+ }
190
+ export declare namespace RoleAdminChangedEvent {
191
+ type InputTuple = [
192
+ role: BytesLike,
193
+ previousAdminRole: BytesLike,
194
+ newAdminRole: BytesLike
195
+ ];
196
+ type OutputTuple = [
197
+ role: string,
198
+ previousAdminRole: string,
199
+ newAdminRole: string
200
+ ];
201
+ interface OutputObject {
202
+ role: string;
203
+ previousAdminRole: string;
204
+ newAdminRole: 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 RoleGrantedEvent {
212
+ type InputTuple = [
213
+ role: BytesLike,
214
+ account: AddressLike,
215
+ sender: AddressLike
216
+ ];
217
+ type OutputTuple = [role: string, account: string, sender: string];
218
+ interface OutputObject {
219
+ role: string;
220
+ account: string;
221
+ sender: string;
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 RoleRevokedEvent {
229
+ type InputTuple = [
230
+ role: BytesLike,
231
+ account: AddressLike,
232
+ sender: AddressLike
233
+ ];
234
+ type OutputTuple = [role: string, account: string, sender: string];
235
+ interface OutputObject {
236
+ role: string;
237
+ account: string;
238
+ sender: string;
239
+ }
240
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
241
+ type Filter = TypedDeferredTopicFilter<Event>;
242
+ type Log = TypedEventLog<Event>;
243
+ type LogDescription = TypedLogDescription<Event>;
244
+ }
245
+ export declare namespace SaleEndedEvent {
246
+ type InputTuple = [
247
+ totalRaised: BigNumberish,
248
+ tokenPrice: BigNumberish
249
+ ];
250
+ type OutputTuple = [totalRaised: bigint, tokenPrice: bigint];
251
+ interface OutputObject {
252
+ totalRaised: bigint;
253
+ tokenPrice: bigint;
254
+ }
255
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
256
+ type Filter = TypedDeferredTopicFilter<Event>;
257
+ type Log = TypedEventLog<Event>;
258
+ type LogDescription = TypedLogDescription<Event>;
259
+ }
260
+ export declare namespace TradingVaultPositionCreatedEvent {
261
+ type InputTuple = [
262
+ user: AddressLike,
263
+ positionId: BigNumberish,
264
+ amount: BigNumberish
265
+ ];
266
+ type OutputTuple = [user: string, positionId: bigint, amount: bigint];
267
+ interface OutputObject {
268
+ user: string;
269
+ positionId: bigint;
270
+ amount: bigint;
271
+ }
272
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
273
+ type Filter = TypedDeferredTopicFilter<Event>;
274
+ type Log = TypedEventLog<Event>;
275
+ type LogDescription = TypedLogDescription<Event>;
276
+ }
277
+ export declare namespace VestedClaimedEvent {
278
+ type InputTuple = [user: AddressLike, amount: BigNumberish];
279
+ type OutputTuple = [user: string, amount: bigint];
280
+ interface OutputObject {
281
+ user: string;
282
+ amount: bigint;
283
+ }
284
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
285
+ type Filter = TypedDeferredTopicFilter<Event>;
286
+ type Log = TypedEventLog<Event>;
287
+ type LogDescription = TypedLogDescription<Event>;
288
+ }
289
+ export interface FairLaunch extends BaseContract {
290
+ connect(runner?: ContractRunner | null): FairLaunch;
291
+ waitForDeployment(): Promise<this>;
292
+ interface: FairLaunchInterface;
293
+ queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
294
+ queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
295
+ on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
296
+ on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
297
+ once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
298
+ once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
299
+ listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
300
+ listeners(eventName?: string): Promise<Array<Listener>>;
301
+ removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
302
+ DEFAULT_ADMIN_ROLE: TypedContractMethod<[], [string], "view">;
303
+ OPERATOR_ROLE: TypedContractMethod<[], [string], "view">;
304
+ addLiquidity: TypedContractMethod<[], [void], "nonpayable">;
305
+ claimInitial: TypedContractMethod<[], [void], "nonpayable">;
306
+ claimVested: TypedContractMethod<[], [void], "nonpayable">;
307
+ claimingEnabled: TypedContractMethod<[], [boolean], "view">;
308
+ contribute: TypedContractMethod<[
309
+ _amount: BigNumberish
310
+ ], [
311
+ void
312
+ ], "nonpayable">;
313
+ contributors: TypedContractMethod<[arg0: BigNumberish], [string], "view">;
314
+ dexRouter: TypedContractMethod<[], [string], "view">;
315
+ earlyParticipationWindow: TypedContractMethod<[], [bigint], "view">;
316
+ enableClaiming: TypedContractMethod<[], [void], "nonpayable">;
317
+ endSale: TypedContractMethod<[], [void], "nonpayable">;
318
+ endTime: TypedContractMethod<[], [bigint], "view">;
319
+ fundingToken: TypedContractMethod<[], [string], "view">;
320
+ getContributorAt: TypedContractMethod<[
321
+ _index: BigNumberish
322
+ ], [
323
+ string
324
+ ], "view">;
325
+ getContributorsCount: TypedContractMethod<[], [bigint], "view">;
326
+ getRoleAdmin: TypedContractMethod<[role: BytesLike], [string], "view">;
327
+ getSaleInfo: TypedContractMethod<[
328
+ ], [
329
+ [
330
+ bigint,
331
+ bigint,
332
+ bigint,
333
+ bigint,
334
+ bigint,
335
+ boolean,
336
+ boolean,
337
+ boolean
338
+ ] & {
339
+ _startTime: bigint;
340
+ _endTime: bigint;
341
+ _totalTokensForSale: bigint;
342
+ _totalRaised: bigint;
343
+ _tokenPrice: bigint;
344
+ _saleEnded: boolean;
345
+ _claimingEnabled: boolean;
346
+ _liquidityAdded: boolean;
347
+ }
348
+ ], "view">;
349
+ getUserInfo: TypedContractMethod<[
350
+ _user: AddressLike
351
+ ], [
352
+ [
353
+ bigint,
354
+ bigint,
355
+ boolean,
356
+ bigint,
357
+ bigint,
358
+ bigint,
359
+ bigint
360
+ ] & {
361
+ amount: bigint;
362
+ tokenAllocation: bigint;
363
+ hasClaimedInitial: boolean;
364
+ vestedClaimed: bigint;
365
+ tradingVaultId: bigint;
366
+ claimableInitial: bigint;
367
+ claimableVested: bigint;
368
+ }
369
+ ], "view">;
370
+ grantRole: TypedContractMethod<[
371
+ role: BytesLike,
372
+ account: AddressLike
373
+ ], [
374
+ void
375
+ ], "nonpayable">;
376
+ hasRole: TypedContractMethod<[
377
+ role: BytesLike,
378
+ account: AddressLike
379
+ ], [
380
+ boolean
381
+ ], "view">;
382
+ initialClaimPercent: TypedContractMethod<[], [bigint], "view">;
383
+ initialize: TypedContractMethod<[
384
+ _projectToken: AddressLike,
385
+ _fundingToken: AddressLike,
386
+ _tradingVault: AddressLike,
387
+ _dexRouter: AddressLike,
388
+ _startTime: BigNumberish,
389
+ _endTime: BigNumberish,
390
+ _totalTokensForSale: BigNumberish,
391
+ _liquidityTokens: BigNumberish,
392
+ _liquidityPercent: BigNumberish,
393
+ _initialClaimPercent: BigNumberish,
394
+ _vestingDuration: BigNumberish,
395
+ _earlyParticipationWindow: BigNumberish
396
+ ], [
397
+ void
398
+ ], "nonpayable">;
399
+ liquidityAdded: TypedContractMethod<[], [boolean], "view">;
400
+ liquidityPercent: TypedContractMethod<[], [bigint], "view">;
401
+ liquidityTokens: TypedContractMethod<[], [bigint], "view">;
402
+ owner: TypedContractMethod<[], [string], "view">;
403
+ projectToken: TypedContractMethod<[], [string], "view">;
404
+ renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
405
+ renounceRole: TypedContractMethod<[
406
+ role: BytesLike,
407
+ callerConfirmation: AddressLike
408
+ ], [
409
+ void
410
+ ], "nonpayable">;
411
+ revokeRole: TypedContractMethod<[
412
+ role: BytesLike,
413
+ account: AddressLike
414
+ ], [
415
+ void
416
+ ], "nonpayable">;
417
+ saleEnded: TypedContractMethod<[], [boolean], "view">;
418
+ startTime: TypedContractMethod<[], [bigint], "view">;
419
+ supportsInterface: TypedContractMethod<[
420
+ interfaceId: BytesLike
421
+ ], [
422
+ boolean
423
+ ], "view">;
424
+ tokenPrice: TypedContractMethod<[], [bigint], "view">;
425
+ totalRaised: TypedContractMethod<[], [bigint], "view">;
426
+ totalTokensForSale: TypedContractMethod<[], [bigint], "view">;
427
+ tradingVault: TypedContractMethod<[], [string], "view">;
428
+ transferOwnership: TypedContractMethod<[
429
+ newOwner: AddressLike
430
+ ], [
431
+ void
432
+ ], "nonpayable">;
433
+ updateEarlyParticipationWindow: TypedContractMethod<[
434
+ _earlyParticipationWindow: BigNumberish
435
+ ], [
436
+ void
437
+ ], "nonpayable">;
438
+ updateInitialClaimPercent: TypedContractMethod<[
439
+ _initialClaimPercent: BigNumberish
440
+ ], [
441
+ void
442
+ ], "nonpayable">;
443
+ updateLiquidityPercent: TypedContractMethod<[
444
+ _liquidityPercent: BigNumberish
445
+ ], [
446
+ void
447
+ ], "nonpayable">;
448
+ updateLiquidityTokens: TypedContractMethod<[
449
+ _liquidityTokens: BigNumberish
450
+ ], [
451
+ void
452
+ ], "nonpayable">;
453
+ updateVestingDuration: TypedContractMethod<[
454
+ _vestingDuration: BigNumberish
455
+ ], [
456
+ void
457
+ ], "nonpayable">;
458
+ userContributions: TypedContractMethod<[
459
+ arg0: AddressLike
460
+ ], [
461
+ [
462
+ bigint,
463
+ bigint,
464
+ boolean,
465
+ bigint,
466
+ bigint
467
+ ] & {
468
+ amount: bigint;
469
+ tokenAllocation: bigint;
470
+ hasClaimedInitial: boolean;
471
+ vestedClaimed: bigint;
472
+ tradingVaultId: bigint;
473
+ }
474
+ ], "view">;
475
+ vestingDuration: TypedContractMethod<[], [bigint], "view">;
476
+ vestingStartTime: TypedContractMethod<[], [bigint], "view">;
477
+ withdrawERC20: TypedContractMethod<[
478
+ _token: AddressLike,
479
+ _amount: BigNumberish
480
+ ], [
481
+ void
482
+ ], "nonpayable">;
483
+ withdrawLPTokens: TypedContractMethod<[
484
+ _lpToken: AddressLike,
485
+ _recipient: AddressLike
486
+ ], [
487
+ void
488
+ ], "nonpayable">;
489
+ getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
490
+ getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE"): TypedContractMethod<[], [string], "view">;
491
+ getFunction(nameOrSignature: "OPERATOR_ROLE"): TypedContractMethod<[], [string], "view">;
492
+ getFunction(nameOrSignature: "addLiquidity"): TypedContractMethod<[], [void], "nonpayable">;
493
+ getFunction(nameOrSignature: "claimInitial"): TypedContractMethod<[], [void], "nonpayable">;
494
+ getFunction(nameOrSignature: "claimVested"): TypedContractMethod<[], [void], "nonpayable">;
495
+ getFunction(nameOrSignature: "claimingEnabled"): TypedContractMethod<[], [boolean], "view">;
496
+ getFunction(nameOrSignature: "contribute"): TypedContractMethod<[_amount: BigNumberish], [void], "nonpayable">;
497
+ getFunction(nameOrSignature: "contributors"): TypedContractMethod<[arg0: BigNumberish], [string], "view">;
498
+ getFunction(nameOrSignature: "dexRouter"): TypedContractMethod<[], [string], "view">;
499
+ getFunction(nameOrSignature: "earlyParticipationWindow"): TypedContractMethod<[], [bigint], "view">;
500
+ getFunction(nameOrSignature: "enableClaiming"): TypedContractMethod<[], [void], "nonpayable">;
501
+ getFunction(nameOrSignature: "endSale"): TypedContractMethod<[], [void], "nonpayable">;
502
+ getFunction(nameOrSignature: "endTime"): TypedContractMethod<[], [bigint], "view">;
503
+ getFunction(nameOrSignature: "fundingToken"): TypedContractMethod<[], [string], "view">;
504
+ getFunction(nameOrSignature: "getContributorAt"): TypedContractMethod<[_index: BigNumberish], [string], "view">;
505
+ getFunction(nameOrSignature: "getContributorsCount"): TypedContractMethod<[], [bigint], "view">;
506
+ getFunction(nameOrSignature: "getRoleAdmin"): TypedContractMethod<[role: BytesLike], [string], "view">;
507
+ getFunction(nameOrSignature: "getSaleInfo"): TypedContractMethod<[
508
+ ], [
509
+ [
510
+ bigint,
511
+ bigint,
512
+ bigint,
513
+ bigint,
514
+ bigint,
515
+ boolean,
516
+ boolean,
517
+ boolean
518
+ ] & {
519
+ _startTime: bigint;
520
+ _endTime: bigint;
521
+ _totalTokensForSale: bigint;
522
+ _totalRaised: bigint;
523
+ _tokenPrice: bigint;
524
+ _saleEnded: boolean;
525
+ _claimingEnabled: boolean;
526
+ _liquidityAdded: boolean;
527
+ }
528
+ ], "view">;
529
+ getFunction(nameOrSignature: "getUserInfo"): TypedContractMethod<[
530
+ _user: AddressLike
531
+ ], [
532
+ [
533
+ bigint,
534
+ bigint,
535
+ boolean,
536
+ bigint,
537
+ bigint,
538
+ bigint,
539
+ bigint
540
+ ] & {
541
+ amount: bigint;
542
+ tokenAllocation: bigint;
543
+ hasClaimedInitial: boolean;
544
+ vestedClaimed: bigint;
545
+ tradingVaultId: bigint;
546
+ claimableInitial: bigint;
547
+ claimableVested: bigint;
548
+ }
549
+ ], "view">;
550
+ getFunction(nameOrSignature: "grantRole"): TypedContractMethod<[
551
+ role: BytesLike,
552
+ account: AddressLike
553
+ ], [
554
+ void
555
+ ], "nonpayable">;
556
+ getFunction(nameOrSignature: "hasRole"): TypedContractMethod<[
557
+ role: BytesLike,
558
+ account: AddressLike
559
+ ], [
560
+ boolean
561
+ ], "view">;
562
+ getFunction(nameOrSignature: "initialClaimPercent"): TypedContractMethod<[], [bigint], "view">;
563
+ getFunction(nameOrSignature: "initialize"): TypedContractMethod<[
564
+ _projectToken: AddressLike,
565
+ _fundingToken: AddressLike,
566
+ _tradingVault: AddressLike,
567
+ _dexRouter: AddressLike,
568
+ _startTime: BigNumberish,
569
+ _endTime: BigNumberish,
570
+ _totalTokensForSale: BigNumberish,
571
+ _liquidityTokens: BigNumberish,
572
+ _liquidityPercent: BigNumberish,
573
+ _initialClaimPercent: BigNumberish,
574
+ _vestingDuration: BigNumberish,
575
+ _earlyParticipationWindow: BigNumberish
576
+ ], [
577
+ void
578
+ ], "nonpayable">;
579
+ getFunction(nameOrSignature: "liquidityAdded"): TypedContractMethod<[], [boolean], "view">;
580
+ getFunction(nameOrSignature: "liquidityPercent"): TypedContractMethod<[], [bigint], "view">;
581
+ getFunction(nameOrSignature: "liquidityTokens"): TypedContractMethod<[], [bigint], "view">;
582
+ getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
583
+ getFunction(nameOrSignature: "projectToken"): TypedContractMethod<[], [string], "view">;
584
+ getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">;
585
+ getFunction(nameOrSignature: "renounceRole"): TypedContractMethod<[
586
+ role: BytesLike,
587
+ callerConfirmation: AddressLike
588
+ ], [
589
+ void
590
+ ], "nonpayable">;
591
+ getFunction(nameOrSignature: "revokeRole"): TypedContractMethod<[
592
+ role: BytesLike,
593
+ account: AddressLike
594
+ ], [
595
+ void
596
+ ], "nonpayable">;
597
+ getFunction(nameOrSignature: "saleEnded"): TypedContractMethod<[], [boolean], "view">;
598
+ getFunction(nameOrSignature: "startTime"): TypedContractMethod<[], [bigint], "view">;
599
+ getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
600
+ getFunction(nameOrSignature: "tokenPrice"): TypedContractMethod<[], [bigint], "view">;
601
+ getFunction(nameOrSignature: "totalRaised"): TypedContractMethod<[], [bigint], "view">;
602
+ getFunction(nameOrSignature: "totalTokensForSale"): TypedContractMethod<[], [bigint], "view">;
603
+ getFunction(nameOrSignature: "tradingVault"): TypedContractMethod<[], [string], "view">;
604
+ getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
605
+ getFunction(nameOrSignature: "updateEarlyParticipationWindow"): TypedContractMethod<[
606
+ _earlyParticipationWindow: BigNumberish
607
+ ], [
608
+ void
609
+ ], "nonpayable">;
610
+ getFunction(nameOrSignature: "updateInitialClaimPercent"): TypedContractMethod<[
611
+ _initialClaimPercent: BigNumberish
612
+ ], [
613
+ void
614
+ ], "nonpayable">;
615
+ getFunction(nameOrSignature: "updateLiquidityPercent"): TypedContractMethod<[
616
+ _liquidityPercent: BigNumberish
617
+ ], [
618
+ void
619
+ ], "nonpayable">;
620
+ getFunction(nameOrSignature: "updateLiquidityTokens"): TypedContractMethod<[
621
+ _liquidityTokens: BigNumberish
622
+ ], [
623
+ void
624
+ ], "nonpayable">;
625
+ getFunction(nameOrSignature: "updateVestingDuration"): TypedContractMethod<[
626
+ _vestingDuration: BigNumberish
627
+ ], [
628
+ void
629
+ ], "nonpayable">;
630
+ getFunction(nameOrSignature: "userContributions"): TypedContractMethod<[
631
+ arg0: AddressLike
632
+ ], [
633
+ [
634
+ bigint,
635
+ bigint,
636
+ boolean,
637
+ bigint,
638
+ bigint
639
+ ] & {
640
+ amount: bigint;
641
+ tokenAllocation: bigint;
642
+ hasClaimedInitial: boolean;
643
+ vestedClaimed: bigint;
644
+ tradingVaultId: bigint;
645
+ }
646
+ ], "view">;
647
+ getFunction(nameOrSignature: "vestingDuration"): TypedContractMethod<[], [bigint], "view">;
648
+ getFunction(nameOrSignature: "vestingStartTime"): TypedContractMethod<[], [bigint], "view">;
649
+ getFunction(nameOrSignature: "withdrawERC20"): TypedContractMethod<[
650
+ _token: AddressLike,
651
+ _amount: BigNumberish
652
+ ], [
653
+ void
654
+ ], "nonpayable">;
655
+ getFunction(nameOrSignature: "withdrawLPTokens"): TypedContractMethod<[
656
+ _lpToken: AddressLike,
657
+ _recipient: AddressLike
658
+ ], [
659
+ void
660
+ ], "nonpayable">;
661
+ getEvent(key: "ClaimingEnabled"): TypedContractEvent<ClaimingEnabledEvent.InputTuple, ClaimingEnabledEvent.OutputTuple, ClaimingEnabledEvent.OutputObject>;
662
+ getEvent(key: "Contributed"): TypedContractEvent<ContributedEvent.InputTuple, ContributedEvent.OutputTuple, ContributedEvent.OutputObject>;
663
+ getEvent(key: "InitialClaimed"): TypedContractEvent<InitialClaimedEvent.InputTuple, InitialClaimedEvent.OutputTuple, InitialClaimedEvent.OutputObject>;
664
+ getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
665
+ getEvent(key: "LiquidityAdded"): TypedContractEvent<LiquidityAddedEvent.InputTuple, LiquidityAddedEvent.OutputTuple, LiquidityAddedEvent.OutputObject>;
666
+ getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
667
+ getEvent(key: "RoleAdminChanged"): TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
668
+ getEvent(key: "RoleGranted"): TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
669
+ getEvent(key: "RoleRevoked"): TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
670
+ getEvent(key: "SaleEnded"): TypedContractEvent<SaleEndedEvent.InputTuple, SaleEndedEvent.OutputTuple, SaleEndedEvent.OutputObject>;
671
+ getEvent(key: "TradingVaultPositionCreated"): TypedContractEvent<TradingVaultPositionCreatedEvent.InputTuple, TradingVaultPositionCreatedEvent.OutputTuple, TradingVaultPositionCreatedEvent.OutputObject>;
672
+ getEvent(key: "VestedClaimed"): TypedContractEvent<VestedClaimedEvent.InputTuple, VestedClaimedEvent.OutputTuple, VestedClaimedEvent.OutputObject>;
673
+ filters: {
674
+ "ClaimingEnabled()": TypedContractEvent<ClaimingEnabledEvent.InputTuple, ClaimingEnabledEvent.OutputTuple, ClaimingEnabledEvent.OutputObject>;
675
+ ClaimingEnabled: TypedContractEvent<ClaimingEnabledEvent.InputTuple, ClaimingEnabledEvent.OutputTuple, ClaimingEnabledEvent.OutputObject>;
676
+ "Contributed(address,uint256)": TypedContractEvent<ContributedEvent.InputTuple, ContributedEvent.OutputTuple, ContributedEvent.OutputObject>;
677
+ Contributed: TypedContractEvent<ContributedEvent.InputTuple, ContributedEvent.OutputTuple, ContributedEvent.OutputObject>;
678
+ "InitialClaimed(address,uint256)": TypedContractEvent<InitialClaimedEvent.InputTuple, InitialClaimedEvent.OutputTuple, InitialClaimedEvent.OutputObject>;
679
+ InitialClaimed: TypedContractEvent<InitialClaimedEvent.InputTuple, InitialClaimedEvent.OutputTuple, InitialClaimedEvent.OutputObject>;
680
+ "Initialized(uint64)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
681
+ Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
682
+ "LiquidityAdded(uint256,uint256)": TypedContractEvent<LiquidityAddedEvent.InputTuple, LiquidityAddedEvent.OutputTuple, LiquidityAddedEvent.OutputObject>;
683
+ LiquidityAdded: TypedContractEvent<LiquidityAddedEvent.InputTuple, LiquidityAddedEvent.OutputTuple, LiquidityAddedEvent.OutputObject>;
684
+ "OwnershipTransferred(address,address)": TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
685
+ OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
686
+ "RoleAdminChanged(bytes32,bytes32,bytes32)": TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
687
+ RoleAdminChanged: TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
688
+ "RoleGranted(bytes32,address,address)": TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
689
+ RoleGranted: TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
690
+ "RoleRevoked(bytes32,address,address)": TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
691
+ RoleRevoked: TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
692
+ "SaleEnded(uint256,uint256)": TypedContractEvent<SaleEndedEvent.InputTuple, SaleEndedEvent.OutputTuple, SaleEndedEvent.OutputObject>;
693
+ SaleEnded: TypedContractEvent<SaleEndedEvent.InputTuple, SaleEndedEvent.OutputTuple, SaleEndedEvent.OutputObject>;
694
+ "TradingVaultPositionCreated(address,uint256,uint256)": TypedContractEvent<TradingVaultPositionCreatedEvent.InputTuple, TradingVaultPositionCreatedEvent.OutputTuple, TradingVaultPositionCreatedEvent.OutputObject>;
695
+ TradingVaultPositionCreated: TypedContractEvent<TradingVaultPositionCreatedEvent.InputTuple, TradingVaultPositionCreatedEvent.OutputTuple, TradingVaultPositionCreatedEvent.OutputObject>;
696
+ "VestedClaimed(address,uint256)": TypedContractEvent<VestedClaimedEvent.InputTuple, VestedClaimedEvent.OutputTuple, VestedClaimedEvent.OutputObject>;
697
+ VestedClaimed: TypedContractEvent<VestedClaimedEvent.InputTuple, VestedClaimedEvent.OutputTuple, VestedClaimedEvent.OutputObject>;
698
+ };
699
+ }