@towns-protocol/generated 0.0.256 → 0.0.258
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/abis/IAppAccount.abi.json +228 -0
- package/dev/abis/IAppAccount.abi.ts +228 -0
- package/dev/abis/IAppAccountBase.abi.json +49 -0
- package/dev/abis/IAppAccountBase.abi.ts +49 -0
- package/dev/abis/IAppRegistry.abi.json +19 -0
- package/dev/abis/IAppRegistry.abi.ts +19 -0
- package/dev/abis/ISwapFacet.abi.json +3 -3
- package/dev/abis/ISwapFacet.abi.ts +3 -3
- package/dev/abis/ISwapFacetBase.abi.json +1 -1
- package/dev/abis/ISwapFacetBase.abi.ts +1 -1
- package/dev/abis/SimpleApp.abi.json +399 -0
- package/dev/abis/SimpleApp.abi.ts +399 -0
- package/dev/typings/IAppAccount.ts +425 -0
- package/dev/typings/IAppRegistry.ts +35 -0
- package/dev/typings/ISwapFacet.ts +11 -11
- package/dev/typings/SimpleApp.ts +732 -0
- package/dev/typings/factories/IAppAccount__factory.ts +249 -0
- package/dev/typings/factories/IAppRegistry__factory.ts +19 -0
- package/dev/typings/factories/ISwapFacet__factory.ts +3 -3
- package/dev/typings/factories/MembershipFacet__factory.ts +1 -1
- package/dev/typings/factories/PrepayFacet__factory.ts +1 -1
- package/dev/typings/factories/SimpleApp__factory.ts +457 -0
- package/dev/typings/factories/index.ts +2 -0
- package/dev/typings/index.ts +4 -0
- package/package.json +2 -2
|
@@ -0,0 +1,457 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
+
import type { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
+
import type { PromiseOrValue } from "../common";
|
|
7
|
+
import type { SimpleApp, SimpleAppInterface } from "../SimpleApp";
|
|
8
|
+
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
type: "function",
|
|
12
|
+
name: "accessDuration",
|
|
13
|
+
inputs: [],
|
|
14
|
+
outputs: [
|
|
15
|
+
{
|
|
16
|
+
name: "",
|
|
17
|
+
type: "uint48",
|
|
18
|
+
internalType: "uint48",
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
stateMutability: "view",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
type: "function",
|
|
25
|
+
name: "cancelOwnershipHandover",
|
|
26
|
+
inputs: [],
|
|
27
|
+
outputs: [],
|
|
28
|
+
stateMutability: "payable",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
type: "function",
|
|
32
|
+
name: "completeOwnershipHandover",
|
|
33
|
+
inputs: [
|
|
34
|
+
{
|
|
35
|
+
name: "pendingOwner",
|
|
36
|
+
type: "address",
|
|
37
|
+
internalType: "address",
|
|
38
|
+
},
|
|
39
|
+
],
|
|
40
|
+
outputs: [],
|
|
41
|
+
stateMutability: "payable",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
type: "function",
|
|
45
|
+
name: "executionManifest",
|
|
46
|
+
inputs: [],
|
|
47
|
+
outputs: [
|
|
48
|
+
{
|
|
49
|
+
name: "",
|
|
50
|
+
type: "tuple",
|
|
51
|
+
internalType: "struct ExecutionManifest",
|
|
52
|
+
components: [
|
|
53
|
+
{
|
|
54
|
+
name: "executionFunctions",
|
|
55
|
+
type: "tuple[]",
|
|
56
|
+
internalType: "struct ManifestExecutionFunction[]",
|
|
57
|
+
components: [
|
|
58
|
+
{
|
|
59
|
+
name: "executionSelector",
|
|
60
|
+
type: "bytes4",
|
|
61
|
+
internalType: "bytes4",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: "skipRuntimeValidation",
|
|
65
|
+
type: "bool",
|
|
66
|
+
internalType: "bool",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
name: "allowGlobalValidation",
|
|
70
|
+
type: "bool",
|
|
71
|
+
internalType: "bool",
|
|
72
|
+
},
|
|
73
|
+
],
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
name: "executionHooks",
|
|
77
|
+
type: "tuple[]",
|
|
78
|
+
internalType: "struct ManifestExecutionHook[]",
|
|
79
|
+
components: [
|
|
80
|
+
{
|
|
81
|
+
name: "executionSelector",
|
|
82
|
+
type: "bytes4",
|
|
83
|
+
internalType: "bytes4",
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: "entityId",
|
|
87
|
+
type: "uint32",
|
|
88
|
+
internalType: "uint32",
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
name: "isPreHook",
|
|
92
|
+
type: "bool",
|
|
93
|
+
internalType: "bool",
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
name: "isPostHook",
|
|
97
|
+
type: "bool",
|
|
98
|
+
internalType: "bool",
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
name: "interfaceIds",
|
|
104
|
+
type: "bytes4[]",
|
|
105
|
+
internalType: "bytes4[]",
|
|
106
|
+
},
|
|
107
|
+
],
|
|
108
|
+
},
|
|
109
|
+
],
|
|
110
|
+
stateMutability: "pure",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
type: "function",
|
|
114
|
+
name: "initialize",
|
|
115
|
+
inputs: [
|
|
116
|
+
{
|
|
117
|
+
name: "owner",
|
|
118
|
+
type: "address",
|
|
119
|
+
internalType: "address",
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
name: "appId",
|
|
123
|
+
type: "string",
|
|
124
|
+
internalType: "string",
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
name: "permissions",
|
|
128
|
+
type: "bytes32[]",
|
|
129
|
+
internalType: "bytes32[]",
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
name: "installPrice",
|
|
133
|
+
type: "uint256",
|
|
134
|
+
internalType: "uint256",
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
name: "accessDuration",
|
|
138
|
+
type: "uint48",
|
|
139
|
+
internalType: "uint48",
|
|
140
|
+
},
|
|
141
|
+
],
|
|
142
|
+
outputs: [],
|
|
143
|
+
stateMutability: "nonpayable",
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
type: "function",
|
|
147
|
+
name: "installPrice",
|
|
148
|
+
inputs: [],
|
|
149
|
+
outputs: [
|
|
150
|
+
{
|
|
151
|
+
name: "",
|
|
152
|
+
type: "uint256",
|
|
153
|
+
internalType: "uint256",
|
|
154
|
+
},
|
|
155
|
+
],
|
|
156
|
+
stateMutability: "view",
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
type: "function",
|
|
160
|
+
name: "moduleId",
|
|
161
|
+
inputs: [],
|
|
162
|
+
outputs: [
|
|
163
|
+
{
|
|
164
|
+
name: "",
|
|
165
|
+
type: "string",
|
|
166
|
+
internalType: "string",
|
|
167
|
+
},
|
|
168
|
+
],
|
|
169
|
+
stateMutability: "view",
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
type: "function",
|
|
173
|
+
name: "moduleOwner",
|
|
174
|
+
inputs: [],
|
|
175
|
+
outputs: [
|
|
176
|
+
{
|
|
177
|
+
name: "",
|
|
178
|
+
type: "address",
|
|
179
|
+
internalType: "address",
|
|
180
|
+
},
|
|
181
|
+
],
|
|
182
|
+
stateMutability: "view",
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
type: "function",
|
|
186
|
+
name: "onInstall",
|
|
187
|
+
inputs: [
|
|
188
|
+
{
|
|
189
|
+
name: "postInstallData",
|
|
190
|
+
type: "bytes",
|
|
191
|
+
internalType: "bytes",
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
outputs: [],
|
|
195
|
+
stateMutability: "nonpayable",
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
type: "function",
|
|
199
|
+
name: "onUninstall",
|
|
200
|
+
inputs: [
|
|
201
|
+
{
|
|
202
|
+
name: "postUninstallData",
|
|
203
|
+
type: "bytes",
|
|
204
|
+
internalType: "bytes",
|
|
205
|
+
},
|
|
206
|
+
],
|
|
207
|
+
outputs: [],
|
|
208
|
+
stateMutability: "nonpayable",
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
type: "function",
|
|
212
|
+
name: "owner",
|
|
213
|
+
inputs: [],
|
|
214
|
+
outputs: [
|
|
215
|
+
{
|
|
216
|
+
name: "result",
|
|
217
|
+
type: "address",
|
|
218
|
+
internalType: "address",
|
|
219
|
+
},
|
|
220
|
+
],
|
|
221
|
+
stateMutability: "view",
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
type: "function",
|
|
225
|
+
name: "ownershipHandoverExpiresAt",
|
|
226
|
+
inputs: [
|
|
227
|
+
{
|
|
228
|
+
name: "pendingOwner",
|
|
229
|
+
type: "address",
|
|
230
|
+
internalType: "address",
|
|
231
|
+
},
|
|
232
|
+
],
|
|
233
|
+
outputs: [
|
|
234
|
+
{
|
|
235
|
+
name: "result",
|
|
236
|
+
type: "uint256",
|
|
237
|
+
internalType: "uint256",
|
|
238
|
+
},
|
|
239
|
+
],
|
|
240
|
+
stateMutability: "view",
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
type: "function",
|
|
244
|
+
name: "renounceOwnership",
|
|
245
|
+
inputs: [],
|
|
246
|
+
outputs: [],
|
|
247
|
+
stateMutability: "payable",
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
type: "function",
|
|
251
|
+
name: "requestOwnershipHandover",
|
|
252
|
+
inputs: [],
|
|
253
|
+
outputs: [],
|
|
254
|
+
stateMutability: "payable",
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
type: "function",
|
|
258
|
+
name: "requiredPermissions",
|
|
259
|
+
inputs: [],
|
|
260
|
+
outputs: [
|
|
261
|
+
{
|
|
262
|
+
name: "",
|
|
263
|
+
type: "bytes32[]",
|
|
264
|
+
internalType: "bytes32[]",
|
|
265
|
+
},
|
|
266
|
+
],
|
|
267
|
+
stateMutability: "view",
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
type: "function",
|
|
271
|
+
name: "supportsInterface",
|
|
272
|
+
inputs: [
|
|
273
|
+
{
|
|
274
|
+
name: "interfaceId",
|
|
275
|
+
type: "bytes4",
|
|
276
|
+
internalType: "bytes4",
|
|
277
|
+
},
|
|
278
|
+
],
|
|
279
|
+
outputs: [
|
|
280
|
+
{
|
|
281
|
+
name: "",
|
|
282
|
+
type: "bool",
|
|
283
|
+
internalType: "bool",
|
|
284
|
+
},
|
|
285
|
+
],
|
|
286
|
+
stateMutability: "pure",
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
type: "function",
|
|
290
|
+
name: "transferOwnership",
|
|
291
|
+
inputs: [
|
|
292
|
+
{
|
|
293
|
+
name: "newOwner",
|
|
294
|
+
type: "address",
|
|
295
|
+
internalType: "address",
|
|
296
|
+
},
|
|
297
|
+
],
|
|
298
|
+
outputs: [],
|
|
299
|
+
stateMutability: "payable",
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
type: "function",
|
|
303
|
+
name: "updatePricing",
|
|
304
|
+
inputs: [
|
|
305
|
+
{
|
|
306
|
+
name: "installPrice",
|
|
307
|
+
type: "uint256",
|
|
308
|
+
internalType: "uint256",
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
name: "accessDuration",
|
|
312
|
+
type: "uint48",
|
|
313
|
+
internalType: "uint48",
|
|
314
|
+
},
|
|
315
|
+
],
|
|
316
|
+
outputs: [],
|
|
317
|
+
stateMutability: "nonpayable",
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
type: "event",
|
|
321
|
+
name: "Initialized",
|
|
322
|
+
inputs: [
|
|
323
|
+
{
|
|
324
|
+
name: "version",
|
|
325
|
+
type: "uint64",
|
|
326
|
+
indexed: false,
|
|
327
|
+
internalType: "uint64",
|
|
328
|
+
},
|
|
329
|
+
],
|
|
330
|
+
anonymous: false,
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
type: "event",
|
|
334
|
+
name: "OwnershipHandoverCanceled",
|
|
335
|
+
inputs: [
|
|
336
|
+
{
|
|
337
|
+
name: "pendingOwner",
|
|
338
|
+
type: "address",
|
|
339
|
+
indexed: true,
|
|
340
|
+
internalType: "address",
|
|
341
|
+
},
|
|
342
|
+
],
|
|
343
|
+
anonymous: false,
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
type: "event",
|
|
347
|
+
name: "OwnershipHandoverRequested",
|
|
348
|
+
inputs: [
|
|
349
|
+
{
|
|
350
|
+
name: "pendingOwner",
|
|
351
|
+
type: "address",
|
|
352
|
+
indexed: true,
|
|
353
|
+
internalType: "address",
|
|
354
|
+
},
|
|
355
|
+
],
|
|
356
|
+
anonymous: false,
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
type: "event",
|
|
360
|
+
name: "OwnershipTransferred",
|
|
361
|
+
inputs: [
|
|
362
|
+
{
|
|
363
|
+
name: "oldOwner",
|
|
364
|
+
type: "address",
|
|
365
|
+
indexed: true,
|
|
366
|
+
internalType: "address",
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
name: "newOwner",
|
|
370
|
+
type: "address",
|
|
371
|
+
indexed: true,
|
|
372
|
+
internalType: "address",
|
|
373
|
+
},
|
|
374
|
+
],
|
|
375
|
+
anonymous: false,
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
type: "error",
|
|
379
|
+
name: "AlreadyInitialized",
|
|
380
|
+
inputs: [],
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
type: "error",
|
|
384
|
+
name: "InvalidInitialization",
|
|
385
|
+
inputs: [],
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
type: "error",
|
|
389
|
+
name: "NewOwnerIsZeroAddress",
|
|
390
|
+
inputs: [],
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
type: "error",
|
|
394
|
+
name: "NoHandoverRequest",
|
|
395
|
+
inputs: [],
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
type: "error",
|
|
399
|
+
name: "NotInitializing",
|
|
400
|
+
inputs: [],
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
type: "error",
|
|
404
|
+
name: "Unauthorized",
|
|
405
|
+
inputs: [],
|
|
406
|
+
},
|
|
407
|
+
] as const;
|
|
408
|
+
|
|
409
|
+
const _bytecode =
|
|
410
|
+
"0x6080604052348015600e575f5ffd5b50610ff98061001c5f395ff3fe608060405260043610610123575f3560e01c8063715018a6116100a1578063a41c85be11610071578063f04e283e11610057578063f04e283e146102ed578063f2fde38b14610300578063fee81cf414610313575f5ffd5b8063a41c85be146102aa578063ae5628c6146102cc575f5ffd5b8063715018a61461024e5780638a91b0e3146102305780638da5cb5b14610256578063a1308f2714610289575f5ffd5b80632e7ad41f116100f6578063452c04b1116100dc578063452c04b1146101ef57806354d1f13d146102285780636d61fe7014610230575f5ffd5b80632e7ad41f146101af57806336edab1f146101d0575f5ffd5b806301ffc9a7146101275780630a88fcad1461015b5780632382f0461461018657806325692962146101a7575b5f5ffd5b348015610132575f5ffd5b5061014661014136600461098b565b610344565b60405190151581526020015b60405180910390f35b348015610166575f5ffd5b5061016f610428565b60405165ffffffffffff9091168152602001610152565b348015610191575f5ffd5b506101a56101a03660046109eb565b61045e565b005b6101a56104e2565b3480156101ba575f5ffd5b506101c361052f565b6040516101529190610a15565b3480156101db575f5ffd5b506101a56101ea366004610abf565b6105a7565b3480156101fa575f5ffd5b506102036106b8565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610152565b6101a56106c1565b34801561023b575f5ffd5b506101a561024a366004610b89565b5050565b6101a56106fa565b348015610261575f5ffd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffff7487392754610203565b348015610294575f5ffd5b5061029d61070d565b6040516101529190610bc8565b3480156102b5575f5ffd5b506102be6107b8565b604051908152602001610152565b3480156102d7575f5ffd5b506102e06107e1565b6040516101529190610cf9565b6101a56102fb366004610e00565b610808565b6101a561030e366004610e00565b610845565b34801561031e575f5ffd5b506102be61032d366004610e00565b63389a75e1600c9081525f91909152602090205490565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167fae5628c60000000000000000000000000000000000000000000000000000000014806103d657507fffffffff0000000000000000000000000000000000000000000000000000000082167f46c0c1b400000000000000000000000000000000000000000000000000000000145b8061042257507fffffffff0000000000000000000000000000000000000000000000000000000082167fc5c2a9bd00000000000000000000000000000000000000000000000000000000145b92915050565b5f6104597f83d7ef17df984d8e84ee79017942cb0329f48e2d537ef8c418bc299c6878be035465ffffffffffff1690565b905090565b61046661086b565b7f83d7ef17df984d8e84ee79017942cb0329f48e2d537ef8c418bc299c6878be02919091557f83d7ef17df984d8e84ee79017942cb0329f48e2d537ef8c418bc299c6878be0380547fffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000001665ffffffffffff909216919091179055565b5f6202a30067ffffffffffffffff164201905063389a75e1600c52335f52806020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d5f5fa250565b60605f7f83d7ef17df984d8e84ee79017942cb0329f48e2d537ef8c418bc299c6878be006001810180546040805160208084028201810190925282815293945083018282801561059c57602002820191905f5260205f20905b815481526020019060010190808311610588575b505050505091505090565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf60113280546003825580156105f85760018160011c14303b106105ef5763f92ee8a95f526004601cfd5b818160ff1b1b91505b50610602886108a0565b7f83d7ef17df984d8e84ee79017942cb0329f48e2d537ef8c418bc299c6878be008061062f888a83610ee3565b5061063e60018201878761092e565b506002810184905560030180547fffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000001665ffffffffffff841617905580156106ae576002815560016020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b5050505050505050565b5f610459610905565b63389a75e1600c52335f525f6020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c925f5fa2565b61070261086b565b61070b5f6108a0565b565b7f83d7ef17df984d8e84ee79017942cb0329f48e2d537ef8c418bc299c6878be00805460609190819061073f90610e46565b80601f016020809104026020016040519081016040528092919081815260200182805461076b90610e46565b801561059c5780601f1061078d5761010080835404028352916020019161059c565b820191905f5260205f20905b8154815290600101906020018083116107995750939695505050505050565b5f6104597f83d7ef17df984d8e84ee79017942cb0329f48e2d537ef8c418bc299c6878be025490565b61080560405180606001604052806060815260200160608152602001606081525090565b90565b61081061086b565b63389a75e1600c52805f526020600c20805442111561083657636f5e88185f526004601cfd5b5f9055610842816108a0565b50565b61084d61086b565b8060601b61086257637448fbae5f526004601cfd5b610842816108a0565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff7487392754331461070b576382b429005f526004601cfd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927805473ffffffffffffffffffffffffffffffffffffffff9092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a355565b5f6104597fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739275490565b828054828255905f5260205f20908101928215610967579160200282015b8281111561096757823582559160200191906001019061094c565b50610973929150610977565b5090565b5b80821115610973575f8155600101610978565b5f6020828403121561099b575f5ffd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146109ca575f5ffd5b9392505050565b803565ffffffffffff811681146109e6575f5ffd5b919050565b5f5f604083850312156109fc575f5ffd5b82359150610a0c602084016109d1565b90509250929050565b602080825282518282018190525f918401906040840190835b81811015610a4c578351835260209384019390920191600101610a2e565b509095945050505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146109e6575f5ffd5b5f5f83601f840112610a8a575f5ffd5b50813567ffffffffffffffff811115610aa1575f5ffd5b602083019150836020828501011115610ab8575f5ffd5b9250929050565b5f5f5f5f5f5f5f60a0888a031215610ad5575f5ffd5b610ade88610a57565b9650602088013567ffffffffffffffff811115610af9575f5ffd5b610b058a828b01610a7a565b909750955050604088013567ffffffffffffffff811115610b24575f5ffd5b8801601f81018a13610b34575f5ffd5b803567ffffffffffffffff811115610b4a575f5ffd5b8a60208260051b8401011115610b5e575f5ffd5b6020919091019450925060608801359150610b7b608089016109d1565b905092959891949750929550565b5f5f60208385031215610b9a575f5ffd5b823567ffffffffffffffff811115610bb0575f5ffd5b610bbc85828601610a7a565b90969095509350505050565b602081525f82518060208401528060208501604085015e5f6040828501015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011684010191505092915050565b5f8151808452602084019350602083015f5b82811015610c9d5781517fffffffff00000000000000000000000000000000000000000000000000000000815116875263ffffffff602082015116602088015260408101511515604088015260608101511515606088015250608086019550602082019150600181019050610c2d565b5093949350505050565b5f8151808452602084019350602083015f5b82811015610c9d5781517fffffffff0000000000000000000000000000000000000000000000000000000016865260209586019590910190600101610cb9565b602080825282516060838301528051608084018190525f929190910190829060a08501905b80831015610d7e5783517fffffffff00000000000000000000000000000000000000000000000000000000815116835260208101511515602084015260408101511515604084015250606082019150602084019350600183019250610d1e565b50602086015192507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0858203016040860152610dba8184610c1b565b9250505060408401517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0848303016060850152610df78282610ca7565b95945050505050565b5f60208284031215610e10575f5ffd5b6109ca82610a57565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b600181811c90821680610e5a57607f821691505b602082108103610e91577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b50919050565b601f821115610ede57805f5260205f20601f840160051c81016020851015610ebc5750805b601f840160051c820191505b81811015610edb575f8155600101610ec8565b50505b505050565b67ffffffffffffffff831115610efb57610efb610e19565b610f0f83610f098354610e46565b83610e97565b5f601f841160018114610f5f575f8515610f295750838201355b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b1c1916600186901b178355610edb565b5f838152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08716915b82811015610fac5786850135825560209485019460019092019101610f8c565b5086821015610fe7577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88860031b161c19848701351681555b505060018560011b018355505050505056";
|
|
411
|
+
|
|
412
|
+
type SimpleAppConstructorParams =
|
|
413
|
+
| [signer?: Signer]
|
|
414
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
415
|
+
|
|
416
|
+
const isSuperArgs = (
|
|
417
|
+
xs: SimpleAppConstructorParams
|
|
418
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
419
|
+
|
|
420
|
+
export class SimpleApp__factory extends ContractFactory {
|
|
421
|
+
constructor(...args: SimpleAppConstructorParams) {
|
|
422
|
+
if (isSuperArgs(args)) {
|
|
423
|
+
super(...args);
|
|
424
|
+
} else {
|
|
425
|
+
super(_abi, _bytecode, args[0]);
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
override deploy(
|
|
430
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
431
|
+
): Promise<SimpleApp> {
|
|
432
|
+
return super.deploy(overrides || {}) as Promise<SimpleApp>;
|
|
433
|
+
}
|
|
434
|
+
override getDeployTransaction(
|
|
435
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
436
|
+
): TransactionRequest {
|
|
437
|
+
return super.getDeployTransaction(overrides || {});
|
|
438
|
+
}
|
|
439
|
+
override attach(address: string): SimpleApp {
|
|
440
|
+
return super.attach(address) as SimpleApp;
|
|
441
|
+
}
|
|
442
|
+
override connect(signer: Signer): SimpleApp__factory {
|
|
443
|
+
return super.connect(signer) as SimpleApp__factory;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
static readonly bytecode = _bytecode;
|
|
447
|
+
static readonly abi = _abi;
|
|
448
|
+
static createInterface(): SimpleAppInterface {
|
|
449
|
+
return new utils.Interface(_abi) as SimpleAppInterface;
|
|
450
|
+
}
|
|
451
|
+
static connect(
|
|
452
|
+
address: string,
|
|
453
|
+
signerOrProvider: Signer | Provider
|
|
454
|
+
): SimpleApp {
|
|
455
|
+
return new Contract(address, _abi, signerOrProvider) as SimpleApp;
|
|
456
|
+
}
|
|
457
|
+
}
|
|
@@ -8,6 +8,7 @@ export { Architect__factory } from "./Architect__factory";
|
|
|
8
8
|
export { Channels__factory } from "./Channels__factory";
|
|
9
9
|
export { DropFacet__factory } from "./DropFacet__factory";
|
|
10
10
|
export { EntitlementsManager__factory } from "./EntitlementsManager__factory";
|
|
11
|
+
export { IAppAccount__factory } from "./IAppAccount__factory";
|
|
11
12
|
export { IAppRegistry__factory } from "./IAppRegistry__factory";
|
|
12
13
|
export { IArchitect__factory } from "./IArchitect__factory";
|
|
13
14
|
export { IBanning__factory } from "./IBanning__factory";
|
|
@@ -53,6 +54,7 @@ export { PlatformRequirementsFacet__factory } from "./PlatformRequirementsFacet_
|
|
|
53
54
|
export { PrepayFacet__factory } from "./PrepayFacet__factory";
|
|
54
55
|
export { RewardsDistributionV2__factory } from "./RewardsDistributionV2__factory";
|
|
55
56
|
export { Roles__factory } from "./Roles__factory";
|
|
57
|
+
export { SimpleApp__factory } from "./SimpleApp__factory";
|
|
56
58
|
export { SpaceOwner__factory } from "./SpaceOwner__factory";
|
|
57
59
|
export { StreamRegistry__factory } from "./StreamRegistry__factory";
|
|
58
60
|
export { TokenPausableFacet__factory } from "./TokenPausableFacet__factory";
|
package/dev/typings/index.ts
CHANGED
|
@@ -11,6 +11,7 @@ export type { Architect } from "./Architect";
|
|
|
11
11
|
export type { Channels } from "./Channels";
|
|
12
12
|
export type { DropFacet } from "./DropFacet";
|
|
13
13
|
export type { EntitlementsManager } from "./EntitlementsManager";
|
|
14
|
+
export type { IAppAccount } from "./IAppAccount";
|
|
14
15
|
export type { IAppRegistry } from "./IAppRegistry";
|
|
15
16
|
export type { IArchitect } from "./IArchitect";
|
|
16
17
|
export type { IBanning } from "./IBanning";
|
|
@@ -56,6 +57,7 @@ export type { PlatformRequirementsFacet } from "./PlatformRequirementsFacet";
|
|
|
56
57
|
export type { PrepayFacet } from "./PrepayFacet";
|
|
57
58
|
export type { RewardsDistributionV2 } from "./RewardsDistributionV2";
|
|
58
59
|
export type { Roles } from "./Roles";
|
|
60
|
+
export type { SimpleApp } from "./SimpleApp";
|
|
59
61
|
export type { SpaceOwner } from "./SpaceOwner";
|
|
60
62
|
export type { StreamRegistry } from "./StreamRegistry";
|
|
61
63
|
export type { TokenPausableFacet } from "./TokenPausableFacet";
|
|
@@ -67,6 +69,7 @@ export { Architect__factory } from "./factories/Architect__factory";
|
|
|
67
69
|
export { Channels__factory } from "./factories/Channels__factory";
|
|
68
70
|
export { DropFacet__factory } from "./factories/DropFacet__factory";
|
|
69
71
|
export { EntitlementsManager__factory } from "./factories/EntitlementsManager__factory";
|
|
72
|
+
export { IAppAccount__factory } from "./factories/IAppAccount__factory";
|
|
70
73
|
export { IAppRegistry__factory } from "./factories/IAppRegistry__factory";
|
|
71
74
|
export { IArchitect__factory } from "./factories/IArchitect__factory";
|
|
72
75
|
export { IBanning__factory } from "./factories/IBanning__factory";
|
|
@@ -120,6 +123,7 @@ export { PlatformRequirementsFacet__factory } from "./factories/PlatformRequirem
|
|
|
120
123
|
export { PrepayFacet__factory } from "./factories/PrepayFacet__factory";
|
|
121
124
|
export { RewardsDistributionV2__factory } from "./factories/RewardsDistributionV2__factory";
|
|
122
125
|
export { Roles__factory } from "./factories/Roles__factory";
|
|
126
|
+
export { SimpleApp__factory } from "./factories/SimpleApp__factory";
|
|
123
127
|
export { SpaceOwner__factory } from "./factories/SpaceOwner__factory";
|
|
124
128
|
export { StreamRegistry__factory } from "./factories/StreamRegistry__factory";
|
|
125
129
|
export { TokenPausableFacet__factory } from "./factories/TokenPausableFacet__factory";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@towns-protocol/generated",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.258",
|
|
4
4
|
"packageManager": "yarn@3.8.0",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
"make-config": "node ./scripts/make-config.js",
|
|
18
18
|
"preinstall": "node ./scripts/make-config.js"
|
|
19
19
|
},
|
|
20
|
-
"gitHead": "
|
|
20
|
+
"gitHead": "b4223ae20cca890f174f87df3a04bfe3f42e91cb"
|
|
21
21
|
}
|