For the complete documentation index, see llms.txt. This page is also available as Markdown.

RigoToken

Overview

License: Apache 2.0

contract RigoToken is IRigoToken, UnlimitedAllowanceToken

Author: Gabriele Rigo - gab@rigoblock.com

UnlimitedAllowanceToken is ERC20

Constants info

name (0x06fdde03)

string constant name = "Rigo Token"

symbol (0x95d89b41)

string constant symbol = "GRG"

decimals (0x313ce567)

uint8 constant decimals = 18

State variables info

minter (0x07546172)

rigoblock (0x3f04d040)

Modifiers info

onlyMinter

onlyRigoblock

Functions info

constructor

mintToken (0x79c65068)

Allows 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 (0x51892f07)

Allows Rigoblock Dao to update minter.

Parameters:

Name
Type
Description

newAddress

address

Address of the new minter.

changeRigoblockAddress (0x882f7e83)

Allows Rigoblock Dao to update its address.

Parameters:

Name
Type
Description

newAddress

address

Address of the new Dao.

Last updated