SToken

Implements digital call (Spear) and digital put (Shield) options as ERC-20 tokens (STokens).

mint

Mints an amount of SToken for an account

    function mint(address account, uint256 amount) external override onlyOwner

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

function burn(address account, uint256 amount) external override onlyOwner

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

function decimals() public view virtual override returns (uint8)

Returns:

Name

Type

Description

_decimals

uint8

The number of decimals used for the SToken

Last updated