Sponsored:   Ubex.com - Crypto Valley IAB member. Traded on Bitforex, Bitmart, Btc-Alpha, IDEX, Bilaxy, soon on Lbank.
Contract Overview
Balance: 0.00725 Ether
Ether Value: $1.76 (@ $242.50/ETH)
Transactions: 655 txns
 Latest 25 txns From a total of 655 Transactions

TxHash Age From To Value [TxFee]
0x890fd5ee26d16f8b594e74995b31e7c2ac718e4b6d2256b84a51f3957a407fb3111 days 22 hrs ago0x1db4408590fcda32928030e5ef2e8f2b04388b44  IN   0x15a322aaca55b30112b7f43b4c737e448cccc8ab0 Ether0.000194445
0x0947e6b4349d560a79ccecae78b7165d104f1f569b6587bbb90a6d93e8c15230135 days 17 hrs ago0xda7a5831092bbb0757cbfb3de67ecf00d4435e73  IN   0x15a322aaca55b30112b7f43b4c737e448cccc8ab0.005 Ether0.000381059
0xf5ce53377a09c721d5f145dd19bec529da1ae955cbdbcee452ea52a5d7abd461139 days 19 hrs ago0x4c7aec150afc04f4cb3d93d6c7486c566b78ea92  IN   0x15a322aaca55b30112b7f43b4c737e448cccc8ab0.0075 Ether0.000061201
0x1426b27ad10e548c373b5d8816e8ddabbaadbe0bc5b84658312815a15f0b341e140 days 7 hrs ago0x50b574d9ec895effe328f91419cc0c50c0b96c10  IN   0x15a322aaca55b30112b7f43b4c737e448cccc8ab0.005 Ether0.000109002
0x089832caa22448c21992ed56ea7dd56b76b2202df9a290850afba2354aa226be140 days 7 hrs ago0x50b574d9ec895effe328f91419cc0c50c0b96c10  IN   0x15a322aaca55b30112b7f43b4c737e448cccc8ab0.005 Ether0.000109002
0xb44f8732ff90fdfaf33f77dfd84e0c4007788527a6323f4a85f02ec21c96b573140 days 7 hrs ago0x50b574d9ec895effe328f91419cc0c50c0b96c10  IN   0x15a322aaca55b30112b7f43b4c737e448cccc8ab0.005 Ether0.000109002
0x4ef18fc4861a056aa5d4e8ed30d7b575676074032ece6d3b4cf93d168490df23142 days 11 hrs ago0xf7b73d3e19f9642a33116cf0aa004e4627da1567  IN   0x15a322aaca55b30112b7f43b4c737e448cccc8ab0.01 Ether0.000165543
0x092014455dec5eee32e83f632ba0ccd6db476cf7d5f7586562b46dcbbdc357b9143 days 1 hr ago0x341c48c0e833e179cca6c605b823e9a4911a3d00  IN   0x15a322aaca55b30112b7f43b4c737e448cccc8ab0.005 Ether0.000436008
0xf9e8a722e42a5942e76c6cf17b2e9f4c36563d0d1474378c2b68c531460309b8143 days 1 hr ago0x341c48c0e833e179cca6c605b823e9a4911a3d00  IN   0x15a322aaca55b30112b7f43b4c737e448cccc8ab0.005 Ether0.000436008
0xcad28ac02233a7f69c1136880d1798d129661957da6ff4b85c242c489a382c70143 days 1 hr ago0x341c48c0e833e179cca6c605b823e9a4911a3d00  IN   0x15a322aaca55b30112b7f43b4c737e448cccc8ab0.005 Ether0.000436008
0xce00701b8bcce42537f15fe1334f4317c43b665b70f45baed020ed078cc4d274143 days 1 hr ago0x341c48c0e833e179cca6c605b823e9a4911a3d00  IN   0x15a322aaca55b30112b7f43b4c737e448cccc8ab0.005 Ether0.000436008
0xfda2f9d33c23bdf3bd2ed5d43f7926a140018086c2055f6ae2095c380f3092eb143 days 1 hr ago0x341c48c0e833e179cca6c605b823e9a4911a3d00  IN   0x15a322aaca55b30112b7f43b4c737e448cccc8ab0.005 Ether0.000436008
0x79bbfffa99f65de19d75a46bf06589f0a1fabb9d8137210bd6876f487c565974143 days 6 hrs ago0x265084d861015b516c92fe96d08fb3c3d794e75f  IN   0x15a322aaca55b30112b7f43b4c737e448cccc8ab0.0075 Ether0.000089544
0x9a9f17c63737ce3ccd0ec7e51ca2383a6f9684de96d1042c84f4d871848af814143 days 6 hrs ago0x265084d861015b516c92fe96d08fb3c3d794e75f  IN   0x15a322aaca55b30112b7f43b4c737e448cccc8ab0.0075 Ether0.000220468
0x2989a7a4c425a2a65ba484afe40f4ab60a5e0d96bb3c1d7a4167053be3ad873a143 days 23 hrs ago0x4906e4f95ad546ce865916f65c825e00630bffa8  IN   0x15a322aaca55b30112b7f43b4c737e448cccc8ab0.005 Ether0.000163311
0x14fc4f1b4d8faf63b94ce87df8e2a37e1f1a18f08e9eead191b4929762245c6c144 days 21 hrs ago0x6a4f77bf21eb6d8a9a228c5581dec06e39cae640  IN   0x15a322aaca55b30112b7f43b4c737e448cccc8ab0 Ether0.0002986
0xc2b05f9068136d92229a7f5c0bcf5ecbc23ef56e56ec7583306cf9f68d98b64f145 days 5 hrs ago0x3052e2dbf3c84cf0b9693ebe6a7ef1b11b93cd42  IN   0x15a322aaca55b30112b7f43b4c737e448cccc8ab0.005 Ether0.000109002
0x7891d89e7729756ce6ce9d957f9f0b856de815d9c3eb6cf6d92a139e4fcce50d145 days 21 hrs ago0x44b92ce1993431327ff20fe7997a1164094a4599  IN   0x15a322aaca55b30112b7f43b4c737e448cccc8ab0.0075 Ether0.000220724
0x075cc81a21f3d585ef5a45538338cf237ea39fccc5c5721b959bcb63195051f3145 days 21 hrs ago0x44b92ce1993431327ff20fe7997a1164094a4599  IN   0x15a322aaca55b30112b7f43b4c737e448cccc8ab0.005 Ether0.000218004
0x2d7a934c5677a5750e965f658dfb3ce52cfbd8baa5af73e77fbc64372ba40b10146 days 32 mins ago0xf2898375a42deda8a52147ae7bbf58d6c84c3b76  IN   0x15a322aaca55b30112b7f43b4c737e448cccc8ab0.005 Ether0.000163503
0x95e965d0b80be4234d0a5755f6aca0044b9dbc0c5f6774130891fcc331ec29eb146 days 1 hr ago0x3052e2dbf3c84cf0b9693ebe6a7ef1b11b93cd42  IN   0x15a322aaca55b30112b7f43b4c737e448cccc8ab0.005 Ether0.000163311
0x2c463c9f9db6c0c248329af994c5a92d631759178e9b6438c1c3dabf0c180b79146 days 1 hr ago0x3052e2dbf3c84cf0b9693ebe6a7ef1b11b93cd42  IN   0x15a322aaca55b30112b7f43b4c737e448cccc8ab0.005 Ether0.000163503
0x72e7d131cda5dbc90f82bbfe2c9ee2dd6c11d17ca564805c8f6aaf92376a4af0146 days 6 hrs ago0x3052e2dbf3c84cf0b9693ebe6a7ef1b11b93cd42  IN   0x15a322aaca55b30112b7f43b4c737e448cccc8ab0.005 Ether0.000163503
0x1aaaf69eb453fb69dc6c38634a034b3e80b90a248e9730e85b3f952b79b2a5e1146 days 18 hrs ago0x3833d757b8bc418bcec546ced8f444bf7bdfec33  IN   0x15a322aaca55b30112b7f43b4c737e448cccc8ab0.005 Ether0.0000796224
0x016889c446d8a125fb84d662021c31a972a5a35ed11311cec8e7b3a837880118146 days 19 hrs ago0x3bc566525b4016e84e63211d590bfbf65c23212e  IN   0x15a322aaca55b30112b7f43b4c737e448cccc8ab0.005 Ether0.000109002
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 25 Internal Txns, Click Here To View More View All
ParentTxHash Block Age From To Value
0x0947e6b4349d560a79ccecae78b7165d104f1f569b6587bbb90a6d93e8c152305591760135 days 17 hrs ago0x15a322aaca55b30112b7f43b4c737e448cccc8ab0x265084d861015b516c92fe96d08fb3c3d794e75f0.0045 Ether
0xf5ce53377a09c721d5f145dd19bec529da1ae955cbdbcee452ea52a5d7abd4615568400139 days 19 hrs ago0x15a322aaca55b30112b7f43b4c737e448cccc8ab0x4c7aec150afc04f4cb3d93d6c7486c566b78ea920.0025 Ether
0xf5ce53377a09c721d5f145dd19bec529da1ae955cbdbcee452ea52a5d7abd4615568400139 days 19 hrs ago0x15a322aaca55b30112b7f43b4c737e448cccc8ab0x341c48c0e833e179cca6c605b823e9a4911a3d000.0045 Ether
0x1426b27ad10e548c373b5d8816e8ddabbaadbe0bc5b84658312815a15f0b341e5565525140 days 7 hrs ago0x15a322aaca55b30112b7f43b4c737e448cccc8ab0x341c48c0e833e179cca6c605b823e9a4911a3d000.0045 Ether
0x089832caa22448c21992ed56ea7dd56b76b2202df9a290850afba2354aa226be5565512140 days 7 hrs ago0x15a322aaca55b30112b7f43b4c737e448cccc8ab0xf7b73d3e19f9642a33116cf0aa004e4627da15670.0045 Ether
0xb44f8732ff90fdfaf33f77dfd84e0c4007788527a6323f4a85f02ec21c96b5735565493140 days 7 hrs ago0x15a322aaca55b30112b7f43b4c737e448cccc8ab0x341c48c0e833e179cca6c605b823e9a4911a3d000.0045 Ether
0x4ef18fc4861a056aa5d4e8ed30d7b575676074032ece6d3b4cf93d168490df235553151142 days 11 hrs ago0x15a322aaca55b30112b7f43b4c737e448cccc8ab0x341c48c0e833e179cca6c605b823e9a4911a3d000.009 Ether
0x092014455dec5eee32e83f632ba0ccd6db476cf7d5f7586562b46dcbbdc357b95549731143 days 1 hr ago0x15a322aaca55b30112b7f43b4c737e448cccc8ab0x3052e2dbf3c84cf0b9693ebe6a7ef1b11b93cd420.0045 Ether
0xf9e8a722e42a5942e76c6cf17b2e9f4c36563d0d1474378c2b68c531460309b85549727143 days 1 hr ago0x15a322aaca55b30112b7f43b4c737e448cccc8ab0x3052e2dbf3c84cf0b9693ebe6a7ef1b11b93cd420.0045 Ether
0xcad28ac02233a7f69c1136880d1798d129661957da6ff4b85c242c489a382c705549725143 days 1 hr ago0x15a322aaca55b30112b7f43b4c737e448cccc8ab0x44b92ce1993431327ff20fe7997a1164094a45990.0045 Ether
0xce00701b8bcce42537f15fe1334f4317c43b665b70f45baed020ed078cc4d2745549720143 days 1 hr ago0x15a322aaca55b30112b7f43b4c737e448cccc8ab0x3052e2dbf3c84cf0b9693ebe6a7ef1b11b93cd420.0045 Ether
0xfda2f9d33c23bdf3bd2ed5d43f7926a140018086c2055f6ae2095c380f3092eb5549695143 days 1 hr ago0x15a322aaca55b30112b7f43b4c737e448cccc8ab0x44b92ce1993431327ff20fe7997a1164094a45990.0045 Ether
0x9a9f17c63737ce3ccd0ec7e51ca2383a6f9684de96d1042c84f4d871848af8145548544143 days 6 hrs ago0x15a322aaca55b30112b7f43b4c737e448cccc8ab0x4906e4f95ad546ce865916f65c825e00630bffa80.00675 Ether
0x2989a7a4c425a2a65ba484afe40f4ab60a5e0d96bb3c1d7a4167053be3ad873a5544446143 days 23 hrs ago0x15a322aaca55b30112b7f43b4c737e448cccc8ab0x3052e2dbf3c84cf0b9693ebe6a7ef1b11b93cd420.0045 Ether
0x14fc4f1b4d8faf63b94ce87df8e2a37e1f1a18f08e9eead191b4929762245c6c5539311144 days 21 hrs ago0x15a322aaca55b30112b7f43b4c737e448cccc8ab0x6a4f77bf21eb6d8a9a228c5581dec06e39cae6400.2439765625 Ether
0xc2b05f9068136d92229a7f5c0bcf5ecbc23ef56e56ec7583306cf9f68d98b64f5537613145 days 5 hrs ago0x15a322aaca55b30112b7f43b4c737e448cccc8ab0x3bc566525b4016e84e63211d590bfbf65c23212e0.0045 Ether
0x7891d89e7729756ce6ce9d957f9f0b856de815d9c3eb6cf6d92a139e4fcce50d5533678145 days 21 hrs ago0x15a322aaca55b30112b7f43b4c737e448cccc8ab0xf2898375a42deda8a52147ae7bbf58d6c84c3b760.00675 Ether
0x075cc81a21f3d585ef5a45538338cf237ea39fccc5c5721b959bcb63195051f35533668145 days 21 hrs ago0x15a322aaca55b30112b7f43b4c737e448cccc8ab0x7c3ca51b24c829b0b7dfe2f557a37ce70af3d32d0.0045 Ether
0x2d7a934c5677a5750e965f658dfb3ce52cfbd8baa5af73e77fbc64372ba40b105532970146 days 32 mins ago0x15a322aaca55b30112b7f43b4c737e448cccc8ab0x3052e2dbf3c84cf0b9693ebe6a7ef1b11b93cd420.0045 Ether
0x95e965d0b80be4234d0a5755f6aca0044b9dbc0c5f6774130891fcc331ec29eb5532817146 days 1 hr ago0x15a322aaca55b30112b7f43b4c737e448cccc8ab0x1eb695d7575eda1f2c8a0aa6edf871b5fc73ea6d0.0045 Ether
0x2c463c9f9db6c0c248329af994c5a92d631759178e9b6438c1c3dabf0c180b795532815146 days 1 hr ago0x15a322aaca55b30112b7f43b4c737e448cccc8ab0xa3b2ddc8879493a3e87dcebdbc27fceb272f97170.0045 Ether
0x72e7d131cda5dbc90f82bbfe2c9ee2dd6c11d17ca564805c8f6aaf92376a4af05531593146 days 6 hrs ago0x15a322aaca55b30112b7f43b4c737e448cccc8ab0x6adae826c3a47bba78b87b3ce73ce7a26af5d8950.0045 Ether
0x016889c446d8a125fb84d662021c31a972a5a35ed11311cec8e7b3a8378801185528514146 days 19 hrs ago0x15a322aaca55b30112b7f43b4c737e448cccc8ab0x6adae826c3a47bba78b87b3ce73ce7a26af5d8950.0045 Ether
0x8b8d40744b2721887cd7320f922060d8df19758a95a45773aa2c9ef138095ac25527874146 days 21 hrs ago0x15a322aaca55b30112b7f43b4c737e448cccc8ab0x845dcf6d02c594003f874f5cfe556cf06f75fc320.018 Ether
0xa22ba1921c59a4d640f8c3cf59d9910dfeb6f194522d46eb1efc1af1cb2e44de5526856147 days 2 hrs ago0x15a322aaca55b30112b7f43b4c737e448cccc8ab0x4c7aec150afc04f4cb3d93d6c7486c566b78ea920.0045 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: DayTrader
Compiler Text: v0.4.21+commit.dfe3193c
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.18;


contract DayTrader {
  // Bag sold event
  event BagSold(
    uint256 bagId,
    uint256 multiplier,
    uint256 oldPrice,
    uint256 newPrice,
    address prevOwner,
    address newOwner
  );

  // Address of the contract creator
  address public contractOwner;

  // Default timeout is 4 hours
  uint256 public timeout = 24 hours;

  // Default starting price is 0.005 ether
  uint256 public startingPrice = 0.005 ether;

  Bag[] private bags;

  struct Bag {
    address owner;
    uint256 level;
    uint256 multiplier; // Multiplier must be rate * 100. example: 1.5x == 150
    uint256 purchasedAt;
  }

  /// Access modifier for contract owner only functionality
  modifier onlyContractOwner() {
    require(msg.sender == contractOwner);
    _;
  }

  function DayTrader() public {
    contractOwner = msg.sender;
    createBag(150);
	createBag(150);
	createBag(150);
	createBag(200);
	createBag(200);
	createBag(200);
  }

  function createBag(uint256 multiplier) public onlyContractOwner {
    Bag memory bag = Bag({
      owner: this,
      level: 0,
      multiplier: multiplier,
      purchasedAt: 0
    });

    bags.push(bag);
  }

  function setTimeout(uint256 _timeout) public onlyContractOwner {
    timeout = _timeout;
  }
  
  function setStartingPrice(uint256 _startingPrice) public onlyContractOwner {
    startingPrice = _startingPrice;
  }

  function setBagMultiplier(uint256 bagId, uint256 multiplier) public onlyContractOwner {
    Bag storage bag = bags[bagId];
    bag.multiplier = multiplier;
  }

  function getBag(uint256 bagId) public view returns (
    address owner,
    uint256 sellingPrice,
    uint256 nextSellingPrice,
    uint256 level,
    uint256 multiplier,
    uint256 purchasedAt
  ) {
    Bag storage bag = bags[bagId];

    owner = getOwner(bag);
    level = getBagLevel(bag);
    sellingPrice = getBagSellingPrice(bag);
    nextSellingPrice = getNextBagSellingPrice(bag);
    multiplier = bag.multiplier;
    purchasedAt = bag.purchasedAt;
  }

  function getBagCount() public view returns (uint256 bagCount) {
    return bags.length;
  }

  function deleteBag(uint256 bagId) public onlyContractOwner {
    delete bags[bagId];
  }

  function purchase(uint256 bagId) public payable {
    Bag storage bag = bags[bagId];

    address oldOwner = bag.owner;
    address newOwner = msg.sender;

    // Making sure token owner is not sending to self
    require(oldOwner != newOwner);

    // Safety check to prevent against an unexpected 0x0 default.
    require(_addressNotNull(newOwner));
    
    uint256 sellingPrice = getBagSellingPrice(bag);

    // Making sure sent amount is greater than or equal to the sellingPrice
    require(msg.value >= sellingPrice);

    // Take a transaction fee
    uint256 payment = uint256(SafeMath.div(SafeMath.mul(sellingPrice, 90), 100));
    uint256 purchaseExcess = SafeMath.sub(msg.value, sellingPrice);

    uint256 level = getBagLevel(bag);
    bag.level = SafeMath.add(level, 1);
    bag.owner = newOwner;
    bag.purchasedAt = now;

    
    // Pay previous tokenOwner if owner is not contract
    if (oldOwner != address(this)) {
      oldOwner.transfer(payment);
      
    }

    // Trigger BagSold event
    BagSold(bagId, bag.multiplier, sellingPrice, getBagSellingPrice(bag), oldOwner, newOwner);

    newOwner.transfer(purchaseExcess);
  }

  function payout() public onlyContractOwner {
    contractOwner.transfer(this.balance);
  }

  /*** PRIVATE FUNCTIONS ***/

  // If a bag hasn't been purchased in over $timeout,
  // reset its level back to 0 but retain the existing owner
  function getBagLevel(Bag bag) private view returns (uint256) {
    if (now <= (SafeMath.add(bag.purchasedAt, timeout))) {
      return bag.level;
    } else {
      return 0;
    }
  }
  
   function getOwner(Bag bag) private view returns (address) {
    if (now <= (SafeMath.add(bag.purchasedAt, timeout))) {
      return bag.owner;
    } else {
      return address(this);
    }
  }

  function getBagSellingPrice(Bag bag) private view returns (uint256) {
    uint256 level = getBagLevel(bag);
    return getPriceForLevel(bag, level);
  }

  function getNextBagSellingPrice(Bag bag) private view returns (uint256) {
    uint256 level = SafeMath.add(getBagLevel(bag), 1);
    return getPriceForLevel(bag, level);
  }

  function getPriceForLevel(Bag bag, uint256 level) private view returns (uint256) {
    uint256 sellingPrice = startingPrice;

    for (uint256 i = 0; i < level; i++) {
      sellingPrice = SafeMath.div(SafeMath.mul(sellingPrice, bag.multiplier), 100);
    }

    return sellingPrice;
  }

  /// Safety check on _to address to prevent against an unexpected 0x0 default.
  function _addressNotNull(address _to) private pure returns (bool) {
    return _to != address(0);
  }
}

library SafeMath {

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

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

  /**
  * @dev Substracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

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

    Contract ABI  
[{"constant":false,"inputs":[{"name":"_startingPrice","type":"uint256"}],"name":"setStartingPrice","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"bagId","type":"uint256"}],"name":"deleteBag","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"payout","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"timeout","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"multiplier","type":"uint256"}],"name":"createBag","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_timeout","type":"uint256"}],"name":"setTimeout","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"contractOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"startingPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"bagId","type":"uint256"},{"name":"multiplier","type":"uint256"}],"name":"setBagMultiplier","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"bagId","type":"uint256"}],"name":"getBag","outputs":[{"name":"owner","type":"address"},{"name":"sellingPrice","type":"uint256"},{"name":"nextSellingPrice","type":"uint256"},{"name":"level","type":"uint256"},{"name":"multiplier","type":"uint256"},{"name":"purchasedAt","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"bagId","type":"uint256"}],"name":"purchase","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"getBagCount","outputs":[{"name":"bagCount","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"bagId","type":"uint256"},{"indexed":false,"name":"multiplier","type":"uint256"},{"indexed":false,"name":"oldPrice","type":"uint256"},{"indexed":false,"name":"newPrice","type":"uint256"},{"indexed":false,"name":"prevOwner","type":"address"},{"indexed":false,"name":"newOwner","type":"address"}],"name":"BagSold","type":"event"}]

  Contract Creation Code Switch To Opcodes View
6060604052620151806001556611c37937e0800060025534156200002257600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200008260966200012864010000000002620004f7176401000000009004565b620000a260966200012864010000000002620004f7176401000000009004565b620000c260966200012864010000000002620004f7176401000000009004565b620000e260c86200012864010000000002620004f7176401000000009004565b6200010260c86200012864010000000002620004f7176401000000009004565b6200012260c86200012864010000000002620004f7176401000000009004565b62000337565b6200013262000262565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156200018e57600080fd5b6080604051908101604052803073ffffffffffffffffffffffffffffffffffffffff168152602001600081526020018381526020016000815250905060038054806001018281620001e09190620002a1565b9160005260206000209060040201600083909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020155606082015181600301555050505050565b608060405190810160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152602001600081525090565b815481835581811511620002d157600402816004028360005260206000209182019101620002d09190620002d6565b5b505050565b6200033491905b808211156200033057600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560018201600090556002820160009055600382016000905550600401620002dd565b5090565b90565b6110c180620003476000396000f3006060604052600436106100ba576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630f73b4f4146100bf57806341f64b85146100e257806363bd1d4a1461010557806370dea79a1461011a5780638558c0af14610143578063c58a34cc14610166578063ce606ee014610189578063d6fbf202146101de578063e1ed7fcb14610207578063e308c21314610233578063efef39a1146102b9578063f3548cd3146102d1575b600080fd5b34156100ca57600080fd5b6100e060048080359060200190919050506102fa565b005b34156100ed57600080fd5b610103600480803590602001909190505061035f565b005b341561011057600080fd5b61011861041c565b005b341561012557600080fd5b61012d6104f1565b6040518082815260200191505060405180910390f35b341561014e57600080fd5b61016460048080359060200190919050506104f7565b005b341561017157600080fd5b610187600480803590602001909190505061062c565b005b341561019457600080fd5b61019c610691565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156101e957600080fd5b6101f16106b6565b6040518082815260200191505060405180910390f35b341561021257600080fd5b61023160048080359060200190919080359060200190919050506106bc565b005b341561023e57600080fd5b6102546004808035906020019091905050610746565b604051808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001868152602001858152602001848152602001838152602001828152602001965050505050505060405180910390f35b6102cf60048080359060200190919050506109b4565b005b34156102dc57600080fd5b6102e4610e01565b6040518082815260200191505060405180910390f35b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561035557600080fd5b8060028190555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156103ba57600080fd5b6003818154811015156103c957fe5b9060005260206000209060040201600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600182016000905560028201600090556003820160009055505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561047757600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f1935050505015156104ef57600080fd5b565b60015481565b6104ff610fc6565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561055a57600080fd5b6080604051908101604052803073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200183815260200160008152509050600380548060010182816105aa9190611005565b9160005260206000209060040201600083909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020155606082015181600301555050505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561068757600080fd5b8060018190555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60025481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561071957600080fd5b60038381548110151561072857fe5b90600052602060002090600402019050818160020181905550505050565b600080600080600080600060038881548110151561076057fe5b906000526020600020906004020190506107f981608060405190810160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815260200160028201548152602001600382015481525050610e0e565b965061088481608060405190810160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815260200160028201548152602001600382015481525050610e3d565b935061090f81608060405190810160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815260200160028201548152602001600382015481525050610e6d565b955061099a81608060405190810160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815260200160028201548152602001600382015481525050610e8d565b945080600201549250806003015491505091939550919395565b60008060008060008060006003888154811015156109ce57fe5b906000526020600020906004020196508660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1695503394508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614151515610a4357600080fd5b610a4c85610eb7565b1515610a5757600080fd5b610ae087608060405190810160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815260200160028201548152602001600382015481525050610e6d565b9350833410151515610af157600080fd5b610b06610aff85605a610ef0565b6064610f2b565b9250610b123485610f46565b9150610b9d87608060405190810160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815260200160028201548152602001600382015481525050610e3d565b9050610baa816001610f5f565b8760010181905550848760000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055504287600301819055503073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16141515610c74578573ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f193505050501515610c7357600080fd5b5b7fe8a01f1153a51225311b9dae279b4438dcfa3b4507176fb5ab01915632437cc388886002015486610d258b608060405190810160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815260200160028201548152602001600382015481525050610e6d565b8a8a604051808781526020018681526020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001965050505050505060405180910390a18473ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501515610df757600080fd5b5050505050505050565b6000600380549050905090565b6000610e208260600151600154610f5f565b42111515610e345781600001519050610e38565b3090505b919050565b6000610e4f8260600151600154610f5f565b42111515610e635781602001519050610e68565b600090505b919050565b600080610e7983610e3d565b9050610e858382610f7d565b915050919050565b600080610ea3610e9c84610e3d565b6001610f5f565b9050610eaf8382610f7d565b915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000806000841415610f055760009150610f24565b8284029050828482811515610f1657fe5b04141515610f2057fe5b8091505b5092915050565b6000808284811515610f3957fe5b0490508091505092915050565b6000828211151515610f5457fe5b818303905092915050565b6000808284019050838110151515610f7357fe5b8091505092915050565b60008060006002549150600090505b83811015610fbb57610fac610fa5838760400151610ef0565b6064610f2b565b91508080600101915050610f8c565b819250505092915050565b608060405190810160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152602001600081525090565b815481835581811511611032576004028160040283600052602060002091820191016110319190611037565b5b505050565b61109291905b8082111561108e57600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160009055600282016000905560038201600090555060040161103d565b5090565b905600a165627a7a72305820ab6d1ae51b4fadabb3169a69af0a7853bfbea8a00f2313592be59fd4bc0e681f0029

   Swarm Source:
bzzr://ab6d1ae51b4fadabb3169a69af0a7853bfbea8a00f2313592be59fd4bc0e681f

 

View All
Block Age transaction Difficulty Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.