{ "contractName": "ColonyTask", "abi": [ { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "txHash", "type": "bytes32" }, { "indexed": false, "internalType": "string", "name": "metadata", "type": "string" } ], "name": "Annotation", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "auction", "type": "address" }, { "indexed": false, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "quantity", "type": "uint256" } ], "name": "AuctionCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "colonyId", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "colonyAddress", "type": "address" }, { "indexed": false, "internalType": "address", "name": "token", "type": "address" } ], "name": "ColonyAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": false, "internalType": "address[]", "name": "users", "type": "address[]" }, { "indexed": false, "internalType": "int256[]", "name": "amounts", "type": "int256[]" } ], "name": "ColonyBootstrapped", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": false, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "fee", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "payoutRemainder", "type": "uint256" } ], "name": "ColonyFundsClaimed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "fromPot", "type": "uint256" }, { "indexed": true, "internalType": "uint256", "name": "toPot", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "token", "type": "address" } ], "name": "ColonyFundsMovedBetweenFundingPots", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": false, "internalType": "address", "name": "colonyNetwork", "type": "address" }, { "indexed": false, "internalType": "address", "name": "token", "type": "address" } ], "name": "ColonyInitialised", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "colony", "type": "address" }, { "indexed": false, "internalType": "bytes32", "name": "label", "type": "bytes32" } ], "name": "ColonyLabelRegistered", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": false, "internalType": "string", "name": "metadata", "type": "string" } ], "name": "ColonyMetadata", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "resolver", "type": "address" } ], "name": "ColonyNetworkInitialised", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "rewardInverse", "type": "uint256" } ], "name": "ColonyRewardInverseSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": true, "internalType": "address", "name": "user", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "domainId", "type": "uint256" }, { "indexed": true, "internalType": "uint8", "name": "role", "type": "uint8" }, { "indexed": false, "internalType": "bool", "name": "setTo", "type": "bool" } ], "name": "ColonyRoleSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "oldVersion", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newVersion", "type": "uint256" } ], "name": "ColonyUpgraded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "version", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "resolver", "type": "address" } ], "name": "ColonyVersionAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "domainId", "type": "uint256" } ], "name": "DomainAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "domainId", "type": "uint256" }, { "indexed": false, "internalType": "string", "name": "metadata", "type": "string" } ], "name": "DomainMetadata", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "expenditureId", "type": "uint256" } ], "name": "ExpenditureAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "expenditureId", "type": "uint256" } ], "name": "ExpenditureCancelled", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "expenditureId", "type": "uint256" } ], "name": "ExpenditureFinalized", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "expenditureId", "type": "uint256" }, { "indexed": true, "internalType": "uint256", "name": "slot", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "ExpenditurePayoutSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "expenditureId", "type": "uint256" }, { "indexed": true, "internalType": "uint256", "name": "slot", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "recipient", "type": "address" } ], "name": "ExpenditureRecipientSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "expenditureId", "type": "uint256" }, { "indexed": true, "internalType": "uint256", "name": "slot", "type": "uint256" }, { "indexed": true, "internalType": "uint256", "name": "skillId", "type": "uint256" } ], "name": "ExpenditureSkillSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "expenditureId", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "owner", "type": "address" } ], "name": "ExpenditureTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "extensionId", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "version", "type": "uint256" } ], "name": "ExtensionAddedToNetwork", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "extensionId", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "colony", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "deprecated", "type": "bool" } ], "name": "ExtensionDeprecated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "extensionId", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "colony", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "version", "type": "uint256" } ], "name": "ExtensionInstalled", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "extensionId", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "colony", "type": "address" } ], "name": "ExtensionUninstalled", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "extensionId", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "colony", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "version", "type": "uint256" } ], "name": "ExtensionUpgraded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "fundingPotId", "type": "uint256" } ], "name": "FundingPotAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "authority", "type": "address" } ], "name": "LogSetAuthority", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" } ], "name": "LogSetOwner", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "metaColony", "type": "address" }, { "indexed": false, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "rootSkillId", "type": "uint256" } ], "name": "MetaColonyCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "miningCycleResolver", "type": "address" } ], "name": "MiningCycleResolverSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "feeInverse", "type": "uint256" } ], "name": "NetworkFeeInverseSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "paymentId", "type": "uint256" } ], "name": "PaymentAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "paymentId", "type": "uint256" } ], "name": "PaymentFinalized", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "paymentId", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "PaymentPayoutSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "paymentId", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "recipient", "type": "address" } ], "name": "PaymentRecipientSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "paymentId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "skillId", "type": "uint256" } ], "name": "PaymentSkillSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "fundingPotId", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "PayoutClaimed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "ens", "type": "address" }, { "indexed": false, "internalType": "bytes32", "name": "rootNode", "type": "bytes32" } ], "name": "RegistrarInitialised", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "miner", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "tokensLost", "type": "uint256" } ], "name": "ReputationMinerPenalised", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "hash", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "nLeaves", "type": "uint256" } ], "name": "ReputationMiningCycleComplete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "inactiveReputationMiningCycle", "type": "address" } ], "name": "ReputationMiningInitialised", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "ReputationMiningRewardSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "newHash", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "newNLeaves", "type": "uint256" }, { "indexed": false, "internalType": "address[]", "name": "stakers", "type": "address[]" }, { "indexed": false, "internalType": "uint256", "name": "reward", "type": "uint256" } ], "name": "ReputationRootHashSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "rewardPayoutId", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "user", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "fee", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "rewardRemainder", "type": "uint256" } ], "name": "RewardPayoutClaimed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "rewardPayoutId", "type": "uint256" } ], "name": "RewardPayoutCycleEnded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "rewardPayoutId", "type": "uint256" } ], "name": "RewardPayoutCycleStarted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "skillId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "parentSkillId", "type": "uint256" } ], "name": "SkillAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "taskId", "type": "uint256" } ], "name": "TaskAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "taskId", "type": "uint256" }, { "indexed": false, "internalType": "bytes32", "name": "specificationHash", "type": "bytes32" } ], "name": "TaskBriefSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "taskId", "type": "uint256" } ], "name": "TaskCanceled", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address[]", "name": "reviewerAddresses", "type": "address[]" } ], "name": "TaskChangedViaSignatures", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "taskId", "type": "uint256" } ], "name": "TaskCompleted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "taskId", "type": "uint256" }, { "indexed": false, "internalType": "bytes32", "name": "deliverableHash", "type": "bytes32" } ], "name": "TaskDeliverableSubmitted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "taskId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "dueDate", "type": "uint256" } ], "name": "TaskDueDateSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "taskId", "type": "uint256" } ], "name": "TaskFinalized", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "taskId", "type": "uint256" }, { "indexed": false, "internalType": "enum ColonyDataTypes.TaskRole", "name": "role", "type": "uint8" }, { "indexed": false, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "TaskPayoutSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "taskId", "type": "uint256" }, { "indexed": false, "internalType": "enum ColonyDataTypes.TaskRole", "name": "role", "type": "uint8" }, { "indexed": true, "internalType": "address", "name": "user", "type": "address" } ], "name": "TaskRoleUserSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "taskId", "type": "uint256" }, { "indexed": true, "internalType": "uint256", "name": "skillId", "type": "uint256" } ], "name": "TaskSkillSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "taskId", "type": "uint256" }, { "indexed": false, "internalType": "enum ColonyDataTypes.TaskRole", "name": "role", "type": "uint8" }, { "indexed": false, "internalType": "uint8", "name": "rating", "type": "uint8" } ], "name": "TaskWorkRatingRevealed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "tokenLocking", "type": "address" } ], "name": "TokenLockingAddressSet", "type": "event" }, { "anonymous": false, "inputs": [], "name": "TokenUnlocked", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "status", "type": "bool" } ], "name": "TokenWhitelisted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": false, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "TokensBurned", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": false, "internalType": "address", "name": "who", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "TokensMinted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "user", "type": "address" }, { "indexed": false, "internalType": "bytes32", "name": "label", "type": "bytes32" } ], "name": "UserLabelRegistered", "type": "event" }, { "inputs": [], "name": "authority", "outputs": [ { "internalType": "contract DSAuthority", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "domains", "outputs": [ { "internalType": "uint256", "name": "skillId", "type": "uint256" }, { "internalType": "uint256", "name": "fundingPotId", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "contract DSAuthority", "name": "authority_", "type": "address" } ], "name": "setAuthority", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner_", "type": "address" } ], "name": "setOwner", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "taskWorkRatings", "outputs": [ { "internalType": "uint256", "name": "count", "type": "uint256" }, { "internalType": "uint256", "name": "timestamp", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_permissionDomainId", "type": "uint256" }, { "internalType": "uint256", "name": "_childSkillIndex", "type": "uint256" }, { "internalType": "bytes32", "name": "_specificationHash", "type": "bytes32" }, { "internalType": "uint256", "name": "_domainId", "type": "uint256" }, { "internalType": "uint256", "name": "_skillId", "type": "uint256" }, { "internalType": "uint256", "name": "_dueDate", "type": "uint256" } ], "name": "makeTask", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getTaskCount", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_id", "type": "uint256" } ], "name": "getTaskChangeNonce", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint8[]", "name": "_sigV", "type": "uint8[]" }, { "internalType": "bytes32[]", "name": "_sigR", "type": "bytes32[]" }, { "internalType": "bytes32[]", "name": "_sigS", "type": "bytes32[]" }, { "internalType": "uint8[]", "name": "_mode", "type": "uint8[]" }, { "internalType": "uint256", "name": "_value", "type": "uint256" }, { "internalType": "bytes", "name": "_data", "type": "bytes" } ], "name": "executeTaskChange", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint8[]", "name": "_sigV", "type": "uint8[]" }, { "internalType": "bytes32[]", "name": "_sigR", "type": "bytes32[]" }, { "internalType": "bytes32[]", "name": "_sigS", "type": "bytes32[]" }, { "internalType": "uint8[]", "name": "_mode", "type": "uint8[]" }, { "internalType": "uint256", "name": "_value", "type": "uint256" }, { "internalType": "bytes", "name": "_data", "type": "bytes" } ], "name": "executeTaskRoleAssignment", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_id", "type": "uint256" }, { "internalType": "enum ColonyDataTypes.TaskRole", "name": "_role", "type": "uint8" }, { "internalType": "bytes32", "name": "_ratingSecret", "type": "bytes32" } ], "name": "submitTaskWorkRating", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_id", "type": "uint256" }, { "internalType": "enum ColonyDataTypes.TaskRole", "name": "_role", "type": "uint8" }, { "internalType": "uint8", "name": "_rating", "type": "uint8" }, { "internalType": "bytes32", "name": "_salt", "type": "bytes32" } ], "name": "revealTaskWorkRating", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "_salt", "type": "bytes32" }, { "internalType": "uint256", "name": "_value", "type": "uint256" } ], "name": "generateSecret", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_id", "type": "uint256" } ], "name": "getTaskWorkRatingSecretsInfo", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_id", "type": "uint256" }, { "internalType": "uint8", "name": "_role", "type": "uint8" } ], "name": "getTaskWorkRatingSecret", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_id", "type": "uint256" }, { "internalType": "address payable", "name": "_user", "type": "address" }, { "internalType": "uint256", "name": "_permissionDomainId", "type": "uint256" }, { "internalType": "uint256", "name": "_childSkillIndex", "type": "uint256" } ], "name": "setTaskManagerRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_id", "type": "uint256" }, { "internalType": "address payable", "name": "_user", "type": "address" } ], "name": "setTaskEvaluatorRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_id", "type": "uint256" }, { "internalType": "address payable", "name": "_user", "type": "address" } ], "name": "setTaskWorkerRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_id", "type": "uint256" } ], "name": "removeTaskEvaluatorRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_id", "type": "uint256" } ], "name": "removeTaskWorkerRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_id", "type": "uint256" }, { "internalType": "uint256", "name": "_skillId", "type": "uint256" } ], "name": "setTaskSkill", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_id", "type": "uint256" }, { "internalType": "bytes32", "name": "_specificationHash", "type": "bytes32" } ], "name": "setTaskBrief", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_id", "type": "uint256" }, { "internalType": "uint256", "name": "_dueDate", "type": "uint256" } ], "name": "setTaskDueDate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_id", "type": "uint256" }, { "internalType": "bytes32", "name": "_deliverableHash", "type": "bytes32" } ], "name": "submitTaskDeliverable", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_id", "type": "uint256" }, { "internalType": "bytes32", "name": "_deliverableHash", "type": "bytes32" }, { "internalType": "bytes32", "name": "_ratingSecret", "type": "bytes32" } ], "name": "submitTaskDeliverableAndRating", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_id", "type": "uint256" } ], "name": "completeTask", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_id", "type": "uint256" } ], "name": "finalizeTask", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_id", "type": "uint256" } ], "name": "cancelTask", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_id", "type": "uint256" } ], "name": "getTask", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" }, { "internalType": "bytes32", "name": "", "type": "bytes32" }, { "internalType": "enum ColonyDataTypes.TaskStatus", "name": "", "type": "uint8" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256[]", "name": "", "type": "uint256[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_id", "type": "uint256" }, { "internalType": "uint8", "name": "_role", "type": "uint8" } ], "name": "getTaskRole", "outputs": [ { "components": [ { "internalType": "address payable", "name": "user", "type": "address" }, { "internalType": "bool", "name": "rateFail", "type": "bool" }, { "internalType": "enum ColonyDataTypes.TaskRatings", "name": "rating", "type": "uint8" } ], "internalType": "struct ColonyDataTypes.Role", "name": "role", "type": "tuple" } ], "stateMutability": "view", "type": "function" } ], "devdoc": { "kind": "dev", "methods": {}, "version": 1 }, "userdoc": { "events": { "Annotation(address,bytes32,string)": { "notice": "Emit a metadata string for a transaction" }, "AuctionCreated(address,address,uint256)": { "notice": "Event logged when a new auction is created and started" }, "ColonyAdded(uint256,address,address)": { "notice": "Event logged when a new colony is added" }, "ColonyBootstrapped(address,address[],int256[])": { "notice": "Event logged when Colony is initially bootstrapped" }, "ColonyFundsClaimed(address,address,uint256,uint256)": { "notice": "Event logged when colony funds are moved to the top-level domain pot" }, "ColonyFundsMovedBetweenFundingPots(address,uint256,uint256,uint256,address)": { "notice": "Event logged when colony funds, either tokens or ether, has been moved between funding pots" }, "ColonyInitialised(address,address,address)": { "notice": "Event logged when Colony is initialised" }, "ColonyLabelRegistered(address,bytes32)": { "notice": "Event logged when a \"colony.joincolony.eth\" label is registered" }, "ColonyMetadata(address,string)": { "notice": "Event logged when Colony metadata is updated" }, "ColonyNetworkInitialised(address)": { "notice": "Event logged when the colony network is intialised. This is only ever emitted once in a network's lifetime" }, "ColonyRewardInverseSet(address,uint256)": { "notice": "Event logged when the colony reward inverse is set" }, "ColonyRoleSet(address,address,uint256,uint8,bool)": { "notice": "Event logged when a user/domain/role is granted or revoked" }, "ColonyUpgraded(address,uint256,uint256)": { "notice": "Event logged when colony is upgraded" }, "ColonyVersionAdded(uint256,address)": { "notice": "Event logged when a new colony contract version is set" }, "DomainAdded(address,uint256)": { "notice": "Event logged when a new Domain is added" }, "DomainMetadata(address,uint256,string)": { "notice": "Event logged when domain metadata is updated" }, "ExpenditureAdded(address,uint256)": { "notice": "Event logged when a new expenditure is added" }, "ExpenditureCancelled(address,uint256)": { "notice": "Event logged when a expenditure has been cancelled" }, "ExpenditureFinalized(address,uint256)": { "notice": "Event logged when a expenditure has been finalized" }, "ExpenditurePayoutSet(address,uint256,uint256,address,uint256)": { "notice": "Event logged when a expenditure payout changes" }, "ExpenditureRecipientSet(address,uint256,uint256,address)": { "notice": "Event logged when an expenditure's recipient is set" }, "ExpenditureSkillSet(address,uint256,uint256,uint256)": { "notice": "Event logged when a expenditure's skill changes" }, "ExpenditureTransferred(address,uint256,address)": { "notice": "Event logged when a new expenditure is transferred" }, "ExtensionAddedToNetwork(bytes32,uint256)": { "notice": "Event logged when a new extension resolver is added to the network" }, "ExtensionDeprecated(bytes32,address,bool)": { "notice": "Event logged when an extension is (un)deprecated in a colony" }, "ExtensionInstalled(bytes32,address,uint256)": { "notice": "Event logged when an extension is installed in a colony" }, "ExtensionUninstalled(bytes32,address)": { "notice": "Event logged when an extension is uninstalled from a colony" }, "ExtensionUpgraded(bytes32,address,uint256)": { "notice": "Event logged when an extension is upgraded in a colony" }, "FundingPotAdded(uint256)": { "notice": "Event logged when a new FundingPot is added" }, "MetaColonyCreated(address,address,uint256)": { "notice": "Event logged when the MetaColony is created" }, "MiningCycleResolverSet(address)": { "notice": "Event logged when the Colony Network ReputationMiningCycleResolver contract address is set" }, "NetworkFeeInverseSet(uint256)": { "notice": "Event logged when the network fee inverse is set" }, "PaymentAdded(address,uint256)": { "notice": "Event logged when a new payment is added" }, "PaymentFinalized(address,uint256)": { "notice": "Event logged when a payment is finalised" }, "PaymentPayoutSet(address,uint256,address,uint256)": { "notice": "Event logged when a payment has its payout set" }, "PaymentRecipientSet(address,uint256,address)": { "notice": "Event logged when a payment has its recipient set" }, "PaymentSkillSet(address,uint256,uint256)": { "notice": "Event logged when a payment has its skill set" }, "PayoutClaimed(address,uint256,address,uint256)": { "notice": "Event logged when a payout is claimed, either from a Task or Payment" }, "RegistrarInitialised(address,bytes32)": { "notice": "Event logged when the ENS registrar is initialised" }, "ReputationMiningCycleComplete(bytes32,uint256)": { "notice": "Event logged when a reputation mining cycle completes" }, "ReputationMiningInitialised(address)": { "notice": "Event logged when the Reputation mining process is initialised" }, "ReputationMiningRewardSet(uint256)": { "notice": "Event logged when the mining reward is set" }, "ReputationRootHashSet(bytes32,uint256,address[],uint256)": { "notice": "Event logged when a new reputation root hash is set by the reputation mining process" }, "RewardPayoutClaimed(uint256,address,uint256,uint256)": { "notice": "Event logged when reward payout is claimed" }, "RewardPayoutCycleEnded(address,uint256)": { "notice": "Event logged when the reward payout cycle has ended" }, "RewardPayoutCycleStarted(address,uint256)": { "notice": "Event logged when a new reward payout cycle has started" }, "SkillAdded(uint256,uint256)": { "notice": "Event logged when a new skill is added" }, "TaskAdded(address,uint256)": { "notice": "Event logged when a new task is added" }, "TaskBriefSet(uint256,bytes32)": { "notice": "Event logged when a task's specification hash changes" }, "TaskCanceled(uint256)": { "notice": "Event logged when a task has been canceled" }, "TaskChangedViaSignatures(address[])": { "notice": "Event logged when task data is changed via signed messages by those involved" }, "TaskCompleted(address,uint256)": { "notice": "Event logged when a task has been completed. This is either because the dueDate has passed and the manager closed the task, or the worker has submitted the deliverable. In the latter case, TaskDeliverableSubmitted will also be emitted." }, "TaskDeliverableSubmitted(address,uint256,bytes32)": { "notice": "Event logged when a deliverable has been submitted for a task" }, "TaskDueDateSet(uint256,uint256)": { "notice": "Event logged when a task's due date changes" }, "TaskFinalized(address,uint256)": { "notice": "Event logged when a task has been finalized" }, "TaskPayoutSet(uint256,uint8,address,uint256)": { "notice": "Event logged when a task payout changes" }, "TaskRoleUserSet(uint256,uint8,address)": { "notice": "Event logged when a task's role user changes" }, "TaskSkillSet(uint256,uint256)": { "notice": "Event logged when a task's skill changes" }, "TaskWorkRatingRevealed(address,uint256,uint8,uint8)": { "notice": "Event logged when the rating of a role was revealed" }, "TokenLockingAddressSet(address)": { "notice": "Event logged when the Colony Network TokenLocking contract address is set" }, "TokenUnlocked()": { "notice": "Event emitted when the colony unlocks its native token through the provided function" }, "TokenWhitelisted(address,bool)": { "notice": "Event logged when the payout whitelist is updated" }, "TokensBurned(address,address,uint256)": { "notice": "Event logged when the colony burns tokens" }, "TokensMinted(address,address,uint256)": { "notice": "Event logged when tokens are minted" }, "UserLabelRegistered(address,bytes32)": { "notice": "Event logged when a \"user.joincolony.eth\" label is registered" } }, "kind": "user", "methods": {}, "version": 1 } }