@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/ITreasury.ts
CHANGED
|
@@ -20,7 +20,6 @@ import type {
|
|
|
20
20
|
TypedEvent,
|
|
21
21
|
TypedListener,
|
|
22
22
|
OnEvent,
|
|
23
|
-
PromiseOrValue,
|
|
24
23
|
} from "./common";
|
|
25
24
|
|
|
26
25
|
export interface ITreasuryInterface extends utils.Interface {
|
|
@@ -41,37 +40,17 @@ export interface ITreasuryInterface extends utils.Interface {
|
|
|
41
40
|
|
|
42
41
|
encodeFunctionData(
|
|
43
42
|
functionFragment: "onERC1155BatchReceived",
|
|
44
|
-
values: [
|
|
45
|
-
PromiseOrValue<string>,
|
|
46
|
-
PromiseOrValue<string>,
|
|
47
|
-
PromiseOrValue<BigNumberish>[],
|
|
48
|
-
PromiseOrValue<BigNumberish>[],
|
|
49
|
-
PromiseOrValue<BytesLike>
|
|
50
|
-
]
|
|
43
|
+
values: [string, string, BigNumberish[], BigNumberish[], BytesLike]
|
|
51
44
|
): string;
|
|
52
45
|
encodeFunctionData(
|
|
53
46
|
functionFragment: "onERC1155Received",
|
|
54
|
-
values: [
|
|
55
|
-
PromiseOrValue<string>,
|
|
56
|
-
PromiseOrValue<string>,
|
|
57
|
-
PromiseOrValue<BigNumberish>,
|
|
58
|
-
PromiseOrValue<BigNumberish>,
|
|
59
|
-
PromiseOrValue<BytesLike>
|
|
60
|
-
]
|
|
47
|
+
values: [string, string, BigNumberish, BigNumberish, BytesLike]
|
|
61
48
|
): string;
|
|
62
49
|
encodeFunctionData(
|
|
63
50
|
functionFragment: "onERC721Received",
|
|
64
|
-
values: [
|
|
65
|
-
PromiseOrValue<string>,
|
|
66
|
-
PromiseOrValue<string>,
|
|
67
|
-
PromiseOrValue<BigNumberish>,
|
|
68
|
-
PromiseOrValue<BytesLike>
|
|
69
|
-
]
|
|
70
|
-
): string;
|
|
71
|
-
encodeFunctionData(
|
|
72
|
-
functionFragment: "withdraw",
|
|
73
|
-
values: [PromiseOrValue<string>]
|
|
51
|
+
values: [string, string, BigNumberish, BytesLike]
|
|
74
52
|
): string;
|
|
53
|
+
encodeFunctionData(functionFragment: "withdraw", values: [string]): string;
|
|
75
54
|
|
|
76
55
|
decodeFunctionResult(
|
|
77
56
|
functionFragment: "onERC1155BatchReceived",
|
|
@@ -118,166 +97,163 @@ export interface ITreasury extends BaseContract {
|
|
|
118
97
|
|
|
119
98
|
functions: {
|
|
120
99
|
onERC1155BatchReceived(
|
|
121
|
-
operator:
|
|
122
|
-
from:
|
|
123
|
-
ids:
|
|
124
|
-
values:
|
|
125
|
-
data:
|
|
126
|
-
overrides?: Overrides & { from?:
|
|
100
|
+
operator: string,
|
|
101
|
+
from: string,
|
|
102
|
+
ids: BigNumberish[],
|
|
103
|
+
values: BigNumberish[],
|
|
104
|
+
data: BytesLike,
|
|
105
|
+
overrides?: Overrides & { from?: string }
|
|
127
106
|
): Promise<ContractTransaction>;
|
|
128
107
|
|
|
129
108
|
onERC1155Received(
|
|
130
|
-
operator:
|
|
131
|
-
from:
|
|
132
|
-
id:
|
|
133
|
-
value:
|
|
134
|
-
data:
|
|
135
|
-
overrides?: Overrides & { from?:
|
|
109
|
+
operator: string,
|
|
110
|
+
from: string,
|
|
111
|
+
id: BigNumberish,
|
|
112
|
+
value: BigNumberish,
|
|
113
|
+
data: BytesLike,
|
|
114
|
+
overrides?: Overrides & { from?: string }
|
|
136
115
|
): Promise<ContractTransaction>;
|
|
137
116
|
|
|
138
117
|
onERC721Received(
|
|
139
|
-
operator:
|
|
140
|
-
from:
|
|
141
|
-
tokenId:
|
|
142
|
-
data:
|
|
143
|
-
overrides?: Overrides & { from?:
|
|
118
|
+
operator: string,
|
|
119
|
+
from: string,
|
|
120
|
+
tokenId: BigNumberish,
|
|
121
|
+
data: BytesLike,
|
|
122
|
+
overrides?: Overrides & { from?: string }
|
|
144
123
|
): Promise<ContractTransaction>;
|
|
145
124
|
|
|
146
125
|
withdraw(
|
|
147
|
-
account:
|
|
148
|
-
overrides?: Overrides & { from?:
|
|
126
|
+
account: string,
|
|
127
|
+
overrides?: Overrides & { from?: string }
|
|
149
128
|
): Promise<ContractTransaction>;
|
|
150
129
|
};
|
|
151
130
|
|
|
152
131
|
onERC1155BatchReceived(
|
|
153
|
-
operator:
|
|
154
|
-
from:
|
|
155
|
-
ids:
|
|
156
|
-
values:
|
|
157
|
-
data:
|
|
158
|
-
overrides?: Overrides & { from?:
|
|
132
|
+
operator: string,
|
|
133
|
+
from: string,
|
|
134
|
+
ids: BigNumberish[],
|
|
135
|
+
values: BigNumberish[],
|
|
136
|
+
data: BytesLike,
|
|
137
|
+
overrides?: Overrides & { from?: string }
|
|
159
138
|
): Promise<ContractTransaction>;
|
|
160
139
|
|
|
161
140
|
onERC1155Received(
|
|
162
|
-
operator:
|
|
163
|
-
from:
|
|
164
|
-
id:
|
|
165
|
-
value:
|
|
166
|
-
data:
|
|
167
|
-
overrides?: Overrides & { from?:
|
|
141
|
+
operator: string,
|
|
142
|
+
from: string,
|
|
143
|
+
id: BigNumberish,
|
|
144
|
+
value: BigNumberish,
|
|
145
|
+
data: BytesLike,
|
|
146
|
+
overrides?: Overrides & { from?: string }
|
|
168
147
|
): Promise<ContractTransaction>;
|
|
169
148
|
|
|
170
149
|
onERC721Received(
|
|
171
|
-
operator:
|
|
172
|
-
from:
|
|
173
|
-
tokenId:
|
|
174
|
-
data:
|
|
175
|
-
overrides?: Overrides & { from?:
|
|
150
|
+
operator: string,
|
|
151
|
+
from: string,
|
|
152
|
+
tokenId: BigNumberish,
|
|
153
|
+
data: BytesLike,
|
|
154
|
+
overrides?: Overrides & { from?: string }
|
|
176
155
|
): Promise<ContractTransaction>;
|
|
177
156
|
|
|
178
157
|
withdraw(
|
|
179
|
-
account:
|
|
180
|
-
overrides?: Overrides & { from?:
|
|
158
|
+
account: string,
|
|
159
|
+
overrides?: Overrides & { from?: string }
|
|
181
160
|
): Promise<ContractTransaction>;
|
|
182
161
|
|
|
183
162
|
callStatic: {
|
|
184
163
|
onERC1155BatchReceived(
|
|
185
|
-
operator:
|
|
186
|
-
from:
|
|
187
|
-
ids:
|
|
188
|
-
values:
|
|
189
|
-
data:
|
|
164
|
+
operator: string,
|
|
165
|
+
from: string,
|
|
166
|
+
ids: BigNumberish[],
|
|
167
|
+
values: BigNumberish[],
|
|
168
|
+
data: BytesLike,
|
|
190
169
|
overrides?: CallOverrides
|
|
191
170
|
): Promise<string>;
|
|
192
171
|
|
|
193
172
|
onERC1155Received(
|
|
194
|
-
operator:
|
|
195
|
-
from:
|
|
196
|
-
id:
|
|
197
|
-
value:
|
|
198
|
-
data:
|
|
173
|
+
operator: string,
|
|
174
|
+
from: string,
|
|
175
|
+
id: BigNumberish,
|
|
176
|
+
value: BigNumberish,
|
|
177
|
+
data: BytesLike,
|
|
199
178
|
overrides?: CallOverrides
|
|
200
179
|
): Promise<string>;
|
|
201
180
|
|
|
202
181
|
onERC721Received(
|
|
203
|
-
operator:
|
|
204
|
-
from:
|
|
205
|
-
tokenId:
|
|
206
|
-
data:
|
|
182
|
+
operator: string,
|
|
183
|
+
from: string,
|
|
184
|
+
tokenId: BigNumberish,
|
|
185
|
+
data: BytesLike,
|
|
207
186
|
overrides?: CallOverrides
|
|
208
187
|
): Promise<string>;
|
|
209
188
|
|
|
210
|
-
withdraw(
|
|
211
|
-
account: PromiseOrValue<string>,
|
|
212
|
-
overrides?: CallOverrides
|
|
213
|
-
): Promise<void>;
|
|
189
|
+
withdraw(account: string, overrides?: CallOverrides): Promise<void>;
|
|
214
190
|
};
|
|
215
191
|
|
|
216
192
|
filters: {};
|
|
217
193
|
|
|
218
194
|
estimateGas: {
|
|
219
195
|
onERC1155BatchReceived(
|
|
220
|
-
operator:
|
|
221
|
-
from:
|
|
222
|
-
ids:
|
|
223
|
-
values:
|
|
224
|
-
data:
|
|
225
|
-
overrides?: Overrides & { from?:
|
|
196
|
+
operator: string,
|
|
197
|
+
from: string,
|
|
198
|
+
ids: BigNumberish[],
|
|
199
|
+
values: BigNumberish[],
|
|
200
|
+
data: BytesLike,
|
|
201
|
+
overrides?: Overrides & { from?: string }
|
|
226
202
|
): Promise<BigNumber>;
|
|
227
203
|
|
|
228
204
|
onERC1155Received(
|
|
229
|
-
operator:
|
|
230
|
-
from:
|
|
231
|
-
id:
|
|
232
|
-
value:
|
|
233
|
-
data:
|
|
234
|
-
overrides?: Overrides & { from?:
|
|
205
|
+
operator: string,
|
|
206
|
+
from: string,
|
|
207
|
+
id: BigNumberish,
|
|
208
|
+
value: BigNumberish,
|
|
209
|
+
data: BytesLike,
|
|
210
|
+
overrides?: Overrides & { from?: string }
|
|
235
211
|
): Promise<BigNumber>;
|
|
236
212
|
|
|
237
213
|
onERC721Received(
|
|
238
|
-
operator:
|
|
239
|
-
from:
|
|
240
|
-
tokenId:
|
|
241
|
-
data:
|
|
242
|
-
overrides?: Overrides & { from?:
|
|
214
|
+
operator: string,
|
|
215
|
+
from: string,
|
|
216
|
+
tokenId: BigNumberish,
|
|
217
|
+
data: BytesLike,
|
|
218
|
+
overrides?: Overrides & { from?: string }
|
|
243
219
|
): Promise<BigNumber>;
|
|
244
220
|
|
|
245
221
|
withdraw(
|
|
246
|
-
account:
|
|
247
|
-
overrides?: Overrides & { from?:
|
|
222
|
+
account: string,
|
|
223
|
+
overrides?: Overrides & { from?: string }
|
|
248
224
|
): Promise<BigNumber>;
|
|
249
225
|
};
|
|
250
226
|
|
|
251
227
|
populateTransaction: {
|
|
252
228
|
onERC1155BatchReceived(
|
|
253
|
-
operator:
|
|
254
|
-
from:
|
|
255
|
-
ids:
|
|
256
|
-
values:
|
|
257
|
-
data:
|
|
258
|
-
overrides?: Overrides & { from?:
|
|
229
|
+
operator: string,
|
|
230
|
+
from: string,
|
|
231
|
+
ids: BigNumberish[],
|
|
232
|
+
values: BigNumberish[],
|
|
233
|
+
data: BytesLike,
|
|
234
|
+
overrides?: Overrides & { from?: string }
|
|
259
235
|
): Promise<PopulatedTransaction>;
|
|
260
236
|
|
|
261
237
|
onERC1155Received(
|
|
262
|
-
operator:
|
|
263
|
-
from:
|
|
264
|
-
id:
|
|
265
|
-
value:
|
|
266
|
-
data:
|
|
267
|
-
overrides?: Overrides & { from?:
|
|
238
|
+
operator: string,
|
|
239
|
+
from: string,
|
|
240
|
+
id: BigNumberish,
|
|
241
|
+
value: BigNumberish,
|
|
242
|
+
data: BytesLike,
|
|
243
|
+
overrides?: Overrides & { from?: string }
|
|
268
244
|
): Promise<PopulatedTransaction>;
|
|
269
245
|
|
|
270
246
|
onERC721Received(
|
|
271
|
-
operator:
|
|
272
|
-
from:
|
|
273
|
-
tokenId:
|
|
274
|
-
data:
|
|
275
|
-
overrides?: Overrides & { from?:
|
|
247
|
+
operator: string,
|
|
248
|
+
from: string,
|
|
249
|
+
tokenId: BigNumberish,
|
|
250
|
+
data: BytesLike,
|
|
251
|
+
overrides?: Overrides & { from?: string }
|
|
276
252
|
): Promise<PopulatedTransaction>;
|
|
277
253
|
|
|
278
254
|
withdraw(
|
|
279
|
-
account:
|
|
280
|
-
overrides?: Overrides & { from?:
|
|
255
|
+
account: string,
|
|
256
|
+
overrides?: Overrides & { from?: string }
|
|
281
257
|
): Promise<PopulatedTransaction>;
|
|
282
258
|
};
|
|
283
259
|
}
|