ETH Price: $3,623.02 (+9.04%)

Contract

0x2B44D68555899dBC1ab0892e7330476183dBc932
 

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Deposit Token70145202019-01-05 12:47:462153 days ago1546692466IN
0x2B44D685...183dBc932
0 ETH0.000100561.5
Deposit Token64977952018-10-11 23:16:592238 days ago1539299819IN
0x2B44D685...183dBc932
0 ETH0.000051951
Deposit Token64865712018-10-10 3:31:022240 days ago1539142262IN
0x2B44D685...183dBc932
0 ETH0.000295678
Withdraw Token64836192018-10-09 16:07:152241 days ago1539101235IN
0x2B44D685...183dBc932
0 ETH0.000193088
Withdraw Token64836172018-10-09 16:06:452241 days ago1539101205IN
0x2B44D685...183dBc932
0 ETH0.000257898
Cancel Order64836112018-10-09 16:05:172241 days ago1539101117IN
0x2B44D685...183dBc932
0 ETH0.000470678
Cancel Order63977722018-09-25 16:04:082255 days ago1537891448IN
0x2B44D685...183dBc932
0 ETH0.000470168
Deposit Token63977322018-09-25 15:55:372255 days ago1537890937IN
0x2B44D685...183dBc932
0 ETH0.000206988
Deposit Token63977302018-09-25 15:55:092255 days ago1537890909IN
0x2B44D685...183dBc932
0 ETH0.000295678
Deposit Token63225972018-09-13 6:29:182267 days ago1536820158IN
0x2B44D685...183dBc932
0 ETH0.000147834
Withdraw63146302018-09-11 22:53:142268 days ago1536706394IN
0x2B44D685...183dBc932
0 ETH0.000302618
Trade63146212018-09-11 22:50:302268 days ago1536706230IN
0x2B44D685...183dBc932
0 ETH0.000734368
Trade63146102018-09-11 22:48:432268 days ago1536706123IN
0x2B44D685...183dBc932
0 ETH0.000733348
Deposit Token63146042018-09-11 22:47:112268 days ago1536706031IN
0x2B44D685...183dBc932
0 ETH0.000207848
Withdraw Token63127662018-09-11 15:39:362269 days ago1536680376IN
0x2B44D685...183dBc932
0 ETH0.00037848
Trade63127342018-09-11 15:32:182269 days ago1536679938IN
0x2B44D685...183dBc932
0 ETH0.000735398
Trade63127092018-09-11 15:26:052269 days ago1536679565IN
0x2B44D685...183dBc932
0 ETH0.000734888
Trade63126662018-09-11 15:15:192269 days ago1536678919IN
0x2B44D685...183dBc932
0 ETH0.000734888
Trade63126502018-09-11 15:12:022269 days ago1536678722IN
0x2B44D685...183dBc932
0 ETH0.000748027
Deposit63126382018-09-11 15:07:202269 days ago1536678440IN
0x2B44D685...183dBc932
0.08 ETH0.000266556
Withdraw Token63059662018-09-10 12:17:412270 days ago1536581861IN
0x2B44D685...183dBc932
0 ETH0.000378928
Cancel Order63059622018-09-10 12:16:422270 days ago1536581802IN
0x2B44D685...183dBc932
0 ETH0.000473748
Cancel Order63059612018-09-10 12:16:322270 days ago1536581792IN
0x2B44D685...183dBc932
0 ETH0.000473748
Cancel Order63059612018-09-10 12:16:322270 days ago1536581792IN
0x2B44D685...183dBc932
0 ETH0.000474258
Withdraw62938362018-09-08 11:10:402272 days ago1536405040IN
0x2B44D685...183dBc932
0 ETH0.00018218
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
70145202019-01-05 12:47:462153 days ago1546692466
0x2B44D685...183dBc932
0 ETH
64977952018-10-11 23:16:592238 days ago1539299819
0x2B44D685...183dBc932
0 ETH
64865712018-10-10 3:31:022240 days ago1539142262
0x2B44D685...183dBc932
0 ETH
64836172018-10-09 16:06:452241 days ago1539101205
0x2B44D685...183dBc932
0 ETH
63977322018-09-25 15:55:372255 days ago1537890937
0x2B44D685...183dBc932
0 ETH
63977302018-09-25 15:55:092255 days ago1537890909
0x2B44D685...183dBc932
0 ETH
63225972018-09-13 6:29:182267 days ago1536820158
0x2B44D685...183dBc932
0 ETH
63146302018-09-11 22:53:142268 days ago1536706394
0x2B44D685...183dBc932
0.01097 ETH
63146042018-09-11 22:47:112268 days ago1536706031
0x2B44D685...183dBc932
0 ETH
63127662018-09-11 15:39:362269 days ago1536680376
0x2B44D685...183dBc932
0 ETH
63059662018-09-10 12:17:412270 days ago1536581861
0x2B44D685...183dBc932
0 ETH
62938362018-09-08 11:10:402272 days ago1536405040
0x2B44D685...183dBc932
0.06 ETH
62938122018-09-08 11:02:542272 days ago1536404574
0x2B44D685...183dBc932
0 ETH
62875832018-09-07 9:42:492273 days ago1536313369
0x2B44D685...183dBc932
0 ETH
62870092018-09-07 7:29:342273 days ago1536305374
0x2B44D685...183dBc932
0 ETH
62695792018-09-04 9:39:022276 days ago1536053942
0x2B44D685...183dBc932
0 ETH
62532662018-09-01 15:49:392279 days ago1535816979
0x2B44D685...183dBc932
0.004 ETH
62477362018-08-31 17:09:182280 days ago1535735358
0x2B44D685...183dBc932
0.00755645 ETH
62454282018-08-31 7:53:262280 days ago1535702006
0x2B44D685...183dBc932
0 ETH
62449472018-08-31 5:54:282280 days ago1535694868
0x2B44D685...183dBc932
0 ETH
62268902018-08-28 4:46:032283 days ago1535431563
0x2B44D685...183dBc932
0.021 ETH
62226182018-08-27 11:26:182284 days ago1535369178
0x2B44D685...183dBc932
0.02991 ETH
62225712018-08-27 11:14:362284 days ago1535368476
0x2B44D685...183dBc932
0 ETH
62017722018-08-23 23:12:302287 days ago1535065950
0x2B44D685...183dBc932
0.0989 ETH
61988602018-08-23 11:10:002288 days ago1535022600
0x2B44D685...183dBc932
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Ethmall

Compiler Version
v0.4.23+commit.124ca40d

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-05-21
*/

pragma solidity ^0.4.9;

contract SafeMath {
  function safeMul(uint a, uint b) internal returns (uint) {
    uint c = a * b;
    assert(a == 0 || 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 assert(bool assertion) internal {
    if (!assertion) throw;
  }
}

contract Token {
  /// @return total amount of tokens
  function totalSupply() constant returns (uint256 supply) {}

  /// @param _owner The address from which the balance will be retrieved
  /// @return The balance
  function balanceOf(address _owner) constant returns (uint256 balance) {}

  /// @notice send `_value` token to `_to` from `msg.sender`
  /// @param _to The address of the recipient
  /// @param _value The amount of token to be transferred
  /// @return Whether the transfer was successful or not
  function transfer(address _to, uint256 _value) returns (bool success) {}

  /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from`
  /// @param _from The address of the sender
  /// @param _to The address of the recipient
  /// @param _value The amount of token to be transferred
  /// @return Whether the transfer was successful or not
  function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {}

  /// @notice `msg.sender` approves `_addr` to spend `_value` tokens
  /// @param _spender The address of the account able to transfer the tokens
  /// @param _value The amount of wei to be approved for transfer
  /// @return Whether the approval was successful or not
  function approve(address _spender, uint256 _value) returns (bool success) {}

  /// @param _owner The address of the account owning tokens
  /// @param _spender The address of the account able to transfer the tokens
  /// @return Amount of remaining tokens allowed to spent
  function allowance(address _owner, address _spender) constant returns (uint256 remaining) {}

  event Transfer(address indexed _from, address indexed _to, uint256 _value);
  event Approval(address indexed _owner, address indexed _spender, uint256 _value);

  uint public decimals;
  string public name;
}

contract StandardToken is Token {

  function transfer(address _to, uint256 _value) returns (bool success) {
    //Default assumes totalSupply can't be over max (2^256 - 1).
    //If your token leaves out totalSupply and can issue more tokens as time goes on, you need to check if it doesn't wrap.
    //Replace the if with this one instead.
    if (balances[msg.sender] >= _value && balances[_to] + _value > balances[_to]) {
    //if (balances[msg.sender] >= _value && _value > 0) {
      balances[msg.sender] -= _value;
      balances[_to] += _value;
      Transfer(msg.sender, _to, _value);
      return true;
    } else { return false; }
  }

  function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {
    //same as above. Replace this line with the following if you want to protect against wrapping uints.
    if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && balances[_to] + _value > balances[_to]) {
    //if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && _value > 0) {
      balances[_to] += _value;
      balances[_from] -= _value;
      allowed[_from][msg.sender] -= _value;
      Transfer(_from, _to, _value);
      return true;
    } else { return false; }
  }

  function balanceOf(address _owner) constant returns (uint256 balance) {
    return balances[_owner];
  }

  function approve(address _spender, uint256 _value) returns (bool success) {
    allowed[msg.sender][_spender] = _value;
    Approval(msg.sender, _spender, _value);
    return true;
  }

  function allowance(address _owner, address _spender) constant returns (uint256 remaining) {
    return allowed[_owner][_spender];
  }

  mapping(address => uint256) balances;

  mapping (address => mapping (address => uint256)) allowed;

  uint256 public totalSupply;
}

contract ReserveToken is StandardToken, SafeMath {
  address public minter;
  function ReserveToken() {
    minter = msg.sender;
  }
  function create(address account, uint amount) {
    if (msg.sender != minter) throw;
    balances[account] = safeAdd(balances[account], amount);
    totalSupply = safeAdd(totalSupply, amount);
  }
  function destroy(address account, uint amount) {
    if (msg.sender != minter) throw;
    if (balances[account] < amount) throw;
    balances[account] = safeSub(balances[account], amount);
    totalSupply = safeSub(totalSupply, amount);
  }
}

contract AccountLevels {
  //given a user, returns an account level
  //0 = regular user (pays take fee and make fee)
  //1 = market maker silver (pays take fee, no make fee, gets rebate)
  //2 = market maker gold (pays take fee, no make fee, gets entire counterparty's take fee as rebate)
  function accountLevel(address user) constant returns(uint) {}
}

contract AccountLevelsTest is AccountLevels {
  mapping (address => uint) public accountLevels;

  function setAccountLevel(address user, uint level) {
    accountLevels[user] = level;
  }

  function accountLevel(address user) constant returns(uint) {
    return accountLevels[user];
  }
}

contract Ethmall is SafeMath {
  address public admin; //the admin address
  address public feeAccount; //the account that will receive fees
  address public accountLevelsAddr; //the address of the AccountLevels contract
  uint public feeMake; //percentage times (1 ether)
  uint public feeTake; //percentage times (1 ether)
  uint public feeRebate; //percentage times (1 ether)
  mapping (address => mapping (address => uint)) public tokens; //mapping of token addresses to mapping of account balances (token=0 means Ether)
  mapping (address => mapping (bytes32 => bool)) public orders; //mapping of user accounts to mapping of order hashes to booleans (true = submitted by user, equivalent to offchain signature)
  mapping (address => mapping (bytes32 => uint)) public orderFills; //mapping of user accounts to mapping of order hashes to uints (amount of order that has been filled)

  event Order(address tokenGet, uint amountGet, address tokenGive, uint amountGive, uint expires, uint nonce, address user);
  event Cancel(address tokenGet, uint amountGet, address tokenGive, uint amountGive, uint expires, uint nonce, address user, uint8 v, bytes32 r, bytes32 s);
  event Trade(address tokenGet, uint amountGet, address tokenGive, uint amountGive, address get, address give);
  event Deposit(address token, address user, uint amount, uint balance);
  event Withdraw(address token, address user, uint amount, uint balance);

  function Ethmall(address admin_, address feeAccount_, address accountLevelsAddr_, uint feeMake_, uint feeTake_, uint feeRebate_) {
    admin = admin_;
    feeAccount = feeAccount_;
    accountLevelsAddr = accountLevelsAddr_;
    feeMake = feeMake_;
    feeTake = feeTake_;
    feeRebate = feeRebate_;
  }

  function() {
    throw;
  }

  function changeAdmin(address admin_) {
    if (msg.sender != admin) throw;
    admin = admin_;
  }

  function changeAccountLevelsAddr(address accountLevelsAddr_) {
    if (msg.sender != admin) throw;
    accountLevelsAddr = accountLevelsAddr_;
  }

  function changeFeeAccount(address feeAccount_) {
    if (msg.sender != admin) throw;
    feeAccount = feeAccount_;
  }

  function changeFeeMake(uint feeMake_) {
    if (msg.sender != admin) throw;
    if (feeMake_ > feeMake) throw;
    feeMake = feeMake_;
  }

  function changeFeeTake(uint feeTake_) {
    if (msg.sender != admin) throw;
    if (feeTake_ > feeTake || feeTake_ < feeRebate) throw;
    feeTake = feeTake_;
  }

  function changeFeeRebate(uint feeRebate_) {
    if (msg.sender != admin) throw;
    if (feeRebate_ < feeRebate || feeRebate_ > feeTake) throw;
    feeRebate = feeRebate_;
  }

  function deposit() payable {
    tokens[0][msg.sender] = safeAdd(tokens[0][msg.sender], msg.value);
    Deposit(0, msg.sender, msg.value, tokens[0][msg.sender]);
  }

  function withdraw(uint amount) {
    if (tokens[0][msg.sender] < amount) throw;
    tokens[0][msg.sender] = safeSub(tokens[0][msg.sender], amount);
    if (!msg.sender.call.value(amount)()) throw;
    Withdraw(0, msg.sender, amount, tokens[0][msg.sender]);
  }

  function depositToken(address token, uint amount) {
    //remember to call Token(address).approve(this, amount) or this contract will not be able to do the transfer on your behalf.
    if (token==0) throw;
    if (!Token(token).transferFrom(msg.sender, this, amount)) throw;
    tokens[token][msg.sender] = safeAdd(tokens[token][msg.sender], amount);
    Deposit(token, msg.sender, amount, tokens[token][msg.sender]);
  }

  function withdrawToken(address token, uint amount) {
    if (token==0) throw;
    if (tokens[token][msg.sender] < amount) throw;
    tokens[token][msg.sender] = safeSub(tokens[token][msg.sender], amount);
    if (!Token(token).transfer(msg.sender, amount)) throw;
    Withdraw(token, msg.sender, amount, tokens[token][msg.sender]);
  }

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

  function order(address tokenGet, uint amountGet, address tokenGive, uint amountGive, uint expires, uint nonce) {
    bytes32 hash = sha256(this, tokenGet, amountGet, tokenGive, amountGive, expires, nonce);
    orders[msg.sender][hash] = true;
    Order(tokenGet, amountGet, tokenGive, amountGive, expires, nonce, msg.sender);
  }

  function trade(address tokenGet, uint amountGet, address tokenGive, uint amountGive, uint expires, uint nonce, address user, uint8 v, bytes32 r, bytes32 s, uint amount) {
    //amount is in amountGet terms
    bytes32 hash = sha256(this, tokenGet, amountGet, tokenGive, amountGive, expires, nonce);
    if (!(
      (orders[user][hash] || ecrecover(sha3("\x19Ethereum Signed Message:\n32", hash),v,r,s) == user) &&
      block.number <= expires &&
      safeAdd(orderFills[user][hash], amount) <= amountGet
    )) throw;
    tradeBalances(tokenGet, amountGet, tokenGive, amountGive, user, amount);
    orderFills[user][hash] = safeAdd(orderFills[user][hash], amount);
    Trade(tokenGet, amount, tokenGive, amountGive * amount / amountGet, user, msg.sender);
  }

  function tradeBalances(address tokenGet, uint amountGet, address tokenGive, uint amountGive, address user, uint amount) private {
    uint feeMakeXfer = safeMul(amount, feeMake) / (1 ether);
    uint feeTakeXfer = safeMul(amount, feeTake) / (1 ether);
    uint feeRebateXfer = 0;
    if (accountLevelsAddr != 0x0) {
      uint accountLevel = AccountLevels(accountLevelsAddr).accountLevel(user);
      if (accountLevel==1) feeRebateXfer = safeMul(amount, feeRebate) / (1 ether);
      if (accountLevel==2) feeRebateXfer = feeTakeXfer;
    }
    tokens[tokenGet][msg.sender] = safeSub(tokens[tokenGet][msg.sender], safeAdd(amount, feeTakeXfer));
    tokens[tokenGet][user] = safeAdd(tokens[tokenGet][user], safeSub(safeAdd(amount, feeRebateXfer), feeMakeXfer));
    tokens[tokenGet][feeAccount] = safeAdd(tokens[tokenGet][feeAccount], safeSub(safeAdd(feeMakeXfer, feeTakeXfer), feeRebateXfer));
    tokens[tokenGive][user] = safeSub(tokens[tokenGive][user], safeMul(amountGive, amount) / amountGet);
    tokens[tokenGive][msg.sender] = safeAdd(tokens[tokenGive][msg.sender], safeMul(amountGive, amount) / amountGet);
  }

  function testTrade(address tokenGet, uint amountGet, address tokenGive, uint amountGive, uint expires, uint nonce, address user, uint8 v, bytes32 r, bytes32 s, uint amount, address sender) constant returns(bool) {
    if (!(
      tokens[tokenGet][sender] >= amount &&
      availableVolume(tokenGet, amountGet, tokenGive, amountGive, expires, nonce, user, v, r, s) >= amount
    )) return false;
    return true;
  }

  function availableVolume(address tokenGet, uint amountGet, address tokenGive, uint amountGive, uint expires, uint nonce, address user, uint8 v, bytes32 r, bytes32 s) constant returns(uint) {
    bytes32 hash = sha256(this, tokenGet, amountGet, tokenGive, amountGive, expires, nonce);
    if (!(
      (orders[user][hash] || ecrecover(sha3("\x19Ethereum Signed Message:\n32", hash),v,r,s) == user) &&
      block.number <= expires
    )) return 0;
    uint available1 = safeSub(amountGet, orderFills[user][hash]);
    uint available2 = safeMul(tokens[tokenGive][user], amountGet) / amountGive;
    if (available1<available2) return available1;
    return available2;
  }

  function amountFilled(address tokenGet, uint amountGet, address tokenGive, uint amountGive, uint expires, uint nonce, address user, uint8 v, bytes32 r, bytes32 s) constant returns(uint) {
    bytes32 hash = sha256(this, tokenGet, amountGet, tokenGive, amountGive, expires, nonce);
    return orderFills[user][hash];
  }

  function cancelOrder(address tokenGet, uint amountGet, address tokenGive, uint amountGive, uint expires, uint nonce, uint8 v, bytes32 r, bytes32 s) {
    bytes32 hash = sha256(this, tokenGet, amountGet, tokenGive, amountGive, expires, nonce);
    if (!(orders[msg.sender][hash] || ecrecover(sha3("\x19Ethereum Signed Message:\n32", hash),v,r,s) == msg.sender)) throw;
    orderFills[msg.sender][hash] = amountGet;
    Cancel(tokenGet, amountGet, tokenGive, amountGive, expires, nonce, msg.sender, v, r, s);
  }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"tokenGet","type":"address"},{"name":"amountGet","type":"uint256"},{"name":"tokenGive","type":"address"},{"name":"amountGive","type":"uint256"},{"name":"expires","type":"uint256"},{"name":"nonce","type":"uint256"},{"name":"user","type":"address"},{"name":"v","type":"uint8"},{"name":"r","type":"bytes32"},{"name":"s","type":"bytes32"},{"name":"amount","type":"uint256"}],"name":"trade","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"tokenGet","type":"address"},{"name":"amountGet","type":"uint256"},{"name":"tokenGive","type":"address"},{"name":"amountGive","type":"uint256"},{"name":"expires","type":"uint256"},{"name":"nonce","type":"uint256"}],"name":"order","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"bytes32"}],"name":"orderFills","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"tokenGet","type":"address"},{"name":"amountGet","type":"uint256"},{"name":"tokenGive","type":"address"},{"name":"amountGive","type":"uint256"},{"name":"expires","type":"uint256"},{"name":"nonce","type":"uint256"},{"name":"v","type":"uint8"},{"name":"r","type":"bytes32"},{"name":"s","type":"bytes32"}],"name":"cancelOrder","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"},{"name":"amount","type":"uint256"}],"name":"depositToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"tokenGet","type":"address"},{"name":"amountGet","type":"uint256"},{"name":"tokenGive","type":"address"},{"name":"amountGive","type":"uint256"},{"name":"expires","type":"uint256"},{"name":"nonce","type":"uint256"},{"name":"user","type":"address"},{"name":"v","type":"uint8"},{"name":"r","type":"bytes32"},{"name":"s","type":"bytes32"}],"name":"amountFilled","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"tokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"feeMake_","type":"uint256"}],"name":"changeFeeMake","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"feeMake","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"feeRebate_","type":"uint256"}],"name":"changeFeeRebate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"feeAccount","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"tokenGet","type":"address"},{"name":"amountGet","type":"uint256"},{"name":"tokenGive","type":"address"},{"name":"amountGive","type":"uint256"},{"name":"expires","type":"uint256"},{"name":"nonce","type":"uint256"},{"name":"user","type":"address"},{"name":"v","type":"uint8"},{"name":"r","type":"bytes32"},{"name":"s","type":"bytes32"},{"name":"amount","type":"uint256"},{"name":"sender","type":"address"}],"name":"testTrade","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"feeAccount_","type":"address"}],"name":"changeFeeAccount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"feeRebate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"feeTake_","type":"uint256"}],"name":"changeFeeTake","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"admin_","type":"address"}],"name":"changeAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"},{"name":"amount","type":"uint256"}],"name":"withdrawToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"bytes32"}],"name":"orders","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"feeTake","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"deposit","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"accountLevelsAddr_","type":"address"}],"name":"changeAccountLevelsAddr","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"accountLevelsAddr","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","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"},{"constant":true,"inputs":[],"name":"admin","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"tokenGet","type":"address"},{"name":"amountGet","type":"uint256"},{"name":"tokenGive","type":"address"},{"name":"amountGive","type":"uint256"},{"name":"expires","type":"uint256"},{"name":"nonce","type":"uint256"},{"name":"user","type":"address"},{"name":"v","type":"uint8"},{"name":"r","type":"bytes32"},{"name":"s","type":"bytes32"}],"name":"availableVolume","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"admin_","type":"address"},{"name":"feeAccount_","type":"address"},{"name":"accountLevelsAddr_","type":"address"},{"name":"feeMake_","type":"uint256"},{"name":"feeTake_","type":"uint256"},{"name":"feeRebate_","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":false,"stateMutability":"nonpayable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"tokenGet","type":"address"},{"indexed":false,"name":"amountGet","type":"uint256"},{"indexed":false,"name":"tokenGive","type":"address"},{"indexed":false,"name":"amountGive","type":"uint256"},{"indexed":false,"name":"expires","type":"uint256"},{"indexed":false,"name":"nonce","type":"uint256"},{"indexed":false,"name":"user","type":"address"}],"name":"Order","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"tokenGet","type":"address"},{"indexed":false,"name":"amountGet","type":"uint256"},{"indexed":false,"name":"tokenGive","type":"address"},{"indexed":false,"name":"amountGive","type":"uint256"},{"indexed":false,"name":"expires","type":"uint256"},{"indexed":false,"name":"nonce","type":"uint256"},{"indexed":false,"name":"user","type":"address"},{"indexed":false,"name":"v","type":"uint8"},{"indexed":false,"name":"r","type":"bytes32"},{"indexed":false,"name":"s","type":"bytes32"}],"name":"Cancel","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"tokenGet","type":"address"},{"indexed":false,"name":"amountGet","type":"uint256"},{"indexed":false,"name":"tokenGive","type":"address"},{"indexed":false,"name":"amountGive","type":"uint256"},{"indexed":false,"name":"get","type":"address"},{"indexed":false,"name":"give","type":"address"}],"name":"Trade","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"token","type":"address"},{"indexed":false,"name":"user","type":"address"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"balance","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"token","type":"address"},{"indexed":false,"name":"user","type":"address"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"balance","type":"uint256"}],"name":"Withdraw","type":"event"}]

608060405234801561001057600080fd5b5060405160c080611a2683398101604090815281516020830151918301516060840151608085015160a09095015160008054600160a060020a03958616600160a060020a031991821617909155600180549686169682169690961790955560028054949093169390941692909217905560035560049190915560055561198b8061009b6000396000f3006080604052600436106101535763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630a19b14a81146101655780630b927666146101b657806319774d43146101ea578063278b8c0e146102205780632e1a7d4d14610261578063338b5dea1461027957806346be96c31461029d578063508493bc146102e857806354d03b5c1461030f57806357786394146103275780635e1d7ae41461033c57806365e17c9d146103545780636c86888b1461038557806371ffcb16146103f3578063731c2f81146104145780638823a9c0146104295780638f283970146104415780639e281a9814610462578063bb5f462914610486578063c281309e146104aa578063d0e30db0146104bf578063e8f6bc2e146104c7578063f3412942146104e8578063f7888aec146104fd578063f851a44014610524578063fb6e155f14610539575b34801561015f57600080fd5b50600080fd5b34801561017157600080fd5b506101b4600160a060020a0360043581169060243590604435811690606435906084359060a4359060c4351660ff60e43516610104356101243561014435610584565b005b3480156101c257600080fd5b506101b4600160a060020a03600435811690602435906044351660643560843560a435610828565b3480156101f657600080fd5b5061020e600160a060020a0360043516602435610954565b60408051918252519081900360200190f35b34801561022c57600080fd5b506101b4600160a060020a03600435811690602435906044351660643560843560a43560ff60c4351660e43561010435610971565b34801561026d57600080fd5b506101b4600435610b97565b34801561028557600080fd5b506101b4600160a060020a0360043516602435610caf565b3480156102a957600080fd5b5061020e600160a060020a0360043581169060243590604435811690606435906084359060a4359060c4351660ff60e435166101043561012435610e15565b3480156102f457600080fd5b5061020e600160a060020a0360043581169060243516610ee2565b34801561031b57600080fd5b506101b4600435610eff565b34801561033357600080fd5b5061020e610f2e565b34801561034857600080fd5b506101b4600435610f34565b34801561036057600080fd5b50610369610f6f565b60408051600160a060020a039092168252519081900360200190f35b34801561039157600080fd5b506103df600160a060020a0360043581169060243590604435811690606435906084359060a4359060c43581169060ff60e43516906101043590610124359061014435906101643516610f7e565b604080519115158252519081900360200190f35b3480156103ff57600080fd5b506101b4600160a060020a0360043516610fe8565b34801561042057600080fd5b5061020e611032565b34801561043557600080fd5b506101b4600435611038565b34801561044d57600080fd5b506101b4600160a060020a0360043516611073565b34801561046e57600080fd5b506101b4600160a060020a03600435166024356110bd565b34801561049257600080fd5b506103df600160a060020a036004351660243561126d565b3480156104b657600080fd5b5061020e61128d565b6101b4611293565b3480156104d357600080fd5b506101b4600160a060020a0360043516611334565b3480156104f457600080fd5b5061036961137e565b34801561050957600080fd5b5061020e600160a060020a036004358116906024351661138d565b34801561053057600080fd5b506103696113b8565b34801561054557600080fd5b5061020e600160a060020a0360043581169060243590604435811690606435906084359060a4359060c4351660ff60e4351661010435610124356113c7565b604080516c01000000000000000000000000600160a060020a0330811682028352808f1682026014840152602883018e90528c16026048820152605c81018a9052607c8101899052609c8101889052905160009160029160bc808301926020929190829003018186865af1158015610600573d6000803e3d6000fd5b5050506040513d602081101561061557600080fd5b5051600160a060020a038716600090815260076020908152604080832084845290915290205490915060ff16806106f55750604080517f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c8101839052815190819003603c018120600080835260208381018086529290925260ff89168385015260608301889052608083018790529251600160a060020a038a169360019360a08082019493601f198101939281900390910191865af11580156106e0573d6000803e3d6000fd5b50505060206040510351600160a060020a0316145b80156107015750874311155b801561073b5750600160a060020a03861660009081526008602090815260408083208484529091529020548b9061073890846115ef565b11155b151561074657600080fd5b6107548c8c8c8c8a87611613565b600160a060020a038616600090815260086020908152604080832084845290915290205461078290836115ef565b600160a060020a03871660009081526008602090815260408083208584529091529020557f6effdda786735d5033bfad5f53e5131abcced9e52be6c507b62d639685fbed6d8c838c8e8d83028115156107d757fe5b60408051600160a060020a039687168152602081019590955292851684840152046060830152828a166080830152339290921660a082015290519081900360c00190a1505050505050505050505050565b604080516c01000000000000000000000000600160a060020a0330811682028352808a1682026014840152602883018990528716026048820152605c8101859052607c8101849052609c8101839052905160009160029160bc808301926020929190829003018186865af11580156108a4573d6000803e3d6000fd5b5050506040513d60208110156108b957600080fd5b5051600160a060020a033381166000818152600760209081526040808320868452825291829020805460ff1916600117905581518c851681529081018b905292891683820152606083018890526080830187905260a0830186905260c0830191909152519192507f3f7f2eda73683c21a15f9435af1028c93185b5f1fa38270762dc32be606b3e85919081900360e00190a150505050505050565b600860209081526000928352604080842090915290825290205481565b604080516c01000000000000000000000000600160a060020a0330811682028352808d1682026014840152602883018c90528a16026048820152605c8101889052607c8101879052609c8101869052905160009160029160bc808301926020929190829003018186865af11580156109ed573d6000803e3d6000fd5b5050506040513d6020811015610a0257600080fd5b5051600160a060020a033316600090815260076020908152604080832084845290915290205490915060ff1680610ae25750604080517f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c8101839052815190819003603c018120600080835260208381018086529290925260ff88168385015260608301879052608083018690529251600160a060020a0333169360019360a08082019493601f198101939281900390910191865af1158015610acd573d6000803e3d6000fd5b50505060206040510351600160a060020a0316145b1515610aed57600080fd5b600160a060020a0333811660008181526008602090815260408083208684528252918290208d905581518e851681529081018d9052928b1683820152606083018a90526080830189905260a0830188905260c083019190915260ff861660e083015261010082018590526101208201849052517f1e0b760c386003e9cb9bcf4fcf3997886042859d9b6ed6320e804597fcdb28b0918190036101400190a150505050505050505050565b33600160a060020a031660009081526000805160206119408339815191526020526040902054811115610bc957600080fd5b33600160a060020a031660009081526000805160206119408339815191526020526040902054610bf990826118fd565b33600160a060020a031660008181526000805160206119408339815191526020526040808220939093559151909183919081818185875af1925050501515610c4057600080fd5b600160a060020a03331660008181526000805160206119408339815191526020908152604080832054815193845291830193909352818301849052606082015290517ff341246adaac6f497bc2a656f546ab9e182111d630394f0c57c710a59a2cb5679181900360800190a150565b600160a060020a0382161515610cc457600080fd5b604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a0333811660048301523081166024830152604482018490529151918416916323b872dd916064808201926020929091908290030181600087803b158015610d3857600080fd5b505af1158015610d4c573d6000803e3d6000fd5b505050506040513d6020811015610d6257600080fd5b50511515610d6f57600080fd5b600160a060020a0380831660009081526006602090815260408083203390941683529290522054610da090826115ef565b600160a060020a038381166000818152600660209081526040808320339095168084529482529182902085905581519283528201929092528082018490526060810192909252517fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d79181900360800190a15050565b604080516c01000000000000000000000000600160a060020a0330811682028352808e1682026014840152602883018d90528b16026048820152605c8101899052607c8101889052609c81018790529051600091829160029160bc80820192602092909190829003018186865af1158015610e94573d6000803e3d6000fd5b5050506040513d6020811015610ea957600080fd5b5051600160a060020a038716600090815260086020908152604080832084845290915290205492509050509a9950505050505050505050565b600660209081526000928352604080842090915290825290205481565b60005433600160a060020a03908116911614610f1a57600080fd5b600354811115610f2957600080fd5b600355565b60035481565b60005433600160a060020a03908116911614610f4f57600080fd5b600554811080610f60575060045481115b15610f6a57600080fd5b600555565b600154600160a060020a031681565b600160a060020a03808d1660009081526006602090815260408083209385168352929052908120548311801590610fc6575082610fc38e8e8e8e8e8e8e8e8e8e6113c7565b10155b1515610fd457506000610fd8565b5060015b9c9b505050505050505050505050565b60005433600160a060020a0390811691161461100357600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60055481565b60005433600160a060020a0390811691161461105357600080fd5b600454811180611064575060055481105b1561106e57600080fd5b600455565b60005433600160a060020a0390811691161461108e57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a03821615156110d257600080fd5b600160a060020a038083166000908152600660209081526040808320339094168352929052205481111561110557600080fd5b600160a060020a038083166000908152600660209081526040808320339094168352929052205461113690826118fd565b600160a060020a038084166000818152600660209081526040808320339095168084529482528083209590955584517fa9059cbb0000000000000000000000000000000000000000000000000000000081526004810194909452602484018690529351919363a9059cbb936044808201949293918390030190829087803b1580156111c057600080fd5b505af11580156111d4573d6000803e3d6000fd5b505050506040513d60208110156111ea57600080fd5b505115156111f757600080fd5b600160a060020a03808316600081815260066020908152604080832033959095168084529482529182902054825193845290830193909352818101849052606082019290925290517ff341246adaac6f497bc2a656f546ab9e182111d630394f0c57c710a59a2cb5679181900360800190a15050565b600760209081526000928352604080842090915290825290205460ff1681565b60045481565b33600160a060020a0316600090815260008051602061194083398151915260205260409020546112c390346115ef565b33600160a060020a031660008181526000805160206119408339815191526020908152604080832085905580519283529082019290925234818301526060810192909252517fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d79181900360800190a1565b60005433600160a060020a0390811691161461134f57600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600254600160a060020a031681565b600160a060020a03918216600090815260066020908152604080832093909416825291909152205490565b600054600160a060020a031681565b604080516c01000000000000000000000000600160a060020a0330811682028352808e1682026014840152602883018d90528b16026048820152605c8101899052607c8101889052609c8101879052905160009182918291829160029160bc80820192602092909190829003018186865af115801561144a573d6000803e3d6000fd5b5050506040513d602081101561145f57600080fd5b5051600160a060020a038916600090815260076020908152604080832084845290915290205490935060ff168061153f5750604080517f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c8101859052815190819003603c018120600080835260208381018086529290925260ff8b1683850152606083018a9052608083018990529251600160a060020a038c169360019360a08082019493601f198101939281900390910191865af115801561152a573d6000803e3d6000fd5b50505060206040510351600160a060020a0316145b801561154b5750894311155b151561155a57600093506115de565b600160a060020a0388166000908152600860209081526040808320868452909152902054611589908e906118fd565b600160a060020a03808e166000908152600660209081526040808320938d16835292905220549092508b906115be908f611911565b8115156115c757fe5b049050808210156115da578193506115de565b8093505b5050509a9950505050505050505050565b600082820161160c8482108015906116075750838210155b611930565b9392505050565b600080600080670de0b6b3a764000061162e86600354611911565b81151561163757fe5b049350670de0b6b3a764000061164f86600454611911565b81151561165857fe5b600254919004935060009250600160a060020a03161561174057600254604080517f1cbd0519000000000000000000000000000000000000000000000000000000008152600160a060020a03898116600483015291519190921691631cbd05199160248083019260209291908290030181600087803b1580156116da57600080fd5b505af11580156116ee573d6000803e3d6000fd5b505050506040513d602081101561170457600080fd5b50519050600181141561173357670de0b6b3a764000061172686600554611911565b81151561172f57fe5b0491505b8060021415611740578291505b600160a060020a03808b166000908152600660209081526040808320339094168352929052205461177a9061177587866115ef565b6118fd565b600160a060020a038b81166000908152600660209081526040808320338516845290915280822093909355908816815220546117c8906117c36117bd88866115ef565b876118fd565b6115ef565b600160a060020a038b811660009081526006602090815260408083208b851684529091528082209390935560015490911681522054611814906117c361180e87876115ef565b856118fd565b600160a060020a03808c166000908152600660208181526040808420600154861685528252808420959095558c84168352908152838220928a168252919091522054611874908a6118658a89611911565b81151561186e57fe5b046118fd565b600160a060020a0389811660009081526006602090815260408083208b851684529091528082209390935533909116815220546118c5908a6118b68a89611911565b8115156118bf57fe5b046115ef565b600160a060020a03988916600090815260066020908152604080832033909c1683529a90529890982097909755505050505050505050565b600061190b83831115611930565b50900390565b600082820261160c841580611607575083858381151561192d57fe5b04145b80151561193c57600080fd5b50560054cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f8a165627a7a723058208fea57e72bb63e214502d13aab415ce22dbd75b9b6207c31ea45b01c6e2888880029000000000000000000000000693baf49257587efb2f0879843c862ec97a48a99000000000000000000000000e9aa397acb7c97ee6f0dc9c50b32c16778edf12a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aa87bee5380000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101535763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630a19b14a81146101655780630b927666146101b657806319774d43146101ea578063278b8c0e146102205780632e1a7d4d14610261578063338b5dea1461027957806346be96c31461029d578063508493bc146102e857806354d03b5c1461030f57806357786394146103275780635e1d7ae41461033c57806365e17c9d146103545780636c86888b1461038557806371ffcb16146103f3578063731c2f81146104145780638823a9c0146104295780638f283970146104415780639e281a9814610462578063bb5f462914610486578063c281309e146104aa578063d0e30db0146104bf578063e8f6bc2e146104c7578063f3412942146104e8578063f7888aec146104fd578063f851a44014610524578063fb6e155f14610539575b34801561015f57600080fd5b50600080fd5b34801561017157600080fd5b506101b4600160a060020a0360043581169060243590604435811690606435906084359060a4359060c4351660ff60e43516610104356101243561014435610584565b005b3480156101c257600080fd5b506101b4600160a060020a03600435811690602435906044351660643560843560a435610828565b3480156101f657600080fd5b5061020e600160a060020a0360043516602435610954565b60408051918252519081900360200190f35b34801561022c57600080fd5b506101b4600160a060020a03600435811690602435906044351660643560843560a43560ff60c4351660e43561010435610971565b34801561026d57600080fd5b506101b4600435610b97565b34801561028557600080fd5b506101b4600160a060020a0360043516602435610caf565b3480156102a957600080fd5b5061020e600160a060020a0360043581169060243590604435811690606435906084359060a4359060c4351660ff60e435166101043561012435610e15565b3480156102f457600080fd5b5061020e600160a060020a0360043581169060243516610ee2565b34801561031b57600080fd5b506101b4600435610eff565b34801561033357600080fd5b5061020e610f2e565b34801561034857600080fd5b506101b4600435610f34565b34801561036057600080fd5b50610369610f6f565b60408051600160a060020a039092168252519081900360200190f35b34801561039157600080fd5b506103df600160a060020a0360043581169060243590604435811690606435906084359060a4359060c43581169060ff60e43516906101043590610124359061014435906101643516610f7e565b604080519115158252519081900360200190f35b3480156103ff57600080fd5b506101b4600160a060020a0360043516610fe8565b34801561042057600080fd5b5061020e611032565b34801561043557600080fd5b506101b4600435611038565b34801561044d57600080fd5b506101b4600160a060020a0360043516611073565b34801561046e57600080fd5b506101b4600160a060020a03600435166024356110bd565b34801561049257600080fd5b506103df600160a060020a036004351660243561126d565b3480156104b657600080fd5b5061020e61128d565b6101b4611293565b3480156104d357600080fd5b506101b4600160a060020a0360043516611334565b3480156104f457600080fd5b5061036961137e565b34801561050957600080fd5b5061020e600160a060020a036004358116906024351661138d565b34801561053057600080fd5b506103696113b8565b34801561054557600080fd5b5061020e600160a060020a0360043581169060243590604435811690606435906084359060a4359060c4351660ff60e4351661010435610124356113c7565b604080516c01000000000000000000000000600160a060020a0330811682028352808f1682026014840152602883018e90528c16026048820152605c81018a9052607c8101899052609c8101889052905160009160029160bc808301926020929190829003018186865af1158015610600573d6000803e3d6000fd5b5050506040513d602081101561061557600080fd5b5051600160a060020a038716600090815260076020908152604080832084845290915290205490915060ff16806106f55750604080517f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c8101839052815190819003603c018120600080835260208381018086529290925260ff89168385015260608301889052608083018790529251600160a060020a038a169360019360a08082019493601f198101939281900390910191865af11580156106e0573d6000803e3d6000fd5b50505060206040510351600160a060020a0316145b80156107015750874311155b801561073b5750600160a060020a03861660009081526008602090815260408083208484529091529020548b9061073890846115ef565b11155b151561074657600080fd5b6107548c8c8c8c8a87611613565b600160a060020a038616600090815260086020908152604080832084845290915290205461078290836115ef565b600160a060020a03871660009081526008602090815260408083208584529091529020557f6effdda786735d5033bfad5f53e5131abcced9e52be6c507b62d639685fbed6d8c838c8e8d83028115156107d757fe5b60408051600160a060020a039687168152602081019590955292851684840152046060830152828a166080830152339290921660a082015290519081900360c00190a1505050505050505050505050565b604080516c01000000000000000000000000600160a060020a0330811682028352808a1682026014840152602883018990528716026048820152605c8101859052607c8101849052609c8101839052905160009160029160bc808301926020929190829003018186865af11580156108a4573d6000803e3d6000fd5b5050506040513d60208110156108b957600080fd5b5051600160a060020a033381166000818152600760209081526040808320868452825291829020805460ff1916600117905581518c851681529081018b905292891683820152606083018890526080830187905260a0830186905260c0830191909152519192507f3f7f2eda73683c21a15f9435af1028c93185b5f1fa38270762dc32be606b3e85919081900360e00190a150505050505050565b600860209081526000928352604080842090915290825290205481565b604080516c01000000000000000000000000600160a060020a0330811682028352808d1682026014840152602883018c90528a16026048820152605c8101889052607c8101879052609c8101869052905160009160029160bc808301926020929190829003018186865af11580156109ed573d6000803e3d6000fd5b5050506040513d6020811015610a0257600080fd5b5051600160a060020a033316600090815260076020908152604080832084845290915290205490915060ff1680610ae25750604080517f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c8101839052815190819003603c018120600080835260208381018086529290925260ff88168385015260608301879052608083018690529251600160a060020a0333169360019360a08082019493601f198101939281900390910191865af1158015610acd573d6000803e3d6000fd5b50505060206040510351600160a060020a0316145b1515610aed57600080fd5b600160a060020a0333811660008181526008602090815260408083208684528252918290208d905581518e851681529081018d9052928b1683820152606083018a90526080830189905260a0830188905260c083019190915260ff861660e083015261010082018590526101208201849052517f1e0b760c386003e9cb9bcf4fcf3997886042859d9b6ed6320e804597fcdb28b0918190036101400190a150505050505050505050565b33600160a060020a031660009081526000805160206119408339815191526020526040902054811115610bc957600080fd5b33600160a060020a031660009081526000805160206119408339815191526020526040902054610bf990826118fd565b33600160a060020a031660008181526000805160206119408339815191526020526040808220939093559151909183919081818185875af1925050501515610c4057600080fd5b600160a060020a03331660008181526000805160206119408339815191526020908152604080832054815193845291830193909352818301849052606082015290517ff341246adaac6f497bc2a656f546ab9e182111d630394f0c57c710a59a2cb5679181900360800190a150565b600160a060020a0382161515610cc457600080fd5b604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a0333811660048301523081166024830152604482018490529151918416916323b872dd916064808201926020929091908290030181600087803b158015610d3857600080fd5b505af1158015610d4c573d6000803e3d6000fd5b505050506040513d6020811015610d6257600080fd5b50511515610d6f57600080fd5b600160a060020a0380831660009081526006602090815260408083203390941683529290522054610da090826115ef565b600160a060020a038381166000818152600660209081526040808320339095168084529482529182902085905581519283528201929092528082018490526060810192909252517fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d79181900360800190a15050565b604080516c01000000000000000000000000600160a060020a0330811682028352808e1682026014840152602883018d90528b16026048820152605c8101899052607c8101889052609c81018790529051600091829160029160bc80820192602092909190829003018186865af1158015610e94573d6000803e3d6000fd5b5050506040513d6020811015610ea957600080fd5b5051600160a060020a038716600090815260086020908152604080832084845290915290205492509050509a9950505050505050505050565b600660209081526000928352604080842090915290825290205481565b60005433600160a060020a03908116911614610f1a57600080fd5b600354811115610f2957600080fd5b600355565b60035481565b60005433600160a060020a03908116911614610f4f57600080fd5b600554811080610f60575060045481115b15610f6a57600080fd5b600555565b600154600160a060020a031681565b600160a060020a03808d1660009081526006602090815260408083209385168352929052908120548311801590610fc6575082610fc38e8e8e8e8e8e8e8e8e8e6113c7565b10155b1515610fd457506000610fd8565b5060015b9c9b505050505050505050505050565b60005433600160a060020a0390811691161461100357600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60055481565b60005433600160a060020a0390811691161461105357600080fd5b600454811180611064575060055481105b1561106e57600080fd5b600455565b60005433600160a060020a0390811691161461108e57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a03821615156110d257600080fd5b600160a060020a038083166000908152600660209081526040808320339094168352929052205481111561110557600080fd5b600160a060020a038083166000908152600660209081526040808320339094168352929052205461113690826118fd565b600160a060020a038084166000818152600660209081526040808320339095168084529482528083209590955584517fa9059cbb0000000000000000000000000000000000000000000000000000000081526004810194909452602484018690529351919363a9059cbb936044808201949293918390030190829087803b1580156111c057600080fd5b505af11580156111d4573d6000803e3d6000fd5b505050506040513d60208110156111ea57600080fd5b505115156111f757600080fd5b600160a060020a03808316600081815260066020908152604080832033959095168084529482529182902054825193845290830193909352818101849052606082019290925290517ff341246adaac6f497bc2a656f546ab9e182111d630394f0c57c710a59a2cb5679181900360800190a15050565b600760209081526000928352604080842090915290825290205460ff1681565b60045481565b33600160a060020a0316600090815260008051602061194083398151915260205260409020546112c390346115ef565b33600160a060020a031660008181526000805160206119408339815191526020908152604080832085905580519283529082019290925234818301526060810192909252517fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d79181900360800190a1565b60005433600160a060020a0390811691161461134f57600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600254600160a060020a031681565b600160a060020a03918216600090815260066020908152604080832093909416825291909152205490565b600054600160a060020a031681565b604080516c01000000000000000000000000600160a060020a0330811682028352808e1682026014840152602883018d90528b16026048820152605c8101899052607c8101889052609c8101879052905160009182918291829160029160bc80820192602092909190829003018186865af115801561144a573d6000803e3d6000fd5b5050506040513d602081101561145f57600080fd5b5051600160a060020a038916600090815260076020908152604080832084845290915290205490935060ff168061153f5750604080517f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c8101859052815190819003603c018120600080835260208381018086529290925260ff8b1683850152606083018a9052608083018990529251600160a060020a038c169360019360a08082019493601f198101939281900390910191865af115801561152a573d6000803e3d6000fd5b50505060206040510351600160a060020a0316145b801561154b5750894311155b151561155a57600093506115de565b600160a060020a0388166000908152600860209081526040808320868452909152902054611589908e906118fd565b600160a060020a03808e166000908152600660209081526040808320938d16835292905220549092508b906115be908f611911565b8115156115c757fe5b049050808210156115da578193506115de565b8093505b5050509a9950505050505050505050565b600082820161160c8482108015906116075750838210155b611930565b9392505050565b600080600080670de0b6b3a764000061162e86600354611911565b81151561163757fe5b049350670de0b6b3a764000061164f86600454611911565b81151561165857fe5b600254919004935060009250600160a060020a03161561174057600254604080517f1cbd0519000000000000000000000000000000000000000000000000000000008152600160a060020a03898116600483015291519190921691631cbd05199160248083019260209291908290030181600087803b1580156116da57600080fd5b505af11580156116ee573d6000803e3d6000fd5b505050506040513d602081101561170457600080fd5b50519050600181141561173357670de0b6b3a764000061172686600554611911565b81151561172f57fe5b0491505b8060021415611740578291505b600160a060020a03808b166000908152600660209081526040808320339094168352929052205461177a9061177587866115ef565b6118fd565b600160a060020a038b81166000908152600660209081526040808320338516845290915280822093909355908816815220546117c8906117c36117bd88866115ef565b876118fd565b6115ef565b600160a060020a038b811660009081526006602090815260408083208b851684529091528082209390935560015490911681522054611814906117c361180e87876115ef565b856118fd565b600160a060020a03808c166000908152600660208181526040808420600154861685528252808420959095558c84168352908152838220928a168252919091522054611874908a6118658a89611911565b81151561186e57fe5b046118fd565b600160a060020a0389811660009081526006602090815260408083208b851684529091528082209390935533909116815220546118c5908a6118b68a89611911565b8115156118bf57fe5b046115ef565b600160a060020a03988916600090815260066020908152604080832033909c1683529a90529890982097909755505050505050505050565b600061190b83831115611930565b50900390565b600082820261160c841580611607575083858381151561192d57fe5b04145b80151561193c57600080fd5b50560054cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f8a165627a7a723058208fea57e72bb63e214502d13aab415ce22dbd75b9b6207c31ea45b01c6e2888880029

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

000000000000000000000000693baf49257587efb2f0879843c862ec97a48a99000000000000000000000000e9aa397acb7c97ee6f0dc9c50b32c16778edf12a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aa87bee5380000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : admin_ (address): 0x693BAf49257587Efb2F0879843C862Ec97a48A99
Arg [1] : feeAccount_ (address): 0xE9aa397ACb7C97Ee6F0DC9C50B32C16778EdF12A
Arg [2] : accountLevelsAddr_ (address): 0x0000000000000000000000000000000000000000
Arg [3] : feeMake_ (uint256): 0
Arg [4] : feeTake_ (uint256): 3000000000000000
Arg [5] : feeRebate_ (uint256): 0

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000693baf49257587efb2f0879843c862ec97a48a99
Arg [1] : 000000000000000000000000e9aa397acb7c97ee6f0dc9c50b32c16778edf12a
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 000000000000000000000000000000000000000000000000000aa87bee538000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000


Swarm Source

bzzr://8fea57e72bb63e214502d13aab415ce22dbd75b9b6207c31ea45b01c6e288888

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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