@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
|
@@ -25,20 +25,19 @@ import type {
|
|
|
25
25
|
TypedEvent,
|
|
26
26
|
TypedListener,
|
|
27
27
|
OnEvent,
|
|
28
|
-
PromiseOrValue,
|
|
29
28
|
} from "./common";
|
|
30
29
|
|
|
31
30
|
export declare namespace IMembershipBase {
|
|
32
31
|
export type MembershipStruct = {
|
|
33
|
-
name:
|
|
34
|
-
symbol:
|
|
35
|
-
price:
|
|
36
|
-
maxSupply:
|
|
37
|
-
duration:
|
|
38
|
-
currency:
|
|
39
|
-
feeRecipient:
|
|
40
|
-
freeAllocation:
|
|
41
|
-
pricingModule:
|
|
32
|
+
name: string;
|
|
33
|
+
symbol: string;
|
|
34
|
+
price: BigNumberish;
|
|
35
|
+
maxSupply: BigNumberish;
|
|
36
|
+
duration: BigNumberish;
|
|
37
|
+
currency: string;
|
|
38
|
+
feeRecipient: string;
|
|
39
|
+
freeAllocation: BigNumberish;
|
|
40
|
+
pricingModule: string;
|
|
42
41
|
};
|
|
43
42
|
|
|
44
43
|
export type MembershipStructOutput = [
|
|
@@ -66,10 +65,10 @@ export declare namespace IMembershipBase {
|
|
|
66
65
|
|
|
67
66
|
export declare namespace IArchitectBase {
|
|
68
67
|
export type MembershipRequirementsStruct = {
|
|
69
|
-
everyone:
|
|
70
|
-
users:
|
|
71
|
-
ruleData:
|
|
72
|
-
syncEntitlements:
|
|
68
|
+
everyone: boolean;
|
|
69
|
+
users: string[];
|
|
70
|
+
ruleData: BytesLike;
|
|
71
|
+
syncEntitlements: boolean;
|
|
73
72
|
};
|
|
74
73
|
|
|
75
74
|
export type MembershipRequirementsStructOutput = [
|
|
@@ -87,7 +86,7 @@ export declare namespace IArchitectBase {
|
|
|
87
86
|
export type MembershipStruct = {
|
|
88
87
|
settings: IMembershipBase.MembershipStruct;
|
|
89
88
|
requirements: IArchitectBase.MembershipRequirementsStruct;
|
|
90
|
-
permissions:
|
|
89
|
+
permissions: string[];
|
|
91
90
|
};
|
|
92
91
|
|
|
93
92
|
export type MembershipStructOutput = [
|
|
@@ -100,15 +99,15 @@ export declare namespace IArchitectBase {
|
|
|
100
99
|
permissions: string[];
|
|
101
100
|
};
|
|
102
101
|
|
|
103
|
-
export type ChannelInfoStruct = { metadata:
|
|
102
|
+
export type ChannelInfoStruct = { metadata: string };
|
|
104
103
|
|
|
105
104
|
export type ChannelInfoStructOutput = [string] & { metadata: string };
|
|
106
105
|
|
|
107
106
|
export type SpaceInfoStruct = {
|
|
108
|
-
name:
|
|
109
|
-
uri:
|
|
110
|
-
shortDescription:
|
|
111
|
-
longDescription:
|
|
107
|
+
name: string;
|
|
108
|
+
uri: string;
|
|
109
|
+
shortDescription: string;
|
|
110
|
+
longDescription: string;
|
|
112
111
|
membership: IArchitectBase.MembershipStruct;
|
|
113
112
|
channel: IArchitectBase.ChannelInfoStruct;
|
|
114
113
|
};
|
|
@@ -130,10 +129,10 @@ export declare namespace IArchitectBase {
|
|
|
130
129
|
};
|
|
131
130
|
|
|
132
131
|
export type MetadataStruct = {
|
|
133
|
-
name:
|
|
134
|
-
uri:
|
|
135
|
-
shortDescription:
|
|
136
|
-
longDescription:
|
|
132
|
+
name: string;
|
|
133
|
+
uri: string;
|
|
134
|
+
shortDescription: string;
|
|
135
|
+
longDescription: string;
|
|
137
136
|
};
|
|
138
137
|
|
|
139
138
|
export type MetadataStructOutput = [string, string, string, string] & {
|
|
@@ -143,7 +142,7 @@ export declare namespace IArchitectBase {
|
|
|
143
142
|
longDescription: string;
|
|
144
143
|
};
|
|
145
144
|
|
|
146
|
-
export type PrepayStruct = { supply:
|
|
145
|
+
export type PrepayStruct = { supply: BigNumberish };
|
|
147
146
|
|
|
148
147
|
export type PrepayStructOutput = [BigNumber] & { supply: BigNumber };
|
|
149
148
|
|
|
@@ -166,14 +165,14 @@ export declare namespace IArchitectBase {
|
|
|
166
165
|
prepay: IArchitectBase.PrepayStructOutput;
|
|
167
166
|
};
|
|
168
167
|
|
|
169
|
-
export type SpaceOptionsStruct = { to:
|
|
168
|
+
export type SpaceOptionsStruct = { to: string };
|
|
170
169
|
|
|
171
170
|
export type SpaceOptionsStructOutput = [string] & { to: string };
|
|
172
171
|
|
|
173
172
|
export type MembershipRequirementsOldStruct = {
|
|
174
|
-
everyone:
|
|
175
|
-
users:
|
|
176
|
-
ruleData:
|
|
173
|
+
everyone: boolean;
|
|
174
|
+
users: string[];
|
|
175
|
+
ruleData: BytesLike;
|
|
177
176
|
};
|
|
178
177
|
|
|
179
178
|
export type MembershipRequirementsOldStructOutput = [
|
|
@@ -185,7 +184,7 @@ export declare namespace IArchitectBase {
|
|
|
185
184
|
export type MembershipOldStruct = {
|
|
186
185
|
settings: IMembershipBase.MembershipStruct;
|
|
187
186
|
requirements: IArchitectBase.MembershipRequirementsOldStruct;
|
|
188
|
-
permissions:
|
|
187
|
+
permissions: string[];
|
|
189
188
|
};
|
|
190
189
|
|
|
191
190
|
export type MembershipOldStructOutput = [
|
|
@@ -238,7 +237,7 @@ export interface ICreateSpaceInterface extends utils.Interface {
|
|
|
238
237
|
|
|
239
238
|
encodeFunctionData(
|
|
240
239
|
functionFragment: "createSpace(uint8,bytes)",
|
|
241
|
-
values: [
|
|
240
|
+
values: [BigNumberish, BytesLike]
|
|
242
241
|
): string;
|
|
243
242
|
encodeFunctionData(
|
|
244
243
|
functionFragment: "createSpace((string,string,string,string,((string,string,uint256,uint256,uint64,address,address,uint256,address),(bool,address[],bytes,bool),string[]),(string)))",
|
|
@@ -343,64 +342,64 @@ export interface ICreateSpace extends BaseContract {
|
|
|
343
342
|
|
|
344
343
|
functions: {
|
|
345
344
|
"createSpace(uint8,bytes)"(
|
|
346
|
-
action:
|
|
347
|
-
data:
|
|
348
|
-
overrides?: PayableOverrides & { from?:
|
|
345
|
+
action: BigNumberish,
|
|
346
|
+
data: BytesLike,
|
|
347
|
+
overrides?: PayableOverrides & { from?: string }
|
|
349
348
|
): Promise<ContractTransaction>;
|
|
350
349
|
|
|
351
350
|
"createSpace((string,string,string,string,((string,string,uint256,uint256,uint64,address,address,uint256,address),(bool,address[],bytes,bool),string[]),(string)))"(
|
|
352
351
|
SpaceInfo: IArchitectBase.SpaceInfoStruct,
|
|
353
|
-
overrides?: Overrides & { from?:
|
|
352
|
+
overrides?: Overrides & { from?: string }
|
|
354
353
|
): Promise<ContractTransaction>;
|
|
355
354
|
|
|
356
355
|
createSpaceV2(
|
|
357
356
|
createSpace: IArchitectBase.CreateSpaceStruct,
|
|
358
357
|
options: IArchitectBase.SpaceOptionsStruct,
|
|
359
|
-
overrides?: PayableOverrides & { from?:
|
|
358
|
+
overrides?: PayableOverrides & { from?: string }
|
|
360
359
|
): Promise<ContractTransaction>;
|
|
361
360
|
|
|
362
361
|
"createSpaceWithPrepay(((string,string,string,string),((string,string,uint256,uint256,uint64,address,address,uint256,address),(bool,address[],bytes),string[]),(string),(uint256)))"(
|
|
363
362
|
spaceInfo: IArchitectBase.CreateSpaceOldStruct,
|
|
364
|
-
overrides?: PayableOverrides & { from?:
|
|
363
|
+
overrides?: PayableOverrides & { from?: string }
|
|
365
364
|
): Promise<ContractTransaction>;
|
|
366
365
|
|
|
367
366
|
"createSpaceWithPrepay(((string,string,string,string),((string,string,uint256,uint256,uint64,address,address,uint256,address),(bool,address[],bytes,bool),string[]),(string),(uint256)))"(
|
|
368
367
|
createSpace: IArchitectBase.CreateSpaceStruct,
|
|
369
|
-
overrides?: PayableOverrides & { from?:
|
|
368
|
+
overrides?: PayableOverrides & { from?: string }
|
|
370
369
|
): Promise<ContractTransaction>;
|
|
371
370
|
};
|
|
372
371
|
|
|
373
372
|
"createSpace(uint8,bytes)"(
|
|
374
|
-
action:
|
|
375
|
-
data:
|
|
376
|
-
overrides?: PayableOverrides & { from?:
|
|
373
|
+
action: BigNumberish,
|
|
374
|
+
data: BytesLike,
|
|
375
|
+
overrides?: PayableOverrides & { from?: string }
|
|
377
376
|
): Promise<ContractTransaction>;
|
|
378
377
|
|
|
379
378
|
"createSpace((string,string,string,string,((string,string,uint256,uint256,uint64,address,address,uint256,address),(bool,address[],bytes,bool),string[]),(string)))"(
|
|
380
379
|
SpaceInfo: IArchitectBase.SpaceInfoStruct,
|
|
381
|
-
overrides?: Overrides & { from?:
|
|
380
|
+
overrides?: Overrides & { from?: string }
|
|
382
381
|
): Promise<ContractTransaction>;
|
|
383
382
|
|
|
384
383
|
createSpaceV2(
|
|
385
384
|
createSpace: IArchitectBase.CreateSpaceStruct,
|
|
386
385
|
options: IArchitectBase.SpaceOptionsStruct,
|
|
387
|
-
overrides?: PayableOverrides & { from?:
|
|
386
|
+
overrides?: PayableOverrides & { from?: string }
|
|
388
387
|
): Promise<ContractTransaction>;
|
|
389
388
|
|
|
390
389
|
"createSpaceWithPrepay(((string,string,string,string),((string,string,uint256,uint256,uint64,address,address,uint256,address),(bool,address[],bytes),string[]),(string),(uint256)))"(
|
|
391
390
|
spaceInfo: IArchitectBase.CreateSpaceOldStruct,
|
|
392
|
-
overrides?: PayableOverrides & { from?:
|
|
391
|
+
overrides?: PayableOverrides & { from?: string }
|
|
393
392
|
): Promise<ContractTransaction>;
|
|
394
393
|
|
|
395
394
|
"createSpaceWithPrepay(((string,string,string,string),((string,string,uint256,uint256,uint64,address,address,uint256,address),(bool,address[],bytes,bool),string[]),(string),(uint256)))"(
|
|
396
395
|
createSpace: IArchitectBase.CreateSpaceStruct,
|
|
397
|
-
overrides?: PayableOverrides & { from?:
|
|
396
|
+
overrides?: PayableOverrides & { from?: string }
|
|
398
397
|
): Promise<ContractTransaction>;
|
|
399
398
|
|
|
400
399
|
callStatic: {
|
|
401
400
|
"createSpace(uint8,bytes)"(
|
|
402
|
-
action:
|
|
403
|
-
data:
|
|
401
|
+
action: BigNumberish,
|
|
402
|
+
data: BytesLike,
|
|
404
403
|
overrides?: CallOverrides
|
|
405
404
|
): Promise<string>;
|
|
406
405
|
|
|
@@ -428,79 +427,79 @@ export interface ICreateSpace extends BaseContract {
|
|
|
428
427
|
|
|
429
428
|
filters: {
|
|
430
429
|
"Architect__ProxyInitializerSet(address)"(
|
|
431
|
-
proxyInitializer?:
|
|
430
|
+
proxyInitializer?: string | null
|
|
432
431
|
): Architect__ProxyInitializerSetEventFilter;
|
|
433
432
|
Architect__ProxyInitializerSet(
|
|
434
|
-
proxyInitializer?:
|
|
433
|
+
proxyInitializer?: string | null
|
|
435
434
|
): Architect__ProxyInitializerSetEventFilter;
|
|
436
435
|
|
|
437
436
|
"SpaceCreated(address,uint256,address)"(
|
|
438
|
-
owner?:
|
|
439
|
-
tokenId?:
|
|
440
|
-
space?:
|
|
437
|
+
owner?: string | null,
|
|
438
|
+
tokenId?: BigNumberish | null,
|
|
439
|
+
space?: string | null
|
|
441
440
|
): SpaceCreatedEventFilter;
|
|
442
441
|
SpaceCreated(
|
|
443
|
-
owner?:
|
|
444
|
-
tokenId?:
|
|
445
|
-
space?:
|
|
442
|
+
owner?: string | null,
|
|
443
|
+
tokenId?: BigNumberish | null,
|
|
444
|
+
space?: string | null
|
|
446
445
|
): SpaceCreatedEventFilter;
|
|
447
446
|
};
|
|
448
447
|
|
|
449
448
|
estimateGas: {
|
|
450
449
|
"createSpace(uint8,bytes)"(
|
|
451
|
-
action:
|
|
452
|
-
data:
|
|
453
|
-
overrides?: PayableOverrides & { from?:
|
|
450
|
+
action: BigNumberish,
|
|
451
|
+
data: BytesLike,
|
|
452
|
+
overrides?: PayableOverrides & { from?: string }
|
|
454
453
|
): Promise<BigNumber>;
|
|
455
454
|
|
|
456
455
|
"createSpace((string,string,string,string,((string,string,uint256,uint256,uint64,address,address,uint256,address),(bool,address[],bytes,bool),string[]),(string)))"(
|
|
457
456
|
SpaceInfo: IArchitectBase.SpaceInfoStruct,
|
|
458
|
-
overrides?: Overrides & { from?:
|
|
457
|
+
overrides?: Overrides & { from?: string }
|
|
459
458
|
): Promise<BigNumber>;
|
|
460
459
|
|
|
461
460
|
createSpaceV2(
|
|
462
461
|
createSpace: IArchitectBase.CreateSpaceStruct,
|
|
463
462
|
options: IArchitectBase.SpaceOptionsStruct,
|
|
464
|
-
overrides?: PayableOverrides & { from?:
|
|
463
|
+
overrides?: PayableOverrides & { from?: string }
|
|
465
464
|
): Promise<BigNumber>;
|
|
466
465
|
|
|
467
466
|
"createSpaceWithPrepay(((string,string,string,string),((string,string,uint256,uint256,uint64,address,address,uint256,address),(bool,address[],bytes),string[]),(string),(uint256)))"(
|
|
468
467
|
spaceInfo: IArchitectBase.CreateSpaceOldStruct,
|
|
469
|
-
overrides?: PayableOverrides & { from?:
|
|
468
|
+
overrides?: PayableOverrides & { from?: string }
|
|
470
469
|
): Promise<BigNumber>;
|
|
471
470
|
|
|
472
471
|
"createSpaceWithPrepay(((string,string,string,string),((string,string,uint256,uint256,uint64,address,address,uint256,address),(bool,address[],bytes,bool),string[]),(string),(uint256)))"(
|
|
473
472
|
createSpace: IArchitectBase.CreateSpaceStruct,
|
|
474
|
-
overrides?: PayableOverrides & { from?:
|
|
473
|
+
overrides?: PayableOverrides & { from?: string }
|
|
475
474
|
): Promise<BigNumber>;
|
|
476
475
|
};
|
|
477
476
|
|
|
478
477
|
populateTransaction: {
|
|
479
478
|
"createSpace(uint8,bytes)"(
|
|
480
|
-
action:
|
|
481
|
-
data:
|
|
482
|
-
overrides?: PayableOverrides & { from?:
|
|
479
|
+
action: BigNumberish,
|
|
480
|
+
data: BytesLike,
|
|
481
|
+
overrides?: PayableOverrides & { from?: string }
|
|
483
482
|
): Promise<PopulatedTransaction>;
|
|
484
483
|
|
|
485
484
|
"createSpace((string,string,string,string,((string,string,uint256,uint256,uint64,address,address,uint256,address),(bool,address[],bytes,bool),string[]),(string)))"(
|
|
486
485
|
SpaceInfo: IArchitectBase.SpaceInfoStruct,
|
|
487
|
-
overrides?: Overrides & { from?:
|
|
486
|
+
overrides?: Overrides & { from?: string }
|
|
488
487
|
): Promise<PopulatedTransaction>;
|
|
489
488
|
|
|
490
489
|
createSpaceV2(
|
|
491
490
|
createSpace: IArchitectBase.CreateSpaceStruct,
|
|
492
491
|
options: IArchitectBase.SpaceOptionsStruct,
|
|
493
|
-
overrides?: PayableOverrides & { from?:
|
|
492
|
+
overrides?: PayableOverrides & { from?: string }
|
|
494
493
|
): Promise<PopulatedTransaction>;
|
|
495
494
|
|
|
496
495
|
"createSpaceWithPrepay(((string,string,string,string),((string,string,uint256,uint256,uint64,address,address,uint256,address),(bool,address[],bytes),string[]),(string),(uint256)))"(
|
|
497
496
|
spaceInfo: IArchitectBase.CreateSpaceOldStruct,
|
|
498
|
-
overrides?: PayableOverrides & { from?:
|
|
497
|
+
overrides?: PayableOverrides & { from?: string }
|
|
499
498
|
): Promise<PopulatedTransaction>;
|
|
500
499
|
|
|
501
500
|
"createSpaceWithPrepay(((string,string,string,string),((string,string,uint256,uint256,uint64,address,address,uint256,address),(bool,address[],bytes,bool),string[]),(string),(uint256)))"(
|
|
502
501
|
createSpace: IArchitectBase.CreateSpaceStruct,
|
|
503
|
-
overrides?: PayableOverrides & { from?:
|
|
502
|
+
overrides?: PayableOverrides & { from?: string }
|
|
504
503
|
): Promise<PopulatedTransaction>;
|
|
505
504
|
};
|
|
506
505
|
}
|
|
@@ -17,14 +17,13 @@ import type {
|
|
|
17
17
|
TypedEvent,
|
|
18
18
|
TypedListener,
|
|
19
19
|
OnEvent,
|
|
20
|
-
PromiseOrValue,
|
|
21
20
|
} from "./common";
|
|
22
21
|
|
|
23
22
|
export declare namespace ICrossChainEntitlement {
|
|
24
23
|
export type ParameterStruct = {
|
|
25
|
-
name:
|
|
26
|
-
primitive:
|
|
27
|
-
description:
|
|
24
|
+
name: string;
|
|
25
|
+
primitive: string;
|
|
26
|
+
description: string;
|
|
28
27
|
};
|
|
29
28
|
|
|
30
29
|
export type ParameterStructOutput = [string, string, string] & {
|
|
@@ -46,7 +45,7 @@ export interface ICrossChainEntitlementInterface extends utils.Interface {
|
|
|
46
45
|
|
|
47
46
|
encodeFunctionData(
|
|
48
47
|
functionFragment: "isEntitled",
|
|
49
|
-
values: [
|
|
48
|
+
values: [string[], BytesLike]
|
|
50
49
|
): string;
|
|
51
50
|
encodeFunctionData(
|
|
52
51
|
functionFragment: "parameters",
|
|
@@ -87,8 +86,8 @@ export interface ICrossChainEntitlement extends BaseContract {
|
|
|
87
86
|
|
|
88
87
|
functions: {
|
|
89
88
|
isEntitled(
|
|
90
|
-
users:
|
|
91
|
-
parameters:
|
|
89
|
+
users: string[],
|
|
90
|
+
parameters: BytesLike,
|
|
92
91
|
overrides?: CallOverrides
|
|
93
92
|
): Promise<[boolean]>;
|
|
94
93
|
|
|
@@ -98,8 +97,8 @@ export interface ICrossChainEntitlement extends BaseContract {
|
|
|
98
97
|
};
|
|
99
98
|
|
|
100
99
|
isEntitled(
|
|
101
|
-
users:
|
|
102
|
-
parameters:
|
|
100
|
+
users: string[],
|
|
101
|
+
parameters: BytesLike,
|
|
103
102
|
overrides?: CallOverrides
|
|
104
103
|
): Promise<boolean>;
|
|
105
104
|
|
|
@@ -109,8 +108,8 @@ export interface ICrossChainEntitlement extends BaseContract {
|
|
|
109
108
|
|
|
110
109
|
callStatic: {
|
|
111
110
|
isEntitled(
|
|
112
|
-
users:
|
|
113
|
-
parameters:
|
|
111
|
+
users: string[],
|
|
112
|
+
parameters: BytesLike,
|
|
114
113
|
overrides?: CallOverrides
|
|
115
114
|
): Promise<boolean>;
|
|
116
115
|
|
|
@@ -123,8 +122,8 @@ export interface ICrossChainEntitlement extends BaseContract {
|
|
|
123
122
|
|
|
124
123
|
estimateGas: {
|
|
125
124
|
isEntitled(
|
|
126
|
-
users:
|
|
127
|
-
parameters:
|
|
125
|
+
users: string[],
|
|
126
|
+
parameters: BytesLike,
|
|
128
127
|
overrides?: CallOverrides
|
|
129
128
|
): Promise<BigNumber>;
|
|
130
129
|
|
|
@@ -133,8 +132,8 @@ export interface ICrossChainEntitlement extends BaseContract {
|
|
|
133
132
|
|
|
134
133
|
populateTransaction: {
|
|
135
134
|
isEntitled(
|
|
136
|
-
users:
|
|
137
|
-
parameters:
|
|
135
|
+
users: string[],
|
|
136
|
+
parameters: BytesLike,
|
|
138
137
|
overrides?: CallOverrides
|
|
139
138
|
): Promise<PopulatedTransaction>;
|
|
140
139
|
|
package/dev/typings/IDiamond.ts
CHANGED
|
@@ -24,14 +24,13 @@ import type {
|
|
|
24
24
|
TypedEvent,
|
|
25
25
|
TypedListener,
|
|
26
26
|
OnEvent,
|
|
27
|
-
PromiseOrValue,
|
|
28
27
|
} from "./common";
|
|
29
28
|
|
|
30
29
|
export declare namespace IDiamond {
|
|
31
30
|
export type FacetCutStruct = {
|
|
32
|
-
facetAddress:
|
|
33
|
-
action:
|
|
34
|
-
functionSelectors:
|
|
31
|
+
facetAddress: string;
|
|
32
|
+
action: BigNumberish;
|
|
33
|
+
functionSelectors: BytesLike[];
|
|
35
34
|
};
|
|
36
35
|
|
|
37
36
|
export type FacetCutStructOutput = [string, number, string[]] & {
|
|
@@ -50,17 +49,13 @@ export interface IDiamondCutInterface extends utils.Interface {
|
|
|
50
49
|
|
|
51
50
|
encodeFunctionData(
|
|
52
51
|
functionFragment: "diamondCut",
|
|
53
|
-
values: [
|
|
54
|
-
IDiamond.FacetCutStruct[],
|
|
55
|
-
PromiseOrValue<string>,
|
|
56
|
-
PromiseOrValue<BytesLike>
|
|
57
|
-
]
|
|
52
|
+
values: [IDiamond.FacetCutStruct[], string, BytesLike]
|
|
58
53
|
): string;
|
|
59
54
|
|
|
60
55
|
decodeFunctionResult(functionFragment: "diamondCut", data: BytesLike): Result;
|
|
61
56
|
|
|
62
57
|
events: {
|
|
63
|
-
"DiamondCut(
|
|
58
|
+
"DiamondCut((address,uint8,bytes4[])[],address,bytes)": EventFragment;
|
|
64
59
|
};
|
|
65
60
|
|
|
66
61
|
getEvent(nameOrSignatureOrTopic: "DiamondCut"): EventFragment;
|
|
@@ -107,30 +102,30 @@ export interface IDiamondCut extends BaseContract {
|
|
|
107
102
|
functions: {
|
|
108
103
|
diamondCut(
|
|
109
104
|
facetCuts: IDiamond.FacetCutStruct[],
|
|
110
|
-
init:
|
|
111
|
-
initPayload:
|
|
112
|
-
overrides?: Overrides & { from?:
|
|
105
|
+
init: string,
|
|
106
|
+
initPayload: BytesLike,
|
|
107
|
+
overrides?: Overrides & { from?: string }
|
|
113
108
|
): Promise<ContractTransaction>;
|
|
114
109
|
};
|
|
115
110
|
|
|
116
111
|
diamondCut(
|
|
117
112
|
facetCuts: IDiamond.FacetCutStruct[],
|
|
118
|
-
init:
|
|
119
|
-
initPayload:
|
|
120
|
-
overrides?: Overrides & { from?:
|
|
113
|
+
init: string,
|
|
114
|
+
initPayload: BytesLike,
|
|
115
|
+
overrides?: Overrides & { from?: string }
|
|
121
116
|
): Promise<ContractTransaction>;
|
|
122
117
|
|
|
123
118
|
callStatic: {
|
|
124
119
|
diamondCut(
|
|
125
120
|
facetCuts: IDiamond.FacetCutStruct[],
|
|
126
|
-
init:
|
|
127
|
-
initPayload:
|
|
121
|
+
init: string,
|
|
122
|
+
initPayload: BytesLike,
|
|
128
123
|
overrides?: CallOverrides
|
|
129
124
|
): Promise<void>;
|
|
130
125
|
};
|
|
131
126
|
|
|
132
127
|
filters: {
|
|
133
|
-
"DiamondCut(
|
|
128
|
+
"DiamondCut((address,uint8,bytes4[])[],address,bytes)"(
|
|
134
129
|
facetCuts?: null,
|
|
135
130
|
init?: null,
|
|
136
131
|
initPayload?: null
|
|
@@ -145,18 +140,18 @@ export interface IDiamondCut extends BaseContract {
|
|
|
145
140
|
estimateGas: {
|
|
146
141
|
diamondCut(
|
|
147
142
|
facetCuts: IDiamond.FacetCutStruct[],
|
|
148
|
-
init:
|
|
149
|
-
initPayload:
|
|
150
|
-
overrides?: Overrides & { from?:
|
|
143
|
+
init: string,
|
|
144
|
+
initPayload: BytesLike,
|
|
145
|
+
overrides?: Overrides & { from?: string }
|
|
151
146
|
): Promise<BigNumber>;
|
|
152
147
|
};
|
|
153
148
|
|
|
154
149
|
populateTransaction: {
|
|
155
150
|
diamondCut(
|
|
156
151
|
facetCuts: IDiamond.FacetCutStruct[],
|
|
157
|
-
init:
|
|
158
|
-
initPayload:
|
|
159
|
-
overrides?: Overrides & { from?:
|
|
152
|
+
init: string,
|
|
153
|
+
initPayload: BytesLike,
|
|
154
|
+
overrides?: Overrides & { from?: string }
|
|
160
155
|
): Promise<PopulatedTransaction>;
|
|
161
156
|
};
|
|
162
157
|
}
|