DummyWeth
Methods
WETH
Returns
Name
Type
Description
_0
contract IWETH9
undefined
owner
Returns the address of the current owner.
Returns
Name
Type
Description
_0
address
undefined
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.
rescue
Parameters
Name
Type
Description
amount
uint256
undefined
setWETHAddress
Parameters
Name
Type
Description
_weth
address payable
undefined
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
undefined
withdrawToSelf
Parameters
Name
Type
Description
amount
uint256
undefined
Events
OwnershipTransferred
Parameters
Name
Type
Description
previousOwner indexed
address
undefined
newOwner indexed
address
undefined
Last updated