@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
package/dev/typings/DropFacet.ts
CHANGED
|
@@ -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 = [
|
|
@@ -114,7 +113,7 @@ export interface DropFacetInterface extends utils.Interface {
|
|
|
114
113
|
|
|
115
114
|
encodeFunctionData(
|
|
116
115
|
functionFragment: "__DropFacet_init",
|
|
117
|
-
values: [
|
|
116
|
+
values: [string]
|
|
118
117
|
): string;
|
|
119
118
|
encodeFunctionData(
|
|
120
119
|
functionFragment: "addClaimCondition",
|
|
@@ -122,16 +121,11 @@ export interface DropFacetInterface extends utils.Interface {
|
|
|
122
121
|
): string;
|
|
123
122
|
encodeFunctionData(
|
|
124
123
|
functionFragment: "claimAndStake",
|
|
125
|
-
values: [
|
|
126
|
-
DropClaim.ClaimStruct,
|
|
127
|
-
PromiseOrValue<string>,
|
|
128
|
-
PromiseOrValue<BigNumberish>,
|
|
129
|
-
PromiseOrValue<BytesLike>
|
|
130
|
-
]
|
|
124
|
+
values: [DropClaim.ClaimStruct, string, BigNumberish, BytesLike]
|
|
131
125
|
): string;
|
|
132
126
|
encodeFunctionData(
|
|
133
127
|
functionFragment: "claimWithPenalty",
|
|
134
|
-
values: [DropClaim.ClaimStruct,
|
|
128
|
+
values: [DropClaim.ClaimStruct, BigNumberish]
|
|
135
129
|
): string;
|
|
136
130
|
encodeFunctionData(
|
|
137
131
|
functionFragment: "getActiveClaimConditionId",
|
|
@@ -139,7 +133,7 @@ export interface DropFacetInterface extends utils.Interface {
|
|
|
139
133
|
): string;
|
|
140
134
|
encodeFunctionData(
|
|
141
135
|
functionFragment: "getClaimConditionById",
|
|
142
|
-
values: [
|
|
136
|
+
values: [BigNumberish]
|
|
143
137
|
): string;
|
|
144
138
|
encodeFunctionData(
|
|
145
139
|
functionFragment: "getClaimConditions",
|
|
@@ -147,11 +141,11 @@ export interface DropFacetInterface extends utils.Interface {
|
|
|
147
141
|
): string;
|
|
148
142
|
encodeFunctionData(
|
|
149
143
|
functionFragment: "getDepositIdByWallet",
|
|
150
|
-
values: [
|
|
144
|
+
values: [string, BigNumberish]
|
|
151
145
|
): string;
|
|
152
146
|
encodeFunctionData(
|
|
153
147
|
functionFragment: "getSupplyClaimedByWallet",
|
|
154
|
-
values: [
|
|
148
|
+
values: [string, BigNumberish]
|
|
155
149
|
): string;
|
|
156
150
|
encodeFunctionData(
|
|
157
151
|
functionFragment: "setClaimConditions",
|
|
@@ -200,8 +194,8 @@ export interface DropFacetInterface extends utils.Interface {
|
|
|
200
194
|
): Result;
|
|
201
195
|
|
|
202
196
|
events: {
|
|
203
|
-
"DropFacet_ClaimConditionAdded(uint256,
|
|
204
|
-
"DropFacet_ClaimConditionsUpdated(uint256,
|
|
197
|
+
"DropFacet_ClaimConditionAdded(uint256,(address,uint40,uint40,uint16,uint256,uint256,bytes32))": EventFragment;
|
|
198
|
+
"DropFacet_ClaimConditionsUpdated(uint256,(address,uint40,uint40,uint16,uint256,uint256,bytes32)[])": EventFragment;
|
|
205
199
|
"DropFacet_Claimed_And_Staked(uint256,address,address,uint256)": EventFragment;
|
|
206
200
|
"DropFacet_Claimed_WithPenalty(uint256,address,address,uint256)": EventFragment;
|
|
207
201
|
"Initialized(uint32)": EventFragment;
|
|
@@ -380,33 +374,33 @@ export interface DropFacet extends BaseContract {
|
|
|
380
374
|
|
|
381
375
|
functions: {
|
|
382
376
|
__DropFacet_init(
|
|
383
|
-
rewardsDistribution:
|
|
384
|
-
overrides?: Overrides & { from?:
|
|
377
|
+
rewardsDistribution: string,
|
|
378
|
+
overrides?: Overrides & { from?: string }
|
|
385
379
|
): Promise<ContractTransaction>;
|
|
386
380
|
|
|
387
381
|
addClaimCondition(
|
|
388
382
|
condition: DropGroup.ClaimConditionStruct,
|
|
389
|
-
overrides?: Overrides & { from?:
|
|
383
|
+
overrides?: Overrides & { from?: string }
|
|
390
384
|
): Promise<ContractTransaction>;
|
|
391
385
|
|
|
392
386
|
claimAndStake(
|
|
393
387
|
req: DropClaim.ClaimStruct,
|
|
394
|
-
delegatee:
|
|
395
|
-
deadline:
|
|
396
|
-
signature:
|
|
397
|
-
overrides?: Overrides & { from?:
|
|
388
|
+
delegatee: string,
|
|
389
|
+
deadline: BigNumberish,
|
|
390
|
+
signature: BytesLike,
|
|
391
|
+
overrides?: Overrides & { from?: string }
|
|
398
392
|
): Promise<ContractTransaction>;
|
|
399
393
|
|
|
400
394
|
claimWithPenalty(
|
|
401
395
|
req: DropClaim.ClaimStruct,
|
|
402
|
-
expectedPenaltyBps:
|
|
403
|
-
overrides?: Overrides & { from?:
|
|
396
|
+
expectedPenaltyBps: BigNumberish,
|
|
397
|
+
overrides?: Overrides & { from?: string }
|
|
404
398
|
): Promise<ContractTransaction>;
|
|
405
399
|
|
|
406
400
|
getActiveClaimConditionId(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
407
401
|
|
|
408
402
|
getClaimConditionById(
|
|
409
|
-
conditionId:
|
|
403
|
+
conditionId: BigNumberish,
|
|
410
404
|
overrides?: CallOverrides
|
|
411
405
|
): Promise<
|
|
412
406
|
[DropGroup.ClaimConditionStructOutput] & {
|
|
@@ -419,51 +413,51 @@ export interface DropFacet extends BaseContract {
|
|
|
419
413
|
): Promise<[DropGroup.ClaimConditionStructOutput[]]>;
|
|
420
414
|
|
|
421
415
|
getDepositIdByWallet(
|
|
422
|
-
account:
|
|
423
|
-
conditionId:
|
|
416
|
+
account: string,
|
|
417
|
+
conditionId: BigNumberish,
|
|
424
418
|
overrides?: CallOverrides
|
|
425
419
|
): Promise<[BigNumber]>;
|
|
426
420
|
|
|
427
421
|
getSupplyClaimedByWallet(
|
|
428
|
-
account:
|
|
429
|
-
conditionId:
|
|
422
|
+
account: string,
|
|
423
|
+
conditionId: BigNumberish,
|
|
430
424
|
overrides?: CallOverrides
|
|
431
425
|
): Promise<[BigNumber]>;
|
|
432
426
|
|
|
433
427
|
setClaimConditions(
|
|
434
428
|
conditions: DropGroup.ClaimConditionStruct[],
|
|
435
|
-
overrides?: Overrides & { from?:
|
|
429
|
+
overrides?: Overrides & { from?: string }
|
|
436
430
|
): Promise<ContractTransaction>;
|
|
437
431
|
};
|
|
438
432
|
|
|
439
433
|
__DropFacet_init(
|
|
440
|
-
rewardsDistribution:
|
|
441
|
-
overrides?: Overrides & { from?:
|
|
434
|
+
rewardsDistribution: string,
|
|
435
|
+
overrides?: Overrides & { from?: string }
|
|
442
436
|
): Promise<ContractTransaction>;
|
|
443
437
|
|
|
444
438
|
addClaimCondition(
|
|
445
439
|
condition: DropGroup.ClaimConditionStruct,
|
|
446
|
-
overrides?: Overrides & { from?:
|
|
440
|
+
overrides?: Overrides & { from?: string }
|
|
447
441
|
): Promise<ContractTransaction>;
|
|
448
442
|
|
|
449
443
|
claimAndStake(
|
|
450
444
|
req: DropClaim.ClaimStruct,
|
|
451
|
-
delegatee:
|
|
452
|
-
deadline:
|
|
453
|
-
signature:
|
|
454
|
-
overrides?: Overrides & { from?:
|
|
445
|
+
delegatee: string,
|
|
446
|
+
deadline: BigNumberish,
|
|
447
|
+
signature: BytesLike,
|
|
448
|
+
overrides?: Overrides & { from?: string }
|
|
455
449
|
): Promise<ContractTransaction>;
|
|
456
450
|
|
|
457
451
|
claimWithPenalty(
|
|
458
452
|
req: DropClaim.ClaimStruct,
|
|
459
|
-
expectedPenaltyBps:
|
|
460
|
-
overrides?: Overrides & { from?:
|
|
453
|
+
expectedPenaltyBps: BigNumberish,
|
|
454
|
+
overrides?: Overrides & { from?: string }
|
|
461
455
|
): Promise<ContractTransaction>;
|
|
462
456
|
|
|
463
457
|
getActiveClaimConditionId(overrides?: CallOverrides): Promise<BigNumber>;
|
|
464
458
|
|
|
465
459
|
getClaimConditionById(
|
|
466
|
-
conditionId:
|
|
460
|
+
conditionId: BigNumberish,
|
|
467
461
|
overrides?: CallOverrides
|
|
468
462
|
): Promise<DropGroup.ClaimConditionStructOutput>;
|
|
469
463
|
|
|
@@ -472,25 +466,25 @@ export interface DropFacet extends BaseContract {
|
|
|
472
466
|
): Promise<DropGroup.ClaimConditionStructOutput[]>;
|
|
473
467
|
|
|
474
468
|
getDepositIdByWallet(
|
|
475
|
-
account:
|
|
476
|
-
conditionId:
|
|
469
|
+
account: string,
|
|
470
|
+
conditionId: BigNumberish,
|
|
477
471
|
overrides?: CallOverrides
|
|
478
472
|
): Promise<BigNumber>;
|
|
479
473
|
|
|
480
474
|
getSupplyClaimedByWallet(
|
|
481
|
-
account:
|
|
482
|
-
conditionId:
|
|
475
|
+
account: string,
|
|
476
|
+
conditionId: BigNumberish,
|
|
483
477
|
overrides?: CallOverrides
|
|
484
478
|
): Promise<BigNumber>;
|
|
485
479
|
|
|
486
480
|
setClaimConditions(
|
|
487
481
|
conditions: DropGroup.ClaimConditionStruct[],
|
|
488
|
-
overrides?: Overrides & { from?:
|
|
482
|
+
overrides?: Overrides & { from?: string }
|
|
489
483
|
): Promise<ContractTransaction>;
|
|
490
484
|
|
|
491
485
|
callStatic: {
|
|
492
486
|
__DropFacet_init(
|
|
493
|
-
rewardsDistribution:
|
|
487
|
+
rewardsDistribution: string,
|
|
494
488
|
overrides?: CallOverrides
|
|
495
489
|
): Promise<void>;
|
|
496
490
|
|
|
@@ -501,22 +495,22 @@ export interface DropFacet extends BaseContract {
|
|
|
501
495
|
|
|
502
496
|
claimAndStake(
|
|
503
497
|
req: DropClaim.ClaimStruct,
|
|
504
|
-
delegatee:
|
|
505
|
-
deadline:
|
|
506
|
-
signature:
|
|
498
|
+
delegatee: string,
|
|
499
|
+
deadline: BigNumberish,
|
|
500
|
+
signature: BytesLike,
|
|
507
501
|
overrides?: CallOverrides
|
|
508
502
|
): Promise<BigNumber>;
|
|
509
503
|
|
|
510
504
|
claimWithPenalty(
|
|
511
505
|
req: DropClaim.ClaimStruct,
|
|
512
|
-
expectedPenaltyBps:
|
|
506
|
+
expectedPenaltyBps: BigNumberish,
|
|
513
507
|
overrides?: CallOverrides
|
|
514
508
|
): Promise<BigNumber>;
|
|
515
509
|
|
|
516
510
|
getActiveClaimConditionId(overrides?: CallOverrides): Promise<BigNumber>;
|
|
517
511
|
|
|
518
512
|
getClaimConditionById(
|
|
519
|
-
conditionId:
|
|
513
|
+
conditionId: BigNumberish,
|
|
520
514
|
overrides?: CallOverrides
|
|
521
515
|
): Promise<DropGroup.ClaimConditionStructOutput>;
|
|
522
516
|
|
|
@@ -525,14 +519,14 @@ export interface DropFacet extends BaseContract {
|
|
|
525
519
|
): Promise<DropGroup.ClaimConditionStructOutput[]>;
|
|
526
520
|
|
|
527
521
|
getDepositIdByWallet(
|
|
528
|
-
account:
|
|
529
|
-
conditionId:
|
|
522
|
+
account: string,
|
|
523
|
+
conditionId: BigNumberish,
|
|
530
524
|
overrides?: CallOverrides
|
|
531
525
|
): Promise<BigNumber>;
|
|
532
526
|
|
|
533
527
|
getSupplyClaimedByWallet(
|
|
534
|
-
account:
|
|
535
|
-
conditionId:
|
|
528
|
+
account: string,
|
|
529
|
+
conditionId: BigNumberish,
|
|
536
530
|
overrides?: CallOverrides
|
|
537
531
|
): Promise<BigNumber>;
|
|
538
532
|
|
|
@@ -543,47 +537,47 @@ export interface DropFacet extends BaseContract {
|
|
|
543
537
|
};
|
|
544
538
|
|
|
545
539
|
filters: {
|
|
546
|
-
"DropFacet_ClaimConditionAdded(uint256,
|
|
547
|
-
conditionId?:
|
|
540
|
+
"DropFacet_ClaimConditionAdded(uint256,(address,uint40,uint40,uint16,uint256,uint256,bytes32))"(
|
|
541
|
+
conditionId?: BigNumberish | null,
|
|
548
542
|
condition?: null
|
|
549
543
|
): DropFacet_ClaimConditionAddedEventFilter;
|
|
550
544
|
DropFacet_ClaimConditionAdded(
|
|
551
|
-
conditionId?:
|
|
545
|
+
conditionId?: BigNumberish | null,
|
|
552
546
|
condition?: null
|
|
553
547
|
): DropFacet_ClaimConditionAddedEventFilter;
|
|
554
548
|
|
|
555
|
-
"DropFacet_ClaimConditionsUpdated(uint256,
|
|
556
|
-
conditionId?:
|
|
549
|
+
"DropFacet_ClaimConditionsUpdated(uint256,(address,uint40,uint40,uint16,uint256,uint256,bytes32)[])"(
|
|
550
|
+
conditionId?: BigNumberish | null,
|
|
557
551
|
conditions?: null
|
|
558
552
|
): DropFacet_ClaimConditionsUpdatedEventFilter;
|
|
559
553
|
DropFacet_ClaimConditionsUpdated(
|
|
560
|
-
conditionId?:
|
|
554
|
+
conditionId?: BigNumberish | null,
|
|
561
555
|
conditions?: null
|
|
562
556
|
): DropFacet_ClaimConditionsUpdatedEventFilter;
|
|
563
557
|
|
|
564
558
|
"DropFacet_Claimed_And_Staked(uint256,address,address,uint256)"(
|
|
565
|
-
conditionId?:
|
|
566
|
-
claimer?:
|
|
567
|
-
account?:
|
|
559
|
+
conditionId?: BigNumberish | null,
|
|
560
|
+
claimer?: string | null,
|
|
561
|
+
account?: string | null,
|
|
568
562
|
amount?: null
|
|
569
563
|
): DropFacet_Claimed_And_StakedEventFilter;
|
|
570
564
|
DropFacet_Claimed_And_Staked(
|
|
571
|
-
conditionId?:
|
|
572
|
-
claimer?:
|
|
573
|
-
account?:
|
|
565
|
+
conditionId?: BigNumberish | null,
|
|
566
|
+
claimer?: string | null,
|
|
567
|
+
account?: string | null,
|
|
574
568
|
amount?: null
|
|
575
569
|
): DropFacet_Claimed_And_StakedEventFilter;
|
|
576
570
|
|
|
577
571
|
"DropFacet_Claimed_WithPenalty(uint256,address,address,uint256)"(
|
|
578
|
-
conditionId?:
|
|
579
|
-
claimer?:
|
|
580
|
-
account?:
|
|
572
|
+
conditionId?: BigNumberish | null,
|
|
573
|
+
claimer?: string | null,
|
|
574
|
+
account?: string | null,
|
|
581
575
|
amount?: null
|
|
582
576
|
): DropFacet_Claimed_WithPenaltyEventFilter;
|
|
583
577
|
DropFacet_Claimed_WithPenalty(
|
|
584
|
-
conditionId?:
|
|
585
|
-
claimer?:
|
|
586
|
-
account?:
|
|
578
|
+
conditionId?: BigNumberish | null,
|
|
579
|
+
claimer?: string | null,
|
|
580
|
+
account?: string | null,
|
|
587
581
|
amount?: null
|
|
588
582
|
): DropFacet_Claimed_WithPenaltyEventFilter;
|
|
589
583
|
|
|
@@ -591,39 +585,37 @@ export interface DropFacet extends BaseContract {
|
|
|
591
585
|
Initialized(version?: null): InitializedEventFilter;
|
|
592
586
|
|
|
593
587
|
"InterfaceAdded(bytes4)"(
|
|
594
|
-
interfaceId?:
|
|
595
|
-
): InterfaceAddedEventFilter;
|
|
596
|
-
InterfaceAdded(
|
|
597
|
-
interfaceId?: PromiseOrValue<BytesLike> | null
|
|
588
|
+
interfaceId?: BytesLike | null
|
|
598
589
|
): InterfaceAddedEventFilter;
|
|
590
|
+
InterfaceAdded(interfaceId?: BytesLike | null): InterfaceAddedEventFilter;
|
|
599
591
|
|
|
600
592
|
"InterfaceRemoved(bytes4)"(
|
|
601
|
-
interfaceId?:
|
|
593
|
+
interfaceId?: BytesLike | null
|
|
602
594
|
): InterfaceRemovedEventFilter;
|
|
603
595
|
InterfaceRemoved(
|
|
604
|
-
interfaceId?:
|
|
596
|
+
interfaceId?: BytesLike | null
|
|
605
597
|
): InterfaceRemovedEventFilter;
|
|
606
598
|
|
|
607
599
|
"OwnershipTransferred(address,address)"(
|
|
608
|
-
previousOwner?:
|
|
609
|
-
newOwner?:
|
|
600
|
+
previousOwner?: string | null,
|
|
601
|
+
newOwner?: string | null
|
|
610
602
|
): OwnershipTransferredEventFilter;
|
|
611
603
|
OwnershipTransferred(
|
|
612
|
-
previousOwner?:
|
|
613
|
-
newOwner?:
|
|
604
|
+
previousOwner?: string | null,
|
|
605
|
+
newOwner?: string | null
|
|
614
606
|
): OwnershipTransferredEventFilter;
|
|
615
607
|
|
|
616
608
|
"Paused(address)"(account?: null): PausedEventFilter;
|
|
617
609
|
Paused(account?: null): PausedEventFilter;
|
|
618
610
|
|
|
619
611
|
"Transfer(address,address,uint256)"(
|
|
620
|
-
from?:
|
|
621
|
-
to?:
|
|
612
|
+
from?: string | null,
|
|
613
|
+
to?: string | null,
|
|
622
614
|
value?: null
|
|
623
615
|
): TransferEventFilter;
|
|
624
616
|
Transfer(
|
|
625
|
-
from?:
|
|
626
|
-
to?:
|
|
617
|
+
from?: string | null,
|
|
618
|
+
to?: string | null,
|
|
627
619
|
value?: null
|
|
628
620
|
): TransferEventFilter;
|
|
629
621
|
|
|
@@ -633,79 +625,79 @@ export interface DropFacet extends BaseContract {
|
|
|
633
625
|
|
|
634
626
|
estimateGas: {
|
|
635
627
|
__DropFacet_init(
|
|
636
|
-
rewardsDistribution:
|
|
637
|
-
overrides?: Overrides & { from?:
|
|
628
|
+
rewardsDistribution: string,
|
|
629
|
+
overrides?: Overrides & { from?: string }
|
|
638
630
|
): Promise<BigNumber>;
|
|
639
631
|
|
|
640
632
|
addClaimCondition(
|
|
641
633
|
condition: DropGroup.ClaimConditionStruct,
|
|
642
|
-
overrides?: Overrides & { from?:
|
|
634
|
+
overrides?: Overrides & { from?: string }
|
|
643
635
|
): Promise<BigNumber>;
|
|
644
636
|
|
|
645
637
|
claimAndStake(
|
|
646
638
|
req: DropClaim.ClaimStruct,
|
|
647
|
-
delegatee:
|
|
648
|
-
deadline:
|
|
649
|
-
signature:
|
|
650
|
-
overrides?: Overrides & { from?:
|
|
639
|
+
delegatee: string,
|
|
640
|
+
deadline: BigNumberish,
|
|
641
|
+
signature: BytesLike,
|
|
642
|
+
overrides?: Overrides & { from?: string }
|
|
651
643
|
): Promise<BigNumber>;
|
|
652
644
|
|
|
653
645
|
claimWithPenalty(
|
|
654
646
|
req: DropClaim.ClaimStruct,
|
|
655
|
-
expectedPenaltyBps:
|
|
656
|
-
overrides?: Overrides & { from?:
|
|
647
|
+
expectedPenaltyBps: BigNumberish,
|
|
648
|
+
overrides?: Overrides & { from?: string }
|
|
657
649
|
): Promise<BigNumber>;
|
|
658
650
|
|
|
659
651
|
getActiveClaimConditionId(overrides?: CallOverrides): Promise<BigNumber>;
|
|
660
652
|
|
|
661
653
|
getClaimConditionById(
|
|
662
|
-
conditionId:
|
|
654
|
+
conditionId: BigNumberish,
|
|
663
655
|
overrides?: CallOverrides
|
|
664
656
|
): Promise<BigNumber>;
|
|
665
657
|
|
|
666
658
|
getClaimConditions(overrides?: CallOverrides): Promise<BigNumber>;
|
|
667
659
|
|
|
668
660
|
getDepositIdByWallet(
|
|
669
|
-
account:
|
|
670
|
-
conditionId:
|
|
661
|
+
account: string,
|
|
662
|
+
conditionId: BigNumberish,
|
|
671
663
|
overrides?: CallOverrides
|
|
672
664
|
): Promise<BigNumber>;
|
|
673
665
|
|
|
674
666
|
getSupplyClaimedByWallet(
|
|
675
|
-
account:
|
|
676
|
-
conditionId:
|
|
667
|
+
account: string,
|
|
668
|
+
conditionId: BigNumberish,
|
|
677
669
|
overrides?: CallOverrides
|
|
678
670
|
): Promise<BigNumber>;
|
|
679
671
|
|
|
680
672
|
setClaimConditions(
|
|
681
673
|
conditions: DropGroup.ClaimConditionStruct[],
|
|
682
|
-
overrides?: Overrides & { from?:
|
|
674
|
+
overrides?: Overrides & { from?: string }
|
|
683
675
|
): Promise<BigNumber>;
|
|
684
676
|
};
|
|
685
677
|
|
|
686
678
|
populateTransaction: {
|
|
687
679
|
__DropFacet_init(
|
|
688
|
-
rewardsDistribution:
|
|
689
|
-
overrides?: Overrides & { from?:
|
|
680
|
+
rewardsDistribution: string,
|
|
681
|
+
overrides?: Overrides & { from?: string }
|
|
690
682
|
): Promise<PopulatedTransaction>;
|
|
691
683
|
|
|
692
684
|
addClaimCondition(
|
|
693
685
|
condition: DropGroup.ClaimConditionStruct,
|
|
694
|
-
overrides?: Overrides & { from?:
|
|
686
|
+
overrides?: Overrides & { from?: string }
|
|
695
687
|
): Promise<PopulatedTransaction>;
|
|
696
688
|
|
|
697
689
|
claimAndStake(
|
|
698
690
|
req: DropClaim.ClaimStruct,
|
|
699
|
-
delegatee:
|
|
700
|
-
deadline:
|
|
701
|
-
signature:
|
|
702
|
-
overrides?: Overrides & { from?:
|
|
691
|
+
delegatee: string,
|
|
692
|
+
deadline: BigNumberish,
|
|
693
|
+
signature: BytesLike,
|
|
694
|
+
overrides?: Overrides & { from?: string }
|
|
703
695
|
): Promise<PopulatedTransaction>;
|
|
704
696
|
|
|
705
697
|
claimWithPenalty(
|
|
706
698
|
req: DropClaim.ClaimStruct,
|
|
707
|
-
expectedPenaltyBps:
|
|
708
|
-
overrides?: Overrides & { from?:
|
|
699
|
+
expectedPenaltyBps: BigNumberish,
|
|
700
|
+
overrides?: Overrides & { from?: string }
|
|
709
701
|
): Promise<PopulatedTransaction>;
|
|
710
702
|
|
|
711
703
|
getActiveClaimConditionId(
|
|
@@ -713,7 +705,7 @@ export interface DropFacet extends BaseContract {
|
|
|
713
705
|
): Promise<PopulatedTransaction>;
|
|
714
706
|
|
|
715
707
|
getClaimConditionById(
|
|
716
|
-
conditionId:
|
|
708
|
+
conditionId: BigNumberish,
|
|
717
709
|
overrides?: CallOverrides
|
|
718
710
|
): Promise<PopulatedTransaction>;
|
|
719
711
|
|
|
@@ -722,20 +714,20 @@ export interface DropFacet extends BaseContract {
|
|
|
722
714
|
): Promise<PopulatedTransaction>;
|
|
723
715
|
|
|
724
716
|
getDepositIdByWallet(
|
|
725
|
-
account:
|
|
726
|
-
conditionId:
|
|
717
|
+
account: string,
|
|
718
|
+
conditionId: BigNumberish,
|
|
727
719
|
overrides?: CallOverrides
|
|
728
720
|
): Promise<PopulatedTransaction>;
|
|
729
721
|
|
|
730
722
|
getSupplyClaimedByWallet(
|
|
731
|
-
account:
|
|
732
|
-
conditionId:
|
|
723
|
+
account: string,
|
|
724
|
+
conditionId: BigNumberish,
|
|
733
725
|
overrides?: CallOverrides
|
|
734
726
|
): Promise<PopulatedTransaction>;
|
|
735
727
|
|
|
736
728
|
setClaimConditions(
|
|
737
729
|
conditions: DropGroup.ClaimConditionStruct[],
|
|
738
|
-
overrides?: Overrides & { from?:
|
|
730
|
+
overrides?: Overrides & { from?: string }
|
|
739
731
|
): Promise<PopulatedTransaction>;
|
|
740
732
|
};
|
|
741
733
|
}
|