AuthorizationManager

Used to register authorized proxy, each user has their own independent proxy.

Methods

revoke

function revoke() external nopayable

registerProxy

function registerProxy() external returns (address) nopayable

Returns

Name
Type
Description

proxy

address

address of registered proxy

renounceOwnership

function renounceOwnership() external nonpayable

Leaves the contract without owner. It will not be possible to call onlyOwner functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.

transferOwnership

function transferOwnership(address newOwner) external nonpayable

Transfers ownership of the contract to a new account (newOwner). Can only be called by the current owner.

Parameters

Name
Type
Description

newOwner

address

address of the new owner

View methods

proxies

function proxies(address owner) external view returns (address)

Parameters

Name
Type
Description

owner

address

address of proxy owner

Returns

Name
Type
Description

proxy

address

address of proxy

authorizedAddress

function authorizedAddress() external view returns (address)

Returns

Name
Type
Description

authorizedAddress

address

address of authorized contract

WETH

function WETH() external view returns (address)

Returns

Name
Type
Description

WETH

address

address of the WETH ("Wrapped Ether") contract

revoked

function revoked() external view returns (bool)

Returns

Name
Type
Description

revoked

bool

whether AuthorizationManager is revoked

proxyImplemention

function proxyImplemention() external view returns (address)

Returns

Name
Type
Description

proxyImplemention

address

address of proxy implemention

Events

Revoked

event Revoked()

Last updated