Skip to main content

Interface: ColonyNetworkClient

Hierarchy

  • IColonyNetwork

    ColonyNetworkClient

Properties

_deployedPromise

_deployedPromise: Promise<Contract>

Inherited from

IColonyNetwork._deployedPromise


_runningEvents

_runningEvents: Object

Index signature

[eventTag: string]: RunningEvent

Inherited from

IColonyNetwork._runningEvents


_wrappedEmits

_wrappedEmits: Object

Index signature

[eventTag: string]: (...args: any[]) => void

Inherited from

IColonyNetwork._wrappedEmits


address

Readonly address: string

Inherited from

IColonyNetwork.address


callStatic

callStatic: Object

Type declaration

NameType
addColonyVersion(_version: BigNumberish, _resolver: string, overrides?: CallOverrides) => Promise<void>
addColonyVersion(uint256,address)(_version: BigNumberish, _resolver: string, overrides?: CallOverrides) => Promise<void>
addExtensionToNetwork(_extensionId: BytesLike, _resolver: string, overrides?: CallOverrides) => Promise<void>
addExtensionToNetwork(bytes32,address)(_extensionId: BytesLike, _resolver: string, overrides?: CallOverrides) => Promise<void>
addSkill(_parentSkillId: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
addSkill(uint256)(_parentSkillId: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
addr(_node: BytesLike, overrides?: CallOverrides) => Promise<string>
addr(bytes32)(_node: BytesLike, overrides?: CallOverrides) => Promise<string>
appendReputationUpdateLog(_user: string, _amount: BigNumberish, _skillId: BigNumberish, overrides?: CallOverrides) => Promise<void>
appendReputationUpdateLog(address,int256,uint256)(_user: string, _amount: BigNumberish, _skillId: BigNumberish, overrides?: CallOverrides) => Promise<void>
approveExitRecovery(overrides?: CallOverrides) => Promise<void>
approveExitRecovery()(overrides?: CallOverrides) => Promise<void>
burnUnneededRewards(_amount: BigNumberish, overrides?: CallOverrides) => Promise<void>
burnUnneededRewards(uint256)(_amount: BigNumberish, overrides?: CallOverrides) => Promise<void>
calculateMinerWeight(_timeStaked: BigNumberish, _submissonIndex: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
calculateMinerWeight(uint256,uint256)(_timeStaked: BigNumberish, _submissonIndex: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
checkNotAdditionalProtectedVariable(_slot: BigNumberish, overrides?: CallOverrides) => Promise<void>
checkNotAdditionalProtectedVariable(uint256)(_slot: BigNumberish, overrides?: CallOverrides) => Promise<void>
claimMiningReward(_recipient: string, overrides?: CallOverrides) => Promise<void>
claimMiningReward(address)(_recipient: string, overrides?: CallOverrides) => Promise<void>
createColony(address)(_tokenAddress: string, overrides?: CallOverrides) => Promise<string>
createColony(address,uint256,string)(_tokenAddress: string, _version: BigNumberish, _colonyName: string, overrides?: CallOverrides) => Promise<string>
createColony(address,uint256,string,string)(_tokenAddress: string, _version: BigNumberish, _colonyName: string, _metadata: string, overrides?: CallOverrides) => Promise<string>
createColony(address,uint256,string,string,bool)(_tokenAddress: string, _version: BigNumberish, _colonyName: string, _orbitdb: string, _useExtensionManager: boolean, overrides?: CallOverrides) => Promise<string>
createColonyForFrontend(_tokenAddress: string, _name: string, _symbol: string, _decimals: BigNumberish, _version: BigNumberish, _colonyName: string, _metadata: string, overrides?: CallOverrides) => Promise<[string, string] & { colony: string ; token: string }>
createColonyForFrontend(address,string,string,uint8,uint256,string,string)(_tokenAddress: string, _name: string, _symbol: string, _decimals: BigNumberish, _version: BigNumberish, _colonyName: string, _metadata: string, overrides?: CallOverrides) => Promise<[string, string] & { colony: string ; token: string }>
createMetaColony(_tokenAddress: string, overrides?: CallOverrides) => Promise<void>
createMetaColony(address)(_tokenAddress: string, overrides?: CallOverrides) => Promise<void>
deployTokenAuthority(_token: string, _colony: string, _allowedToTransfer: string[], overrides?: CallOverrides) => Promise<string>
deployTokenAuthority(address,address,address[])(_token: string, _colony: string, _allowedToTransfer: string[], overrides?: CallOverrides) => Promise<string>
deployTokenViaNetwork(_name: string, _symbol: string, _decimals: BigNumberish, overrides?: CallOverrides) => Promise<string>
deployTokenViaNetwork(string,string,uint8)(_name: string, _symbol: string, _decimals: BigNumberish, overrides?: CallOverrides) => Promise<string>
deprecateExtension(_extensionId: BytesLike, _deprecated: boolean, overrides?: CallOverrides) => Promise<void>
deprecateExtension(bytes32,bool)(_extensionId: BytesLike, _deprecated: boolean, overrides?: CallOverrides) => Promise<void>
deprecateSkill(uint256)(_skillId: BigNumberish, overrides?: CallOverrides) => Promise<void>
deprecateSkill(uint256,bool)(_skillId: BigNumberish, _deprecated: boolean, overrides?: CallOverrides) => Promise<boolean>
enterRecoveryMode(overrides?: CallOverrides) => Promise<void>
enterRecoveryMode()(overrides?: CallOverrides) => Promise<void>
executeMetaTransaction(userAddress: string, payload: BytesLike, sigR: BytesLike, sigS: BytesLike, sigV: BigNumberish, overrides?: CallOverrides) => Promise<string>
executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)(userAddress: string, payload: BytesLike, sigR: BytesLike, sigS: BytesLike, sigV: BigNumberish, overrides?: CallOverrides) => Promise<string>
exitRecoveryMode(overrides?: CallOverrides) => Promise<void>
exitRecoveryMode()(overrides?: CallOverrides) => Promise<void>
getChildSkillId(_skillId: BigNumberish, _childSkillIndex: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
getChildSkillId(uint256,uint256)(_skillId: BigNumberish, _childSkillIndex: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
getColony(_id: BigNumberish, overrides?: CallOverrides) => Promise<string>
getColony(uint256)(_id: BigNumberish, overrides?: CallOverrides) => Promise<string>
getColonyCount(overrides?: CallOverrides) => Promise<BigNumber>
getColonyCount()(overrides?: CallOverrides) => Promise<BigNumber>
getColonyVersionResolver(_version: BigNumberish, overrides?: CallOverrides) => Promise<string>
getColonyVersionResolver(uint256)(_version: BigNumberish, overrides?: CallOverrides) => Promise<string>
getCurrentColonyVersion(overrides?: CallOverrides) => Promise<BigNumber>
getCurrentColonyVersion()(overrides?: CallOverrides) => Promise<BigNumber>
getENSRegistrar(overrides?: CallOverrides) => Promise<string>
getENSRegistrar()(overrides?: CallOverrides) => Promise<string>
getExtensionInstallation(_extensionId: BytesLike, _colony: string, overrides?: CallOverrides) => Promise<string>
getExtensionInstallation(bytes32,address)(_extensionId: BytesLike, _colony: string, overrides?: CallOverrides) => Promise<string>
getExtensionResolver(_extensionId: BytesLike, _version: BigNumberish, overrides?: CallOverrides) => Promise<string>
getExtensionResolver(bytes32,uint256)(_extensionId: BytesLike, _version: BigNumberish, overrides?: CallOverrides) => Promise<string>
getFeeInverse(overrides?: CallOverrides) => Promise<BigNumber>
getFeeInverse()(overrides?: CallOverrides) => Promise<BigNumber>
getMetaColony(overrides?: CallOverrides) => Promise<string>
getMetaColony()(overrides?: CallOverrides) => Promise<string>
getMetatransactionNonce(userAddress: string, overrides?: CallOverrides) => Promise<BigNumber>
getMetatransactionNonce(address)(userAddress: string, overrides?: CallOverrides) => Promise<BigNumber>
getMiningDelegator(_delegate: string, overrides?: CallOverrides) => Promise<string>
getMiningDelegator(address)(_delegate: string, overrides?: CallOverrides) => Promise<string>
getMiningResolver(overrides?: CallOverrides) => Promise<string>
getMiningResolver()(overrides?: CallOverrides) => Promise<string>
getMiningStake(_user: string, overrides?: CallOverrides) => Promise<MiningStakeStructOutput>
getMiningStake(address)(_user: string, overrides?: CallOverrides) => Promise<MiningStakeStructOutput>
getParentSkillId(_skillId: BigNumberish, _parentSkillIndex: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
getParentSkillId(uint256,uint256)(_skillId: BigNumberish, _parentSkillIndex: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
getPayoutWhitelist(_token: string, overrides?: CallOverrides) => Promise<boolean>
getPayoutWhitelist(address)(_token: string, overrides?: CallOverrides) => Promise<boolean>
getProfileDBAddress(_node: BytesLike, overrides?: CallOverrides) => Promise<string>
getProfileDBAddress(bytes32)(_node: BytesLike, overrides?: CallOverrides) => Promise<string>
getReplacementReputationUpdateLogEntry(_reputationMiningCycle: string, _id: BigNumberish, overrides?: CallOverrides) => Promise<ReputationLogEntryStructOutput>
getReplacementReputationUpdateLogEntry(address,uint256)(_reputationMiningCycle: string, _id: BigNumberish, overrides?: CallOverrides) => Promise<ReputationLogEntryStructOutput>
getReplacementReputationUpdateLogsExist(_reputationMiningCycle: string, overrides?: CallOverrides) => Promise<boolean>
getReplacementReputationUpdateLogsExist(address)(_reputationMiningCycle: string, overrides?: CallOverrides) => Promise<boolean>
getReputationMiningCycle(_active: boolean, overrides?: CallOverrides) => Promise<string>
getReputationMiningCycle(bool)(_active: boolean, overrides?: CallOverrides) => Promise<string>
getReputationMiningCycleReward(overrides?: CallOverrides) => Promise<BigNumber>
getReputationMiningCycleReward()(overrides?: CallOverrides) => Promise<BigNumber>
getReputationMiningSkillId(overrides?: CallOverrides) => Promise<BigNumber>
getReputationMiningSkillId()(overrides?: CallOverrides) => Promise<BigNumber>
getReputationRootHash(overrides?: CallOverrides) => Promise<string>
getReputationRootHash()(overrides?: CallOverrides) => Promise<string>
getReputationRootHashNLeaves(overrides?: CallOverrides) => Promise<BigNumber>
getReputationRootHashNLeaves()(overrides?: CallOverrides) => Promise<BigNumber>
getReputationRootHashNNodes(overrides?: CallOverrides) => Promise<BigNumber>
getReputationRootHashNNodes()(overrides?: CallOverrides) => Promise<BigNumber>
getSkill(_skillId: BigNumberish, overrides?: CallOverrides) => Promise<SkillStructOutput>
getSkill(uint256)(_skillId: BigNumberish, overrides?: CallOverrides) => Promise<SkillStructOutput>
getSkillCount(overrides?: CallOverrides) => Promise<BigNumber>
getSkillCount()(overrides?: CallOverrides) => Promise<BigNumber>
getTokenLocking(overrides?: CallOverrides) => Promise<string>
getTokenLocking()(overrides?: CallOverrides) => Promise<string>
initialise(_resolver: string, _version: BigNumberish, overrides?: CallOverrides) => Promise<void>
initialise(address,uint256)(_resolver: string, _version: BigNumberish, overrides?: CallOverrides) => Promise<void>
initialiseReputationMining(overrides?: CallOverrides) => Promise<void>
initialiseReputationMining()(overrides?: CallOverrides) => Promise<void>
initialiseRootLocalSkill(overrides?: CallOverrides) => Promise<BigNumber>
initialiseRootLocalSkill()(overrides?: CallOverrides) => Promise<BigNumber>
installExtension(_extensionId: BytesLike, _version: BigNumberish, overrides?: CallOverrides) => Promise<void>
installExtension(bytes32,uint256)(_extensionId: BytesLike, _version: BigNumberish, overrides?: CallOverrides) => Promise<void>
isColony(_colony: string, overrides?: CallOverrides) => Promise<boolean>
isColony(address)(_colony: string, overrides?: CallOverrides) => Promise<boolean>
isInRecoveryMode(overrides?: CallOverrides) => Promise<boolean>
isInRecoveryMode()(overrides?: CallOverrides) => Promise<boolean>
lookupRegisteredENSDomain(_addr: string, overrides?: CallOverrides) => Promise<string>
lookupRegisteredENSDomain(address)(_addr: string, overrides?: CallOverrides) => Promise<string>
multicall(data: BytesLike[], overrides?: CallOverrides) => Promise<string[]>
multicall(bytes[])(data: BytesLike[], overrides?: CallOverrides) => Promise<string[]>
numRecoveryRoles(overrides?: CallOverrides) => Promise<BigNumber>
numRecoveryRoles()(overrides?: CallOverrides) => Promise<BigNumber>
punishStakers(_stakers: string[], _amount: BigNumberish, overrides?: CallOverrides) => Promise<void>
punishStakers(address[],uint256)(_stakers: string[], _amount: BigNumberish, overrides?: CallOverrides) => Promise<void>
registerColonyLabel(_colonyName: string, _orbitdb: string, overrides?: CallOverrides) => Promise<void>
registerColonyLabel(string,string)(_colonyName: string, _orbitdb: string, overrides?: CallOverrides) => Promise<void>
registerUserLabel(_username: string, _orbitdb: string, overrides?: CallOverrides) => Promise<void>
registerUserLabel(string,string)(_username: string, _orbitdb: string, overrides?: CallOverrides) => Promise<void>
removeRecoveryRole(_user: string, overrides?: CallOverrides) => Promise<void>
removeRecoveryRole(address)(_user: string, overrides?: CallOverrides) => Promise<void>
reward(_recipient: string, _amount: BigNumberish, overrides?: CallOverrides) => Promise<void>
reward(address,uint256)(_recipient: string, _amount: BigNumberish, overrides?: CallOverrides) => Promise<void>
setFeeInverse(_feeInverse: BigNumberish, overrides?: CallOverrides) => Promise<void>
setFeeInverse(uint256)(_feeInverse: BigNumberish, overrides?: CallOverrides) => Promise<void>
setMiningDelegate(_delegate: string, _allowed: boolean, overrides?: CallOverrides) => Promise<void>
setMiningDelegate(address,bool)(_delegate: string, _allowed: boolean, overrides?: CallOverrides) => Promise<void>
setMiningResolver(_miningResolverAddress: string, overrides?: CallOverrides) => Promise<void>
setMiningResolver(address)(_miningResolverAddress: string, overrides?: CallOverrides) => Promise<void>
setPayoutWhitelist(_token: string, _status: boolean, overrides?: CallOverrides) => Promise<void>
setPayoutWhitelist(address,bool)(_token: string, _status: boolean, overrides?: CallOverrides) => Promise<void>
setRecoveryRole(_user: string, overrides?: CallOverrides) => Promise<void>
setRecoveryRole(address)(_user: string, overrides?: CallOverrides) => Promise<void>
setReplacementReputationUpdateLogEntry(_reputationMiningCycle: string, _id: BigNumberish, _user: string, _amount: BigNumberish, _skillId: BigNumberish, _colony: string, _nUpdates: BigNumberish, _nPreviousUpdates: BigNumberish, overrides?: CallOverrides) => Promise<void>
setReplacementReputationUpdateLogEntry(address,uint256,address,int256,uint256,address,uint128,uint128)(_reputationMiningCycle: string, _id: BigNumberish, _user: string, _amount: BigNumberish, _skillId: BigNumberish, _colony: string, _nUpdates: BigNumberish, _nPreviousUpdates: BigNumberish, overrides?: CallOverrides) => Promise<void>
setReputationMiningCycleReward(_amount: BigNumberish, overrides?: CallOverrides) => Promise<void>
setReputationMiningCycleReward(uint256)(_amount: BigNumberish, overrides?: CallOverrides) => Promise<void>
setReputationRootHash(_newHash: BytesLike, _newNLeaves: BigNumberish, _stakers: string[], overrides?: CallOverrides) => Promise<void>
setReputationRootHash(bytes32,uint256,address[])(_newHash: BytesLike, _newNLeaves: BigNumberish, _stakers: string[], overrides?: CallOverrides) => Promise<void>
setStorageSlotRecovery(_slot: BigNumberish, _value: BytesLike, overrides?: CallOverrides) => Promise<void>
setStorageSlotRecovery(uint256,bytes32)(_slot: BigNumberish, _value: BytesLike, overrides?: CallOverrides) => Promise<void>
setTokenLocking(_tokenLockingAddress: string, overrides?: CallOverrides) => Promise<void>
setTokenLocking(address)(_tokenLockingAddress: string, overrides?: CallOverrides) => Promise<void>
setupRegistrar(_ens: string, _rootNode: BytesLike, overrides?: CallOverrides) => Promise<void>
setupRegistrar(address,bytes32)(_ens: string, _rootNode: BytesLike, overrides?: CallOverrides) => Promise<void>
stakeForMining(_amount: BigNumberish, overrides?: CallOverrides) => Promise<void>
stakeForMining(uint256)(_amount: BigNumberish, overrides?: CallOverrides) => Promise<void>
startNextCycle(overrides?: CallOverrides) => Promise<void>
startNextCycle()(overrides?: CallOverrides) => Promise<void>
startTokenAuction(_token: string, overrides?: CallOverrides) => Promise<void>
startTokenAuction(address)(_token: string, overrides?: CallOverrides) => Promise<void>
supportsInterface(_interfaceID: BytesLike, overrides?: CallOverrides) => Promise<boolean>
supportsInterface(bytes4)(_interfaceID: BytesLike, overrides?: CallOverrides) => Promise<boolean>
uninstallExtension(_extensionId: BytesLike, overrides?: CallOverrides) => Promise<void>
uninstallExtension(bytes32)(_extensionId: BytesLike, overrides?: CallOverrides) => Promise<void>
unstakeForMining(_amount: BigNumberish, overrides?: CallOverrides) => Promise<void>
unstakeForMining(uint256)(_amount: BigNumberish, overrides?: CallOverrides) => Promise<void>
updateColonyOrbitDB(_orbitdb: string, overrides?: CallOverrides) => Promise<void>
updateColonyOrbitDB(string)(_orbitdb: string, overrides?: CallOverrides) => Promise<void>
updateUserOrbitDB(_orbitdb: string, overrides?: CallOverrides) => Promise<void>
updateUserOrbitDB(string)(_orbitdb: string, overrides?: CallOverrides) => Promise<void>
upgradeExtension(_extensionId: BytesLike, _newVersion: BigNumberish, overrides?: CallOverrides) => Promise<void>
upgradeExtension(bytes32,uint256)(_extensionId: BytesLike, _newVersion: BigNumberish, overrides?: CallOverrides) => Promise<void>

Inherited from

IColonyNetwork.callStatic


clientType

clientType: NetworkClient


deployTransaction

Readonly deployTransaction: TransactionResponse

Inherited from

IColonyNetwork.deployTransaction


estimateGas

estimateGas: ExtendedEstimate

Overrides

IColonyNetwork.estimateGas


filters

filters: Object

Type declaration

NameType
AuctionCreated(auction?: null, token?: null, quantity?: null) => AuctionCreatedEventFilter
AuctionCreated(address,address,uint256)(auction?: null, token?: null, quantity?: null) => AuctionCreatedEventFilter
ColonyAdded(colonyId?: null | BigNumberish, colonyAddress?: null | string, token?: null) => ColonyAddedEventFilter
ColonyAdded(uint256,address,address)(colonyId?: null | BigNumberish, colonyAddress?: null | string, token?: null) => ColonyAddedEventFilter
ColonyLabelRegistered(colony?: null | string, label?: null) => ColonyLabelRegisteredEventFilter
ColonyLabelRegistered(address,bytes32)(colony?: null | string, label?: null) => ColonyLabelRegisteredEventFilter
ColonyNetworkInitialised(resolver?: null) => ColonyNetworkInitialisedEventFilter
ColonyNetworkInitialised(address)(resolver?: null) => ColonyNetworkInitialisedEventFilter
ColonyVersionAdded(version?: null, resolver?: null) => ColonyVersionAddedEventFilter
ColonyVersionAdded(uint256,address)(version?: null, resolver?: null) => ColonyVersionAddedEventFilter
ExtensionAddedToNetwork(extensionId?: null | BytesLike, version?: null) => ExtensionAddedToNetworkEventFilter
ExtensionAddedToNetwork(bytes32,uint256)(extensionId?: null | BytesLike, version?: null) => ExtensionAddedToNetworkEventFilter
ExtensionDeprecated(extensionId?: null | BytesLike, colony?: null | string, deprecated?: null) => ExtensionDeprecatedEventFilter
ExtensionDeprecated(bytes32,address,bool)(extensionId?: null | BytesLike, colony?: null | string, deprecated?: null) => ExtensionDeprecatedEventFilter
ExtensionInstalled(extensionId?: null | BytesLike, colony?: null | string, version?: null) => ExtensionInstalledEventFilter
ExtensionInstalled(bytes32,address,uint256)(extensionId?: null | BytesLike, colony?: null | string, version?: null) => ExtensionInstalledEventFilter
ExtensionUninstalled(extensionId?: null | BytesLike, colony?: null | string) => ExtensionUninstalledEventFilter
ExtensionUninstalled(bytes32,address)(extensionId?: null | BytesLike, colony?: null | string) => ExtensionUninstalledEventFilter
ExtensionUpgraded(extensionId?: null | BytesLike, colony?: null | string, version?: null) => ExtensionUpgradedEventFilter
ExtensionUpgraded(bytes32,address,uint256)(extensionId?: null | BytesLike, colony?: null | string, version?: null) => ExtensionUpgradedEventFilter
MetaColonyCreated(metaColony?: null, token?: null, rootSkillId?: null) => MetaColonyCreatedEventFilter
MetaColonyCreated(address,address,uint256)(metaColony?: null, token?: null, rootSkillId?: null) => MetaColonyCreatedEventFilter
MetaTransactionExecuted(userAddress?: null, relayerAddress?: null, payload?: null) => MetaTransactionExecutedEventFilter
MetaTransactionExecuted(address,address,bytes)(userAddress?: null, relayerAddress?: null, payload?: null) => MetaTransactionExecutedEventFilter
MiningCycleResolverSet(miningCycleResolver?: null) => MiningCycleResolverSetEventFilter
MiningCycleResolverSet(address)(miningCycleResolver?: null) => MiningCycleResolverSetEventFilter
NetworkFeeInverseSet(feeInverse?: null) => NetworkFeeInverseSetEventFilter
NetworkFeeInverseSet(uint256)(feeInverse?: null) => NetworkFeeInverseSetEventFilter
RecoveryModeEntered(user?: null) => RecoveryModeEnteredEventFilter
RecoveryModeEntered(address)(user?: null) => RecoveryModeEnteredEventFilter
RecoveryModeExitApproved(user?: null) => RecoveryModeExitApprovedEventFilter
RecoveryModeExitApproved(address)(user?: null) => RecoveryModeExitApprovedEventFilter
RecoveryModeExited(user?: null) => RecoveryModeExitedEventFilter
RecoveryModeExited(address)(user?: null) => RecoveryModeExitedEventFilter
RecoveryRoleSet(user?: null | string, setTo?: null) => RecoveryRoleSetEventFilter
RecoveryRoleSet(address,bool)(user?: null | string, setTo?: null) => RecoveryRoleSetEventFilter
RecoveryStorageSlotSet(user?: null, slot?: null, fromValue?: null, toValue?: null) => RecoveryStorageSlotSetEventFilter
RecoveryStorageSlotSet(address,uint256,bytes32,bytes32)(user?: null, slot?: null, fromValue?: null, toValue?: null) => RecoveryStorageSlotSetEventFilter
RegistrarInitialised(ens?: null, rootNode?: null) => RegistrarInitialisedEventFilter
RegistrarInitialised(address,bytes32)(ens?: null, rootNode?: null) => RegistrarInitialisedEventFilter
ReputationMinerPenalised(miner?: null, tokensLost?: null) => ReputationMinerPenalisedEventFilter
ReputationMinerPenalised(address,uint256)(miner?: null, tokensLost?: null) => ReputationMinerPenalisedEventFilter
ReputationMiningCycleComplete(hash?: null, nLeaves?: null) => ReputationMiningCycleCompleteEventFilter
ReputationMiningCycleComplete(bytes32,uint256)(hash?: null, nLeaves?: null) => ReputationMiningCycleCompleteEventFilter
ReputationMiningInitialised(inactiveReputationMiningCycle?: null) => ReputationMiningInitialisedEventFilter
ReputationMiningInitialised(address)(inactiveReputationMiningCycle?: null) => ReputationMiningInitialisedEventFilter
ReputationMiningRewardSet(amount?: null) => ReputationMiningRewardSetEventFilter
ReputationMiningRewardSet(uint256)(amount?: null) => ReputationMiningRewardSetEventFilter
ReputationRootHashSet(newHash?: null, newNLeaves?: null, stakers?: null, reward?: null) => ReputationRootHashSetEventFilter
ReputationRootHashSet(bytes32,uint256,address[],uint256)(newHash?: null, newNLeaves?: null, stakers?: null, reward?: null) => ReputationRootHashSetEventFilter
SkillAdded(skillId?: null, parentSkillId?: null) => SkillAddedEventFilter
SkillAdded(uint256,uint256)(skillId?: null, parentSkillId?: null) => SkillAddedEventFilter
TokenAuthorityDeployed(tokenAuthorityAddress?: null) => TokenAuthorityDeployedEventFilter
TokenAuthorityDeployed(address)(tokenAuthorityAddress?: null) => TokenAuthorityDeployedEventFilter
TokenDeployed(tokenAddress?: null) => TokenDeployedEventFilter
TokenDeployed(address)(tokenAddress?: null) => TokenDeployedEventFilter
TokenLockingAddressSet(tokenLocking?: null) => TokenLockingAddressSetEventFilter
TokenLockingAddressSet(address)(tokenLocking?: null) => TokenLockingAddressSetEventFilter
TokenWhitelisted(token?: null, status?: null) => TokenWhitelistedEventFilter
TokenWhitelisted(address,bool)(token?: null, status?: null) => TokenWhitelistedEventFilter
UserLabelRegistered(user?: null | string, label?: null) => UserLabelRegisteredEventFilter
UserLabelRegistered(address,bytes32)(user?: null | string, label?: null) => UserLabelRegisteredEventFilter

Inherited from

IColonyNetwork.filters


functions

functions: Object

Type declaration

NameType
addColonyVersion(_version: BigNumberish, _resolver: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
addColonyVersion(uint256,address)(_version: BigNumberish, _resolver: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
addExtensionToNetwork(_extensionId: BytesLike, _resolver: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
addExtensionToNetwork(bytes32,address)(_extensionId: BytesLike, _resolver: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
addSkill(_parentSkillId: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
addSkill(uint256)(_parentSkillId: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
addr(_node: BytesLike, overrides?: CallOverrides) => Promise<[string] & { _address: string }>
addr(bytes32)(_node: BytesLike, overrides?: CallOverrides) => Promise<[string] & { _address: string }>
appendReputationUpdateLog(_user: string, _amount: BigNumberish, _skillId: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
appendReputationUpdateLog(address,int256,uint256)(_user: string, _amount: BigNumberish, _skillId: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
approveExitRecovery(overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
approveExitRecovery()(overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
burnUnneededRewards(_amount: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
burnUnneededRewards(uint256)(_amount: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
calculateMinerWeight(_timeStaked: BigNumberish, _submissonIndex: BigNumberish, overrides?: CallOverrides) => Promise<[BigNumber] & { _minerWeight: BigNumber }>
calculateMinerWeight(uint256,uint256)(_timeStaked: BigNumberish, _submissonIndex: BigNumberish, overrides?: CallOverrides) => Promise<[BigNumber] & { _minerWeight: BigNumber }>
checkNotAdditionalProtectedVariable(_slot: BigNumberish, overrides?: CallOverrides) => Promise<[void]>
checkNotAdditionalProtectedVariable(uint256)(_slot: BigNumberish, overrides?: CallOverrides) => Promise<[void]>
claimMiningReward(_recipient: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
claimMiningReward(address)(_recipient: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
createColony(address)(_tokenAddress: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
createColony(address,uint256,string)(_tokenAddress: string, _version: BigNumberish, _colonyName: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
createColony(address,uint256,string,string)(_tokenAddress: string, _version: BigNumberish, _colonyName: string, _metadata: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
createColony(address,uint256,string,string,bool)(_tokenAddress: string, _version: BigNumberish, _colonyName: string, _orbitdb: string, _useExtensionManager: boolean, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
createColonyForFrontend(_tokenAddress: string, _name: string, _symbol: string, _decimals: BigNumberish, _version: BigNumberish, _colonyName: string, _metadata: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
createColonyForFrontend(address,string,string,uint8,uint256,string,string)(_tokenAddress: string, _name: string, _symbol: string, _decimals: BigNumberish, _version: BigNumberish, _colonyName: string, _metadata: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
createMetaColony(_tokenAddress: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
createMetaColony(address)(_tokenAddress: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
deployTokenAuthority(_token: string, _colony: string, _allowedToTransfer: string[], overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
deployTokenAuthority(address,address,address[])(_token: string, _colony: string, _allowedToTransfer: string[], overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
deployTokenViaNetwork(_name: string, _symbol: string, _decimals: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
deployTokenViaNetwork(string,string,uint8)(_name: string, _symbol: string, _decimals: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
deprecateExtension(_extensionId: BytesLike, _deprecated: boolean, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
deprecateExtension(bytes32,bool)(_extensionId: BytesLike, _deprecated: boolean, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
deprecateSkill(uint256)(_skillId: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
deprecateSkill(uint256,bool)(_skillId: BigNumberish, _deprecated: boolean, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
enterRecoveryMode(overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
enterRecoveryMode()(overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
executeMetaTransaction(userAddress: string, payload: BytesLike, sigR: BytesLike, sigS: BytesLike, sigV: BigNumberish, overrides?: PayableOverrides & { from?: string }) => Promise<ContractTransaction>
executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)(userAddress: string, payload: BytesLike, sigR: BytesLike, sigS: BytesLike, sigV: BigNumberish, overrides?: PayableOverrides & { from?: string }) => Promise<ContractTransaction>
exitRecoveryMode(overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
exitRecoveryMode()(overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
getChildSkillId(_skillId: BigNumberish, _childSkillIndex: BigNumberish, overrides?: CallOverrides) => Promise<[BigNumber] & { _childSkillId: BigNumber }>
getChildSkillId(uint256,uint256)(_skillId: BigNumberish, _childSkillIndex: BigNumberish, overrides?: CallOverrides) => Promise<[BigNumber] & { _childSkillId: BigNumber }>
getColony(_id: BigNumberish, overrides?: CallOverrides) => Promise<[string] & { _colonyAddress: string }>
getColony(uint256)(_id: BigNumberish, overrides?: CallOverrides) => Promise<[string] & { _colonyAddress: string }>
getColonyCount(overrides?: CallOverrides) => Promise<[BigNumber] & { _count: BigNumber }>
getColonyCount()(overrides?: CallOverrides) => Promise<[BigNumber] & { _count: BigNumber }>
getColonyVersionResolver(_version: BigNumberish, overrides?: CallOverrides) => Promise<[string] & { _resolverAddress: string }>
getColonyVersionResolver(uint256)(_version: BigNumberish, overrides?: CallOverrides) => Promise<[string] & { _resolverAddress: string }>
getCurrentColonyVersion(overrides?: CallOverrides) => Promise<[BigNumber] & { _version: BigNumber }>
getCurrentColonyVersion()(overrides?: CallOverrides) => Promise<[BigNumber] & { _version: BigNumber }>
getENSRegistrar(overrides?: CallOverrides) => Promise<[string] & { _address: string }>
getENSRegistrar()(overrides?: CallOverrides) => Promise<[string] & { _address: string }>
getExtensionInstallation(_extensionId: BytesLike, _colony: string, overrides?: CallOverrides) => Promise<[string] & { _installation: string }>
getExtensionInstallation(bytes32,address)(_extensionId: BytesLike, _colony: string, overrides?: CallOverrides) => Promise<[string] & { _installation: string }>
getExtensionResolver(_extensionId: BytesLike, _version: BigNumberish, overrides?: CallOverrides) => Promise<[string] & { _resolver: string }>
getExtensionResolver(bytes32,uint256)(_extensionId: BytesLike, _version: BigNumberish, overrides?: CallOverrides) => Promise<[string] & { _resolver: string }>
getFeeInverse(overrides?: CallOverrides) => Promise<[BigNumber] & { _feeInverse: BigNumber }>
getFeeInverse()(overrides?: CallOverrides) => Promise<[BigNumber] & { _feeInverse: BigNumber }>
getMetaColony(overrides?: CallOverrides) => Promise<[string] & { _colonyAddress: string }>
getMetaColony()(overrides?: CallOverrides) => Promise<[string] & { _colonyAddress: string }>
getMetatransactionNonce(userAddress: string, overrides?: CallOverrides) => Promise<[BigNumber] & { nonce: BigNumber }>
getMetatransactionNonce(address)(userAddress: string, overrides?: CallOverrides) => Promise<[BigNumber] & { nonce: BigNumber }>
getMiningDelegator(_delegate: string, overrides?: CallOverrides) => Promise<[string] & { _delegator: string }>
getMiningDelegator(address)(_delegate: string, overrides?: CallOverrides) => Promise<[string] & { _delegator: string }>
getMiningResolver(overrides?: CallOverrides) => Promise<[string] & { miningResolverAddress: string }>
getMiningResolver()(overrides?: CallOverrides) => Promise<[string] & { miningResolverAddress: string }>
getMiningStake(_user: string, overrides?: CallOverrides) => Promise<[MiningStakeStructOutput] & { _info: MiningStakeStructOutput }>
getMiningStake(address)(_user: string, overrides?: CallOverrides) => Promise<[MiningStakeStructOutput] & { _info: MiningStakeStructOutput }>
getParentSkillId(_skillId: BigNumberish, _parentSkillIndex: BigNumberish, overrides?: CallOverrides) => Promise<[BigNumber] & { _parentSkillId: BigNumber }>
getParentSkillId(uint256,uint256)(_skillId: BigNumberish, _parentSkillIndex: BigNumberish, overrides?: CallOverrides) => Promise<[BigNumber] & { _parentSkillId: BigNumber }>
getPayoutWhitelist(_token: string, overrides?: CallOverrides) => Promise<[boolean] & { _status: boolean }>
getPayoutWhitelist(address)(_token: string, overrides?: CallOverrides) => Promise<[boolean] & { _status: boolean }>
getProfileDBAddress(_node: BytesLike, overrides?: CallOverrides) => Promise<[string] & { _orbitdb: string }>
getProfileDBAddress(bytes32)(_node: BytesLike, overrides?: CallOverrides) => Promise<[string] & { _orbitdb: string }>
getReplacementReputationUpdateLogEntry(_reputationMiningCycle: string, _id: BigNumberish, overrides?: CallOverrides) => Promise<[ReputationLogEntryStructOutput] & { _reputationLogEntry: ReputationLogEntryStructOutput }>
getReplacementReputationUpdateLogEntry(address,uint256)(_reputationMiningCycle: string, _id: BigNumberish, overrides?: CallOverrides) => Promise<[ReputationLogEntryStructOutput] & { _reputationLogEntry: ReputationLogEntryStructOutput }>
getReplacementReputationUpdateLogsExist(_reputationMiningCycle: string, overrides?: CallOverrides) => Promise<[boolean] & { _exists: boolean }>
getReplacementReputationUpdateLogsExist(address)(_reputationMiningCycle: string, overrides?: CallOverrides) => Promise<[boolean] & { _exists: boolean }>
getReputationMiningCycle(_active: boolean, overrides?: CallOverrides) => Promise<[string] & { _repMiningCycleAddress: string }>
getReputationMiningCycle(bool)(_active: boolean, overrides?: CallOverrides) => Promise<[string] & { _repMiningCycleAddress: string }>
getReputationMiningCycleReward(overrides?: CallOverrides) => Promise<[BigNumber] & { _amount: BigNumber }>
getReputationMiningCycleReward()(overrides?: CallOverrides) => Promise<[BigNumber] & { _amount: BigNumber }>
getReputationMiningSkillId(overrides?: CallOverrides) => Promise<[BigNumber] & { _skillId: BigNumber }>
getReputationMiningSkillId()(overrides?: CallOverrides) => Promise<[BigNumber] & { _skillId: BigNumber }>
getReputationRootHash(overrides?: CallOverrides) => Promise<[string] & { rootHash: string }>
getReputationRootHash()(overrides?: CallOverrides) => Promise<[string] & { rootHash: string }>
getReputationRootHashNLeaves(overrides?: CallOverrides) => Promise<[BigNumber] & { nLeaves: BigNumber }>
getReputationRootHashNLeaves()(overrides?: CallOverrides) => Promise<[BigNumber] & { nLeaves: BigNumber }>
getReputationRootHashNNodes(overrides?: CallOverrides) => Promise<[BigNumber] & { nNodes: BigNumber }>
getReputationRootHashNNodes()(overrides?: CallOverrides) => Promise<[BigNumber] & { nNodes: BigNumber }>
getSkill(_skillId: BigNumberish, overrides?: CallOverrides) => Promise<[SkillStructOutput] & { _skill: SkillStructOutput }>
getSkill(uint256)(_skillId: BigNumberish, overrides?: CallOverrides) => Promise<[SkillStructOutput] & { _skill: SkillStructOutput }>
getSkillCount(overrides?: CallOverrides) => Promise<[BigNumber] & { _count: BigNumber }>
getSkillCount()(overrides?: CallOverrides) => Promise<[BigNumber] & { _count: BigNumber }>
getTokenLocking(overrides?: CallOverrides) => Promise<[string] & { _lockingAddress: string }>
getTokenLocking()(overrides?: CallOverrides) => Promise<[string] & { _lockingAddress: string }>
initialise(_resolver: string, _version: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
initialise(address,uint256)(_resolver: string, _version: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
initialiseReputationMining(overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
initialiseReputationMining()(overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
initialiseRootLocalSkill(overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
initialiseRootLocalSkill()(overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
installExtension(_extensionId: BytesLike, _version: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
installExtension(bytes32,uint256)(_extensionId: BytesLike, _version: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
isColony(_colony: string, overrides?: CallOverrides) => Promise<[boolean] & { _addressIsColony: boolean }>
isColony(address)(_colony: string, overrides?: CallOverrides) => Promise<[boolean] & { _addressIsColony: boolean }>
isInRecoveryMode(overrides?: CallOverrides) => Promise<[boolean] & { inRecoveryMode: boolean }>
isInRecoveryMode()(overrides?: CallOverrides) => Promise<[boolean] & { inRecoveryMode: boolean }>
lookupRegisteredENSDomain(_addr: string, overrides?: CallOverrides) => Promise<[string] & { _domain: string }>
lookupRegisteredENSDomain(address)(_addr: string, overrides?: CallOverrides) => Promise<[string] & { _domain: string }>
multicall(data: BytesLike[], overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
multicall(bytes[])(data: BytesLike[], overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
numRecoveryRoles(overrides?: CallOverrides) => Promise<[BigNumber] & { numRoles: BigNumber }>
numRecoveryRoles()(overrides?: CallOverrides) => Promise<[BigNumber] & { numRoles: BigNumber }>
punishStakers(_stakers: string[], _amount: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
punishStakers(address[],uint256)(_stakers: string[], _amount: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
registerColonyLabel(_colonyName: string, _orbitdb: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
registerColonyLabel(string,string)(_colonyName: string, _orbitdb: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
registerUserLabel(_username: string, _orbitdb: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
registerUserLabel(string,string)(_username: string, _orbitdb: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
removeRecoveryRole(_user: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
removeRecoveryRole(address)(_user: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
reward(_recipient: string, _amount: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
reward(address,uint256)(_recipient: string, _amount: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
setFeeInverse(_feeInverse: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
setFeeInverse(uint256)(_feeInverse: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
setMiningDelegate(_delegate: string, _allowed: boolean, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
setMiningDelegate(address,bool)(_delegate: string, _allowed: boolean, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
setMiningResolver(_miningResolverAddress: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
setMiningResolver(address)(_miningResolverAddress: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
setPayoutWhitelist(_token: string, _status: boolean, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
setPayoutWhitelist(address,bool)(_token: string, _status: boolean, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
setRecoveryRole(_user: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
setRecoveryRole(address)(_user: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
setReplacementReputationUpdateLogEntry(_reputationMiningCycle: string, _id: BigNumberish, _user: string, _amount: BigNumberish, _skillId: BigNumberish, _colony: string, _nUpdates: BigNumberish, _nPreviousUpdates: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
setReplacementReputationUpdateLogEntry(address,uint256,address,int256,uint256,address,uint128,uint128)(_reputationMiningCycle: string, _id: BigNumberish, _user: string, _amount: BigNumberish, _skillId: BigNumberish, _colony: string, _nUpdates: BigNumberish, _nPreviousUpdates: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
setReputationMiningCycleReward(_amount: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
setReputationMiningCycleReward(uint256)(_amount: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
setReputationRootHash(_newHash: BytesLike, _newNLeaves: BigNumberish, _stakers: string[], overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
setReputationRootHash(bytes32,uint256,address[])(_newHash: BytesLike, _newNLeaves: BigNumberish, _stakers: string[], overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
setStorageSlotRecovery(_slot: BigNumberish, _value: BytesLike, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
setStorageSlotRecovery(uint256,bytes32)(_slot: BigNumberish, _value: BytesLike, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
setTokenLocking(_tokenLockingAddress: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
setTokenLocking(address)(_tokenLockingAddress: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
setupRegistrar(_ens: string, _rootNode: BytesLike, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
setupRegistrar(address,bytes32)(_ens: string, _rootNode: BytesLike, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
stakeForMining(_amount: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
stakeForMining(uint256)(_amount: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
startNextCycle(overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
startNextCycle()(overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
startTokenAuction(_token: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
startTokenAuction(address)(_token: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
supportsInterface(_interfaceID: BytesLike, overrides?: CallOverrides) => Promise<[boolean] & { _status: boolean }>
supportsInterface(bytes4)(_interfaceID: BytesLike, overrides?: CallOverrides) => Promise<[boolean] & { _status: boolean }>
uninstallExtension(_extensionId: BytesLike, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
uninstallExtension(bytes32)(_extensionId: BytesLike, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
unstakeForMining(_amount: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
unstakeForMining(uint256)(_amount: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
updateColonyOrbitDB(_orbitdb: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
updateColonyOrbitDB(string)(_orbitdb: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
updateUserOrbitDB(_orbitdb: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
updateUserOrbitDB(string)(_orbitdb: string, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
upgradeExtension(_extensionId: BytesLike, _newVersion: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
upgradeExtension(bytes32,uint256)(_extensionId: BytesLike, _newVersion: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>

Inherited from

IColonyNetwork.functions


interface

interface: IColonyNetworkInterface

Inherited from

IColonyNetwork.interface


network

network: Network


off

off: OnEvent<ColonyNetworkClient>

Inherited from

IColonyNetwork.off


on

on: OnEvent<ColonyNetworkClient>

Inherited from

IColonyNetwork.on


once

once: OnEvent<ColonyNetworkClient>

Inherited from

IColonyNetwork.once


populateTransaction

populateTransaction: Object

Type declaration

NameType
addColonyVersion(_version: BigNumberish, _resolver: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
addColonyVersion(uint256,address)(_version: BigNumberish, _resolver: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
addExtensionToNetwork(_extensionId: BytesLike, _resolver: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
addExtensionToNetwork(bytes32,address)(_extensionId: BytesLike, _resolver: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
addSkill(_parentSkillId: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
addSkill(uint256)(_parentSkillId: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
addr(_node: BytesLike, overrides?: CallOverrides) => Promise<PopulatedTransaction>
addr(bytes32)(_node: BytesLike, overrides?: CallOverrides) => Promise<PopulatedTransaction>
appendReputationUpdateLog(_user: string, _amount: BigNumberish, _skillId: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
appendReputationUpdateLog(address,int256,uint256)(_user: string, _amount: BigNumberish, _skillId: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
approveExitRecovery(overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
approveExitRecovery()(overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
burnUnneededRewards(_amount: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
burnUnneededRewards(uint256)(_amount: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
calculateMinerWeight(_timeStaked: BigNumberish, _submissonIndex: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
calculateMinerWeight(uint256,uint256)(_timeStaked: BigNumberish, _submissonIndex: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
checkNotAdditionalProtectedVariable(_slot: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
checkNotAdditionalProtectedVariable(uint256)(_slot: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
claimMiningReward(_recipient: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
claimMiningReward(address)(_recipient: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
createColony(address)(_tokenAddress: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
createColony(address,uint256,string)(_tokenAddress: string, _version: BigNumberish, _colonyName: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
createColony(address,uint256,string,string)(_tokenAddress: string, _version: BigNumberish, _colonyName: string, _metadata: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
createColony(address,uint256,string,string,bool)(_tokenAddress: string, _version: BigNumberish, _colonyName: string, _orbitdb: string, _useExtensionManager: boolean, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
createColonyForFrontend(_tokenAddress: string, _name: string, _symbol: string, _decimals: BigNumberish, _version: BigNumberish, _colonyName: string, _metadata: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
createColonyForFrontend(address,string,string,uint8,uint256,string,string)(_tokenAddress: string, _name: string, _symbol: string, _decimals: BigNumberish, _version: BigNumberish, _colonyName: string, _metadata: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
createMetaColony(_tokenAddress: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
createMetaColony(address)(_tokenAddress: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
deployTokenAuthority(_token: string, _colony: string, _allowedToTransfer: string[], overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
deployTokenAuthority(address,address,address[])(_token: string, _colony: string, _allowedToTransfer: string[], overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
deployTokenViaNetwork(_name: string, _symbol: string, _decimals: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
deployTokenViaNetwork(string,string,uint8)(_name: string, _symbol: string, _decimals: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
deprecateExtension(_extensionId: BytesLike, _deprecated: boolean, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
deprecateExtension(bytes32,bool)(_extensionId: BytesLike, _deprecated: boolean, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
deprecateSkill(uint256)(_skillId: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
deprecateSkill(uint256,bool)(_skillId: BigNumberish, _deprecated: boolean, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
enterRecoveryMode(overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
enterRecoveryMode()(overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
executeMetaTransaction(userAddress: string, payload: BytesLike, sigR: BytesLike, sigS: BytesLike, sigV: BigNumberish, overrides?: PayableOverrides & { from?: string }) => Promise<PopulatedTransaction>
executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)(userAddress: string, payload: BytesLike, sigR: BytesLike, sigS: BytesLike, sigV: BigNumberish, overrides?: PayableOverrides & { from?: string }) => Promise<PopulatedTransaction>
exitRecoveryMode(overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
exitRecoveryMode()(overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
getChildSkillId(_skillId: BigNumberish, _childSkillIndex: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getChildSkillId(uint256,uint256)(_skillId: BigNumberish, _childSkillIndex: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getColony(_id: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getColony(uint256)(_id: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getColonyCount(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getColonyCount()(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getColonyVersionResolver(_version: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getColonyVersionResolver(uint256)(_version: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getCurrentColonyVersion(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getCurrentColonyVersion()(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getENSRegistrar(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getENSRegistrar()(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getExtensionInstallation(_extensionId: BytesLike, _colony: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getExtensionInstallation(bytes32,address)(_extensionId: BytesLike, _colony: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getExtensionResolver(_extensionId: BytesLike, _version: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getExtensionResolver(bytes32,uint256)(_extensionId: BytesLike, _version: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getFeeInverse(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getFeeInverse()(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getMetaColony(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getMetaColony()(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getMetatransactionNonce(userAddress: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getMetatransactionNonce(address)(userAddress: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getMiningDelegator(_delegate: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getMiningDelegator(address)(_delegate: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getMiningResolver(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getMiningResolver()(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getMiningStake(_user: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getMiningStake(address)(_user: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getParentSkillId(_skillId: BigNumberish, _parentSkillIndex: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getParentSkillId(uint256,uint256)(_skillId: BigNumberish, _parentSkillIndex: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getPayoutWhitelist(_token: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getPayoutWhitelist(address)(_token: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getProfileDBAddress(_node: BytesLike, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getProfileDBAddress(bytes32)(_node: BytesLike, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getReplacementReputationUpdateLogEntry(_reputationMiningCycle: string, _id: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getReplacementReputationUpdateLogEntry(address,uint256)(_reputationMiningCycle: string, _id: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getReplacementReputationUpdateLogsExist(_reputationMiningCycle: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getReplacementReputationUpdateLogsExist(address)(_reputationMiningCycle: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getReputationMiningCycle(_active: boolean, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getReputationMiningCycle(bool)(_active: boolean, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getReputationMiningCycleReward(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getReputationMiningCycleReward()(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getReputationMiningSkillId(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getReputationMiningSkillId()(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getReputationRootHash(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getReputationRootHash()(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getReputationRootHashNLeaves(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getReputationRootHashNLeaves()(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getReputationRootHashNNodes(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getReputationRootHashNNodes()(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getSkill(_skillId: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getSkill(uint256)(_skillId: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getSkillCount(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getSkillCount()(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getTokenLocking(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getTokenLocking()(overrides?: CallOverrides) => Promise<PopulatedTransaction>
initialise(_resolver: string, _version: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
initialise(address,uint256)(_resolver: string, _version: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
initialiseReputationMining(overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
initialiseReputationMining()(overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
initialiseRootLocalSkill(overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
initialiseRootLocalSkill()(overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
installExtension(_extensionId: BytesLike, _version: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
installExtension(bytes32,uint256)(_extensionId: BytesLike, _version: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
isColony(_colony: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>
isColony(address)(_colony: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>
isInRecoveryMode(overrides?: CallOverrides) => Promise<PopulatedTransaction>
isInRecoveryMode()(overrides?: CallOverrides) => Promise<PopulatedTransaction>
lookupRegisteredENSDomain(_addr: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>
lookupRegisteredENSDomain(address)(_addr: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>
multicall(data: BytesLike[], overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
multicall(bytes[])(data: BytesLike[], overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
numRecoveryRoles(overrides?: CallOverrides) => Promise<PopulatedTransaction>
numRecoveryRoles()(overrides?: CallOverrides) => Promise<PopulatedTransaction>
punishStakers(_stakers: string[], _amount: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
punishStakers(address[],uint256)(_stakers: string[], _amount: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
registerColonyLabel(_colonyName: string, _orbitdb: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
registerColonyLabel(string,string)(_colonyName: string, _orbitdb: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
registerUserLabel(_username: string, _orbitdb: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
registerUserLabel(string,string)(_username: string, _orbitdb: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
removeRecoveryRole(_user: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
removeRecoveryRole(address)(_user: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
reward(_recipient: string, _amount: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
reward(address,uint256)(_recipient: string, _amount: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
setFeeInverse(_feeInverse: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
setFeeInverse(uint256)(_feeInverse: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
setMiningDelegate(_delegate: string, _allowed: boolean, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
setMiningDelegate(address,bool)(_delegate: string, _allowed: boolean, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
setMiningResolver(_miningResolverAddress: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
setMiningResolver(address)(_miningResolverAddress: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
setPayoutWhitelist(_token: string, _status: boolean, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
setPayoutWhitelist(address,bool)(_token: string, _status: boolean, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
setRecoveryRole(_user: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
setRecoveryRole(address)(_user: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
setReplacementReputationUpdateLogEntry(_reputationMiningCycle: string, _id: BigNumberish, _user: string, _amount: BigNumberish, _skillId: BigNumberish, _colony: string, _nUpdates: BigNumberish, _nPreviousUpdates: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
setReplacementReputationUpdateLogEntry(address,uint256,address,int256,uint256,address,uint128,uint128)(_reputationMiningCycle: string, _id: BigNumberish, _user: string, _amount: BigNumberish, _skillId: BigNumberish, _colony: string, _nUpdates: BigNumberish, _nPreviousUpdates: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
setReputationMiningCycleReward(_amount: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
setReputationMiningCycleReward(uint256)(_amount: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
setReputationRootHash(_newHash: BytesLike, _newNLeaves: BigNumberish, _stakers: string[], overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
setReputationRootHash(bytes32,uint256,address[])(_newHash: BytesLike, _newNLeaves: BigNumberish, _stakers: string[], overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
setStorageSlotRecovery(_slot: BigNumberish, _value: BytesLike, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
setStorageSlotRecovery(uint256,bytes32)(_slot: BigNumberish, _value: BytesLike, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
setTokenLocking(_tokenLockingAddress: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
setTokenLocking(address)(_tokenLockingAddress: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
setupRegistrar(_ens: string, _rootNode: BytesLike, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
setupRegistrar(address,bytes32)(_ens: string, _rootNode: BytesLike, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
stakeForMining(_amount: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
stakeForMining(uint256)(_amount: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
startNextCycle(overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
startNextCycle()(overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
startTokenAuction(_token: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
startTokenAuction(address)(_token: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
supportsInterface(_interfaceID: BytesLike, overrides?: CallOverrides) => Promise<PopulatedTransaction>
supportsInterface(bytes4)(_interfaceID: BytesLike, overrides?: CallOverrides) => Promise<PopulatedTransaction>
uninstallExtension(_extensionId: BytesLike, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
uninstallExtension(bytes32)(_extensionId: BytesLike, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
unstakeForMining(_amount: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
unstakeForMining(uint256)(_amount: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
updateColonyOrbitDB(_orbitdb: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
updateColonyOrbitDB(string)(_orbitdb: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
updateUserOrbitDB(_orbitdb: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
updateUserOrbitDB(string)(_orbitdb: string, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
upgradeExtension(_extensionId: BytesLike, _newVersion: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
upgradeExtension(bytes32,uint256)(_extensionId: BytesLike, _newVersion: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>

Inherited from

IColonyNetwork.populateTransaction


provider

Readonly provider: Provider

Inherited from

IColonyNetwork.provider


removeListener

removeListener: OnEvent<ColonyNetworkClient>

Inherited from

IColonyNetwork.removeListener


reputationOracleEndpoint

reputationOracleEndpoint: string


resolvedAddress

Readonly resolvedAddress: Promise<string>

Inherited from

IColonyNetwork.resolvedAddress


signer

Readonly signer: Signer

Inherited from

IColonyNetwork.signer

Methods

_checkRunningEvents

_checkRunningEvents(runningEvent): void

Parameters

NameType
runningEventRunningEvent

Returns

void

Inherited from

IColonyNetwork._checkRunningEvents


_deployed

_deployed(blockTag?): Promise<Contract>

Parameters

NameType
blockTag?BlockTag

Returns

Promise<Contract>

Inherited from

IColonyNetwork._deployed


_wrapEvent

_wrapEvent(runningEvent, log, listener): Event

Parameters

NameType
runningEventRunningEvent
logLog
listenerListener

Returns

Event

Inherited from

IColonyNetwork._wrapEvent


addColonyVersion

addColonyVersion(_version, _resolver, overrides?): Promise<ContractTransaction>

Adds a new Colony contract version and the address of associated _resolver contract. Secured function to authorised members. Allowed to be called by the Meta Colony only.

Parameters

NameTypeDescription
_versionBigNumberishThe new Colony contract version
_resolverstringAddress of the Resolver contract which will be used with the underlying EtherRouter contract
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.addColonyVersion


addColonyVersion(uint256,address)

addColonyVersion(uint256,address)(_version, _resolver, overrides?): Promise<ContractTransaction>

Adds a new Colony contract version and the address of associated _resolver contract. Secured function to authorised members. Allowed to be called by the Meta Colony only.

Parameters

NameTypeDescription
_versionBigNumberishThe new Colony contract version
_resolverstringAddress of the Resolver contract which will be used with the underlying EtherRouter contract
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.addColonyVersion(uint256,address)


addExtensionToNetwork

addExtensionToNetwork(_extensionId, _resolver, overrides?): Promise<ContractTransaction>

Can only be called by the MetaColony.The extension version is queried from the resolver itself. Add a new extension resolver to the Extensions repository.

Parameters

NameTypeDescription
_extensionIdBytesLikekeccak256 hash of the extension name, used as an indentifier
_resolverstringThe deployed resolver containing the extension contract logic
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.addExtensionToNetwork


addExtensionToNetwork(bytes32,address)

addExtensionToNetwork(bytes32,address)(_extensionId, _resolver, overrides?): Promise<ContractTransaction>

Can only be called by the MetaColony.The extension version is queried from the resolver itself. Add a new extension resolver to the Extensions repository.

Parameters

NameTypeDescription
_extensionIdBytesLikekeccak256 hash of the extension name, used as an indentifier
_resolverstringThe deployed resolver containing the extension contract logic
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.addExtensionToNetwork(bytes32,address)


addSkill

addSkill(_parentSkillId, overrides?): Promise<ContractTransaction>

Errors if the parent skill does not exist or if this is called by an unauthorised sender. Adds a new skill to the global or local skills tree, under skill _parentSkillId. Only the Meta Colony is allowed to add a global skill, called via IColony.addGlobalSkill. Any colony is allowed to add a local skill and which is associated with a new domain via IColony.addDomain.

Parameters

NameTypeDescription
_parentSkillIdBigNumberishId of the skill under which the new skill will be added. If 0, a global skill is added with no parent.
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.addSkill


addSkill(uint256)

addSkill(uint256)(_parentSkillId, overrides?): Promise<ContractTransaction>

Errors if the parent skill does not exist or if this is called by an unauthorised sender. Adds a new skill to the global or local skills tree, under skill _parentSkillId. Only the Meta Colony is allowed to add a global skill, called via IColony.addGlobalSkill. Any colony is allowed to add a local skill and which is associated with a new domain via IColony.addDomain.

Parameters

NameTypeDescription
_parentSkillIdBigNumberishId of the skill under which the new skill will be added. If 0, a global skill is added with no parent.
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.addSkill(uint256)


addr

addr(_node, overrides?): Promise<string>

Returns the address the supplied node resolves do, if we are the resolver.

Parameters

NameTypeDescription
_nodeBytesLikeThe namehash of the ENS address being requested
overrides?CallOverrides-

Returns

Promise<string>

Inherited from

IColonyNetwork.addr


addr(bytes32)

addr(bytes32)(_node, overrides?): Promise<string>

Returns the address the supplied node resolves do, if we are the resolver.

Parameters

NameTypeDescription
_nodeBytesLikeThe namehash of the ENS address being requested
overrides?CallOverrides-

Returns

Promise<string>

Inherited from

IColonyNetwork.addr(bytes32)


appendReputationUpdateLog

appendReputationUpdateLog(_user, _amount, _skillId, overrides?): Promise<ContractTransaction>

Errors if it is called by anyone but a colony or if skill with id _skillId does not exist or. Adds a reputation update entry to log.

Parameters

NameTypeDescription
_userstringThe address of the user for the reputation update
_amountBigNumberishThe amount of reputation change for the update, this can be a negative as well as a positive value
_skillIdBigNumberishThe skill for the reputation update
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.appendReputationUpdateLog


appendReputationUpdateLog(address,int256,uint256)

appendReputationUpdateLog(address,int256,uint256)(_user, _amount, _skillId, overrides?): Promise<ContractTransaction>

Errors if it is called by anyone but a colony or if skill with id _skillId does not exist or. Adds a reputation update entry to log.

Parameters

NameTypeDescription
_userstringThe address of the user for the reputation update
_amountBigNumberishThe amount of reputation change for the update, this can be a negative as well as a positive value
_skillIdBigNumberishThe skill for the reputation update
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.appendReputationUpdateLog(address,int256,uint256)


approveExitRecovery

approveExitRecovery(overrides?): Promise<ContractTransaction>

Indicate approval to exit recovery mode. Can only be called by user with recovery role.

Parameters

NameType
overrides?Overrides & { from?: string }

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.approveExitRecovery


approveExitRecovery()

approveExitRecovery()(overrides?): Promise<ContractTransaction>

Indicate approval to exit recovery mode. Can only be called by user with recovery role.

Parameters

NameType
overrides?Overrides & { from?: string }

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.approveExitRecovery()


attach

attach(addressOrName): ColonyNetworkClient

Parameters

NameType
addressOrNamestring

Returns

ColonyNetworkClient

Inherited from

IColonyNetwork.attach


burnUnneededRewards

burnUnneededRewards(_amount, overrides?): Promise<ContractTransaction>

Only callable by the active reputation mining cycle Used to burn tokens that are not needed to pay out rewards (because not every possible defence was made for all submissions)

Parameters

NameTypeDescription
_amountBigNumberishThe amount of CLNY to burn
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.burnUnneededRewards


burnUnneededRewards(uint256)

burnUnneededRewards(uint256)(_amount, overrides?): Promise<ContractTransaction>

Only callable by the active reputation mining cycle Used to burn tokens that are not needed to pay out rewards (because not every possible defence was made for all submissions)

Parameters

NameTypeDescription
_amountBigNumberishThe amount of CLNY to burn
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.burnUnneededRewards(uint256)


calculateMinerWeight

calculateMinerWeight(_timeStaked, _submissonIndex, overrides?): Promise<BigNumber>

Calculate raw miner weight in WADs.

Parameters

NameTypeDescription
_timeStakedBigNumberishAmount of time (in seconds) that the miner has staked their CLNY
_submissonIndexBigNumberishIndex of reputation hash submission (between 0 and 11)
overrides?CallOverrides-

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.calculateMinerWeight


calculateMinerWeight(uint256,uint256)

calculateMinerWeight(uint256,uint256)(_timeStaked, _submissonIndex, overrides?): Promise<BigNumber>

Calculate raw miner weight in WADs.

Parameters

NameTypeDescription
_timeStakedBigNumberishAmount of time (in seconds) that the miner has staked their CLNY
_submissonIndexBigNumberishIndex of reputation hash submission (between 0 and 11)
overrides?CallOverrides-

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.calculateMinerWeight(uint256,uint256)


checkNotAdditionalProtectedVariable

checkNotAdditionalProtectedVariable(_slot, overrides?): Promise<void>

No return value, but should throw if protected.This is external, but is only expected to be called from ContractRecovery; no need toexpose this to any users. Check whether the supplied slot is a protected variable specific to this contract

Parameters

NameTypeDescription
_slotBigNumberishThe storage slot number to check.
overrides?CallOverrides-

Returns

Promise<void>

Inherited from

IColonyNetwork.checkNotAdditionalProtectedVariable


checkNotAdditionalProtectedVariable(uint256)

checkNotAdditionalProtectedVariable(uint256)(_slot, overrides?): Promise<void>

No return value, but should throw if protected.This is external, but is only expected to be called from ContractRecovery; no need toexpose this to any users. Check whether the supplied slot is a protected variable specific to this contract

Parameters

NameTypeDescription
_slotBigNumberishThe storage slot number to check.
overrides?CallOverrides-

Returns

Promise<void>

Inherited from

IColonyNetwork.checkNotAdditionalProtectedVariable(uint256)


claimMiningReward

claimMiningReward(_recipient, overrides?): Promise<ContractTransaction>

Can be called by anyone, not just _recipient Used by a user to claim any mining rewards due to them. This will place them in their balance or pending balance, as appropriate.

Parameters

NameTypeDescription
_recipientstringThe user whose rewards to claim
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.claimMiningReward


claimMiningReward(address)

claimMiningReward(address)(_recipient, overrides?): Promise<ContractTransaction>

Can be called by anyone, not just _recipient Used by a user to claim any mining rewards due to them. This will place them in their balance or pending balance, as appropriate.

Parameters

NameTypeDescription
_recipientstringThe user whose rewards to claim
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.claimMiningReward(address)


connect

connect(signerOrProvider): ColonyNetworkClient

Parameters

NameType
signerOrProviderstring | Signer | Provider

Returns

ColonyNetworkClient

Inherited from

IColonyNetwork.connect


createColony(address)

createColony(address)(_tokenAddress, overrides?): Promise<ContractTransaction>

This is now deprecated and will be removed in a future versionFor the colony to mint tokens, token ownership must be transferred to the new colony Creates a new colony in the network, at version 3

Parameters

NameTypeDescription
_tokenAddressstringAddress of an ERC20 token to serve as the colony token.
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.createColony(address)


createColony(address,uint256,string)

createColony(address,uint256,string)(_tokenAddress, _version, _colonyName, overrides?): Promise<ContractTransaction>

For the colony to mint tokens, token ownership must be transferred to the new colony Creates a new colony in the network, with an optional ENS name

Parameters

NameTypeDescription
_tokenAddressstringAddress of an ERC20 token to serve as the colony token
_versionBigNumberishThe version of colony to deploy (pass 0 for the current version)
_colonyNamestringThe label to register (if null, no label is registered)
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.createColony(address,uint256,string)


createColony(address,uint256,string,string)

createColony(address,uint256,string,string)(_tokenAddress, _version, _colonyName, _metadata, overrides?): Promise<ContractTransaction>

For the colony to mint tokens, token ownership must be transferred to the new colonyWe expect this function to only be used by the dapp Creates a new colony in the network, with an optional ENS name

Parameters

NameTypeDescription
_tokenAddressstringAddress of an ERC20 token to serve as the colony token
_versionBigNumberishThe version of colony to deploy (pass 0 for the current version)
_colonyNamestringThe label to register (if null, no label is registered)
_metadatastringThe metadata associated with the new colony
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.createColony(address,uint256,string,string)


createColony(address,uint256,string,string,bool)

createColony(address,uint256,string,string,bool)(_tokenAddress, _version, _colonyName, _orbitdb, _useExtensionManager, overrides?): Promise<ContractTransaction>

This is now deprecated and will be removed in a future versionFor the colony to mint tokens, token ownership must be transferred to the new colony Overload of the simpler createColony -- creates a new colony in the network with a variety of options, at version 4

Parameters

NameTypeDescription
_tokenAddressstringAddress of an ERC20 token to serve as the colony token
_versionBigNumberishThe version of colony to deploy (pass 0 for the current version)
_colonyNamestringThe label to register (if null, no label is registered)
_orbitdbstringDEPRECATED Currently a no-op
_useExtensionManagerbooleanDEPRECATED Currently a no-op
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.createColony(address,uint256,string,string,bool)


createColonyForFrontend

createColonyForFrontend(_tokenAddress, _name, _symbol, _decimals, _version, _colonyName, _metadata, overrides?): Promise<ContractTransaction>

We expect this function to only be used by the dapp Creates a new colony in the network, possibly with a token and token authority, with an optional ENS name

Parameters

NameTypeDescription
_tokenAddressstringAddress of an ERC20 token to serve as the colony token (optional)
_namestringThe name of the token (optional)
_symbolstringThe short 'ticket' symbol for the token (optional)
_decimalsBigNumberishThe number of decimal places that 1 user-facing token can be divided up in to (optional) In the case of ETH, and most tokens, this is 18.
_versionBigNumberishThe version of colony to deploy (pass 0 for the current version)
_colonyNamestringThe label to register (if null, no label is registered)
_metadatastringThe metadata associated with the new colony
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.createColonyForFrontend


createColonyForFrontend(address,string,string,uint8,uint256,string,string)

createColonyForFrontend(address,string,string,uint8,uint256,string,string)(_tokenAddress, _name, _symbol, _decimals, _version, _colonyName, _metadata, overrides?): Promise<ContractTransaction>

We expect this function to only be used by the dapp Creates a new colony in the network, possibly with a token and token authority, with an optional ENS name

Parameters

NameTypeDescription
_tokenAddressstringAddress of an ERC20 token to serve as the colony token (optional)
_namestringThe name of the token (optional)
_symbolstringThe short 'ticket' symbol for the token (optional)
_decimalsBigNumberishThe number of decimal places that 1 user-facing token can be divided up in to (optional) In the case of ETH, and most tokens, this is 18.
_versionBigNumberishThe version of colony to deploy (pass 0 for the current version)
_colonyNamestringThe label to register (if null, no label is registered)
_metadatastringThe metadata associated with the new colony
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.createColonyForFrontend(address,string,string,uint8,uint256,string,string)


createMetaColony

createMetaColony(_tokenAddress, overrides?): Promise<ContractTransaction>

Create the Meta Colony, same as a normal colony plus the root skill.

Parameters

NameTypeDescription
_tokenAddressstringAddress of the CLNY token
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.createMetaColony


createMetaColony(address)

createMetaColony(address)(_tokenAddress, overrides?): Promise<ContractTransaction>

Create the Meta Colony, same as a normal colony plus the root skill.

Parameters

NameTypeDescription
_tokenAddressstringAddress of the CLNY token
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.createMetaColony(address)


deployToken

deployToken(name, symbol, decimals?, overrides?): Promise<ContractTransaction>

Deploy an ERC20 token contract, compatible with Colony

Remarks

For valid values see the spec here: https://eips.ethereum.org/EIPS/eip-20

Parameters

NameTypeDescription
namestringThe token name. Can be any string. Be creative
symbolstringThe symbol of the token (e.g. CLNY)
decimals?numberThe number of token decimals
overrides?Overrides-

Returns

Promise<ContractTransaction>

ethers compatible ContractTransaction


deployTokenAuthority

deployTokenAuthority(_token, _colony, _allowedToTransfer, overrides?): Promise<ContractTransaction>

This is more expensive than deploying a token directly, but is able to be done via a metatransaction Called to deploy a token authority

Parameters

NameTypeDescription
_tokenstringThe address of the token
_colonystringThe address of the colony in control of the token
_allowedToTransferstring[]An array of addresses that are allowed to transfer the token even if it's locked
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.deployTokenAuthority


deployTokenAuthority(address,address,address[])

deployTokenAuthority(address,address,address[])(_token, _colony, _allowedToTransfer, overrides?): Promise<ContractTransaction>

This is more expensive than deploying a token directly, but is able to be done via a metatransaction Called to deploy a token authority

Parameters

NameTypeDescription
_tokenstringThe address of the token
_colonystringThe address of the colony in control of the token
_allowedToTransferstring[]An array of addresses that are allowed to transfer the token even if it's locked
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.deployTokenAuthority(address,address,address[])


deployTokenViaNetwork

deployTokenViaNetwork(_name, _symbol, _decimals, overrides?): Promise<ContractTransaction>

This is more expensive than deploying a token directly, but is able to be done via a metatransaction Called to deploy a token.

Parameters

NameTypeDescription
_namestringThe name of the token
_symbolstringThe short 'ticket' symbol for the token
_decimalsBigNumberishThe number of decimal places that 1 user-facing token can be divided up in to In the case of ETH, and most tokens, this is 18.
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.deployTokenViaNetwork


deployTokenViaNetwork(string,string,uint8)

deployTokenViaNetwork(string,string,uint8)(_name, _symbol, _decimals, overrides?): Promise<ContractTransaction>

This is more expensive than deploying a token directly, but is able to be done via a metatransaction Called to deploy a token.

Parameters

NameTypeDescription
_namestringThe name of the token
_symbolstringThe short 'ticket' symbol for the token
_decimalsBigNumberishThe number of decimal places that 1 user-facing token can be divided up in to In the case of ETH, and most tokens, this is 18.
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.deployTokenViaNetwork(string,string,uint8)


deployed

deployed(): Promise<ColonyNetworkClient>

Returns

Promise<ColonyNetworkClient>

Inherited from

IColonyNetwork.deployed


deprecateExtension

deprecateExtension(_extensionId, _deprecated, overrides?): Promise<ContractTransaction>

Set the deprecation of an extension in a colony. Can only be called by a Colony.

Parameters

NameTypeDescription
_extensionIdBytesLikekeccak256 hash of the extension name, used as an indentifier
_deprecatedbooleanWhether to deprecate the extension or not
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.deprecateExtension


deprecateExtension(bytes32,bool)

deprecateExtension(bytes32,bool)(_extensionId, _deprecated, overrides?): Promise<ContractTransaction>

Set the deprecation of an extension in a colony. Can only be called by a Colony.

Parameters

NameTypeDescription
_extensionIdBytesLikekeccak256 hash of the extension name, used as an indentifier
_deprecatedbooleanWhether to deprecate the extension or not
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.deprecateExtension(bytes32,bool)


deprecateSkill(uint256)

deprecateSkill(uint256)(_skillId, overrides?): Promise<ContractTransaction>

This function is deprecated and will be removed in a future release Mark a skill as deprecated which stops new tasks and payments from using it.

Parameters

NameTypeDescription
_skillIdBigNumberishId of the skill
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.deprecateSkill(uint256)


deprecateSkill(uint256,bool)

deprecateSkill(uint256,bool)(_skillId, _deprecated, overrides?): Promise<ContractTransaction>

Set deprecation status for a skill

Parameters

NameTypeDescription
_skillIdBigNumberishId of the skill
_deprecatedbooleanDeprecation status
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.deprecateSkill(uint256,bool)


emit

emit(eventName, ...args): boolean

Parameters

NameType
eventNamestring | EventFilter
...argsany[]

Returns

boolean

Inherited from

IColonyNetwork.emit


enterRecoveryMode

enterRecoveryMode(overrides?): Promise<ContractTransaction>

Put colony network mining into recovery mode. Can only be called by user with recovery role.

Parameters

NameType
overrides?Overrides & { from?: string }

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.enterRecoveryMode


enterRecoveryMode()

enterRecoveryMode()(overrides?): Promise<ContractTransaction>

Put colony network mining into recovery mode. Can only be called by user with recovery role.

Parameters

NameType
overrides?Overrides & { from?: string }

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.enterRecoveryMode()


executeMetaTransaction

executeMetaTransaction(userAddress, payload, sigR, sigS, sigV, overrides?): Promise<ContractTransaction>

Executes a metatransaction targeting this contract

Parameters

NameTypeDescription
userAddressstringThe address of the user that signed the metatransaction
payloadBytesLikeThe transaction data that will be executed if signature valid
sigRBytesLikeThe 'r' part of the signature
sigSBytesLikeThe 's' part of the signature
sigVBigNumberishThe 'v' part of the signature
overrides?PayableOverrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.executeMetaTransaction


executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)

executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)(userAddress, payload, sigR, sigS, sigV, overrides?): Promise<ContractTransaction>

Executes a metatransaction targeting this contract

Parameters

NameTypeDescription
userAddressstringThe address of the user that signed the metatransaction
payloadBytesLikeThe transaction data that will be executed if signature valid
sigRBytesLikeThe 'r' part of the signature
sigSBytesLikeThe 's' part of the signature
sigVBigNumberishThe 'v' part of the signature
overrides?PayableOverrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)


exitRecoveryMode

exitRecoveryMode(overrides?): Promise<ContractTransaction>

Exit recovery mode, can be called by anyone if enough whitelist approvals are given.

Parameters

NameType
overrides?Overrides & { from?: string }

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.exitRecoveryMode


exitRecoveryMode()

exitRecoveryMode()(overrides?): Promise<ContractTransaction>

Exit recovery mode, can be called by anyone if enough whitelist approvals are given.

Parameters

NameType
overrides?Overrides & { from?: string }

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.exitRecoveryMode()


fallback

fallback(overrides?): Promise<TransactionResponse>

Parameters

NameType
overrides?TransactionRequest

Returns

Promise<TransactionResponse>

Inherited from

IColonyNetwork.fallback


getChildSkillId

getChildSkillId(_skillId, _childSkillIndex, overrides?): Promise<BigNumber>

Get the id of the child skill at index _childSkillIndex for skill with Id _skillId.

Parameters

NameTypeDescription
_skillIdBigNumberishId of the skill
_childSkillIndexBigNumberishIndex of the skill.children array to get
overrides?CallOverrides-

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.getChildSkillId


getChildSkillId(uint256,uint256)

getChildSkillId(uint256,uint256)(_skillId, _childSkillIndex, overrides?): Promise<BigNumber>

Get the id of the child skill at index _childSkillIndex for skill with Id _skillId.

Parameters

NameTypeDescription
_skillIdBigNumberishId of the skill
_childSkillIndexBigNumberishIndex of the skill.children array to get
overrides?CallOverrides-

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.getChildSkillId(uint256,uint256)


getColony

getColony(_id, overrides?): Promise<string>

Get a colony address by its Id in the network.

Parameters

NameTypeDescription
_idBigNumberishId of the colony to get
overrides?CallOverrides-

Returns

Promise<string>

Inherited from

IColonyNetwork.getColony


getColony(uint256)

getColony(uint256)(_id, overrides?): Promise<string>

Get a colony address by its Id in the network.

Parameters

NameTypeDescription
_idBigNumberishId of the colony to get
overrides?CallOverrides-

Returns

Promise<string>

Inherited from

IColonyNetwork.getColony(uint256)


getColonyClient

getColonyClient(addressOrId): Promise<AnyColonyClient>

Get a ColonyClient instance for the currently deployed version of that Colony by providing the address or the integer colony number

Parameters

NameTypeDescription
addressOrIdstring | numberThe colony address (string) or the auto-incremented Colony id (integer)

Returns

Promise<AnyColonyClient>

The corresponding initialized ColonyClient instance


getColonyCount

getColonyCount(overrides?): Promise<BigNumber>

Get the number of colonies in the network.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.getColonyCount


getColonyCount()

getColonyCount()(overrides?): Promise<BigNumber>

Get the number of colonies in the network.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.getColonyCount()


getColonyVersionResolver

getColonyVersionResolver(_version, overrides?): Promise<string>

Get the Resolver address for Colony contract version _version.

Parameters

NameTypeDescription
_versionBigNumberishThe Colony contract version
overrides?CallOverrides-

Returns

Promise<string>

Inherited from

IColonyNetwork.getColonyVersionResolver


getColonyVersionResolver(uint256)

getColonyVersionResolver(uint256)(_version, overrides?): Promise<string>

Get the Resolver address for Colony contract version _version.

Parameters

NameTypeDescription
_versionBigNumberishThe Colony contract version
overrides?CallOverrides-

Returns

Promise<string>

Inherited from

IColonyNetwork.getColonyVersionResolver(uint256)


getCurrentColonyVersion

getCurrentColonyVersion(overrides?): Promise<BigNumber>

Returns the latest Colony contract version. This is the version used to create all new colonies.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.getCurrentColonyVersion


getCurrentColonyVersion()

getCurrentColonyVersion()(overrides?): Promise<BigNumber>

Returns the latest Colony contract version. This is the version used to create all new colonies.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.getCurrentColonyVersion()


getENSRegistrar

getENSRegistrar(overrides?): Promise<string>

Returns the address of the ENSRegistrar for the Network.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<string>

Inherited from

IColonyNetwork.getENSRegistrar


getENSRegistrar()

getENSRegistrar()(overrides?): Promise<string>

Returns the address of the ENSRegistrar for the Network.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<string>

Inherited from

IColonyNetwork.getENSRegistrar()


getExtensionInstallation

getExtensionInstallation(_extensionId, _colony, overrides?): Promise<string>

Get an extension's installation.

Parameters

NameTypeDescription
_extensionIdBytesLikekeccak256 hash of the extension name, used as an indentifier
_colonystringAddress of the colony the extension is installed in
overrides?CallOverrides-

Returns

Promise<string>

Inherited from

IColonyNetwork.getExtensionInstallation


getExtensionInstallation(bytes32,address)

getExtensionInstallation(bytes32,address)(_extensionId, _colony, overrides?): Promise<string>

Get an extension's installation.

Parameters

NameTypeDescription
_extensionIdBytesLikekeccak256 hash of the extension name, used as an indentifier
_colonystringAddress of the colony the extension is installed in
overrides?CallOverrides-

Returns

Promise<string>

Inherited from

IColonyNetwork.getExtensionInstallation(bytes32,address)


getExtensionResolver

getExtensionResolver(_extensionId, _version, overrides?): Promise<string>

Get an extension's resolver.

Parameters

NameTypeDescription
_extensionIdBytesLikekeccak256 hash of the extension name, used as an indentifier
_versionBigNumberishVersion of the extension
overrides?CallOverrides-

Returns

Promise<string>

Inherited from

IColonyNetwork.getExtensionResolver


getExtensionResolver(bytes32,uint256)

getExtensionResolver(bytes32,uint256)(_extensionId, _version, overrides?): Promise<string>

Get an extension's resolver.

Parameters

NameTypeDescription
_extensionIdBytesLikekeccak256 hash of the extension name, used as an indentifier
_versionBigNumberishVersion of the extension
overrides?CallOverrides-

Returns

Promise<string>

Inherited from

IColonyNetwork.getExtensionResolver(bytes32,uint256)


getFeeInverse

getFeeInverse(overrides?): Promise<BigNumber>

Return 1 / the fee to pay to the network. e.g. if the fee is 1% (or 0.01), return 100.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.getFeeInverse


getFeeInverse()

getFeeInverse()(overrides?): Promise<BigNumber>

Return 1 / the fee to pay to the network. e.g. if the fee is 1% (or 0.01), return 100.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.getFeeInverse()


getMetaColony

getMetaColony(overrides?): Promise<string>

Get the Meta Colony address.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<string>

Inherited from

IColonyNetwork.getMetaColony


getMetaColony()

getMetaColony()(overrides?): Promise<string>

Get the Meta Colony address.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<string>

Inherited from

IColonyNetwork.getMetaColony()


getMetaColonyClient

getMetaColonyClient(): Promise<AnyColonyClient>

Get the initialized MetaColony client

Returns

Promise<AnyColonyClient>

a ColonyClient instance of the MetaColony (id: 1)


getMetatransactionNonce

getMetatransactionNonce(userAddress, overrides?): Promise<BigNumber>

Gets the next metatransaction nonce for user that should be used targeting this contract

Parameters

NameTypeDescription
userAddressstringThe address of the user that will sign the metatransaction
overrides?CallOverrides-

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.getMetatransactionNonce


getMetatransactionNonce(address)

getMetatransactionNonce(address)(userAddress, overrides?): Promise<BigNumber>

Gets the next metatransaction nonce for user that should be used targeting this contract

Parameters

NameTypeDescription
userAddressstringThe address of the user that will sign the metatransaction
overrides?CallOverrides-

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.getMetatransactionNonce(address)


getMiningDelegator

getMiningDelegator(_delegate, overrides?): Promise<string>

Called to get the address _delegate is allowed to mine for

Parameters

NameTypeDescription
_delegatestringThe address that wants to mine
overrides?CallOverrides-

Returns

Promise<string>

Inherited from

IColonyNetwork.getMiningDelegator


getMiningDelegator(address)

getMiningDelegator(address)(_delegate, overrides?): Promise<string>

Called to get the address _delegate is allowed to mine for

Parameters

NameTypeDescription
_delegatestringThe address that wants to mine
overrides?CallOverrides-

Returns

Promise<string>

Inherited from

IColonyNetwork.getMiningDelegator(address)


getMiningResolver

getMiningResolver(overrides?): Promise<string>

Get the resolver to be used by new instances of ReputationMiningCycle.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<string>

Inherited from

IColonyNetwork.getMiningResolver


getMiningResolver()

getMiningResolver()(overrides?): Promise<string>

Get the resolver to be used by new instances of ReputationMiningCycle.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<string>

Inherited from

IColonyNetwork.getMiningResolver()


getMiningStake

getMiningStake(_user, overrides?): Promise<MiningStakeStructOutput>

returns how much CLNY _user has staked for the purposes of reputation mining

Parameters

NameTypeDescription
_userstringThe user to query
overrides?CallOverrides-

Returns

Promise<MiningStakeStructOutput>

Inherited from

IColonyNetwork.getMiningStake


getMiningStake(address)

getMiningStake(address)(_user, overrides?): Promise<MiningStakeStructOutput>

returns how much CLNY _user has staked for the purposes of reputation mining

Parameters

NameTypeDescription
_userstringThe user to query
overrides?CallOverrides-

Returns

Promise<MiningStakeStructOutput>

Inherited from

IColonyNetwork.getMiningStake(address)


getParentSkillId

getParentSkillId(_skillId, _parentSkillIndex, overrides?): Promise<BigNumber>

Get the id of the parent skill at index _parentSkillIndex for skill with Id _skillId.

Parameters

NameTypeDescription
_skillIdBigNumberishId of the skill
_parentSkillIndexBigNumberishIndex of the skill.parents array to get Note that not all parent skill ids are stored here. See Skill.parents member for definition on which parents are stored
overrides?CallOverrides-

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.getParentSkillId


getParentSkillId(uint256,uint256)

getParentSkillId(uint256,uint256)(_skillId, _parentSkillIndex, overrides?): Promise<BigNumber>

Get the id of the parent skill at index _parentSkillIndex for skill with Id _skillId.

Parameters

NameTypeDescription
_skillIdBigNumberishId of the skill
_parentSkillIndexBigNumberishIndex of the skill.parents array to get Note that not all parent skill ids are stored here. See Skill.parents member for definition on which parents are stored
overrides?CallOverrides-

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.getParentSkillId(uint256,uint256)


getPayoutWhitelist

getPayoutWhitelist(_token, overrides?): Promise<boolean>

Get a token's status in the payout whitelist

Parameters

NameTypeDescription
_tokenstringThe token being queried
overrides?CallOverrides-

Returns

Promise<boolean>

Inherited from

IColonyNetwork.getPayoutWhitelist


getPayoutWhitelist(address)

getPayoutWhitelist(address)(_token, overrides?): Promise<boolean>

Get a token's status in the payout whitelist

Parameters

NameTypeDescription
_tokenstringThe token being queried
overrides?CallOverrides-

Returns

Promise<boolean>

Inherited from

IColonyNetwork.getPayoutWhitelist(address)


getProfileDBAddress

getProfileDBAddress(_node, overrides?): Promise<string>

Retrieve the orbitdb address corresponding to a registered account.

Parameters

NameTypeDescription
_nodeBytesLikeThe Namehash of the account being queried.
overrides?CallOverrides-

Returns

Promise<string>

Inherited from

IColonyNetwork.getProfileDBAddress


getProfileDBAddress(bytes32)

getProfileDBAddress(bytes32)(_node, overrides?): Promise<string>

Retrieve the orbitdb address corresponding to a registered account.

Parameters

NameTypeDescription
_nodeBytesLikeThe Namehash of the account being queried.
overrides?CallOverrides-

Returns

Promise<string>

Inherited from

IColonyNetwork.getProfileDBAddress(bytes32)


getReplacementReputationUpdateLogEntry

getReplacementReputationUpdateLogEntry(_reputationMiningCycle, _id, overrides?): Promise<ReputationLogEntryStructOutput>

Get a replacement log entry (if set) for the log entry _id in the mining cycle that was at the address _reputationMiningCycle.

Parameters

NameTypeDescription
_reputationMiningCyclestringThe address of the reputation mining cycle we are asking about
_idBigNumberishThe log entry number we wish to see if there is a replacement for
overrides?CallOverrides-

Returns

Promise<ReputationLogEntryStructOutput>

Inherited from

IColonyNetwork.getReplacementReputationUpdateLogEntry


getReplacementReputationUpdateLogEntry(address,uint256)

getReplacementReputationUpdateLogEntry(address,uint256)(_reputationMiningCycle, _id, overrides?): Promise<ReputationLogEntryStructOutput>

Get a replacement log entry (if set) for the log entry _id in the mining cycle that was at the address _reputationMiningCycle.

Parameters

NameTypeDescription
_reputationMiningCyclestringThe address of the reputation mining cycle we are asking about
_idBigNumberishThe log entry number we wish to see if there is a replacement for
overrides?CallOverrides-

Returns

Promise<ReputationLogEntryStructOutput>

Inherited from

IColonyNetwork.getReplacementReputationUpdateLogEntry(address,uint256)


getReplacementReputationUpdateLogsExist

getReplacementReputationUpdateLogsExist(_reputationMiningCycle, overrides?): Promise<boolean>

Get whether any replacement log entries have been set for the supplied reputation mining cycle.Used by the client to avoid doubling the number of RPC calls when syncing from scratch.

Parameters

NameTypeDescription
_reputationMiningCyclestringThe reputation mining cycle address we want to know if any entries have been replaced in.
overrides?CallOverrides-

Returns

Promise<boolean>

Inherited from

IColonyNetwork.getReplacementReputationUpdateLogsExist


getReplacementReputationUpdateLogsExist(address)

getReplacementReputationUpdateLogsExist(address)(_reputationMiningCycle, overrides?): Promise<boolean>

Get whether any replacement log entries have been set for the supplied reputation mining cycle.Used by the client to avoid doubling the number of RPC calls when syncing from scratch.

Parameters

NameTypeDescription
_reputationMiningCyclestringThe reputation mining cycle address we want to know if any entries have been replaced in.
overrides?CallOverrides-

Returns

Promise<boolean>

Inherited from

IColonyNetwork.getReplacementReputationUpdateLogsExist(address)


getReputationMiningCycle

getReputationMiningCycle(_active, overrides?): Promise<string>

Get the address of either the active or inactive reputation mining cycle, based on active. The active reputation mining cycle is the one currently under consideration by reputation miners. The inactive reputation cycle is the one with the log that is being appended to.

Parameters

NameTypeDescription
_activebooleanWhether the user wants the active or inactive reputation mining cycle
overrides?CallOverrides-

Returns

Promise<string>

Inherited from

IColonyNetwork.getReputationMiningCycle


getReputationMiningCycle(bool)

getReputationMiningCycle(bool)(_active, overrides?): Promise<string>

Get the address of either the active or inactive reputation mining cycle, based on active. The active reputation mining cycle is the one currently under consideration by reputation miners. The inactive reputation cycle is the one with the log that is being appended to.

Parameters

NameTypeDescription
_activebooleanWhether the user wants the active or inactive reputation mining cycle
overrides?CallOverrides-

Returns

Promise<string>

Inherited from

IColonyNetwork.getReputationMiningCycle(bool)


getReputationMiningCycleReward

getReputationMiningCycleReward(overrides?): Promise<BigNumber>

Called to get the total per-cycle reputation mining reward.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.getReputationMiningCycleReward


getReputationMiningCycleReward()

getReputationMiningCycleReward()(overrides?): Promise<BigNumber>

Called to get the total per-cycle reputation mining reward.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.getReputationMiningCycleReward()


getReputationMiningSkillId

getReputationMiningSkillId(overrides?): Promise<BigNumber>

Get the skillId of the reputation mining skill. Only set once the metacolony is set up.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.getReputationMiningSkillId


getReputationMiningSkillId()

getReputationMiningSkillId()(overrides?): Promise<BigNumber>

Get the skillId of the reputation mining skill. Only set once the metacolony is set up.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.getReputationMiningSkillId()


getReputationRootHash

getReputationRootHash(overrides?): Promise<string>

Get the root hash of the current reputation state tree.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<string>

Inherited from

IColonyNetwork.getReputationRootHash


getReputationRootHash()

getReputationRootHash()(overrides?): Promise<string>

Get the root hash of the current reputation state tree.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<string>

Inherited from

IColonyNetwork.getReputationRootHash()


getReputationRootHashNLeaves

getReputationRootHashNLeaves(overrides?): Promise<BigNumber>

I cannot see a reason why a user's client would need to call this - only stored to help with some edge cases in reputation mining dispute resolution. Get the number of leaves in the current reputation state tree.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.getReputationRootHashNLeaves


getReputationRootHashNLeaves()

getReputationRootHashNLeaves()(overrides?): Promise<BigNumber>

I cannot see a reason why a user's client would need to call this - only stored to help with some edge cases in reputation mining dispute resolution. Get the number of leaves in the current reputation state tree.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.getReputationRootHashNLeaves()


getReputationRootHashNNodes

getReputationRootHashNNodes(overrides?): Promise<BigNumber>

Deprecated, replaced by getReputationRootHashNLeaves which does the same thing but is more accurately named.will be removed in a later version. Get the number of leaves in the current reputation state tree.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.getReputationRootHashNNodes


getReputationRootHashNNodes()

getReputationRootHashNNodes()(overrides?): Promise<BigNumber>

Deprecated, replaced by getReputationRootHashNLeaves which does the same thing but is more accurately named.will be removed in a later version. Get the number of leaves in the current reputation state tree.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.getReputationRootHashNNodes()


getSkill

getSkill(_skillId, overrides?): Promise<SkillStructOutput>

Get the nParents and nChildren of skill with id _skillId.

Parameters

NameTypeDescription
_skillIdBigNumberishId of the skill
overrides?CallOverrides-

Returns

Promise<SkillStructOutput>

Inherited from

IColonyNetwork.getSkill


getSkill(uint256)

getSkill(uint256)(_skillId, overrides?): Promise<SkillStructOutput>

Get the nParents and nChildren of skill with id _skillId.

Parameters

NameTypeDescription
_skillIdBigNumberishId of the skill
overrides?CallOverrides-

Returns

Promise<SkillStructOutput>

Inherited from

IColonyNetwork.getSkill(uint256)


getSkillCount

getSkillCount(overrides?): Promise<BigNumber>

Get the number of skills in the network including both global and local skills.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.getSkillCount


getSkillCount()

getSkillCount()(overrides?): Promise<BigNumber>

Get the number of skills in the network including both global and local skills.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.getSkillCount()


getTokenLocking

getTokenLocking(overrides?): Promise<string>

Get token locking contract address.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<string>

Inherited from

IColonyNetwork.getTokenLocking


getTokenLocking()

getTokenLocking()(overrides?): Promise<string>

Get token locking contract address.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<string>

Inherited from

IColonyNetwork.getTokenLocking()


getTokenLockingClient

getTokenLockingClient(): Promise<TokenLockingClient>

Gets the TokenLockingClient

Returns

Promise<TokenLockingClient>

an initialized version of the TokenLockingClient


initialise

initialise(_resolver, _version, overrides?): Promise<ContractTransaction>

Only allowed to be run once, by the Network owner before any Colony versions are added. Initialises the colony network by setting the first Colony version resolver to _resolver address.

Parameters

NameTypeDescription
_resolverstringAddress of the resolver for Colony contract
_versionBigNumberishVersion of the Colony contract the resolver represents
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.initialise


initialise(address,uint256)

initialise(address,uint256)(_resolver, _version, overrides?): Promise<ContractTransaction>

Only allowed to be run once, by the Network owner before any Colony versions are added. Initialises the colony network by setting the first Colony version resolver to _resolver address.

Parameters

NameTypeDescription
_resolverstringAddress of the resolver for Colony contract
_versionBigNumberishVersion of the Colony contract the resolver represents
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.initialise(address,uint256)


initialiseReputationMining

initialiseReputationMining(overrides?): Promise<ContractTransaction>

Creates initial inactive reputation mining cycle.

Parameters

NameType
overrides?Overrides & { from?: string }

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.initialiseReputationMining


initialiseReputationMining()

initialiseReputationMining()(overrides?): Promise<ContractTransaction>

Creates initial inactive reputation mining cycle.

Parameters

NameType
overrides?Overrides & { from?: string }

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.initialiseReputationMining()


initialiseRootLocalSkill

initialiseRootLocalSkill(overrides?): Promise<ContractTransaction>

Initialise the local skills tree for a colony

Parameters

NameType
overrides?Overrides & { from?: string }

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.initialiseRootLocalSkill


initialiseRootLocalSkill()

initialiseRootLocalSkill()(overrides?): Promise<ContractTransaction>

Initialise the local skills tree for a colony

Parameters

NameType
overrides?Overrides & { from?: string }

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.initialiseRootLocalSkill()


installExtension

installExtension(_extensionId, _version, overrides?): Promise<ContractTransaction>

Install an extension in a colony. Can only be called by a Colony.

Parameters

NameTypeDescription
_extensionIdBytesLikekeccak256 hash of the extension name, used as an indentifier
_versionBigNumberishVersion of the extension to install
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.installExtension


installExtension(bytes32,uint256)

installExtension(bytes32,uint256)(_extensionId, _version, overrides?): Promise<ContractTransaction>

Install an extension in a colony. Can only be called by a Colony.

Parameters

NameTypeDescription
_extensionIdBytesLikekeccak256 hash of the extension name, used as an indentifier
_versionBigNumberishVersion of the extension to install
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.installExtension(bytes32,uint256)


isColony

isColony(_colony, overrides?): Promise<boolean>

Check if specific address is a colony created on colony network.

Parameters

NameTypeDescription
_colonystringAddress of the colony
overrides?CallOverrides-

Returns

Promise<boolean>

Inherited from

IColonyNetwork.isColony


isColony(address)

isColony(address)(_colony, overrides?): Promise<boolean>

Check if specific address is a colony created on colony network.

Parameters

NameTypeDescription
_colonystringAddress of the colony
overrides?CallOverrides-

Returns

Promise<boolean>

Inherited from

IColonyNetwork.isColony(address)


isInRecoveryMode

isInRecoveryMode(overrides?): Promise<boolean>

Is colony network in recovery mode.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<boolean>

Inherited from

IColonyNetwork.isInRecoveryMode


isInRecoveryMode()

isInRecoveryMode()(overrides?): Promise<boolean>

Is colony network in recovery mode.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<boolean>

Inherited from

IColonyNetwork.isInRecoveryMode()


listenerCount

listenerCount(eventName?): number

Parameters

NameType
eventName?string | EventFilter

Returns

number

Inherited from

IColonyNetwork.listenerCount


listeners

listeners<TEvent>(eventFilter?): TypedListener<TEvent>[]

Type parameters

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters

NameType
eventFilter?TypedEventFilter<TEvent>

Returns

TypedListener<TEvent>[]

Inherited from

IColonyNetwork.listeners

listeners(eventName?): Listener[]

Parameters

NameType
eventName?string

Returns

Listener[]

Inherited from

IColonyNetwork.listeners


lookupRegisteredENSDomain

lookupRegisteredENSDomain(_addr, overrides?): Promise<string>

Reverse lookup a username from an address.

Parameters

NameTypeDescription
_addrstringThe address we wish to find the corresponding ENS domain for (if any)
overrides?CallOverrides-

Returns

Promise<string>

Inherited from

IColonyNetwork.lookupRegisteredENSDomain


lookupRegisteredENSDomain(address)

lookupRegisteredENSDomain(address)(_addr, overrides?): Promise<string>

Reverse lookup a username from an address.

Parameters

NameTypeDescription
_addrstringThe address we wish to find the corresponding ENS domain for (if any)
overrides?CallOverrides-

Returns

Promise<string>

Inherited from

IColonyNetwork.lookupRegisteredENSDomain(address)


lookupRegisteredENSDomainWithNetworkPatches

lookupRegisteredENSDomainWithNetworkPatches(address): Promise<string>

Like lookupRegisteredENSDomain, but also working on the Goerli testnet

Remarks

On Goerli, all ens domains have the .test suffix. The contracts return .eth anyways. We patch the original function to fix this problem. On any other network it will return the original function

Parameters

NameTypeDescription
addressstringAddress we want to look up

Returns

Promise<string>

an ENS name in the form of [username].user.joincolony.eth or [colonyName].colony.joincolony.eth


multicall

multicall(data, overrides?): Promise<ContractTransaction>

The msg.value should not be trusted for any method callable from multicall. Call multiple functions in the current contract and return the data from all of them if they all succeed

Parameters

NameTypeDescription
dataBytesLike[]The encoded function data for each of the calls to make to this contract
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.multicall


multicall(bytes[])

multicall(bytes[])(data, overrides?): Promise<ContractTransaction>

The msg.value should not be trusted for any method callable from multicall. Call multiple functions in the current contract and return the data from all of them if they all succeed

Parameters

NameTypeDescription
dataBytesLike[]The encoded function data for each of the calls to make to this contract
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.multicall(bytes[])


numRecoveryRoles

numRecoveryRoles(overrides?): Promise<BigNumber>

Return number of recovery roles.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.numRecoveryRoles


numRecoveryRoles()

numRecoveryRoles()(overrides?): Promise<BigNumber>

Return number of recovery roles.

Parameters

NameType
overrides?CallOverrides

Returns

Promise<BigNumber>

Inherited from

IColonyNetwork.numRecoveryRoles()


punishStakers

punishStakers(_stakers, _amount, overrides?): Promise<ContractTransaction>

While external, it can only be called successfully by the current ReputationMiningCycle. Function called to punish people who staked against a new reputation root hash that turned out to be incorrect.

Parameters

NameTypeDescription
_stakersstring[]Array of the addresses of stakers to punish
_amountBigNumberishAmount of stake to slash
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.punishStakers


punishStakers(address[],uint256)

punishStakers(address[],uint256)(_stakers, _amount, overrides?): Promise<ContractTransaction>

While external, it can only be called successfully by the current ReputationMiningCycle. Function called to punish people who staked against a new reputation root hash that turned out to be incorrect.

Parameters

NameTypeDescription
_stakersstring[]Array of the addresses of stakers to punish
_amountBigNumberishAmount of stake to slash
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.punishStakers(address[],uint256)


queryFilter

queryFilter<TEvent>(event, fromBlockOrBlockhash?, toBlock?): Promise<TEvent[]>

Type parameters

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters

NameType
eventTypedEventFilter<TEvent>
fromBlockOrBlockhash?string | number
toBlock?string | number

Returns

Promise<TEvent[]>

Inherited from

IColonyNetwork.queryFilter


registerColonyLabel

registerColonyLabel(_colonyName, _orbitdb, overrides?): Promise<ContractTransaction>

Register a "colony.joincolony.eth" label. Can only be called by a Colony.

Parameters

NameTypeDescription
_colonyNamestringThe label to register.
_orbitdbstringThe path of the orbitDB database associated with the colony name
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.registerColonyLabel


registerColonyLabel(string,string)

registerColonyLabel(string,string)(_colonyName, _orbitdb, overrides?): Promise<ContractTransaction>

Register a "colony.joincolony.eth" label. Can only be called by a Colony.

Parameters

NameTypeDescription
_colonyNamestringThe label to register.
_orbitdbstringThe path of the orbitDB database associated with the colony name
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.registerColonyLabel(string,string)


registerUserLabel

registerUserLabel(_username, _orbitdb, overrides?): Promise<ContractTransaction>

Register a "user.joincolony.eth" label.

Parameters

NameTypeDescription
_usernamestringThe label to register
_orbitdbstringThe path of the orbitDB database associated with the user profile
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.registerUserLabel


registerUserLabel(string,string)

registerUserLabel(string,string)(_username, _orbitdb, overrides?): Promise<ContractTransaction>

Register a "user.joincolony.eth" label.

Parameters

NameTypeDescription
_usernamestringThe label to register
_orbitdbstringThe path of the orbitDB database associated with the user profile
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.registerUserLabel(string,string)


removeAllListeners

removeAllListeners<TEvent>(eventFilter): ColonyNetworkClient

Type parameters

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters

NameType
eventFilterTypedEventFilter<TEvent>

Returns

ColonyNetworkClient

Inherited from

IColonyNetwork.removeAllListeners

removeAllListeners(eventName?): ColonyNetworkClient

Parameters

NameType
eventName?string

Returns

ColonyNetworkClient

Inherited from

IColonyNetwork.removeAllListeners


removeRecoveryRole

removeRecoveryRole(_user, overrides?): Promise<ContractTransaction>

Remove colony recovery role. Can only be called by root role.

Parameters

NameTypeDescription
_userstringUser we want to remove recovery role from
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.removeRecoveryRole


removeRecoveryRole(address)

removeRecoveryRole(address)(_user, overrides?): Promise<ContractTransaction>

Remove colony recovery role. Can only be called by root role.

Parameters

NameTypeDescription
_userstringUser we want to remove recovery role from
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.removeRecoveryRole(address)


reward

reward(_recipient, _amount, overrides?): Promise<ContractTransaction>

Only callable by the active reputation mining cycle Used to track that a user is eligible to claim a reward

Parameters

NameTypeDescription
_recipientstringThe address receiving the award
_amountBigNumberishThe amount of CLNY to be awarded
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.reward


reward(address,uint256)

reward(address,uint256)(_recipient, _amount, overrides?): Promise<ContractTransaction>

Only callable by the active reputation mining cycle Used to track that a user is eligible to claim a reward

Parameters

NameTypeDescription
_recipientstringThe address receiving the award
_amountBigNumberishThe amount of CLNY to be awarded
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.reward(address,uint256)


setFeeInverse

setFeeInverse(_feeInverse, overrides?): Promise<ContractTransaction>

Set the colony network fee to pay. e.g. if the fee is 1% (or 0.01), pass 100 as _feeInverse.

Parameters

NameTypeDescription
_feeInverseBigNumberishThe inverse of the network fee to set
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.setFeeInverse


setFeeInverse(uint256)

setFeeInverse(uint256)(_feeInverse, overrides?): Promise<ContractTransaction>

Set the colony network fee to pay. e.g. if the fee is 1% (or 0.01), pass 100 as _feeInverse.

Parameters

NameTypeDescription
_feeInverseBigNumberishThe inverse of the network fee to set
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.setFeeInverse(uint256)


setMiningDelegate

setMiningDelegate(_delegate, _allowed, overrides?): Promise<ContractTransaction>

Called to give or remove another address's permission to mine on your behalf

Parameters

NameTypeDescription
_delegatestringThe address you're giving or removing permission from
_allowedbooleanWhether they are allowed (true) or not (false) to mine on your behalf
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.setMiningDelegate


setMiningDelegate(address,bool)

setMiningDelegate(address,bool)(_delegate, _allowed, overrides?): Promise<ContractTransaction>

Called to give or remove another address's permission to mine on your behalf

Parameters

NameTypeDescription
_delegatestringThe address you're giving or removing permission from
_allowedbooleanWhether they are allowed (true) or not (false) to mine on your behalf
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.setMiningDelegate(address,bool)


setMiningResolver

setMiningResolver(_miningResolverAddress, overrides?): Promise<ContractTransaction>

Set the resolver to be used by new instances of ReputationMiningCycle.

Parameters

NameTypeDescription
_miningResolverAddressstringThe address of the Resolver contract with the functions correctly wired.
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.setMiningResolver


setMiningResolver(address)

setMiningResolver(address)(_miningResolverAddress, overrides?): Promise<ContractTransaction>

Set the resolver to be used by new instances of ReputationMiningCycle.

Parameters

NameTypeDescription
_miningResolverAddressstringThe address of the Resolver contract with the functions correctly wired.
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.setMiningResolver(address)


setPayoutWhitelist

setPayoutWhitelist(_token, _status, overrides?): Promise<ContractTransaction>

Set a token's status in the payout whitelist

Parameters

NameTypeDescription
_tokenstringThe token being set
_statusbooleanThe whitelist status
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.setPayoutWhitelist


setPayoutWhitelist(address,bool)

setPayoutWhitelist(address,bool)(_token, _status, overrides?): Promise<ContractTransaction>

Set a token's status in the payout whitelist

Parameters

NameTypeDescription
_tokenstringThe token being set
_statusbooleanThe whitelist status
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.setPayoutWhitelist(address,bool)


setRecoveryRole

setRecoveryRole(_user, overrides?): Promise<ContractTransaction>

Set new colony recovery role. Can be called by root.

Parameters

NameTypeDescription
_userstringUser we want to give a recovery role to
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.setRecoveryRole


setRecoveryRole(address)

setRecoveryRole(address)(_user, overrides?): Promise<ContractTransaction>

Set new colony recovery role. Can be called by root.

Parameters

NameTypeDescription
_userstringUser we want to give a recovery role to
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.setRecoveryRole(address)


setReplacementReputationUpdateLogEntry

setReplacementReputationUpdateLogEntry(_reputationMiningCycle, _id, _user, _amount, _skillId, _colony, _nUpdates, _nPreviousUpdates, overrides?): Promise<ContractTransaction>

Note that strictly, _nUpdates and _nPreviousUpdates don't need to be set - they're only used during dispute resolution, which these replacement log entries are never used for. However, for ease of resyncing the client, we have decided to include them for now. Set a replacement log entry if we're in recovery mode.

Parameters

NameTypeDescription
_reputationMiningCyclestringThe address of the reputation mining cycle that the log was in.
_idBigNumberishThe number of the log entry in the reputation mining cycle in question.
_userstringThe address of the user earning / losing the reputation
_amountBigNumberishThe amount of reputation being earned / lost
_skillIdBigNumberishThe id of the origin skill for the reputation update
_colonystringThe address of the colony being updated
_nUpdatesBigNumberishThe number of updates the log entry corresponds to
_nPreviousUpdatesBigNumberishThe number of updates in the log before this entry
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.setReplacementReputationUpdateLogEntry


setReplacementReputationUpdateLogEntry(address,uint256,address,int256,uint256,address,uint128,uint128)

setReplacementReputationUpdateLogEntry(address,uint256,address,int256,uint256,address,uint128,uint128)(_reputationMiningCycle, _id, _user, _amount, _skillId, _colony, _nUpdates, _nPreviousUpdates, overrides?): Promise<ContractTransaction>

Note that strictly, _nUpdates and _nPreviousUpdates don't need to be set - they're only used during dispute resolution, which these replacement log entries are never used for. However, for ease of resyncing the client, we have decided to include them for now. Set a replacement log entry if we're in recovery mode.

Parameters

NameTypeDescription
_reputationMiningCyclestringThe address of the reputation mining cycle that the log was in.
_idBigNumberishThe number of the log entry in the reputation mining cycle in question.
_userstringThe address of the user earning / losing the reputation
_amountBigNumberishThe amount of reputation being earned / lost
_skillIdBigNumberishThe id of the origin skill for the reputation update
_colonystringThe address of the colony being updated
_nUpdatesBigNumberishThe number of updates the log entry corresponds to
_nPreviousUpdatesBigNumberishThe number of updates in the log before this entry
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.setReplacementReputationUpdateLogEntry(address,uint256,address,int256,uint256,address,uint128,uint128)


setReputationMiningCycleReward

setReputationMiningCycleReward(_amount, overrides?): Promise<ContractTransaction>

Can only be called by the MetaColony. Called to set the total per-cycle reputation reward, which will be split between all miners.

Parameters

NameTypeDescription
_amountBigNumberishThe CLNY awarded per mining cycle to the miners
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.setReputationMiningCycleReward


setReputationMiningCycleReward(uint256)

setReputationMiningCycleReward(uint256)(_amount, overrides?): Promise<ContractTransaction>

Can only be called by the MetaColony. Called to set the total per-cycle reputation reward, which will be split between all miners.

Parameters

NameTypeDescription
_amountBigNumberishThe CLNY awarded per mining cycle to the miners
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.setReputationMiningCycleReward(uint256)


setReputationRootHash

setReputationRootHash(_newHash, _newNLeaves, _stakers, overrides?): Promise<ContractTransaction>

Set a new Reputation root hash and starts a new mining cycle. Can only be called by the ReputationMiningCycle contract.

Parameters

NameTypeDescription
_newHashBytesLikeThe reputation root hash
_newNLeavesBigNumberishThe updated leaves count value
_stakersstring[]Array of users who submitted or backed the hash, being accepted here as the new reputation root hash
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.setReputationRootHash


setReputationRootHash(bytes32,uint256,address[])

setReputationRootHash(bytes32,uint256,address[])(_newHash, _newNLeaves, _stakers, overrides?): Promise<ContractTransaction>

Set a new Reputation root hash and starts a new mining cycle. Can only be called by the ReputationMiningCycle contract.

Parameters

NameTypeDescription
_newHashBytesLikeThe reputation root hash
_newNLeavesBigNumberishThe updated leaves count value
_stakersstring[]Array of users who submitted or backed the hash, being accepted here as the new reputation root hash
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.setReputationRootHash(bytes32,uint256,address[])


setStorageSlotRecovery

setStorageSlotRecovery(_slot, _value, overrides?): Promise<ContractTransaction>

certain critical variables are protected from editing in this function Update value of arbitrary storage variable. Can only be called by user with recovery role.

Parameters

NameTypeDescription
_slotBigNumberishUint address of storage slot to be updated
_valueBytesLikeword of data to be set
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.setStorageSlotRecovery


setStorageSlotRecovery(uint256,bytes32)

setStorageSlotRecovery(uint256,bytes32)(_slot, _value, overrides?): Promise<ContractTransaction>

certain critical variables are protected from editing in this function Update value of arbitrary storage variable. Can only be called by user with recovery role.

Parameters

NameTypeDescription
_slotBigNumberishUint address of storage slot to be updated
_valueBytesLikeword of data to be set
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.setStorageSlotRecovery(uint256,bytes32)


setTokenLocking

setTokenLocking(_tokenLockingAddress, overrides?): Promise<ContractTransaction>

Sets the token locking address. This is only set once, and can't be changed afterwards.

Parameters

NameTypeDescription
_tokenLockingAddressstringAddress of the locking contract
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.setTokenLocking


setTokenLocking(address)

setTokenLocking(address)(_tokenLockingAddress, overrides?): Promise<ContractTransaction>

Sets the token locking address. This is only set once, and can't be changed afterwards.

Parameters

NameTypeDescription
_tokenLockingAddressstringAddress of the locking contract
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.setTokenLocking(address)


setupRegistrar

setupRegistrar(_ens, _rootNode, overrides?): Promise<ContractTransaction>

Setup registrar with ENS and root node.

Parameters

NameTypeDescription
_ensstringAddress of ENS registrar
_rootNodeBytesLikeNamehash of the root node for the domain
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.setupRegistrar


setupRegistrar(address,bytes32)

setupRegistrar(address,bytes32)(_ens, _rootNode, overrides?): Promise<ContractTransaction>

Setup registrar with ENS and root node.

Parameters

NameTypeDescription
_ensstringAddress of ENS registrar
_rootNodeBytesLikeNamehash of the root node for the domain
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.setupRegistrar(address,bytes32)


stakeForMining

stakeForMining(_amount, overrides?): Promise<ContractTransaction>

Stake CLNY to allow the staker to participate in reputation mining.

Parameters

NameTypeDescription
_amountBigNumberishAmount of CLNY to stake for the purposes of mining
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.stakeForMining


stakeForMining(uint256)

stakeForMining(uint256)(_amount, overrides?): Promise<ContractTransaction>

Stake CLNY to allow the staker to participate in reputation mining.

Parameters

NameTypeDescription
_amountBigNumberishAmount of CLNY to stake for the purposes of mining
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.stakeForMining(uint256)


startNextCycle

startNextCycle(overrides?): Promise<ContractTransaction>

Starts a new Reputation Mining cycle. Explicitly called only the first time, subsequently called from within setReputationRootHash.

Parameters

NameType
overrides?Overrides & { from?: string }

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.startNextCycle


startNextCycle()

startNextCycle()(overrides?): Promise<ContractTransaction>

Starts a new Reputation Mining cycle. Explicitly called only the first time, subsequently called from within setReputationRootHash.

Parameters

NameType
overrides?Overrides & { from?: string }

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.startNextCycle()


startTokenAuction

startTokenAuction(_token, overrides?): Promise<ContractTransaction>

Create and start a new DutchAuction for the entire amount of _token owned by the Colony Network.

Parameters

NameTypeDescription
_tokenstringAddress of the token held by the network to be auctioned
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.startTokenAuction


startTokenAuction(address)

startTokenAuction(address)(_token, overrides?): Promise<ContractTransaction>

Create and start a new DutchAuction for the entire amount of _token owned by the Colony Network.

Parameters

NameTypeDescription
_tokenstringAddress of the token held by the network to be auctioned
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.startTokenAuction(address)


supportsInterface

supportsInterface(_interfaceID, overrides?): Promise<boolean>

Interface identification is specified in ERC-165. Query if a contract implements an interface

Parameters

NameTypeDescription
_interfaceIDBytesLikeThe interface identifier, as specified in ERC-165
overrides?CallOverrides-

Returns

Promise<boolean>

Inherited from

IColonyNetwork.supportsInterface


supportsInterface(bytes4)

supportsInterface(bytes4)(_interfaceID, overrides?): Promise<boolean>

Interface identification is specified in ERC-165. Query if a contract implements an interface

Parameters

NameTypeDescription
_interfaceIDBytesLikeThe interface identifier, as specified in ERC-165
overrides?CallOverrides-

Returns

Promise<boolean>

Inherited from

IColonyNetwork.supportsInterface(bytes4)


uninstallExtension

uninstallExtension(_extensionId, overrides?): Promise<ContractTransaction>

Uninstall an extension in a colony. Can only be called by a Colony.

Parameters

NameTypeDescription
_extensionIdBytesLikekeccak256 hash of the extension name, used as an indentifier
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.uninstallExtension


uninstallExtension(bytes32)

uninstallExtension(bytes32)(_extensionId, overrides?): Promise<ContractTransaction>

Uninstall an extension in a colony. Can only be called by a Colony.

Parameters

NameTypeDescription
_extensionIdBytesLikekeccak256 hash of the extension name, used as an indentifier
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.uninstallExtension(bytes32)


unstakeForMining

unstakeForMining(_amount, overrides?): Promise<ContractTransaction>

Unstake CLNY currently staked for reputation mining.

Parameters

NameTypeDescription
_amountBigNumberishAmount of CLNY staked for mining to unstake
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.unstakeForMining


unstakeForMining(uint256)

unstakeForMining(uint256)(_amount, overrides?): Promise<ContractTransaction>

Unstake CLNY currently staked for reputation mining.

Parameters

NameTypeDescription
_amountBigNumberishAmount of CLNY staked for mining to unstake
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.unstakeForMining(uint256)


updateColonyOrbitDB

updateColonyOrbitDB(_orbitdb, overrides?): Promise<ContractTransaction>

Update a colony's orbitdb address. Can only be called by a colony with a registered subdomain

Parameters

NameTypeDescription
_orbitdbstringThe path of the orbitDB database to be associated with the colony
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.updateColonyOrbitDB


updateColonyOrbitDB(string)

updateColonyOrbitDB(string)(_orbitdb, overrides?): Promise<ContractTransaction>

Update a colony's orbitdb address. Can only be called by a colony with a registered subdomain

Parameters

NameTypeDescription
_orbitdbstringThe path of the orbitDB database to be associated with the colony
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.updateColonyOrbitDB(string)


updateUserOrbitDB

updateUserOrbitDB(_orbitdb, overrides?): Promise<ContractTransaction>

Update a user's orbitdb address. Can only be called by a user with a registered subdomain

Parameters

NameTypeDescription
_orbitdbstringThe path of the orbitDB database to be associated with the user
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.updateUserOrbitDB


updateUserOrbitDB(string)

updateUserOrbitDB(string)(_orbitdb, overrides?): Promise<ContractTransaction>

Update a user's orbitdb address. Can only be called by a user with a registered subdomain

Parameters

NameTypeDescription
_orbitdbstringThe path of the orbitDB database to be associated with the user
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.updateUserOrbitDB(string)


upgradeExtension

upgradeExtension(_extensionId, _newVersion, overrides?): Promise<ContractTransaction>

Upgrade an extension in a colony. Can only be called by a Colony.

Parameters

NameTypeDescription
_extensionIdBytesLikekeccak256 hash of the extension name, used as an indentifier
_newVersionBigNumberishVersion of the extension to upgrade to (must be one greater than current)
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.upgradeExtension


upgradeExtension(bytes32,uint256)

upgradeExtension(bytes32,uint256)(_extensionId, _newVersion, overrides?): Promise<ContractTransaction>

Upgrade an extension in a colony. Can only be called by a Colony.

Parameters

NameTypeDescription
_extensionIdBytesLikekeccak256 hash of the extension name, used as an indentifier
_newVersionBigNumberishVersion of the extension to upgrade to (must be one greater than current)
overrides?Overrides & { from?: string }-

Returns

Promise<ContractTransaction>

Inherited from

IColonyNetwork.upgradeExtension(bytes32,uint256)