Blockwell

AION

ERC20

This contract is an ERC20 token.

Name AION
Symbol AION
Decimals 8
Total Supply 465,934,587 AION

About

Stats

Public Functions 26
Event Types 5
Code Size 20,744 bytes

Approval Event

Parameters help
owner
address help
spender
address help
value
uint help

Burn Event

Parameters help
from
address help
to
bytes32 help
value
uint help

Claimed Event

Parameters help
claimer
address help
value
uint help

Motd Event

Parameters help
message
string help

Transfer Event

Parameters help
from
address help
to
address help
value
uint help

Functions Expand All Collapse All

changeOwner keyboard_arrow_up

Parameters help

Name Type
_newOwner
address help

Properties

Visibility help public
Mutability help transaction
Source Code
    function changeOwner(address _newOwner) onlyOwner {
        newOwner = _newOwner;
    }

acceptOwnership keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
    function acceptOwnership() {
        if (msg.sender == newOwner) {
            owner = newOwner;
        }
    }

pause keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
    function pause() onlyOwner {
        paused = true;
    }

unpause keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
    function unpause() onlyOwner {
        paused = false;
    }

claimTokens keyboard_arrow_up

Parameters help

Name Type
_token
address help
_to
address help

Properties

Visibility help public
Mutability help transaction
Source Code
    function claimTokens(address _token, address _to) onlyOwner returns (bool) {
        IToken token = IToken(_token);
        return token.transfer(_to, token.balanceOf(this));
    }

finalize keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
    function finalize() onlyOwner {
        finalized = true;
    }

setMotd keyboard_arrow_up

Parameters help

Name Type
_m
string help

Properties

Visibility help public
Mutability help transaction
Source Code
    function setMotd(string _m) onlyOwner {
        motd = _m;
        Motd(_m);
    }

setController keyboard_arrow_up

Parameters help

Name Type
_c
address help

Properties

Visibility help public
Mutability help transaction
Source Code
    function setController(address _c) onlyOwner notFinalized {
        controller = Controller(_c);
    }

balanceOf keyboard_arrow_up

Parameters help

Name Type
a
address help

Properties

Visibility help public
Mutability help constant
Source Code
    function balanceOf(address a) constant returns (uint) {
        return controller.balanceOf(a);
    }

totalSupply keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help constant
Source Code
    function totalSupply() constant returns (uint) {
        return controller.totalSupply();
    }

allowance keyboard_arrow_up

Parameters help

Name Type
_owner
address help
_spender
address help

Properties

Visibility help public
Mutability help constant
Source Code
    function allowance(address _owner, address _spender) constant returns (uint) {
        return controller.allowance(_owner, _spender);
    }

transfer keyboard_arrow_up

Parameters help

Name Type
_to
address help
_value
uint help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Source Code
    function transfer(address _to, uint _value) notPaused returns (bool success) {
        if (controller.transfer(msg.sender, _to, _value)) {
            Transfer(msg.sender, _to, _value);
            return true;
        }
        return false;
    }

transferFrom keyboard_arrow_up

Parameters help

Name Type
_from
address help
_to
address help
_value
uint help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Source Code
    function transferFrom(address _from, address _to, uint _value) notPaused returns (bool success) {
        if (controller.transferFrom(msg.sender, _from, _to, _value)) {
            Transfer(_from, _to, _value);
            return true;
        }
        return false;
    }

approve keyboard_arrow_up

Parameters help

Name Type
_spender
address help
_value
uint help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Source Code
    function approve(address _spender, uint _value) notPaused returns (bool success) {
        // promote safe user behavior
        if (controller.approve(msg.sender, _spender, _value)) {
            Approval(msg.sender, _spender, _value);
            return true;
        }
        return false;
    }

increaseApproval keyboard_arrow_up

Parameters help

Name Type
_spender
address help
_addedValue
uint help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Source Code
    function increaseApproval (address _spender, uint _addedValue) notPaused returns (bool success) {
        if (controller.increaseApproval(msg.sender, _spender, _addedValue)) {
            uint newval = controller.allowance(msg.sender, _spender);
            Approval(msg.sender, _spender, newval);
            return true;
        }
        return false;
    }

decreaseApproval keyboard_arrow_up

Parameters help

Name Type
_spender
address help
_subtractedValue
uint help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Source Code
    function decreaseApproval (address _spender, uint _subtractedValue) notPaused returns (bool success) {
        if (controller.decreaseApproval(msg.sender, _spender, _subtractedValue)) {
            uint newval = controller.allowance(msg.sender, _spender);
            Approval(msg.sender, _spender, newval);
            return true;
        }
        return false;
    }

controllerTransfer keyboard_arrow_up

Parameters help

Name Type
_from
address help
_to
address help
_value
uint help

Properties

Visibility help public
Mutability help transaction
Source Code
    function controllerTransfer(address _from, address _to, uint _value) onlyController {
        Transfer(_from, _to, _value);
    }

controllerApprove keyboard_arrow_up

Parameters help

Name Type
_owner
address help
_spender
address help
_value
uint help

Properties

Visibility help public
Mutability help transaction
Source Code
    function controllerApprove(address _owner, address _spender, uint _value) onlyController {
        Approval(_owner, _spender, _value);
    }

controllerBurn keyboard_arrow_up

Parameters help

Name Type
_from
address help
_to
bytes32 help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
    function controllerBurn(address _from, bytes32 _to, uint256 _value) onlyController {
        Burn(_from, _to, _value);
    }

controllerClaim keyboard_arrow_up

Parameters help

Name Type
_claimer
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
    function controllerClaim(address _claimer, uint256 _value) onlyController {
        Claimed(_claimer, _value);
    }

setBurnAddress keyboard_arrow_up

Parameters help

Name Type
_address
address help

Properties

Visibility help public
Mutability help transaction
Source Code
    function setBurnAddress(address _address) onlyController {
        burnAddress = _address;
    }

enableBurning keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
    function enableBurning() onlyController {
        burnable = true;
    }

disableBurning keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
    function disableBurning() onlyController {
        burnable = false;
    }

burn keyboard_arrow_up

Parameters help

Name Type
_to
bytes32 help
_amount
uint help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Source Code
    function burn(bytes32 _to, uint _amount) notPaused burnEnabled returns (bool success) {
        return controller.burn(msg.sender, _to, _amount);
    }

claimByProof keyboard_arrow_up

Parameters help

Name Type
data
bytes32[] help
proofs
bytes32[] help
number
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Source Code
    function claimByProof(bytes32[] data, bytes32[] proofs, uint256 number) notPaused burnEnabled returns (bool success) {
        return controller.claimByProof(msg.sender, data, proofs, number);
    }

claim keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Modifiers help

Source Code
    function claim() notPaused burnEnabled returns (bool success) {
        return controller.claim(msg.sender);
    }