Maecenas ART Token
ERC20
This contract is an ERC20 token.
Name
Maecenas ART Token
Symbol
ART
Decimals
18
Total Supply
100,000,000 ART
About
link
description
Maecenas (ART) is a cryptocurrency and operates on the Ethereum platform. Maecenas has a current supply of 100,000,000 with 68,879,107.3791533 in circulation. The last known price of Maecenas is 0.00303668 USD and is down -14.89 over the last 24 hours. It is currently trading on 2 active market(s) with $460.38 traded over the last 24 hours. More information can be found at http://www.maecenas.co/.
Stats
Public Functions
12
Event Types
5
Code Size
6,862 bytes
Events (5) keyboard_arrow_up
State Variables (11) keyboard_arrow_up
Functions
transferOwnership keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function transferOwnership(address _newOwner) public onlyOwner {
require(_newOwner != owner);
newOwner = _newOwner;
}
acceptOwnership keyboard_arrow_up
lockUntil keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function lockUntil(uint256 _untilBlock, string _reason) onlyOwner {
lockedUntilBlock = _untilBlock;
ContractLocked(_untilBlock, _reason);
}
totalSupply keyboard_arrow_up
balanceOf keyboard_arrow_up
transfer keyboard_arrow_up
Modifiers help
lockAffected checks for the following:
Source Code
function transfer(address _to, uint256 _value)
lockAffected
returns (bool success)
{
require(_to != 0x0 && _to != address(this));
balances[msg.sender] = balances[msg.sender].sub(_value); // Deduct senders balance
balances[_to] = balances[_to].add(_value); // Add recivers blaance
Transfer(msg.sender, _to, _value); // Raise Transfer event
return true;
}
transferFrom keyboard_arrow_up
Modifiers help
lockAffected checks for the following:
Source Code
function transferFrom(
address _from,
address _to,
uint256 _value
) lockAffected returns (bool success) {
require(_to != 0x0 && _to != address(this));
balances[_from] = balances[_from].sub(_value); // Deduct senders balance
balances[_to] = balances[_to].add(_value); // Add recipient blaance
allowances[_from][msg.sender] = allowances[_from][msg.sender].sub(_value); // Deduct allowance for this address
Transfer(_from, _to, _value); // Raise Transfer event
return true;
}
approve keyboard_arrow_up
Modifiers help
lockAffected checks for the following:
Source Code
function approve(address _spender, uint256 _value)
lockAffected
returns (bool success)
{
allowances[msg.sender][_spender] = _value; // Set allowance
Approval(msg.sender, _spender, _value); // Raise Approval event
return true;
}
allowance keyboard_arrow_up
approveAndCall keyboard_arrow_up
Modifiers help
lockAffected checks for the following:
Source Code
function approveAndCall(
address _spender,
uint256 _value,
bytes _extraData
) lockAffected returns (bool success) {
ItokenRecipient spender = ItokenRecipient(_spender); // Cast spender to tokenRecipient contract
approve(_spender, _value); // Set approval to contract for _value
spender.receiveApproval(msg.sender, _value, this, _extraData); // Raise method on _spender contract
return true;
}
mintTokens keyboard_arrow_up
Requirements help
Source Code
function mintTokens(address _to, uint256 _amount) {
require(msg.sender == crowdsaleContractAddress);
supply = supply.add(_amount);
balances[_to] = balances[_to].add(_amount);
Mint(_to, _amount);
Transfer(0x0, _to, _amount);
}
salvageTokensFromContract keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function salvageTokensFromContract(
address _tokenAddress,
address _to,
uint256 _amount
) onlyOwner {
IERC20Token(_tokenAddress).transfer(_to, _amount);
}
Internal Functions
Internal functions are parts of the contract that can't be used directly, but instead are used by the public functions listed above.