rigoToken docs

RigoToken

UnlimitedAllowanceToken is ERC20

name

string name

symbol

string symbol

decimals

uint8 decimals

minter

address minter

Returns the address of the minter.

Return Values

rigoblock

address rigoblock

Returns the address of the Rigoblock Dao.

Return Values

onlyMinter

modifier onlyMinter()

onlyRigoblock

modifier onlyRigoblock()

constructor

constructor(address setMinter, address setRigoblock, address grgHolder) public

mintToken

function mintToken(address recipient, uint256 amount) external

Allows minter to create new tokens.

Mint method is reserved for minter module.

Parameters

NameTypeDescription

recipient

address

Address receiving the new tokens.

amount

uint256

Number of minted tokens.

changeMintingAddress

function changeMintingAddress(address newAddress) external

Allows Rigoblock Dao to update minter.

Parameters

NameTypeDescription

newAddress

address

Address of the new minter.

changeRigoblockAddress

function changeRigoblockAddress(address newAddress) external

Allows Rigoblock Dao to update its address.

Parameters

NameTypeDescription

newAddress

address

Address of the new Dao.

Last updated