{ "contractName": "Colony", "abi": [ { "constant": false, "inputs": [ { "name": "owner_", "type": "address" } ], "name": "setOwner", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "taskWorkRatings", "outputs": [ { "name": "count", "type": "uint256" }, { "name": "timestamp", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "domains", "outputs": [ { "name": "skillId", "type": "uint256" }, { "name": "fundingPotId", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "authority_", "type": "address" } ], "name": "setAuthority", "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": "authority", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "resolver", "type": "address" } ], "name": "ColonyNetworkInitialised", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "tokenLocking", "type": "address" } ], "name": "TokenLockingAddressSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "miningCycleResolver", "type": "address" } ], "name": "MiningCycleResolverSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "feeInverse", "type": "uint256" } ], "name": "NetworkFeeInverseSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "version", "type": "uint256" }, { "indexed": false, "name": "resolver", "type": "address" } ], "name": "ColonyVersionAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "metaColony", "type": "address" }, { "indexed": false, "name": "token", "type": "address" }, { "indexed": false, "name": "rootSkillId", "type": "uint256" } ], "name": "MetaColonyCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "colonyId", "type": "uint256" }, { "indexed": true, "name": "colonyAddress", "type": "address" }, { "indexed": false, "name": "token", "type": "address" } ], "name": "ColonyAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "skillId", "type": "uint256" }, { "indexed": false, "name": "parentSkillId", "type": "uint256" } ], "name": "SkillAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "auction", "type": "address" }, { "indexed": false, "name": "token", "type": "address" }, { "indexed": false, "name": "quantity", "type": "uint256" } ], "name": "AuctionCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "inactiveReputationMiningCycle", "type": "address" } ], "name": "ReputationMiningInitialised", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "hash", "type": "bytes32" }, { "indexed": false, "name": "nNodes", "type": "uint256" } ], "name": "ReputationMiningCycleComplete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "newHash", "type": "bytes32" }, { "indexed": false, "name": "newNNodes", "type": "uint256" }, { "indexed": false, "name": "stakers", "type": "address[]" }, { "indexed": false, "name": "reward", "type": "uint256" } ], "name": "ReputationRootHashSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "user", "type": "address" }, { "indexed": false, "name": "label", "type": "bytes32" } ], "name": "UserLabelRegistered", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "colony", "type": "address" }, { "indexed": false, "name": "label", "type": "bytes32" } ], "name": "ColonyLabelRegistered", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "colonyNetwork", "type": "address" }, { "indexed": false, "name": "token", "type": "address" } ], "name": "ColonyInitialised", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "users", "type": "address[]" }, { "indexed": false, "name": "amounts", "type": "int256[]" } ], "name": "ColonyBootstrapped", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "oldVersion", "type": "uint256" }, { "indexed": false, "name": "newVersion", "type": "uint256" } ], "name": "ColonyUpgraded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "user", "type": "address" }, { "indexed": false, "name": "setTo", "type": "bool" } ], "name": "ColonyFundingRoleSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "user", "type": "address" }, { "indexed": false, "name": "setTo", "type": "bool" } ], "name": "ColonyAdministrationRoleSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "user", "type": "address" }, { "indexed": false, "name": "setTo", "type": "bool" } ], "name": "ColonyArchitectureRoleSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "user", "type": "address" }, { "indexed": false, "name": "setTo", "type": "bool" } ], "name": "ColonyRootRoleSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "fromPot", "type": "uint256" }, { "indexed": true, "name": "toPot", "type": "uint256" }, { "indexed": false, "name": "amount", "type": "uint256" }, { "indexed": false, "name": "token", "type": "address" } ], "name": "ColonyFundsMovedBetweenFundingPots", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "token", "type": "address" }, { "indexed": false, "name": "fee", "type": "uint256" }, { "indexed": false, "name": "payoutRemainder", "type": "uint256" } ], "name": "ColonyFundsClaimed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "rewardPayoutId", "type": "uint256" } ], "name": "RewardPayoutCycleStarted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "rewardPayoutId", "type": "uint256" } ], "name": "RewardPayoutCycleEnded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "rewardPayoutId", "type": "uint256" }, { "indexed": false, "name": "user", "type": "address" }, { "indexed": false, "name": "fee", "type": "uint256" }, { "indexed": false, "name": "rewardRemainder", "type": "uint256" } ], "name": "RewardPayoutClaimed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "rewardInverse", "type": "uint256" } ], "name": "ColonyRewardInverseSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "paymentId", "type": "uint256" } ], "name": "PaymentAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "taskId", "type": "uint256" } ], "name": "TaskAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "taskId", "type": "uint256" }, { "indexed": false, "name": "specificationHash", "type": "bytes32" } ], "name": "TaskBriefSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "taskId", "type": "uint256" }, { "indexed": false, "name": "dueDate", "type": "uint256" } ], "name": "TaskDueDateSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "taskId", "type": "uint256" }, { "indexed": true, "name": "domainId", "type": "uint256" } ], "name": "TaskDomainSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "taskId", "type": "uint256" }, { "indexed": true, "name": "skillId", "type": "uint256" } ], "name": "TaskSkillSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "taskId", "type": "uint256" }, { "indexed": false, "name": "role", "type": "uint8" }, { "indexed": true, "name": "user", "type": "address" } ], "name": "TaskRoleUserSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "taskId", "type": "uint256" }, { "indexed": false, "name": "role", "type": "uint8" }, { "indexed": false, "name": "token", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "TaskPayoutSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "taskId", "type": "uint256" }, { "indexed": false, "name": "deliverableHash", "type": "bytes32" } ], "name": "TaskDeliverableSubmitted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "taskId", "type": "uint256" } ], "name": "TaskCompleted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "taskId", "type": "uint256" }, { "indexed": false, "name": "role", "type": "uint8" }, { "indexed": false, "name": "rating", "type": "uint8" } ], "name": "TaskWorkRatingRevealed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "taskId", "type": "uint256" } ], "name": "TaskFinalized", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "fundingPotId", "type": "uint256" }, { "indexed": false, "name": "token", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "PayoutClaimed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "taskId", "type": "uint256" } ], "name": "TaskCanceled", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "domainId", "type": "uint256" } ], "name": "DomainAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "fundingPotId", "type": "uint256" } ], "name": "FundingPotAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "authority", "type": "address" } ], "name": "LogSetAuthority", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "owner", "type": "address" } ], "name": "LogSetOwner", "type": "event" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "colonyVersion", "type": "uint256" } ], "payable": false, "stateMutability": "pure", "type": "function" }, { "constant": false, "inputs": [ { "name": "_user", "type": "address" }, { "name": "_setTo", "type": "bool" } ], "name": "setRootRole", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_permissionDomainId", "type": "uint256" }, { "name": "_childSkillIndex", "type": "uint256" }, { "name": "_user", "type": "address" }, { "name": "_domainId", "type": "uint256" }, { "name": "_setTo", "type": "bool" } ], "name": "setArchitectureRole", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_permissionDomainId", "type": "uint256" }, { "name": "_childSkillIndex", "type": "uint256" }, { "name": "_user", "type": "address" }, { "name": "_domainId", "type": "uint256" }, { "name": "_setTo", "type": "bool" } ], "name": "setFundingRole", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_permissionDomainId", "type": "uint256" }, { "name": "_childSkillIndex", "type": "uint256" }, { "name": "_user", "type": "address" }, { "name": "_domainId", "type": "uint256" }, { "name": "_setTo", "type": "bool" } ], "name": "setAdministrationRole", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "_user", "type": "address" }, { "name": "_domainId", "type": "uint256" }, { "name": "_role", "type": "uint8" } ], "name": "hasUserRole", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getColonyNetwork", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getToken", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_colonyNetworkAddress", "type": "address" }, { "name": "_token", "type": "address" } ], "name": "initialiseColony", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_users", "type": "address[]" }, { "name": "_amounts", "type": "int256[]" } ], "name": "bootstrapColony", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_wad", "type": "uint256" } ], "name": "mintTokens", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_wad", "type": "uint256" } ], "name": "mintTokensForColonyNetwork", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "colonyName", "type": "string" }, { "name": "orbitdb", "type": "string" } ], "name": "registerColonyLabel", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "addGlobalSkill", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_skillId", "type": "uint256" } ], "name": "deprecateGlobalSkill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_feeInverse", "type": "uint256" } ], "name": "setNetworkFeeInverse", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_version", "type": "uint256" }, { "name": "_resolver", "type": "address" } ], "name": "addNetworkColonyVersion", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_permissionDomainId", "type": "uint256" }, { "name": "_childSkillIndex", "type": "uint256" }, { "name": "_parentDomainId", "type": "uint256" } ], "name": "addDomain", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "_id", "type": "uint256" } ], "name": "getDomain", "outputs": [ { "components": [ { "name": "skillId", "type": "uint256" }, { "name": "fundingPotId", "type": "uint256" } ], "name": "domain", "type": "tuple" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getDomainCount", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" }, { "name": "branchMask", "type": "uint256" }, { "name": "siblings", "type": "bytes32[]" } ], "name": "verifyReputationProof", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_newVersion", "type": "uint256" } ], "name": "upgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "_slot", "type": "uint256" } ], "name": "checkNotAdditionalProtectedVariable", "outputs": [], "payable": false, "stateMutability": "view", "type": "function" } ], "devdoc": { "methods": {} }, "userdoc": { "methods": {} } }