Last active
May 1, 2018 05:59
-
-
Save Sowmayjain/6cc79c93b28136c9993d9937a206bd55 to your computer and use it in GitHub Desktop.
ABI JSON file of BlockEther
This file contains 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
[ | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "previousOwner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnershipTransferred", | |
"type": "event" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "PositionNonce", | |
"type": "uint256" | |
} | |
], | |
"name": "CancelPosition", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "targetAddress", | |
"type": "address" | |
} | |
], | |
"name": "changeSecOwner", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "PositionNonce", | |
"type": "uint256" | |
} | |
], | |
"name": "ClosePosition", | |
"outputs": [], | |
"payable": true, | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "Ether", | |
"type": "uint256" | |
} | |
], | |
"name": "CollectEther", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "PositionNonce", | |
"type": "uint256" | |
} | |
], | |
"name": "ExecutePosition", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "OddEven", | |
"type": "uint8" | |
} | |
], | |
"name": "OpenPosition", | |
"outputs": [], | |
"payable": true, | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"name": "PositionKey", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"name": "Opener", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"name": "EtherTossed", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"name": "OddEven", | |
"type": "uint8" | |
} | |
], | |
"name": "eOpenPosition", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"name": "PositionKey", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"name": "Closer", | |
"type": "address" | |
} | |
], | |
"name": "eClosePosition", | |
"type": "event" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "minEther", | |
"type": "uint256" | |
}, | |
{ | |
"name": "maxGas", | |
"type": "uint256" | |
} | |
], | |
"name": "setVariable", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"name": "PositionKey", | |
"type": "uint256" | |
} | |
], | |
"name": "eCancelPosition", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"name": "PositionKey", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"name": "Remainder", | |
"type": "uint256" | |
} | |
], | |
"name": "eExecutePosition", | |
"type": "event" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "transferOwnership", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"name": "minEther", | |
"type": "uint256" | |
}, | |
{ | |
"name": "maxGas", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"payable": true, | |
"stateMutability": "payable", | |
"type": "fallback" | |
}, | |
{ | |
"constant": true, | |
"inputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"name": "AllPlayer", | |
"outputs": [ | |
{ | |
"name": "EtherBalance", | |
"type": "uint256" | |
}, | |
{ | |
"name": "PositionWon", | |
"type": "uint256" | |
}, | |
{ | |
"name": "PositionLost", | |
"type": "uint256" | |
}, | |
{ | |
"name": "WonEther", | |
"type": "uint256" | |
}, | |
{ | |
"name": "LostEther", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"name": "AllPosition", | |
"outputs": [ | |
{ | |
"name": "Opener", | |
"type": "address" | |
}, | |
{ | |
"name": "Closer", | |
"type": "address" | |
}, | |
{ | |
"name": "Odd", | |
"type": "address" | |
}, | |
{ | |
"name": "Even", | |
"type": "address" | |
}, | |
{ | |
"name": "EtherTossed", | |
"type": "uint256" | |
}, | |
{ | |
"name": "ExecutedBlockNumber", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "MaxGasPrice", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "MinTossEther", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "nonce", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"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": "OwnerEtherBalance", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "secondOwner", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "TotalCancelledPosition", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "TotalClosedPosition", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "TotalEtherVolume", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "TotalExecutedPosition", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "TotalOpenedPosition", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment