{ "contractName": "ColonyNetwork", "abi": [ { "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": 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": "resolver", "type": "address" } ], "name": "ColonyNetworkInitialised", "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": 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": 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": "user", "type": "address" }, { "indexed": false, "internalType": "address payable", "name": "relayerAddress", "type": "address" }, { "indexed": false, "internalType": "bytes", "name": "functionSignature", "type": "bytes" } ], "name": "MetaTransactionExecuted", "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": "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": "skillId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "parentSkillId", "type": "uint256" } ], "name": "SkillAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "tokenAuthorityAddress", "type": "address" } ], "name": "TokenAuthorityDeployed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "tokenAddress", "type": "address" } ], "name": "TokenDeployed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "tokenLocking", "type": "address" } ], "name": "TokenLockingAddressSet", "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": 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": "address", "name": "_user", "type": "address" }, { "internalType": "bytes", "name": "_payload", "type": "bytes" }, { "internalType": "bytes32", "name": "_sigR", "type": "bytes32" }, { "internalType": "bytes32", "name": "_sigS", "type": "bytes32" }, { "internalType": "uint8", "name": "_sigV", "type": "uint8" } ], "name": "executeMetaTransaction", "outputs": [ { "internalType": "bytes", "name": "", "type": "bytes" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "getChainId", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes[]", "name": "data", "type": "bytes[]" } ], "name": "multicall", "outputs": [ { "internalType": "bytes[]", "name": "results", "type": "bytes[]" } ], "stateMutability": "nonpayable", "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": "address", "name": "_owner", "type": "address" }, { "internalType": "uint256", "name": "_nonce", "type": "uint256" }, { "internalType": "uint256", "name": "_chainId", "type": "uint256" }, { "internalType": "bytes", "name": "_payload", "type": "bytes" }, { "internalType": "bytes32", "name": "_sigR", "type": "bytes32" }, { "internalType": "bytes32", "name": "_sigS", "type": "bytes32" }, { "internalType": "uint8", "name": "_sigV", "type": "uint8" } ], "name": "verify", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_colony", "type": "address" } ], "name": "isColony", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getCurrentColonyVersion", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getMetaColony", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getColonyCount", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getSkillCount", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getReputationMiningSkillId", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_version", "type": "uint256" } ], "name": "getColonyVersionResolver", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_skillId", "type": "uint256" } ], "name": "getSkill", "outputs": [ { "components": [ { "internalType": "uint128", "name": "nParents", "type": "uint128" }, { "internalType": "uint128", "name": "nChildren", "type": "uint128" }, { "internalType": "uint256[]", "name": "parents", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "children", "type": "uint256[]" }, { "internalType": "bool", "name": "globalSkill", "type": "bool" }, { "internalType": "bool", "name": "deprecated", "type": "bool" } ], "internalType": "struct ColonyNetworkDataTypes.Skill", "name": "skill", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getReputationRootHash", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getReputationRootHashNLeaves", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getReputationRootHashNNodes", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_tokenLocking", "type": "address" } ], "name": "setTokenLocking", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getTokenLocking", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_version", "type": "uint256" }, { "internalType": "address", "name": "_resolver", "type": "address" } ], "name": "addColonyVersion", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_resolver", "type": "address" }, { "internalType": "uint256", "name": "_version", "type": "uint256" } ], "name": "initialise", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_id", "type": "uint256" } ], "name": "getColony", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_parentSkillId", "type": "uint256" } ], "name": "addSkill", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_skillId", "type": "uint256" }, { "internalType": "uint256", "name": "_parentSkillIndex", "type": "uint256" } ], "name": "getParentSkillId", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_skillId", "type": "uint256" }, { "internalType": "uint256", "name": "_childSkillIndex", "type": "uint256" } ], "name": "getChildSkillId", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_skillId", "type": "uint256" } ], "name": "deprecateSkill", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_skillId", "type": "uint256" }, { "internalType": "bool", "name": "_deprecated", "type": "bool" } ], "name": "deprecateSkill", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "initialiseRootLocalSkill", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_user", "type": "address" }, { "internalType": "int256", "name": "_amount", "type": "int256" }, { "internalType": "uint256", "name": "_skillId", "type": "uint256" } ], "name": "appendReputationUpdateLog", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_slot", "type": "uint256" } ], "name": "checkNotAdditionalProtectedVariable", "outputs": [], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getFeeInverse", "outputs": [ { "internalType": "uint256", "name": "_feeInverse", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_feeInverse", "type": "uint256" } ], "name": "setFeeInverse", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_user", "type": "address" } ], "name": "getMetatransactionNonce", "outputs": [ { "internalType": "uint256", "name": "nonce", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_token", "type": "address" }, { "internalType": "bool", "name": "_status", "type": "bool" } ], "name": "setPayoutWhitelist", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_token", "type": "address" } ], "name": "getPayoutWhitelist", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" } ], "devdoc": { "kind": "dev", "methods": { "executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)": { "params": { "_payload": "Function call to make via meta transaction", "_sigR": "R part of the signature", "_sigS": "S part of the signature", "_sigV": "V part of the signature", "_user": "Address of user trying to do meta transaction" } } }, "version": 1 }, "userdoc": { "events": { "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" }, "ColonyLabelRegistered(address,bytes32)": { "notice": "Event logged when a \"colony.joincolony.eth\" label is registered" }, "ColonyNetworkInitialised(address)": { "notice": "Event logged when the colony network is intialised. This is only ever emitted once in a network's lifetime" }, "ColonyVersionAdded(uint256,address)": { "notice": "Event logged when a new colony contract version is set" }, "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" }, "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" }, "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" }, "SkillAdded(uint256,uint256)": { "notice": "Event logged when a new skill is added" }, "TokenAuthorityDeployed(address)": { "notice": "Event logged when a token authority is deployed via transaction through the colony network" }, "TokenDeployed(address)": { "notice": "Event logged when a token is deployed via transaction through the colony network" }, "TokenLockingAddressSet(address)": { "notice": "Event logged when the Colony Network TokenLocking contract address is set" }, "TokenWhitelisted(address,bool)": { "notice": "Event logged when the payout whitelist is updated" }, "UserLabelRegistered(address,bytes32)": { "notice": "Event logged when a \"user.joincolony.eth\" label is registered" } }, "kind": "user", "methods": { "deprecateSkill(uint256)": { "notice": "@deprecated" }, "executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)": { "notice": "Main function to be called when user wants to execute meta transaction. The actual function to be called should be passed as param with name functionSignature Here the basic signature recovery is being used. Signature is expected to be generated using personal_sign method." } }, "version": 1 } }