@towns-protocol/generated 1.0.1 → 1.0.2
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/config/deployments.json +3 -1
- package/deployments/alpha/.env +3 -1
- package/deployments/alpha/.env.vite +3 -1
- package/deployments/alpha/base/addresses/l2Registrar.json +1 -1
- package/deployments/alpha/base/addresses/usdc.json +3 -0
- package/deployments/alpha/base/addresses/utils/domainFeeHook.json +3 -0
- package/dev/.contracts-hash +1 -1
- package/dev/abis/Architect.abi.json +0 -54
- package/dev/abis/Architect.abi.ts +0 -54
- package/dev/abis/ICreateSpace.abi.json +6 -21
- package/dev/abis/ICreateSpace.abi.ts +6 -21
- package/dev/abis/MockRiverRegistry.abi.json +77 -0
- package/dev/abis/MockRiverRegistry.abi.ts +77 -0
- package/dev/abis/NodeRegistry.abi.json +112 -0
- package/dev/abis/NodeRegistry.abi.ts +112 -0
- package/dev/typings/Architect.ts +0 -79
- package/dev/typings/IArchitect.ts +0 -79
- package/dev/typings/ICreateSpace.ts +22 -22
- package/dev/typings/INodeRegistry.ts +123 -1
- package/dev/typings/NodeRegistry.ts +146 -1
- package/dev/typings/factories/Architect__factory.ts +1 -55
- package/dev/typings/factories/IArchitect__factory.ts +0 -54
- package/dev/typings/factories/ICreateSpace__factory.ts +6 -21
- package/dev/typings/factories/INodeRegistry__factory.ts +77 -0
- package/dev/typings/factories/MockLegacyArchitect__factory.ts +1 -1
- package/dev/typings/factories/NodeRegistry__factory.ts +113 -1
- package/package.json +2 -2
package/config/deployments.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"accountModules": "0xFF45988E721b5B9b24811f94a7b082aC1aCEea6E",
|
|
7
7
|
"appRegistry": "0x23a9f5AbBcC82d1E2B5C0781b1F05F2B623E2c69",
|
|
8
8
|
"baseRegistry": "0x0230a9d28bc48a90d6f5e5112b24319ec1b14c52",
|
|
9
|
-
"l2Registrar": "
|
|
9
|
+
"l2Registrar": "0xCfF032706DE34B65F49d51be68E1eb34F3ffb560",
|
|
10
10
|
"l2Resolver": "0x0E75B6fFeD832DF2d3011b34d76cF4E1612E9372",
|
|
11
11
|
"riverAirdrop": "0x5cb1B2a6d413879a7A4A89f46e0621db04aa6430",
|
|
12
12
|
"simpleAppBeacon": "0x52B1418e49fD2a920B428398b165f3f048A7826A",
|
|
@@ -15,7 +15,9 @@
|
|
|
15
15
|
"spaceOwner": "0x0443258849016da8Af08e2984Bce8C0ef6Cfc9A0",
|
|
16
16
|
"subscriptionModule": "0x07dd39b955F974186daFB2EDC6B4E03632E9AC75",
|
|
17
17
|
"swapRouter": "0xE2CE9e11BF480a5b88ad4008915D97d35C5087d5",
|
|
18
|
+
"usdc": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
|
|
18
19
|
"utils": {
|
|
20
|
+
"domainFeeHook": "0x3a37a430dCdbd61B4eb8CBbB27C7dAdd48CD7C45",
|
|
19
21
|
"towns": "0x00000000A22C618fd6b4D7E9A335C4B96B189a38"
|
|
20
22
|
}
|
|
21
23
|
}
|
package/deployments/alpha/.env
CHANGED
|
@@ -3,7 +3,7 @@ BASE_CHAIN_ID=84532
|
|
|
3
3
|
BASE_ADDRESSES_ACCOUNT_MODULES=0xFF45988E721b5B9b24811f94a7b082aC1aCEea6E
|
|
4
4
|
BASE_ADDRESSES_APP_REGISTRY=0x23a9f5AbBcC82d1E2B5C0781b1F05F2B623E2c69
|
|
5
5
|
BASE_ADDRESSES_BASE_REGISTRY=0x0230a9d28bc48a90d6f5e5112b24319ec1b14c52
|
|
6
|
-
BASE_ADDRESSES_L2REGISTRAR=
|
|
6
|
+
BASE_ADDRESSES_L2REGISTRAR=0xCfF032706DE34B65F49d51be68E1eb34F3ffb560
|
|
7
7
|
BASE_ADDRESSES_L2RESOLVER=0x0E75B6fFeD832DF2d3011b34d76cF4E1612E9372
|
|
8
8
|
BASE_ADDRESSES_RIVER_AIRDROP=0x5cb1B2a6d413879a7A4A89f46e0621db04aa6430
|
|
9
9
|
BASE_ADDRESSES_SIMPLE_APP_BEACON=0x52B1418e49fD2a920B428398b165f3f048A7826A
|
|
@@ -12,6 +12,8 @@ BASE_ADDRESSES_SPACE_FACTORY=0xC09Ac0FFeecAaE5100158247512DC177AeacA3e3
|
|
|
12
12
|
BASE_ADDRESSES_SPACE_OWNER=0x0443258849016da8Af08e2984Bce8C0ef6Cfc9A0
|
|
13
13
|
BASE_ADDRESSES_SUBSCRIPTION_MODULE=0x07dd39b955F974186daFB2EDC6B4E03632E9AC75
|
|
14
14
|
BASE_ADDRESSES_SWAP_ROUTER=0xE2CE9e11BF480a5b88ad4008915D97d35C5087d5
|
|
15
|
+
BASE_ADDRESSES_USDC=0x036CbD53842c5426634e7929541eC2318f3dCF7e
|
|
16
|
+
BASE_ADDRESSES_UTILS_DOMAIN_FEE_HOOK=0x3a37a430dCdbd61B4eb8CBbB27C7dAdd48CD7C45
|
|
15
17
|
BASE_ADDRESSES_UTILS_TOWNS=0x00000000A22C618fd6b4D7E9A335C4B96B189a38
|
|
16
18
|
MAINNET_CHAIN_ID=1
|
|
17
19
|
MAINNET_ADDRESSES_L1RESOLVER=0x635Ed13702316b0f861C178e80263277CC5aE33b
|
|
@@ -3,7 +3,7 @@ VITE_BASE_CHAIN_ID=84532
|
|
|
3
3
|
VITE_BASE_ADDRESSES_ACCOUNT_MODULES=0xFF45988E721b5B9b24811f94a7b082aC1aCEea6E
|
|
4
4
|
VITE_BASE_ADDRESSES_APP_REGISTRY=0x23a9f5AbBcC82d1E2B5C0781b1F05F2B623E2c69
|
|
5
5
|
VITE_BASE_ADDRESSES_BASE_REGISTRY=0x0230a9d28bc48a90d6f5e5112b24319ec1b14c52
|
|
6
|
-
VITE_BASE_ADDRESSES_L2REGISTRAR=
|
|
6
|
+
VITE_BASE_ADDRESSES_L2REGISTRAR=0xCfF032706DE34B65F49d51be68E1eb34F3ffb560
|
|
7
7
|
VITE_BASE_ADDRESSES_L2RESOLVER=0x0E75B6fFeD832DF2d3011b34d76cF4E1612E9372
|
|
8
8
|
VITE_BASE_ADDRESSES_RIVER_AIRDROP=0x5cb1B2a6d413879a7A4A89f46e0621db04aa6430
|
|
9
9
|
VITE_BASE_ADDRESSES_SIMPLE_APP_BEACON=0x52B1418e49fD2a920B428398b165f3f048A7826A
|
|
@@ -12,6 +12,8 @@ VITE_BASE_ADDRESSES_SPACE_FACTORY=0xC09Ac0FFeecAaE5100158247512DC177AeacA3e3
|
|
|
12
12
|
VITE_BASE_ADDRESSES_SPACE_OWNER=0x0443258849016da8Af08e2984Bce8C0ef6Cfc9A0
|
|
13
13
|
VITE_BASE_ADDRESSES_SUBSCRIPTION_MODULE=0x07dd39b955F974186daFB2EDC6B4E03632E9AC75
|
|
14
14
|
VITE_BASE_ADDRESSES_SWAP_ROUTER=0xE2CE9e11BF480a5b88ad4008915D97d35C5087d5
|
|
15
|
+
VITE_BASE_ADDRESSES_USDC=0x036CbD53842c5426634e7929541eC2318f3dCF7e
|
|
16
|
+
VITE_BASE_ADDRESSES_UTILS_DOMAIN_FEE_HOOK=0x3a37a430dCdbd61B4eb8CBbB27C7dAdd48CD7C45
|
|
15
17
|
VITE_BASE_ADDRESSES_UTILS_TOWNS=0x00000000A22C618fd6b4D7E9A335C4B96B189a38
|
|
16
18
|
VITE_MAINNET_CHAIN_ID=1
|
|
17
19
|
VITE_MAINNET_ADDRESSES_L1RESOLVER=0x635Ed13702316b0f861C178e80263277CC5aE33b
|
package/dev/.contracts-hash
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
f7402a64c5dde0ac91feaada805662851d59f03b:1ddd38ad39d7c07327fc4ca5b7aa5f898bf3c997
|
|
@@ -27,19 +27,6 @@
|
|
|
27
27
|
"outputs": [],
|
|
28
28
|
"stateMutability": "nonpayable"
|
|
29
29
|
},
|
|
30
|
-
{
|
|
31
|
-
"type": "function",
|
|
32
|
-
"name": "getProxyInitializer",
|
|
33
|
-
"inputs": [],
|
|
34
|
-
"outputs": [
|
|
35
|
-
{
|
|
36
|
-
"name": "",
|
|
37
|
-
"type": "address",
|
|
38
|
-
"internalType": "contract ISpaceProxyInitializer"
|
|
39
|
-
}
|
|
40
|
-
],
|
|
41
|
-
"stateMutability": "view"
|
|
42
|
-
},
|
|
43
30
|
{
|
|
44
31
|
"type": "function",
|
|
45
32
|
"name": "getSpaceArchitectImplementations",
|
|
@@ -106,19 +93,6 @@
|
|
|
106
93
|
],
|
|
107
94
|
"stateMutability": "view"
|
|
108
95
|
},
|
|
109
|
-
{
|
|
110
|
-
"type": "function",
|
|
111
|
-
"name": "setProxyInitializer",
|
|
112
|
-
"inputs": [
|
|
113
|
-
{
|
|
114
|
-
"name": "proxyInitializer",
|
|
115
|
-
"type": "address",
|
|
116
|
-
"internalType": "contract ISpaceProxyInitializer"
|
|
117
|
-
}
|
|
118
|
-
],
|
|
119
|
-
"outputs": [],
|
|
120
|
-
"stateMutability": "nonpayable"
|
|
121
|
-
},
|
|
122
96
|
{
|
|
123
97
|
"type": "function",
|
|
124
98
|
"name": "setSpaceArchitectImplementations",
|
|
@@ -147,19 +121,6 @@
|
|
|
147
121
|
"outputs": [],
|
|
148
122
|
"stateMutability": "nonpayable"
|
|
149
123
|
},
|
|
150
|
-
{
|
|
151
|
-
"type": "event",
|
|
152
|
-
"name": "Architect__ProxyInitializerSet",
|
|
153
|
-
"inputs": [
|
|
154
|
-
{
|
|
155
|
-
"name": "proxyInitializer",
|
|
156
|
-
"type": "address",
|
|
157
|
-
"indexed": true,
|
|
158
|
-
"internalType": "address"
|
|
159
|
-
}
|
|
160
|
-
],
|
|
161
|
-
"anonymous": false
|
|
162
|
-
},
|
|
163
124
|
{
|
|
164
125
|
"type": "event",
|
|
165
126
|
"name": "Initialized",
|
|
@@ -269,26 +230,11 @@
|
|
|
269
230
|
],
|
|
270
231
|
"anonymous": false
|
|
271
232
|
},
|
|
272
|
-
{
|
|
273
|
-
"type": "error",
|
|
274
|
-
"name": "Architect__InvalidAddress",
|
|
275
|
-
"inputs": []
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
"type": "error",
|
|
279
|
-
"name": "Architect__InvalidNetworkId",
|
|
280
|
-
"inputs": []
|
|
281
|
-
},
|
|
282
233
|
{
|
|
283
234
|
"type": "error",
|
|
284
235
|
"name": "Architect__InvalidPricingModule",
|
|
285
236
|
"inputs": []
|
|
286
237
|
},
|
|
287
|
-
{
|
|
288
|
-
"type": "error",
|
|
289
|
-
"name": "Architect__InvalidStringLength",
|
|
290
|
-
"inputs": []
|
|
291
|
-
},
|
|
292
238
|
{
|
|
293
239
|
"type": "error",
|
|
294
240
|
"name": "Architect__NotContract",
|
|
@@ -27,19 +27,6 @@ export default [
|
|
|
27
27
|
"outputs": [],
|
|
28
28
|
"stateMutability": "nonpayable"
|
|
29
29
|
},
|
|
30
|
-
{
|
|
31
|
-
"type": "function",
|
|
32
|
-
"name": "getProxyInitializer",
|
|
33
|
-
"inputs": [],
|
|
34
|
-
"outputs": [
|
|
35
|
-
{
|
|
36
|
-
"name": "",
|
|
37
|
-
"type": "address",
|
|
38
|
-
"internalType": "contract ISpaceProxyInitializer"
|
|
39
|
-
}
|
|
40
|
-
],
|
|
41
|
-
"stateMutability": "view"
|
|
42
|
-
},
|
|
43
30
|
{
|
|
44
31
|
"type": "function",
|
|
45
32
|
"name": "getSpaceArchitectImplementations",
|
|
@@ -106,19 +93,6 @@ export default [
|
|
|
106
93
|
],
|
|
107
94
|
"stateMutability": "view"
|
|
108
95
|
},
|
|
109
|
-
{
|
|
110
|
-
"type": "function",
|
|
111
|
-
"name": "setProxyInitializer",
|
|
112
|
-
"inputs": [
|
|
113
|
-
{
|
|
114
|
-
"name": "proxyInitializer",
|
|
115
|
-
"type": "address",
|
|
116
|
-
"internalType": "contract ISpaceProxyInitializer"
|
|
117
|
-
}
|
|
118
|
-
],
|
|
119
|
-
"outputs": [],
|
|
120
|
-
"stateMutability": "nonpayable"
|
|
121
|
-
},
|
|
122
96
|
{
|
|
123
97
|
"type": "function",
|
|
124
98
|
"name": "setSpaceArchitectImplementations",
|
|
@@ -147,19 +121,6 @@ export default [
|
|
|
147
121
|
"outputs": [],
|
|
148
122
|
"stateMutability": "nonpayable"
|
|
149
123
|
},
|
|
150
|
-
{
|
|
151
|
-
"type": "event",
|
|
152
|
-
"name": "Architect__ProxyInitializerSet",
|
|
153
|
-
"inputs": [
|
|
154
|
-
{
|
|
155
|
-
"name": "proxyInitializer",
|
|
156
|
-
"type": "address",
|
|
157
|
-
"indexed": true,
|
|
158
|
-
"internalType": "address"
|
|
159
|
-
}
|
|
160
|
-
],
|
|
161
|
-
"anonymous": false
|
|
162
|
-
},
|
|
163
124
|
{
|
|
164
125
|
"type": "event",
|
|
165
126
|
"name": "Initialized",
|
|
@@ -269,26 +230,11 @@ export default [
|
|
|
269
230
|
],
|
|
270
231
|
"anonymous": false
|
|
271
232
|
},
|
|
272
|
-
{
|
|
273
|
-
"type": "error",
|
|
274
|
-
"name": "Architect__InvalidAddress",
|
|
275
|
-
"inputs": []
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
"type": "error",
|
|
279
|
-
"name": "Architect__InvalidNetworkId",
|
|
280
|
-
"inputs": []
|
|
281
|
-
},
|
|
282
233
|
{
|
|
283
234
|
"type": "error",
|
|
284
235
|
"name": "Architect__InvalidPricingModule",
|
|
285
236
|
"inputs": []
|
|
286
237
|
},
|
|
287
|
-
{
|
|
288
|
-
"type": "error",
|
|
289
|
-
"name": "Architect__InvalidStringLength",
|
|
290
|
-
"inputs": []
|
|
291
|
-
},
|
|
292
238
|
{
|
|
293
239
|
"type": "error",
|
|
294
240
|
"name": "Architect__NotContract",
|
|
@@ -664,17 +664,17 @@
|
|
|
664
664
|
"stateMutability": "payable"
|
|
665
665
|
},
|
|
666
666
|
{
|
|
667
|
-
"type": "
|
|
668
|
-
"name": "
|
|
669
|
-
"inputs": [
|
|
667
|
+
"type": "function",
|
|
668
|
+
"name": "getProxyInitializer",
|
|
669
|
+
"inputs": [],
|
|
670
|
+
"outputs": [
|
|
670
671
|
{
|
|
671
|
-
"name": "
|
|
672
|
+
"name": "",
|
|
672
673
|
"type": "address",
|
|
673
|
-
"indexed": true,
|
|
674
674
|
"internalType": "address"
|
|
675
675
|
}
|
|
676
676
|
],
|
|
677
|
-
"
|
|
677
|
+
"stateMutability": "view"
|
|
678
678
|
},
|
|
679
679
|
{
|
|
680
680
|
"type": "event",
|
|
@@ -701,26 +701,11 @@
|
|
|
701
701
|
],
|
|
702
702
|
"anonymous": false
|
|
703
703
|
},
|
|
704
|
-
{
|
|
705
|
-
"type": "error",
|
|
706
|
-
"name": "Architect__InvalidAddress",
|
|
707
|
-
"inputs": []
|
|
708
|
-
},
|
|
709
|
-
{
|
|
710
|
-
"type": "error",
|
|
711
|
-
"name": "Architect__InvalidNetworkId",
|
|
712
|
-
"inputs": []
|
|
713
|
-
},
|
|
714
704
|
{
|
|
715
705
|
"type": "error",
|
|
716
706
|
"name": "Architect__InvalidPricingModule",
|
|
717
707
|
"inputs": []
|
|
718
708
|
},
|
|
719
|
-
{
|
|
720
|
-
"type": "error",
|
|
721
|
-
"name": "Architect__InvalidStringLength",
|
|
722
|
-
"inputs": []
|
|
723
|
-
},
|
|
724
709
|
{
|
|
725
710
|
"type": "error",
|
|
726
711
|
"name": "Architect__NotContract",
|
|
@@ -664,17 +664,17 @@ export default [
|
|
|
664
664
|
"stateMutability": "payable"
|
|
665
665
|
},
|
|
666
666
|
{
|
|
667
|
-
"type": "
|
|
668
|
-
"name": "
|
|
669
|
-
"inputs": [
|
|
667
|
+
"type": "function",
|
|
668
|
+
"name": "getProxyInitializer",
|
|
669
|
+
"inputs": [],
|
|
670
|
+
"outputs": [
|
|
670
671
|
{
|
|
671
|
-
"name": "
|
|
672
|
+
"name": "",
|
|
672
673
|
"type": "address",
|
|
673
|
-
"indexed": true,
|
|
674
674
|
"internalType": "address"
|
|
675
675
|
}
|
|
676
676
|
],
|
|
677
|
-
"
|
|
677
|
+
"stateMutability": "view"
|
|
678
678
|
},
|
|
679
679
|
{
|
|
680
680
|
"type": "event",
|
|
@@ -701,26 +701,11 @@ export default [
|
|
|
701
701
|
],
|
|
702
702
|
"anonymous": false
|
|
703
703
|
},
|
|
704
|
-
{
|
|
705
|
-
"type": "error",
|
|
706
|
-
"name": "Architect__InvalidAddress",
|
|
707
|
-
"inputs": []
|
|
708
|
-
},
|
|
709
|
-
{
|
|
710
|
-
"type": "error",
|
|
711
|
-
"name": "Architect__InvalidNetworkId",
|
|
712
|
-
"inputs": []
|
|
713
|
-
},
|
|
714
704
|
{
|
|
715
705
|
"type": "error",
|
|
716
706
|
"name": "Architect__InvalidPricingModule",
|
|
717
707
|
"inputs": []
|
|
718
708
|
},
|
|
719
|
-
{
|
|
720
|
-
"type": "error",
|
|
721
|
-
"name": "Architect__InvalidStringLength",
|
|
722
|
-
"inputs": []
|
|
723
|
-
},
|
|
724
709
|
{
|
|
725
710
|
"type": "error",
|
|
726
711
|
"name": "Architect__NotContract",
|
|
@@ -140,6 +140,13 @@
|
|
|
140
140
|
"outputs": [],
|
|
141
141
|
"stateMutability": "nonpayable"
|
|
142
142
|
},
|
|
143
|
+
{
|
|
144
|
+
"type": "function",
|
|
145
|
+
"name": "backfillPermanentIndices",
|
|
146
|
+
"inputs": [],
|
|
147
|
+
"outputs": [],
|
|
148
|
+
"stateMutability": "nonpayable"
|
|
149
|
+
},
|
|
143
150
|
{
|
|
144
151
|
"type": "function",
|
|
145
152
|
"name": "configurationExists",
|
|
@@ -262,6 +269,16 @@
|
|
|
262
269
|
"name": "operator",
|
|
263
270
|
"type": "address",
|
|
264
271
|
"internalType": "address"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"name": "permanentIndex",
|
|
275
|
+
"type": "uint32",
|
|
276
|
+
"internalType": "uint32"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"name": "cometBftPubKey",
|
|
280
|
+
"type": "bytes32",
|
|
281
|
+
"internalType": "bytes32"
|
|
265
282
|
}
|
|
266
283
|
]
|
|
267
284
|
}
|
|
@@ -317,6 +334,19 @@
|
|
|
317
334
|
],
|
|
318
335
|
"stateMutability": "view"
|
|
319
336
|
},
|
|
337
|
+
{
|
|
338
|
+
"type": "function",
|
|
339
|
+
"name": "getLastNodeIndex",
|
|
340
|
+
"inputs": [],
|
|
341
|
+
"outputs": [
|
|
342
|
+
{
|
|
343
|
+
"name": "",
|
|
344
|
+
"type": "uint32",
|
|
345
|
+
"internalType": "uint32"
|
|
346
|
+
}
|
|
347
|
+
],
|
|
348
|
+
"stateMutability": "view"
|
|
349
|
+
},
|
|
320
350
|
{
|
|
321
351
|
"type": "function",
|
|
322
352
|
"name": "getNode",
|
|
@@ -352,6 +382,16 @@
|
|
|
352
382
|
"name": "operator",
|
|
353
383
|
"type": "address",
|
|
354
384
|
"internalType": "address"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"name": "permanentIndex",
|
|
388
|
+
"type": "uint32",
|
|
389
|
+
"internalType": "uint32"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "cometBftPubKey",
|
|
393
|
+
"type": "bytes32",
|
|
394
|
+
"internalType": "bytes32"
|
|
355
395
|
}
|
|
356
396
|
]
|
|
357
397
|
}
|
|
@@ -838,6 +878,24 @@
|
|
|
838
878
|
"outputs": [],
|
|
839
879
|
"stateMutability": "nonpayable"
|
|
840
880
|
},
|
|
881
|
+
{
|
|
882
|
+
"type": "function",
|
|
883
|
+
"name": "setNodeCometBftPubKey",
|
|
884
|
+
"inputs": [
|
|
885
|
+
{
|
|
886
|
+
"name": "nodeAddress",
|
|
887
|
+
"type": "address",
|
|
888
|
+
"internalType": "address"
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"name": "cometBftPubKey",
|
|
892
|
+
"type": "bytes32",
|
|
893
|
+
"internalType": "bytes32"
|
|
894
|
+
}
|
|
895
|
+
],
|
|
896
|
+
"outputs": [],
|
|
897
|
+
"stateMutability": "nonpayable"
|
|
898
|
+
},
|
|
841
899
|
{
|
|
842
900
|
"type": "function",
|
|
843
901
|
"name": "setStreamLastMiniblockBatch",
|
|
@@ -1089,6 +1147,25 @@
|
|
|
1089
1147
|
],
|
|
1090
1148
|
"anonymous": false
|
|
1091
1149
|
},
|
|
1150
|
+
{
|
|
1151
|
+
"type": "event",
|
|
1152
|
+
"name": "NodeCometBftPubKeyUpdated",
|
|
1153
|
+
"inputs": [
|
|
1154
|
+
{
|
|
1155
|
+
"name": "nodeAddress",
|
|
1156
|
+
"type": "address",
|
|
1157
|
+
"indexed": true,
|
|
1158
|
+
"internalType": "address"
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
"name": "cometBftPubKey",
|
|
1162
|
+
"type": "bytes32",
|
|
1163
|
+
"indexed": false,
|
|
1164
|
+
"internalType": "bytes32"
|
|
1165
|
+
}
|
|
1166
|
+
],
|
|
1167
|
+
"anonymous": false
|
|
1168
|
+
},
|
|
1092
1169
|
{
|
|
1093
1170
|
"type": "event",
|
|
1094
1171
|
"name": "NodeRemoved",
|
|
@@ -140,6 +140,13 @@ export default [
|
|
|
140
140
|
"outputs": [],
|
|
141
141
|
"stateMutability": "nonpayable"
|
|
142
142
|
},
|
|
143
|
+
{
|
|
144
|
+
"type": "function",
|
|
145
|
+
"name": "backfillPermanentIndices",
|
|
146
|
+
"inputs": [],
|
|
147
|
+
"outputs": [],
|
|
148
|
+
"stateMutability": "nonpayable"
|
|
149
|
+
},
|
|
143
150
|
{
|
|
144
151
|
"type": "function",
|
|
145
152
|
"name": "configurationExists",
|
|
@@ -262,6 +269,16 @@ export default [
|
|
|
262
269
|
"name": "operator",
|
|
263
270
|
"type": "address",
|
|
264
271
|
"internalType": "address"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"name": "permanentIndex",
|
|
275
|
+
"type": "uint32",
|
|
276
|
+
"internalType": "uint32"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"name": "cometBftPubKey",
|
|
280
|
+
"type": "bytes32",
|
|
281
|
+
"internalType": "bytes32"
|
|
265
282
|
}
|
|
266
283
|
]
|
|
267
284
|
}
|
|
@@ -317,6 +334,19 @@ export default [
|
|
|
317
334
|
],
|
|
318
335
|
"stateMutability": "view"
|
|
319
336
|
},
|
|
337
|
+
{
|
|
338
|
+
"type": "function",
|
|
339
|
+
"name": "getLastNodeIndex",
|
|
340
|
+
"inputs": [],
|
|
341
|
+
"outputs": [
|
|
342
|
+
{
|
|
343
|
+
"name": "",
|
|
344
|
+
"type": "uint32",
|
|
345
|
+
"internalType": "uint32"
|
|
346
|
+
}
|
|
347
|
+
],
|
|
348
|
+
"stateMutability": "view"
|
|
349
|
+
},
|
|
320
350
|
{
|
|
321
351
|
"type": "function",
|
|
322
352
|
"name": "getNode",
|
|
@@ -352,6 +382,16 @@ export default [
|
|
|
352
382
|
"name": "operator",
|
|
353
383
|
"type": "address",
|
|
354
384
|
"internalType": "address"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"name": "permanentIndex",
|
|
388
|
+
"type": "uint32",
|
|
389
|
+
"internalType": "uint32"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "cometBftPubKey",
|
|
393
|
+
"type": "bytes32",
|
|
394
|
+
"internalType": "bytes32"
|
|
355
395
|
}
|
|
356
396
|
]
|
|
357
397
|
}
|
|
@@ -838,6 +878,24 @@ export default [
|
|
|
838
878
|
"outputs": [],
|
|
839
879
|
"stateMutability": "nonpayable"
|
|
840
880
|
},
|
|
881
|
+
{
|
|
882
|
+
"type": "function",
|
|
883
|
+
"name": "setNodeCometBftPubKey",
|
|
884
|
+
"inputs": [
|
|
885
|
+
{
|
|
886
|
+
"name": "nodeAddress",
|
|
887
|
+
"type": "address",
|
|
888
|
+
"internalType": "address"
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"name": "cometBftPubKey",
|
|
892
|
+
"type": "bytes32",
|
|
893
|
+
"internalType": "bytes32"
|
|
894
|
+
}
|
|
895
|
+
],
|
|
896
|
+
"outputs": [],
|
|
897
|
+
"stateMutability": "nonpayable"
|
|
898
|
+
},
|
|
841
899
|
{
|
|
842
900
|
"type": "function",
|
|
843
901
|
"name": "setStreamLastMiniblockBatch",
|
|
@@ -1089,6 +1147,25 @@ export default [
|
|
|
1089
1147
|
],
|
|
1090
1148
|
"anonymous": false
|
|
1091
1149
|
},
|
|
1150
|
+
{
|
|
1151
|
+
"type": "event",
|
|
1152
|
+
"name": "NodeCometBftPubKeyUpdated",
|
|
1153
|
+
"inputs": [
|
|
1154
|
+
{
|
|
1155
|
+
"name": "nodeAddress",
|
|
1156
|
+
"type": "address",
|
|
1157
|
+
"indexed": true,
|
|
1158
|
+
"internalType": "address"
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
"name": "cometBftPubKey",
|
|
1162
|
+
"type": "bytes32",
|
|
1163
|
+
"indexed": false,
|
|
1164
|
+
"internalType": "bytes32"
|
|
1165
|
+
}
|
|
1166
|
+
],
|
|
1167
|
+
"anonymous": false
|
|
1168
|
+
},
|
|
1092
1169
|
{
|
|
1093
1170
|
"type": "event",
|
|
1094
1171
|
"name": "NodeRemoved",
|