AuthorizationManager
Used to register authorized proxy, each user has their own independent proxy.
Methods
revoke
registerProxy
Returns
Name | Type | Description |
---|---|---|
proxy | address | address of registered proxy |
renounceOwnership
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
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
Parameters
Name | Type | Description |
---|---|---|
owner | address | address of proxy owner |
Returns
Name | Type | Description |
---|---|---|
proxy | address | address of proxy |
authorizedAddress
Returns
Name | Type | Description |
---|---|---|
authorizedAddress | address | address of authorized contract |
WETH
Returns
Name | Type | Description |
---|---|---|
WETH | address | address of the WETH ("Wrapped Ether") contract |
revoked
Returns
Name | Type | Description |
---|---|---|
revoked | bool | whether AuthorizationManager is revoked |
proxyImplemention
Returns
Name | Type | Description |
---|---|---|
proxyImplemention | address | address of proxy implemention |
Events
Revoked
Last updated