SToken
Implements digital call (Spear) and digital put (Shield) options as ERC-20 tokens (STokens).
Last updated
Was this helpful?
Implements digital call (Spear) and digital put (Shield) options as ERC-20 tokens (STokens).
Mints an amount of SToken for an account
function mint(address account, uint256 amount) external override onlyOwnerParams:
Name
Type
Description
account
address
The account address
amount
uint256
The amount of SToken minted
Burns an amount of SToken for an account
function burn(address account, uint256 amount) external override onlyOwnerParams:
Name
Type
Description
account
address
The account address
amount
uint256
The amount of SToken burned
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
Was this helpful?
Was this helpful?
function decimals() public view virtual override returns (uint8)