Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deposit data #25

Merged
merged 4 commits into from
Apr 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deposit_contract/contracts/validator_registration.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"abi": [{"name": "Deposit", "inputs": [{"type": "bytes", "name": "data", "indexed": false}, {"type": "bytes", "name": "merkle_tree_index", "indexed": false}], "anonymous": false, "type": "event"}, {"name": "Eth2Genesis", "inputs": [{"type": "bytes32", "name": "deposit_root", "indexed": false}, {"type": "bytes", "name": "deposit_count", "indexed": false}, {"type": "bytes", "name": "time", "indexed": false}], "anonymous": false, "type": "event"}, {"name": "__init__", "outputs": [], "inputs": [], "constant": false, "payable": false, "type": "constructor"}, {"name": "to_little_endian_64", "outputs": [{"type": "bytes", "name": "out"}], "inputs": [{"type": "uint256", "name": "value"}], "constant": true, "payable": false, "type": "function", "gas": 7089}, {"name": "get_deposit_root", "outputs": [{"type": "bytes32", "name": "out"}], "inputs": [], "constant": true, "payable": false, "type": "function", "gas": 26965}, {"name": "get_deposit_count", "outputs": [{"type": "bytes", "name": "out"}], "inputs": [], "constant": true, "payable": false, "type": "function", "gas": 11038}, {"name": "deposit", "outputs": [], "inputs": [{"type": "bytes", "name": "deposit_input"}], "constant": false, "payable": true, "type": "function", "gas": 390140}, {"name": "chainStarted", "outputs": [{"type": "bool", "name": "out"}], "inputs": [], "constant": true, "payable": false, "type": "function", "gas": 603}], "bytecode": "0x600035601c52740100000000000000000000000000000000000000006020526f7fffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff8000000000000000000000000000000060605274012a05f1fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffed5fa0e000000000000000000000000000000000060a052341561009e57600080fd5b6101406000601f818352015b600061014051602081106100bd57600080fd5b600060c052602060c020015460208261016001015260208101905061014051602081106100e957600080fd5b600060c052602060c020015460208261016001015260208101905080610160526101609050805160208201209050606051600161014051018060405190131561013157600080fd5b809190121561013f57600080fd5b6020811061014c57600080fd5b600060c052602060c0200155606051600161014051018060405190131561017257600080fd5b809190121561018057600080fd5b6020811061018d57600080fd5b600060c052602060c020015460605160016101405101806040519013156101b357600080fd5b80919012156101c157600080fd5b602081106101ce57600080fd5b600160c052602060c02001555b81516001018083528114156100aa575b5050610f2c56600035601c52740100000000000000000000000000000000000000006020526f7fffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff8000000000000000000000000000000060605274012a05f1fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffed5fa0e000000000000000000000000000000000060a0526380673289600051141561026b57602060046101403734156100b457600080fd5b67ffffffffffffffff6101405111156100cc57600080fd5b60006101605261014051610180526101a060006008818352015b6101605160086000811215610103578060000360020a820461010a565b8060020a82025b905090506101605260ff61018051166101c052610160516101c0516101605101101561013557600080fd5b6101c051610160510161016052610180517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8600081121561017e578060000360020a8204610185565b8060020a82025b90509050610180525b81516001018083528114156100e6575b5050601860086020820661026001602082840111156101bc57600080fd5b60208061028082610160600060046015f1505081815280905090509050805160200180610320828460006004600a8704601201f16101f957600080fd5b50506103205160206001820306601f8201039050610380610320516008818352015b8261038051111561022b57610247565b60006103805161034001535b815160010180835281141561021b575b5050506020610300526040610320510160206001820306601f8201039050610300f3005b63c5f2892f600051141561039957341561028457600080fd5b6000610140526002546101605261018060006020818352015b600160016101605116141561030957600061018051602081106102bf57600080fd5b600160c052602060c0200154602082610220010152602081019050610140516020826102200101526020810190508061022052610220905080516020820120905061014052610362565b6000610140516020826101a0010152602081019050610180516020811061032f57600080fd5b600060c052602060c02001546020826101a0010152602081019050806101a0526101a09050805160208201209050610140525b610160600261037057600080fd5b60028151048152505b815160010180835281141561029d575b50506101405160005260206000f3005b63621fd130600051141561046f5734156103b257600080fd5b60606101c060246380673289610140526002546101605261015c6000305af16103da57600080fd5b6101e0805160200180610260828460006004600a8704601201f16103fd57600080fd5b50506102605160206001820306601f82010390506102c0610260516008818352015b826102c051111561042f5761044b565b60006102c05161028001535b815160010180835281141561041f575b5050506020610240526040610260510160206001820306601f8201039050610240f3005b6398b1e06a6000511415610d0e576020600461014037610220600435600401610160376102006004356004013511156104a757600080fd5b633b9aca006103c0526103c0516104bd57600080fd5b6103c05134046103a052633b9aca006103a05110156104db57600080fd5b6407735940006103a05111156104f057600080fd5b6002546103e05242610400526000606061070060246380673289610680526103a0516106a05261069c6000305af161052757600080fd5b61072060088060208461084001018260208501600060046012f150508051820191505060606107e06024638067328961076052610400516107805261077c6000305af161057357600080fd5b61080060088060208461084001018260208501600060046012f15050805182019150506101606102008060208461084001018260208501600060046045f150508051820191505080610840526108409050805160200180610420828460006004600a8704601201f16105e457600080fd5b50506000610aa0526002610ac052610ae060006020818352015b6000610ac05161060d57600080fd5b610ac0516103e05160016103e05101101561062757600080fd5b60016103e051010614151561063b576106a7565b610aa060605160018251018060405190131561065657600080fd5b809190121561066457600080fd5b815250610ac080511515610679576000610693565b600281516002835102041461068d57600080fd5b60028151025b8152505b81516001018083528114156105fe575b5050610420805160208201209050610b0052610b2060006020818352015b610aa051610b20511215610730576000610b2051602081106106e657600080fd5b600160c052602060c0200154602082610b40010152602081019050610b0051602082610b4001015260208101905080610b4052610b409050805160208201209050610b0052610735565b610746565b5b81516001018083528114156106c5575b5050610b0051610aa0516020811061075d57600080fd5b600160c052602060c0200155600280546001825401101561077d57600080fd5b60018154018155506020610c40600463c5f2892f610be052610bfc6000305af16107a657600080fd5b610c4051610bc0526060610ce060246380673289610c60526103e051610c8052610c7c6000305af16107d757600080fd5b610d00805160200180610d40828460006004600a8704601201f16107fa57600080fd5b50506040610dc052610dc051610e0052610420805160200180610dc051610e0001828460006004600a8704601201f161083257600080fd5b5050610dc051610e00015160206001820306601f8201039050610dc051610e0001610da08151610220818352015b83610da0511015156108715761088e565b6000610da0516020850101535b8151600101808352811415610860575b505050506020610dc051610e00015160206001820306601f8201039050610dc0510101610dc052610dc051610e2052610d40805160200180610dc051610e0001828460006004600a8704601201f16108e557600080fd5b5050610dc051610e00015160206001820306601f8201039050610dc051610e0001610da081516020818352015b83610da05110151561092357610940565b6000610da0516020850101535b8151600101808352811415610912575b505050506020610dc051610e00015160206001820306601f8201039050610dc0510101610dc0527f42dc88172194fbb332e0cb2fd0d4411b0b44a152a0d05a406b6790641bdefec0610dc051610e00a16407735940006103a0511415610d0c5760038054600182540110156109b457600080fd5b6001815401815550620100006003541415610d0b5742610e605242610e8052620151806109e057600080fd5b62015180610e805106610e605110156109f857600080fd5b42610e805262015180610a0a57600080fd5b62015180610e805106610e6051036202a30042610e605242610e805262015180610a3357600080fd5b62015180610e805106610e60511015610a4b57600080fd5b42610e805262015180610a5d57600080fd5b62015180610e805106610e605103011015610a7757600080fd5b6202a30042610e605242610e805262015180610a9257600080fd5b62015180610e805106610e60511015610aaa57600080fd5b42610e805262015180610abc57600080fd5b62015180610e805106610e60510301610e40526060610f2060246380673289610ea052600254610ec052610ebc6000305af1610af757600080fd5b610f40805160200180610f80828460006004600a8704601201f1610b1a57600080fd5b5050606061106060246380673289610fe052610e405161100052610ffc6000305af1610b4557600080fd5b6110808051602001806110c0828460006004600a8704601201f1610b6857600080fd5b5050610bc05161118052606061114052611140516111a052610f808051602001806111405161118001828460006004600a8704601201f1610ba857600080fd5b505061114051611180015160206001820306601f8201039050611140516111800161112081516020818352015b8361112051101515610be657610c03565b6000611120516020850101535b8151600101808352811415610bd5575b50505050602061114051611180015160206001820306601f820103905061114051010161114052611140516111c0526110c08051602001806111405161118001828460006004600a8704601201f1610c5a57600080fd5b505061114051611180015160206001820306601f8201039050611140516111800161112081516020818352015b8361112051101515610c9857610cb5565b6000611120516020850101535b8151600101808352811415610c87575b50505050602061114051611180015160206001820306601f8201039050611140510101611140527f08b71ef3f1b58f7a23ffb82e27f12f0888c8403f1ceb0ea7ea26b274e2189d4c61114051611180a160016004555b5b005b63845980e86000511415610d34573415610d2757600080fd5b60045460005260206000f3005b60006000fd5b6101f2610f2c036101f26000396101f2610f2c036000f3"}
{"abi": [{"name": "Deposit", "inputs": [{"type": "bytes", "name": "data", "indexed": false}, {"type": "bytes", "name": "merkle_tree_index", "indexed": false}], "anonymous": false, "type": "event"}, {"name": "Eth2Genesis", "inputs": [{"type": "bytes32", "name": "deposit_root", "indexed": false}, {"type": "bytes", "name": "deposit_count", "indexed": false}, {"type": "bytes", "name": "time", "indexed": false}], "anonymous": false, "type": "event"}, {"name": "__init__", "outputs": [], "inputs": [], "constant": false, "payable": false, "type": "constructor"}, {"name": "to_little_endian_64", "outputs": [{"type": "bytes", "name": "out"}], "inputs": [{"type": "uint256", "name": "value"}], "constant": true, "payable": false, "type": "function", "gas": 7089}, {"name": "from_little_endian_64", "outputs": [{"type": "uint256", "name": "out"}], "inputs": [{"type": "bytes", "name": "value"}], "constant": true, "payable": false, "type": "function", "gas": 5983}, {"name": "get_deposit_root", "outputs": [{"type": "bytes32", "name": "out"}], "inputs": [], "constant": true, "payable": false, "type": "function", "gas": 26995}, {"name": "get_deposit_count", "outputs": [{"type": "bytes", "name": "out"}], "inputs": [], "constant": true, "payable": false, "type": "function", "gas": 11068}, {"name": "deposit", "outputs": [], "inputs": [{"type": "bytes", "name": "deposit_data"}], "constant": false, "payable": true, "type": "function", "gas": 318628}, {"name": "chainStarted", "outputs": [{"type": "bool", "name": "out"}], "inputs": [], "constant": true, "payable": false, "type": "function", "gas": 633}], "bytecode": "0x600035601c52740100000000000000000000000000000000000000006020526f7fffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff8000000000000000000000000000000060605274012a05f1fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffed5fa0e000000000000000000000000000000000060a052341561009e57600080fd5b6101406000601f818352015b600061014051602081106100bd57600080fd5b600060c052602060c020015460208261016001015260208101905061014051602081106100e957600080fd5b600060c052602060c020015460208261016001015260208101905080610160526101609050805160208201209050606051600161014051018060405190131561013157600080fd5b809190121561013f57600080fd5b6020811061014c57600080fd5b600060c052602060c0200155606051600161014051018060405190131561017257600080fd5b809190121561018057600080fd5b6020811061018d57600080fd5b600060c052602060c020015460605160016101405101806040519013156101b357600080fd5b80919012156101c157600080fd5b602081106101ce57600080fd5b600160c052602060c02001555b81516001018083528114156100aa575b505061109256600035601c52740100000000000000000000000000000000000000006020526f7fffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff8000000000000000000000000000000060605274012a05f1fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffed5fa0e000000000000000000000000000000000060a0526380673289600051141561026b57602060046101403734156100b457600080fd5b67ffffffffffffffff6101405111156100cc57600080fd5b60006101605261014051610180526101a060006008818352015b6101605160086000811215610103578060000360020a820461010a565b8060020a82025b905090506101605260ff61018051166101c052610160516101c0516101605101101561013557600080fd5b6101c051610160510161016052610180517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8600081121561017e578060000360020a8204610185565b8060020a82025b90509050610180525b81516001018083528114156100e6575b5050601860086020820661026001602082840111156101bc57600080fd5b60208061028082610160600060046015f1505081815280905090509050805160200180610320828460006004600a8704601201f16101f957600080fd5b50506103205160206001820306601f8201039050610380610320516008818352015b8261038051111561022b57610247565b60006103805161034001535b815160010180835281141561021b575b5050506020610300526040610320510160206001820306601f8201039050610300f3005b639d70e8066000511415610405576020600461014037341561028c57600080fd5b60286004356004016101603760086004356004013511156102ac57600080fd5b60006101c0526101608060200151600082518060209013156102cd57600080fd5b80919012156102db57600080fd5b806020036101000a82049050905090506101e05261020060006008818352015b60ff6101e05116606051606051610200516007038060405190131561031f57600080fd5b809190121561032d57600080fd5b6008028060405190131561034057600080fd5b809190121561034e57600080fd5b6000811215610365578060000360020a820461036c565b8060020a82025b90509050610220526101c051610220516101c05101101561038c57600080fd5b610220516101c051016101c0526101e0517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff860008112156103d5578060000360020a82046103dc565b8060020a82025b905090506101e0525b81516001018083528114156102fb575b50506101c05160005260206000f3005b63c5f2892f600051141561053357341561041e57600080fd5b6000610140526002546101605261018060006020818352015b60016001610160511614156104a3576000610180516020811061045957600080fd5b600160c052602060c02001546020826102200101526020810190506101405160208261022001015260208101905080610220526102209050805160208201209050610140526104fc565b6000610140516020826101a001015260208101905061018051602081106104c957600080fd5b600060c052602060c02001546020826101a0010152602081019050806101a0526101a09050805160208201209050610140525b610160600261050a57600080fd5b60028151048152505b8151600101808352811415610437575b50506101405160005260206000f3005b63621fd130600051141561060957341561054c57600080fd5b60606101c060246380673289610140526002546101605261015c6000305af161057457600080fd5b6101e0805160200180610260828460006004600a8704601201f161059757600080fd5b50506102605160206001820306601f82010390506102c0610260516008818352015b826102c05111156105c9576105e5565b60006102c05161028001535b81516001018083528114156105b9575b5050506020610240526040610260510160206001820306601f8201039050610240f3005b6398b1e06a6000511415610e7457602060046101403760d86004356004016101603760b860043560040135111561063f57600080fd5b60206107c060646020639d70e80661070052806107205260506008602082066105e00161016051828401111561067457600080fd5b60b8806106008260206020880688030161016001600060046024f1505081815280905090509050808051602001808461072001828460006004600a8704601201f16106be57600080fd5b50508051820160206001820306601f820103905060200191505061071c90506000305af16106eb57600080fd5b6107c05161026052633b9aca006107e0526107e05161070957600080fd5b6107e0513404610260511461071d57600080fd5b633b9aca0061026051101561073157600080fd5b64077359400061026051111561074657600080fd5b6002546108005260006108205260026108405261086060006020818352015b60006108405161077457600080fd5b610840516108005160016108005101101561078e57600080fd5b60016108005101061415156107a25761080e565b6108206060516001825101806040519013156107bd57600080fd5b80919012156107cb57600080fd5b815250610840805115156107e05760006107fa565b60028151600283510204146107f457600080fd5b60028151025b8152505b8151600101808352811415610765575b5050610160805160208201209050610880526108a060006020818352015b610820516108a05112156108975760006108a0516020811061084d57600080fd5b600160c052602060c02001546020826108c0010152602081019050610880516020826108c0010152602081019050806108c0526108c090508051602082012090506108805261089c565b6108ad565b5b815160010180835281141561082c575b50506108805161082051602081106108c457600080fd5b600160c052602060c020015560028054600182540110156108e457600080fd5b600181540181555060206109c0600463c5f2892f6109605261097c6000305af161090d57600080fd5b6109c051610940526060610a60602463806732896109e05261080051610a00526109fc6000305af161093e57600080fd5b610a80805160200180610ac0828460006004600a8704601201f161096157600080fd5b50506040610b4052610b4051610b8052610160805160200180610b4051610b8001828460006004600a8704601201f161099957600080fd5b5050610b4051610b80015160206001820306601f8201039050610b4051610b8001610b20815160c0818352015b83610b20511015156109d7576109f4565b6000610b20516020850101535b81516001018083528114156109c6575b505050506020610b4051610b80015160206001820306601f8201039050610b40510101610b4052610b4051610ba052610ac0805160200180610b4051610b8001828460006004600a8704601201f1610a4b57600080fd5b5050610b4051610b80015160206001820306601f8201039050610b4051610b8001610b2081516020818352015b83610b2051101515610a8957610aa6565b6000610b20516020850101535b8151600101808352811415610a78575b505050506020610b4051610b80015160206001820306601f8201039050610b40510101610b40527f42dc88172194fbb332e0cb2fd0d4411b0b44a152a0d05a406b6790641bdefec0610b4051610b80a1640773594000610260511415610e72576003805460018254011015610b1a57600080fd5b6001815401815550620100006003541415610e715742610be05242610c005262015180610b4657600080fd5b62015180610c005106610be0511015610b5e57600080fd5b42610c005262015180610b7057600080fd5b62015180610c005106610be051036202a30042610be05242610c005262015180610b9957600080fd5b62015180610c005106610be0511015610bb157600080fd5b42610c005262015180610bc357600080fd5b62015180610c005106610be05103011015610bdd57600080fd5b6202a30042610be05242610c005262015180610bf857600080fd5b62015180610c005106610be0511015610c1057600080fd5b42610c005262015180610c2257600080fd5b62015180610c005106610be0510301610bc0526060610ca060246380673289610c2052600254610c4052610c3c6000305af1610c5d57600080fd5b610cc0805160200180610d00828460006004600a8704601201f1610c8057600080fd5b50506060610de060246380673289610d6052610bc051610d8052610d7c6000305af1610cab57600080fd5b610e00805160200180610e40828460006004600a8704601201f1610cce57600080fd5b505061094051610f00526060610ec052610ec051610f2052610d00805160200180610ec051610f0001828460006004600a8704601201f1610d0e57600080fd5b5050610ec051610f00015160206001820306601f8201039050610ec051610f0001610ea081516020818352015b83610ea051101515610d4c57610d69565b6000610ea0516020850101535b8151600101808352811415610d3b575b505050506020610ec051610f00015160206001820306601f8201039050610ec0510101610ec052610ec051610f4052610e40805160200180610ec051610f0001828460006004600a8704601201f1610dc057600080fd5b5050610ec051610f00015160206001820306601f8201039050610ec051610f0001610ea081516020818352015b83610ea051101515610dfe57610e1b565b6000610ea0516020850101535b8151600101808352811415610ded575b505050506020610ec051610f00015160206001820306601f8201039050610ec0510101610ec0527f08b71ef3f1b58f7a23ffb82e27f12f0888c8403f1ceb0ea7ea26b274e2189d4c610ec051610f00a160016004555b5b005b63845980e86000511415610e9a573415610e8d57600080fd5b60045460005260206000f3005b60006000fd5b6101f2611092036101f26000396101f2611092036000f3"}
Loading