@towns-protocol/generated 0.0.375 → 0.0.377
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/Channels.abi.json +1144 -153
- package/dev/abis/Channels.abi.ts +1144 -153
- package/dev/abis/EntitlementsManager.abi.json +1001 -10
- package/dev/abis/EntitlementsManager.abi.ts +1001 -10
- package/dev/abis/IAppInstaller.abi.json +89 -0
- package/dev/abis/IAppInstaller.abi.ts +89 -0
- package/dev/abis/IAppRegistry.abi.json +0 -87
- package/dev/abis/IAppRegistry.abi.ts +0 -87
- package/dev/abis/ITipping.abi.json +3 -3
- package/dev/abis/ITipping.abi.ts +3 -3
- package/dev/abis/ITippingBase.abi.json +3 -3
- package/dev/abis/ITippingBase.abi.ts +3 -3
- package/dev/abis/MembershipFacet.abi.json +1019 -28
- package/dev/abis/MembershipFacet.abi.ts +1019 -28
- package/dev/abis/PrepayFacet.abi.json +1012 -21
- package/dev/abis/PrepayFacet.abi.ts +1012 -21
- package/dev/abis/Roles.abi.json +991 -0
- package/dev/abis/Roles.abi.ts +991 -0
- package/dev/typings/Channels.ts +676 -0
- package/dev/typings/EntitlementsManager.ts +677 -0
- package/dev/typings/IAppInstaller.ts +239 -0
- package/dev/typings/IAppRegistry.ts +0 -166
- package/dev/typings/ITipping.ts +6 -6
- package/dev/typings/MembershipFacet.ts +676 -0
- package/dev/typings/PrepayFacet.ts +676 -0
- package/dev/typings/Roles.ts +676 -0
- package/dev/typings/factories/Channels__factory.ts +1146 -155
- package/dev/typings/factories/EntitlementsManager__factory.ts +1001 -10
- package/dev/typings/factories/IAppInstaller__factory.ts +110 -0
- package/dev/typings/factories/IAppRegistry__factory.ts +0 -87
- package/dev/typings/factories/ITipping__factory.ts +3 -3
- package/dev/typings/factories/MembershipFacet__factory.ts +1019 -28
- package/dev/typings/factories/PrepayFacet__factory.ts +1012 -21
- package/dev/typings/factories/Roles__factory.ts +992 -1
- package/dev/typings/factories/index.ts +1 -0
- package/dev/typings/index.ts +2 -0
- package/package.json +3 -3
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import type { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type { IAppInstaller, IAppInstallerInterface } from "../IAppInstaller";
|
|
8
|
+
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
type: "function",
|
|
12
|
+
name: "installApp",
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
name: "app",
|
|
16
|
+
type: "address",
|
|
17
|
+
internalType: "contract ITownsApp",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: "account",
|
|
21
|
+
type: "address",
|
|
22
|
+
internalType: "contract IAppAccount",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
name: "data",
|
|
26
|
+
type: "bytes",
|
|
27
|
+
internalType: "bytes",
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
outputs: [],
|
|
31
|
+
stateMutability: "payable",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
type: "function",
|
|
35
|
+
name: "renewApp",
|
|
36
|
+
inputs: [
|
|
37
|
+
{
|
|
38
|
+
name: "app",
|
|
39
|
+
type: "address",
|
|
40
|
+
internalType: "contract ITownsApp",
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: "account",
|
|
44
|
+
type: "address",
|
|
45
|
+
internalType: "contract IAppAccount",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: "data",
|
|
49
|
+
type: "bytes",
|
|
50
|
+
internalType: "bytes",
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
outputs: [],
|
|
54
|
+
stateMutability: "payable",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
type: "function",
|
|
58
|
+
name: "uninstallApp",
|
|
59
|
+
inputs: [
|
|
60
|
+
{
|
|
61
|
+
name: "app",
|
|
62
|
+
type: "address",
|
|
63
|
+
internalType: "contract ITownsApp",
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
name: "account",
|
|
67
|
+
type: "address",
|
|
68
|
+
internalType: "contract IAppAccount",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
name: "data",
|
|
72
|
+
type: "bytes",
|
|
73
|
+
internalType: "bytes",
|
|
74
|
+
},
|
|
75
|
+
],
|
|
76
|
+
outputs: [],
|
|
77
|
+
stateMutability: "nonpayable",
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
type: "function",
|
|
81
|
+
name: "updateApp",
|
|
82
|
+
inputs: [
|
|
83
|
+
{
|
|
84
|
+
name: "app",
|
|
85
|
+
type: "address",
|
|
86
|
+
internalType: "contract ITownsApp",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
name: "account",
|
|
90
|
+
type: "address",
|
|
91
|
+
internalType: "contract IAppAccount",
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
outputs: [],
|
|
95
|
+
stateMutability: "nonpayable",
|
|
96
|
+
},
|
|
97
|
+
] as const;
|
|
98
|
+
|
|
99
|
+
export class IAppInstaller__factory {
|
|
100
|
+
static readonly abi = _abi;
|
|
101
|
+
static createInterface(): IAppInstallerInterface {
|
|
102
|
+
return new utils.Interface(_abi) as IAppInstallerInterface;
|
|
103
|
+
}
|
|
104
|
+
static connect(
|
|
105
|
+
address: string,
|
|
106
|
+
signerOrProvider: Signer | Provider
|
|
107
|
+
): IAppInstaller {
|
|
108
|
+
return new Contract(address, _abi, signerOrProvider) as IAppInstaller;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
@@ -320,29 +320,6 @@ const _abi = [
|
|
|
320
320
|
],
|
|
321
321
|
stateMutability: "view",
|
|
322
322
|
},
|
|
323
|
-
{
|
|
324
|
-
type: "function",
|
|
325
|
-
name: "installApp",
|
|
326
|
-
inputs: [
|
|
327
|
-
{
|
|
328
|
-
name: "app",
|
|
329
|
-
type: "address",
|
|
330
|
-
internalType: "contract ITownsApp",
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
name: "account",
|
|
334
|
-
type: "address",
|
|
335
|
-
internalType: "contract IAppAccount",
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
name: "data",
|
|
339
|
-
type: "bytes",
|
|
340
|
-
internalType: "bytes",
|
|
341
|
-
},
|
|
342
|
-
],
|
|
343
|
-
outputs: [],
|
|
344
|
-
stateMutability: "payable",
|
|
345
|
-
},
|
|
346
323
|
{
|
|
347
324
|
type: "function",
|
|
348
325
|
name: "isAppBanned",
|
|
@@ -399,70 +376,6 @@ const _abi = [
|
|
|
399
376
|
outputs: [],
|
|
400
377
|
stateMutability: "nonpayable",
|
|
401
378
|
},
|
|
402
|
-
{
|
|
403
|
-
type: "function",
|
|
404
|
-
name: "renewApp",
|
|
405
|
-
inputs: [
|
|
406
|
-
{
|
|
407
|
-
name: "app",
|
|
408
|
-
type: "address",
|
|
409
|
-
internalType: "contract ITownsApp",
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
name: "account",
|
|
413
|
-
type: "address",
|
|
414
|
-
internalType: "contract IAppAccount",
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
name: "data",
|
|
418
|
-
type: "bytes",
|
|
419
|
-
internalType: "bytes",
|
|
420
|
-
},
|
|
421
|
-
],
|
|
422
|
-
outputs: [],
|
|
423
|
-
stateMutability: "payable",
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
type: "function",
|
|
427
|
-
name: "uninstallApp",
|
|
428
|
-
inputs: [
|
|
429
|
-
{
|
|
430
|
-
name: "app",
|
|
431
|
-
type: "address",
|
|
432
|
-
internalType: "contract ITownsApp",
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
name: "account",
|
|
436
|
-
type: "address",
|
|
437
|
-
internalType: "contract IAppAccount",
|
|
438
|
-
},
|
|
439
|
-
{
|
|
440
|
-
name: "data",
|
|
441
|
-
type: "bytes",
|
|
442
|
-
internalType: "bytes",
|
|
443
|
-
},
|
|
444
|
-
],
|
|
445
|
-
outputs: [],
|
|
446
|
-
stateMutability: "nonpayable",
|
|
447
|
-
},
|
|
448
|
-
{
|
|
449
|
-
type: "function",
|
|
450
|
-
name: "updateApp",
|
|
451
|
-
inputs: [
|
|
452
|
-
{
|
|
453
|
-
name: "app",
|
|
454
|
-
type: "address",
|
|
455
|
-
internalType: "contract ITownsApp",
|
|
456
|
-
},
|
|
457
|
-
{
|
|
458
|
-
name: "account",
|
|
459
|
-
type: "address",
|
|
460
|
-
internalType: "contract IAppAccount",
|
|
461
|
-
},
|
|
462
|
-
],
|
|
463
|
-
outputs: [],
|
|
464
|
-
stateMutability: "nonpayable",
|
|
465
|
-
},
|
|
466
379
|
{
|
|
467
380
|
type: "function",
|
|
468
381
|
name: "upgradeApp",
|
|
@@ -277,10 +277,10 @@ const _abi = [
|
|
|
277
277
|
internalType: "uint256",
|
|
278
278
|
},
|
|
279
279
|
{
|
|
280
|
-
name: "
|
|
281
|
-
type: "
|
|
280
|
+
name: "data",
|
|
281
|
+
type: "bytes",
|
|
282
282
|
indexed: false,
|
|
283
|
-
internalType: "
|
|
283
|
+
internalType: "bytes",
|
|
284
284
|
},
|
|
285
285
|
],
|
|
286
286
|
anonymous: false,
|