wsKLIMA
Inherits: ERC20
State Variables
sKLIMA
address public immutable sKLIMA;
Functions
constructor
constructor(address _sKLIMA) ERC20("Wrapped sKLIMA", "wsKLIMA");
wrap
wrap sKLIMA
function wrap(uint256 _amount) external returns (uint256);
Parameters
Name | Type | Description |
---|---|---|
_amount | uint256 | uint |
Returns
Name | Type | Description |
---|---|---|
<none> | uint256 | uint |
unwrap
unwrap sKLIMA
function unwrap(uint256 _amount) external returns (uint256);
Parameters
Name | Type | Description |
---|---|---|
_amount | uint256 | uint |
Returns
Name | Type | Description |
---|---|---|
<none> | uint256 | uint |
wKLIMATosKLIMA
converts wKLIMA amount to sKLIMA
function wKLIMATosKLIMA(uint256 _amount) public view returns (uint256);
Parameters
Name | Type | Description |
---|---|---|
_amount | uint256 | uint |
Returns
Name | Type | Description |
---|---|---|
<none> | uint256 | uint |
sKLIMATowKLIMA
converts sKLIMA amount to wKLIMA
function sKLIMATowKLIMA(uint256 _amount) public view returns (uint256);
Parameters
Name | Type | Description |
---|---|---|
_amount | uint256 | uint |
Returns
Name | Type | Description |
---|---|---|
<none> | uint256 | uint |