Blockwell

Chroma

ERC20

This contract is an ERC20 token.

Name Chroma
Symbol CHR
Decimals 6
Total Supply 475,191,731 CHR

About link description

Chromia (CHR) is a cryptocurrency token and operates on the Ethereum platform. Chromia has a current supply of 476,691,731 with 410,693,677.365 in circulation. The last known price of Chromia is $0.067124 USD and is up 18.11% over the last 24 hours. It is currently trading on 31 active market(s) with $14,310,191.257 traded over the last 24 hours. More information can be found at https://chromia.com/.

Stats

Public Functions 16
Event Types 5
Code Size 14,343 bytes

Approval Event

Parameters help
owner
address help
spender
address help
value
uint256 help

MinterSet Event

Parameters help
account
address help

Transfer Event

Parameters help
from
address help
to
address help
value
uint256 help

TransferFromChromia Event

Parameters help
to
address help
refID
bytes32 help
value
uint256 help

TransferToChromia Event

Parameters help
from
address help
to
bytes32 help
value
uint256 help

Functions Expand All Collapse All

name keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view
Source Code
    function name() public view returns (string memory) {
        return _name;
    }

symbol keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view
Source Code
    function symbol() public view returns (string memory) {
        return _symbol;
    }

decimals keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view
Source Code
    function decimals() public view returns (uint8) {
        return _decimals;
    }

totalSupply keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view
Source Code
    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

balanceOf keyboard_arrow_up

Parameters help

Name Type
owner
address help

Properties

Visibility help public
Mutability help view
Source Code
    function balanceOf(address owner) public view returns (uint256) {
        return _balances[owner];
    }

allowance keyboard_arrow_up

Parameters help

Name Type
owner
address help
spender
address help

Properties

Visibility help public
Mutability help view
Source Code
    function allowance(address owner, address spender) public view returns (uint256) {
        return _allowed[owner][spender];
    }

transfer keyboard_arrow_up

Parameters help

Name Type
to
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
    function transfer(address to, uint256 value) public returns (bool) {
        _transfer(msg.sender, to, value);
        return true;
    }

approve keyboard_arrow_up

Parameters help

Name Type
spender
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
    function approve(address spender, uint256 value) public returns (bool) {
        _approve(msg.sender, spender, value);
        return true;
    }

transferFrom keyboard_arrow_up

Parameters help

Name Type
from
address help
to
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
    function transferFrom(address from, address to, uint256 value) public returns (bool) {
        _transfer(from, to, value);
        _approve(from, msg.sender, _allowed[from][msg.sender].sub(value));
        return true;
    }

increaseAllowance keyboard_arrow_up

Parameters help

Name Type
spender
address help
addedValue
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
        _approve(msg.sender, spender, _allowed[msg.sender][spender].add(addedValue));
        return true;
    }

decreaseAllowance keyboard_arrow_up

Parameters help

Name Type
spender
address help
subtractedValue
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
    function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {
        _approve(msg.sender, spender, _allowed[msg.sender][spender].sub(subtractedValue));
        return true;
    }

cap keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view
Source Code
    function cap() public view returns (uint256) {
        return _cap;
    }

transferToChromia keyboard_arrow_up

Parameters help

Name Type
to
bytes32 help
value
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
    function transferToChromia(bytes32 to, uint256 value) public {
        _burn(msg.sender, value);
        emit TransferToChromia(msg.sender, to, value);
    }

transferFromChromia keyboard_arrow_up

Parameters help

Name Type
to
address help
value
uint256 help
refID
bytes32 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyMinter checks for the following:
null

Requirements help

Source Code
    function transferFromChromia(address to, uint256 value, bytes32 refID) public onlyMinter returns (bool) {
        _mint(to, value);
        emit TransferFromChromia(to, refID, value);
        return true;
    }

isMinter keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view
Source Code
    function isMinter(address account) public view returns (bool) {
        return _minter == account;
    }

changeMinter keyboard_arrow_up

Parameters help

Name Type
newMinter
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyMinter checks for the following:
null
Source Code
    function changeMinter(address newMinter) public onlyMinter {
        _setMinter(newMinter);
    }