ETH Price: $3,107.83 (-6.04%)
 

Overview

ETH Balance

6.979972323050809581 ETH

Eth Value

$21,692.58 (@ $3,107.83/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Batch Withdraw105695902020-07-31 20:40:271640 days ago1596228027IN
0xCcA36039...06c8Ed971
0 ETH0.0023931357.53843735
Batch Withdraw105694202020-07-31 20:06:261640 days ago1596225986IN
0xCcA36039...06c8Ed971
0 ETH0.0029858455
Batch Withdraw105684292020-07-31 16:20:211640 days ago1596212421IN
0xCcA36039...06c8Ed971
0 ETH0.00420079101
Withdraw103315882020-06-24 23:53:521677 days ago1593042832IN
0xCcA36039...06c8Ed971
0 ETH0.0015409640
Withdraw103315832020-06-24 23:53:121677 days ago1593042792IN
0xCcA36039...06c8Ed971
0 ETH0.0021409640
Withdraw103315302020-06-24 23:45:111677 days ago1593042311IN
0xCcA36039...06c8Ed971
0 ETH0.0015409640
Batch Withdraw103299682020-06-24 17:54:221677 days ago1593021262IN
0xCcA36039...06c8Ed971
0 ETH0.001610841
Batch Withdraw103299432020-06-24 17:48:071677 days ago1593020887IN
0xCcA36039...06c8Ed971
0 ETH0.0014929438
Batch Withdraw103299372020-06-24 17:47:021677 days ago1593020822IN
0xCcA36039...06c8Ed971
0 ETH0.0014929438
Batch Withdraw103298302020-06-24 17:24:281677 days ago1593019468IN
0xCcA36039...06c8Ed971
0 ETH0.0011786430
Batch Withdraw103298302020-06-24 17:24:281677 days ago1593019468IN
0xCcA36039...06c8Ed971
0 ETH0.0011786430
Batch Withdraw103298232020-06-24 17:22:491677 days ago1593019369IN
0xCcA36039...06c8Ed971
0 ETH0.0011786430
Batch Withdraw103298182020-06-24 17:21:561677 days ago1593019316IN
0xCcA36039...06c8Ed971
0 ETH0.0011786430
Batch Withdraw103298162020-06-24 17:21:151677 days ago1593019275IN
0xCcA36039...06c8Ed971
0 ETH0.0011786430
Batch Withdraw103297992020-06-24 17:19:061677 days ago1593019146IN
0xCcA36039...06c8Ed971
0 ETH0.0014143636
Batch Withdraw103297492020-06-24 17:08:161677 days ago1593018496IN
0xCcA36039...06c8Ed971
0 ETH0.0017679645
Batch Withdraw103297202020-06-24 17:01:441677 days ago1593018104IN
0xCcA36039...06c8Ed971
0 ETH0.0017679645.00000123
Batch Withdraw103297132020-06-24 17:00:271677 days ago1593018027IN
0xCcA36039...06c8Ed971
0 ETH0.0017679645
Batch Withdraw103296662020-06-24 16:49:321677 days ago1593017372IN
0xCcA36039...06c8Ed971
0 ETH0.0016500942
Batch Withdraw103296512020-06-24 16:47:171677 days ago1593017237IN
0xCcA36039...06c8Ed971
0 ETH0.002714450
Batch Withdraw96326892020-03-08 19:32:371785 days ago1583695957IN
0xCcA36039...06c8Ed971
0 ETH0.000707492.7898695
Batch Withdraw96326892020-03-08 19:32:371785 days ago1583695957IN
0xCcA36039...06c8Ed971
0 ETH0.000760783
Batch Withdraw96326892020-03-08 19:32:371785 days ago1583695957IN
0xCcA36039...06c8Ed971
0 ETH0.000507662
Batch Withdraw96326872020-03-08 19:32:331785 days ago1583695953IN
0xCcA36039...06c8Ed971
0 ETH0.000253831
Batch Withdraw96325942020-03-08 19:12:341785 days ago1583694754IN
0xCcA36039...06c8Ed971
0 ETH0.000253641
View all transactions

Latest 24 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
84653062019-09-01 16:01:341974 days ago1567353694
0xCcA36039...06c8Ed971
11.71987859 ETH
84653062019-09-01 16:01:341974 days ago1567353694
0xCcA36039...06c8Ed971
11.71987859 ETH
81535742019-07-15 4:51:592023 days ago1563166319
0xCcA36039...06c8Ed971
6.975 ETH
81535742019-07-15 4:51:592023 days ago1563166319
0xCcA36039...06c8Ed971
6.975 ETH
80729702019-07-02 15:49:002035 days ago1562082540
0xCcA36039...06c8Ed971
8.81288175 ETH
80729702019-07-02 15:49:002035 days ago1562082540
0xCcA36039...06c8Ed971
8.81288175 ETH
78828402019-06-02 22:45:432065 days ago1559515543
0xCcA36039...06c8Ed971
26.0845619 ETH
78828402019-06-02 22:45:432065 days ago1559515543
0xCcA36039...06c8Ed971
26.0845619 ETH
76634662019-04-29 16:43:592099 days ago1556556239
0xCcA36039...06c8Ed971
29.10112565 ETH
76634662019-04-29 16:43:592099 days ago1556556239
0xCcA36039...06c8Ed971
29.10112565 ETH
76634582019-04-29 16:42:302099 days ago1556556150
0xCcA36039...06c8Ed971
3.20304167 ETH
76634582019-04-29 16:42:302099 days ago1556556150
0xCcA36039...06c8Ed971
3.20304167 ETH
76634502019-04-29 16:39:342099 days ago1556555974
0xCcA36039...06c8Ed971
32 wei
76634502019-04-29 16:39:342099 days ago1556555974
0xCcA36039...06c8Ed971
32 wei
75348112019-04-09 15:43:382119 days ago1554824618
0xCcA36039...06c8Ed971
92 ETH
75348112019-04-09 15:43:382119 days ago1554824618
0xCcA36039...06c8Ed971
92 ETH
72751892019-02-27 16:41:152160 days ago1551285675
0xCcA36039...06c8Ed971
66 ETH
72751892019-02-27 16:41:152160 days ago1551285675
0xCcA36039...06c8Ed971
66 ETH
71523462019-01-31 5:39:552188 days ago1548913195
0xCcA36039...06c8Ed971
66.65852152 ETH
71523462019-01-31 5:39:552188 days ago1548913195
0xCcA36039...06c8Ed971
66.65852152 ETH
70004492019-01-03 0:06:132216 days ago1546473973
0xCcA36039...06c8Ed971
1 ETH
70004492019-01-03 0:06:132216 days ago1546473973
0xCcA36039...06c8Ed971
1 ETH
70004402019-01-03 0:04:272216 days ago1546473867
0xCcA36039...06c8Ed971
1 wei
70004402019-01-03 0:04:272216 days ago1546473867
0xCcA36039...06c8Ed971
1 wei
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TokenSale

Compiler Version
v0.4.25+commit.59dbf8f1

Optimization Enabled:
Yes with 200 runs

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

pragma solidity 0.4.25;

// File: contracts/SafeMath.sol

// https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/math/SafeMath.sol

// @title SafeMath: overflow/underflow checks
// @notice Math operations with safety checks that throw on error
library SafeMath {

  // @notice Multiplies two numbers, throws on overflow.
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    if (a == 0) {
      return 0;
    }
    uint256 c = a * b;
    assert(c / a == b);
    return c;
  }

  // @notice 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;
  }

  // @notice 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;
  }

  // @notice Adds two numbers, throws on overflow.
  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }

}

// File: contracts/ERC20Interface.sol

// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md
// ----------------------------------------------------------------------------
interface ERC20Interface {
    function totalSupply() external returns (uint);
    function balanceOf(address tokenOwner) external returns (uint balance);
    function allowance(address tokenOwner, address spender) external returns (uint remaining);
    function transfer(address to, uint tokens) external returns (bool success);
    function approve(address spender, uint tokens) external returns (bool success);
    function transferFrom(address from, address to, uint tokens) external returns (bool success);
    function burn(uint _amount) external returns (bool success);
    function burnFrom(address _from, uint _amount) external returns (bool success);

    event Transfer(address indexed from, address indexed to, uint tokens);
    event Approval(address indexed tokenOwner, address indexed spender, uint tokens);
    event LogBurn(address indexed _spender, uint256 _value);
}

// File: contracts/TokenSale.sol

// @title MyBit Tokensale
// @notice A tokensale extending for 365 days. (0....364)
// @notice 100,000 MYB are releases everyday and split proportionaly to funders of that day
// @notice Anyone can fund the current or future days with ETH
// @dev The current day is (timestamp - startTimestamp) / 24 hours
// @author Kyle Dewhurst, MyBit Foundation
contract TokenSale {
  using SafeMath for *;

  ERC20Interface mybToken;

  struct Day {
    uint totalWeiContributed;
    mapping (address => uint) weiContributed;
  }

  // Constants
  uint256 constant internal scalingFactor = 10**32;      // helps avoid rounding errors
  uint256 constant public tokensPerDay = 10**23;    // 100,000 MYB

  // MyBit addresses
  address public owner;
  address public mybitFoundation;
  address public developmentFund;

  uint256 public start;      // The timestamp when sale starts

  mapping (uint16 => Day) public day;

  constructor(address _mybToken, address _mybFoundation, address _developmentFund)
  public {
    mybToken = ERC20Interface(_mybToken);
    developmentFund = _developmentFund;
    mybitFoundation = _mybFoundation;
    owner = msg.sender;
  }

  // @notice owner can start the sale by transferring in required amount of MYB
  // @dev the start time is used to determine which day the sale is on (day 0 = first day)
  function startSale(uint _timestamp)
  external
  onlyOwner
  returns (bool){
    require(start == 0, 'Already started');
    require(_timestamp >= now  && _timestamp.sub(now) < 2592000, 'Start time not in range');
    uint saleAmount = tokensPerDay.mul(365);
    require(mybToken.transferFrom(msg.sender, address(this), saleAmount));
    start = _timestamp;
    emit LogSaleStarted(msg.sender, mybitFoundation, developmentFund, saleAmount, _timestamp);
    return true;
  }


  // @notice contributor can contribute wei to sale on any current/future _day
  // @dev only accepts contributions between days 0 - 364
  function fund(uint16 _day)
  payable
  public
  returns (bool) {
      require(addContribution(msg.sender, msg.value, _day));
      return true;
  }

  // @notice Send an index of days and your payment will be divided equally among them
  // @dev WEI sent must divide equally into number of days.
  function batchFund(uint16[] _day)
  payable
  external
  returns (bool) {
    require(_day.length <= 50);       // Limit to 50 days to avoid exceeding blocklimit
    require(msg.value >= _day.length);   // need at least 1 wei per day
    uint256 amountPerDay = msg.value.div(_day.length);
    assert (amountPerDay.mul(_day.length) == msg.value);   // Don't allow any rounding error
    for (uint8 i = 0; i < _day.length; i++){
      require(addContribution(msg.sender, amountPerDay, _day[i]));
    }
    return true;
  }


  // @notice Updates claimableTokens, sends all wei to the token holder
  function withdraw(uint16 _day)
  external
  returns (bool) {
      require(dayFinished(_day), "day has not finished funding");
      Day storage thisDay = day[_day];
      uint256 amount = getTokensOwed(msg.sender, _day);
      delete thisDay.weiContributed[msg.sender];
      mybToken.transfer(msg.sender, amount);
      emit LogTokensCollected(msg.sender, amount, _day);
      return true;
  }

  // @notice Updates claimableTokens, sends all tokens to contributor from previous days
  // @param (uint16[]) _day, list of token sale days msg.sender contributed wei towards
  function batchWithdraw(uint16[] _day)
  external
  returns (bool) {
    uint256 amount;
    require(_day.length <= 50);     // Limit to 50 days to avoid exceeding blocklimit
    for (uint8 i = 0; i < _day.length; i++){
      require(dayFinished(_day[i]));
      uint256 amountToAdd = getTokensOwed(msg.sender, _day[i]);
      amount = amount.add(amountToAdd);
      delete day[_day[i]].weiContributed[msg.sender];
      emit LogTokensCollected(msg.sender, amountToAdd, _day[i]);
    }
    mybToken.transfer(msg.sender, amount);
    return true;
  }

  // @notice owner can withdraw funds to the foundation wallet and ddf wallet
  // @param (uint) _amount, The amount of wei to withdraw
  // @dev must put in an _amount equally divisible by 2
  function foundationWithdraw(uint _amount)
  external
  onlyOwner
  returns (bool){
    uint256 half = _amount.div(2);
    assert (half.mul(2) == _amount);   // check for rounding error
    mybitFoundation.transfer(half);
    developmentFund.transfer(half);
    emit LogFoundationWithdraw(msg.sender, _amount, dayFor(now));
    return true;
  }

  // @notice updates ledger with the contribution from _investor
  // @param (address) _investor: The sender of WEI to the contract
  // @param (uint) _amount: The amount of WEI to add to _day
  // @param (uint16) _day: The day to fund
  function addContribution(address _investor, uint _amount, uint16 _day)
  internal
  returns (bool) {
    require(_amount > 0, "must send ether with the call");
    require(duringSale(_day), "day is not during the sale");
    require(!dayFinished(_day), "day has already finished");
    Day storage today = day[_day];
    today.totalWeiContributed = today.totalWeiContributed.add(_amount);
    today.weiContributed[_investor] = today.weiContributed[_investor].add(_amount);
    emit LogTokensPurchased(_investor, _amount, _day);
    return true;
  }

  // @notice Calculates how many tokens user is owed. (userContribution / totalContribution) * tokensPerDay
  function getTokensOwed(address _contributor, uint16 _day)
  public
  view
  returns (uint256) {
      require(dayFinished(_day));
      Day storage thisDay = day[_day];
      uint256 percentage = thisDay.weiContributed[_contributor].mul(scalingFactor).div(thisDay.totalWeiContributed);
      return percentage.mul(tokensPerDay).div(scalingFactor);
  }

  // @notice gets the total amount of mybit owed to the contributor
  // @dev this function doesn't check for duplicate days. Output may not reflect actual amount owed if this happens.
  function getTotalTokensOwed(address _contributor, uint16[] _days)
  public
  view
  returns (uint256 amount) {
    require(_days.length < 100);          // Limit to 100 days to avoid exceeding block gas limit
    for (uint16 i = 0; i < _days.length; i++){
      amount = amount.add(getTokensOwed(_contributor, _days[i]));
    }
    return amount;
  }

  // @notice returns the amount of wei contributed by _contributor on _day
  function getWeiContributed(uint16 _day, address _contributor)
  public
  view
  returns (uint256) {
    return day[_day].weiContributed[_contributor];
  }

  // @notice returns amount of wei contributed on _day
  // @dev if _day is outside of tokensale range it will return 0
  function getTotalWeiContributed(uint16 _day)
  public
  view
  returns (uint256) {
    return day[_day].totalWeiContributed;
  }

  // @notice return the day associated with this timestamp
  function dayFor(uint _timestamp)
  public
  view
  returns (uint16) {
      require(_timestamp >= start);
      return uint16(_timestamp.sub(start).div(86400));
  }

  // @notice returns true if _day is finished
  function dayFinished(uint16 _day)
  public
  view
  returns (bool) {
    if (now <= start) { return false; }   // hasn't yet reached first day, so cannot be finished
    return dayFor(now) > _day;
  }

  // @notice reverts if the current day isn't less than 365
  function duringSale(uint16 _day)
  public
  view
  returns (bool){
    return start > 0 && _day <= uint16(364);
  }


  // @notice return the current day
  function currentDay()
  public
  view
  returns (uint16) {
    return dayFor(now);
  }

  // @notice Fallback function: Purchases contributor stake in the tokens for the current day
  // @dev rejects contributions by means of the fallback function until timestamp > start
  function ()
  external
  payable {
      require(addContribution(msg.sender, msg.value, currentDay()));
  }

  // @notice only owner address can call
  modifier onlyOwner {
    require(msg.sender == owner);
    _;
  }

  event LogSaleStarted(address _owner, address _mybFoundation, address _developmentFund, uint _totalMYB, uint _startTime);
  event LogFoundationWithdraw(address _mybFoundation, uint _amount, uint16 _day);
  event LogTokensPurchased(address indexed _contributor, uint _amount, uint16 indexed _day);
  event LogTokensCollected(address indexed _contributor, uint _amount, uint16 indexed _day);

}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"_timestamp","type":"uint256"}],"name":"startSale","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_day","type":"uint16"}],"name":"getTotalWeiContributed","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_day","type":"uint16[]"}],"name":"batchWithdraw","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_day","type":"uint16[]"}],"name":"batchFund","outputs":[{"name":"","type":"bool"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"_contributor","type":"address"},{"name":"_days","type":"uint16[]"}],"name":"getTotalTokensOwed","outputs":[{"name":"amount","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_contributor","type":"address"},{"name":"_day","type":"uint16"}],"name":"getTokensOwed","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_day","type":"uint16"}],"name":"withdraw","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"currentDay","outputs":[{"name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_day","type":"uint16"}],"name":"duringSale","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"mybitFoundation","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"developmentFund","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokensPerDay","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_day","type":"uint16"}],"name":"dayFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint16"}],"name":"day","outputs":[{"name":"totalWeiContributed","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"start","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_day","type":"uint16"}],"name":"fund","outputs":[{"name":"","type":"bool"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_amount","type":"uint256"}],"name":"foundationWithdraw","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_day","type":"uint16"},{"name":"_contributor","type":"address"}],"name":"getWeiContributed","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_timestamp","type":"uint256"}],"name":"dayFor","outputs":[{"name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_mybToken","type":"address"},{"name":"_mybFoundation","type":"address"},{"name":"_developmentFund","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_owner","type":"address"},{"indexed":false,"name":"_mybFoundation","type":"address"},{"indexed":false,"name":"_developmentFund","type":"address"},{"indexed":false,"name":"_totalMYB","type":"uint256"},{"indexed":false,"name":"_startTime","type":"uint256"}],"name":"LogSaleStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_mybFoundation","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"},{"indexed":false,"name":"_day","type":"uint16"}],"name":"LogFoundationWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_contributor","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"},{"indexed":true,"name":"_day","type":"uint16"}],"name":"LogTokensPurchased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_contributor","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"},{"indexed":true,"name":"_day","type":"uint16"}],"name":"LogTokensCollected","type":"event"}]

608060405234801561001057600080fd5b5060405160608061104183398101604090815281516020830151919092015160008054600160a060020a03948516600160a060020a031991821617909155600380549285169282169290921790915560028054939092169281169290921790556001805490911633179055610fb78061008a6000396000f3006080604052600436106101115763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630e3ab61d811461013057806312635d261461015c578063132e8bee1461018a5780631ca89953146101aa5780631ea6b97f146101bd578063279c7425146102205780633d972839146102485780635c9302c9146102645780636110e614146102905780637db02c8b146102ac5780638a2381d7146102dd5780638da5cb5b146102f257806390497c66146103075780639e211ee81461031c578063bd7255b014610338578063be9a655514610354578063ce347a6514610369578063cedcd77014610378578063cf5e36df14610390578063d90c1759146103b8575b610123333461011e6103d0565b6103e0565b151561012e57600080fd5b005b34801561013c57600080fd5b506101486004356105ac565b604080519115158252519081900360200190f35b34801561016857600080fd5b5061017861ffff600435166107cf565b60408051918252519081900360200190f35b34801561019657600080fd5b5061014860048035602481019101356107e9565b61014860048035602481019101356109c1565b3480156101c957600080fd5b50604080516020600460248035828101358481028087018601909752808652610178968435600160a060020a031696369660449591949091019291829185019084908082843750949750610a5b9650505050505050565b34801561022c57600080fd5b50610178600160a060020a036004351661ffff60243516610ac5565b34801561025457600080fd5b5061014861ffff60043516610b74565b34801561027057600080fd5b506102796103d0565b6040805161ffff9092168252519081900360200190f35b34801561029c57600080fd5b5061014861ffff60043516610ce7565b3480156102b857600080fd5b506102c1610d06565b60408051600160a060020a039092168252519081900360200190f35b3480156102e957600080fd5b506102c1610d15565b3480156102fe57600080fd5b506102c1610d24565b34801561031357600080fd5b50610178610d33565b34801561032857600080fd5b5061014861ffff60043516610d41565b34801561034457600080fd5b5061017861ffff60043516610d6e565b34801561036057600080fd5b50610178610d80565b61014861ffff60043516610d86565b34801561038457600080fd5b50610148600435610da6565b34801561039c57600080fd5b5061017861ffff60043516600160a060020a0360243516610ec4565b3480156103c457600080fd5b50610279600435610ef5565b60006103db42610ef5565b905090565b60008080841161043a576040805160e560020a62461bcd02815260206004820152601d60248201527f6d7573742073656e642065746865722077697468207468652063616c6c000000604482015290519081900360640190fd5b61044383610ce7565b1515610499576040805160e560020a62461bcd02815260206004820152601a60248201527f646179206973206e6f7420647572696e67207468652073616c65000000000000604482015290519081900360640190fd5b6104a283610d41565b156104f7576040805160e560020a62461bcd02815260206004820152601860248201527f6461792068617320616c72656164792066696e69736865640000000000000000604482015290519081900360640190fd5b5061ffff82166000908152600560205260409020805461051d908563ffffffff610f2316565b8155600160a060020a038516600090815260018201602052604090205461054a908563ffffffff610f2316565b600160a060020a0386166000818152600184016020908152604091829020939093558051878152905161ffff8716937fd498819977fb9763f29bab6e4eee516c4cf59053922eb6a9fe59370a7bc28b3d928290030190a3506001949350505050565b6001546000908190600160a060020a031633146105c857600080fd5b60045415610620576040805160e560020a62461bcd02815260206004820152600f60248201527f416c726561647920737461727465640000000000000000000000000000000000604482015290519081900360640190fd5b428310158015610641575062278d0061063f844263ffffffff610f3916565b105b1515610697576040805160e560020a62461bcd02815260206004820152601760248201527f53746172742074696d65206e6f7420696e2072616e6765000000000000000000604482015290519081900360640190fd5b6106b369152d02c7e14af680000061016d63ffffffff610f4b16565b60008054604080517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018590529051939450600160a060020a03909116926323b872dd92606480840193602093929083900390910190829087803b15801561072b57600080fd5b505af115801561073f573d6000803e3d6000fd5b505050506040513d602081101561075557600080fd5b5051151561076257600080fd5b600483905560025460035460408051338152600160a060020a0393841660208201529190921681830152606081018390526080810185905290517f8374e91c2472351bc5eb07c7e6292d3b801d821ce30fefbff40e013a94af7f949181900360a00190a150600192915050565b61ffff81166000908152600560205260409020545b919050565b600080808060328511156107fc57600080fd5b600091505b60ff821685111561091b5761082e868660ff851681811061081e57fe5b9050602002013561ffff16610d41565b151561083957600080fd5b61085c33878760ff861681811061084c57fe5b9050602002013561ffff16610ac5565b905061086e838263ffffffff610f2316565b925060056000878760ff861681811061088357fe5b6020908102929092013561ffff168352508181019290925260409081016000908120338252600101909252812055858560ff84168181106108c057fe5b9050602002013561ffff1661ffff1633600160a060020a03167f33a4ae6c0627280fcb7aaf7e07deb59bbce49aa4808ee5457f8622f77ab5d28c836040518082815260200191505060405180910390a3600190910190610801565b60008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018790529051600160a060020a039092169263a9059cbb926044808401936020939083900390910190829087803b15801561098957600080fd5b505af115801561099d573d6000803e3d6000fd5b505050506040513d60208110156109b357600080fd5b506001979650505050505050565b6000808060328411156109d357600080fd5b348411156109e057600080fd5b6109f0348563ffffffff610f7616565b915034610a03838663ffffffff610f4b16565b14610a0a57fe5b5060005b60ff8116841115610a5057610a3d3383878760ff8616818110610a2d57fe5b9050602002013561ffff166103e0565b1515610a4857600080fd5b600101610a0e565b506001949350505050565b60008060648351101515610a6e57600080fd5b5060005b82518161ffff161015610abe57610ab4610aa785858461ffff16815181101515610a9857fe5b90602001906020020151610ac5565b839063ffffffff610f2316565b9150600101610a72565b5092915050565b6000806000610ad384610d41565b1515610ade57600080fd5b61ffff841660009081526005602090815260408083208054600160a060020a038a16855260018201909352922054919350610b3d91610b31906d04ee2d6d415b85acef810000000063ffffffff610f4b16565b9063ffffffff610f7616565b9050610b6b6d04ee2d6d415b85acef8100000000610b318369152d02c7e14af680000063ffffffff610f4b16565b95945050505050565b6000806000610b8284610d41565b1515610bd8576040805160e560020a62461bcd02815260206004820152601c60248201527f64617920686173206e6f742066696e69736865642066756e64696e6700000000604482015290519081900360640190fd5b61ffff841660009081526005602052604090209150610bf73385610ac5565b3360008181526001850160209081526040808320839055825481517fa9059cbb0000000000000000000000000000000000000000000000000000000081526004810195909552602485018690529051949550600160a060020a03169363a9059cbb93604480820194918390030190829087803b158015610c7657600080fd5b505af1158015610c8a573d6000803e3d6000fd5b505050506040513d6020811015610ca057600080fd5b505060408051828152905161ffff86169133917f33a4ae6c0627280fcb7aaf7e07deb59bbce49aa4808ee5457f8622f77ab5d28c9181900360200190a35060019392505050565b600080600454118015610d00575061016c61ffff831611155b92915050565b600254600160a060020a031681565b600354600160a060020a031681565b600154600160a060020a031681565b69152d02c7e14af680000081565b6004546000904211610d55575060006107e4565b8161ffff16610d6342610ef5565b61ffff161192915050565b60056020526000908152604090205481565b60045481565b6000610d933334846103e0565b1515610d9e57600080fd5b506001919050565b6001546000908190600160a060020a03163314610dc257600080fd5b610dd383600263ffffffff610f7616565b905082610de782600263ffffffff610f4b16565b14610dee57fe5b600254604051600160a060020a039091169082156108fc029083906000818181858888f19350505050158015610e28573d6000803e3d6000fd5b50600354604051600160a060020a039091169082156108fc029083906000818181858888f19350505050158015610e63573d6000803e3d6000fd5b507fe56726172348e334b8fff79c722777489b247ed7148d44486ab67b65c1a54f1f3384610e9042610ef5565b60408051600160a060020a039094168452602084019290925261ffff1682820152519081900360600190a150600192915050565b61ffff82166000908152600560209081526040808320600160a060020a038516845260010190915290205492915050565b600454600090821015610f0757600080fd5b610d0062015180610b3160045485610f3990919063ffffffff16565b600082820183811015610f3257fe5b9392505050565b600082821115610f4557fe5b50900390565b600080831515610f5e5760009150610abe565b50828202828482811515610f6e57fe5b0414610f3257fe5b60008183811515610f8357fe5b0493925050505600a165627a7a72305820f215848823315686a8490e24f02524a5f1cfb14494d6377095ade591033dabc400290000000000000000000000005d60d8d7ef6d37e16ebabc324de3be57f135e0bc000000000000000000000000d9d2b28e09921a38ad7ab1b4138357408bda8ebd000000000000000000000000fd1e4b568bb3bcf706b0bac5960d4b91bacff96f

Deployed Bytecode

0x6080604052600436106101115763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630e3ab61d811461013057806312635d261461015c578063132e8bee1461018a5780631ca89953146101aa5780631ea6b97f146101bd578063279c7425146102205780633d972839146102485780635c9302c9146102645780636110e614146102905780637db02c8b146102ac5780638a2381d7146102dd5780638da5cb5b146102f257806390497c66146103075780639e211ee81461031c578063bd7255b014610338578063be9a655514610354578063ce347a6514610369578063cedcd77014610378578063cf5e36df14610390578063d90c1759146103b8575b610123333461011e6103d0565b6103e0565b151561012e57600080fd5b005b34801561013c57600080fd5b506101486004356105ac565b604080519115158252519081900360200190f35b34801561016857600080fd5b5061017861ffff600435166107cf565b60408051918252519081900360200190f35b34801561019657600080fd5b5061014860048035602481019101356107e9565b61014860048035602481019101356109c1565b3480156101c957600080fd5b50604080516020600460248035828101358481028087018601909752808652610178968435600160a060020a031696369660449591949091019291829185019084908082843750949750610a5b9650505050505050565b34801561022c57600080fd5b50610178600160a060020a036004351661ffff60243516610ac5565b34801561025457600080fd5b5061014861ffff60043516610b74565b34801561027057600080fd5b506102796103d0565b6040805161ffff9092168252519081900360200190f35b34801561029c57600080fd5b5061014861ffff60043516610ce7565b3480156102b857600080fd5b506102c1610d06565b60408051600160a060020a039092168252519081900360200190f35b3480156102e957600080fd5b506102c1610d15565b3480156102fe57600080fd5b506102c1610d24565b34801561031357600080fd5b50610178610d33565b34801561032857600080fd5b5061014861ffff60043516610d41565b34801561034457600080fd5b5061017861ffff60043516610d6e565b34801561036057600080fd5b50610178610d80565b61014861ffff60043516610d86565b34801561038457600080fd5b50610148600435610da6565b34801561039c57600080fd5b5061017861ffff60043516600160a060020a0360243516610ec4565b3480156103c457600080fd5b50610279600435610ef5565b60006103db42610ef5565b905090565b60008080841161043a576040805160e560020a62461bcd02815260206004820152601d60248201527f6d7573742073656e642065746865722077697468207468652063616c6c000000604482015290519081900360640190fd5b61044383610ce7565b1515610499576040805160e560020a62461bcd02815260206004820152601a60248201527f646179206973206e6f7420647572696e67207468652073616c65000000000000604482015290519081900360640190fd5b6104a283610d41565b156104f7576040805160e560020a62461bcd02815260206004820152601860248201527f6461792068617320616c72656164792066696e69736865640000000000000000604482015290519081900360640190fd5b5061ffff82166000908152600560205260409020805461051d908563ffffffff610f2316565b8155600160a060020a038516600090815260018201602052604090205461054a908563ffffffff610f2316565b600160a060020a0386166000818152600184016020908152604091829020939093558051878152905161ffff8716937fd498819977fb9763f29bab6e4eee516c4cf59053922eb6a9fe59370a7bc28b3d928290030190a3506001949350505050565b6001546000908190600160a060020a031633146105c857600080fd5b60045415610620576040805160e560020a62461bcd02815260206004820152600f60248201527f416c726561647920737461727465640000000000000000000000000000000000604482015290519081900360640190fd5b428310158015610641575062278d0061063f844263ffffffff610f3916565b105b1515610697576040805160e560020a62461bcd02815260206004820152601760248201527f53746172742074696d65206e6f7420696e2072616e6765000000000000000000604482015290519081900360640190fd5b6106b369152d02c7e14af680000061016d63ffffffff610f4b16565b60008054604080517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018590529051939450600160a060020a03909116926323b872dd92606480840193602093929083900390910190829087803b15801561072b57600080fd5b505af115801561073f573d6000803e3d6000fd5b505050506040513d602081101561075557600080fd5b5051151561076257600080fd5b600483905560025460035460408051338152600160a060020a0393841660208201529190921681830152606081018390526080810185905290517f8374e91c2472351bc5eb07c7e6292d3b801d821ce30fefbff40e013a94af7f949181900360a00190a150600192915050565b61ffff81166000908152600560205260409020545b919050565b600080808060328511156107fc57600080fd5b600091505b60ff821685111561091b5761082e868660ff851681811061081e57fe5b9050602002013561ffff16610d41565b151561083957600080fd5b61085c33878760ff861681811061084c57fe5b9050602002013561ffff16610ac5565b905061086e838263ffffffff610f2316565b925060056000878760ff861681811061088357fe5b6020908102929092013561ffff168352508181019290925260409081016000908120338252600101909252812055858560ff84168181106108c057fe5b9050602002013561ffff1661ffff1633600160a060020a03167f33a4ae6c0627280fcb7aaf7e07deb59bbce49aa4808ee5457f8622f77ab5d28c836040518082815260200191505060405180910390a3600190910190610801565b60008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018790529051600160a060020a039092169263a9059cbb926044808401936020939083900390910190829087803b15801561098957600080fd5b505af115801561099d573d6000803e3d6000fd5b505050506040513d60208110156109b357600080fd5b506001979650505050505050565b6000808060328411156109d357600080fd5b348411156109e057600080fd5b6109f0348563ffffffff610f7616565b915034610a03838663ffffffff610f4b16565b14610a0a57fe5b5060005b60ff8116841115610a5057610a3d3383878760ff8616818110610a2d57fe5b9050602002013561ffff166103e0565b1515610a4857600080fd5b600101610a0e565b506001949350505050565b60008060648351101515610a6e57600080fd5b5060005b82518161ffff161015610abe57610ab4610aa785858461ffff16815181101515610a9857fe5b90602001906020020151610ac5565b839063ffffffff610f2316565b9150600101610a72565b5092915050565b6000806000610ad384610d41565b1515610ade57600080fd5b61ffff841660009081526005602090815260408083208054600160a060020a038a16855260018201909352922054919350610b3d91610b31906d04ee2d6d415b85acef810000000063ffffffff610f4b16565b9063ffffffff610f7616565b9050610b6b6d04ee2d6d415b85acef8100000000610b318369152d02c7e14af680000063ffffffff610f4b16565b95945050505050565b6000806000610b8284610d41565b1515610bd8576040805160e560020a62461bcd02815260206004820152601c60248201527f64617920686173206e6f742066696e69736865642066756e64696e6700000000604482015290519081900360640190fd5b61ffff841660009081526005602052604090209150610bf73385610ac5565b3360008181526001850160209081526040808320839055825481517fa9059cbb0000000000000000000000000000000000000000000000000000000081526004810195909552602485018690529051949550600160a060020a03169363a9059cbb93604480820194918390030190829087803b158015610c7657600080fd5b505af1158015610c8a573d6000803e3d6000fd5b505050506040513d6020811015610ca057600080fd5b505060408051828152905161ffff86169133917f33a4ae6c0627280fcb7aaf7e07deb59bbce49aa4808ee5457f8622f77ab5d28c9181900360200190a35060019392505050565b600080600454118015610d00575061016c61ffff831611155b92915050565b600254600160a060020a031681565b600354600160a060020a031681565b600154600160a060020a031681565b69152d02c7e14af680000081565b6004546000904211610d55575060006107e4565b8161ffff16610d6342610ef5565b61ffff161192915050565b60056020526000908152604090205481565b60045481565b6000610d933334846103e0565b1515610d9e57600080fd5b506001919050565b6001546000908190600160a060020a03163314610dc257600080fd5b610dd383600263ffffffff610f7616565b905082610de782600263ffffffff610f4b16565b14610dee57fe5b600254604051600160a060020a039091169082156108fc029083906000818181858888f19350505050158015610e28573d6000803e3d6000fd5b50600354604051600160a060020a039091169082156108fc029083906000818181858888f19350505050158015610e63573d6000803e3d6000fd5b507fe56726172348e334b8fff79c722777489b247ed7148d44486ab67b65c1a54f1f3384610e9042610ef5565b60408051600160a060020a039094168452602084019290925261ffff1682820152519081900360600190a150600192915050565b61ffff82166000908152600560209081526040808320600160a060020a038516845260010190915290205492915050565b600454600090821015610f0757600080fd5b610d0062015180610b3160045485610f3990919063ffffffff16565b600082820183811015610f3257fe5b9392505050565b600082821115610f4557fe5b50900390565b600080831515610f5e5760009150610abe565b50828202828482811515610f6e57fe5b0414610f3257fe5b60008183811515610f8357fe5b0493925050505600a165627a7a72305820f215848823315686a8490e24f02524a5f1cfb14494d6377095ade591033dabc40029

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

0000000000000000000000005d60d8d7ef6d37e16ebabc324de3be57f135e0bc000000000000000000000000d9d2b28e09921a38ad7ab1b4138357408bda8ebd000000000000000000000000fd1e4b568bb3bcf706b0bac5960d4b91bacff96f

-----Decoded View---------------
Arg [0] : _mybToken (address): 0x5d60d8d7eF6d37E16EBABc324de3bE57f135e0BC
Arg [1] : _mybFoundation (address): 0xd9d2B28E09921A38aD7aB1B4138357408bda8EBD
Arg [2] : _developmentFund (address): 0xFd1E4b568Bb3bcF706b0bac5960d4B91BacFF96F

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000005d60d8d7ef6d37e16ebabc324de3be57f135e0bc
Arg [1] : 000000000000000000000000d9d2b28e09921a38ad7ab1b4138357408bda8ebd
Arg [2] : 000000000000000000000000fd1e4b568bb3bcf706b0bac5960d4b91bacff96f


Swarm Source

bzzr://f215848823315686a8490e24f02524a5f1cfb14494d6377095ade591033dabc4

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ 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.