Contract 0x9e2f2dd1e3641f389673f89dc316bb00b01cd83a

 

Contract Overview

BitEye 2
Balance:
0.00170811 Ether

EtherValue:
$2.59 (@ $1,515.75/ETH)

Token:
Txn Hash
Block
From
To
Value
0xe476ff1556db47ad4f211a265f533f3e76063a9a8c83a61af707cc6049a71fab60332942018-07-26 12:11:12952 days 10 hrs ago0x6bde362ffcab969140c54a18882fdf2b06353209 IN  BitEye 20 Ether0.0002605124
0x1d26081fb9c1c75fcc225853b8c034b7a54997198bc955ce33a7f0b63087c1b660332692018-07-26 12:04:45952 days 10 hrs ago0x6bde362ffcab969140c54a18882fdf2b06353209 IN  BitEye 20 Ether0.000283124
0x385a1a6a6fef8bfe6b6d7d0a591cbf7643e7345cbf83e74dc8856ccb9811537460332432018-07-26 11:56:29952 days 10 hrs ago0xfb128f6072ae13821de18dc0de75e23bd786c6d1 IN  BitEye 20 Ether0.0005584410
0x83551e9337ea30ba4212ca39d4ee754a8044ce417a9f59679fe7b1f0e1fc248b60332382018-07-26 11:55:09952 days 10 hrs ago0xfb128f6072ae13821de18dc0de75e23bd786c6d1 IN  BitEye 20 Ether0.0005210248
0xffc7f6c474b576db1b2f8bb6cbdfd05e0c53c943184aa686865cc304d048f1d860221212018-07-24 14:34:55954 days 7 hrs agoBiteye.market: Deployer IN  BitEye 20 Ether0.0005571610
0x05ee0f01b8053e70ee9ae9f078275c4dd54edec34548d6ef784f00372ad0450e60221162018-07-24 14:33:15954 days 7 hrs agoBiteye.market: Deployer IN  BitEye 20.01 Ether0.0001337553
0x9546ae3cf6bfab5d3baedb174cbc26569312f39769bc727de162929987273d6b60213902018-07-24 11:36:04954 days 10 hrs ago0xa02689b025127661b3a6866fd108e6c76d199d88 IN  BitEye 20 Ether0.00039652
0x1d0f781a5ef5d94bbc13be5bff9e6e56a374f1fe082c2dc343907f71ddde4fdc60040262018-07-21 13:02:29957 days 9 hrs ago0xfb128f6072ae13821de18dc0de75e23bd786c6d1 IN  BitEye 20 Ether0.000740845
0xf8138cb0a3646deb7fea915578fc59fd851df40f43fbeb29344588c1d08e2af960031792018-07-21 9:37:32957 days 12 hrs ago0xa02689b025127661b3a6866fd108e6c76d199d88 IN  BitEye 20 Ether0.000915935
0x1df4201176bbd2eefa3a99002e07f2303057836fc35c9a3062711fe84c5f5d6d60022722018-07-21 5:51:31957 days 16 hrs ago0xfb128f6072ae13821de18dc0de75e23bd786c6d1 IN  BitEye 20 Ether0.0006658967
0x3bfd48312ca0d4e94035d0ac33b9fb4189170d4f78310e242027058c854d3a1060020572018-07-21 5:02:23957 days 17 hrs ago0xa02689b025127661b3a6866fd108e6c76d199d88 IN  BitEye 20 Ether0.0012823027
0x094cfa888fe5032054b1849cfba677b6447dc510e30c61e496d8393fe82494f660020312018-07-21 4:55:35957 days 17 hrs ago0x6bde362ffcab969140c54a18882fdf2b06353209 IN  BitEye 20.5 Ether0.000236688
0xcdec92c4876111487721e04f4d392a03a0570a64f92135a921e17b8188e8c21759986992018-07-20 15:14:39958 days 6 hrs ago0xfb128f6072ae13821de18dc0de75e23bd786c6d1 IN  BitEye 20 Ether0.0005287220
0xd43f8930e3161ca7fb0d52b4aa58a8297de0250155622ac29ae5fdd552ad5df959986692018-07-20 15:06:37958 days 7 hrs ago0xfb128f6072ae13821de18dc0de75e23bd786c6d1 IN  BitEye 20.4 Ether0.000591720
0xad51a6016e083e2ace4e96405445464545d6a06813d9f6952ca3407b55d35b2b59984882018-07-20 14:25:28958 days 7 hrs ago0x6bde362ffcab969140c54a18882fdf2b06353209 IN  BitEye 20 Ether0.0009506410
0x972a19adae49e0a8374b70404f2220bcd684c3b75c3e25448e4b2ce9d857285859984802018-07-20 14:23:09958 days 7 hrs ago0xfb128f6072ae13821de18dc0de75e23bd786c6d1 IN  BitEye 20 Ether0.0014143220
0x6cf99119aa13e078d1a2fd4703cf231c395835747ad647f5bee5540f290c4df959984632018-07-20 14:19:00958 days 7 hrs ago0xfb128f6072ae13821de18dc0de75e23bd786c6d1 IN  BitEye 20 Ether0.0007561420
0x9b5ddab826519d269797de36655346afbd55ce6eab6138c146935a1b2acf04fd59984492018-07-20 14:14:59958 days 7 hrs agoBiteye.market: Deployer IN  BitEye 20 Ether0.000756110
0xc9a2d53fe9cff025d36d95fd064563ee8daf761162046ece346d8b9fcf8c650c59984382018-07-20 14:11:23958 days 7 hrs ago0xfb128f6072ae13821de18dc0de75e23bd786c6d1 IN  BitEye 20 Ether0.0005287110
0x71fcd169a6e2c895677a47785d87129ba4a25d4f48e248c85a1897449e0089e159984332018-07-20 14:10:39958 days 8 hrs ago0xfb128f6072ae13821de18dc0de75e23bd786c6d1 IN  BitEye 20.2 Ether0.0004458510
0xe4064eec22d3011ccbbea0c267546ab6e3b55cefe33a69335bd129fc5db24cae59984102018-07-20 14:05:13958 days 8 hrs ago0xa02689b025127661b3a6866fd108e6c76d199d88 IN  BitEye 20 Ether0.0006839823
0x8f1f61ce1d0babe3892cc8971998137d7ebe0a3ae2e95f2f3db7b5509b50ef3b59982732018-07-20 13:30:28958 days 8 hrs ago0x6bde362ffcab969140c54a18882fdf2b06353209 IN  BitEye 20 Ether0.0005280710
0x79251ac66f882db253be05aa7e8ea917cb0ea820fdff58b19c14eb7925a3208759982602018-07-20 13:25:51958 days 8 hrs ago0x6bde362ffcab969140c54a18882fdf2b06353209 IN  BitEye 20.15 Ether0.0002229255
0xcdb087421cba43252cd9cdc2c080399519a94e587f441af6b83b67fcbe6925c959964712018-07-20 6:18:13958 days 15 hrs agoBiteye.market: Deployer IN  BitEye 20 Ether0.000219195
0x4ede12eaab0deee5aea427c4a0ab3d1b64f40e2109791792b7da44899302cf8559963532018-07-20 5:45:36958 days 16 hrs agoBiteye.market: Deployer IN  BitEye 20 Ether0.000213555
[ Download CSV Export 
Latest 4 internal transactions
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BitEyeEx

Compiler Version
v0.4.19+commit.c4cbbb05

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-07-24
*/

pragma solidity ^0.4.19;

//ERC20 Token
contract Token {
  function totalSupply() constant returns (uint) {}
  function balanceOf(address _owner) constant returns (uint) {}
  function transfer(address _to, uint _value) returns (bool) {}
  function transferFrom(address _from, address _to, uint _value) returns (bool) {}
  function approve(address _spender, uint _value) returns (bool) {}
  function allowance(address _owner, address _spender) constant returns (uint) {}
  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 pure returns (uint256) {
    uint c = a * b;
    assert(a == 0 || c / a == b);
    return c;
  }

  function safeDiv(uint a, uint b) internal pure returns (uint256) {
    uint c = a / b;
    return c;
  }

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

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

contract BitEyeEx is SafeMath {
  mapping (address => mapping (address => uint256)) public balances;
  mapping (bytes32 => bool) public traded;
  mapping (bytes32 => uint256) public orderFills;
  address public owner;
  address public feeAccount;
  mapping (address => bool) public signers;
  mapping (address => uint256) public cancels;
  mapping (bytes32 => bool) public withdraws;

  uint256 public teamLocked = 300000000 * 1e18;
  uint256 public teamClaimed = 0;
  uint256 public totalForMining = 600000000 * 1e18;
  uint256 public unmined = 600000000 * 1e18;
  mapping (address => uint256) public mined;
  address public BEY;
  mapping (address => uint256) public miningRate;
  bool public paused = false;
  

  event Deposit(address token, address user, uint256 amount, uint256 balance);
  event Withdraw(address token, address user, uint256 amount, uint256 balance);
  event Cancel(address user, bytes32 orderHash, uint256 nonce);
  event Mine(address user, uint256 amount);
  event Release(address user, uint256 amount);

  function BitEyeEx(address _feeAccount) public {
    owner = msg.sender;
    feeAccount = _feeAccount;
  }

  function transferOwnership(address _newOwner) public onlyOwner {
    if (_newOwner != address(0)) {
      owner = _newOwner;
    }
  }

  function setFeeAccount(address _newFeeAccount) public onlyOwner {
    feeAccount = _newFeeAccount;
  }

  function addSigner(address _signer) public onlyOwner {
    signers[_signer] = true;
  }

  function removeSigner(address _signer) public onlyOwner {
    signers[_signer] = false;
  }

  function setBEY(address _addr) public onlyOwner {
    BEY = _addr;
  }

  function setMiningRate(address _quoteToken, uint256 _rate) public onlyOwner {
    miningRate[_quoteToken] = _rate;
  }

  function setPaused(bool _paused) public onlyOwner {
    paused = _paused;
  }

  modifier onlyOwner() {
    require(msg.sender == owner);
    _;
  }

  modifier onlySigner() {
    require(signers[msg.sender]);
    _; 
  }

  modifier onlyNotPaused() {
    require(!paused);
    _;
  }

  function() external {
    revert();
  }

  function depositToken(address token, uint amount) public {
    balances[token][msg.sender] = safeAdd(balances[token][msg.sender], amount);
    require(Token(token).transferFrom(msg.sender, this, amount));
    Deposit(token, msg.sender, amount, balances[token][msg.sender]);
  }

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

  function withdraw(address token, uint amount, uint nonce, address _signer, uint8 v, bytes32 r, bytes32 s) public {
    require(balances[token][msg.sender] >= amount);
    require(signers[_signer]);
    bytes32 hash = keccak256(this, msg.sender, token, amount, nonce);
    require(isValidSignature(_signer, hash, v, r, s));
    require(!withdraws[hash]);
    withdraws[hash] = true;

    balances[token][msg.sender] = safeSub(balances[token][msg.sender], amount);
    if (token == address(0)) {
      require(msg.sender.send(amount));
    } else {
      require(Token(token).transfer(msg.sender, amount));
    }
    Withdraw(token, msg.sender, amount, balances[token][msg.sender]);
  }

  function balanceOf(address token, address user) public view returns(uint) {
    return balances[token][user];
  }

  function updateCancels(address user, uint256 nonce) public onlySigner {
    require(nonce > cancels[user]);
    cancels[user] = nonce;
  }

  function getMiningRate(address _quoteToken) public view returns(uint256) {
    uint256 initialRate = miningRate[_quoteToken];
    if (unmined > 500000000e18){
      return initialRate;
    } else if (unmined > 400000000e18 && unmined <= 500000000e18){
      return initialRate * 9e17 / 1e18;
    } else if (unmined > 300000000e18 && unmined <= 400000000e18){
      return initialRate * 8e17 / 1e18;
    } else if (unmined > 200000000e18 && unmined <= 300000000e18){
      return initialRate * 7e17 / 1e18;
    } else if (unmined > 100000000e18 && unmined <= 200000000e18){
      return initialRate * 6e17 / 1e18;
    } else if(unmined <= 100000000e18) {
      return initialRate * 5e17 / 1e18;
    }
  }

  function trade(
      address[5] addrs,
      uint[11] vals,
      uint8[3] v,
      bytes32[6] rs
    ) public onlyNotPaused
    returns (bool)
  {
    require(signers[addrs[4]]);
    require(cancels[addrs[2]] < vals[2]);
    require(cancels[addrs[3]] < vals[5]);

    require(vals[6] > 0 && vals[7] > 0 && vals[8] > 0);
    require(vals[1] >= vals[7] && vals[4] >= vals[7]);
    require(msg.sender == addrs[2] || msg.sender == addrs[3] || msg.sender == addrs[4]);

    bytes32 buyHash = keccak256(address(this), addrs[0], addrs[1], addrs[2], vals[0], vals[1], vals[2]);
    bytes32 sellHash = keccak256(address(this), addrs[0], addrs[1], addrs[3], vals[3], vals[4], vals[5]);

    require(isValidSignature(addrs[2], buyHash, v[0], rs[0], rs[1]));
    require(isValidSignature(addrs[3], sellHash, v[1], rs[2], rs[3]));

    bytes32 tradeHash = keccak256(this, buyHash, sellHash, addrs[4], vals[6], vals[7], vals[8], vals[9], vals[10]);
    require(isValidSignature(addrs[4], tradeHash, v[2], rs[4], rs[5]));
    
    require(!traded[tradeHash]);
    traded[tradeHash] = true;
    
    require(safeAdd(orderFills[buyHash], vals[6]) <= vals[0]);
    require(safeAdd(orderFills[sellHash], vals[6]) <= vals[3]);
    require(balances[addrs[1]][addrs[2]] >= vals[7]);

    balances[addrs[1]][addrs[2]] = safeSub(balances[addrs[1]][addrs[2]], vals[7]);
    require(balances[addrs[0]][addrs[3]] >= vals[6]);
    balances[addrs[0]][addrs[3]] = safeSub(balances[addrs[0]][addrs[3]], vals[6]);
    balances[addrs[0]][addrs[2]] = safeAdd(balances[addrs[0]][addrs[2]], safeSub(vals[6], (safeMul(vals[6], vals[9]) / 1 ether)));
    balances[addrs[1]][addrs[3]] = safeAdd(balances[addrs[1]][addrs[3]], safeSub(vals[7], (safeMul(vals[7], vals[10]) / 1 ether)));
    
    balances[addrs[0]][feeAccount] = safeAdd(balances[addrs[0]][feeAccount], safeMul(vals[6], vals[9]) / 1 ether);
    balances[addrs[1]][feeAccount] = safeAdd(balances[addrs[1]][feeAccount], safeMul(vals[7], vals[10]) / 1 ether);

    orderFills[buyHash] = safeAdd(orderFills[buyHash], vals[6]);
    orderFills[sellHash] = safeAdd(orderFills[sellHash], vals[6]);

    // mining BEYs
    if(unmined > 0) {
      if(miningRate[addrs[1]] > 0){
        uint256 minedBEY = safeMul(safeMul(vals[7], getMiningRate(addrs[1])), 2) / 1 ether;
        if(unmined > minedBEY) {
          mined[addrs[2]] = safeAdd(mined[addrs[2]], minedBEY / 2);
          mined[addrs[3]] = safeAdd(mined[addrs[3]], minedBEY / 2);
          unmined = safeSub(unmined, minedBEY);
        } else {
          mined[addrs[2]] = safeAdd(mined[addrs[2]], unmined / 2);
          mined[addrs[3]] = safeAdd(mined[addrs[3]], safeSub(unmined, unmined / 2));
          unmined = 0;
        }
      }
    }
    return true;
  }

  function claim() public returns(bool) {
    require(mined[msg.sender] > 0);
    require(BEY != address(0));
    uint256 amount = mined[msg.sender];
    mined[msg.sender] = 0;
    require(Token(BEY).transfer(msg.sender, amount));
    Mine(msg.sender, amount);
    return true;
  }

  function claimByTeam() public onlyOwner returns(bool) {
    uint256 totalMined = safeSub(totalForMining, unmined);
    require(totalMined > 0);
    uint256 released = safeMul(teamLocked, totalMined) / totalForMining;
    uint256 amount = safeSub(released, teamClaimed);
    require(amount > 0);
    teamClaimed = released;
    require(Token(BEY).transfer(msg.sender, amount));
    Release(msg.sender, amount);
    return true;
  }

  function cancel(
    address baseToken, 
    address quoteToken, 
    address user,
    uint volume,
    uint fund,
    uint nonce,
    uint8 v,
    bytes32 r,
    bytes32 s) public onlySigner returns(bool)
  {

    bytes32 hash = keccak256(this, baseToken, quoteToken, user, volume, fund, nonce);
    require(isValidSignature(user, hash, v, r, s));
    orderFills[hash] = volume;
    Cancel(user, hash, nonce);
    return true;
  }
  
  function isValidSignature(
        address signer,
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s)
        public
        pure
        returns (bool)
  {
    return signer == ecrecover(
      keccak256("\x19Ethereum Signed Message:\n32", hash),
      v,
      r,
      s
    );
  }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"_quoteToken","type":"address"},{"name":"_rate","type":"uint256"}],"name":"setMiningRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_signer","type":"address"}],"name":"removeSigner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"unmined","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_paused","type":"bool"}],"name":"setPaused","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"teamClaimed","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"},{"name":"amount","type":"uint256"}],"name":"depositToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"addrs","type":"address[5]"},{"name":"vals","type":"uint256[11]"},{"name":"v","type":"uint8[3]"},{"name":"rs","type":"bytes32[6]"}],"name":"trade","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"baseToken","type":"address"},{"name":"quoteToken","type":"address"},{"name":"user","type":"address"},{"name":"volume","type":"uint256"},{"name":"fund","type":"uint256"},{"name":"nonce","type":"uint256"},{"name":"v","type":"uint8"},{"name":"r","type":"bytes32"},{"name":"s","type":"bytes32"}],"name":"cancel","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"mined","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newFeeAccount","type":"address"}],"name":"setFeeAccount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"claim","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"cancels","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"feeAccount","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"miningRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_addr","type":"address"}],"name":"setBEY","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"signers","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"signer","type":"address"},{"name":"hash","type":"bytes32"},{"name":"v","type":"uint8"},{"name":"r","type":"bytes32"},{"name":"s","type":"bytes32"}],"name":"isValidSignature","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"BEY","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"claimByTeam","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_quoteToken","type":"address"}],"name":"getMiningRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"teamLocked","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"user","type":"address"},{"name":"nonce","type":"uint256"}],"name":"updateCancels","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":"totalForMining","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"deposit","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"bytes32"}],"name":"traded","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"},{"name":"amount","type":"uint256"},{"name":"nonce","type":"uint256"},{"name":"_signer","type":"address"},{"name":"v","type":"uint8"},{"name":"r","type":"bytes32"},{"name":"s","type":"bytes32"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"bytes32"}],"name":"withdraws","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_signer","type":"address"}],"name":"addSigner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"bytes32"}],"name":"orderFills","outputs":[{"name":"","type":"uint256"}],"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"},{"inputs":[{"name":"_feeAccount","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":false,"stateMutability":"nonpayable","type":"fallback"},{"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"},{"anonymous":false,"inputs":[{"indexed":false,"name":"user","type":"address"},{"indexed":false,"name":"orderHash","type":"bytes32"},{"indexed":false,"name":"nonce","type":"uint256"}],"name":"Cancel","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"user","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Mine","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"user","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Release","type":"event"}]

60606040526af8277896582678ac00000060085560006009556b01f04ef12cb04cf158000000600a819055600b55600f805460ff19169055341561004257600080fd5b6040516020806120028339810160405280805160038054600160a060020a03338116600160a060020a031992831617909255600480549290931691161790555050611f70806100926000396000f3006060604052600436106101925763ffffffff60e060020a600035041663058fe7d981146101a25780630e316ab7146101c65780631077666e146101e557806316c38b3c1461020a5780632f33465214610222578063338b5dea146102355780633f392b4214610257578063432607fc1461031e5780634574f3271461035f5780634b023cf81461037e5780634e71d92d1461039d5780635c975abb146103b0578063635e2cdb146103c357806365e17c9d146103e25780636e0ca71a146104115780637039dcdc14610430578063736c0d5b1461044f5780638163681e1461046e57806389e967731461049c5780638da5cb5b146104af57806399ccbec6146104c2578063a85d3179146104d5578063ae82fcf4146104f4578063bce4d04114610507578063c23f001f14610529578063caaacb121461054e578063d0e30db014610561578063d581332314610569578063d5ca35bc1461057f578063e09ab428146105b8578063eb12d61e146105ce578063f2fde38b146105ed578063f7213db61461060c578063f7888aec14610622575b341561019d57600080fd5b600080fd5b34156101ad57600080fd5b6101c4600160a060020a0360043516602435610647565b005b34156101d157600080fd5b6101c4600160a060020a036004351661067e565b34156101f057600080fd5b6101f86106ba565b60405190815260200160405180910390f35b341561021557600080fd5b6101c460043515156106c0565b341561022d57600080fd5b6101f86106ee565b341561024057600080fd5b6101c4600160a060020a03600435166024356106f4565b341561026257600080fd5b61030a600460a481600560a06040519081016040529190828260a08082843782019150505050509190806101600190600b80602002604051908101604052919082826101608082843782019150505050509190806060019060038060200260405190810160405291908282606080828437820191505050505091908060c001906006806020026040519081016040529190828260c0808284375093955061085b945050505050565b604051901515815260200160405180910390f35b341561032957600080fd5b61030a600160a060020a036004358116906024358116906044351660643560843560a43560ff60c4351660e435610104356112ee565b341561036a57600080fd5b6101f8600160a060020a036004351661140f565b341561038957600080fd5b6101c4600160a060020a0360043516611421565b34156103a857600080fd5b61030a61146b565b34156103bb57600080fd5b61030a611597565b34156103ce57600080fd5b6101f8600160a060020a03600435166115a0565b34156103ed57600080fd5b6103f56115b2565b604051600160a060020a03909116815260200160405180910390f35b341561041c57600080fd5b6101f8600160a060020a03600435166115c1565b341561043b57600080fd5b6101c4600160a060020a03600435166115d3565b341561045a57600080fd5b61030a600160a060020a036004351661161d565b341561047957600080fd5b61030a600160a060020a036004351660243560ff60443516606435608435611632565b34156104a757600080fd5b6103f56116fa565b34156104ba57600080fd5b6103f5611709565b34156104cd57600080fd5b61030a611718565b34156104e057600080fd5b6101f8600160a060020a0360043516611867565b34156104ff57600080fd5b6101f86119f6565b341561051257600080fd5b6101c4600160a060020a03600435166024356119fc565b341561053457600080fd5b6101f8600160a060020a0360043581169060243516611a63565b341561055957600080fd5b6101f8611a7d565b6101c4611a83565b341561057457600080fd5b61030a600435611b5c565b341561058a57600080fd5b6101c4600160a060020a0360043581169060243590604435906064351660ff6084351660a43560c435611b71565b34156105c357600080fd5b61030a600435611e13565b34156105d957600080fd5b6101c4600160a060020a0360043516611e28565b34156105f857600080fd5b6101c4600160a060020a0360043516611e67565b341561061757600080fd5b6101f8600435611ebd565b341561062d57600080fd5b6101f8600160a060020a0360043581169060243516611ecf565b60035433600160a060020a0390811691161461066257600080fd5b600160a060020a039091166000908152600e6020526040902055565b60035433600160a060020a0390811691161461069957600080fd5b600160a060020a03166000908152600560205260409020805460ff19169055565b600b5481565b60035433600160a060020a039081169116146106db57600080fd5b600f805460ff1916911515919091179055565b60095481565b600160a060020a0380831660009081526020818152604080832033909416835292905220546107239082611ef8565b600160a060020a038084166000818152602081815260408083203395861684529091528082209490945590926323b872dd92913091869190516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b15156107af57600080fd5b6102c65a03f115156107c057600080fd5b5050506040518051905015156107d557600080fd5b600160a060020a0380831660009081526020818152604080832033948516845290915290819020547fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d79285929091859151600160a060020a0394851681529290931660208301526040808301919091526060820192909252608001905180910390a15050565b600f54600090819081908190819060ff161561087657600080fd5b6005600060808b0151600160a060020a0316815260208101919091526040016000205460ff1615156108a757600080fd5b60408801516006600060408c0151600160a060020a03168152602081019190915260400160002054106108d957600080fd5b60a08801516006600060608c0151600160a060020a031681526020810191909152604001600020541061090b57600080fd5b600060c08901511180156109235750600060e0890151115b801561093457506000610100890151115b151561093f57600080fd5b60e088015160208901511015801561095f575060e0880151608089015110155b151561096a57600080fd5b6040890151600160a060020a031633600160a060020a031614806109a357506060890151600160a060020a031633600160a060020a0316145b806109c357506080890151600160a060020a031633600160a060020a0316145b15156109ce57600080fd5b30895160208b015160408c01518b5160208d015160408e01516040516c01000000000000000000000000600160a060020a0398891681028252968816870260148201529487168602602886015292909516909302603c83015260508201929092526070810192909252609082015260b001604051908190039020935030895160208b015160608c015160608c015160808d015160a08e01516040516c01000000000000000000000000600160a060020a0398891681028252968816870260148201529487168602602886015292909516909302603c83015260508201929092526070810192909252609082015260b0016040519081900390209250610ae460408a015185895189518a60015b6020020151611632565b1515610aef57600080fd5b610b0a60608a01518460208a015160408a01518a6003610ada565b1515610b1557600080fd5b30848460808c015160c08c015160e08d01516101008e01516101208f01518f600a60200201516040516c01000000000000000000000000600160a060020a039a8b1681028252601482019990995260348101979097529490971690950260548501526068840191909152608883015260a882019290925260c881019290925260e8820152610108016040519081900390209150610bc360808a01518360408a015160808a01518a6005610ada565b1515610bce57600080fd5b60008281526001602052604090205460ff1615610bea57600080fd5b6000828152600160208190526040909120805460ff191690911790558751600085815260026020526040902054610c29908a60065b6020020151611ef8565b1115610c3457600080fd5b6060880151600084815260026020526040902054610c54908a6006610c1f565b1115610c5f57600080fd5b60e088015160008060208c0151600160a060020a03168152602081019190915260409081016000908120918c0151600160a060020a031681526020810191909152604001600020541015610cb257600080fd5b610d0660008060208c0151600160a060020a03168152602081019190915260409081016000908120918c0151600160a060020a031681526020810191909152604001600020548960075b6020020151611f0e565b60008060208c0151600160a060020a03168152602081019190915260409081016000908120918c0151600160a060020a0316815260208101919091526040016000205560c08801516000808b51600160a060020a03168152602081019190915260400160009081209060608c0151600160a060020a031681526020810191909152604001600020541015610d9957600080fd5b610de46000808b51600160a060020a03168152602081019190915260400160009081209060608c0151600160a060020a03168152602081019190915260400160002054896006610cfc565b6000808b51600160a060020a03168152602081019190915260400160009081209060608c0151600160a060020a031681526020810191909152604001600090812091909155610ea690808b51600160a060020a03168152602081019190915260409081016000908120918c0151600160a060020a03168152602081019190915260400160002054610ea160c08b0151670de0b6b3a7640000610e9260c08e01518e60095b6020020151611f20565b811515610e9b57fe5b04611f0e565b611ef8565b6000808b51600160a060020a03168152602081019190915260409081016000908120918c0151600160a060020a031681526020810191909152604001600090812091909155610f5490808b60016020020151600160a060020a03168152602081019190915260400160009081209060608c0151600160a060020a03168152602081019190915260400160002054610ea160e08b0151670de0b6b3a7640000610e9260e08e01518e600a610e88565b60008060208c0151600160a060020a03168152602081019190915260400160009081209060608c0151600160a060020a031681526020810191909152604001600090812091909155610ff890808b51600160a060020a0390811682526020808301939093526040918201600090812060045490921681529252902054670de0b6b3a7640000610fe960c08c01518c6009610e88565b811515610ff257fe5b04611ef8565b6000808b51600160a060020a039081168252602080830193909352604091820160009081206004549092168152925281209190915561108090808b60016020020151600160a060020a0390811682526020808301939093526040918201600090812060045490921681529252902054670de0b6b3a7640000610fe960e08c01518c600a610e88565b60008060208c0151600160a060020a0390811682526020808301939093526040918201600090812060045490921681529083528181209390935586835260029091529020546110d190896006610c1f565b6000858152600260205260408082209290925584815220546110f590896006610c1f565b600084815260026020526040812091909155600b5411156112df576000600e8160208c0151600160a060020a0316600160a060020a031681526020019081526020016000205411156112df57670de0b6b3a764000061116e61116760e08b015161116260208e0151611867565b611f20565b6002611f20565b81151561117757fe5b04905080600b541115611225576111b6600c60008b60025b6020020151600160a060020a03168152602081019190915260400160002054600283610ff2565b600c600060408c0151600160a060020a0316815260208101919091526040016000908120919091556111ed90600c908b600361118f565b600c600060608c0151600160a060020a03168152602081019190915260400160002055600b5461121d9082611f0e565b600b556112df565b611256600c600060408c0151600160a060020a03168152602081019190915260400160002054600b54600290610ff2565b600c600060408c0151600160a060020a0316815260208101919091526040016000908120919091556112b390600c9060608c0151600160a060020a03168152602081019190915260400160002054600b54610ea190600281610e9b565b600c600060608c0151600160a060020a031681526020810191909152604001600090812091909155600b555b50600198975050505050505050565b600160a060020a033316600090815260056020526040812054819060ff16151561131757600080fd5b308b8b8b8b8b8b6040516c01000000000000000000000000600160a060020a0398891681028252968816870260148201529487168602602886015292909516909302603c83015260508201929092526070810192909252609082015260b0016040518091039020905061138d8982878787611632565b151561139857600080fd5b600081815260026020526040908190208990557fcf2d1b815b936adb435f34e35cce04122b5bbbf57faf74ac5e32dd1b1100d3ab908a908390899051600160a060020a03909316835260208301919091526040808301919091526060909101905180910390a15060019a9950505050505050505050565b600c6020526000908152604090205481565b60035433600160a060020a0390811691161461143c57600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0333166000908152600c6020526040812054819081901161149257600080fd5b600d54600160a060020a031615156114a957600080fd5b50600160a060020a03338181166000908152600c6020526040808220805490839055600d549094169263a9059cbb929091859190516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561152557600080fd5b6102c65a03f1151561153657600080fd5b50505060405180519050151561154b57600080fd5b7ff23a961744a760027f8811c59a0eaef0d29cf965578b17412bcc375b52fa39d13382604051600160a060020a03909216825260208201526040908101905180910390a1600191505090565b600f5460ff1681565b60066020526000908152604090205481565b600454600160a060020a031681565b600e6020526000908152604090205481565b60035433600160a060020a039081169116146115ee57600080fd5b600d805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60056020526000908152604090205460ff1681565b60006001856040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c810191909152603c0160405180910390208585856040516000815260200160405260006040516020015260405193845260ff90921660208085019190915260408085019290925260608401929092526080909201915160208103908084039060008661646e5a03f115156116d257600080fd5b505060206040510351600160a060020a031686600160a060020a031614905095945050505050565b600d54600160a060020a031681565b600354600160a060020a031681565b60035460009081908190819033600160a060020a0390811691161461173c57600080fd5b61174a600a54600b54611f0e565b92506000831161175957600080fd5b600a5461176860085485611f20565b81151561177157fe5b04915061178082600954611f0e565b90506000811161178f57600080fd5b6009829055600d54600160a060020a031663a9059cbb338360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156117f357600080fd5b6102c65a03f1151561180457600080fd5b50505060405180519050151561181957600080fd5b7ff6334794522b9db534a812aaae1af828a2e96aac68473b58e36d7d0bfd67477b3382604051600160a060020a03909216825260208201526040908101905180910390a16001935050505090565b600160a060020a0381166000908152600e6020526040812054600b546b019d971e4fe8401e7400000090111561189f578091506119f0565b6b014adf4b7320334b90000000600b541180156118ca57506b019d971e4fe8401e74000000600b5411155b156118ec57670de0b6b3a7640000670c7d713b49da000082025b0491506119f0565b6af8277896582678ac000000600b5411801561191657506b014adf4b7320334b90000000600b5411155b1561193457670de0b6b3a7640000670b1a2bc2ec50000082026118e4565b6aa56fa5b99019a5c8000000600b5411801561195d57506af8277896582678ac000000600b5411155b1561197b57670de0b6b3a76400006709b6e64a8ec6000082026118e4565b6a52b7d2dcc80cd2e4000000600b541180156119a457506aa56fa5b99019a5c8000000600b5411155b156119c257670de0b6b3a7640000670853a0d2313c000082026118e4565b600b546a52b7d2dcc80cd2e400000090116119f057670de0b6b3a76400006706f05b59d3b2000082026118e4565b50919050565b60085481565b600160a060020a03331660009081526005602052604090205460ff161515611a2357600080fd5b600160a060020a0382166000908152600660205260409020548111611a4757600080fd5b600160a060020a03909116600090815260066020526040902055565b600060208181529281526040808220909352908152205481565b600a5481565b33600160a060020a031660009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb56020526040902054611ac59034611ef8565b33600160a060020a03811660009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb560205260408082208490557fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d793919291349151600160a060020a0394851681529290931660208301526040808301919091526060820192909252608001905180910390a1565b60016020526000908152604090205460ff1681565b600160a060020a038088166000908152602081815260408083203390941683529290529081205487901015611ba557600080fd5b600160a060020a03851660009081526005602052604090205460ff161515611bcc57600080fd5b30338989896040516c01000000000000000000000000600160a060020a039687168102825294861685026014820152929094169092026028820152603c810191909152605c810191909152607c0160405180910390209050611c318582868686611632565b1515611c3c57600080fd5b60008181526007602052604090205460ff1615611c5857600080fd5b6000818152600760209081526040808320805460ff19166001179055600160a060020a03808c168452838352818420339091168452909152902054611c9d9088611f0e565b600160a060020a03808a1660008181526020818152604080832033909516835293905291909120919091551515611d0457600160a060020a03331687156108fc0288604051600060405180830381858888f193505050501515611cff57600080fd5b611d87565b87600160a060020a031663a9059cbb338960006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515611d6157600080fd5b6102c65a03f11515611d7257600080fd5b505050604051805190501515611d8757600080fd5b600160a060020a0380891660009081526020818152604080832033948516845290915290819020547ff341246adaac6f497bc2a656f546ab9e182111d630394f0c57c710a59a2cb567928b9290918b9151600160a060020a0394851681529290931660208301526040808301919091526060820192909252608001905180910390a15050505050505050565b60076020526000908152604090205460ff1681565b60035433600160a060020a03908116911614611e4357600080fd5b600160a060020a03166000908152600560205260409020805460ff19166001179055565b60035433600160a060020a03908116911614611e8257600080fd5b600160a060020a03811615611eba576003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b60026020526000908152604090205481565b600160a060020a0391821660009081526020818152604080832093909416825291909152205490565b600082820183811015611f0757fe5b9392505050565b600082821115611f1a57fe5b50900390565b6000828202831580611f3c5750828482811515611f3957fe5b04145b1515611f0757fe00a165627a7a72305820c7fc15449145fe6275cab4334a8c8b1a4508764633c231bd9f2e1ef41f4ac78d00290000000000000000000000006f56cc5a19bd3bff23c7cab0120a77a514f2414d

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

0000000000000000000000006f56cc5a19bd3bff23c7cab0120a77a514f2414d

-----Decoded View---------------
Arg [0] : _feeAccount (address): 0x6f56cc5a19bd3bff23c7cab0120a77a514f2414d

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000006f56cc5a19bd3bff23c7cab0120a77a514f2414d


Swarm Source

bzzr://c7fc15449145fe6275cab4334a8c8b1a4508764633c231bd9f2e1ef41f4ac78d
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.