ETH Price: $3,044.23 (-2.20%)
Gas: 6 Gwei

Contract

0x1a7a8BD9106F2B8D977E08582DC7d24c723ab0DB
 
Transaction Hash
Method
Block
From
To
Value
0x1239099e193bf534a5c99722bbeab5ba97b56eebb9abbadeb0b130dd74d32c07Transfer(pending)2024-04-05 9:01:5915 days ago1712307719IN
AppCoins
0 ETH(Pending)(Pending)
0x977bc769b34bfd3b5c48d6073a2ece6dc8f4d11f41effb38c3480dfa04cd002eTransfer(pending)2024-03-31 2:40:1520 days ago1711852815IN
AppCoins
0 ETH(Pending)(Pending)
Transfer196915452024-04-19 19:24:2314 hrs ago1713554663IN
AppCoins
0 ETH0.0005952412.0193213
Transfer196907332024-04-19 16:40:4717 hrs ago1713544847IN
AppCoins
0 ETH0.0005591715.01701922
Transfer196907332024-04-19 16:40:4717 hrs ago1713544847IN
AppCoins
0 ETH0.0005589915.01701922
Transfer196907192024-04-19 16:37:4717 hrs ago1713544667IN
AppCoins
0 ETH0.0007375119.81929405
Transfer196901532024-04-19 14:43:3519 hrs ago1713537815IN
AppCoins
0 ETH0.0007540820.26465998
Transfer196901522024-04-19 14:43:2319 hrs ago1713537803IN
AppCoins
0 ETH0.0007163519.25070793
Transfer196901502024-04-19 14:42:5919 hrs ago1713537779IN
AppCoins
0 ETH0.0010071518.54392171
Transfer196806872024-04-18 6:54:472 days ago1713423287IN
AppCoins
0 ETH0.0006792912.50457243
Transfer196683042024-04-16 13:20:473 days ago1713273647IN
AppCoins
0 ETH0.0005221514.02724289
Transfer196683042024-04-16 13:20:473 days ago1713273647IN
AppCoins
0 ETH0.0005221514.02724289
Transfer196682982024-04-16 13:19:353 days ago1713273575IN
AppCoins
0 ETH0.0006400417.20547323
Transfer196373322024-04-12 5:06:598 days ago1712898419IN
AppCoins
0 ETH0.0007658715.47223821
Transfer196284382024-04-10 23:13:239 days ago1712790803IN
AppCoins
0 ETH0.0009634117.73855217
Approve196071662024-04-07 23:44:5912 days ago1712533499IN
AppCoins
0 ETH0.0002620310.00363727
Transfer195928252024-04-05 23:30:3514 days ago1712359835IN
AppCoins
0 ETH0.0007289413.42146883
Approve195925372024-04-05 22:32:5914 days ago1712356379IN
AppCoins
0 ETH0.0006864514.7160125
Transfer195924242024-04-05 22:10:2314 days ago1712355023IN
AppCoins
0 ETH0.0011484623.18445839
Transfer195924172024-04-05 22:08:5914 days ago1712354939IN
AppCoins
0 ETH0.0009339418.85841711
Approve195923952024-04-05 22:04:3514 days ago1712354675IN
AppCoins
0 ETH0.0005027720.49626383
Approve195923932024-04-05 22:04:1114 days ago1712354651IN
AppCoins
0 ETH0.0009193919.70955845
Approve195840772024-04-04 18:07:1115 days ago1712254031IN
AppCoins
0 ETH0.002028343.48198779
Approve195840542024-04-04 18:02:3515 days ago1712253755IN
AppCoins
0 ETH0.0022024847.15524968
Approve195562862024-03-31 20:37:4719 days ago1711917467IN
AppCoins
0 ETH0.0011912225.53695996
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AMLToken

Compiler Version
v0.4.16+commit.d7661dd9

Optimization Enabled:
Yes with 500 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2017-11-06
*/

/**
 * This smart contract code is Copyright 2017 TokenMarket Ltd. For more information see https://tokenmarket.net
 *
 * Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt
 */


/**
 * This smart contract code is Copyright 2017 TokenMarket Ltd. For more information see https://tokenmarket.net
 *
 * Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt
 */


/**
 * This smart contract code is Copyright 2017 TokenMarket Ltd. For more information see https://tokenmarket.net
 *
 * Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt
 */


/**
 * This smart contract code is Copyright 2017 TokenMarket Ltd. For more information see https://tokenmarket.net
 *
 * Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt
 */








/**
 * @title ERC20Basic
 * @dev Simpler version of ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/179
 */
contract ERC20Basic {
  uint256 public totalSupply;
  function balanceOf(address who) constant returns (uint256);
  function transfer(address to, uint256 value) returns (bool);
  event Transfer(address indexed from, address indexed to, uint256 value);
}



/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {
  function mul(uint256 a, uint256 b) internal constant returns (uint256) {
    uint256 c = a * b;
    assert(a == 0 || c / a == b);
    return c;
  }

  function div(uint256 a, uint256 b) internal constant 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;
  }

  function sub(uint256 a, uint256 b) internal constant returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  function add(uint256 a, uint256 b) internal constant returns (uint256) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
}



/**
 * @title Basic token
 * @dev Basic version of StandardToken, with no allowances. 
 */
contract BasicToken is ERC20Basic {
  using SafeMath for uint256;

  mapping(address => uint256) balances;

  /**
  * @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) returns (bool) {
    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) constant returns (uint256 balance) {
    return balances[_owner];
  }

}






/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
contract ERC20 is ERC20Basic {
  function allowance(address owner, address spender) constant returns (uint256);
  function transferFrom(address from, address to, uint256 value) returns (bool);
  function approve(address spender, uint256 value) returns (bool);
  event Approval(address indexed owner, address indexed spender, uint256 value);
}



/**
 * @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)) 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 amout of tokens to be transfered
   */
  function transferFrom(address _from, address _to, uint256 _value) returns (bool) {
    var _allowance = allowed[_from][msg.sender];

    // Check is not needed because sub(_allowance, _value) will already throw if this condition is not met
    // require (_value <= _allowance);

    balances[_to] = balances[_to].add(_value);
    balances[_from] = balances[_from].sub(_value);
    allowed[_from][msg.sender] = _allowance.sub(_value);
    Transfer(_from, _to, _value);
    return true;
  }

  /**
   * @dev Aprove the passed address to spend the specified amount of tokens on behalf of msg.sender.
   * @param _spender The address which will spend the funds.
   * @param _value The amount of tokens to be spent.
   */
  function approve(address _spender, uint256 _value) returns (bool) {

    // To change the approve amount you first have to reduce the addresses`
    //  allowance to zero by calling `approve(_spender, 0)` if it is not
    //  already 0 to mitigate the race condition described here:
    //  https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
    require((_value == 0) || (allowed[msg.sender][_spender] == 0));

    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 specifing the amount of tokens still available for the spender.
   */
  function allowance(address _owner, address _spender) constant returns (uint256 remaining) {
    return allowed[_owner][_spender];
  }

}



/**
 * Standard EIP-20 token with an interface marker.
 *
 * @notice Interface marker is used by crowdsale contracts to validate that addresses point a good token contract.
 *
 */
contract StandardTokenExt is StandardToken {

  /* Interface declaration */
  function isToken() public constant 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) {
    address burner = msg.sender;
    balances[burner] = balances[burner].sub(burnAmount);
    totalSupply = totalSupply.sub(burnAmount);
    Burned(burner, burnAmount);

    // Inform the blockchain explores that track the
    // balances only by a transfer event that the balance in this
    // address has decreased
    Transfer(burner, BURN_ADDRESS, burnAmount);
  }
}

/**
 * This smart contract code is Copyright 2017 TokenMarket Ltd. For more information see https://tokenmarket.net
 *
 * Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt
 */


/**
 * This smart contract code is Copyright 2017 TokenMarket Ltd. For more information see https://tokenmarket.net
 *
 * Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt
 */




/**
 * This smart contract code is Copyright 2017 TokenMarket Ltd. For more information see https://tokenmarket.net
 *
 * Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt
 */


/**
 * Upgrade agent interface inspired by Lunyr.
 *
 * Upgrade agent transfers tokens to a new contract.
 * Upgrade agent itself can be the token contract, or just a middle man contract doing the heavy lifting.
 */
contract UpgradeAgent {

  uint public originalSupply;

  /** Interface marker */
  function isUpgradeAgent() public constant returns (bool) {
    return true;
  }

  function upgradeFrom(address _from, uint256 _value) public;

}


/**
 * A token upgrade mechanism where users can opt-in amount of tokens to the next smart contract revision.
 *
 * First envisioned by Golem and Lunyr projects.
 */
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.
   */
  function UpgradeableToken(address _upgradeMaster) {
    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
        throw;
      }

      // Validate input value.
      if (value == 0) throw;

      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);
      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
        throw;
      }

      if (agent == 0x0) throw;
      // Only a master can designate the next agent
      if (msg.sender != upgradeMaster) throw;
      // Upgrade has already begun for an agent
      if (getUpgradeState() == UpgradeState.Upgrading) throw;

      upgradeAgent = UpgradeAgent(agent);

      // Bad interface
      if(!upgradeAgent.isUpgradeAgent()) throw;
      // Make sure that token supplies match in source and target
      if (upgradeAgent.originalSupply() != totalSupply) throw;

      UpgradeAgentSet(upgradeAgent);
  }

  /**
   * Get the state of the token upgrade.
   */
  function getUpgradeState() public constant 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) throw;
      if (msg.sender != upgradeMaster) throw;
      upgradeMaster = master;
  }

  /**
   * Child contract can enable to provide the condition when the upgrade can begun.
   */
  function canUpgrade() public constant returns(bool) {
     return true;
  }

}

/**
 * This smart contract code is Copyright 2017 TokenMarket Ltd. For more information see https://tokenmarket.net
 *
 * Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt
 */




/**
 * @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() {
    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 {
    require(newOwner != address(0));      
    owner = newOwner;
  }

}




/**
 * Define interface for releasing the token transfer after a successful crowdsale.
 */
contract ReleasableToken is ERC20, Ownable {

  /* 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]) {
            throw;
        }
    }

    _;
  }

  /**
   * 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) {
        throw;
    }
    _;
  }

  /** The function can be called only by a whitelisted release agent. */
  modifier onlyReleaseAgent() {
    if(msg.sender != releaseAgent) {
        throw;
    }
    _;
  }

  function transfer(address _to, uint _value) canTransfer(msg.sender) returns (bool success) {
    // Call StandardToken.transfer()
   return super.transfer(_to, _value);
  }

  function transferFrom(address _from, address _to, uint _value) canTransfer(_from) returns (bool success) {
    // Call StandardToken.transferForm()
    return super.transferFrom(_from, _to, _value);
  }

}

/**
 * This smart contract code is Copyright 2017 TokenMarket Ltd. For more information see https://tokenmarket.net
 *
 * Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt
 */




/**
 * This smart contract code is Copyright 2017 TokenMarket Ltd. For more information see https://tokenmarket.net
 *
 * Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt
 */


/**
 * Safe unsigned safe math.
 *
 * https://blog.aragon.one/library-driven-development-in-solidity-2bebcaf88736#.750gwtwli
 *
 * Originally from https://raw.githubusercontent.com/AragonOne/zeppelin-solidity/master/contracts/SafeMathLib.sol
 *
 * Maintained here until merged to mainline zeppelin-solidity.
 *
 */
library SafeMathLib {

  function times(uint a, uint b) returns (uint) {
    uint c = a * b;
    assert(a == 0 || c / a == b);
    return c;
  }

  function minus(uint a, uint b) returns (uint) {
    assert(b <= a);
    return a - b;
  }

  function plus(uint a, uint b) returns (uint) {
    uint c = a + b;
    assert(c>=a);
    return c;
  }

}



/**
 * A token that can increase its supply by another contract.
 *
 * This allows uncapped crowdsale by dynamically increasing the supply when money pours in.
 * Only mint agents, contracts whitelisted by owner, can mint new tokens.
 *
 */
contract MintableToken is StandardTokenExt, Ownable {

  using SafeMathLib 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
    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;
    MintingAgentChanged(addr, state);
  }

  modifier onlyMintAgent() {
    // Only crowdsale contracts are allowed to mint new tokens
    if(!mintAgents[msg.sender]) {
        throw;
    }
    _;
  }

  /** Make sure we are not done yet. */
  modifier canMint() {
    if(mintingFinished) throw;
    _;
  }
}



/**
 * A crowdsaled token.
 *
 * An ERC-20 token designed specifically for crowdsales with investor protection and further development path.
 *
 * - The token transfer() is disabled until the crowdsale is over
 * - The token contract gives an opt-in upgrade path to a new contract
 * - The same token can be part of several crowdsales through approve() mechanism
 * - The token can be capped (supply set in the constructor) or uncapped (crowdsale contract can mint new tokens)
 *
 */
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.
   */
  function CrowdsaleToken(string _name, string _symbol, uint _initialSupply, uint _decimals, bool _mintable)
    UpgradeableToken(msg.sender) {

    // 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) {
      Minted(owner, totalSupply);
    }

    // No more new supply allowed after the token creation
    if(!_mintable) {
      mintingFinished = true;
      if(totalSupply == 0) {
        throw; // 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 constant 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 {
    name = _name;
    symbol = _symbol;

    UpdatedTokenInformation(name, symbol);
  }

}


/**
 * A crowdsaled token that you can also burn.
 *
 */
contract BurnableCrowdsaleToken is BurnableToken, CrowdsaleToken {

  function BurnableCrowdsaleToken(string _name, string _symbol, uint _initialSupply, uint _decimals, bool _mintable)
    CrowdsaleToken(_name, _symbol, _initialSupply, _decimals, _mintable) {

  }
}



/**
 * The AML Token
 *
 * This subset of BurnableCrowdsaleToken gives the Owner a possibility to
 * reclaim tokens from a participant before the token is released
 * after a participant has failed a prolonged AML process.
 *
 * It is assumed that the anti-money laundering process depends on blockchain data.
 * The data is not available before the transaction and not for the smart contract.
 * Thus, we need to implement logic to handle AML failure cases post payment.
 * We give a time window before the token release for the token sale owners to
 * complete the AML and claw back all token transactions that were
 * caused by rejected purchases.
 */
contract AMLToken is BurnableCrowdsaleToken {

  // An event when the owner has reclaimed non-released tokens
  event OwnerReclaim(address fromWhom, uint amount);

  function AMLToken(string _name, string _symbol, uint _initialSupply, uint _decimals, bool _mintable) BurnableCrowdsaleToken(_name, _symbol, _initialSupply, _decimals, _mintable) {

  }

  /// @dev Here the owner can reclaim the tokens from a participant if
  ///      the token is not released yet. Refund will be handled offband.
  /// @param fromWhom address of the participant whose tokens we want to claim
  function transferToOwner(address fromWhom) onlyOwner {
    if (released) revert();

    uint amount = balanceOf(fromWhom);
    balances[fromWhom] = balances[fromWhom].sub(amount);
    balances[owner] = balances[owner].add(amount);
    Transfer(fromWhom, owner, amount);
    OwnerReclaim(fromWhom, amount);
  }
}

Contract Security Audit

Contract ABI

[{"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":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":"success","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":"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":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":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"fromWhom","type":"address"}],"name":"transferToOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getUpgradeState","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","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":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":"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":"remaining","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":[{"indexed":false,"name":"fromWhom","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"OwnerReclaim","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":"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"}]

60606040526004805460a060020a60ff02191690556006805460ff1916905534156200002a57600080fd5b60405162001d7b38038062001d7b8339810160405280805182019190602001805182019190602001805191906020018051919060200180519150505b84848484845b84848484845b335b5b60038054600160a060020a03191633600160a060020a03161790555b60088054600160a060020a031916600160a060020a0383161790555b5060038054600160a060020a03191633600160a060020a0316179055600b858051620000de929160200190620001b2565b50600c848051620000f4929160200190620001b2565b506000838155600d839055600354600160a060020a0316815260016020526040812084905583111562000175576003546000547f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe91600160a060020a031690604051600160a060020a03909216825260208201526040908101905180910390a15b80151562000199576006805460ff1916600117905560005415156200019957600080fd5b5b5b50505050505b50505050505b50505050506200025c565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001f557805160ff191683800117855562000225565b8280016001018555821562000225579182015b828111156200022557825182559160200191906001019062000208565b5b506200023492915062000238565b5090565b6200025991905b808211156200023457600081556001016200023f565b5090565b90565b611b0f806200026c6000396000f300606060405236156101a95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166302f652a381146101ae57806305d2035b146101d457806306fdde03146101fb578063095ea7b31461028657806318160ddd146102bc57806323b872dd146102e157806329ff4f531461031d578063313ce5671461033e57806340c10f191461036357806342966c681461038757806342c1867b1461039f57806343214675146103d257806345977d03146103f85780634eee966f146104105780635de4ccb0146104a55780635f412d4f146104d4578063600440cb146104e957806370a0823114610518578063812d504d146105495780638444b3911461056a578063867c2857146105a15780638da5cb5b146105d457806395d89b4114610603578063961325211461068e5780639738968c146106b5578063a9059cbb146106dc578063c752ff6214610712578063d1f276d314610737578063d7e7088a14610766578063dd62ed3e14610787578063eefa597b146107be578063f2fde38b146107e5578063fccc281314610806578063ffeb7d7514610835575b600080fd5b34156101b957600080fd5b6101d2600160a060020a03600435166024351515610856565b005b34156101df57600080fd5b6101e76108c8565b604051901515815260200160405180910390f35b341561020657600080fd5b61020e6108d1565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561024b5780820151818401525b602001610232565b50505050905090810190601f1680156102785780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561029157600080fd5b6101e7600160a060020a036004351660243561096f565b604051901515815260200160405180910390f35b34156102c757600080fd5b6102cf610a16565b60405190815260200160405180910390f35b34156102ec57600080fd5b6101e7600160a060020a0360043581169060243516604435610a1c565b604051901515815260200160405180910390f35b341561032857600080fd5b6101d2600160a060020a0360043516610a84565b005b341561034957600080fd5b6102cf610af9565b60405190815260200160405180910390f35b341561036e57600080fd5b6101d2600160a060020a0360043516602435610aff565b005b341561039257600080fd5b6101d2600435610cd3565b005b34156103aa57600080fd5b6101e7600160a060020a0360043516610daf565b604051901515815260200160405180910390f35b34156103dd57600080fd5b6101d2600160a060020a03600435166024351515610dc4565b005b341561040357600080fd5b6101d2600435610e63565b005b341561041b57600080fd5b6101d260046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f016020809104026020016040519081016040528181529291906020840183838082843750949650610fe895505050505050565b005b34156104b057600080fd5b6104b8611158565b604051600160a060020a03909116815260200160405180910390f35b34156104df57600080fd5b6101d2611167565b005b34156104f457600080fd5b6104b861119b565b604051600160a060020a03909116815260200160405180910390f35b341561052357600080fd5b6102cf600160a060020a03600435166111aa565b60405190815260200160405180910390f35b341561055457600080fd5b6101d2600160a060020a03600435166111c9565b005b341561057557600080fd5b61057d611325565b6040518082600481111561058d57fe5b60ff16815260200191505060405180910390f35b34156105ac57600080fd5b6101e7600160a060020a0360043516611372565b604051901515815260200160405180910390f35b34156105df57600080fd5b6104b8611387565b604051600160a060020a03909116815260200160405180910390f35b341561060e57600080fd5b61020e611396565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561024b5780820151818401525b602001610232565b50505050905090810190601f1680156102785780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561069957600080fd5b6101e7611434565b604051901515815260200160405180910390f35b34156106c057600080fd5b6101e7611455565b604051901515815260200160405180910390f35b34156106e757600080fd5b6101e7600160a060020a036004351660243561148c565b604051901515815260200160405180910390f35b341561071d57600080fd5b6102cf6114f2565b60405190815260200160405180910390f35b341561074257600080fd5b6104b86114f8565b604051600160a060020a03909116815260200160405180910390f35b341561077157600080fd5b6101d2600160a060020a0360043516611507565b005b341561079257600080fd5b6102cf600160a060020a03600435811690602435166116f2565b60405190815260200160405180910390f35b34156107c957600080fd5b6101e761171f565b604051901515815260200160405180910390f35b34156107f057600080fd5b6101d2600160a060020a0360043516611725565b005b341561081157600080fd5b6104b8611782565b604051600160a060020a03909116815260200160405180910390f35b341561084057600080fd5b6101d2600160a060020a0360043516611787565b005b60035433600160a060020a0390811691161461087157600080fd5b60045460009074010000000000000000000000000000000000000000900460ff161561089c57600080fd5b600160a060020a0383166000908152600560205260409020805460ff19168315151790555b5b505b5050565b60065460ff1681565b600b8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109675780601f1061093c57610100808354040283529160200191610967565b820191906000526020600020905b81548152906001019060200180831161094a57829003601f168201915b505050505081565b60008115806109a15750600160a060020a03338116600090815260026020908152604080832093871683529290522054155b15156109ac57600080fd5b600160a060020a03338116600081815260026020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60005481565b600454600090849074010000000000000000000000000000000000000000900460ff161515610a6c57600160a060020a03811660009081526005602052604090205460ff161515610a6c57600080fd5b5b610a788585856117e3565b91505b5b509392505050565b60035433600160a060020a03908116911614610a9f57600080fd5b60045460009074010000000000000000000000000000000000000000900460ff1615610aca57600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384161790555b5b505b50565b600d5481565b600160a060020a03331660009081526007602052604090205460ff161515610b2657600080fd5b60065460ff1615610b3657600080fd5b600054730e29e2cb9bc9237ecb6fbcd14c7bebaf59024a686366098d4f9091836000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff85160281526004810192909252602482015260440160206040518083038186803b1515610bb157600080fd5b6102c65a03f41515610bc257600080fd5b50505060405180516000908155600160a060020a03841681526001602052604080822054730e29e2cb9bc9237ecb6fbcd14c7bebaf59024a6893506366098d4f92909185919051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff85160281526004810192909252602482015260440160206040518083038186803b1515610c5f57600080fd5b6102c65a03f41515610c7057600080fd5b5050506040518051600160a060020a03841660008181526001602052604080822093909355909250907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a35b5b5b5050565b33600160a060020a038116600090815260016020526040902054610cf790836118f8565b600160a060020a03821660009081526001602052604081209190915554610d24908363ffffffff6118f816565b6000557f696de425f79f4a40bc6d2122ca50507f0efbeabbff86a84871b7196ab8ea8df78183604051600160a060020a03909216825260208201526040908101905180910390a16000600160a060020a0382167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a35b5050565b60076020526000908152604090205460ff1681565b60035433600160a060020a03908116911614610ddf57600080fd5b60065460ff1615610def57600080fd5b600160a060020a03821660009081526007602052604090819020805460ff19168315151790557f4b0adf6c802794c7dde28a08a4e07131abcff3bf9603cd71f14f90bec7865efa908390839051600160a060020a039092168252151560208201526040908101905180910390a15b5b5b5050565b6000610e6d611325565b905060035b816004811115610e7e57fe5b1480610e96575060045b816004811115610e9457fe5b145b1515610ea157600080fd5b811515610ead57600080fd5b600160a060020a033316600090815260016020526040902054610ed6908363ffffffff6118f816565b600160a060020a03331660009081526001602052604081209190915554610f03908363ffffffff6118f816565b600055600a54610f19908363ffffffff61190f16565b600a55600954600160a060020a031663753e88e533846040517c010000000000000000000000000000000000000000000000000000000063ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b1515610f8b57600080fd5b6102c65a03f11515610f9c57600080fd5b5050600954600160a060020a03908116915033167f7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac8460405190815260200160405180910390a35b5050565b60035433600160a060020a0390811691161461100357600080fd5b600b828051611016929160200190611a43565b50600c81805161102a929160200190611a43565b507fd131ab1e6f279deea74e13a18477e13e2107deb6dc8ae955648948be5841fb46600b600c6040516040808252835460026000196101006001841615020190911604908201819052819060208201906060830190869080156110ce5780601f106110a3576101008083540402835291602001916110ce565b820191906000526020600020905b8154815290600101906020018083116110b157829003601f168201915b50508381038252845460026000196101006001841615020190911604808252602090910190859080156111425780601f1061111757610100808354040283529160200191611142565b820191906000526020600020905b81548152906001019060200180831161112557829003601f168201915b505094505050505060405180910390a15b5b5050565b600954600160a060020a031681565b60045433600160a060020a0390811691161461118257600080fd5b6006805460ff19166001179055611197611929565b5b5b565b600854600160a060020a031681565b600160a060020a0381166000908152600160205260409020545b919050565b60035460009033600160a060020a039081169116146111e757600080fd5b60045474010000000000000000000000000000000000000000900460ff161561120f57600080fd5b611218826111aa565b600160a060020a038316600090815260016020526040902054909150611244908263ffffffff6118f816565b600160a060020a03808416600090815260016020526040808220939093556003549091168152205461127c908263ffffffff61190f16565b60038054600160a060020a0390811660009081526001602052604090819020939093559054811691908416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a37f6b3f5f84a24147dab46359bf96b628286e8962759491b8c0e11e50770c8cc1368282604051600160a060020a03909216825260208201526040908101905180910390a15b5b5050565b600061132f611455565b151561133d5750600161136c565b600954600160a060020a031615156113575750600261136c565b600a5415156113685750600361136c565b5060045b5b5b5b90565b60056020526000908152604090205460ff1681565b600354600160a060020a031681565b600c8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109675780601f1061093c57610100808354040283529160200191610967565b820191906000526020600020905b81548152906001019060200180831161094a57829003601f168201915b505050505081565b60045474010000000000000000000000000000000000000000900460ff1681565b60045460009074010000000000000000000000000000000000000000900460ff168015611485575061148561171f565b5b90505b90565b600454600090339074010000000000000000000000000000000000000000900460ff1615156114dc57600160a060020a03811660009081526005602052604090205460ff1615156114dc57600080fd5b5b6114e78484611983565b91505b5b5092915050565b600a5481565b600454600160a060020a031681565b61150f611455565b151561151a57600080fd5b600160a060020a038116151561152f57600080fd5b60085433600160a060020a0390811691161461154a57600080fd5b60045b611555611325565b600481111561156057fe5b141561156b57600080fd5b6009805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055166361d3d7a66000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156115ef57600080fd5b6102c65a03f1151561160057600080fd5b50505060405180519050151561161557600080fd5b600080546009549091600160a060020a0390911690634b2ba0dd90604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b151561167e57600080fd5b6102c65a03f1151561168f57600080fd5b505050604051805190501415156116a557600080fd5b6009547f7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc90600160a060020a0316604051600160a060020a03909116815260200160405180910390a15b50565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b60015b90565b60035433600160a060020a0390811691161461174057600080fd5b600160a060020a038116151561175557600080fd5b6003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b600081565b600160a060020a038116151561179c57600080fd5b60085433600160a060020a039081169116146117b757600080fd5b6008805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b600160a060020a03808416600090815260026020908152604080832033851684528252808320549386168352600190915281205490919061182a908463ffffffff61190f16565b600160a060020a03808616600090815260016020526040808220939093559087168152205461185f908463ffffffff6118f816565b600160a060020a038616600090815260016020526040902055611888818463ffffffff6118f816565b600160a060020a03808716600081815260026020908152604080832033861684529091529081902093909355908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3600191505b509392505050565b60008282111561190457fe5b508082035b92915050565b60008282018381101561191e57fe5b8091505b5092915050565b60045433600160a060020a0390811691161461194457600080fd5b6004805474ff00000000000000000000000000000000000000001916740100000000000000000000000000000000000000001790555b5b565b60015b90565b600160a060020a0333166000908152600160205260408120546119ac908363ffffffff6118f816565b600160a060020a0333811660009081526001602052604080822093909355908516815220546119e1908363ffffffff61190f16565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b92915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611a8457805160ff1916838001178555611ab1565b82800160010185558215611ab1579182015b82811115611ab1578251825591602001919060010190611a96565b5b50611abe929150611ac2565b5090565b61136c91905b80821115611abe5760008155600101611ac8565b5090565b905600a165627a7a723058205e39b43710972999773ccaf62358c61b9ada029b0995a2eceaaf0671ea63bac0002900000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000001743b34e18439b502000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x606060405236156101a95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166302f652a381146101ae57806305d2035b146101d457806306fdde03146101fb578063095ea7b31461028657806318160ddd146102bc57806323b872dd146102e157806329ff4f531461031d578063313ce5671461033e57806340c10f191461036357806342966c681461038757806342c1867b1461039f57806343214675146103d257806345977d03146103f85780634eee966f146104105780635de4ccb0146104a55780635f412d4f146104d4578063600440cb146104e957806370a0823114610518578063812d504d146105495780638444b3911461056a578063867c2857146105a15780638da5cb5b146105d457806395d89b4114610603578063961325211461068e5780639738968c146106b5578063a9059cbb146106dc578063c752ff6214610712578063d1f276d314610737578063d7e7088a14610766578063dd62ed3e14610787578063eefa597b146107be578063f2fde38b146107e5578063fccc281314610806578063ffeb7d7514610835575b600080fd5b34156101b957600080fd5b6101d2600160a060020a03600435166024351515610856565b005b34156101df57600080fd5b6101e76108c8565b604051901515815260200160405180910390f35b341561020657600080fd5b61020e6108d1565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561024b5780820151818401525b602001610232565b50505050905090810190601f1680156102785780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561029157600080fd5b6101e7600160a060020a036004351660243561096f565b604051901515815260200160405180910390f35b34156102c757600080fd5b6102cf610a16565b60405190815260200160405180910390f35b34156102ec57600080fd5b6101e7600160a060020a0360043581169060243516604435610a1c565b604051901515815260200160405180910390f35b341561032857600080fd5b6101d2600160a060020a0360043516610a84565b005b341561034957600080fd5b6102cf610af9565b60405190815260200160405180910390f35b341561036e57600080fd5b6101d2600160a060020a0360043516602435610aff565b005b341561039257600080fd5b6101d2600435610cd3565b005b34156103aa57600080fd5b6101e7600160a060020a0360043516610daf565b604051901515815260200160405180910390f35b34156103dd57600080fd5b6101d2600160a060020a03600435166024351515610dc4565b005b341561040357600080fd5b6101d2600435610e63565b005b341561041b57600080fd5b6101d260046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f016020809104026020016040519081016040528181529291906020840183838082843750949650610fe895505050505050565b005b34156104b057600080fd5b6104b8611158565b604051600160a060020a03909116815260200160405180910390f35b34156104df57600080fd5b6101d2611167565b005b34156104f457600080fd5b6104b861119b565b604051600160a060020a03909116815260200160405180910390f35b341561052357600080fd5b6102cf600160a060020a03600435166111aa565b60405190815260200160405180910390f35b341561055457600080fd5b6101d2600160a060020a03600435166111c9565b005b341561057557600080fd5b61057d611325565b6040518082600481111561058d57fe5b60ff16815260200191505060405180910390f35b34156105ac57600080fd5b6101e7600160a060020a0360043516611372565b604051901515815260200160405180910390f35b34156105df57600080fd5b6104b8611387565b604051600160a060020a03909116815260200160405180910390f35b341561060e57600080fd5b61020e611396565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561024b5780820151818401525b602001610232565b50505050905090810190601f1680156102785780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561069957600080fd5b6101e7611434565b604051901515815260200160405180910390f35b34156106c057600080fd5b6101e7611455565b604051901515815260200160405180910390f35b34156106e757600080fd5b6101e7600160a060020a036004351660243561148c565b604051901515815260200160405180910390f35b341561071d57600080fd5b6102cf6114f2565b60405190815260200160405180910390f35b341561074257600080fd5b6104b86114f8565b604051600160a060020a03909116815260200160405180910390f35b341561077157600080fd5b6101d2600160a060020a0360043516611507565b005b341561079257600080fd5b6102cf600160a060020a03600435811690602435166116f2565b60405190815260200160405180910390f35b34156107c957600080fd5b6101e761171f565b604051901515815260200160405180910390f35b34156107f057600080fd5b6101d2600160a060020a0360043516611725565b005b341561081157600080fd5b6104b8611782565b604051600160a060020a03909116815260200160405180910390f35b341561084057600080fd5b6101d2600160a060020a0360043516611787565b005b60035433600160a060020a0390811691161461087157600080fd5b60045460009074010000000000000000000000000000000000000000900460ff161561089c57600080fd5b600160a060020a0383166000908152600560205260409020805460ff19168315151790555b5b505b5050565b60065460ff1681565b600b8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109675780601f1061093c57610100808354040283529160200191610967565b820191906000526020600020905b81548152906001019060200180831161094a57829003601f168201915b505050505081565b60008115806109a15750600160a060020a03338116600090815260026020908152604080832093871683529290522054155b15156109ac57600080fd5b600160a060020a03338116600081815260026020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60005481565b600454600090849074010000000000000000000000000000000000000000900460ff161515610a6c57600160a060020a03811660009081526005602052604090205460ff161515610a6c57600080fd5b5b610a788585856117e3565b91505b5b509392505050565b60035433600160a060020a03908116911614610a9f57600080fd5b60045460009074010000000000000000000000000000000000000000900460ff1615610aca57600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384161790555b5b505b50565b600d5481565b600160a060020a03331660009081526007602052604090205460ff161515610b2657600080fd5b60065460ff1615610b3657600080fd5b600054730e29e2cb9bc9237ecb6fbcd14c7bebaf59024a686366098d4f9091836000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff85160281526004810192909252602482015260440160206040518083038186803b1515610bb157600080fd5b6102c65a03f41515610bc257600080fd5b50505060405180516000908155600160a060020a03841681526001602052604080822054730e29e2cb9bc9237ecb6fbcd14c7bebaf59024a6893506366098d4f92909185919051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff85160281526004810192909252602482015260440160206040518083038186803b1515610c5f57600080fd5b6102c65a03f41515610c7057600080fd5b5050506040518051600160a060020a03841660008181526001602052604080822093909355909250907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a35b5b5b5050565b33600160a060020a038116600090815260016020526040902054610cf790836118f8565b600160a060020a03821660009081526001602052604081209190915554610d24908363ffffffff6118f816565b6000557f696de425f79f4a40bc6d2122ca50507f0efbeabbff86a84871b7196ab8ea8df78183604051600160a060020a03909216825260208201526040908101905180910390a16000600160a060020a0382167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a35b5050565b60076020526000908152604090205460ff1681565b60035433600160a060020a03908116911614610ddf57600080fd5b60065460ff1615610def57600080fd5b600160a060020a03821660009081526007602052604090819020805460ff19168315151790557f4b0adf6c802794c7dde28a08a4e07131abcff3bf9603cd71f14f90bec7865efa908390839051600160a060020a039092168252151560208201526040908101905180910390a15b5b5b5050565b6000610e6d611325565b905060035b816004811115610e7e57fe5b1480610e96575060045b816004811115610e9457fe5b145b1515610ea157600080fd5b811515610ead57600080fd5b600160a060020a033316600090815260016020526040902054610ed6908363ffffffff6118f816565b600160a060020a03331660009081526001602052604081209190915554610f03908363ffffffff6118f816565b600055600a54610f19908363ffffffff61190f16565b600a55600954600160a060020a031663753e88e533846040517c010000000000000000000000000000000000000000000000000000000063ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b1515610f8b57600080fd5b6102c65a03f11515610f9c57600080fd5b5050600954600160a060020a03908116915033167f7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac8460405190815260200160405180910390a35b5050565b60035433600160a060020a0390811691161461100357600080fd5b600b828051611016929160200190611a43565b50600c81805161102a929160200190611a43565b507fd131ab1e6f279deea74e13a18477e13e2107deb6dc8ae955648948be5841fb46600b600c6040516040808252835460026000196101006001841615020190911604908201819052819060208201906060830190869080156110ce5780601f106110a3576101008083540402835291602001916110ce565b820191906000526020600020905b8154815290600101906020018083116110b157829003601f168201915b50508381038252845460026000196101006001841615020190911604808252602090910190859080156111425780601f1061111757610100808354040283529160200191611142565b820191906000526020600020905b81548152906001019060200180831161112557829003601f168201915b505094505050505060405180910390a15b5b5050565b600954600160a060020a031681565b60045433600160a060020a0390811691161461118257600080fd5b6006805460ff19166001179055611197611929565b5b5b565b600854600160a060020a031681565b600160a060020a0381166000908152600160205260409020545b919050565b60035460009033600160a060020a039081169116146111e757600080fd5b60045474010000000000000000000000000000000000000000900460ff161561120f57600080fd5b611218826111aa565b600160a060020a038316600090815260016020526040902054909150611244908263ffffffff6118f816565b600160a060020a03808416600090815260016020526040808220939093556003549091168152205461127c908263ffffffff61190f16565b60038054600160a060020a0390811660009081526001602052604090819020939093559054811691908416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a37f6b3f5f84a24147dab46359bf96b628286e8962759491b8c0e11e50770c8cc1368282604051600160a060020a03909216825260208201526040908101905180910390a15b5b5050565b600061132f611455565b151561133d5750600161136c565b600954600160a060020a031615156113575750600261136c565b600a5415156113685750600361136c565b5060045b5b5b5b90565b60056020526000908152604090205460ff1681565b600354600160a060020a031681565b600c8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109675780601f1061093c57610100808354040283529160200191610967565b820191906000526020600020905b81548152906001019060200180831161094a57829003601f168201915b505050505081565b60045474010000000000000000000000000000000000000000900460ff1681565b60045460009074010000000000000000000000000000000000000000900460ff168015611485575061148561171f565b5b90505b90565b600454600090339074010000000000000000000000000000000000000000900460ff1615156114dc57600160a060020a03811660009081526005602052604090205460ff1615156114dc57600080fd5b5b6114e78484611983565b91505b5b5092915050565b600a5481565b600454600160a060020a031681565b61150f611455565b151561151a57600080fd5b600160a060020a038116151561152f57600080fd5b60085433600160a060020a0390811691161461154a57600080fd5b60045b611555611325565b600481111561156057fe5b141561156b57600080fd5b6009805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055166361d3d7a66000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156115ef57600080fd5b6102c65a03f1151561160057600080fd5b50505060405180519050151561161557600080fd5b600080546009549091600160a060020a0390911690634b2ba0dd90604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b151561167e57600080fd5b6102c65a03f1151561168f57600080fd5b505050604051805190501415156116a557600080fd5b6009547f7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc90600160a060020a0316604051600160a060020a03909116815260200160405180910390a15b50565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b60015b90565b60035433600160a060020a0390811691161461174057600080fd5b600160a060020a038116151561175557600080fd5b6003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b600081565b600160a060020a038116151561179c57600080fd5b60085433600160a060020a039081169116146117b757600080fd5b6008805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b600160a060020a03808416600090815260026020908152604080832033851684528252808320549386168352600190915281205490919061182a908463ffffffff61190f16565b600160a060020a03808616600090815260016020526040808220939093559087168152205461185f908463ffffffff6118f816565b600160a060020a038616600090815260016020526040902055611888818463ffffffff6118f816565b600160a060020a03808716600081815260026020908152604080832033861684529091529081902093909355908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3600191505b509392505050565b60008282111561190457fe5b508082035b92915050565b60008282018381101561191e57fe5b8091505b5092915050565b60045433600160a060020a0390811691161461194457600080fd5b6004805474ff00000000000000000000000000000000000000001916740100000000000000000000000000000000000000001790555b5b565b60015b90565b600160a060020a0333166000908152600160205260408120546119ac908363ffffffff6118f816565b600160a060020a0333811660009081526001602052604080822093909355908516815220546119e1908363ffffffff61190f16565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b92915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611a8457805160ff1916838001178555611ab1565b82800160010185558215611ab1579182015b82811115611ab1578251825591602001919060010190611a96565b5b50611abe929150611ac2565b5090565b61136c91905b80821115611abe5760008155600101611ac8565b5090565b905600a165627a7a723058205e39b43710972999773ccaf62358c61b9ada029b0995a2eceaaf0671ea63bac00029

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000001743b34e18439b502000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string):
Arg [1] : _symbol (string):
Arg [2] : _initialSupply (uint256): 450000000000000000000000000
Arg [3] : _decimals (uint256): 18
Arg [4] : _mintable (bool): False

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 000000000000000000000000000000000000000001743b34e18439b502000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000


Libraries Used


Swarm Source

bzzr://5e39b43710972999773ccaf62358c61b9ada029b0995a2eceaaf0671ea63bac0

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

AppCoins is meant for use in the AppCoins blockchain platform to perform transactions in the app store ecosystem.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.