Minter Contract
Smart Contract: globally across all SRC20
Created: pre-exists / created once
Purpose: manages the minting of SRC20 and corresponding SWM stakes of additional tokens added to an existing SRC20
Example: On Ropsten
Feature Description
Read Functions
Function | Description |
| Returns the SWM stake amount needed to mint an additional amount of specific SRC20 tokens; this function translates the Net Asset Value into USD denominated staking amounts based on the network policy and then uses the referenced SWMPriceOracle to translate them into SWM values based on current prices |
| Displays the address for the price oracle contract used to determine the SWM price |
| Displays the |
| Displays the |
Write Functions
Function | Description |
|
Calling this function withdraws the previously authorized number of SWM tokens required for staking from the caller’s address, and then mints numSRC20Tokens
of src20
tokens in the caller’s address.; returns True on success |
Last updated