Contract 0x994e9A9646e9f261965f0469187beCd0696B1DdE

 
 
Txn Hash
Method
Block
From
To
Value
0x5b7b5519f03a2c291e23abe9ab308431ca34db81dbe6d92a1e4c8bea7a94e35aEnter97913172020-04-02 7:49:26865 days 17 hrs ago0xd1b7a30b02e4ed79025204be3c919d8f28457ab0 IN  0x994e9a9646e9f261965f0469187becd0696b1dde0 Ether0.‍000047212
0x8151ba2a8d5b668a7361ed214e557c2b57efc98104c9bef86c85d8015fadc752Enter97912912020-04-02 7:43:44865 days 17 hrs ago0xd1b7a30b02e4ed79025204be3c919d8f28457ab0 IN  0x994e9a9646e9f261965f0469187becd0696b1dde0 Ether0.‍000047212
0x2dc1819b3d2bb7d6d76eaa0058119d4c1491cec2b57fd3a641d20edd716b9b0bEnter96946132020-03-18 8:47:57880 days 16 hrs ago0x5f42e271f0eaec7b105193dcc0bf2b0b216b466e IN  0x994e9a9646e9f261965f0469187becd0696b1dde0 Ether0.‍000118035
0x6e6259e32767ff6fd3828b9ca704d7ecdd278cc3a4bf9dd1542370ba6580eefaEnter96075832020-03-04 23:07:49894 days 2 hrs ago0xb4fdb9b77c97a94cdb6d0579fefe8ab00af777b8 IN  0x994e9a9646e9f261965f0469187becd0696b1dde0 Ether0.‍00002361
0x15dba8dbef92e2adb0bb662c31f4f294ec26354c04c1190e19056e034b178f37Claim95968442020-03-03 7:27:20895 days 17 hrs ago0xc6b32f65627f638f24ed55f31d98eaab135aa57a IN  0x994e9a9646e9f261965f0469187becd0696b1dde0 Ether0.‍00066941.‍1
0xc1e60a2c4783033e3c54a21e5d16ffa66f74218beed8eae2f0c6ef0375b67dfeClaim95947292020-03-02 23:40:43896 days 1 hr ago0x5043f8b2b887091685dec034079acb1373b9714e IN  0x994e9a9646e9f261965f0469187becd0696b1dde0 Ether0.‍000381561
0x0609387fa34f54ce0952bd4f3b13b1b7fd4bce43d5cf3c7fdbc566281f1175d4Claim95946992020-03-02 23:34:21896 days 1 hr ago0xe8824a871ce93ac673e53ebbabdd3273b7e84e58 IN  0x994e9a9646e9f261965f0469187becd0696b1dde0 Ether0.‍000366571
0x79bd95e11f563fa01aa5de0acc0fb5276ae7cb0665b9404fcffd57d33b7a1925Claim95945972020-03-02 23:13:40896 days 1 hr ago0x569bd76e645fc767e84f8cbb34f40261e7c74c76 IN  0x994e9a9646e9f261965f0469187becd0696b1dde0 Ether0.‍000400111
0xf263c19246e059cffac2a9788e33f8be57524344492d19c438b714455f6bdd08Claimjackpot95945742020-03-02 23:08:24896 days 2 hrs ago0x1b40b0e16707170f5df69ebb753eb1a2b15966b9 IN  0x994e9a9646e9f261965f0469187becd0696b1dde0 Ether0.‍000377351
0x83ff49a087fe5badaaf910f399c3bc3d9d3ca7ae816dcf3fe89594f140b108e7Enter95945672020-03-02 23:07:41896 days 2 hrs ago0x24fefb120c4a6252fda787e1214bf5bc92e67d84 IN  0x994e9a9646e9f261965f0469187becd0696b1dde0 Ether0.‍00002361
0x884ec08c0e1ca25418403b7a1ca1c8fd3ca751d0962a61335460deb6cce46de9Enter95945652020-03-02 23:07:18896 days 2 hrs agoENS Name sfichera.eth IN  0x994e9a9646e9f261965f0469187becd0696b1dde0 Ether0.‍00002361
0x362e3e91e95d9a7217bd868ee43f41c162d412f57b578474a27848fbdc223020Enter95945652020-03-02 23:07:18896 days 2 hrs agoENS Name sfichera.eth IN  0x994e9a9646e9f261965f0469187becd0696b1dde0 Ether0.‍00002361
0xae66c2c177344fc46beec4fda9f4f742478acffbece6be3171b1594abbe786cdEnter95945652020-03-02 23:07:18896 days 2 hrs agoENS Name sfichera.eth IN  0x994e9a9646e9f261965f0469187becd0696b1dde0 Ether0.‍00002361
0x31fdf490bedcd18fc88843fc190429929252a98d4bb74ae6b568a41d8455573cEnter95945652020-03-02 23:07:18896 days 2 hrs agoENS Name sfichera.eth IN  0x994e9a9646e9f261965f0469187becd0696b1dde0 Ether0.‍00002361
0xbf442f86d19bc5726e430882ed77d384700873dbf5744a45fc9b679a9f3420f4Enter95945652020-03-02 23:07:18896 days 2 hrs agoENS Name sfichera.eth IN  0x994e9a9646e9f261965f0469187becd0696b1dde0 Ether0.‍00002361
0x7a4dd623198f8eae6da466995a7891f32a179f1f76d0e93dba43e2bbb864f545Enter95945652020-03-02 23:07:18896 days 2 hrs ago0xe8824a871ce93ac673e53ebbabdd3273b7e84e58 IN  0x994e9a9646e9f261965f0469187becd0696b1dde0 Ether0.‍00002361
0xc43bfd5be0fd753639cfe6ebeaedece39e0cf935bcf66ddcbbdff2f7ce12a2f7Enter95945652020-03-02 23:07:18896 days 2 hrs ago0xe8824a871ce93ac673e53ebbabdd3273b7e84e58 IN  0x994e9a9646e9f261965f0469187becd0696b1dde0 Ether0.‍00002361
0x642dac015fec911162cf829c3d717059f29adcb306f56d5b28a5fcb37876207aEnter95945612020-03-02 23:06:51896 days 2 hrs ago0x569bd76e645fc767e84f8cbb34f40261e7c74c76 IN  0x994e9a9646e9f261965f0469187becd0696b1dde0 Ether0.‍00002361
0x0ad69d7ddf33092a99780ec5f64136baf10346399a7e32658eb1511962b09d10Enter95945612020-03-02 23:06:51896 days 2 hrs ago0x569bd76e645fc767e84f8cbb34f40261e7c74c76 IN  0x994e9a9646e9f261965f0469187becd0696b1dde0 Ether0.‍000136961
0xcfdd134d231739162ac45174435e23d61ab09da4b4b7703eec3cf19d1344d4afEnter95945502020-03-02 23:04:20896 days 2 hrs ago0x1b40b0e16707170f5df69ebb753eb1a2b15966b9 IN  0x994e9a9646e9f261965f0469187becd0696b1dde0 Ether0.‍000156141
0xc169a47b953279b4dd02141eca7f2d7fab13fb79ad186ac54d48278f749a8be6Enter95945502020-03-02 23:04:20896 days 2 hrs ago0x24fefb120c4a6252fda787e1214bf5bc92e67d84 IN  0x994e9a9646e9f261965f0469187becd0696b1dde0 Ether0.‍000170091
0xa328b2375a72407c6837a86dedac7234f868578c6a10e744c01b7f4688002eeaEnter95945482020-03-02 23:03:47896 days 2 hrs agoENS Name sfichera.eth IN  0x994e9a9646e9f261965f0469187becd0696b1dde0 Ether0.‍000114331
0x944c10e3ab526a6e3da8b54630b238b3c0e4b0d2105d49e76c1cb9e786c97468Enter95945462020-03-02 23:03:33896 days 2 hrs ago0x569bd76e645fc767e84f8cbb34f40261e7c74c76 IN  0x994e9a9646e9f261965f0469187becd0696b1dde0 Ether0.‍000214371
0x456b201e174f5acfdd741826a28f991d581427d6956cfd1c053d4985391b45bbEnter95945462020-03-02 23:03:33896 days 2 hrs agoENS Name sfichera.eth IN  0x994e9a9646e9f261965f0469187becd0696b1dde0 Ether0.‍000137191.‍2
0x7b3245595d439ae0187cc950e3e994f1c06ab1c6e0273025db27e4be21e9149fEnter95945452020-03-02 23:03:24896 days 2 hrs ago0x24fefb120c4a6252fda787e1214bf5bc92e67d84 IN  0x994e9a9646e9f261965f0469187becd0696b1dde0 Ether0.‍000174291
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LastBuy_beta_2

Compiler Version
v0.5.12+commit.7709ece9

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2020-02-28
*/

pragma solidity >= 0.5.12;

library SafeMath {
  function add(uint a, uint b) internal pure returns (uint c) {
    c = a + b;
    require(c >= a);
  }
  function sub(uint a, uint b) internal pure returns (uint c) {
    require(b <= a);
    c = a - b;
  }
  function mul(uint a, uint b) internal pure returns (uint c) {
    c = a * b;
    require(a == 0 || c / a == b);
  }
  function div(uint a, uint b) internal pure returns (uint c) {
    require(b > 0);
    c = a / b;
  }
}

interface IERC20 {
  function totalSupply() external view returns (uint256);
  function balanceOf(address account) external view returns (uint256);
  function transfer(address recipient, uint256 amount) external returns (bool);
  function allowance(address owner, address spender) external view returns (uint256);
  function approve(address spender, uint256 amount) external returns (bool);
  function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
  event Transfer(address indexed from, address indexed to, uint256 value);
  event Approval(address indexed owner, address indexed spender, uint256 value);
}

contract Owned {
  address public owner;
  address public newOwner;

  event OwnershipTransferred(address indexed _from, address indexed _to);

  constructor() public {
    owner = msg.sender;
  }

  modifier onlyOwner {
    require(msg.sender == owner);
    _;
  }

  function transferOwnership(address _newOwner) public onlyOwner {
    newOwner = _newOwner;
  }
  function acceptOwnership() public {
    require(msg.sender == newOwner);
    emit OwnershipTransferred(owner, newOwner);
    owner = newOwner;
    newOwner = address(0);
  }
}

contract LastBuy_beta_2 is Owned {
  using SafeMath for uint;

  event playerenter(address player, address token, uint256 amount, uint256 cost);
  event winnerclaim(address winner, address token, uint256 amount);
  event poolclaim(address player, address token, uint256 amount);

  constructor() public {
    //stt
    tokenlist[0] = 0xaC9Bb427953aC7FDDC562ADcA86CF42D988047Fd;
    tokenbase[tokenlist[0]] = 4 * 10**20;
    //pyro
    tokenlist[1] = 0x14409B0Fc5C7f87b5DAd20754fE22d29A3dE8217;
    tokenbase[tokenlist[1]] = 1 * 10**20;
    //shuf
    tokenlist[2] = 0x3A9FfF453d50D4Ac52A6890647b823379ba36B9E;
    tokenbase[tokenlist[2]] = 16 * 10**16;
    //shock
    tokenlist[3] = 0x62d69910f45b839903eFfd217559307AEc307076;
    tokenbase[tokenlist[3]] = 3 * 10**17;
  }


  mapping(uint256 => address) public tokenlist;

  uint256 public stopblock;
  address public winner;

  mapping(address => uint256) public entries;
  mapping(address => uint256) public tokenbase;
  mapping(address => uint256) public blockbalance;
  mapping(address => uint256) public endbalance;
  mapping(uint256 => address) public winpool;
  mapping(uint256 => bool) public winpoolclaimed;

  bool public jackpotclaimed;

  bool public started;
  bool public ended;

  modifier notStarted {
    require(started == false);
    _;
  }
  modifier isStarted {
    require(started == true);
    _;
  }
  modifier notEnded {
    require(ended == false);
    _;
  }
  modifier isEnded {
    require(ended == true);
    _;
  }



  function enter(address token, uint256 amount) public isStarted() notEnded() {
    require(amount > 0);
    require(tokenbase[token] != 0);

    if(block.number >= stopblock) {
      endgame();
    }
    else {
      IERC20 itoken = IERC20(token);
      uint256 blockcost = getblockcost(token);
      uint256 _cost = amount.mul(blockcost);

      require(itoken.transferFrom(msg.sender, address(this), _cost));

      if(stopblock + amount - block.number > 6000) {
        stopblock = block.number + 6000;
      }
      else {
        stopblock = amount + stopblock;
      }
      entries[token] = amount + entries[token];
      winner = msg.sender;
      blockbalance[msg.sender] = blockbalance[msg.sender] + amount;

      poolhandler(msg.sender);

      emit playerenter(msg.sender, token, amount, _cost);
    }
  }

  function endgame() public isStarted() notEnded() {
    if(block.number >= stopblock) {
      IERC20 _itmp;
      for(uint256 i = 0; i < 4; i++) {
        _itmp = IERC20(tokenlist[i]);
        endbalance[tokenlist[i]] = _itmp.balanceOf(address(this));
      }
      ended = true;
    }
  }

  function claim(uint256 plyr) public isEnded() {
    require(winpoolclaimed[plyr] == false);
    address _addr = winpool[plyr];
    require(_addr != 0x0000000000000000000000000000000000000000);
    IERC20 _itmp;
    uint256 _shareamt;
    winpoolclaimed[plyr] = true;
    for(uint256 i = 0; i < 4; i++) {
      _itmp = IERC20(tokenlist[i]);
      _shareamt = endbalance[tokenlist[i]] / 40;
      _itmp.transfer(_addr, _shareamt);
      emit poolclaim(_addr, tokenlist[i], _shareamt);
    }

  }

  function claimjackpot() public isEnded() {
    require(jackpotclaimed == false);
    IERC20 _itmp;
    uint256 _contractbal;
    uint256 _shareamt;
    uint256 _winamt;
    jackpotclaimed = true;
    for(uint256 i = 0; i < 4; i++) {
      _itmp = IERC20(tokenlist[i]);
      _contractbal = endbalance[tokenlist[i]];
      _shareamt = _contractbal / 40;
      _winamt = _contractbal - _shareamt * 8;
      _itmp.transfer(winner, _winamt);
      emit winnerclaim(winner, tokenlist[i], _contractbal);
    }
  }

  function poolhandler(address _addr) internal returns(bool) {

    uint256 low = 0;

    for(uint256 i = 0; i < 8; i++) {
      if(winpool[i] == _addr){
        return(false);
      }
      if(blockbalance[winpool[low]] > blockbalance[winpool[i]]) {
        low = i;
      }
    }

    if(blockbalance[_addr] > blockbalance[winpool[low]]) {
      winpool[low] = _addr;
    }
    return(true);
  }


  //VIEW FUNCTIONS
  function getblockcost(address token) public view returns(uint256) {
    return(tokenbase[token] + (entries[token] * tokenbase[token]) / 10**4);
  }

  //ADMIN FUNCTIONS

  function adminStart(uint256 numblocks) public onlyOwner() notStarted() {
    stopblock = block.number + numblocks;
    started = true;
  }

  function adminwithdrawal(address token, uint256 amount) public onlyOwner() isEnded() {
    require(jackpotclaimed == true);
    IERC20 itoken = IERC20(token);
    itoken.transfer(msg.sender, amount);
  }
  function clearETH() public onlyOwner() {
    address payable _owner = msg.sender;
    _owner.transfer(address(this).balance);
  }


}

Contract Security Audit

Contract ABI

[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"player","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"cost","type":"uint256"}],"name":"playerenter","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"player","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"poolclaim","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"winner","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"winnerclaim","type":"event"},{"constant":false,"inputs":[],"name":"acceptOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"numblocks","type":"uint256"}],"name":"adminStart","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"adminwithdrawal","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blockbalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"plyr","type":"uint256"}],"name":"claim","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"claimjackpot","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"clearETH","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"endbalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ended","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"endgame","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"enter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"entries","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"getblockcost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"jackpotclaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"newOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"started","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"stopblock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenbase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenlist","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"winner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"winpool","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"winpoolclaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50600080546001600160a01b0319908116331782557fac33ff75c19e70fe83507db0d683fd3465c996598dc972688b7ace676c89077b8054821673ac9bb427953ac7fddc562adca86cf42d988047fd17908190556001600160a01b039081168352600660205260408084206815af1d78b58c40000090557fe90b7bceb6e7df5418fb78d8ee546e97c83a08bbccc01a0644d599ccd2a7c2e0805484167314409b0fc5c7f87b5dad20754fe22d29a3de821717908190558216845280842068056bc75e2d6310000090557f679795a0195a1b76cdebb7c51d74e058aee92919b8c3389af86ef24535e8a28c80548416733a9fff453d50d4ac52a6890647b823379ba36b9e1790819055821684528084206702386f26fc10000090557f88601476d11616a71c5be67555bd1dff4b1cbf21533d2669b768b61518cfe1c380549093167362d69910f45b839903effd217559307aec3070761792839055911682528120670429d069189e00009055610e1d90819061018b90396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c80637e75b641116100c3578063b7b5488e1161007c578063b7b5488e14610345578063d4ee1d9014610362578063dfbf53ae1461036a578063f29ee12514610372578063f2fde38b14610398578063ff41ccac146103be57610158565b80637e75b641146102975780638da5cb5b146102bd5780639dd63d6b146102c5578063a2d95c97146102cd578063a6e3ce2b146102f3578063ab00d6481461031f57610158565b80634f3cb541116101155780634f3cb541146101df57806350927027146102185780635beb232214610235578063616eb6381461025b57806379ba5097146102635780637e348b7d1461026b57610158565b806312fa6feb1461015d5780631f2698ab1461017957806323c9965614610181578063379607f51461018b5780633a3f62a9146101a85780634257cd56146101c2575b600080fd5b6101656103c6565b604080519115158252519081900360200190f35b6101656103d5565b6101896103e3565b005b610189600480360360208110156101a157600080fd5b5035610545565b6101b06106cc565b60408051918252519081900360200190f35b610165600480360360208110156101d857600080fd5b50356106d2565b6101fc600480360360208110156101f557600080fd5b50356106e7565b604080516001600160a01b039092168252519081900360200190f35b6101896004803603602081101561022e57600080fd5b5035610702565b6101b06004803603602081101561024b57600080fd5b50356001600160a01b0316610744565b610189610778565b6101896107c2565b6101896004803603604081101561028157600080fd5b506001600160a01b03813516906020013561083d565b6101b0600480360360208110156102ad57600080fd5b50356001600160a01b0316610a2d565b6101fc610a3f565b610189610a4e565b6101b0600480360360208110156102e357600080fd5b50356001600160a01b0316610b5b565b6101896004803603604081101561030957600080fd5b506001600160a01b038135169060200135610b6d565b6101b06004803603602081101561033557600080fd5b50356001600160a01b0316610c2e565b6101fc6004803603602081101561035b57600080fd5b5035610c40565b6101fc610c5b565b6101fc610c6a565b6101b06004803603602081101561038857600080fd5b50356001600160a01b0316610c79565b610189600480360360208110156103ae57600080fd5b50356001600160a01b0316610c8b565b610165610cc4565b600b5462010000900460ff1681565b600b54610100900460ff1681565b600b5462010000900460ff1615156001146103fd57600080fd5b600b5460ff161561040d57600080fd5b600b805460ff191660011790556000808080805b600481101561053e576000818152600260209081526040808320546001600160a01b0390811680855260088085528386205460048054865163a9059cbb60e01b8152951690850152602881049182028103602485018190529451929b5099509750919550889363a9059cbb9360448084019491939192918390030190829087803b1580156104ae57600080fd5b505af11580156104c2573d6000803e3d6000fd5b505050506040513d60208110156104d857600080fd5b50506004546000828152600260209081526040918290205482516001600160a01b039485168152931690830152818101869052517f91790ef096d358b57f8152d81247d01f3321bc8888cc7a2cc7d1dc623cbbfccd9181900360600190a1600101610421565b5050505050565b600b5462010000900460ff16151560011461055f57600080fd5b6000818152600a602052604090205460ff161561057b57600080fd5b6000818152600960205260409020546001600160a01b03168061059d57600080fd5b6000828152600a60205260408120805460ff1916600117905580805b600481101561053e576000818152600260209081526040808320546001600160a01b039081168085526008845282852054835163a9059cbb60e01b8152928a16600484015260289004602483018190529251909750919550869363a9059cbb9360448084019491939192918390030190829087803b15801561063a57600080fd5b505af115801561064e573d6000803e3d6000fd5b505050506040513d602081101561066457600080fd5b50506000818152600260209081526040918290205482516001600160a01b0380891682529091169181019190915280820184905290517f46b2a82409cd6975a88d272ade8caa986c5b66b79a88dc3ed57d42f20973c2bf9181900360600190a16001016105b9565b60035481565b600a6020526000908152604090205460ff1681565b6002602052600090815260409020546001600160a01b031681565b6000546001600160a01b0316331461071957600080fd5b600b54610100900460ff161561072e57600080fd5b4301600355600b805461ff001916610100179055565b6001600160a01b0381166000908152600660208181526040808420546005835293205491905261271090820204015b919050565b6000546001600160a01b0316331461078f57600080fd5b60405133908190303180156108fc02916000818181858888f193505050501580156107be573d6000803e3d6000fd5b5050565b6001546001600160a01b031633146107d957600080fd5b600154600080546040516001600160a01b0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a360018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b600b5460ff61010090910416151560011461085757600080fd5b600b5462010000900460ff161561086d57600080fd5b6000811161087a57600080fd5b6001600160a01b03821660009081526006602052604090205461089c57600080fd5b60035443106108b2576108ad610a4e565b6107be565b8160006108be82610744565b905060006108d2848363ffffffff610ccd16565b604080516323b872dd60e01b81523360048201523060248201526044810183905290519192506001600160a01b038516916323b872dd916064808201926020929091908290030181600087803b15801561092b57600080fd5b505af115801561093f573d6000803e3d6000fd5b505050506040513d602081101561095557600080fd5b505161096057600080fd5b61177043856003540103111561097d576117704301600355610986565b60038054850190555b6001600160a01b0385166000908152600560209081526040808320805488019055600480546001600160a01b0319163390811790915580845260079092529091208054860190556109d690610cf4565b50604080513381526001600160a01b03871660208201528082018690526060810183905290517fc9d17c7e1413abf7c51fa97247a597edaeae176e63bff9834caa83841f0a7c249181900360800190a15050505050565b60086020526000908152604090205481565b6000546001600160a01b031681565b600b5460ff610100909104161515600114610a6857600080fd5b600b5462010000900460ff1615610a7e57600080fd5b6003544310610b59576000805b6004811015610b45576000818152600260209081526040918290205482516370a0823160e01b815230600482015292516001600160a01b03909116945084926370a08231926024808301939192829003018186803b158015610aec57600080fd5b505afa158015610b00573d6000803e3d6000fd5b505050506040513d6020811015610b1657600080fd5b50516000828152600260209081526040808320546001600160a01b031683526008909152902055600101610a8b565b5050600b805462ff00001916620100001790555b565b60076020526000908152604090205481565b6000546001600160a01b03163314610b8457600080fd5b600b5462010000900460ff161515600114610b9e57600080fd5b600b5460ff161515600114610bb257600080fd5b6040805163a9059cbb60e01b815233600482015260248101839052905183916001600160a01b0383169163a9059cbb916044808201926020929091908290030181600087803b158015610c0457600080fd5b505af1158015610c18573d6000803e3d6000fd5b505050506040513d602081101561053e57600080fd5b60066020526000908152604090205481565b6009602052600090815260409020546001600160a01b031681565b6001546001600160a01b031681565b6004546001600160a01b031681565b60056020526000908152604090205481565b6000546001600160a01b03163314610ca257600080fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b600b5460ff1681565b818102821580610ce5575081838281610ce257fe5b04145b610cee57600080fd5b92915050565b600080805b6008811015610d7f576000818152600960205260409020546001600160a01b0385811691161415610d2f57600092505050610773565b6000818152600960208181526040808420546001600160a01b039081168552600780845282862054888752948452828620549091168552909152909120541115610d77578091505b600101610cf9565b506000818152600960209081526040808320546001600160a01b0390811684526007909252808320549186168352909120541115610ddf57600081815260096020526040902080546001600160a01b0319166001600160a01b0385161790555b5060019291505056fea265627a7a72315820a38488478af5c3fa8ef1cf4a6b37bb5845d35e5fcd0c147915e4a12c2f808d1564736f6c634300050c0032

Deployed ByteCode Sourcemap

1730:4872:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1730:4872:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2994:17;;;:::i;:::-;;;;;;;;;;;;;;;;;;2970:19;;;:::i;4959:522::-;;;:::i;:::-;;4446:507;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4446:507:0;;:::i;2582:24::-;;;:::i;:::-;;;;;;;;;;;;;;;;2884:46;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2884:46:0;;:::i;2531:44::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2531:44:0;;:::i;:::-;;;;-1:-1:-1;;;;;2531:44:0;;;;;;;;;;;;;;6105:141;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6105:141:0;;:::i;5927:149::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5927:149:0;-1:-1:-1;;;;;5927:149:0;;:::i;6463:132::-;;;:::i;1545:178::-;;;:::i;3292:845::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3292:845:0;;;;;;;;:::i;2787:45::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2787:45:0;-1:-1:-1;;;;;2787:45:0;;:::i;1181:20::-;;;:::i;4143:297::-;;;:::i;2735:47::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2735:47:0;-1:-1:-1;;;;;2735:47:0;;:::i;6252:207::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;6252:207:0;;;;;;;;:::i;2686:44::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2686:44:0;-1:-1:-1;;;;;2686:44:0;;:::i;2837:42::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2837:42:0;;:::i;1206:23::-;;;:::i;2611:21::-;;;:::i;2639:42::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2639:42:0;-1:-1:-1;;;;;2639:42:0;;:::i;1445:96::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1445:96:0;-1:-1:-1;;;;;1445:96:0;;:::i;2937:26::-;;;:::i;2994:17::-;;;;;;;;;:::o;2970:19::-;;;;;;;;;:::o;4959:522::-;3254:5;;;;;;;:13;;3263:4;3254:13;3246:22;;;;;;5015:14;;;;:23;5007:32;;;;;;5138:14;:21;;-1:-1:-1;;5138:21:0;5155:4;5138:21;;;5046:12;;;;;5166:310;5189:1;5185;:5;5166:310;;;5221:12;;;;:9;:12;;;;;;;;;-1:-1:-1;;;;;5221:12:0;;;5258:24;;;:10;:24;;;;;;;5391:6;;;5376:31;;-1:-1:-1;;;5376:31:0;;5391:6;;5376:31;;;;5318:2;5303:17;;5354:13;;;5339:28;;5376:31;;;;;;;;5221:12;;-1:-1:-1;5258:24:0;-1:-1:-1;5303:17:0;-1:-1:-1;5339:28:0;;-1:-1:-1;5221:12:0;;5376:14;;:31;;;;;5221:12;;5376:31;;;;;;;;;;5221:12;5376:31;;;5:2:-1;;;;30:1;27;20:12;5:2;5376:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5376:31:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;5433:6:0;;;5441:12;;;:9;5376:31;5441:12;;;;;;;;;5421:47;;-1:-1:-1;;;;;5433:6:0;;;5421:47;;5441:12;;5421:47;;;;;;;;;;;;;;;;;;;;5192:3;;5166:310;;;;3275:1;;;;4959:522::o;4446:507::-;3254:5;;;;;;;:13;;3263:4;3254:13;3246:22;;;;;;4507:20;;;;:14;:20;;;;;;;;:29;4499:38;;;;;;4544:13;4560;;;:7;:13;;;;;;-1:-1:-1;;;;;4560:13:0;4588:51;4580:60;;;;;;4647:12;4690:20;;;:14;:20;;;;;:27;;-1:-1:-1;;4690:27:0;4713:4;4690:27;;;4647:12;;4724:222;4747:1;4743;:5;4724:222;;;4779:12;;;;:9;:12;;;;;;;;;-1:-1:-1;;;;;4779:12:0;;;4813:24;;;:10;:24;;;;;;4851:32;;-1:-1:-1;;;4851:32:0;;;;;;;;;4840:2;4813:29;;4851:32;;;;;;;;4779:12;;-1:-1:-1;4813:29:0;;-1:-1:-1;4779:12:0;;4851:14;;:32;;;;;4779:12;;4851:32;;;;;;;;;;4779:12;4851:32;;;5:2:-1;;;;30:1;27;20:12;5:2;4851:32:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4851:32:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;4914:12:0;;;;:9;4851:32;4914:12;;;;;;;;;4897:41;;-1:-1:-1;;;;;4897:41:0;;;;;4914:12;;;4897:41;;;;;;;;;;;;;;;;;;;;;;;;4750:3;;4724:222;;2582:24;;;;:::o;2884:46::-;;;;;;;;;;;;;;;:::o;2531:44::-;;;;;;;;;;;;-1:-1:-1;;;;;2531:44:0;;:::o;6105:141::-;1419:5;;-1:-1:-1;;;;;1419:5:0;1405:10;:19;1397:28;;;;;;3053:7;;;;;;;:16;3045:25;;;;;;6195:12;:24;6183:9;:36;6226:7;:14;;-1:-1:-1;;6226:14:0;;;;;6105:141::o;5927:149::-;-1:-1:-1;;;;;6044:16:0;;5984:7;6044:16;;;:9;:16;;;;;;;;;6027:7;:14;;;;;6007:16;;;6064:5;6027:33;;;6026:43;6007:62;5927:149;;;;:::o;6463:132::-;1419:5;;-1:-1:-1;;;;;1419:5:0;1405:10;:19;1397:28;;;;;;6551:38;;6534:10;;;;6575:4;6567:21;6551:38;;;;;6509:22;6551:38;6509:22;6551:38;6567:21;6534:10;6551:38;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;6551:38:0;1432:1;6463:132::o;1545:178::-;1608:8;;-1:-1:-1;;;;;1608:8:0;1594:10;:22;1586:31;;;;;;1657:8;;;1650:5;;1629:37;;-1:-1:-1;;;;;1657:8:0;;;;1650:5;;;;1629:37;;;1681:8;;;;1673:16;;-1:-1:-1;;;;;;1673:16:0;;;-1:-1:-1;;;;;1681:8:0;;1673:16;;;;1696:21;;;1545:178::o;3292:845::-;3122:7;;;;;;;;:15;;:7;:15;3114:24;;;;;;3189:5;;;;;;;:14;3181:23;;;;;;3392:1;3383:6;:10;3375:19;;;;;;-1:-1:-1;;;;;3409:16:0;;;;;;:9;:16;;;;;;3401:30;;;;;;3459:9;;3443:12;:25;3440:692;;3479:9;:7;:9::i;:::-;3440:692;;;3539:5;3516:13;3574:19;3539:5;3574:12;:19::i;:::-;3554:39;-1:-1:-1;3602:13:0;3618:21;:6;3554:39;3618:21;:10;:21;:::i;:::-;3658:53;;;-1:-1:-1;;;3658:53:0;;3678:10;3658:53;;;;3698:4;3658:53;;;;;;;;;;;;3602:37;;-1:-1:-1;;;;;;3658:19:0;;;;;:53;;;;;;;;;;;;;;;-1:-1:-1;3658:19:0;:53;;;5:2:-1;;;;30:1;27;20:12;5:2;3658:53:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3658:53:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3658:53:0;3650:62;;;;;;3762:4;3747:12;3738:6;3726:9;;:18;:33;:40;3723:161;;;3806:4;3791:12;:19;3779:9;:31;3723:161;;;3865:9;;;3856:18;;3844:30;;3723:161;-1:-1:-1;;;;;3918:14:0;;;;;;:7;:14;;;;;;;;;;3909:23;;3892:40;;3941:6;:19;;-1:-1:-1;;;;;;3941:19:0;3950:10;3941:19;;;;;;3996:24;;;:12;:24;;;;;;;;:33;;3969:60;;4040:23;;:11;:23::i;:::-;-1:-1:-1;4079:45:0;;;4091:10;4079:45;;-1:-1:-1;;;;;4079:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3440:692;;;3292:845;;:::o;2787:45::-;;;;;;;;;;;;;:::o;1181:20::-;;;-1:-1:-1;;;;;1181:20:0;;:::o;4143:297::-;3122:7;;;;;;;;:15;;:7;:15;3114:24;;;;;;3189:5;;;;;;;:14;3181:23;;;;;;4218:9;;4202:12;:25;4199:236;;4238:12;;4259:148;4282:1;4278;:5;4259:148;;;4316:12;;;;:9;:12;;;;;;;;;;4367:30;;-1:-1:-1;;;4367:30:0;;4391:4;4367:30;;;;;;-1:-1:-1;;;;;4316:12:0;;;;-1:-1:-1;4316:12:0;;4367:15;;:30;;;;;4316:12;;4367:30;;;;;4316:12;4367:30;;;5:2:-1;;;;30:1;27;20:12;5:2;4367:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4367:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4367:30:0;4340:24;4351:12;;;:9;4367:30;4351:12;;;;;;;;-1:-1:-1;;;;;4351:12:0;4340:24;;:10;:24;;;;;:57;4351:12;4285:3;4259:148;;;-1:-1:-1;;4415:5:0;:12;;-1:-1:-1;;4415:12:0;;;;;4199:236;4143:297::o;2735:47::-;;;;;;;;;;;;;:::o;6252:207::-;1419:5;;-1:-1:-1;;;;;1419:5:0;1405:10;:19;1397:28;;;;;;3254:5;;;;;;;:13;;3263:4;3254:13;3246:22;;;;;;6352:14;;;;:22;;:14;:22;6344:31;;;;;;6418:35;;;-1:-1:-1;;;6418:35:0;;6434:10;6418:35;;;;;;;;;;;;6405:5;;-1:-1:-1;;;;;6418:15:0;;;;;:35;;;;;;;;;;;;;;;6382:13;6418:15;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;6418:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;6418:35:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2686:44:0;;;;;;;;;;;;;:::o;2837:42::-;;;;;;;;;;;;-1:-1:-1;;;;;2837:42:0;;:::o;1206:23::-;;;-1:-1:-1;;;;;1206:23:0;;:::o;2611:21::-;;;-1:-1:-1;;;;;2611:21:0;;:::o;2639:42::-;;;;;;;;;;;;;:::o;1445:96::-;1419:5;;-1:-1:-1;;;;;1419:5:0;1405:10;:19;1397:28;;;;;;1515:8;:20;;-1:-1:-1;;;;;;1515:20:0;-1:-1:-1;;;;;1515:20:0;;;;;;;;;;1445:96::o;2937:26::-;;;;;;:::o;268:118::-;339:5;;;359:6;;;:20;;;378:1;373;369;:5;;;;;;:10;359:20;351:29;;;;;;268:118;;;;:::o;5487:412::-;5540:4;;;5579:198;5602:1;5598;:5;5579:198;;;5622:10;;;;:7;:10;;;;;;-1:-1:-1;;;;;5622:19:0;;;:10;;:19;5619:57;;;5660:5;5653:13;;;;;;5619:57;5716:24;5729:10;;;:7;:10;;;;;;;;;-1:-1:-1;;;;;5729:10:0;;;5716:24;;:12;:24;;;;;;;5700:12;;;;;;;;;;;;;5687:26;;;;;;;;;:53;5684:86;;;5759:1;5753:7;;5684:86;5605:3;;5579:198;;;-1:-1:-1;5810:26:0;5823:12;;;:7;:12;;;;;;;;;-1:-1:-1;;;;;5823:12:0;;;5810:26;;:12;:26;;;;;;;5788:19;;;;;;;;;:48;5785:90;;;5847:12;;;;:7;:12;;;;;:20;;-1:-1:-1;;;;;;5847:20:0;-1:-1:-1;;;;;5847:20:0;;;;;5785:90;-1:-1:-1;5888:4:0;;5487:412;-1:-1:-1;;5487:412:0:o

Swarm Source

bzzr://a38488478af5c3fa8ef1cf4a6b37bb5845d35e5fcd0c147915e4a12c2f808d15
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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.