Comment on page
AuthorizationManager
Used to register authorized proxy, each user has their own independent proxy.
function revoke() external nopayable
function registerProxy() external returns (address) nopayable
Returns
Name | Type | Description |
---|---|---|
proxy | address | address of registered proxy |
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.function transferOwnership(address newOwner) external nonpayable
Transfers ownership of the contract to a new account (
newOwner
). Can only be called by the current owner.Name | Type | Description |
---|---|---|
newOwner | address | address of the new owner |
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 |
function authorizedAddress() external view returns (address)
Returns
Name | Type | Description |
---|---|---|
authorizedAddress | address | address of authorized contract |
function WETH() external view returns (address)
Name | Type | Description |
---|---|---|
WETH | address | address of the WETH ("Wrapped Ether") contract |
function revoked() external view returns (bool)
Name | Type | Description |
---|---|---|
revoked | bool | whether AuthorizationManager is revoked |
function proxyImplemention() external view returns (address)
Name | Type | Description |
---|---|---|
proxyImplemention | address | address of proxy implemention |
event Revoked()