@towns-protocol/generated 0.0.359 → 0.0.360
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/dev/.contracts-hash +1 -1
- package/dev/abis/SubscriptionModuleFacet.abi.json +24 -0
- package/dev/abis/SubscriptionModuleFacet.abi.ts +24 -0
- package/dev/typings/Architect.ts +88 -101
- package/dev/typings/Channels.ts +161 -176
- package/dev/typings/DropFacet.ts +121 -129
- package/dev/typings/EntitlementsManager.ts +75 -80
- package/dev/typings/GuardianFacet.ts +54 -57
- package/dev/typings/IAppAccount.ts +160 -229
- package/dev/typings/IAppRegistry.ts +245 -347
- package/dev/typings/IArchitect.ts +55 -61
- package/dev/typings/IBanning.ts +34 -50
- package/dev/typings/IChannel.ts +123 -136
- package/dev/typings/ICreateSpace.ts +68 -69
- package/dev/typings/ICrossChainEntitlement.ts +14 -15
- package/dev/typings/IDiamond.ts +0 -1
- package/dev/typings/IDiamondCut.ts +20 -25
- package/dev/typings/IDropFacet.ts +99 -105
- package/dev/typings/IERC5267.ts +0 -1
- package/dev/typings/IERC721A.ts +152 -190
- package/dev/typings/IERC721AQueryable.ts +60 -71
- package/dev/typings/IEntitlementChecker.ts +98 -134
- package/dev/typings/IEntitlementDataQueryable.ts +30 -31
- package/dev/typings/IEntitlementsManager.ts +71 -76
- package/dev/typings/IMembershipMetadata.ts +10 -17
- package/dev/typings/IMockLegacyArchitect.sol/ILegacyArchitect.ts +36 -40
- package/dev/typings/IMulticall.ts +10 -14
- package/dev/typings/INodeOperator.ts +88 -109
- package/dev/typings/INodeRegistry.ts +86 -122
- package/dev/typings/IOperatorRegistry.ts +30 -54
- package/dev/typings/IPausable.ts +8 -13
- package/dev/typings/IPricingModules.ts +35 -44
- package/dev/typings/IProxyManager.ts +16 -17
- package/dev/typings/IReview.ts +31 -42
- package/dev/typings/IRoles.ts +191 -206
- package/dev/typings/IRuleEntitlement.sol/IRuleEntitlement.ts +71 -85
- package/dev/typings/IRuleEntitlement.sol/IRuleEntitlementV2.ts +71 -85
- package/dev/typings/ISpaceDelegation.ts +61 -67
- package/dev/typings/IStreamRegistry.ts +160 -182
- package/dev/typings/ISwapFacet.ts +58 -62
- package/dev/typings/ISwapRouter.ts +82 -90
- package/dev/typings/ITipping.ts +37 -38
- package/dev/typings/ITownsPoints.ts +54 -72
- package/dev/typings/ITreasury.ts +95 -119
- package/dev/typings/IWalletLink.ts +169 -186
- package/dev/typings/MainnetDelegation.ts +98 -103
- package/dev/typings/Member.ts +242 -314
- package/dev/typings/MembershipFacet.ts +208 -217
- package/dev/typings/MockERC721A.ts +206 -261
- package/dev/typings/MockEntitlementGated.ts +159 -186
- package/dev/typings/MockLegacyArchitect.ts +44 -50
- package/dev/typings/NodeRegistry.ts +86 -122
- package/dev/typings/OperatorRegistry.ts +48 -74
- package/dev/typings/OwnableFacet.ts +28 -34
- package/dev/typings/PlatformRequirementsFacet.ts +148 -151
- package/dev/typings/PrepayFacet.ts +28 -31
- package/dev/typings/RewardsDistributionV2.ts +393 -423
- package/dev/typings/Roles.ts +195 -210
- package/dev/typings/SimpleApp.ts +147 -163
- package/dev/typings/SpaceOwner.ts +383 -486
- package/dev/typings/StreamRegistry.ts +160 -182
- package/dev/typings/SubscriptionModuleFacet.ts +318 -375
- package/dev/typings/TokenPausableFacet.ts +20 -27
- package/dev/typings/Towns.ts +403 -477
- package/dev/typings/UserEntitlement.ts +80 -95
- package/dev/typings/WalletLink.ts +187 -203
- package/dev/typings/common.ts +0 -2
- package/dev/typings/factories/Architect__factory.ts +2 -3
- package/dev/typings/factories/Channels__factory.ts +2 -3
- package/dev/typings/factories/DropFacet__factory.ts +2 -3
- package/dev/typings/factories/EntitlementsManager__factory.ts +2 -3
- package/dev/typings/factories/GuardianFacet__factory.ts +2 -3
- package/dev/typings/factories/MainnetDelegation__factory.ts +2 -3
- package/dev/typings/factories/Member__factory.ts +10 -11
- package/dev/typings/factories/MembershipFacet__factory.ts +2 -3
- package/dev/typings/factories/MockERC721A__factory.ts +2 -3
- package/dev/typings/factories/MockEntitlementGated__factory.ts +4 -5
- package/dev/typings/factories/MockLegacyArchitect__factory.ts +2 -3
- package/dev/typings/factories/NodeRegistry__factory.ts +2 -3
- package/dev/typings/factories/OperatorRegistry__factory.ts +2 -3
- package/dev/typings/factories/OwnableFacet__factory.ts +2 -3
- package/dev/typings/factories/PlatformRequirementsFacet__factory.ts +2 -3
- package/dev/typings/factories/PrepayFacet__factory.ts +2 -3
- package/dev/typings/factories/RewardsDistributionV2__factory.ts +2 -3
- package/dev/typings/factories/Roles__factory.ts +2 -5
- package/dev/typings/factories/SimpleApp__factory.ts +2 -3
- package/dev/typings/factories/SpaceOwner__factory.ts +2 -3
- package/dev/typings/factories/StreamRegistry__factory.ts +2 -3
- package/dev/typings/factories/SubscriptionModuleFacet__factory.ts +27 -4
- package/dev/typings/factories/TokenPausableFacet__factory.ts +2 -3
- package/dev/typings/factories/Towns__factory.ts +2 -5
- package/dev/typings/factories/UserEntitlement__factory.ts +2 -3
- package/dev/typings/factories/WalletLink__factory.ts +2 -3
- package/dev/typings/factories/mainnet/Towns__factory.ts +6 -7
- package/dev/typings/factories/multichain/Towns__factory.ts +10 -11
- package/dev/typings/mainnet/Towns.ts +427 -506
- package/dev/typings/multichain/Towns.ts +318 -378
- package/package.json +9 -5
|
@@ -24,18 +24,17 @@ import type {
|
|
|
24
24
|
TypedEvent,
|
|
25
25
|
TypedListener,
|
|
26
26
|
OnEvent,
|
|
27
|
-
PromiseOrValue,
|
|
28
27
|
} from "./common";
|
|
29
28
|
|
|
30
29
|
export declare namespace DropGroup {
|
|
31
30
|
export type ClaimConditionStruct = {
|
|
32
|
-
currency:
|
|
33
|
-
startTimestamp:
|
|
34
|
-
endTimestamp:
|
|
35
|
-
penaltyBps:
|
|
36
|
-
maxClaimableSupply:
|
|
37
|
-
supplyClaimed:
|
|
38
|
-
merkleRoot:
|
|
31
|
+
currency: string;
|
|
32
|
+
startTimestamp: BigNumberish;
|
|
33
|
+
endTimestamp: BigNumberish;
|
|
34
|
+
penaltyBps: BigNumberish;
|
|
35
|
+
maxClaimableSupply: BigNumberish;
|
|
36
|
+
supplyClaimed: BigNumberish;
|
|
37
|
+
merkleRoot: BytesLike;
|
|
39
38
|
};
|
|
40
39
|
|
|
41
40
|
export type ClaimConditionStructOutput = [
|
|
@@ -59,12 +58,12 @@ export declare namespace DropGroup {
|
|
|
59
58
|
|
|
60
59
|
export declare namespace DropClaim {
|
|
61
60
|
export type ClaimStruct = {
|
|
62
|
-
conditionId:
|
|
63
|
-
account:
|
|
64
|
-
recipient:
|
|
65
|
-
quantity:
|
|
66
|
-
points:
|
|
67
|
-
proof:
|
|
61
|
+
conditionId: BigNumberish;
|
|
62
|
+
account: string;
|
|
63
|
+
recipient: string;
|
|
64
|
+
quantity: BigNumberish;
|
|
65
|
+
points: BigNumberish;
|
|
66
|
+
proof: BytesLike[];
|
|
68
67
|
};
|
|
69
68
|
|
|
70
69
|
export type ClaimStructOutput = [
|
|
@@ -116,16 +115,11 @@ export interface IDropFacetInterface extends utils.Interface {
|
|
|
116
115
|
): string;
|
|
117
116
|
encodeFunctionData(
|
|
118
117
|
functionFragment: "claimAndStake",
|
|
119
|
-
values: [
|
|
120
|
-
DropClaim.ClaimStruct,
|
|
121
|
-
PromiseOrValue<string>,
|
|
122
|
-
PromiseOrValue<BigNumberish>,
|
|
123
|
-
PromiseOrValue<BytesLike>
|
|
124
|
-
]
|
|
118
|
+
values: [DropClaim.ClaimStruct, string, BigNumberish, BytesLike]
|
|
125
119
|
): string;
|
|
126
120
|
encodeFunctionData(
|
|
127
121
|
functionFragment: "claimWithPenalty",
|
|
128
|
-
values: [DropClaim.ClaimStruct,
|
|
122
|
+
values: [DropClaim.ClaimStruct, BigNumberish]
|
|
129
123
|
): string;
|
|
130
124
|
encodeFunctionData(
|
|
131
125
|
functionFragment: "getActiveClaimConditionId",
|
|
@@ -133,7 +127,7 @@ export interface IDropFacetInterface extends utils.Interface {
|
|
|
133
127
|
): string;
|
|
134
128
|
encodeFunctionData(
|
|
135
129
|
functionFragment: "getClaimConditionById",
|
|
136
|
-
values: [
|
|
130
|
+
values: [BigNumberish]
|
|
137
131
|
): string;
|
|
138
132
|
encodeFunctionData(
|
|
139
133
|
functionFragment: "getClaimConditions",
|
|
@@ -141,11 +135,11 @@ export interface IDropFacetInterface extends utils.Interface {
|
|
|
141
135
|
): string;
|
|
142
136
|
encodeFunctionData(
|
|
143
137
|
functionFragment: "getDepositIdByWallet",
|
|
144
|
-
values: [
|
|
138
|
+
values: [string, BigNumberish]
|
|
145
139
|
): string;
|
|
146
140
|
encodeFunctionData(
|
|
147
141
|
functionFragment: "getSupplyClaimedByWallet",
|
|
148
|
-
values: [
|
|
142
|
+
values: [string, BigNumberish]
|
|
149
143
|
): string;
|
|
150
144
|
encodeFunctionData(
|
|
151
145
|
functionFragment: "setClaimConditions",
|
|
@@ -190,8 +184,8 @@ export interface IDropFacetInterface extends utils.Interface {
|
|
|
190
184
|
): Result;
|
|
191
185
|
|
|
192
186
|
events: {
|
|
193
|
-
"DropFacet_ClaimConditionAdded(uint256,
|
|
194
|
-
"DropFacet_ClaimConditionsUpdated(uint256,
|
|
187
|
+
"DropFacet_ClaimConditionAdded(uint256,(address,uint40,uint40,uint16,uint256,uint256,bytes32))": EventFragment;
|
|
188
|
+
"DropFacet_ClaimConditionsUpdated(uint256,(address,uint40,uint40,uint16,uint256,uint256,bytes32)[])": EventFragment;
|
|
195
189
|
"DropFacet_Claimed_And_Staked(uint256,address,address,uint256)": EventFragment;
|
|
196
190
|
"DropFacet_Claimed_WithPenalty(uint256,address,address,uint256)": EventFragment;
|
|
197
191
|
};
|
|
@@ -291,27 +285,27 @@ export interface IDropFacet extends BaseContract {
|
|
|
291
285
|
functions: {
|
|
292
286
|
addClaimCondition(
|
|
293
287
|
condition: DropGroup.ClaimConditionStruct,
|
|
294
|
-
overrides?: Overrides & { from?:
|
|
288
|
+
overrides?: Overrides & { from?: string }
|
|
295
289
|
): Promise<ContractTransaction>;
|
|
296
290
|
|
|
297
291
|
claimAndStake(
|
|
298
292
|
req: DropClaim.ClaimStruct,
|
|
299
|
-
delegatee:
|
|
300
|
-
deadline:
|
|
301
|
-
signature:
|
|
302
|
-
overrides?: Overrides & { from?:
|
|
293
|
+
delegatee: string,
|
|
294
|
+
deadline: BigNumberish,
|
|
295
|
+
signature: BytesLike,
|
|
296
|
+
overrides?: Overrides & { from?: string }
|
|
303
297
|
): Promise<ContractTransaction>;
|
|
304
298
|
|
|
305
299
|
claimWithPenalty(
|
|
306
300
|
req: DropClaim.ClaimStruct,
|
|
307
|
-
expectedPenaltyBps:
|
|
308
|
-
overrides?: Overrides & { from?:
|
|
301
|
+
expectedPenaltyBps: BigNumberish,
|
|
302
|
+
overrides?: Overrides & { from?: string }
|
|
309
303
|
): Promise<ContractTransaction>;
|
|
310
304
|
|
|
311
305
|
getActiveClaimConditionId(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
312
306
|
|
|
313
307
|
getClaimConditionById(
|
|
314
|
-
conditionId:
|
|
308
|
+
conditionId: BigNumberish,
|
|
315
309
|
overrides?: CallOverrides
|
|
316
310
|
): Promise<[DropGroup.ClaimConditionStructOutput]>;
|
|
317
311
|
|
|
@@ -320,46 +314,46 @@ export interface IDropFacet extends BaseContract {
|
|
|
320
314
|
): Promise<[DropGroup.ClaimConditionStructOutput[]]>;
|
|
321
315
|
|
|
322
316
|
getDepositIdByWallet(
|
|
323
|
-
account:
|
|
324
|
-
conditionId:
|
|
317
|
+
account: string,
|
|
318
|
+
conditionId: BigNumberish,
|
|
325
319
|
overrides?: CallOverrides
|
|
326
320
|
): Promise<[BigNumber]>;
|
|
327
321
|
|
|
328
322
|
getSupplyClaimedByWallet(
|
|
329
|
-
account:
|
|
330
|
-
conditionId:
|
|
323
|
+
account: string,
|
|
324
|
+
conditionId: BigNumberish,
|
|
331
325
|
overrides?: CallOverrides
|
|
332
326
|
): Promise<[BigNumber]>;
|
|
333
327
|
|
|
334
328
|
setClaimConditions(
|
|
335
329
|
conditions: DropGroup.ClaimConditionStruct[],
|
|
336
|
-
overrides?: Overrides & { from?:
|
|
330
|
+
overrides?: Overrides & { from?: string }
|
|
337
331
|
): Promise<ContractTransaction>;
|
|
338
332
|
};
|
|
339
333
|
|
|
340
334
|
addClaimCondition(
|
|
341
335
|
condition: DropGroup.ClaimConditionStruct,
|
|
342
|
-
overrides?: Overrides & { from?:
|
|
336
|
+
overrides?: Overrides & { from?: string }
|
|
343
337
|
): Promise<ContractTransaction>;
|
|
344
338
|
|
|
345
339
|
claimAndStake(
|
|
346
340
|
req: DropClaim.ClaimStruct,
|
|
347
|
-
delegatee:
|
|
348
|
-
deadline:
|
|
349
|
-
signature:
|
|
350
|
-
overrides?: Overrides & { from?:
|
|
341
|
+
delegatee: string,
|
|
342
|
+
deadline: BigNumberish,
|
|
343
|
+
signature: BytesLike,
|
|
344
|
+
overrides?: Overrides & { from?: string }
|
|
351
345
|
): Promise<ContractTransaction>;
|
|
352
346
|
|
|
353
347
|
claimWithPenalty(
|
|
354
348
|
req: DropClaim.ClaimStruct,
|
|
355
|
-
expectedPenaltyBps:
|
|
356
|
-
overrides?: Overrides & { from?:
|
|
349
|
+
expectedPenaltyBps: BigNumberish,
|
|
350
|
+
overrides?: Overrides & { from?: string }
|
|
357
351
|
): Promise<ContractTransaction>;
|
|
358
352
|
|
|
359
353
|
getActiveClaimConditionId(overrides?: CallOverrides): Promise<BigNumber>;
|
|
360
354
|
|
|
361
355
|
getClaimConditionById(
|
|
362
|
-
conditionId:
|
|
356
|
+
conditionId: BigNumberish,
|
|
363
357
|
overrides?: CallOverrides
|
|
364
358
|
): Promise<DropGroup.ClaimConditionStructOutput>;
|
|
365
359
|
|
|
@@ -368,20 +362,20 @@ export interface IDropFacet extends BaseContract {
|
|
|
368
362
|
): Promise<DropGroup.ClaimConditionStructOutput[]>;
|
|
369
363
|
|
|
370
364
|
getDepositIdByWallet(
|
|
371
|
-
account:
|
|
372
|
-
conditionId:
|
|
365
|
+
account: string,
|
|
366
|
+
conditionId: BigNumberish,
|
|
373
367
|
overrides?: CallOverrides
|
|
374
368
|
): Promise<BigNumber>;
|
|
375
369
|
|
|
376
370
|
getSupplyClaimedByWallet(
|
|
377
|
-
account:
|
|
378
|
-
conditionId:
|
|
371
|
+
account: string,
|
|
372
|
+
conditionId: BigNumberish,
|
|
379
373
|
overrides?: CallOverrides
|
|
380
374
|
): Promise<BigNumber>;
|
|
381
375
|
|
|
382
376
|
setClaimConditions(
|
|
383
377
|
conditions: DropGroup.ClaimConditionStruct[],
|
|
384
|
-
overrides?: Overrides & { from?:
|
|
378
|
+
overrides?: Overrides & { from?: string }
|
|
385
379
|
): Promise<ContractTransaction>;
|
|
386
380
|
|
|
387
381
|
callStatic: {
|
|
@@ -392,22 +386,22 @@ export interface IDropFacet extends BaseContract {
|
|
|
392
386
|
|
|
393
387
|
claimAndStake(
|
|
394
388
|
req: DropClaim.ClaimStruct,
|
|
395
|
-
delegatee:
|
|
396
|
-
deadline:
|
|
397
|
-
signature:
|
|
389
|
+
delegatee: string,
|
|
390
|
+
deadline: BigNumberish,
|
|
391
|
+
signature: BytesLike,
|
|
398
392
|
overrides?: CallOverrides
|
|
399
393
|
): Promise<BigNumber>;
|
|
400
394
|
|
|
401
395
|
claimWithPenalty(
|
|
402
396
|
req: DropClaim.ClaimStruct,
|
|
403
|
-
expectedPenaltyBps:
|
|
397
|
+
expectedPenaltyBps: BigNumberish,
|
|
404
398
|
overrides?: CallOverrides
|
|
405
399
|
): Promise<BigNumber>;
|
|
406
400
|
|
|
407
401
|
getActiveClaimConditionId(overrides?: CallOverrides): Promise<BigNumber>;
|
|
408
402
|
|
|
409
403
|
getClaimConditionById(
|
|
410
|
-
conditionId:
|
|
404
|
+
conditionId: BigNumberish,
|
|
411
405
|
overrides?: CallOverrides
|
|
412
406
|
): Promise<DropGroup.ClaimConditionStructOutput>;
|
|
413
407
|
|
|
@@ -416,14 +410,14 @@ export interface IDropFacet extends BaseContract {
|
|
|
416
410
|
): Promise<DropGroup.ClaimConditionStructOutput[]>;
|
|
417
411
|
|
|
418
412
|
getDepositIdByWallet(
|
|
419
|
-
account:
|
|
420
|
-
conditionId:
|
|
413
|
+
account: string,
|
|
414
|
+
conditionId: BigNumberish,
|
|
421
415
|
overrides?: CallOverrides
|
|
422
416
|
): Promise<BigNumber>;
|
|
423
417
|
|
|
424
418
|
getSupplyClaimedByWallet(
|
|
425
|
-
account:
|
|
426
|
-
conditionId:
|
|
419
|
+
account: string,
|
|
420
|
+
conditionId: BigNumberish,
|
|
427
421
|
overrides?: CallOverrides
|
|
428
422
|
): Promise<BigNumber>;
|
|
429
423
|
|
|
@@ -434,47 +428,47 @@ export interface IDropFacet extends BaseContract {
|
|
|
434
428
|
};
|
|
435
429
|
|
|
436
430
|
filters: {
|
|
437
|
-
"DropFacet_ClaimConditionAdded(uint256,
|
|
438
|
-
conditionId?:
|
|
431
|
+
"DropFacet_ClaimConditionAdded(uint256,(address,uint40,uint40,uint16,uint256,uint256,bytes32))"(
|
|
432
|
+
conditionId?: BigNumberish | null,
|
|
439
433
|
condition?: null
|
|
440
434
|
): DropFacet_ClaimConditionAddedEventFilter;
|
|
441
435
|
DropFacet_ClaimConditionAdded(
|
|
442
|
-
conditionId?:
|
|
436
|
+
conditionId?: BigNumberish | null,
|
|
443
437
|
condition?: null
|
|
444
438
|
): DropFacet_ClaimConditionAddedEventFilter;
|
|
445
439
|
|
|
446
|
-
"DropFacet_ClaimConditionsUpdated(uint256,
|
|
447
|
-
conditionId?:
|
|
440
|
+
"DropFacet_ClaimConditionsUpdated(uint256,(address,uint40,uint40,uint16,uint256,uint256,bytes32)[])"(
|
|
441
|
+
conditionId?: BigNumberish | null,
|
|
448
442
|
conditions?: null
|
|
449
443
|
): DropFacet_ClaimConditionsUpdatedEventFilter;
|
|
450
444
|
DropFacet_ClaimConditionsUpdated(
|
|
451
|
-
conditionId?:
|
|
445
|
+
conditionId?: BigNumberish | null,
|
|
452
446
|
conditions?: null
|
|
453
447
|
): DropFacet_ClaimConditionsUpdatedEventFilter;
|
|
454
448
|
|
|
455
449
|
"DropFacet_Claimed_And_Staked(uint256,address,address,uint256)"(
|
|
456
|
-
conditionId?:
|
|
457
|
-
claimer?:
|
|
458
|
-
account?:
|
|
450
|
+
conditionId?: BigNumberish | null,
|
|
451
|
+
claimer?: string | null,
|
|
452
|
+
account?: string | null,
|
|
459
453
|
amount?: null
|
|
460
454
|
): DropFacet_Claimed_And_StakedEventFilter;
|
|
461
455
|
DropFacet_Claimed_And_Staked(
|
|
462
|
-
conditionId?:
|
|
463
|
-
claimer?:
|
|
464
|
-
account?:
|
|
456
|
+
conditionId?: BigNumberish | null,
|
|
457
|
+
claimer?: string | null,
|
|
458
|
+
account?: string | null,
|
|
465
459
|
amount?: null
|
|
466
460
|
): DropFacet_Claimed_And_StakedEventFilter;
|
|
467
461
|
|
|
468
462
|
"DropFacet_Claimed_WithPenalty(uint256,address,address,uint256)"(
|
|
469
|
-
conditionId?:
|
|
470
|
-
claimer?:
|
|
471
|
-
account?:
|
|
463
|
+
conditionId?: BigNumberish | null,
|
|
464
|
+
claimer?: string | null,
|
|
465
|
+
account?: string | null,
|
|
472
466
|
amount?: null
|
|
473
467
|
): DropFacet_Claimed_WithPenaltyEventFilter;
|
|
474
468
|
DropFacet_Claimed_WithPenalty(
|
|
475
|
-
conditionId?:
|
|
476
|
-
claimer?:
|
|
477
|
-
account?:
|
|
469
|
+
conditionId?: BigNumberish | null,
|
|
470
|
+
claimer?: string | null,
|
|
471
|
+
account?: string | null,
|
|
478
472
|
amount?: null
|
|
479
473
|
): DropFacet_Claimed_WithPenaltyEventFilter;
|
|
480
474
|
};
|
|
@@ -482,68 +476,68 @@ export interface IDropFacet extends BaseContract {
|
|
|
482
476
|
estimateGas: {
|
|
483
477
|
addClaimCondition(
|
|
484
478
|
condition: DropGroup.ClaimConditionStruct,
|
|
485
|
-
overrides?: Overrides & { from?:
|
|
479
|
+
overrides?: Overrides & { from?: string }
|
|
486
480
|
): Promise<BigNumber>;
|
|
487
481
|
|
|
488
482
|
claimAndStake(
|
|
489
483
|
req: DropClaim.ClaimStruct,
|
|
490
|
-
delegatee:
|
|
491
|
-
deadline:
|
|
492
|
-
signature:
|
|
493
|
-
overrides?: Overrides & { from?:
|
|
484
|
+
delegatee: string,
|
|
485
|
+
deadline: BigNumberish,
|
|
486
|
+
signature: BytesLike,
|
|
487
|
+
overrides?: Overrides & { from?: string }
|
|
494
488
|
): Promise<BigNumber>;
|
|
495
489
|
|
|
496
490
|
claimWithPenalty(
|
|
497
491
|
req: DropClaim.ClaimStruct,
|
|
498
|
-
expectedPenaltyBps:
|
|
499
|
-
overrides?: Overrides & { from?:
|
|
492
|
+
expectedPenaltyBps: BigNumberish,
|
|
493
|
+
overrides?: Overrides & { from?: string }
|
|
500
494
|
): Promise<BigNumber>;
|
|
501
495
|
|
|
502
496
|
getActiveClaimConditionId(overrides?: CallOverrides): Promise<BigNumber>;
|
|
503
497
|
|
|
504
498
|
getClaimConditionById(
|
|
505
|
-
conditionId:
|
|
499
|
+
conditionId: BigNumberish,
|
|
506
500
|
overrides?: CallOverrides
|
|
507
501
|
): Promise<BigNumber>;
|
|
508
502
|
|
|
509
503
|
getClaimConditions(overrides?: CallOverrides): Promise<BigNumber>;
|
|
510
504
|
|
|
511
505
|
getDepositIdByWallet(
|
|
512
|
-
account:
|
|
513
|
-
conditionId:
|
|
506
|
+
account: string,
|
|
507
|
+
conditionId: BigNumberish,
|
|
514
508
|
overrides?: CallOverrides
|
|
515
509
|
): Promise<BigNumber>;
|
|
516
510
|
|
|
517
511
|
getSupplyClaimedByWallet(
|
|
518
|
-
account:
|
|
519
|
-
conditionId:
|
|
512
|
+
account: string,
|
|
513
|
+
conditionId: BigNumberish,
|
|
520
514
|
overrides?: CallOverrides
|
|
521
515
|
): Promise<BigNumber>;
|
|
522
516
|
|
|
523
517
|
setClaimConditions(
|
|
524
518
|
conditions: DropGroup.ClaimConditionStruct[],
|
|
525
|
-
overrides?: Overrides & { from?:
|
|
519
|
+
overrides?: Overrides & { from?: string }
|
|
526
520
|
): Promise<BigNumber>;
|
|
527
521
|
};
|
|
528
522
|
|
|
529
523
|
populateTransaction: {
|
|
530
524
|
addClaimCondition(
|
|
531
525
|
condition: DropGroup.ClaimConditionStruct,
|
|
532
|
-
overrides?: Overrides & { from?:
|
|
526
|
+
overrides?: Overrides & { from?: string }
|
|
533
527
|
): Promise<PopulatedTransaction>;
|
|
534
528
|
|
|
535
529
|
claimAndStake(
|
|
536
530
|
req: DropClaim.ClaimStruct,
|
|
537
|
-
delegatee:
|
|
538
|
-
deadline:
|
|
539
|
-
signature:
|
|
540
|
-
overrides?: Overrides & { from?:
|
|
531
|
+
delegatee: string,
|
|
532
|
+
deadline: BigNumberish,
|
|
533
|
+
signature: BytesLike,
|
|
534
|
+
overrides?: Overrides & { from?: string }
|
|
541
535
|
): Promise<PopulatedTransaction>;
|
|
542
536
|
|
|
543
537
|
claimWithPenalty(
|
|
544
538
|
req: DropClaim.ClaimStruct,
|
|
545
|
-
expectedPenaltyBps:
|
|
546
|
-
overrides?: Overrides & { from?:
|
|
539
|
+
expectedPenaltyBps: BigNumberish,
|
|
540
|
+
overrides?: Overrides & { from?: string }
|
|
547
541
|
): Promise<PopulatedTransaction>;
|
|
548
542
|
|
|
549
543
|
getActiveClaimConditionId(
|
|
@@ -551,7 +545,7 @@ export interface IDropFacet extends BaseContract {
|
|
|
551
545
|
): Promise<PopulatedTransaction>;
|
|
552
546
|
|
|
553
547
|
getClaimConditionById(
|
|
554
|
-
conditionId:
|
|
548
|
+
conditionId: BigNumberish,
|
|
555
549
|
overrides?: CallOverrides
|
|
556
550
|
): Promise<PopulatedTransaction>;
|
|
557
551
|
|
|
@@ -560,20 +554,20 @@ export interface IDropFacet extends BaseContract {
|
|
|
560
554
|
): Promise<PopulatedTransaction>;
|
|
561
555
|
|
|
562
556
|
getDepositIdByWallet(
|
|
563
|
-
account:
|
|
564
|
-
conditionId:
|
|
557
|
+
account: string,
|
|
558
|
+
conditionId: BigNumberish,
|
|
565
559
|
overrides?: CallOverrides
|
|
566
560
|
): Promise<PopulatedTransaction>;
|
|
567
561
|
|
|
568
562
|
getSupplyClaimedByWallet(
|
|
569
|
-
account:
|
|
570
|
-
conditionId:
|
|
563
|
+
account: string,
|
|
564
|
+
conditionId: BigNumberish,
|
|
571
565
|
overrides?: CallOverrides
|
|
572
566
|
): Promise<PopulatedTransaction>;
|
|
573
567
|
|
|
574
568
|
setClaimConditions(
|
|
575
569
|
conditions: DropGroup.ClaimConditionStruct[],
|
|
576
|
-
overrides?: Overrides & { from?:
|
|
570
|
+
overrides?: Overrides & { from?: string }
|
|
577
571
|
): Promise<PopulatedTransaction>;
|
|
578
572
|
};
|
|
579
573
|
}
|