SToken
Implements digital call (Spear) and digital put (Shield) options as ERC-20 tokens (STokens).
mint
Mints an amount of SToken for an account
Params:
Name | Type | Description |
account | address | The account address |
amount | uint256 | The amount of SToken minted |
burn
Burns an amount of SToken for an account
Params:
Name | Type | Description |
account | address | The account address |
amount | uint256 | The amount of SToken burned |
decimals
Returns the number of decimals used for the SToken token
Returns:
Name | Type | Description |
_decimals | uint8 | The number of decimals used for the SToken |
Last updated