|
2 | 2 | {
|
3 | 3 | "constant": true,
|
4 | 4 | "inputs": [],
|
5 |
| - "name": "owner", |
| 5 | + "name": "validatorCount", |
6 | 6 | "outputs": [
|
7 | 7 | {
|
8 | 8 | "name": "",
|
9 |
| - "type": "address" |
| 9 | + "type": "uint256" |
10 | 10 | }
|
11 | 11 | ],
|
12 | 12 | "payable": false,
|
13 | 13 | "stateMutability": "view",
|
14 | 14 | "type": "function"
|
15 | 15 | },
|
16 | 16 | {
|
17 |
| - "constant": false, |
18 |
| - "inputs": [ |
| 17 | + "constant": true, |
| 18 | + "inputs": [], |
| 19 | + "name": "getBridgeValidatorsInterfacesVersion", |
| 20 | + "outputs": [ |
19 | 21 | {
|
20 |
| - "name": "newOwner", |
21 |
| - "type": "address" |
| 22 | + "name": "major", |
| 23 | + "type": "uint64" |
| 24 | + }, |
| 25 | + { |
| 26 | + "name": "minor", |
| 27 | + "type": "uint64" |
| 28 | + }, |
| 29 | + { |
| 30 | + "name": "patch", |
| 31 | + "type": "uint64" |
22 | 32 | }
|
23 | 33 | ],
|
24 |
| - "name": "transferOwnership", |
25 |
| - "outputs": [], |
26 | 34 | "payable": false,
|
27 |
| - "stateMutability": "nonpayable", |
| 35 | + "stateMutability": "pure", |
28 | 36 | "type": "function"
|
29 | 37 | },
|
30 | 38 | {
|
31 |
| - "anonymous": false, |
32 |
| - "inputs": [ |
| 39 | + "constant": true, |
| 40 | + "inputs": [], |
| 41 | + "name": "isInitialized", |
| 42 | + "outputs": [ |
33 | 43 | {
|
34 |
| - "indexed": true, |
35 |
| - "name": "validator", |
36 |
| - "type": "address" |
| 44 | + "name": "", |
| 45 | + "type": "bool" |
37 | 46 | }
|
38 | 47 | ],
|
39 |
| - "name": "ValidatorAdded", |
40 |
| - "type": "event" |
| 48 | + "payable": false, |
| 49 | + "stateMutability": "view", |
| 50 | + "type": "function" |
41 | 51 | },
|
42 | 52 | {
|
43 |
| - "anonymous": false, |
44 |
| - "inputs": [ |
| 53 | + "constant": true, |
| 54 | + "inputs": [], |
| 55 | + "name": "validatorList", |
| 56 | + "outputs": [ |
45 | 57 | {
|
46 |
| - "indexed": true, |
47 |
| - "name": "validator", |
48 |
| - "type": "address" |
| 58 | + "name": "", |
| 59 | + "type": "address[]" |
49 | 60 | }
|
50 | 61 | ],
|
51 |
| - "name": "ValidatorRemoved", |
52 |
| - "type": "event" |
| 62 | + "payable": false, |
| 63 | + "stateMutability": "view", |
| 64 | + "type": "function" |
53 | 65 | },
|
54 | 66 | {
|
55 |
| - "anonymous": false, |
| 67 | + "constant": false, |
56 | 68 | "inputs": [
|
57 | 69 | {
|
58 |
| - "indexed": false, |
59 |
| - "name": "requiredSignatures", |
| 70 | + "name": "_requiredSignatures", |
60 | 71 | "type": "uint256"
|
61 | 72 | }
|
62 | 73 | ],
|
63 |
| - "name": "RequiredSignaturesChanged", |
64 |
| - "type": "event" |
| 74 | + "name": "setRequiredSignatures", |
| 75 | + "outputs": [], |
| 76 | + "payable": false, |
| 77 | + "stateMutability": "nonpayable", |
| 78 | + "type": "function" |
65 | 79 | },
|
66 | 80 | {
|
67 |
| - "anonymous": false, |
68 |
| - "inputs": [ |
69 |
| - { |
70 |
| - "indexed": false, |
71 |
| - "name": "previousOwner", |
72 |
| - "type": "address" |
73 |
| - }, |
| 81 | + "constant": true, |
| 82 | + "inputs": [], |
| 83 | + "name": "requiredSignatures", |
| 84 | + "outputs": [ |
74 | 85 | {
|
75 |
| - "indexed": false, |
76 |
| - "name": "newOwner", |
77 |
| - "type": "address" |
| 86 | + "name": "", |
| 87 | + "type": "uint256" |
78 | 88 | }
|
79 | 89 | ],
|
80 |
| - "name": "OwnershipTransferred", |
81 |
| - "type": "event" |
| 90 | + "payable": false, |
| 91 | + "stateMutability": "view", |
| 92 | + "type": "function" |
82 | 93 | },
|
83 | 94 | {
|
84 |
| - "constant": false, |
| 95 | + "constant": true, |
85 | 96 | "inputs": [
|
86 | 97 | {
|
87 |
| - "name": "_requiredSignatures", |
88 |
| - "type": "uint256" |
89 |
| - }, |
90 |
| - { |
91 |
| - "name": "_initialValidators", |
92 |
| - "type": "address[]" |
93 |
| - }, |
94 |
| - { |
95 |
| - "name": "_owner", |
| 98 | + "name": "_address", |
96 | 99 | "type": "address"
|
97 | 100 | }
|
98 | 101 | ],
|
99 |
| - "name": "initialize", |
| 102 | + "name": "getNextValidator", |
100 | 103 | "outputs": [
|
101 | 104 | {
|
102 | 105 | "name": "",
|
103 |
| - "type": "bool" |
104 |
| - } |
105 |
| - ], |
106 |
| - "payable": false, |
107 |
| - "stateMutability": "nonpayable", |
108 |
| - "type": "function" |
109 |
| - }, |
110 |
| - { |
111 |
| - "constant": false, |
112 |
| - "inputs": [ |
113 |
| - { |
114 |
| - "name": "_validator", |
115 | 106 | "type": "address"
|
116 | 107 | }
|
117 | 108 | ],
|
118 |
| - "name": "addValidator", |
119 |
| - "outputs": [], |
120 | 109 | "payable": false,
|
121 |
| - "stateMutability": "nonpayable", |
| 110 | + "stateMutability": "view", |
122 | 111 | "type": "function"
|
123 | 112 | },
|
124 | 113 | {
|
125 |
| - "constant": false, |
126 |
| - "inputs": [ |
| 114 | + "constant": true, |
| 115 | + "inputs": [], |
| 116 | + "name": "owner", |
| 117 | + "outputs": [ |
127 | 118 | {
|
128 |
| - "name": "_validator", |
| 119 | + "name": "", |
129 | 120 | "type": "address"
|
130 | 121 | }
|
131 | 122 | ],
|
132 |
| - "name": "removeValidator", |
133 |
| - "outputs": [], |
134 | 123 | "payable": false,
|
135 |
| - "stateMutability": "nonpayable", |
| 124 | + "stateMutability": "view", |
136 | 125 | "type": "function"
|
137 | 126 | },
|
138 | 127 | {
|
139 |
| - "constant": false, |
140 |
| - "inputs": [ |
| 128 | + "constant": true, |
| 129 | + "inputs": [], |
| 130 | + "name": "deployedAtBlock", |
| 131 | + "outputs": [ |
141 | 132 | {
|
142 |
| - "name": "_requiredSignatures", |
| 133 | + "name": "", |
143 | 134 | "type": "uint256"
|
144 | 135 | }
|
145 | 136 | ],
|
146 |
| - "name": "setRequiredSignatures", |
147 |
| - "outputs": [], |
148 | 137 | "payable": false,
|
149 |
| - "stateMutability": "nonpayable", |
| 138 | + "stateMutability": "view", |
150 | 139 | "type": "function"
|
151 | 140 | },
|
152 | 141 | {
|
153 | 142 | "constant": true,
|
154 | 143 | "inputs": [],
|
155 |
| - "name": "requiredSignatures", |
| 144 | + "name": "F_ADDR", |
156 | 145 | "outputs": [
|
157 | 146 | {
|
158 | 147 | "name": "",
|
159 |
| - "type": "uint256" |
| 148 | + "type": "address" |
160 | 149 | }
|
161 | 150 | ],
|
162 | 151 | "payable": false,
|
163 | 152 | "stateMutability": "view",
|
164 | 153 | "type": "function"
|
165 | 154 | },
|
166 | 155 | {
|
167 |
| - "constant": true, |
168 |
| - "inputs": [], |
169 |
| - "name": "validatorCount", |
170 |
| - "outputs": [ |
| 156 | + "constant": false, |
| 157 | + "inputs": [ |
171 | 158 | {
|
172 |
| - "name": "", |
173 |
| - "type": "uint256" |
| 159 | + "name": "newOwner", |
| 160 | + "type": "address" |
174 | 161 | }
|
175 | 162 | ],
|
| 163 | + "name": "transferOwnership", |
| 164 | + "outputs": [], |
176 | 165 | "payable": false,
|
177 |
| - "stateMutability": "view", |
| 166 | + "stateMutability": "nonpayable", |
178 | 167 | "type": "function"
|
179 | 168 | },
|
180 | 169 | {
|
|
185 | 174 | "type": "address"
|
186 | 175 | }
|
187 | 176 | ],
|
188 |
| - "name": "validators", |
| 177 | + "name": "isValidator", |
189 | 178 | "outputs": [
|
190 | 179 | {
|
191 | 180 | "name": "",
|
|
197 | 186 | "type": "function"
|
198 | 187 | },
|
199 | 188 | {
|
200 |
| - "constant": true, |
| 189 | + "anonymous": false, |
201 | 190 | "inputs": [
|
202 | 191 | {
|
203 |
| - "name": "_validator", |
| 192 | + "indexed": true, |
| 193 | + "name": "validator", |
204 | 194 | "type": "address"
|
205 | 195 | }
|
206 | 196 | ],
|
207 |
| - "name": "isValidator", |
| 197 | + "name": "ValidatorAdded", |
| 198 | + "type": "event" |
| 199 | + }, |
| 200 | + { |
| 201 | + "anonymous": false, |
| 202 | + "inputs": [ |
| 203 | + { |
| 204 | + "indexed": true, |
| 205 | + "name": "validator", |
| 206 | + "type": "address" |
| 207 | + } |
| 208 | + ], |
| 209 | + "name": "ValidatorRemoved", |
| 210 | + "type": "event" |
| 211 | + }, |
| 212 | + { |
| 213 | + "anonymous": false, |
| 214 | + "inputs": [ |
| 215 | + { |
| 216 | + "indexed": false, |
| 217 | + "name": "requiredSignatures", |
| 218 | + "type": "uint256" |
| 219 | + } |
| 220 | + ], |
| 221 | + "name": "RequiredSignaturesChanged", |
| 222 | + "type": "event" |
| 223 | + }, |
| 224 | + { |
| 225 | + "anonymous": false, |
| 226 | + "inputs": [ |
| 227 | + { |
| 228 | + "indexed": false, |
| 229 | + "name": "previousOwner", |
| 230 | + "type": "address" |
| 231 | + }, |
| 232 | + { |
| 233 | + "indexed": false, |
| 234 | + "name": "newOwner", |
| 235 | + "type": "address" |
| 236 | + } |
| 237 | + ], |
| 238 | + "name": "OwnershipTransferred", |
| 239 | + "type": "event" |
| 240 | + }, |
| 241 | + { |
| 242 | + "constant": false, |
| 243 | + "inputs": [ |
| 244 | + { |
| 245 | + "name": "_requiredSignatures", |
| 246 | + "type": "uint256" |
| 247 | + }, |
| 248 | + { |
| 249 | + "name": "_initialValidators", |
| 250 | + "type": "address[]" |
| 251 | + }, |
| 252 | + { |
| 253 | + "name": "_owner", |
| 254 | + "type": "address" |
| 255 | + } |
| 256 | + ], |
| 257 | + "name": "initialize", |
208 | 258 | "outputs": [
|
209 | 259 | {
|
210 | 260 | "name": "",
|
211 | 261 | "type": "bool"
|
212 | 262 | }
|
213 | 263 | ],
|
214 | 264 | "payable": false,
|
215 |
| - "stateMutability": "view", |
| 265 | + "stateMutability": "nonpayable", |
216 | 266 | "type": "function"
|
217 | 267 | },
|
218 | 268 | {
|
219 |
| - "constant": true, |
220 |
| - "inputs": [], |
221 |
| - "name": "isInitialized", |
222 |
| - "outputs": [ |
| 269 | + "constant": false, |
| 270 | + "inputs": [ |
223 | 271 | {
|
224 |
| - "name": "", |
225 |
| - "type": "bool" |
| 272 | + "name": "_validator", |
| 273 | + "type": "address" |
226 | 274 | }
|
227 | 275 | ],
|
| 276 | + "name": "addValidator", |
| 277 | + "outputs": [], |
228 | 278 | "payable": false,
|
229 |
| - "stateMutability": "view", |
| 279 | + "stateMutability": "nonpayable", |
230 | 280 | "type": "function"
|
231 | 281 | },
|
232 | 282 | {
|
233 |
| - "constant": true, |
234 |
| - "inputs": [], |
235 |
| - "name": "deployedAtBlock", |
236 |
| - "outputs": [ |
| 283 | + "constant": false, |
| 284 | + "inputs": [ |
237 | 285 | {
|
238 |
| - "name": "", |
239 |
| - "type": "uint256" |
| 286 | + "name": "_validator", |
| 287 | + "type": "address" |
240 | 288 | }
|
241 | 289 | ],
|
| 290 | + "name": "removeValidator", |
| 291 | + "outputs": [], |
242 | 292 | "payable": false,
|
243 |
| - "stateMutability": "view", |
| 293 | + "stateMutability": "nonpayable", |
244 | 294 | "type": "function"
|
245 | 295 | }
|
246 | 296 | ]
|
0 commit comments