@@ -62,73 +62,76 @@ def get_oracles_contract() -> Contract:
6262 "stateMutability" : "view" ,
6363 "type" : "function" ,
6464 },
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+ },
6591 {
6692 "inputs" : [
6793 {
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" ,
9897 },
9998 {
100- "internalType" : "bytes32[] " ,
101- "name" : "merkleProof " ,
102- "type" : "bytes32[] " ,
99+ "internalType" : "string " ,
100+ "name" : "merkleProofs " ,
101+ "type" : "string " ,
103102 },
104103 {
105104 "internalType" : "bytes[]" ,
106105 "name" : "signatures" ,
107106 "type" : "bytes[]" ,
108107 },
109108 ],
110- "name" : "finalizeValidator " ,
109+ "name" : "submitMerkleRoot " ,
111110 "outputs" : [],
112111 "stateMutability" : "nonpayable" ,
113112 "type" : "function" ,
114113 },
115114 {
116115 "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+ },
128131 ],
129- "name" : "getRoleMember " ,
130- "outputs" : [{ "internalType" : "address" , "name" : "" , "type" : "address" } ],
131- "stateMutability" : "view " ,
132+ "name" : "submitRewards " ,
133+ "outputs" : [],
134+ "stateMutability" : "nonpayable " ,
132135 "type" : "function" ,
133136 },
134137 {
@@ -170,66 +173,18 @@ def get_oracles_contract() -> Contract:
170173 "name" : "merkleProof" ,
171174 "type" : "bytes32[]" ,
172175 },
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" : [
193176 {
194177 "internalType" : "bytes32" ,
195- "name" : "merkleRoot " ,
178+ "name" : "validatorsDepositRoot " ,
196179 "type" : "bytes32" ,
197180 },
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- },
226181 {
227182 "internalType" : "bytes[]" ,
228183 "name" : "signatures" ,
229184 "type" : "bytes[]" ,
230185 },
231186 ],
232- "name" : "submitRewards " ,
187+ "name" : "registerValidator " ,
233188 "outputs" : [],
234189 "stateMutability" : "nonpayable" ,
235190 "type" : "function" ,
0 commit comments