rigoToken docs
RigoToken
UnlimitedAllowanceToken is ERC20
name
string namesymbol
string symboldecimals
uint8 decimalsminter
address minterReturns the address of the minter.
Return Values
rigoblock
address rigoblockReturns the address of the Rigoblock Dao.
Return Values
onlyMinter
modifier onlyMinter()onlyRigoblock
modifier onlyRigoblock()constructor
constructor(address setMinter, address setRigoblock, address grgHolder) publicmintToken
function mintToken(address recipient, uint256 amount) externalAllows minter to create new tokens.
Mint method is reserved for minter module.
Parameters
Name
Type
Description
recipient
address
Address receiving the new tokens.
amount
uint256
Number of minted tokens.
changeMintingAddress
function changeMintingAddress(address newAddress) externalAllows Rigoblock Dao to update minter.
Parameters
Name
Type
Description
newAddress
address
Address of the new minter.
changeRigoblockAddress
function changeRigoblockAddress(address newAddress) externalAllows Rigoblock Dao to update its address.
Parameters
Name
Type
Description
newAddress
address
Address of the new Dao.
Last updated