wsKLIMA

Git Source

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

NameTypeDescription
_amountuint256uint

Returns

NameTypeDescription
<none>uint256uint

unwrap

unwrap sKLIMA

function unwrap(uint256 _amount) external returns (uint256);

Parameters

NameTypeDescription
_amountuint256uint

Returns

NameTypeDescription
<none>uint256uint

wKLIMATosKLIMA

converts wKLIMA amount to sKLIMA

function wKLIMATosKLIMA(uint256 _amount) public view returns (uint256);

Parameters

NameTypeDescription
_amountuint256uint

Returns

NameTypeDescription
<none>uint256uint

sKLIMATowKLIMA

converts sKLIMA amount to wKLIMA

function sKLIMATowKLIMA(uint256 _amount) public view returns (uint256);

Parameters

NameTypeDescription
_amountuint256uint

Returns

NameTypeDescription
<none>uint256uint