diff --git a/abis/0.0.1-rc.32/ARCDebug.json b/abis/0.0.1-rc.32/ARCDebug.json new file mode 100644 index 00000000..a5d07df9 --- /dev/null +++ b/abis/0.0.1-rc.32/ARCDebug.json @@ -0,0 +1,93 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "_msg", + "type": "address" + } + ], + "name": "LogAddress", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "int256", + "name": "_msg", + "type": "int256" + } + ], + "name": "LogInt", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "string", + "name": "_msg", + "type": "string" + } + ], + "name": "LogString", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "_msg", + "type": "uint256" + } + ], + "name": "LogUint", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes", + "name": "_msg", + "type": "bytes" + } + ], + "name": "LogBytes", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "_msg", + "type": "bytes32" + } + ], + "name": "LogBytes32", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bool", + "name": "_msg", + "type": "bool" + } + ], + "name": "LogBool", + "type": "event" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/ARCVotingMachineCallbacksMock.json b/abis/0.0.1-rc.32/ARCVotingMachineCallbacksMock.json new file mode 100644 index 00000000..5f151a1a --- /dev/null +++ b/abis/0.0.1-rc.32/ARCVotingMachineCallbacksMock.json @@ -0,0 +1,229 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "proposalsInfo", + "outputs": [ + { + "internalType": "uint256", + "name": "blockNumber", + "type": "uint256" + }, + { + "internalType": "contract Avatar", + "name": "avatar", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "balanceOfStakingToken", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "reputationOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "getTotalReputationSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "stakingTokenTransfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "mintReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "burnReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "address", + "name": "_votingMachine", + "type": "address" + } + ], + "name": "propose", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/AbsoluteVote.json b/abis/0.0.1-rc.32/AbsoluteVote.json new file mode 100644 index 00000000..88ea8362 --- /dev/null +++ b/abis/0.0.1-rc.32/AbsoluteVote.json @@ -0,0 +1,587 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "parameters", + "outputs": [ + { + "internalType": "uint256", + "name": "precReq", + "type": "uint256" + }, + { + "internalType": "address", + "name": "voteOnBehalf", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "proposalsCnt", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "proposals", + "outputs": [ + { + "internalType": "bytes32", + "name": "organizationId", + "type": "bytes32" + }, + { + "internalType": "bool", + "name": "open", + "type": "bool" + }, + { + "internalType": "address", + "name": "callbacks", + "type": "address" + }, + { + "internalType": "uint256", + "name": "numOfChoices", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "paramsHash", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "totalVotes", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "MAX_NUM_OF_CHOICES", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "organizations", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bool", + "name": "_isProxyVote", + "type": "bool" + } + ], + "name": "AVVoteProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_numOfChoices", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "_proposer", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_paramsHash", + "type": "bytes32" + } + ], + "name": "NewProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_decision", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_totalReputation", + "type": "uint256" + } + ], + "name": "ExecuteProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_voter", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_vote", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_reputation", + "type": "uint256" + } + ], + "name": "VoteProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + } + ], + "name": "CancelProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_voter", + "type": "address" + } + ], + "name": "CancelVoting", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_numOfChoices", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_paramsHash", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "_organization", + "type": "address" + } + ], + "name": "propose", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_vote", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_voter", + "type": "address" + } + ], + "name": "vote", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "cancelVote", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "execute", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "getNumberOfChoices", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_voter", + "type": "address" + } + ], + "name": "voteInfo", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_choice", + "type": "uint256" + } + ], + "name": "voteStatus", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "isVotable", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "isAbstainAllow", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "getAllowedRangeOfChoices", + "outputs": [ + { + "internalType": "uint256", + "name": "min", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "max", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_precReq", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_voteOnBehalf", + "type": "address" + } + ], + "name": "setParameters", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "uint256", + "name": "_precReq", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_voteOnBehalf", + "type": "address" + } + ], + "name": "getParametersHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/AbsoluteVoteExecuteMock.json b/abis/0.0.1-rc.32/AbsoluteVoteExecuteMock.json new file mode 100644 index 00000000..020e9b13 --- /dev/null +++ b/abis/0.0.1-rc.32/AbsoluteVoteExecuteMock.json @@ -0,0 +1,561 @@ +[ + { + "constant": true, + "inputs": [], + "name": "absoluteVote", + "outputs": [ + { + "internalType": "contract AbsoluteVote", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "isOwner", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "reputation", + "outputs": [ + { + "internalType": "contract Reputation", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "proposalsBlockNumbers", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract Reputation", + "name": "_reputation", + "type": "address" + }, + { + "internalType": "contract AbsoluteVote", + "name": "_absoluteVote", + "type": "address" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_numOfChoices", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "_proposer", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_paramsHash", + "type": "bytes32" + } + ], + "name": "NewProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "_msg", + "type": "address" + } + ], + "name": "LogAddress", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "int256", + "name": "_msg", + "type": "int256" + } + ], + "name": "LogInt", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "string", + "name": "_msg", + "type": "string" + } + ], + "name": "LogString", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "_msg", + "type": "uint256" + } + ], + "name": "LogUint", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes", + "name": "_msg", + "type": "bytes" + } + ], + "name": "LogBytes", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "_msg", + "type": "bytes32" + } + ], + "name": "LogBytes32", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bool", + "name": "_msg", + "type": "bool" + } + ], + "name": "LogBool", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "mintReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "burnReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "stakingTokenTransfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "int256", + "name": "_decision", + "type": "int256" + } + ], + "name": "executeProposal", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_numOfChoices", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_paramsHash", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "_proposer", + "type": "address" + }, + { + "internalType": "address", + "name": "_organization", + "type": "address" + } + ], + "name": "propose", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "burnReputationTest", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "setProposal", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "getTotalReputationSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "reputationOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "balanceOfStakingToken", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/ActionMock.json b/abis/0.0.1-rc.32/ActionMock.json new file mode 100644 index 00000000..861da788 --- /dev/null +++ b/abis/0.0.1-rc.32/ActionMock.json @@ -0,0 +1,140 @@ +[ + { + "constant": true, + "inputs": [], + "name": "activationTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "WithoutReturnValue", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_sender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "ReceiveEther", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_a", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_b", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_c", + "type": "bytes32" + } + ], + "name": "test", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "test2", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "withoutReturnValue", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_activationTime", + "type": "uint256" + } + ], + "name": "setActivationTime", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "test3", + "outputs": [], + "payable": false, + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/Address.json b/abis/0.0.1-rc.32/Address.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/abis/0.0.1-rc.32/Address.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/Agreement.json b/abis/0.0.1-rc.32/Agreement.json new file mode 100644 index 00000000..474764bd --- /dev/null +++ b/abis/0.0.1-rc.32/Agreement.json @@ -0,0 +1,17 @@ +[ + { + "constant": true, + "inputs": [], + "name": "getAgreementHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/AgreementMock.json b/abis/0.0.1-rc.32/AgreementMock.json new file mode 100644 index 00000000..447d704a --- /dev/null +++ b/abis/0.0.1-rc.32/AgreementMock.json @@ -0,0 +1,53 @@ +[ + { + "constant": true, + "inputs": [], + "name": "getAgreementHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementHash", + "type": "bytes32" + } + ], + "name": "setAgreementHashTest", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementHash", + "type": "bytes32" + } + ], + "name": "test", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/Auction4Reputation.json b/abis/0.0.1-rc.32/Auction4Reputation.json new file mode 100644 index 00000000..a94e5a74 --- /dev/null +++ b/abis/0.0.1-rc.32/Auction4Reputation.json @@ -0,0 +1,385 @@ +[ + { + "constant": true, + "inputs": [], + "name": "auctionPeriod", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "auctionReputationReward", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "redeemEnableTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "numberOfAuctions", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "wallet", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "auctionsEndTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "auctions", + "outputs": [ + { + "internalType": "uint256", + "name": "totalBid", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "avatar", + "outputs": [ + { + "internalType": "contract Avatar", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "getAgreementHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "auctionsStartTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "reputationRewardLeft", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "token", + "outputs": [ + { + "internalType": "contract IERC20", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_bidder", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "_auctionId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "Bid", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "_auctionId", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "Redeem", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_auctionReputationReward", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_auctionsStartTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_auctionPeriod", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_numberOfAuctions", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_redeemEnableTime", + "type": "uint256" + }, + { + "internalType": "contract IERC20", + "name": "_token", + "type": "address" + }, + { + "internalType": "address", + "name": "_wallet", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_agreementHash", + "type": "bytes32" + } + ], + "name": "initialize", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_auctionId", + "type": "uint256" + } + ], + "name": "redeem", + "outputs": [ + { + "internalType": "uint256", + "name": "reputation", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_auctionId", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_agreementHash", + "type": "bytes32" + } + ], + "name": "bid", + "outputs": [ + { + "internalType": "uint256", + "name": "auctionId", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "transferToWallet", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_bidder", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_auctionId", + "type": "uint256" + } + ], + "name": "getBid", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/Avatar.json b/abis/0.0.1-rc.32/Avatar.json new file mode 100644 index 00000000..b4a5530b --- /dev/null +++ b/abis/0.0.1-rc.32/Avatar.json @@ -0,0 +1,491 @@ +[ + { + "constant": true, + "inputs": [], + "name": "orgName", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "nativeReputation", + "outputs": [ + { + "internalType": "contract Reputation", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "isOwner", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "nativeToken", + "outputs": [ + { + "internalType": "contract DAOToken", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "_orgName", + "type": "string" + }, + { + "internalType": "contract DAOToken", + "name": "_nativeToken", + "type": "address" + }, + { + "internalType": "contract Reputation", + "name": "_nativeReputation", + "type": "address" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "payable": true, + "stateMutability": "payable", + "type": "fallback" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_contract", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "_data", + "type": "bytes" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bool", + "name": "_success", + "type": "bool" + } + ], + "name": "GenericCall", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "_amountInWei", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "_to", + "type": "address" + } + ], + "name": "SendEther", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_externalToken", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "ExternalTokenTransfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_externalToken", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_from", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "ExternalTokenTransferFrom", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_externalToken", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "ExternalTokenApproval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_sender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "ReceiveEther", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "string", + "name": "_metaData", + "type": "string" + } + ], + "name": "MetaData", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_contract", + "type": "address" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "genericCall", + "outputs": [ + { + "internalType": "bool", + "name": "success", + "type": "bool" + }, + { + "internalType": "bytes", + "name": "returnValue", + "type": "bytes" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amountInWei", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_to", + "type": "address" + } + ], + "name": "sendEther", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_externalToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "externalTokenTransfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_externalToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_from", + "type": "address" + }, + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "externalTokenTransferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_externalToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "externalTokenApproval", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "string", + "name": "_metaData", + "type": "string" + } + ], + "name": "metaData", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/BadERC20.json b/abis/0.0.1-rc.32/BadERC20.json new file mode 100644 index 00000000..4200f3cf --- /dev/null +++ b/abis/0.0.1-rc.32/BadERC20.json @@ -0,0 +1,114 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "balances", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/ContinuousLocking4Reputation.json b/abis/0.0.1-rc.32/ContinuousLocking4Reputation.json new file mode 100644 index 00000000..31ec78ec --- /dev/null +++ b/abis/0.0.1-rc.32/ContinuousLocking4Reputation.json @@ -0,0 +1,611 @@ +[ + { + "constant": true, + "inputs": [], + "name": "repRewardConstB", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "redeemEnableTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "repRewardConstA", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "avatar", + "outputs": [ + { + "internalType": "contract Avatar", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "maxLockingBatches", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "MAX_LOCKING_BATCHES_HARDCAP", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "getAgreementHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "batchTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "batchesIndexCap", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "startTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "lockCounter", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "lockers", + "outputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lockingTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "period", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "reputationRewardLeft", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "batches", + "outputs": [ + { + "internalType": "uint256", + "name": "totalScore", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalLockedLeft", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "token", + "outputs": [ + { + "internalType": "contract IERC20", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "_lockingId", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_batchIndex", + "type": "uint256" + } + ], + "name": "Redeem", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "_lockingId", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "Release", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_locker", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "_lockingId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_period", + "type": "uint256" + } + ], + "name": "LockToken", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_locker", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "_lockingId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_extendPeriod", + "type": "uint256" + } + ], + "name": "ExtendLocking", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_reputationReward", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_startTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_batchTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_redeemEnableTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_maxLockingBatches", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_repRewardConstA", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_repRewardConstB", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_batchesIndexCap", + "type": "uint256" + }, + { + "internalType": "contract IERC20", + "name": "_token", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_agreementHash", + "type": "bytes32" + } + ], + "name": "initialize", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_lockingId", + "type": "uint256" + } + ], + "name": "redeem", + "outputs": [ + { + "internalType": "uint256", + "name": "reputation", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_period", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_batchIndexToLockIn", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_agreementHash", + "type": "bytes32" + } + ], + "name": "lock", + "outputs": [ + { + "internalType": "uint256", + "name": "lockingId", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_extendPeriod", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_batchIndexToLockIn", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_lockingId", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_agreementHash", + "type": "bytes32" + } + ], + "name": "extendLocking", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_lockingId", + "type": "uint256" + } + ], + "name": "release", + "outputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "uint256", + "name": "_batchIndex", + "type": "uint256" + } + ], + "name": "getRepRewardPerBatch", + "outputs": [ + { + "internalType": "uint256", + "name": "repReward", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "uint256", + "name": "_batchIndex", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_lockingId", + "type": "uint256" + } + ], + "name": "getLockingIdScore", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/ContributionReward.json b/abis/0.0.1-rc.32/ContributionReward.json new file mode 100644 index 00000000..71a307cd --- /dev/null +++ b/abis/0.0.1-rc.32/ContributionReward.json @@ -0,0 +1,940 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "parameters", + "outputs": [ + { + "internalType": "bytes32", + "name": "voteApproveParams", + "type": "bytes32" + }, + { + "internalType": "contract IntVoteInterface", + "name": "intVote", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "organizationsProposals", + "outputs": [ + { + "internalType": "uint256", + "name": "nativeTokenReward", + "type": "uint256" + }, + { + "internalType": "int256", + "name": "reputationChange", + "type": "int256" + }, + { + "internalType": "uint256", + "name": "ethReward", + "type": "uint256" + }, + { + "internalType": "contract IERC20", + "name": "externalToken", + "type": "address" + }, + { + "internalType": "uint256", + "name": "externalTokenReward", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "uint256", + "name": "periodLength", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "numberOfPeriods", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "executionTime", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "proposalsInfo", + "outputs": [ + { + "internalType": "uint256", + "name": "blockNumber", + "type": "uint256" + }, + { + "internalType": "contract Avatar", + "name": "avatar", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "balanceOfStakingToken", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "reputationOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "getTotalReputationSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "stakingTokenTransfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "mintReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "burnReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_intVoteInterface", + "type": "address" + }, + { + "indexed": false, + "internalType": "string", + "name": "_descriptionHash", + "type": "string" + }, + { + "indexed": false, + "internalType": "int256", + "name": "_reputationChange", + "type": "int256" + }, + { + "indexed": false, + "internalType": "uint256[5]", + "name": "_rewards", + "type": "uint256[5]" + }, + { + "indexed": false, + "internalType": "contract IERC20", + "name": "_externalToken", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + } + ], + "name": "NewContributionProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "int256", + "name": "_param", + "type": "int256" + } + ], + "name": "ProposalExecuted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "int256", + "name": "_amount", + "type": "int256" + } + ], + "name": "RedeemReputation", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "RedeemEther", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "RedeemNativeToken", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "RedeemExternalToken", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "int256", + "name": "_param", + "type": "int256" + } + ], + "name": "executeProposal", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_voteApproveParams", + "type": "bytes32" + }, + { + "internalType": "contract IntVoteInterface", + "name": "_intVote", + "type": "address" + } + ], + "name": "setParameters", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "string", + "name": "_descriptionHash", + "type": "string" + }, + { + "internalType": "int256", + "name": "_reputationChange", + "type": "int256" + }, + { + "internalType": "uint256[5]", + "name": "_rewards", + "type": "uint256[5]" + }, + { + "internalType": "contract IERC20", + "name": "_externalToken", + "type": "address" + }, + { + "internalType": "address payable", + "name": "_beneficiary", + "type": "address" + } + ], + "name": "proposeContributionReward", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "name": "redeemReputation", + "outputs": [ + { + "internalType": "int256", + "name": "reputation", + "type": "int256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "name": "redeemNativeToken", + "outputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "name": "redeemEther", + "outputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "name": "redeemExternalToken", + "outputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "bool[4]", + "name": "_whatToRedeem", + "type": "bool[4]" + } + ], + "name": "redeem", + "outputs": [ + { + "internalType": "int256", + "name": "reputationReward", + "type": "int256" + }, + { + "internalType": "uint256", + "name": "nativeTokenReward", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "etherReward", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "externalTokenReward", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_redeemType", + "type": "uint256" + } + ], + "name": "getPeriodsToPay", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_redeemType", + "type": "uint256" + } + ], + "name": "getRedeemedPeriods", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "getProposalEthReward", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "getProposalExternalTokenReward", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "getProposalExternalToken", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "getProposalExecutionTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_voteApproveParams", + "type": "bytes32" + }, + { + "internalType": "contract IntVoteInterface", + "name": "_intVote", + "type": "address" + } + ], + "name": "getParametersHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/Controller.json b/abis/0.0.1-rc.32/Controller.json new file mode 100644 index 00000000..cabbe64c --- /dev/null +++ b/abis/0.0.1-rc.32/Controller.json @@ -0,0 +1,1038 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "globalConstraintsRegisterPre", + "outputs": [ + { + "internalType": "bool", + "name": "isRegistered", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "newController", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "globalConstraintsPre", + "outputs": [ + { + "internalType": "address", + "name": "gcAddress", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "params", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "avatar", + "outputs": [ + { + "internalType": "contract Avatar", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "globalConstraintsRegisterPost", + "outputs": [ + { + "internalType": "bool", + "name": "isRegistered", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "nativeReputation", + "outputs": [ + { + "internalType": "contract Reputation", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "schemes", + "outputs": [ + { + "internalType": "bytes32", + "name": "paramsHash", + "type": "bytes32" + }, + { + "internalType": "bytes4", + "name": "permissions", + "type": "bytes4" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "nativeToken", + "outputs": [ + { + "internalType": "contract DAOToken", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "globalConstraintsPost", + "outputs": [ + { + "internalType": "address", + "name": "gcAddress", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "params", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "payable": false, + "stateMutability": "nonpayable", + "type": "fallback" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_sender", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "MintReputation", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_sender", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_from", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "BurnReputation", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_sender", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "MintTokens", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_sender", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_scheme", + "type": "address" + } + ], + "name": "RegisterScheme", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_sender", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_scheme", + "type": "address" + } + ], + "name": "UnregisterScheme", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_oldController", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_newController", + "type": "address" + } + ], + "name": "UpgradeController", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_globalConstraint", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_params", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "enum GlobalConstraintInterface.CallPhase", + "name": "_when", + "type": "uint8" + } + ], + "name": "AddGlobalConstraint", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_globalConstraint", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_index", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bool", + "name": "_isPre", + "type": "bool" + } + ], + "name": "RemoveGlobalConstraint", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "mintReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_from", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "burnReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "mintTokens", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_scheme", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_paramsHash", + "type": "bytes32" + }, + { + "internalType": "bytes4", + "name": "_permissions", + "type": "bytes4" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "registerScheme", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_scheme", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "unregisterScheme", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "unregisterSelf", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_globalConstraint", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_params", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "addGlobalConstraint", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_globalConstraint", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "removeGlobalConstraint", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_newController", + "type": "address" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "name": "upgradeController", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_contract", + "type": "address" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "genericCall", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amountInWei", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_to", + "type": "address" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "name": "sendEther", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_externalToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "name": "externalTokenTransfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_externalToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_from", + "type": "address" + }, + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "name": "externalTokenTransferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_externalToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "name": "externalTokenApproval", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "string", + "name": "_metaData", + "type": "string" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "name": "metaData", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "getNativeReputation", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_scheme", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "isSchemeRegistered", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_scheme", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "getSchemeParameters", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_scheme", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "getSchemePermissions", + "outputs": [ + { + "internalType": "bytes4", + "name": "", + "type": "bytes4" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_globalConstraint", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "getGlobalConstraintParameters", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "globalConstraintsCount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_globalConstraint", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "isGlobalConstraintRegistered", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/ControllerCreator.json b/abis/0.0.1-rc.32/ControllerCreator.json new file mode 100644 index 00000000..c7ac0258 --- /dev/null +++ b/abis/0.0.1-rc.32/ControllerCreator.json @@ -0,0 +1,23 @@ +[ + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "name": "create", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/ControllerInterface.json b/abis/0.0.1-rc.32/ControllerInterface.json new file mode 100644 index 00000000..3e5ecd8c --- /dev/null +++ b/abis/0.0.1-rc.32/ControllerInterface.json @@ -0,0 +1,649 @@ +[ + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "mintReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_from", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "burnReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "mintTokens", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_scheme", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_paramsHash", + "type": "bytes32" + }, + { + "internalType": "bytes4", + "name": "_permissions", + "type": "bytes4" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "registerScheme", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_scheme", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "unregisterScheme", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "unregisterSelf", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_globalConstraint", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_params", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "addGlobalConstraint", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_globalConstraint", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "removeGlobalConstraint", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_newController", + "type": "address" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "name": "upgradeController", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_contract", + "type": "address" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "genericCall", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amountInWei", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_to", + "type": "address" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "name": "sendEther", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_externalToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "name": "externalTokenTransfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_externalToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_from", + "type": "address" + }, + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "name": "externalTokenTransferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_externalToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "name": "externalTokenApproval", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "string", + "name": "_metaData", + "type": "string" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "name": "metaData", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "getNativeReputation", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_scheme", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "isSchemeRegistered", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_scheme", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "getSchemeParameters", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_globalConstraint", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "getGlobalConstraintParameters", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_scheme", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "getSchemePermissions", + "outputs": [ + { + "internalType": "bytes4", + "name": "", + "type": "bytes4" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "globalConstraintsCount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_globalConstraint", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "isGlobalConstraintRegistered", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/CurveInterface.json b/abis/0.0.1-rc.32/CurveInterface.json new file mode 100644 index 00000000..3cc71aa8 --- /dev/null +++ b/abis/0.0.1-rc.32/CurveInterface.json @@ -0,0 +1,23 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "calc", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/DAORegistry.json b/abis/0.0.1-rc.32/DAORegistry.json new file mode 100644 index 00000000..2f1f29fe --- /dev/null +++ b/abis/0.0.1-rc.32/DAORegistry.json @@ -0,0 +1,187 @@ +[ + { + "constant": false, + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "owner", + "outputs": [ + { + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "isOwner", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "name": "_owner", + "type": "address" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "_avatar", + "type": "address" + } + ], + "name": "Propose", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "_avatar", + "type": "address" + }, + { + "indexed": false, + "name": "_name", + "type": "string" + } + ], + "name": "Register", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "_avatar", + "type": "address" + } + ], + "name": "UnRegister", + "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": "_avatar", + "type": "address" + } + ], + "name": "propose", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_avatar", + "type": "address" + }, + { + "name": "_name", + "type": "string" + } + ], + "name": "register", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_avatar", + "type": "address" + } + ], + "name": "unRegister", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "_name", + "type": "string" + } + ], + "name": "isRegister", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/DAOToken.json b/abis/0.0.1-rc.32/DAOToken.json new file mode 100644 index 00000000..9c31faa3 --- /dev/null +++ b/abis/0.0.1-rc.32/DAOToken.json @@ -0,0 +1,465 @@ +[ + { + "constant": true, + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "cap", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "addedValue", + "type": "uint256" + } + ], + "name": "increaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "burn", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "burnFrom", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "isOwner", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "subtractedValue", + "type": "uint256" + } + ], + "name": "decreaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "_name", + "type": "string" + }, + { + "internalType": "string", + "name": "_symbol", + "type": "string" + }, + { + "internalType": "uint256", + "name": "_cap", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "mint", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/DAOTracker.json b/abis/0.0.1-rc.32/DAOTracker.json new file mode 100644 index 00000000..314cc2f1 --- /dev/null +++ b/abis/0.0.1-rc.32/DAOTracker.json @@ -0,0 +1,242 @@ +[ + { + "constant": false, + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "isOwner", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "blacklisted", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_controller", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_reputation", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_daoToken", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_sender", + "type": "address" + }, + { + "indexed": false, + "internalType": "string", + "name": "_arcVersion", + "type": "string" + } + ], + "name": "TrackDAO", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": false, + "internalType": "string", + "name": "_explanationHash", + "type": "string" + } + ], + "name": "BlacklistDAO", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": false, + "internalType": "string", + "name": "_explanationHash", + "type": "string" + } + ], + "name": "ResetDAO", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "contract ControllerInterface", + "name": "_controller", + "type": "address" + }, + { + "internalType": "string", + "name": "_arcVersion", + "type": "string" + } + ], + "name": "track", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "string", + "name": "_explanationHash", + "type": "string" + } + ], + "name": "blacklist", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "string", + "name": "_explanationHash", + "type": "string" + } + ], + "name": "reset", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/DaoCreator.json b/abis/0.0.1-rc.32/DaoCreator.json new file mode 100644 index 00000000..bc4d0a31 --- /dev/null +++ b/abis/0.0.1-rc.32/DaoCreator.json @@ -0,0 +1,193 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "locks", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract ControllerCreator", + "name": "_controllerCreator", + "type": "address" + }, + { + "internalType": "contract DAOTracker", + "name": "_daoTracker", + "type": "address" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "NewOrg", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "InitialSchemesSet", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "address[]", + "name": "_founders", + "type": "address[]" + }, + { + "internalType": "uint256[]", + "name": "_foundersTokenAmount", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_foundersReputationAmount", + "type": "uint256[]" + } + ], + "name": "addFounders", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "string", + "name": "_orgName", + "type": "string" + }, + { + "internalType": "string", + "name": "_tokenName", + "type": "string" + }, + { + "internalType": "string", + "name": "_tokenSymbol", + "type": "string" + }, + { + "internalType": "address[]", + "name": "_founders", + "type": "address[]" + }, + { + "internalType": "uint256[]", + "name": "_foundersTokenAmount", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_foundersReputationAmount", + "type": "uint256[]" + }, + { + "internalType": "contract UController", + "name": "_uController", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_cap", + "type": "uint256" + } + ], + "name": "forgeOrg", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "address[]", + "name": "_schemes", + "type": "address[]" + }, + { + "internalType": "bytes32[]", + "name": "_params", + "type": "bytes32[]" + }, + { + "internalType": "bytes4[]", + "name": "_permissions", + "type": "bytes4[]" + }, + { + "internalType": "string", + "name": "_metaData", + "type": "string" + } + ], + "name": "setSchemes", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/Debug.json b/abis/0.0.1-rc.32/Debug.json new file mode 100644 index 00000000..a5d07df9 --- /dev/null +++ b/abis/0.0.1-rc.32/Debug.json @@ -0,0 +1,93 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "_msg", + "type": "address" + } + ], + "name": "LogAddress", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "int256", + "name": "_msg", + "type": "int256" + } + ], + "name": "LogInt", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "string", + "name": "_msg", + "type": "string" + } + ], + "name": "LogString", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "_msg", + "type": "uint256" + } + ], + "name": "LogUint", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes", + "name": "_msg", + "type": "bytes" + } + ], + "name": "LogBytes", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "_msg", + "type": "bytes32" + } + ], + "name": "LogBytes32", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bool", + "name": "_msg", + "type": "bool" + } + ], + "name": "LogBool", + "type": "event" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/ECDSA.json b/abis/0.0.1-rc.32/ECDSA.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/abis/0.0.1-rc.32/ECDSA.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/ERC20.json b/abis/0.0.1-rc.32/ERC20.json new file mode 100644 index 00000000..7cb7f5df --- /dev/null +++ b/abis/0.0.1-rc.32/ERC20.json @@ -0,0 +1,249 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "constant": true, + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "addedValue", + "type": "uint256" + } + ], + "name": "increaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "subtractedValue", + "type": "uint256" + } + ], + "name": "decreaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/ERC20Burnable.json b/abis/0.0.1-rc.32/ERC20Burnable.json new file mode 100644 index 00000000..4908c091 --- /dev/null +++ b/abis/0.0.1-rc.32/ERC20Burnable.json @@ -0,0 +1,284 @@ +[ + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "addedValue", + "type": "uint256" + } + ], + "name": "increaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "subtractedValue", + "type": "uint256" + } + ], + "name": "decreaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "burn", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "burnFrom", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/ERC20Mock.json b/abis/0.0.1-rc.32/ERC20Mock.json new file mode 100644 index 00000000..78a9109f --- /dev/null +++ b/abis/0.0.1-rc.32/ERC20Mock.json @@ -0,0 +1,266 @@ +[ + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "addedValue", + "type": "uint256" + } + ], + "name": "increaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "subtractedValue", + "type": "uint256" + } + ], + "name": "decreaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "initialAccount", + "type": "address" + }, + { + "internalType": "uint256", + "name": "initialBalance", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/ERC827.json b/abis/0.0.1-rc.32/ERC827.json new file mode 100644 index 00000000..d21113db --- /dev/null +++ b/abis/0.0.1-rc.32/ERC827.json @@ -0,0 +1,295 @@ +[ + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "name": "approveAndCall", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "name": "transferAndCall", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_from", + "type": "address" + }, + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "name": "transferFromAndCall", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/ERC827Token.json b/abis/0.0.1-rc.32/ERC827Token.json new file mode 100644 index 00000000..008f3bdc --- /dev/null +++ b/abis/0.0.1-rc.32/ERC827Token.json @@ -0,0 +1,409 @@ +[ + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "addedValue", + "type": "uint256" + } + ], + "name": "increaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "subtractedValue", + "type": "uint256" + } + ], + "name": "decreaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "name": "approveAndCall", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "name": "transferAndCall", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_from", + "type": "address" + }, + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "name": "transferFromAndCall", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_addedValue", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "name": "increaseApprovalAndCall", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_subtractedValue", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "name": "decreaseApprovalAndCall", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/ERC827TokenMock.json b/abis/0.0.1-rc.32/ERC827TokenMock.json new file mode 100644 index 00000000..c7c75397 --- /dev/null +++ b/abis/0.0.1-rc.32/ERC827TokenMock.json @@ -0,0 +1,426 @@ +[ + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "addedValue", + "type": "uint256" + } + ], + "name": "increaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "name": "transferAndCall", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_addedValue", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "name": "increaseApprovalAndCall", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "subtractedValue", + "type": "uint256" + } + ], + "name": "decreaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_from", + "type": "address" + }, + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "name": "transferFromAndCall", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "name": "approveAndCall", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_subtractedValue", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "name": "decreaseApprovalAndCall", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "initialAccount", + "type": "address" + }, + { + "internalType": "uint256", + "name": "initialBalance", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/ExternalLocking4Reputation.json b/abis/0.0.1-rc.32/ExternalLocking4Reputation.json new file mode 100644 index 00000000..95faae85 --- /dev/null +++ b/abis/0.0.1-rc.32/ExternalLocking4Reputation.json @@ -0,0 +1,506 @@ +[ + { + "constant": true, + "inputs": [], + "name": "redeemEnableTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "lockingStartTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalLocked", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "avatar", + "outputs": [ + { + "internalType": "contract Avatar", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "getAgreementHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "scores", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "externalLockingContract", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "lockers", + "outputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "releaseTime", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + } + ], + "name": "redeem", + "outputs": [ + { + "internalType": "uint256", + "name": "reputation", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "lockingEndTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "reputationRewardLeft", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "maxLockingPeriod", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalScore", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "lockingsCounter", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalLockedLeft", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "externalLockers", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "registrar", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "reputationReward", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "getBalanceFuncSignature", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + } + ], + "name": "Register", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "Redeem", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_lockingId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "Release", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_locker", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_lockingId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_period", + "type": "uint256" + } + ], + "name": "Lock", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_reputationReward", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_claimingStartTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_claimingEndTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_redeemEnableTime", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_externalLockingContract", + "type": "address" + }, + { + "internalType": "string", + "name": "_getBalanceFuncSignature", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "_agreementHash", + "type": "bytes32" + } + ], + "name": "initialize", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_agreementHash", + "type": "bytes32" + } + ], + "name": "claim", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementHash", + "type": "bytes32" + } + ], + "name": "register", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/ExternalTokenLockerMock.json b/abis/0.0.1-rc.32/ExternalTokenLockerMock.json new file mode 100644 index 00000000..0de5598f --- /dev/null +++ b/abis/0.0.1-rc.32/ExternalTokenLockerMock.json @@ -0,0 +1,137 @@ +[ + { + "constant": false, + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "lockedTokenBalances", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "isOwner", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + } + ], + "name": "lock", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/FixedReputationAllocation.json b/abis/0.0.1-rc.32/FixedReputationAllocation.json new file mode 100644 index 00000000..e7072825 --- /dev/null +++ b/abis/0.0.1-rc.32/FixedReputationAllocation.json @@ -0,0 +1,303 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "beneficiaries", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "numberOfBeneficiaries", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "redeemEnableTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "isEnable", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "avatar", + "outputs": [ + { + "internalType": "contract Avatar", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "isOwner", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "beneficiaryReward", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "reputationReward", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "Redeem", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + } + ], + "name": "BeneficiaryAddressAdded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_reputationReward", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_redeemEnableTime", + "type": "uint256" + } + ], + "name": "initialize", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + } + ], + "name": "redeem", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + } + ], + "name": "addBeneficiary", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address[]", + "name": "_beneficiaries", + "type": "address[]" + } + ], + "name": "addBeneficiaries", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "enable", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/Forwarder.json b/abis/0.0.1-rc.32/Forwarder.json new file mode 100644 index 00000000..41f9489e --- /dev/null +++ b/abis/0.0.1-rc.32/Forwarder.json @@ -0,0 +1,145 @@ +[ + { + "constant": true, + "inputs": [], + "name": "avatar", + "outputs": [ + { + "internalType": "contract Avatar", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "isOwner", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "expirationTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "payable": false, + "stateMutability": "nonpayable", + "type": "fallback" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_expirationTime", + "type": "uint256" + } + ], + "name": "initialize", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "unregisterSelf", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/GenericScheme.json b/abis/0.0.1-rc.32/GenericScheme.json new file mode 100644 index 00000000..ffc73935 --- /dev/null +++ b/abis/0.0.1-rc.32/GenericScheme.json @@ -0,0 +1,508 @@ +[ + { + "constant": true, + "inputs": [], + "name": "votingMachine", + "outputs": [ + { + "internalType": "contract IntVoteInterface", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "avatar", + "outputs": [ + { + "internalType": "contract Avatar", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "proposalsInfo", + "outputs": [ + { + "internalType": "uint256", + "name": "blockNumber", + "type": "uint256" + }, + { + "internalType": "contract Avatar", + "name": "avatar", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "balanceOfStakingToken", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "reputationOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "contractToCall", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "getTotalReputationSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "stakingTokenTransfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "mintReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "organizationProposals", + "outputs": [ + { + "internalType": "bytes", + "name": "callData", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "exist", + "type": "bool" + }, + { + "internalType": "bool", + "name": "passed", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "voteParams", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "burnReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "_callData", + "type": "bytes" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "string", + "name": "_descriptionHash", + "type": "string" + } + ], + "name": "NewCallProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "_genericCallReturnValue", + "type": "bytes" + } + ], + "name": "ProposalExecuted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "int256", + "name": "_param", + "type": "int256" + } + ], + "name": "ProposalExecutedByVotingMachine", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "ProposalDeleted", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "contract IntVoteInterface", + "name": "_votingMachine", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_voteParams", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_contractToCall", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "int256", + "name": "_decision", + "type": "int256" + } + ], + "name": "executeProposal", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "execute", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes", + "name": "_callData", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "string", + "name": "_descriptionHash", + "type": "string" + } + ], + "name": "proposeCall", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/GenesisProtocol.json b/abis/0.0.1-rc.32/GenesisProtocol.json new file mode 100644 index 00000000..5bbafe4f --- /dev/null +++ b/abis/0.0.1-rc.32/GenesisProtocol.json @@ -0,0 +1,1426 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "parameters", + "outputs": [ + { + "internalType": "uint256", + "name": "queuedVoteRequiredPercentage", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "queuedVotePeriodLimit", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "boostedVotePeriodLimit", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "preBoostedVotePeriodLimit", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "thresholdConst", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "limitExponentValue", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "quietEndingPeriod", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "proposingRepReward", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "votersReputationLossRatio", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "minimumDaoBounty", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "daoBountyConst", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "activationTime", + "type": "uint256" + }, + { + "internalType": "address", + "name": "voteOnBehalf", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "uint256[11]", + "name": "_params", + "type": "uint256[11]" + }, + { + "internalType": "address", + "name": "_voteOnBehalf", + "type": "address" + } + ], + "name": "getParametersHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "NO", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "proposalsCnt", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_paramsHash", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_organizationId", + "type": "bytes32" + } + ], + "name": "threshold", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "DELEGATION_HASH_EIP712", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "proposals", + "outputs": [ + { + "internalType": "bytes32", + "name": "organizationId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "callbacks", + "type": "address" + }, + { + "internalType": "enum GenesisProtocolLogic.ProposalState", + "name": "state", + "type": "uint8" + }, + { + "internalType": "uint256", + "name": "winningVote", + "type": "uint256" + }, + { + "internalType": "address", + "name": "proposer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "currentBoostedVotePeriodLimit", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "paramsHash", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "daoBountyRemain", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "daoBounty", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "totalStakes", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "confidenceThreshold", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "secondsFromTimeOutTillExecuteBoosted", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "daoRedeemItsWinnings", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "calcExecuteCallBounty", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + } + ], + "name": "redeemDaoBounty", + "outputs": [ + { + "internalType": "uint256", + "name": "redeemedAmount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "potentialAmount", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "stakingToken", + "outputs": [ + { + "internalType": "contract IERC20", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "shouldBoost", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_paramsHash", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_proposer", + "type": "address" + }, + { + "internalType": "address", + "name": "_organization", + "type": "address" + } + ], + "name": "propose", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256[11]", + "name": "_params", + "type": "uint256[11]" + }, + { + "internalType": "address", + "name": "_voteOnBehalf", + "type": "address" + } + ], + "name": "setParameters", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "NUM_OF_CHOICES", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "stakesNonce", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "YES", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "organizations", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "averagesDownstakesOfBoosted", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "executeBoosted", + "outputs": [ + { + "internalType": "uint256", + "name": "expirationCallBounty", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + } + ], + "name": "redeem", + "outputs": [ + { + "internalType": "uint256[3]", + "name": "rewards", + "type": "uint256[3]" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "orgBoostedProposalsCnt", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_staker", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_vote", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "Stake", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "Redeem", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "RedeemDaoBounty", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "RedeemReputation", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "enum GenesisProtocolLogic.ProposalState", + "name": "_proposalState", + "type": "uint8" + } + ], + "name": "StateChange", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "enum GenesisProtocolLogic.ExecutionState", + "name": "_executionState", + "type": "uint8" + } + ], + "name": "GPExecuteProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "ExpirationCallBounty", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_confidenceThreshold", + "type": "uint256" + } + ], + "name": "ConfidenceLevelChange", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_numOfChoices", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "_proposer", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_paramsHash", + "type": "bytes32" + } + ], + "name": "NewProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_decision", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_totalReputation", + "type": "uint256" + } + ], + "name": "ExecuteProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_voter", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_vote", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_reputation", + "type": "uint256" + } + ], + "name": "VoteProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + } + ], + "name": "CancelProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_voter", + "type": "address" + } + ], + "name": "CancelVoting", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_vote", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "stake", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_vote", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_nonce", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_signatureType", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "_signature", + "type": "bytes" + } + ], + "name": "stakeWithSignature", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_vote", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_voter", + "type": "address" + } + ], + "name": "vote", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "cancelVote", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "execute", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "getNumberOfChoices", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "getProposalTimes", + "outputs": [ + { + "internalType": "uint256[3]", + "name": "times", + "type": "uint256[3]" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_voter", + "type": "address" + } + ], + "name": "voteInfo", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_choice", + "type": "uint256" + } + ], + "name": "voteStatus", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "isVotable", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "proposalStatus", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "getProposalOrganization", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_staker", + "type": "address" + } + ], + "name": "getStaker", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_vote", + "type": "uint256" + } + ], + "name": "voteStake", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "winningVote", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "state", + "outputs": [ + { + "internalType": "enum GenesisProtocolLogic.ProposalState", + "name": "", + "type": "uint8" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "isAbstainAllow", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "getAllowedRangeOfChoices", + "outputs": [ + { + "internalType": "uint256", + "name": "min", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "max", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "score", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/GenesisProtocolCallbacksMock.json b/abis/0.0.1-rc.32/GenesisProtocolCallbacksMock.json new file mode 100644 index 00000000..279b776a --- /dev/null +++ b/abis/0.0.1-rc.32/GenesisProtocolCallbacksMock.json @@ -0,0 +1,607 @@ +[ + { + "constant": false, + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "stakingToken", + "outputs": [ + { + "internalType": "contract IERC20", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "genesisProtocol", + "outputs": [ + { + "internalType": "contract GenesisProtocol", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "isOwner", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "reputation", + "outputs": [ + { + "internalType": "contract Reputation", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "proposalsBlockNumbers", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract Reputation", + "name": "_reputation", + "type": "address" + }, + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "contract GenesisProtocol", + "name": "_genesisProtocol", + "type": "address" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_numOfChoices", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "_proposer", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_paramsHash", + "type": "bytes32" + } + ], + "name": "NewProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "_msg", + "type": "address" + } + ], + "name": "LogAddress", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "int256", + "name": "_msg", + "type": "int256" + } + ], + "name": "LogInt", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "string", + "name": "_msg", + "type": "string" + } + ], + "name": "LogString", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "_msg", + "type": "uint256" + } + ], + "name": "LogUint", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes", + "name": "_msg", + "type": "bytes" + } + ], + "name": "LogBytes", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "_msg", + "type": "bytes32" + } + ], + "name": "LogBytes32", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bool", + "name": "_msg", + "type": "bool" + } + ], + "name": "LogBool", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "mintReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "burnReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "stakingTokenTransfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256[11]", + "name": "_params", + "type": "uint256[11]" + }, + { + "internalType": "address", + "name": "_voteOnBehalf", + "type": "address" + } + ], + "name": "setParameters", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "int256", + "name": "_decision", + "type": "int256" + } + ], + "name": "executeProposal", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_numOfChoices", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_paramsHash", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "_proposer", + "type": "address" + }, + { + "internalType": "address", + "name": "_organization", + "type": "address" + } + ], + "name": "propose", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "burnReputationTest", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "setProposal", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "getTotalReputationSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "balanceOfStakingToken", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "reputationOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/GenesisProtocolLogic.json b/abis/0.0.1-rc.32/GenesisProtocolLogic.json new file mode 100644 index 00000000..90bdf520 --- /dev/null +++ b/abis/0.0.1-rc.32/GenesisProtocolLogic.json @@ -0,0 +1,1063 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "parameters", + "outputs": [ + { + "internalType": "uint256", + "name": "queuedVoteRequiredPercentage", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "queuedVotePeriodLimit", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "boostedVotePeriodLimit", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "preBoostedVotePeriodLimit", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "thresholdConst", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "limitExponentValue", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "quietEndingPeriod", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "proposingRepReward", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "votersReputationLossRatio", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "minimumDaoBounty", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "daoBountyConst", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "activationTime", + "type": "uint256" + }, + { + "internalType": "address", + "name": "voteOnBehalf", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "NO", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "proposalsCnt", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "proposals", + "outputs": [ + { + "internalType": "bytes32", + "name": "organizationId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "callbacks", + "type": "address" + }, + { + "internalType": "enum GenesisProtocolLogic.ProposalState", + "name": "state", + "type": "uint8" + }, + { + "internalType": "uint256", + "name": "winningVote", + "type": "uint256" + }, + { + "internalType": "address", + "name": "proposer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "currentBoostedVotePeriodLimit", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "paramsHash", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "daoBountyRemain", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "daoBounty", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "totalStakes", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "confidenceThreshold", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "secondsFromTimeOutTillExecuteBoosted", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "daoRedeemItsWinnings", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_vote", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_rep", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_voter", + "type": "address" + } + ], + "name": "vote", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "getAllowedRangeOfChoices", + "outputs": [ + { + "internalType": "uint256", + "name": "min", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "max", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "isAbstainAllow", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "stakingToken", + "outputs": [ + { + "internalType": "contract IERC20", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "cancelVote", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "NUM_OF_CHOICES", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "getNumberOfChoices", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "YES", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_choice", + "type": "uint256" + } + ], + "name": "voteStatus", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "organizations", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "averagesDownstakesOfBoosted", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "isVotable", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "orgBoostedProposalsCnt", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_staker", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_vote", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "Stake", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "Redeem", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "RedeemDaoBounty", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "RedeemReputation", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "enum GenesisProtocolLogic.ProposalState", + "name": "_proposalState", + "type": "uint8" + } + ], + "name": "StateChange", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "enum GenesisProtocolLogic.ExecutionState", + "name": "_executionState", + "type": "uint8" + } + ], + "name": "GPExecuteProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "ExpirationCallBounty", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_confidenceThreshold", + "type": "uint256" + } + ], + "name": "ConfidenceLevelChange", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_numOfChoices", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "_proposer", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_paramsHash", + "type": "bytes32" + } + ], + "name": "NewProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_decision", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_totalReputation", + "type": "uint256" + } + ], + "name": "ExecuteProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_voter", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_vote", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_reputation", + "type": "uint256" + } + ], + "name": "VoteProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + } + ], + "name": "CancelProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_voter", + "type": "address" + } + ], + "name": "CancelVoting", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_paramsHash", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_proposer", + "type": "address" + }, + { + "internalType": "address", + "name": "_organization", + "type": "address" + } + ], + "name": "propose", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "executeBoosted", + "outputs": [ + { + "internalType": "uint256", + "name": "expirationCallBounty", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256[11]", + "name": "_params", + "type": "uint256[11]" + }, + { + "internalType": "address", + "name": "_voteOnBehalf", + "type": "address" + } + ], + "name": "setParameters", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + } + ], + "name": "redeem", + "outputs": [ + { + "internalType": "uint256[3]", + "name": "rewards", + "type": "uint256[3]" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + } + ], + "name": "redeemDaoBounty", + "outputs": [ + { + "internalType": "uint256", + "name": "redeemedAmount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "potentialAmount", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "calcExecuteCallBounty", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "shouldBoost", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_paramsHash", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_organizationId", + "type": "bytes32" + } + ], + "name": "threshold", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "uint256[11]", + "name": "_params", + "type": "uint256[11]" + }, + { + "internalType": "address", + "name": "_voteOnBehalf", + "type": "address" + } + ], + "name": "getParametersHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/GlobalConstraintInterface.json b/abis/0.0.1-rc.32/GlobalConstraintInterface.json new file mode 100644 index 00000000..f74bf724 --- /dev/null +++ b/abis/0.0.1-rc.32/GlobalConstraintInterface.json @@ -0,0 +1,79 @@ +[ + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_scheme", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_params", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_method", + "type": "bytes32" + } + ], + "name": "pre", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_scheme", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_params", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_method", + "type": "bytes32" + } + ], + "name": "post", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "when", + "outputs": [ + { + "internalType": "enum GlobalConstraintInterface.CallPhase", + "name": "", + "type": "uint8" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/GlobalConstraintMock.json b/abis/0.0.1-rc.32/GlobalConstraintMock.json new file mode 100644 index 00000000..2fcbcd09 --- /dev/null +++ b/abis/0.0.1-rc.32/GlobalConstraintMock.json @@ -0,0 +1,151 @@ +[ + { + "constant": true, + "inputs": [], + "name": "currentCallPhase", + "outputs": [ + { + "internalType": "enum GlobalConstraintInterface.CallPhase", + "name": "", + "type": "uint8" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "testParams", + "outputs": [ + { + "internalType": "bool", + "name": "pre", + "type": "bool" + }, + { + "internalType": "bool", + "name": "post", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "method", + "type": "bytes32" + }, + { + "internalType": "bool", + "name": "pre", + "type": "bool" + }, + { + "internalType": "bool", + "name": "post", + "type": "bool" + } + ], + "name": "setConstraint", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "method", + "type": "bytes32" + } + ], + "name": "pre", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "method", + "type": "bytes32" + } + ], + "name": "post", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "when", + "outputs": [ + { + "internalType": "enum GlobalConstraintInterface.CallPhase", + "name": "", + "type": "uint8" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/GlobalConstraintRegistrar.json b/abis/0.0.1-rc.32/GlobalConstraintRegistrar.json new file mode 100644 index 00000000..bad50eeb --- /dev/null +++ b/abis/0.0.1-rc.32/GlobalConstraintRegistrar.json @@ -0,0 +1,577 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "parameters", + "outputs": [ + { + "internalType": "bytes32", + "name": "voteRegisterParams", + "type": "bytes32" + }, + { + "internalType": "contract IntVoteInterface", + "name": "intVote", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "organizationsProposals", + "outputs": [ + { + "internalType": "address", + "name": "gc", + "type": "address" + }, + { + "internalType": "bool", + "name": "addGC", + "type": "bool" + }, + { + "internalType": "bytes32", + "name": "params", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "voteToRemoveParams", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "proposalsInfo", + "outputs": [ + { + "internalType": "uint256", + "name": "blockNumber", + "type": "uint256" + }, + { + "internalType": "contract Avatar", + "name": "avatar", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "balanceOfStakingToken", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "reputationOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "voteToRemoveParams", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "getTotalReputationSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "stakingTokenTransfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "mintReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "burnReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_intVoteInterface", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_gc", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_params", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_voteToRemoveParams", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "string", + "name": "_descriptionHash", + "type": "string" + } + ], + "name": "NewGlobalConstraintsProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_intVoteInterface", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_gc", + "type": "address" + }, + { + "indexed": false, + "internalType": "string", + "name": "_descriptionHash", + "type": "string" + } + ], + "name": "RemoveGlobalConstraintsProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "int256", + "name": "_param", + "type": "int256" + } + ], + "name": "ProposalExecuted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "ProposalDeleted", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "int256", + "name": "_param", + "type": "int256" + } + ], + "name": "executeProposal", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_voteRegisterParams", + "type": "bytes32" + }, + { + "internalType": "contract IntVoteInterface", + "name": "_intVote", + "type": "address" + } + ], + "name": "setParameters", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "address", + "name": "_gc", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_params", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_voteToRemoveParams", + "type": "bytes32" + }, + { + "internalType": "string", + "name": "_descriptionHash", + "type": "string" + } + ], + "name": "proposeGlobalConstraint", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "address", + "name": "_gc", + "type": "address" + }, + { + "internalType": "string", + "name": "_descriptionHash", + "type": "string" + } + ], + "name": "proposeToRemoveGC", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_voteRegisterParams", + "type": "bytes32" + }, + { + "internalType": "contract IntVoteInterface", + "name": "_intVote", + "type": "address" + } + ], + "name": "getParametersHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/IERC20.json b/abis/0.0.1-rc.32/IERC20.json new file mode 100644 index 00000000..8e9eecb6 --- /dev/null +++ b/abis/0.0.1-rc.32/IERC20.json @@ -0,0 +1,197 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "constant": true, + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/IntVoteInterface.json b/abis/0.0.1-rc.32/IntVoteInterface.json new file mode 100644 index 00000000..481aaf33 --- /dev/null +++ b/abis/0.0.1-rc.32/IntVoteInterface.json @@ -0,0 +1,341 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_numOfChoices", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "_proposer", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_paramsHash", + "type": "bytes32" + } + ], + "name": "NewProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_decision", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_totalReputation", + "type": "uint256" + } + ], + "name": "ExecuteProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_voter", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_vote", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_reputation", + "type": "uint256" + } + ], + "name": "VoteProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + } + ], + "name": "CancelProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_voter", + "type": "address" + } + ], + "name": "CancelVoting", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_numOfChoices", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_proposalParameters", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_proposer", + "type": "address" + }, + { + "internalType": "address", + "name": "_organization", + "type": "address" + } + ], + "name": "propose", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_vote", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_rep", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_voter", + "type": "address" + } + ], + "name": "vote", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "cancelVote", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "getNumberOfChoices", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "isVotable", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_choice", + "type": "uint256" + } + ], + "name": "voteStatus", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "isAbstainAllow", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "getAllowedRangeOfChoices", + "outputs": [ + { + "internalType": "uint256", + "name": "min", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "max", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/Locking4Reputation.json b/abis/0.0.1-rc.32/Locking4Reputation.json new file mode 100644 index 00000000..37024fed --- /dev/null +++ b/abis/0.0.1-rc.32/Locking4Reputation.json @@ -0,0 +1,330 @@ +[ + { + "constant": true, + "inputs": [], + "name": "redeemEnableTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "lockingStartTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalLocked", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "avatar", + "outputs": [ + { + "internalType": "contract Avatar", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "getAgreementHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "scores", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "lockers", + "outputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "releaseTime", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "lockingEndTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "reputationRewardLeft", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "maxLockingPeriod", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalScore", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "lockingsCounter", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalLockedLeft", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "reputationReward", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "Redeem", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_lockingId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "Release", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_locker", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_lockingId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_period", + "type": "uint256" + } + ], + "name": "Lock", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + } + ], + "name": "redeem", + "outputs": [ + { + "internalType": "uint256", + "name": "reputation", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/LockingEth4Reputation.json b/abis/0.0.1-rc.32/LockingEth4Reputation.json new file mode 100644 index 00000000..8c35102d --- /dev/null +++ b/abis/0.0.1-rc.32/LockingEth4Reputation.json @@ -0,0 +1,427 @@ +[ + { + "constant": true, + "inputs": [], + "name": "redeemEnableTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "lockingStartTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalLocked", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "avatar", + "outputs": [ + { + "internalType": "contract Avatar", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "getAgreementHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "scores", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "lockers", + "outputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "releaseTime", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + } + ], + "name": "redeem", + "outputs": [ + { + "internalType": "uint256", + "name": "reputation", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "lockingEndTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "reputationRewardLeft", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "maxLockingPeriod", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalScore", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "lockingsCounter", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalLockedLeft", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "reputationReward", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "Redeem", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_lockingId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "Release", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_locker", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_lockingId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_period", + "type": "uint256" + } + ], + "name": "Lock", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_reputationReward", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_lockingStartTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_lockingEndTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_redeemEnableTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_maxLockingPeriod", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_agreementHash", + "type": "bytes32" + } + ], + "name": "initialize", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address payable", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_lockingId", + "type": "bytes32" + } + ], + "name": "release", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_period", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_agreementHash", + "type": "bytes32" + } + ], + "name": "lock", + "outputs": [ + { + "internalType": "bytes32", + "name": "lockingId", + "type": "bytes32" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/LockingToken4Reputation.json b/abis/0.0.1-rc.32/LockingToken4Reputation.json new file mode 100644 index 00000000..12a079ec --- /dev/null +++ b/abis/0.0.1-rc.32/LockingToken4Reputation.json @@ -0,0 +1,509 @@ +[ + { + "constant": true, + "inputs": [], + "name": "redeemEnableTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "priceOracleContract", + "outputs": [ + { + "internalType": "contract PriceOracleInterface", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "lockingStartTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalLocked", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "avatar", + "outputs": [ + { + "internalType": "contract Avatar", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "getAgreementHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "scores", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "lockers", + "outputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "releaseTime", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + } + ], + "name": "redeem", + "outputs": [ + { + "internalType": "uint256", + "name": "reputation", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "lockingEndTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "reputationRewardLeft", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "maxLockingPeriod", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalScore", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "lockingsCounter", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalLockedLeft", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "lockedTokens", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "reputationReward", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_lockingId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_token", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_numerator", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_denominator", + "type": "uint256" + } + ], + "name": "LockToken", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "Redeem", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_lockingId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "Release", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_locker", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_lockingId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_period", + "type": "uint256" + } + ], + "name": "Lock", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_reputationReward", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_lockingStartTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_lockingEndTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_redeemEnableTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_maxLockingPeriod", + "type": "uint256" + }, + { + "internalType": "contract PriceOracleInterface", + "name": "_priceOracleContract", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_agreementHash", + "type": "bytes32" + } + ], + "name": "initialize", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_lockingId", + "type": "bytes32" + } + ], + "name": "release", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_period", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_token", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_agreementHash", + "type": "bytes32" + } + ], + "name": "lock", + "outputs": [ + { + "internalType": "bytes32", + "name": "lockingId", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/Math.json b/abis/0.0.1-rc.32/Math.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/abis/0.0.1-rc.32/Math.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/Migrations.json b/abis/0.0.1-rc.32/Migrations.json new file mode 100644 index 00000000..e3213265 --- /dev/null +++ b/abis/0.0.1-rc.32/Migrations.json @@ -0,0 +1,68 @@ +[ + { + "constant": true, + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "lastCompletedMigration", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "completed", + "type": "uint256" + } + ], + "name": "setCompleted", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "newAddress", + "type": "address" + } + ], + "name": "upgrade", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/MiniMeToken.json b/abis/0.0.1-rc.32/MiniMeToken.json new file mode 100644 index 00000000..0e504e85 --- /dev/null +++ b/abis/0.0.1-rc.32/MiniMeToken.json @@ -0,0 +1,49 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_blockNumber", + "type": "uint256" + } + ], + "name": "balanceOfAt", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "uint256", + "name": "_blockNumber", + "type": "uint256" + } + ], + "name": "totalSupplyAt", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/NectarRepAllocation.json b/abis/0.0.1-rc.32/NectarRepAllocation.json new file mode 100644 index 00000000..1dd3f934 --- /dev/null +++ b/abis/0.0.1-rc.32/NectarRepAllocation.json @@ -0,0 +1,148 @@ +[ + { + "constant": true, + "inputs": [], + "name": "claimingStartTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "blockReference", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalTokenSupplyAt", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "claimingEndTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "reputationReward", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "token", + "outputs": [ + { + "internalType": "contract MiniMeToken", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_reputationReward", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_claimingStartTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_claimingEndTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_blockReference", + "type": "uint256" + }, + { + "internalType": "contract MiniMeToken", + "name": "_token", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "reputation", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/OrganizationRegister.json b/abis/0.0.1-rc.32/OrganizationRegister.json new file mode 100644 index 00000000..840dd088 --- /dev/null +++ b/abis/0.0.1-rc.32/OrganizationRegister.json @@ -0,0 +1,190 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "parameters", + "outputs": [ + { + "internalType": "uint256", + "name": "fee", + "type": "uint256" + }, + { + "internalType": "contract IERC20", + "name": "token", + "type": "address" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "organizationsRegistry", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_registry", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_org", + "type": "address" + } + ], + "name": "OrgAdded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_registry", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_org", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "Promotion", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_token", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_fee", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + } + ], + "name": "setParameters", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "address", + "name": "_record", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "addOrPromoteAddress", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_token", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_fee", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + } + ], + "name": "getParametersHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/Ownable.json b/abis/0.0.1-rc.32/Ownable.json new file mode 100644 index 00000000..03d0d2c5 --- /dev/null +++ b/abis/0.0.1-rc.32/Ownable.json @@ -0,0 +1,81 @@ +[ + { + "inputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "constant": true, + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "isOwner", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/PolkaCurve.json b/abis/0.0.1-rc.32/PolkaCurve.json new file mode 100644 index 00000000..b3961d09 --- /dev/null +++ b/abis/0.0.1-rc.32/PolkaCurve.json @@ -0,0 +1,53 @@ +[ + { + "constant": true, + "inputs": [], + "name": "SUM_OF_SQRTS", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "TOTAL_REPUTATION", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "calc", + "outputs": [ + { + "internalType": "uint256", + "name": "sqrt", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/PriceOracleInterface.json b/abis/0.0.1-rc.32/PriceOracleInterface.json new file mode 100644 index 00000000..e79a30b0 --- /dev/null +++ b/abis/0.0.1-rc.32/PriceOracleInterface.json @@ -0,0 +1,28 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "token", + "type": "address" + } + ], + "name": "getPrice", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/PriceOracleMock.json b/abis/0.0.1-rc.32/PriceOracleMock.json new file mode 100644 index 00000000..ca433e5a --- /dev/null +++ b/abis/0.0.1-rc.32/PriceOracleMock.json @@ -0,0 +1,152 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "tokenPrices", + "outputs": [ + { + "internalType": "uint256", + "name": "numerator", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "denominator", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "isOwner", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "token", + "type": "address" + }, + { + "internalType": "uint256", + "name": "numerator", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "denominator", + "type": "uint256" + } + ], + "name": "setTokenPrice", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "token", + "type": "address" + } + ], + "name": "getPrice", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/ProposalExecuteInterface.json b/abis/0.0.1-rc.32/ProposalExecuteInterface.json new file mode 100644 index 00000000..f8f7ffc7 --- /dev/null +++ b/abis/0.0.1-rc.32/ProposalExecuteInterface.json @@ -0,0 +1,28 @@ +[ + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "int256", + "name": "_decision", + "type": "int256" + } + ], + "name": "executeProposal", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/QuorumVote.json b/abis/0.0.1-rc.32/QuorumVote.json new file mode 100644 index 00000000..d25f31a3 --- /dev/null +++ b/abis/0.0.1-rc.32/QuorumVote.json @@ -0,0 +1,587 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "parameters", + "outputs": [ + { + "internalType": "uint256", + "name": "precReq", + "type": "uint256" + }, + { + "internalType": "address", + "name": "voteOnBehalf", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_voter", + "type": "address" + } + ], + "name": "voteInfo", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "proposalsCnt", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_precReq", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_voteOnBehalf", + "type": "address" + } + ], + "name": "setParameters", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "uint256", + "name": "_precReq", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_voteOnBehalf", + "type": "address" + } + ], + "name": "getParametersHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "proposals", + "outputs": [ + { + "internalType": "bytes32", + "name": "organizationId", + "type": "bytes32" + }, + { + "internalType": "bool", + "name": "open", + "type": "bool" + }, + { + "internalType": "address", + "name": "callbacks", + "type": "address" + }, + { + "internalType": "uint256", + "name": "numOfChoices", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "paramsHash", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "totalVotes", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_vote", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_voter", + "type": "address" + } + ], + "name": "vote", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "getAllowedRangeOfChoices", + "outputs": [ + { + "internalType": "uint256", + "name": "min", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "max", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "isAbstainAllow", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_numOfChoices", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_paramsHash", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "_organization", + "type": "address" + } + ], + "name": "propose", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "MAX_NUM_OF_CHOICES", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "cancelVote", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "getNumberOfChoices", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_choice", + "type": "uint256" + } + ], + "name": "voteStatus", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "organizations", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "isVotable", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bool", + "name": "_isProxyVote", + "type": "bool" + } + ], + "name": "AVVoteProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_numOfChoices", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "_proposer", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_paramsHash", + "type": "bytes32" + } + ], + "name": "NewProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_decision", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_totalReputation", + "type": "uint256" + } + ], + "name": "ExecuteProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_voter", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_vote", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_reputation", + "type": "uint256" + } + ], + "name": "VoteProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + } + ], + "name": "CancelProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_organization", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_voter", + "type": "address" + } + ], + "name": "CancelVoting", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "execute", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/RealMath.json b/abis/0.0.1-rc.32/RealMath.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/abis/0.0.1-rc.32/RealMath.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/RealMathTester.json b/abis/0.0.1-rc.32/RealMathTester.json new file mode 100644 index 00000000..f5187836 --- /dev/null +++ b/abis/0.0.1-rc.32/RealMathTester.json @@ -0,0 +1,59 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "uint216", + "name": "num", + "type": "uint216" + }, + { + "internalType": "uint216", + "name": "den", + "type": "uint216" + }, + { + "internalType": "uint256", + "name": "exp", + "type": "uint256" + } + ], + "name": "power", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "uint216", + "name": "num", + "type": "uint216" + }, + { + "internalType": "uint216", + "name": "den", + "type": "uint216" + } + ], + "name": "fraction", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/Redeemer.json b/abis/0.0.1-rc.32/Redeemer.json new file mode 100644 index 00000000..c04dc511 --- /dev/null +++ b/abis/0.0.1-rc.32/Redeemer.json @@ -0,0 +1,78 @@ +[ + { + "constant": false, + "inputs": [ + { + "internalType": "contract ContributionReward", + "name": "_contributionReward", + "type": "address" + }, + { + "internalType": "contract GenesisProtocol", + "name": "_genesisProtocol", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + } + ], + "name": "redeem", + "outputs": [ + { + "internalType": "uint256[3]", + "name": "gpRewards", + "type": "uint256[3]" + }, + { + "internalType": "uint256[2]", + "name": "gpDaoBountyReward", + "type": "uint256[2]" + }, + { + "internalType": "bool", + "name": "executed", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "winningVote", + "type": "uint256" + }, + { + "internalType": "int256", + "name": "crReputationReward", + "type": "int256" + }, + { + "internalType": "uint256", + "name": "crNativeTokenReward", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "crEthReward", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "crExternalTokenReward", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/RepAllocation.json b/abis/0.0.1-rc.32/RepAllocation.json new file mode 100644 index 00000000..998902e9 --- /dev/null +++ b/abis/0.0.1-rc.32/RepAllocation.json @@ -0,0 +1,200 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "reputationAllocations", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "isOwner", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "isFreeze", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "BeneficiaryAddressAdded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "addBeneficiary", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address[]", + "name": "_beneficiaries", + "type": "address[]" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "addBeneficiaries", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "freeze", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/Reputation.json b/abis/0.0.1-rc.32/Reputation.json new file mode 100644 index 00000000..9cbf51a5 --- /dev/null +++ b/abis/0.0.1-rc.32/Reputation.json @@ -0,0 +1,269 @@ +[ + { + "constant": true, + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "isOwner", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "Mint", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_from", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "Burn", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "constant": true, + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "balance", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_blockNumber", + "type": "uint256" + } + ], + "name": "balanceOfAt", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "uint256", + "name": "_blockNumber", + "type": "uint256" + } + ], + "name": "totalSupplyAt", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_user", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "mint", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_user", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "burn", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/ReputationFromToken.json b/abis/0.0.1-rc.32/ReputationFromToken.json new file mode 100644 index 00000000..1c965793 --- /dev/null +++ b/abis/0.0.1-rc.32/ReputationFromToken.json @@ -0,0 +1,185 @@ +[ + { + "constant": true, + "inputs": [], + "name": "DELEGATION_HASH_EIP712", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "redeems", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "tokenContract", + "outputs": [ + { + "internalType": "contract IERC20", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "avatar", + "outputs": [ + { + "internalType": "contract Avatar", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "curve", + "outputs": [ + { + "internalType": "contract CurveInterface", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_sender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "Redeem", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "contract IERC20", + "name": "_tokenContract", + "type": "address" + }, + { + "internalType": "contract CurveInterface", + "name": "_curve", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + } + ], + "name": "redeem", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_signatureType", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "_signature", + "type": "bytes" + } + ], + "name": "redeemWithSignature", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/SafeERC20.json b/abis/0.0.1-rc.32/SafeERC20.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/abis/0.0.1-rc.32/SafeERC20.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/SafeERC20Mock.json b/abis/0.0.1-rc.32/SafeERC20Mock.json new file mode 100644 index 00000000..5ce94fd0 --- /dev/null +++ b/abis/0.0.1-rc.32/SafeERC20Mock.json @@ -0,0 +1,138 @@ +[ + { + "constant": true, + "inputs": [], + "name": "token", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_token", + "type": "address" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "transferWithFix", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_from", + "type": "address" + }, + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "transferFromWithFix", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "approveWithFix", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/SafeMath.json b/abis/0.0.1-rc.32/SafeMath.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/abis/0.0.1-rc.32/SafeMath.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/SchemeRegistrar.json b/abis/0.0.1-rc.32/SchemeRegistrar.json new file mode 100644 index 00000000..a2e4a82f --- /dev/null +++ b/abis/0.0.1-rc.32/SchemeRegistrar.json @@ -0,0 +1,566 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "parameters", + "outputs": [ + { + "internalType": "bytes32", + "name": "voteRegisterParams", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "voteRemoveParams", + "type": "bytes32" + }, + { + "internalType": "contract IntVoteInterface", + "name": "intVote", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "organizationsProposals", + "outputs": [ + { + "internalType": "address", + "name": "scheme", + "type": "address" + }, + { + "internalType": "bool", + "name": "addScheme", + "type": "bool" + }, + { + "internalType": "bytes32", + "name": "parametersHash", + "type": "bytes32" + }, + { + "internalType": "bytes4", + "name": "permissions", + "type": "bytes4" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "proposalsInfo", + "outputs": [ + { + "internalType": "uint256", + "name": "blockNumber", + "type": "uint256" + }, + { + "internalType": "contract Avatar", + "name": "avatar", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "balanceOfStakingToken", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "reputationOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "getTotalReputationSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "stakingTokenTransfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "mintReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "burnReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_intVoteInterface", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_scheme", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_parametersHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes4", + "name": "_permissions", + "type": "bytes4" + }, + { + "indexed": false, + "internalType": "string", + "name": "_descriptionHash", + "type": "string" + } + ], + "name": "NewSchemeProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_intVoteInterface", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_scheme", + "type": "address" + }, + { + "indexed": false, + "internalType": "string", + "name": "_descriptionHash", + "type": "string" + } + ], + "name": "RemoveSchemeProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "int256", + "name": "_param", + "type": "int256" + } + ], + "name": "ProposalExecuted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "ProposalDeleted", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "int256", + "name": "_param", + "type": "int256" + } + ], + "name": "executeProposal", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_voteRegisterParams", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_voteRemoveParams", + "type": "bytes32" + }, + { + "internalType": "contract IntVoteInterface", + "name": "_intVote", + "type": "address" + } + ], + "name": "setParameters", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "address", + "name": "_scheme", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_parametersHash", + "type": "bytes32" + }, + { + "internalType": "bytes4", + "name": "_permissions", + "type": "bytes4" + }, + { + "internalType": "string", + "name": "_descriptionHash", + "type": "string" + } + ], + "name": "proposeScheme", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "address", + "name": "_scheme", + "type": "address" + }, + { + "internalType": "string", + "name": "_descriptionHash", + "type": "string" + } + ], + "name": "proposeToRemoveScheme", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_voteRegisterParams", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_voteRemoveParams", + "type": "bytes32" + }, + { + "internalType": "contract IntVoteInterface", + "name": "_intVote", + "type": "address" + } + ], + "name": "getParametersHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/SignalScheme.json b/abis/0.0.1-rc.32/SignalScheme.json new file mode 100644 index 00000000..33840328 --- /dev/null +++ b/abis/0.0.1-rc.32/SignalScheme.json @@ -0,0 +1,399 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "proposals", + "outputs": [ + { + "internalType": "string", + "name": "descriptionHash", + "type": "string" + }, + { + "internalType": "bool", + "name": "executed", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "proposalsInfo", + "outputs": [ + { + "internalType": "uint256", + "name": "blockNumber", + "type": "uint256" + }, + { + "internalType": "contract Avatar", + "name": "avatar", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "balanceOfStakingToken", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "reputationOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "getTotalReputationSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "stakingTokenTransfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "params", + "outputs": [ + { + "internalType": "bytes32", + "name": "voteApproveParams", + "type": "bytes32" + }, + { + "internalType": "contract IntVoteInterface", + "name": "intVote", + "type": "address" + }, + { + "internalType": "uint256", + "name": "signalType", + "type": "uint256" + }, + { + "internalType": "contract Avatar", + "name": "avatar", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "mintReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "burnReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "_signalType", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "string", + "name": "_descriptionHash", + "type": "string" + } + ], + "name": "NewSignalProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "_signalType", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "string", + "name": "_descriptionHash", + "type": "string" + } + ], + "name": "Signal", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_signalType", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_voteApproveParams", + "type": "bytes32" + }, + { + "internalType": "contract IntVoteInterface", + "name": "_intVote", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "string", + "name": "_descriptionHash", + "type": "string" + } + ], + "name": "proposeSignal", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "int256", + "name": "_param", + "type": "int256" + } + ], + "name": "executeProposal", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/TokenCapGC.json b/abis/0.0.1-rc.32/TokenCapGC.json new file mode 100644 index 00000000..1bb93e7f --- /dev/null +++ b/abis/0.0.1-rc.32/TokenCapGC.json @@ -0,0 +1,157 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "parameters", + "outputs": [ + { + "internalType": "contract IERC20", + "name": "token", + "type": "address" + }, + { + "internalType": "uint256", + "name": "cap", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_token", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_cap", + "type": "uint256" + } + ], + "name": "setParameters", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_token", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_cap", + "type": "uint256" + } + ], + "name": "getParametersHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "pre", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_paramsHash", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "post", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "when", + "outputs": [ + { + "internalType": "enum GlobalConstraintInterface.CallPhase", + "name": "", + "type": "uint8" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/UController.json b/abis/0.0.1-rc.32/UController.json new file mode 100644 index 00000000..d066f534 --- /dev/null +++ b/abis/0.0.1-rc.32/UController.json @@ -0,0 +1,962 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "newControllers", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "organizations", + "outputs": [ + { + "internalType": "contract DAOToken", + "name": "nativeToken", + "type": "address" + }, + { + "internalType": "contract Reputation", + "name": "nativeReputation", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "actors", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_sender", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "MintReputation", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_sender", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_from", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "BurnReputation", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_sender", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "MintTokens", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_sender", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_scheme", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "RegisterScheme", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_sender", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_scheme", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "UnregisterScheme", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_oldController", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_newController", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "UpgradeController", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_globalConstraint", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_params", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "enum GlobalConstraintInterface.CallPhase", + "name": "_when", + "type": "uint8" + }, + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "AddGlobalConstraint", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_globalConstraint", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_index", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bool", + "name": "_isPre", + "type": "bool" + }, + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "RemoveGlobalConstraint", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "name": "newOrganization", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "mintReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_from", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "burnReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "mintTokens", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_scheme", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_paramsHash", + "type": "bytes32" + }, + { + "internalType": "bytes4", + "name": "_permissions", + "type": "bytes4" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "registerScheme", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_scheme", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "unregisterScheme", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "unregisterSelf", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_globalConstraint", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_params", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "addGlobalConstraint", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_globalConstraint", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "removeGlobalConstraint", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_newController", + "type": "address" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "name": "upgradeController", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_contract", + "type": "address" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "genericCall", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amountInWei", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_to", + "type": "address" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "name": "sendEther", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_externalToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "name": "externalTokenTransfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_externalToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_from", + "type": "address" + }, + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "name": "externalTokenTransferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_externalToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "name": "externalTokenApproval", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "string", + "name": "_metaData", + "type": "string" + }, + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "name": "metaData", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_scheme", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "isSchemeRegistered", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_scheme", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "getSchemeParameters", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_scheme", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "getSchemePermissions", + "outputs": [ + { + "internalType": "bytes4", + "name": "", + "type": "bytes4" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_globalConstraint", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "getGlobalConstraintParameters", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "globalConstraintsCount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_globalConstraint", + "type": "address" + }, + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "isGlobalConstraintRegistered", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_avatar", + "type": "address" + } + ], + "name": "getNativeReputation", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/UGenericScheme.json b/abis/0.0.1-rc.32/UGenericScheme.json new file mode 100644 index 00000000..c7e0f1ca --- /dev/null +++ b/abis/0.0.1-rc.32/UGenericScheme.json @@ -0,0 +1,547 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "parameters", + "outputs": [ + { + "internalType": "contract IntVoteInterface", + "name": "intVote", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "voteParams", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "contractToCall", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "organizationsProposals", + "outputs": [ + { + "internalType": "bytes", + "name": "callData", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "exist", + "type": "bool" + }, + { + "internalType": "bool", + "name": "passed", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "proposalsInfo", + "outputs": [ + { + "internalType": "uint256", + "name": "blockNumber", + "type": "uint256" + }, + { + "internalType": "contract Avatar", + "name": "avatar", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "balanceOfStakingToken", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "reputationOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "getTotalReputationSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "stakingTokenTransfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "mintReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "burnReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "_callData", + "type": "bytes" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "string", + "name": "_descriptionHash", + "type": "string" + } + ], + "name": "NewCallProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "_genericCallReturnValue", + "type": "bytes" + } + ], + "name": "ProposalExecuted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "int256", + "name": "_param", + "type": "int256" + } + ], + "name": "ProposalExecutedByVotingMachine", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "ProposalDeleted", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "int256", + "name": "_decision", + "type": "int256" + } + ], + "name": "executeProposal", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "execute", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_voteParams", + "type": "bytes32" + }, + { + "internalType": "contract IntVoteInterface", + "name": "_intVote", + "type": "address" + }, + { + "internalType": "address", + "name": "_contractToCall", + "type": "address" + } + ], + "name": "setParameters", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "bytes", + "name": "_callData", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "string", + "name": "_descriptionHash", + "type": "string" + } + ], + "name": "proposeCall", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + } + ], + "name": "getContractToCall", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_voteParams", + "type": "bytes32" + }, + { + "internalType": "contract IntVoteInterface", + "name": "_intVote", + "type": "address" + }, + { + "internalType": "address", + "name": "_contractToCall", + "type": "address" + } + ], + "name": "getParametersHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/UniversalScheme.json b/abis/0.0.1-rc.32/UniversalScheme.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/abis/0.0.1-rc.32/UniversalScheme.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/UniversalSchemeInterface.json b/abis/0.0.1-rc.32/UniversalSchemeInterface.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/abis/0.0.1-rc.32/UniversalSchemeInterface.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/UniversalSchemeMock.json b/abis/0.0.1-rc.32/UniversalSchemeMock.json new file mode 100644 index 00000000..7e81fc5e --- /dev/null +++ b/abis/0.0.1-rc.32/UniversalSchemeMock.json @@ -0,0 +1,104 @@ +[ + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "address", + "name": "_contract", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_a", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_b", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_c", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "genericCall", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "address", + "name": "_contract", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_a", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_b", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_c", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "genericCallDirect", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/UpgradeScheme.json b/abis/0.0.1-rc.32/UpgradeScheme.json new file mode 100644 index 00000000..d107e192 --- /dev/null +++ b/abis/0.0.1-rc.32/UpgradeScheme.json @@ -0,0 +1,535 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "parameters", + "outputs": [ + { + "internalType": "bytes32", + "name": "voteParams", + "type": "bytes32" + }, + { + "internalType": "contract IntVoteInterface", + "name": "intVote", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "organizationsProposals", + "outputs": [ + { + "internalType": "address", + "name": "upgradeContract", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "params", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "proposalType", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "proposalsInfo", + "outputs": [ + { + "internalType": "uint256", + "name": "blockNumber", + "type": "uint256" + }, + { + "internalType": "contract Avatar", + "name": "avatar", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "balanceOfStakingToken", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "reputationOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "getTotalReputationSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "stakingTokenTransfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "mintReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "burnReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_intVoteInterface", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_newController", + "type": "address" + }, + { + "indexed": false, + "internalType": "string", + "name": "_descriptionHash", + "type": "string" + } + ], + "name": "NewUpgradeProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_intVoteInterface", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_newUpgradeScheme", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_params", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "string", + "name": "_descriptionHash", + "type": "string" + } + ], + "name": "ChangeUpgradeSchemeProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "int256", + "name": "_param", + "type": "int256" + } + ], + "name": "ProposalExecuted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "ProposalDeleted", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "int256", + "name": "_param", + "type": "int256" + } + ], + "name": "executeProposal", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_voteParams", + "type": "bytes32" + }, + { + "internalType": "contract IntVoteInterface", + "name": "_intVote", + "type": "address" + } + ], + "name": "setParameters", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "address", + "name": "_newController", + "type": "address" + }, + { + "internalType": "string", + "name": "_descriptionHash", + "type": "string" + } + ], + "name": "proposeUpgrade", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "address", + "name": "_scheme", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_params", + "type": "bytes32" + }, + { + "internalType": "string", + "name": "_descriptionHash", + "type": "string" + } + ], + "name": "proposeChangeUpgradingScheme", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_voteParams", + "type": "bytes32" + }, + { + "internalType": "contract IntVoteInterface", + "name": "_intVote", + "type": "address" + } + ], + "name": "getParametersHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/VoteInOrganizationScheme.json b/abis/0.0.1-rc.32/VoteInOrganizationScheme.json new file mode 100644 index 00000000..b78bf20c --- /dev/null +++ b/abis/0.0.1-rc.32/VoteInOrganizationScheme.json @@ -0,0 +1,489 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "parameters", + "outputs": [ + { + "internalType": "contract IntVoteInterface", + "name": "intVote", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "voteParams", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "organizationsProposals", + "outputs": [ + { + "internalType": "contract IntVoteInterface", + "name": "originalIntVote", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "originalProposalId", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "vote", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "exist", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "proposalsInfo", + "outputs": [ + { + "internalType": "uint256", + "name": "blockNumber", + "type": "uint256" + }, + { + "internalType": "contract Avatar", + "name": "avatar", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "balanceOfStakingToken", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "reputationOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "getTotalReputationSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "stakingTokenTransfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "mintReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "burnReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_intVoteInterface", + "type": "address" + }, + { + "indexed": false, + "internalType": "contract IntVoteInterface", + "name": "_originalIntVote", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_originalProposalId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_vote", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "string", + "name": "_descriptionHash", + "type": "string" + } + ], + "name": "NewVoteProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "int256", + "name": "_param", + "type": "int256" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "_callReturnValue", + "type": "bytes" + } + ], + "name": "ProposalExecuted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_avatar", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "ProposalDeleted", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + }, + { + "internalType": "int256", + "name": "_param", + "type": "int256" + } + ], + "name": "executeProposal", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "bytes32", + "name": "_voteParams", + "type": "bytes32" + }, + { + "internalType": "contract IntVoteInterface", + "name": "_intVote", + "type": "address" + } + ], + "name": "setParameters", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract Avatar", + "name": "_avatar", + "type": "address" + }, + { + "internalType": "contract IntVoteInterface", + "name": "_originalIntVote", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_originalProposalId", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_vote", + "type": "uint256" + }, + { + "internalType": "string", + "name": "_descriptionHash", + "type": "string" + } + ], + "name": "proposeVote", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_voteParams", + "type": "bytes32" + }, + { + "internalType": "contract IntVoteInterface", + "name": "_intVote", + "type": "address" + } + ], + "name": "getParametersHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/VotingMachineCallbacks.json b/abis/0.0.1-rc.32/VotingMachineCallbacks.json new file mode 100644 index 00000000..6103538b --- /dev/null +++ b/abis/0.0.1-rc.32/VotingMachineCallbacks.json @@ -0,0 +1,204 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "proposalsInfo", + "outputs": [ + { + "internalType": "uint256", + "name": "blockNumber", + "type": "uint256" + }, + { + "internalType": "contract Avatar", + "name": "avatar", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "mintReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "burnReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "stakingTokenTransfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "balanceOfStakingToken", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "getTotalReputationSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "reputationOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/VotingMachineCallbacksInterface.json b/abis/0.0.1-rc.32/VotingMachineCallbacksInterface.json new file mode 100644 index 00000000..0fbc3a94 --- /dev/null +++ b/abis/0.0.1-rc.32/VotingMachineCallbacksInterface.json @@ -0,0 +1,173 @@ +[ + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "mintReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "burnReputation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_beneficiary", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "stakingTokenTransfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "getTotalReputationSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "reputationOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "contract IERC20", + "name": "_stakingToken", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_proposalId", + "type": "bytes32" + } + ], + "name": "balanceOfStakingToken", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.32/Wallet.json b/abis/0.0.1-rc.32/Wallet.json new file mode 100644 index 00000000..281eed5b --- /dev/null +++ b/abis/0.0.1-rc.32/Wallet.json @@ -0,0 +1,133 @@ +[ + { + "constant": false, + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "isOwner", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "payable": true, + "stateMutability": "payable", + "type": "fallback" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_sender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "ReceiveEther", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_sender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "Pay", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address payable", + "name": "_beneficiary", + "type": "address" + } + ], + "name": "pay", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/migrate-dao.js b/migrate-dao.js index 3c3a32fa..c2a22db5 100644 --- a/migrate-dao.js +++ b/migrate-dao.js @@ -335,7 +335,10 @@ async function migrateDAO ({ web3, spinner, confirm, opts, migrationParams, logT opts ) spinner.start('Registering DAO in DAOTracker') - tx = await daoTracker.methods.track(avatar.options.address, deploymentState.Controller).send({ nonce: ++nonce }) + tx = (Number(arcVersion.slice(-2)) >= 32 + ? await daoTracker.methods.track(avatar.options.address, deploymentState.Controller, arcVersion) + : await daoTracker.methods.track(avatar.options.address, deploymentState.Controller)) + .send({ nonce: ++nonce }) await logTx(tx, 'Finished Registering DAO in DAOTracker') deploymentState.trackedDAO = true setState(deploymentState) diff --git a/migration.json b/migration.json index a7abd5da..0f048745 100644 --- a/migration.json +++ b/migration.json @@ -264,11 +264,31 @@ "OrganizationRegister": "0xC5e29Bb3cfC0daA6e4e1179Ac91c4f07a93D2B3c", "Redeemer": "0xEAE767D5D670826Bf531c2692335c52c6cA7010B", "UGenericScheme": "0xf81996Eb82Cf337B31aBBd16FdB283e1cbC360f3" + }, + "0.0.1-rc.32": { + "GEN": "0xe78A0F7E598Cc8b0Bb87894B0F60dD2a88d6a8Ab", + "DAORegistry": "0x4b7284ac4714e27F9098c57F54306ed74454D05F", + "DAOTracker": "0xbc673F7aa2C02ee7d222259F61eB5a03FA5DEC67", + "ControllerCreator": "0x38d2AD56A9F589c2d6f0a330291F79BfF9B13C6d", + "DaoCreator": "0xffF3D978a59b8c5Dba74833C92622985E2d975B2", + "UController": "0x810832dFf9a7330a3f3bAD9E0E8f0DCA93A5cfB2", + "GenesisProtocol": "0x52538ef9Bf93187C0AcdCddA27610d0f81A17227", + "SchemeRegistrar": "0x978D9248Ae3E19888E0a86eb14AF53A4d9415070", + "UpgradeScheme": "0xAE168F3314BDaf82ABeCFc9799f5dCAfA05F25a0", + "GlobalConstraintRegistrar": "0xdBE36A7251e7564b4fE86c45EB1Fe8B7C832Cf54", + "ContributionReward": "0x753dE14163A81656a1c7112A3a521bb2924FF004", + "AbsoluteVote": "0x357C2673aF582b225D9ACbf057e7b56E0B53b622", + "QuorumVote": "0x4b1d2F1d0Efa26af0a8F8bB1Bca68601aB778021", + "TokenCapGC": "0xaE96738db1879c99Ebe8197Bb947EdBA4FE07d09", + "VoteInOrganizationScheme": "0x2378DcB1668568bEbBb2a0Bcff9542559A0efe8C", + "OrganizationRegister": "0xB053CcD75d70e1715600611011C7290D00A3f54d", + "Redeemer": "0x9149A56A976302231c2FcF29083e0a7B2720e6f1", + "UGenericScheme": "0x07FAC7699FcE8fFbbE9c159F7a8Df4d0eDb07f22" } }, "dao": { "0.0.1-rc.16": { - "name": "Effulgent Nibblets", + "name": "Recalcitant Hot air balloon", "Avatar": "0x5017A545b09ab9a30499DE7F431DF0855bCb7275", "DAOToken": "0xaD888d0Ade988EbEe74B8D4F39BF29a8d0fe8A8D", "Reputation": "0x7C728214be9A0049e6a86f2137ec61030D0AA964", @@ -277,7 +297,7 @@ "arcVersion": "0.0.1-rc.16" }, "0.0.1-rc.17": { - "name": "Invidious Make-up artist", + "name": "Sagacious Nibblets", "Avatar": "0x84b085c0d4B4D6fbf6490f8246Bc5cD317d2d4cD", "DAOToken": "0x180D179Bbf473A30183Fe858E8416351D2170Fd2", "Reputation": "0x770191B327a9f6cd83B997F68c1ce3c8e6a018dc", @@ -286,7 +306,7 @@ "arcVersion": "0.0.1-rc.17" }, "0.0.1-rc.18": { - "name": "Bilious Make-up artist", + "name": "Caustic Limner", "Avatar": "0xe00b745b5e71337507d43a8584320c4192CA7994", "DAOToken": "0x3B2d33aC0B76462c8Eb58548ed7db68BC826F15E", "Reputation": "0xD44d92D878Bb19649bE73702E514560743B3CF86", @@ -295,7 +315,7 @@ "arcVersion": "0.0.1-rc.18" }, "0.0.1-rc.19": { - "name": "Cerulean Carrot", + "name": "Jocular Teacher", "Avatar": "0xB247a2fcBe1223C24374a27966952491CA56c800", "DAOToken": "0x47EF76991DD3C561BaB1504C48C0eB55a6e61025", "Reputation": "0xe14E93b1a9f7227f7B3851B12FDF4c7BcA4428Db", @@ -304,7 +324,7 @@ "arcVersion": "0.0.1-rc.19" }, "0.0.1-rc.21": { - "name": "Querulous Sea barnacles", + "name": "Animistic Musician", "Avatar": "0x8212d7A8158530F235092756A617B0dCE323Fe4B", "DAOToken": "0xbA465b9b7859eec9De880991bBdEB2CB4a41D9a6", "Reputation": "0xAf57A911e5BE42c608770d6203D1Fd38A103a82A", @@ -313,7 +333,7 @@ "arcVersion": "0.0.1-rc.21" }, "0.0.1-rc.22": { - "name": "Judicious Colorist", + "name": "Recalcitant Locomotive", "Avatar": "0x5C77030836e21C78b1013E443ACf816974E6315b", "DAOToken": "0x7A0738faD6396454E9cf425D06D86c5d79a328A5", "Reputation": "0x84F46628D78e7de013279c33e7B262488ce4421D", @@ -322,7 +342,7 @@ "arcVersion": "0.0.1-rc.22" }, "0.0.1-rc.23": { - "name": "Mendacious Pancake", + "name": "Execrable Plumber", "Avatar": "0xdFc8050206A480F517E5D22b226b81051c0b1334", "DAOToken": "0x34E17AEF434165eDe54C6Fc8F5c8B1f879CACDd0", "Reputation": "0x80EaE59c5f92F9f65338bba4F26FFC8Ca2b6224A", @@ -331,7 +351,7 @@ "arcVersion": "0.0.1-rc.23" }, "0.0.1-rc.24": { - "name": "Noxious Foreman", + "name": "Tenacious Leadman", "Avatar": "0x8f6Ec2eca7FB7B15df480d1266Ba142aEbfd373D", "DAOToken": "0xf9D3854d8c5ACE915a8a4FfF16253B1CA7CEf0cD", "Reputation": "0x7744cE2c85DCE57d76b17D374397d84387F450eA", @@ -351,7 +371,7 @@ "arcVersion": "0.0.1-rc.24" }, "0.0.1-rc.25": { - "name": "Dowdy Carnival", + "name": "Withering Silversmith", "Avatar": "0x0bf9f0c16E64E4247668eF39e89885Ba43840Ade", "DAOToken": "0xF486984B6cE0988b66D08520146b3A044c1aB9fB", "Reputation": "0x242cb7cE1d431d356783f1f739c37A4EbE99CCFc", @@ -371,7 +391,7 @@ "arcVersion": "0.0.1-rc.25" }, "0.0.1-rc.27": { - "name": "Fastidious Dragons", + "name": "Concomitant Director", "Avatar": "0x434069DEB794cfb4007109e72bdd0E5aEFacD726", "DAOToken": "0x22bD212931f27bb245da05BC56761dd3B5389854", "Reputation": "0x7861A4BB7746074f6f3AA3739FC475FCB4B52aBa", @@ -391,7 +411,7 @@ "arcVersion": "0.0.1-rc.27" }, "0.0.1-rc.28": { - "name": "Obtuse Plant operator", + "name": "Petulant Colorist", "Avatar": "0xdfd8Af86E45495AD75F5a4c3E3b2D1d39553BE7A", "DAOToken": "0xeB970509386741587E60d49Bb8282E7cB41823c7", "Reputation": "0xBa2BE74eD1519acDd542674089e31804f98a6A47", @@ -411,7 +431,7 @@ "arcVersion": "0.0.1-rc.28" }, "0.0.1-rc.29": { - "name": "Turbulent Potato", + "name": "Fastidious Ukulele", "Avatar": "0xc25F2EaaD3e3619Cf9a4A1D32D71D3529fd66Fd3", "DAOToken": "0x8A0446aA91aadaF9EC89b5E664145f8bb2FF4d6B", "Reputation": "0x4817a0Cf1016069a0b17B77d16bdF64B5243003B", @@ -431,7 +451,7 @@ "arcVersion": "0.0.1-rc.29" }, "0.0.1-rc.30": { - "name": "Defamatory Stick figures", + "name": "Jejune Scenographer", "Avatar": "0x54B6f621e8c8dD2Cfcd49f2E7aD1dF19E60bf4B9", "DAOToken": "0xd2D6A0481c3d7c7c4250d0F3C9AAdb2a44964197", "Reputation": "0x25E2cB1BDF0196bC65d2C613501faecaf211685e", @@ -451,7 +471,7 @@ "arcVersion": "0.0.1-rc.30" }, "0.0.1-rc.31": { - "name": "Nefarious Banjo", + "name": "Adamant Penciller", "Avatar": "0xb9e3Dd112BCc6e89546c46ABb1573cf9c62C3241", "DAOToken": "0x22c38638aC5007e1De99fEAB20f664046cB42768", "Reputation": "0xd5866DBDE071F070C254570d1BBbfE732860221e", @@ -469,11 +489,31 @@ } ], "arcVersion": "0.0.1-rc.31" + }, + "0.0.1-rc.32": { + "name": "Sagacious Senor", + "Avatar": "0x0d3B4393A6105ab549DE0c07b590245dbCf6C752", + "DAOToken": "0xCEE49e7eBB1A252A0194B19f1Eaa23a7641fCeFC", + "Reputation": "0xde51E943caC7450ADA3dC31A2b66D139aE57958b", + "Controller": "0x9B8dF962ac65Ff2C08803443Cdbf30B60c633DFC", + "Schemes": [ + { + "name": "GenericScheme", + "alias": "GenericSchemeAlias", + "address": "0xA03408EF1e3C6929e364Bd7db24F62D50842D7F3" + }, + { + "name": "GenericScheme", + "alias": "GenericSchemeAlias2", + "address": "0x72D9Ca808747b01e97c38C9Fc95E99FdC0a8Ab1b" + } + ], + "arcVersion": "0.0.1-rc.32" } }, "test": { "0.0.1-rc.16": { - "name": "Adroit Ninja", + "name": "Adroit Hot air balloon", "Avatar": "0xE7A2C59e134ee81D4035Ae6DB2254f79308e334f", "DAOToken": "0xcDbe8b52A6c60A5f101d4A0F1f049f19a9e1D35F", "Reputation": "0x93cdbf39fB9e13BD253CA5819247D52fbabf0F2f", @@ -490,7 +530,7 @@ } }, "0.0.1-rc.17": { - "name": "Parsimonious Beets", + "name": "Cerulean Patternmaker", "Avatar": "0xd28D841D3e1a90613389CcBcc9C7464F8df5B4bD", "DAOToken": "0xdA6217d908DF63267ED75ccd319838Ac005D5a28", "Reputation": "0xd6f72E1dcaaED50357082169Ba1f5D1518B27538", @@ -507,7 +547,7 @@ } }, "0.0.1-rc.18": { - "name": "Fastidious Dragons", + "name": "Fecund Coppersmith", "Avatar": "0x373353f088A5377a57be5B3eC038851d1ef010BE", "DAOToken": "0xdBfD63709f96b50590abd8a3fF6fDaBDee8FeF6B", "Reputation": "0x8E0b43905a7FB83895d6581Daee17BD7ab929d2E", @@ -524,7 +564,7 @@ } }, "0.0.1-rc.19": { - "name": "Jocular Foreman", + "name": "Meretricious Opera singer", "Avatar": "0x7c89354DFf7Ed2447a6a4139383c65e41Bd8C953", "DAOToken": "0xBffFa60E73415245F01542d17D94CF087870C52F", "Reputation": "0x63aeF7Be461FBA4402A1D80E54bDf740B0F3f1Fb", @@ -541,7 +581,7 @@ } }, "0.0.1-rc.21": { - "name": "Guileless Carrot", + "name": "Insidious Model", "Avatar": "0xfbbF29d178CDCD81113953f6651A10982a1FE431", "DAOToken": "0x92D0A9a2df0F9C85947689A8FEfC47D11C1181ec", "Reputation": "0xA7a2bC7F4cda9DBcDF931f0a566fdAf1F42308E3", @@ -558,7 +598,7 @@ } }, "0.0.1-rc.22": { - "name": "Defamatory Maintenance", + "name": "Comely Hot air balloon", "Avatar": "0xfbD88B0a5cc1b065D2d32dc72A88E178E7cA21A9", "DAOToken": "0x0d3cB11e648f8FEceF25A72cE86ce1554984F6C6", "Reputation": "0x2BB9B8111B74Faa647bf500f59cd1c6A5de61B89", @@ -575,7 +615,7 @@ } }, "0.0.1-rc.23": { - "name": "Pervasive Musician", + "name": "Zealous Colorist", "Avatar": "0x591C5840a969C4e6dC445e7354DA3B4bD3682499", "DAOToken": "0x0F9Dc11c5441340A50d112793051f52716E57040", "Reputation": "0x3e5B2b2d1a8b94EeEa5373301BC357510e352727", @@ -592,7 +632,7 @@ } }, "0.0.1-rc.24": { - "name": "Turgid Toejam", + "name": "Sagacious Sawfiler", "Avatar": "0x1C5C95b02Cb35a282596FA3b96C0EAFE58FCb385", "DAOToken": "0xD857F83c51Dc91d2D1AB8fD7ab00aE95355dC5AE", "Reputation": "0x8c2E0Ca5eFAb412dA5a2DF1736B08A89d0Eb68Ec", @@ -609,7 +649,7 @@ } }, "0.0.1-rc.25": { - "name": "Pervasive Limner", + "name": "Pendulous Miller", "Avatar": "0x4c3527694AdF328333655ccC1a7038E8e1D67b97", "DAOToken": "0x9d1A94547b8082DC6e1b252659A277c360383F9E", "Reputation": "0xFe8dC37a96C45EbdC6ebfFFf7aac34894d7c0b26", @@ -626,7 +666,7 @@ } }, "0.0.1-rc.27": { - "name": "Defamatory Animator", + "name": "Irksome Chair", "Avatar": "0xd685fDdE353E778ad741165E926e534c0c008308", "DAOToken": "0x43F5FF96A088BBB517d656b8682586015bAb7880", "Reputation": "0xa95bE05d7D3712949ccd6B924Ff684B6731deEF2", @@ -643,7 +683,7 @@ } }, "0.0.1-rc.28": { - "name": "Fastidious Exorcism", + "name": "Wheedling Producer", "Avatar": "0x501eAB934f76B876c116Cfffb511f5A065Ea7944", "DAOToken": "0x1663c49F4084938d94a487b08001FfB3d3315Bad", "Reputation": "0x365883D9603f8be8D28d8326c666d6FeF776a3bB", @@ -660,7 +700,7 @@ } }, "0.0.1-rc.29": { - "name": "Wheedling Moldmaker", + "name": "Incendiary Model", "Avatar": "0xD049De0eABFeE747bDB06F163dbea8B64730E258", "DAOToken": "0xa2Df452d00aD6aA750bCB52F5cc19AAE4aDEA1C3", "Reputation": "0x0E19343cE0ED5255906F9feFDd22887262B5A2fe", @@ -677,7 +717,7 @@ } }, "0.0.1-rc.30": { - "name": "Boorish Senor", + "name": "Friable Scenographer", "Avatar": "0x752660d5F6CD843272bcD6Eb3CD76D1378a20891", "DAOToken": "0x64756a2204e162e8Aff1D3fAf0a919EdA8B0341f", "Reputation": "0x4eDF145324A9A4e49515F8CDEcECFdA82803a947", @@ -694,7 +734,7 @@ } }, "0.0.1-rc.31": { - "name": "Histrionic Miller", + "name": "Fulsome Beets", "Avatar": "0x6025DB6eF1A6bC3b2f30a21F7194B83a7d19545d", "DAOToken": "0x791c19214A6b01a58928A82678cb294504349c5D", "Reputation": "0xf222263310f73973528D283Ff50260870e82c17B", @@ -709,6 +749,23 @@ "DemoDAOToken": "0x356C05Dba1a9Fb9b6b47DA691c43B4fc1C39C466", "DemoReputation": "0xc5806267E82b22852e364A3A94B648bca6080992" } + }, + "0.0.1-rc.32": { + "name": "Platitudinous Snakes", + "Avatar": "0x845084276f991a8BEb9BdE65e1f84e5eBF76F9fF", + "DAOToken": "0x1473bDb022960bF71BB7608940c6214c782dbEe8", + "Reputation": "0xb60219736705dae2ea7F6538F27da6E9a9d5316e", + "ActionMock": "0x0B7589C8c6617d220832645f15b4134D7176AD24", + "gsProposalId": "0xc1d5b853251f02d3527df00e898e0aa2843652dcc5b7e4155946938170e0c0a1", + "queuedProposalId": "0xad2cc79d84cad00908c78b4f0445633a4bbec67e836e3b4b10b688d4e5376f86", + "preBoostedProposalId": "0x5bc9c138648ad56bb2d57bae425faa3fd4a07f0bd4bf422d1711ee8006f08cba", + "boostedProposalId": "0xa990118d6c7ab0051c6e7d1968e9a5f44de109c444533bc0fc04331c7b559aa4", + "executedProposalId": "0x3f4e7a7e973cafda7645fa380b09be4d5920563bf60a4ceb709df9761ded47b7", + "organs": { + "DemoAvatar": "0x8b3013089671aDDc15744D2F2725E7ea3D334939", + "DemoDAOToken": "0x2cdf1920a5d10d5BB5E74375bd1966401c0279D2", + "DemoReputation": "0xC03170B6650E0E1F1B8Cfae4ac12C74A317b58EC" + } } } }, @@ -1040,6 +1097,26 @@ "OrganizationRegister": "0x0d46D76b3d02Ea3BEdBea68C4208d61E4fB2B303", "Redeemer": "0x7102a3e2b4aD1163b6f52B5aA6463f158E5c5146", "UGenericScheme": "0x67883470ae73347a6742376D3db8BF13bc9358a8" + }, + "0.0.1-rc.32": { + "GEN": "0x543Ff227F64Aa17eA132Bf9886cAb5DB55DCAddf", + "DAORegistry": "0xE9f949fee2ae09a408C9b902031bC2A1BFF3AEe2", + "DAOTracker": "0x96faF17c2E532f43Ce2D5e28BC8F1639C24a151C", + "ControllerCreator": "0x5DB3D5225581a0Ab4ECaFaaE6aca7586C10e534C", + "DaoCreator": "0x4BdA172F93388B695376bA1A3Fc17950dC41Be34", + "UController": "0xeAa8Db4E80F6DD5041b080EDd735A24E4bEAa1EC", + "GenesisProtocol": "0x35984c26D661d69fB589844202358B3e6c438a3b", + "SchemeRegistrar": "0xCe77Cb61fbF2600F0e29Bb50Be3a5B32Fc61a0a4", + "UpgradeScheme": "0x91E9E40CB74020aE2a16a3f0cf57ac2df00aB4D4", + "GlobalConstraintRegistrar": "0x07099013F7E407B676b57CA37DDFA02557130ca2", + "ContributionReward": "0xB723dd7ca4f4E533Eb9966AfB8C083a5a7655095", + "AbsoluteVote": "0xf5dFa5160565B99Dd0972Aab98C25Dd02E05635a", + "QuorumVote": "0xc9ebacdFaA355273331bB1DF37C3ac20987240c2", + "TokenCapGC": "0x349900Ed029559448d9E28D65c3e79C27685920f", + "VoteInOrganizationScheme": "0xa70E04B6237e88FE2F3111C981820AF228Aa7F7a", + "OrganizationRegister": "0x0d46D76b3d02Ea3BEdBea68C4208d61E4fB2B303", + "Redeemer": "0x7102a3e2b4aD1163b6f52B5aA6463f158E5c5146", + "UGenericScheme": "0x67883470ae73347a6742376D3db8BF13bc9358a8" } }, "dao": { @@ -1269,6 +1346,26 @@ "OrganizationRegister": "0x9a3B71641c9d22fbA8B92aAC1e80A41f9AA73F98", "Redeemer": "0x3a1b52bEe6baB7b5D788Aa0eCcB3941a9D780806", "UGenericScheme": "0x17825F606B206B97099F25EED705EDa3550cdeb3" + }, + "0.0.1-rc.32": { + "GEN": "0x543Ff227F64Aa17eA132Bf9886cAb5DB55DCAddf", + "DAORegistry": "0x41C24232452057b9c812A94f84b8643Ee0253C44", + "DAOTracker": "0x32CA3feB2F10bAb5855fCb94293Cb14C3Dfa483E", + "ControllerCreator": "0xE40BFcE7E9AEe0b8bA7Db8cD9817983e4b243321", + "DaoCreator": "0x2b52902BFDf0F74a70024c9Ea41c3188f693263B", + "UController": "0x82e11DC4b5085DFF39AC690aAA4d4F7cDE80002D", + "GenesisProtocol": "0x917a2C4421fdAD00632d89b3E550230A3a0B0A31", + "SchemeRegistrar": "0xeEBD13d7dd6496FFE5C6909984e4152fbfcf22DD", + "UpgradeScheme": "0x4B93FCbC854033afa6F2b8a4763df522298db3B7", + "GlobalConstraintRegistrar": "0x996b7662aDB2B019e4C25166BE6f3EC68053f7A4", + "ContributionReward": "0xdD4865BbC66B34C493A08A58e0530300B610AEF5", + "AbsoluteVote": "0x8558a45977E3EEF3b5d6F0143eA83d8287eBd729", + "QuorumVote": "0xa899aa3Ae426FA960049466853E7ec498013BA4c", + "TokenCapGC": "0xF85022de61824Da950aDBBAbdDcbd9048dd6e1F2", + "VoteInOrganizationScheme": "0xe8a4c5702d5289D7eD8A3fD16cD237900cAb2660", + "OrganizationRegister": "0x9a3B71641c9d22fbA8B92aAC1e80A41f9AA73F98", + "Redeemer": "0x3a1b52bEe6baB7b5D788Aa0eCcB3941a9D780806", + "UGenericScheme": "0x17825F606B206B97099F25EED705EDa3550cdeb3" } }, "dao": { diff --git a/package-lock.json b/package-lock.json index 2de7e7f0..52ec02c9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@daostack/migration", - "version": "0.0.1-rc.31-v2", + "version": "0.0.1-rc.32-v0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -25,9 +25,9 @@ } }, "@daostack/arc": { - "version": "0.0.1-rc.31", - "resolved": "https://registry.npmjs.org/@daostack/arc/-/arc-0.0.1-rc.31.tgz", - "integrity": "sha512-VP8E5QHVrNmqbClN3a12qP6Z1FEN4r6HtkiyfxnCmWHQA5j2sK7JeGf2LYIsM/pvJfgpcRjFFAxCyhrOX0m5MA==", + "version": "0.0.1-rc.32", + "resolved": "https://registry.npmjs.org/@daostack/arc/-/arc-0.0.1-rc.32.tgz", + "integrity": "sha512-DU20DcDrGso4a+4IPVQg7zNUrT80Pzx+yvHzFo25W25CzSGV5fkTjZPVHIWrT7eq9SmcG/g37BjfuioWR1Nj5A==", "requires": { "@daostack/infra": "0.0.1-rc.15", "math": "0.0.3", @@ -97,10 +97,18 @@ "debug": "^3.1.0" } }, + "@types/bn.js": { + "version": "4.11.5", + "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.5.tgz", + "integrity": "sha512-AEAZcIZga0JgVMHNtl1CprA/hXX7/wPt79AgR4XqaDt7jyj3QWYw6LPoOiznPtugDmlubUnAahMs2PFxGcQrng==", + "requires": { + "@types/node": "*" + } + }, "@types/node": { - "version": "10.17.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.4.tgz", - "integrity": "sha512-F2pgg+LcIr/elguz+x+fdBX5KeZXGUOp7TV8M0TVIrDezYLFRNt8oMTyps0VQ1kj5WGGoR18RdxnRDHXrIFHMQ==" + "version": "12.12.6", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.6.tgz", + "integrity": "sha512-FjsYUPzEJdGXjwKqSpE0/9QEh6kzhTAeObA54rn6j3rR4C/mzpI9L0KNfoeASSPMMdxIsoJuCLDWcM/rVjIsSA==" }, "accepts": { "version": "1.3.7", @@ -1825,16 +1833,16 @@ } }, "ethereumjs-util": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.1.0.tgz", - "integrity": "sha512-URESKMFbDeJxnAxPppnk2fN6Y3BIatn9fwn76Lm8bQlt+s52TpG8dN9M66MLPuRAiAOIqL3dfwqWJf0sd0fL0Q==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.2.0.tgz", + "integrity": "sha512-vb0XN9J2QGdZGIEKG2vXM+kUdEivUfU6Wmi5y0cg+LRhDYKnXIZ/Lz7XjFbHRR9VIKq2lVGLzGBkA++y2nOdOQ==", "requires": { + "@types/bn.js": "^4.11.3", "bn.js": "^4.11.0", "create-hash": "^1.1.2", "ethjs-util": "0.1.6", - "keccak": "^1.0.2", - "rlp": "^2.0.0", - "safe-buffer": "^5.1.1", + "keccak": "^2.0.0", + "rlp": "^2.2.3", "secp256k1": "^3.0.1" } }, @@ -1871,6 +1879,11 @@ "xmlhttprequest": "1.8.0" }, "dependencies": { + "@types/node": { + "version": "10.17.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.4.tgz", + "integrity": "sha512-F2pgg+LcIr/elguz+x+fdBX5KeZXGUOp7TV8M0TVIrDezYLFRNt8oMTyps0VQ1kj5WGGoR18RdxnRDHXrIFHMQ==" + }, "aes-js": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz", @@ -2927,9 +2940,9 @@ } }, "glob": { - "version": "7.1.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.5.tgz", - "integrity": "sha512-J9dlskqUXK1OeTOYBEn5s8aMukWMwWfs+rPTn/jn50Ux4MNXVhubL1wu/j2t+H4NVI+cXEcCaYellqaPVGXNqQ==", + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -3484,9 +3497,9 @@ } }, "keccak": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/keccak/-/keccak-1.4.0.tgz", - "integrity": "sha512-eZVaCpblK5formjPjeTBik7TAg+pqnDrMHIffSvi9Lh7PQgM1+hSzakUeZFCk9DVVG0dacZJuaz2ntwlzZUIBw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/keccak/-/keccak-2.0.0.tgz", + "integrity": "sha512-rKe/lRr0KGhjoz97cwg+oeT1Rj/Y4cjae6glArioUC8JBF9ROGZctwIaaruM7d7naovME4Q8WcQSO908A8qcyQ==", "requires": { "bindings": "^1.2.1", "inherits": "^2.0.3", @@ -4044,17 +4057,17 @@ "integrity": "sha512-QYeiPLvB1oSbDt6lDQvvpx7k8ODczvE474hb2kLXZBPKMsxKT1WxTCHBYrCU7kS7hfAku4DcJ0jqOyL+jvjwQw==" }, "optionator": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz", - "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=", + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", + "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", "dev": true, "requires": { "deep-is": "~0.1.3", - "fast-levenshtein": "~2.0.4", + "fast-levenshtein": "~2.0.6", "levn": "~0.3.0", "prelude-ls": "~1.1.2", "type-check": "~0.3.2", - "wordwrap": "~1.0.0" + "word-wrap": "~1.2.3" } }, "ora": { @@ -6081,10 +6094,10 @@ } } }, - "wordwrap": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", + "word-wrap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", "dev": true }, "wordwrapjs": { diff --git a/package.json b/package.json index de9a0d9d..ac09e446 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@daostack/migration", - "version": "0.0.1-rc.31-v2", + "version": "0.0.1-rc.32-v0", "description": "A repo for handling DAOstack contract migrations", "main": "index.js", "bin": { @@ -43,7 +43,7 @@ }, "homepage": "https://github.com/daostack/migration#readme", "dependencies": { - "@daostack/arc": "0.0.1-rc.31", + "@daostack/arc": "0.0.1-rc.32", "@daostack/arc-hive": "0.0.1-rc.4", "ethereumjs-wallet": "^0.6.3", "fstream": "^1.0.12", diff --git a/prepare-release.sh b/prepare-release.sh index 00670a14..2965346b 100755 --- a/prepare-release.sh +++ b/prepare-release.sh @@ -30,7 +30,7 @@ echo "Pruning Arc build..." npm run prune-arc-build -- "$@" # migrating Arc version to ganache echo "Migrating ganache..." -npm run migrate -- --force "$@" +npm run migrate -- --force --restart "$@" done if [ ! -z "$kovan_private_key" ]; then # migrate kovan