Created
August 31, 2019 08:45
-
-
Save ameensol/1c804488c8899ae094d1bc46c4106ac4 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": "currentPeriod", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [], | |
| "name": "bootyToken", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "address" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [], | |
| "name": "maxPeriods", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [ | |
| { | |
| "name": "", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "stakerByDelegateKey", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "address" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [ | |
| { | |
| "name": "", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "stakers", | |
| "outputs": [ | |
| { | |
| "name": "spankStaked", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "startingPeriod", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "endingPeriod", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "delegateKey", | |
| "type": "address" | |
| }, | |
| { | |
| "name": "bootyBase", | |
| "type": "address" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [], | |
| "name": "spankToken", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "address" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "pointsTable", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [], | |
| "name": "isClosed", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [], | |
| "name": "totalSpankStaked", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [], | |
| "name": "periodLength", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "periods", | |
| "outputs": [ | |
| { | |
| "name": "bootyFees", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "totalSpankPoints", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "bootyMinted", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "mintingComplete", | |
| "type": "bool" | |
| }, | |
| { | |
| "name": "startTime", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "endTime", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "closingVotes", | |
| "type": "uint256" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "name": "_periodLength", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "_maxPeriods", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "spankAddress", | |
| "type": "address" | |
| }, | |
| { | |
| "name": "initialBootySupply", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "bootyTokenName", | |
| "type": "string" | |
| }, | |
| { | |
| "name": "bootyDecimalUnits", | |
| "type": "uint8" | |
| }, | |
| { | |
| "name": "bootySymbol", | |
| "type": "string" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "constructor" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": false, | |
| "name": "periodLength", | |
| "type": "uint256" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "maxPeriods", | |
| "type": "uint256" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "spankAddress", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "initialBootySupply", | |
| "type": "uint256" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "bootyTokenName", | |
| "type": "string" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "bootyDecimalUnits", | |
| "type": "uint8" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "bootySymbol", | |
| "type": "string" | |
| } | |
| ], | |
| "name": "SpankBankCreated", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": false, | |
| "name": "staker", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "period", | |
| "type": "uint256" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "spankPoints", | |
| "type": "uint256" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "spankAmount", | |
| "type": "uint256" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "stakePeriods", | |
| "type": "uint256" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "delegateKey", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "bootyBase", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "StakeEvent", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": false, | |
| "name": "sender", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "bootyAmount", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "SendFeesEvent", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": false, | |
| "name": "targetBootySupply", | |
| "type": "uint256" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "totalBootySupply", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "MintBootyEvent", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": false, | |
| "name": "staker", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "period", | |
| "type": "uint256" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "spankPoints", | |
| "type": "uint256" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "stakerEndingPeriod", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "CheckInEvent", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": false, | |
| "name": "staker", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "period", | |
| "type": "uint256" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "bootyOwed", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "ClaimBootyEvent", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": false, | |
| "name": "staker", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "totalSpankToWithdraw", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "WithdrawStakeEvent", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": false, | |
| "name": "staker", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "newAddress", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "newDelegateKey", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "newBootyBase", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "spankAmount", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "SplitStakeEvent", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": false, | |
| "name": "staker", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "period", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "VoteToCloseEvent", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": false, | |
| "name": "staker", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "newDelegateKey", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "UpdateDelegateKeyEvent", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": false, | |
| "name": "staker", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "newBootyBase", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "UpdateBootyBaseEvent", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": false, | |
| "name": "from", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "tokenContract", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "ReceiveApprovalEvent", | |
| "type": "event" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "spankAmount", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "stakePeriods", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "delegateKey", | |
| "type": "address" | |
| }, | |
| { | |
| "name": "bootyBase", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "stake", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "from", | |
| "type": "address" | |
| }, | |
| { | |
| "name": "amount", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "tokenContract", | |
| "type": "address" | |
| }, | |
| { | |
| "name": "extraData", | |
| "type": "bytes" | |
| } | |
| ], | |
| "name": "receiveApproval", | |
| "outputs": [ | |
| { | |
| "name": "success", | |
| "type": "bool" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "bootyAmount", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "sendFees", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [], | |
| "name": "mintBooty", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [], | |
| "name": "updatePeriod", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "updatedEndingPeriod", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "checkIn", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "claimPeriod", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "claimBooty", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [], | |
| "name": "withdrawStake", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "newAddress", | |
| "type": "address" | |
| }, | |
| { | |
| "name": "newDelegateKey", | |
| "type": "address" | |
| }, | |
| { | |
| "name": "newBootyBase", | |
| "type": "address" | |
| }, | |
| { | |
| "name": "spankAmount", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "splitStake", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [], | |
| "name": "voteToClose", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "newDelegateKey", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "updateDelegateKey", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "newBootyBase", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "updateBootyBase", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [ | |
| { | |
| "name": "stakerAddress", | |
| "type": "address" | |
| }, | |
| { | |
| "name": "period", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "getSpankPoints", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [ | |
| { | |
| "name": "stakerAddress", | |
| "type": "address" | |
| }, | |
| { | |
| "name": "period", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "getDidClaimBooty", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [ | |
| { | |
| "name": "stakerAddress", | |
| "type": "address" | |
| }, | |
| { | |
| "name": "period", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "getVote", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [ | |
| { | |
| "name": "delegateAddress", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "getStakerFromDelegateKey", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "address" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment