Dispatcher

notice

Proxying requests to other contracts. Client should use ABI of real contract and address of this contract

methods

constructor

params

_target

Target contract address

finishUpgrade(address)

details

Override function using empty code because no reason to call this function in Dispatcher

implementation()

notice

ERC897, gets the address of the implementation where every call will be delegated

isOwner()

returns

_0

true if msg.sender is the owner of the contract.

owner()

returns

_0

the address of the owner.

proxyType()

notice

ERC897, whether it is a forwarding (1) or an upgradeable (2) proxy

renounceOwnership()

details

Allows the current owner to relinquish control of the contract.

notice

Renouncing to ownership will leave the contract without an owner. It will not be possible to call the functions with the onlyOwner modifier anymore.

rollback()

details

Test storage carefully before upgrade again after rollback

notice

Rollback to previous target

transferOwnership(address)

details

Allows the current owner to transfer control of the contract to a newOwner.

params

newOwner

The address to transfer ownership to.

upgrade(address)

notice

Verify new contract storage and upgrade target

params

_target

New target contract address

verifyState(address)

details

Method for verifying storage state. Should check that new target contract returns right storage value