Created
September 26, 2018 16:22
-
-
Save anurag-arjun/00233422dbbba76211d6211baa3f0df6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "constant": true, | |
| "inputs": [], | |
| "name": "childChainContract", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "address" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [], | |
| "name": "depositCount", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [ | |
| { | |
| "name": "", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "reverseTokens", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "address" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "headerBlocks", | |
| "outputs": [ | |
| { | |
| "name": "root", | |
| "type": "bytes32" | |
| }, | |
| { | |
| "name": "start", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "end", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "createdAt", | |
| "type": "uint256" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [], | |
| "name": "wethToken", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "address" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [], | |
| "name": "stakeManager", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "address" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [], | |
| "name": "withdrawSignature", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bytes4" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [], | |
| "name": "owner", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "address" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [], | |
| "name": "networkId", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bytes" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [ | |
| { | |
| "name": "", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "validatorContracts", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "deposits", | |
| "outputs": [ | |
| { | |
| "name": "header", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "owner", | |
| "type": "address" | |
| }, | |
| { | |
| "name": "token", | |
| "type": "address" | |
| }, | |
| { | |
| "name": "amount", | |
| "type": "uint256" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [], | |
| "name": "chain", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bytes32" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [ | |
| { | |
| "name": "", | |
| "type": "bytes32" | |
| } | |
| ], | |
| "name": "withdraws", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [], | |
| "name": "withdrawEventSignature", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bytes32" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [ | |
| { | |
| "name": "", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "tokens", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "address" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [], | |
| "name": "currentHeaderBlock", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "newOwner", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "transferOwnership", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "name": "_stakeManager", | |
| "type": "address" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "constructor" | |
| }, | |
| { | |
| "payable": true, | |
| "stateMutability": "payable", | |
| "type": "fallback" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": true, | |
| "name": "previousChildChain", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": true, | |
| "name": "newChildChain", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "ChildChainChanged", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": true, | |
| "name": "rootToken", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": true, | |
| "name": "childToken", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "TokenMapped", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": true, | |
| "name": "validator", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": true, | |
| "name": "from", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "ValidatorAdded", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": true, | |
| "name": "validator", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": true, | |
| "name": "from", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "ValidatorRemoved", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": true, | |
| "name": "user", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": true, | |
| "name": "token", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "amount", | |
| "type": "uint256" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "depositCount", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "Deposit", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": true, | |
| "name": "user", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": true, | |
| "name": "token", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "amount", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "Withdraw", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": true, | |
| "name": "proposer", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "number", | |
| "type": "uint256" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "start", | |
| "type": "uint256" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "end", | |
| "type": "uint256" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "root", | |
| "type": "bytes32" | |
| } | |
| ], | |
| "name": "NewHeaderBlock", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": true, | |
| "name": "previousOwner", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": true, | |
| "name": "newOwner", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "OwnershipTransferred", | |
| "type": "event" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "newChildChain", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "setChildContract", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "rootToken", | |
| "type": "address" | |
| }, | |
| { | |
| "name": "childToken", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "mapToken", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "_token", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "setWETHToken", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "_validator", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "addValidator", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "_validator", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "removeValidator", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "_stakeManager", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "setStakeManager", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "root", | |
| "type": "bytes32" | |
| }, | |
| { | |
| "name": "start", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "end", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "sigs", | |
| "type": "bytes" | |
| } | |
| ], | |
| "name": "submitHeaderBlock", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [], | |
| "name": "currentChildBlock", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [ | |
| { | |
| "name": "headerNumber", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "getHeaderBlock", | |
| "outputs": [ | |
| { | |
| "name": "root", | |
| "type": "bytes32" | |
| }, | |
| { | |
| "name": "start", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "end", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "createdAt", | |
| "type": "uint256" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [ | |
| { | |
| "name": "depositCount", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "getDepositBlock", | |
| "outputs": [ | |
| { | |
| "name": "header", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "owner", | |
| "type": "address" | |
| }, | |
| { | |
| "name": "token", | |
| "type": "address" | |
| }, | |
| { | |
| "name": "amount", | |
| "type": "uint256" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "_sender", | |
| "type": "address" | |
| }, | |
| { | |
| "name": "_value", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "", | |
| "type": "bytes" | |
| } | |
| ], | |
| "name": "tokenFallback", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "user", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "depositEthers", | |
| "outputs": [], | |
| "payable": true, | |
| "stateMutability": "payable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [], | |
| "name": "depositEthers", | |
| "outputs": [], | |
| "payable": true, | |
| "stateMutability": "payable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "token", | |
| "type": "address" | |
| }, | |
| { | |
| "name": "user", | |
| "type": "address" | |
| }, | |
| { | |
| "name": "amount", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "deposit", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "headerNumber", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "headerProof", | |
| "type": "bytes" | |
| }, | |
| { | |
| "name": "blockNumber", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "blockTime", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "txRoot", | |
| "type": "bytes32" | |
| }, | |
| { | |
| "name": "receiptRoot", | |
| "type": "bytes32" | |
| }, | |
| { | |
| "name": "path", | |
| "type": "bytes" | |
| }, | |
| { | |
| "name": "txBytes", | |
| "type": "bytes" | |
| }, | |
| { | |
| "name": "txProof", | |
| "type": "bytes" | |
| }, | |
| { | |
| "name": "receiptBytes", | |
| "type": "bytes" | |
| }, | |
| { | |
| "name": "receiptProof", | |
| "type": "bytes" | |
| } | |
| ], | |
| "name": "withdraw", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [], | |
| "name": "slash", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment