Overview
ETH Balance
1.323437520813062473 ETH
Eth Value
$5,167.50 (@ $3,904.61/ETH)Token Holdings
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 2,664 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 14957276 | 914 days ago | IN | 0 ETH | 0.00246303 | ||||
Withdraw Token | 6186914 | 2306 days ago | IN | 0 ETH | 0.00036163 | ||||
Withdraw Token | 6186857 | 2306 days ago | IN | 0 ETH | 0.00022001 | ||||
Withdraw Token | 6186850 | 2306 days ago | IN | 0 ETH | 0.00014667 | ||||
Withdraw Token | 6186840 | 2306 days ago | IN | 0 ETH | 0.00027163 | ||||
Withdraw | 6128975 | 2316 days ago | IN | 0 ETH | 0.00027087 | ||||
Withdraw Token | 6128319 | 2316 days ago | IN | 0 ETH | 0.00067908 | ||||
Withdraw Token | 6124195 | 2317 days ago | IN | 0 ETH | 0.00045379 | ||||
Withdraw | 6123800 | 2317 days ago | IN | 0 ETH | 0.00022573 | ||||
Withdraw Token | 6123772 | 2317 days ago | IN | 0 ETH | 0.00045208 | ||||
Withdraw | 6122938 | 2317 days ago | IN | 0 ETH | 0.00022509 | ||||
Withdraw | 6099722 | 2321 days ago | IN | 0 ETH | 0.00078781 | ||||
Withdraw | 6099039 | 2321 days ago | IN | 0 ETH | 0.00079005 | ||||
Cancel Order | 6099035 | 2321 days ago | IN | 0 ETH | 0.00210192 | ||||
Deposit | 6098898 | 2321 days ago | IN | 0.1717325 ETH | 0.00154864 | ||||
Withdraw Token | 6094139 | 2322 days ago | IN | 0 ETH | 0.00215932 | ||||
Withdraw Token | 6090871 | 2322 days ago | IN | 0 ETH | 0.00074034 | ||||
Withdraw Token | 6088101 | 2323 days ago | IN | 0 ETH | 0.00163432 | ||||
Withdraw Token | 6087699 | 2323 days ago | IN | 0 ETH | 0.0007411 | ||||
Withdraw Token | 6087646 | 2323 days ago | IN | 0 ETH | 0.00024703 | ||||
Withdraw Token | 6087644 | 2323 days ago | IN | 0 ETH | 0.0001942 | ||||
Withdraw | 6087632 | 2323 days ago | IN | 0 ETH | 0.00015003 | ||||
Cancel Order | 6087621 | 2323 days ago | IN | 0 ETH | 0.00024022 | ||||
Withdraw Token | 6083870 | 2323 days ago | IN | 0 ETH | 0.00123518 | ||||
Withdraw Token | 6083850 | 2323 days ago | IN | 0 ETH | 0.00030879 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
14957276 | 914 days ago | 0.1 ETH | ||||
6128975 | 2316 days ago | 0.00092 ETH | ||||
6123800 | 2317 days ago | 0.19925 ETH | ||||
6122938 | 2317 days ago | 0.35 ETH | ||||
6099722 | 2321 days ago | 0.45 ETH | ||||
6099039 | 2321 days ago | 0.1717325 ETH | ||||
6087632 | 2323 days ago | 0.025 ETH | ||||
6082069 | 2324 days ago | 0.54884303 ETH | ||||
6081501 | 2324 days ago | 0.07 ETH | ||||
6080836 | 2324 days ago | 0.055 ETH | ||||
6078599 | 2324 days ago | 0.26865955 ETH | ||||
6077947 | 2324 days ago | 0.14970135 ETH | ||||
6076728 | 2325 days ago | 0.126 ETH | ||||
6076039 | 2325 days ago | 0.336 ETH | ||||
6075507 | 2325 days ago | 0.116 ETH | ||||
6074695 | 2325 days ago | 0.06959709 ETH | ||||
6074173 | 2325 days ago | 0.00000532 ETH | ||||
6074086 | 2325 days ago | 0.0485 ETH | ||||
6073498 | 2325 days ago | 0.00156154 ETH | ||||
6071995 | 2325 days ago | 0.00559463 ETH | ||||
6070953 | 2326 days ago | 0.22 ETH | ||||
6070392 | 2326 days ago | 1.13153894 ETH | ||||
6070319 | 2326 days ago | 1 ETH | ||||
6069924 | 2326 days ago | 0.118 ETH | ||||
6062300 | 2327 days ago | 0.231 ETH |
Loading...
Loading
Contract Name:
Ethernext
Compiler Version
v0.4.24+commit.e67f0147
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-05-23 */ pragma solidity ^0.4.24; contract SafeMath { function safeMul(uint a, uint b) internal pure returns (uint) { uint c = a * b; assert(a == 0 || c / a == b); return c; } function safeSub(uint a, uint b) internal pure returns (uint) { assert(b <= a); return a - b; } function safeAdd(uint a, uint b) internal pure returns (uint) { uint c = a + b; assert(c>=a && c>=b); return c; } } contract Token { function totalSupply() public returns (uint256); function balanceOf(address) public returns (uint256) ; function transfer(address, uint256) public returns (bool); function transferFrom(address, address, uint256) public returns (bool); function approve(address, uint256) public returns (bool); function allowance(address, address) public returns (uint256); 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) public returns (bool) { //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; emit Transfer(msg.sender, _to, _value); return true; } else { return false; } } function transferFrom(address _from, address _to, uint256 _value) public returns (bool) { //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; emit Transfer(_from, _to, _value); return true; } else { return false; } } function balanceOf(address _owner) public returns (uint256) { return balances[_owner]; } function approve(address _spender, uint256 _value) public returns (bool) { allowed[msg.sender][_spender] = _value; emit Approval(msg.sender, _spender, _value); return true; } function allowance(address _owner, address _spender) public returns (uint256) { 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; constructor(ReserveToken) public { minter = msg.sender; } function create(address account, uint amount) public { if (msg.sender != minter) revert(); balances[account] = safeAdd(balances[account], amount); totalSupply = safeAdd(totalSupply, amount); } function destroy(address account, uint amount) public { if (msg.sender != minter) revert(); if (balances[account] < amount) revert(); 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) public returns(uint); } contract AccountLevelsTest is AccountLevels { mapping (address => uint) public accountLevels; function setAccountLevel(address user, uint level) public { accountLevels[user] = level; } function accountLevel(address user) public returns(uint) { return accountLevels[user]; } } contract Ethernext 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); constructor(address admin_, address feeAccount_, address accountLevelsAddr_, uint feeMake_, uint feeTake_, uint feeRebate_) public { admin = admin_; feeAccount = feeAccount_; accountLevelsAddr = accountLevelsAddr_; feeMake = feeMake_; feeTake = feeTake_; feeRebate = feeRebate_; } function() public { revert(); } function changeAdmin(address admin_) public { if (msg.sender != admin) revert(); admin = admin_; } function changeAccountLevelsAddr(address accountLevelsAddr_) public { if (msg.sender != admin) revert(); accountLevelsAddr = accountLevelsAddr_; } function changeFeeAccount(address feeAccount_) public { if (msg.sender != admin) revert(); feeAccount = feeAccount_; } function changeFeeMake(uint feeMake_) public { if (msg.sender != admin) revert(); if (feeMake_ > feeMake) revert(); feeMake = feeMake_; } function changeFeeTake(uint feeTake_) public { if (msg.sender != admin) revert(); if (feeTake_ > feeTake || feeTake_ < feeRebate) revert(); feeTake = feeTake_; } function changeFeeRebate(uint feeRebate_) public { if (msg.sender != admin) revert(); if (feeRebate_ < feeRebate || feeRebate_ > feeTake) revert(); feeRebate = feeRebate_; } function deposit() payable public { tokens[0][msg.sender] = safeAdd(tokens[0][msg.sender], msg.value); emit Deposit(0, msg.sender, msg.value, tokens[0][msg.sender]); } function withdraw(uint amount) public{ if (tokens[0][msg.sender] < amount) revert(); tokens[0][msg.sender] = safeSub(tokens[0][msg.sender], amount); if (!msg.sender.send(amount)) revert(); emit Withdraw(0, msg.sender, amount, tokens[0][msg.sender]); } function depositToken(address token, uint amount) public { //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) revert(); if (!Token(token).transferFrom(msg.sender, this, amount)) revert(); tokens[token][msg.sender] = safeAdd(tokens[token][msg.sender], amount); emit Deposit(token, msg.sender, amount, tokens[token][msg.sender]); } function withdrawToken(address token, uint amount) public { if (token==0) revert(); if (tokens[token][msg.sender] < amount) revert(); tokens[token][msg.sender] = safeSub(tokens[token][msg.sender], amount); if (!Token(token).transfer(msg.sender, amount)) revert(); emit Withdraw(token, msg.sender, amount, tokens[token][msg.sender]); } function balanceOf(address token, address user) public constant returns (uint) { return tokens[token][user]; } function order(address tokenGet, uint amountGet, address tokenGive, uint amountGive, uint expires, uint nonce) public { bytes32 hash = sha256(abi.encodePacked(this, tokenGet, amountGet, tokenGive, amountGive, expires, nonce)); orders[msg.sender][hash] = true; emit 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) public { //amount is in amountGet terms bytes32 hash = sha256(abi.encodePacked(this, tokenGet, amountGet, tokenGive, amountGive, expires, nonce)); if (!( (orders[user][hash] || ecrecover(keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)),v,r,s) == user) && block.number <= expires && safeAdd(orderFills[user][hash], amount) <= amountGet )) revert(); tradeBalances(tokenGet, amountGet, tokenGive, amountGive, user, amount); orderFills[user][hash] = safeAdd(orderFills[user][hash], amount); emit 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) public 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) public constant returns(uint) { bytes32 hash = sha256(abi.encodePacked(this, tokenGet, amountGet, tokenGive, amountGive, expires, nonce)); if (!( (orders[user][hash] || ecrecover(keccak256(abi.encodePacked("\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, bytes32, bytes32) public constant returns(uint) { bytes32 hash = sha256(abi.encodePacked(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) public { bytes32 hash = sha256(abi.encodePacked(this, tokenGet, amountGet, tokenGive, amountGive, expires, nonce)); if (!(orders[msg.sender][hash] || ecrecover(keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)),v,r,s) == msg.sender)) revert(); orderFills[msg.sender][hash] = amountGet; emit Cancel(tokenGet, amountGet, tokenGive, amountGive, expires, nonce, msg.sender, v, r, s); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":"","type":"uint8"},{"name":"","type":"bytes32"},{"name":"","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"}]
Contract Creation Code
608060405234801561001057600080fd5b5060405160c080611d2183398101604090815281516020830151918301516060840151608085015160a09095015160008054600160a060020a03958616600160a060020a0319918216179091556001805496861696821696909617909555600280549490931693909416929092179055600355600491909155600555611c868061009b6000396000f3006080604052600436106101535763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630a19b14a81146101655780630b927666146101b657806319774d43146101ea578063278b8c0e146102205780632e1a7d4d14610261578063338b5dea1461027957806346be96c31461029d578063508493bc146102e857806354d03b5c1461030f57806357786394146103275780635e1d7ae41461033c57806365e17c9d146103545780636c86888b1461038557806371ffcb16146103f3578063731c2f81146104145780638823a9c0146104295780638f283970146104415780639e281a9814610462578063bb5f462914610486578063c281309e146104aa578063d0e30db0146104bf578063e8f6bc2e146104c7578063f3412942146104e8578063f7888aec146104fd578063f851a44014610524578063fb6e155f14610539575b34801561015f57600080fd5b50600080fd5b34801561017157600080fd5b506101b4600160a060020a0360043581169060243590604435811690606435906084359060a4359060c4351660ff60e43516610104356101243561014435610584565b005b3480156101c257600080fd5b506101b4600160a060020a03600435811690602435906044351660643560843560a43561093d565b3480156101f657600080fd5b5061020e600160a060020a0360043516602435610ac9565b60408051918252519081900360200190f35b34801561022c57600080fd5b506101b4600160a060020a03600435811690602435906044351660643560843560a43560ff60c4351660e43561010435610ae6565b34801561026d57600080fd5b506101b4600435610dc1565b34801561028557600080fd5b506101b4600160a060020a0360043516602435610ebc565b3480156102a957600080fd5b5061020e600160a060020a0360043581169060243590604435811690606435906084359060a4359060c4351660ff60e435166101043561012435611017565b3480156102f457600080fd5b5061020e600160a060020a0360043581169060243516611144565b34801561031b57600080fd5b506101b4600435611161565b34801561033357600080fd5b5061020e61118c565b34801561034857600080fd5b506101b4600435611192565b34801561036057600080fd5b506103696111c9565b60408051600160a060020a039092168252519081900360200190f35b34801561039157600080fd5b506103df600160a060020a0360043581169060243590604435811690606435906084359060a4359060c43581169060ff60e435169061010435906101243590610144359061016435166111d8565b604080519115158252519081900360200190f35b3480156103ff57600080fd5b506101b4600160a060020a0360043516611242565b34801561042057600080fd5b5061020e611288565b34801561043557600080fd5b506101b460043561128e565b34801561044d57600080fd5b506101b4600160a060020a03600435166112c5565b34801561046e57600080fd5b506101b4600160a060020a036004351660243561130b565b34801561049257600080fd5b506103df600160a060020a03600435166024356114a6565b3480156104b657600080fd5b5061020e6114c6565b6101b46114cc565b3480156104d357600080fd5b506101b4600160a060020a036004351661155b565b3480156104f457600080fd5b506103696115a1565b34801561050957600080fd5b5061020e600160a060020a03600435811690602435166115b0565b34801561053057600080fd5b506103696115db565b34801561054557600080fd5b5061020e600160a060020a0360043581169060243590604435811690606435906084359060a4359060c4351660ff60e4351661010435610124356115ea565b60006002308d8d8d8d8d8d6040516020018088600160a060020a0316600160a060020a03166c0100000000000000000000000002815260140187600160a060020a0316600160a060020a03166c0100000000000000000000000002815260140186815260200185600160a060020a0316600160a060020a03166c010000000000000000000000000281526014018481526020018381526020018281526020019750505050505050506040516020818303038152906040526040518082805190602001908083835b6020831061066a5780518252601f19909201916020918201910161064b565b51815160209384036101000a600019018019909216911617905260405191909301945091925050808303816000865af11580156106ab573d6000803e3d6000fd5b5050506040513d60208110156106c057600080fd5b5051600160a060020a038716600090815260076020908152604080832084845290915290205490915060ff168061080e575085600160a060020a031660018260405160200180807f19457468657265756d205369676e6564204d6573736167653a0a333200000000815250601c0182600019166000191681526020019150506040516020818303038152906040526040518082805190602001908083835b6020831061077d5780518252601f19909201916020918201910161075e565b51815160209384036101000a60001901801990921691161790526040805192909401829003822060008084528383018087529190915260ff8e1683860152606083018d9052608083018c9052935160a08084019750919550601f1981019492819003909101925090865af11580156107f9573d6000803e3d6000fd5b50505060206040510351600160a060020a0316145b801561081a5750874311155b80156108545750600160a060020a03861660009081526008602090815260408083208484529091529020548b906108519084611905565b11155b151561085f57600080fd5b61086d8c8c8c8c8a87611929565b600160a060020a038616600090815260086020908152604080832084845290915290205461089b9083611905565b600160a060020a03871660009081526008602090815260408083208584529091529020557f6effdda786735d5033bfad5f53e5131abcced9e52be6c507b62d639685fbed6d8c838c8e8d83028115156108f057fe5b60408051600160a060020a03968716815260208101959095529285168484015204606083015291891660808201523360a082015290519081900360c00190a1505050505050505050505050565b604080516c01000000000000000000000000308102602080840191909152600160a060020a03808b1683026034850152604884018a905288169091026068830152607c8201869052609c820185905260bc8083018590528351808403909101815260dc90920192839052815160009360029392909182918401908083835b602083106109da5780518252601f1990920191602091820191016109bb565b51815160209384036101000a600019018019909216911617905260405191909301945091925050808303816000865af1158015610a1b573d6000803e3d6000fd5b5050506040513d6020811015610a3057600080fd5b5051336000818152600760209081526040808320858452825291829020805460ff191660011790558151600160a060020a038c811682529181018b905290891681830152606081018890526080810187905260a0810186905260c0810192909252519192507f3f7f2eda73683c21a15f9435af1028c93185b5f1fa38270762dc32be606b3e85919081900360e00190a150505050505050565b600860209081526000928352604080842090915290825290205481565b604080516c01000000000000000000000000308102602080840191909152600160a060020a03808e1683026034850152604884018d90528b169091026068830152607c8201899052609c820188905260bc8083018890528351808403909101815260dc90920192839052815160009360029392909182918401908083835b60208310610b835780518252601f199092019160209182019101610b64565b51815160209384036101000a600019018019909216911617905260405191909301945091925050808303816000865af1158015610bc4573d6000803e3d6000fd5b5050506040513d6020811015610bd957600080fd5b505133600090815260076020908152604080832084845290915290205490915060ff1680610d0e5750604080517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602080830191909152603c80830185905283518084039091018152605c909201928390528151339360019392909182918401908083835b60208310610c7d5780518252601f199092019160209182019101610c5e565b51815160209384036101000a60001901801990921691161790526040805192909401829003822060008084528383018087529190915260ff8d1683860152606083018c9052608083018b9052935160a08084019750919550601f1981019492819003909101925090865af1158015610cf9573d6000803e3d6000fd5b50505060206040510351600160a060020a0316145b1515610d1957600080fd5b3360008181526008602090815260408083208584528252918290208c90558151600160a060020a038e811682529181018d9052908b1681830152606081018a90526080810189905260a0810188905260c081019290925260ff861660e083015261010082018590526101208201849052517f1e0b760c386003e9cb9bcf4fcf3997886042859d9b6ed6320e804597fcdb28b0918190036101400190a150505050505050505050565b336000908152600080516020611c3b8339815191526020526040902054811115610dea57600080fd5b336000908152600080516020611c3b8339815191526020526040902054610e119082611c07565b336000818152600080516020611c3b8339815191526020526040808220939093559151909183156108fc02918491818181858888f193505050501515610e5657600080fd5b336000818152600080516020611c3b8339815191526020908152604080832054815193845291830193909352818301849052606082015290517ff341246adaac6f497bc2a656f546ab9e182111d630394f0c57c710a59a2cb5679181900360800190a150565b600160a060020a0382161515610ed157600080fd5b604080517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018390529051600160a060020a038416916323b872dd9160648083019260209291908290030181600087803b158015610f3f57600080fd5b505af1158015610f53573d6000803e3d6000fd5b505050506040513d6020811015610f6957600080fd5b50511515610f7657600080fd5b600160a060020a0382166000908152600660209081526040808320338452909152902054610fa49082611905565b600160a060020a03831660008181526006602090815260408083203380855290835292819020859055805193845290830191909152818101849052606082019290925290517fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d79181900360800190a15050565b604080516c01000000000000000000000000308102602080840191909152600160a060020a03808f1683026034850152604884018e90528c169091026068830152607c82018a9052609c820189905260bc8083018990528351808403909101815260dc9092019283905281516000938493600293909282918401908083835b602083106110b55780518252601f199092019160209182019101611096565b51815160209384036101000a600019018019909216911617905260405191909301945091925050808303816000865af11580156110f6573d6000803e3d6000fd5b5050506040513d602081101561110b57600080fd5b5051600160a060020a038716600090815260086020908152604080832084845290915290205492509050509a9950505050505050505050565b600660209081526000928352604080842090915290825290205481565b600054600160a060020a0316331461117857600080fd5b60035481111561118757600080fd5b600355565b60035481565b600054600160a060020a031633146111a957600080fd5b6005548110806111ba575060045481115b156111c457600080fd5b600555565b600154600160a060020a031681565b600160a060020a03808d166000908152600660209081526040808320938516835292905290812054831180159061122057508261121d8e8e8e8e8e8e8e8e8e8e6115ea565b10155b151561122e57506000611232565b5060015b9c9b505050505050505050505050565b600054600160a060020a0316331461125957600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60055481565b600054600160a060020a031633146112a557600080fd5b6004548111806112b6575060055481105b156112c057600080fd5b600455565b600054600160a060020a031633146112dc57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a038216151561132057600080fd5b600160a060020a038216600090815260066020908152604080832033845290915290205481111561135057600080fd5b600160a060020a038216600090815260066020908152604080832033845290915290205461137e9082611c07565b600160a060020a0383166000818152600660209081526040808320338085529083528184209590955580517fa9059cbb00000000000000000000000000000000000000000000000000000000815260048101959095526024850186905251929363a9059cbb9360448083019491928390030190829087803b15801561140257600080fd5b505af1158015611416573d6000803e3d6000fd5b505050506040513d602081101561142c57600080fd5b5051151561143957600080fd5b600160a060020a03821660008181526006602090815260408083203380855290835292819020548151948552918401929092528282018490526060830152517ff341246adaac6f497bc2a656f546ab9e182111d630394f0c57c710a59a2cb5679181900360800190a15050565b600760209081526000928352604080842090915290825290205460ff1681565b60045481565b336000908152600080516020611c3b83398151915260205260409020546114f39034611905565b336000818152600080516020611c3b8339815191526020908152604080832085905580519283529082019290925234818301526060810192909252517fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d79181900360800190a1565b600054600160a060020a0316331461157257600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600254600160a060020a031681565b600160a060020a03918216600090815260066020908152604080832093909416825291909152205490565b600054600160a060020a031681565b604080516c01000000000000000000000000308102602080840191909152600160a060020a03808f1683026034850152604884018e90528c169091026068830152607c82018a9052609c820189905260bc8083018990528351808403909101815260dc909201928390528151600093849384938493600293918291908401908083835b6020831061168c5780518252601f19909201916020918201910161166d565b51815160209384036101000a600019018019909216911617905260405191909301945091925050808303816000865af11580156116cd573d6000803e3d6000fd5b5050506040513d60208110156116e257600080fd5b5051600160a060020a038916600090815260076020908152604080832084845290915290205490935060ff1680611855575087600160a060020a031660018460405160200180807f19457468657265756d205369676e6564204d6573736167653a0a333200000000815250601c0182600019166000191681526020019150506040516020818303038152906040526040518082805190602001908083835b6020831061179f5780518252601f199092019160209182019101611780565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040518091039020898989604051600081526020016040526040518085600019166000191681526020018460ff1660ff1681526020018360001916600019168152602001826000191660001916815260200194505050505060206040516020810390808403906000865af1158015611840573d6000803e3d6000fd5b50505060206040510351600160a060020a0316145b80156118615750894311155b151561187057600093506118f4565b600160a060020a038816600090815260086020908152604080832086845290915290205461189f908e90611c07565b600160a060020a03808e166000908152600660209081526040808320938d16835292905220549092508b906118d4908f611c19565b8115156118dd57fe5b049050808210156118f0578193506118f4565b8093505b5050509a9950505050505050505050565b600082820183811080159061191a5750828110155b151561192257fe5b9392505050565b600080600080670de0b6b3a764000061194486600354611c19565b81151561194d57fe5b049350670de0b6b3a764000061196586600454611c19565b81151561196e57fe5b600254919004935060009250600160a060020a031615611a5657600254604080517f1cbd0519000000000000000000000000000000000000000000000000000000008152600160a060020a03898116600483015291519190921691631cbd05199160248083019260209291908290030181600087803b1580156119f057600080fd5b505af1158015611a04573d6000803e3d6000fd5b505050506040513d6020811015611a1a57600080fd5b505190506001811415611a4957670de0b6b3a7640000611a3c86600554611c19565b811515611a4557fe5b0491505b8060021415611a56578291505b600160a060020a038a166000908152600660209081526040808320338452909152902054611a8d90611a888786611905565b611c07565b600160a060020a038b811660009081526006602090815260408083203384529091528082209390935590881681522054611ad990611ad4611ace8886611905565b87611c07565b611905565b600160a060020a038b811660009081526006602090815260408083208b851684529091528082209390935560015490911681522054611b2590611ad4611b1f8787611905565b85611c07565b600160a060020a03808c166000908152600660208181526040808420600154861685528252808420959095558c84168352908152838220928a168252919091522054611b85908a611b768a89611c19565b811515611b7f57fe5b04611c07565b600160a060020a038981166000908152600660209081526040808320938b16835292905281812092909255338252902054611bd4908a611bc58a89611c19565b811515611bce57fe5b04611905565b600160a060020a039098166000908152600660209081526040808320338452909152902097909755505050505050505050565b600082821115611c1357fe5b50900390565b600082820283158061191a5750828482811515611c3257fe5b041461192257fe0054cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f8a165627a7a72305820d371e03307011b903b72f7a65ed9b75f2a24812d54992a32ebea81152666cbe000290000000000000000000000002c2d15ca330c53502cfee799abde6fbe73c441790000000000000000000000002c2d15ca330c53502cfee799abde6fbe73c4417900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aa87bee5380000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101535763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630a19b14a81146101655780630b927666146101b657806319774d43146101ea578063278b8c0e146102205780632e1a7d4d14610261578063338b5dea1461027957806346be96c31461029d578063508493bc146102e857806354d03b5c1461030f57806357786394146103275780635e1d7ae41461033c57806365e17c9d146103545780636c86888b1461038557806371ffcb16146103f3578063731c2f81146104145780638823a9c0146104295780638f283970146104415780639e281a9814610462578063bb5f462914610486578063c281309e146104aa578063d0e30db0146104bf578063e8f6bc2e146104c7578063f3412942146104e8578063f7888aec146104fd578063f851a44014610524578063fb6e155f14610539575b34801561015f57600080fd5b50600080fd5b34801561017157600080fd5b506101b4600160a060020a0360043581169060243590604435811690606435906084359060a4359060c4351660ff60e43516610104356101243561014435610584565b005b3480156101c257600080fd5b506101b4600160a060020a03600435811690602435906044351660643560843560a43561093d565b3480156101f657600080fd5b5061020e600160a060020a0360043516602435610ac9565b60408051918252519081900360200190f35b34801561022c57600080fd5b506101b4600160a060020a03600435811690602435906044351660643560843560a43560ff60c4351660e43561010435610ae6565b34801561026d57600080fd5b506101b4600435610dc1565b34801561028557600080fd5b506101b4600160a060020a0360043516602435610ebc565b3480156102a957600080fd5b5061020e600160a060020a0360043581169060243590604435811690606435906084359060a4359060c4351660ff60e435166101043561012435611017565b3480156102f457600080fd5b5061020e600160a060020a0360043581169060243516611144565b34801561031b57600080fd5b506101b4600435611161565b34801561033357600080fd5b5061020e61118c565b34801561034857600080fd5b506101b4600435611192565b34801561036057600080fd5b506103696111c9565b60408051600160a060020a039092168252519081900360200190f35b34801561039157600080fd5b506103df600160a060020a0360043581169060243590604435811690606435906084359060a4359060c43581169060ff60e435169061010435906101243590610144359061016435166111d8565b604080519115158252519081900360200190f35b3480156103ff57600080fd5b506101b4600160a060020a0360043516611242565b34801561042057600080fd5b5061020e611288565b34801561043557600080fd5b506101b460043561128e565b34801561044d57600080fd5b506101b4600160a060020a03600435166112c5565b34801561046e57600080fd5b506101b4600160a060020a036004351660243561130b565b34801561049257600080fd5b506103df600160a060020a03600435166024356114a6565b3480156104b657600080fd5b5061020e6114c6565b6101b46114cc565b3480156104d357600080fd5b506101b4600160a060020a036004351661155b565b3480156104f457600080fd5b506103696115a1565b34801561050957600080fd5b5061020e600160a060020a03600435811690602435166115b0565b34801561053057600080fd5b506103696115db565b34801561054557600080fd5b5061020e600160a060020a0360043581169060243590604435811690606435906084359060a4359060c4351660ff60e4351661010435610124356115ea565b60006002308d8d8d8d8d8d6040516020018088600160a060020a0316600160a060020a03166c0100000000000000000000000002815260140187600160a060020a0316600160a060020a03166c0100000000000000000000000002815260140186815260200185600160a060020a0316600160a060020a03166c010000000000000000000000000281526014018481526020018381526020018281526020019750505050505050506040516020818303038152906040526040518082805190602001908083835b6020831061066a5780518252601f19909201916020918201910161064b565b51815160209384036101000a600019018019909216911617905260405191909301945091925050808303816000865af11580156106ab573d6000803e3d6000fd5b5050506040513d60208110156106c057600080fd5b5051600160a060020a038716600090815260076020908152604080832084845290915290205490915060ff168061080e575085600160a060020a031660018260405160200180807f19457468657265756d205369676e6564204d6573736167653a0a333200000000815250601c0182600019166000191681526020019150506040516020818303038152906040526040518082805190602001908083835b6020831061077d5780518252601f19909201916020918201910161075e565b51815160209384036101000a60001901801990921691161790526040805192909401829003822060008084528383018087529190915260ff8e1683860152606083018d9052608083018c9052935160a08084019750919550601f1981019492819003909101925090865af11580156107f9573d6000803e3d6000fd5b50505060206040510351600160a060020a0316145b801561081a5750874311155b80156108545750600160a060020a03861660009081526008602090815260408083208484529091529020548b906108519084611905565b11155b151561085f57600080fd5b61086d8c8c8c8c8a87611929565b600160a060020a038616600090815260086020908152604080832084845290915290205461089b9083611905565b600160a060020a03871660009081526008602090815260408083208584529091529020557f6effdda786735d5033bfad5f53e5131abcced9e52be6c507b62d639685fbed6d8c838c8e8d83028115156108f057fe5b60408051600160a060020a03968716815260208101959095529285168484015204606083015291891660808201523360a082015290519081900360c00190a1505050505050505050505050565b604080516c01000000000000000000000000308102602080840191909152600160a060020a03808b1683026034850152604884018a905288169091026068830152607c8201869052609c820185905260bc8083018590528351808403909101815260dc90920192839052815160009360029392909182918401908083835b602083106109da5780518252601f1990920191602091820191016109bb565b51815160209384036101000a600019018019909216911617905260405191909301945091925050808303816000865af1158015610a1b573d6000803e3d6000fd5b5050506040513d6020811015610a3057600080fd5b5051336000818152600760209081526040808320858452825291829020805460ff191660011790558151600160a060020a038c811682529181018b905290891681830152606081018890526080810187905260a0810186905260c0810192909252519192507f3f7f2eda73683c21a15f9435af1028c93185b5f1fa38270762dc32be606b3e85919081900360e00190a150505050505050565b600860209081526000928352604080842090915290825290205481565b604080516c01000000000000000000000000308102602080840191909152600160a060020a03808e1683026034850152604884018d90528b169091026068830152607c8201899052609c820188905260bc8083018890528351808403909101815260dc90920192839052815160009360029392909182918401908083835b60208310610b835780518252601f199092019160209182019101610b64565b51815160209384036101000a600019018019909216911617905260405191909301945091925050808303816000865af1158015610bc4573d6000803e3d6000fd5b5050506040513d6020811015610bd957600080fd5b505133600090815260076020908152604080832084845290915290205490915060ff1680610d0e5750604080517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602080830191909152603c80830185905283518084039091018152605c909201928390528151339360019392909182918401908083835b60208310610c7d5780518252601f199092019160209182019101610c5e565b51815160209384036101000a60001901801990921691161790526040805192909401829003822060008084528383018087529190915260ff8d1683860152606083018c9052608083018b9052935160a08084019750919550601f1981019492819003909101925090865af1158015610cf9573d6000803e3d6000fd5b50505060206040510351600160a060020a0316145b1515610d1957600080fd5b3360008181526008602090815260408083208584528252918290208c90558151600160a060020a038e811682529181018d9052908b1681830152606081018a90526080810189905260a0810188905260c081019290925260ff861660e083015261010082018590526101208201849052517f1e0b760c386003e9cb9bcf4fcf3997886042859d9b6ed6320e804597fcdb28b0918190036101400190a150505050505050505050565b336000908152600080516020611c3b8339815191526020526040902054811115610dea57600080fd5b336000908152600080516020611c3b8339815191526020526040902054610e119082611c07565b336000818152600080516020611c3b8339815191526020526040808220939093559151909183156108fc02918491818181858888f193505050501515610e5657600080fd5b336000818152600080516020611c3b8339815191526020908152604080832054815193845291830193909352818301849052606082015290517ff341246adaac6f497bc2a656f546ab9e182111d630394f0c57c710a59a2cb5679181900360800190a150565b600160a060020a0382161515610ed157600080fd5b604080517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018390529051600160a060020a038416916323b872dd9160648083019260209291908290030181600087803b158015610f3f57600080fd5b505af1158015610f53573d6000803e3d6000fd5b505050506040513d6020811015610f6957600080fd5b50511515610f7657600080fd5b600160a060020a0382166000908152600660209081526040808320338452909152902054610fa49082611905565b600160a060020a03831660008181526006602090815260408083203380855290835292819020859055805193845290830191909152818101849052606082019290925290517fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d79181900360800190a15050565b604080516c01000000000000000000000000308102602080840191909152600160a060020a03808f1683026034850152604884018e90528c169091026068830152607c82018a9052609c820189905260bc8083018990528351808403909101815260dc9092019283905281516000938493600293909282918401908083835b602083106110b55780518252601f199092019160209182019101611096565b51815160209384036101000a600019018019909216911617905260405191909301945091925050808303816000865af11580156110f6573d6000803e3d6000fd5b5050506040513d602081101561110b57600080fd5b5051600160a060020a038716600090815260086020908152604080832084845290915290205492509050509a9950505050505050505050565b600660209081526000928352604080842090915290825290205481565b600054600160a060020a0316331461117857600080fd5b60035481111561118757600080fd5b600355565b60035481565b600054600160a060020a031633146111a957600080fd5b6005548110806111ba575060045481115b156111c457600080fd5b600555565b600154600160a060020a031681565b600160a060020a03808d166000908152600660209081526040808320938516835292905290812054831180159061122057508261121d8e8e8e8e8e8e8e8e8e8e6115ea565b10155b151561122e57506000611232565b5060015b9c9b505050505050505050505050565b600054600160a060020a0316331461125957600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60055481565b600054600160a060020a031633146112a557600080fd5b6004548111806112b6575060055481105b156112c057600080fd5b600455565b600054600160a060020a031633146112dc57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a038216151561132057600080fd5b600160a060020a038216600090815260066020908152604080832033845290915290205481111561135057600080fd5b600160a060020a038216600090815260066020908152604080832033845290915290205461137e9082611c07565b600160a060020a0383166000818152600660209081526040808320338085529083528184209590955580517fa9059cbb00000000000000000000000000000000000000000000000000000000815260048101959095526024850186905251929363a9059cbb9360448083019491928390030190829087803b15801561140257600080fd5b505af1158015611416573d6000803e3d6000fd5b505050506040513d602081101561142c57600080fd5b5051151561143957600080fd5b600160a060020a03821660008181526006602090815260408083203380855290835292819020548151948552918401929092528282018490526060830152517ff341246adaac6f497bc2a656f546ab9e182111d630394f0c57c710a59a2cb5679181900360800190a15050565b600760209081526000928352604080842090915290825290205460ff1681565b60045481565b336000908152600080516020611c3b83398151915260205260409020546114f39034611905565b336000818152600080516020611c3b8339815191526020908152604080832085905580519283529082019290925234818301526060810192909252517fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d79181900360800190a1565b600054600160a060020a0316331461157257600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600254600160a060020a031681565b600160a060020a03918216600090815260066020908152604080832093909416825291909152205490565b600054600160a060020a031681565b604080516c01000000000000000000000000308102602080840191909152600160a060020a03808f1683026034850152604884018e90528c169091026068830152607c82018a9052609c820189905260bc8083018990528351808403909101815260dc909201928390528151600093849384938493600293918291908401908083835b6020831061168c5780518252601f19909201916020918201910161166d565b51815160209384036101000a600019018019909216911617905260405191909301945091925050808303816000865af11580156116cd573d6000803e3d6000fd5b5050506040513d60208110156116e257600080fd5b5051600160a060020a038916600090815260076020908152604080832084845290915290205490935060ff1680611855575087600160a060020a031660018460405160200180807f19457468657265756d205369676e6564204d6573736167653a0a333200000000815250601c0182600019166000191681526020019150506040516020818303038152906040526040518082805190602001908083835b6020831061179f5780518252601f199092019160209182019101611780565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040518091039020898989604051600081526020016040526040518085600019166000191681526020018460ff1660ff1681526020018360001916600019168152602001826000191660001916815260200194505050505060206040516020810390808403906000865af1158015611840573d6000803e3d6000fd5b50505060206040510351600160a060020a0316145b80156118615750894311155b151561187057600093506118f4565b600160a060020a038816600090815260086020908152604080832086845290915290205461189f908e90611c07565b600160a060020a03808e166000908152600660209081526040808320938d16835292905220549092508b906118d4908f611c19565b8115156118dd57fe5b049050808210156118f0578193506118f4565b8093505b5050509a9950505050505050505050565b600082820183811080159061191a5750828110155b151561192257fe5b9392505050565b600080600080670de0b6b3a764000061194486600354611c19565b81151561194d57fe5b049350670de0b6b3a764000061196586600454611c19565b81151561196e57fe5b600254919004935060009250600160a060020a031615611a5657600254604080517f1cbd0519000000000000000000000000000000000000000000000000000000008152600160a060020a03898116600483015291519190921691631cbd05199160248083019260209291908290030181600087803b1580156119f057600080fd5b505af1158015611a04573d6000803e3d6000fd5b505050506040513d6020811015611a1a57600080fd5b505190506001811415611a4957670de0b6b3a7640000611a3c86600554611c19565b811515611a4557fe5b0491505b8060021415611a56578291505b600160a060020a038a166000908152600660209081526040808320338452909152902054611a8d90611a888786611905565b611c07565b600160a060020a038b811660009081526006602090815260408083203384529091528082209390935590881681522054611ad990611ad4611ace8886611905565b87611c07565b611905565b600160a060020a038b811660009081526006602090815260408083208b851684529091528082209390935560015490911681522054611b2590611ad4611b1f8787611905565b85611c07565b600160a060020a03808c166000908152600660208181526040808420600154861685528252808420959095558c84168352908152838220928a168252919091522054611b85908a611b768a89611c19565b811515611b7f57fe5b04611c07565b600160a060020a038981166000908152600660209081526040808320938b16835292905281812092909255338252902054611bd4908a611bc58a89611c19565b811515611bce57fe5b04611905565b600160a060020a039098166000908152600660209081526040808320338452909152902097909755505050505050505050565b600082821115611c1357fe5b50900390565b600082820283158061191a5750828482811515611c3257fe5b041461192257fe0054cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f8a165627a7a72305820d371e03307011b903b72f7a65ed9b75f2a24812d54992a32ebea81152666cbe00029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002c2d15ca330c53502cfee799abde6fbe73c441790000000000000000000000002c2d15ca330c53502cfee799abde6fbe73c4417900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aa87bee5380000000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : admin_ (address): 0x2C2D15CA330c53502CFeE799abde6fbe73c44179
Arg [1] : feeAccount_ (address): 0x2C2D15CA330c53502CFeE799abde6fbe73c44179
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] : 0000000000000000000000002c2d15ca330c53502cfee799abde6fbe73c44179
Arg [1] : 0000000000000000000000002c2d15ca330c53502cfee799abde6fbe73c44179
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 000000000000000000000000000000000000000000000000000aa87bee538000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Swarm Source
bzzr://d371e03307011b903b72f7a65ed9b75f2a24812d54992a32ebea81152666cbe0
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.