@towns-protocol/generated 0.0.241 → 0.0.244
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 +14 -4
- package/deployments/gamma/base/addresses/utils/towns.json +3 -0
- package/deployments/omega/base/addresses/utils/towns.json +3 -0
- package/dev/abis/Channels.abi.json +0 -51
- package/dev/abis/Channels.abi.ts +0 -51
- package/dev/abis/EntitlementsManager.abi.json +0 -51
- package/dev/abis/EntitlementsManager.abi.ts +0 -51
- package/dev/abis/ISpaceDelegation.abi.json +3 -122
- package/dev/abis/ISpaceDelegation.abi.ts +3 -122
- package/dev/abis/ISpaceDelegationBase.abi.json +3 -44
- package/dev/abis/ISpaceDelegationBase.abi.ts +3 -44
- package/dev/abis/PrepayFacet.abi.json +0 -51
- package/dev/abis/PrepayFacet.abi.ts +0 -51
- package/dev/abis/Roles.abi.json +0 -51
- package/dev/abis/Roles.abi.ts +0 -51
- package/dev/typings/Channels.ts +0 -23
- package/dev/typings/EntitlementsManager.ts +0 -23
- package/dev/typings/ISpaceDelegation.ts +0 -203
- package/dev/typings/PrepayFacet.ts +0 -23
- package/dev/typings/Roles.ts +0 -23
- package/dev/typings/factories/Channels__factory.ts +1 -52
- package/dev/typings/factories/DropFacet__factory.ts +1 -1
- package/dev/typings/factories/EntitlementsManager__factory.ts +1 -52
- package/dev/typings/factories/ISpaceDelegation__factory.ts +3 -122
- package/dev/typings/factories/MembershipFacet__factory.ts +1 -1
- package/dev/typings/factories/PrepayFacet__factory.ts +0 -51
- package/dev/typings/factories/Roles__factory.ts +1 -52
- package/dev/typings/factories/mainnet/Towns__factory.ts +1 -1
- package/package.json +2 -2
- /package/deployments/{gamma/base/addresses → alpha/base/addresses/utils}/towns.json +0 -0
- /package/deployments/{omega/base/addresses → delta/base/addresses/utils}/towns.json +0 -0
package/config/deployments.json
CHANGED
|
@@ -7,7 +7,10 @@
|
|
|
7
7
|
"riverAirdrop": "0x5cb1B2a6d413879a7A4A89f46e0621db04aa6430",
|
|
8
8
|
"space": "0x8DdfAD0259803FA140e076C636E726573df77905",
|
|
9
9
|
"spaceFactory": "0xC09Ac0FFeecAaE5100158247512DC177AeacA3e3",
|
|
10
|
-
"spaceOwner": "0x0443258849016da8Af08e2984Bce8C0ef6Cfc9A0"
|
|
10
|
+
"spaceOwner": "0x0443258849016da8Af08e2984Bce8C0ef6Cfc9A0",
|
|
11
|
+
"utils": {
|
|
12
|
+
"towns": "0x00000000A22C618fd6b4D7E9A335C4B96B189a38"
|
|
13
|
+
}
|
|
11
14
|
}
|
|
12
15
|
},
|
|
13
16
|
"river": {
|
|
@@ -25,7 +28,10 @@
|
|
|
25
28
|
"riverAirdrop": "0xa9aAA53E49d20fd727AB5a6ED697332bb24f3A20",
|
|
26
29
|
"space": "0xa489C4162a39CCE441Ee23c064E6dE6fF0822269",
|
|
27
30
|
"spaceFactory": "0x4e652CdB4715861dDCc4dF159af32223B40c8187",
|
|
28
|
-
"spaceOwner": "0xf3a2E75d7da3c7a7F953b63342f0709972e5002b"
|
|
31
|
+
"spaceOwner": "0xf3a2E75d7da3c7a7F953b63342f0709972e5002b",
|
|
32
|
+
"utils": {
|
|
33
|
+
"towns": "0x00000000A22C618fd6b4D7E9A335C4B96B189a38"
|
|
34
|
+
}
|
|
29
35
|
}
|
|
30
36
|
},
|
|
31
37
|
"river": {
|
|
@@ -45,7 +51,9 @@
|
|
|
45
51
|
"spaceFactory": "0x968696BC59431Ef085441641f550C8e2Eaca8BEd",
|
|
46
52
|
"spaceOwner": "0x9dEdb330A126C6dF2893a33018bb81aFE8573805",
|
|
47
53
|
"swapRouter": "0x4997CC907512275b8D7E1c682a46f17d676F4913",
|
|
48
|
-
"
|
|
54
|
+
"utils": {
|
|
55
|
+
"towns": "0x00000000A22C618fd6b4D7E9A335C4B96B189a38"
|
|
56
|
+
}
|
|
49
57
|
}
|
|
50
58
|
},
|
|
51
59
|
"river": {
|
|
@@ -71,7 +79,9 @@
|
|
|
71
79
|
"spaceFactory": "0x9978c826d93883701522d2CA645d5436e5654252",
|
|
72
80
|
"spaceOwner": "0x2824D1235d1CbcA6d61C00C3ceeCB9155cd33a42",
|
|
73
81
|
"swapRouter": "0x95A2a333D30c8686dE8D01AC464d6034b9aA7b24",
|
|
74
|
-
"
|
|
82
|
+
"utils": {
|
|
83
|
+
"towns": "0x00000000A22C618fd6b4D7E9A335C4B96B189a38"
|
|
84
|
+
}
|
|
75
85
|
}
|
|
76
86
|
},
|
|
77
87
|
"gnosis": {
|
|
@@ -634,25 +634,6 @@
|
|
|
634
634
|
],
|
|
635
635
|
"anonymous": false
|
|
636
636
|
},
|
|
637
|
-
{
|
|
638
|
-
"type": "event",
|
|
639
|
-
"name": "SubscriptionUpdate",
|
|
640
|
-
"inputs": [
|
|
641
|
-
{
|
|
642
|
-
"name": "tokenId",
|
|
643
|
-
"type": "uint256",
|
|
644
|
-
"indexed": true,
|
|
645
|
-
"internalType": "uint256"
|
|
646
|
-
},
|
|
647
|
-
{
|
|
648
|
-
"name": "expiration",
|
|
649
|
-
"type": "uint64",
|
|
650
|
-
"indexed": false,
|
|
651
|
-
"internalType": "uint64"
|
|
652
|
-
}
|
|
653
|
-
],
|
|
654
|
-
"anonymous": false
|
|
655
|
-
},
|
|
656
637
|
{
|
|
657
638
|
"type": "event",
|
|
658
639
|
"name": "Transfer",
|
|
@@ -793,38 +774,6 @@
|
|
|
793
774
|
"name": "ChannelService__RoleDoesNotExist",
|
|
794
775
|
"inputs": []
|
|
795
776
|
},
|
|
796
|
-
{
|
|
797
|
-
"type": "error",
|
|
798
|
-
"name": "ERC5643__DurationZero",
|
|
799
|
-
"inputs": []
|
|
800
|
-
},
|
|
801
|
-
{
|
|
802
|
-
"type": "error",
|
|
803
|
-
"name": "ERC5643__InvalidTokenId",
|
|
804
|
-
"inputs": [
|
|
805
|
-
{
|
|
806
|
-
"name": "tokenId",
|
|
807
|
-
"type": "uint256",
|
|
808
|
-
"internalType": "uint256"
|
|
809
|
-
}
|
|
810
|
-
]
|
|
811
|
-
},
|
|
812
|
-
{
|
|
813
|
-
"type": "error",
|
|
814
|
-
"name": "ERC5643__NotApprovedOrOwner",
|
|
815
|
-
"inputs": []
|
|
816
|
-
},
|
|
817
|
-
{
|
|
818
|
-
"type": "error",
|
|
819
|
-
"name": "ERC5643__SubscriptionNotRenewable",
|
|
820
|
-
"inputs": [
|
|
821
|
-
{
|
|
822
|
-
"name": "tokenId",
|
|
823
|
-
"type": "uint256",
|
|
824
|
-
"internalType": "uint256"
|
|
825
|
-
}
|
|
826
|
-
]
|
|
827
|
-
},
|
|
828
777
|
{
|
|
829
778
|
"type": "error",
|
|
830
779
|
"name": "Entitlement__InvalidValue",
|
package/dev/abis/Channels.abi.ts
CHANGED
|
@@ -634,25 +634,6 @@ export default [
|
|
|
634
634
|
],
|
|
635
635
|
"anonymous": false
|
|
636
636
|
},
|
|
637
|
-
{
|
|
638
|
-
"type": "event",
|
|
639
|
-
"name": "SubscriptionUpdate",
|
|
640
|
-
"inputs": [
|
|
641
|
-
{
|
|
642
|
-
"name": "tokenId",
|
|
643
|
-
"type": "uint256",
|
|
644
|
-
"indexed": true,
|
|
645
|
-
"internalType": "uint256"
|
|
646
|
-
},
|
|
647
|
-
{
|
|
648
|
-
"name": "expiration",
|
|
649
|
-
"type": "uint64",
|
|
650
|
-
"indexed": false,
|
|
651
|
-
"internalType": "uint64"
|
|
652
|
-
}
|
|
653
|
-
],
|
|
654
|
-
"anonymous": false
|
|
655
|
-
},
|
|
656
637
|
{
|
|
657
638
|
"type": "event",
|
|
658
639
|
"name": "Transfer",
|
|
@@ -793,38 +774,6 @@ export default [
|
|
|
793
774
|
"name": "ChannelService__RoleDoesNotExist",
|
|
794
775
|
"inputs": []
|
|
795
776
|
},
|
|
796
|
-
{
|
|
797
|
-
"type": "error",
|
|
798
|
-
"name": "ERC5643__DurationZero",
|
|
799
|
-
"inputs": []
|
|
800
|
-
},
|
|
801
|
-
{
|
|
802
|
-
"type": "error",
|
|
803
|
-
"name": "ERC5643__InvalidTokenId",
|
|
804
|
-
"inputs": [
|
|
805
|
-
{
|
|
806
|
-
"name": "tokenId",
|
|
807
|
-
"type": "uint256",
|
|
808
|
-
"internalType": "uint256"
|
|
809
|
-
}
|
|
810
|
-
]
|
|
811
|
-
},
|
|
812
|
-
{
|
|
813
|
-
"type": "error",
|
|
814
|
-
"name": "ERC5643__NotApprovedOrOwner",
|
|
815
|
-
"inputs": []
|
|
816
|
-
},
|
|
817
|
-
{
|
|
818
|
-
"type": "error",
|
|
819
|
-
"name": "ERC5643__SubscriptionNotRenewable",
|
|
820
|
-
"inputs": [
|
|
821
|
-
{
|
|
822
|
-
"name": "tokenId",
|
|
823
|
-
"type": "uint256",
|
|
824
|
-
"internalType": "uint256"
|
|
825
|
-
}
|
|
826
|
-
]
|
|
827
|
-
},
|
|
828
777
|
{
|
|
829
778
|
"type": "error",
|
|
830
779
|
"name": "Entitlement__InvalidValue",
|
|
@@ -337,25 +337,6 @@
|
|
|
337
337
|
],
|
|
338
338
|
"anonymous": false
|
|
339
339
|
},
|
|
340
|
-
{
|
|
341
|
-
"type": "event",
|
|
342
|
-
"name": "SubscriptionUpdate",
|
|
343
|
-
"inputs": [
|
|
344
|
-
{
|
|
345
|
-
"name": "tokenId",
|
|
346
|
-
"type": "uint256",
|
|
347
|
-
"indexed": true,
|
|
348
|
-
"internalType": "uint256"
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
"name": "expiration",
|
|
352
|
-
"type": "uint64",
|
|
353
|
-
"indexed": false,
|
|
354
|
-
"internalType": "uint64"
|
|
355
|
-
}
|
|
356
|
-
],
|
|
357
|
-
"anonymous": false
|
|
358
|
-
},
|
|
359
340
|
{
|
|
360
341
|
"type": "event",
|
|
361
342
|
"name": "Transfer",
|
|
@@ -471,38 +452,6 @@
|
|
|
471
452
|
}
|
|
472
453
|
]
|
|
473
454
|
},
|
|
474
|
-
{
|
|
475
|
-
"type": "error",
|
|
476
|
-
"name": "ERC5643__DurationZero",
|
|
477
|
-
"inputs": []
|
|
478
|
-
},
|
|
479
|
-
{
|
|
480
|
-
"type": "error",
|
|
481
|
-
"name": "ERC5643__InvalidTokenId",
|
|
482
|
-
"inputs": [
|
|
483
|
-
{
|
|
484
|
-
"name": "tokenId",
|
|
485
|
-
"type": "uint256",
|
|
486
|
-
"internalType": "uint256"
|
|
487
|
-
}
|
|
488
|
-
]
|
|
489
|
-
},
|
|
490
|
-
{
|
|
491
|
-
"type": "error",
|
|
492
|
-
"name": "ERC5643__NotApprovedOrOwner",
|
|
493
|
-
"inputs": []
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
"type": "error",
|
|
497
|
-
"name": "ERC5643__SubscriptionNotRenewable",
|
|
498
|
-
"inputs": [
|
|
499
|
-
{
|
|
500
|
-
"name": "tokenId",
|
|
501
|
-
"type": "uint256",
|
|
502
|
-
"internalType": "uint256"
|
|
503
|
-
}
|
|
504
|
-
]
|
|
505
|
-
},
|
|
506
455
|
{
|
|
507
456
|
"type": "error",
|
|
508
457
|
"name": "Entitlement__InvalidValue",
|
|
@@ -337,25 +337,6 @@ export default [
|
|
|
337
337
|
],
|
|
338
338
|
"anonymous": false
|
|
339
339
|
},
|
|
340
|
-
{
|
|
341
|
-
"type": "event",
|
|
342
|
-
"name": "SubscriptionUpdate",
|
|
343
|
-
"inputs": [
|
|
344
|
-
{
|
|
345
|
-
"name": "tokenId",
|
|
346
|
-
"type": "uint256",
|
|
347
|
-
"indexed": true,
|
|
348
|
-
"internalType": "uint256"
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
"name": "expiration",
|
|
352
|
-
"type": "uint64",
|
|
353
|
-
"indexed": false,
|
|
354
|
-
"internalType": "uint64"
|
|
355
|
-
}
|
|
356
|
-
],
|
|
357
|
-
"anonymous": false
|
|
358
|
-
},
|
|
359
340
|
{
|
|
360
341
|
"type": "event",
|
|
361
342
|
"name": "Transfer",
|
|
@@ -471,38 +452,6 @@ export default [
|
|
|
471
452
|
}
|
|
472
453
|
]
|
|
473
454
|
},
|
|
474
|
-
{
|
|
475
|
-
"type": "error",
|
|
476
|
-
"name": "ERC5643__DurationZero",
|
|
477
|
-
"inputs": []
|
|
478
|
-
},
|
|
479
|
-
{
|
|
480
|
-
"type": "error",
|
|
481
|
-
"name": "ERC5643__InvalidTokenId",
|
|
482
|
-
"inputs": [
|
|
483
|
-
{
|
|
484
|
-
"name": "tokenId",
|
|
485
|
-
"type": "uint256",
|
|
486
|
-
"internalType": "uint256"
|
|
487
|
-
}
|
|
488
|
-
]
|
|
489
|
-
},
|
|
490
|
-
{
|
|
491
|
-
"type": "error",
|
|
492
|
-
"name": "ERC5643__NotApprovedOrOwner",
|
|
493
|
-
"inputs": []
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
"type": "error",
|
|
497
|
-
"name": "ERC5643__SubscriptionNotRenewable",
|
|
498
|
-
"inputs": [
|
|
499
|
-
{
|
|
500
|
-
"name": "tokenId",
|
|
501
|
-
"type": "uint256",
|
|
502
|
-
"internalType": "uint256"
|
|
503
|
-
}
|
|
504
|
-
]
|
|
505
|
-
},
|
|
506
455
|
{
|
|
507
456
|
"type": "error",
|
|
508
457
|
"name": "Entitlement__InvalidValue",
|
|
@@ -87,19 +87,6 @@
|
|
|
87
87
|
],
|
|
88
88
|
"stateMutability": "view"
|
|
89
89
|
},
|
|
90
|
-
{
|
|
91
|
-
"type": "function",
|
|
92
|
-
"name": "mainnetDelegation",
|
|
93
|
-
"inputs": [],
|
|
94
|
-
"outputs": [
|
|
95
|
-
{
|
|
96
|
-
"name": "",
|
|
97
|
-
"type": "address",
|
|
98
|
-
"internalType": "address"
|
|
99
|
-
}
|
|
100
|
-
],
|
|
101
|
-
"stateMutability": "view"
|
|
102
|
-
},
|
|
103
90
|
{
|
|
104
91
|
"type": "function",
|
|
105
92
|
"name": "removeSpaceDelegation",
|
|
@@ -113,45 +100,6 @@
|
|
|
113
100
|
"outputs": [],
|
|
114
101
|
"stateMutability": "nonpayable"
|
|
115
102
|
},
|
|
116
|
-
{
|
|
117
|
-
"type": "function",
|
|
118
|
-
"name": "riverToken",
|
|
119
|
-
"inputs": [],
|
|
120
|
-
"outputs": [
|
|
121
|
-
{
|
|
122
|
-
"name": "",
|
|
123
|
-
"type": "address",
|
|
124
|
-
"internalType": "address"
|
|
125
|
-
}
|
|
126
|
-
],
|
|
127
|
-
"stateMutability": "view"
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"type": "function",
|
|
131
|
-
"name": "setMainnetDelegation",
|
|
132
|
-
"inputs": [
|
|
133
|
-
{
|
|
134
|
-
"name": "mainnetDelegation_",
|
|
135
|
-
"type": "address",
|
|
136
|
-
"internalType": "address"
|
|
137
|
-
}
|
|
138
|
-
],
|
|
139
|
-
"outputs": [],
|
|
140
|
-
"stateMutability": "nonpayable"
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"type": "function",
|
|
144
|
-
"name": "setRiverToken",
|
|
145
|
-
"inputs": [
|
|
146
|
-
{
|
|
147
|
-
"name": "riverToken",
|
|
148
|
-
"type": "address",
|
|
149
|
-
"internalType": "address"
|
|
150
|
-
}
|
|
151
|
-
],
|
|
152
|
-
"outputs": [],
|
|
153
|
-
"stateMutability": "nonpayable"
|
|
154
|
-
},
|
|
155
103
|
{
|
|
156
104
|
"type": "function",
|
|
157
105
|
"name": "setSpaceFactory",
|
|
@@ -165,45 +113,6 @@
|
|
|
165
113
|
"outputs": [],
|
|
166
114
|
"stateMutability": "nonpayable"
|
|
167
115
|
},
|
|
168
|
-
{
|
|
169
|
-
"type": "function",
|
|
170
|
-
"name": "setStakeRequirement",
|
|
171
|
-
"inputs": [
|
|
172
|
-
{
|
|
173
|
-
"name": "stakeRequirement_",
|
|
174
|
-
"type": "uint256",
|
|
175
|
-
"internalType": "uint256"
|
|
176
|
-
}
|
|
177
|
-
],
|
|
178
|
-
"outputs": [],
|
|
179
|
-
"stateMutability": "nonpayable"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"type": "function",
|
|
183
|
-
"name": "stakeRequirement",
|
|
184
|
-
"inputs": [],
|
|
185
|
-
"outputs": [
|
|
186
|
-
{
|
|
187
|
-
"name": "",
|
|
188
|
-
"type": "uint256",
|
|
189
|
-
"internalType": "uint256"
|
|
190
|
-
}
|
|
191
|
-
],
|
|
192
|
-
"stateMutability": "view"
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"type": "event",
|
|
196
|
-
"name": "MainnetDelegationChanged",
|
|
197
|
-
"inputs": [
|
|
198
|
-
{
|
|
199
|
-
"name": "mainnetDelegation",
|
|
200
|
-
"type": "address",
|
|
201
|
-
"indexed": true,
|
|
202
|
-
"internalType": "address"
|
|
203
|
-
}
|
|
204
|
-
],
|
|
205
|
-
"anonymous": false
|
|
206
|
-
},
|
|
207
116
|
{
|
|
208
117
|
"type": "event",
|
|
209
118
|
"name": "RiverTokenChanged",
|
|
@@ -249,19 +158,6 @@
|
|
|
249
158
|
],
|
|
250
159
|
"anonymous": false
|
|
251
160
|
},
|
|
252
|
-
{
|
|
253
|
-
"type": "event",
|
|
254
|
-
"name": "StakeRequirementChanged",
|
|
255
|
-
"inputs": [
|
|
256
|
-
{
|
|
257
|
-
"name": "stakeRequirement",
|
|
258
|
-
"type": "uint256",
|
|
259
|
-
"indexed": false,
|
|
260
|
-
"internalType": "uint256"
|
|
261
|
-
}
|
|
262
|
-
],
|
|
263
|
-
"anonymous": false
|
|
264
|
-
},
|
|
265
161
|
{
|
|
266
162
|
"type": "error",
|
|
267
163
|
"name": "SpaceDelegation__AlreadyDelegated",
|
|
@@ -273,11 +169,6 @@
|
|
|
273
169
|
}
|
|
274
170
|
]
|
|
275
171
|
},
|
|
276
|
-
{
|
|
277
|
-
"type": "error",
|
|
278
|
-
"name": "SpaceDelegation__AlreadyRegistered",
|
|
279
|
-
"inputs": []
|
|
280
|
-
},
|
|
281
172
|
{
|
|
282
173
|
"type": "error",
|
|
283
174
|
"name": "SpaceDelegation__InvalidAddress",
|
|
@@ -300,27 +191,17 @@
|
|
|
300
191
|
},
|
|
301
192
|
{
|
|
302
193
|
"type": "error",
|
|
303
|
-
"name": "
|
|
304
|
-
"inputs": []
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
"type": "error",
|
|
308
|
-
"name": "SpaceDelegation__NotEnoughStake",
|
|
309
|
-
"inputs": []
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
"type": "error",
|
|
313
|
-
"name": "SpaceDelegation__NotRegistered",
|
|
194
|
+
"name": "SpaceDelegation__NotDelegated",
|
|
314
195
|
"inputs": []
|
|
315
196
|
},
|
|
316
197
|
{
|
|
317
198
|
"type": "error",
|
|
318
|
-
"name": "
|
|
199
|
+
"name": "SpaceDelegation__NotSpaceMember",
|
|
319
200
|
"inputs": []
|
|
320
201
|
},
|
|
321
202
|
{
|
|
322
203
|
"type": "error",
|
|
323
|
-
"name": "
|
|
204
|
+
"name": "SpaceDelegation__NotSpaceOwner",
|
|
324
205
|
"inputs": []
|
|
325
206
|
}
|
|
326
207
|
]
|
|
@@ -87,19 +87,6 @@ export default [
|
|
|
87
87
|
],
|
|
88
88
|
"stateMutability": "view"
|
|
89
89
|
},
|
|
90
|
-
{
|
|
91
|
-
"type": "function",
|
|
92
|
-
"name": "mainnetDelegation",
|
|
93
|
-
"inputs": [],
|
|
94
|
-
"outputs": [
|
|
95
|
-
{
|
|
96
|
-
"name": "",
|
|
97
|
-
"type": "address",
|
|
98
|
-
"internalType": "address"
|
|
99
|
-
}
|
|
100
|
-
],
|
|
101
|
-
"stateMutability": "view"
|
|
102
|
-
},
|
|
103
90
|
{
|
|
104
91
|
"type": "function",
|
|
105
92
|
"name": "removeSpaceDelegation",
|
|
@@ -113,45 +100,6 @@ export default [
|
|
|
113
100
|
"outputs": [],
|
|
114
101
|
"stateMutability": "nonpayable"
|
|
115
102
|
},
|
|
116
|
-
{
|
|
117
|
-
"type": "function",
|
|
118
|
-
"name": "riverToken",
|
|
119
|
-
"inputs": [],
|
|
120
|
-
"outputs": [
|
|
121
|
-
{
|
|
122
|
-
"name": "",
|
|
123
|
-
"type": "address",
|
|
124
|
-
"internalType": "address"
|
|
125
|
-
}
|
|
126
|
-
],
|
|
127
|
-
"stateMutability": "view"
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"type": "function",
|
|
131
|
-
"name": "setMainnetDelegation",
|
|
132
|
-
"inputs": [
|
|
133
|
-
{
|
|
134
|
-
"name": "mainnetDelegation_",
|
|
135
|
-
"type": "address",
|
|
136
|
-
"internalType": "address"
|
|
137
|
-
}
|
|
138
|
-
],
|
|
139
|
-
"outputs": [],
|
|
140
|
-
"stateMutability": "nonpayable"
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"type": "function",
|
|
144
|
-
"name": "setRiverToken",
|
|
145
|
-
"inputs": [
|
|
146
|
-
{
|
|
147
|
-
"name": "riverToken",
|
|
148
|
-
"type": "address",
|
|
149
|
-
"internalType": "address"
|
|
150
|
-
}
|
|
151
|
-
],
|
|
152
|
-
"outputs": [],
|
|
153
|
-
"stateMutability": "nonpayable"
|
|
154
|
-
},
|
|
155
103
|
{
|
|
156
104
|
"type": "function",
|
|
157
105
|
"name": "setSpaceFactory",
|
|
@@ -165,45 +113,6 @@ export default [
|
|
|
165
113
|
"outputs": [],
|
|
166
114
|
"stateMutability": "nonpayable"
|
|
167
115
|
},
|
|
168
|
-
{
|
|
169
|
-
"type": "function",
|
|
170
|
-
"name": "setStakeRequirement",
|
|
171
|
-
"inputs": [
|
|
172
|
-
{
|
|
173
|
-
"name": "stakeRequirement_",
|
|
174
|
-
"type": "uint256",
|
|
175
|
-
"internalType": "uint256"
|
|
176
|
-
}
|
|
177
|
-
],
|
|
178
|
-
"outputs": [],
|
|
179
|
-
"stateMutability": "nonpayable"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"type": "function",
|
|
183
|
-
"name": "stakeRequirement",
|
|
184
|
-
"inputs": [],
|
|
185
|
-
"outputs": [
|
|
186
|
-
{
|
|
187
|
-
"name": "",
|
|
188
|
-
"type": "uint256",
|
|
189
|
-
"internalType": "uint256"
|
|
190
|
-
}
|
|
191
|
-
],
|
|
192
|
-
"stateMutability": "view"
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"type": "event",
|
|
196
|
-
"name": "MainnetDelegationChanged",
|
|
197
|
-
"inputs": [
|
|
198
|
-
{
|
|
199
|
-
"name": "mainnetDelegation",
|
|
200
|
-
"type": "address",
|
|
201
|
-
"indexed": true,
|
|
202
|
-
"internalType": "address"
|
|
203
|
-
}
|
|
204
|
-
],
|
|
205
|
-
"anonymous": false
|
|
206
|
-
},
|
|
207
116
|
{
|
|
208
117
|
"type": "event",
|
|
209
118
|
"name": "RiverTokenChanged",
|
|
@@ -249,19 +158,6 @@ export default [
|
|
|
249
158
|
],
|
|
250
159
|
"anonymous": false
|
|
251
160
|
},
|
|
252
|
-
{
|
|
253
|
-
"type": "event",
|
|
254
|
-
"name": "StakeRequirementChanged",
|
|
255
|
-
"inputs": [
|
|
256
|
-
{
|
|
257
|
-
"name": "stakeRequirement",
|
|
258
|
-
"type": "uint256",
|
|
259
|
-
"indexed": false,
|
|
260
|
-
"internalType": "uint256"
|
|
261
|
-
}
|
|
262
|
-
],
|
|
263
|
-
"anonymous": false
|
|
264
|
-
},
|
|
265
161
|
{
|
|
266
162
|
"type": "error",
|
|
267
163
|
"name": "SpaceDelegation__AlreadyDelegated",
|
|
@@ -273,11 +169,6 @@ export default [
|
|
|
273
169
|
}
|
|
274
170
|
]
|
|
275
171
|
},
|
|
276
|
-
{
|
|
277
|
-
"type": "error",
|
|
278
|
-
"name": "SpaceDelegation__AlreadyRegistered",
|
|
279
|
-
"inputs": []
|
|
280
|
-
},
|
|
281
172
|
{
|
|
282
173
|
"type": "error",
|
|
283
174
|
"name": "SpaceDelegation__InvalidAddress",
|
|
@@ -300,27 +191,17 @@ export default [
|
|
|
300
191
|
},
|
|
301
192
|
{
|
|
302
193
|
"type": "error",
|
|
303
|
-
"name": "
|
|
304
|
-
"inputs": []
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
"type": "error",
|
|
308
|
-
"name": "SpaceDelegation__NotEnoughStake",
|
|
309
|
-
"inputs": []
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
"type": "error",
|
|
313
|
-
"name": "SpaceDelegation__NotRegistered",
|
|
194
|
+
"name": "SpaceDelegation__NotDelegated",
|
|
314
195
|
"inputs": []
|
|
315
196
|
},
|
|
316
197
|
{
|
|
317
198
|
"type": "error",
|
|
318
|
-
"name": "
|
|
199
|
+
"name": "SpaceDelegation__NotSpaceMember",
|
|
319
200
|
"inputs": []
|
|
320
201
|
},
|
|
321
202
|
{
|
|
322
203
|
"type": "error",
|
|
323
|
-
"name": "
|
|
204
|
+
"name": "SpaceDelegation__NotSpaceOwner",
|
|
324
205
|
"inputs": []
|
|
325
206
|
}
|
|
326
207
|
] as const
|