Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
5,397.60400000000000004 AIRX
Holders
1,175
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1.278633 AIRXValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
AirEX
Compiler Version
v0.4.21+commit.dfe3193c
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-03-13 */ pragma solidity ^0.4.18; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } /** * @dev Integer division of two numbers, truncating the quotient. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a / b; return c; } /** * @dev Substracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } /** * @dev Adds two numbers, throws on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { function totalSupply() public view returns (uint256); function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 is ERC20Basic { function allowance(address owner, address spender) public view returns (uint256); function transferFrom(address from, address to, uint256 value) public returns (bool); function approve(address spender, uint256 value) public returns (bool); event Approval(address indexed owner, address indexed spender, uint256 value); } /** * @title Basic token * @dev Basic version of StandardToken, with no allowances. */ contract BasicToken is ERC20Basic { using SafeMath for uint256; mapping(address => uint256) balances; uint256 totalSupply_; /** * @dev total number of tokens in existence */ function totalSupply() public view returns (uint256) { return totalSupply_; } /** * @dev transfer token for a specified address * @param _to The address to transfer to. * @param _value The amount to be transferred. */ function transfer(address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[msg.sender]); // SafeMath.sub will throw if there is not enough balance. balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); Transfer(msg.sender, _to, _value); return true; } /** * @dev Gets the balance of the specified address. * @param _owner The address to query the the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address _owner) public view returns (uint256 balance) { return balances[_owner]; } } /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ function Ownable() public { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == owner); _; } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address newOwner) onlyOwner public { require(newOwner != address(0)); owner = newOwner; } } /** * @title Pausable * @dev Base contract which allows children to implement an emergency stop mechanism. */ contract Pausable is Ownable { event Pause(); event Unpause(); bool public paused = true; /** * @dev Modifier to make a function callable only when the contract is not paused. */ modifier whenNotPaused() { require(!paused); _; } /** * @dev Modifier to make a function callable only when the contract is paused. */ modifier whenPaused() { require(paused); _; } /** * @dev called by the owner to pause, triggers stopped state */ function pause() onlyOwner whenNotPaused public { paused = true; Pause(); } /** * @dev called by the owner to unpause, returns to normal state */ function unpause() onlyOwner whenPaused public { paused = false; Unpause(); } } /** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * @dev https://github.com/ethereum/EIPs/issues/20 * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol */ contract StandardToken is ERC20, BasicToken { mapping (address => mapping (address => uint256)) internal allowed; /** * @dev Transfer tokens from one address to another * @param _from address The address which you want to send tokens from * @param _to address The address which you want to transfer to * @param _value uint256 the amount of tokens to be transferred */ function transferFrom(address _from, address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[_from]); require(_value <= allowed[_from][msg.sender]); balances[_from] = balances[_from].sub(_value); balances[_to] = balances[_to].add(_value); allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value); Transfer(_from, _to, _value); return true; } /** * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. * * Beware that changing an allowance with this method brings the risk that someone may use both the old * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * @param _spender The address which will spend the funds. * @param _value The amount of tokens to be spent. */ function approve(address _spender, uint256 _value) public returns (bool) { allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } /** * @dev Function to check the amount of tokens that an owner allowed to a spender. * @param _owner address The address which owns the funds. * @param _spender address The address which will spend the funds. * @return A uint256 specifying the amount of tokens still available for the spender. */ function allowance(address _owner, address _spender) public view returns (uint256) { return allowed[_owner][_spender]; } /** * @dev Increase the amount of tokens that an owner allowed to a spender. * * approve should be called when allowed[_spender] == 0. To increment * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * @param _spender The address which will spend the funds. * @param _addedValue The amount of tokens to increase the allowance by. */ function increaseApproval(address _spender, uint _addedValue) public returns (bool) { allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue); Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } /** * @dev Decrease the amount of tokens that an owner allowed to a spender. * * approve should be called when allowed[_spender] == 0. To decrement * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * @param _spender The address which will spend the funds. * @param _subtractedValue The amount of tokens to decrease the allowance by. */ function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) { uint oldValue = allowed[msg.sender][_spender]; if (_subtractedValue > oldValue) { allowed[msg.sender][_spender] = 0; } else { allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue); } Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } } /** @title ERC827 interface, an extension of ERC20 token standard Interface of a ERC827 token, following the ERC20 standard with extra methods to transfer value and data and execute calls in transfers and approvals. */ contract ERC827 is ERC20 { function approve( address _spender, uint256 _value, bytes _data ) public returns (bool); function transfer( address _to, uint256 _value, bytes _data ) public returns (bool); function transferFrom( address _from, address _to, uint256 _value, bytes _data ) public returns (bool); } /** @title ERC827, an extension of ERC20 token standard Implementation the ERC827, following the ERC20 standard with extra methods to transfer value and data and execute calls in transfers and approvals. Uses OpenZeppelin StandardToken. */ contract ERC827Token is ERC827, StandardToken { /** @dev Addition to ERC20 token methods. It allows to approve the transfer of value and execute a call with the sent data. Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 @param _spender The address that will spend the funds. @param _value The amount of tokens to be spent. @param _data ABI-encoded contract call to call `_to` address. @return true if the call function was executed successfully */ function approve(address _spender, uint256 _value, bytes _data) public returns (bool) { require(_spender != address(this)); super.approve(_spender, _value); require(_spender.call(_data)); return true; } /** @dev Addition to ERC20 token methods. Transfer tokens to a specified address and execute a call with the sent data on the same transaction @param _to address The address which you want to transfer to @param _value uint256 the amout of tokens to be transfered @param _data ABI-encoded contract call to call `_to` address. @return true if the call function was executed successfully */ function transfer(address _to, uint256 _value, bytes _data) public returns (bool) { require(_to != address(this)); super.transfer(_to, _value); require(_to.call(_data)); return true; } /** @dev Addition to ERC20 token methods. Transfer tokens from one address to another and make a contract call on the same transaction @param _from The address which you want to send tokens from @param _to The address which you want to transfer to @param _value The amout of tokens to be transferred @param _data ABI-encoded contract call to call `_to` address. @return true if the call function was executed successfully */ function transferFrom(address _from, address _to, uint256 _value, bytes _data) public returns (bool) { require(_to != address(this)); super.transferFrom(_from, _to, _value); require(_to.call(_data)); return true; } /** * @dev Addition to StandardToken methods. Increase the amount of tokens that * an owner allowed to a spender and execute a call with the sent data. * * approve should be called when allowed[_spender] == 0. To increment * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * @param _spender The address which will spend the funds. * @param _addedValue The amount of tokens to increase the allowance by. * @param _data ABI-encoded contract call to call `_spender` address. */ function increaseApproval(address _spender, uint _addedValue, bytes _data) public returns (bool) { require(_spender != address(this)); super.increaseApproval(_spender, _addedValue); require(_spender.call(_data)); return true; } /** * @dev Addition to StandardToken methods. Decrease the amount of tokens that * an owner allowed to a spender and execute a call with the sent data. * * approve should be called when allowed[_spender] == 0. To decrement * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * @param _spender The address which will spend the funds. * @param _subtractedValue The amount of tokens to decrease the allowance by. * @param _data ABI-encoded contract call to call `_spender` address. */ function decreaseApproval(address _spender, uint _subtractedValue, bytes _data) public returns (bool) { require(_spender != address(this)); super.decreaseApproval(_spender, _subtractedValue); require(_spender.call(_data)); return true; } } /** * @title Pausable token * @dev ERC827Token modified with pausable transfers. **/ contract PausableToken is ERC827Token, Pausable { // ERC20 function transfer(address _to, uint256 _value) public whenNotPaused returns (bool) { return super.transfer(_to, _value); } function transferFrom(address _from, address _to, uint256 _value) public whenNotPaused returns (bool) { return super.transferFrom(_from, _to, _value); } function approve(address _spender, uint256 _value) public whenNotPaused returns (bool) { return super.approve(_spender, _value); } function increaseApproval(address _spender, uint _addedValue) public whenNotPaused returns (bool success) { return super.increaseApproval(_spender, _addedValue); } function decreaseApproval(address _spender, uint _subtractedValue) public whenNotPaused returns (bool success) { return super.decreaseApproval(_spender, _subtractedValue); } // ERC827 function transfer(address _to, uint256 _value, bytes _data) public whenNotPaused returns (bool) { return super.transfer(_to, _value, _data); } function transferFrom(address _from, address _to, uint256 _value, bytes _data) public returns (bool) { return super.transferFrom(_from, _to, _value, _data); } function approve(address _spender, uint256 _value, bytes _data) public whenNotPaused returns (bool) { return super.approve(_spender, _value, _data); } function increaseApproval(address _spender, uint _addedValue, bytes _data) public whenNotPaused returns (bool) { return super.increaseApproval(_spender, _addedValue, _data); } function decreaseApproval(address _spender, uint _subtractedValue, bytes _data) public whenNotPaused returns (bool) { return super.decreaseApproval(_spender, _subtractedValue, _data); } } /** * @title Mintable token * @dev Simple ERC20 Token example, with mintable token creation * @dev Issue: * https://github.com/OpenZeppelin/zeppelin-solidity/issues/120 * Based on code by TokenMarketNet: https://github.com/TokenMarketNet/ico/blob/master/contracts/MintableToken.sol */ contract MintableToken is PausableToken { event Mint(address indexed to, uint256 amount); event MintFinished(); bool public mintingFinished = false; modifier canMint() { require(!mintingFinished); _; } /** * @dev Function to mint tokens * @param _to The address that will receive the minted tokens. * @param _amount The amount of tokens to mint. * @return A boolean that indicates if the operation was successful. */ function mint(address _to, uint256 _amount) onlyOwner canMint public returns (bool) { totalSupply_ = totalSupply_.add(_amount); balances[_to] = balances[_to].add(_amount); Mint(_to, _amount); Transfer(address(0), _to, _amount); return true; } /** * @dev Function to stop minting new tokens. * @return True if the operation was successful. */ function finishMinting() onlyOwner canMint public returns (bool) { mintingFinished = true; MintFinished(); return true; } } /** * @title Capped token * @dev Mintable token with a token cap. */ contract AirEX is MintableToken { string public constant name = "AIRX"; string public constant symbol = "AIRX"; uint8 public constant decimals = 18; uint256 public hardCap; uint256 public softCap; function AirEX(uint256 _cap) public { require(_cap > 0); hardCap = _cap; } /** * @dev Function to mint tokens * @param _to The address that will receive the minted tokens. * @param _amount The amount of tokens to mint. * @return A boolean that indicates if the operation was successful. */ function mint(address _to, uint256 _amount) onlyOwner canMint public returns (bool) { require(totalSupply_.add(_amount) <= hardCap); return super.mint(_to, _amount); } function updateHardCap(uint256 _cap) onlyOwner public { require(_cap > 0); hardCap = _cap; } function updateSoftCap(uint256 _cap) onlyOwner public { require(_cap > 0); softCap = _cap; } } contract SalesManagerUpgradable is Ownable { using SafeMath for uint256; /* SZ: Change here to collection address before deploy */ address public ethOwner = 0xe8290a10565CB7aDeE9246661B34BB77CB6e4024; /* SZ: price1..3 in AIRX per 1 ETH */ uint public price1 = 100; uint public price2 = 110; uint public price3 = 125; /* SZ: lev1..2 in ETH */ uint public lev1 = 2 ether; uint public lev2 = 10 ether; uint public ethFundRaised; address public tokenAddress; /* SZ: AIRX constructor with HardCap in AIRX tokens */ function SalesManagerUpgradable () public { tokenAddress = new AirEX(5550000 ether); } function () payable public { if(msg.value > 0) revert(); } function buyTokens(address _investor) public payable returns (bool){ if (msg.value <= lev1) { uint tokens = msg.value.mul(price1); if (!sendTokens(tokens, msg.value, _investor)) revert(); return true; } else if (msg.value > lev1 && msg.value <= lev2) { tokens = msg.value.mul(price2); if (!sendTokens(tokens, msg.value, _investor)) revert(); return true; } else if (msg.value > lev2) { tokens = msg.value.mul(price3); if (!sendTokens(tokens, msg.value, _investor)) revert(); return true; } return false; } function sendTokens(uint _amount, uint _ethers, address _investor) private returns (bool) { AirEX tokenHolder = AirEX(tokenAddress); if (tokenHolder.mint(_investor, _amount)) { ethFundRaised = ethFundRaised.add(_ethers); ethOwner.transfer(_ethers); return true; } return false; } function generateTokensManually(uint _amount, address _to) public onlyOwner { AirEX tokenHolder = AirEX(tokenAddress); tokenHolder.mint(_to, _amount); } function setColdAddress(address _newAddr) public onlyOwner { ethOwner = _newAddr; } function setPrice1 (uint _price) public onlyOwner { price1 = _price; } function setPrice2 (uint _price) public onlyOwner { price2 = _price; } function setPrice3 (uint _price) public onlyOwner { price3 = _price; } /* SZ: Functions setLev1, setLev2 to change levels of prices*/ /* SZ: lev1..2 send as for example "2000000000000000000" for 2 ETH */ function setLev1 (uint _price) public onlyOwner { lev1 = _price; } function setLev2 (uint _price) public onlyOwner { lev2 = _price; } function transferOwnershipToken(address newTokenOwnerAddress) public onlyOwner { AirEX tokenContract = AirEX(tokenAddress); tokenContract.transferOwnership(newTokenOwnerAddress); } function updateHardCap(uint256 _cap) public onlyOwner { AirEX tokenContract = AirEX(tokenAddress); tokenContract.updateHardCap(_cap); } function updateSoftCap(uint256 _cap) public onlyOwner { AirEX tokenContract = AirEX(tokenAddress); tokenContract.updateSoftCap(_cap); } function unPauseContract() public onlyOwner { AirEX tokenContract = AirEX(tokenAddress); tokenContract.unpause(); } function pauseContract() public onlyOwner { AirEX tokenContract = AirEX(tokenAddress); tokenContract.pause(); } function finishMinting() public onlyOwner { AirEX tokenContract = AirEX(tokenAddress); tokenContract.finishMinting(); } function drop(address[] _destinations, uint256[] _amount) onlyOwner public returns (uint) { uint i = 0; while (i < _destinations.length) { AirEX(tokenAddress).mint(_destinations[i], _amount[i]); i += 1; } return(i); } function withdraw(address _to) public onlyOwner { _to.transfer(this.balance); } function destroySalesManager(address _recipient) public onlyOwner { selfdestruct(_recipient); } } contract DepositManager is Ownable { address public actualSalesAddress; function DepositManager (address _actualAddres) public { actualSalesAddress = _actualAddres; } function () payable public { SalesManagerUpgradable sm = SalesManagerUpgradable(actualSalesAddress); if(!sm.buyTokens.value(msg.value)(msg.sender)) revert(); } function setNewSalesManager (address _newAddr) public onlyOwner { actualSalesAddress = _newAddr; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[{"name":"_cap","type":"uint256"}],"name":"updateSoftCap","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"mintingFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_cap","type":"uint256"}],"name":"updateHardCap","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"finishMinting","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"softCap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"hardCap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_cap","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[],"name":"MintFinished","type":"event"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}]
Contract Creation Code
60606040526003805460a860020a60ff021960a060020a60ff02199091167401000000000000000000000000000000000000000017169055341561004257600080fd5b6040516020806113d18339810160405280805160038054600160a060020a03191633600160a060020a03161790559150506000811161008057600080fd5b60045561133f806100926000396000f3006060604052600436106101695763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166301dda205811461016e57806305d2035b1461018657806306fdde03146101ad578063095ea7b31461023757806316ca3b631461025957806318160ddd146102be57806323b872dd146102e3578063313ce5671461030b5780633f4ba83a1461033457806340c10f19146103475780635c17f9f4146103695780635c975abb146103ce57806366188463146103e1578063703df7931461040357806370a08231146104195780637272ad49146104385780637d64bcb41461049d5780638456cb59146104b05780638da5cb5b146104c3578063906a26e0146104f257806395d89b41146101ad578063a9059cbb14610505578063ab67aa5814610527578063be45fd6214610593578063d73dd623146105f8578063dd62ed3e1461061a578063f2fde38b1461063f578063fb86a4041461065e575b600080fd5b341561017957600080fd5b610184600435610671565b005b341561019157600080fd5b61019961069e565b604051901515815260200160405180910390f35b34156101b857600080fd5b6101c06106ae565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101fc5780820151838201526020016101e4565b50505050905090810190601f1680156102295780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561024257600080fd5b610199600160a060020a03600435166024356106e5565b341561026457600080fd5b61019960048035600160a060020a03169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061071095505050505050565b34156102c957600080fd5b6102d161073d565b60405190815260200160405180910390f35b34156102ee57600080fd5b610199600160a060020a0360043581169060243516604435610743565b341561031657600080fd5b61031e610768565b60405160ff909116815260200160405180910390f35b341561033f57600080fd5b61018461076d565b341561035257600080fd5b610199600160a060020a03600435166024356107ec565b341561037457600080fd5b61019960048035600160a060020a03169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061084c95505050505050565b34156103d957600080fd5b610199610871565b34156103ec57600080fd5b610199600160a060020a0360043516602435610881565b341561040e57600080fd5b6101846004356108a5565b341561042457600080fd5b6102d1600160a060020a03600435166108d2565b341561044357600080fd5b61019960048035600160a060020a03169060248035919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506108ed95505050505050565b34156104a857600080fd5b610199610912565b34156104bb57600080fd5b61018461099e565b34156104ce57600080fd5b6104d6610a22565b604051600160a060020a03909116815260200160405180910390f35b34156104fd57600080fd5b6102d1610a31565b341561051057600080fd5b610199600160a060020a0360043516602435610a37565b341561053257600080fd5b610199600160a060020a036004803582169160248035909116916044359160849060643590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610a5b95505050505050565b341561059e57600080fd5b61019960048035600160a060020a03169060248035919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610a7295505050505050565b341561060357600080fd5b610199600160a060020a0360043516602435610a97565b341561062557600080fd5b6102d1600160a060020a0360043581169060243516610abb565b341561064a57600080fd5b610184600160a060020a0360043516610ae6565b341561066957600080fd5b6102d1610b45565b60035433600160a060020a0390811691161461068c57600080fd5b6000811161069957600080fd5b600555565b60035460a860020a900460ff1681565b60408051908101604052600481527f4149525800000000000000000000000000000000000000000000000000000000602082015281565b60035460009060a060020a900460ff16156106ff57600080fd5b6107098383610b4b565b9392505050565b60035460009060a060020a900460ff161561072a57600080fd5b610735848484610bb7565b949350505050565b60015490565b60035460009060a060020a900460ff161561075d57600080fd5b610735848484610c71565b601281565b60035433600160a060020a0390811691161461078857600080fd5b60035460a060020a900460ff1615156107a057600080fd5b6003805474ff0000000000000000000000000000000000000000191690557f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b60035460009033600160a060020a0390811691161461080a57600080fd5b60035460a860020a900460ff161561082157600080fd5b600454600154610837908463ffffffff610df116565b111561084257600080fd5b6107098383610e00565b60035460009060a060020a900460ff161561086657600080fd5b610735848484610f0e565b60035460a060020a900460ff1681565b60035460009060a060020a900460ff161561089b57600080fd5b6107098383610f3b565b60035433600160a060020a039081169116146108c057600080fd5b600081116108cd57600080fd5b600455565b600160a060020a031660009081526020819052604090205490565b60035460009060a060020a900460ff161561090757600080fd5b610735848484611035565b60035460009033600160a060020a0390811691161461093057600080fd5b60035460a860020a900460ff161561094757600080fd5b6003805475ff000000000000000000000000000000000000000000191660a860020a1790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a150600190565b60035433600160a060020a039081169116146109b957600080fd5b60035460a060020a900460ff16156109d057600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a1790557f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b600354600160a060020a031681565b60055481565b60035460009060a060020a900460ff1615610a5157600080fd5b6107098383611062565b6000610a6985858585611174565b95945050505050565b60035460009060a060020a900460ff1615610a8c57600080fd5b610735848484611230565b60035460009060a060020a900460ff1615610ab157600080fd5b610709838361125d565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a03908116911614610b0157600080fd5b600160a060020a0381161515610b1657600080fd5b6003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60045481565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b600030600160a060020a031684600160a060020a031614151515610bda57600080fd5b610be4848461125d565b5083600160a060020a03168260405180828051906020019080838360005b83811015610c1a578082015183820152602001610c02565b50505050905090810190601f168015610c475780820380516001836020036101000a031916815260200191505b509150506000604051808303816000865af19150501515610c6757600080fd5b5060019392505050565b6000600160a060020a0383161515610c8857600080fd5b600160a060020a038416600090815260208190526040902054821115610cad57600080fd5b600160a060020a0380851660009081526002602090815260408083203390941683529290522054821115610ce057600080fd5b600160a060020a038416600090815260208190526040902054610d09908363ffffffff61130116565b600160a060020a038086166000908152602081905260408082209390935590851681522054610d3e908363ffffffff610df116565b600160a060020a0380851660009081526020818152604080832094909455878316825260028152838220339093168252919091522054610d84908363ffffffff61130116565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60008282018381101561070957fe5b60035460009033600160a060020a03908116911614610e1e57600080fd5b60035460a860020a900460ff1615610e3557600080fd5b600154610e48908363ffffffff610df116565b600155600160a060020a038316600090815260208190526040902054610e74908363ffffffff610df116565b600160a060020a0384166000818152602081905260409081902092909255907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859084905190815260200160405180910390a2600160a060020a03831660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b600030600160a060020a031684600160a060020a031614151515610f3157600080fd5b610be48484610b4b565b600160a060020a03338116600090815260026020908152604080832093861683529290529081205480831115610f9857600160a060020a033381166000908152600260209081526040808320938816835292905290812055610fcf565b610fa8818463ffffffff61130116565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600030600160a060020a031684600160a060020a03161415151561105857600080fd5b610be48484610f3b565b6000600160a060020a038316151561107957600080fd5b600160a060020a03331660009081526020819052604090205482111561109e57600080fd5b600160a060020a0333166000908152602081905260409020546110c7908363ffffffff61130116565b600160a060020a0333811660009081526020819052604080822093909355908516815220546110fc908363ffffffff610df116565b60008085600160a060020a0316600160a060020a031681526020019081526020016000208190555082600160a060020a031633600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b600030600160a060020a031684600160a060020a03161415151561119757600080fd5b6111a2858585610c71565b5083600160a060020a03168260405180828051906020019080838360005b838110156111d85780820151838201526020016111c0565b50505050905090810190601f1680156112055780820380516001836020036101000a031916815260200191505b509150506000604051808303816000865af1915050151561122557600080fd5b506001949350505050565b600030600160a060020a031684600160a060020a03161415151561125357600080fd5b610be48484611062565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054611295908363ffffffff610df116565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b60008282111561130d57fe5b509003905600a165627a7a72305820a21e42aaea082f8651c5f1227a7349f8f832d0e92a6edb2be29dab30ff1dfa4e00290000000000000000000000000000000000000000000497421a5557c070c00000
Deployed Bytecode
0x6060604052600436106101695763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166301dda205811461016e57806305d2035b1461018657806306fdde03146101ad578063095ea7b31461023757806316ca3b631461025957806318160ddd146102be57806323b872dd146102e3578063313ce5671461030b5780633f4ba83a1461033457806340c10f19146103475780635c17f9f4146103695780635c975abb146103ce57806366188463146103e1578063703df7931461040357806370a08231146104195780637272ad49146104385780637d64bcb41461049d5780638456cb59146104b05780638da5cb5b146104c3578063906a26e0146104f257806395d89b41146101ad578063a9059cbb14610505578063ab67aa5814610527578063be45fd6214610593578063d73dd623146105f8578063dd62ed3e1461061a578063f2fde38b1461063f578063fb86a4041461065e575b600080fd5b341561017957600080fd5b610184600435610671565b005b341561019157600080fd5b61019961069e565b604051901515815260200160405180910390f35b34156101b857600080fd5b6101c06106ae565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101fc5780820151838201526020016101e4565b50505050905090810190601f1680156102295780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561024257600080fd5b610199600160a060020a03600435166024356106e5565b341561026457600080fd5b61019960048035600160a060020a03169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061071095505050505050565b34156102c957600080fd5b6102d161073d565b60405190815260200160405180910390f35b34156102ee57600080fd5b610199600160a060020a0360043581169060243516604435610743565b341561031657600080fd5b61031e610768565b60405160ff909116815260200160405180910390f35b341561033f57600080fd5b61018461076d565b341561035257600080fd5b610199600160a060020a03600435166024356107ec565b341561037457600080fd5b61019960048035600160a060020a03169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061084c95505050505050565b34156103d957600080fd5b610199610871565b34156103ec57600080fd5b610199600160a060020a0360043516602435610881565b341561040e57600080fd5b6101846004356108a5565b341561042457600080fd5b6102d1600160a060020a03600435166108d2565b341561044357600080fd5b61019960048035600160a060020a03169060248035919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506108ed95505050505050565b34156104a857600080fd5b610199610912565b34156104bb57600080fd5b61018461099e565b34156104ce57600080fd5b6104d6610a22565b604051600160a060020a03909116815260200160405180910390f35b34156104fd57600080fd5b6102d1610a31565b341561051057600080fd5b610199600160a060020a0360043516602435610a37565b341561053257600080fd5b610199600160a060020a036004803582169160248035909116916044359160849060643590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610a5b95505050505050565b341561059e57600080fd5b61019960048035600160a060020a03169060248035919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610a7295505050505050565b341561060357600080fd5b610199600160a060020a0360043516602435610a97565b341561062557600080fd5b6102d1600160a060020a0360043581169060243516610abb565b341561064a57600080fd5b610184600160a060020a0360043516610ae6565b341561066957600080fd5b6102d1610b45565b60035433600160a060020a0390811691161461068c57600080fd5b6000811161069957600080fd5b600555565b60035460a860020a900460ff1681565b60408051908101604052600481527f4149525800000000000000000000000000000000000000000000000000000000602082015281565b60035460009060a060020a900460ff16156106ff57600080fd5b6107098383610b4b565b9392505050565b60035460009060a060020a900460ff161561072a57600080fd5b610735848484610bb7565b949350505050565b60015490565b60035460009060a060020a900460ff161561075d57600080fd5b610735848484610c71565b601281565b60035433600160a060020a0390811691161461078857600080fd5b60035460a060020a900460ff1615156107a057600080fd5b6003805474ff0000000000000000000000000000000000000000191690557f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b60035460009033600160a060020a0390811691161461080a57600080fd5b60035460a860020a900460ff161561082157600080fd5b600454600154610837908463ffffffff610df116565b111561084257600080fd5b6107098383610e00565b60035460009060a060020a900460ff161561086657600080fd5b610735848484610f0e565b60035460a060020a900460ff1681565b60035460009060a060020a900460ff161561089b57600080fd5b6107098383610f3b565b60035433600160a060020a039081169116146108c057600080fd5b600081116108cd57600080fd5b600455565b600160a060020a031660009081526020819052604090205490565b60035460009060a060020a900460ff161561090757600080fd5b610735848484611035565b60035460009033600160a060020a0390811691161461093057600080fd5b60035460a860020a900460ff161561094757600080fd5b6003805475ff000000000000000000000000000000000000000000191660a860020a1790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a150600190565b60035433600160a060020a039081169116146109b957600080fd5b60035460a060020a900460ff16156109d057600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a1790557f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b600354600160a060020a031681565b60055481565b60035460009060a060020a900460ff1615610a5157600080fd5b6107098383611062565b6000610a6985858585611174565b95945050505050565b60035460009060a060020a900460ff1615610a8c57600080fd5b610735848484611230565b60035460009060a060020a900460ff1615610ab157600080fd5b610709838361125d565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a03908116911614610b0157600080fd5b600160a060020a0381161515610b1657600080fd5b6003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60045481565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b600030600160a060020a031684600160a060020a031614151515610bda57600080fd5b610be4848461125d565b5083600160a060020a03168260405180828051906020019080838360005b83811015610c1a578082015183820152602001610c02565b50505050905090810190601f168015610c475780820380516001836020036101000a031916815260200191505b509150506000604051808303816000865af19150501515610c6757600080fd5b5060019392505050565b6000600160a060020a0383161515610c8857600080fd5b600160a060020a038416600090815260208190526040902054821115610cad57600080fd5b600160a060020a0380851660009081526002602090815260408083203390941683529290522054821115610ce057600080fd5b600160a060020a038416600090815260208190526040902054610d09908363ffffffff61130116565b600160a060020a038086166000908152602081905260408082209390935590851681522054610d3e908363ffffffff610df116565b600160a060020a0380851660009081526020818152604080832094909455878316825260028152838220339093168252919091522054610d84908363ffffffff61130116565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60008282018381101561070957fe5b60035460009033600160a060020a03908116911614610e1e57600080fd5b60035460a860020a900460ff1615610e3557600080fd5b600154610e48908363ffffffff610df116565b600155600160a060020a038316600090815260208190526040902054610e74908363ffffffff610df116565b600160a060020a0384166000818152602081905260409081902092909255907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859084905190815260200160405180910390a2600160a060020a03831660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b600030600160a060020a031684600160a060020a031614151515610f3157600080fd5b610be48484610b4b565b600160a060020a03338116600090815260026020908152604080832093861683529290529081205480831115610f9857600160a060020a033381166000908152600260209081526040808320938816835292905290812055610fcf565b610fa8818463ffffffff61130116565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600030600160a060020a031684600160a060020a03161415151561105857600080fd5b610be48484610f3b565b6000600160a060020a038316151561107957600080fd5b600160a060020a03331660009081526020819052604090205482111561109e57600080fd5b600160a060020a0333166000908152602081905260409020546110c7908363ffffffff61130116565b600160a060020a0333811660009081526020819052604080822093909355908516815220546110fc908363ffffffff610df116565b60008085600160a060020a0316600160a060020a031681526020019081526020016000208190555082600160a060020a031633600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b600030600160a060020a031684600160a060020a03161415151561119757600080fd5b6111a2858585610c71565b5083600160a060020a03168260405180828051906020019080838360005b838110156111d85780820151838201526020016111c0565b50505050905090810190601f1680156112055780820380516001836020036101000a031916815260200191505b509150506000604051808303816000865af1915050151561122557600080fd5b506001949350505050565b600030600160a060020a031684600160a060020a03161415151561125357600080fd5b610be48484611062565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054611295908363ffffffff610df116565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b60008282111561130d57fe5b509003905600a165627a7a72305820a21e42aaea082f8651c5f1227a7349f8f832d0e92a6edb2be29dab30ff1dfa4e0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000497421a5557c070c00000
-----Decoded View---------------
Arg [0] : _cap (uint256): 5550000000000000000000000
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000497421a5557c070c00000
Swarm Source
bzzr://a21e42aaea082f8651c5f1227a7349f8f832d0e92a6edb2be29dab30ff1dfa4e
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.