Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 3,387 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Reinvest | 21256437 | 35 days ago | IN | 0 ETH | 0.0007979 | ||||
Withdraw | 20400859 | 155 days ago | IN | 0 ETH | 0.00038499 | ||||
Sell | 20400856 | 155 days ago | IN | 0 ETH | 0.00029608 | ||||
Withdraw | 19903704 | 224 days ago | IN | 0 ETH | 0.00076052 | ||||
Sell | 19903700 | 224 days ago | IN | 0 ETH | 0.00060325 | ||||
Withdraw | 19903690 | 224 days ago | IN | 0 ETH | 0.00105282 | ||||
Buy | 19295577 | 309 days ago | IN | 0 ETH | 0.00433076 | ||||
Withdraw | 19294161 | 310 days ago | IN | 0 ETH | 0.00270144 | ||||
Sell | 19294159 | 310 days ago | IN | 0 ETH | 0.00201069 | ||||
Withdraw | 19294157 | 310 days ago | IN | 0 ETH | 0.00391767 | ||||
Withdraw | 19073131 | 341 days ago | IN | 0 ETH | 0.00113503 | ||||
Sell | 19072423 | 341 days ago | IN | 0 ETH | 0.00090223 | ||||
Reinvest | 18982581 | 353 days ago | IN | 0 ETH | 0.00256192 | ||||
Buy | 18982536 | 353 days ago | IN | 0 ETH | 0.00293456 | ||||
Withdraw | 18119356 | 474 days ago | IN | 0 ETH | 0.00129071 | ||||
Sell | 18119352 | 474 days ago | IN | 0 ETH | 0.00088758 | ||||
Reinvest | 18010180 | 489 days ago | IN | 0 ETH | 0.00127725 | ||||
Buy | 18010177 | 489 days ago | IN | 0 ETH | 0.00125523 | ||||
Buy | 17263507 | 594 days ago | IN | 0 ETH | 0.00417611 | ||||
Reinvest | 16030226 | 767 days ago | IN | 0 ETH | 0.00136621 | ||||
Buy | 15952456 | 778 days ago | IN | 0 ETH | 0.00212649 | ||||
Reinvest | 15880652 | 788 days ago | IN | 0 ETH | 0.00099607 | ||||
Reinvest | 15879301 | 788 days ago | IN | 0 ETH | 0.00161835 | ||||
Buy | 15525678 | 838 days ago | IN | 0 ETH | 0.00101002 | ||||
Withdraw | 15521031 | 839 days ago | IN | 0 ETH | 0.00234847 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
BankrollNetworkStack
Compiler Version
v0.4.26+commit.4563c3fc
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-06-27 */ /* SPDX-License-Identifier: MIT A Bankteller Production Bankroll Network Copyright 2020 */ pragma solidity ^0.4.25; contract Token { function transferFrom(address from, address to, uint256 value) public returns (bool); function transfer(address to, uint256 value) public returns (bool); function balanceOf(address who) public view returns (uint256); } /* * @dev Life is a perpetual rewards contract the collects 9% fee for a dividend pool that drips 2% daily. * A 1% fee is used to buy back a specified ERC20/TRC20 token and distribute to LYF holders via a 2% drip */ contract BankrollNetworkStack { using SafeMath for uint; /*================================= = MODIFIERS = =================================*/ /// @dev Only people with tokens modifier onlyBagholders { require(myTokens() > 0); _; } /// @dev Only people with profits modifier onlyStronghands { require(myDividends() > 0); _; } /*============================== = EVENTS = ==============================*/ event onLeaderBoard( address indexed customerAddress, uint256 invested, uint256 tokens, uint256 soldTokens, uint timestamp ); event onTokenPurchase( address indexed customerAddress, uint256 incomingeth, uint256 tokensMinted, uint timestamp ); event onTokenSell( address indexed customerAddress, uint256 tokensBurned, uint256 ethEarned, uint timestamp ); event onReinvestment( address indexed customerAddress, uint256 ethReinvested, uint256 tokensMinted, uint timestamp ); event onWithdraw( address indexed customerAddress, uint256 ethWithdrawn, uint timestamp ); event onTransfer( address indexed from, address indexed to, uint256 tokens, uint timestamp ); event onBalance( uint256 balance, uint256 timestamp ); event onDonation( address indexed from, uint256 amount, uint timestamp ); // Onchain Stats!!! struct Stats { uint invested; uint reinvested; uint withdrawn; uint rewarded; uint contributed; uint transferredTokens; uint receivedTokens; uint xInvested; uint xReinvested; uint xRewarded; uint xContributed; uint xWithdrawn; uint xTransferredTokens; uint xReceivedTokens; } /*===================================== = CONFIGURABLES = =====================================*/ /// @dev 15% dividends for token purchase uint8 constant internal entryFee_ = 10; /// @dev 5% dividends for token selling uint8 constant internal exitFee_ = 10; uint8 constant internal dripFee = 80; //80% of fees go to drip, the rest to the Swap buyback uint8 constant payoutRate_ = 2; uint256 constant internal magnitude = 2 ** 64; /*================================= = DATASETS = ================================*/ // amount of shares for each address (scaled number) mapping(address => uint256) private tokenBalanceLedger_; mapping(address => int256) private payoutsTo_; mapping(address => Stats) private stats; //on chain referral tracking uint256 private tokenSupply_; uint256 private profitPerShare_; uint256 public totalDeposits; uint256 internal lastBalance_; uint public players; uint public totalTxs; uint public dividendBalance_; uint public lastPayout; uint public totalClaims; uint256 public balanceInterval = 6 hours; uint256 public distributionInterval = 2 seconds; address public tokenAddress; Token private token; /*======================================= = PUBLIC FUNCTIONS = =======================================*/ constructor(address _tokenAddress) public { tokenAddress = _tokenAddress; token = Token(_tokenAddress); lastPayout = now; } /// @dev This is how you pump pure "drip" dividends into the system function donatePool(uint amount) public returns (uint256) { require(token.transferFrom(msg.sender, address(this),amount)); dividendBalance_ += amount; emit onDonation(msg.sender, amount,now); } /// @dev Converts all incoming eth to tokens for the caller, and passes down the referral addy (if any) function buy(uint buy_amount) public returns (uint256) { return buyFor(msg.sender, buy_amount); } /// @dev Converts all incoming eth to tokens for the caller, and passes down the referral addy (if any) function buyFor(address _customerAddress, uint buy_amount) public returns (uint256) { require(token.transferFrom(_customerAddress, address(this), buy_amount)); totalDeposits += buy_amount; uint amount = purchaseTokens(_customerAddress, buy_amount); emit onLeaderBoard(_customerAddress, stats[_customerAddress].invested, tokenBalanceLedger_[_customerAddress], stats[_customerAddress].withdrawn, now ); //distribute distribute(); return amount; } /** * @dev Fallback function to return any TRX/ETH accidentally sent to the contract */ function() payable public { require(false); } /// @dev Converts all of caller's dividends to tokens. function reinvest() onlyStronghands public { // fetch dividends uint256 _dividends = myDividends(); // retrieve ref. bonus later in the code // pay out the dividends virtually address _customerAddress = msg.sender; payoutsTo_[_customerAddress] += (int256) (_dividends * magnitude); // dispatch a buy order with the virtualized "withdrawn dividends" uint256 _tokens = purchaseTokens(msg.sender, _dividends); // fire event emit onReinvestment(_customerAddress, _dividends, _tokens, now); //Stats stats[_customerAddress].reinvested = SafeMath.add(stats[_customerAddress].reinvested, _dividends); stats[_customerAddress].xReinvested += 1; emit onLeaderBoard(_customerAddress, stats[_customerAddress].invested, tokenBalanceLedger_[_customerAddress], stats[_customerAddress].withdrawn, now ); //distribute distribute(); } /// @dev Withdraws all of the callers earnings. function withdraw() onlyStronghands public { // setup data address _customerAddress = msg.sender; uint256 _dividends = myDividends(); // update dividend tracker payoutsTo_[_customerAddress] += (int256) (_dividends * magnitude); // lambo delivery service token.transfer(_customerAddress,_dividends); //stats stats[_customerAddress].withdrawn = SafeMath.add(stats[_customerAddress].withdrawn, _dividends); stats[_customerAddress].xWithdrawn += 1; totalTxs += 1; totalClaims += _dividends; // fire event emit onWithdraw(_customerAddress, _dividends, now); //distribute distribute(); } /// @dev Liquifies tokens to eth. function sell(uint256 _amountOfTokens) onlyBagholders public { // setup data address _customerAddress = msg.sender; require(_amountOfTokens <= tokenBalanceLedger_[_customerAddress]); // data setup uint256 _undividedDividends = SafeMath.mul(_amountOfTokens, exitFee_) / 100; uint256 _taxedeth = SafeMath.sub(_amountOfTokens, _undividedDividends); //drip and buybacks allocateFees(_undividedDividends); // burn the sold tokens tokenSupply_ = SafeMath.sub(tokenSupply_, _amountOfTokens); tokenBalanceLedger_[_customerAddress] = SafeMath.sub(tokenBalanceLedger_[_customerAddress], _amountOfTokens); // update dividends tracker int256 _updatedPayouts = (int256) (profitPerShare_ * _amountOfTokens + (_taxedeth * magnitude)); payoutsTo_[_customerAddress] -= _updatedPayouts; // fire event emit onTokenSell(_customerAddress, _amountOfTokens, _taxedeth, now); emit onLeaderBoard(_customerAddress, stats[_customerAddress].invested, tokenBalanceLedger_[_customerAddress], stats[_customerAddress].withdrawn, now ); //distribute distribute(); } /** * @dev Transfer tokens from the caller to a new holder. * Zero fees */ function transfer(address _toAddress, uint256 _amountOfTokens) onlyBagholders external returns (bool) { // setup address _customerAddress = msg.sender; // make sure we have the requested tokens require(_amountOfTokens <= tokenBalanceLedger_[_customerAddress]); // withdraw all outstanding dividends first if (myDividends() > 0) { withdraw(); } // exchange tokens tokenBalanceLedger_[_customerAddress] = SafeMath.sub(tokenBalanceLedger_[_customerAddress], _amountOfTokens); tokenBalanceLedger_[_toAddress] = SafeMath.add(tokenBalanceLedger_[_toAddress], _amountOfTokens); // update dividend trackers payoutsTo_[_customerAddress] -= (int256) (profitPerShare_ * _amountOfTokens); payoutsTo_[_toAddress] += (int256) (profitPerShare_ * _amountOfTokens); /* Members A player can be initialized by buying or receiving and we want to add the user ASAP */ if (stats[_toAddress].invested == 0 && stats[_toAddress].receivedTokens == 0) { players += 1; } //Stats stats[_customerAddress].xTransferredTokens += 1; stats[_customerAddress].transferredTokens += _amountOfTokens; stats[_toAddress].receivedTokens += _amountOfTokens; stats[_toAddress].xReceivedTokens += 1; totalTxs += 1; // fire event emit onTransfer(_customerAddress, _toAddress, _amountOfTokens,now); emit onLeaderBoard(_customerAddress, stats[_customerAddress].invested, tokenBalanceLedger_[_customerAddress], stats[_customerAddress].withdrawn, now ); emit onLeaderBoard(_toAddress, stats[_toAddress].invested, tokenBalanceLedger_[_toAddress], stats[_toAddress].withdrawn, now ); // ERC20 return true; } /*===================================== = HELPERS AND CALCULATORS = =====================================*/ /** * @dev Method to view the current eth stored in the contract */ function totalTokenBalance() public view returns (uint256) { return token.balanceOf(address(this)); } /// @dev Retrieve the total token supply. function totalSupply() public view returns (uint256) { return tokenSupply_; } /// @dev Retrieve the tokens owned by the caller. function myTokens() public view returns (uint256) { address _customerAddress = msg.sender; return balanceOf(_customerAddress); } /** * @dev Retrieve the dividends owned by the caller. */ function myDividends() public view returns (uint256) { address _customerAddress = msg.sender; return dividendsOf(_customerAddress); } /// @dev Retrieve the token balance of any single address. function balanceOf(address _customerAddress) public view returns (uint256) { return tokenBalanceLedger_[_customerAddress]; } /// @dev Retrieve the token balance of any single address. function tokenBalance(address _customerAddress) public view returns (uint256) { return _customerAddress.balance; } /// @dev Retrieve the dividend balance of any single address. function dividendsOf(address _customerAddress) public view returns (uint256) { return (uint256) ((int256) (profitPerShare_ * tokenBalanceLedger_[_customerAddress]) - payoutsTo_[_customerAddress]) / magnitude; } /// @dev Return the sell price of 1 individual token. function sellPrice() public pure returns (uint256) { uint256 _eth = 1e18; uint256 _dividends = SafeMath.div(SafeMath.mul(_eth, exitFee_), 100); uint256 _taxedeth = SafeMath.sub(_eth, _dividends); return _taxedeth; } /// @dev Return the buy price of 1 individual token. function buyPrice() public pure returns (uint256) { uint256 _eth = 1e18; uint256 _dividends = SafeMath.div(SafeMath.mul(_eth, entryFee_), 100); uint256 _taxedeth = SafeMath.add(_eth, _dividends); return _taxedeth; } /// @dev Function for the frontend to dynamically retrieve the price scaling of buy orders. function calculateTokensReceived(uint256 _ethToSpend) public pure returns (uint256) { uint256 _dividends = SafeMath.div(SafeMath.mul(_ethToSpend, entryFee_), 100); uint256 _taxedeth = SafeMath.sub(_ethToSpend, _dividends); uint256 _amountOfTokens = _taxedeth; return _amountOfTokens; } /// @dev Function for the frontend to dynamically retrieve the price scaling of sell orders. function calculateethReceived(uint256 _tokensToSell) public view returns (uint256) { require(_tokensToSell <= tokenSupply_); uint256 _eth = _tokensToSell; uint256 _dividends = SafeMath.div(SafeMath.mul(_eth, exitFee_), 100); uint256 _taxedeth = SafeMath.sub(_eth, _dividends); return _taxedeth; } /// @dev Stats of any single address function statsOf(address _customerAddress) public view returns (uint256[14] memory){ Stats memory s = stats[_customerAddress]; uint256[14] memory statArray = [s.invested, s.withdrawn, s.rewarded, s.contributed, s.transferredTokens, s.receivedTokens, s.xInvested, s.xRewarded, s.xContributed, s.xWithdrawn, s.xTransferredTokens, s.xReceivedTokens, s.reinvested, s.xReinvested]; return statArray; } function dailyEstimate(address _customerAddress) public view returns (uint256){ uint256 share = dividendBalance_.mul(payoutRate_).div(100); return (tokenSupply_ > 0) ? share.mul(tokenBalanceLedger_[_customerAddress]).div(tokenSupply_) : 0; } function allocateFees(uint fee) private { //Add to dividend drip pools dividendBalance_ += fee; } function distribute() private { if (now.safeSub(lastBalance_) > balanceInterval) { emit onBalance(totalTokenBalance(), now); lastBalance_ = now; } if (SafeMath.safeSub(now, lastPayout) > distributionInterval && tokenSupply_ > 0) { //A portion of the dividend is paid out according to the rate uint256 share = dividendBalance_.mul(payoutRate_).div(100).div(24 hours); //divide the profit by seconds in the day uint256 profit = share * now.safeSub(lastPayout); //share times the amount of time elapsed dividendBalance_ = dividendBalance_.safeSub(profit); //Apply divs profitPerShare_ = SafeMath.add(profitPerShare_, (profit * magnitude) / tokenSupply_); lastPayout = now; } } /*========================================== = INTERNAL FUNCTIONS = ==========================================*/ /// @dev Internal function to actually purchase the tokens. function purchaseTokens(address _customerAddress, uint256 _incomingeth) internal returns (uint256) { /* Members */ if (stats[_customerAddress].invested == 0 && stats[_customerAddress].receivedTokens == 0) { players += 1; } totalTxs += 1; // data setup uint256 _undividedDividends = SafeMath.mul(_incomingeth, entryFee_) / 100; uint256 _amountOfTokens = SafeMath.sub(_incomingeth, _undividedDividends); //drip and buybacks allocateFees(_undividedDividends); // fire event emit onTokenPurchase(_customerAddress, _incomingeth, _amountOfTokens, now); // yes we know that the safemath function automatically rules out the "greater then" equation. require(_amountOfTokens > 0 && SafeMath.add(_amountOfTokens, tokenSupply_) > tokenSupply_); // we can't give people infinite eth if (tokenSupply_ > 0) { // add tokens to the pool tokenSupply_ += _amountOfTokens; } else { // add tokens to the pool tokenSupply_ = _amountOfTokens; } // update circulating supply & the ledger address for the customer tokenBalanceLedger_[_customerAddress] = SafeMath.add(tokenBalanceLedger_[_customerAddress], _amountOfTokens); // Tells the contract that the buyer doesn't deserve dividends for the tokens before they owned them; // really i know you think you do but you don't int256 _updatedPayouts = (int256) (profitPerShare_ * _amountOfTokens); payoutsTo_[_customerAddress] += _updatedPayouts; //Stats stats[_customerAddress].invested += _incomingeth; stats[_customerAddress].xInvested += 1; return _amountOfTokens; } } /** * @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 Subtracts two numbers, else returns zero */ function safeSub(uint a, uint b) internal pure returns (uint) { if (b > a) { return 0; } else { 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; } function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[{"name":"_customerAddress","type":"address"}],"name":"dividendsOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_customerAddress","type":"address"},{"name":"buy_amount","type":"uint256"}],"name":"buyFor","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_ethToSpend","type":"uint256"}],"name":"calculateTokensReceived","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"_customerAddress","type":"address"}],"name":"statsOf","outputs":[{"name":"","type":"uint256[14]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"myDividends","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalTokenBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalClaims","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"sellPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"totalTxs","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_customerAddress","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"distributionInterval","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalDeposits","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"buyPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"_tokensToSell","type":"uint256"}],"name":"calculateethReceived","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"myTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokenAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_toAddress","type":"address"},{"name":"_amountOfTokens","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"lastPayout","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"dividendBalance_","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"buy_amount","type":"uint256"}],"name":"buy","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"players","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_amountOfTokens","type":"uint256"}],"name":"sell","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_customerAddress","type":"address"}],"name":"tokenBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"donatePool","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_customerAddress","type":"address"}],"name":"dailyEstimate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"balanceInterval","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"reinvest","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_tokenAddress","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"invested","type":"uint256"},{"indexed":false,"name":"tokens","type":"uint256"},{"indexed":false,"name":"soldTokens","type":"uint256"},{"indexed":false,"name":"timestamp","type":"uint256"}],"name":"onLeaderBoard","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"incomingeth","type":"uint256"},{"indexed":false,"name":"tokensMinted","type":"uint256"},{"indexed":false,"name":"timestamp","type":"uint256"}],"name":"onTokenPurchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"tokensBurned","type":"uint256"},{"indexed":false,"name":"ethEarned","type":"uint256"},{"indexed":false,"name":"timestamp","type":"uint256"}],"name":"onTokenSell","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"ethReinvested","type":"uint256"},{"indexed":false,"name":"tokensMinted","type":"uint256"},{"indexed":false,"name":"timestamp","type":"uint256"}],"name":"onReinvestment","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"ethWithdrawn","type":"uint256"},{"indexed":false,"name":"timestamp","type":"uint256"}],"name":"onWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"},{"indexed":false,"name":"timestamp","type":"uint256"}],"name":"onTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"balance","type":"uint256"},{"indexed":false,"name":"timestamp","type":"uint256"}],"name":"onBalance","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"timestamp","type":"uint256"}],"name":"onDonation","type":"event"}]
Contract Creation Code
6080604052615460600c556002600d5534801561001b57600080fd5b506040516020806116378339810160405251600e8054600160a060020a03909216600160a060020a03199283168117909155600f805490921617905542600a556115cd8061006a6000396000f3006080604052600436106101735763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b811461017a57806306501a6a146101ad57806310d0ffdd146101d157806315cfc405146101e957806318160ddd146102435780633151ecfc146102585780633ccfd60b1461026d5780633d4b2c2c1461028257806341c61383146102975780634b750334146102ac578063537a39bb146102c157806370a08231146102d657806371201a0e146102f75780637d8820971461030c5780638620410b146103215780638dd4b8ad14610336578063949e8acd1461034e5780639d76ea5814610363578063a9059cbb14610394578063b9db102a146103cc578063ca3ea930146103e1578063d96a094a146103f6578063dc0b35641461040e578063e4849b3214610423578063eedc966a1461043b578063f4d980581461045c578063fbaf1bbd14610474578063fc439f7714610495578063fdb5a03e146104aa575b600080fd5b005b34801561018657600080fd5b5061019b600160a060020a03600435166104bf565b60408051918252519081900360200190f35b3480156101b957600080fd5b5061019b600160a060020a03600435166024356104f9565b3480156101dd57600080fd5b5061019b600435610626565b3480156101f557600080fd5b5061020a600160a060020a0360043516610655565b60405180826101c080838360005b83811015610230578181015183820152602001610218565b5050505090500191505060405180910390f35b34801561024f57600080fd5b5061019b6107d6565b34801561026457600080fd5b5061019b6107dc565b34801561027957600080fd5b506101786107ee565b34801561028e57600080fd5b5061019b61097e565b3480156102a357600080fd5b5061019b610a14565b3480156102b857600080fd5b5061019b610a1a565b3480156102cd57600080fd5b5061019b610a49565b3480156102e257600080fd5b5061019b600160a060020a0360043516610a4f565b34801561030357600080fd5b5061019b610a6a565b34801561031857600080fd5b5061019b610a70565b34801561032d57600080fd5b5061019b610a76565b34801561034257600080fd5b5061019b600435610a9d565b34801561035a57600080fd5b5061019b610ad1565b34801561036f57600080fd5b50610378610add565b60408051600160a060020a039092168252519081900360200190f35b3480156103a057600080fd5b506103b8600160a060020a0360043516602435610aec565b604080519115158252519081900360200190f35b3480156103d857600080fd5b5061019b610d66565b3480156103ed57600080fd5b5061019b610d6c565b34801561040257600080fd5b5061019b600435610d72565b34801561041a57600080fd5b5061019b610d84565b34801561042f57600080fd5b50610178600435610d8a565b34801561044757600080fd5b5061019b600160a060020a0360043516610f0e565b34801561046857600080fd5b5061019b600435610f1b565b34801561048057600080fd5b5061019b600160a060020a036004351661100a565b3480156104a157600080fd5b5061019b61107c565b3480156104b657600080fd5b50610178611082565b600160a060020a03166000908152600160209081526040808320549183905290912054600454680100000000000000009102919091030490565b600f54604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038581166004830152306024830152604482018590529151600093849316916323b872dd91606480830192602092919082900301818787803b15801561056f57600080fd5b505af1158015610583573d6000803e3d6000fd5b505050506040513d602081101561059957600080fd5b505115156105a657600080fd5b60058054840190556105b884846111c9565b600160a060020a038516600081815260026020818152604080842080548584529482902054848452930154815194855291840192909252828201524260608301525192935090916000805160206115828339815191529181900360800190a261061f61135e565b9392505050565b600080808061064061063986600a61146e565b6064611497565b925061064c85846114ac565b95945050505050565b61065d6114f1565b610665611511565b61066d6114f1565b6002600085600160a060020a0316600160a060020a031681526020019081526020016000206101c0604051908101604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820154815260200160098201548152602001600a8201548152602001600b8201548152602001600c8201548152602001600d8201548152505091506101c060405190810160405280836000015181526020018360400151815260200183606001518152602001836080015181526020018360a0015181526020018360c0015181526020018360e0015181526020018361012001518152602001836101400151815260200183610160015181526020018361018001518152602001836101a0015181526020018360200151815260200183610100015181525090508092505050919050565b60035490565b6000336107e8816104bf565b91505090565b60008060006107fb6107dc565b1161080557600080fd5b3391506108106107dc565b600160a060020a0380841660008181526001602090815260408083208054680100000000000000008802019055600f5481517fa9059cbb00000000000000000000000000000000000000000000000000000000815260048101959095526024850187905290519596509093169363a9059cbb936044808501949193918390030190829087803b1580156108a257600080fd5b505af11580156108b6573d6000803e3d6000fd5b505050506040513d60208110156108cc57600080fd5b5050600160a060020a038216600090815260026020819052604090912001546108f590826114be565b600160a060020a03831660008181526002602081815260409283902091820194909455600b9081018054600190810190915560088054909101905580548501905580518481524293810193909352805191927f1b091269e929df55d64d6ea7e9cadbe4fb38dce5ccdc995767bc515030dbfbbf929081900390910190a261097a61135e565b5050565b600f54604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600092600160a060020a0316916370a0823191602480830192602092919082900301818787803b1580156109e357600080fd5b505af11580156109f7573d6000803e3d6000fd5b505050506040513d6020811015610a0d57600080fd5b5051905090565b600b5481565b6000670de0b6b3a76400008180610a3561063984600a61146e565b9150610a4183836114ac565b949350505050565b60085481565b600160a060020a031660009081526020819052604090205490565b600d5481565b60055481565b6000670de0b6b3a76400008180610a9161063984600a61146e565b9150610a4183836114be565b6000806000806003548511151515610ab457600080fd5b849250610ac561063984600a61146e565b915061064c83836114ac565b6000336107e881610a4f565b600e54600160a060020a031681565b6000806000610af9610ad1565b11610b0357600080fd5b5033600081815260208190526040902054831115610b2057600080fd5b6000610b2a6107dc565b1115610b3857610b386107ee565b600160a060020a038116600090815260208190526040902054610b5b90846114ac565b600160a060020a038083166000908152602081905260408082209390935590861681522054610b8a90846114be565b600160a060020a0385811660008181526020818152604080832095909555600480549487168352600182528583208054958a029095039094559254918152838120805492880290920190915560029091522054158015610c035750600160a060020a038416600090815260026020526040902060060154155b15610c12576007805460010190555b600160a060020a038082166000818152600260209081526040808320600c810180546001908101909155600590910180548a019055948916808452928190206006810180548a019055600d018054860190556008805490950190945583518781524291810191909152835191937f91c7d71a3ae3fb7cf61e00517bf4868e9e23d0bace5e304cbc3b68de5d85350e92918290030190a3600160a060020a03811660008181526002602081815260408084208054858452948290205484845293015481519485529184019290925282820152426060830152516000805160206115828339815191529181900360800190a2600160a060020a03841660008181526002602081815260408084208054858452948290205484845293015481519485529184019290925282820152426060830152516000805160206115828339815191529181900360800190a25060019392505050565b600a5481565b60095481565b6000610d7e33836104f9565b92915050565b60075481565b6000806000806000610d9a610ad1565b11610da457600080fd5b33600081815260208190526040902054909450851115610dc357600080fd5b6064610dd086600a61146e565b811515610dd957fe5b049250610de685846114ac565b9150610df1836114cb565b610dfd600354866114ac565b600355600160a060020a038416600090815260208190526040902054610e2390866114ac565b600160a060020a0385166000818152602081815260408083209490945560045460018252918490208054928a026801000000000000000088020192839003905583518981529081018690524281850152925190935090917f723391258f051422e0be75f0bbcc5c94947b440ae6162c87b3efb5fecde315e5919081900360600190a2600160a060020a03841660008181526002602081815260408084208054858452948290205484845293015481519485529184019290925282820152426060830152516000805160206115828339815191529181900360800190a2610f0761135e565b5050505050565b600160a060020a03163190565b600f54604080517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018490529051600092600160a060020a0316916323b872dd91606480830192602092919082900301818787803b158015610f8d57600080fd5b505af1158015610fa1573d6000803e3d6000fd5b505050506040513d6020811015610fb757600080fd5b50511515610fc457600080fd5b600980548301905560408051838152426020820152815133927f73cd5c58cef87bb4066d9a2323ff8623db2025f5df3e71fc9f8dd410d69f31a3928290030190a2919050565b600080611037606461102b600260ff1660095461146e90919063ffffffff16565b9063ffffffff61149716565b905060006003541161104a57600061061f565b600354600160a060020a03841660009081526020819052604090205461061f919061102b90849063ffffffff61146e16565b600c5481565b6000806000806110906107dc565b1161109a57600080fd5b6110a26107dc565b336000818152600160205260409020805468010000000000000000840201905590935091506110d182846111c9565b604080518581526020810183905242818301529051919250600160a060020a038416917f17aaea3d55ba445f06d158973e18525f80eafebc9d74964ae85b9c3681021b329181900360600190a2600160a060020a03821660009081526002602052604090206001015461114490846114be565b600160a060020a03831660008181526002602081815260408084206001808201979097556008810180549097019096558554848352938190205483835295909201548251938452908301949094528181019390935242606082015291519091600080516020611582833981519152919081900360800190a26111c461135e565b505050565b600160a060020a03821660009081526002602052604081205481908190819015801561120e5750600160a060020a038616600090815260026020526040902060060154155b1561121d576007805460010190555b600880546001019055606461123386600a61146e565b81151561123c57fe5b04925061124985846114ac565b9150611254836114cb565b604080518681526020810184905242818301529051600160a060020a038816917f810900bb33e423094372279f779b623ab22b73472a8a91fce3c018129c205019919081900360600190a26000821180156112b957506003546112b783826114be565b115b15156112c457600080fd5b600060035411156112dc5760038054830190556112e2565b60038290555b600160a060020a03861660009081526020819052604090205461130590836114be565b600160a060020a0396909616600090815260208181526040808320989098556004546001808352898420805492870290920190915560029091529690208054959095018555506007909301805490940190935550919050565b600080600c54611379600654426114d690919063ffffffff16565b11156113c3577fa14e3b1c1ae7cf637a6a97eacba61965eaf456b6994afc09a2097bdf7da639816113a861097e565b604080519182524260208301528051918290030190a1426006555b600d546113d242600a546114d6565b1180156113e157506000600354115b1561097a5761140b6201518061102b606461102b600260ff1660095461146e90919063ffffffff16565b9150611422600a54426114d690919063ffffffff16565b600954908302915061143a908263ffffffff6114d616565b600955600454600354611463919068010000000000000000840281151561145d57fe5b046114be565b60045542600a555050565b600082151561147f57506000610d7e565b5081810281838281151561148f57fe5b0414610d7e57fe5b600081838115156114a457fe5b049392505050565b6000828211156114b857fe5b50900390565b81810182811015610d7e57fe5b600980549091019055565b6000828211156114e857506000610d7e565b50808203610d7e565b6101c060405190810160405280600e906020820280388339509192915050565b6101c060405190810160405280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815250905600a1f02c754056a0800f9d81f943b5136b52f3b5bbde1ae99c6935adb95b54271aa165627a7a72305820ab8c238359884e1e142570d4d3cbc933afdae4166b981959ef6c305fb00e486400290000000000000000000000006b785a0322126826d8226d77e173d75dafb84d11
Deployed Bytecode
0x6080604052600436106101735763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b811461017a57806306501a6a146101ad57806310d0ffdd146101d157806315cfc405146101e957806318160ddd146102435780633151ecfc146102585780633ccfd60b1461026d5780633d4b2c2c1461028257806341c61383146102975780634b750334146102ac578063537a39bb146102c157806370a08231146102d657806371201a0e146102f75780637d8820971461030c5780638620410b146103215780638dd4b8ad14610336578063949e8acd1461034e5780639d76ea5814610363578063a9059cbb14610394578063b9db102a146103cc578063ca3ea930146103e1578063d96a094a146103f6578063dc0b35641461040e578063e4849b3214610423578063eedc966a1461043b578063f4d980581461045c578063fbaf1bbd14610474578063fc439f7714610495578063fdb5a03e146104aa575b600080fd5b005b34801561018657600080fd5b5061019b600160a060020a03600435166104bf565b60408051918252519081900360200190f35b3480156101b957600080fd5b5061019b600160a060020a03600435166024356104f9565b3480156101dd57600080fd5b5061019b600435610626565b3480156101f557600080fd5b5061020a600160a060020a0360043516610655565b60405180826101c080838360005b83811015610230578181015183820152602001610218565b5050505090500191505060405180910390f35b34801561024f57600080fd5b5061019b6107d6565b34801561026457600080fd5b5061019b6107dc565b34801561027957600080fd5b506101786107ee565b34801561028e57600080fd5b5061019b61097e565b3480156102a357600080fd5b5061019b610a14565b3480156102b857600080fd5b5061019b610a1a565b3480156102cd57600080fd5b5061019b610a49565b3480156102e257600080fd5b5061019b600160a060020a0360043516610a4f565b34801561030357600080fd5b5061019b610a6a565b34801561031857600080fd5b5061019b610a70565b34801561032d57600080fd5b5061019b610a76565b34801561034257600080fd5b5061019b600435610a9d565b34801561035a57600080fd5b5061019b610ad1565b34801561036f57600080fd5b50610378610add565b60408051600160a060020a039092168252519081900360200190f35b3480156103a057600080fd5b506103b8600160a060020a0360043516602435610aec565b604080519115158252519081900360200190f35b3480156103d857600080fd5b5061019b610d66565b3480156103ed57600080fd5b5061019b610d6c565b34801561040257600080fd5b5061019b600435610d72565b34801561041a57600080fd5b5061019b610d84565b34801561042f57600080fd5b50610178600435610d8a565b34801561044757600080fd5b5061019b600160a060020a0360043516610f0e565b34801561046857600080fd5b5061019b600435610f1b565b34801561048057600080fd5b5061019b600160a060020a036004351661100a565b3480156104a157600080fd5b5061019b61107c565b3480156104b657600080fd5b50610178611082565b600160a060020a03166000908152600160209081526040808320549183905290912054600454680100000000000000009102919091030490565b600f54604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038581166004830152306024830152604482018590529151600093849316916323b872dd91606480830192602092919082900301818787803b15801561056f57600080fd5b505af1158015610583573d6000803e3d6000fd5b505050506040513d602081101561059957600080fd5b505115156105a657600080fd5b60058054840190556105b884846111c9565b600160a060020a038516600081815260026020818152604080842080548584529482902054848452930154815194855291840192909252828201524260608301525192935090916000805160206115828339815191529181900360800190a261061f61135e565b9392505050565b600080808061064061063986600a61146e565b6064611497565b925061064c85846114ac565b95945050505050565b61065d6114f1565b610665611511565b61066d6114f1565b6002600085600160a060020a0316600160a060020a031681526020019081526020016000206101c0604051908101604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820154815260200160098201548152602001600a8201548152602001600b8201548152602001600c8201548152602001600d8201548152505091506101c060405190810160405280836000015181526020018360400151815260200183606001518152602001836080015181526020018360a0015181526020018360c0015181526020018360e0015181526020018361012001518152602001836101400151815260200183610160015181526020018361018001518152602001836101a0015181526020018360200151815260200183610100015181525090508092505050919050565b60035490565b6000336107e8816104bf565b91505090565b60008060006107fb6107dc565b1161080557600080fd5b3391506108106107dc565b600160a060020a0380841660008181526001602090815260408083208054680100000000000000008802019055600f5481517fa9059cbb00000000000000000000000000000000000000000000000000000000815260048101959095526024850187905290519596509093169363a9059cbb936044808501949193918390030190829087803b1580156108a257600080fd5b505af11580156108b6573d6000803e3d6000fd5b505050506040513d60208110156108cc57600080fd5b5050600160a060020a038216600090815260026020819052604090912001546108f590826114be565b600160a060020a03831660008181526002602081815260409283902091820194909455600b9081018054600190810190915560088054909101905580548501905580518481524293810193909352805191927f1b091269e929df55d64d6ea7e9cadbe4fb38dce5ccdc995767bc515030dbfbbf929081900390910190a261097a61135e565b5050565b600f54604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600092600160a060020a0316916370a0823191602480830192602092919082900301818787803b1580156109e357600080fd5b505af11580156109f7573d6000803e3d6000fd5b505050506040513d6020811015610a0d57600080fd5b5051905090565b600b5481565b6000670de0b6b3a76400008180610a3561063984600a61146e565b9150610a4183836114ac565b949350505050565b60085481565b600160a060020a031660009081526020819052604090205490565b600d5481565b60055481565b6000670de0b6b3a76400008180610a9161063984600a61146e565b9150610a4183836114be565b6000806000806003548511151515610ab457600080fd5b849250610ac561063984600a61146e565b915061064c83836114ac565b6000336107e881610a4f565b600e54600160a060020a031681565b6000806000610af9610ad1565b11610b0357600080fd5b5033600081815260208190526040902054831115610b2057600080fd5b6000610b2a6107dc565b1115610b3857610b386107ee565b600160a060020a038116600090815260208190526040902054610b5b90846114ac565b600160a060020a038083166000908152602081905260408082209390935590861681522054610b8a90846114be565b600160a060020a0385811660008181526020818152604080832095909555600480549487168352600182528583208054958a029095039094559254918152838120805492880290920190915560029091522054158015610c035750600160a060020a038416600090815260026020526040902060060154155b15610c12576007805460010190555b600160a060020a038082166000818152600260209081526040808320600c810180546001908101909155600590910180548a019055948916808452928190206006810180548a019055600d018054860190556008805490950190945583518781524291810191909152835191937f91c7d71a3ae3fb7cf61e00517bf4868e9e23d0bace5e304cbc3b68de5d85350e92918290030190a3600160a060020a03811660008181526002602081815260408084208054858452948290205484845293015481519485529184019290925282820152426060830152516000805160206115828339815191529181900360800190a2600160a060020a03841660008181526002602081815260408084208054858452948290205484845293015481519485529184019290925282820152426060830152516000805160206115828339815191529181900360800190a25060019392505050565b600a5481565b60095481565b6000610d7e33836104f9565b92915050565b60075481565b6000806000806000610d9a610ad1565b11610da457600080fd5b33600081815260208190526040902054909450851115610dc357600080fd5b6064610dd086600a61146e565b811515610dd957fe5b049250610de685846114ac565b9150610df1836114cb565b610dfd600354866114ac565b600355600160a060020a038416600090815260208190526040902054610e2390866114ac565b600160a060020a0385166000818152602081815260408083209490945560045460018252918490208054928a026801000000000000000088020192839003905583518981529081018690524281850152925190935090917f723391258f051422e0be75f0bbcc5c94947b440ae6162c87b3efb5fecde315e5919081900360600190a2600160a060020a03841660008181526002602081815260408084208054858452948290205484845293015481519485529184019290925282820152426060830152516000805160206115828339815191529181900360800190a2610f0761135e565b5050505050565b600160a060020a03163190565b600f54604080517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018490529051600092600160a060020a0316916323b872dd91606480830192602092919082900301818787803b158015610f8d57600080fd5b505af1158015610fa1573d6000803e3d6000fd5b505050506040513d6020811015610fb757600080fd5b50511515610fc457600080fd5b600980548301905560408051838152426020820152815133927f73cd5c58cef87bb4066d9a2323ff8623db2025f5df3e71fc9f8dd410d69f31a3928290030190a2919050565b600080611037606461102b600260ff1660095461146e90919063ffffffff16565b9063ffffffff61149716565b905060006003541161104a57600061061f565b600354600160a060020a03841660009081526020819052604090205461061f919061102b90849063ffffffff61146e16565b600c5481565b6000806000806110906107dc565b1161109a57600080fd5b6110a26107dc565b336000818152600160205260409020805468010000000000000000840201905590935091506110d182846111c9565b604080518581526020810183905242818301529051919250600160a060020a038416917f17aaea3d55ba445f06d158973e18525f80eafebc9d74964ae85b9c3681021b329181900360600190a2600160a060020a03821660009081526002602052604090206001015461114490846114be565b600160a060020a03831660008181526002602081815260408084206001808201979097556008810180549097019096558554848352938190205483835295909201548251938452908301949094528181019390935242606082015291519091600080516020611582833981519152919081900360800190a26111c461135e565b505050565b600160a060020a03821660009081526002602052604081205481908190819015801561120e5750600160a060020a038616600090815260026020526040902060060154155b1561121d576007805460010190555b600880546001019055606461123386600a61146e565b81151561123c57fe5b04925061124985846114ac565b9150611254836114cb565b604080518681526020810184905242818301529051600160a060020a038816917f810900bb33e423094372279f779b623ab22b73472a8a91fce3c018129c205019919081900360600190a26000821180156112b957506003546112b783826114be565b115b15156112c457600080fd5b600060035411156112dc5760038054830190556112e2565b60038290555b600160a060020a03861660009081526020819052604090205461130590836114be565b600160a060020a0396909616600090815260208181526040808320989098556004546001808352898420805492870290920190915560029091529690208054959095018555506007909301805490940190935550919050565b600080600c54611379600654426114d690919063ffffffff16565b11156113c3577fa14e3b1c1ae7cf637a6a97eacba61965eaf456b6994afc09a2097bdf7da639816113a861097e565b604080519182524260208301528051918290030190a1426006555b600d546113d242600a546114d6565b1180156113e157506000600354115b1561097a5761140b6201518061102b606461102b600260ff1660095461146e90919063ffffffff16565b9150611422600a54426114d690919063ffffffff16565b600954908302915061143a908263ffffffff6114d616565b600955600454600354611463919068010000000000000000840281151561145d57fe5b046114be565b60045542600a555050565b600082151561147f57506000610d7e565b5081810281838281151561148f57fe5b0414610d7e57fe5b600081838115156114a457fe5b049392505050565b6000828211156114b857fe5b50900390565b81810182811015610d7e57fe5b600980549091019055565b6000828211156114e857506000610d7e565b50808203610d7e565b6101c060405190810160405280600e906020820280388339509192915050565b6101c060405190810160405280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815250905600a1f02c754056a0800f9d81f943b5136b52f3b5bbde1ae99c6935adb95b54271aa165627a7a72305820ab8c238359884e1e142570d4d3cbc933afdae4166b981959ef6c305fb00e48640029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000006b785a0322126826d8226d77e173d75dafb84d11
-----Decoded View---------------
Arg [0] : _tokenAddress (address): 0x6b785a0322126826d8226d77e173d75DAfb84d11
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000006b785a0322126826d8226d77e173d75dafb84d11
Deployed Bytecode Sourcemap
630:17626:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5847:14;;;;630:17626;12657:224;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;12657:224:0;-1:-1:-1;;;;;12657:224:0;;;;;;;;;;;;;;;;;;;;;5111:580;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;5111:580:0;-1:-1:-1;;;;;5111:580:0;;;;;;;13641:328;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;13641:328:0;;;;;14473:428;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;14473:428:0;-1:-1:-1;;;;;14473:428:0;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;14473:428:0;;;;;;;;;;;;;;;;11628:91;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11628:91:0;;;;12016:156;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12016:156:0;;;;7035:742;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7035:742:0;;;;11458:115;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11458:115:0;;;;3946:23;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3946:23:0;;;;12950:260;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12950:260:0;;;;3855:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3855:20:0;;;;12244:138;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;12244:138:0;-1:-1:-1;;;;;12244:138:0;;;;;4025:47;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4025:47:0;;;;3756:28;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3756:28:0;;;;13276:260;;8:9:-1;5:2;;;30:1;27;20:12;5:2;13276:260:0;;;;14075:346;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;14075:346:0;;;;;11782:151;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11782:151:0;;;;4081:27;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4081:27:0;;;;;;;;-1:-1:-1;;;;;4081:27:0;;;;;;;;;;;;;;9217:2009;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;9217:2009:0;-1:-1:-1;;;;;9217:2009:0;;;;;;;;;;;;;;;;;;;;;;;;;3917:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3917:22:0;;;;3882:28;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3882:28:0;;;;4880:112;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4880:112:0;;;;;3829:19;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3829:19:0;;;;7826:1287;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;7826:1287:0;;;;;12454:128;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;12454:128:0;-1:-1:-1;;;;;12454:128:0;;;;;4534:229;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4534:229:0;;;;;14911:266;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;14911:266:0;-1:-1:-1;;;;;14911:266:0;;;;;3978:40;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3978:40:0;;;;5937:1037;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5937:1037:0;;;;12657:224;-1:-1:-1;;;;;12832:28:0;12725:7;12832:28;;;:10;:28;;;;;;;;;12791:37;;;;;;;;12773:15;;3290:7;12773:55;;12763:97;;;;12752:121;;12657:224::o;5111:580::-;5215:5;;:63;;;;;;-1:-1:-1;;;;;5215:63:0;;;;;;;5260:4;5215:63;;;;;;;;;;;;5186:7;;;;5215:5;;:18;;:63;;;;;;;;;;;;;;5186:7;5215:5;:63;;;5:2:-1;;;;30:1;27;20:12;5:2;5215:63:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5215:63:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5215:63:0;5207:72;;;;;;;;5290:13;:27;;;;;;5342:44;5357:16;5307:10;5342:14;:44::i;:::-;-1:-1:-1;;;;;5404:206:0;;5449:23;;;;:5;:23;;;;;;;;:32;;5496:37;;;;;;;;5548:23;;;:33;;;5404:206;;;;;;;;;;;;;;;;5596:3;5404:206;;;;;5328:58;;-1:-1:-1;5404:206:0;;-1:-1:-1;;;;;;;;;;;5404:206:0;;;;;;;;5645:12;:10;:12::i;:::-;5677:6;5111:580;-1:-1:-1;;;5111:580:0:o;13641:328::-;13716:7;;;;13757:55;13770:36;13783:11;3008:2;13770:12;:36::i;:::-;13808:3;13757:12;:55::i;:::-;13736:76;;13843:37;13856:11;13869:10;13843:12;:37::i;:::-;13823:57;13641:328;-1:-1:-1;;;;;13641:328:0:o;14473:428::-;14537:11;;:::i;:::-;14567:14;;:::i;:::-;14618:28;;:::i;:::-;14584:5;:23;14590:16;-1:-1:-1;;;;;14584:23:0;-1:-1:-1;;;;;14584:23:0;;;;;;;;;;;;14567:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14618:248;;;;;;;;;14650:1;:10;;;14618:248;;;;14662:1;:11;;;14618:248;;;;14675:1;:10;;;14618:248;;;;14687:1;:13;;;14618:248;;;;14702:1;:19;;;14618:248;;;;14723:1;:16;;;14618:248;;;;14741:1;:11;;;14618:248;;;;14754:1;:11;;;14618:248;;;;14767:1;:14;;;14618:248;;;;14783:1;:12;;;14618:248;;;;14797:1;:20;;;14618:248;;;;14819:1;:17;;;14618:248;;;;14838:1;:12;;;14618:248;;;;14852:1;:13;;;14618:248;;;;;14884:9;14877:16;;14473:428;;;;;:::o;11628:91::-;11699:12;;11628:91;:::o;12016:156::-;12060:7;12107:10;12135:29;12107:10;12135:11;:29::i;:::-;12128:36;;12016:156;;:::o;7035:742::-;7112:24;7160:18;1050:1;1034:13;:11;:13::i;:::-;:17;1026:26;;;;;;7139:10;7112:37;;7181:13;:11;:13::i;:::-;-1:-1:-1;;;;;7243:28:0;;;;;;;:10;:28;;;;;;;;:65;;3290:7;7285:22;;7243:65;;;7358:5;;:43;;;;;;;;;;;;;;;;;;;;7160:34;;-1:-1:-1;7358:5:0;;;;:14;;:43;;;;;7243:28;;7358:43;;;;;;;;:5;:43;;;5:2:-1;;;;30:1;27;20:12;5:2;7358:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;7358:43:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;;7480:23:0;;;;;;:5;7358:43;7480:23;;;;;;;:33;;7467:59;;7515:10;7467:12;:59::i;:::-;-1:-1:-1;;;;;7431:23:0;;;;;;:5;:23;;;;;;;;;:33;;;:95;;;;7537:34;;;;:39;;7575:1;7537:39;;;;;;7587:8;:13;;;;;;;7611:25;;;;;;7677:45;;;;;7718:3;7677:45;;;;;;;;;7431:23;;7677:45;;;;;;;;;;;7757:12;:10;:12::i;:::-;7035:742;;:::o;11458:115::-;11535:5;;:30;;;;;;11559:4;11535:30;;;;;;11508:7;;-1:-1:-1;;;;;11535:5:0;;:15;;:30;;;;;;;;;;;;;;11508:7;11535:5;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;11535:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11535:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11535:30:0;;-1:-1:-1;11458:115:0;:::o;3946:23::-;;;;:::o;12950:260::-;12992:7;13027:4;12992:7;;13063:47;13076:28;13027:4;3101:2;13076:12;:28::i;13063:47::-;13042:68;;13141:30;13154:4;13160:10;13141:12;:30::i;:::-;13121:50;12950:260;-1:-1:-1;;;;12950:260:0:o;3855:20::-;;;;:::o;12244:138::-;-1:-1:-1;;;;;12337:37:0;12310:7;12337:37;;;;;;;;;;;;12244:138::o;4025:47::-;;;;:::o;3756:28::-;;;;:::o;13276:260::-;13317:7;13352:4;13317:7;;13388:48;13401:29;13352:4;3008:2;13401:12;:29::i;13388:48::-;13367:69;;13467:30;13480:4;13486:10;13467:12;:30::i;14075:346::-;14149:7;14218:12;14257:18;14336:17;14194:12;;14177:13;:29;;14169:38;;;;;;;;14233:13;;-1:-1:-1;14278:47:0;14291:28;14233:13;3101:2;14291:12;:28::i;14278:47::-;14257:68;;14356:30;14369:4;14375:10;14356:12;:30::i;11782:151::-;11823:7;11870:10;11898:27;11870:10;11898:9;:27::i;4081:::-;;;-1:-1:-1;;;;;4081:27:0;;:::o;9217:2009::-;9313:4;9348:24;921:1;908:10;:8;:10::i;:::-;:14;900:23;;;;;;-1:-1:-1;9375:10:0;9476:19;:37;;;;;;;;;;;9457:56;;;9449:65;;;;;;9600:1;9584:13;:11;:13::i;:::-;:17;9580:60;;;9618:10;:8;:10::i;:::-;-1:-1:-1;;;;;9735:37:0;;:19;:37;;;;;;;;;;;9722:68;;9774:15;9722:12;:68::i;:::-;-1:-1:-1;;;;;9682:37:0;;;:19;:37;;;;;;;;;;;:108;;;;9848:31;;;;;;;9835:62;;9881:15;9835:12;:62::i;:::-;-1:-1:-1;;;;;9801:31:0;;;:19;:31;;;;;;;;;;;:96;;;;9989:15;;;9947:28;;;;;:10;:28;;;;;:76;;9989:33;;;9947:76;;;;;;10070:15;;10034:22;;;;;;:70;;10070:33;;;10034:70;;;;;;10255:5;:17;;;;:26;:31;:72;;;;-1:-1:-1;;;;;;10290:17:0;;;;;;:5;:17;;;;;:32;;;:37;10255:72;10251:117;;;10344:7;:12;;10355:1;10344:12;;;10251:117;-1:-1:-1;;;;;10397:23:0;;;;;;;:5;:23;;;;;;;;:42;;;:47;;10443:1;10397:47;;;;;;10455:41;;;;:60;;;;;;10526:17;;;;;;;;;;:32;;;:51;;;;;;10588:33;;:38;;;;;;10637:8;:13;;;;;;;;10691:61;;;;;10748:3;10691:61;;;;;;;;;10526:17;;10691:61;;;;;;;;;-1:-1:-1;;;;;10770:206:0;;10815:23;;;;:5;:23;;;;;;;;:32;;10862:37;;;;;;;;10914:23;;;:33;;;10770:206;;;;;;;;;;;;;;;;10962:3;10770:206;;;;;-1:-1:-1;;;;;;;;;;;10770:206:0;;;;;;;;-1:-1:-1;;;;;10994:182:0;;11033:17;;;;:5;:17;;;;;;;;:26;;11074:31;;;;;;;;11120:17;;;:27;;;10994:182;;;;;;;;;;;;;;;;11162:3;10994:182;;;;;-1:-1:-1;;;;;;;;;;;10994:182:0;;;;;;;;-1:-1:-1;11214:4:0;;9217:2009;-1:-1:-1;;;9217:2009:0:o;3917:22::-;;;;:::o;3882:28::-;;;;:::o;4880:112::-;4926:7;4954:30;4961:10;4973;4954:6;:30::i;:::-;4947:37;4880:112;-1:-1:-1;;4880:112:0:o;3829:19::-;;;;:::o;7826:1287::-;7921:24;8074:27;8160:17;8578:22;921:1;908:10;:8;:10::i;:::-;:14;900:23;;;;;;7948:10;7998:19;:37;;;;;;;;;;;7948:10;;-1:-1:-1;7979:56:0;;;7971:65;;;;;;8146:3;8104:39;8117:15;3101:2;8104:12;:39::i;:::-;:45;;;;;;;;8074:75;;8180:50;8193:15;8210:19;8180:12;:50::i;:::-;8160:70;;8272:33;8285:19;8272:12;:33::i;:::-;8366:43;8379:12;;8393:15;8366:12;:43::i;:::-;8351:12;:58;-1:-1:-1;;;;;8473:37:0;;:19;:37;;;;;;;;;;;8460:68;;8512:15;8460:12;:68::i;:::-;-1:-1:-1;;;;;8420:37:0;;:19;:37;;;;;;;;;;;:108;;;;8613:15;;8684:10;:28;;;;;;:47;;8613:33;;;3290:7;8650:21;;8613:59;8684:47;;;;;;8772:62;;;;;;;;;;;8830:3;8772:62;;;;;;8613:59;;-1:-1:-1;8420:37:0;;8772:62;;;;;;;;;;-1:-1:-1;;;;;8852:206:0;;8897:23;;;;:5;:23;;;;;;;;:32;;8944:37;;;;;;;;8996:23;;;:33;;;8852:206;;;;;;;;;;;;;;;;9044:3;8852:206;;;;;-1:-1:-1;;;;;;;;;;;8852:206:0;;;;;;;;9093:12;:10;:12::i;:::-;7826:1287;;;;;:::o;12454:128::-;-1:-1:-1;;;;;12550:24:0;;;12454:128::o;4534:229::-;4611:5;;:52;;;;;;4630:10;4611:52;;;;4650:4;4611:52;;;;;;;;;;;;4583:7;;-1:-1:-1;;;;;4611:5:0;;:18;;:52;;;;;;;;;;;;;;4583:7;4611:5;:52;;;5:2:-1;;;;30:1;27;20:12;5:2;4611:52:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4611:52:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4611:52:0;4603:61;;;;;;;;4677:16;:26;;;;;;4721:34;;;;;;4751:3;4721:34;;;;;;4732:10;;4721:34;;;;;;;;4534:229;;;:::o;14911:266::-;14981:7;15000:13;15016:42;15054:3;15016:33;3242:1;15016:33;;:16;;:20;;:33;;;;:::i;:::-;:37;:42;:37;:42;:::i;:::-;15000:58;;15094:1;15079:12;;:16;15078:91;;15168:1;15078:91;;;15152:12;;-1:-1:-1;;;;;15109:37:0;;:19;:37;;;;;;;;;;;15099:66;;15152:12;15099:48;;:5;;:48;:9;:48;:::i;3978:40::-;;;;:::o;5937:1037::-;6019:18;6160:24;6362:15;1050:1;1034:13;:11;:13::i;:::-;:17;1026:26;;;;;;6040:13;:11;:13::i;:::-;6187:10;6208:28;;;;:10;:28;;;;;:65;;3290:7;6250:22;;6208:65;;;6019:34;;-1:-1:-1;6187:10:0;-1:-1:-1;6380:38:0;6187:10;6019:34;6380:14;:38::i;:::-;6459:58;;;;;;;;;;;;6513:3;6459:58;;;;;;6362:56;;-1:-1:-1;;;;;;6459:58:0;;;;;;;;;;;;-1:-1:-1;;;;;6597:23:0;;;;;;:5;:23;;;;;:34;;;6584:60;;6633:10;6584:12;:60::i;:::-;-1:-1:-1;;;;;6547:23:0;;;;;;:5;:23;;;;;;;;:34;;;;:97;;;;6655:35;;;:40;;;;;;;;6758:32;;6805:37;;;;;;;;6857:23;;;:33;;;;;6713:206;;;;;;;;;;;;;;;;;;;6905:3;6713:206;;;;;;6547:23;;-1:-1:-1;;;;;;;;;;;6713:206:0;;;;;;;;;6954:12;:10;:12::i;:::-;5937:1037;;;:::o;16415:1834::-;-1:-1:-1;;;;;16554:23:0;;16505:7;16554:23;;;:5;:23;;;;;:32;16505:7;;;;;;16554:37;:84;;;;-1:-1:-1;;;;;;16595:23:0;;;;;;:5;:23;;;;;:38;;;:43;16554:84;16550:129;;;16655:7;:12;;16666:1;16655:12;;;16550:129;16691:8;:13;;16703:1;16691:13;;;16810:3;16770:37;16783:12;3008:2;16770:12;:37::i;:::-;:43;;;;;;;;16740:73;;16850:47;16863:12;16877:19;16850:12;:47::i;:::-;16824:73;;16939:33;16952:19;16939:12;:33::i;:::-;17013:69;;;;;;;;;;;;17078:3;17013:69;;;;;;-1:-1:-1;;;;;17013:69:0;;;;;;;;;;;;;17225:1;17207:15;:19;:81;;;;-1:-1:-1;17276:12:0;;17230:43;17243:15;17276:12;17230;:43::i;:::-;:58;17207:81;17199:90;;;;;;;;17369:1;17354:12;;:16;17350:223;;;17426:12;:31;;;;;;17350:223;;;17531:12;:30;;;17350:223;-1:-1:-1;;;;;17714:37:0;;:19;:37;;;;;;;;;;;17701:68;;17753:15;17701:12;:68::i;:::-;-1:-1:-1;;;;;17661:37:0;;;;:19;:37;;;;;;;;;;;:108;;;;17985:15;;18030:10;:28;;;;;;:47;;17985:33;;;18030:47;;;;;;18109:5;:23;;;;;;:48;;;;;;;;-1:-1:-1;18168:33:0;;;;:38;;;;;;;;-1:-1:-1;17985:33:0;16415:1834;-1:-1:-1;16415:1834:0:o;15315:871::-;15695:13;15837:14;15390:15;;15362:25;15374:12;;15362:3;:11;;:25;;;;:::i;:::-;:43;15358:149;;;15427:35;15437:19;:17;:19::i;:::-;15427:35;;;;;;15458:3;15427:35;;;;;;;;;;;;;15492:3;15477:12;:18;15358:149;15561:20;;15525:33;15542:3;15547:10;;15525:16;:33::i;:::-;:56;:76;;;;;15600:1;15585:12;;:16;15525:76;15521:656;;;15711:56;15758:8;15711:42;15749:3;15711:33;3242:1;15711:33;;:16;;:20;;:33;;;;:::i;:56::-;15695:72;;15862:23;15874:10;;15862:3;:11;;:23;;;;:::i;:::-;15973:16;;15854:31;;;;-1:-1:-1;15973:32:0;;15854:31;15973:32;:24;:32;:::i;:::-;15954:16;:51;16079:15;;16119:12;;16066:66;;16079:15;3290:7;16097:18;;16096:35;;;;;;;;16066:12;:66::i;:::-;16048:15;:84;16162:3;16149:10;:16;15315:871;;:::o;18453:202::-;18511:9;18537:6;;18533:47;;;-1:-1:-1;18567:1:0;18560:8;;18533:47;-1:-1:-1;18594:5:0;;;18598:1;18594;:5;18617;;;;;;;;:10;18610:18;;;18750:295;18808:7;19036:1;19032;:5;;;;;;;;;18750:295;-1:-1:-1;;;18750:295:0:o;19170:123::-;19228:7;19255:6;;;;19248:14;;;;-1:-1:-1;19280:5:0;;;19170:123::o;19604:141::-;19688:5;;;19711:6;;;;19704:14;;;15187:120;15276:16;:23;;;;;;;15187:120::o;19358:171::-;19414:4;19439:1;19435;:5;19431:91;;;-1:-1:-1;19464:1:0;19457:8;;19431:91;-1:-1:-1;19505:5:0;;;19498:12;;630:17626;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;-1:-1;630:17626:0;;;-1:-1:-1;;630:17626:0:o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
bzzr://ab8c238359884e1e142570d4d3cbc933afdae4166b981959ef6c305fb00e4864
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.253652 | 93,140.4868 | $23,625.27 |
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.