{ "contractName": "ColonyPayment", "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": true, "name": "user", "type": "address" }, { "indexed": true, "name": "domainId", "type": "uint256" }, { "indexed": true, "name": "role", "type": "uint8" }, { "indexed": false, "name": "setTo", "type": "bool" } ], "name": "ColonyRoleSet", "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": "expenditureId", "type": "uint256" } ], "name": "ExpenditureAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "expenditureId", "type": "uint256" }, { "indexed": true, "name": "owner", "type": "address" } ], "name": "ExpenditureTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "expenditureId", "type": "uint256" } ], "name": "ExpenditureCancelled", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "expenditureId", "type": "uint256" } ], "name": "ExpenditureFinalized", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "expenditureId", "type": "uint256" }, { "indexed": true, "name": "slot", "type": "uint256" }, { "indexed": true, "name": "recipient", "type": "address" } ], "name": "ExpenditureRecipientSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "expenditureId", "type": "uint256" }, { "indexed": true, "name": "slot", "type": "uint256" }, { "indexed": true, "name": "skillId", "type": "uint256" } ], "name": "ExpenditureSkillSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "expenditureId", "type": "uint256" }, { "indexed": true, "name": "slot", "type": "uint256" }, { "indexed": true, "name": "token", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "ExpenditurePayoutSet", "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": "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": false, "inputs": [ { "name": "_permissionDomainId", "type": "uint256" }, { "name": "_childSkillIndex", "type": "uint256" }, { "name": "_recipient", "type": "address" }, { "name": "_token", "type": "address" }, { "name": "_amount", "type": "uint256" }, { "name": "_domainId", "type": "uint256" }, { "name": "_skillId", "type": "uint256" } ], "name": "addPayment", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_permissionDomainId", "type": "uint256" }, { "name": "_childSkillIndex", "type": "uint256" }, { "name": "_id", "type": "uint256" } ], "name": "finalizePayment", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_permissionDomainId", "type": "uint256" }, { "name": "_childSkillIndex", "type": "uint256" }, { "name": "_id", "type": "uint256" }, { "name": "_recipient", "type": "address" } ], "name": "setPaymentRecipient", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_permissionDomainId", "type": "uint256" }, { "name": "_childSkillIndex", "type": "uint256" }, { "name": "_id", "type": "uint256" }, { "name": "_skillId", "type": "uint256" } ], "name": "setPaymentSkill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "_id", "type": "uint256" } ], "name": "getPayment", "outputs": [ { "components": [ { "name": "recipient", "type": "address" }, { "name": "finalized", "type": "bool" }, { "name": "fundingPotId", "type": "uint256" }, { "name": "domainId", "type": "uint256" }, { "name": "skills", "type": "uint256[]" } ], "name": "", "type": "tuple" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getPaymentCount", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" } ], "devdoc": { "methods": {} }, "userdoc": { "methods": {} } }