poa-governance-notifications/abis/v2/VotingToManageEmissionFunds...

564 lines
9.5 KiB
JSON
Raw Normal View History

2018-04-21 09:59:11 -07:00
[
{
"constant": true,
"inputs": [
{
"name": "_id",
"type": "uint256"
}
],
"name": "getQuorumState",
2018-04-21 09:59:11 -07:00
"outputs": [
{
"name": "",
"type": "uint256"
2018-04-21 09:59:11 -07:00
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_id",
"type": "uint256"
},
{
"name": "_votingKey",
"type": "address"
}
],
"name": "isValidVote",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "initDisabled",
2018-04-21 09:59:11 -07:00
"outputs": [
{
"name": "",
"type": "bool"
2018-04-21 09:59:11 -07:00
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "getTime",
2018-04-21 09:59:11 -07:00
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_id",
"type": "uint256"
}
],
"name": "isActive",
2018-04-21 09:59:11 -07:00
"outputs": [
{
"name": "",
"type": "bool"
2018-04-21 09:59:11 -07:00
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "proxyStorage",
2018-04-21 09:59:11 -07:00
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_id",
"type": "uint256"
2018-04-21 09:59:11 -07:00
}
],
"name": "getMinThresholdOfVoters",
2018-04-21 09:59:11 -07:00
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_id",
"type": "uint256"
},
{
"name": "_votingKey",
"type": "address"
2018-04-21 09:59:11 -07:00
}
],
"name": "hasAlreadyVoted",
2018-04-21 09:59:11 -07:00
"outputs": [
{
"name": "",
"type": "bool"
2018-04-21 09:59:11 -07:00
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_id",
"type": "uint256"
},
{
"name": "_miningKey",
"type": "address"
2018-04-21 09:59:11 -07:00
}
],
"name": "areOldMiningKeysVoted",
2018-04-21 09:59:11 -07:00
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "nextBallotId",
2018-04-21 09:59:11 -07:00
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"anonymous": false,
2018-04-21 09:59:11 -07:00
"inputs": [
{
"indexed": true,
"name": "id",
2018-04-21 09:59:11 -07:00
"type": "uint256"
},
{
"indexed": true,
"name": "votingKey",
2018-04-21 09:59:11 -07:00
"type": "address"
}
],
"name": "BallotCanceled",
"type": "event"
2018-04-21 09:59:11 -07:00
},
{
"anonymous": false,
"inputs": [
2018-04-21 09:59:11 -07:00
{
"indexed": true,
"name": "id",
"type": "uint256"
},
{
"indexed": true,
"name": "ballotType",
"type": "uint256"
},
{
"indexed": true,
"name": "creator",
2018-04-21 09:59:11 -07:00
"type": "address"
}
],
"name": "BallotCreated",
"type": "event"
2018-04-21 09:59:11 -07:00
},
{
"anonymous": false,
"inputs": [
2018-04-21 09:59:11 -07:00
{
"indexed": true,
"name": "id",
"type": "uint256"
},
{
"indexed": true,
"name": "voter",
"type": "address"
2018-04-21 09:59:11 -07:00
}
],
"name": "BallotFinalized",
"type": "event"
2018-04-21 09:59:11 -07:00
},
{
"anonymous": false,
2018-04-21 09:59:11 -07:00
"inputs": [
{
"indexed": true,
"name": "id",
2018-04-21 09:59:11 -07:00
"type": "uint256"
},
2018-04-21 09:59:11 -07:00
{
"indexed": false,
"name": "decision",
2018-04-21 09:59:11 -07:00
"type": "uint256"
},
{
"indexed": true,
"name": "voter",
"type": "address"
},
{
"indexed": false,
"name": "time",
"type": "uint256"
},
{
"indexed": false,
"name": "voterMiningKey",
"type": "address"
2018-04-21 09:59:11 -07:00
}
],
"name": "Vote",
"type": "event"
2018-04-21 09:59:11 -07:00
},
{
"constant": true,
"inputs": [],
"name": "ballotCancelingThreshold",
2018-04-21 09:59:11 -07:00
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "pure",
2018-04-21 09:59:11 -07:00
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_id",
"type": "uint256"
}
],
"name": "canBeFinalizedNow",
2018-04-21 09:59:11 -07:00
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
2018-04-21 09:59:11 -07:00
"inputs": [],
"name": "cancelNewBallot",
"outputs": [],
2018-04-21 09:59:11 -07:00
"payable": false,
"stateMutability": "nonpayable",
2018-04-21 09:59:11 -07:00
"type": "function"
},
{
"constant": false,
2018-04-21 09:59:11 -07:00
"inputs": [
{
"name": "_startTime",
2018-04-21 09:59:11 -07:00
"type": "uint256"
},
{
"name": "_endTime",
"type": "uint256"
},
{
"name": "_receiver",
2018-04-21 09:59:11 -07:00
"type": "address"
},
2018-04-21 09:59:11 -07:00
{
"name": "_memo",
"type": "string"
2018-04-21 09:59:11 -07:00
}
],
"name": "createBallot",
"outputs": [],
2018-04-21 09:59:11 -07:00
"payable": false,
"stateMutability": "nonpayable",
2018-04-21 09:59:11 -07:00
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "distributionThreshold",
2018-04-21 09:59:11 -07:00
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "emissionFunds",
2018-04-21 09:59:11 -07:00
"outputs": [
{
"name": "",
"type": "address"
2018-04-21 09:59:11 -07:00
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "emissionReleaseThreshold",
2018-04-21 09:59:11 -07:00
"outputs": [
{
"name": "",
"type": "uint256"
2018-04-21 09:59:11 -07:00
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "emissionReleaseTime",
2018-04-21 09:59:11 -07:00
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
2018-04-21 09:59:11 -07:00
{
"name": "_id",
2018-04-21 09:59:11 -07:00
"type": "uint256"
}
],
"name": "finalize",
"outputs": [],
2018-04-21 09:59:11 -07:00
"payable": false,
"stateMutability": "nonpayable",
2018-04-21 09:59:11 -07:00
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_id",
2018-04-21 09:59:11 -07:00
"type": "uint256"
}
],
"name": "getBallotInfo",
2018-04-21 09:59:11 -07:00
"outputs": [
{
"name": "creationTime",
2018-04-21 09:59:11 -07:00
"type": "uint256"
},
{
"name": "startTime",
2018-04-21 09:59:11 -07:00
"type": "uint256"
},
{
"name": "endTime",
2018-04-21 09:59:11 -07:00
"type": "uint256"
},
{
"name": "isCanceled",
"type": "bool"
2018-04-21 09:59:11 -07:00
},
{
"name": "isFinalized",
"type": "bool"
},
{
"name": "creator",
"type": "address"
2018-04-21 09:59:11 -07:00
},
{
"name": "memo",
"type": "string"
},
{
"name": "amount",
2018-04-21 09:59:11 -07:00
"type": "uint256"
},
{
"name": "burnVotes",
2018-04-21 09:59:11 -07:00
"type": "uint256"
},
{
"name": "freezeVotes",
2018-04-21 09:59:11 -07:00
"type": "uint256"
},
{
"name": "sendVotes",
"type": "uint256"
2018-04-21 09:59:11 -07:00
},
{
"name": "receiver",
"type": "address"
2018-04-21 09:59:11 -07:00
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
2018-04-21 09:59:11 -07:00
"inputs": [
{
"name": "_id",
"type": "uint256"
}
],
"name": "getTotalVoters",
"outputs": [
{
"name": "",
"type": "uint256"
2018-04-21 09:59:11 -07:00
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
2018-04-21 09:59:11 -07:00
},
{
"constant": false,
2018-04-21 09:59:11 -07:00
"inputs": [
{
"name": "_emissionReleaseTime",
2018-04-21 09:59:11 -07:00
"type": "uint256"
},
{
"name": "_emissionReleaseThreshold",
2018-04-21 09:59:11 -07:00
"type": "uint256"
},
{
"name": "_distributionThreshold",
"type": "uint256"
2018-04-21 09:59:11 -07:00
},
{
"name": "_emissionFunds",
"type": "address"
2018-04-21 09:59:11 -07:00
}
],
"name": "init",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
2018-04-21 09:59:11 -07:00
},
{
"constant": true,
"inputs": [],
"name": "noActiveBallotExists",
"outputs": [
2018-04-21 09:59:11 -07:00
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "refreshEmissionReleaseTime",
"outputs": [
2018-04-21 09:59:11 -07:00
{
"name": "",
"type": "uint256"
2018-04-21 09:59:11 -07:00
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
2018-04-21 09:59:11 -07:00
},
{
"constant": false,
2018-04-21 09:59:11 -07:00
"inputs": [
{
"name": "_id",
2018-04-21 09:59:11 -07:00
"type": "uint256"
},
{
"name": "_choice",
2018-04-21 09:59:11 -07:00
"type": "uint256"
}
],
"name": "vote",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
2018-04-21 09:59:11 -07:00
}
]