@towns-protocol/generated 0.0.432 → 0.0.434
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
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
d6409b394dbde4ebe109783a994b4101a1ce0c24:86229ec54a3ba81f5ea001f1374eed7d2daef0ea
|
|
@@ -25,35 +25,6 @@
|
|
|
25
25
|
"outputs": [],
|
|
26
26
|
"stateMutability": "nonpayable"
|
|
27
27
|
},
|
|
28
|
-
{
|
|
29
|
-
"type": "function",
|
|
30
|
-
"name": "execute",
|
|
31
|
-
"inputs": [
|
|
32
|
-
{
|
|
33
|
-
"name": "target",
|
|
34
|
-
"type": "address",
|
|
35
|
-
"internalType": "address"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"name": "value",
|
|
39
|
-
"type": "uint256",
|
|
40
|
-
"internalType": "uint256"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "data",
|
|
44
|
-
"type": "bytes",
|
|
45
|
-
"internalType": "bytes"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"outputs": [
|
|
49
|
-
{
|
|
50
|
-
"name": "",
|
|
51
|
-
"type": "bytes",
|
|
52
|
-
"internalType": "bytes"
|
|
53
|
-
}
|
|
54
|
-
],
|
|
55
|
-
"stateMutability": "payable"
|
|
56
|
-
},
|
|
57
28
|
{
|
|
58
29
|
"type": "function",
|
|
59
30
|
"name": "getAppExpiration",
|
|
@@ -134,25 +105,6 @@
|
|
|
134
105
|
],
|
|
135
106
|
"stateMutability": "view"
|
|
136
107
|
},
|
|
137
|
-
{
|
|
138
|
-
"type": "function",
|
|
139
|
-
"name": "isAppExecuting",
|
|
140
|
-
"inputs": [
|
|
141
|
-
{
|
|
142
|
-
"name": "app",
|
|
143
|
-
"type": "address",
|
|
144
|
-
"internalType": "address"
|
|
145
|
-
}
|
|
146
|
-
],
|
|
147
|
-
"outputs": [
|
|
148
|
-
{
|
|
149
|
-
"name": "",
|
|
150
|
-
"type": "bool",
|
|
151
|
-
"internalType": "bool"
|
|
152
|
-
}
|
|
153
|
-
],
|
|
154
|
-
"stateMutability": "view"
|
|
155
|
-
},
|
|
156
108
|
{
|
|
157
109
|
"type": "function",
|
|
158
110
|
"name": "isAppInstalled",
|
|
@@ -25,35 +25,6 @@ export default [
|
|
|
25
25
|
"outputs": [],
|
|
26
26
|
"stateMutability": "nonpayable"
|
|
27
27
|
},
|
|
28
|
-
{
|
|
29
|
-
"type": "function",
|
|
30
|
-
"name": "execute",
|
|
31
|
-
"inputs": [
|
|
32
|
-
{
|
|
33
|
-
"name": "target",
|
|
34
|
-
"type": "address",
|
|
35
|
-
"internalType": "address"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"name": "value",
|
|
39
|
-
"type": "uint256",
|
|
40
|
-
"internalType": "uint256"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "data",
|
|
44
|
-
"type": "bytes",
|
|
45
|
-
"internalType": "bytes"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"outputs": [
|
|
49
|
-
{
|
|
50
|
-
"name": "",
|
|
51
|
-
"type": "bytes",
|
|
52
|
-
"internalType": "bytes"
|
|
53
|
-
}
|
|
54
|
-
],
|
|
55
|
-
"stateMutability": "payable"
|
|
56
|
-
},
|
|
57
28
|
{
|
|
58
29
|
"type": "function",
|
|
59
30
|
"name": "getAppExpiration",
|
|
@@ -134,25 +105,6 @@ export default [
|
|
|
134
105
|
],
|
|
135
106
|
"stateMutability": "view"
|
|
136
107
|
},
|
|
137
|
-
{
|
|
138
|
-
"type": "function",
|
|
139
|
-
"name": "isAppExecuting",
|
|
140
|
-
"inputs": [
|
|
141
|
-
{
|
|
142
|
-
"name": "app",
|
|
143
|
-
"type": "address",
|
|
144
|
-
"internalType": "address"
|
|
145
|
-
}
|
|
146
|
-
],
|
|
147
|
-
"outputs": [
|
|
148
|
-
{
|
|
149
|
-
"name": "",
|
|
150
|
-
"type": "bool",
|
|
151
|
-
"internalType": "bool"
|
|
152
|
-
}
|
|
153
|
-
],
|
|
154
|
-
"stateMutability": "view"
|
|
155
|
-
},
|
|
156
108
|
{
|
|
157
109
|
"type": "function",
|
|
158
110
|
"name": "isAppInstalled",
|
|
@@ -9,7 +9,6 @@ import type {
|
|
|
9
9
|
CallOverrides,
|
|
10
10
|
ContractTransaction,
|
|
11
11
|
Overrides,
|
|
12
|
-
PayableOverrides,
|
|
13
12
|
PopulatedTransaction,
|
|
14
13
|
Signer,
|
|
15
14
|
utils,
|
|
@@ -82,12 +81,10 @@ export interface IAppAccountInterface extends utils.Interface {
|
|
|
82
81
|
functions: {
|
|
83
82
|
"disableApp(address)": FunctionFragment;
|
|
84
83
|
"enableApp(address)": FunctionFragment;
|
|
85
|
-
"execute(address,uint256,bytes)": FunctionFragment;
|
|
86
84
|
"getAppExpiration(address)": FunctionFragment;
|
|
87
85
|
"getAppId(address)": FunctionFragment;
|
|
88
86
|
"getInstalledApps()": FunctionFragment;
|
|
89
87
|
"isAppEntitled(address,address,bytes32)": FunctionFragment;
|
|
90
|
-
"isAppExecuting(address)": FunctionFragment;
|
|
91
88
|
"isAppInstalled(address)": FunctionFragment;
|
|
92
89
|
"onInstallApp(bytes32,bytes)": FunctionFragment;
|
|
93
90
|
"onRenewApp(bytes32,bytes)": FunctionFragment;
|
|
@@ -99,12 +96,10 @@ export interface IAppAccountInterface extends utils.Interface {
|
|
|
99
96
|
nameOrSignatureOrTopic:
|
|
100
97
|
| "disableApp"
|
|
101
98
|
| "enableApp"
|
|
102
|
-
| "execute"
|
|
103
99
|
| "getAppExpiration"
|
|
104
100
|
| "getAppId"
|
|
105
101
|
| "getInstalledApps"
|
|
106
102
|
| "isAppEntitled"
|
|
107
|
-
| "isAppExecuting"
|
|
108
103
|
| "isAppInstalled"
|
|
109
104
|
| "onInstallApp"
|
|
110
105
|
| "onRenewApp"
|
|
@@ -114,10 +109,6 @@ export interface IAppAccountInterface extends utils.Interface {
|
|
|
114
109
|
|
|
115
110
|
encodeFunctionData(functionFragment: "disableApp", values: [string]): string;
|
|
116
111
|
encodeFunctionData(functionFragment: "enableApp", values: [string]): string;
|
|
117
|
-
encodeFunctionData(
|
|
118
|
-
functionFragment: "execute",
|
|
119
|
-
values: [string, BigNumberish, BytesLike]
|
|
120
|
-
): string;
|
|
121
112
|
encodeFunctionData(
|
|
122
113
|
functionFragment: "getAppExpiration",
|
|
123
114
|
values: [string]
|
|
@@ -131,10 +122,6 @@ export interface IAppAccountInterface extends utils.Interface {
|
|
|
131
122
|
functionFragment: "isAppEntitled",
|
|
132
123
|
values: [string, string, BytesLike]
|
|
133
124
|
): string;
|
|
134
|
-
encodeFunctionData(
|
|
135
|
-
functionFragment: "isAppExecuting",
|
|
136
|
-
values: [string]
|
|
137
|
-
): string;
|
|
138
125
|
encodeFunctionData(
|
|
139
126
|
functionFragment: "isAppInstalled",
|
|
140
127
|
values: [string]
|
|
@@ -158,7 +145,6 @@ export interface IAppAccountInterface extends utils.Interface {
|
|
|
158
145
|
|
|
159
146
|
decodeFunctionResult(functionFragment: "disableApp", data: BytesLike): Result;
|
|
160
147
|
decodeFunctionResult(functionFragment: "enableApp", data: BytesLike): Result;
|
|
161
|
-
decodeFunctionResult(functionFragment: "execute", data: BytesLike): Result;
|
|
162
148
|
decodeFunctionResult(
|
|
163
149
|
functionFragment: "getAppExpiration",
|
|
164
150
|
data: BytesLike
|
|
@@ -172,10 +158,6 @@ export interface IAppAccountInterface extends utils.Interface {
|
|
|
172
158
|
functionFragment: "isAppEntitled",
|
|
173
159
|
data: BytesLike
|
|
174
160
|
): Result;
|
|
175
|
-
decodeFunctionResult(
|
|
176
|
-
functionFragment: "isAppExecuting",
|
|
177
|
-
data: BytesLike
|
|
178
|
-
): Result;
|
|
179
161
|
decodeFunctionResult(
|
|
180
162
|
functionFragment: "isAppInstalled",
|
|
181
163
|
data: BytesLike
|
|
@@ -279,13 +261,6 @@ export interface IAppAccount extends BaseContract {
|
|
|
279
261
|
overrides?: Overrides & { from?: string }
|
|
280
262
|
): Promise<ContractTransaction>;
|
|
281
263
|
|
|
282
|
-
execute(
|
|
283
|
-
target: string,
|
|
284
|
-
value: BigNumberish,
|
|
285
|
-
data: BytesLike,
|
|
286
|
-
overrides?: PayableOverrides & { from?: string }
|
|
287
|
-
): Promise<ContractTransaction>;
|
|
288
|
-
|
|
289
264
|
getAppExpiration(app: string, overrides?: CallOverrides): Promise<[number]>;
|
|
290
265
|
|
|
291
266
|
getAppId(app: string, overrides?: CallOverrides): Promise<[string]>;
|
|
@@ -299,8 +274,6 @@ export interface IAppAccount extends BaseContract {
|
|
|
299
274
|
overrides?: CallOverrides
|
|
300
275
|
): Promise<[boolean]>;
|
|
301
276
|
|
|
302
|
-
isAppExecuting(app: string, overrides?: CallOverrides): Promise<[boolean]>;
|
|
303
|
-
|
|
304
277
|
isAppInstalled(app: string, overrides?: CallOverrides): Promise<[boolean]>;
|
|
305
278
|
|
|
306
279
|
onInstallApp(
|
|
@@ -338,13 +311,6 @@ export interface IAppAccount extends BaseContract {
|
|
|
338
311
|
overrides?: Overrides & { from?: string }
|
|
339
312
|
): Promise<ContractTransaction>;
|
|
340
313
|
|
|
341
|
-
execute(
|
|
342
|
-
target: string,
|
|
343
|
-
value: BigNumberish,
|
|
344
|
-
data: BytesLike,
|
|
345
|
-
overrides?: PayableOverrides & { from?: string }
|
|
346
|
-
): Promise<ContractTransaction>;
|
|
347
|
-
|
|
348
314
|
getAppExpiration(app: string, overrides?: CallOverrides): Promise<number>;
|
|
349
315
|
|
|
350
316
|
getAppId(app: string, overrides?: CallOverrides): Promise<string>;
|
|
@@ -358,8 +324,6 @@ export interface IAppAccount extends BaseContract {
|
|
|
358
324
|
overrides?: CallOverrides
|
|
359
325
|
): Promise<boolean>;
|
|
360
326
|
|
|
361
|
-
isAppExecuting(app: string, overrides?: CallOverrides): Promise<boolean>;
|
|
362
|
-
|
|
363
327
|
isAppInstalled(app: string, overrides?: CallOverrides): Promise<boolean>;
|
|
364
328
|
|
|
365
329
|
onInstallApp(
|
|
@@ -391,13 +355,6 @@ export interface IAppAccount extends BaseContract {
|
|
|
391
355
|
|
|
392
356
|
enableApp(app: string, overrides?: CallOverrides): Promise<void>;
|
|
393
357
|
|
|
394
|
-
execute(
|
|
395
|
-
target: string,
|
|
396
|
-
value: BigNumberish,
|
|
397
|
-
data: BytesLike,
|
|
398
|
-
overrides?: CallOverrides
|
|
399
|
-
): Promise<string>;
|
|
400
|
-
|
|
401
358
|
getAppExpiration(app: string, overrides?: CallOverrides): Promise<number>;
|
|
402
359
|
|
|
403
360
|
getAppId(app: string, overrides?: CallOverrides): Promise<string>;
|
|
@@ -411,8 +368,6 @@ export interface IAppAccount extends BaseContract {
|
|
|
411
368
|
overrides?: CallOverrides
|
|
412
369
|
): Promise<boolean>;
|
|
413
370
|
|
|
414
|
-
isAppExecuting(app: string, overrides?: CallOverrides): Promise<boolean>;
|
|
415
|
-
|
|
416
371
|
isAppInstalled(app: string, overrides?: CallOverrides): Promise<boolean>;
|
|
417
372
|
|
|
418
373
|
onInstallApp(
|
|
@@ -482,13 +437,6 @@ export interface IAppAccount extends BaseContract {
|
|
|
482
437
|
overrides?: Overrides & { from?: string }
|
|
483
438
|
): Promise<BigNumber>;
|
|
484
439
|
|
|
485
|
-
execute(
|
|
486
|
-
target: string,
|
|
487
|
-
value: BigNumberish,
|
|
488
|
-
data: BytesLike,
|
|
489
|
-
overrides?: PayableOverrides & { from?: string }
|
|
490
|
-
): Promise<BigNumber>;
|
|
491
|
-
|
|
492
440
|
getAppExpiration(
|
|
493
441
|
app: string,
|
|
494
442
|
overrides?: CallOverrides
|
|
@@ -505,8 +453,6 @@ export interface IAppAccount extends BaseContract {
|
|
|
505
453
|
overrides?: CallOverrides
|
|
506
454
|
): Promise<BigNumber>;
|
|
507
455
|
|
|
508
|
-
isAppExecuting(app: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
509
|
-
|
|
510
456
|
isAppInstalled(app: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
511
457
|
|
|
512
458
|
onInstallApp(
|
|
@@ -545,13 +491,6 @@ export interface IAppAccount extends BaseContract {
|
|
|
545
491
|
overrides?: Overrides & { from?: string }
|
|
546
492
|
): Promise<PopulatedTransaction>;
|
|
547
493
|
|
|
548
|
-
execute(
|
|
549
|
-
target: string,
|
|
550
|
-
value: BigNumberish,
|
|
551
|
-
data: BytesLike,
|
|
552
|
-
overrides?: PayableOverrides & { from?: string }
|
|
553
|
-
): Promise<PopulatedTransaction>;
|
|
554
|
-
|
|
555
494
|
getAppExpiration(
|
|
556
495
|
app: string,
|
|
557
496
|
overrides?: CallOverrides
|
|
@@ -571,11 +510,6 @@ export interface IAppAccount extends BaseContract {
|
|
|
571
510
|
overrides?: CallOverrides
|
|
572
511
|
): Promise<PopulatedTransaction>;
|
|
573
512
|
|
|
574
|
-
isAppExecuting(
|
|
575
|
-
app: string,
|
|
576
|
-
overrides?: CallOverrides
|
|
577
|
-
): Promise<PopulatedTransaction>;
|
|
578
|
-
|
|
579
513
|
isAppInstalled(
|
|
580
514
|
app: string,
|
|
581
515
|
overrides?: CallOverrides
|
|
@@ -33,35 +33,6 @@ const _abi = [
|
|
|
33
33
|
outputs: [],
|
|
34
34
|
stateMutability: "nonpayable",
|
|
35
35
|
},
|
|
36
|
-
{
|
|
37
|
-
type: "function",
|
|
38
|
-
name: "execute",
|
|
39
|
-
inputs: [
|
|
40
|
-
{
|
|
41
|
-
name: "target",
|
|
42
|
-
type: "address",
|
|
43
|
-
internalType: "address",
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
name: "value",
|
|
47
|
-
type: "uint256",
|
|
48
|
-
internalType: "uint256",
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
name: "data",
|
|
52
|
-
type: "bytes",
|
|
53
|
-
internalType: "bytes",
|
|
54
|
-
},
|
|
55
|
-
],
|
|
56
|
-
outputs: [
|
|
57
|
-
{
|
|
58
|
-
name: "",
|
|
59
|
-
type: "bytes",
|
|
60
|
-
internalType: "bytes",
|
|
61
|
-
},
|
|
62
|
-
],
|
|
63
|
-
stateMutability: "payable",
|
|
64
|
-
},
|
|
65
36
|
{
|
|
66
37
|
type: "function",
|
|
67
38
|
name: "getAppExpiration",
|
|
@@ -142,25 +113,6 @@ const _abi = [
|
|
|
142
113
|
],
|
|
143
114
|
stateMutability: "view",
|
|
144
115
|
},
|
|
145
|
-
{
|
|
146
|
-
type: "function",
|
|
147
|
-
name: "isAppExecuting",
|
|
148
|
-
inputs: [
|
|
149
|
-
{
|
|
150
|
-
name: "app",
|
|
151
|
-
type: "address",
|
|
152
|
-
internalType: "address",
|
|
153
|
-
},
|
|
154
|
-
],
|
|
155
|
-
outputs: [
|
|
156
|
-
{
|
|
157
|
-
name: "",
|
|
158
|
-
type: "bool",
|
|
159
|
-
internalType: "bool",
|
|
160
|
-
},
|
|
161
|
-
],
|
|
162
|
-
stateMutability: "view",
|
|
163
|
-
},
|
|
164
116
|
{
|
|
165
117
|
type: "function",
|
|
166
118
|
name: "isAppInstalled",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@towns-protocol/generated",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.434",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "bun ./scripts/prepare.js",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"ethers": "^5.8.0"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@towns-protocol/contracts": "^0.0.
|
|
16
|
+
"@towns-protocol/contracts": "^0.0.434",
|
|
17
17
|
"@typechain/ethers-v5": "^11.1.2",
|
|
18
18
|
"typechain": "^8.3.2"
|
|
19
19
|
},
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"publishConfig": {
|
|
35
35
|
"access": "public"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "29fca5be72f7f98c7410d3f9d6d5428350822fab"
|
|
38
38
|
}
|