@@ -62,73 +62,76 @@ def get_oracles_contract() -> Contract:
62
62
"stateMutability" : "view" ,
63
63
"type" : "function" ,
64
64
},
65
+ {
66
+ "inputs" : [
67
+ {"internalType" : "bytes32" , "name" : "role" , "type" : "bytes32" }
68
+ ],
69
+ "name" : "getRoleMemberCount" ,
70
+ "outputs" : [{"internalType" : "uint256" , "name" : "" , "type" : "uint256" }],
71
+ "stateMutability" : "view" ,
72
+ "type" : "function" ,
73
+ },
74
+ {
75
+ "inputs" : [
76
+ {"internalType" : "bytes32" , "name" : "role" , "type" : "bytes32" },
77
+ {"internalType" : "uint256" , "name" : "index" , "type" : "uint256" },
78
+ ],
79
+ "name" : "getRoleMember" ,
80
+ "outputs" : [{"internalType" : "address" , "name" : "" , "type" : "address" }],
81
+ "stateMutability" : "view" ,
82
+ "type" : "function" ,
83
+ },
84
+ {
85
+ "inputs" : [],
86
+ "name" : "paused" ,
87
+ "outputs" : [{"internalType" : "bool" , "name" : "" , "type" : "bool" }],
88
+ "stateMutability" : "view" ,
89
+ "type" : "function" ,
90
+ },
65
91
{
66
92
"inputs" : [
67
93
{
68
- "components" : [
69
- {
70
- "internalType" : "address" ,
71
- "name" : "operator" ,
72
- "type" : "address" ,
73
- },
74
- {
75
- "internalType" : "bytes32" ,
76
- "name" : "withdrawalCredentials" ,
77
- "type" : "bytes32" ,
78
- },
79
- {
80
- "internalType" : "bytes32" ,
81
- "name" : "depositDataRoot" ,
82
- "type" : "bytes32" ,
83
- },
84
- {
85
- "internalType" : "bytes" ,
86
- "name" : "publicKey" ,
87
- "type" : "bytes" ,
88
- },
89
- {
90
- "internalType" : "bytes" ,
91
- "name" : "signature" ,
92
- "type" : "bytes" ,
93
- },
94
- ],
95
- "internalType" : "struct IPoolValidators.DepositData" ,
96
- "name" : "depositData" ,
97
- "type" : "tuple" ,
94
+ "internalType" : "bytes32" ,
95
+ "name" : "merkleRoot" ,
96
+ "type" : "bytes32" ,
98
97
},
99
98
{
100
- "internalType" : "bytes32[] " ,
101
- "name" : "merkleProof " ,
102
- "type" : "bytes32[] " ,
99
+ "internalType" : "string " ,
100
+ "name" : "merkleProofs " ,
101
+ "type" : "string " ,
103
102
},
104
103
{
105
104
"internalType" : "bytes[]" ,
106
105
"name" : "signatures" ,
107
106
"type" : "bytes[]" ,
108
107
},
109
108
],
110
- "name" : "finalizeValidator " ,
109
+ "name" : "submitMerkleRoot " ,
111
110
"outputs" : [],
112
111
"stateMutability" : "nonpayable" ,
113
112
"type" : "function" ,
114
113
},
115
114
{
116
115
"inputs" : [
117
- {"internalType" : "bytes32" , "name" : "role" , "type" : "bytes32" }
118
- ],
119
- "name" : "getRoleMemberCount" ,
120
- "outputs" : [{"internalType" : "uint256" , "name" : "" , "type" : "uint256" }],
121
- "stateMutability" : "view" ,
122
- "type" : "function" ,
123
- },
124
- {
125
- "inputs" : [
126
- {"internalType" : "bytes32" , "name" : "role" , "type" : "bytes32" },
127
- {"internalType" : "uint256" , "name" : "index" , "type" : "uint256" },
116
+ {
117
+ "internalType" : "uint256" ,
118
+ "name" : "totalRewards" ,
119
+ "type" : "uint256" ,
120
+ },
121
+ {
122
+ "internalType" : "uint256" ,
123
+ "name" : "activatedValidators" ,
124
+ "type" : "uint256" ,
125
+ },
126
+ {
127
+ "internalType" : "bytes[]" ,
128
+ "name" : "signatures" ,
129
+ "type" : "bytes[]" ,
130
+ },
128
131
],
129
- "name" : "getRoleMember " ,
130
- "outputs" : [{ "internalType" : "address" , "name" : "" , "type" : "address" } ],
131
- "stateMutability" : "view " ,
132
+ "name" : "submitRewards " ,
133
+ "outputs" : [],
134
+ "stateMutability" : "nonpayable " ,
132
135
"type" : "function" ,
133
136
},
134
137
{
@@ -170,66 +173,18 @@ def get_oracles_contract() -> Contract:
170
173
"name" : "merkleProof" ,
171
174
"type" : "bytes32[]" ,
172
175
},
173
- {
174
- "internalType" : "bytes[]" ,
175
- "name" : "signatures" ,
176
- "type" : "bytes[]" ,
177
- },
178
- ],
179
- "name" : "initializeValidator" ,
180
- "outputs" : [],
181
- "stateMutability" : "nonpayable" ,
182
- "type" : "function" ,
183
- },
184
- {
185
- "inputs" : [],
186
- "name" : "paused" ,
187
- "outputs" : [{"internalType" : "bool" , "name" : "" , "type" : "bool" }],
188
- "stateMutability" : "view" ,
189
- "type" : "function" ,
190
- },
191
- {
192
- "inputs" : [
193
176
{
194
177
"internalType" : "bytes32" ,
195
- "name" : "merkleRoot " ,
178
+ "name" : "validatorsDepositRoot " ,
196
179
"type" : "bytes32" ,
197
180
},
198
- {
199
- "internalType" : "string" ,
200
- "name" : "merkleProofs" ,
201
- "type" : "string" ,
202
- },
203
- {
204
- "internalType" : "bytes[]" ,
205
- "name" : "signatures" ,
206
- "type" : "bytes[]" ,
207
- },
208
- ],
209
- "name" : "submitMerkleRoot" ,
210
- "outputs" : [],
211
- "stateMutability" : "nonpayable" ,
212
- "type" : "function" ,
213
- },
214
- {
215
- "inputs" : [
216
- {
217
- "internalType" : "uint256" ,
218
- "name" : "totalRewards" ,
219
- "type" : "uint256" ,
220
- },
221
- {
222
- "internalType" : "uint256" ,
223
- "name" : "activatedValidators" ,
224
- "type" : "uint256" ,
225
- },
226
181
{
227
182
"internalType" : "bytes[]" ,
228
183
"name" : "signatures" ,
229
184
"type" : "bytes[]" ,
230
185
},
231
186
],
232
- "name" : "submitRewards " ,
187
+ "name" : "registerValidator " ,
233
188
"outputs" : [],
234
189
"stateMutability" : "nonpayable" ,
235
190
"type" : "function" ,
0 commit comments