Skip to content

Commit adb2931

Browse files
authored
Merge pull request #148 from poanetwork/update-contract-submodule
Update contract submodule and abi files
2 parents db1d695 + 08c53a8 commit adb2931

13 files changed

+2738
-523
lines changed

abis/BridgeValidators.abi.json

+156-106
Original file line numberDiff line numberDiff line change
@@ -2,179 +2,168 @@
22
{
33
"constant": true,
44
"inputs": [],
5-
"name": "owner",
5+
"name": "validatorCount",
66
"outputs": [
77
{
88
"name": "",
9-
"type": "address"
9+
"type": "uint256"
1010
}
1111
],
1212
"payable": false,
1313
"stateMutability": "view",
1414
"type": "function"
1515
},
1616
{
17-
"constant": false,
18-
"inputs": [
17+
"constant": true,
18+
"inputs": [],
19+
"name": "getBridgeValidatorsInterfacesVersion",
20+
"outputs": [
1921
{
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"
2232
}
2333
],
24-
"name": "transferOwnership",
25-
"outputs": [],
2634
"payable": false,
27-
"stateMutability": "nonpayable",
35+
"stateMutability": "pure",
2836
"type": "function"
2937
},
3038
{
31-
"anonymous": false,
32-
"inputs": [
39+
"constant": true,
40+
"inputs": [],
41+
"name": "isInitialized",
42+
"outputs": [
3343
{
34-
"indexed": true,
35-
"name": "validator",
36-
"type": "address"
44+
"name": "",
45+
"type": "bool"
3746
}
3847
],
39-
"name": "ValidatorAdded",
40-
"type": "event"
48+
"payable": false,
49+
"stateMutability": "view",
50+
"type": "function"
4151
},
4252
{
43-
"anonymous": false,
44-
"inputs": [
53+
"constant": true,
54+
"inputs": [],
55+
"name": "validatorList",
56+
"outputs": [
4557
{
46-
"indexed": true,
47-
"name": "validator",
48-
"type": "address"
58+
"name": "",
59+
"type": "address[]"
4960
}
5061
],
51-
"name": "ValidatorRemoved",
52-
"type": "event"
62+
"payable": false,
63+
"stateMutability": "view",
64+
"type": "function"
5365
},
5466
{
55-
"anonymous": false,
67+
"constant": false,
5668
"inputs": [
5769
{
58-
"indexed": false,
59-
"name": "requiredSignatures",
70+
"name": "_requiredSignatures",
6071
"type": "uint256"
6172
}
6273
],
63-
"name": "RequiredSignaturesChanged",
64-
"type": "event"
74+
"name": "setRequiredSignatures",
75+
"outputs": [],
76+
"payable": false,
77+
"stateMutability": "nonpayable",
78+
"type": "function"
6579
},
6680
{
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": [
7485
{
75-
"indexed": false,
76-
"name": "newOwner",
77-
"type": "address"
86+
"name": "",
87+
"type": "uint256"
7888
}
7989
],
80-
"name": "OwnershipTransferred",
81-
"type": "event"
90+
"payable": false,
91+
"stateMutability": "view",
92+
"type": "function"
8293
},
8394
{
84-
"constant": false,
95+
"constant": true,
8596
"inputs": [
8697
{
87-
"name": "_requiredSignatures",
88-
"type": "uint256"
89-
},
90-
{
91-
"name": "_initialValidators",
92-
"type": "address[]"
93-
},
94-
{
95-
"name": "_owner",
98+
"name": "_address",
9699
"type": "address"
97100
}
98101
],
99-
"name": "initialize",
102+
"name": "getNextValidator",
100103
"outputs": [
101104
{
102105
"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",
115106
"type": "address"
116107
}
117108
],
118-
"name": "addValidator",
119-
"outputs": [],
120109
"payable": false,
121-
"stateMutability": "nonpayable",
110+
"stateMutability": "view",
122111
"type": "function"
123112
},
124113
{
125-
"constant": false,
126-
"inputs": [
114+
"constant": true,
115+
"inputs": [],
116+
"name": "owner",
117+
"outputs": [
127118
{
128-
"name": "_validator",
119+
"name": "",
129120
"type": "address"
130121
}
131122
],
132-
"name": "removeValidator",
133-
"outputs": [],
134123
"payable": false,
135-
"stateMutability": "nonpayable",
124+
"stateMutability": "view",
136125
"type": "function"
137126
},
138127
{
139-
"constant": false,
140-
"inputs": [
128+
"constant": true,
129+
"inputs": [],
130+
"name": "deployedAtBlock",
131+
"outputs": [
141132
{
142-
"name": "_requiredSignatures",
133+
"name": "",
143134
"type": "uint256"
144135
}
145136
],
146-
"name": "setRequiredSignatures",
147-
"outputs": [],
148137
"payable": false,
149-
"stateMutability": "nonpayable",
138+
"stateMutability": "view",
150139
"type": "function"
151140
},
152141
{
153142
"constant": true,
154143
"inputs": [],
155-
"name": "requiredSignatures",
144+
"name": "F_ADDR",
156145
"outputs": [
157146
{
158147
"name": "",
159-
"type": "uint256"
148+
"type": "address"
160149
}
161150
],
162151
"payable": false,
163152
"stateMutability": "view",
164153
"type": "function"
165154
},
166155
{
167-
"constant": true,
168-
"inputs": [],
169-
"name": "validatorCount",
170-
"outputs": [
156+
"constant": false,
157+
"inputs": [
171158
{
172-
"name": "",
173-
"type": "uint256"
159+
"name": "newOwner",
160+
"type": "address"
174161
}
175162
],
163+
"name": "transferOwnership",
164+
"outputs": [],
176165
"payable": false,
177-
"stateMutability": "view",
166+
"stateMutability": "nonpayable",
178167
"type": "function"
179168
},
180169
{
@@ -185,7 +174,7 @@
185174
"type": "address"
186175
}
187176
],
188-
"name": "validators",
177+
"name": "isValidator",
189178
"outputs": [
190179
{
191180
"name": "",
@@ -197,50 +186,111 @@
197186
"type": "function"
198187
},
199188
{
200-
"constant": true,
189+
"anonymous": false,
201190
"inputs": [
202191
{
203-
"name": "_validator",
192+
"indexed": true,
193+
"name": "validator",
204194
"type": "address"
205195
}
206196
],
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",
208258
"outputs": [
209259
{
210260
"name": "",
211261
"type": "bool"
212262
}
213263
],
214264
"payable": false,
215-
"stateMutability": "view",
265+
"stateMutability": "nonpayable",
216266
"type": "function"
217267
},
218268
{
219-
"constant": true,
220-
"inputs": [],
221-
"name": "isInitialized",
222-
"outputs": [
269+
"constant": false,
270+
"inputs": [
223271
{
224-
"name": "",
225-
"type": "bool"
272+
"name": "_validator",
273+
"type": "address"
226274
}
227275
],
276+
"name": "addValidator",
277+
"outputs": [],
228278
"payable": false,
229-
"stateMutability": "view",
279+
"stateMutability": "nonpayable",
230280
"type": "function"
231281
},
232282
{
233-
"constant": true,
234-
"inputs": [],
235-
"name": "deployedAtBlock",
236-
"outputs": [
283+
"constant": false,
284+
"inputs": [
237285
{
238-
"name": "",
239-
"type": "uint256"
286+
"name": "_validator",
287+
"type": "address"
240288
}
241289
],
290+
"name": "removeValidator",
291+
"outputs": [],
242292
"payable": false,
243-
"stateMutability": "view",
293+
"stateMutability": "nonpayable",
244294
"type": "function"
245295
}
246296
]

0 commit comments

Comments
 (0)