Contract Overview
Balance: 21.467647101460691942 Ether
Ether Value: $1,815.52 (@ $84.57/ETH)
Transactions: 1465 txns
Misc:
Address Watch: Add To Watch List
Contract Creator: 0xd7537928b6ad4185c63f52050ab2f1d0068f8abcat txn 0x1d36fa17880b33df917898e265bf772ec5f3a885210d440255bed42e1c342b61
Token Balance:
 Latest 25 transactions from a total of 1465 transactions

TxHash Age From To Value [TxFee]
0xd864aa62acf5b776cc16bd56df0455c5d7c99e8bda7b094a80202f54c613f07a13 days 20 hrs ago0x9fc01542db14ddd493621c15fcbc58fd0ec226ef  IN   0x9462eeb9124c99731cc7617348b3937a8f00b11f0 Ether0.000153796
0xada67466f02239f847ddd32795cd6c100afcc103f5baf25b867ba51e29cfd45e18 days 23 hrs ago0x54e9ecd5070191f64199fd90414411ab32c251d0  IN   0x9462eeb9124c99731cc7617348b3937a8f00b11f0 Ether0.000117245
0x1d606711a892129694086ac2d58b8aa96579f19b425d01066d592085a1ea09f225 days 6 hrs ago0x82cfc5443a9b9808e23d1e1fa05f858644ad1bb0  IN   0x9462eeb9124c99731cc7617348b3937a8f00b11f0 Ether0.000481664
0xb1f2b9e8b33627798e9775f8baa6ae6cc94fea5b69f3a307f631ad49813ed5fc25 days 6 hrs ago0x82cfc5443a9b9808e23d1e1fa05f858644ad1bb0  IN   0x9462eeb9124c99731cc7617348b3937a8f00b11f0 Ether0.000064308
0xd979e07c1fe9f02ecdf46baf17422e8a14575c29d257c53e45c14124210fe33625 days 12 hrs ago0x82cfc5443a9b9808e23d1e1fa05f858644ad1bb0  IN   0x9462eeb9124c99731cc7617348b3937a8f00b11f0 Ether0.00051436
0xb94c4d6029df8f31e76e2bb9798a31ae91d877682bb8b3af967b868b97b41d1935 days 3 hrs ago0xa2cbc96ec424e1d7271167aa2670a29fad2c6fcb  IN   0x9462eeb9124c99731cc7617348b3937a8f00b11f0 Ether0.00060598
0x9eb81a345e9b6a295998be98af9c0b8565b548d284139cc7d786be0153472a9335 days 3 hrs ago0xa2cbc96ec424e1d7271167aa2670a29fad2c6fcb  IN   0x9462eeb9124c99731cc7617348b3937a8f00b11f0 Ether0.00018218
0x5ec69e2ca6b7b21e2138e326c5a1d3debdb1d37a12800ba870fcec7ec94d078843 days 13 hrs ago0x62468f37669a04f90d43f8f1f37351e4ced4b3e0  IN   0x9462eeb9124c99731cc7617348b3937a8f00b11f0 Ether0.00038385
0xdf79ac9a12e16cb1975333687892cfb1e86baef0a4565499cbe0f9bf9fba031643 days 13 hrs ago0x62468f37669a04f90d43f8f1f37351e4ced4b3e0  IN   0x9462eeb9124c99731cc7617348b3937a8f00b11f0 Ether0.00082603
0x9742d38780051e93eaf34799c9625fde42d55b5ff21c42c86257c8c91bcb642644 days 53 mins ago0x9fc01542db14ddd493621c15fcbc58fd0ec226ef  IN   0x9462eeb9124c99731cc7617348b3937a8f00b11f0.005 Ether0.000090066
0xc038d6409ec1dca5bf00e20e5e1ac7b57a37c06db70add2fa2768959b9e7d66744 days 10 hrs ago0x07eb6036e8b2124e3f65e99750417ed46dfb2baf  IN   0x9462eeb9124c99731cc7617348b3937a8f00b11f0.091 Ether0.000720792
0x82a3a635b9529c41c7e927d6adbde4a8b71f2c44dfbfc1694b8ccecdb69dd27145 days 19 hrs ago0xd40428c28badb95783fb4762b3e36f448adca44d  IN   0x9462eeb9124c99731cc7617348b3937a8f00b11f0 Ether0.001332472
0x75e52a859280069dc2732181f1fbb70ebf5b32681dec484b32ac957e75e9109445 days 19 hrs ago0xd40428c28badb95783fb4762b3e36f448adca44d  IN   0x9462eeb9124c99731cc7617348b3937a8f00b11f0 Ether0.00021436
0xaefff99ad17d8431cb986d19bffb513507e3226454cba6a88d2e385156c968ac45 days 20 hrs ago0xd40428c28badb95783fb4762b3e36f448adca44d  IN   0x9462eeb9124c99731cc7617348b3937a8f00b11f0 Ether0.00025718
0xbd5c6dba22b4a63b0dfb7684fd5c7deb5d435359a9afe5757f08d50c080a282851 days 2 hrs ago0x5c5b9c23f3b37e623379018dcd8d7a7f1b86a918  IN   0x9462eeb9124c99731cc7617348b3937a8f00b11f0 Ether0.000411415
0xa0ee78b28a4f8e1aa4fbbe5b430ea63e5bfd61546b5c816643e4238517f3f7a352 days 2 hrs ago0x936b0ea5d08fe5eeaa48087f19a882194aa58ac4  IN   0x9462eeb9124c99731cc7617348b3937a8f00b11f0 Ether0.001212472
0xbf093bbb28e17fc439861c67a0239d970f2995ac40739f085f9babf52890cb3757 days 5 hrs ago0xede92d9d913b5479fd8d1f65979cd7b008024316  IN   0x9462eeb9124c99731cc7617348b3937a8f00b11f0 Ether0.00032572528
0xfb39d570ad525ca850b6ae6fee46ea17533137f171f2602895323c2fdb738c6957 days 22 hrs ago0x9fc01542db14ddd493621c15fcbc58fd0ec226ef  IN   0x9462eeb9124c99731cc7617348b3937a8f00b11f0 Ether0.000023385
0x91eac9901b4311f8173865d7534be359ad5da1a84ef3b0a3358d69bde387d51058 days 4 hrs ago0xa2cbc96ec424e1d7271167aa2670a29fad2c6fcb  IN   0x9462eeb9124c99731cc7617348b3937a8f00b11f0 Ether0.00181794
0x38e4ebe35d39f365e50682c39f9de1636074da459f21582adfa53d4e14ba96c158 days 18 hrs ago0x6008ef900eb6e6f52e07981859ee40f57c648260  IN   0x9462eeb9124c99731cc7617348b3937a8f00b11f0 Ether0.000240832
0x97e1e9fedf1927ee8f9ca09cf20525846d107f11f46b78717a86b5ea9831c79358 days 18 hrs ago0x6008ef900eb6e6f52e07981859ee40f57c648260  IN   0x9462eeb9124c99731cc7617348b3937a8f00b11f0 Ether0.000153796
0xc789c796d03fa7d3f49fc05895b988edf5ba3eecfcfca4edeaf083fb410bd94558 days 20 hrs ago0x284fe240f02965fac933654fe2dd5fc32855873f  IN   0x9462eeb9124c99731cc7617348b3937a8f00b11f0 Ether0.015200054
0x1f7dbf11e6d9c468dd18f5c289e21ab8f1d9ab21068ea72302f9ce3e9ec4a5bf58 days 22 hrs ago0xbe70335d7753eb6c78297456fe8356a5533a7bb9  IN   0x9462eeb9124c99731cc7617348b3937a8f00b11f0.01 Ether0.000045033
0x4b03a60f3e32bd45227be98053c56c3ef474ff809e00e33ffbf51f9df953d3ab61 days 11 hrs ago0xbdc66d46a602e42ca6be6f2f40422d88bbdaf3c5  IN   0x9462eeb9124c99731cc7617348b3937a8f00b11f0 Ether0.000126276
0x2b720126c18e28afd66d9e1656e46a650ab40da6b70a494d574cba07b3abc05d62 days 11 hrs ago0x284fe240f02965fac933654fe2dd5fc32855873f  IN   0x9462eeb9124c99731cc7617348b3937a8f00b11f0 Ether0.000233215
[ 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
0xd864aa62acf5b776cc16bd56df0455c5d7c99e8bda7b094a80202f54c613f07a680975413 days 20 hrs ago0x9462eeb9124c99731cc7617348b3937a8f00b11f0x9fc01542db14ddd493621c15fcbc58fd0ec226ef0.0049 Ether
0xada67466f02239f847ddd32795cd6c100afcc103f5baf25b867ba51e29cfd45e677877318 days 23 hrs ago0x9462eeb9124c99731cc7617348b3937a8f00b11f0x54e9ecd5070191f64199fd90414411ab32c251d00.0040999 Ether
0x5ec69e2ca6b7b21e2138e326c5a1d3debdb1d37a12800ba870fcec7ec94d0788662868243 days 13 hrs ago0x9462eeb9124c99731cc7617348b3937a8f00b11f0x62468f37669a04f90d43f8f1f37351e4ced4b3e00.0248 Ether
0xfb39d570ad525ca850b6ae6fee46ea17533137f171f2602895323c2fdb738c69654091357 days 22 hrs ago0x9462eeb9124c99731cc7617348b3937a8f00b11f0x9fc01542db14ddd493621c15fcbc58fd0ec226ef0.002 Ether
0x97e1e9fedf1927ee8f9ca09cf20525846d107f11f46b78717a86b5ea9831c793653580258 days 18 hrs ago0x9462eeb9124c99731cc7617348b3937a8f00b11f0x6008ef900eb6e6f52e07981859ee40f57c6482600.0061 Ether
0x9c9fe1bc8b5edfa5206d63d4816a3e627509fe7728f9fa96012d14238802b1cf650779663 days 8 hrs ago0x9462eeb9124c99731cc7617348b3937a8f00b11f0x07eb6036e8b2124e3f65e99750417ed46dfb2baf0.093 Ether
0x03d15eaef9a657d4d8d71bbaad4289c69562b7f5e7d25300bdcb0dbb7e850dd0649937564 days 17 hrs ago0x9462eeb9124c99731cc7617348b3937a8f00b11f0xde16281000631dd23e550bbfa9be1c06facd9aad0.1 Ether
0xe821d1915221eacc6baffc3dba6675213cac257a65fd1087ffd98a7039f763a9649165265 days 23 hrs ago0x9462eeb9124c99731cc7617348b3937a8f00b11f0xf0799b7fa00187e3289b4a7aed47e111244aa5920.000244 Ether
0x20f60778d66c53eecba3f7caccbf272d50c7f36e9d335bc8e7ec4410047cf675645970871 days 3 hrs ago0x9462eeb9124c99731cc7617348b3937a8f00b11f0x9aee6da8b16612452e0a4500803789dcbe62c97a0.203 Ether
0x5ef4975183c9b9f11226f3ca0a9443747e81ad155653d11ed2359541ef6e5025642907676 days 3 hrs ago0x9462eeb9124c99731cc7617348b3937a8f00b11f0x0936f601ae2cba761562bef719aa263ea72b83f21.8985 Ether
0x41287697971fb199d48b975d8b5e848c1c01b90f97030a5924aab4b7da102c1f640310180 days 9 hrs ago0x9462eeb9124c99731cc7617348b3937a8f00b11f0xd0a978f2c07ea03425a9ee49e6ec49a355907fee0.92 Ether
0xd32a4a98f17160221cc0b69ad89e12d335b389b0b5c264c99716223b7f7ad1c9634205190 days 10 hrs ago0x9462eeb9124c99731cc7617348b3937a8f00b11f0x2cdf3c4edc2855af79cca8f3ce2212b8b2781b710.0148 Ether
0x77515141d2d19aad70a4e1c650d7fc47523a83b50346e32d3c08fa16fb18358b633078192 days 7 hrs ago0x9462eeb9124c99731cc7617348b3937a8f00b11f0xb9d6c4e3912af35ffa36841333380dc94898047e0.0487 Ether
0xb2b221ba12a91c5f4ac26901bf40867631823e610b06be62317cf34d6d7d0a286216157111 days 13 hrs ago0x9462eeb9124c99731cc7617348b3937a8f00b11f0xdd55aed1e7c65ea79b650269ce4d3a0ef5449b8e0.32 Ether
0x8cabba950044d1dafc5976112b3244f65df72ab7a57481ed3eb346dcd23d274e6173105118 days 19 hrs ago0x9462eeb9124c99731cc7617348b3937a8f00b11f0x1b8f6c294d16708c916a4b0c1d9bb52cf35880410.021 Ether
0x70fdc140f2b73d64412873e887cb7998c488d7cf64c9def094783ba59f36737f6151447122 days 11 hrs ago0x9462eeb9124c99731cc7617348b3937a8f00b11f0x1e0325e7661f8ef11a8ca019118c96107e2750430.0019 Ether
0xf4d3945978405a20c7923f682b78482578e250cfbcad87c75b7c46216aea03846143593123 days 19 hrs ago0x9462eeb9124c99731cc7617348b3937a8f00b11f0x23cc32a2f2cf1477e7aa43774663f7f96e3b8f990.002 Ether
0xa821588559a987a1bb3e38060d02671c2cb7dca782bc1216106b8a821f65cd1e6077241135 days 35 mins ago0x9462eeb9124c99731cc7617348b3937a8f00b11f0xd40428c28badb95783fb4762b3e36f448adca44d3.94 Ether
0xbe99c945ac2af17b37881a793791e88f51bcf88cae705d2979f882d1d44a0a5b5960409154 days 19 hrs ago0x9462eeb9124c99731cc7617348b3937a8f00b11f0xe4f1d5451ed494cce2c833f0c8eabeb788e775371.6652 Ether
0xb3eb86713091596b3e67f800c3fd91b79c6d4e8f49642a46a83bf244f101970b5957886155 days 5 hrs ago0x9462eeb9124c99731cc7617348b3937a8f00b11f0x32fa8b61af7052464ac11810e1acdefc6b245e180.336 Ether
0x1e5faaf6490a9a370d443484ebf4b5f28b0e5be233a5cc2d85d5efecea6957cc5944886157 days 9 hrs ago0x9462eeb9124c99731cc7617348b3937a8f00b11f0x60cde2ba47776637706a53860b9fc65e7fb401c60.0333 Ether
0xbf2616488f8a893ed2442268b667295da0733bff3625f52708fc41ec1c5359e45937159158 days 17 hrs ago0x9462eeb9124c99731cc7617348b3937a8f00b11f0xf0799b7fa00187e3289b4a7aed47e111244aa5920.1901 Ether
0xa299150f0c0f3b2ad11ce24062c7e3c06f025c701d61902beb80e4f209a5cef45935536159 days 14 mins ago0x9462eeb9124c99731cc7617348b3937a8f00b11f0xbc40957021b4539054581bb9fbe4c6b802496a720.01 Ether
0x9d3d28fcb89595c1fd34d215e61ff78d48f60e3325ac2ffe613258f4dde7a3385917193162 days 4 hrs ago0x9462eeb9124c99731cc7617348b3937a8f00b11f0xbb1c3f13da3abbd2813d77eb739d54143eeef0c80.01 Ether
0x981690e4b33214afd688b89a4f7de9b768a6e44de8cff0d7b8e84c57a94f340c5912163163 days 54 mins ago0x9462eeb9124c99731cc7617348b3937a8f00b11f0xf0799b7fa00187e3289b4a7aed47e111244aa5920.005205713 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: Radex
Compiler Text: v0.4.19+commit.c4cbbb05
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.11;

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

contract ERC223 {
  uint public totalSupply;
  function balanceOf(address who) constant returns (uint);

  function name() constant returns (string _name);
  function symbol() constant returns (string _symbol);
  function decimals() constant returns (uint8 _decimals);
  function totalSupply() constant returns (uint256 _supply);

  function transfer(address to, uint value) returns (bool ok);
  function transfer(address to, uint value, bytes data) returns (bool ok);
  event Transfer(address indexed _from, address indexed _to, uint256 _value);
  event ERC223Transfer(address indexed _from, address indexed _to, uint256 _value, bytes _data);
}

contract ContractReceiver {
  function tokenFallback(address _from, uint _value, bytes _data);
}

contract ERC20Basic {
  uint256 public totalSupply;
  uint8   public decimals;
  function balanceOf(address who) public constant returns (uint256);
  function transfer(address to, uint256 value) public returns (bool);
  event Transfer(address indexed from, address indexed to, uint256 value);
}

contract ERC20 is ERC20Basic {
  function allowance(address owner, address spender) public constant returns (uint256);
  function transferFrom(address from, address to, uint256 value) public returns (bool);
  function approve(address spender, uint256 value) public returns (bool);
  event Approval(address indexed owner, address indexed spender, uint256 value);
}

contract Radex is ContractReceiver {
  using SafeMath for uint256;

  struct Order {
    address owner;
    address sellToken;
    address buyToken;
    uint256 amount;
    uint256 priceMul;
    uint256 priceDiv;
  }

  // fee to be paid towards market makers
  // fee amount = trade amount divided by feeMultiplier
  uint256 public  feeMultiplier;
  address private admin;
  address private etherAddress = 0x0;

  // person => token => balance
  mapping(address => mapping(address => uint256)) public balances;
  mapping(address => mapping(address => uint256)) public commitments;

  mapping(uint256 => Order) orderBook;
  uint256 public latestOrderId = 0;

  event Deposit(address indexed _token, address indexed _owner, uint256 _amount, uint256 _time);
  event Withdrawal(address indexed _token, address indexed _owner, uint256 _amount, uint256 _time);

  event NewOrder(uint256 _id, address indexed _owner, address indexed _sellToken, address indexed _buyToken, uint256 _amount, uint256 _priceMul, uint256 _priceDiv, uint256 _time);
  event OrderCancelled(uint256 indexed _id, uint256 _time);
  event OrderFulfilled(uint256 indexed _id, uint256 _time);

  event MarketMaker(address indexed _owner, address indexed _token, uint256 _amount, uint256 _time);
  event Trade(address indexed _from, address indexed _to, uint256 indexed _orderId, uint256 _soldTokens, uint256 _boughtTokens, uint256 _time);

  function Radex() {
    feeMultiplier = 1000;
    admin = msg.sender;
  }

  function createOrder(address sellToken, address buyToken, uint256 amount, uint256 priceMul, uint256 priceDiv) returns(uint256 orderId) {
    if (amount == 0) { revert(); }
    if (priceMul == 0) { revert(); }
    if (priceDiv == 0) { revert(); }
    if (sellToken == buyToken) { revert(); }
    if (balances[msg.sender][sellToken] < amount) { revert(); }
    if (amount.mul(priceMul).div(priceDiv) == 0) { revert(); }

    orderId = latestOrderId++;
    orderBook[orderId] = Order(msg.sender, sellToken, buyToken, amount, priceMul, priceDiv);

    balances[msg.sender][sellToken] = balances[msg.sender][sellToken].sub(amount);
    commitments[msg.sender][sellToken] = commitments[msg.sender][sellToken].add(amount);

    NewOrder(orderId, msg.sender, sellToken, buyToken, amount, priceMul, priceDiv, now);
  }

  function cancelOrder(uint256 orderId) {
    Order storage order = orderBook[orderId];
    if (order.amount == 0) { revert(); }
    if (msg.sender != order.owner) { revert(); }

    commitments[msg.sender][order.sellToken] = commitments[msg.sender][order.sellToken].sub(order.amount);
    balances[msg.sender][order.sellToken] = balances[msg.sender][order.sellToken].add(order.amount);

    OrderCancelled(orderId, now);
  }

  function executeOrder(uint256 orderId, uint256 amount) {
    if (orderId > latestOrderId) { revert(); }
    Order storage order    = orderBook[orderId];
    uint256 buyTokenAmount = amount.mul(order.priceMul).div(order.priceDiv);
    if (amount == 0) { revert(); }
    if (order.amount < amount) { revert(); }
    if (msg.sender == order.owner) { revert(); }
    if (balances[msg.sender][order.buyToken] < buyTokenAmount) { revert(); }

    uint256 fee = amount.div(feeMultiplier);

    balances[order.owner][order.buyToken]     = balances[order.owner][order.buyToken].add(buyTokenAmount);
    balances[msg.sender][order.buyToken]      = balances[msg.sender][order.buyToken].sub(buyTokenAmount);
    balances[msg.sender][order.sellToken]     = balances[msg.sender][order.sellToken].add(amount).sub(fee);
    balances[order.owner][order.sellToken]    = balances[order.owner][order.sellToken].add(fee);

    commitments[order.owner][order.sellToken] = commitments[order.owner][order.sellToken].sub(amount);
    order.amount = order.amount.sub(amount);
    if (order.amount == 0) { OrderFulfilled(orderId, now); }

    Trade(msg.sender, order.owner, orderId, amount, buyTokenAmount, now);
    MarketMaker(order.owner, order.sellToken, fee, now);
  }


  function redeem(address token, uint256 value) {
    if (value == 0) { revert(); }
    address caller = msg.sender;
    if (value > balances[caller][token]) { revert(); }

    balances[caller][token] = balances[caller][token].sub(value);
    // ETH transfers and token transfers need to be handled differently
    if (token == etherAddress) {
      caller.transfer(value);
    } else {
      ERC223(token).transfer(caller, value);
    }
    Withdrawal(token, msg.sender, value, now);
  }

  function balanceOf(address token, address user) constant returns (uint256) {
    return balances[user][token];
  }

  function commitmentsOf(address token, address user) constant returns (uint256) {
    return commitments[user][token];
  }

  // deposits
  // we're not using the third argument so we comment it out
  // to silence solidity linter warnings
  function tokenFallback(address _from, uint _value, bytes /* _data */) {
    // ERC223 token deposit handler
    balances[_from][msg.sender] = balances[_from][msg.sender].add(_value);
    Deposit(msg.sender, _from, _value, now);
  }

  function fund() payable {
    // ETH deposit handler
    balances[msg.sender][etherAddress] = balances[msg.sender][etherAddress].add(msg.value);
    Deposit(etherAddress, msg.sender, msg.value, now);
  }

  // register the ERC20<>ERC223 pair with the smart contract
  function register(address erc20token, address erc223token) {
    if (msg.sender != admin) { revert(); } // only owner
    ERC20 erc20 = ERC20(erc20token);
    uint256 supply = erc20.totalSupply();
    erc20.approve(erc223token, supply);
  }
}

    Contract ABI  
[{"constant":false,"inputs":[{"name":"token","type":"address"},{"name":"value","type":"uint256"}],"name":"redeem","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"orderId","type":"uint256"}],"name":"cancelOrder","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"sellToken","type":"address"},{"name":"buyToken","type":"address"},{"name":"amount","type":"uint256"},{"name":"priceMul","type":"uint256"},{"name":"priceDiv","type":"uint256"}],"name":"createOrder","outputs":[{"name":"orderId","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"latestOrderId","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"erc20token","type":"address"},{"name":"erc223token","type":"address"}],"name":"register","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"commitments","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"fund","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_value","type":"uint256"},{"name":"","type":"bytes"}],"name":"tokenFallback","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"balances","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"token","type":"address"},{"name":"user","type":"address"}],"name":"commitmentsOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"feeMultiplier","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"orderId","type":"uint256"},{"name":"amount","type":"uint256"}],"name":"executeOrder","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"token","type":"address"},{"name":"user","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_token","type":"address"},{"indexed":true,"name":"_owner","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"},{"indexed":false,"name":"_time","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_token","type":"address"},{"indexed":true,"name":"_owner","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"},{"indexed":false,"name":"_time","type":"uint256"}],"name":"Withdrawal","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_id","type":"uint256"},{"indexed":true,"name":"_owner","type":"address"},{"indexed":true,"name":"_sellToken","type":"address"},{"indexed":true,"name":"_buyToken","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"},{"indexed":false,"name":"_priceMul","type":"uint256"},{"indexed":false,"name":"_priceDiv","type":"uint256"},{"indexed":false,"name":"_time","type":"uint256"}],"name":"NewOrder","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_id","type":"uint256"},{"indexed":false,"name":"_time","type":"uint256"}],"name":"OrderCancelled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_id","type":"uint256"},{"indexed":false,"name":"_time","type":"uint256"}],"name":"OrderFulfilled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":true,"name":"_token","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"},{"indexed":false,"name":"_time","type":"uint256"}],"name":"MarketMaker","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":true,"name":"_orderId","type":"uint256"},{"indexed":false,"name":"_soldTokens","type":"uint256"},{"indexed":false,"name":"_boughtTokens","type":"uint256"},{"indexed":false,"name":"_time","type":"uint256"}],"name":"Trade","type":"event"}]

  Contract Creation Code Switch To Opcodes View
606060405260028054600160a060020a03191690556000600655341561002457600080fd5b6103e860005560018054600160a060020a033316600160a060020a0319909116179055610f7b806100566000396000f3006060604052600436106100ab5763ffffffff60e060020a6000350416631e9a695081146100b0578063514fcac7146100d4578063518e62db146100ea5780636f3b60d61461012a578063aa6773541461013d578063adb6f63f14610162578063b60d428814610187578063c0ee0b8a1461018f578063c23f001f146101f4578063cc7e930c14610219578063e5a70ef71461023e578063ef46e0ca14610251578063f7888aec1461026a575b600080fd5b34156100bb57600080fd5b6100d2600160a060020a036004351660243561028f565b005b34156100df57600080fd5b6100d260043561043e565b34156100f557600080fd5b610118600160a060020a0360043581169060243516604435606435608435610579565b60405190815260200160405180910390f35b341561013557600080fd5b610118610852565b341561014857600080fd5b6100d2600160a060020a0360043581169060243516610858565b341561016d57600080fd5b610118600160a060020a036004358116906024351661095b565b6100d2610978565b341561019a57600080fd5b6100d260048035600160a060020a03169060248035919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610a2395505050505050565b34156101ff57600080fd5b610118600160a060020a0360043581169060243516610aca565b341561022457600080fd5b610118600160a060020a0360043581169060243516610ae7565b341561024957600080fd5b610118610b13565b341561025c57600080fd5b6100d2600435602435610b19565b341561027557600080fd5b610118600160a060020a0360043581169060243516610ec0565b600081151561029d57600080fd5b5033600160a060020a038181166000908152600360209081526040808320938716835292905220548211156102d157600080fd5b600160a060020a03808216600090815260036020908152604080832093871683529290522054610307908363ffffffff610eec16565b600160a060020a03808316600090815260036020908152604080832088851680855292529091209290925560025416141561037257600160a060020a03811682156108fc0283604051600060405180830381858888f19350505050151561036d57600080fd5b6103eb565b82600160a060020a031663a9059cbb828460006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156103cf57600080fd5b6102c65a03f115156103e057600080fd5b505050604051805150505b33600160a060020a031683600160a060020a03167fc2b4a290c20fb28939d29f102514fbffd2b73c059ffba8b78250c94161d5fcc6844260405191825260208201526040908101905180910390a3505050565b60008181526005602052604090206003810154151561045c57600080fd5b805433600160a060020a0390811691161461047657600080fd5b6003810154600160a060020a0333811660009081526004602090815260408083206001870154909416835292905220546104b59163ffffffff610eec16565b600160a060020a0333811660008181526004602090815260408083206001880180548716855290835281842096909655600380880154948452825280832095549094168252939093529120546105109163ffffffff610efe16565b600160a060020a033381166000908152600360209081526040808320600187015490941683529290528190209190915582907faa2a006d186dc89a3d6851834c85d16226329ac40bcad6531a5756a38ed1c90f9042905190815260200160405180910390a25050565b600083151561058757600080fd5b82151561059357600080fd5b81151561059f57600080fd5b84600160a060020a031686600160a060020a031614156105be57600080fd5b600160a060020a033381166000908152600360209081526040808320938a1683529290522054849010156105f157600080fd5b61061182610605868663ffffffff610f1416565b9063ffffffff610f3816565b151561061c57600080fd5b50600680546001810190915560c06040519081016040528033600160a060020a0316815260200187600160a060020a0316815260200186600160a060020a0316815260200185815260200184815260200183815250600560008381526020019081526020016000206000820151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0391909116178155602082015160018201805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055604082015160028201805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055606082015181600301556080820151816004015560a082015160059091015550600160a060020a033381166000908152600360209081526040808320938a168352929052205461076f908563ffffffff610eec16565b600160a060020a033381166000818152600360209081526040808320948c16808452948252808320959095559181526004825283812092815291905220546107bd908563ffffffff610efe16565b600160a060020a0333811660008181526004602090815260408083208c86168085529252918290209490945591881692917f506cb18801692179462f2b7b4b6f10bea763984f94a1f1f3cd858e3a645b2329908590899089908990429051808681526020018581526020018481526020018381526020018281526020019550505050505060405180910390a495945050505050565b60065481565b600154600090819033600160a060020a0390811691161461087857600080fd5b83915081600160a060020a03166318160ddd6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156108c157600080fd5b6102c65a03f115156108d257600080fd5b5050506040518051915050600160a060020a03821663095ea7b3848360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561093a57600080fd5b6102c65a03f1151561094b57600080fd5b5050506040518051505050505050565b600460209081526000928352604080842090915290825290205481565b600160a060020a033381166000908152600360209081526040808320600254909416835292905220546109b1903463ffffffff610efe16565b600160a060020a033381166000818152600360209081526040808320600280548716855292529182902094909455925490929116907fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d790349042905191825260208201526040908101905180910390a3565b600160a060020a0380841660009081526003602090815260408083203390941683529290522054610a5a908363ffffffff610efe16565b600160a060020a03808516600081815260036020908152604080832033909516808452949091529081902093909355917fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d790859042905191825260208201526040908101905180910390a3505050565b600360209081526000928352604080842090915290825290205481565b600160a060020a0380821660009081526004602090815260408083209386168352929052205492915050565b60005481565b6000806000600654851115610b2d57600080fd5b600560008681526020019081526020016000209250610b618360050154610605856004015487610f1490919063ffffffff16565b9150831515610b6f57600080fd5b8383600301541015610b8057600080fd5b825433600160a060020a0390811691161415610b9b57600080fd5b600160a060020a03338116600090815260036020908152604080832060028801549094168352929052205482901015610bd357600080fd5b600054610be790859063ffffffff610f3816565b8354600160a060020a039081166000908152600360209081526040808320600289015490941683529290522054909150610c27908363ffffffff610efe16565b8354600160a060020a03908116600090815260036020818152604080842060028a0180548716865290835281852096909655338516845291815281832094549093168252929091522054610c81908363ffffffff610eec16565b600160a060020a03338116600090815260036020908152604080832060028901548516845290915280822093909355600186015490911681522054610cd8908290610ccc9087610efe565b9063ffffffff610eec16565b600160a060020a03338116600090815260036020818152604080842060018a018054871686529083528185209690965588548516845291815281832094549093168252929091522054610d31908263ffffffff610efe16565b8354600160a060020a0390811660009081526003602090815260408083206001890180548616855290835281842095909555875484168352600482528083209454909316825292909252902054610d8e908563ffffffff610eec16565b8354600160a060020a0390811660009081526004602090815260408083206001890154909416835292905220556003830154610dd0908563ffffffff610eec16565b600384018190551515610e1257847feb3b41be12efa25c0c65725eeff2e2ad0250e2e5de2aa939e18f36aa656e98804260405190815260200160405180910390a25b82548590600160a060020a039081169033167fe6f814da7244d1ae6c61b54b5684858ba39cad7b9a91884be10060664987d75487864260405180848152602001838152602001828152602001935050505060405180910390a460018301548354600160a060020a0391821691167fac476a0560d6039841f7de6a83293b862be45e3182ab744e10e048952fe7e4e3834260405191825260208201526040908101905180910390a35050505050565b600160a060020a0380821660009081526003602090815260408083209386168352929052205492915050565b600082821115610ef857fe5b50900390565b600082820183811015610f0d57fe5b9392505050565b6000828202831580610f305750828482811515610f2d57fe5b04145b1515610f0d57fe5b6000808284811515610f4657fe5b049493505050505600a165627a7a72305820d62e71e220a0e4c80ad8cdbb637e21f48caa0a7092199314b2a1c5350fc9e1c20029

   Swarm Source:
bzzr://d62e71e220a0e4c80ad8cdbb637e21f48caa0a7092199314b2a1c5350fc9e1c2

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.