Overview
ETH Balance
216.290156231985925307 ETH
Eth Value
$732,524.14 (@ $3,386.77/ETH)Token Holdings
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 2,163 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw All | 19366882 | 293 days ago | IN | 0 ETH | 0.00302928 | ||||
Withdraw All | 18020189 | 482 days ago | IN | 0 ETH | 0.00109064 | ||||
Withdraw All | 18020164 | 482 days ago | IN | 0 ETH | 0.00106875 | ||||
Withdraw All | 18020148 | 482 days ago | IN | 0 ETH | 0.00108405 | ||||
Withdraw All | 18020125 | 482 days ago | IN | 0 ETH | 0.00089641 | ||||
Withdraw All | 18020101 | 482 days ago | IN | 0 ETH | 0.00090337 | ||||
Withdraw All | 13177345 | 1203 days ago | IN | 0 ETH | 0.00326144 | ||||
Withdraw All | 12427283 | 1320 days ago | IN | 0 ETH | 0.00383011 | ||||
Withdraw All | 12053850 | 1377 days ago | IN | 0 ETH | 0.00423894 | ||||
Withdraw All | 9164295 | 1824 days ago | IN | 0 ETH | 0.00025802 | ||||
Withdraw All | 9164293 | 1824 days ago | IN | 0 ETH | 0.00025802 | ||||
Withdraw All | 8745216 | 1896 days ago | IN | 0 ETH | 0.00028225 | ||||
Withdraw All | 8745183 | 1896 days ago | IN | 0 ETH | 0.00028225 | ||||
Withdraw | 8508110 | 1933 days ago | IN | 0 ETH | 0.00090478 | ||||
Withdraw | 8415851 | 1948 days ago | IN | 0 ETH | 0.00004488 | ||||
Withdraw | 8338699 | 1960 days ago | IN | 0 ETH | 0.00004507 | ||||
Withdraw | 8321699 | 1962 days ago | IN | 0 ETH | 0.00004488 | ||||
Withdraw | 8301883 | 1965 days ago | IN | 0 ETH | 0.00013523 | ||||
Withdraw | 8119892 | 1994 days ago | IN | 0 ETH | 0.00004488 | ||||
Withdraw | 8107571 | 1996 days ago | IN | 0 ETH | 0.00009917 | ||||
Withdraw | 8091188 | 1998 days ago | IN | 0 ETH | 0.0000899 | ||||
Withdraw | 8085127 | 1999 days ago | IN | 0 ETH | 0.00013465 | ||||
Withdraw | 8017130 | 2010 days ago | IN | 0 ETH | 0.00004501 | ||||
Withdraw | 7997882 | 2013 days ago | IN | 0 ETH | 0.00002334 | ||||
Withdraw | 7996204 | 2013 days ago | IN | 0 ETH | 0.00013504 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
19366882 | 293 days ago | 0.10198296 ETH | ||||
18020189 | 482 days ago | 0.00000463 ETH | ||||
18020164 | 482 days ago | 0.00101375 ETH | ||||
18020148 | 482 days ago | 0.00027083 ETH | ||||
18020125 | 482 days ago | 0.00071006 ETH | ||||
18020101 | 482 days ago | 0.01029681 ETH | ||||
15821347 | 791 days ago | 0.09799999 ETH | ||||
15821347 | 791 days ago | 0.1 ETH | ||||
15821226 | 791 days ago | 0.09799999 ETH | ||||
15821226 | 791 days ago | 0.1 ETH | ||||
15821099 | 791 days ago | 0.09799999 ETH | ||||
15821099 | 791 days ago | 0.1 ETH | ||||
13177345 | 1203 days ago | 0.82338365 ETH | ||||
12427283 | 1320 days ago | 1.03220694 ETH | ||||
12053850 | 1377 days ago | 0.00010275 ETH | ||||
9164295 | 1824 days ago | 0.00103684 ETH | ||||
9164293 | 1824 days ago | 0.00009326 ETH | ||||
8745216 | 1896 days ago | 0.00023914 ETH | ||||
8745183 | 1896 days ago | 2.63517957 ETH | ||||
8508110 | 1933 days ago | 1.319742 ETH | ||||
8415851 | 1948 days ago | 0.004 ETH | ||||
8338699 | 1960 days ago | 1.13257 ETH | ||||
8321699 | 1962 days ago | 0.049232 ETH | ||||
8301883 | 1965 days ago | 23.877497 ETH | ||||
8119892 | 1994 days ago | 0.03 ETH |
Loading...
Loading
Contract Name:
ArbitrageETHStaking
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-08-18 */ pragma solidity ^0.4.23; // File: contracts/Ownable.sol /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ constructor() public { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == owner); _; } /** * @dev Allows the current owner to relinquish control of the contract. * @notice Renouncing to ownership will leave the contract without an owner. * It will not be possible to call the functions with the `onlyOwner` * modifier anymore. */ function renounceOwnership() public onlyOwner { emit OwnershipRenounced(owner); owner = address(0); } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param _newOwner The address to transfer ownership to. */ function transferOwnership(address _newOwner) public onlyOwner { _transferOwnership(_newOwner); } /** * @dev Transfers control of the contract to a newOwner. * @param _newOwner The address to transfer ownership to. */ function _transferOwnership(address _newOwner) internal { require(_newOwner != address(0)); emit OwnershipTransferred(owner, _newOwner); owner = _newOwner; } } // File: contracts/SafeMath.sol /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { if (a == 0) { return 0; } c = a * b; assert(c / a == b); return c; } /** * @dev Integer division of two numbers, truncating the quotient. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { // assert(b > 0); // Solidity automatically throws when dividing by 0 // uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return a / b; } /** * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } /** * @dev Adds two numbers, throws on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256 c) { c = a + b; assert(c >= a); return c; } } // File: contracts/ArbitrageETHStaking.sol /** * @title ArbitrageETHStaking * @dev The ArbitrageETHStaking contract staking Ether(ETH) tokens. * Here is stored all function and data of user stakes in contract. * Staking is configured for 2%. */ contract ArbitrageETHStaking is Ownable { using SafeMath for uint256; /*============================== = EVENTS = ==============================*/ event onPurchase( address indexed customerAddress, uint256 etherIn, uint256 contractBal, uint256 poolFee, uint timestamp ); event onWithdraw( address indexed customerAddress, uint256 etherOut, uint256 contractBal, uint timestamp ); /*** STORAGE ***/ mapping(address => uint256) internal personalFactorLedger_; // personal factor ledger mapping(address => uint256) internal balanceLedger_; // users balance ledger // Configurations uint256 minBuyIn = 0.001 ether; // can't buy less then 0.0001 ETH uint256 stakingPrecent = 2; uint256 internal globalFactor = 10e21; // global factor uint256 constant internal constantFactor = 10e21 * 10e21; // constant factor /// @dev Forward all Ether in buy() function function() external payable { buy(); } // @dev Buy in staking pool, transfer ethereum in the contract, pay 2% fee function buy() public payable { address _customerAddress = msg.sender; require(msg.value >= minBuyIn, "should be more the 0.0001 ether sent"); uint256 _etherBeforeBuyIn = getBalance().sub(msg.value); uint256 poolFee; // Check is not a first buy in if (_etherBeforeBuyIn != 0) { // Add 2% fee of the buy to the staking pool poolFee = msg.value.mul(stakingPrecent).div(100); // Increase amount of eth everyone else owns uint256 globalIncrease = globalFactor.mul(poolFee) / _etherBeforeBuyIn; globalFactor = globalFactor.add(globalIncrease); } balanceLedger_[_customerAddress] = ethBalanceOf(_customerAddress).add(msg.value).sub(poolFee); personalFactorLedger_[_customerAddress] = constantFactor / globalFactor; emit onPurchase(_customerAddress, msg.value, getBalance(), poolFee, now); } /** * @dev Withdraw selected amount of ethereum from the contract back to user, * update the balance. * @param _sellEth - Amount of ethereum to withdraw from contract */ function withdraw(uint256 _sellEth) public { address _customerAddress = msg.sender; // User must have enough eth and cannot sell 0 require(_sellEth > 0, "user cant spam transactions with 0 value"); require(_sellEth <= ethBalanceOf(_customerAddress), "user cant withdraw more then he holds "); // Transfer balance and update user ledgers _customerAddress.transfer(_sellEth); balanceLedger_[_customerAddress] = ethBalanceOf(_customerAddress).sub(_sellEth); personalFactorLedger_[_customerAddress] = constantFactor / globalFactor; emit onWithdraw(_customerAddress, _sellEth, getBalance(), now); } // @dev Withdraw all the ethereum user holds in the contract, set balance to 0 function withdrawAll() public { address _customerAddress = msg.sender; // Set the sell amount to the user's full balance, don't sell if empty uint256 _sellEth = ethBalanceOf(_customerAddress); require(_sellEth > 0, "user cant call withdraw, when holds nothing"); // Transfer balance and update user ledgers _customerAddress.transfer(_sellEth); balanceLedger_[_customerAddress] = 0; personalFactorLedger_[_customerAddress] = constantFactor / globalFactor; emit onWithdraw(_customerAddress, _sellEth, getBalance(), now); } /** * UI Logic - View Functions */ // @dev Returns contract ETH balance function getBalance() public view returns (uint256) { return address(this).balance; } // @dev Returns user ETH tokens balance in contract function ethBalanceOf(address _customerAddress) public view returns (uint256) { // Balance ledger * personal factor * globalFactor / constantFactor return balanceLedger_[_customerAddress].mul(personalFactorLedger_[_customerAddress]).mul(globalFactor) / constantFactor; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"getBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_sellEth","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_customerAddress","type":"address"}],"name":"ethBalanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdrawAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"buy","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"etherIn","type":"uint256"},{"indexed":false,"name":"contractBal","type":"uint256"},{"indexed":false,"name":"poolFee","type":"uint256"},{"indexed":false,"name":"timestamp","type":"uint256"}],"name":"onPurchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"etherOut","type":"uint256"},{"indexed":false,"name":"contractBal","type":"uint256"},{"indexed":false,"name":"timestamp","type":"uint256"}],"name":"onWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"}],"name":"OwnershipRenounced","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]
Contract Creation Code
608060405266038d7ea4c68000600355600260045569021e19e0c9bab240000060055560008054600160a060020a03191633179055610896806100436000396000f30060806040526004361061008d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166312065fe081146100975780632e1a7d4d146100be578063715018a6146100d65780637252bbf2146100eb578063853828b61461010c5780638da5cb5b14610121578063a6f2ae3a1461008d578063f2fde38b14610152575b610095610173565b005b3480156100a357600080fd5b506100ac610348565b60408051918252519081900360200190f35b3480156100ca57600080fd5b5061009560043561034d565b3480156100e257600080fd5b5061009561053a565b3480156100f757600080fd5b506100ac600160a060020a03600435166105a6565b34801561011857600080fd5b50610095610614565b34801561012d57600080fd5b50610136610759565b60408051600160a060020a039092168252519081900360200190f35b34801561015e57600080fd5b50610095600160a060020a0360043516610768565b6003543390600090819081903410156101fb576040805160e560020a62461bcd028152602060048201526024808201527f73686f756c64206265206d6f72652074686520302e303030312065746865722060448201527f73656e7400000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b61021334610207610348565b9063ffffffff61078b16565b9250821561027e576102416064610235600454346107a290919063ffffffff16565b9063ffffffff6107cb16565b915082610259836005546107a290919063ffffffff16565b81151561026257fe5b04905061027a816005546107e090919063ffffffff16565b6005555b61029b826102073461028f886105a6565b9063ffffffff6107e016565b600160a060020a03851660009081526002602052604090205560055472047bf19673df52e37f2410011d1000000000008115156102d457fe5b600160a060020a0386166000818152600160205260409020929091049091557f140d188d405280ed343000927009b1db02841e6710c720013411024d04ca3c5e3461031d610348565b604080519283526020830191909152818101869052426060830152519081900360800190a250505050565b303190565b33600082116103cc576040805160e560020a62461bcd02815260206004820152602860248201527f757365722063616e74207370616d207472616e73616374696f6e73207769746860448201527f20302076616c7565000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b6103d5816105a6565b821115610452576040805160e560020a62461bcd02815260206004820152602660248201527f757365722063616e74207769746864726177206d6f7265207468656e2068652060448201527f686f6c6473200000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b604051600160a060020a0382169083156108fc029084906000818181858888f19350505050158015610488573d6000803e3d6000fd5b5061049682610207836105a6565b600160a060020a03821660009081526002602052604090205560055472047bf19673df52e37f2410011d1000000000008115156104cf57fe5b600160a060020a0383166000818152600160205260409020929091049091557f90ebb005d68efee044927e1e77e1fd0cecc508368aa72c39250a787eed5f0a7083610518610348565b6040805192835260208301919091524282820152519081900360600190a25050565b600054600160a060020a0316331461055157600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b600554600160a060020a0382166000908152600160209081526040808320546002909252822054919272047bf19673df52e37f2410011d10000000000092610604926105f8919063ffffffff6107a216565b9063ffffffff6107a216565b81151561060d57fe5b0492915050565b336000610620826105a6565b9050600081116106a0576040805160e560020a62461bcd02815260206004820152602b60248201527f757365722063616e742063616c6c2077697468647261772c207768656e20686f60448201527f6c6473206e6f7468696e67000000000000000000000000000000000000000000606482015290519081900360840190fd5b604051600160a060020a0383169082156108fc029083906000818181858888f193505050501580156106d6573d6000803e3d6000fd5b50600160a060020a03821660009081526002602052604081205560055472047bf19673df52e37f2410011d10000000000081151561071057fe5b600160a060020a0384166000818152600160205260409020929091049091557f90ebb005d68efee044927e1e77e1fd0cecc508368aa72c39250a787eed5f0a7082610518610348565b600054600160a060020a031681565b600054600160a060020a0316331461077f57600080fd5b610788816107ed565b50565b60008282111561079757fe5b508082035b92915050565b60008215156107b35750600061079c565b508181028183828115156107c357fe5b041461079c57fe5b600081838115156107d857fe5b049392505050565b8181018281101561079c57fe5b600160a060020a038116151561080257600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820ed59da05b704105bd3ef89142c9bfd81c5dfcf1087263cfa7cc6bd3f7c03eddf0029
Deployed Bytecode
0x60806040526004361061008d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166312065fe081146100975780632e1a7d4d146100be578063715018a6146100d65780637252bbf2146100eb578063853828b61461010c5780638da5cb5b14610121578063a6f2ae3a1461008d578063f2fde38b14610152575b610095610173565b005b3480156100a357600080fd5b506100ac610348565b60408051918252519081900360200190f35b3480156100ca57600080fd5b5061009560043561034d565b3480156100e257600080fd5b5061009561053a565b3480156100f757600080fd5b506100ac600160a060020a03600435166105a6565b34801561011857600080fd5b50610095610614565b34801561012d57600080fd5b50610136610759565b60408051600160a060020a039092168252519081900360200190f35b34801561015e57600080fd5b50610095600160a060020a0360043516610768565b6003543390600090819081903410156101fb576040805160e560020a62461bcd028152602060048201526024808201527f73686f756c64206265206d6f72652074686520302e303030312065746865722060448201527f73656e7400000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b61021334610207610348565b9063ffffffff61078b16565b9250821561027e576102416064610235600454346107a290919063ffffffff16565b9063ffffffff6107cb16565b915082610259836005546107a290919063ffffffff16565b81151561026257fe5b04905061027a816005546107e090919063ffffffff16565b6005555b61029b826102073461028f886105a6565b9063ffffffff6107e016565b600160a060020a03851660009081526002602052604090205560055472047bf19673df52e37f2410011d1000000000008115156102d457fe5b600160a060020a0386166000818152600160205260409020929091049091557f140d188d405280ed343000927009b1db02841e6710c720013411024d04ca3c5e3461031d610348565b604080519283526020830191909152818101869052426060830152519081900360800190a250505050565b303190565b33600082116103cc576040805160e560020a62461bcd02815260206004820152602860248201527f757365722063616e74207370616d207472616e73616374696f6e73207769746860448201527f20302076616c7565000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b6103d5816105a6565b821115610452576040805160e560020a62461bcd02815260206004820152602660248201527f757365722063616e74207769746864726177206d6f7265207468656e2068652060448201527f686f6c6473200000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b604051600160a060020a0382169083156108fc029084906000818181858888f19350505050158015610488573d6000803e3d6000fd5b5061049682610207836105a6565b600160a060020a03821660009081526002602052604090205560055472047bf19673df52e37f2410011d1000000000008115156104cf57fe5b600160a060020a0383166000818152600160205260409020929091049091557f90ebb005d68efee044927e1e77e1fd0cecc508368aa72c39250a787eed5f0a7083610518610348565b6040805192835260208301919091524282820152519081900360600190a25050565b600054600160a060020a0316331461055157600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b600554600160a060020a0382166000908152600160209081526040808320546002909252822054919272047bf19673df52e37f2410011d10000000000092610604926105f8919063ffffffff6107a216565b9063ffffffff6107a216565b81151561060d57fe5b0492915050565b336000610620826105a6565b9050600081116106a0576040805160e560020a62461bcd02815260206004820152602b60248201527f757365722063616e742063616c6c2077697468647261772c207768656e20686f60448201527f6c6473206e6f7468696e67000000000000000000000000000000000000000000606482015290519081900360840190fd5b604051600160a060020a0383169082156108fc029083906000818181858888f193505050501580156106d6573d6000803e3d6000fd5b50600160a060020a03821660009081526002602052604081205560055472047bf19673df52e37f2410011d10000000000081151561071057fe5b600160a060020a0384166000818152600160205260409020929091049091557f90ebb005d68efee044927e1e77e1fd0cecc508368aa72c39250a787eed5f0a7082610518610348565b600054600160a060020a031681565b600054600160a060020a0316331461077f57600080fd5b610788816107ed565b50565b60008282111561079757fe5b508082035b92915050565b60008215156107b35750600061079c565b508181028183828115156107c357fe5b041461079c57fe5b600081838115156107d857fe5b049392505050565b8181018281101561079c57fe5b600160a060020a038116151561080257600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820ed59da05b704105bd3ef89142c9bfd81c5dfcf1087263cfa7cc6bd3f7c03eddf0029
Swarm Source
bzzr://ed59da05b704105bd3ef89142c9bfd81c5dfcf1087263cfa7cc6bd3f7c03eddf
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,385.6 | 216.2902 | $732,271.01 |
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.