@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,425 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type {
|
|
5
|
+
BaseContract,
|
|
6
|
+
BigNumber,
|
|
7
|
+
BytesLike,
|
|
8
|
+
CallOverrides,
|
|
9
|
+
ContractTransaction,
|
|
10
|
+
Overrides,
|
|
11
|
+
PopulatedTransaction,
|
|
12
|
+
Signer,
|
|
13
|
+
utils,
|
|
14
|
+
} from "ethers";
|
|
15
|
+
import type { FunctionFragment, Result } from "@ethersproject/abi";
|
|
16
|
+
import type { Listener, Provider } from "@ethersproject/providers";
|
|
17
|
+
import type {
|
|
18
|
+
TypedEventFilter,
|
|
19
|
+
TypedEvent,
|
|
20
|
+
TypedListener,
|
|
21
|
+
OnEvent,
|
|
22
|
+
PromiseOrValue,
|
|
23
|
+
} from "./common";
|
|
24
|
+
|
|
25
|
+
export interface IAppAccountInterface extends utils.Interface {
|
|
26
|
+
functions: {
|
|
27
|
+
"disableApp(address)": FunctionFragment;
|
|
28
|
+
"enableApp(address)": FunctionFragment;
|
|
29
|
+
"getAppExpiration(address)": FunctionFragment;
|
|
30
|
+
"getAppId(address)": FunctionFragment;
|
|
31
|
+
"getInstalledApps()": FunctionFragment;
|
|
32
|
+
"isAppEntitled(address,address,bytes32)": FunctionFragment;
|
|
33
|
+
"isAppInstalled(address)": FunctionFragment;
|
|
34
|
+
"onInstallApp(bytes32,bytes)": FunctionFragment;
|
|
35
|
+
"onRenewApp(bytes32,bytes)": FunctionFragment;
|
|
36
|
+
"onUninstallApp(bytes32,bytes)": FunctionFragment;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
getFunction(
|
|
40
|
+
nameOrSignatureOrTopic:
|
|
41
|
+
| "disableApp"
|
|
42
|
+
| "enableApp"
|
|
43
|
+
| "getAppExpiration"
|
|
44
|
+
| "getAppId"
|
|
45
|
+
| "getInstalledApps"
|
|
46
|
+
| "isAppEntitled"
|
|
47
|
+
| "isAppInstalled"
|
|
48
|
+
| "onInstallApp"
|
|
49
|
+
| "onRenewApp"
|
|
50
|
+
| "onUninstallApp"
|
|
51
|
+
): FunctionFragment;
|
|
52
|
+
|
|
53
|
+
encodeFunctionData(
|
|
54
|
+
functionFragment: "disableApp",
|
|
55
|
+
values: [PromiseOrValue<string>]
|
|
56
|
+
): string;
|
|
57
|
+
encodeFunctionData(
|
|
58
|
+
functionFragment: "enableApp",
|
|
59
|
+
values: [PromiseOrValue<string>]
|
|
60
|
+
): string;
|
|
61
|
+
encodeFunctionData(
|
|
62
|
+
functionFragment: "getAppExpiration",
|
|
63
|
+
values: [PromiseOrValue<string>]
|
|
64
|
+
): string;
|
|
65
|
+
encodeFunctionData(
|
|
66
|
+
functionFragment: "getAppId",
|
|
67
|
+
values: [PromiseOrValue<string>]
|
|
68
|
+
): string;
|
|
69
|
+
encodeFunctionData(
|
|
70
|
+
functionFragment: "getInstalledApps",
|
|
71
|
+
values?: undefined
|
|
72
|
+
): string;
|
|
73
|
+
encodeFunctionData(
|
|
74
|
+
functionFragment: "isAppEntitled",
|
|
75
|
+
values: [
|
|
76
|
+
PromiseOrValue<string>,
|
|
77
|
+
PromiseOrValue<string>,
|
|
78
|
+
PromiseOrValue<BytesLike>
|
|
79
|
+
]
|
|
80
|
+
): string;
|
|
81
|
+
encodeFunctionData(
|
|
82
|
+
functionFragment: "isAppInstalled",
|
|
83
|
+
values: [PromiseOrValue<string>]
|
|
84
|
+
): string;
|
|
85
|
+
encodeFunctionData(
|
|
86
|
+
functionFragment: "onInstallApp",
|
|
87
|
+
values: [PromiseOrValue<BytesLike>, PromiseOrValue<BytesLike>]
|
|
88
|
+
): string;
|
|
89
|
+
encodeFunctionData(
|
|
90
|
+
functionFragment: "onRenewApp",
|
|
91
|
+
values: [PromiseOrValue<BytesLike>, PromiseOrValue<BytesLike>]
|
|
92
|
+
): string;
|
|
93
|
+
encodeFunctionData(
|
|
94
|
+
functionFragment: "onUninstallApp",
|
|
95
|
+
values: [PromiseOrValue<BytesLike>, PromiseOrValue<BytesLike>]
|
|
96
|
+
): string;
|
|
97
|
+
|
|
98
|
+
decodeFunctionResult(functionFragment: "disableApp", data: BytesLike): Result;
|
|
99
|
+
decodeFunctionResult(functionFragment: "enableApp", data: BytesLike): Result;
|
|
100
|
+
decodeFunctionResult(
|
|
101
|
+
functionFragment: "getAppExpiration",
|
|
102
|
+
data: BytesLike
|
|
103
|
+
): Result;
|
|
104
|
+
decodeFunctionResult(functionFragment: "getAppId", data: BytesLike): Result;
|
|
105
|
+
decodeFunctionResult(
|
|
106
|
+
functionFragment: "getInstalledApps",
|
|
107
|
+
data: BytesLike
|
|
108
|
+
): Result;
|
|
109
|
+
decodeFunctionResult(
|
|
110
|
+
functionFragment: "isAppEntitled",
|
|
111
|
+
data: BytesLike
|
|
112
|
+
): Result;
|
|
113
|
+
decodeFunctionResult(
|
|
114
|
+
functionFragment: "isAppInstalled",
|
|
115
|
+
data: BytesLike
|
|
116
|
+
): Result;
|
|
117
|
+
decodeFunctionResult(
|
|
118
|
+
functionFragment: "onInstallApp",
|
|
119
|
+
data: BytesLike
|
|
120
|
+
): Result;
|
|
121
|
+
decodeFunctionResult(functionFragment: "onRenewApp", data: BytesLike): Result;
|
|
122
|
+
decodeFunctionResult(
|
|
123
|
+
functionFragment: "onUninstallApp",
|
|
124
|
+
data: BytesLike
|
|
125
|
+
): Result;
|
|
126
|
+
|
|
127
|
+
events: {};
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export interface IAppAccount extends BaseContract {
|
|
131
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
132
|
+
attach(addressOrName: string): this;
|
|
133
|
+
deployed(): Promise<this>;
|
|
134
|
+
|
|
135
|
+
interface: IAppAccountInterface;
|
|
136
|
+
|
|
137
|
+
queryFilter<TEvent extends TypedEvent>(
|
|
138
|
+
event: TypedEventFilter<TEvent>,
|
|
139
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
140
|
+
toBlock?: string | number | undefined
|
|
141
|
+
): Promise<Array<TEvent>>;
|
|
142
|
+
|
|
143
|
+
listeners<TEvent extends TypedEvent>(
|
|
144
|
+
eventFilter?: TypedEventFilter<TEvent>
|
|
145
|
+
): Array<TypedListener<TEvent>>;
|
|
146
|
+
listeners(eventName?: string): Array<Listener>;
|
|
147
|
+
removeAllListeners<TEvent extends TypedEvent>(
|
|
148
|
+
eventFilter: TypedEventFilter<TEvent>
|
|
149
|
+
): this;
|
|
150
|
+
removeAllListeners(eventName?: string): this;
|
|
151
|
+
off: OnEvent<this>;
|
|
152
|
+
on: OnEvent<this>;
|
|
153
|
+
once: OnEvent<this>;
|
|
154
|
+
removeListener: OnEvent<this>;
|
|
155
|
+
|
|
156
|
+
functions: {
|
|
157
|
+
disableApp(
|
|
158
|
+
app: PromiseOrValue<string>,
|
|
159
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
160
|
+
): Promise<ContractTransaction>;
|
|
161
|
+
|
|
162
|
+
enableApp(
|
|
163
|
+
app: PromiseOrValue<string>,
|
|
164
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
165
|
+
): Promise<ContractTransaction>;
|
|
166
|
+
|
|
167
|
+
getAppExpiration(
|
|
168
|
+
app: PromiseOrValue<string>,
|
|
169
|
+
overrides?: CallOverrides
|
|
170
|
+
): Promise<[number]>;
|
|
171
|
+
|
|
172
|
+
getAppId(
|
|
173
|
+
app: PromiseOrValue<string>,
|
|
174
|
+
overrides?: CallOverrides
|
|
175
|
+
): Promise<[string]>;
|
|
176
|
+
|
|
177
|
+
getInstalledApps(overrides?: CallOverrides): Promise<[string[]]>;
|
|
178
|
+
|
|
179
|
+
isAppEntitled(
|
|
180
|
+
app: PromiseOrValue<string>,
|
|
181
|
+
publicKey: PromiseOrValue<string>,
|
|
182
|
+
permission: PromiseOrValue<BytesLike>,
|
|
183
|
+
overrides?: CallOverrides
|
|
184
|
+
): Promise<[boolean]>;
|
|
185
|
+
|
|
186
|
+
isAppInstalled(
|
|
187
|
+
app: PromiseOrValue<string>,
|
|
188
|
+
overrides?: CallOverrides
|
|
189
|
+
): Promise<[boolean]>;
|
|
190
|
+
|
|
191
|
+
onInstallApp(
|
|
192
|
+
appId: PromiseOrValue<BytesLike>,
|
|
193
|
+
data: PromiseOrValue<BytesLike>,
|
|
194
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
195
|
+
): Promise<ContractTransaction>;
|
|
196
|
+
|
|
197
|
+
onRenewApp(
|
|
198
|
+
appId: PromiseOrValue<BytesLike>,
|
|
199
|
+
data: PromiseOrValue<BytesLike>,
|
|
200
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
201
|
+
): Promise<ContractTransaction>;
|
|
202
|
+
|
|
203
|
+
onUninstallApp(
|
|
204
|
+
appId: PromiseOrValue<BytesLike>,
|
|
205
|
+
data: PromiseOrValue<BytesLike>,
|
|
206
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
207
|
+
): Promise<ContractTransaction>;
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
disableApp(
|
|
211
|
+
app: PromiseOrValue<string>,
|
|
212
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
213
|
+
): Promise<ContractTransaction>;
|
|
214
|
+
|
|
215
|
+
enableApp(
|
|
216
|
+
app: PromiseOrValue<string>,
|
|
217
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
218
|
+
): Promise<ContractTransaction>;
|
|
219
|
+
|
|
220
|
+
getAppExpiration(
|
|
221
|
+
app: PromiseOrValue<string>,
|
|
222
|
+
overrides?: CallOverrides
|
|
223
|
+
): Promise<number>;
|
|
224
|
+
|
|
225
|
+
getAppId(
|
|
226
|
+
app: PromiseOrValue<string>,
|
|
227
|
+
overrides?: CallOverrides
|
|
228
|
+
): Promise<string>;
|
|
229
|
+
|
|
230
|
+
getInstalledApps(overrides?: CallOverrides): Promise<string[]>;
|
|
231
|
+
|
|
232
|
+
isAppEntitled(
|
|
233
|
+
app: PromiseOrValue<string>,
|
|
234
|
+
publicKey: PromiseOrValue<string>,
|
|
235
|
+
permission: PromiseOrValue<BytesLike>,
|
|
236
|
+
overrides?: CallOverrides
|
|
237
|
+
): Promise<boolean>;
|
|
238
|
+
|
|
239
|
+
isAppInstalled(
|
|
240
|
+
app: PromiseOrValue<string>,
|
|
241
|
+
overrides?: CallOverrides
|
|
242
|
+
): Promise<boolean>;
|
|
243
|
+
|
|
244
|
+
onInstallApp(
|
|
245
|
+
appId: PromiseOrValue<BytesLike>,
|
|
246
|
+
data: PromiseOrValue<BytesLike>,
|
|
247
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
248
|
+
): Promise<ContractTransaction>;
|
|
249
|
+
|
|
250
|
+
onRenewApp(
|
|
251
|
+
appId: PromiseOrValue<BytesLike>,
|
|
252
|
+
data: PromiseOrValue<BytesLike>,
|
|
253
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
254
|
+
): Promise<ContractTransaction>;
|
|
255
|
+
|
|
256
|
+
onUninstallApp(
|
|
257
|
+
appId: PromiseOrValue<BytesLike>,
|
|
258
|
+
data: PromiseOrValue<BytesLike>,
|
|
259
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
260
|
+
): Promise<ContractTransaction>;
|
|
261
|
+
|
|
262
|
+
callStatic: {
|
|
263
|
+
disableApp(
|
|
264
|
+
app: PromiseOrValue<string>,
|
|
265
|
+
overrides?: CallOverrides
|
|
266
|
+
): Promise<void>;
|
|
267
|
+
|
|
268
|
+
enableApp(
|
|
269
|
+
app: PromiseOrValue<string>,
|
|
270
|
+
overrides?: CallOverrides
|
|
271
|
+
): Promise<void>;
|
|
272
|
+
|
|
273
|
+
getAppExpiration(
|
|
274
|
+
app: PromiseOrValue<string>,
|
|
275
|
+
overrides?: CallOverrides
|
|
276
|
+
): Promise<number>;
|
|
277
|
+
|
|
278
|
+
getAppId(
|
|
279
|
+
app: PromiseOrValue<string>,
|
|
280
|
+
overrides?: CallOverrides
|
|
281
|
+
): Promise<string>;
|
|
282
|
+
|
|
283
|
+
getInstalledApps(overrides?: CallOverrides): Promise<string[]>;
|
|
284
|
+
|
|
285
|
+
isAppEntitled(
|
|
286
|
+
app: PromiseOrValue<string>,
|
|
287
|
+
publicKey: PromiseOrValue<string>,
|
|
288
|
+
permission: PromiseOrValue<BytesLike>,
|
|
289
|
+
overrides?: CallOverrides
|
|
290
|
+
): Promise<boolean>;
|
|
291
|
+
|
|
292
|
+
isAppInstalled(
|
|
293
|
+
app: PromiseOrValue<string>,
|
|
294
|
+
overrides?: CallOverrides
|
|
295
|
+
): Promise<boolean>;
|
|
296
|
+
|
|
297
|
+
onInstallApp(
|
|
298
|
+
appId: PromiseOrValue<BytesLike>,
|
|
299
|
+
data: PromiseOrValue<BytesLike>,
|
|
300
|
+
overrides?: CallOverrides
|
|
301
|
+
): Promise<void>;
|
|
302
|
+
|
|
303
|
+
onRenewApp(
|
|
304
|
+
appId: PromiseOrValue<BytesLike>,
|
|
305
|
+
data: PromiseOrValue<BytesLike>,
|
|
306
|
+
overrides?: CallOverrides
|
|
307
|
+
): Promise<void>;
|
|
308
|
+
|
|
309
|
+
onUninstallApp(
|
|
310
|
+
appId: PromiseOrValue<BytesLike>,
|
|
311
|
+
data: PromiseOrValue<BytesLike>,
|
|
312
|
+
overrides?: CallOverrides
|
|
313
|
+
): Promise<void>;
|
|
314
|
+
};
|
|
315
|
+
|
|
316
|
+
filters: {};
|
|
317
|
+
|
|
318
|
+
estimateGas: {
|
|
319
|
+
disableApp(
|
|
320
|
+
app: PromiseOrValue<string>,
|
|
321
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
322
|
+
): Promise<BigNumber>;
|
|
323
|
+
|
|
324
|
+
enableApp(
|
|
325
|
+
app: PromiseOrValue<string>,
|
|
326
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
327
|
+
): Promise<BigNumber>;
|
|
328
|
+
|
|
329
|
+
getAppExpiration(
|
|
330
|
+
app: PromiseOrValue<string>,
|
|
331
|
+
overrides?: CallOverrides
|
|
332
|
+
): Promise<BigNumber>;
|
|
333
|
+
|
|
334
|
+
getAppId(
|
|
335
|
+
app: PromiseOrValue<string>,
|
|
336
|
+
overrides?: CallOverrides
|
|
337
|
+
): Promise<BigNumber>;
|
|
338
|
+
|
|
339
|
+
getInstalledApps(overrides?: CallOverrides): Promise<BigNumber>;
|
|
340
|
+
|
|
341
|
+
isAppEntitled(
|
|
342
|
+
app: PromiseOrValue<string>,
|
|
343
|
+
publicKey: PromiseOrValue<string>,
|
|
344
|
+
permission: PromiseOrValue<BytesLike>,
|
|
345
|
+
overrides?: CallOverrides
|
|
346
|
+
): Promise<BigNumber>;
|
|
347
|
+
|
|
348
|
+
isAppInstalled(
|
|
349
|
+
app: PromiseOrValue<string>,
|
|
350
|
+
overrides?: CallOverrides
|
|
351
|
+
): Promise<BigNumber>;
|
|
352
|
+
|
|
353
|
+
onInstallApp(
|
|
354
|
+
appId: PromiseOrValue<BytesLike>,
|
|
355
|
+
data: PromiseOrValue<BytesLike>,
|
|
356
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
357
|
+
): Promise<BigNumber>;
|
|
358
|
+
|
|
359
|
+
onRenewApp(
|
|
360
|
+
appId: PromiseOrValue<BytesLike>,
|
|
361
|
+
data: PromiseOrValue<BytesLike>,
|
|
362
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
363
|
+
): Promise<BigNumber>;
|
|
364
|
+
|
|
365
|
+
onUninstallApp(
|
|
366
|
+
appId: PromiseOrValue<BytesLike>,
|
|
367
|
+
data: PromiseOrValue<BytesLike>,
|
|
368
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
369
|
+
): Promise<BigNumber>;
|
|
370
|
+
};
|
|
371
|
+
|
|
372
|
+
populateTransaction: {
|
|
373
|
+
disableApp(
|
|
374
|
+
app: PromiseOrValue<string>,
|
|
375
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
376
|
+
): Promise<PopulatedTransaction>;
|
|
377
|
+
|
|
378
|
+
enableApp(
|
|
379
|
+
app: PromiseOrValue<string>,
|
|
380
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
381
|
+
): Promise<PopulatedTransaction>;
|
|
382
|
+
|
|
383
|
+
getAppExpiration(
|
|
384
|
+
app: PromiseOrValue<string>,
|
|
385
|
+
overrides?: CallOverrides
|
|
386
|
+
): Promise<PopulatedTransaction>;
|
|
387
|
+
|
|
388
|
+
getAppId(
|
|
389
|
+
app: PromiseOrValue<string>,
|
|
390
|
+
overrides?: CallOverrides
|
|
391
|
+
): Promise<PopulatedTransaction>;
|
|
392
|
+
|
|
393
|
+
getInstalledApps(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
394
|
+
|
|
395
|
+
isAppEntitled(
|
|
396
|
+
app: PromiseOrValue<string>,
|
|
397
|
+
publicKey: PromiseOrValue<string>,
|
|
398
|
+
permission: PromiseOrValue<BytesLike>,
|
|
399
|
+
overrides?: CallOverrides
|
|
400
|
+
): Promise<PopulatedTransaction>;
|
|
401
|
+
|
|
402
|
+
isAppInstalled(
|
|
403
|
+
app: PromiseOrValue<string>,
|
|
404
|
+
overrides?: CallOverrides
|
|
405
|
+
): Promise<PopulatedTransaction>;
|
|
406
|
+
|
|
407
|
+
onInstallApp(
|
|
408
|
+
appId: PromiseOrValue<BytesLike>,
|
|
409
|
+
data: PromiseOrValue<BytesLike>,
|
|
410
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
411
|
+
): Promise<PopulatedTransaction>;
|
|
412
|
+
|
|
413
|
+
onRenewApp(
|
|
414
|
+
appId: PromiseOrValue<BytesLike>,
|
|
415
|
+
data: PromiseOrValue<BytesLike>,
|
|
416
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
417
|
+
): Promise<PopulatedTransaction>;
|
|
418
|
+
|
|
419
|
+
onUninstallApp(
|
|
420
|
+
appId: PromiseOrValue<BytesLike>,
|
|
421
|
+
data: PromiseOrValue<BytesLike>,
|
|
422
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
423
|
+
): Promise<PopulatedTransaction>;
|
|
424
|
+
};
|
|
425
|
+
}
|
|
@@ -138,6 +138,7 @@ export interface IAppRegistryInterface extends utils.Interface {
|
|
|
138
138
|
"createApp((string,bytes32[],address,uint256,uint48))": FunctionFragment;
|
|
139
139
|
"getAppByClient(address)": FunctionFragment;
|
|
140
140
|
"getAppById(bytes32)": FunctionFragment;
|
|
141
|
+
"getAppDuration(address)": FunctionFragment;
|
|
141
142
|
"getAppPrice(address)": FunctionFragment;
|
|
142
143
|
"getAppSchema()": FunctionFragment;
|
|
143
144
|
"getAppSchemaId()": FunctionFragment;
|
|
@@ -157,6 +158,7 @@ export interface IAppRegistryInterface extends utils.Interface {
|
|
|
157
158
|
| "createApp"
|
|
158
159
|
| "getAppByClient"
|
|
159
160
|
| "getAppById"
|
|
161
|
+
| "getAppDuration"
|
|
160
162
|
| "getAppPrice"
|
|
161
163
|
| "getAppSchema"
|
|
162
164
|
| "getAppSchemaId"
|
|
@@ -193,6 +195,10 @@ export interface IAppRegistryInterface extends utils.Interface {
|
|
|
193
195
|
functionFragment: "getAppById",
|
|
194
196
|
values: [PromiseOrValue<BytesLike>]
|
|
195
197
|
): string;
|
|
198
|
+
encodeFunctionData(
|
|
199
|
+
functionFragment: "getAppDuration",
|
|
200
|
+
values: [PromiseOrValue<string>]
|
|
201
|
+
): string;
|
|
196
202
|
encodeFunctionData(
|
|
197
203
|
functionFragment: "getAppPrice",
|
|
198
204
|
values: [PromiseOrValue<string>]
|
|
@@ -260,6 +266,10 @@ export interface IAppRegistryInterface extends utils.Interface {
|
|
|
260
266
|
data: BytesLike
|
|
261
267
|
): Result;
|
|
262
268
|
decodeFunctionResult(functionFragment: "getAppById", data: BytesLike): Result;
|
|
269
|
+
decodeFunctionResult(
|
|
270
|
+
functionFragment: "getAppDuration",
|
|
271
|
+
data: BytesLike
|
|
272
|
+
): Result;
|
|
263
273
|
decodeFunctionResult(
|
|
264
274
|
functionFragment: "getAppPrice",
|
|
265
275
|
data: BytesLike
|
|
@@ -464,6 +474,11 @@ export interface IAppRegistry extends BaseContract {
|
|
|
464
474
|
overrides?: CallOverrides
|
|
465
475
|
): Promise<[IAppRegistryBase.AppStructOutput]>;
|
|
466
476
|
|
|
477
|
+
getAppDuration(
|
|
478
|
+
app: PromiseOrValue<string>,
|
|
479
|
+
overrides?: CallOverrides
|
|
480
|
+
): Promise<[number]>;
|
|
481
|
+
|
|
467
482
|
getAppPrice(
|
|
468
483
|
app: PromiseOrValue<string>,
|
|
469
484
|
overrides?: CallOverrides
|
|
@@ -543,6 +558,11 @@ export interface IAppRegistry extends BaseContract {
|
|
|
543
558
|
overrides?: CallOverrides
|
|
544
559
|
): Promise<IAppRegistryBase.AppStructOutput>;
|
|
545
560
|
|
|
561
|
+
getAppDuration(
|
|
562
|
+
app: PromiseOrValue<string>,
|
|
563
|
+
overrides?: CallOverrides
|
|
564
|
+
): Promise<number>;
|
|
565
|
+
|
|
546
566
|
getAppPrice(
|
|
547
567
|
app: PromiseOrValue<string>,
|
|
548
568
|
overrides?: CallOverrides
|
|
@@ -622,6 +642,11 @@ export interface IAppRegistry extends BaseContract {
|
|
|
622
642
|
overrides?: CallOverrides
|
|
623
643
|
): Promise<IAppRegistryBase.AppStructOutput>;
|
|
624
644
|
|
|
645
|
+
getAppDuration(
|
|
646
|
+
app: PromiseOrValue<string>,
|
|
647
|
+
overrides?: CallOverrides
|
|
648
|
+
): Promise<number>;
|
|
649
|
+
|
|
625
650
|
getAppPrice(
|
|
626
651
|
app: PromiseOrValue<string>,
|
|
627
652
|
overrides?: CallOverrides
|
|
@@ -785,6 +810,11 @@ export interface IAppRegistry extends BaseContract {
|
|
|
785
810
|
overrides?: CallOverrides
|
|
786
811
|
): Promise<BigNumber>;
|
|
787
812
|
|
|
813
|
+
getAppDuration(
|
|
814
|
+
app: PromiseOrValue<string>,
|
|
815
|
+
overrides?: CallOverrides
|
|
816
|
+
): Promise<BigNumber>;
|
|
817
|
+
|
|
788
818
|
getAppPrice(
|
|
789
819
|
app: PromiseOrValue<string>,
|
|
790
820
|
overrides?: CallOverrides
|
|
@@ -865,6 +895,11 @@ export interface IAppRegistry extends BaseContract {
|
|
|
865
895
|
overrides?: CallOverrides
|
|
866
896
|
): Promise<PopulatedTransaction>;
|
|
867
897
|
|
|
898
|
+
getAppDuration(
|
|
899
|
+
app: PromiseOrValue<string>,
|
|
900
|
+
overrides?: CallOverrides
|
|
901
|
+
): Promise<PopulatedTransaction>;
|
|
902
|
+
|
|
868
903
|
getAppPrice(
|
|
869
904
|
app: PromiseOrValue<string>,
|
|
870
905
|
overrides?: CallOverrides
|
|
@@ -214,7 +214,7 @@ export type SwapExecutedEventFilter = TypedEventFilter<SwapExecutedEvent>;
|
|
|
214
214
|
|
|
215
215
|
export interface SwapFeeConfigUpdatedEventObject {
|
|
216
216
|
posterFeeBps: number;
|
|
217
|
-
|
|
217
|
+
forwardPosterFee: boolean;
|
|
218
218
|
}
|
|
219
219
|
export type SwapFeeConfigUpdatedEvent = TypedEvent<
|
|
220
220
|
[number, boolean],
|
|
@@ -283,7 +283,7 @@ export interface ISwapFacet extends BaseContract {
|
|
|
283
283
|
[number, number, boolean] & {
|
|
284
284
|
protocolBps: number;
|
|
285
285
|
posterBps: number;
|
|
286
|
-
|
|
286
|
+
forwardPosterFee: boolean;
|
|
287
287
|
}
|
|
288
288
|
>;
|
|
289
289
|
|
|
@@ -291,7 +291,7 @@ export interface ISwapFacet extends BaseContract {
|
|
|
291
291
|
|
|
292
292
|
setSwapFeeConfig(
|
|
293
293
|
posterFeeBps: PromiseOrValue<BigNumberish>,
|
|
294
|
-
|
|
294
|
+
forwardPosterFee: PromiseOrValue<boolean>,
|
|
295
295
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
296
296
|
): Promise<ContractTransaction>;
|
|
297
297
|
};
|
|
@@ -317,7 +317,7 @@ export interface ISwapFacet extends BaseContract {
|
|
|
317
317
|
[number, number, boolean] & {
|
|
318
318
|
protocolBps: number;
|
|
319
319
|
posterBps: number;
|
|
320
|
-
|
|
320
|
+
forwardPosterFee: boolean;
|
|
321
321
|
}
|
|
322
322
|
>;
|
|
323
323
|
|
|
@@ -325,7 +325,7 @@ export interface ISwapFacet extends BaseContract {
|
|
|
325
325
|
|
|
326
326
|
setSwapFeeConfig(
|
|
327
327
|
posterFeeBps: PromiseOrValue<BigNumberish>,
|
|
328
|
-
|
|
328
|
+
forwardPosterFee: PromiseOrValue<boolean>,
|
|
329
329
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
330
330
|
): Promise<ContractTransaction>;
|
|
331
331
|
|
|
@@ -351,7 +351,7 @@ export interface ISwapFacet extends BaseContract {
|
|
|
351
351
|
[number, number, boolean] & {
|
|
352
352
|
protocolBps: number;
|
|
353
353
|
posterBps: number;
|
|
354
|
-
|
|
354
|
+
forwardPosterFee: boolean;
|
|
355
355
|
}
|
|
356
356
|
>;
|
|
357
357
|
|
|
@@ -359,7 +359,7 @@ export interface ISwapFacet extends BaseContract {
|
|
|
359
359
|
|
|
360
360
|
setSwapFeeConfig(
|
|
361
361
|
posterFeeBps: PromiseOrValue<BigNumberish>,
|
|
362
|
-
|
|
362
|
+
forwardPosterFee: PromiseOrValue<boolean>,
|
|
363
363
|
overrides?: CallOverrides
|
|
364
364
|
): Promise<void>;
|
|
365
365
|
};
|
|
@@ -418,11 +418,11 @@ export interface ISwapFacet extends BaseContract {
|
|
|
418
418
|
|
|
419
419
|
"SwapFeeConfigUpdated(uint16,bool)"(
|
|
420
420
|
posterFeeBps?: null,
|
|
421
|
-
|
|
421
|
+
forwardPosterFee?: null
|
|
422
422
|
): SwapFeeConfigUpdatedEventFilter;
|
|
423
423
|
SwapFeeConfigUpdated(
|
|
424
424
|
posterFeeBps?: null,
|
|
425
|
-
|
|
425
|
+
forwardPosterFee?: null
|
|
426
426
|
): SwapFeeConfigUpdatedEventFilter;
|
|
427
427
|
|
|
428
428
|
"SwapRouterInitialized(address)"(
|
|
@@ -455,7 +455,7 @@ export interface ISwapFacet extends BaseContract {
|
|
|
455
455
|
|
|
456
456
|
setSwapFeeConfig(
|
|
457
457
|
posterFeeBps: PromiseOrValue<BigNumberish>,
|
|
458
|
-
|
|
458
|
+
forwardPosterFee: PromiseOrValue<boolean>,
|
|
459
459
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
460
460
|
): Promise<BigNumber>;
|
|
461
461
|
};
|
|
@@ -482,7 +482,7 @@ export interface ISwapFacet extends BaseContract {
|
|
|
482
482
|
|
|
483
483
|
setSwapFeeConfig(
|
|
484
484
|
posterFeeBps: PromiseOrValue<BigNumberish>,
|
|
485
|
-
|
|
485
|
+
forwardPosterFee: PromiseOrValue<boolean>,
|
|
486
486
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
487
487
|
): Promise<PopulatedTransaction>;
|
|
488
488
|
};
|