Skip to main content

WOETH

WOETH

constructor

constructor(contract ERC20 underlying_, string name_, string symbol_) public

initialize

function initialize() external

Enable OETH rebasing for this contract

name

function name() public view returns (string)

Returns the name of the token.

symbol

function symbol() public view returns (string)

Returns the symbol of the token, usually a shorter version of the name.

transferToken

function transferToken(address asset_, uint256 amount_) external

Transfer token to governor. Intended for recovering tokens stuck in contract, i.e. mistaken sends. Cannot transfer OETH

Parameters

NameTypeDescription
asset_addressAddress for the asset
amount_uint256Amount of the asset to transfer