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.
- package/SeedRoundFundraiser.ts +742 -0
- package/TradingVault.ts +863 -0
- package/abis/SeedRoundFundraiser.json +1519 -0
- package/abis/TradingVault.json +1647 -0
- package/common.ts +131 -0
- package/contracts/SeedRoundFundraiser.ts +1670 -0
- package/contracts/TradingVault.ts +1752 -0
- package/contracts/common.ts +131 -0
- package/contracts/factories/SeedRoundFundraiser__factory.ts +1495 -0
- package/contracts/factories/index.ts +4 -0
- package/contracts/index.ts +6 -0
- package/contracts.json +28 -0
- package/dist/SeedRoundFundraiser.d.ts +130 -0
- package/dist/SeedRoundFundraiser.js +445 -0
- package/dist/TradingVault.d.ts +175 -0
- package/dist/TradingVault.js +521 -0
- package/dist/abis/SeedRoundFundraiser.json +1519 -0
- package/dist/abis/TradingVault.json +1647 -0
- package/dist/common.d.ts +50 -0
- package/dist/common.js +2 -0
- package/dist/contracts/SeedRoundFundraiser.d.ts +936 -0
- package/dist/contracts/SeedRoundFundraiser.js +2 -0
- package/dist/contracts/TradingVault.d.ts +930 -0
- package/dist/contracts/TradingVault.js +2 -0
- package/dist/contracts.json +28 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +19 -0
- package/dist/types.d.ts +291 -0
- package/dist/types.js +2 -0
- package/dist/utils.d.ts +95 -0
- package/dist/utils.js +370 -0
- package/dist/whitelist-tokens.json +14 -0
- package/index.ts +3 -0
- package/package.json +21 -0
- package/temp/aiia-vault-sdk-1.0.0.tgz +0 -0
- package/tsconfig.json +15 -0
- package/types.ts +301 -0
- package/utils.ts +576 -0
- package/whitelist-tokens.json +14 -0
@@ -0,0 +1,1670 @@
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
import type {
|
5
|
+
BaseContract,
|
6
|
+
BigNumberish,
|
7
|
+
BytesLike,
|
8
|
+
FunctionFragment,
|
9
|
+
Result,
|
10
|
+
Interface,
|
11
|
+
EventFragment,
|
12
|
+
AddressLike,
|
13
|
+
ContractRunner,
|
14
|
+
ContractMethod,
|
15
|
+
Listener,
|
16
|
+
} from "ethers";
|
17
|
+
import type {
|
18
|
+
TypedContractEvent,
|
19
|
+
TypedDeferredTopicFilter,
|
20
|
+
TypedEventLog,
|
21
|
+
TypedLogDescription,
|
22
|
+
TypedListener,
|
23
|
+
TypedContractMethod,
|
24
|
+
} from "../common";
|
25
|
+
|
26
|
+
export interface SeedRoundFundraiserInterface extends Interface {
|
27
|
+
getFunction(
|
28
|
+
nameOrSignature:
|
29
|
+
| "DEFAULT_ADMIN_ROLE"
|
30
|
+
| "ETH_ADDRESS"
|
31
|
+
| "OPERATOR_ROLE"
|
32
|
+
| "PRICE_PRECISION"
|
33
|
+
| "addWhitelistedToken"
|
34
|
+
| "claimTokens"
|
35
|
+
| "claimTokensByRoundId"
|
36
|
+
| "contribute"
|
37
|
+
| "createRound"
|
38
|
+
| "endRound"
|
39
|
+
| "getRoleAdmin"
|
40
|
+
| "getRoundsCount"
|
41
|
+
| "getUserParticipatedRound"
|
42
|
+
| "getUserRoundContribution"
|
43
|
+
| "getUserTotalContribution"
|
44
|
+
| "grantOperatorRole"
|
45
|
+
| "grantRole"
|
46
|
+
| "hasRole"
|
47
|
+
| "initialize"
|
48
|
+
| "isRoundActive"
|
49
|
+
| "owner"
|
50
|
+
| "projectToken"
|
51
|
+
| "refund"
|
52
|
+
| "removeWhitelistedToken"
|
53
|
+
| "renounceOwnership"
|
54
|
+
| "renounceRole"
|
55
|
+
| "revokeRole"
|
56
|
+
| "roundParticipants"
|
57
|
+
| "roundRaisedFunds"
|
58
|
+
| "rounds"
|
59
|
+
| "setClaimingEnabled"
|
60
|
+
| "setMultiRoundParticipation"
|
61
|
+
| "setProjectToken"
|
62
|
+
| "setRefundEnabled"
|
63
|
+
| "supportsInterface"
|
64
|
+
| "totalRaisedFunds"
|
65
|
+
| "totalRounds"
|
66
|
+
| "transferOwnership"
|
67
|
+
| "updateRound"
|
68
|
+
| "updateTokenPrice"
|
69
|
+
| "userContributions"
|
70
|
+
| "userParticipatedRound"
|
71
|
+
| "whitelistedTokens"
|
72
|
+
| "withdrawFunds"
|
73
|
+
): FunctionFragment;
|
74
|
+
|
75
|
+
getEvent(
|
76
|
+
nameOrSignatureOrTopic:
|
77
|
+
| "ClaimingEnabledUpdated"
|
78
|
+
| "Contribution"
|
79
|
+
| "Initialized"
|
80
|
+
| "MultiRoundParticipationUpdated"
|
81
|
+
| "OwnershipTransferred"
|
82
|
+
| "ProjectTokenUpdated"
|
83
|
+
| "RefundEnabledUpdated"
|
84
|
+
| "Refunded"
|
85
|
+
| "RoleAdminChanged"
|
86
|
+
| "RoleGranted"
|
87
|
+
| "RoleRevoked"
|
88
|
+
| "RoundCreated"
|
89
|
+
| "RoundEnded"
|
90
|
+
| "RoundUpdated"
|
91
|
+
| "TokenPriceUpdated"
|
92
|
+
| "TokenRemovedFromWhitelist"
|
93
|
+
| "TokenWhitelisted"
|
94
|
+
| "TokensClaimed"
|
95
|
+
): EventFragment;
|
96
|
+
|
97
|
+
encodeFunctionData(
|
98
|
+
functionFragment: "DEFAULT_ADMIN_ROLE",
|
99
|
+
values?: undefined
|
100
|
+
): string;
|
101
|
+
encodeFunctionData(
|
102
|
+
functionFragment: "ETH_ADDRESS",
|
103
|
+
values?: undefined
|
104
|
+
): string;
|
105
|
+
encodeFunctionData(
|
106
|
+
functionFragment: "OPERATOR_ROLE",
|
107
|
+
values?: undefined
|
108
|
+
): string;
|
109
|
+
encodeFunctionData(
|
110
|
+
functionFragment: "PRICE_PRECISION",
|
111
|
+
values?: undefined
|
112
|
+
): string;
|
113
|
+
encodeFunctionData(
|
114
|
+
functionFragment: "addWhitelistedToken",
|
115
|
+
values: [AddressLike, BigNumberish]
|
116
|
+
): string;
|
117
|
+
encodeFunctionData(
|
118
|
+
functionFragment: "claimTokens",
|
119
|
+
values?: undefined
|
120
|
+
): string;
|
121
|
+
encodeFunctionData(
|
122
|
+
functionFragment: "claimTokensByRoundId",
|
123
|
+
values: [BigNumberish]
|
124
|
+
): string;
|
125
|
+
encodeFunctionData(
|
126
|
+
functionFragment: "contribute",
|
127
|
+
values: [BigNumberish, AddressLike, BigNumberish]
|
128
|
+
): string;
|
129
|
+
encodeFunctionData(
|
130
|
+
functionFragment: "createRound",
|
131
|
+
values: [
|
132
|
+
BigNumberish,
|
133
|
+
BigNumberish,
|
134
|
+
BigNumberish,
|
135
|
+
BigNumberish,
|
136
|
+
BigNumberish
|
137
|
+
]
|
138
|
+
): string;
|
139
|
+
encodeFunctionData(
|
140
|
+
functionFragment: "endRound",
|
141
|
+
values: [BigNumberish]
|
142
|
+
): string;
|
143
|
+
encodeFunctionData(
|
144
|
+
functionFragment: "getRoleAdmin",
|
145
|
+
values: [BytesLike]
|
146
|
+
): string;
|
147
|
+
encodeFunctionData(
|
148
|
+
functionFragment: "getRoundsCount",
|
149
|
+
values?: undefined
|
150
|
+
): string;
|
151
|
+
encodeFunctionData(
|
152
|
+
functionFragment: "getUserParticipatedRound",
|
153
|
+
values: [AddressLike]
|
154
|
+
): string;
|
155
|
+
encodeFunctionData(
|
156
|
+
functionFragment: "getUserRoundContribution",
|
157
|
+
values: [BigNumberish, AddressLike]
|
158
|
+
): string;
|
159
|
+
encodeFunctionData(
|
160
|
+
functionFragment: "getUserTotalContribution",
|
161
|
+
values: [AddressLike]
|
162
|
+
): string;
|
163
|
+
encodeFunctionData(
|
164
|
+
functionFragment: "grantOperatorRole",
|
165
|
+
values: [AddressLike]
|
166
|
+
): string;
|
167
|
+
encodeFunctionData(
|
168
|
+
functionFragment: "grantRole",
|
169
|
+
values: [BytesLike, AddressLike]
|
170
|
+
): string;
|
171
|
+
encodeFunctionData(
|
172
|
+
functionFragment: "hasRole",
|
173
|
+
values: [BytesLike, AddressLike]
|
174
|
+
): string;
|
175
|
+
encodeFunctionData(
|
176
|
+
functionFragment: "initialize",
|
177
|
+
values: [AddressLike]
|
178
|
+
): string;
|
179
|
+
encodeFunctionData(
|
180
|
+
functionFragment: "isRoundActive",
|
181
|
+
values: [BigNumberish]
|
182
|
+
): string;
|
183
|
+
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
184
|
+
encodeFunctionData(
|
185
|
+
functionFragment: "projectToken",
|
186
|
+
values?: undefined
|
187
|
+
): string;
|
188
|
+
encodeFunctionData(functionFragment: "refund", values?: undefined): string;
|
189
|
+
encodeFunctionData(
|
190
|
+
functionFragment: "removeWhitelistedToken",
|
191
|
+
values: [AddressLike]
|
192
|
+
): string;
|
193
|
+
encodeFunctionData(
|
194
|
+
functionFragment: "renounceOwnership",
|
195
|
+
values?: undefined
|
196
|
+
): string;
|
197
|
+
encodeFunctionData(
|
198
|
+
functionFragment: "renounceRole",
|
199
|
+
values: [BytesLike, AddressLike]
|
200
|
+
): string;
|
201
|
+
encodeFunctionData(
|
202
|
+
functionFragment: "revokeRole",
|
203
|
+
values: [BytesLike, AddressLike]
|
204
|
+
): string;
|
205
|
+
encodeFunctionData(
|
206
|
+
functionFragment: "roundParticipants",
|
207
|
+
values: [BigNumberish]
|
208
|
+
): string;
|
209
|
+
encodeFunctionData(
|
210
|
+
functionFragment: "roundRaisedFunds",
|
211
|
+
values: [BigNumberish]
|
212
|
+
): string;
|
213
|
+
encodeFunctionData(
|
214
|
+
functionFragment: "rounds",
|
215
|
+
values: [BigNumberish]
|
216
|
+
): string;
|
217
|
+
encodeFunctionData(
|
218
|
+
functionFragment: "setClaimingEnabled",
|
219
|
+
values: [BigNumberish, boolean]
|
220
|
+
): string;
|
221
|
+
encodeFunctionData(
|
222
|
+
functionFragment: "setMultiRoundParticipation",
|
223
|
+
values: [BigNumberish, boolean]
|
224
|
+
): string;
|
225
|
+
encodeFunctionData(
|
226
|
+
functionFragment: "setProjectToken",
|
227
|
+
values: [AddressLike]
|
228
|
+
): string;
|
229
|
+
encodeFunctionData(
|
230
|
+
functionFragment: "setRefundEnabled",
|
231
|
+
values: [BigNumberish, boolean]
|
232
|
+
): string;
|
233
|
+
encodeFunctionData(
|
234
|
+
functionFragment: "supportsInterface",
|
235
|
+
values: [BytesLike]
|
236
|
+
): string;
|
237
|
+
encodeFunctionData(
|
238
|
+
functionFragment: "totalRaisedFunds",
|
239
|
+
values?: undefined
|
240
|
+
): string;
|
241
|
+
encodeFunctionData(
|
242
|
+
functionFragment: "totalRounds",
|
243
|
+
values?: undefined
|
244
|
+
): string;
|
245
|
+
encodeFunctionData(
|
246
|
+
functionFragment: "transferOwnership",
|
247
|
+
values: [AddressLike]
|
248
|
+
): string;
|
249
|
+
encodeFunctionData(
|
250
|
+
functionFragment: "updateRound",
|
251
|
+
values: [
|
252
|
+
BigNumberish,
|
253
|
+
BigNumberish,
|
254
|
+
BigNumberish,
|
255
|
+
BigNumberish,
|
256
|
+
BigNumberish,
|
257
|
+
BigNumberish
|
258
|
+
]
|
259
|
+
): string;
|
260
|
+
encodeFunctionData(
|
261
|
+
functionFragment: "updateTokenPrice",
|
262
|
+
values: [AddressLike, BigNumberish]
|
263
|
+
): string;
|
264
|
+
encodeFunctionData(
|
265
|
+
functionFragment: "userContributions",
|
266
|
+
values: [BigNumberish, AddressLike]
|
267
|
+
): string;
|
268
|
+
encodeFunctionData(
|
269
|
+
functionFragment: "userParticipatedRound",
|
270
|
+
values: [AddressLike]
|
271
|
+
): string;
|
272
|
+
encodeFunctionData(
|
273
|
+
functionFragment: "whitelistedTokens",
|
274
|
+
values: [AddressLike]
|
275
|
+
): string;
|
276
|
+
encodeFunctionData(
|
277
|
+
functionFragment: "withdrawFunds",
|
278
|
+
values: [AddressLike, BigNumberish]
|
279
|
+
): string;
|
280
|
+
|
281
|
+
decodeFunctionResult(
|
282
|
+
functionFragment: "DEFAULT_ADMIN_ROLE",
|
283
|
+
data: BytesLike
|
284
|
+
): Result;
|
285
|
+
decodeFunctionResult(
|
286
|
+
functionFragment: "ETH_ADDRESS",
|
287
|
+
data: BytesLike
|
288
|
+
): Result;
|
289
|
+
decodeFunctionResult(
|
290
|
+
functionFragment: "OPERATOR_ROLE",
|
291
|
+
data: BytesLike
|
292
|
+
): Result;
|
293
|
+
decodeFunctionResult(
|
294
|
+
functionFragment: "PRICE_PRECISION",
|
295
|
+
data: BytesLike
|
296
|
+
): Result;
|
297
|
+
decodeFunctionResult(
|
298
|
+
functionFragment: "addWhitelistedToken",
|
299
|
+
data: BytesLike
|
300
|
+
): Result;
|
301
|
+
decodeFunctionResult(
|
302
|
+
functionFragment: "claimTokens",
|
303
|
+
data: BytesLike
|
304
|
+
): Result;
|
305
|
+
decodeFunctionResult(
|
306
|
+
functionFragment: "claimTokensByRoundId",
|
307
|
+
data: BytesLike
|
308
|
+
): Result;
|
309
|
+
decodeFunctionResult(functionFragment: "contribute", data: BytesLike): Result;
|
310
|
+
decodeFunctionResult(
|
311
|
+
functionFragment: "createRound",
|
312
|
+
data: BytesLike
|
313
|
+
): Result;
|
314
|
+
decodeFunctionResult(functionFragment: "endRound", data: BytesLike): Result;
|
315
|
+
decodeFunctionResult(
|
316
|
+
functionFragment: "getRoleAdmin",
|
317
|
+
data: BytesLike
|
318
|
+
): Result;
|
319
|
+
decodeFunctionResult(
|
320
|
+
functionFragment: "getRoundsCount",
|
321
|
+
data: BytesLike
|
322
|
+
): Result;
|
323
|
+
decodeFunctionResult(
|
324
|
+
functionFragment: "getUserParticipatedRound",
|
325
|
+
data: BytesLike
|
326
|
+
): Result;
|
327
|
+
decodeFunctionResult(
|
328
|
+
functionFragment: "getUserRoundContribution",
|
329
|
+
data: BytesLike
|
330
|
+
): Result;
|
331
|
+
decodeFunctionResult(
|
332
|
+
functionFragment: "getUserTotalContribution",
|
333
|
+
data: BytesLike
|
334
|
+
): Result;
|
335
|
+
decodeFunctionResult(
|
336
|
+
functionFragment: "grantOperatorRole",
|
337
|
+
data: BytesLike
|
338
|
+
): Result;
|
339
|
+
decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
|
340
|
+
decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
|
341
|
+
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
342
|
+
decodeFunctionResult(
|
343
|
+
functionFragment: "isRoundActive",
|
344
|
+
data: BytesLike
|
345
|
+
): Result;
|
346
|
+
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
347
|
+
decodeFunctionResult(
|
348
|
+
functionFragment: "projectToken",
|
349
|
+
data: BytesLike
|
350
|
+
): Result;
|
351
|
+
decodeFunctionResult(functionFragment: "refund", data: BytesLike): Result;
|
352
|
+
decodeFunctionResult(
|
353
|
+
functionFragment: "removeWhitelistedToken",
|
354
|
+
data: BytesLike
|
355
|
+
): Result;
|
356
|
+
decodeFunctionResult(
|
357
|
+
functionFragment: "renounceOwnership",
|
358
|
+
data: BytesLike
|
359
|
+
): Result;
|
360
|
+
decodeFunctionResult(
|
361
|
+
functionFragment: "renounceRole",
|
362
|
+
data: BytesLike
|
363
|
+
): Result;
|
364
|
+
decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
|
365
|
+
decodeFunctionResult(
|
366
|
+
functionFragment: "roundParticipants",
|
367
|
+
data: BytesLike
|
368
|
+
): Result;
|
369
|
+
decodeFunctionResult(
|
370
|
+
functionFragment: "roundRaisedFunds",
|
371
|
+
data: BytesLike
|
372
|
+
): Result;
|
373
|
+
decodeFunctionResult(functionFragment: "rounds", data: BytesLike): Result;
|
374
|
+
decodeFunctionResult(
|
375
|
+
functionFragment: "setClaimingEnabled",
|
376
|
+
data: BytesLike
|
377
|
+
): Result;
|
378
|
+
decodeFunctionResult(
|
379
|
+
functionFragment: "setMultiRoundParticipation",
|
380
|
+
data: BytesLike
|
381
|
+
): Result;
|
382
|
+
decodeFunctionResult(
|
383
|
+
functionFragment: "setProjectToken",
|
384
|
+
data: BytesLike
|
385
|
+
): Result;
|
386
|
+
decodeFunctionResult(
|
387
|
+
functionFragment: "setRefundEnabled",
|
388
|
+
data: BytesLike
|
389
|
+
): Result;
|
390
|
+
decodeFunctionResult(
|
391
|
+
functionFragment: "supportsInterface",
|
392
|
+
data: BytesLike
|
393
|
+
): Result;
|
394
|
+
decodeFunctionResult(
|
395
|
+
functionFragment: "totalRaisedFunds",
|
396
|
+
data: BytesLike
|
397
|
+
): Result;
|
398
|
+
decodeFunctionResult(
|
399
|
+
functionFragment: "totalRounds",
|
400
|
+
data: BytesLike
|
401
|
+
): Result;
|
402
|
+
decodeFunctionResult(
|
403
|
+
functionFragment: "transferOwnership",
|
404
|
+
data: BytesLike
|
405
|
+
): Result;
|
406
|
+
decodeFunctionResult(
|
407
|
+
functionFragment: "updateRound",
|
408
|
+
data: BytesLike
|
409
|
+
): Result;
|
410
|
+
decodeFunctionResult(
|
411
|
+
functionFragment: "updateTokenPrice",
|
412
|
+
data: BytesLike
|
413
|
+
): Result;
|
414
|
+
decodeFunctionResult(
|
415
|
+
functionFragment: "userContributions",
|
416
|
+
data: BytesLike
|
417
|
+
): Result;
|
418
|
+
decodeFunctionResult(
|
419
|
+
functionFragment: "userParticipatedRound",
|
420
|
+
data: BytesLike
|
421
|
+
): Result;
|
422
|
+
decodeFunctionResult(
|
423
|
+
functionFragment: "whitelistedTokens",
|
424
|
+
data: BytesLike
|
425
|
+
): Result;
|
426
|
+
decodeFunctionResult(
|
427
|
+
functionFragment: "withdrawFunds",
|
428
|
+
data: BytesLike
|
429
|
+
): Result;
|
430
|
+
}
|
431
|
+
|
432
|
+
export namespace ClaimingEnabledUpdatedEvent {
|
433
|
+
export type InputTuple = [roundId: BigNumberish, enabled: boolean];
|
434
|
+
export type OutputTuple = [roundId: bigint, enabled: boolean];
|
435
|
+
export interface OutputObject {
|
436
|
+
roundId: bigint;
|
437
|
+
enabled: boolean;
|
438
|
+
}
|
439
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
440
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
441
|
+
export type Log = TypedEventLog<Event>;
|
442
|
+
export type LogDescription = TypedLogDescription<Event>;
|
443
|
+
}
|
444
|
+
|
445
|
+
export namespace ContributionEvent {
|
446
|
+
export type InputTuple = [
|
447
|
+
roundId: BigNumberish,
|
448
|
+
contributor: AddressLike,
|
449
|
+
token: AddressLike,
|
450
|
+
amount: BigNumberish,
|
451
|
+
fundAmount: BigNumberish,
|
452
|
+
tokenAllocation: BigNumberish
|
453
|
+
];
|
454
|
+
export type OutputTuple = [
|
455
|
+
roundId: bigint,
|
456
|
+
contributor: string,
|
457
|
+
token: string,
|
458
|
+
amount: bigint,
|
459
|
+
fundAmount: bigint,
|
460
|
+
tokenAllocation: bigint
|
461
|
+
];
|
462
|
+
export interface OutputObject {
|
463
|
+
roundId: bigint;
|
464
|
+
contributor: string;
|
465
|
+
token: string;
|
466
|
+
amount: bigint;
|
467
|
+
fundAmount: bigint;
|
468
|
+
tokenAllocation: bigint;
|
469
|
+
}
|
470
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
471
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
472
|
+
export type Log = TypedEventLog<Event>;
|
473
|
+
export type LogDescription = TypedLogDescription<Event>;
|
474
|
+
}
|
475
|
+
|
476
|
+
export namespace InitializedEvent {
|
477
|
+
export type InputTuple = [version: BigNumberish];
|
478
|
+
export type OutputTuple = [version: bigint];
|
479
|
+
export interface OutputObject {
|
480
|
+
version: bigint;
|
481
|
+
}
|
482
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
483
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
484
|
+
export type Log = TypedEventLog<Event>;
|
485
|
+
export type LogDescription = TypedLogDescription<Event>;
|
486
|
+
}
|
487
|
+
|
488
|
+
export namespace MultiRoundParticipationUpdatedEvent {
|
489
|
+
export type InputTuple = [roundId: BigNumberish, enabled: boolean];
|
490
|
+
export type OutputTuple = [roundId: bigint, enabled: boolean];
|
491
|
+
export interface OutputObject {
|
492
|
+
roundId: bigint;
|
493
|
+
enabled: boolean;
|
494
|
+
}
|
495
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
496
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
497
|
+
export type Log = TypedEventLog<Event>;
|
498
|
+
export type LogDescription = TypedLogDescription<Event>;
|
499
|
+
}
|
500
|
+
|
501
|
+
export namespace OwnershipTransferredEvent {
|
502
|
+
export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
503
|
+
export type OutputTuple = [previousOwner: string, newOwner: string];
|
504
|
+
export interface OutputObject {
|
505
|
+
previousOwner: string;
|
506
|
+
newOwner: string;
|
507
|
+
}
|
508
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
509
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
510
|
+
export type Log = TypedEventLog<Event>;
|
511
|
+
export type LogDescription = TypedLogDescription<Event>;
|
512
|
+
}
|
513
|
+
|
514
|
+
export namespace ProjectTokenUpdatedEvent {
|
515
|
+
export type InputTuple = [oldToken: AddressLike, newToken: AddressLike];
|
516
|
+
export type OutputTuple = [oldToken: string, newToken: string];
|
517
|
+
export interface OutputObject {
|
518
|
+
oldToken: string;
|
519
|
+
newToken: string;
|
520
|
+
}
|
521
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
522
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
523
|
+
export type Log = TypedEventLog<Event>;
|
524
|
+
export type LogDescription = TypedLogDescription<Event>;
|
525
|
+
}
|
526
|
+
|
527
|
+
export namespace RefundEnabledUpdatedEvent {
|
528
|
+
export type InputTuple = [roundId: BigNumberish, enabled: boolean];
|
529
|
+
export type OutputTuple = [roundId: bigint, enabled: boolean];
|
530
|
+
export interface OutputObject {
|
531
|
+
roundId: bigint;
|
532
|
+
enabled: boolean;
|
533
|
+
}
|
534
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
535
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
536
|
+
export type Log = TypedEventLog<Event>;
|
537
|
+
export type LogDescription = TypedLogDescription<Event>;
|
538
|
+
}
|
539
|
+
|
540
|
+
export namespace RefundedEvent {
|
541
|
+
export type InputTuple = [
|
542
|
+
roundId: BigNumberish,
|
543
|
+
user: AddressLike,
|
544
|
+
token: AddressLike,
|
545
|
+
amount: BigNumberish
|
546
|
+
];
|
547
|
+
export type OutputTuple = [
|
548
|
+
roundId: bigint,
|
549
|
+
user: string,
|
550
|
+
token: string,
|
551
|
+
amount: bigint
|
552
|
+
];
|
553
|
+
export interface OutputObject {
|
554
|
+
roundId: bigint;
|
555
|
+
user: string;
|
556
|
+
token: string;
|
557
|
+
amount: bigint;
|
558
|
+
}
|
559
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
560
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
561
|
+
export type Log = TypedEventLog<Event>;
|
562
|
+
export type LogDescription = TypedLogDescription<Event>;
|
563
|
+
}
|
564
|
+
|
565
|
+
export namespace RoleAdminChangedEvent {
|
566
|
+
export type InputTuple = [
|
567
|
+
role: BytesLike,
|
568
|
+
previousAdminRole: BytesLike,
|
569
|
+
newAdminRole: BytesLike
|
570
|
+
];
|
571
|
+
export type OutputTuple = [
|
572
|
+
role: string,
|
573
|
+
previousAdminRole: string,
|
574
|
+
newAdminRole: string
|
575
|
+
];
|
576
|
+
export interface OutputObject {
|
577
|
+
role: string;
|
578
|
+
previousAdminRole: string;
|
579
|
+
newAdminRole: string;
|
580
|
+
}
|
581
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
582
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
583
|
+
export type Log = TypedEventLog<Event>;
|
584
|
+
export type LogDescription = TypedLogDescription<Event>;
|
585
|
+
}
|
586
|
+
|
587
|
+
export namespace RoleGrantedEvent {
|
588
|
+
export type InputTuple = [
|
589
|
+
role: BytesLike,
|
590
|
+
account: AddressLike,
|
591
|
+
sender: AddressLike
|
592
|
+
];
|
593
|
+
export type OutputTuple = [role: string, account: string, sender: string];
|
594
|
+
export interface OutputObject {
|
595
|
+
role: string;
|
596
|
+
account: string;
|
597
|
+
sender: string;
|
598
|
+
}
|
599
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
600
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
601
|
+
export type Log = TypedEventLog<Event>;
|
602
|
+
export type LogDescription = TypedLogDescription<Event>;
|
603
|
+
}
|
604
|
+
|
605
|
+
export namespace RoleRevokedEvent {
|
606
|
+
export type InputTuple = [
|
607
|
+
role: BytesLike,
|
608
|
+
account: AddressLike,
|
609
|
+
sender: AddressLike
|
610
|
+
];
|
611
|
+
export type OutputTuple = [role: string, account: string, sender: string];
|
612
|
+
export interface OutputObject {
|
613
|
+
role: string;
|
614
|
+
account: string;
|
615
|
+
sender: string;
|
616
|
+
}
|
617
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
618
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
619
|
+
export type Log = TypedEventLog<Event>;
|
620
|
+
export type LogDescription = TypedLogDescription<Event>;
|
621
|
+
}
|
622
|
+
|
623
|
+
export namespace RoundCreatedEvent {
|
624
|
+
export type InputTuple = [
|
625
|
+
roundId: BigNumberish,
|
626
|
+
startTime: BigNumberish,
|
627
|
+
endTime: BigNumberish,
|
628
|
+
targetFund: BigNumberish,
|
629
|
+
totalAllocation: BigNumberish,
|
630
|
+
maxFundPerAccount: BigNumberish
|
631
|
+
];
|
632
|
+
export type OutputTuple = [
|
633
|
+
roundId: bigint,
|
634
|
+
startTime: bigint,
|
635
|
+
endTime: bigint,
|
636
|
+
targetFund: bigint,
|
637
|
+
totalAllocation: bigint,
|
638
|
+
maxFundPerAccount: bigint
|
639
|
+
];
|
640
|
+
export interface OutputObject {
|
641
|
+
roundId: bigint;
|
642
|
+
startTime: bigint;
|
643
|
+
endTime: bigint;
|
644
|
+
targetFund: bigint;
|
645
|
+
totalAllocation: bigint;
|
646
|
+
maxFundPerAccount: bigint;
|
647
|
+
}
|
648
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
649
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
650
|
+
export type Log = TypedEventLog<Event>;
|
651
|
+
export type LogDescription = TypedLogDescription<Event>;
|
652
|
+
}
|
653
|
+
|
654
|
+
export namespace RoundEndedEvent {
|
655
|
+
export type InputTuple = [
|
656
|
+
roundId: BigNumberish,
|
657
|
+
raisedFunds: BigNumberish,
|
658
|
+
participants: BigNumberish
|
659
|
+
];
|
660
|
+
export type OutputTuple = [
|
661
|
+
roundId: bigint,
|
662
|
+
raisedFunds: bigint,
|
663
|
+
participants: bigint
|
664
|
+
];
|
665
|
+
export interface OutputObject {
|
666
|
+
roundId: bigint;
|
667
|
+
raisedFunds: bigint;
|
668
|
+
participants: bigint;
|
669
|
+
}
|
670
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
671
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
672
|
+
export type Log = TypedEventLog<Event>;
|
673
|
+
export type LogDescription = TypedLogDescription<Event>;
|
674
|
+
}
|
675
|
+
|
676
|
+
export namespace RoundUpdatedEvent {
|
677
|
+
export type InputTuple = [
|
678
|
+
roundId: BigNumberish,
|
679
|
+
startTime: BigNumberish,
|
680
|
+
endTime: BigNumberish,
|
681
|
+
targetFund: BigNumberish,
|
682
|
+
totalAllocation: BigNumberish,
|
683
|
+
maxFundPerAccount: BigNumberish
|
684
|
+
];
|
685
|
+
export type OutputTuple = [
|
686
|
+
roundId: bigint,
|
687
|
+
startTime: bigint,
|
688
|
+
endTime: bigint,
|
689
|
+
targetFund: bigint,
|
690
|
+
totalAllocation: bigint,
|
691
|
+
maxFundPerAccount: bigint
|
692
|
+
];
|
693
|
+
export interface OutputObject {
|
694
|
+
roundId: bigint;
|
695
|
+
startTime: bigint;
|
696
|
+
endTime: bigint;
|
697
|
+
targetFund: bigint;
|
698
|
+
totalAllocation: bigint;
|
699
|
+
maxFundPerAccount: bigint;
|
700
|
+
}
|
701
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
702
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
703
|
+
export type Log = TypedEventLog<Event>;
|
704
|
+
export type LogDescription = TypedLogDescription<Event>;
|
705
|
+
}
|
706
|
+
|
707
|
+
export namespace TokenPriceUpdatedEvent {
|
708
|
+
export type InputTuple = [
|
709
|
+
token: AddressLike,
|
710
|
+
oldPrice: BigNumberish,
|
711
|
+
newPrice: BigNumberish
|
712
|
+
];
|
713
|
+
export type OutputTuple = [token: string, oldPrice: bigint, newPrice: bigint];
|
714
|
+
export interface OutputObject {
|
715
|
+
token: string;
|
716
|
+
oldPrice: bigint;
|
717
|
+
newPrice: bigint;
|
718
|
+
}
|
719
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
720
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
721
|
+
export type Log = TypedEventLog<Event>;
|
722
|
+
export type LogDescription = TypedLogDescription<Event>;
|
723
|
+
}
|
724
|
+
|
725
|
+
export namespace TokenRemovedFromWhitelistEvent {
|
726
|
+
export type InputTuple = [token: AddressLike];
|
727
|
+
export type OutputTuple = [token: string];
|
728
|
+
export interface OutputObject {
|
729
|
+
token: string;
|
730
|
+
}
|
731
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
732
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
733
|
+
export type Log = TypedEventLog<Event>;
|
734
|
+
export type LogDescription = TypedLogDescription<Event>;
|
735
|
+
}
|
736
|
+
|
737
|
+
export namespace TokenWhitelistedEvent {
|
738
|
+
export type InputTuple = [token: AddressLike, price: BigNumberish];
|
739
|
+
export type OutputTuple = [token: string, price: bigint];
|
740
|
+
export interface OutputObject {
|
741
|
+
token: string;
|
742
|
+
price: bigint;
|
743
|
+
}
|
744
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
745
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
746
|
+
export type Log = TypedEventLog<Event>;
|
747
|
+
export type LogDescription = TypedLogDescription<Event>;
|
748
|
+
}
|
749
|
+
|
750
|
+
export namespace TokensClaimedEvent {
|
751
|
+
export type InputTuple = [
|
752
|
+
roundId: BigNumberish,
|
753
|
+
user: AddressLike,
|
754
|
+
amount: BigNumberish
|
755
|
+
];
|
756
|
+
export type OutputTuple = [roundId: bigint, user: string, amount: bigint];
|
757
|
+
export interface OutputObject {
|
758
|
+
roundId: bigint;
|
759
|
+
user: string;
|
760
|
+
amount: bigint;
|
761
|
+
}
|
762
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
763
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
764
|
+
export type Log = TypedEventLog<Event>;
|
765
|
+
export type LogDescription = TypedLogDescription<Event>;
|
766
|
+
}
|
767
|
+
|
768
|
+
export interface SeedRoundFundraiser extends BaseContract {
|
769
|
+
connect(runner?: ContractRunner | null): SeedRoundFundraiser;
|
770
|
+
waitForDeployment(): Promise<this>;
|
771
|
+
|
772
|
+
interface: SeedRoundFundraiserInterface;
|
773
|
+
|
774
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
775
|
+
event: TCEvent,
|
776
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
777
|
+
toBlock?: string | number | undefined
|
778
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
779
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
780
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
781
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
782
|
+
toBlock?: string | number | undefined
|
783
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
784
|
+
|
785
|
+
on<TCEvent extends TypedContractEvent>(
|
786
|
+
event: TCEvent,
|
787
|
+
listener: TypedListener<TCEvent>
|
788
|
+
): Promise<this>;
|
789
|
+
on<TCEvent extends TypedContractEvent>(
|
790
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
791
|
+
listener: TypedListener<TCEvent>
|
792
|
+
): Promise<this>;
|
793
|
+
|
794
|
+
once<TCEvent extends TypedContractEvent>(
|
795
|
+
event: TCEvent,
|
796
|
+
listener: TypedListener<TCEvent>
|
797
|
+
): Promise<this>;
|
798
|
+
once<TCEvent extends TypedContractEvent>(
|
799
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
800
|
+
listener: TypedListener<TCEvent>
|
801
|
+
): Promise<this>;
|
802
|
+
|
803
|
+
listeners<TCEvent extends TypedContractEvent>(
|
804
|
+
event: TCEvent
|
805
|
+
): Promise<Array<TypedListener<TCEvent>>>;
|
806
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
807
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(
|
808
|
+
event?: TCEvent
|
809
|
+
): Promise<this>;
|
810
|
+
|
811
|
+
DEFAULT_ADMIN_ROLE: TypedContractMethod<[], [string], "view">;
|
812
|
+
|
813
|
+
ETH_ADDRESS: TypedContractMethod<[], [string], "view">;
|
814
|
+
|
815
|
+
OPERATOR_ROLE: TypedContractMethod<[], [string], "view">;
|
816
|
+
|
817
|
+
PRICE_PRECISION: TypedContractMethod<[], [bigint], "view">;
|
818
|
+
|
819
|
+
addWhitelistedToken: TypedContractMethod<
|
820
|
+
[_token: AddressLike, _price: BigNumberish],
|
821
|
+
[void],
|
822
|
+
"nonpayable"
|
823
|
+
>;
|
824
|
+
|
825
|
+
claimTokens: TypedContractMethod<[], [void], "nonpayable">;
|
826
|
+
|
827
|
+
claimTokensByRoundId: TypedContractMethod<
|
828
|
+
[_roundId: BigNumberish],
|
829
|
+
[void],
|
830
|
+
"nonpayable"
|
831
|
+
>;
|
832
|
+
|
833
|
+
contribute: TypedContractMethod<
|
834
|
+
[_roundId: BigNumberish, _token: AddressLike, _amount: BigNumberish],
|
835
|
+
[void],
|
836
|
+
"payable"
|
837
|
+
>;
|
838
|
+
|
839
|
+
createRound: TypedContractMethod<
|
840
|
+
[
|
841
|
+
_startTime: BigNumberish,
|
842
|
+
_endTime: BigNumberish,
|
843
|
+
_targetFund: BigNumberish,
|
844
|
+
_totalAllocation: BigNumberish,
|
845
|
+
_maxFundPerAccount: BigNumberish
|
846
|
+
],
|
847
|
+
[void],
|
848
|
+
"nonpayable"
|
849
|
+
>;
|
850
|
+
|
851
|
+
endRound: TypedContractMethod<[_roundId: BigNumberish], [void], "nonpayable">;
|
852
|
+
|
853
|
+
getRoleAdmin: TypedContractMethod<[role: BytesLike], [string], "view">;
|
854
|
+
|
855
|
+
getRoundsCount: TypedContractMethod<[], [bigint], "view">;
|
856
|
+
|
857
|
+
getUserParticipatedRound: TypedContractMethod<
|
858
|
+
[_user: AddressLike],
|
859
|
+
[bigint],
|
860
|
+
"view"
|
861
|
+
>;
|
862
|
+
|
863
|
+
getUserRoundContribution: TypedContractMethod<
|
864
|
+
[_roundId: BigNumberish, _user: AddressLike],
|
865
|
+
[
|
866
|
+
[bigint, bigint, boolean, boolean, string, bigint] & {
|
867
|
+
fundAmount: bigint;
|
868
|
+
tokenAllocation: bigint;
|
869
|
+
claimed: boolean;
|
870
|
+
refunded: boolean;
|
871
|
+
contributedToken: string;
|
872
|
+
contributedAmount: bigint;
|
873
|
+
}
|
874
|
+
],
|
875
|
+
"view"
|
876
|
+
>;
|
877
|
+
|
878
|
+
getUserTotalContribution: TypedContractMethod<
|
879
|
+
[_user: AddressLike],
|
880
|
+
[
|
881
|
+
[bigint, bigint] & {
|
882
|
+
totalFundAmount: bigint;
|
883
|
+
totalTokenAllocation: bigint;
|
884
|
+
}
|
885
|
+
],
|
886
|
+
"view"
|
887
|
+
>;
|
888
|
+
|
889
|
+
grantOperatorRole: TypedContractMethod<
|
890
|
+
[operator: AddressLike],
|
891
|
+
[void],
|
892
|
+
"nonpayable"
|
893
|
+
>;
|
894
|
+
|
895
|
+
grantRole: TypedContractMethod<
|
896
|
+
[role: BytesLike, account: AddressLike],
|
897
|
+
[void],
|
898
|
+
"nonpayable"
|
899
|
+
>;
|
900
|
+
|
901
|
+
hasRole: TypedContractMethod<
|
902
|
+
[role: BytesLike, account: AddressLike],
|
903
|
+
[boolean],
|
904
|
+
"view"
|
905
|
+
>;
|
906
|
+
|
907
|
+
initialize: TypedContractMethod<
|
908
|
+
[_projectToken: AddressLike],
|
909
|
+
[void],
|
910
|
+
"nonpayable"
|
911
|
+
>;
|
912
|
+
|
913
|
+
isRoundActive: TypedContractMethod<
|
914
|
+
[_roundId: BigNumberish],
|
915
|
+
[boolean],
|
916
|
+
"view"
|
917
|
+
>;
|
918
|
+
|
919
|
+
owner: TypedContractMethod<[], [string], "view">;
|
920
|
+
|
921
|
+
projectToken: TypedContractMethod<[], [string], "view">;
|
922
|
+
|
923
|
+
refund: TypedContractMethod<[], [void], "nonpayable">;
|
924
|
+
|
925
|
+
removeWhitelistedToken: TypedContractMethod<
|
926
|
+
[_token: AddressLike],
|
927
|
+
[void],
|
928
|
+
"nonpayable"
|
929
|
+
>;
|
930
|
+
|
931
|
+
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
932
|
+
|
933
|
+
renounceRole: TypedContractMethod<
|
934
|
+
[role: BytesLike, callerConfirmation: AddressLike],
|
935
|
+
[void],
|
936
|
+
"nonpayable"
|
937
|
+
>;
|
938
|
+
|
939
|
+
revokeRole: TypedContractMethod<
|
940
|
+
[role: BytesLike, account: AddressLike],
|
941
|
+
[void],
|
942
|
+
"nonpayable"
|
943
|
+
>;
|
944
|
+
|
945
|
+
roundParticipants: TypedContractMethod<
|
946
|
+
[arg0: BigNumberish],
|
947
|
+
[bigint],
|
948
|
+
"view"
|
949
|
+
>;
|
950
|
+
|
951
|
+
roundRaisedFunds: TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;
|
952
|
+
|
953
|
+
rounds: TypedContractMethod<
|
954
|
+
[arg0: BigNumberish],
|
955
|
+
[
|
956
|
+
[
|
957
|
+
bigint,
|
958
|
+
bigint,
|
959
|
+
bigint,
|
960
|
+
bigint,
|
961
|
+
bigint,
|
962
|
+
boolean,
|
963
|
+
boolean,
|
964
|
+
boolean,
|
965
|
+
boolean,
|
966
|
+
boolean
|
967
|
+
] & {
|
968
|
+
startTime: bigint;
|
969
|
+
endTime: bigint;
|
970
|
+
targetFund: bigint;
|
971
|
+
totalAllocation: bigint;
|
972
|
+
maxFundPerAccount: bigint;
|
973
|
+
exists: boolean;
|
974
|
+
ended: boolean;
|
975
|
+
claimingEnabled: boolean;
|
976
|
+
refundEnabled: boolean;
|
977
|
+
allowMultiRoundParticipation: boolean;
|
978
|
+
}
|
979
|
+
],
|
980
|
+
"view"
|
981
|
+
>;
|
982
|
+
|
983
|
+
setClaimingEnabled: TypedContractMethod<
|
984
|
+
[_roundId: BigNumberish, _enabled: boolean],
|
985
|
+
[void],
|
986
|
+
"nonpayable"
|
987
|
+
>;
|
988
|
+
|
989
|
+
setMultiRoundParticipation: TypedContractMethod<
|
990
|
+
[_roundId: BigNumberish, _enabled: boolean],
|
991
|
+
[void],
|
992
|
+
"nonpayable"
|
993
|
+
>;
|
994
|
+
|
995
|
+
setProjectToken: TypedContractMethod<
|
996
|
+
[_projectToken: AddressLike],
|
997
|
+
[void],
|
998
|
+
"nonpayable"
|
999
|
+
>;
|
1000
|
+
|
1001
|
+
setRefundEnabled: TypedContractMethod<
|
1002
|
+
[_roundId: BigNumberish, _enabled: boolean],
|
1003
|
+
[void],
|
1004
|
+
"nonpayable"
|
1005
|
+
>;
|
1006
|
+
|
1007
|
+
supportsInterface: TypedContractMethod<
|
1008
|
+
[interfaceId: BytesLike],
|
1009
|
+
[boolean],
|
1010
|
+
"view"
|
1011
|
+
>;
|
1012
|
+
|
1013
|
+
totalRaisedFunds: TypedContractMethod<[], [bigint], "view">;
|
1014
|
+
|
1015
|
+
totalRounds: TypedContractMethod<[], [bigint], "view">;
|
1016
|
+
|
1017
|
+
transferOwnership: TypedContractMethod<
|
1018
|
+
[newOwner: AddressLike],
|
1019
|
+
[void],
|
1020
|
+
"nonpayable"
|
1021
|
+
>;
|
1022
|
+
|
1023
|
+
updateRound: TypedContractMethod<
|
1024
|
+
[
|
1025
|
+
_roundId: BigNumberish,
|
1026
|
+
_startTime: BigNumberish,
|
1027
|
+
_endTime: BigNumberish,
|
1028
|
+
_targetFund: BigNumberish,
|
1029
|
+
_totalAllocation: BigNumberish,
|
1030
|
+
_maxFundPerAccount: BigNumberish
|
1031
|
+
],
|
1032
|
+
[void],
|
1033
|
+
"nonpayable"
|
1034
|
+
>;
|
1035
|
+
|
1036
|
+
updateTokenPrice: TypedContractMethod<
|
1037
|
+
[_token: AddressLike, _newPrice: BigNumberish],
|
1038
|
+
[void],
|
1039
|
+
"nonpayable"
|
1040
|
+
>;
|
1041
|
+
|
1042
|
+
userContributions: TypedContractMethod<
|
1043
|
+
[arg0: BigNumberish, arg1: AddressLike],
|
1044
|
+
[
|
1045
|
+
[bigint, bigint, boolean, boolean, string, bigint] & {
|
1046
|
+
fundAmount: bigint;
|
1047
|
+
tokenAllocation: bigint;
|
1048
|
+
claimed: boolean;
|
1049
|
+
refunded: boolean;
|
1050
|
+
contributedToken: string;
|
1051
|
+
contributedAmount: bigint;
|
1052
|
+
}
|
1053
|
+
],
|
1054
|
+
"view"
|
1055
|
+
>;
|
1056
|
+
|
1057
|
+
userParticipatedRound: TypedContractMethod<
|
1058
|
+
[arg0: AddressLike],
|
1059
|
+
[bigint],
|
1060
|
+
"view"
|
1061
|
+
>;
|
1062
|
+
|
1063
|
+
whitelistedTokens: TypedContractMethod<
|
1064
|
+
[arg0: AddressLike],
|
1065
|
+
[[boolean, bigint] & { isWhitelisted: boolean; price: bigint }],
|
1066
|
+
"view"
|
1067
|
+
>;
|
1068
|
+
|
1069
|
+
withdrawFunds: TypedContractMethod<
|
1070
|
+
[_token: AddressLike, _amount: BigNumberish],
|
1071
|
+
[void],
|
1072
|
+
"nonpayable"
|
1073
|
+
>;
|
1074
|
+
|
1075
|
+
getFunction<T extends ContractMethod = ContractMethod>(
|
1076
|
+
key: string | FunctionFragment
|
1077
|
+
): T;
|
1078
|
+
|
1079
|
+
getFunction(
|
1080
|
+
nameOrSignature: "DEFAULT_ADMIN_ROLE"
|
1081
|
+
): TypedContractMethod<[], [string], "view">;
|
1082
|
+
getFunction(
|
1083
|
+
nameOrSignature: "ETH_ADDRESS"
|
1084
|
+
): TypedContractMethod<[], [string], "view">;
|
1085
|
+
getFunction(
|
1086
|
+
nameOrSignature: "OPERATOR_ROLE"
|
1087
|
+
): TypedContractMethod<[], [string], "view">;
|
1088
|
+
getFunction(
|
1089
|
+
nameOrSignature: "PRICE_PRECISION"
|
1090
|
+
): TypedContractMethod<[], [bigint], "view">;
|
1091
|
+
getFunction(
|
1092
|
+
nameOrSignature: "addWhitelistedToken"
|
1093
|
+
): TypedContractMethod<
|
1094
|
+
[_token: AddressLike, _price: BigNumberish],
|
1095
|
+
[void],
|
1096
|
+
"nonpayable"
|
1097
|
+
>;
|
1098
|
+
getFunction(
|
1099
|
+
nameOrSignature: "claimTokens"
|
1100
|
+
): TypedContractMethod<[], [void], "nonpayable">;
|
1101
|
+
getFunction(
|
1102
|
+
nameOrSignature: "claimTokensByRoundId"
|
1103
|
+
): TypedContractMethod<[_roundId: BigNumberish], [void], "nonpayable">;
|
1104
|
+
getFunction(
|
1105
|
+
nameOrSignature: "contribute"
|
1106
|
+
): TypedContractMethod<
|
1107
|
+
[_roundId: BigNumberish, _token: AddressLike, _amount: BigNumberish],
|
1108
|
+
[void],
|
1109
|
+
"payable"
|
1110
|
+
>;
|
1111
|
+
getFunction(
|
1112
|
+
nameOrSignature: "createRound"
|
1113
|
+
): TypedContractMethod<
|
1114
|
+
[
|
1115
|
+
_startTime: BigNumberish,
|
1116
|
+
_endTime: BigNumberish,
|
1117
|
+
_targetFund: BigNumberish,
|
1118
|
+
_totalAllocation: BigNumberish,
|
1119
|
+
_maxFundPerAccount: BigNumberish
|
1120
|
+
],
|
1121
|
+
[void],
|
1122
|
+
"nonpayable"
|
1123
|
+
>;
|
1124
|
+
getFunction(
|
1125
|
+
nameOrSignature: "endRound"
|
1126
|
+
): TypedContractMethod<[_roundId: BigNumberish], [void], "nonpayable">;
|
1127
|
+
getFunction(
|
1128
|
+
nameOrSignature: "getRoleAdmin"
|
1129
|
+
): TypedContractMethod<[role: BytesLike], [string], "view">;
|
1130
|
+
getFunction(
|
1131
|
+
nameOrSignature: "getRoundsCount"
|
1132
|
+
): TypedContractMethod<[], [bigint], "view">;
|
1133
|
+
getFunction(
|
1134
|
+
nameOrSignature: "getUserParticipatedRound"
|
1135
|
+
): TypedContractMethod<[_user: AddressLike], [bigint], "view">;
|
1136
|
+
getFunction(
|
1137
|
+
nameOrSignature: "getUserRoundContribution"
|
1138
|
+
): TypedContractMethod<
|
1139
|
+
[_roundId: BigNumberish, _user: AddressLike],
|
1140
|
+
[
|
1141
|
+
[bigint, bigint, boolean, boolean, string, bigint] & {
|
1142
|
+
fundAmount: bigint;
|
1143
|
+
tokenAllocation: bigint;
|
1144
|
+
claimed: boolean;
|
1145
|
+
refunded: boolean;
|
1146
|
+
contributedToken: string;
|
1147
|
+
contributedAmount: bigint;
|
1148
|
+
}
|
1149
|
+
],
|
1150
|
+
"view"
|
1151
|
+
>;
|
1152
|
+
getFunction(
|
1153
|
+
nameOrSignature: "getUserTotalContribution"
|
1154
|
+
): TypedContractMethod<
|
1155
|
+
[_user: AddressLike],
|
1156
|
+
[
|
1157
|
+
[bigint, bigint] & {
|
1158
|
+
totalFundAmount: bigint;
|
1159
|
+
totalTokenAllocation: bigint;
|
1160
|
+
}
|
1161
|
+
],
|
1162
|
+
"view"
|
1163
|
+
>;
|
1164
|
+
getFunction(
|
1165
|
+
nameOrSignature: "grantOperatorRole"
|
1166
|
+
): TypedContractMethod<[operator: AddressLike], [void], "nonpayable">;
|
1167
|
+
getFunction(
|
1168
|
+
nameOrSignature: "grantRole"
|
1169
|
+
): TypedContractMethod<
|
1170
|
+
[role: BytesLike, account: AddressLike],
|
1171
|
+
[void],
|
1172
|
+
"nonpayable"
|
1173
|
+
>;
|
1174
|
+
getFunction(
|
1175
|
+
nameOrSignature: "hasRole"
|
1176
|
+
): TypedContractMethod<
|
1177
|
+
[role: BytesLike, account: AddressLike],
|
1178
|
+
[boolean],
|
1179
|
+
"view"
|
1180
|
+
>;
|
1181
|
+
getFunction(
|
1182
|
+
nameOrSignature: "initialize"
|
1183
|
+
): TypedContractMethod<[_projectToken: AddressLike], [void], "nonpayable">;
|
1184
|
+
getFunction(
|
1185
|
+
nameOrSignature: "isRoundActive"
|
1186
|
+
): TypedContractMethod<[_roundId: BigNumberish], [boolean], "view">;
|
1187
|
+
getFunction(
|
1188
|
+
nameOrSignature: "owner"
|
1189
|
+
): TypedContractMethod<[], [string], "view">;
|
1190
|
+
getFunction(
|
1191
|
+
nameOrSignature: "projectToken"
|
1192
|
+
): TypedContractMethod<[], [string], "view">;
|
1193
|
+
getFunction(
|
1194
|
+
nameOrSignature: "refund"
|
1195
|
+
): TypedContractMethod<[], [void], "nonpayable">;
|
1196
|
+
getFunction(
|
1197
|
+
nameOrSignature: "removeWhitelistedToken"
|
1198
|
+
): TypedContractMethod<[_token: AddressLike], [void], "nonpayable">;
|
1199
|
+
getFunction(
|
1200
|
+
nameOrSignature: "renounceOwnership"
|
1201
|
+
): TypedContractMethod<[], [void], "nonpayable">;
|
1202
|
+
getFunction(
|
1203
|
+
nameOrSignature: "renounceRole"
|
1204
|
+
): TypedContractMethod<
|
1205
|
+
[role: BytesLike, callerConfirmation: AddressLike],
|
1206
|
+
[void],
|
1207
|
+
"nonpayable"
|
1208
|
+
>;
|
1209
|
+
getFunction(
|
1210
|
+
nameOrSignature: "revokeRole"
|
1211
|
+
): TypedContractMethod<
|
1212
|
+
[role: BytesLike, account: AddressLike],
|
1213
|
+
[void],
|
1214
|
+
"nonpayable"
|
1215
|
+
>;
|
1216
|
+
getFunction(
|
1217
|
+
nameOrSignature: "roundParticipants"
|
1218
|
+
): TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;
|
1219
|
+
getFunction(
|
1220
|
+
nameOrSignature: "roundRaisedFunds"
|
1221
|
+
): TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;
|
1222
|
+
getFunction(
|
1223
|
+
nameOrSignature: "rounds"
|
1224
|
+
): TypedContractMethod<
|
1225
|
+
[arg0: BigNumberish],
|
1226
|
+
[
|
1227
|
+
[
|
1228
|
+
bigint,
|
1229
|
+
bigint,
|
1230
|
+
bigint,
|
1231
|
+
bigint,
|
1232
|
+
bigint,
|
1233
|
+
boolean,
|
1234
|
+
boolean,
|
1235
|
+
boolean,
|
1236
|
+
boolean,
|
1237
|
+
boolean
|
1238
|
+
] & {
|
1239
|
+
startTime: bigint;
|
1240
|
+
endTime: bigint;
|
1241
|
+
targetFund: bigint;
|
1242
|
+
totalAllocation: bigint;
|
1243
|
+
maxFundPerAccount: bigint;
|
1244
|
+
exists: boolean;
|
1245
|
+
ended: boolean;
|
1246
|
+
claimingEnabled: boolean;
|
1247
|
+
refundEnabled: boolean;
|
1248
|
+
allowMultiRoundParticipation: boolean;
|
1249
|
+
}
|
1250
|
+
],
|
1251
|
+
"view"
|
1252
|
+
>;
|
1253
|
+
getFunction(
|
1254
|
+
nameOrSignature: "setClaimingEnabled"
|
1255
|
+
): TypedContractMethod<
|
1256
|
+
[_roundId: BigNumberish, _enabled: boolean],
|
1257
|
+
[void],
|
1258
|
+
"nonpayable"
|
1259
|
+
>;
|
1260
|
+
getFunction(
|
1261
|
+
nameOrSignature: "setMultiRoundParticipation"
|
1262
|
+
): TypedContractMethod<
|
1263
|
+
[_roundId: BigNumberish, _enabled: boolean],
|
1264
|
+
[void],
|
1265
|
+
"nonpayable"
|
1266
|
+
>;
|
1267
|
+
getFunction(
|
1268
|
+
nameOrSignature: "setProjectToken"
|
1269
|
+
): TypedContractMethod<[_projectToken: AddressLike], [void], "nonpayable">;
|
1270
|
+
getFunction(
|
1271
|
+
nameOrSignature: "setRefundEnabled"
|
1272
|
+
): TypedContractMethod<
|
1273
|
+
[_roundId: BigNumberish, _enabled: boolean],
|
1274
|
+
[void],
|
1275
|
+
"nonpayable"
|
1276
|
+
>;
|
1277
|
+
getFunction(
|
1278
|
+
nameOrSignature: "supportsInterface"
|
1279
|
+
): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
1280
|
+
getFunction(
|
1281
|
+
nameOrSignature: "totalRaisedFunds"
|
1282
|
+
): TypedContractMethod<[], [bigint], "view">;
|
1283
|
+
getFunction(
|
1284
|
+
nameOrSignature: "totalRounds"
|
1285
|
+
): TypedContractMethod<[], [bigint], "view">;
|
1286
|
+
getFunction(
|
1287
|
+
nameOrSignature: "transferOwnership"
|
1288
|
+
): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
1289
|
+
getFunction(
|
1290
|
+
nameOrSignature: "updateRound"
|
1291
|
+
): TypedContractMethod<
|
1292
|
+
[
|
1293
|
+
_roundId: BigNumberish,
|
1294
|
+
_startTime: BigNumberish,
|
1295
|
+
_endTime: BigNumberish,
|
1296
|
+
_targetFund: BigNumberish,
|
1297
|
+
_totalAllocation: BigNumberish,
|
1298
|
+
_maxFundPerAccount: BigNumberish
|
1299
|
+
],
|
1300
|
+
[void],
|
1301
|
+
"nonpayable"
|
1302
|
+
>;
|
1303
|
+
getFunction(
|
1304
|
+
nameOrSignature: "updateTokenPrice"
|
1305
|
+
): TypedContractMethod<
|
1306
|
+
[_token: AddressLike, _newPrice: BigNumberish],
|
1307
|
+
[void],
|
1308
|
+
"nonpayable"
|
1309
|
+
>;
|
1310
|
+
getFunction(
|
1311
|
+
nameOrSignature: "userContributions"
|
1312
|
+
): TypedContractMethod<
|
1313
|
+
[arg0: BigNumberish, arg1: AddressLike],
|
1314
|
+
[
|
1315
|
+
[bigint, bigint, boolean, boolean, string, bigint] & {
|
1316
|
+
fundAmount: bigint;
|
1317
|
+
tokenAllocation: bigint;
|
1318
|
+
claimed: boolean;
|
1319
|
+
refunded: boolean;
|
1320
|
+
contributedToken: string;
|
1321
|
+
contributedAmount: bigint;
|
1322
|
+
}
|
1323
|
+
],
|
1324
|
+
"view"
|
1325
|
+
>;
|
1326
|
+
getFunction(
|
1327
|
+
nameOrSignature: "userParticipatedRound"
|
1328
|
+
): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
1329
|
+
getFunction(
|
1330
|
+
nameOrSignature: "whitelistedTokens"
|
1331
|
+
): TypedContractMethod<
|
1332
|
+
[arg0: AddressLike],
|
1333
|
+
[[boolean, bigint] & { isWhitelisted: boolean; price: bigint }],
|
1334
|
+
"view"
|
1335
|
+
>;
|
1336
|
+
getFunction(
|
1337
|
+
nameOrSignature: "withdrawFunds"
|
1338
|
+
): TypedContractMethod<
|
1339
|
+
[_token: AddressLike, _amount: BigNumberish],
|
1340
|
+
[void],
|
1341
|
+
"nonpayable"
|
1342
|
+
>;
|
1343
|
+
|
1344
|
+
getEvent(
|
1345
|
+
key: "ClaimingEnabledUpdated"
|
1346
|
+
): TypedContractEvent<
|
1347
|
+
ClaimingEnabledUpdatedEvent.InputTuple,
|
1348
|
+
ClaimingEnabledUpdatedEvent.OutputTuple,
|
1349
|
+
ClaimingEnabledUpdatedEvent.OutputObject
|
1350
|
+
>;
|
1351
|
+
getEvent(
|
1352
|
+
key: "Contribution"
|
1353
|
+
): TypedContractEvent<
|
1354
|
+
ContributionEvent.InputTuple,
|
1355
|
+
ContributionEvent.OutputTuple,
|
1356
|
+
ContributionEvent.OutputObject
|
1357
|
+
>;
|
1358
|
+
getEvent(
|
1359
|
+
key: "Initialized"
|
1360
|
+
): TypedContractEvent<
|
1361
|
+
InitializedEvent.InputTuple,
|
1362
|
+
InitializedEvent.OutputTuple,
|
1363
|
+
InitializedEvent.OutputObject
|
1364
|
+
>;
|
1365
|
+
getEvent(
|
1366
|
+
key: "MultiRoundParticipationUpdated"
|
1367
|
+
): TypedContractEvent<
|
1368
|
+
MultiRoundParticipationUpdatedEvent.InputTuple,
|
1369
|
+
MultiRoundParticipationUpdatedEvent.OutputTuple,
|
1370
|
+
MultiRoundParticipationUpdatedEvent.OutputObject
|
1371
|
+
>;
|
1372
|
+
getEvent(
|
1373
|
+
key: "OwnershipTransferred"
|
1374
|
+
): TypedContractEvent<
|
1375
|
+
OwnershipTransferredEvent.InputTuple,
|
1376
|
+
OwnershipTransferredEvent.OutputTuple,
|
1377
|
+
OwnershipTransferredEvent.OutputObject
|
1378
|
+
>;
|
1379
|
+
getEvent(
|
1380
|
+
key: "ProjectTokenUpdated"
|
1381
|
+
): TypedContractEvent<
|
1382
|
+
ProjectTokenUpdatedEvent.InputTuple,
|
1383
|
+
ProjectTokenUpdatedEvent.OutputTuple,
|
1384
|
+
ProjectTokenUpdatedEvent.OutputObject
|
1385
|
+
>;
|
1386
|
+
getEvent(
|
1387
|
+
key: "RefundEnabledUpdated"
|
1388
|
+
): TypedContractEvent<
|
1389
|
+
RefundEnabledUpdatedEvent.InputTuple,
|
1390
|
+
RefundEnabledUpdatedEvent.OutputTuple,
|
1391
|
+
RefundEnabledUpdatedEvent.OutputObject
|
1392
|
+
>;
|
1393
|
+
getEvent(
|
1394
|
+
key: "Refunded"
|
1395
|
+
): TypedContractEvent<
|
1396
|
+
RefundedEvent.InputTuple,
|
1397
|
+
RefundedEvent.OutputTuple,
|
1398
|
+
RefundedEvent.OutputObject
|
1399
|
+
>;
|
1400
|
+
getEvent(
|
1401
|
+
key: "RoleAdminChanged"
|
1402
|
+
): TypedContractEvent<
|
1403
|
+
RoleAdminChangedEvent.InputTuple,
|
1404
|
+
RoleAdminChangedEvent.OutputTuple,
|
1405
|
+
RoleAdminChangedEvent.OutputObject
|
1406
|
+
>;
|
1407
|
+
getEvent(
|
1408
|
+
key: "RoleGranted"
|
1409
|
+
): TypedContractEvent<
|
1410
|
+
RoleGrantedEvent.InputTuple,
|
1411
|
+
RoleGrantedEvent.OutputTuple,
|
1412
|
+
RoleGrantedEvent.OutputObject
|
1413
|
+
>;
|
1414
|
+
getEvent(
|
1415
|
+
key: "RoleRevoked"
|
1416
|
+
): TypedContractEvent<
|
1417
|
+
RoleRevokedEvent.InputTuple,
|
1418
|
+
RoleRevokedEvent.OutputTuple,
|
1419
|
+
RoleRevokedEvent.OutputObject
|
1420
|
+
>;
|
1421
|
+
getEvent(
|
1422
|
+
key: "RoundCreated"
|
1423
|
+
): TypedContractEvent<
|
1424
|
+
RoundCreatedEvent.InputTuple,
|
1425
|
+
RoundCreatedEvent.OutputTuple,
|
1426
|
+
RoundCreatedEvent.OutputObject
|
1427
|
+
>;
|
1428
|
+
getEvent(
|
1429
|
+
key: "RoundEnded"
|
1430
|
+
): TypedContractEvent<
|
1431
|
+
RoundEndedEvent.InputTuple,
|
1432
|
+
RoundEndedEvent.OutputTuple,
|
1433
|
+
RoundEndedEvent.OutputObject
|
1434
|
+
>;
|
1435
|
+
getEvent(
|
1436
|
+
key: "RoundUpdated"
|
1437
|
+
): TypedContractEvent<
|
1438
|
+
RoundUpdatedEvent.InputTuple,
|
1439
|
+
RoundUpdatedEvent.OutputTuple,
|
1440
|
+
RoundUpdatedEvent.OutputObject
|
1441
|
+
>;
|
1442
|
+
getEvent(
|
1443
|
+
key: "TokenPriceUpdated"
|
1444
|
+
): TypedContractEvent<
|
1445
|
+
TokenPriceUpdatedEvent.InputTuple,
|
1446
|
+
TokenPriceUpdatedEvent.OutputTuple,
|
1447
|
+
TokenPriceUpdatedEvent.OutputObject
|
1448
|
+
>;
|
1449
|
+
getEvent(
|
1450
|
+
key: "TokenRemovedFromWhitelist"
|
1451
|
+
): TypedContractEvent<
|
1452
|
+
TokenRemovedFromWhitelistEvent.InputTuple,
|
1453
|
+
TokenRemovedFromWhitelistEvent.OutputTuple,
|
1454
|
+
TokenRemovedFromWhitelistEvent.OutputObject
|
1455
|
+
>;
|
1456
|
+
getEvent(
|
1457
|
+
key: "TokenWhitelisted"
|
1458
|
+
): TypedContractEvent<
|
1459
|
+
TokenWhitelistedEvent.InputTuple,
|
1460
|
+
TokenWhitelistedEvent.OutputTuple,
|
1461
|
+
TokenWhitelistedEvent.OutputObject
|
1462
|
+
>;
|
1463
|
+
getEvent(
|
1464
|
+
key: "TokensClaimed"
|
1465
|
+
): TypedContractEvent<
|
1466
|
+
TokensClaimedEvent.InputTuple,
|
1467
|
+
TokensClaimedEvent.OutputTuple,
|
1468
|
+
TokensClaimedEvent.OutputObject
|
1469
|
+
>;
|
1470
|
+
|
1471
|
+
filters: {
|
1472
|
+
"ClaimingEnabledUpdated(uint256,bool)": TypedContractEvent<
|
1473
|
+
ClaimingEnabledUpdatedEvent.InputTuple,
|
1474
|
+
ClaimingEnabledUpdatedEvent.OutputTuple,
|
1475
|
+
ClaimingEnabledUpdatedEvent.OutputObject
|
1476
|
+
>;
|
1477
|
+
ClaimingEnabledUpdated: TypedContractEvent<
|
1478
|
+
ClaimingEnabledUpdatedEvent.InputTuple,
|
1479
|
+
ClaimingEnabledUpdatedEvent.OutputTuple,
|
1480
|
+
ClaimingEnabledUpdatedEvent.OutputObject
|
1481
|
+
>;
|
1482
|
+
|
1483
|
+
"Contribution(uint256,address,address,uint256,uint256,uint256)": TypedContractEvent<
|
1484
|
+
ContributionEvent.InputTuple,
|
1485
|
+
ContributionEvent.OutputTuple,
|
1486
|
+
ContributionEvent.OutputObject
|
1487
|
+
>;
|
1488
|
+
Contribution: TypedContractEvent<
|
1489
|
+
ContributionEvent.InputTuple,
|
1490
|
+
ContributionEvent.OutputTuple,
|
1491
|
+
ContributionEvent.OutputObject
|
1492
|
+
>;
|
1493
|
+
|
1494
|
+
"Initialized(uint64)": TypedContractEvent<
|
1495
|
+
InitializedEvent.InputTuple,
|
1496
|
+
InitializedEvent.OutputTuple,
|
1497
|
+
InitializedEvent.OutputObject
|
1498
|
+
>;
|
1499
|
+
Initialized: TypedContractEvent<
|
1500
|
+
InitializedEvent.InputTuple,
|
1501
|
+
InitializedEvent.OutputTuple,
|
1502
|
+
InitializedEvent.OutputObject
|
1503
|
+
>;
|
1504
|
+
|
1505
|
+
"MultiRoundParticipationUpdated(uint256,bool)": TypedContractEvent<
|
1506
|
+
MultiRoundParticipationUpdatedEvent.InputTuple,
|
1507
|
+
MultiRoundParticipationUpdatedEvent.OutputTuple,
|
1508
|
+
MultiRoundParticipationUpdatedEvent.OutputObject
|
1509
|
+
>;
|
1510
|
+
MultiRoundParticipationUpdated: TypedContractEvent<
|
1511
|
+
MultiRoundParticipationUpdatedEvent.InputTuple,
|
1512
|
+
MultiRoundParticipationUpdatedEvent.OutputTuple,
|
1513
|
+
MultiRoundParticipationUpdatedEvent.OutputObject
|
1514
|
+
>;
|
1515
|
+
|
1516
|
+
"OwnershipTransferred(address,address)": TypedContractEvent<
|
1517
|
+
OwnershipTransferredEvent.InputTuple,
|
1518
|
+
OwnershipTransferredEvent.OutputTuple,
|
1519
|
+
OwnershipTransferredEvent.OutputObject
|
1520
|
+
>;
|
1521
|
+
OwnershipTransferred: TypedContractEvent<
|
1522
|
+
OwnershipTransferredEvent.InputTuple,
|
1523
|
+
OwnershipTransferredEvent.OutputTuple,
|
1524
|
+
OwnershipTransferredEvent.OutputObject
|
1525
|
+
>;
|
1526
|
+
|
1527
|
+
"ProjectTokenUpdated(address,address)": TypedContractEvent<
|
1528
|
+
ProjectTokenUpdatedEvent.InputTuple,
|
1529
|
+
ProjectTokenUpdatedEvent.OutputTuple,
|
1530
|
+
ProjectTokenUpdatedEvent.OutputObject
|
1531
|
+
>;
|
1532
|
+
ProjectTokenUpdated: TypedContractEvent<
|
1533
|
+
ProjectTokenUpdatedEvent.InputTuple,
|
1534
|
+
ProjectTokenUpdatedEvent.OutputTuple,
|
1535
|
+
ProjectTokenUpdatedEvent.OutputObject
|
1536
|
+
>;
|
1537
|
+
|
1538
|
+
"RefundEnabledUpdated(uint256,bool)": TypedContractEvent<
|
1539
|
+
RefundEnabledUpdatedEvent.InputTuple,
|
1540
|
+
RefundEnabledUpdatedEvent.OutputTuple,
|
1541
|
+
RefundEnabledUpdatedEvent.OutputObject
|
1542
|
+
>;
|
1543
|
+
RefundEnabledUpdated: TypedContractEvent<
|
1544
|
+
RefundEnabledUpdatedEvent.InputTuple,
|
1545
|
+
RefundEnabledUpdatedEvent.OutputTuple,
|
1546
|
+
RefundEnabledUpdatedEvent.OutputObject
|
1547
|
+
>;
|
1548
|
+
|
1549
|
+
"Refunded(uint256,address,address,uint256)": TypedContractEvent<
|
1550
|
+
RefundedEvent.InputTuple,
|
1551
|
+
RefundedEvent.OutputTuple,
|
1552
|
+
RefundedEvent.OutputObject
|
1553
|
+
>;
|
1554
|
+
Refunded: TypedContractEvent<
|
1555
|
+
RefundedEvent.InputTuple,
|
1556
|
+
RefundedEvent.OutputTuple,
|
1557
|
+
RefundedEvent.OutputObject
|
1558
|
+
>;
|
1559
|
+
|
1560
|
+
"RoleAdminChanged(bytes32,bytes32,bytes32)": TypedContractEvent<
|
1561
|
+
RoleAdminChangedEvent.InputTuple,
|
1562
|
+
RoleAdminChangedEvent.OutputTuple,
|
1563
|
+
RoleAdminChangedEvent.OutputObject
|
1564
|
+
>;
|
1565
|
+
RoleAdminChanged: TypedContractEvent<
|
1566
|
+
RoleAdminChangedEvent.InputTuple,
|
1567
|
+
RoleAdminChangedEvent.OutputTuple,
|
1568
|
+
RoleAdminChangedEvent.OutputObject
|
1569
|
+
>;
|
1570
|
+
|
1571
|
+
"RoleGranted(bytes32,address,address)": TypedContractEvent<
|
1572
|
+
RoleGrantedEvent.InputTuple,
|
1573
|
+
RoleGrantedEvent.OutputTuple,
|
1574
|
+
RoleGrantedEvent.OutputObject
|
1575
|
+
>;
|
1576
|
+
RoleGranted: TypedContractEvent<
|
1577
|
+
RoleGrantedEvent.InputTuple,
|
1578
|
+
RoleGrantedEvent.OutputTuple,
|
1579
|
+
RoleGrantedEvent.OutputObject
|
1580
|
+
>;
|
1581
|
+
|
1582
|
+
"RoleRevoked(bytes32,address,address)": TypedContractEvent<
|
1583
|
+
RoleRevokedEvent.InputTuple,
|
1584
|
+
RoleRevokedEvent.OutputTuple,
|
1585
|
+
RoleRevokedEvent.OutputObject
|
1586
|
+
>;
|
1587
|
+
RoleRevoked: TypedContractEvent<
|
1588
|
+
RoleRevokedEvent.InputTuple,
|
1589
|
+
RoleRevokedEvent.OutputTuple,
|
1590
|
+
RoleRevokedEvent.OutputObject
|
1591
|
+
>;
|
1592
|
+
|
1593
|
+
"RoundCreated(uint256,uint256,uint256,uint256,uint256,uint256)": TypedContractEvent<
|
1594
|
+
RoundCreatedEvent.InputTuple,
|
1595
|
+
RoundCreatedEvent.OutputTuple,
|
1596
|
+
RoundCreatedEvent.OutputObject
|
1597
|
+
>;
|
1598
|
+
RoundCreated: TypedContractEvent<
|
1599
|
+
RoundCreatedEvent.InputTuple,
|
1600
|
+
RoundCreatedEvent.OutputTuple,
|
1601
|
+
RoundCreatedEvent.OutputObject
|
1602
|
+
>;
|
1603
|
+
|
1604
|
+
"RoundEnded(uint256,uint256,uint256)": TypedContractEvent<
|
1605
|
+
RoundEndedEvent.InputTuple,
|
1606
|
+
RoundEndedEvent.OutputTuple,
|
1607
|
+
RoundEndedEvent.OutputObject
|
1608
|
+
>;
|
1609
|
+
RoundEnded: TypedContractEvent<
|
1610
|
+
RoundEndedEvent.InputTuple,
|
1611
|
+
RoundEndedEvent.OutputTuple,
|
1612
|
+
RoundEndedEvent.OutputObject
|
1613
|
+
>;
|
1614
|
+
|
1615
|
+
"RoundUpdated(uint256,uint256,uint256,uint256,uint256,uint256)": TypedContractEvent<
|
1616
|
+
RoundUpdatedEvent.InputTuple,
|
1617
|
+
RoundUpdatedEvent.OutputTuple,
|
1618
|
+
RoundUpdatedEvent.OutputObject
|
1619
|
+
>;
|
1620
|
+
RoundUpdated: TypedContractEvent<
|
1621
|
+
RoundUpdatedEvent.InputTuple,
|
1622
|
+
RoundUpdatedEvent.OutputTuple,
|
1623
|
+
RoundUpdatedEvent.OutputObject
|
1624
|
+
>;
|
1625
|
+
|
1626
|
+
"TokenPriceUpdated(address,uint256,uint256)": TypedContractEvent<
|
1627
|
+
TokenPriceUpdatedEvent.InputTuple,
|
1628
|
+
TokenPriceUpdatedEvent.OutputTuple,
|
1629
|
+
TokenPriceUpdatedEvent.OutputObject
|
1630
|
+
>;
|
1631
|
+
TokenPriceUpdated: TypedContractEvent<
|
1632
|
+
TokenPriceUpdatedEvent.InputTuple,
|
1633
|
+
TokenPriceUpdatedEvent.OutputTuple,
|
1634
|
+
TokenPriceUpdatedEvent.OutputObject
|
1635
|
+
>;
|
1636
|
+
|
1637
|
+
"TokenRemovedFromWhitelist(address)": TypedContractEvent<
|
1638
|
+
TokenRemovedFromWhitelistEvent.InputTuple,
|
1639
|
+
TokenRemovedFromWhitelistEvent.OutputTuple,
|
1640
|
+
TokenRemovedFromWhitelistEvent.OutputObject
|
1641
|
+
>;
|
1642
|
+
TokenRemovedFromWhitelist: TypedContractEvent<
|
1643
|
+
TokenRemovedFromWhitelistEvent.InputTuple,
|
1644
|
+
TokenRemovedFromWhitelistEvent.OutputTuple,
|
1645
|
+
TokenRemovedFromWhitelistEvent.OutputObject
|
1646
|
+
>;
|
1647
|
+
|
1648
|
+
"TokenWhitelisted(address,uint256)": TypedContractEvent<
|
1649
|
+
TokenWhitelistedEvent.InputTuple,
|
1650
|
+
TokenWhitelistedEvent.OutputTuple,
|
1651
|
+
TokenWhitelistedEvent.OutputObject
|
1652
|
+
>;
|
1653
|
+
TokenWhitelisted: TypedContractEvent<
|
1654
|
+
TokenWhitelistedEvent.InputTuple,
|
1655
|
+
TokenWhitelistedEvent.OutputTuple,
|
1656
|
+
TokenWhitelistedEvent.OutputObject
|
1657
|
+
>;
|
1658
|
+
|
1659
|
+
"TokensClaimed(uint256,address,uint256)": TypedContractEvent<
|
1660
|
+
TokensClaimedEvent.InputTuple,
|
1661
|
+
TokensClaimedEvent.OutputTuple,
|
1662
|
+
TokensClaimedEvent.OutputObject
|
1663
|
+
>;
|
1664
|
+
TokensClaimed: TypedContractEvent<
|
1665
|
+
TokensClaimedEvent.InputTuple,
|
1666
|
+
TokensClaimedEvent.OutputTuple,
|
1667
|
+
TokensClaimedEvent.OutputObject
|
1668
|
+
>;
|
1669
|
+
};
|
1670
|
+
}
|