aiia-vault-sdk 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/SeedRoundFundraiser.ts +742 -0
  2. package/TradingVault.ts +863 -0
  3. package/abis/SeedRoundFundraiser.json +1519 -0
  4. package/abis/TradingVault.json +1647 -0
  5. package/common.ts +131 -0
  6. package/contracts/SeedRoundFundraiser.ts +1670 -0
  7. package/contracts/TradingVault.ts +1752 -0
  8. package/contracts/common.ts +131 -0
  9. package/contracts/factories/SeedRoundFundraiser__factory.ts +1495 -0
  10. package/contracts/factories/index.ts +4 -0
  11. package/contracts/index.ts +6 -0
  12. package/contracts.json +28 -0
  13. package/dist/SeedRoundFundraiser.d.ts +130 -0
  14. package/dist/SeedRoundFundraiser.js +445 -0
  15. package/dist/TradingVault.d.ts +175 -0
  16. package/dist/TradingVault.js +521 -0
  17. package/dist/abis/SeedRoundFundraiser.json +1519 -0
  18. package/dist/abis/TradingVault.json +1647 -0
  19. package/dist/common.d.ts +50 -0
  20. package/dist/common.js +2 -0
  21. package/dist/contracts/SeedRoundFundraiser.d.ts +936 -0
  22. package/dist/contracts/SeedRoundFundraiser.js +2 -0
  23. package/dist/contracts/TradingVault.d.ts +930 -0
  24. package/dist/contracts/TradingVault.js +2 -0
  25. package/dist/contracts.json +28 -0
  26. package/dist/index.d.ts +3 -0
  27. package/dist/index.js +19 -0
  28. package/dist/types.d.ts +291 -0
  29. package/dist/types.js +2 -0
  30. package/dist/utils.d.ts +95 -0
  31. package/dist/utils.js +370 -0
  32. package/dist/whitelist-tokens.json +14 -0
  33. package/index.ts +3 -0
  34. package/package.json +21 -0
  35. package/temp/aiia-vault-sdk-1.0.0.tgz +0 -0
  36. package/tsconfig.json +15 -0
  37. package/types.ts +301 -0
  38. package/utils.ts +576 -0
  39. package/whitelist-tokens.json +14 -0
@@ -0,0 +1,936 @@
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 SeedRoundFundraiserInterface extends Interface {
4
+ getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE" | "ETH_ADDRESS" | "OPERATOR_ROLE" | "PRICE_PRECISION" | "addWhitelistedToken" | "claimTokens" | "claimTokensByRoundId" | "contribute" | "createRound" | "endRound" | "getRoleAdmin" | "getRoundsCount" | "getUserParticipatedRound" | "getUserRoundContribution" | "getUserTotalContribution" | "grantOperatorRole" | "grantRole" | "hasRole" | "initialize" | "isRoundActive" | "owner" | "projectToken" | "refund" | "removeWhitelistedToken" | "renounceOwnership" | "renounceRole" | "revokeRole" | "roundParticipants" | "roundRaisedFunds" | "rounds" | "setClaimingEnabled" | "setMultiRoundParticipation" | "setProjectToken" | "setRefundEnabled" | "supportsInterface" | "totalRaisedFunds" | "totalRounds" | "transferOwnership" | "updateRound" | "updateTokenPrice" | "userContributions" | "userParticipatedRound" | "whitelistedTokens" | "withdrawFunds"): FunctionFragment;
5
+ getEvent(nameOrSignatureOrTopic: "ClaimingEnabledUpdated" | "Contribution" | "Initialized" | "MultiRoundParticipationUpdated" | "OwnershipTransferred" | "ProjectTokenUpdated" | "RefundEnabledUpdated" | "Refunded" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "RoundCreated" | "RoundEnded" | "RoundUpdated" | "TokenPriceUpdated" | "TokenRemovedFromWhitelist" | "TokenWhitelisted" | "TokensClaimed"): EventFragment;
6
+ encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
7
+ encodeFunctionData(functionFragment: "ETH_ADDRESS", values?: undefined): string;
8
+ encodeFunctionData(functionFragment: "OPERATOR_ROLE", values?: undefined): string;
9
+ encodeFunctionData(functionFragment: "PRICE_PRECISION", values?: undefined): string;
10
+ encodeFunctionData(functionFragment: "addWhitelistedToken", values: [AddressLike, BigNumberish]): string;
11
+ encodeFunctionData(functionFragment: "claimTokens", values?: undefined): string;
12
+ encodeFunctionData(functionFragment: "claimTokensByRoundId", values: [BigNumberish]): string;
13
+ encodeFunctionData(functionFragment: "contribute", values: [BigNumberish, AddressLike, BigNumberish]): string;
14
+ encodeFunctionData(functionFragment: "createRound", values: [
15
+ BigNumberish,
16
+ BigNumberish,
17
+ BigNumberish,
18
+ BigNumberish,
19
+ BigNumberish
20
+ ]): string;
21
+ encodeFunctionData(functionFragment: "endRound", values: [BigNumberish]): string;
22
+ encodeFunctionData(functionFragment: "getRoleAdmin", values: [BytesLike]): string;
23
+ encodeFunctionData(functionFragment: "getRoundsCount", values?: undefined): string;
24
+ encodeFunctionData(functionFragment: "getUserParticipatedRound", values: [AddressLike]): string;
25
+ encodeFunctionData(functionFragment: "getUserRoundContribution", values: [BigNumberish, AddressLike]): string;
26
+ encodeFunctionData(functionFragment: "getUserTotalContribution", values: [AddressLike]): string;
27
+ encodeFunctionData(functionFragment: "grantOperatorRole", values: [AddressLike]): string;
28
+ encodeFunctionData(functionFragment: "grantRole", values: [BytesLike, AddressLike]): string;
29
+ encodeFunctionData(functionFragment: "hasRole", values: [BytesLike, AddressLike]): string;
30
+ encodeFunctionData(functionFragment: "initialize", values: [AddressLike]): string;
31
+ encodeFunctionData(functionFragment: "isRoundActive", values: [BigNumberish]): string;
32
+ encodeFunctionData(functionFragment: "owner", values?: undefined): string;
33
+ encodeFunctionData(functionFragment: "projectToken", values?: undefined): string;
34
+ encodeFunctionData(functionFragment: "refund", values?: undefined): string;
35
+ encodeFunctionData(functionFragment: "removeWhitelistedToken", values: [AddressLike]): string;
36
+ encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
37
+ encodeFunctionData(functionFragment: "renounceRole", values: [BytesLike, AddressLike]): string;
38
+ encodeFunctionData(functionFragment: "revokeRole", values: [BytesLike, AddressLike]): string;
39
+ encodeFunctionData(functionFragment: "roundParticipants", values: [BigNumberish]): string;
40
+ encodeFunctionData(functionFragment: "roundRaisedFunds", values: [BigNumberish]): string;
41
+ encodeFunctionData(functionFragment: "rounds", values: [BigNumberish]): string;
42
+ encodeFunctionData(functionFragment: "setClaimingEnabled", values: [BigNumberish, boolean]): string;
43
+ encodeFunctionData(functionFragment: "setMultiRoundParticipation", values: [BigNumberish, boolean]): string;
44
+ encodeFunctionData(functionFragment: "setProjectToken", values: [AddressLike]): string;
45
+ encodeFunctionData(functionFragment: "setRefundEnabled", values: [BigNumberish, boolean]): string;
46
+ encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
47
+ encodeFunctionData(functionFragment: "totalRaisedFunds", values?: undefined): string;
48
+ encodeFunctionData(functionFragment: "totalRounds", values?: undefined): string;
49
+ encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
50
+ encodeFunctionData(functionFragment: "updateRound", values: [
51
+ BigNumberish,
52
+ BigNumberish,
53
+ BigNumberish,
54
+ BigNumberish,
55
+ BigNumberish,
56
+ BigNumberish
57
+ ]): string;
58
+ encodeFunctionData(functionFragment: "updateTokenPrice", values: [AddressLike, BigNumberish]): string;
59
+ encodeFunctionData(functionFragment: "userContributions", values: [BigNumberish, AddressLike]): string;
60
+ encodeFunctionData(functionFragment: "userParticipatedRound", values: [AddressLike]): string;
61
+ encodeFunctionData(functionFragment: "whitelistedTokens", values: [AddressLike]): string;
62
+ encodeFunctionData(functionFragment: "withdrawFunds", values: [AddressLike, BigNumberish]): string;
63
+ decodeFunctionResult(functionFragment: "DEFAULT_ADMIN_ROLE", data: BytesLike): Result;
64
+ decodeFunctionResult(functionFragment: "ETH_ADDRESS", data: BytesLike): Result;
65
+ decodeFunctionResult(functionFragment: "OPERATOR_ROLE", data: BytesLike): Result;
66
+ decodeFunctionResult(functionFragment: "PRICE_PRECISION", data: BytesLike): Result;
67
+ decodeFunctionResult(functionFragment: "addWhitelistedToken", data: BytesLike): Result;
68
+ decodeFunctionResult(functionFragment: "claimTokens", data: BytesLike): Result;
69
+ decodeFunctionResult(functionFragment: "claimTokensByRoundId", data: BytesLike): Result;
70
+ decodeFunctionResult(functionFragment: "contribute", data: BytesLike): Result;
71
+ decodeFunctionResult(functionFragment: "createRound", data: BytesLike): Result;
72
+ decodeFunctionResult(functionFragment: "endRound", data: BytesLike): Result;
73
+ decodeFunctionResult(functionFragment: "getRoleAdmin", data: BytesLike): Result;
74
+ decodeFunctionResult(functionFragment: "getRoundsCount", data: BytesLike): Result;
75
+ decodeFunctionResult(functionFragment: "getUserParticipatedRound", data: BytesLike): Result;
76
+ decodeFunctionResult(functionFragment: "getUserRoundContribution", data: BytesLike): Result;
77
+ decodeFunctionResult(functionFragment: "getUserTotalContribution", data: BytesLike): Result;
78
+ decodeFunctionResult(functionFragment: "grantOperatorRole", data: BytesLike): Result;
79
+ decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
80
+ decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
81
+ decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
82
+ decodeFunctionResult(functionFragment: "isRoundActive", data: BytesLike): Result;
83
+ decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
84
+ decodeFunctionResult(functionFragment: "projectToken", data: BytesLike): Result;
85
+ decodeFunctionResult(functionFragment: "refund", data: BytesLike): Result;
86
+ decodeFunctionResult(functionFragment: "removeWhitelistedToken", data: BytesLike): Result;
87
+ decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
88
+ decodeFunctionResult(functionFragment: "renounceRole", data: BytesLike): Result;
89
+ decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
90
+ decodeFunctionResult(functionFragment: "roundParticipants", data: BytesLike): Result;
91
+ decodeFunctionResult(functionFragment: "roundRaisedFunds", data: BytesLike): Result;
92
+ decodeFunctionResult(functionFragment: "rounds", data: BytesLike): Result;
93
+ decodeFunctionResult(functionFragment: "setClaimingEnabled", data: BytesLike): Result;
94
+ decodeFunctionResult(functionFragment: "setMultiRoundParticipation", data: BytesLike): Result;
95
+ decodeFunctionResult(functionFragment: "setProjectToken", data: BytesLike): Result;
96
+ decodeFunctionResult(functionFragment: "setRefundEnabled", data: BytesLike): Result;
97
+ decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
98
+ decodeFunctionResult(functionFragment: "totalRaisedFunds", data: BytesLike): Result;
99
+ decodeFunctionResult(functionFragment: "totalRounds", data: BytesLike): Result;
100
+ decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
101
+ decodeFunctionResult(functionFragment: "updateRound", data: BytesLike): Result;
102
+ decodeFunctionResult(functionFragment: "updateTokenPrice", data: BytesLike): Result;
103
+ decodeFunctionResult(functionFragment: "userContributions", data: BytesLike): Result;
104
+ decodeFunctionResult(functionFragment: "userParticipatedRound", data: BytesLike): Result;
105
+ decodeFunctionResult(functionFragment: "whitelistedTokens", data: BytesLike): Result;
106
+ decodeFunctionResult(functionFragment: "withdrawFunds", data: BytesLike): Result;
107
+ }
108
+ export declare namespace ClaimingEnabledUpdatedEvent {
109
+ type InputTuple = [roundId: BigNumberish, enabled: boolean];
110
+ type OutputTuple = [roundId: bigint, enabled: boolean];
111
+ interface OutputObject {
112
+ roundId: bigint;
113
+ enabled: boolean;
114
+ }
115
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
116
+ type Filter = TypedDeferredTopicFilter<Event>;
117
+ type Log = TypedEventLog<Event>;
118
+ type LogDescription = TypedLogDescription<Event>;
119
+ }
120
+ export declare namespace ContributionEvent {
121
+ type InputTuple = [
122
+ roundId: BigNumberish,
123
+ contributor: AddressLike,
124
+ token: AddressLike,
125
+ amount: BigNumberish,
126
+ fundAmount: BigNumberish,
127
+ tokenAllocation: BigNumberish
128
+ ];
129
+ type OutputTuple = [
130
+ roundId: bigint,
131
+ contributor: string,
132
+ token: string,
133
+ amount: bigint,
134
+ fundAmount: bigint,
135
+ tokenAllocation: bigint
136
+ ];
137
+ interface OutputObject {
138
+ roundId: bigint;
139
+ contributor: string;
140
+ token: string;
141
+ amount: bigint;
142
+ fundAmount: bigint;
143
+ tokenAllocation: bigint;
144
+ }
145
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
146
+ type Filter = TypedDeferredTopicFilter<Event>;
147
+ type Log = TypedEventLog<Event>;
148
+ type LogDescription = TypedLogDescription<Event>;
149
+ }
150
+ export declare namespace InitializedEvent {
151
+ type InputTuple = [version: BigNumberish];
152
+ type OutputTuple = [version: bigint];
153
+ interface OutputObject {
154
+ version: bigint;
155
+ }
156
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
157
+ type Filter = TypedDeferredTopicFilter<Event>;
158
+ type Log = TypedEventLog<Event>;
159
+ type LogDescription = TypedLogDescription<Event>;
160
+ }
161
+ export declare namespace MultiRoundParticipationUpdatedEvent {
162
+ type InputTuple = [roundId: BigNumberish, enabled: boolean];
163
+ type OutputTuple = [roundId: bigint, enabled: boolean];
164
+ interface OutputObject {
165
+ roundId: bigint;
166
+ enabled: boolean;
167
+ }
168
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
169
+ type Filter = TypedDeferredTopicFilter<Event>;
170
+ type Log = TypedEventLog<Event>;
171
+ type LogDescription = TypedLogDescription<Event>;
172
+ }
173
+ export declare namespace OwnershipTransferredEvent {
174
+ type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
175
+ type OutputTuple = [previousOwner: string, newOwner: string];
176
+ interface OutputObject {
177
+ previousOwner: string;
178
+ newOwner: string;
179
+ }
180
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
181
+ type Filter = TypedDeferredTopicFilter<Event>;
182
+ type Log = TypedEventLog<Event>;
183
+ type LogDescription = TypedLogDescription<Event>;
184
+ }
185
+ export declare namespace ProjectTokenUpdatedEvent {
186
+ type InputTuple = [oldToken: AddressLike, newToken: AddressLike];
187
+ type OutputTuple = [oldToken: string, newToken: string];
188
+ interface OutputObject {
189
+ oldToken: string;
190
+ newToken: string;
191
+ }
192
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
193
+ type Filter = TypedDeferredTopicFilter<Event>;
194
+ type Log = TypedEventLog<Event>;
195
+ type LogDescription = TypedLogDescription<Event>;
196
+ }
197
+ export declare namespace RefundEnabledUpdatedEvent {
198
+ type InputTuple = [roundId: BigNumberish, enabled: boolean];
199
+ type OutputTuple = [roundId: bigint, enabled: boolean];
200
+ interface OutputObject {
201
+ roundId: bigint;
202
+ enabled: boolean;
203
+ }
204
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
205
+ type Filter = TypedDeferredTopicFilter<Event>;
206
+ type Log = TypedEventLog<Event>;
207
+ type LogDescription = TypedLogDescription<Event>;
208
+ }
209
+ export declare namespace RefundedEvent {
210
+ type InputTuple = [
211
+ roundId: BigNumberish,
212
+ user: AddressLike,
213
+ token: AddressLike,
214
+ amount: BigNumberish
215
+ ];
216
+ type OutputTuple = [
217
+ roundId: bigint,
218
+ user: string,
219
+ token: string,
220
+ amount: bigint
221
+ ];
222
+ interface OutputObject {
223
+ roundId: bigint;
224
+ user: string;
225
+ token: string;
226
+ amount: bigint;
227
+ }
228
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
229
+ type Filter = TypedDeferredTopicFilter<Event>;
230
+ type Log = TypedEventLog<Event>;
231
+ type LogDescription = TypedLogDescription<Event>;
232
+ }
233
+ export declare namespace RoleAdminChangedEvent {
234
+ type InputTuple = [
235
+ role: BytesLike,
236
+ previousAdminRole: BytesLike,
237
+ newAdminRole: BytesLike
238
+ ];
239
+ type OutputTuple = [
240
+ role: string,
241
+ previousAdminRole: string,
242
+ newAdminRole: string
243
+ ];
244
+ interface OutputObject {
245
+ role: string;
246
+ previousAdminRole: string;
247
+ newAdminRole: string;
248
+ }
249
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
250
+ type Filter = TypedDeferredTopicFilter<Event>;
251
+ type Log = TypedEventLog<Event>;
252
+ type LogDescription = TypedLogDescription<Event>;
253
+ }
254
+ export declare namespace RoleGrantedEvent {
255
+ type InputTuple = [
256
+ role: BytesLike,
257
+ account: AddressLike,
258
+ sender: AddressLike
259
+ ];
260
+ type OutputTuple = [role: string, account: string, sender: string];
261
+ interface OutputObject {
262
+ role: string;
263
+ account: string;
264
+ sender: string;
265
+ }
266
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
267
+ type Filter = TypedDeferredTopicFilter<Event>;
268
+ type Log = TypedEventLog<Event>;
269
+ type LogDescription = TypedLogDescription<Event>;
270
+ }
271
+ export declare namespace RoleRevokedEvent {
272
+ type InputTuple = [
273
+ role: BytesLike,
274
+ account: AddressLike,
275
+ sender: AddressLike
276
+ ];
277
+ type OutputTuple = [role: string, account: string, sender: string];
278
+ interface OutputObject {
279
+ role: string;
280
+ account: string;
281
+ sender: string;
282
+ }
283
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
284
+ type Filter = TypedDeferredTopicFilter<Event>;
285
+ type Log = TypedEventLog<Event>;
286
+ type LogDescription = TypedLogDescription<Event>;
287
+ }
288
+ export declare namespace RoundCreatedEvent {
289
+ type InputTuple = [
290
+ roundId: BigNumberish,
291
+ startTime: BigNumberish,
292
+ endTime: BigNumberish,
293
+ targetFund: BigNumberish,
294
+ totalAllocation: BigNumberish,
295
+ maxFundPerAccount: BigNumberish
296
+ ];
297
+ type OutputTuple = [
298
+ roundId: bigint,
299
+ startTime: bigint,
300
+ endTime: bigint,
301
+ targetFund: bigint,
302
+ totalAllocation: bigint,
303
+ maxFundPerAccount: bigint
304
+ ];
305
+ interface OutputObject {
306
+ roundId: bigint;
307
+ startTime: bigint;
308
+ endTime: bigint;
309
+ targetFund: bigint;
310
+ totalAllocation: bigint;
311
+ maxFundPerAccount: bigint;
312
+ }
313
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
314
+ type Filter = TypedDeferredTopicFilter<Event>;
315
+ type Log = TypedEventLog<Event>;
316
+ type LogDescription = TypedLogDescription<Event>;
317
+ }
318
+ export declare namespace RoundEndedEvent {
319
+ type InputTuple = [
320
+ roundId: BigNumberish,
321
+ raisedFunds: BigNumberish,
322
+ participants: BigNumberish
323
+ ];
324
+ type OutputTuple = [
325
+ roundId: bigint,
326
+ raisedFunds: bigint,
327
+ participants: bigint
328
+ ];
329
+ interface OutputObject {
330
+ roundId: bigint;
331
+ raisedFunds: bigint;
332
+ participants: bigint;
333
+ }
334
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
335
+ type Filter = TypedDeferredTopicFilter<Event>;
336
+ type Log = TypedEventLog<Event>;
337
+ type LogDescription = TypedLogDescription<Event>;
338
+ }
339
+ export declare namespace RoundUpdatedEvent {
340
+ type InputTuple = [
341
+ roundId: BigNumberish,
342
+ startTime: BigNumberish,
343
+ endTime: BigNumberish,
344
+ targetFund: BigNumberish,
345
+ totalAllocation: BigNumberish,
346
+ maxFundPerAccount: BigNumberish
347
+ ];
348
+ type OutputTuple = [
349
+ roundId: bigint,
350
+ startTime: bigint,
351
+ endTime: bigint,
352
+ targetFund: bigint,
353
+ totalAllocation: bigint,
354
+ maxFundPerAccount: bigint
355
+ ];
356
+ interface OutputObject {
357
+ roundId: bigint;
358
+ startTime: bigint;
359
+ endTime: bigint;
360
+ targetFund: bigint;
361
+ totalAllocation: bigint;
362
+ maxFundPerAccount: bigint;
363
+ }
364
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
365
+ type Filter = TypedDeferredTopicFilter<Event>;
366
+ type Log = TypedEventLog<Event>;
367
+ type LogDescription = TypedLogDescription<Event>;
368
+ }
369
+ export declare namespace TokenPriceUpdatedEvent {
370
+ type InputTuple = [
371
+ token: AddressLike,
372
+ oldPrice: BigNumberish,
373
+ newPrice: BigNumberish
374
+ ];
375
+ type OutputTuple = [token: string, oldPrice: bigint, newPrice: bigint];
376
+ interface OutputObject {
377
+ token: string;
378
+ oldPrice: bigint;
379
+ newPrice: bigint;
380
+ }
381
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
382
+ type Filter = TypedDeferredTopicFilter<Event>;
383
+ type Log = TypedEventLog<Event>;
384
+ type LogDescription = TypedLogDescription<Event>;
385
+ }
386
+ export declare namespace TokenRemovedFromWhitelistEvent {
387
+ type InputTuple = [token: AddressLike];
388
+ type OutputTuple = [token: string];
389
+ interface OutputObject {
390
+ token: string;
391
+ }
392
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
393
+ type Filter = TypedDeferredTopicFilter<Event>;
394
+ type Log = TypedEventLog<Event>;
395
+ type LogDescription = TypedLogDescription<Event>;
396
+ }
397
+ export declare namespace TokenWhitelistedEvent {
398
+ type InputTuple = [token: AddressLike, price: BigNumberish];
399
+ type OutputTuple = [token: string, price: bigint];
400
+ interface OutputObject {
401
+ token: string;
402
+ price: bigint;
403
+ }
404
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
405
+ type Filter = TypedDeferredTopicFilter<Event>;
406
+ type Log = TypedEventLog<Event>;
407
+ type LogDescription = TypedLogDescription<Event>;
408
+ }
409
+ export declare namespace TokensClaimedEvent {
410
+ type InputTuple = [
411
+ roundId: BigNumberish,
412
+ user: AddressLike,
413
+ amount: BigNumberish
414
+ ];
415
+ type OutputTuple = [roundId: bigint, user: string, amount: bigint];
416
+ interface OutputObject {
417
+ roundId: bigint;
418
+ user: string;
419
+ amount: bigint;
420
+ }
421
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
422
+ type Filter = TypedDeferredTopicFilter<Event>;
423
+ type Log = TypedEventLog<Event>;
424
+ type LogDescription = TypedLogDescription<Event>;
425
+ }
426
+ export interface SeedRoundFundraiser extends BaseContract {
427
+ connect(runner?: ContractRunner | null): SeedRoundFundraiser;
428
+ waitForDeployment(): Promise<this>;
429
+ interface: SeedRoundFundraiserInterface;
430
+ queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
431
+ queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
432
+ on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
433
+ on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
434
+ once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
435
+ once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
436
+ listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
437
+ listeners(eventName?: string): Promise<Array<Listener>>;
438
+ removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
439
+ DEFAULT_ADMIN_ROLE: TypedContractMethod<[], [string], "view">;
440
+ ETH_ADDRESS: TypedContractMethod<[], [string], "view">;
441
+ OPERATOR_ROLE: TypedContractMethod<[], [string], "view">;
442
+ PRICE_PRECISION: TypedContractMethod<[], [bigint], "view">;
443
+ addWhitelistedToken: TypedContractMethod<[
444
+ _token: AddressLike,
445
+ _price: BigNumberish
446
+ ], [
447
+ void
448
+ ], "nonpayable">;
449
+ claimTokens: TypedContractMethod<[], [void], "nonpayable">;
450
+ claimTokensByRoundId: TypedContractMethod<[
451
+ _roundId: BigNumberish
452
+ ], [
453
+ void
454
+ ], "nonpayable">;
455
+ contribute: TypedContractMethod<[
456
+ _roundId: BigNumberish,
457
+ _token: AddressLike,
458
+ _amount: BigNumberish
459
+ ], [
460
+ void
461
+ ], "payable">;
462
+ createRound: TypedContractMethod<[
463
+ _startTime: BigNumberish,
464
+ _endTime: BigNumberish,
465
+ _targetFund: BigNumberish,
466
+ _totalAllocation: BigNumberish,
467
+ _maxFundPerAccount: BigNumberish
468
+ ], [
469
+ void
470
+ ], "nonpayable">;
471
+ endRound: TypedContractMethod<[_roundId: BigNumberish], [void], "nonpayable">;
472
+ getRoleAdmin: TypedContractMethod<[role: BytesLike], [string], "view">;
473
+ getRoundsCount: TypedContractMethod<[], [bigint], "view">;
474
+ getUserParticipatedRound: TypedContractMethod<[
475
+ _user: AddressLike
476
+ ], [
477
+ bigint
478
+ ], "view">;
479
+ getUserRoundContribution: TypedContractMethod<[
480
+ _roundId: BigNumberish,
481
+ _user: AddressLike
482
+ ], [
483
+ [
484
+ bigint,
485
+ bigint,
486
+ boolean,
487
+ boolean,
488
+ string,
489
+ bigint
490
+ ] & {
491
+ fundAmount: bigint;
492
+ tokenAllocation: bigint;
493
+ claimed: boolean;
494
+ refunded: boolean;
495
+ contributedToken: string;
496
+ contributedAmount: bigint;
497
+ }
498
+ ], "view">;
499
+ getUserTotalContribution: TypedContractMethod<[
500
+ _user: AddressLike
501
+ ], [
502
+ [
503
+ bigint,
504
+ bigint
505
+ ] & {
506
+ totalFundAmount: bigint;
507
+ totalTokenAllocation: bigint;
508
+ }
509
+ ], "view">;
510
+ grantOperatorRole: TypedContractMethod<[
511
+ operator: AddressLike
512
+ ], [
513
+ void
514
+ ], "nonpayable">;
515
+ grantRole: TypedContractMethod<[
516
+ role: BytesLike,
517
+ account: AddressLike
518
+ ], [
519
+ void
520
+ ], "nonpayable">;
521
+ hasRole: TypedContractMethod<[
522
+ role: BytesLike,
523
+ account: AddressLike
524
+ ], [
525
+ boolean
526
+ ], "view">;
527
+ initialize: TypedContractMethod<[
528
+ _projectToken: AddressLike
529
+ ], [
530
+ void
531
+ ], "nonpayable">;
532
+ isRoundActive: TypedContractMethod<[
533
+ _roundId: BigNumberish
534
+ ], [
535
+ boolean
536
+ ], "view">;
537
+ owner: TypedContractMethod<[], [string], "view">;
538
+ projectToken: TypedContractMethod<[], [string], "view">;
539
+ refund: TypedContractMethod<[], [void], "nonpayable">;
540
+ removeWhitelistedToken: TypedContractMethod<[
541
+ _token: AddressLike
542
+ ], [
543
+ void
544
+ ], "nonpayable">;
545
+ renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
546
+ renounceRole: TypedContractMethod<[
547
+ role: BytesLike,
548
+ callerConfirmation: AddressLike
549
+ ], [
550
+ void
551
+ ], "nonpayable">;
552
+ revokeRole: TypedContractMethod<[
553
+ role: BytesLike,
554
+ account: AddressLike
555
+ ], [
556
+ void
557
+ ], "nonpayable">;
558
+ roundParticipants: TypedContractMethod<[
559
+ arg0: BigNumberish
560
+ ], [
561
+ bigint
562
+ ], "view">;
563
+ roundRaisedFunds: TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;
564
+ rounds: TypedContractMethod<[
565
+ arg0: BigNumberish
566
+ ], [
567
+ [
568
+ bigint,
569
+ bigint,
570
+ bigint,
571
+ bigint,
572
+ bigint,
573
+ boolean,
574
+ boolean,
575
+ boolean,
576
+ boolean,
577
+ boolean
578
+ ] & {
579
+ startTime: bigint;
580
+ endTime: bigint;
581
+ targetFund: bigint;
582
+ totalAllocation: bigint;
583
+ maxFundPerAccount: bigint;
584
+ exists: boolean;
585
+ ended: boolean;
586
+ claimingEnabled: boolean;
587
+ refundEnabled: boolean;
588
+ allowMultiRoundParticipation: boolean;
589
+ }
590
+ ], "view">;
591
+ setClaimingEnabled: TypedContractMethod<[
592
+ _roundId: BigNumberish,
593
+ _enabled: boolean
594
+ ], [
595
+ void
596
+ ], "nonpayable">;
597
+ setMultiRoundParticipation: TypedContractMethod<[
598
+ _roundId: BigNumberish,
599
+ _enabled: boolean
600
+ ], [
601
+ void
602
+ ], "nonpayable">;
603
+ setProjectToken: TypedContractMethod<[
604
+ _projectToken: AddressLike
605
+ ], [
606
+ void
607
+ ], "nonpayable">;
608
+ setRefundEnabled: TypedContractMethod<[
609
+ _roundId: BigNumberish,
610
+ _enabled: boolean
611
+ ], [
612
+ void
613
+ ], "nonpayable">;
614
+ supportsInterface: TypedContractMethod<[
615
+ interfaceId: BytesLike
616
+ ], [
617
+ boolean
618
+ ], "view">;
619
+ totalRaisedFunds: TypedContractMethod<[], [bigint], "view">;
620
+ totalRounds: TypedContractMethod<[], [bigint], "view">;
621
+ transferOwnership: TypedContractMethod<[
622
+ newOwner: AddressLike
623
+ ], [
624
+ void
625
+ ], "nonpayable">;
626
+ updateRound: TypedContractMethod<[
627
+ _roundId: BigNumberish,
628
+ _startTime: BigNumberish,
629
+ _endTime: BigNumberish,
630
+ _targetFund: BigNumberish,
631
+ _totalAllocation: BigNumberish,
632
+ _maxFundPerAccount: BigNumberish
633
+ ], [
634
+ void
635
+ ], "nonpayable">;
636
+ updateTokenPrice: TypedContractMethod<[
637
+ _token: AddressLike,
638
+ _newPrice: BigNumberish
639
+ ], [
640
+ void
641
+ ], "nonpayable">;
642
+ userContributions: TypedContractMethod<[
643
+ arg0: BigNumberish,
644
+ arg1: AddressLike
645
+ ], [
646
+ [
647
+ bigint,
648
+ bigint,
649
+ boolean,
650
+ boolean,
651
+ string,
652
+ bigint
653
+ ] & {
654
+ fundAmount: bigint;
655
+ tokenAllocation: bigint;
656
+ claimed: boolean;
657
+ refunded: boolean;
658
+ contributedToken: string;
659
+ contributedAmount: bigint;
660
+ }
661
+ ], "view">;
662
+ userParticipatedRound: TypedContractMethod<[
663
+ arg0: AddressLike
664
+ ], [
665
+ bigint
666
+ ], "view">;
667
+ whitelistedTokens: TypedContractMethod<[
668
+ arg0: AddressLike
669
+ ], [
670
+ [boolean, bigint] & {
671
+ isWhitelisted: boolean;
672
+ price: bigint;
673
+ }
674
+ ], "view">;
675
+ withdrawFunds: TypedContractMethod<[
676
+ _token: AddressLike,
677
+ _amount: BigNumberish
678
+ ], [
679
+ void
680
+ ], "nonpayable">;
681
+ getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
682
+ getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE"): TypedContractMethod<[], [string], "view">;
683
+ getFunction(nameOrSignature: "ETH_ADDRESS"): TypedContractMethod<[], [string], "view">;
684
+ getFunction(nameOrSignature: "OPERATOR_ROLE"): TypedContractMethod<[], [string], "view">;
685
+ getFunction(nameOrSignature: "PRICE_PRECISION"): TypedContractMethod<[], [bigint], "view">;
686
+ getFunction(nameOrSignature: "addWhitelistedToken"): TypedContractMethod<[
687
+ _token: AddressLike,
688
+ _price: BigNumberish
689
+ ], [
690
+ void
691
+ ], "nonpayable">;
692
+ getFunction(nameOrSignature: "claimTokens"): TypedContractMethod<[], [void], "nonpayable">;
693
+ getFunction(nameOrSignature: "claimTokensByRoundId"): TypedContractMethod<[_roundId: BigNumberish], [void], "nonpayable">;
694
+ getFunction(nameOrSignature: "contribute"): TypedContractMethod<[
695
+ _roundId: BigNumberish,
696
+ _token: AddressLike,
697
+ _amount: BigNumberish
698
+ ], [
699
+ void
700
+ ], "payable">;
701
+ getFunction(nameOrSignature: "createRound"): TypedContractMethod<[
702
+ _startTime: BigNumberish,
703
+ _endTime: BigNumberish,
704
+ _targetFund: BigNumberish,
705
+ _totalAllocation: BigNumberish,
706
+ _maxFundPerAccount: BigNumberish
707
+ ], [
708
+ void
709
+ ], "nonpayable">;
710
+ getFunction(nameOrSignature: "endRound"): TypedContractMethod<[_roundId: BigNumberish], [void], "nonpayable">;
711
+ getFunction(nameOrSignature: "getRoleAdmin"): TypedContractMethod<[role: BytesLike], [string], "view">;
712
+ getFunction(nameOrSignature: "getRoundsCount"): TypedContractMethod<[], [bigint], "view">;
713
+ getFunction(nameOrSignature: "getUserParticipatedRound"): TypedContractMethod<[_user: AddressLike], [bigint], "view">;
714
+ getFunction(nameOrSignature: "getUserRoundContribution"): TypedContractMethod<[
715
+ _roundId: BigNumberish,
716
+ _user: AddressLike
717
+ ], [
718
+ [
719
+ bigint,
720
+ bigint,
721
+ boolean,
722
+ boolean,
723
+ string,
724
+ bigint
725
+ ] & {
726
+ fundAmount: bigint;
727
+ tokenAllocation: bigint;
728
+ claimed: boolean;
729
+ refunded: boolean;
730
+ contributedToken: string;
731
+ contributedAmount: bigint;
732
+ }
733
+ ], "view">;
734
+ getFunction(nameOrSignature: "getUserTotalContribution"): TypedContractMethod<[
735
+ _user: AddressLike
736
+ ], [
737
+ [
738
+ bigint,
739
+ bigint
740
+ ] & {
741
+ totalFundAmount: bigint;
742
+ totalTokenAllocation: bigint;
743
+ }
744
+ ], "view">;
745
+ getFunction(nameOrSignature: "grantOperatorRole"): TypedContractMethod<[operator: AddressLike], [void], "nonpayable">;
746
+ getFunction(nameOrSignature: "grantRole"): TypedContractMethod<[
747
+ role: BytesLike,
748
+ account: AddressLike
749
+ ], [
750
+ void
751
+ ], "nonpayable">;
752
+ getFunction(nameOrSignature: "hasRole"): TypedContractMethod<[
753
+ role: BytesLike,
754
+ account: AddressLike
755
+ ], [
756
+ boolean
757
+ ], "view">;
758
+ getFunction(nameOrSignature: "initialize"): TypedContractMethod<[_projectToken: AddressLike], [void], "nonpayable">;
759
+ getFunction(nameOrSignature: "isRoundActive"): TypedContractMethod<[_roundId: BigNumberish], [boolean], "view">;
760
+ getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
761
+ getFunction(nameOrSignature: "projectToken"): TypedContractMethod<[], [string], "view">;
762
+ getFunction(nameOrSignature: "refund"): TypedContractMethod<[], [void], "nonpayable">;
763
+ getFunction(nameOrSignature: "removeWhitelistedToken"): TypedContractMethod<[_token: AddressLike], [void], "nonpayable">;
764
+ getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">;
765
+ getFunction(nameOrSignature: "renounceRole"): TypedContractMethod<[
766
+ role: BytesLike,
767
+ callerConfirmation: AddressLike
768
+ ], [
769
+ void
770
+ ], "nonpayable">;
771
+ getFunction(nameOrSignature: "revokeRole"): TypedContractMethod<[
772
+ role: BytesLike,
773
+ account: AddressLike
774
+ ], [
775
+ void
776
+ ], "nonpayable">;
777
+ getFunction(nameOrSignature: "roundParticipants"): TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;
778
+ getFunction(nameOrSignature: "roundRaisedFunds"): TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;
779
+ getFunction(nameOrSignature: "rounds"): TypedContractMethod<[
780
+ arg0: BigNumberish
781
+ ], [
782
+ [
783
+ bigint,
784
+ bigint,
785
+ bigint,
786
+ bigint,
787
+ bigint,
788
+ boolean,
789
+ boolean,
790
+ boolean,
791
+ boolean,
792
+ boolean
793
+ ] & {
794
+ startTime: bigint;
795
+ endTime: bigint;
796
+ targetFund: bigint;
797
+ totalAllocation: bigint;
798
+ maxFundPerAccount: bigint;
799
+ exists: boolean;
800
+ ended: boolean;
801
+ claimingEnabled: boolean;
802
+ refundEnabled: boolean;
803
+ allowMultiRoundParticipation: boolean;
804
+ }
805
+ ], "view">;
806
+ getFunction(nameOrSignature: "setClaimingEnabled"): TypedContractMethod<[
807
+ _roundId: BigNumberish,
808
+ _enabled: boolean
809
+ ], [
810
+ void
811
+ ], "nonpayable">;
812
+ getFunction(nameOrSignature: "setMultiRoundParticipation"): TypedContractMethod<[
813
+ _roundId: BigNumberish,
814
+ _enabled: boolean
815
+ ], [
816
+ void
817
+ ], "nonpayable">;
818
+ getFunction(nameOrSignature: "setProjectToken"): TypedContractMethod<[_projectToken: AddressLike], [void], "nonpayable">;
819
+ getFunction(nameOrSignature: "setRefundEnabled"): TypedContractMethod<[
820
+ _roundId: BigNumberish,
821
+ _enabled: boolean
822
+ ], [
823
+ void
824
+ ], "nonpayable">;
825
+ getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
826
+ getFunction(nameOrSignature: "totalRaisedFunds"): TypedContractMethod<[], [bigint], "view">;
827
+ getFunction(nameOrSignature: "totalRounds"): TypedContractMethod<[], [bigint], "view">;
828
+ getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
829
+ getFunction(nameOrSignature: "updateRound"): TypedContractMethod<[
830
+ _roundId: BigNumberish,
831
+ _startTime: BigNumberish,
832
+ _endTime: BigNumberish,
833
+ _targetFund: BigNumberish,
834
+ _totalAllocation: BigNumberish,
835
+ _maxFundPerAccount: BigNumberish
836
+ ], [
837
+ void
838
+ ], "nonpayable">;
839
+ getFunction(nameOrSignature: "updateTokenPrice"): TypedContractMethod<[
840
+ _token: AddressLike,
841
+ _newPrice: BigNumberish
842
+ ], [
843
+ void
844
+ ], "nonpayable">;
845
+ getFunction(nameOrSignature: "userContributions"): TypedContractMethod<[
846
+ arg0: BigNumberish,
847
+ arg1: AddressLike
848
+ ], [
849
+ [
850
+ bigint,
851
+ bigint,
852
+ boolean,
853
+ boolean,
854
+ string,
855
+ bigint
856
+ ] & {
857
+ fundAmount: bigint;
858
+ tokenAllocation: bigint;
859
+ claimed: boolean;
860
+ refunded: boolean;
861
+ contributedToken: string;
862
+ contributedAmount: bigint;
863
+ }
864
+ ], "view">;
865
+ getFunction(nameOrSignature: "userParticipatedRound"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
866
+ getFunction(nameOrSignature: "whitelistedTokens"): TypedContractMethod<[
867
+ arg0: AddressLike
868
+ ], [
869
+ [boolean, bigint] & {
870
+ isWhitelisted: boolean;
871
+ price: bigint;
872
+ }
873
+ ], "view">;
874
+ getFunction(nameOrSignature: "withdrawFunds"): TypedContractMethod<[
875
+ _token: AddressLike,
876
+ _amount: BigNumberish
877
+ ], [
878
+ void
879
+ ], "nonpayable">;
880
+ getEvent(key: "ClaimingEnabledUpdated"): TypedContractEvent<ClaimingEnabledUpdatedEvent.InputTuple, ClaimingEnabledUpdatedEvent.OutputTuple, ClaimingEnabledUpdatedEvent.OutputObject>;
881
+ getEvent(key: "Contribution"): TypedContractEvent<ContributionEvent.InputTuple, ContributionEvent.OutputTuple, ContributionEvent.OutputObject>;
882
+ getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
883
+ getEvent(key: "MultiRoundParticipationUpdated"): TypedContractEvent<MultiRoundParticipationUpdatedEvent.InputTuple, MultiRoundParticipationUpdatedEvent.OutputTuple, MultiRoundParticipationUpdatedEvent.OutputObject>;
884
+ getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
885
+ getEvent(key: "ProjectTokenUpdated"): TypedContractEvent<ProjectTokenUpdatedEvent.InputTuple, ProjectTokenUpdatedEvent.OutputTuple, ProjectTokenUpdatedEvent.OutputObject>;
886
+ getEvent(key: "RefundEnabledUpdated"): TypedContractEvent<RefundEnabledUpdatedEvent.InputTuple, RefundEnabledUpdatedEvent.OutputTuple, RefundEnabledUpdatedEvent.OutputObject>;
887
+ getEvent(key: "Refunded"): TypedContractEvent<RefundedEvent.InputTuple, RefundedEvent.OutputTuple, RefundedEvent.OutputObject>;
888
+ getEvent(key: "RoleAdminChanged"): TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
889
+ getEvent(key: "RoleGranted"): TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
890
+ getEvent(key: "RoleRevoked"): TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
891
+ getEvent(key: "RoundCreated"): TypedContractEvent<RoundCreatedEvent.InputTuple, RoundCreatedEvent.OutputTuple, RoundCreatedEvent.OutputObject>;
892
+ getEvent(key: "RoundEnded"): TypedContractEvent<RoundEndedEvent.InputTuple, RoundEndedEvent.OutputTuple, RoundEndedEvent.OutputObject>;
893
+ getEvent(key: "RoundUpdated"): TypedContractEvent<RoundUpdatedEvent.InputTuple, RoundUpdatedEvent.OutputTuple, RoundUpdatedEvent.OutputObject>;
894
+ getEvent(key: "TokenPriceUpdated"): TypedContractEvent<TokenPriceUpdatedEvent.InputTuple, TokenPriceUpdatedEvent.OutputTuple, TokenPriceUpdatedEvent.OutputObject>;
895
+ getEvent(key: "TokenRemovedFromWhitelist"): TypedContractEvent<TokenRemovedFromWhitelistEvent.InputTuple, TokenRemovedFromWhitelistEvent.OutputTuple, TokenRemovedFromWhitelistEvent.OutputObject>;
896
+ getEvent(key: "TokenWhitelisted"): TypedContractEvent<TokenWhitelistedEvent.InputTuple, TokenWhitelistedEvent.OutputTuple, TokenWhitelistedEvent.OutputObject>;
897
+ getEvent(key: "TokensClaimed"): TypedContractEvent<TokensClaimedEvent.InputTuple, TokensClaimedEvent.OutputTuple, TokensClaimedEvent.OutputObject>;
898
+ filters: {
899
+ "ClaimingEnabledUpdated(uint256,bool)": TypedContractEvent<ClaimingEnabledUpdatedEvent.InputTuple, ClaimingEnabledUpdatedEvent.OutputTuple, ClaimingEnabledUpdatedEvent.OutputObject>;
900
+ ClaimingEnabledUpdated: TypedContractEvent<ClaimingEnabledUpdatedEvent.InputTuple, ClaimingEnabledUpdatedEvent.OutputTuple, ClaimingEnabledUpdatedEvent.OutputObject>;
901
+ "Contribution(uint256,address,address,uint256,uint256,uint256)": TypedContractEvent<ContributionEvent.InputTuple, ContributionEvent.OutputTuple, ContributionEvent.OutputObject>;
902
+ Contribution: TypedContractEvent<ContributionEvent.InputTuple, ContributionEvent.OutputTuple, ContributionEvent.OutputObject>;
903
+ "Initialized(uint64)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
904
+ Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
905
+ "MultiRoundParticipationUpdated(uint256,bool)": TypedContractEvent<MultiRoundParticipationUpdatedEvent.InputTuple, MultiRoundParticipationUpdatedEvent.OutputTuple, MultiRoundParticipationUpdatedEvent.OutputObject>;
906
+ MultiRoundParticipationUpdated: TypedContractEvent<MultiRoundParticipationUpdatedEvent.InputTuple, MultiRoundParticipationUpdatedEvent.OutputTuple, MultiRoundParticipationUpdatedEvent.OutputObject>;
907
+ "OwnershipTransferred(address,address)": TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
908
+ OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
909
+ "ProjectTokenUpdated(address,address)": TypedContractEvent<ProjectTokenUpdatedEvent.InputTuple, ProjectTokenUpdatedEvent.OutputTuple, ProjectTokenUpdatedEvent.OutputObject>;
910
+ ProjectTokenUpdated: TypedContractEvent<ProjectTokenUpdatedEvent.InputTuple, ProjectTokenUpdatedEvent.OutputTuple, ProjectTokenUpdatedEvent.OutputObject>;
911
+ "RefundEnabledUpdated(uint256,bool)": TypedContractEvent<RefundEnabledUpdatedEvent.InputTuple, RefundEnabledUpdatedEvent.OutputTuple, RefundEnabledUpdatedEvent.OutputObject>;
912
+ RefundEnabledUpdated: TypedContractEvent<RefundEnabledUpdatedEvent.InputTuple, RefundEnabledUpdatedEvent.OutputTuple, RefundEnabledUpdatedEvent.OutputObject>;
913
+ "Refunded(uint256,address,address,uint256)": TypedContractEvent<RefundedEvent.InputTuple, RefundedEvent.OutputTuple, RefundedEvent.OutputObject>;
914
+ Refunded: TypedContractEvent<RefundedEvent.InputTuple, RefundedEvent.OutputTuple, RefundedEvent.OutputObject>;
915
+ "RoleAdminChanged(bytes32,bytes32,bytes32)": TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
916
+ RoleAdminChanged: TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
917
+ "RoleGranted(bytes32,address,address)": TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
918
+ RoleGranted: TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
919
+ "RoleRevoked(bytes32,address,address)": TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
920
+ RoleRevoked: TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
921
+ "RoundCreated(uint256,uint256,uint256,uint256,uint256,uint256)": TypedContractEvent<RoundCreatedEvent.InputTuple, RoundCreatedEvent.OutputTuple, RoundCreatedEvent.OutputObject>;
922
+ RoundCreated: TypedContractEvent<RoundCreatedEvent.InputTuple, RoundCreatedEvent.OutputTuple, RoundCreatedEvent.OutputObject>;
923
+ "RoundEnded(uint256,uint256,uint256)": TypedContractEvent<RoundEndedEvent.InputTuple, RoundEndedEvent.OutputTuple, RoundEndedEvent.OutputObject>;
924
+ RoundEnded: TypedContractEvent<RoundEndedEvent.InputTuple, RoundEndedEvent.OutputTuple, RoundEndedEvent.OutputObject>;
925
+ "RoundUpdated(uint256,uint256,uint256,uint256,uint256,uint256)": TypedContractEvent<RoundUpdatedEvent.InputTuple, RoundUpdatedEvent.OutputTuple, RoundUpdatedEvent.OutputObject>;
926
+ RoundUpdated: TypedContractEvent<RoundUpdatedEvent.InputTuple, RoundUpdatedEvent.OutputTuple, RoundUpdatedEvent.OutputObject>;
927
+ "TokenPriceUpdated(address,uint256,uint256)": TypedContractEvent<TokenPriceUpdatedEvent.InputTuple, TokenPriceUpdatedEvent.OutputTuple, TokenPriceUpdatedEvent.OutputObject>;
928
+ TokenPriceUpdated: TypedContractEvent<TokenPriceUpdatedEvent.InputTuple, TokenPriceUpdatedEvent.OutputTuple, TokenPriceUpdatedEvent.OutputObject>;
929
+ "TokenRemovedFromWhitelist(address)": TypedContractEvent<TokenRemovedFromWhitelistEvent.InputTuple, TokenRemovedFromWhitelistEvent.OutputTuple, TokenRemovedFromWhitelistEvent.OutputObject>;
930
+ TokenRemovedFromWhitelist: TypedContractEvent<TokenRemovedFromWhitelistEvent.InputTuple, TokenRemovedFromWhitelistEvent.OutputTuple, TokenRemovedFromWhitelistEvent.OutputObject>;
931
+ "TokenWhitelisted(address,uint256)": TypedContractEvent<TokenWhitelistedEvent.InputTuple, TokenWhitelistedEvent.OutputTuple, TokenWhitelistedEvent.OutputObject>;
932
+ TokenWhitelisted: TypedContractEvent<TokenWhitelistedEvent.InputTuple, TokenWhitelistedEvent.OutputTuple, TokenWhitelistedEvent.OutputObject>;
933
+ "TokensClaimed(uint256,address,uint256)": TypedContractEvent<TokensClaimedEvent.InputTuple, TokensClaimedEvent.OutputTuple, TokensClaimedEvent.OutputObject>;
934
+ TokensClaimed: TypedContractEvent<TokensClaimedEvent.InputTuple, TokensClaimedEvent.OutputTuple, TokensClaimedEvent.OutputObject>;
935
+ };
936
+ }