diff --git a/README.md b/README.md index f4b134f1..1e19ef95 100644 --- a/README.md +++ b/README.md @@ -312,6 +312,8 @@ Example migration parameters object: "useUController": false, // True if should use the DAO Creator to deploy the DAO (default false). "useDaoCreator": false, + // If not using DaoCreator, set to true to prevent automatic tracking on DAOTracker, otherwise the DAO will be tracked as part of the script + "noTrack": false, // List of addresses to mint initial tokens and reputation to "founders": [ { diff --git a/abis/0.0.1-rc.29/ARCDebug.json b/abis/0.0.1-rc.29/ARCDebug.json new file mode 100644 index 00000000..a5d07df9 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/ARCVotingMachineCallbacksMock.json b/abis/0.0.1-rc.29/ARCVotingMachineCallbacksMock.json new file mode 100644 index 00000000..5f151a1a --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/AbsoluteVote.json b/abis/0.0.1-rc.29/AbsoluteVote.json new file mode 100644 index 00000000..88ea8362 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/AbsoluteVoteExecuteMock.json b/abis/0.0.1-rc.29/AbsoluteVoteExecuteMock.json new file mode 100644 index 00000000..020e9b13 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/ActionMock.json b/abis/0.0.1-rc.29/ActionMock.json new file mode 100644 index 00000000..861da788 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/Address.json b/abis/0.0.1-rc.29/Address.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/abis/0.0.1-rc.29/Address.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/abis/0.0.1-rc.29/Agreement.json b/abis/0.0.1-rc.29/Agreement.json new file mode 100644 index 00000000..474764bd --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/AgreementMock.json b/abis/0.0.1-rc.29/AgreementMock.json new file mode 100644 index 00000000..447d704a --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/Auction4Reputation.json b/abis/0.0.1-rc.29/Auction4Reputation.json new file mode 100644 index 00000000..a94e5a74 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/Avatar.json b/abis/0.0.1-rc.29/Avatar.json new file mode 100644 index 00000000..b4a5530b --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/BadERC20.json b/abis/0.0.1-rc.29/BadERC20.json new file mode 100644 index 00000000..4200f3cf --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/ContinuousLocking4Reputation.json b/abis/0.0.1-rc.29/ContinuousLocking4Reputation.json new file mode 100644 index 00000000..31ec78ec --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/ContributionReward.json b/abis/0.0.1-rc.29/ContributionReward.json new file mode 100644 index 00000000..71a307cd --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/Controller.json b/abis/0.0.1-rc.29/Controller.json new file mode 100644 index 00000000..cabbe64c --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/ControllerCreator.json b/abis/0.0.1-rc.29/ControllerCreator.json new file mode 100644 index 00000000..c7ac0258 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/ControllerInterface.json b/abis/0.0.1-rc.29/ControllerInterface.json new file mode 100644 index 00000000..3e5ecd8c --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/CurveInterface.json b/abis/0.0.1-rc.29/CurveInterface.json new file mode 100644 index 00000000..3cc71aa8 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/DAORegistry.json b/abis/0.0.1-rc.29/DAORegistry.json new file mode 100644 index 00000000..2f1f29fe --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/DAOToken.json b/abis/0.0.1-rc.29/DAOToken.json new file mode 100644 index 00000000..9c31faa3 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/DAOTracker.json b/abis/0.0.1-rc.29/DAOTracker.json new file mode 100644 index 00000000..f3c17e3c --- /dev/null +++ b/abis/0.0.1-rc.29/DAOTracker.json @@ -0,0 +1,225 @@ +[ + { + "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" + } + ], + "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" + } + ], + "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.29/DaoCreator.json b/abis/0.0.1-rc.29/DaoCreator.json new file mode 100644 index 00000000..bc4d0a31 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/Debug.json b/abis/0.0.1-rc.29/Debug.json new file mode 100644 index 00000000..a5d07df9 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/ECDSA.json b/abis/0.0.1-rc.29/ECDSA.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/abis/0.0.1-rc.29/ECDSA.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/abis/0.0.1-rc.29/ERC20.json b/abis/0.0.1-rc.29/ERC20.json new file mode 100644 index 00000000..7cb7f5df --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/ERC20Burnable.json b/abis/0.0.1-rc.29/ERC20Burnable.json new file mode 100644 index 00000000..4908c091 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/ERC20Mock.json b/abis/0.0.1-rc.29/ERC20Mock.json new file mode 100644 index 00000000..78a9109f --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/ERC827.json b/abis/0.0.1-rc.29/ERC827.json new file mode 100644 index 00000000..5d541682 --- /dev/null +++ b/abis/0.0.1-rc.29/ERC827.json @@ -0,0 +1,260 @@ +[ + { + "constant": false, + "inputs": [ + { + "name": "spender", + "type": "address" + }, + { + "name": "value", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "from", + "type": "address" + }, + { + "name": "to", + "type": "address" + }, + { + "name": "value", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "who", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "to", + "type": "address" + }, + { + "name": "value", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "owner", + "type": "address" + }, + { + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "from", + "type": "address" + }, + { + "indexed": true, + "name": "to", + "type": "address" + }, + { + "indexed": false, + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "name": "_spender", + "type": "address" + }, + { + "name": "_value", + "type": "uint256" + }, + { + "name": "_data", + "type": "bytes" + } + ], + "name": "approveAndCall", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_to", + "type": "address" + }, + { + "name": "_value", + "type": "uint256" + }, + { + "name": "_data", + "type": "bytes" + } + ], + "name": "transferAndCall", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_from", + "type": "address" + }, + { + "name": "_to", + "type": "address" + }, + { + "name": "_value", + "type": "uint256" + }, + { + "name": "_data", + "type": "bytes" + } + ], + "name": "transferFromAndCall", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.29/ERC827Token.json b/abis/0.0.1-rc.29/ERC827Token.json new file mode 100644 index 00000000..931fc8ae --- /dev/null +++ b/abis/0.0.1-rc.29/ERC827Token.json @@ -0,0 +1,360 @@ +[ + { + "constant": false, + "inputs": [ + { + "name": "spender", + "type": "address" + }, + { + "name": "value", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "from", + "type": "address" + }, + { + "name": "to", + "type": "address" + }, + { + "name": "value", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "spender", + "type": "address" + }, + { + "name": "addedValue", + "type": "uint256" + } + ], + "name": "increaseAllowance", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "owner", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "spender", + "type": "address" + }, + { + "name": "subtractedValue", + "type": "uint256" + } + ], + "name": "decreaseAllowance", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "to", + "type": "address" + }, + { + "name": "value", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "owner", + "type": "address" + }, + { + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "from", + "type": "address" + }, + { + "indexed": true, + "name": "to", + "type": "address" + }, + { + "indexed": false, + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "constant": false, + "inputs": [ + { + "name": "_spender", + "type": "address" + }, + { + "name": "_value", + "type": "uint256" + }, + { + "name": "_data", + "type": "bytes" + } + ], + "name": "approveAndCall", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_to", + "type": "address" + }, + { + "name": "_value", + "type": "uint256" + }, + { + "name": "_data", + "type": "bytes" + } + ], + "name": "transferAndCall", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_from", + "type": "address" + }, + { + "name": "_to", + "type": "address" + }, + { + "name": "_value", + "type": "uint256" + }, + { + "name": "_data", + "type": "bytes" + } + ], + "name": "transferFromAndCall", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_spender", + "type": "address" + }, + { + "name": "_addedValue", + "type": "uint256" + }, + { + "name": "_data", + "type": "bytes" + } + ], + "name": "increaseApprovalAndCall", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_spender", + "type": "address" + }, + { + "name": "_subtractedValue", + "type": "uint256" + }, + { + "name": "_data", + "type": "bytes" + } + ], + "name": "decreaseApprovalAndCall", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.29/ERC827TokenMock.json b/abis/0.0.1-rc.29/ERC827TokenMock.json new file mode 100644 index 00000000..6c3b3d35 --- /dev/null +++ b/abis/0.0.1-rc.29/ERC827TokenMock.json @@ -0,0 +1,375 @@ +[ + { + "constant": false, + "inputs": [ + { + "name": "spender", + "type": "address" + }, + { + "name": "value", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "from", + "type": "address" + }, + { + "name": "to", + "type": "address" + }, + { + "name": "value", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "spender", + "type": "address" + }, + { + "name": "addedValue", + "type": "uint256" + } + ], + "name": "increaseAllowance", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_to", + "type": "address" + }, + { + "name": "_value", + "type": "uint256" + }, + { + "name": "_data", + "type": "bytes" + } + ], + "name": "transferAndCall", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "owner", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_spender", + "type": "address" + }, + { + "name": "_addedValue", + "type": "uint256" + }, + { + "name": "_data", + "type": "bytes" + } + ], + "name": "increaseApprovalAndCall", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "spender", + "type": "address" + }, + { + "name": "subtractedValue", + "type": "uint256" + } + ], + "name": "decreaseAllowance", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "to", + "type": "address" + }, + { + "name": "value", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_from", + "type": "address" + }, + { + "name": "_to", + "type": "address" + }, + { + "name": "_value", + "type": "uint256" + }, + { + "name": "_data", + "type": "bytes" + } + ], + "name": "transferFromAndCall", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_spender", + "type": "address" + }, + { + "name": "_value", + "type": "uint256" + }, + { + "name": "_data", + "type": "bytes" + } + ], + "name": "approveAndCall", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_spender", + "type": "address" + }, + { + "name": "_subtractedValue", + "type": "uint256" + }, + { + "name": "_data", + "type": "bytes" + } + ], + "name": "decreaseApprovalAndCall", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "owner", + "type": "address" + }, + { + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "name": "initialAccount", + "type": "address" + }, + { + "name": "initialBalance", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "from", + "type": "address" + }, + { + "indexed": true, + "name": "to", + "type": "address" + }, + { + "indexed": false, + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.29/ExternalLocking4Reputation.json b/abis/0.0.1-rc.29/ExternalLocking4Reputation.json new file mode 100644 index 00000000..95faae85 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/ExternalTokenLockerMock.json b/abis/0.0.1-rc.29/ExternalTokenLockerMock.json new file mode 100644 index 00000000..0de5598f --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/FixedReputationAllocation.json b/abis/0.0.1-rc.29/FixedReputationAllocation.json new file mode 100644 index 00000000..e7072825 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/Forwarder.json b/abis/0.0.1-rc.29/Forwarder.json new file mode 100644 index 00000000..41f9489e --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/GenericScheme.json b/abis/0.0.1-rc.29/GenericScheme.json new file mode 100644 index 00000000..ffc73935 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/GenesisProtocol.json b/abis/0.0.1-rc.29/GenesisProtocol.json new file mode 100644 index 00000000..5bbafe4f --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/GenesisProtocolCallbacksMock.json b/abis/0.0.1-rc.29/GenesisProtocolCallbacksMock.json new file mode 100644 index 00000000..279b776a --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/GenesisProtocolLogic.json b/abis/0.0.1-rc.29/GenesisProtocolLogic.json new file mode 100644 index 00000000..90bdf520 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/GlobalConstraintInterface.json b/abis/0.0.1-rc.29/GlobalConstraintInterface.json new file mode 100644 index 00000000..f74bf724 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/GlobalConstraintMock.json b/abis/0.0.1-rc.29/GlobalConstraintMock.json new file mode 100644 index 00000000..2fcbcd09 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/GlobalConstraintRegistrar.json b/abis/0.0.1-rc.29/GlobalConstraintRegistrar.json new file mode 100644 index 00000000..bad50eeb --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/IERC20.json b/abis/0.0.1-rc.29/IERC20.json new file mode 100644 index 00000000..8e9eecb6 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/IntVoteInterface.json b/abis/0.0.1-rc.29/IntVoteInterface.json new file mode 100644 index 00000000..481aaf33 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/Locking4Reputation.json b/abis/0.0.1-rc.29/Locking4Reputation.json new file mode 100644 index 00000000..37024fed --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/LockingEth4Reputation.json b/abis/0.0.1-rc.29/LockingEth4Reputation.json new file mode 100644 index 00000000..8c35102d --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/LockingToken4Reputation.json b/abis/0.0.1-rc.29/LockingToken4Reputation.json new file mode 100644 index 00000000..12a079ec --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/Math.json b/abis/0.0.1-rc.29/Math.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/abis/0.0.1-rc.29/Math.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/abis/0.0.1-rc.29/Migrations.json b/abis/0.0.1-rc.29/Migrations.json new file mode 100644 index 00000000..e3213265 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/MiniMeToken.json b/abis/0.0.1-rc.29/MiniMeToken.json new file mode 100644 index 00000000..0e504e85 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/NectarRepAllocation.json b/abis/0.0.1-rc.29/NectarRepAllocation.json new file mode 100644 index 00000000..1dd3f934 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/OrganizationRegister.json b/abis/0.0.1-rc.29/OrganizationRegister.json new file mode 100644 index 00000000..840dd088 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/Ownable.json b/abis/0.0.1-rc.29/Ownable.json new file mode 100644 index 00000000..03d0d2c5 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/PolkaCurve.json b/abis/0.0.1-rc.29/PolkaCurve.json new file mode 100644 index 00000000..b3961d09 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/PriceOracleInterface.json b/abis/0.0.1-rc.29/PriceOracleInterface.json new file mode 100644 index 00000000..e79a30b0 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/PriceOracleMock.json b/abis/0.0.1-rc.29/PriceOracleMock.json new file mode 100644 index 00000000..ca433e5a --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/ProposalExecuteInterface.json b/abis/0.0.1-rc.29/ProposalExecuteInterface.json new file mode 100644 index 00000000..f8f7ffc7 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/QuorumVote.json b/abis/0.0.1-rc.29/QuorumVote.json new file mode 100644 index 00000000..d25f31a3 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/RealMath.json b/abis/0.0.1-rc.29/RealMath.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/abis/0.0.1-rc.29/RealMath.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/abis/0.0.1-rc.29/RealMathTester.json b/abis/0.0.1-rc.29/RealMathTester.json new file mode 100644 index 00000000..e5d3b7f7 --- /dev/null +++ b/abis/0.0.1-rc.29/RealMathTester.json @@ -0,0 +1,52 @@ +[ + { + "constant": true, + "inputs": [ + { + "name": "num", + "type": "uint216" + }, + { + "name": "den", + "type": "uint216" + }, + { + "name": "exp", + "type": "uint256" + } + ], + "name": "power", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "num", + "type": "uint216" + }, + { + "name": "den", + "type": "uint216" + } + ], + "name": "fraction", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.29/Redeemer.json b/abis/0.0.1-rc.29/Redeemer.json new file mode 100644 index 00000000..c04dc511 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/RepAllocation.json b/abis/0.0.1-rc.29/RepAllocation.json new file mode 100644 index 00000000..998902e9 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/Reputation.json b/abis/0.0.1-rc.29/Reputation.json new file mode 100644 index 00000000..9cbf51a5 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/ReputationFromToken.json b/abis/0.0.1-rc.29/ReputationFromToken.json new file mode 100644 index 00000000..84dce406 --- /dev/null +++ b/abis/0.0.1-rc.29/ReputationFromToken.json @@ -0,0 +1,139 @@ +[ + { + "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" + } +] \ No newline at end of file diff --git a/abis/0.0.1-rc.29/SafeERC20.json b/abis/0.0.1-rc.29/SafeERC20.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/abis/0.0.1-rc.29/SafeERC20.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/abis/0.0.1-rc.29/SafeERC20Mock.json b/abis/0.0.1-rc.29/SafeERC20Mock.json new file mode 100644 index 00000000..5ce94fd0 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/SafeMath.json b/abis/0.0.1-rc.29/SafeMath.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/abis/0.0.1-rc.29/SafeMath.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/abis/0.0.1-rc.29/SchemeRegistrar.json b/abis/0.0.1-rc.29/SchemeRegistrar.json new file mode 100644 index 00000000..a2e4a82f --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/SignalScheme.json b/abis/0.0.1-rc.29/SignalScheme.json new file mode 100644 index 00000000..33840328 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/TokenCapGC.json b/abis/0.0.1-rc.29/TokenCapGC.json new file mode 100644 index 00000000..1bb93e7f --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/UController.json b/abis/0.0.1-rc.29/UController.json new file mode 100644 index 00000000..d066f534 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/UGenericScheme.json b/abis/0.0.1-rc.29/UGenericScheme.json new file mode 100644 index 00000000..c7e0f1ca --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/UniversalScheme.json b/abis/0.0.1-rc.29/UniversalScheme.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/abis/0.0.1-rc.29/UniversalScheme.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/abis/0.0.1-rc.29/UniversalSchemeInterface.json b/abis/0.0.1-rc.29/UniversalSchemeInterface.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/abis/0.0.1-rc.29/UniversalSchemeInterface.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/abis/0.0.1-rc.29/UniversalSchemeMock.json b/abis/0.0.1-rc.29/UniversalSchemeMock.json new file mode 100644 index 00000000..7e81fc5e --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/UpgradeScheme.json b/abis/0.0.1-rc.29/UpgradeScheme.json new file mode 100644 index 00000000..d107e192 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/VoteInOrganizationScheme.json b/abis/0.0.1-rc.29/VoteInOrganizationScheme.json new file mode 100644 index 00000000..b78bf20c --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/VotingMachineCallbacks.json b/abis/0.0.1-rc.29/VotingMachineCallbacks.json new file mode 100644 index 00000000..6103538b --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/VotingMachineCallbacksInterface.json b/abis/0.0.1-rc.29/VotingMachineCallbacksInterface.json new file mode 100644 index 00000000..0fbc3a94 --- /dev/null +++ b/abis/0.0.1-rc.29/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.29/Wallet.json b/abis/0.0.1-rc.29/Wallet.json new file mode 100644 index 00000000..281eed5b --- /dev/null +++ b/abis/0.0.1-rc.29/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-base.js b/migrate-base.js index e30d2be5..8f77210d 100644 --- a/migrate-base.js +++ b/migrate-base.js @@ -58,6 +58,8 @@ async function migrateBase ({ web3, spinner, confirm, opts, logTx, previousMigra let GENToken = '0x543Ff227F64Aa17eA132Bf9886cAb5DB55DCAddf' + let DAOTracker + if (network === 'private') { GENToken = await deploy( require('@daostack/arc/build/contracts/DAOToken.json'), @@ -98,6 +100,9 @@ async function migrateBase ({ web3, spinner, confirm, opts, logTx, previousMigra [], web3.eth.accounts.wallet[0].address ) + if (Number(arcVersion.slice(-2)) >= 29) { + DAOTracker = await deploy(require('@daostack/arc/build/contracts/DAOTracker.json')) + } } else { addresses['GEN'] = GENToken if (network === 'main') { @@ -106,22 +111,53 @@ async function migrateBase ({ web3, spinner, confirm, opts, logTx, previousMigra [], '0x85e7fa550b534656d04d143b9a23a11e05077da3' // DAOstack's controlled account ) + if (Number(arcVersion.slice(-2)) >= 29) { + DAOTracker = await deploy(require('@daostack/arc/build/contracts/DAOTracker.json')) + const daoTracker = new web3.eth.Contract( + require('@daostack/arc/build/contracts/DAOTracker.json').abi, + DAOTracker, + opts + ) + spinner.start('Transfering DAOTracker Ownership') + let tx = await daoTracker.methods.transferOwnership('0x85e7fa550b534656d04d143b9a23a11e05077da3').send() + await logTx(tx, 'Finished Transfering DAOTracker Ownership') + } } else { await deploy( require('@daostack/arc-hive/build/contracts/DAORegistry.json'), [], '0x73Db6408abbea97C5DB8A2234C4027C315094936' ) + if (Number(arcVersion.slice(-2)) >= 29) { + DAOTracker = await deploy(require('@daostack/arc/build/contracts/DAOTracker.json')) + const daoTracker = new web3.eth.Contract( + require('@daostack/arc/build/contracts/DAOTracker.json').abi, + DAOTracker, + opts + ) + spinner.start('Transfering DAOTracker Ownership') + let tx = await daoTracker.methods.transferOwnership('0x73Db6408abbea97C5DB8A2234C4027C315094936').send() + await logTx(tx, 'Finished Transfering DAOTracker Ownership') + } } } const ControllerCreator = await deploy(require('@daostack/arc/build/contracts/ControllerCreator.json')) - await deploy( - require('@daostack/arc/build/contracts/DaoCreator.json'), - ['ControllerCreator'], - ControllerCreator - ) + if (Number(arcVersion.slice(-2)) >= 29) { + await deploy( + require('@daostack/arc/build/contracts/DaoCreator.json'), + ['ControllerCreator', 'DAOTracker'], + ControllerCreator, + DAOTracker + ) + } else { + await deploy( + require('@daostack/arc/build/contracts/DaoCreator.json'), + ['ControllerCreator'], + ControllerCreator + ) + } await deploy(require('@daostack/arc/build/contracts/UController.json')) await deploy( require('@daostack/arc/build/contracts/GenesisProtocol.json'), diff --git a/migrate-dao.js b/migrate-dao.js index e4cf9917..df9b823f 100644 --- a/migrate-dao.js +++ b/migrate-dao.js @@ -27,6 +27,7 @@ async function migrateDAO ({ web3, spinner, confirm, opts, migrationParams, logT UController, DaoCreator, DAORegistry, + DAOTracker, SchemeRegistrar, ContributionReward, UGenericScheme, @@ -262,6 +263,17 @@ async function migrateDAO ({ web3, spinner, confirm, opts, migrationParams, logT Controller = controller.options.address } + if (migrationParams.noTrack !== true && Number(arcVersion.slice(-2)) >= 29) { + const daoTracker = new web3.eth.Contract( + require('@daostack/arc/build/contracts/DAOTracker.json').abi, + DAOTracker, + opts + ) + spinner.start('Registering DAO in DAOTracker') + tx = await daoTracker.methods.track(avatar.options.address, Controller).send({ nonce: ++nonce }) + await logTx(tx, 'Finished Registering DAO in DAOTracker') + } + spinner.start('Transfer Avatar to Controller ownership') tx = await avatar.methods.transferOwnership(Controller).send({ nonce: ++nonce }) await logTx(tx, 'Finished transferring Avatar to Controller ownership') diff --git a/migration-params.json b/migration-params.json index d21b9b9c..f9dbf5b2 100644 --- a/migration-params.json +++ b/migration-params.json @@ -56,6 +56,7 @@ "unregisterOwner": true, "useUController": false, "useDaoCreator": false, + "noTrack": false, "founders": [ { "address": "0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1", diff --git a/migration.json b/migration.json index c9d8ffe2..24bbde56 100644 --- a/migration.json +++ b/migration.json @@ -204,11 +204,31 @@ "OrganizationRegister": "0x05e09664b5DF5A7F3854BbB58e1fB6DF5af6878e", "Redeemer": "0x8fF3b30f245678891A0e2Fff3929cC1AA67f9e51", "UGenericScheme": "0xb8BE911a773532564E914e5bDC4E76edBeea965d" + }, + "0.0.1-rc.29": { + "GEN": "0xe78A0F7E598Cc8b0Bb87894B0F60dD2a88d6a8Ab", + "DAORegistry": "0xceC462D00e07B1eC5f49CB96F985F275DF03bfD6", + "DAOTracker": "0xEa3066bAA418c21586E64737F406C2bd3c672B13", + "ControllerCreator": "0x6E82EC8319078852cf4851bF40EA9Ba3D60E9E26", + "DaoCreator": "0x47d074d592F3012111341cD93eFaC625E0029508", + "UController": "0xdF8A7e44c91dd46E13b93743c840944721d046a6", + "GenesisProtocol": "0x4224e050d750D73BBcB44dF150BeD20782D14517", + "SchemeRegistrar": "0x794FddB17A78C472d8FA1f879ee8397A84d6eaA7", + "UpgradeScheme": "0x96529E502f1cCf6Ae74BBD81236EB85F1d54Dc71", + "GlobalConstraintRegistrar": "0x1eb309065eb7D51f1A32AF4007B15F7031ac58a9", + "ContributionReward": "0x1aC5Cf9D277175E8350CF75d65bE8ADaf58B9394", + "AbsoluteVote": "0xbe74Dd781E1A3fAb6554A4934132649A5b858541", + "QuorumVote": "0xbb87365bE0d0C881b6d26Ff1F6BEC58ab4825C25", + "TokenCapGC": "0x5023deB3F76D484102c9650933541a90B528CBFF", + "VoteInOrganizationScheme": "0xCb7126eC611fab65A1Fbd1253fd947634A4623Fa", + "OrganizationRegister": "0xacB3075E4a4D73975ADe7bFb0ee073f9A65B9e71", + "Redeemer": "0x353B67029c2B8D94E0a89Bfacd18B2e41152B661", + "UGenericScheme": "0x720152c0ad3920fB6fF85D9e38AE13dB60031351" } }, "dao": { "0.0.1-rc.16": { - "name": "Voracious Carnival", + "name": "Inveterate Coppersmith", "Avatar": "0x5017A545b09ab9a30499DE7F431DF0855bCb7275", "DAOToken": "0xaD888d0Ade988EbEe74B8D4F39BF29a8d0fe8A8D", "Reputation": "0x7C728214be9A0049e6a86f2137ec61030D0AA964", @@ -216,7 +236,7 @@ "Schemes": [] }, "0.0.1-rc.17": { - "name": "Execrable Animator", + "name": "Voracious Musician", "Avatar": "0x84b085c0d4B4D6fbf6490f8246Bc5cD317d2d4cD", "DAOToken": "0x180D179Bbf473A30183Fe858E8416351D2170Fd2", "Reputation": "0x770191B327a9f6cd83B997F68c1ce3c8e6a018dc", @@ -224,7 +244,7 @@ "Schemes": [] }, "0.0.1-rc.18": { - "name": "Wheedling Engineering", + "name": "Noxious Make-up artist", "Avatar": "0xe00b745b5e71337507d43a8584320c4192CA7994", "DAOToken": "0x3B2d33aC0B76462c8Eb58548ed7db68BC826F15E", "Reputation": "0xD44d92D878Bb19649bE73702E514560743B3CF86", @@ -232,7 +252,7 @@ "Schemes": [] }, "0.0.1-rc.19": { - "name": "Spasmodic Miller", + "name": "Rebarbative Potato", "Avatar": "0xB247a2fcBe1223C24374a27966952491CA56c800", "DAOToken": "0x47EF76991DD3C561BaB1504C48C0eB55a6e61025", "Reputation": "0xe14E93b1a9f7227f7B3851B12FDF4c7BcA4428Db", @@ -240,7 +260,7 @@ "Schemes": [] }, "0.0.1-rc.21": { - "name": "Effulgent Jellybeans", + "name": "Adroit Circus", "Avatar": "0x8212d7A8158530F235092756A617B0dCE323Fe4B", "DAOToken": "0xbA465b9b7859eec9De880991bBdEB2CB4a41D9a6", "Reputation": "0xAf57A911e5BE42c608770d6203D1Fd38A103a82A", @@ -248,7 +268,7 @@ "Schemes": [] }, "0.0.1-rc.22": { - "name": "Ruminative Circus", + "name": "Rebarbative Model", "Avatar": "0x5C77030836e21C78b1013E443ACf816974E6315b", "DAOToken": "0x7A0738faD6396454E9cf425D06D86c5d79a328A5", "Reputation": "0x84F46628D78e7de013279c33e7B262488ce4421D", @@ -256,7 +276,7 @@ "Schemes": [] }, "0.0.1-rc.23": { - "name": "Bellicose Snakes", + "name": "Comely Captain", "Avatar": "0xdFc8050206A480F517E5D22b226b81051c0b1334", "DAOToken": "0x34E17AEF434165eDe54C6Fc8F5c8B1f879CACDd0", "Reputation": "0x80EaE59c5f92F9f65338bba4F26FFC8Ca2b6224A", @@ -264,7 +284,7 @@ "Schemes": [] }, "0.0.1-rc.24": { - "name": "Egregious Bushes", + "name": "Effulgent Leadman", "Avatar": "0x8f6Ec2eca7FB7B15df480d1266Ba142aEbfd373D", "DAOToken": "0xf9D3854d8c5ACE915a8a4FfF16253B1CA7CEf0cD", "Reputation": "0x7744cE2c85DCE57d76b17D374397d84387F450eA", @@ -283,7 +303,7 @@ ] }, "0.0.1-rc.25": { - "name": "Pendulous Artist", + "name": "Corpulent Potato", "Avatar": "0x0bf9f0c16E64E4247668eF39e89885Ba43840Ade", "DAOToken": "0xF486984B6cE0988b66D08520146b3A044c1aB9fB", "Reputation": "0x242cb7cE1d431d356783f1f739c37A4EbE99CCFc", @@ -302,7 +322,7 @@ ] }, "0.0.1-rc.27": { - "name": "Invidious Bushes", + "name": "Spasmodic Stick figures", "Avatar": "0x434069DEB794cfb4007109e72bdd0E5aEFacD726", "DAOToken": "0x22bD212931f27bb245da05BC56761dd3B5389854", "Reputation": "0x7861A4BB7746074f6f3AA3739FC475FCB4B52aBa", @@ -321,7 +341,7 @@ ] }, "0.0.1-rc.28": { - "name": "Mendacious Banjo", + "name": "Mendacious Toejam", "Avatar": "0xdfd8Af86E45495AD75F5a4c3E3b2D1d39553BE7A", "DAOToken": "0xeB970509386741587E60d49Bb8282E7cB41823c7", "Reputation": "0xBa2BE74eD1519acDd542674089e31804f98a6A47", @@ -338,11 +358,30 @@ "address": "0xD2146301137f2A1B175aA9947a4BAF3811De4c34" } ] + }, + "0.0.1-rc.29": { + "name": "Taciturn Stylist", + "Avatar": "0xc25F2EaaD3e3619Cf9a4A1D32D71D3529fd66Fd3", + "DAOToken": "0x8A0446aA91aadaF9EC89b5E664145f8bb2FF4d6B", + "Reputation": "0x4817a0Cf1016069a0b17B77d16bdF64B5243003B", + "Controller": "0x0f3c093DF20aC26c118240E4E7cB72d86632C2fc", + "Schemes": [ + { + "name": "GenericScheme", + "alias": "GenericSchemeAlias", + "address": "0xF6cd4921E3e685C31c30B8907f4e7e7c21AC725B" + }, + { + "name": "GenericScheme", + "alias": "GenericSchemeAlias2", + "address": "0x995C39ce2751A81dC54B66c0d529de6B37C6277D" + } + ] } }, "test": { "0.0.1-rc.16": { - "name": "Fulsome Animator", + "name": "Petulant Laser", "Avatar": "0xE7A2C59e134ee81D4035Ae6DB2254f79308e334f", "DAOToken": "0xcDbe8b52A6c60A5f101d4A0F1f049f19a9e1D35F", "Reputation": "0x93cdbf39fB9e13BD253CA5819247D52fbabf0F2f", @@ -359,7 +398,7 @@ } }, "0.0.1-rc.17": { - "name": "Redolent Circus", + "name": "Voracious Stick figures", "Avatar": "0xd28D841D3e1a90613389CcBcc9C7464F8df5B4bD", "DAOToken": "0xdA6217d908DF63267ED75ccd319838Ac005D5a28", "Reputation": "0xd6f72E1dcaaED50357082169Ba1f5D1518B27538", @@ -376,7 +415,7 @@ } }, "0.0.1-rc.18": { - "name": "Withering Teacher", + "name": "Propitious Carousel", "Avatar": "0x373353f088A5377a57be5B3eC038851d1ef010BE", "DAOToken": "0xdBfD63709f96b50590abd8a3fF6fDaBDee8FeF6B", "Reputation": "0x8E0b43905a7FB83895d6581Daee17BD7ab929d2E", @@ -393,7 +432,7 @@ } }, "0.0.1-rc.19": { - "name": "Antic Dolls", + "name": "Gustatory Dolls", "Avatar": "0x7c89354DFf7Ed2447a6a4139383c65e41Bd8C953", "DAOToken": "0xBffFa60E73415245F01542d17D94CF087870C52F", "Reputation": "0x63aeF7Be461FBA4402A1D80E54bDf740B0F3f1Fb", @@ -410,7 +449,7 @@ } }, "0.0.1-rc.21": { - "name": "Efficacious Senor", + "name": "Turbulent Leadman", "Avatar": "0xfbbF29d178CDCD81113953f6651A10982a1FE431", "DAOToken": "0x92D0A9a2df0F9C85947689A8FEfC47D11C1181ec", "Reputation": "0xA7a2bC7F4cda9DBcDF931f0a566fdAf1F42308E3", @@ -427,7 +466,7 @@ } }, "0.0.1-rc.22": { - "name": "Minatory Panel beater", + "name": "Baleful Carrot", "Avatar": "0xfbD88B0a5cc1b065D2d32dc72A88E178E7cA21A9", "DAOToken": "0x0d3cB11e648f8FEceF25A72cE86ce1554984F6C6", "Reputation": "0x2BB9B8111B74Faa647bf500f59cd1c6A5de61B89", @@ -444,7 +483,7 @@ } }, "0.0.1-rc.23": { - "name": "Nefarious Kazoo", + "name": "Zealous Musician", "Avatar": "0x591C5840a969C4e6dC445e7354DA3B4bD3682499", "DAOToken": "0x0F9Dc11c5441340A50d112793051f52716E57040", "Reputation": "0x3e5B2b2d1a8b94EeEa5373301BC357510e352727", @@ -461,7 +500,7 @@ } }, "0.0.1-rc.24": { - "name": "Obtuse Stick figures", + "name": "Voracious Trampoline", "Avatar": "0x1C5C95b02Cb35a282596FA3b96C0EAFE58FCb385", "DAOToken": "0xD857F83c51Dc91d2D1AB8fD7ab00aE95355dC5AE", "Reputation": "0x8c2E0Ca5eFAb412dA5a2DF1736B08A89d0Eb68Ec", @@ -478,7 +517,7 @@ } }, "0.0.1-rc.25": { - "name": "Petulant Mermaid eggs", + "name": "Platitudinous Nibblets", "Avatar": "0x4c3527694AdF328333655ccC1a7038E8e1D67b97", "DAOToken": "0x9d1A94547b8082DC6e1b252659A277c360383F9E", "Reputation": "0xFe8dC37a96C45EbdC6ebfFFf7aac34894d7c0b26", @@ -495,7 +534,7 @@ } }, "0.0.1-rc.27": { - "name": "Pendulous Ninja", + "name": "Effulgent Rainbows", "Avatar": "0xd685fDdE353E778ad741165E926e534c0c008308", "DAOToken": "0x43F5FF96A088BBB517d656b8682586015bAb7880", "Reputation": "0xa95bE05d7D3712949ccd6B924Ff684B6731deEF2", @@ -512,7 +551,7 @@ } }, "0.0.1-rc.28": { - "name": "Comely Dragons", + "name": "Luminous Pancake", "Avatar": "0x501eAB934f76B876c116Cfffb511f5A065Ea7944", "DAOToken": "0x1663c49F4084938d94a487b08001FfB3d3315Bad", "Reputation": "0x365883D9603f8be8D28d8326c666d6FeF776a3bB", @@ -527,6 +566,23 @@ "DemoDAOToken": "0xd69FB48d8847B14881C086046bb4D16e0bbA2812", "DemoReputation": "0x22906139BF68Ca888a8B7a17688485FAdEF1824e" } + }, + "0.0.1-rc.29": { + "name": "Pernicious Gnomes", + "Avatar": "0xD049De0eABFeE747bDB06F163dbea8B64730E258", + "DAOToken": "0xa2Df452d00aD6aA750bCB52F5cc19AAE4aDEA1C3", + "Reputation": "0x0E19343cE0ED5255906F9feFDd22887262B5A2fe", + "ActionMock": "0x3bb309D27807202c44B2f00C2EE04Ea5046B5B5d", + "gsProposalId": "0x7e9edd1d891f54c2695ef2e988e2c0f1001d89743a3f5f08afb94b4c5f1fd1cb", + "queuedProposalId": "0xf0e87fe909dab9beca135af113aa6c53f0ad74e724722d9a2582439f93ff6b13", + "preBoostedProposalId": "0x9fe3bc5c2554ff12ee220facb53c121e5b77ac7710d4ba8743457fd876468f3b", + "boostedProposalId": "0x2ae7a85e4cd02c76d935a0e1ec6183aa9896d25280e81f12b01cc7e0ee2ed854", + "executedProposalId": "0x08cf38e08b73a7536382b977d269be3905f33b566c2d9f15f0cc7703e48e952d", + "organs": { + "DemoAvatar": "0xa247380C196453e630DCBBA702465DcD31416786", + "DemoDAOToken": "0x7f9c95BF4e42A3A492eE45Bd41025A674b782D0D", + "DemoReputation": "0x44b2C55F5CAe26D328F047a547d766E6BE836eb9" + } } } }, @@ -798,6 +854,26 @@ "OrganizationRegister": "0xbF9D0eb0419CDfc72CC674aa0f64D85FB2AEc7E8", "Redeemer": "0xc1597A0Ca76AA007B3f3Ad783a6A60562F709e25", "UGenericScheme": "0x72dB54E63B3004a4bd030E5E0333579C1d54B863" + }, + "0.0.1-rc.29": { + "GEN": "0x543Ff227F64Aa17eA132Bf9886cAb5DB55DCAddf", + "DAORegistry": "0xE9f949fee2ae09a408C9b902031bC2A1BFF3AEe2", + "DAOTracker": "0x8ED26f823338575a3D40025859D2e7dF74744378", + "ControllerCreator": "0xBDfAA9273d8413840e5CDC77E7054c043912ecc6", + "DaoCreator": "0x58e059F23563D361840BD7f43EBF178a1C65F75b", + "UController": "0xec196EA922adb119346e765BC6602063d387E867", + "GenesisProtocol": "0x7648665cda324511b71e002E9C62da98a8E68505", + "SchemeRegistrar": "0x2c411266902c001351F49Ad63646f32B542D905E", + "UpgradeScheme": "0x5095db2074DD50BFB217Be6b362002B4bf5f310D", + "GlobalConstraintRegistrar": "0xAFE854A1b86B3f26ACDE92cD8b34F593c5aE6970", + "ContributionReward": "0x8Ff49219E74e076Cf4f1b244A47875D7009e2595", + "AbsoluteVote": "0xe82267aAa8E95b49447EF6aa74F7f64E3Df5B71d", + "QuorumVote": "0x0Ced285247A16987Bcc4C5705ad1Ad669FEf9002", + "TokenCapGC": "0x349900Ed029559448d9E28D65c3e79C27685920f", + "VoteInOrganizationScheme": "0xFD102d7e07136744068264Df7f00d74b8aF01e0c", + "OrganizationRegister": "0xbF9D0eb0419CDfc72CC674aa0f64D85FB2AEc7E8", + "Redeemer": "0xc1597A0Ca76AA007B3f3Ad783a6A60562F709e25", + "UGenericScheme": "0x72dB54E63B3004a4bd030E5E0333579C1d54B863" } }, "dao": { @@ -967,6 +1043,26 @@ "OrganizationRegister": "0x36885317d04aF468831BC6730e417EC2415d73bE", "Redeemer": "0xd37ED7b0f77A76D0e277aa264cd52150988ab81f", "UGenericScheme": "0xB00230dB44150862791fFd7CD56E3993d44A0d9c" + }, + "0.0.1-rc.29": { + "GEN": "0x543Ff227F64Aa17eA132Bf9886cAb5DB55DCAddf", + "DAORegistry": "0x41C24232452057b9c812A94f84b8643Ee0253C44", + "DAOTracker": "0xA1B29De3a186e6Dc7C1b3C575EdbB2B66C4774E0", + "ControllerCreator": "0x33E11f2c9C624A45eD821D97a513B628EF3238F7", + "DaoCreator": "0xeedF4f017d81CD60458485497082cf595D5Be7DB", + "UController": "0xaf22E4A6AD0AcB1D8590480fA6A09b1EF1f75E8e", + "GenesisProtocol": "0x8DDCEF56944094DF8ef8836A6f8168a75a133192", + "SchemeRegistrar": "0x1A21B763E0e4756ae981C80Edc290063fC15e25a", + "UpgradeScheme": "0x40DefCc4144AACc4Fc4155Dc1E7C6C3a394cf53F", + "GlobalConstraintRegistrar": "0x7636B95B763FbFa14bDc61A968697b22F8FE830B", + "ContributionReward": "0x191afb6f36478f529a0446d0f12857c9eaed991a", + "AbsoluteVote": "0xC25c4804e70EFfA58e74757cf07878e441cDEA2a", + "QuorumVote": "0x2DAd6097a635B40C03bB428176cD0a4f2419c6FE", + "TokenCapGC": "0xF85022de61824Da950aDBBAbdDcbd9048dd6e1F2", + "VoteInOrganizationScheme": "0x201f54C0F554dc10E53b14342De4020370dd580d", + "OrganizationRegister": "0x36885317d04aF468831BC6730e417EC2415d73bE", + "Redeemer": "0xd37ED7b0f77A76D0e277aa264cd52150988ab81f", + "UGenericScheme": "0xB00230dB44150862791fFd7CD56E3993d44A0d9c" } }, "dao": { diff --git a/package-lock.json b/package-lock.json index 4aab11ed..6b8a5011 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@daostack/migration", - "version": "0.0.1-rc.28-v1", + "version": "0.0.1-rc.29-v0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -25,9 +25,9 @@ } }, "@daostack/arc": { - "version": "0.0.1-rc.28", - "resolved": "https://registry.npmjs.org/@daostack/arc/-/arc-0.0.1-rc.28.tgz", - "integrity": "sha512-mOcWaL9aupHpnt76jcP5w2Os4yI7CjcFtGIzRENYgV44EefLafgaxJu9D4Frs/0NSodnuneB819zM8T0TEmlnA==", + "version": "0.0.1-rc.29", + "resolved": "https://registry.npmjs.org/@daostack/arc/-/arc-0.0.1-rc.29.tgz", + "integrity": "sha512-8A/GtXOtd15xDmVAxrGjCfsWBt34OyudMhoa72KqFljhI9fW7hqD8AD06HGzNhkqyVBc1pdXElmzaem1DKAthA==", "requires": { "@daostack/infra": "0.0.1-rc.14", "math": "0.0.3", @@ -105,9 +105,9 @@ } }, "@types/node": { - "version": "10.14.19", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.14.19.tgz", - "integrity": "sha512-j6Sqt38ssdMKutXBUuAcmWF8QtHW1Fwz/mz4Y+Wd9mzpBiVFirjpNQf363hG5itkG+yGaD+oiLyb50HxJ36l9Q==" + "version": "10.14.20", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.14.20.tgz", + "integrity": "sha512-An+MXSV8CGXz/BO9C1KKsoJ/8WDrvlNUaRMsm2h+IHZuSyQkM8U5bJJkb8ItLKA73VePG/nUK+t+EuW2IWuhsQ==" }, "accepts": { "version": "1.3.7", @@ -1459,9 +1459,9 @@ "integrity": "sha1-Ck2uN9YA0VopukU9jvkg8YRDM/Y=" }, "es-abstract": { - "version": "1.14.2", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.14.2.tgz", - "integrity": "sha512-DgoQmbpFNOofkjJtKwr87Ma5EW4Dc8fWhD0R+ndq7Oc456ivUfGOOP6oAZTTKl5/CcNMP+EN+e3/iUzgE0veZg==", + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.15.0.tgz", + "integrity": "sha512-bhkEqWJ2t2lMeaJDuk7okMkJWI/yqgH/EoGwpcvv0XW9RWQsRspI4wt6xuyuvMvvQE3gg/D9HXppgk21w78GyQ==", "requires": { "es-to-primitive": "^1.2.0", "function-bind": "^1.1.1", @@ -1471,8 +1471,8 @@ "is-regex": "^1.0.4", "object-inspect": "^1.6.0", "object-keys": "^1.1.1", - "string.prototype.trimleft": "^2.0.0", - "string.prototype.trimright": "^2.0.0" + "string.prototype.trimleft": "^2.1.0", + "string.prototype.trimright": "^2.1.0" } }, "es-to-primitive": { diff --git a/package.json b/package.json index 5c545034..09f03e8a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@daostack/migration", - "version": "0.0.1-rc.28-v1", + "version": "0.0.1-rc.29-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.28", + "@daostack/arc": "0.0.1-rc.29", "@daostack/arc-hive": "0.0.1-rc.4", "ethereumjs-wallet": "^0.6.3", "fstream": "^1.0.12",