Sponsored Link:  NEVERDIE - Trillion Dollar Gaming Infrastructure - One Billion VR JobsICO LIVE
Contract Overview | AragonContract
ETH Balance: 0 Ether
ETH USD Value: $0
No Of Transactions: 29708 txns
Token Tracker Aragon
  Latest 25 txns from a total Of 29708 transactions View All

TxHash Block Age From To Value [TxFee]
0x2872723151650d550986578f31d42403d96d4989dfc5505cc68c01582671b78740588872 mins agoBittrex  IN   AragonContract0 Ether0.00542563
0x0f007d668148ce00a88b777174c7f65f8423940e9dd3741fcf3024b33c1e3d0140588872 mins ago0xebfea9697bc8fde56b142c57de59136481785fa1  IN   AragonContract0 Ether0.0021277
0x5bdbeaf4fe4efbd6afeafec29b97de0d29161348fb6ac96e01f6f21de2dae85e40588844 mins ago0xebfea9697bc8fde56b142c57de59136481785fa1  IN   AragonContract0 Ether0.00188252
0xbb06b4b157cb2afddaa8174bd2a343a947fc8a21c0027418eb8c596ba433f47140588805 mins ago0x5e575279bf9f4acf0a130c186861454247394c06  IN   AragonContract0 Ether0.00195282
0x46113fa386b9a4f51791436815e1a1a6cbb4710a4d8138bc4a0b7712c6621c5340588718 mins ago0x3aef31e21114243808c582f78815039dc8f8728f  IN   AragonContract0 Ether0.0018838
0x455210ec5e7c77940caca97aded2ab6f8543a4814958a5e6aa70aaac3249795f40588699 mins ago0xebfea9697bc8fde56b142c57de59136481785fa1  IN   AragonContract0 Ether0.00188252
0x8f77d49369f614a05ee29dc972d2f2a6d198eb88532c7eba1487cacef4bc7756405884216 mins ago0x131942feefd2abe4d74e2d8e9a766428414b4bbc  IN   AragonContract0 Ether0.00234187
0xb1a8289f714a15e907fd1514dbfe45baac399c8d66155ece74398eec6f099237405883718 mins ago0xebfea9697bc8fde56b142c57de59136481785fa1  IN   AragonContract0 Ether0.0021277
0x71d418d6de364769d2c5b51c7e3360122e63dc519bcb2837edd2dafaf7f7cfc7405882621 mins ago0xebfea9697bc8fde56b142c57de59136481785fa1  IN   AragonContract0 Ether0.00212898
0xc51eecac732b9b3fda0ef74864a9c4d35fd173308a11e4b0f88e187069e398fc405881922 mins ago0x91f2590733f73c38e3c38a149cdd40755713a80e  IN   AragonContract0 Ether0.00291989
0x1b67eb9bd8aab489cc137f55bf4475b6692ce267b0e1b667b58aacf67fd81678405881423 mins ago0xebfea9697bc8fde56b142c57de59136481785fa1  IN   AragonContract0 Ether0.0021277
0x774721e4a660cbc8271377b6f8fac009c8ec1ad74a4c3d058e6b2781033b7cee405881223 mins ago0xebfea9697bc8fde56b142c57de59136481785fa1  IN   AragonContract0 Ether0.00212514
0x5dc8fa741b3063791ca13ee34c89a9db89f9922ee814e4d7469a00d3af792fbe405880226 mins ago0xebfea9697bc8fde56b142c57de59136481785fa1  IN   AragonContract0 Ether0.00212898
0x590dc7e493079fda09700b517d41026f41ef9af3b00385452a948453ac582e5f405879728 mins ago0x68ee5069ce8f420055901b99c0959b1d1cf14ee2  IN   AragonContract0 Ether0.00037727
0x08d24990fb04a23b60b34da93fff2657c1061bc27513a1d0bb07f1919426f794405879629 mins ago0xebfea9697bc8fde56b142c57de59136481785fa1  IN   AragonContract0 Ether0.00212898
0x2c7ba3f918f926f83c0c3a5760dcc527e93840dde0dd3b0420ffbd86aa22365c405878834 mins ago0x271b4c91e256cd552efb394a0c7fb3a73da0a378  IN   AragonContract0 Ether0.00188252
0x0e833e930a790e428f16aa177e30a60a6c0256c0d922aefecec989bde06b1e39405874943 mins agoBittrex  IN   AragonContract0 Ether0.00542563
0x9463b95de062d4600472ac21e6bb4676656b6e6ea327638b7b3143f5b9d446fe405874445 mins agoBittrex  IN   AragonContract0 Ether0.00542889
0x8034814577f65ccdbaa9886a0adc23e351e1109cc6151343c2d1f6b282edce0c405874245 mins ago0x5d21a8e5c853f6b4cfadea4b59c7e9c7bd751da5  IN   AragonContract0 Ether0.0018838
0xdcefbc7ce7e46729675218db9bcf6471be9390194c0feec16dfb4e2d81ec2760405874046 mins ago0xebfea9697bc8fde56b142c57de59136481785fa1  IN   AragonContract0 Ether0.00212898
0x66254adbe567e724d49a55b33d3e4904b8fb481763ba4417868848362f625aeb405874046 mins ago0x028e3b34d7d4bb51339cf49ef501cc4f8ce3a66d  IN   AragonContract0 Ether0.00234047
0xc21b90a0b41a654267d5ea5ad5ba16265aff8521a613e6985218ac6812f1d0b7405873148 mins ago0xebfea9697bc8fde56b142c57de59136481785fa1  IN   AragonContract0 Ether0.00212898
0xd345294bf9b9376d4cd0cba234545e2d566888d916516b609de3c4879df91786405872949 mins agoBittrex  IN   AragonContract0 Ether0.00542889
0xbaebffb81925fc52a09ab0b31ecab638bee3a5b40163cf3831f964c1d8aecb00405871153 mins agoBittrex  IN   AragonContract0 Ether0.00480042
0x6a4e6da27a03d314889f3e6e3360ddc83152d8349b543cada7cde5847b7beafe405870456 mins ago0x5626b11e35b864e5f6ddea085e83b7347824d732  IN   AragonContract0 Ether0.00234187
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
  Latest 25 Internal Txns, Click here to View More View All
ParentTxHash Block Age From To Value
0xabcab2412443c0285beaf7921171f51f18591a46e71b96521ee578e2b230bec740134739 days 22 hrs ago0x960b236a07cf122663c4303350609a66a7b288c00xd39902f046b5885d70e9e66594b65f84d4d1c9520.03 Ether
0x29026c60d6ff3fdb97cca4c711e9601d551f7e9c9e188cc0e97ca5056e6a105040134449 days 23 hrs ago0x960b236a07cf122663c4303350609a66a7b288c00xd39902f046b5885d70e9e66594b65f84d4d1c9520.03 Ether
0x738fe56c2ec8ce27566bdde79ce366540201f519ebae0caf04b30568ef9e106a395310822 days 4 hrs ago0x960b236a07cf122663c4303350609a66a7b288c00xd39902f046b5885d70e9e66594b65f84d4d1c9520.01 Ether
0xb1c179b8c09cbb107cdda6ca368833e631e7a3988f447c6da1eb71b9a23793b0391185130 days 12 hrs ago0x960b236a07cf122663c4303350609a66a7b288c00xd39902f046b5885d70e9e66594b65f84d4d1c9521.22 Ether
0xd8445b19c0b8704c05aad3b34e8a6d792be0045038d8b6c581439e19779bfb3c389934433 days 38 mins ago0x960b236a07cf122663c4303350609a66a7b288c00xd39902f046b5885d70e9e66594b65f84d4d1c9523.7 Ether
0xe38a39a677234585b81b72233f7e9517637bd6ceac24b31feaea2d07c01c005e388877435 days 7 mins ago0x960b236a07cf122663c4303350609a66a7b288c00xd39902f046b5885d70e9e66594b65f84d4d1c9520.14 Ether
0x9aa5ebdd793d0b4313c8515fb450be4aae4585e52fa1320d8c7a27b7157faecb384736142 days 19 hrs ago0x960b236a07cf122663c4303350609a66a7b288c00xd39902f046b5885d70e9e66594b65f84d4d1c9520.15 Ether
0x904d901059df6b229c311599bd275b8fd2c2eb9586ea77b492546f0b4050cccf383525945 days 3 hrs ago0x960b236a07cf122663c4303350609a66a7b288c00xd39902f046b5885d70e9e66594b65f84d4d1c9520.01 Ether
0x413bf7e19b985f705947b4ec4f577dcd33f871d797a90ed58553a1a7e4f1b531382498847 days 2 hrs ago0x960b236a07cf122663c4303350609a66a7b288c00xd39902f046b5885d70e9e66594b65f84d4d1c9521 Ether
0x5be7128fa6ab9b230d23dd7695c612c49829bf75ed1ffa18e12732d16dbf890b379990451 days 22 hrs ago0x960b236a07cf122663c4303350609a66a7b288c00xd39902f046b5885d70e9e66594b65f84d4d1c9520.02195279585180179 Ether
0xe93933c9f6d3cba44006ce103b45756e11b7c59f233a119f12548d65857c73a0379762652 days 8 hrs ago0x960b236a07cf122663c4303350609a66a7b288c00xd39902f046b5885d70e9e66594b65f84d4d1c9522.98 Ether
0x9c1b7752df1124dbc635dda5bf91e9684766f6d513a67e28b9d3e816675e3c7c379762652 days 8 hrs ago0x960b236a07cf122663c4303350609a66a7b288c00xd39902f046b5885d70e9e66594b65f84d4d1c9522.98 Ether
0x4b9ec5a325e299b0131fb8c9859339a6c8e6474c2bf4907f9391b5f74e36c6bc376613658 days 2 hrs ago0x960b236a07cf122663c4303350609a66a7b288c00xd39902f046b5885d70e9e66594b65f84d4d1c9524 Ether
0x19dac1d6c104b4b66d5ff15fff7acdb43d4bd00abf38c6c65f032c16fda3c1ce376613658 days 2 hrs ago0x960b236a07cf122663c4303350609a66a7b288c00xd39902f046b5885d70e9e66594b65f84d4d1c9524 Ether
0x7eb695cc760a51282b5157db17ac1b6187f21faef312c3db0b587be05d77cc96376613658 days 2 hrs ago0x960b236a07cf122663c4303350609a66a7b288c00xd39902f046b5885d70e9e66594b65f84d4d1c9524.31 Ether
0x33b93aec74fa397d5b0e1060775bab12371ed3678431d506d96f0c125151ec76376613658 days 2 hrs ago0x960b236a07cf122663c4303350609a66a7b288c00xd39902f046b5885d70e9e66594b65f84d4d1c9524.3 Ether
0xbef1d585e2107416ebd199f391183e88d9b5db4d0123f10b543d8f18b7e724a7376569258 days 4 hrs ago0x960b236a07cf122663c4303350609a66a7b288c00xd39902f046b5885d70e9e66594b65f84d4d1c9523.9 Ether
0xf17fc5ef5399063d28dc6f996ebf71787866548d7602e332c3550b3947872c36376569158 days 4 hrs ago0x960b236a07cf122663c4303350609a66a7b288c00xd39902f046b5885d70e9e66594b65f84d4d1c9523.9 Ether
0x17c0bbccd17c40bfaf28020b989374f6e15aaf4f47666a207a0e51d7f6bee421375554860 days 39 mins ago0x960b236a07cf122663c4303350609a66a7b288c00xd39902f046b5885d70e9e66594b65f84d4d1c9524.95 Ether
0xdfd271a5702679e4af481e477246d99db9dc3fe7328113462dd7427ef1a4f1df375512360 days 2 hrs ago0x960b236a07cf122663c4303350609a66a7b288c00xd39902f046b5885d70e9e66594b65f84d4d1c9520.53 Ether
0xae2c4c7059722e2d147b022eae414e51d9fc15e824a7da1db0947997052f347c375298260 days 11 hrs ago0x960b236a07cf122663c4303350609a66a7b288c00xd39902f046b5885d70e9e66594b65f84d4d1c95210 Ether
0x5fddf88e4eac13dc36fec90506af0d672c2f7435ba6eb97feb95cdfe8157c6da375141760 days 19 hrs ago0x960b236a07cf122663c4303350609a66a7b288c00xd39902f046b5885d70e9e66594b65f84d4d1c95219.9 Ether
0x8aedb9cb8547b8b7c0912a163497431719e8f1b6edbc2445ed9a4fba36205a68375141760 days 19 hrs ago0x960b236a07cf122663c4303350609a66a7b288c00xd39902f046b5885d70e9e66594b65f84d4d1c95219.5 Ether
0x5aed3a05e8fcd68299cd440a26690e42f5cf8506911da9acdbac33452d5f670a375141760 days 19 hrs ago0x960b236a07cf122663c4303350609a66a7b288c00xd39902f046b5885d70e9e66594b65f84d4d1c95219.5 Ether
0xe7544f22743f85d42da5e939a01177978247985121f0092bb4b46c8c39d4dd06375141760 days 19 hrs ago0x960b236a07cf122663c4303350609a66a7b288c00xd39902f046b5885d70e9e66594b65f84d4d1c95219.5 Ether
[ Download CSV Export  ] 
Warning: The compiled contract might be susceptible to SkipEmptyStringLiteral (low-severity), ConstantOptimizerSubtraction (low-severity) Solidity compiler bugs.

Contract Source Code Verified
Note: Displaying matching verified source code at contract 0xf0498f54e449e18de67cc1239ee4007cc2cb9366
Contract Name: ANT
Compiler Version: v0.4.8+commit.60cc1668
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts
pragma solidity ^0.4.8;

contract ERC20 {
  function totalSupply() constant returns (uint);
  function balanceOf(address who) constant returns (uint);
  function allowance(address owner, address spender) constant returns (uint);

  function transfer(address to, uint value) returns (bool ok);
  function transferFrom(address from, address to, uint value) returns (bool ok);
  function approve(address spender, uint value) returns (bool ok);
  event Transfer(address indexed from, address indexed to, uint value);
  event Approval(address indexed owner, address indexed spender, uint value);
}


contract SafeMath {
  function safeMul(uint a, uint b) internal returns (uint) {
    uint c = a * b;
    assert(a == 0 || c / a == b);
    return c;
  }

  function safeDiv(uint a, uint b) internal returns (uint) {
    assert(b > 0);
    uint c = a / b;
    assert(a == b * c + a % b);
    return c;
  }

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

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

  function max64(uint64 a, uint64 b) internal constant returns (uint64) {
    return a >= b ? a : b;
  }

  function min64(uint64 a, uint64 b) internal constant returns (uint64) {
    return a < b ? a : b;
  }

  function max256(uint256 a, uint256 b) internal constant returns (uint256) {
    return a >= b ? a : b;
  }

  function min256(uint256 a, uint256 b) internal constant returns (uint256) {
    return a < b ? a : b;
  }

  function assert(bool assertion) internal {
    if (!assertion) {
      throw;
    }
  }
}
contract ApproveAndCallReceiver {
    function receiveApproval(address _from, uint256 _amount, address _token, bytes _data);
}

contract Controlled {
    /// @notice The address of the controller is the only address that can call
    ///  a function with this modifier
    modifier onlyController { if (msg.sender != controller) throw; _; }

    address public controller;

    function Controlled() { controller = msg.sender;}

    /// @notice Changes the controller of the contract
    /// @param _newController The new controller of the contract
    function changeController(address _newController) onlyController {
        controller = _newController;
    }
}
contract AbstractSale {
  function saleFinalized() constant returns (bool);
}

contract SaleWallet {
  // Public variables
  address public multisig;
  uint public finalBlock;
  AbstractSale public tokenSale;

  // @dev Constructor initializes public variables
  // @param _multisig The address of the multisig that will receive the funds
  // @param _finalBlock Block after which the multisig can request the funds
  function SaleWallet(address _multisig, uint _finalBlock, address _tokenSale) {
    multisig = _multisig;
    finalBlock = _finalBlock;
    tokenSale = AbstractSale(_tokenSale);
  }

  // @dev Receive all sent funds without any further logic
  function () public payable {}

  // @dev Withdraw function sends all the funds to the wallet if conditions are correct
  function withdraw() public {
    if (msg.sender != multisig) throw;                       // Only the multisig can request it
    if (block.number > finalBlock) return doWithdraw();      // Allow after the final block
    if (tokenSale.saleFinalized()) return doWithdraw();      // Allow when sale is finalized
  }

  function doWithdraw() internal {
    if (!multisig.send(this.balance)) throw;
  }
}

contract Controller {
    /// @notice Called when `_owner` sends ether to the MiniMe Token contract
    /// @param _owner The address that sent the ether to create tokens
    /// @return True if the ether is accepted, false if it throws
    function proxyPayment(address _owner) payable returns(bool);

    /// @notice Notifies the controller about a token transfer allowing the
    ///  controller to react if desired
    /// @param _from The origin of the transfer
    /// @param _to The destination of the transfer
    /// @param _amount The amount of the transfer
    /// @return False if the controller does not authorize the transfer
    function onTransfer(address _from, address _to, uint _amount) returns(bool);

    /// @notice Notifies the controller about an approval allowing the
    ///  controller to react if desired
    /// @param _owner The address that calls `approve()`
    /// @param _spender The spender in the `approve()` call
    /// @param _amount The amount in the `approve()` call
    /// @return False if the controller does not authorize the approval
    function onApprove(address _owner, address _spender, uint _amount)
        returns(bool);
}

contract ANPlaceholder is Controller {
  address public sale;
  ANT public token;

  function ANPlaceholder(address _sale, address _ant) {
    sale = _sale;
    token = ANT(_ant);
  }

  function changeController(address network) public {
    if (msg.sender != sale) throw;
    token.changeController(network);
    suicide(network);
  }

  // In between the sale and the network. Default settings for allowing token transfers.
  function proxyPayment(address _owner) payable public returns (bool) {
    throw;
    return false;
  }

  function onTransfer(address _from, address _to, uint _amount) public returns (bool) {
    return true;
  }

  function onApprove(address _owner, address _spender, uint _amount) public returns (bool) {
    return true;
  }
}




contract MiniMeToken is ERC20, Controlled {
    string public name;                //The Token's name: e.g. DigixDAO Tokens
    uint8 public decimals;             //Number of decimals of the smallest unit
    string public symbol;              //An identifier: e.g. REP
    string public version = 'MMT_0.1'; //An arbitrary versioning scheme


    /// @dev `Checkpoint` is the structure that attaches a block number to a
    ///  given value, the block number attached is the one that last changed the
    ///  value
    struct  Checkpoint {

        // `fromBlock` is the block number that the value was generated from
        uint128 fromBlock;

        // `value` is the amount of tokens at a specific block number
        uint128 value;
    }

    // `parentToken` is the Token address that was cloned to produce this token;
    //  it will be 0x0 for a token that was not cloned
    MiniMeToken public parentToken;

    // `parentSnapShotBlock` is the block number from the Parent Token that was
    //  used to determine the initial distribution of the Clone Token
    uint public parentSnapShotBlock;

    // `creationBlock` is the block number that the Clone Token was created
    uint public creationBlock;

    // `balances` is the map that tracks the balance of each address, in this
    //  contract when the balance changes the block number that the change
    //  occurred is also included in the map
    mapping (address => Checkpoint[]) balances;

    // `allowed` tracks any extra transfer rights as in all ERC20 tokens
    mapping (address => mapping (address => uint256)) allowed;

    // Tracks the history of the `totalSupply` of the token
    Checkpoint[] totalSupplyHistory;

    // Flag that determines if the token is transferable or not.
    bool public transfersEnabled;

    // The factory used to create new clone tokens
    MiniMeTokenFactory public tokenFactory;

////////////////
// Constructor
////////////////

    /// @notice Constructor to create a MiniMeToken
    /// @param _tokenFactory The address of the MiniMeTokenFactory contract that
    ///  will create the Clone token contracts, the token factory needs to be
    ///  deployed first
    /// @param _parentToken Address of the parent token, set to 0x0 if it is a
    ///  new token
    /// @param _parentSnapShotBlock Block of the parent token that will
    ///  determine the initial distribution of the clone token, set to 0 if it
    ///  is a new token
    /// @param _tokenName Name of the new token
    /// @param _decimalUnits Number of decimals of the new token
    /// @param _tokenSymbol Token Symbol for the new token
    /// @param _transfersEnabled If true, tokens will be able to be transferred
    function MiniMeToken(
        address _tokenFactory,
        address _parentToken,
        uint _parentSnapShotBlock,
        string _tokenName,
        uint8 _decimalUnits,
        string _tokenSymbol,
        bool _transfersEnabled
    ) {
        tokenFactory = MiniMeTokenFactory(_tokenFactory);
        name = _tokenName;                                 // Set the name
        decimals = _decimalUnits;                          // Set the decimals
        symbol = _tokenSymbol;                             // Set the symbol
        parentToken = MiniMeToken(_parentToken);
        parentSnapShotBlock = _parentSnapShotBlock;
        transfersEnabled = _transfersEnabled;
        creationBlock = block.number;
    }


///////////////////
// ERC20 Methods
///////////////////

    /// @notice Send `_amount` tokens to `_to` from `msg.sender`
    /// @param _to The address of the recipient
    /// @param _amount The amount of tokens to be transferred
    /// @return Whether the transfer was successful or not
    function transfer(address _to, uint256 _amount) returns (bool success) {
        if (!transfersEnabled) throw;
        return doTransfer(msg.sender, _to, _amount);
    }

    /// @notice Send `_amount` tokens to `_to` from `_from` on the condition it
    ///  is approved by `_from`
    /// @param _from The address holding the tokens being transferred
    /// @param _to The address of the recipient
    /// @param _amount The amount of tokens to be transferred
    /// @return True if the transfer was successful
    function transferFrom(address _from, address _to, uint256 _amount
    ) returns (bool success) {

        // The controller of this contract can move tokens around at will,
        //  this is important to recognize! Confirm that you trust the
        //  controller of this contract, which in most situations should be
        //  another open source smart contract or 0x0
        if (msg.sender != controller) {
            if (!transfersEnabled) throw;

            // The standard ERC 20 transferFrom functionality
            if (allowed[_from][msg.sender] < _amount) throw;
            allowed[_from][msg.sender] -= _amount;
        }
        return doTransfer(_from, _to, _amount);
    }

    /// @dev This is the actual transfer function in the token contract, it can
    ///  only be called by other functions in this contract.
    /// @param _from The address holding the tokens being transferred
    /// @param _to The address of the recipient
    /// @param _amount The amount of tokens to be transferred
    /// @return True if the transfer was successful
    function doTransfer(address _from, address _to, uint _amount
    ) internal returns(bool) {

           if (_amount == 0) {
               return true;
           }

           // Do not allow transfer to 0x0 or the token contract itself
           if ((_to == 0) || (_to == address(this))) throw;

           // If the amount being transfered is more than the balance of the
           //  account the transfer returns false
           var previousBalanceFrom = balanceOfAt(_from, block.number);
           if (previousBalanceFrom < _amount) {
               throw;
           }

           // Alerts the token controller of the transfer
           if (isContract(controller)) {
               if (!Controller(controller).onTransfer(_from, _to, _amount)) throw;
           }

           // First update the balance array with the new value for the address
           //  sending the tokens
           updateValueAtNow(balances[_from], previousBalanceFrom - _amount);

           // Then update the balance array with the new value for the address
           //  receiving the tokens
           var previousBalanceTo = balanceOfAt(_to, block.number);
           if (previousBalanceTo + _amount < previousBalanceTo) throw; // Check for overflow
           updateValueAtNow(balances[_to], previousBalanceTo + _amount);

           // An event to make the transfer easy to find on the blockchain
           Transfer(_from, _to, _amount);

           return true;
    }

    /// @param _owner The address that's balance is being requested
    /// @return The balance of `_owner` at the current block
    function balanceOf(address _owner) constant returns (uint256 balance) {
        return balanceOfAt(_owner, block.number);
    }

    /// @notice `msg.sender` approves `_spender` to spend `_amount` tokens on
    ///  its behalf. This is a modified version of the ERC20 approve function
    ///  to be a little bit safer
    /// @param _spender The address of the account able to transfer the tokens
    /// @param _amount The amount of tokens to be approved for transfer
    /// @return True if the approval was successful
    function approve(address _spender, uint256 _amount) returns (bool success) {
        if (!transfersEnabled) throw;

        // 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
        if ((_amount!=0) && (allowed[msg.sender][_spender] !=0)) throw;

        // Alerts the token controller of the approve function call
        if (isContract(controller)) {
            if (!Controller(controller).onApprove(msg.sender, _spender, _amount))
                throw;
        }

        allowed[msg.sender][_spender] = _amount;
        Approval(msg.sender, _spender, _amount);
        return true;
    }

    /// @dev This function makes it easy to read the `allowed[]` map
    /// @param _owner The address of the account that owns the token
    /// @param _spender The address of the account able to transfer the tokens
    /// @return Amount of remaining tokens of _owner that _spender is allowed
    ///  to spend
    function allowance(address _owner, address _spender
    ) constant returns (uint256 remaining) {
        return allowed[_owner][_spender];
    }

    /// @notice `msg.sender` approves `_spender` to send `_amount` tokens on
    ///  its behalf, and then a function is triggered in the contract that is
    ///  being approved, `_spender`. This allows users to use their tokens to
    ///  interact with contracts in one function call instead of two
    /// @param _spender The address of the contract able to transfer the tokens
    /// @param _amount The amount of tokens to be approved for transfer
    /// @return True if the function call was successful
    function approveAndCall(address _spender, uint256 _amount, bytes _extraData
    ) returns (bool success) {
        approve(_spender, _amount);

        // This portion is copied from ConsenSys's Standard Token Contract. It
        //  calls the receiveApproval function that is part of the contract that
        //  is being approved (`_spender`). The function should look like:
        //  `receiveApproval(address _from, uint256 _amount, address
        //  _tokenContract, bytes _extraData)` It is assumed that the call
        //  *should* succeed, otherwise the plain vanilla approve would be used
        ApproveAndCallReceiver(_spender).receiveApproval(
           msg.sender,
           _amount,
           this,
           _extraData
        );
        return true;
    }

    /// @dev This function makes it easy to get the total number of tokens
    /// @return The total number of tokens
    function totalSupply() constant returns (uint) {
        return totalSupplyAt(block.number);
    }


////////////////
// Query balance and totalSupply in History
////////////////

    /// @dev Queries the balance of `_owner` at a specific `_blockNumber`
    /// @param _owner The address from which the balance will be retrieved
    /// @param _blockNumber The block number when the balance is queried
    /// @return The balance at `_blockNumber`
    function balanceOfAt(address _owner, uint _blockNumber) constant
        returns (uint) {

        // These next few lines are used when the balance of the token is
        //  requested before a check point was ever created for this token, it
        //  requires that the `parentToken.balanceOfAt` be queried at the
        //  genesis block for that token as this contains initial balance of
        //  this token
        if ((balances[_owner].length == 0)
            || (balances[_owner][0].fromBlock > _blockNumber)) {
            if (address(parentToken) != 0) {
                return parentToken.balanceOfAt(_owner, min(_blockNumber, parentSnapShotBlock));
            } else {
                // Has no parent
                return 0;
            }

        // This will return the expected balance during normal situations
        } else {
            return getValueAt(balances[_owner], _blockNumber);
        }
    }

    /// @notice Total amount of tokens at a specific `_blockNumber`.
    /// @param _blockNumber The block number when the totalSupply is queried
    /// @return The total amount of tokens at `_blockNumber`
    function totalSupplyAt(uint _blockNumber) constant returns(uint) {

        // These next few lines are used when the totalSupply of the token is
        //  requested before a check point was ever created for this token, it
        //  requires that the `parentToken.totalSupplyAt` be queried at the
        //  genesis block for this token as that contains totalSupply of this
        //  token at this block number.
        if ((totalSupplyHistory.length == 0)
            || (totalSupplyHistory[0].fromBlock > _blockNumber)) {
            if (address(parentToken) != 0) {
                return parentToken.totalSupplyAt(min(_blockNumber, parentSnapShotBlock));
            } else {
                return 0;
            }

        // This will return the expected totalSupply during normal situations
        } else {
            return getValueAt(totalSupplyHistory, _blockNumber);
        }
    }

    function min(uint a, uint b) internal returns (uint) {
      return a < b ? a : b;
    }

////////////////
// Clone Token Method
////////////////

    /// @notice Creates a new clone token with the initial distribution being
    ///  this token at `_snapshotBlock`
    /// @param _cloneTokenName Name of the clone token
    /// @param _cloneDecimalUnits Number of decimals of the smallest unit
    /// @param _cloneTokenSymbol Symbol of the clone token
    /// @param _snapshotBlock Block when the distribution of the parent token is
    ///  copied to set the initial distribution of the new clone token;
    ///  if the block is higher than the actual block, the current block is used
    /// @param _transfersEnabled True if transfers are allowed in the clone
    /// @return The address of the new MiniMeToken Contract
    function createCloneToken(
        string _cloneTokenName,
        uint8 _cloneDecimalUnits,
        string _cloneTokenSymbol,
        uint _snapshotBlock,
        bool _transfersEnabled
        ) returns(address) {
        if (_snapshotBlock > block.number) _snapshotBlock = block.number;
        MiniMeToken cloneToken = tokenFactory.createCloneToken(
            this,
            _snapshotBlock,
            _cloneTokenName,
            _cloneDecimalUnits,
            _cloneTokenSymbol,
            _transfersEnabled
            );

        cloneToken.changeController(msg.sender);

        // An event to make the token easy to find on the blockchain
        NewCloneToken(address(cloneToken), _snapshotBlock);
        return address(cloneToken);
    }

////////////////
// Generate and destroy tokens
////////////////

    /// @notice Generates `_amount` tokens that are assigned to `_owner`
    /// @param _owner The address that will be assigned the new tokens
    /// @param _amount The quantity of tokens generated
    /// @return True if the tokens are generated correctly
    function generateTokens(address _owner, uint _amount
    ) onlyController returns (bool) {
        uint curTotalSupply = getValueAt(totalSupplyHistory, block.number);
        if (curTotalSupply + _amount < curTotalSupply) throw; // Check for overflow
        updateValueAtNow(totalSupplyHistory, curTotalSupply + _amount);
        var previousBalanceTo = balanceOf(_owner);
        if (previousBalanceTo + _amount < previousBalanceTo) throw; // Check for overflow
        updateValueAtNow(balances[_owner], previousBalanceTo + _amount);
        Transfer(0, _owner, _amount);
        return true;
    }


    /// @notice Burns `_amount` tokens from `_owner`
    /// @param _owner The address that will lose the tokens
    /// @param _amount The quantity of tokens to burn
    /// @return True if the tokens are burned correctly
    function destroyTokens(address _owner, uint _amount
    ) onlyController returns (bool) {
        uint curTotalSupply = getValueAt(totalSupplyHistory, block.number);
        if (curTotalSupply < _amount) throw;
        updateValueAtNow(totalSupplyHistory, curTotalSupply - _amount);
        var previousBalanceFrom = balanceOf(_owner);
        if (previousBalanceFrom < _amount) throw;
        updateValueAtNow(balances[_owner], previousBalanceFrom - _amount);
        Transfer(_owner, 0, _amount);
        return true;
    }

////////////////
// Enable tokens transfers
////////////////


    /// @notice Enables token holders to transfer their tokens freely if true
    /// @param _transfersEnabled True if transfers are allowed in the clone
    function enableTransfers(bool _transfersEnabled) onlyController {
        transfersEnabled = _transfersEnabled;
    }

////////////////
// Internal helper functions to query and set a value in a snapshot array
////////////////

    /// @dev `getValueAt` retrieves the number of tokens at a given block number
    /// @param checkpoints The history of values being queried
    /// @param _block The block number to retrieve the value at
    /// @return The number of tokens being queried
    function getValueAt(Checkpoint[] storage checkpoints, uint _block
    ) constant internal returns (uint) {
        if (checkpoints.length == 0) return 0;

        // Shortcut for the actual value
        if (_block >= checkpoints[checkpoints.length-1].fromBlock)
            return checkpoints[checkpoints.length-1].value;
        if (_block < checkpoints[0].fromBlock) return 0;

        // Binary search of the value in the array
        uint min = 0;
        uint max = checkpoints.length-1;
        while (max > min) {
            uint mid = (max + min + 1)/ 2;
            if (checkpoints[mid].fromBlock<=_block) {
                min = mid;
            } else {
                max = mid-1;
            }
        }
        return checkpoints[min].value;
    }

    /// @dev `updateValueAtNow` used to update the `balances` map and the
    ///  `totalSupplyHistory`
    /// @param checkpoints The history of data being updated
    /// @param _value The new number of tokens
    function updateValueAtNow(Checkpoint[] storage checkpoints, uint _value
    ) internal  {
        if ((checkpoints.length == 0)
        || (checkpoints[checkpoints.length -1].fromBlock < block.number)) {
               Checkpoint newCheckPoint = checkpoints[ checkpoints.length++ ];
               newCheckPoint.fromBlock =  uint128(block.number);
               newCheckPoint.value = uint128(_value);
           } else {
               Checkpoint oldCheckPoint = checkpoints[checkpoints.length-1];
               oldCheckPoint.value = uint128(_value);
           }
    }

    /// @dev Internal function to determine if an address is a contract
    /// @param _addr The address being queried
    /// @return True if `_addr` is a contract
    function isContract(address _addr) constant internal returns(bool) {
        uint size;
        if (_addr == 0) return false;
        assembly {
            size := extcodesize(_addr)
        }
        return size>0;
    }

    /// @notice The fallback function: If the contract's controller has not been
    ///  set to 0, then the `proxyPayment` method is called which relays the
    ///  ether and creates tokens as described in the token controller contract
    function ()  payable {
        if (isContract(controller)) {
            if (! Controller(controller).proxyPayment.value(msg.value)(msg.sender))
                throw;
        } else {
            throw;
        }
    }


////////////////
// Events
////////////////
    event NewCloneToken(address indexed _cloneToken, uint _snapshotBlock);
}


////////////////
// MiniMeTokenFactory
////////////////

/// @dev This contract is used to generate clone contracts from a contract.
///  In solidity this is the way to create a contract from a contract of the
///  same class
contract MiniMeTokenFactory {

    /// @notice Update the DApp by creating a new token with new functionalities
    ///  the msg.sender becomes the controller of this clone token
    /// @param _parentToken Address of the token being cloned
    /// @param _snapshotBlock Block of the parent token that will
    ///  determine the initial distribution of the clone token
    /// @param _tokenName Name of the new token
    /// @param _decimalUnits Number of decimals of the new token
    /// @param _tokenSymbol Token Symbol for the new token
    /// @param _transfersEnabled If true, tokens will be able to be transferred
    /// @return The address of the new token contract
    function createCloneToken(
        address _parentToken,
        uint _snapshotBlock,
        string _tokenName,
        uint8 _decimalUnits,
        string _tokenSymbol,
        bool _transfersEnabled
    ) returns (MiniMeToken) {
        MiniMeToken newToken = new MiniMeToken(
            this,
            _parentToken,
            _snapshotBlock,
            _tokenName,
            _decimalUnits,
            _tokenSymbol,
            _transfersEnabled
            );

        newToken.changeController(msg.sender);
        return newToken;
    }
}


/*
    Copyright 2017, Jorge Izquierdo (Aragon Foundation)

    Based on VestedToken.sol from https://github.com/OpenZeppelin/zeppelin-solidity

    SafeMath – Copyright (c) 2016 Smart Contract Solutions, Inc.
    MiniMeToken – Copyright 2017, Jordi Baylina (Giveth)
 */

// @dev MiniMeIrrevocableVestedToken is a derived version of MiniMeToken adding the
// ability to createTokenGrants which are basically a transfer that limits the
// receiver of the tokens how can he spend them over time.

// For simplicity, token grants are not saved in MiniMe type checkpoints.
// Vanilla cloning ANT will clone it into a MiniMeToken without vesting.
// More complex cloning could account for past vesting calendars.

contract MiniMeIrrevocableVestedToken is MiniMeToken, SafeMath {
  // Keep the struct at 2 sstores (1 slot for value + 64 * 3 (dates) + 20 (address) = 2 slots (2nd slot is 212 bytes, lower than 256))
  struct TokenGrant {
    address granter;
    uint256 value;
    uint64 cliff;
    uint64 vesting;
    uint64 start;
  }

  event NewTokenGrant(address indexed from, address indexed to, uint256 value, uint64 start, uint64 cliff, uint64 vesting);

  mapping (address => TokenGrant[]) public grants;

  mapping (address => bool) canCreateGrants;
  address vestingWhitelister;

  modifier canTransfer(address _sender, uint _value) {
    if (_value > spendableBalanceOf(_sender)) throw;
    _;
  }

  modifier onlyVestingWhitelister {
    if (msg.sender != vestingWhitelister) throw;
    _;
  }

  function MiniMeIrrevocableVestedToken (
      address _tokenFactory,
      address _parentToken,
      uint _parentSnapShotBlock,
      string _tokenName,
      uint8 _decimalUnits,
      string _tokenSymbol,
      bool _transfersEnabled
  ) MiniMeToken(_tokenFactory, _parentToken, _parentSnapShotBlock, _tokenName, _decimalUnits, _tokenSymbol, _transfersEnabled) {
    vestingWhitelister = msg.sender;
    doSetCanCreateGrants(vestingWhitelister, true);
  }

  // @dev Add canTransfer modifier before allowing transfer and transferFrom to go through
  function transfer(address _to, uint _value)
           canTransfer(msg.sender, _value)
           public
           returns (bool success) {
    return super.transfer(_to, _value);
  }

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

  function spendableBalanceOf(address _holder) constant public returns (uint) {
    return transferableTokens(_holder, uint64(now));
  }

  function grantVestedTokens(
    address _to,
    uint256 _value,
    uint64 _start,
    uint64 _cliff,
    uint64 _vesting) public {

    // Check start, cliff and vesting are properly order to ensure correct functionality of the formula.
    if (_cliff < _start) throw;
    if (_vesting < _start) throw;
    if (_vesting < _cliff) throw;

    if (!canCreateGrants[msg.sender]) throw;
    if (tokenGrantsCount(_to) > 20) throw;   // To prevent a user being spammed and have his balance locked (out of gas attack when calculating vesting).

    TokenGrant memory grant = TokenGrant(msg.sender, _value, _cliff, _vesting, _start);
    grants[_to].push(grant);

    if (!transfer(_to, _value)) throw;

    NewTokenGrant(msg.sender, _to, _value, _cliff, _vesting, _start);
  }

  function setCanCreateGrants(address _addr, bool _allowed)
           onlyVestingWhitelister public {
    doSetCanCreateGrants(_addr, _allowed);
  }

  function doSetCanCreateGrants(address _addr, bool _allowed)
           internal {
    canCreateGrants[_addr] = _allowed;
  }

  function changeVestingWhitelister(address _newWhitelister) onlyVestingWhitelister public {
    doSetCanCreateGrants(vestingWhitelister, false);
    vestingWhitelister = _newWhitelister;
    doSetCanCreateGrants(vestingWhitelister, true);
  }

  // @dev Not allow token grants
  function revokeTokenGrant(address _holder, uint _grantId) public {
    throw;
  }

  //
  function tokenGrantsCount(address _holder) constant public returns (uint index) {
    return grants[_holder].length;
  }

  function tokenGrant(address _holder, uint _grantId) constant public returns (address granter, uint256 value, uint256 vested, uint64 start, uint64 cliff, uint64 vesting) {
    TokenGrant grant = grants[_holder][_grantId];

    granter = grant.granter;
    value = grant.value;
    start = grant.start;
    cliff = grant.cliff;
    vesting = grant.vesting;

    vested = vestedTokens(grant, uint64(now));
  }

  function vestedTokens(TokenGrant grant, uint64 time) internal constant returns (uint256) {
    return calculateVestedTokens(
      grant.value,
      uint256(time),
      uint256(grant.start),
      uint256(grant.cliff),
      uint256(grant.vesting)
    );
  }

  //  transferableTokens
  //   |                         _/--------   NonVestedTokens
  //   |                       _/
  //   |                     _/
  //   |                   _/
  //   |                 _/
  //   |                /
  //   |              .|
  //   |            .  |
  //   |          .    |
  //   |        .      |
  //   |      .        |
  //   |    .          |
  //   +===+===========+---------+----------> time
  //      Start       Clift    Vesting

  function calculateVestedTokens(
    uint256 tokens,
    uint256 time,
    uint256 start,
    uint256 cliff,
    uint256 vesting) internal constant returns (uint256)
    {

    // Shortcuts for before cliff and after vesting cases.
    if (time < cliff) return 0;
    if (time >= vesting) return tokens;

    // Interpolate all vested tokens.
    // As before cliff the shortcut returns 0, we can use just this function to
    // calculate it.

    // vestedTokens = tokens * (time - start) / (vesting - start)
    uint256 vestedTokens = safeDiv(
                                  safeMul(
                                    tokens,
                                    safeSub(time, start)
                                    ),
                                  safeSub(vesting, start)
                                  );

    return vestedTokens;
  }

  function nonVestedTokens(TokenGrant grant, uint64 time) internal constant returns (uint256) {
    // Of all the tokens of the grant, how many of them are not vested?
    // grantValue - vestedTokens
    return safeSub(grant.value, vestedTokens(grant, time));
  }

  // @dev The date in which all tokens are transferable for the holder
  // Useful for displaying purposes (not used in any logic calculations)
  function lastTokenIsTransferableDate(address holder) constant public returns (uint64 date) {
    date = uint64(now);
    uint256 grantIndex = tokenGrantsCount(holder);
    for (uint256 i = 0; i < grantIndex; i++) {
      date = max64(grants[holder][i].vesting, date);
    }
    return date;
  }

  // @dev How many tokens can a holder transfer at a point in time
  function transferableTokens(address holder, uint64 time) constant public returns (uint256) {
    uint256 grantIndex = tokenGrantsCount(holder);

    if (grantIndex == 0) return balanceOf(holder); // shortcut for holder without grants

    // Iterate through all the grants the holder has, and add all non-vested tokens
    uint256 nonVested = 0;
    for (uint256 i = 0; i < grantIndex; i++) {
      nonVested = safeAdd(nonVested, nonVestedTokens(grants[holder][i], time));
    }

    // Balance - totalNonVested is the amount of tokens a holder can transfer at any given time
    return safeSub(balanceOf(holder), nonVested);
  }
}

/*
    Copyright 2017, Jorge Izquierdo (Aragon Foundation)
*/

contract ANT is MiniMeIrrevocableVestedToken {
  // @dev ANT constructor just parametrizes the MiniMeIrrevocableVestedToken constructor
  function ANT(
    address _tokenFactory
  ) MiniMeIrrevocableVestedToken(
    _tokenFactory,
    0x0,                    // no parent token
    0,                      // no snapshot block number from parent
    "Aragon Network Token", // Token name
    18,                     // Decimals
    "ANT",                  // Symbol
    true                    // Enable transfers
    ) {}
}

  Contract ABI  
[{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"},{"name":"_start","type":"uint64"},{"name":"_cliff","type":"uint64"},{"name":"_vesting","type":"uint64"}],"name":"grantVestedTokens","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_holder","type":"address"}],"name":"tokenGrantsCount","outputs":[{"name":"index","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_amount","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_holder","type":"address"}],"name":"spendableBalanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"creationBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_addr","type":"address"},{"name":"_allowed","type":"bool"}],"name":"setCanCreateGrants","outputs":[],"payable":false,"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,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"uint256"}],"name":"grants","outputs":[{"name":"granter","type":"address"},{"name":"value","type":"uint256"},{"name":"cliff","type":"uint64"},{"name":"vesting","type":"uint64"},{"name":"start","type":"uint64"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_newController","type":"address"}],"name":"changeController","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_blockNumber","type":"uint256"}],"name":"balanceOfAt","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_holder","type":"address"},{"name":"_grantId","type":"uint256"}],"name":"tokenGrant","outputs":[{"name":"granter","type":"address"},{"name":"value","type":"uint256"},{"name":"vested","type":"uint256"},{"name":"start","type":"uint64"},{"name":"cliff","type":"uint64"},{"name":"vesting","type":"uint64"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_cloneTokenName","type":"string"},{"name":"_cloneDecimalUnits","type":"uint8"},{"name":"_cloneTokenSymbol","type":"string"},{"name":"_snapshotBlock","type":"uint256"},{"name":"_transfersEnabled","type":"bool"}],"name":"createCloneToken","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"holder","type":"address"}],"name":"lastTokenIsTransferableDate","outputs":[{"name":"date","type":"uint64"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"parentToken","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"},{"name":"_amount","type":"uint256"}],"name":"generateTokens","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_blockNumber","type":"uint256"}],"name":"totalSupplyAt","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"transfersEnabled","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"parentSnapShotBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_amount","type":"uint256"},{"name":"_extraData","type":"bytes"}],"name":"approveAndCall","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"holder","type":"address"},{"name":"time","type":"uint64"}],"name":"transferableTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"},{"name":"_amount","type":"uint256"}],"name":"destroyTokens","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"tokenFactory","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_holder","type":"address"},{"name":"_grantId","type":"uint256"}],"name":"revokeTokenGrant","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_transfersEnabled","type":"bool"}],"name":"enableTransfers","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"controller","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_newWhitelister","type":"address"}],"name":"changeVestingWhitelister","outputs":[],"payable":false,"type":"function"},{"inputs":[{"name":"_tokenFactory","type":"address"}],"payable":false,"type":"constructor"},{"payable":true,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"start","type":"uint64"},{"indexed":false,"name":"cliff","type":"uint64"},{"indexed":false,"name":"vesting","type":"uint64"}],"name":"NewTokenGrant","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_cloneToken","type":"address"},{"indexed":false,"name":"_snapshotBlock","type":"uint256"}],"name":"NewCloneToken","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"},{"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"}]

  Contract Creation Code Switch To Opcodes View
60a0604052600760608190527f4d4d545f302e310000000000000000000000000000000000000000000000000060809081526004805460008290527f4d4d545f302e310000000000000000000000000000000000000000000000000e825590927f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b602060026001851615610100026000190190941693909304601f0192909204820192909190620000db565b82800160010185558215620000db579182015b82811115620000db578251825591602001919060010190620000be565b5b50620000ff9291505b80821115620000fb5760008155600101620000e5565b5090565b5050346200000057604051602080620027a183398101604052515b8060006000604060405190810160405280601481526020017f417261676f6e204e6574776f726b20546f6b656e0000000000000000000000008152506012604060405190810160405280600381526020017f414e54000000000000000000000000000000000000000000000000000000000081525060015b868686868686865b5b60008054600160a060020a03191633600160a060020a03161790555b86600b60016101000a815481600160a060020a030219169083600160a060020a031602179055508360019080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200022c57805160ff19168380011785556200025c565b828001600101855582156200025c579182015b828111156200025c5782518255916020019190600101906200023f565b5b50620002809291505b80821115620000fb5760008155600101620000e5565b5090565b50506002805460ff191660ff8516178155825160038054600082905290927fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b60206101006001851615026000190190931691909104601f90810183900482019392870190839010620002fe57805160ff19168380011785556200032e565b828001600101855582156200032e579182015b828111156200032e57825182559160200191906001019062000311565b5b50620003529291505b80821115620000fb5760008155600101620000e5565b5090565b505060058054600160a060020a031916600160a060020a0388161790556006859055600b805460ff1916821515179055436007555b5050600e8054600160a060020a03191633600160a060020a039081169190911791829055620003cf96501693506001925050640100000000620003df810262001c6a17049050565b5b505050505050505b5062000408565b600160a060020a0382166000908152600d60205260409020805460ff19168215151790555b5050565b61238980620004186000396000f3006060604052361561018f5763ffffffff60e060020a600035041662e1986d811461024657806302a72a4c1461027d57806306fdde03146102a8578063095ea7b3146103355780630f8f8b8314610365578063176345141461039057806318160ddd146103af5780631f9a391c146103ce57806323b872dd146103ee5780632c71e60a14610424578063313ce567146104825780633cebb823146104a55780634ee2cd7e146104c057806354fd4d50146104ee578063600e85b71461057b5780636638c087146105e05780636c182e991461069d57806370a08231146106d357806380a54001146106fe578063827f32c01461072757806395d89b4114610757578063981b24d0146107e4578063a9059cbb14610806578063bef97c8714610836578063c5bcc4f114610857578063cae9ca5114610876578063d347c205146108ea578063d3ce77fe14610922578063dd62ed3e14610952578063e77772fe14610983578063eb944e4c146109ac578063f41e60c5146109ca578063f77c4791146109de578063fb13a70714610a07575b6102445b6000546101a890600160a060020a0316610a22565b1561023c57600080546040805160209081019390935280517ff48c3054000000000000000000000000000000000000000000000000000000008152600160a060020a0333811660048301529151919092169263f48c30549234926024808301939282900301818588803b156100005761235a5a03f1156100005750506040515115159150610237905057610000565b610241565b610000565b5b565b005b3461000057610244600160a060020a036004351660243567ffffffffffffffff60443581169060643581169060843516610a4f565b005b3461000057610296600160a060020a0360043516610d1b565b60408051918252519081900360200190f35b34610000576102b5610d3a565b6040805160208082528351818301528351919283929083019185019080838382156102fb575b8051825260208311156102fb57601f1990920191602091820191016102db565b505050905090810190601f1680156103275780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3461000057610351600160a060020a0360043516602435610dc7565b604080519115158252519081900360200190f35b3461000057610296600160a060020a0360043516610f2f565b60408051918252519081900360200190f35b3461000057610296610f43565b60408051918252519081900360200190f35b3461000057610296610f49565b60408051918252519081900360200190f35b3461000057610244600160a060020a03600435166024351515610f5a565b005b3461000057610351600160a060020a0360043581169060243516604435610f85565b604080519115158252519081900360200190f35b3461000057610440600160a060020a0360043516602435610fb6565b60408051600160a060020a039096168652602086019490945267ffffffffffffffff928316858501529082166060850152166080830152519081900360a00190f35b346100005761048f611020565b6040805160ff9092168252519081900360200190f35b3461000057610244600160a060020a0360043516611029565b005b3461000057610296600160a060020a0360043516602435611064565b60408051918252519081900360200190f35b34610000576102b56111a8565b6040805160208082528351818301528351919283929083019185019080838382156102fb575b8051825260208311156102fb57601f1990920191602091820191016102db565b505050905090810190601f1680156103275780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3461000057610597600160a060020a0360043516602435611236565b60408051600160a060020a03909716875260208701959095528585019390935267ffffffffffffffff9182166060860152811660808501521660a0830152519081900360c00190f35b3461000057610681600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284375050604080516020601f818a01358b0180359182018390048302840183018552818452989a60ff8b35169a90999401975091955091820193509150819084018382808284375094965050843594602001351515935061130b92505050565b60408051600160a060020a039092168252519081900360200190f35b34610000576106b6600160a060020a036004351661155f565b6040805167ffffffffffffffff9092168252519081900360200190f35b3461000057610296600160a060020a03600435166115e3565b60408051918252519081900360200190f35b34610000576106816115f7565b60408051600160a060020a039092168252519081900360200190f35b3461000057610351600160a060020a0360043516602435611606565b604080519115158252519081900360200190f35b34610000576102b56116dc565b6040805160208082528351818301528351919283929083019185019080838382156102fb575b8051825260208311156102fb57601f1990920191602091820191016102db565b505050905090810190601f1680156103275780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b346100005761029660043561176a565b60408051918252519081900360200190f35b3461000057610351600160a060020a0360043516602435611852565b604080519115158252519081900360200190f35b3461000057610351611881565b604080519115158252519081900360200190f35b346100005761029661188a565b60408051918252519081900360200190f35b3461000057604080516020600460443581810135601f8101849004840285018401909552848452610351948235600160a060020a031694602480359560649492939190920191819084018382808284375094965061189095505050505050565b604080519115158252519081900360200190f35b3461000057610296600160a060020a036004351667ffffffffffffffff602435166119a3565b60408051918252519081900360200190f35b3461000057610351600160a060020a0360043516602435611aad565b604080519115158252519081900360200190f35b3461000057610296600160a060020a0360043581169060243516611b7f565b60408051918252519081900360200190f35b3461000057610681611bac565b60408051600160a060020a039092168252519081900360200190f35b3461000057610244600160a060020a036004351660243561023c565b005b34610000576102446004351515611bc9565b005b3461000057610681611bf7565b60408051600160a060020a039092168252519081900360200190f35b3461000057610244600160a060020a0360043516611c06565b005b600080600160a060020a0383161515610a3e5760009150610a49565b823b90506000811191505b50919050565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915267ffffffffffffffff8481169084161015610a9457610000565b8367ffffffffffffffff168267ffffffffffffffff161015610ab557610000565b8267ffffffffffffffff168267ffffffffffffffff161015610ad657610000565b600160a060020a0333166000908152600d602052604090205460ff161515610afd57610000565b6014610b0887610d1b565b1115610b1357610000565b506040805160a081018252600160a060020a033381168252602080830188905267ffffffffffffffff808716848601528581166060850152871660808401529088166000908152600c909152919091208054600181018083558281838015829011610bdf57600302816003028360005260206000209182019101610bdf91905b80821115610bdb578054600160a060020a03191681556000600182015560028101805477ffffffffffffffffffffffffffffffffffffffffffffffff19169055600301610b93565b5090565b5b505050916000526020600020906003020160005b5082518154600160a060020a031916600160a060020a03909116178155602083015160018201556040830151600290910180546060850151608086015167ffffffffffffffff1990921667ffffffffffffffff948516176fffffffffffffffff00000000000000001916604060020a918516919091021777ffffffffffffffff000000000000000000000000000000001916608060020a939091169290920291909117905550610ca48686611852565b1515610caf57610000565b6040805186815267ffffffffffffffff808616602083015280851682840152861660608201529051600160a060020a038089169233909116917f9e12d725ade130ef3f3727e13815b3fcf01a631419ce8142bafb0752a61121e89181900360800190a35b505050505050565b600160a060020a0381166000908152600c60205260409020545b919050565b60018054604080516020600284861615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610dbf5780601f10610d9457610100808354040283529160200191610dbf565b820191906000526020600020905b815481529060010190602001808311610da257829003601f168201915b505050505081565b600b5460009060ff161515610ddb57610000565b8115801590610e0e5750600160a060020a0333811660009081526009602090815260408083209387168352929052205415155b15610e1857610000565b600054610e2d90600160a060020a0316610a22565b15610ec7576000805460408051602090810184905281517fda682aeb000000000000000000000000000000000000000000000000000000008152600160a060020a0333811660048301528881166024830152604482018890529251929093169363da682aeb9360648082019492918390030190829087803b156100005760325a03f1156100005750506040515115159050610ec757610000565b5b600160a060020a03338116600081815260096020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060015b92915050565b6000610f3b82426119a3565b90505b919050565b60075481565b6000610f544361176a565b90505b90565b600e5433600160a060020a03908116911614610f7557610000565b610f7f8282611c6a565b5b5b5050565b60008382610f9282610f2f565b811115610f9e57610000565b610fa9868686611c93565b92505b5b50509392505050565b600c60205281600052604060002081815481101561000057906000526020600020906003020160005b5080546001820154600290920154600160a060020a03909116935090915067ffffffffffffffff80821691604060020a8104821691608060020a9091041685565b60025460ff1681565b60005433600160a060020a0390811691161461104457610000565b60008054600160a060020a031916600160a060020a0383161790555b5b50565b600160a060020a03821660009081526008602052604081205415806110c35750600160a060020a0383166000908152600860205260408120805484929081101561000057906000526020600020900160005b50546001608060020a0316115b1561117857600554600160a060020a03161561116b57600554600654600160a060020a0390911690634ee2cd7e9085906110fe908690611d32565b6000604051602001526040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050602060405180830381600087803b156100005760325a03f115610000575050604051519150610f299050565b506000610f29565b610f29565b600160a060020a038316600090815260086020526040902061119a9083611d4c565b9050610f29565b5b92915050565b6004805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610dbf5780601f10610d9457610100808354040283529160200191610dbf565b820191906000526020600020905b815481529060010190602001808311610da257829003601f168201915b505050505081565b6000600060006000600060006000600c60008a600160a060020a0316600160a060020a0316815260200190815260200160002088815481101561000057906000526020600020906003020160005b508054600182015460028301546040805160a081018252600160a060020a039094168085526020850184905267ffffffffffffffff808416928601839052604060020a8404811660608701819052608060020a9094041660808601819052909c50929a5091975090955093509091506112fd9042611e9c565b94505b509295509295509295565b600060004384111561131b574393505b600b60019054906101000a9004600160a060020a0316600160a060020a0316635b7b72c130868a8a8a896000604051602001526040518763ffffffff1660e060020a0281526004018087600160a060020a0316600160a060020a03168152602001868152602001806020018560ff1660ff16815260200180602001841515151581526020018381038352878181518152602001915080519060200190808383600083146113e3575b8051825260208311156113e357601f1990920191602091820191016113c3565b505050905090810190601f16801561140f5780820380516001836020036101000a031916815260200191505b508381038252855181528551602091820191870190808383821561144e575b80518252602083111561144e57601f19909201916020918201910161142e565b505050905090810190601f16801561147a5780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b156100005760325a03f1156100005750506040805180517f3cebb823000000000000000000000000000000000000000000000000000000008252600160a060020a03338116600484015292519094509184169250633cebb82391602480830192600092919082900301818387803b156100005760325a03f115610000575050604080518681529051600160a060020a03841692507f086c875b377f900b07ce03575813022f05dd10ed7640b5282cf6d3c3fc352ade9181900360200190a28091505b5095945050505050565b4260008061156c84610d1b565b9150600090505b818110156115db57600160a060020a0384166000908152600c6020526040902080546115d09190839081101561000057906000526020600020906003020160005b5060020154604060020a900467ffffffffffffffff1684611eec565b92505b600101611573565b5b5050919050565b6000610f3b8243611064565b90505b919050565b600554600160a060020a031681565b600080548190819033600160a060020a0390811691161461162657610000565b611631600a43611d4c565b915081848301101561164257610000565b61164f600a858401611f1b565b611658856115e3565b905080848201101561166957610000565b600160a060020a038516600090815260086020526040902061168d90828601611f1b565b604080518581529051600160a060020a038716916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3600192505b5b505092915050565b6003805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610dbf5780601f10610d9457610100808354040283529160200191610dbf565b820191906000526020600020905b815481529060010190602001808311610da257829003601f168201915b505050505081565b600a5460009015806117a0575081600a6000815481101561000057906000526020600020900160005b50546001608060020a0316115b1561183a57600554600160a060020a03161561182d57600554600654600160a060020a039091169063981b24d0906117d9908590611d32565b6000604051602001526040518263ffffffff1660e060020a02815260040180828152602001915050602060405180830381600087803b156100005760325a03f115610000575050604051519150610d359050565b506000610d35565b610d35565b611845600a83611d4c565b9050610d35565b5b919050565b6000338261185f82610f2f565b81111561186b57610000565b6118758585612036565b92505b5b505092915050565b600b5460ff1681565b60065481565b600061189c8484610dc7565b5083600160a060020a0316638f4ffcb1338530866040518563ffffffff1660e060020a0281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360008314611943575b80518252602083111561194357601f199092019160209182019101611923565b505050905090810190601f16801561196f5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b156100005760325a03f11561000057505050600190505b9392505050565b60006000600060006119b486610d1b565b92508215156119cd576119c6866115e3565b9350611aa4565b5060009050805b82811015611a8f57611a8482611a7f600c60008a600160a060020a0316600160a060020a0316815260200190815260200160002084815481101561000057906000526020600020906003020160005b506040805160a0810182528254600160a060020a031681526001830154602082015260029092015467ffffffffffffffff80821692840192909252604060020a810482166060840152608060020a90041660808201528861205e565b612080565b91505b6001016119d4565b611aa1611a9b876115e3565b836120a8565b93505b50505092915050565b600080548190819033600160a060020a03908116911614611acd57610000565b611ad8600a43611d4c565b915083821015611ae757610000565b611af4600a858403611f1b565b611afd856115e3565b905083811015611b0c57610000565b600160a060020a0385166000908152600860205260409020611b3090858303611f1b565b604080518581529051600091600160a060020a038816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3600192505b5b505092915050565b600160a060020a038083166000908152600960209081526040808320938516835292905220545b92915050565b600b546101009004600160a060020a031681565b610000565b5050565b60005433600160a060020a03908116911614611be457610000565b600b805460ff19168215151790555b5b50565b600054600160a060020a031681565b600e5433600160a060020a03908116911614611c2157610000565b600e54611c3890600160a060020a03166000611c6a565b600e8054600160a060020a031916600160a060020a03838116919091179182905561106091166001611c6a565b5b5b50565b600160a060020a0382166000908152600d60205260409020805460ff19168215151790555b5050565b6000805433600160a060020a03908116911614611d1d57600b5460ff161515611cbb57610000565b600160a060020a038085166000908152600960209081526040808320339094168352929052205482901015611cef57610000565b600160a060020a03808516600090815260096020908152604080832033909416835292905220805483900390555b611d288484846120c1565b90505b9392505050565b6000818310611d415781611d43565b825b90505b92915050565b6000600060006000858054905060001415611d6a5760009350611aa4565b8554869060001981019081101561000057906000526020600020900160005b50546001608060020a03168510611dd2578554869060001981019081101561000057906000526020600020900160005b5054608060020a90046001608060020a03169350611aa4565b856000815481101561000057906000526020600020900160005b50546001608060020a0316851015611e075760009350611aa4565b8554600093506000190191505b82821115611e65576002600183850101049050848682815481101561000057906000526020600020900160005b50546001608060020a031611611e5957809250611e60565b6001810391505b611e14565b8583815481101561000057906000526020600020900160005b5054608060020a90046001608060020a031693505b50505092915050565b6000611d4383602001518367ffffffffffffffff16856080015167ffffffffffffffff16866040015167ffffffffffffffff16876060015167ffffffffffffffff1661228b565b90505b92915050565b60008167ffffffffffffffff168367ffffffffffffffff161015611d415781611d43565b825b90505b92915050565b815460009081901580611f57575083544390859060001981019081101561000057906000526020600020900160005b50546001608060020a0316105b15611ff45783848054809190600101815481835581811511611f9e57600083815260209020611f9e9181019083015b80821115610bdb5760008155600101611f86565b5090565b5b505050815481101561000057906000526020600020900160005b5080546001608060020a03858116608060020a024382166fffffffffffffffffffffffffffffffff199093169290921716178155915061202f565b8354849060001981019081101561000057906000526020600020900160005b5080546001608060020a03808616608060020a02911617815590505b5b50505050565b600b5460009060ff16151561204a57610000565b611d433384846120c1565b90505b92915050565b6000611d4383602001516120728585611e9c565b6120a8565b90505b92915050565b600082820161209d8482108015906120985750838210155b6122e4565b8091505b5092915050565b60006120b6838311156122e4565b508082035b92915050565b600080808315156120d55760019250610fac565b600160a060020a03851615806120fc575030600160a060020a031685600160a060020a0316145b1561210657610000565b6121108643611064565b91508382101561211f57610000565b60005461213490600160a060020a0316610a22565b156121ce576000805460408051602090810184905281517f4a393149000000000000000000000000000000000000000000000000000000008152600160a060020a038b811660048301528a81166024830152604482018a905292519290931693634a3931499360648082019492918390030190829087803b156100005760325a03f11561000057505060405151151590506121ce57610000565b5b600160a060020a03861660009081526008602052604090206121f390858403611f1b565b6121fd8543611064565b905080848201101561220e57610000565b600160a060020a038516600090815260086020526040902061223290828601611f1b565b84600160a060020a031686600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef866040518082815260200191505060405180910390a3600192505b50509392505050565b60006000838610156122a05760009150611555565b8286106122af57869150611555565b6122d46122c5886122c089896120a8565b6122f4565b6122cf85886120a8565b612320565b90508091505b5095945050505050565b80151561106057610000565b5b50565b600082820261209d841580612098575083858381156100005704145b6122e4565b8091505b5092915050565b60006000612330600084116122e4565b828481156100005704905061209d8385811561000057068285020185146122e4565b8091505b50929150505600a165627a7a72305820583a73863371959fe752d9c72ecb34a8c05ad55f36f8330a9d88e5cfb50245a4002900000000000000000000000013d685a2fd10fbffca36a394970b81fdadf7ba8d

   Swarm Source:
bzzr://583a73863371959fe752d9c72ecb34a8c05ad55f36f8330a9d88e5cfb50245a4
View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "downvote" button for any spammy posts, and the "upvote" for interesting conversations.