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

NameTypeDescription

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

NameTypeDescription

newOwner

address

address of the new owner

View methods

proxies

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

Parameters

NameTypeDescription

owner

address

address of proxy owner

Returns

NameTypeDescription

proxy

address

address of proxy

authorizedAddress

function authorizedAddress() external view returns (address)

Returns

NameTypeDescription

authorizedAddress

address

address of authorized contract

WETH

function WETH() external view returns (address)

Returns

NameTypeDescription

WETH

address

address of the WETH ("Wrapped Ether") contract

revoked

function revoked() external view returns (bool)

Returns

NameTypeDescription

revoked

bool

whether AuthorizationManager is revoked

proxyImplemention

function proxyImplemention() external view returns (address)

Returns

NameTypeDescription

proxyImplemention

address

address of proxy implemention

Events

Revoked

event Revoked()

Last updated