@towns-protocol/generated 0.0.377 → 0.0.378
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 +0 -19
- package/dev/abis/Channels.abi.ts +0 -19
- package/dev/abis/EntitlementsManager.abi.json +0 -19
- package/dev/abis/EntitlementsManager.abi.ts +0 -19
- package/dev/abis/IAppFactory.abi.json +87 -0
- package/dev/abis/IAppFactory.abi.ts +87 -0
- package/dev/abis/IAppFactoryBase.abi.json +36 -0
- package/dev/abis/IAppFactoryBase.abi.ts +36 -0
- package/dev/abis/IAppRegistry.abi.json +0 -70
- package/dev/abis/IAppRegistry.abi.ts +0 -70
- package/dev/abis/IAppRegistryBase.abi.json +0 -19
- package/dev/abis/IAppRegistryBase.abi.ts +0 -19
- package/dev/abis/MembershipFacet.abi.json +0 -19
- package/dev/abis/MembershipFacet.abi.ts +0 -19
- package/dev/abis/PrepayFacet.abi.json +0 -19
- package/dev/abis/PrepayFacet.abi.ts +0 -19
- package/dev/abis/Roles.abi.json +0 -19
- package/dev/abis/Roles.abi.ts +0 -19
- package/dev/typings/Channels.ts +0 -19
- package/dev/typings/EntitlementsManager.ts +0 -19
- package/dev/typings/IAppFactory.ts +154 -0
- package/dev/typings/IAppRegistry.ts +0 -73
- package/dev/typings/MembershipFacet.ts +0 -19
- package/dev/typings/PrepayFacet.ts +0 -19
- package/dev/typings/Roles.ts +0 -19
- package/dev/typings/factories/Channels__factory.ts +0 -19
- package/dev/typings/factories/EntitlementsManager__factory.ts +0 -19
- package/dev/typings/factories/IAppFactory__factory.ts +108 -0
- package/dev/typings/factories/IAppRegistry__factory.ts +0 -70
- package/dev/typings/factories/MembershipFacet__factory.ts +0 -19
- package/dev/typings/factories/PrepayFacet__factory.ts +0 -19
- package/dev/typings/factories/Roles__factory.ts +0 -19
- package/dev/typings/factories/index.ts +1 -0
- package/dev/typings/index.ts +2 -0
- package/package.json +3 -3
package/dev/abis/Roles.abi.json
CHANGED
|
@@ -378,25 +378,6 @@
|
|
|
378
378
|
],
|
|
379
379
|
"anonymous": false
|
|
380
380
|
},
|
|
381
|
-
{
|
|
382
|
-
"type": "event",
|
|
383
|
-
"name": "AppCreated",
|
|
384
|
-
"inputs": [
|
|
385
|
-
{
|
|
386
|
-
"name": "app",
|
|
387
|
-
"type": "address",
|
|
388
|
-
"indexed": true,
|
|
389
|
-
"internalType": "address"
|
|
390
|
-
},
|
|
391
|
-
{
|
|
392
|
-
"name": "uid",
|
|
393
|
-
"type": "bytes32",
|
|
394
|
-
"indexed": false,
|
|
395
|
-
"internalType": "bytes32"
|
|
396
|
-
}
|
|
397
|
-
],
|
|
398
|
-
"anonymous": false
|
|
399
|
-
},
|
|
400
381
|
{
|
|
401
382
|
"type": "event",
|
|
402
383
|
"name": "AppInstalled",
|
package/dev/abis/Roles.abi.ts
CHANGED
|
@@ -378,25 +378,6 @@ export default [
|
|
|
378
378
|
],
|
|
379
379
|
"anonymous": false
|
|
380
380
|
},
|
|
381
|
-
{
|
|
382
|
-
"type": "event",
|
|
383
|
-
"name": "AppCreated",
|
|
384
|
-
"inputs": [
|
|
385
|
-
{
|
|
386
|
-
"name": "app",
|
|
387
|
-
"type": "address",
|
|
388
|
-
"indexed": true,
|
|
389
|
-
"internalType": "address"
|
|
390
|
-
},
|
|
391
|
-
{
|
|
392
|
-
"name": "uid",
|
|
393
|
-
"type": "bytes32",
|
|
394
|
-
"indexed": false,
|
|
395
|
-
"internalType": "bytes32"
|
|
396
|
-
}
|
|
397
|
-
],
|
|
398
|
-
"anonymous": false
|
|
399
|
-
},
|
|
400
381
|
{
|
|
401
382
|
"type": "event",
|
|
402
383
|
"name": "AppInstalled",
|
package/dev/typings/Channels.ts
CHANGED
|
@@ -202,7 +202,6 @@ export interface ChannelsInterface extends utils.Interface {
|
|
|
202
202
|
|
|
203
203
|
events: {
|
|
204
204
|
"AppBanned(address,bytes32)": EventFragment;
|
|
205
|
-
"AppCreated(address,bytes32)": EventFragment;
|
|
206
205
|
"AppInstalled(address,address,bytes32)": EventFragment;
|
|
207
206
|
"AppRegistered(address,bytes32)": EventFragment;
|
|
208
207
|
"AppRenewed(address,address,bytes32)": EventFragment;
|
|
@@ -246,7 +245,6 @@ export interface ChannelsInterface extends utils.Interface {
|
|
|
246
245
|
};
|
|
247
246
|
|
|
248
247
|
getEvent(nameOrSignatureOrTopic: "AppBanned"): EventFragment;
|
|
249
|
-
getEvent(nameOrSignatureOrTopic: "AppCreated"): EventFragment;
|
|
250
248
|
getEvent(nameOrSignatureOrTopic: "AppInstalled"): EventFragment;
|
|
251
249
|
getEvent(nameOrSignatureOrTopic: "AppRegistered"): EventFragment;
|
|
252
250
|
getEvent(nameOrSignatureOrTopic: "AppRenewed"): EventFragment;
|
|
@@ -307,17 +305,6 @@ export type AppBannedEvent = TypedEvent<[string, string], AppBannedEventObject>;
|
|
|
307
305
|
|
|
308
306
|
export type AppBannedEventFilter = TypedEventFilter<AppBannedEvent>;
|
|
309
307
|
|
|
310
|
-
export interface AppCreatedEventObject {
|
|
311
|
-
app: string;
|
|
312
|
-
uid: string;
|
|
313
|
-
}
|
|
314
|
-
export type AppCreatedEvent = TypedEvent<
|
|
315
|
-
[string, string],
|
|
316
|
-
AppCreatedEventObject
|
|
317
|
-
>;
|
|
318
|
-
|
|
319
|
-
export type AppCreatedEventFilter = TypedEventFilter<AppCreatedEvent>;
|
|
320
|
-
|
|
321
308
|
export interface AppInstalledEventObject {
|
|
322
309
|
app: string;
|
|
323
310
|
account: string;
|
|
@@ -992,12 +979,6 @@ export interface Channels extends BaseContract {
|
|
|
992
979
|
): AppBannedEventFilter;
|
|
993
980
|
AppBanned(app?: string | null, uid?: null): AppBannedEventFilter;
|
|
994
981
|
|
|
995
|
-
"AppCreated(address,bytes32)"(
|
|
996
|
-
app?: string | null,
|
|
997
|
-
uid?: null
|
|
998
|
-
): AppCreatedEventFilter;
|
|
999
|
-
AppCreated(app?: string | null, uid?: null): AppCreatedEventFilter;
|
|
1000
|
-
|
|
1001
982
|
"AppInstalled(address,address,bytes32)"(
|
|
1002
983
|
app?: string | null,
|
|
1003
984
|
account?: string | null,
|
|
@@ -175,7 +175,6 @@ export interface EntitlementsManagerInterface extends utils.Interface {
|
|
|
175
175
|
|
|
176
176
|
events: {
|
|
177
177
|
"AppBanned(address,bytes32)": EventFragment;
|
|
178
|
-
"AppCreated(address,bytes32)": EventFragment;
|
|
179
178
|
"AppInstalled(address,address,bytes32)": EventFragment;
|
|
180
179
|
"AppRegistered(address,bytes32)": EventFragment;
|
|
181
180
|
"AppRenewed(address,address,bytes32)": EventFragment;
|
|
@@ -207,7 +206,6 @@ export interface EntitlementsManagerInterface extends utils.Interface {
|
|
|
207
206
|
};
|
|
208
207
|
|
|
209
208
|
getEvent(nameOrSignatureOrTopic: "AppBanned"): EventFragment;
|
|
210
|
-
getEvent(nameOrSignatureOrTopic: "AppCreated"): EventFragment;
|
|
211
209
|
getEvent(nameOrSignatureOrTopic: "AppInstalled"): EventFragment;
|
|
212
210
|
getEvent(nameOrSignatureOrTopic: "AppRegistered"): EventFragment;
|
|
213
211
|
getEvent(nameOrSignatureOrTopic: "AppRenewed"): EventFragment;
|
|
@@ -250,17 +248,6 @@ export type AppBannedEvent = TypedEvent<[string, string], AppBannedEventObject>;
|
|
|
250
248
|
|
|
251
249
|
export type AppBannedEventFilter = TypedEventFilter<AppBannedEvent>;
|
|
252
250
|
|
|
253
|
-
export interface AppCreatedEventObject {
|
|
254
|
-
app: string;
|
|
255
|
-
uid: string;
|
|
256
|
-
}
|
|
257
|
-
export type AppCreatedEvent = TypedEvent<
|
|
258
|
-
[string, string],
|
|
259
|
-
AppCreatedEventObject
|
|
260
|
-
>;
|
|
261
|
-
|
|
262
|
-
export type AppCreatedEventFilter = TypedEventFilter<AppCreatedEvent>;
|
|
263
|
-
|
|
264
251
|
export interface AppInstalledEventObject {
|
|
265
252
|
app: string;
|
|
266
253
|
account: string;
|
|
@@ -747,12 +734,6 @@ export interface EntitlementsManager extends BaseContract {
|
|
|
747
734
|
): AppBannedEventFilter;
|
|
748
735
|
AppBanned(app?: string | null, uid?: null): AppBannedEventFilter;
|
|
749
736
|
|
|
750
|
-
"AppCreated(address,bytes32)"(
|
|
751
|
-
app?: string | null,
|
|
752
|
-
uid?: null
|
|
753
|
-
): AppCreatedEventFilter;
|
|
754
|
-
AppCreated(app?: string | null, uid?: null): AppCreatedEventFilter;
|
|
755
|
-
|
|
756
737
|
"AppInstalled(address,address,bytes32)"(
|
|
757
738
|
app?: string | null,
|
|
758
739
|
account?: string | null,
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type {
|
|
5
|
+
BaseContract,
|
|
6
|
+
BigNumber,
|
|
7
|
+
BigNumberish,
|
|
8
|
+
BytesLike,
|
|
9
|
+
CallOverrides,
|
|
10
|
+
ContractTransaction,
|
|
11
|
+
PayableOverrides,
|
|
12
|
+
PopulatedTransaction,
|
|
13
|
+
Signer,
|
|
14
|
+
utils,
|
|
15
|
+
} from "ethers";
|
|
16
|
+
import type {
|
|
17
|
+
FunctionFragment,
|
|
18
|
+
Result,
|
|
19
|
+
EventFragment,
|
|
20
|
+
} from "@ethersproject/abi";
|
|
21
|
+
import type { Listener, Provider } from "@ethersproject/providers";
|
|
22
|
+
import type {
|
|
23
|
+
TypedEventFilter,
|
|
24
|
+
TypedEvent,
|
|
25
|
+
TypedListener,
|
|
26
|
+
OnEvent,
|
|
27
|
+
} from "./common";
|
|
28
|
+
|
|
29
|
+
export declare namespace IAppFactoryBase {
|
|
30
|
+
export type AppParamsStruct = {
|
|
31
|
+
name: string;
|
|
32
|
+
permissions: BytesLike[];
|
|
33
|
+
client: string;
|
|
34
|
+
installPrice: BigNumberish;
|
|
35
|
+
accessDuration: BigNumberish;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export type AppParamsStructOutput = [
|
|
39
|
+
string,
|
|
40
|
+
string[],
|
|
41
|
+
string,
|
|
42
|
+
BigNumber,
|
|
43
|
+
number
|
|
44
|
+
] & {
|
|
45
|
+
name: string;
|
|
46
|
+
permissions: string[];
|
|
47
|
+
client: string;
|
|
48
|
+
installPrice: BigNumber;
|
|
49
|
+
accessDuration: number;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export interface IAppFactoryInterface extends utils.Interface {
|
|
54
|
+
functions: {
|
|
55
|
+
"createApp((string,bytes32[],address,uint256,uint48))": FunctionFragment;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
getFunction(nameOrSignatureOrTopic: "createApp"): FunctionFragment;
|
|
59
|
+
|
|
60
|
+
encodeFunctionData(
|
|
61
|
+
functionFragment: "createApp",
|
|
62
|
+
values: [IAppFactoryBase.AppParamsStruct]
|
|
63
|
+
): string;
|
|
64
|
+
|
|
65
|
+
decodeFunctionResult(functionFragment: "createApp", data: BytesLike): Result;
|
|
66
|
+
|
|
67
|
+
events: {
|
|
68
|
+
"AppCreated(address,bytes32)": EventFragment;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
getEvent(nameOrSignatureOrTopic: "AppCreated"): EventFragment;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export interface AppCreatedEventObject {
|
|
75
|
+
app: string;
|
|
76
|
+
uid: string;
|
|
77
|
+
}
|
|
78
|
+
export type AppCreatedEvent = TypedEvent<
|
|
79
|
+
[string, string],
|
|
80
|
+
AppCreatedEventObject
|
|
81
|
+
>;
|
|
82
|
+
|
|
83
|
+
export type AppCreatedEventFilter = TypedEventFilter<AppCreatedEvent>;
|
|
84
|
+
|
|
85
|
+
export interface IAppFactory extends BaseContract {
|
|
86
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
87
|
+
attach(addressOrName: string): this;
|
|
88
|
+
deployed(): Promise<this>;
|
|
89
|
+
|
|
90
|
+
interface: IAppFactoryInterface;
|
|
91
|
+
|
|
92
|
+
queryFilter<TEvent extends TypedEvent>(
|
|
93
|
+
event: TypedEventFilter<TEvent>,
|
|
94
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
95
|
+
toBlock?: string | number | undefined
|
|
96
|
+
): Promise<Array<TEvent>>;
|
|
97
|
+
|
|
98
|
+
listeners<TEvent extends TypedEvent>(
|
|
99
|
+
eventFilter?: TypedEventFilter<TEvent>
|
|
100
|
+
): Array<TypedListener<TEvent>>;
|
|
101
|
+
listeners(eventName?: string): Array<Listener>;
|
|
102
|
+
removeAllListeners<TEvent extends TypedEvent>(
|
|
103
|
+
eventFilter: TypedEventFilter<TEvent>
|
|
104
|
+
): this;
|
|
105
|
+
removeAllListeners(eventName?: string): this;
|
|
106
|
+
off: OnEvent<this>;
|
|
107
|
+
on: OnEvent<this>;
|
|
108
|
+
once: OnEvent<this>;
|
|
109
|
+
removeListener: OnEvent<this>;
|
|
110
|
+
|
|
111
|
+
functions: {
|
|
112
|
+
createApp(
|
|
113
|
+
params: IAppFactoryBase.AppParamsStruct,
|
|
114
|
+
overrides?: PayableOverrides & { from?: string }
|
|
115
|
+
): Promise<ContractTransaction>;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
createApp(
|
|
119
|
+
params: IAppFactoryBase.AppParamsStruct,
|
|
120
|
+
overrides?: PayableOverrides & { from?: string }
|
|
121
|
+
): Promise<ContractTransaction>;
|
|
122
|
+
|
|
123
|
+
callStatic: {
|
|
124
|
+
createApp(
|
|
125
|
+
params: IAppFactoryBase.AppParamsStruct,
|
|
126
|
+
overrides?: CallOverrides
|
|
127
|
+
): Promise<[string, string] & { app: string; appId: string }>;
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
filters: {
|
|
131
|
+
"AppCreated(address,bytes32)"(
|
|
132
|
+
app?: string | null,
|
|
133
|
+
uid?: BytesLike | null
|
|
134
|
+
): AppCreatedEventFilter;
|
|
135
|
+
AppCreated(
|
|
136
|
+
app?: string | null,
|
|
137
|
+
uid?: BytesLike | null
|
|
138
|
+
): AppCreatedEventFilter;
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
estimateGas: {
|
|
142
|
+
createApp(
|
|
143
|
+
params: IAppFactoryBase.AppParamsStruct,
|
|
144
|
+
overrides?: PayableOverrides & { from?: string }
|
|
145
|
+
): Promise<BigNumber>;
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
populateTransaction: {
|
|
149
|
+
createApp(
|
|
150
|
+
params: IAppFactoryBase.AppParamsStruct,
|
|
151
|
+
overrides?: PayableOverrides & { from?: string }
|
|
152
|
+
): Promise<PopulatedTransaction>;
|
|
153
|
+
};
|
|
154
|
+
}
|
|
@@ -79,28 +79,6 @@ export type ExecutionManifestStructOutput = [
|
|
|
79
79
|
};
|
|
80
80
|
|
|
81
81
|
export declare namespace IAppRegistryBase {
|
|
82
|
-
export type AppParamsStruct = {
|
|
83
|
-
name: string;
|
|
84
|
-
permissions: BytesLike[];
|
|
85
|
-
client: string;
|
|
86
|
-
installPrice: BigNumberish;
|
|
87
|
-
accessDuration: BigNumberish;
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
export type AppParamsStructOutput = [
|
|
91
|
-
string,
|
|
92
|
-
string[],
|
|
93
|
-
string,
|
|
94
|
-
BigNumber,
|
|
95
|
-
number
|
|
96
|
-
] & {
|
|
97
|
-
name: string;
|
|
98
|
-
permissions: string[];
|
|
99
|
-
client: string;
|
|
100
|
-
installPrice: BigNumber;
|
|
101
|
-
accessDuration: number;
|
|
102
|
-
};
|
|
103
|
-
|
|
104
82
|
export type AppStruct = {
|
|
105
83
|
appId: BytesLike;
|
|
106
84
|
module: string;
|
|
@@ -134,7 +112,6 @@ export interface IAppRegistryInterface extends utils.Interface {
|
|
|
134
112
|
functions: {
|
|
135
113
|
"adminBanApp(address)": FunctionFragment;
|
|
136
114
|
"adminRegisterAppSchema(string,address,bool)": FunctionFragment;
|
|
137
|
-
"createApp((string,bytes32[],address,uint256,uint48))": FunctionFragment;
|
|
138
115
|
"getAppByClient(address)": FunctionFragment;
|
|
139
116
|
"getAppById(bytes32)": FunctionFragment;
|
|
140
117
|
"getAppDuration(address)": FunctionFragment;
|
|
@@ -152,7 +129,6 @@ export interface IAppRegistryInterface extends utils.Interface {
|
|
|
152
129
|
nameOrSignatureOrTopic:
|
|
153
130
|
| "adminBanApp"
|
|
154
131
|
| "adminRegisterAppSchema"
|
|
155
|
-
| "createApp"
|
|
156
132
|
| "getAppByClient"
|
|
157
133
|
| "getAppById"
|
|
158
134
|
| "getAppDuration"
|
|
@@ -171,10 +147,6 @@ export interface IAppRegistryInterface extends utils.Interface {
|
|
|
171
147
|
functionFragment: "adminRegisterAppSchema",
|
|
172
148
|
values: [string, string, boolean]
|
|
173
149
|
): string;
|
|
174
|
-
encodeFunctionData(
|
|
175
|
-
functionFragment: "createApp",
|
|
176
|
-
values: [IAppRegistryBase.AppParamsStruct]
|
|
177
|
-
): string;
|
|
178
150
|
encodeFunctionData(
|
|
179
151
|
functionFragment: "getAppByClient",
|
|
180
152
|
values: [string]
|
|
@@ -222,7 +194,6 @@ export interface IAppRegistryInterface extends utils.Interface {
|
|
|
222
194
|
functionFragment: "adminRegisterAppSchema",
|
|
223
195
|
data: BytesLike
|
|
224
196
|
): Result;
|
|
225
|
-
decodeFunctionResult(functionFragment: "createApp", data: BytesLike): Result;
|
|
226
197
|
decodeFunctionResult(
|
|
227
198
|
functionFragment: "getAppByClient",
|
|
228
199
|
data: BytesLike
|
|
@@ -261,7 +232,6 @@ export interface IAppRegistryInterface extends utils.Interface {
|
|
|
261
232
|
|
|
262
233
|
events: {
|
|
263
234
|
"AppBanned(address,bytes32)": EventFragment;
|
|
264
|
-
"AppCreated(address,bytes32)": EventFragment;
|
|
265
235
|
"AppInstalled(address,address,bytes32)": EventFragment;
|
|
266
236
|
"AppRegistered(address,bytes32)": EventFragment;
|
|
267
237
|
"AppRenewed(address,address,bytes32)": EventFragment;
|
|
@@ -274,7 +244,6 @@ export interface IAppRegistryInterface extends utils.Interface {
|
|
|
274
244
|
};
|
|
275
245
|
|
|
276
246
|
getEvent(nameOrSignatureOrTopic: "AppBanned"): EventFragment;
|
|
277
|
-
getEvent(nameOrSignatureOrTopic: "AppCreated"): EventFragment;
|
|
278
247
|
getEvent(nameOrSignatureOrTopic: "AppInstalled"): EventFragment;
|
|
279
248
|
getEvent(nameOrSignatureOrTopic: "AppRegistered"): EventFragment;
|
|
280
249
|
getEvent(nameOrSignatureOrTopic: "AppRenewed"): EventFragment;
|
|
@@ -298,17 +267,6 @@ export type AppBannedEvent = TypedEvent<[string, string], AppBannedEventObject>;
|
|
|
298
267
|
|
|
299
268
|
export type AppBannedEventFilter = TypedEventFilter<AppBannedEvent>;
|
|
300
269
|
|
|
301
|
-
export interface AppCreatedEventObject {
|
|
302
|
-
app: string;
|
|
303
|
-
uid: string;
|
|
304
|
-
}
|
|
305
|
-
export type AppCreatedEvent = TypedEvent<
|
|
306
|
-
[string, string],
|
|
307
|
-
AppCreatedEventObject
|
|
308
|
-
>;
|
|
309
|
-
|
|
310
|
-
export type AppCreatedEventFilter = TypedEventFilter<AppCreatedEvent>;
|
|
311
|
-
|
|
312
270
|
export interface AppInstalledEventObject {
|
|
313
271
|
app: string;
|
|
314
272
|
account: string;
|
|
@@ -450,11 +408,6 @@ export interface IAppRegistry extends BaseContract {
|
|
|
450
408
|
overrides?: Overrides & { from?: string }
|
|
451
409
|
): Promise<ContractTransaction>;
|
|
452
410
|
|
|
453
|
-
createApp(
|
|
454
|
-
params: IAppRegistryBase.AppParamsStruct,
|
|
455
|
-
overrides?: PayableOverrides & { from?: string }
|
|
456
|
-
): Promise<ContractTransaction>;
|
|
457
|
-
|
|
458
411
|
getAppByClient(
|
|
459
412
|
client: string,
|
|
460
413
|
overrides?: CallOverrides
|
|
@@ -508,11 +461,6 @@ export interface IAppRegistry extends BaseContract {
|
|
|
508
461
|
overrides?: Overrides & { from?: string }
|
|
509
462
|
): Promise<ContractTransaction>;
|
|
510
463
|
|
|
511
|
-
createApp(
|
|
512
|
-
params: IAppRegistryBase.AppParamsStruct,
|
|
513
|
-
overrides?: PayableOverrides & { from?: string }
|
|
514
|
-
): Promise<ContractTransaction>;
|
|
515
|
-
|
|
516
464
|
getAppByClient(client: string, overrides?: CallOverrides): Promise<string>;
|
|
517
465
|
|
|
518
466
|
getAppById(
|
|
@@ -560,11 +508,6 @@ export interface IAppRegistry extends BaseContract {
|
|
|
560
508
|
overrides?: CallOverrides
|
|
561
509
|
): Promise<string>;
|
|
562
510
|
|
|
563
|
-
createApp(
|
|
564
|
-
params: IAppRegistryBase.AppParamsStruct,
|
|
565
|
-
overrides?: CallOverrides
|
|
566
|
-
): Promise<[string, string] & { app: string; appId: string }>;
|
|
567
|
-
|
|
568
511
|
getAppByClient(client: string, overrides?: CallOverrides): Promise<string>;
|
|
569
512
|
|
|
570
513
|
getAppById(
|
|
@@ -607,12 +550,6 @@ export interface IAppRegistry extends BaseContract {
|
|
|
607
550
|
): AppBannedEventFilter;
|
|
608
551
|
AppBanned(app?: string | null, uid?: null): AppBannedEventFilter;
|
|
609
552
|
|
|
610
|
-
"AppCreated(address,bytes32)"(
|
|
611
|
-
app?: string | null,
|
|
612
|
-
uid?: null
|
|
613
|
-
): AppCreatedEventFilter;
|
|
614
|
-
AppCreated(app?: string | null, uid?: null): AppCreatedEventFilter;
|
|
615
|
-
|
|
616
553
|
"AppInstalled(address,address,bytes32)"(
|
|
617
554
|
app?: string | null,
|
|
618
555
|
account?: string | null,
|
|
@@ -699,11 +636,6 @@ export interface IAppRegistry extends BaseContract {
|
|
|
699
636
|
overrides?: Overrides & { from?: string }
|
|
700
637
|
): Promise<BigNumber>;
|
|
701
638
|
|
|
702
|
-
createApp(
|
|
703
|
-
params: IAppRegistryBase.AppParamsStruct,
|
|
704
|
-
overrides?: PayableOverrides & { from?: string }
|
|
705
|
-
): Promise<BigNumber>;
|
|
706
|
-
|
|
707
639
|
getAppByClient(
|
|
708
640
|
client: string,
|
|
709
641
|
overrides?: CallOverrides
|
|
@@ -755,11 +687,6 @@ export interface IAppRegistry extends BaseContract {
|
|
|
755
687
|
overrides?: Overrides & { from?: string }
|
|
756
688
|
): Promise<PopulatedTransaction>;
|
|
757
689
|
|
|
758
|
-
createApp(
|
|
759
|
-
params: IAppRegistryBase.AppParamsStruct,
|
|
760
|
-
overrides?: PayableOverrides & { from?: string }
|
|
761
|
-
): Promise<PopulatedTransaction>;
|
|
762
|
-
|
|
763
690
|
getAppByClient(
|
|
764
691
|
client: string,
|
|
765
692
|
overrides?: CallOverrides
|
|
@@ -315,7 +315,6 @@ export interface MembershipFacetInterface extends utils.Interface {
|
|
|
315
315
|
|
|
316
316
|
events: {
|
|
317
317
|
"AppBanned(address,bytes32)": EventFragment;
|
|
318
|
-
"AppCreated(address,bytes32)": EventFragment;
|
|
319
318
|
"AppInstalled(address,address,bytes32)": EventFragment;
|
|
320
319
|
"AppRegistered(address,bytes32)": EventFragment;
|
|
321
320
|
"AppRenewed(address,address,bytes32)": EventFragment;
|
|
@@ -379,7 +378,6 @@ export interface MembershipFacetInterface extends utils.Interface {
|
|
|
379
378
|
};
|
|
380
379
|
|
|
381
380
|
getEvent(nameOrSignatureOrTopic: "AppBanned"): EventFragment;
|
|
382
|
-
getEvent(nameOrSignatureOrTopic: "AppCreated"): EventFragment;
|
|
383
381
|
getEvent(nameOrSignatureOrTopic: "AppInstalled"): EventFragment;
|
|
384
382
|
getEvent(nameOrSignatureOrTopic: "AppRegistered"): EventFragment;
|
|
385
383
|
getEvent(nameOrSignatureOrTopic: "AppRenewed"): EventFragment;
|
|
@@ -466,17 +464,6 @@ export type AppBannedEvent = TypedEvent<[string, string], AppBannedEventObject>;
|
|
|
466
464
|
|
|
467
465
|
export type AppBannedEventFilter = TypedEventFilter<AppBannedEvent>;
|
|
468
466
|
|
|
469
|
-
export interface AppCreatedEventObject {
|
|
470
|
-
app: string;
|
|
471
|
-
uid: string;
|
|
472
|
-
}
|
|
473
|
-
export type AppCreatedEvent = TypedEvent<
|
|
474
|
-
[string, string],
|
|
475
|
-
AppCreatedEventObject
|
|
476
|
-
>;
|
|
477
|
-
|
|
478
|
-
export type AppCreatedEventFilter = TypedEventFilter<AppCreatedEvent>;
|
|
479
|
-
|
|
480
467
|
export interface AppInstalledEventObject {
|
|
481
468
|
app: string;
|
|
482
469
|
account: string;
|
|
@@ -1459,12 +1446,6 @@ export interface MembershipFacet extends BaseContract {
|
|
|
1459
1446
|
): AppBannedEventFilter;
|
|
1460
1447
|
AppBanned(app?: string | null, uid?: null): AppBannedEventFilter;
|
|
1461
1448
|
|
|
1462
|
-
"AppCreated(address,bytes32)"(
|
|
1463
|
-
app?: string | null,
|
|
1464
|
-
uid?: null
|
|
1465
|
-
): AppCreatedEventFilter;
|
|
1466
|
-
AppCreated(app?: string | null, uid?: null): AppCreatedEventFilter;
|
|
1467
|
-
|
|
1468
1449
|
"AppInstalled(address,address,bytes32)"(
|
|
1469
1450
|
app?: string | null,
|
|
1470
1451
|
account?: string | null,
|
|
@@ -130,7 +130,6 @@ export interface PrepayFacetInterface extends utils.Interface {
|
|
|
130
130
|
|
|
131
131
|
events: {
|
|
132
132
|
"AppBanned(address,bytes32)": EventFragment;
|
|
133
|
-
"AppCreated(address,bytes32)": EventFragment;
|
|
134
133
|
"AppInstalled(address,address,bytes32)": EventFragment;
|
|
135
134
|
"AppRegistered(address,bytes32)": EventFragment;
|
|
136
135
|
"AppRenewed(address,address,bytes32)": EventFragment;
|
|
@@ -164,7 +163,6 @@ export interface PrepayFacetInterface extends utils.Interface {
|
|
|
164
163
|
};
|
|
165
164
|
|
|
166
165
|
getEvent(nameOrSignatureOrTopic: "AppBanned"): EventFragment;
|
|
167
|
-
getEvent(nameOrSignatureOrTopic: "AppCreated"): EventFragment;
|
|
168
166
|
getEvent(nameOrSignatureOrTopic: "AppInstalled"): EventFragment;
|
|
169
167
|
getEvent(nameOrSignatureOrTopic: "AppRegistered"): EventFragment;
|
|
170
168
|
getEvent(nameOrSignatureOrTopic: "AppRenewed"): EventFragment;
|
|
@@ -209,17 +207,6 @@ export type AppBannedEvent = TypedEvent<[string, string], AppBannedEventObject>;
|
|
|
209
207
|
|
|
210
208
|
export type AppBannedEventFilter = TypedEventFilter<AppBannedEvent>;
|
|
211
209
|
|
|
212
|
-
export interface AppCreatedEventObject {
|
|
213
|
-
app: string;
|
|
214
|
-
uid: string;
|
|
215
|
-
}
|
|
216
|
-
export type AppCreatedEvent = TypedEvent<
|
|
217
|
-
[string, string],
|
|
218
|
-
AppCreatedEventObject
|
|
219
|
-
>;
|
|
220
|
-
|
|
221
|
-
export type AppCreatedEventFilter = TypedEventFilter<AppCreatedEvent>;
|
|
222
|
-
|
|
223
210
|
export interface AppInstalledEventObject {
|
|
224
211
|
app: string;
|
|
225
212
|
account: string;
|
|
@@ -655,12 +642,6 @@ export interface PrepayFacet extends BaseContract {
|
|
|
655
642
|
): AppBannedEventFilter;
|
|
656
643
|
AppBanned(app?: string | null, uid?: null): AppBannedEventFilter;
|
|
657
644
|
|
|
658
|
-
"AppCreated(address,bytes32)"(
|
|
659
|
-
app?: string | null,
|
|
660
|
-
uid?: null
|
|
661
|
-
): AppCreatedEventFilter;
|
|
662
|
-
AppCreated(app?: string | null, uid?: null): AppCreatedEventFilter;
|
|
663
|
-
|
|
664
645
|
"AppInstalled(address,address,bytes32)"(
|
|
665
646
|
app?: string | null,
|
|
666
647
|
account?: string | null,
|
package/dev/typings/Roles.ts
CHANGED
|
@@ -240,7 +240,6 @@ export interface RolesInterface extends utils.Interface {
|
|
|
240
240
|
|
|
241
241
|
events: {
|
|
242
242
|
"AppBanned(address,bytes32)": EventFragment;
|
|
243
|
-
"AppCreated(address,bytes32)": EventFragment;
|
|
244
243
|
"AppInstalled(address,address,bytes32)": EventFragment;
|
|
245
244
|
"AppRegistered(address,bytes32)": EventFragment;
|
|
246
245
|
"AppRenewed(address,address,bytes32)": EventFragment;
|
|
@@ -276,7 +275,6 @@ export interface RolesInterface extends utils.Interface {
|
|
|
276
275
|
};
|
|
277
276
|
|
|
278
277
|
getEvent(nameOrSignatureOrTopic: "AppBanned"): EventFragment;
|
|
279
|
-
getEvent(nameOrSignatureOrTopic: "AppCreated"): EventFragment;
|
|
280
278
|
getEvent(nameOrSignatureOrTopic: "AppInstalled"): EventFragment;
|
|
281
279
|
getEvent(nameOrSignatureOrTopic: "AppRegistered"): EventFragment;
|
|
282
280
|
getEvent(nameOrSignatureOrTopic: "AppRenewed"): EventFragment;
|
|
@@ -329,17 +327,6 @@ export type AppBannedEvent = TypedEvent<[string, string], AppBannedEventObject>;
|
|
|
329
327
|
|
|
330
328
|
export type AppBannedEventFilter = TypedEventFilter<AppBannedEvent>;
|
|
331
329
|
|
|
332
|
-
export interface AppCreatedEventObject {
|
|
333
|
-
app: string;
|
|
334
|
-
uid: string;
|
|
335
|
-
}
|
|
336
|
-
export type AppCreatedEvent = TypedEvent<
|
|
337
|
-
[string, string],
|
|
338
|
-
AppCreatedEventObject
|
|
339
|
-
>;
|
|
340
|
-
|
|
341
|
-
export type AppCreatedEventFilter = TypedEventFilter<AppCreatedEvent>;
|
|
342
|
-
|
|
343
330
|
export interface AppInstalledEventObject {
|
|
344
331
|
app: string;
|
|
345
332
|
account: string;
|
|
@@ -987,12 +974,6 @@ export interface Roles extends BaseContract {
|
|
|
987
974
|
): AppBannedEventFilter;
|
|
988
975
|
AppBanned(app?: string | null, uid?: null): AppBannedEventFilter;
|
|
989
976
|
|
|
990
|
-
"AppCreated(address,bytes32)"(
|
|
991
|
-
app?: string | null,
|
|
992
|
-
uid?: null
|
|
993
|
-
): AppCreatedEventFilter;
|
|
994
|
-
AppCreated(app?: string | null, uid?: null): AppCreatedEventFilter;
|
|
995
|
-
|
|
996
977
|
"AppInstalled(address,address,bytes32)"(
|
|
997
978
|
app?: string | null,
|
|
998
979
|
account?: string | null,
|
|
@@ -250,25 +250,6 @@ const _abi = [
|
|
|
250
250
|
],
|
|
251
251
|
anonymous: false,
|
|
252
252
|
},
|
|
253
|
-
{
|
|
254
|
-
type: "event",
|
|
255
|
-
name: "AppCreated",
|
|
256
|
-
inputs: [
|
|
257
|
-
{
|
|
258
|
-
name: "app",
|
|
259
|
-
type: "address",
|
|
260
|
-
indexed: true,
|
|
261
|
-
internalType: "address",
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
name: "uid",
|
|
265
|
-
type: "bytes32",
|
|
266
|
-
indexed: false,
|
|
267
|
-
internalType: "bytes32",
|
|
268
|
-
},
|
|
269
|
-
],
|
|
270
|
-
anonymous: false,
|
|
271
|
-
},
|
|
272
253
|
{
|
|
273
254
|
type: "event",
|
|
274
255
|
name: "AppInstalled",
|
|
@@ -196,25 +196,6 @@ const _abi = [
|
|
|
196
196
|
],
|
|
197
197
|
anonymous: false,
|
|
198
198
|
},
|
|
199
|
-
{
|
|
200
|
-
type: "event",
|
|
201
|
-
name: "AppCreated",
|
|
202
|
-
inputs: [
|
|
203
|
-
{
|
|
204
|
-
name: "app",
|
|
205
|
-
type: "address",
|
|
206
|
-
indexed: true,
|
|
207
|
-
internalType: "address",
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
name: "uid",
|
|
211
|
-
type: "bytes32",
|
|
212
|
-
indexed: false,
|
|
213
|
-
internalType: "bytes32",
|
|
214
|
-
},
|
|
215
|
-
],
|
|
216
|
-
anonymous: false,
|
|
217
|
-
},
|
|
218
199
|
{
|
|
219
200
|
type: "event",
|
|
220
201
|
name: "AppInstalled",
|