Skip to main content

Ether Router (IEtherRouter)

Ether Router is an internal contract used to implement upgradability. A proxy contract, this contract provides consistent storage while allowing for function calls to be dispatched to other contracts. This allows for a colony's state to remain constant while upgrading the function logic available to users.

Interface Methods

setAuthority(address authority_)

Sets the EtherRouter authority. Inherited from DSAuth.

Parameters

NameTypeDescription
authority_addressAddress of the new DSAuthority instance

setOwner(address owner_)

Sets the EtherRouter owner. Inherited from DSAuth.

Parameters

NameTypeDescription
owner_addressAddress of the new owner

setResolver(address _resolver)

Sets the resolver address. This is used in the routing of all delegatecalls by the EtherRouter.

Parameters

NameTypeDescription
_resolveraddressAddress of the new Resolver