@towns-protocol/generated 0.0.382 → 0.0.384
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 +10 -10
- package/dev/abis/Channels.abi.ts +10 -10
- package/dev/abis/EntitlementsManager.abi.json +10 -10
- package/dev/abis/EntitlementsManager.abi.ts +10 -10
- package/dev/abis/IAppFactory.abi.json +224 -0
- package/dev/abis/IAppFactory.abi.ts +224 -0
- package/dev/abis/IAppFactoryBase.abi.json +72 -0
- package/dev/abis/IAppFactoryBase.abi.ts +72 -0
- package/dev/abis/IAppRegistry.abi.json +10 -10
- package/dev/abis/IAppRegistry.abi.ts +10 -10
- package/dev/abis/IAppRegistryBase.abi.json +10 -10
- package/dev/abis/IAppRegistryBase.abi.ts +10 -10
- package/dev/abis/ISimpleApp.abi.json +203 -0
- package/dev/abis/ISimpleApp.abi.ts +203 -0
- package/dev/abis/ISimpleAppBase.abi.json +146 -0
- package/dev/abis/ISimpleAppBase.abi.ts +146 -0
- package/dev/abis/ITownsApp.abi.json +194 -0
- package/dev/abis/ITownsApp.abi.ts +194 -0
- package/dev/abis/MembershipFacet.abi.json +10 -10
- package/dev/abis/MembershipFacet.abi.ts +10 -10
- package/dev/abis/PrepayFacet.abi.json +10 -10
- package/dev/abis/PrepayFacet.abi.ts +10 -10
- package/dev/abis/Roles.abi.json +10 -10
- package/dev/abis/Roles.abi.ts +10 -10
- package/dev/typings/IAppFactory.ts +284 -1
- package/dev/typings/ISimpleApp.ts +344 -0
- package/dev/typings/ITownsApp.ts +371 -0
- package/dev/typings/factories/Channels__factory.ts +10 -10
- package/dev/typings/factories/EntitlementsManager__factory.ts +10 -10
- package/dev/typings/factories/IAppFactory__factory.ts +224 -0
- package/dev/typings/factories/IAppRegistry__factory.ts +10 -10
- package/dev/typings/factories/ISimpleApp__factory.ts +224 -0
- package/dev/typings/factories/ITownsApp__factory.ts +215 -0
- package/dev/typings/factories/MembershipFacet__factory.ts +10 -10
- package/dev/typings/factories/PrepayFacet__factory.ts +10 -10
- package/dev/typings/factories/Roles__factory.ts +10 -10
- package/dev/typings/factories/index.ts +2 -1
- package/dev/typings/index.ts +4 -2
- package/package.json +3 -3
- package/scripts/prepare.js +10 -2
- package/dev/abis/SimpleApp.abi.json +0 -563
- package/dev/abis/SimpleApp.abi.ts +0 -563
- package/dev/typings/SimpleApp.ts +0 -923
- package/dev/typings/factories/SimpleApp__factory.ts +0 -620
|
@@ -1711,6 +1711,16 @@
|
|
|
1711
1711
|
"name": "AppNotRegistered",
|
|
1712
1712
|
"inputs": []
|
|
1713
1713
|
},
|
|
1714
|
+
{
|
|
1715
|
+
"type": "error",
|
|
1716
|
+
"name": "AppRegistry__InvalidDuration",
|
|
1717
|
+
"inputs": []
|
|
1718
|
+
},
|
|
1719
|
+
{
|
|
1720
|
+
"type": "error",
|
|
1721
|
+
"name": "AppRegistry__InvalidPrice",
|
|
1722
|
+
"inputs": []
|
|
1723
|
+
},
|
|
1714
1724
|
{
|
|
1715
1725
|
"type": "error",
|
|
1716
1726
|
"name": "AppRevoked",
|
|
@@ -1959,11 +1969,6 @@
|
|
|
1959
1969
|
"name": "InvalidDataLength",
|
|
1960
1970
|
"inputs": []
|
|
1961
1971
|
},
|
|
1962
|
-
{
|
|
1963
|
-
"type": "error",
|
|
1964
|
-
"name": "InvalidDuration",
|
|
1965
|
-
"inputs": []
|
|
1966
|
-
},
|
|
1967
1972
|
{
|
|
1968
1973
|
"type": "error",
|
|
1969
1974
|
"name": "InvalidExpiration",
|
|
@@ -1974,11 +1979,6 @@
|
|
|
1974
1979
|
"name": "InvalidManifest",
|
|
1975
1980
|
"inputs": []
|
|
1976
1981
|
},
|
|
1977
|
-
{
|
|
1978
|
-
"type": "error",
|
|
1979
|
-
"name": "InvalidPrice",
|
|
1980
|
-
"inputs": []
|
|
1981
|
-
},
|
|
1982
1982
|
{
|
|
1983
1983
|
"type": "error",
|
|
1984
1984
|
"name": "Membership__AlreadyMember",
|
|
@@ -1711,6 +1711,16 @@ export default [
|
|
|
1711
1711
|
"name": "AppNotRegistered",
|
|
1712
1712
|
"inputs": []
|
|
1713
1713
|
},
|
|
1714
|
+
{
|
|
1715
|
+
"type": "error",
|
|
1716
|
+
"name": "AppRegistry__InvalidDuration",
|
|
1717
|
+
"inputs": []
|
|
1718
|
+
},
|
|
1719
|
+
{
|
|
1720
|
+
"type": "error",
|
|
1721
|
+
"name": "AppRegistry__InvalidPrice",
|
|
1722
|
+
"inputs": []
|
|
1723
|
+
},
|
|
1714
1724
|
{
|
|
1715
1725
|
"type": "error",
|
|
1716
1726
|
"name": "AppRevoked",
|
|
@@ -1959,11 +1969,6 @@ export default [
|
|
|
1959
1969
|
"name": "InvalidDataLength",
|
|
1960
1970
|
"inputs": []
|
|
1961
1971
|
},
|
|
1962
|
-
{
|
|
1963
|
-
"type": "error",
|
|
1964
|
-
"name": "InvalidDuration",
|
|
1965
|
-
"inputs": []
|
|
1966
|
-
},
|
|
1967
1972
|
{
|
|
1968
1973
|
"type": "error",
|
|
1969
1974
|
"name": "InvalidExpiration",
|
|
@@ -1974,11 +1979,6 @@ export default [
|
|
|
1974
1979
|
"name": "InvalidManifest",
|
|
1975
1980
|
"inputs": []
|
|
1976
1981
|
},
|
|
1977
|
-
{
|
|
1978
|
-
"type": "error",
|
|
1979
|
-
"name": "InvalidPrice",
|
|
1980
|
-
"inputs": []
|
|
1981
|
-
},
|
|
1982
1982
|
{
|
|
1983
1983
|
"type": "error",
|
|
1984
1984
|
"name": "Membership__AlreadyMember",
|
|
@@ -892,6 +892,16 @@
|
|
|
892
892
|
"name": "AppNotRegistered",
|
|
893
893
|
"inputs": []
|
|
894
894
|
},
|
|
895
|
+
{
|
|
896
|
+
"type": "error",
|
|
897
|
+
"name": "AppRegistry__InvalidDuration",
|
|
898
|
+
"inputs": []
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"type": "error",
|
|
902
|
+
"name": "AppRegistry__InvalidPrice",
|
|
903
|
+
"inputs": []
|
|
904
|
+
},
|
|
895
905
|
{
|
|
896
906
|
"type": "error",
|
|
897
907
|
"name": "AppRevoked",
|
|
@@ -1043,11 +1053,6 @@
|
|
|
1043
1053
|
"name": "InvalidDataLength",
|
|
1044
1054
|
"inputs": []
|
|
1045
1055
|
},
|
|
1046
|
-
{
|
|
1047
|
-
"type": "error",
|
|
1048
|
-
"name": "InvalidDuration",
|
|
1049
|
-
"inputs": []
|
|
1050
|
-
},
|
|
1051
1056
|
{
|
|
1052
1057
|
"type": "error",
|
|
1053
1058
|
"name": "InvalidExpiration",
|
|
@@ -1058,11 +1063,6 @@
|
|
|
1058
1063
|
"name": "InvalidManifest",
|
|
1059
1064
|
"inputs": []
|
|
1060
1065
|
},
|
|
1061
|
-
{
|
|
1062
|
-
"type": "error",
|
|
1063
|
-
"name": "InvalidPrice",
|
|
1064
|
-
"inputs": []
|
|
1065
|
-
},
|
|
1066
1066
|
{
|
|
1067
1067
|
"type": "error",
|
|
1068
1068
|
"name": "ModuleInstallCallbackFailed",
|
|
@@ -892,6 +892,16 @@ export default [
|
|
|
892
892
|
"name": "AppNotRegistered",
|
|
893
893
|
"inputs": []
|
|
894
894
|
},
|
|
895
|
+
{
|
|
896
|
+
"type": "error",
|
|
897
|
+
"name": "AppRegistry__InvalidDuration",
|
|
898
|
+
"inputs": []
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"type": "error",
|
|
902
|
+
"name": "AppRegistry__InvalidPrice",
|
|
903
|
+
"inputs": []
|
|
904
|
+
},
|
|
895
905
|
{
|
|
896
906
|
"type": "error",
|
|
897
907
|
"name": "AppRevoked",
|
|
@@ -1043,11 +1053,6 @@ export default [
|
|
|
1043
1053
|
"name": "InvalidDataLength",
|
|
1044
1054
|
"inputs": []
|
|
1045
1055
|
},
|
|
1046
|
-
{
|
|
1047
|
-
"type": "error",
|
|
1048
|
-
"name": "InvalidDuration",
|
|
1049
|
-
"inputs": []
|
|
1050
|
-
},
|
|
1051
1056
|
{
|
|
1052
1057
|
"type": "error",
|
|
1053
1058
|
"name": "InvalidExpiration",
|
|
@@ -1058,11 +1063,6 @@ export default [
|
|
|
1058
1063
|
"name": "InvalidManifest",
|
|
1059
1064
|
"inputs": []
|
|
1060
1065
|
},
|
|
1061
|
-
{
|
|
1062
|
-
"type": "error",
|
|
1063
|
-
"name": "InvalidPrice",
|
|
1064
|
-
"inputs": []
|
|
1065
|
-
},
|
|
1066
1066
|
{
|
|
1067
1067
|
"type": "error",
|
|
1068
1068
|
"name": "ModuleInstallCallbackFailed",
|
package/dev/abis/Roles.abi.json
CHANGED
|
@@ -1280,6 +1280,16 @@
|
|
|
1280
1280
|
"name": "AppNotRegistered",
|
|
1281
1281
|
"inputs": []
|
|
1282
1282
|
},
|
|
1283
|
+
{
|
|
1284
|
+
"type": "error",
|
|
1285
|
+
"name": "AppRegistry__InvalidDuration",
|
|
1286
|
+
"inputs": []
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
"type": "error",
|
|
1290
|
+
"name": "AppRegistry__InvalidPrice",
|
|
1291
|
+
"inputs": []
|
|
1292
|
+
},
|
|
1283
1293
|
{
|
|
1284
1294
|
"type": "error",
|
|
1285
1295
|
"name": "AppRevoked",
|
|
@@ -1426,11 +1436,6 @@
|
|
|
1426
1436
|
"name": "InvalidDataLength",
|
|
1427
1437
|
"inputs": []
|
|
1428
1438
|
},
|
|
1429
|
-
{
|
|
1430
|
-
"type": "error",
|
|
1431
|
-
"name": "InvalidDuration",
|
|
1432
|
-
"inputs": []
|
|
1433
|
-
},
|
|
1434
1439
|
{
|
|
1435
1440
|
"type": "error",
|
|
1436
1441
|
"name": "InvalidExpiration",
|
|
@@ -1441,11 +1446,6 @@
|
|
|
1441
1446
|
"name": "InvalidManifest",
|
|
1442
1447
|
"inputs": []
|
|
1443
1448
|
},
|
|
1444
|
-
{
|
|
1445
|
-
"type": "error",
|
|
1446
|
-
"name": "InvalidPrice",
|
|
1447
|
-
"inputs": []
|
|
1448
|
-
},
|
|
1449
1449
|
{
|
|
1450
1450
|
"type": "error",
|
|
1451
1451
|
"name": "ModuleInstallCallbackFailed",
|
package/dev/abis/Roles.abi.ts
CHANGED
|
@@ -1280,6 +1280,16 @@ export default [
|
|
|
1280
1280
|
"name": "AppNotRegistered",
|
|
1281
1281
|
"inputs": []
|
|
1282
1282
|
},
|
|
1283
|
+
{
|
|
1284
|
+
"type": "error",
|
|
1285
|
+
"name": "AppRegistry__InvalidDuration",
|
|
1286
|
+
"inputs": []
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
"type": "error",
|
|
1290
|
+
"name": "AppRegistry__InvalidPrice",
|
|
1291
|
+
"inputs": []
|
|
1292
|
+
},
|
|
1283
1293
|
{
|
|
1284
1294
|
"type": "error",
|
|
1285
1295
|
"name": "AppRevoked",
|
|
@@ -1426,11 +1436,6 @@ export default [
|
|
|
1426
1436
|
"name": "InvalidDataLength",
|
|
1427
1437
|
"inputs": []
|
|
1428
1438
|
},
|
|
1429
|
-
{
|
|
1430
|
-
"type": "error",
|
|
1431
|
-
"name": "InvalidDuration",
|
|
1432
|
-
"inputs": []
|
|
1433
|
-
},
|
|
1434
1439
|
{
|
|
1435
1440
|
"type": "error",
|
|
1436
1441
|
"name": "InvalidExpiration",
|
|
@@ -1441,11 +1446,6 @@ export default [
|
|
|
1441
1446
|
"name": "InvalidManifest",
|
|
1442
1447
|
"inputs": []
|
|
1443
1448
|
},
|
|
1444
|
-
{
|
|
1445
|
-
"type": "error",
|
|
1446
|
-
"name": "InvalidPrice",
|
|
1447
|
-
"inputs": []
|
|
1448
|
-
},
|
|
1449
1449
|
{
|
|
1450
1450
|
"type": "error",
|
|
1451
1451
|
"name": "ModuleInstallCallbackFailed",
|
|
@@ -8,6 +8,7 @@ import type {
|
|
|
8
8
|
BytesLike,
|
|
9
9
|
CallOverrides,
|
|
10
10
|
ContractTransaction,
|
|
11
|
+
Overrides,
|
|
11
12
|
PayableOverrides,
|
|
12
13
|
PopulatedTransaction,
|
|
13
14
|
Signer,
|
|
@@ -27,6 +28,13 @@ import type {
|
|
|
27
28
|
} from "./common";
|
|
28
29
|
|
|
29
30
|
export declare namespace IAppFactoryBase {
|
|
31
|
+
export type BeaconStruct = { beaconId: BytesLike; beacon: string };
|
|
32
|
+
|
|
33
|
+
export type BeaconStructOutput = [string, string] & {
|
|
34
|
+
beaconId: string;
|
|
35
|
+
beacon: string;
|
|
36
|
+
};
|
|
37
|
+
|
|
30
38
|
export type AppParamsStruct = {
|
|
31
39
|
name: string;
|
|
32
40
|
permissions: BytesLike[];
|
|
@@ -52,23 +60,93 @@ export declare namespace IAppFactoryBase {
|
|
|
52
60
|
|
|
53
61
|
export interface IAppFactoryInterface extends utils.Interface {
|
|
54
62
|
functions: {
|
|
63
|
+
"addBeacons((bytes32,address)[])": FunctionFragment;
|
|
55
64
|
"createApp((string,bytes32[],address,uint256,uint48))": FunctionFragment;
|
|
65
|
+
"createAppByBeacon(bytes32,(string,bytes32[],address,uint256,uint48))": FunctionFragment;
|
|
66
|
+
"getBeacon(bytes32)": FunctionFragment;
|
|
67
|
+
"getBeacons()": FunctionFragment;
|
|
68
|
+
"getEntryPoint()": FunctionFragment;
|
|
69
|
+
"removeBeacons(bytes32[])": FunctionFragment;
|
|
70
|
+
"setEntryPoint(address)": FunctionFragment;
|
|
56
71
|
};
|
|
57
72
|
|
|
58
|
-
getFunction(
|
|
73
|
+
getFunction(
|
|
74
|
+
nameOrSignatureOrTopic:
|
|
75
|
+
| "addBeacons"
|
|
76
|
+
| "createApp"
|
|
77
|
+
| "createAppByBeacon"
|
|
78
|
+
| "getBeacon"
|
|
79
|
+
| "getBeacons"
|
|
80
|
+
| "getEntryPoint"
|
|
81
|
+
| "removeBeacons"
|
|
82
|
+
| "setEntryPoint"
|
|
83
|
+
): FunctionFragment;
|
|
59
84
|
|
|
85
|
+
encodeFunctionData(
|
|
86
|
+
functionFragment: "addBeacons",
|
|
87
|
+
values: [IAppFactoryBase.BeaconStruct[]]
|
|
88
|
+
): string;
|
|
60
89
|
encodeFunctionData(
|
|
61
90
|
functionFragment: "createApp",
|
|
62
91
|
values: [IAppFactoryBase.AppParamsStruct]
|
|
63
92
|
): string;
|
|
93
|
+
encodeFunctionData(
|
|
94
|
+
functionFragment: "createAppByBeacon",
|
|
95
|
+
values: [BytesLike, IAppFactoryBase.AppParamsStruct]
|
|
96
|
+
): string;
|
|
97
|
+
encodeFunctionData(
|
|
98
|
+
functionFragment: "getBeacon",
|
|
99
|
+
values: [BytesLike]
|
|
100
|
+
): string;
|
|
101
|
+
encodeFunctionData(
|
|
102
|
+
functionFragment: "getBeacons",
|
|
103
|
+
values?: undefined
|
|
104
|
+
): string;
|
|
105
|
+
encodeFunctionData(
|
|
106
|
+
functionFragment: "getEntryPoint",
|
|
107
|
+
values?: undefined
|
|
108
|
+
): string;
|
|
109
|
+
encodeFunctionData(
|
|
110
|
+
functionFragment: "removeBeacons",
|
|
111
|
+
values: [BytesLike[]]
|
|
112
|
+
): string;
|
|
113
|
+
encodeFunctionData(
|
|
114
|
+
functionFragment: "setEntryPoint",
|
|
115
|
+
values: [string]
|
|
116
|
+
): string;
|
|
64
117
|
|
|
118
|
+
decodeFunctionResult(functionFragment: "addBeacons", data: BytesLike): Result;
|
|
65
119
|
decodeFunctionResult(functionFragment: "createApp", data: BytesLike): Result;
|
|
120
|
+
decodeFunctionResult(
|
|
121
|
+
functionFragment: "createAppByBeacon",
|
|
122
|
+
data: BytesLike
|
|
123
|
+
): Result;
|
|
124
|
+
decodeFunctionResult(functionFragment: "getBeacon", data: BytesLike): Result;
|
|
125
|
+
decodeFunctionResult(functionFragment: "getBeacons", data: BytesLike): Result;
|
|
126
|
+
decodeFunctionResult(
|
|
127
|
+
functionFragment: "getEntryPoint",
|
|
128
|
+
data: BytesLike
|
|
129
|
+
): Result;
|
|
130
|
+
decodeFunctionResult(
|
|
131
|
+
functionFragment: "removeBeacons",
|
|
132
|
+
data: BytesLike
|
|
133
|
+
): Result;
|
|
134
|
+
decodeFunctionResult(
|
|
135
|
+
functionFragment: "setEntryPoint",
|
|
136
|
+
data: BytesLike
|
|
137
|
+
): Result;
|
|
66
138
|
|
|
67
139
|
events: {
|
|
68
140
|
"AppCreated(address,bytes32)": EventFragment;
|
|
141
|
+
"BeaconAdded(bytes32,address)": EventFragment;
|
|
142
|
+
"BeaconRemoved(bytes32,address)": EventFragment;
|
|
143
|
+
"EntryPointSet(address,address)": EventFragment;
|
|
69
144
|
};
|
|
70
145
|
|
|
71
146
|
getEvent(nameOrSignatureOrTopic: "AppCreated"): EventFragment;
|
|
147
|
+
getEvent(nameOrSignatureOrTopic: "BeaconAdded"): EventFragment;
|
|
148
|
+
getEvent(nameOrSignatureOrTopic: "BeaconRemoved"): EventFragment;
|
|
149
|
+
getEvent(nameOrSignatureOrTopic: "EntryPointSet"): EventFragment;
|
|
72
150
|
}
|
|
73
151
|
|
|
74
152
|
export interface AppCreatedEventObject {
|
|
@@ -82,6 +160,39 @@ export type AppCreatedEvent = TypedEvent<
|
|
|
82
160
|
|
|
83
161
|
export type AppCreatedEventFilter = TypedEventFilter<AppCreatedEvent>;
|
|
84
162
|
|
|
163
|
+
export interface BeaconAddedEventObject {
|
|
164
|
+
beaconId: string;
|
|
165
|
+
beacon: string;
|
|
166
|
+
}
|
|
167
|
+
export type BeaconAddedEvent = TypedEvent<
|
|
168
|
+
[string, string],
|
|
169
|
+
BeaconAddedEventObject
|
|
170
|
+
>;
|
|
171
|
+
|
|
172
|
+
export type BeaconAddedEventFilter = TypedEventFilter<BeaconAddedEvent>;
|
|
173
|
+
|
|
174
|
+
export interface BeaconRemovedEventObject {
|
|
175
|
+
beaconId: string;
|
|
176
|
+
beacon: string;
|
|
177
|
+
}
|
|
178
|
+
export type BeaconRemovedEvent = TypedEvent<
|
|
179
|
+
[string, string],
|
|
180
|
+
BeaconRemovedEventObject
|
|
181
|
+
>;
|
|
182
|
+
|
|
183
|
+
export type BeaconRemovedEventFilter = TypedEventFilter<BeaconRemovedEvent>;
|
|
184
|
+
|
|
185
|
+
export interface EntryPointSetEventObject {
|
|
186
|
+
oldEntryPoint: string;
|
|
187
|
+
newEntryPoint: string;
|
|
188
|
+
}
|
|
189
|
+
export type EntryPointSetEvent = TypedEvent<
|
|
190
|
+
[string, string],
|
|
191
|
+
EntryPointSetEventObject
|
|
192
|
+
>;
|
|
193
|
+
|
|
194
|
+
export type EntryPointSetEventFilter = TypedEventFilter<EntryPointSetEvent>;
|
|
195
|
+
|
|
85
196
|
export interface IAppFactory extends BaseContract {
|
|
86
197
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
87
198
|
attach(addressOrName: string): this;
|
|
@@ -109,22 +220,107 @@ export interface IAppFactory extends BaseContract {
|
|
|
109
220
|
removeListener: OnEvent<this>;
|
|
110
221
|
|
|
111
222
|
functions: {
|
|
223
|
+
addBeacons(
|
|
224
|
+
beacons: IAppFactoryBase.BeaconStruct[],
|
|
225
|
+
overrides?: Overrides & { from?: string }
|
|
226
|
+
): Promise<ContractTransaction>;
|
|
227
|
+
|
|
112
228
|
createApp(
|
|
113
229
|
params: IAppFactoryBase.AppParamsStruct,
|
|
114
230
|
overrides?: PayableOverrides & { from?: string }
|
|
115
231
|
): Promise<ContractTransaction>;
|
|
232
|
+
|
|
233
|
+
createAppByBeacon(
|
|
234
|
+
beaconId: BytesLike,
|
|
235
|
+
params: IAppFactoryBase.AppParamsStruct,
|
|
236
|
+
overrides?: PayableOverrides & { from?: string }
|
|
237
|
+
): Promise<ContractTransaction>;
|
|
238
|
+
|
|
239
|
+
getBeacon(
|
|
240
|
+
beaconId: BytesLike,
|
|
241
|
+
overrides?: CallOverrides
|
|
242
|
+
): Promise<[string] & { beacon: string }>;
|
|
243
|
+
|
|
244
|
+
getBeacons(
|
|
245
|
+
overrides?: CallOverrides
|
|
246
|
+
): Promise<[string[]] & { beaconIds: string[] }>;
|
|
247
|
+
|
|
248
|
+
getEntryPoint(
|
|
249
|
+
overrides?: CallOverrides
|
|
250
|
+
): Promise<[string] & { entryPoint: string }>;
|
|
251
|
+
|
|
252
|
+
removeBeacons(
|
|
253
|
+
beaconIds: BytesLike[],
|
|
254
|
+
overrides?: Overrides & { from?: string }
|
|
255
|
+
): Promise<ContractTransaction>;
|
|
256
|
+
|
|
257
|
+
setEntryPoint(
|
|
258
|
+
entryPoint: string,
|
|
259
|
+
overrides?: Overrides & { from?: string }
|
|
260
|
+
): Promise<ContractTransaction>;
|
|
116
261
|
};
|
|
117
262
|
|
|
263
|
+
addBeacons(
|
|
264
|
+
beacons: IAppFactoryBase.BeaconStruct[],
|
|
265
|
+
overrides?: Overrides & { from?: string }
|
|
266
|
+
): Promise<ContractTransaction>;
|
|
267
|
+
|
|
118
268
|
createApp(
|
|
119
269
|
params: IAppFactoryBase.AppParamsStruct,
|
|
120
270
|
overrides?: PayableOverrides & { from?: string }
|
|
121
271
|
): Promise<ContractTransaction>;
|
|
122
272
|
|
|
273
|
+
createAppByBeacon(
|
|
274
|
+
beaconId: BytesLike,
|
|
275
|
+
params: IAppFactoryBase.AppParamsStruct,
|
|
276
|
+
overrides?: PayableOverrides & { from?: string }
|
|
277
|
+
): Promise<ContractTransaction>;
|
|
278
|
+
|
|
279
|
+
getBeacon(beaconId: BytesLike, overrides?: CallOverrides): Promise<string>;
|
|
280
|
+
|
|
281
|
+
getBeacons(overrides?: CallOverrides): Promise<string[]>;
|
|
282
|
+
|
|
283
|
+
getEntryPoint(overrides?: CallOverrides): Promise<string>;
|
|
284
|
+
|
|
285
|
+
removeBeacons(
|
|
286
|
+
beaconIds: BytesLike[],
|
|
287
|
+
overrides?: Overrides & { from?: string }
|
|
288
|
+
): Promise<ContractTransaction>;
|
|
289
|
+
|
|
290
|
+
setEntryPoint(
|
|
291
|
+
entryPoint: string,
|
|
292
|
+
overrides?: Overrides & { from?: string }
|
|
293
|
+
): Promise<ContractTransaction>;
|
|
294
|
+
|
|
123
295
|
callStatic: {
|
|
296
|
+
addBeacons(
|
|
297
|
+
beacons: IAppFactoryBase.BeaconStruct[],
|
|
298
|
+
overrides?: CallOverrides
|
|
299
|
+
): Promise<void>;
|
|
300
|
+
|
|
124
301
|
createApp(
|
|
125
302
|
params: IAppFactoryBase.AppParamsStruct,
|
|
126
303
|
overrides?: CallOverrides
|
|
127
304
|
): Promise<[string, string] & { app: string; appId: string }>;
|
|
305
|
+
|
|
306
|
+
createAppByBeacon(
|
|
307
|
+
beaconId: BytesLike,
|
|
308
|
+
params: IAppFactoryBase.AppParamsStruct,
|
|
309
|
+
overrides?: CallOverrides
|
|
310
|
+
): Promise<[string, string] & { app: string; appId: string }>;
|
|
311
|
+
|
|
312
|
+
getBeacon(beaconId: BytesLike, overrides?: CallOverrides): Promise<string>;
|
|
313
|
+
|
|
314
|
+
getBeacons(overrides?: CallOverrides): Promise<string[]>;
|
|
315
|
+
|
|
316
|
+
getEntryPoint(overrides?: CallOverrides): Promise<string>;
|
|
317
|
+
|
|
318
|
+
removeBeacons(
|
|
319
|
+
beaconIds: BytesLike[],
|
|
320
|
+
overrides?: CallOverrides
|
|
321
|
+
): Promise<void>;
|
|
322
|
+
|
|
323
|
+
setEntryPoint(entryPoint: string, overrides?: CallOverrides): Promise<void>;
|
|
128
324
|
};
|
|
129
325
|
|
|
130
326
|
filters: {
|
|
@@ -136,19 +332,106 @@ export interface IAppFactory extends BaseContract {
|
|
|
136
332
|
app?: string | null,
|
|
137
333
|
uid?: BytesLike | null
|
|
138
334
|
): AppCreatedEventFilter;
|
|
335
|
+
|
|
336
|
+
"BeaconAdded(bytes32,address)"(
|
|
337
|
+
beaconId?: BytesLike | null,
|
|
338
|
+
beacon?: string | null
|
|
339
|
+
): BeaconAddedEventFilter;
|
|
340
|
+
BeaconAdded(
|
|
341
|
+
beaconId?: BytesLike | null,
|
|
342
|
+
beacon?: string | null
|
|
343
|
+
): BeaconAddedEventFilter;
|
|
344
|
+
|
|
345
|
+
"BeaconRemoved(bytes32,address)"(
|
|
346
|
+
beaconId?: BytesLike | null,
|
|
347
|
+
beacon?: string | null
|
|
348
|
+
): BeaconRemovedEventFilter;
|
|
349
|
+
BeaconRemoved(
|
|
350
|
+
beaconId?: BytesLike | null,
|
|
351
|
+
beacon?: string | null
|
|
352
|
+
): BeaconRemovedEventFilter;
|
|
353
|
+
|
|
354
|
+
"EntryPointSet(address,address)"(
|
|
355
|
+
oldEntryPoint?: string | null,
|
|
356
|
+
newEntryPoint?: string | null
|
|
357
|
+
): EntryPointSetEventFilter;
|
|
358
|
+
EntryPointSet(
|
|
359
|
+
oldEntryPoint?: string | null,
|
|
360
|
+
newEntryPoint?: string | null
|
|
361
|
+
): EntryPointSetEventFilter;
|
|
139
362
|
};
|
|
140
363
|
|
|
141
364
|
estimateGas: {
|
|
365
|
+
addBeacons(
|
|
366
|
+
beacons: IAppFactoryBase.BeaconStruct[],
|
|
367
|
+
overrides?: Overrides & { from?: string }
|
|
368
|
+
): Promise<BigNumber>;
|
|
369
|
+
|
|
142
370
|
createApp(
|
|
143
371
|
params: IAppFactoryBase.AppParamsStruct,
|
|
144
372
|
overrides?: PayableOverrides & { from?: string }
|
|
145
373
|
): Promise<BigNumber>;
|
|
374
|
+
|
|
375
|
+
createAppByBeacon(
|
|
376
|
+
beaconId: BytesLike,
|
|
377
|
+
params: IAppFactoryBase.AppParamsStruct,
|
|
378
|
+
overrides?: PayableOverrides & { from?: string }
|
|
379
|
+
): Promise<BigNumber>;
|
|
380
|
+
|
|
381
|
+
getBeacon(
|
|
382
|
+
beaconId: BytesLike,
|
|
383
|
+
overrides?: CallOverrides
|
|
384
|
+
): Promise<BigNumber>;
|
|
385
|
+
|
|
386
|
+
getBeacons(overrides?: CallOverrides): Promise<BigNumber>;
|
|
387
|
+
|
|
388
|
+
getEntryPoint(overrides?: CallOverrides): Promise<BigNumber>;
|
|
389
|
+
|
|
390
|
+
removeBeacons(
|
|
391
|
+
beaconIds: BytesLike[],
|
|
392
|
+
overrides?: Overrides & { from?: string }
|
|
393
|
+
): Promise<BigNumber>;
|
|
394
|
+
|
|
395
|
+
setEntryPoint(
|
|
396
|
+
entryPoint: string,
|
|
397
|
+
overrides?: Overrides & { from?: string }
|
|
398
|
+
): Promise<BigNumber>;
|
|
146
399
|
};
|
|
147
400
|
|
|
148
401
|
populateTransaction: {
|
|
402
|
+
addBeacons(
|
|
403
|
+
beacons: IAppFactoryBase.BeaconStruct[],
|
|
404
|
+
overrides?: Overrides & { from?: string }
|
|
405
|
+
): Promise<PopulatedTransaction>;
|
|
406
|
+
|
|
149
407
|
createApp(
|
|
150
408
|
params: IAppFactoryBase.AppParamsStruct,
|
|
151
409
|
overrides?: PayableOverrides & { from?: string }
|
|
152
410
|
): Promise<PopulatedTransaction>;
|
|
411
|
+
|
|
412
|
+
createAppByBeacon(
|
|
413
|
+
beaconId: BytesLike,
|
|
414
|
+
params: IAppFactoryBase.AppParamsStruct,
|
|
415
|
+
overrides?: PayableOverrides & { from?: string }
|
|
416
|
+
): Promise<PopulatedTransaction>;
|
|
417
|
+
|
|
418
|
+
getBeacon(
|
|
419
|
+
beaconId: BytesLike,
|
|
420
|
+
overrides?: CallOverrides
|
|
421
|
+
): Promise<PopulatedTransaction>;
|
|
422
|
+
|
|
423
|
+
getBeacons(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
424
|
+
|
|
425
|
+
getEntryPoint(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
426
|
+
|
|
427
|
+
removeBeacons(
|
|
428
|
+
beaconIds: BytesLike[],
|
|
429
|
+
overrides?: Overrides & { from?: string }
|
|
430
|
+
): Promise<PopulatedTransaction>;
|
|
431
|
+
|
|
432
|
+
setEntryPoint(
|
|
433
|
+
entryPoint: string,
|
|
434
|
+
overrides?: Overrides & { from?: string }
|
|
435
|
+
): Promise<PopulatedTransaction>;
|
|
153
436
|
};
|
|
154
437
|
}
|