Featured Contract
Smart Contract: SRC20 specific
Created: Step 2 in SRC20 deployment (see Swarm Tokenization App)
Purpose: Manages additional token contract features for a specific SCR20 token contract, and checks the state of the SRC20 token contract (e.g. whether it is currently paused for transfers)
Example: NUVO on Ropsten
Feature Description
Read Functions
Function | Description |
| Displays true/false based on whether the SRC20 token contract is paused |
| Displays the index of this feature, for checking if enabled. Index = 2 |
| Displays true/false based on whether the SRC20 token contract is paused |
| Returns true/false based on whether a specific SRC20 token feature is enabled. Requires the user to enter the index of the feature. |
| Displays the index of this feature, for checking if enabled. Index = 4 |
| Displays the index of this feature, for checking if enabled. Index = 8 |
| Internal function |
| Returns the address of the contract owner |
| Returns true if the caller is the contract owner |
| Displays the index of this feature, for checking if enabled. Index = 1 |
| Call to check if a transfer of SRC20 tokens between two addresses will pass under any restrictions set by this |
| Returns true/false whether a specified account holding these SRC20 tokens is frozen, meaning it is disabled from being able to make transfers of any of this SRC20 token |
Write Functions
Function | Description |
| Pauses the SRC20 token. No transfers of any kind can take place while being paused. Can only be called by the contract owner if |
| Leaves this |
| Unfreezes a specific address, enabling it to initiate transfers. Can only be called by the contract owner if |
| Reverses the pausing of a token and transfers for this SRC20 token will resume being possible. Can only be called by the contract owner if |
| Freezes a specific address, disabling it from being able to initiate transfers of this SRC20 token. Can only be called by the contract owner if |
| Transfers ownership of this |
Last updated