Skip to main content

Meta Colony (IMetaColony)

The Meta Colony is a special colony which controls the Colony Network. This colony has access to a number of special functions used to manage various parameters of the network.

Interface Methods

addExtensionToNetwork(bytes32 _extensionId, address _resolver)

Add a new extension/version to the Extensions repository.

Note: Calls IColonyNetwork.addExtensionToNetwork.

Parameters

NameTypeDescription
_extensionIdbytes32keccak256 hash of the extension name, used as an indentifier
_resolveraddressThe deployed resolver containing the extension contract logic

addGlobalSkill():uint256 skillId

Add a new global skill.

Note: Calls IColonyNetwork.addSkill.

Return Parameters

NameTypeDescription
skillIduint256Id of the added skill

addNetworkColonyVersion(uint256 _version, address _resolver)

Adds a new Colony contract version and the address of associated _resolver contract. Secured function to authorised members.

Note: Calls IColonyNetwork.addColonyVersion.

Parameters

NameTypeDescription
_versionuint256The new Colony contract version
_resolveraddressAddress of the Resolver contract which will be used with the underlying EtherRouter contract

deprecateGlobalSkill(uint256 _skillId)

Mark a global skill as deprecated which stops new tasks and payments from using it.

Note: Calls IColonyNetwork.deprecateSkill.

Parameters

NameTypeDescription
_skillIduint256Id of the added skill

mintTokensForColonyNetwork(uint256 _wad)

Mints CLNY in the Meta Colony and transfers them to the colony network. Only allowed to be called on the Meta Colony by the colony network.

Parameters

NameTypeDescription
_waduint256Amount to mint and transfer to the colony network

setNetworkFeeInverse(uint256 _feeInverse)

Set the Colony Network fee inverse amount.

Note: Calls IColonyNetwork.setFeeInverse.

Parameters

NameTypeDescription
_feeInverseuint256Nonzero amount for the fee inverse

setPayoutWhitelist(address _token, bool _status)

Set a token's status in the payout whitelist on the Colony Network

Parameters

NameTypeDescription
_tokenaddressThe token being set
_statusboolThe whitelist status

setReputationMiningCycleReward(uint256 _amount)

Called to set the total per-cycle reputation reward, which will be split between all miners.

Note: Calls the corresponding function on the ColonyNetwork.

Parameters

NameTypeDescription
_amountuint256The CLNY awarded per mining cycle to the miners