forked from ethereum/btcrelay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBitcoinRelayABI.js
1 lines (1 loc) · 2.51 KB
/
BitcoinRelayABI.js
1
[{"inputs": [{"type": "int256", "name": "txHash"}, {"type": "int256", "name": "txIndex"}, {"type": "int256[]", "name": "sibling"}], "type": "function", "name": "computeMerkle(int256,int256,int256[])", "outputs": [{"type": "int256", "name": "out"}]}, {"inputs": [], "type": "function", "name": "getAverageBlockDifficulty()", "outputs": [{"type": "int256", "name": "out"}]}, {"inputs": [{"type": "int256", "name": "blockHeight"}], "type": "function", "name": "getBlockHash(int256)", "outputs": [{"type": "int256", "name": "out"}]}, {"inputs": [{"type": "int256", "name": "blockHash"}], "type": "function", "name": "getBlockHeader(int256)", "outputs": [{"type": "bytes", "name": "out"}]}, {"inputs": [], "type": "function", "name": "getBlockchainHead()", "outputs": [{"type": "int256", "name": "out"}]}, {"inputs": [], "type": "function", "name": "getCumulativeDifficulty()", "outputs": [{"type": "int256", "name": "out"}]}, {"inputs": [], "type": "function", "name": "getLastBlockHeight()", "outputs": [{"type": "int256", "name": "out"}]}, {"inputs": [{"type": "int256", "name": "txBlockHash"}], "type": "function", "name": "inMainChain(int256)", "outputs": [{"type": "int256", "name": "out"}]}, {"inputs": [{"type": "bytes", "name": "txStr"}, {"type": "int256", "name": "txHash"}, {"type": "int256", "name": "txIndex"}, {"type": "int256[]", "name": "sibling"}, {"type": "int256", "name": "txBlockHash"}, {"type": "int256", "name": "contract"}], "type": "function", "name": "relayTx(bytes,int256,int256,int256[],int256,int256)", "outputs": [{"type": "int256", "name": "out"}]}, {"inputs": [{"type": "int256", "name": "blockHash"}, {"type": "int256", "name": "height"}, {"type": "int256", "name": "cumulativeDifficulty"}], "type": "function", "name": "setInitialParent(int256,int256,int256)", "outputs": [{"type": "int256", "name": "out"}]}, {"inputs": [{"type": "bytes", "name": "blockHeaderBytes"}], "type": "function", "name": "storeBlockHeader(bytes)", "outputs": [{"type": "int256", "name": "out"}]}, {"inputs": [{"type": "int256", "name": "txHash"}, {"type": "int256", "name": "txIndex"}, {"type": "int256[]", "name": "sibling"}, {"type": "int256", "name": "txBlockHash"}], "type": "function", "name": "verifyTx(int256,int256,int256[],int256)", "outputs": [{"type": "int256", "name": "out"}]}, {"inputs": [{"type": "int256", "name": "txBlockHash"}], "type": "function", "name": "within6Confirms(int256)", "outputs": [{"type": "int256", "name": "out"}]}, {"inputs": [{"indexed": true, "type": "int256", "name": "errCode"}], "type": "event", "name": "failure(int256)"}]