IgOHM
Inherits: IERC20
Functions
mint
function mint(address _to, uint256 _amount) external;
burn
function burn(address _from, uint256 _amount) external;
index
function index() external view returns (uint256);
balanceFrom
converts gOHM amount to OHM
function balanceFrom(uint256 _amount) external view returns (uint256);
Parameters
Name | Type | Description |
---|---|---|
_amount | uint256 | uint |
Returns
Name | Type | Description |
---|---|---|
<none> | uint256 | uint |
balanceTo
converts OHM amount to gOHM
function balanceTo(uint256 _amount) external view returns (uint256);
Parameters
Name | Type | Description |
---|---|---|
_amount | uint256 | uint |
Returns
Name | Type | Description |
---|---|---|
<none> | uint256 | uint |
migrate
function migrate(address _staking, address _sOHM) external;
getPriorVotes
function getPriorVotes(address account, uint256 blockNumber) external view returns (uint256);
totalSupply
function totalSupply() external view override returns (uint256);