ERC-20
Overview
Max Total Supply
300,000,000 HOARD
Holders
574
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
10,505.183929817565546804 HOARDValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
This contract contains unverified libraries: SafeMath
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
HoardToken
Compiler Version
v0.4.23+commit.124ca40d
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-09-14 */ pragma solidity ^0.4.23; contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ constructor() 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) public onlyOwner { require(newOwner != address(0)); emit OwnershipTransferred(owner, newOwner); owner = newOwner; } } 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); } 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) { // assert(b > 0); // Solidity automatically throws when dividing by 0 uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Subtracts 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; } function times(uint a, uint b) public pure returns (uint) { uint c = a * b; assert(a == 0 || c / a == b); return c; } function minus(uint a, uint b) public pure returns (uint) { assert(b <= a); return a - b; } function plus(uint256 a, uint256 b) public pure returns (uint) { uint256 c = a + b; assert(c>=a); return c; } } 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); emit 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]; } } 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); } 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); emit 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; emit 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); emit 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); } emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } } 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); } 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; } } contract Recoverable is Ownable { /// @dev Empty constructor (for now) constructor() public { } /// @dev This will be invoked by the owner, when owner wants to rescue tokens /// @param token Token which will we rescue to the owner from the contract function recoverTokens(ERC20Basic token) onlyOwner public { token.transfer(owner, tokensToBeReturned(token)); } /// @dev Interface function, can be overwritten by the superclass /// @param token Token which balance we will check and return /// @return The amount of tokens (in smallest denominator) the contract owns function tokensToBeReturned(ERC20Basic token) public view returns (uint) { return token.balanceOf(this); } } contract StandardTokenExt is StandardToken, ERC827Token, Recoverable { /* Interface declaration */ function isToken() public view returns (bool weAre) { return true; } } contract BurnableToken is StandardTokenExt { // @notice An address for the transfer event where the burned tokens are transferred in a faux Transfer event address public constant BURN_ADDRESS = 0; /** How many tokens we burned */ event Burned(address burner, uint burnedAmount); /** * Burn extra tokens from a balance. * */ function burn(uint burnAmount) public { address burner = msg.sender; balances[burner] = balances[burner].sub(burnAmount); totalSupply_ = totalSupply_.sub(burnAmount); emit Burned(burner, burnAmount); // Inform the blockchain explores that track the // balances only by a transfer event that the balance in this // address has decreased emit Transfer(burner, BURN_ADDRESS, burnAmount); } } contract ReleasableToken is StandardTokenExt { /* The finalizer contract that allows unlift the transfer limits on this token */ address public releaseAgent; /** A crowdsale contract can release us to the wild if ICO success. If false we are are in transfer lock up period.*/ bool public released = false; /** Map of agents that are allowed to transfer tokens regardless of the lock down period. These are crowdsale contracts and possible the team multisig itself. */ mapping (address => bool) public transferAgents; /** * Limit token transfer until the crowdsale is over. * */ modifier canTransfer(address _sender) { if(!released) { if(!transferAgents[_sender]) { revert(); } } _; } /** * Set the contract that can call release and make the token transferable. * * Design choice. Allow reset the release agent to fix fat finger mistakes. */ function setReleaseAgent(address addr) onlyOwner inReleaseState(false) public { // We don't do interface check here as we might want to a normal wallet address to act as a release agent releaseAgent = addr; } /** * Owner can allow a particular address (a crowdsale contract) to transfer tokens despite the lock up period. */ function setTransferAgent(address addr, bool state) onlyOwner inReleaseState(false) public { transferAgents[addr] = state; } /** * One way function to release the tokens to the wild. * * Can be called only from the release agent that is the final ICO contract. It is only called if the crowdsale has been success (first milestone reached). */ function releaseTokenTransfer() public onlyReleaseAgent { released = true; } /** The function can be called only before or after the tokens have been releasesd */ modifier inReleaseState(bool releaseState) { if(releaseState != released) { revert(); } _; } /** The function can be called only by a whitelisted release agent. */ modifier onlyReleaseAgent() { if(msg.sender != releaseAgent) { revert(); } _; } function transfer(address _to, uint _value) canTransfer(msg.sender) public returns (bool success) { // Call StandardToken.transfer() return super.transfer(_to, _value); } function transferFrom(address _from, address _to, uint _value) canTransfer(_from) public returns (bool success) { // Call StandardToken.transferForm() return super.transferFrom(_from, _to, _value); } } contract UpgradeAgent { uint public originalSupply; /** Interface marker */ function isUpgradeAgent() public pure returns (bool) { return true; } function upgradeFrom(address _from, uint256 _value) public; } contract UpgradeableToken is StandardTokenExt { /** Contract / person who can set the upgrade path. This can be the same as team multisig wallet, as what it is with its default value. */ address public upgradeMaster; /** The next contract where the tokens will be migrated. */ UpgradeAgent public upgradeAgent; /** How many tokens we have upgraded by now. */ uint256 public totalUpgraded; /** * Upgrade states. * * - NotAllowed: The child contract has not reached a condition where the upgrade can bgun * - WaitingForAgent: Token allows upgrade, but we don't have a new agent yet * - ReadyToUpgrade: The agent is set, but not a single token has been upgraded yet * - Upgrading: Upgrade agent is set and the balance holders can upgrade their tokens * */ enum UpgradeState {Unknown, NotAllowed, WaitingForAgent, ReadyToUpgrade, Upgrading} /** * Somebody has upgraded some of his tokens. */ event Upgrade(address indexed _from, address indexed _to, uint256 _value); /** * New upgrade agent available. */ event UpgradeAgentSet(address agent); /** * Do not allow construction without upgrade master set. */ constructor(address _upgradeMaster) public { upgradeMaster = _upgradeMaster; } /** * Allow the token holder to upgrade some of their tokens to a new contract. */ function upgrade(uint256 value) public { UpgradeState state = getUpgradeState(); if(!(state == UpgradeState.ReadyToUpgrade || state == UpgradeState.Upgrading)) { // Called in a bad state revert(); } // Validate input value. if (value == 0) revert(); balances[msg.sender] = balances[msg.sender].sub(value); // Take tokens out from circulation totalSupply_ = totalSupply_.sub(value); totalUpgraded = totalUpgraded.add(value); // Upgrade agent reissues the tokens upgradeAgent.upgradeFrom(msg.sender, value); emit Upgrade(msg.sender, upgradeAgent, value); } /** * Set an upgrade agent that handles */ function setUpgradeAgent(address agent) external { if(!canUpgrade()) { // The token is not yet in a state that we could think upgrading revert(); } if (agent == 0x0) revert(); // Only a master can designate the next agent if (msg.sender != upgradeMaster) revert(); // Upgrade has already begun for an agent if (getUpgradeState() == UpgradeState.Upgrading) revert(); upgradeAgent = UpgradeAgent(agent); // Bad interface if(!upgradeAgent.isUpgradeAgent()) revert(); // Make sure that token supplies match in source and target if (upgradeAgent.originalSupply() != totalSupply_) revert(); emit UpgradeAgentSet(upgradeAgent); } /** * Get the state of the token upgrade. */ function getUpgradeState() public view returns(UpgradeState) { if(!canUpgrade()) return UpgradeState.NotAllowed; else if(address(upgradeAgent) == 0x00) return UpgradeState.WaitingForAgent; else if(totalUpgraded == 0) return UpgradeState.ReadyToUpgrade; else return UpgradeState.Upgrading; } /** * Change the upgrade master. * * This allows us to set a new owner for the upgrade mechanism. */ function setUpgradeMaster(address master) public { if (master == 0x0) revert(); if (msg.sender != upgradeMaster) revert(); upgradeMaster = master; } /** * Child contract can enable to provide the condition when the upgrade can begun. */ function canUpgrade() public view returns(bool) { return true; } } contract MintableToken is StandardTokenExt { using SafeMath for uint; bool public mintingFinished = false; /** List of agents that are allowed to create new tokens */ mapping (address => bool) public mintAgents; event MintingAgentChanged(address addr, bool state); event Minted(address receiver, uint amount); /** * Create new tokens and allocate them to an address.. * * Only callably by a crowdsale contract (mint agent). */ function mint(address receiver, uint amount) onlyMintAgent canMint public { totalSupply_ = totalSupply_.plus(amount); balances[receiver] = balances[receiver].plus(amount); // This will make the mint transaction apper in EtherScan.io // We can remove this after there is a standardized minting event emit Transfer(0, receiver, amount); } /** * Owner can allow a crowdsale contract to mint new tokens. */ function setMintAgent(address addr, bool state) onlyOwner canMint public { mintAgents[addr] = state; emit MintingAgentChanged(addr, state); } modifier onlyMintAgent() { // Only crowdsale contracts are allowed to mint new tokens if(!mintAgents[msg.sender]) { revert(); } _; } /** Make sure we are not done yet. */ modifier canMint() { if(mintingFinished) revert(); _; } } contract CrowdsaleToken is ReleasableToken, MintableToken, UpgradeableToken { /** Name and symbol were updated. */ event UpdatedTokenInformation(string newName, string newSymbol); string public name; string public symbol; uint public decimals; /** * Construct the token. * * This token must be created through a team multisig wallet, so that it is owned by that wallet. * * @param _name Token name * @param _symbol Token symbol - should be all caps * @param _initialSupply How many tokens we start with * @param _decimals Number of decimal places * @param _mintable Are new tokens created over the crowdsale or do we distribute only the initial supply? Note that when the token becomes transferable the minting always ends. */ constructor(string _name, string _symbol, uint _initialSupply, uint _decimals, bool _mintable) UpgradeableToken(msg.sender) public { // Create any address, can be transferred // to team multisig via changeOwner(), // also remember to call setUpgradeMaster() owner = msg.sender; name = _name; symbol = _symbol; totalSupply_ = _initialSupply; decimals = _decimals; // Create initially all balance on the team multisig balances[owner] = totalSupply_; if(totalSupply_ > 0) { emit Minted(owner, totalSupply_); } // No more new supply allowed after the token creation if(!_mintable) { mintingFinished = true; if(totalSupply_ == 0) { revert(); // Cannot create a token without supply and no minting } } } /** * When token is released to be transferable, enforce no new tokens can be created. */ function releaseTokenTransfer() public onlyReleaseAgent { mintingFinished = true; super.releaseTokenTransfer(); } /** * Allow upgrade agent functionality kick in only if the crowdsale was success. */ function canUpgrade() public view returns(bool) { return released && super.canUpgrade(); } /** * Owner can update token information here. * * It is often useful to conceal the actual token association, until * the token operations, like central issuance or reissuance have been completed. * * This function allows the token owner to rename the token after the operations * have been completed and then point the audience to use the token contract. */ function setTokenInformation(string _name, string _symbol) onlyOwner public { name = _name; symbol = _symbol; emit UpdatedTokenInformation(name, symbol); } } contract Pausable is Ownable { event Pause(); event Unpause(); bool public paused = false; /** * @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; emit Pause(); } /** * @dev called by the owner to unpause, returns to normal state */ function unpause() onlyOwner whenPaused public { paused = false; emit Unpause(); } } contract PausableToken is StandardToken, Pausable { 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); } } /** * A crowdsaled token that you can also burn. * */ contract HoardToken is BurnableToken, CrowdsaleToken, PausableToken { constructor(string _name, string _symbol, uint _initialSupply, uint _decimals, bool _mintable) CrowdsaleToken(_name, _symbol, _initialSupply, _decimals, _mintable) public { } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[{"name":"addr","type":"address"},{"name":"state","type":"bool"}],"name":"setTransferAgent","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":"token","type":"address"}],"name":"recoverTokens","outputs":[],"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":false,"inputs":[{"name":"addr","type":"address"}],"name":"setReleaseAgent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"receiver","type":"address"},{"name":"amount","type":"uint256"}],"name":"mint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"burnAmount","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"mintAgents","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"},{"name":"state","type":"bool"}],"name":"setMintAgent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"value","type":"uint256"}],"name":"upgrade","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"}],"name":"setTokenInformation","outputs":[],"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":true,"inputs":[],"name":"upgradeAgent","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"releaseTokenTransfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"upgradeMaster","outputs":[{"name":"","type":"address"}],"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":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":true,"inputs":[],"name":"getUpgradeState","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"transferAgents","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"released","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"canUpgrade","outputs":[{"name":"","type":"bool"}],"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":true,"inputs":[{"name":"token","type":"address"}],"name":"tokensToBeReturned","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalUpgraded","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"releaseAgent","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","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":false,"inputs":[{"name":"agent","type":"address"}],"name":"setUpgradeAgent","outputs":[],"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":true,"inputs":[],"name":"isToken","outputs":[{"name":"weAre","type":"bool"}],"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":"BURN_ADDRESS","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"master","type":"address"}],"name":"setUpgradeMaster","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_initialSupply","type":"uint256"},{"name":"_decimals","type":"uint256"},{"name":"_mintable","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"newName","type":"string"},{"indexed":false,"name":"newSymbol","type":"string"}],"name":"UpdatedTokenInformation","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Upgrade","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"agent","type":"address"}],"name":"UpgradeAgentSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"addr","type":"address"},{"indexed":false,"name":"state","type":"bool"}],"name":"MintingAgentChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"receiver","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"burner","type":"address"},{"indexed":false,"name":"burnedAmount","type":"uint256"}],"name":"Burned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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
60806040526004805460a060020a60ff02191690556006805460ff19908116909155600e805490911690553480156200003757600080fd5b50604051620023223803806200232283398101604090815281516020808401519284015160608501516080860151600380546008805433600160a060020a0316600160a060020a03199182168117909255918216811790911617905593860180519096959095019491939092909186918691869186918691620000c091600b9188019062000187565b508351620000d690600c90602087019062000187565b506001839055600d829055600354600160a060020a03166000908152602081905260408120849055831115620001525760035460015460408051600160a060020a039093168352602083019190915280517f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe9281900390910190a15b80151562000177576006805460ff191660019081179091555415156200017757600080fd5b505050505050505050506200022c565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001ca57805160ff1916838001178555620001fa565b82800160010185558215620001fa579182015b82811115620001fa578251825591602001919060010190620001dd565b50620002089291506200020c565b5090565b6200022991905b8082111562000208576000815560010162000213565b90565b6120e6806200023c6000396000f30060806040526004361061020b5763ffffffff60e060020a60003504166302f652a3811461021057806305d2035b1461023857806306fdde0314610261578063095ea7b3146102eb57806316114acd1461030f57806316ca3b631461033057806318160ddd1461039957806323b872dd146103c057806329ff4f53146103ea578063313ce5671461040b5780633f4ba83a1461042057806340c10f191461043557806342966c681461045957806342c1867b14610471578063432146751461049257806345977d03146104b85780634eee966f146104d05780635c17f9f4146105675780635c975abb146105d05780635de4ccb0146105e55780635f412d4f14610616578063600440cb1461062b578063661884631461064057806370a08231146106645780637272ad49146106855780638444b391146106ee5780638456cb5914610727578063867c28571461073c5780638da5cb5b1461075d57806395d89b411461077257806396132521146107875780639738968c1461079c578063a9059cbb146107b1578063ab67aa58146107d5578063be45fd6214610844578063c45d19db146108ad578063c752ff62146108ce578063d1f276d3146108e3578063d73dd623146108f8578063d7e7088a1461091c578063dd62ed3e1461093d578063eefa597b14610964578063f2fde38b14610979578063fccc28131461099a578063ffeb7d75146109af575b600080fd5b34801561021c57600080fd5b50610236600160a060020a036004351660243515156109d0565b005b34801561024457600080fd5b5061024d610a31565b604080519115158252519081900360200190f35b34801561026d57600080fd5b50610276610a3a565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102b0578181015183820152602001610298565b50505050905090810190601f1680156102dd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102f757600080fd5b5061024d600160a060020a0360043516602435610ac8565b34801561031b57600080fd5b50610236600160a060020a0360043516610aec565b34801561033c57600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261024d948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610ba79650505050505050565b3480156103a557600080fd5b506103ae610c61565b60408051918252519081900360200190f35b3480156103cc57600080fd5b5061024d600160a060020a0360043581169060243516604435610c68565b3480156103f657600080fd5b50610236600160a060020a0360043516610c8e565b34801561041757600080fd5b506103ae610cf3565b34801561042c57600080fd5b50610236610cf9565b34801561044157600080fd5b50610236600160a060020a0360043516602435610d5a565b34801561046557600080fd5b50610236600435610f17565b34801561047d57600080fd5b5061024d600160a060020a0360043516610fe1565b34801561049e57600080fd5b50610236600160a060020a03600435166024351515610ff6565b3480156104c457600080fd5b50610236600435611085565b3480156104dc57600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261023694369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375094975061120d9650505050505050565b34801561057357600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261024d948235600160a060020a031694602480359536959460649492019190819084018382808284375094975061137e9650505050505050565b3480156105dc57600080fd5b5061024d6113ab565b3480156105f157600080fd5b506105fa6113b4565b60408051600160a060020a039092168252519081900360200190f35b34801561062257600080fd5b506102366113c3565b34801561063757600080fd5b506105fa6113f5565b34801561064c57600080fd5b5061024d600160a060020a0360043516602435611404565b34801561067057600080fd5b506103ae600160a060020a0360043516611421565b34801561069157600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261024d948235600160a060020a031694602480359536959460649492019190819084018382808284375094975061143c9650505050505050565b3480156106fa57600080fd5b50610703611469565b6040518082600481111561071357fe5b60ff16815260200191505060405180910390f35b34801561073357600080fd5b506102366114b4565b34801561074857600080fd5b5061024d600160a060020a0360043516611517565b34801561076957600080fd5b506105fa61152c565b34801561077e57600080fd5b5061027661153b565b34801561079357600080fd5b5061024d611596565b3480156107a857600080fd5b5061024d6115a6565b3480156107bd57600080fd5b5061024d600160a060020a03600435166024356115ca565b3480156107e157600080fd5b50604080516020601f60643560048181013592830184900484028501840190955281845261024d94600160a060020a0381358116956024803590921695604435953695608494019181908401838280828437509497506115e79650505050505050565b34801561085057600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261024d948235600160a060020a03169460248035953695946064949201919081908401838280828437509497506116a39650505050505050565b3480156108b957600080fd5b506103ae600160a060020a03600435166116d0565b3480156108da57600080fd5b506103ae61175f565b3480156108ef57600080fd5b506105fa611765565b34801561090457600080fd5b5061024d600160a060020a0360043516602435611774565b34801561092857600080fd5b50610236600160a060020a0360043516611791565b34801561094957600080fd5b506103ae600160a060020a036004358116906024351661197d565b34801561097057600080fd5b5061024d6119a8565b34801561098557600080fd5b50610236600160a060020a03600435166119ad565b3480156109a657600080fd5b506105fa611a46565b3480156109bb57600080fd5b50610236600160a060020a0360043516611a4b565b60035433600160a060020a039081169116146109eb57600080fd5b60045460009060a060020a900460ff1615610a0557600080fd5b50600160a060020a03919091166000908152600560205260409020805460ff1916911515919091179055565b60065460ff1681565b600b805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610ac05780601f10610a9557610100808354040283529160200191610ac0565b820191906000526020600020905b815481529060010190602001808311610aa357829003601f168201915b505050505081565b600e5460009060ff1615610adb57600080fd5b610ae58383611aaa565b9392505050565b60035433600160a060020a03908116911614610b0757600080fd5b600354600160a060020a038083169163a9059cbb9116610b26846116d0565b6040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050602060405180830381600087803b158015610b7857600080fd5b505af1158015610b8c573d6000803e3d6000fd5b505050506040513d6020811015610ba257600080fd5b505050565b600030600160a060020a031684600160a060020a031614151515610bca57600080fd5b610bd48484611b14565b5083600160a060020a03168260405180828051906020019080838360005b83811015610c0a578181015183820152602001610bf2565b50505050905090810190601f168015610c375780820380516001836020036101000a031916815260200191505b509150506000604051808303816000865af19150501515610c5757600080fd5b5060019392505050565b6001545b90565b600e5460009060ff1615610c7b57600080fd5b610c86848484611bb6565b949350505050565b60035433600160a060020a03908116911614610ca957600080fd5b60045460009060a060020a900460ff1615610cc357600080fd5b506004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600d5481565b60035433600160a060020a03908116911614610d1457600080fd5b600e5460ff161515610d2557600080fd5b600e805460ff191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b600160a060020a03331660009081526007602052604090205460ff161515610d8157600080fd5b60065460ff1615610d9157600080fd5b60015473259c57d5a5b565f2ef8008482b4168f0a73b4c6c6366098d4f9091836040518363ffffffff1660e060020a028152600401808381526020018281526020019250505060206040518083038186803b158015610def57600080fd5b505af4158015610e03573d6000803e3d6000fd5b505050506040513d6020811015610e1957600080fd5b5051600155600160a060020a038216600090815260208181526040918290205482517f66098d4f000000000000000000000000000000000000000000000000000000008152600481019190915260248101849052915173259c57d5a5b565f2ef8008482b4168f0a73b4c6c926366098d4f926044808301939192829003018186803b158015610ea757600080fd5b505af4158015610ebb573d6000803e3d6000fd5b505050506040513d6020811015610ed157600080fd5b5051600160a060020a03831660008181526020818152604080832094909455835185815293519293919260008051602061209b8339815191529281900390910190a35050565b33600160a060020a038116600090815260208190526040902054610f3b9083611c09565b600160a060020a038216600090815260208190526040902055600154610f67908363ffffffff611c0916565b60015560408051600160a060020a03831681526020810184905281517f696de425f79f4a40bc6d2122ca50507f0efbeabbff86a84871b7196ab8ea8df7929181900390910190a1604080518381529051600091600160a060020a0384169160008051602061209b8339815191529181900360200190a35050565b60076020526000908152604090205460ff1681565b60035433600160a060020a0390811691161461101157600080fd5b60065460ff161561102157600080fd5b600160a060020a038216600081815260076020908152604091829020805460ff191685151590811790915582519384529083015280517f4b0adf6c802794c7dde28a08a4e07131abcff3bf9603cd71f14f90bec7865efa9281900390910190a15050565b600061108f611469565b9050600381600481111561109f57fe5b14806110b6575060048160048111156110b457fe5b145b15156110c157600080fd5b8115156110cd57600080fd5b600160a060020a0333166000908152602081905260409020546110f6908363ffffffff611c0916565b600160a060020a033316600090815260208190526040902055600154611122908363ffffffff611c0916565b600155600a54611138908363ffffffff611c1b16565b600a55600954604080517f753e88e5000000000000000000000000000000000000000000000000000000008152600160a060020a033381166004830152602482018690529151919092169163753e88e591604480830192600092919082900301818387803b1580156111a957600080fd5b505af11580156111bd573d6000803e3d6000fd5b5050600954604080518681529051600160a060020a0392831694503390921692507f7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac919081900360200190a35050565b60035433600160a060020a0390811691161461122857600080fd5b815161123b90600b906020850190612002565b50805161124f90600c906020840190612002565b5060408051818152600b8054600260001961010060018416150201909116049282018390527fd131ab1e6f279deea74e13a18477e13e2107deb6dc8ae955648948be5841fb46929091600c91819060208201906060830190869080156112f65780601f106112cb576101008083540402835291602001916112f6565b820191906000526020600020905b8154815290600101906020018083116112d957829003601f168201915b505083810382528454600260001961010060018416150201909116048082526020909101908590801561136a5780601f1061133f5761010080835404028352916020019161136a565b820191906000526020600020905b81548152906001019060200180831161134d57829003601f168201915b505094505050505060405180910390a15050565b600030600160a060020a031684600160a060020a0316141515156113a157600080fd5b610bd48484611aaa565b600e5460ff1681565b600954600160a060020a031681565b60045433600160a060020a039081169116146113de57600080fd5b6006805460ff191660011790556113f3611c2a565b565b600854600160a060020a031681565b600e5460009060ff161561141757600080fd5b610ae58383611c6b565b600160a060020a031660009081526020819052604090205490565b600030600160a060020a031684600160a060020a03161415151561145f57600080fd5b610bd48484611c6b565b60006114736115a6565b151561148157506001610c65565b600954600160a060020a0316151561149b57506002610c65565b600a5415156114ac57506003610c65565b506004610c65565b60035433600160a060020a039081169116146114cf57600080fd5b600e5460ff16156114df57600080fd5b600e805460ff191660011790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b60056020526000908152604090205460ff1681565b600354600160a060020a031681565b600c805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610ac05780601f10610a9557610100808354040283529160200191610ac0565b60045460a060020a900460ff1681565b60045460009060a060020a900460ff1680156115c557506115c56119a8565b905090565b600e5460009060ff16156115dd57600080fd5b610ae58383611d64565b600030600160a060020a031684600160a060020a03161415151561160a57600080fd5b611615858585611dad565b5083600160a060020a03168260405180828051906020019080838360005b8381101561164b578181015183820152602001611633565b50505050905090810190601f1680156116785780820380516001836020036101000a031916815260200191505b509150506000604051808303816000865af1915050151561169857600080fd5b506001949350505050565b600030600160a060020a031684600160a060020a0316141515156116c657600080fd5b610bd48484611f1b565b600081600160a060020a03166370a08231306040518263ffffffff1660e060020a0281526004018082600160a060020a0316600160a060020a03168152602001915050602060405180830381600087803b15801561172d57600080fd5b505af1158015611741573d6000803e3d6000fd5b505050506040513d602081101561175757600080fd5b505192915050565b600a5481565b600454600160a060020a031681565b600e5460009060ff161561178757600080fd5b610ae58383611b14565b6117996115a6565b15156117a457600080fd5b600160a060020a03811615156117b957600080fd5b60085433600160a060020a039081169116146117d457600080fd5b60046117de611469565b60048111156117e957fe5b14156117f457600080fd5b6009805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055604080517f61d3d7a6000000000000000000000000000000000000000000000000000000008152905192909116916361d3d7a6916004808201926020929091908290030181600087803b15801561187857600080fd5b505af115801561188c573d6000803e3d6000fd5b505050506040513d60208110156118a257600080fd5b505115156118af57600080fd5b600154600960009054906101000a9004600160a060020a0316600160a060020a0316634b2ba0dd6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561190557600080fd5b505af1158015611919573d6000803e3d6000fd5b505050506040513d602081101561192f57600080fd5b50511461193b57600080fd5b60095460408051600160a060020a039092168252517f7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc9181900360200190a150565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600190565b60035433600160a060020a039081169116146119c857600080fd5b600160a060020a03811615156119dd57600080fd5b600354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600081565b600160a060020a0381161515611a6057600080fd5b60085433600160a060020a03908116911614611a7b57600080fd5b6008805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a03338116600081815260026020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054611b4c908363ffffffff611c1b16565b600160a060020a0333811660008181526002602090815260408083209489168084529482529182902085905581519485529051929391927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a350600192915050565b600454600090849060a060020a900460ff161515611bf557600160a060020a03811660009081526005602052604090205460ff161515611bf557600080fd5b611c00858585611dad565b95945050505050565b600082821115611c1557fe5b50900390565b600082820183811015610ae557fe5b60045433600160a060020a03908116911614611c4557600080fd5b6004805474ff0000000000000000000000000000000000000000191660a060020a179055565b600160a060020a03338116600090815260026020908152604080832093861683529290529081205480831115611cc857600160a060020a033381166000908152600260209081526040808320938816835292905290812055611cff565b611cd8818463ffffffff611c0916565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529482529182902054825190815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060019392505050565b600454600090339060a060020a900460ff161515611da357600160a060020a03811660009081526005602052604090205460ff161515611da357600080fd5b610c868484611f1b565b6000600160a060020a0383161515611dc457600080fd5b600160a060020a038416600090815260208190526040902054821115611de957600080fd5b600160a060020a0380851660009081526002602090815260408083203390941683529290522054821115611e1c57600080fd5b600160a060020a038416600090815260208190526040902054611e45908363ffffffff611c0916565b600160a060020a038086166000908152602081905260408082209390935590851681522054611e7a908363ffffffff611c1b16565b600160a060020a0380851660009081526020818152604080832094909455878316825260028152838220339093168252919091522054611ec0908363ffffffff611c0916565b600160a060020a0380861660008181526002602090815260408083203386168452825291829020949094558051868152905192871693919260008051602061209b833981519152929181900390910190a35060019392505050565b6000600160a060020a0383161515611f3257600080fd5b600160a060020a033316600090815260208190526040902054821115611f5757600080fd5b600160a060020a033316600090815260208190526040902054611f80908363ffffffff611c0916565b600160a060020a033381166000908152602081905260408082209390935590851681522054611fb5908363ffffffff611c1b16565b600160a060020a038085166000818152602081815260409182902094909455805186815290519193339093169260008051602061209b83398151915292918290030190a350600192915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061204357805160ff1916838001178555612070565b82800160010185558215612070579182015b82811115612070578251825591602001919060010190612055565b5061207c929150612080565b5090565b610c6591905b8082111561207c57600081556001016120865600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820857cd7e13eb316e2882efdc1d1530c35fe04f35d72887a2a3a5e9b928c3b2dc4002900000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000f8277896582678ac000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005486f6172640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005484f415244000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061020b5763ffffffff60e060020a60003504166302f652a3811461021057806305d2035b1461023857806306fdde0314610261578063095ea7b3146102eb57806316114acd1461030f57806316ca3b631461033057806318160ddd1461039957806323b872dd146103c057806329ff4f53146103ea578063313ce5671461040b5780633f4ba83a1461042057806340c10f191461043557806342966c681461045957806342c1867b14610471578063432146751461049257806345977d03146104b85780634eee966f146104d05780635c17f9f4146105675780635c975abb146105d05780635de4ccb0146105e55780635f412d4f14610616578063600440cb1461062b578063661884631461064057806370a08231146106645780637272ad49146106855780638444b391146106ee5780638456cb5914610727578063867c28571461073c5780638da5cb5b1461075d57806395d89b411461077257806396132521146107875780639738968c1461079c578063a9059cbb146107b1578063ab67aa58146107d5578063be45fd6214610844578063c45d19db146108ad578063c752ff62146108ce578063d1f276d3146108e3578063d73dd623146108f8578063d7e7088a1461091c578063dd62ed3e1461093d578063eefa597b14610964578063f2fde38b14610979578063fccc28131461099a578063ffeb7d75146109af575b600080fd5b34801561021c57600080fd5b50610236600160a060020a036004351660243515156109d0565b005b34801561024457600080fd5b5061024d610a31565b604080519115158252519081900360200190f35b34801561026d57600080fd5b50610276610a3a565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102b0578181015183820152602001610298565b50505050905090810190601f1680156102dd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102f757600080fd5b5061024d600160a060020a0360043516602435610ac8565b34801561031b57600080fd5b50610236600160a060020a0360043516610aec565b34801561033c57600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261024d948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610ba79650505050505050565b3480156103a557600080fd5b506103ae610c61565b60408051918252519081900360200190f35b3480156103cc57600080fd5b5061024d600160a060020a0360043581169060243516604435610c68565b3480156103f657600080fd5b50610236600160a060020a0360043516610c8e565b34801561041757600080fd5b506103ae610cf3565b34801561042c57600080fd5b50610236610cf9565b34801561044157600080fd5b50610236600160a060020a0360043516602435610d5a565b34801561046557600080fd5b50610236600435610f17565b34801561047d57600080fd5b5061024d600160a060020a0360043516610fe1565b34801561049e57600080fd5b50610236600160a060020a03600435166024351515610ff6565b3480156104c457600080fd5b50610236600435611085565b3480156104dc57600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261023694369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375094975061120d9650505050505050565b34801561057357600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261024d948235600160a060020a031694602480359536959460649492019190819084018382808284375094975061137e9650505050505050565b3480156105dc57600080fd5b5061024d6113ab565b3480156105f157600080fd5b506105fa6113b4565b60408051600160a060020a039092168252519081900360200190f35b34801561062257600080fd5b506102366113c3565b34801561063757600080fd5b506105fa6113f5565b34801561064c57600080fd5b5061024d600160a060020a0360043516602435611404565b34801561067057600080fd5b506103ae600160a060020a0360043516611421565b34801561069157600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261024d948235600160a060020a031694602480359536959460649492019190819084018382808284375094975061143c9650505050505050565b3480156106fa57600080fd5b50610703611469565b6040518082600481111561071357fe5b60ff16815260200191505060405180910390f35b34801561073357600080fd5b506102366114b4565b34801561074857600080fd5b5061024d600160a060020a0360043516611517565b34801561076957600080fd5b506105fa61152c565b34801561077e57600080fd5b5061027661153b565b34801561079357600080fd5b5061024d611596565b3480156107a857600080fd5b5061024d6115a6565b3480156107bd57600080fd5b5061024d600160a060020a03600435166024356115ca565b3480156107e157600080fd5b50604080516020601f60643560048181013592830184900484028501840190955281845261024d94600160a060020a0381358116956024803590921695604435953695608494019181908401838280828437509497506115e79650505050505050565b34801561085057600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261024d948235600160a060020a03169460248035953695946064949201919081908401838280828437509497506116a39650505050505050565b3480156108b957600080fd5b506103ae600160a060020a03600435166116d0565b3480156108da57600080fd5b506103ae61175f565b3480156108ef57600080fd5b506105fa611765565b34801561090457600080fd5b5061024d600160a060020a0360043516602435611774565b34801561092857600080fd5b50610236600160a060020a0360043516611791565b34801561094957600080fd5b506103ae600160a060020a036004358116906024351661197d565b34801561097057600080fd5b5061024d6119a8565b34801561098557600080fd5b50610236600160a060020a03600435166119ad565b3480156109a657600080fd5b506105fa611a46565b3480156109bb57600080fd5b50610236600160a060020a0360043516611a4b565b60035433600160a060020a039081169116146109eb57600080fd5b60045460009060a060020a900460ff1615610a0557600080fd5b50600160a060020a03919091166000908152600560205260409020805460ff1916911515919091179055565b60065460ff1681565b600b805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610ac05780601f10610a9557610100808354040283529160200191610ac0565b820191906000526020600020905b815481529060010190602001808311610aa357829003601f168201915b505050505081565b600e5460009060ff1615610adb57600080fd5b610ae58383611aaa565b9392505050565b60035433600160a060020a03908116911614610b0757600080fd5b600354600160a060020a038083169163a9059cbb9116610b26846116d0565b6040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050602060405180830381600087803b158015610b7857600080fd5b505af1158015610b8c573d6000803e3d6000fd5b505050506040513d6020811015610ba257600080fd5b505050565b600030600160a060020a031684600160a060020a031614151515610bca57600080fd5b610bd48484611b14565b5083600160a060020a03168260405180828051906020019080838360005b83811015610c0a578181015183820152602001610bf2565b50505050905090810190601f168015610c375780820380516001836020036101000a031916815260200191505b509150506000604051808303816000865af19150501515610c5757600080fd5b5060019392505050565b6001545b90565b600e5460009060ff1615610c7b57600080fd5b610c86848484611bb6565b949350505050565b60035433600160a060020a03908116911614610ca957600080fd5b60045460009060a060020a900460ff1615610cc357600080fd5b506004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600d5481565b60035433600160a060020a03908116911614610d1457600080fd5b600e5460ff161515610d2557600080fd5b600e805460ff191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b600160a060020a03331660009081526007602052604090205460ff161515610d8157600080fd5b60065460ff1615610d9157600080fd5b60015473259c57d5a5b565f2ef8008482b4168f0a73b4c6c6366098d4f9091836040518363ffffffff1660e060020a028152600401808381526020018281526020019250505060206040518083038186803b158015610def57600080fd5b505af4158015610e03573d6000803e3d6000fd5b505050506040513d6020811015610e1957600080fd5b5051600155600160a060020a038216600090815260208181526040918290205482517f66098d4f000000000000000000000000000000000000000000000000000000008152600481019190915260248101849052915173259c57d5a5b565f2ef8008482b4168f0a73b4c6c926366098d4f926044808301939192829003018186803b158015610ea757600080fd5b505af4158015610ebb573d6000803e3d6000fd5b505050506040513d6020811015610ed157600080fd5b5051600160a060020a03831660008181526020818152604080832094909455835185815293519293919260008051602061209b8339815191529281900390910190a35050565b33600160a060020a038116600090815260208190526040902054610f3b9083611c09565b600160a060020a038216600090815260208190526040902055600154610f67908363ffffffff611c0916565b60015560408051600160a060020a03831681526020810184905281517f696de425f79f4a40bc6d2122ca50507f0efbeabbff86a84871b7196ab8ea8df7929181900390910190a1604080518381529051600091600160a060020a0384169160008051602061209b8339815191529181900360200190a35050565b60076020526000908152604090205460ff1681565b60035433600160a060020a0390811691161461101157600080fd5b60065460ff161561102157600080fd5b600160a060020a038216600081815260076020908152604091829020805460ff191685151590811790915582519384529083015280517f4b0adf6c802794c7dde28a08a4e07131abcff3bf9603cd71f14f90bec7865efa9281900390910190a15050565b600061108f611469565b9050600381600481111561109f57fe5b14806110b6575060048160048111156110b457fe5b145b15156110c157600080fd5b8115156110cd57600080fd5b600160a060020a0333166000908152602081905260409020546110f6908363ffffffff611c0916565b600160a060020a033316600090815260208190526040902055600154611122908363ffffffff611c0916565b600155600a54611138908363ffffffff611c1b16565b600a55600954604080517f753e88e5000000000000000000000000000000000000000000000000000000008152600160a060020a033381166004830152602482018690529151919092169163753e88e591604480830192600092919082900301818387803b1580156111a957600080fd5b505af11580156111bd573d6000803e3d6000fd5b5050600954604080518681529051600160a060020a0392831694503390921692507f7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac919081900360200190a35050565b60035433600160a060020a0390811691161461122857600080fd5b815161123b90600b906020850190612002565b50805161124f90600c906020840190612002565b5060408051818152600b8054600260001961010060018416150201909116049282018390527fd131ab1e6f279deea74e13a18477e13e2107deb6dc8ae955648948be5841fb46929091600c91819060208201906060830190869080156112f65780601f106112cb576101008083540402835291602001916112f6565b820191906000526020600020905b8154815290600101906020018083116112d957829003601f168201915b505083810382528454600260001961010060018416150201909116048082526020909101908590801561136a5780601f1061133f5761010080835404028352916020019161136a565b820191906000526020600020905b81548152906001019060200180831161134d57829003601f168201915b505094505050505060405180910390a15050565b600030600160a060020a031684600160a060020a0316141515156113a157600080fd5b610bd48484611aaa565b600e5460ff1681565b600954600160a060020a031681565b60045433600160a060020a039081169116146113de57600080fd5b6006805460ff191660011790556113f3611c2a565b565b600854600160a060020a031681565b600e5460009060ff161561141757600080fd5b610ae58383611c6b565b600160a060020a031660009081526020819052604090205490565b600030600160a060020a031684600160a060020a03161415151561145f57600080fd5b610bd48484611c6b565b60006114736115a6565b151561148157506001610c65565b600954600160a060020a0316151561149b57506002610c65565b600a5415156114ac57506003610c65565b506004610c65565b60035433600160a060020a039081169116146114cf57600080fd5b600e5460ff16156114df57600080fd5b600e805460ff191660011790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b60056020526000908152604090205460ff1681565b600354600160a060020a031681565b600c805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610ac05780601f10610a9557610100808354040283529160200191610ac0565b60045460a060020a900460ff1681565b60045460009060a060020a900460ff1680156115c557506115c56119a8565b905090565b600e5460009060ff16156115dd57600080fd5b610ae58383611d64565b600030600160a060020a031684600160a060020a03161415151561160a57600080fd5b611615858585611dad565b5083600160a060020a03168260405180828051906020019080838360005b8381101561164b578181015183820152602001611633565b50505050905090810190601f1680156116785780820380516001836020036101000a031916815260200191505b509150506000604051808303816000865af1915050151561169857600080fd5b506001949350505050565b600030600160a060020a031684600160a060020a0316141515156116c657600080fd5b610bd48484611f1b565b600081600160a060020a03166370a08231306040518263ffffffff1660e060020a0281526004018082600160a060020a0316600160a060020a03168152602001915050602060405180830381600087803b15801561172d57600080fd5b505af1158015611741573d6000803e3d6000fd5b505050506040513d602081101561175757600080fd5b505192915050565b600a5481565b600454600160a060020a031681565b600e5460009060ff161561178757600080fd5b610ae58383611b14565b6117996115a6565b15156117a457600080fd5b600160a060020a03811615156117b957600080fd5b60085433600160a060020a039081169116146117d457600080fd5b60046117de611469565b60048111156117e957fe5b14156117f457600080fd5b6009805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055604080517f61d3d7a6000000000000000000000000000000000000000000000000000000008152905192909116916361d3d7a6916004808201926020929091908290030181600087803b15801561187857600080fd5b505af115801561188c573d6000803e3d6000fd5b505050506040513d60208110156118a257600080fd5b505115156118af57600080fd5b600154600960009054906101000a9004600160a060020a0316600160a060020a0316634b2ba0dd6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561190557600080fd5b505af1158015611919573d6000803e3d6000fd5b505050506040513d602081101561192f57600080fd5b50511461193b57600080fd5b60095460408051600160a060020a039092168252517f7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc9181900360200190a150565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600190565b60035433600160a060020a039081169116146119c857600080fd5b600160a060020a03811615156119dd57600080fd5b600354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600081565b600160a060020a0381161515611a6057600080fd5b60085433600160a060020a03908116911614611a7b57600080fd5b6008805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a03338116600081815260026020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054611b4c908363ffffffff611c1b16565b600160a060020a0333811660008181526002602090815260408083209489168084529482529182902085905581519485529051929391927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a350600192915050565b600454600090849060a060020a900460ff161515611bf557600160a060020a03811660009081526005602052604090205460ff161515611bf557600080fd5b611c00858585611dad565b95945050505050565b600082821115611c1557fe5b50900390565b600082820183811015610ae557fe5b60045433600160a060020a03908116911614611c4557600080fd5b6004805474ff0000000000000000000000000000000000000000191660a060020a179055565b600160a060020a03338116600090815260026020908152604080832093861683529290529081205480831115611cc857600160a060020a033381166000908152600260209081526040808320938816835292905290812055611cff565b611cd8818463ffffffff611c0916565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529482529182902054825190815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060019392505050565b600454600090339060a060020a900460ff161515611da357600160a060020a03811660009081526005602052604090205460ff161515611da357600080fd5b610c868484611f1b565b6000600160a060020a0383161515611dc457600080fd5b600160a060020a038416600090815260208190526040902054821115611de957600080fd5b600160a060020a0380851660009081526002602090815260408083203390941683529290522054821115611e1c57600080fd5b600160a060020a038416600090815260208190526040902054611e45908363ffffffff611c0916565b600160a060020a038086166000908152602081905260408082209390935590851681522054611e7a908363ffffffff611c1b16565b600160a060020a0380851660009081526020818152604080832094909455878316825260028152838220339093168252919091522054611ec0908363ffffffff611c0916565b600160a060020a0380861660008181526002602090815260408083203386168452825291829020949094558051868152905192871693919260008051602061209b833981519152929181900390910190a35060019392505050565b6000600160a060020a0383161515611f3257600080fd5b600160a060020a033316600090815260208190526040902054821115611f5757600080fd5b600160a060020a033316600090815260208190526040902054611f80908363ffffffff611c0916565b600160a060020a033381166000908152602081905260408082209390935590851681522054611fb5908363ffffffff611c1b16565b600160a060020a038085166000818152602081815260409182902094909455805186815290519193339093169260008051602061209b83398151915292918290030190a350600192915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061204357805160ff1916838001178555612070565b82800160010185558215612070579182015b82811115612070578251825591602001919060010190612055565b5061207c929150612080565b5090565b610c6591905b8082111561207c57600081556001016120865600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820857cd7e13eb316e2882efdc1d1530c35fe04f35d72887a2a3a5e9b928c3b2dc40029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000f8277896582678ac000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005486f6172640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005484f415244000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Hoard
Arg [1] : _symbol (string): HOARD
Arg [2] : _initialSupply (uint256): 300000000000000000000000000
Arg [3] : _decimals (uint256): 18
Arg [4] : _mintable (bool): False
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 000000000000000000000000000000000000000000f8277896582678ac000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 486f617264000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [8] : 484f415244000000000000000000000000000000000000000000000000000000
Swarm Source
bzzr://857cd7e13eb316e2882efdc1d1530c35fe04f35d72887a2a3a5e9b928c3b2dc4
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.