Contract Overview
Balance: 0.005309994852306193 Ether
Ether Value: $0.44 (@ $82.77/ETH)
Transactions: 40 txns
Misc:
Address Watch: Add To Watch List
Contract Creator: 0x2656681162de91f979db63457d9f0f151b26c6e2at txn 0x4537606d9949eb25785b7d21db679cb52119ed22f57255c1e70b70dfee70f1c1
 Latest 25 transactions from a total of 40 transactions

TxHash Age From To Value [TxFee]
0x08c57a922144f686c47aea5dceba5959db129428ca8f82401ac66de4b699edd472 days 20 hrs ago0xa990eaa95b97c26e834ec554efd71ae0c8c4b4da  IN   0x2910536d9d858760c440d89f7a3821a77708933c0.011 Ether0.0000271975
0xff67dd24301e57fc7bff121c967b80bb73f76536c3223ee004f2cb6cdd2b937878 days 2 hrs ago0xbebea57ec48e59d83c7f4e2ea0949c0c1007cafe  IN   0x2910536d9d858760c440d89f7a3821a77708933c0.004 Ether0.001887303
0x57f0bec08269d6a6865e6f76bf0320201488b1fd4edf6aa028d2fda4db94ac5681 days 19 hrs ago0x984ebf6a71a946facc40f4bcbdfa50ac8edc3fbf  IN   0x2910536d9d858760c440d89f7a3821a77708933c0.011 Ether0.00092004
0xb3797ce7ab7c613963bc11612bc2d2de430b5d9a18015bc37d0029e75b5a868a82 days 3 hrs ago0x3825c8ba07166f34ce9a2cd1e08a68b105c82cb9  IN   0x2910536d9d858760c440d89f7a3821a77708933c0.01 Ether0.00061528
0x893fe0362f73390682bfdbca67a59a600123404ce8961922bcd87ec744477ef982 days 5 hrs ago0x353189c3780c31b954efe64e4f53cf3d1aba00f1  IN   0x2910536d9d858760c440d89f7a3821a77708933c0.0015 Ether0.00031084
0x6fcdc16db0b9727d4b3a74a812c098b714e99335505eb27cfb083aaab97f66ba82 days 5 hrs ago0x2656681162de91f979db63457d9f0f151b26c6e2  IN   0x2910536d9d858760c440d89f7a3821a77708933c0.0013 Ether0.000248672
0xd9a177be4f2847580444159e6ea13de3e6572c886312ae5d74cdea0ebdfa878682 days 5 hrs ago0x353189c3780c31b954efe64e4f53cf3d1aba00f1  IN   0x2910536d9d858760c440d89f7a3821a77708933c0.0012 Ether0.000248672
0x9ab565ee6bf4b15fd036ef5713e244e59df4791054370bfa06f85b93bba442c882 days 5 hrs ago0x2a02f9e9a7203717361a00e53158d85b4b3cb8db  IN   0x2910536d9d858760c440d89f7a3821a77708933c0.0011 Ether0.000248672
0xbc9da9255eed191a858425b680c78d8dbc7e2df531bd7a104c8c5b9c49ab2f2482 days 6 hrs ago0x353189c3780c31b954efe64e4f53cf3d1aba00f1  IN   0x2910536d9d858760c440d89f7a3821a77708933c0.001 Ether0.000836245
0x29d997d4b48d7bcfeae2f3e10b0deece4a99a499a927d5016024b65104846efe82 days 6 hrs ago0x2656681162de91f979db63457d9f0f151b26c6e2  IN   0x2910536d9d858760c440d89f7a3821a77708933c0 Ether0.000255222
0xd55a15f1b6a6091f53e40e9f99ac5e5b430e75d7b51f58f47374b1c5a10cb83182 days 9 hrs ago0x666512f841463ee45f27ef81197cecb964a1eb6c  IN   0x2910536d9d858760c440d89f7a3821a77708933c0.01 Ether0.00274824
0xe31263dc5d3afbf423e5a2bde8bdb3c7c13acab50d2a1348cc330bb2b3c82cdd83 days 1 hr ago0x353189c3780c31b954efe64e4f53cf3d1aba00f1  IN   0x2910536d9d858760c440d89f7a3821a77708933c0.001 Ether0.00083674
0x5c6f8e2da8692ad63ca9091bc791fdc13db6f95897d5b0129ef5fd886d9b7bbe83 days 5 hrs ago0x666512f841463ee45f27ef81197cecb964a1eb6c  IN   0x2910536d9d858760c440d89f7a3821a77708933c0.01 Ether0.001953601
0xe6eee2f018ccfd1f0d58de659c77f60afb3251ffc0b7c4d6e4d56caf6367d99183 days 6 hrs ago0x666512f841463ee45f27ef81197cecb964a1eb6c  IN   0x2910536d9d858760c440d89f7a3821a77708933c0.1 Ether0.002174676
0xf44b0b10761b72b0b98514340679c17db1d2689cef958b5c5e345fb021475cc883 days 10 hrs ago0x5aa8ceecbdd7d87106fdd8c333af0195aacad89b  IN   0x2910536d9d858760c440d89f7a3821a77708933c0.0012 Ether0.00030732
0x74ed1faa64081fc70298a5afac605d68894120b040504c8f52bb67604086942c83 days 10 hrs ago0x6014fc1b8aaaf0addd381892d78a8c9f71b98f94  IN   0x2910536d9d858760c440d89f7a3821a77708933c0.0011 Ether0.00031116
0x0287bb6591cc62c5339b6b13e2979a499b691b3ae21181a6e2d0c355dd51305e83 days 10 hrs ago0xf90970720a909125c1dd475d888ff7c4d04b2675  IN   0x2910536d9d858760c440d89f7a3821a77708933c0.001 Ether0.00094055
0x8489730005757d8d0aae18453f62388664357b1553da184b48e8173e905ccf4c83 days 22 hrs ago0x3825c8ba07166f34ce9a2cd1e08a68b105c82cb9  IN   0x2910536d9d858760c440d89f7a3821a77708933c0.1 Ether0.00104671
0x8324c98846543a77cd05985c3794859dd6af8ffd4f53f76bd8b9725df2f4b76f84 days 55 mins ago0x2656681162de91f979db63457d9f0f151b26c6e2  IN   0x2910536d9d858760c440d89f7a3821a77708933c0.001 Ether0.001031742
0x7b394d05690431fc3e76e5f5a54f6a102c0c8c7f4c87f46fecb53d0ec31a6f2f84 days 1 hr ago0x2656681162de91f979db63457d9f0f151b26c6e2  IN   0x2910536d9d858760c440d89f7a3821a77708933c0 Ether0.000162726
0xca13acdfb8ba616e45c142ab2a7cd04e55ae88b1e1a2ca5b6b1595337a99277084 days 1 hr ago0x9d72e814e81e5db61db735226b7dc0ac4c626429  IN   0x2910536d9d858760c440d89f7a3821a77708933c0.5 Ether0.002111536
0xa59b4f25a3988275b912543ac9e54defead2b176fd0367a8fb84f1ec9fb0463f84 days 2 hrs ago0x353189c3780c31b954efe64e4f53cf3d1aba00f1  IN   0x2910536d9d858760c440d89f7a3821a77708933c0.015 Ether0.000371472
0x3db15567f5eccda74f693e7954de83cf8528fbe96d26419f29cca00be29be47384 days 2 hrs ago0x3ec5972c2177a08fd5e5f606f19ab262d28ceffe  IN   0x2910536d9d858760c440d89f7a3821a77708933c0.01 Ether0.00172661
0xba4656bc013ebb1dcd43afa76f644d541d84253b6a688bfcb92c213dae42e2b984 days 4 hrs ago0x353189c3780c31b954efe64e4f53cf3d1aba00f1  IN   0x2910536d9d858760c440d89f7a3821a77708933c0.002 Ether0.00043113
0x05da99405336b117f870dd76ffb61c7b223c5d0c41e1a87de3c5e2aada27d03c84 days 5 hrs ago0xb74d5f0a81ce99ac1857133e489bc2b4954935ff  IN   0x2910536d9d858760c440d89f7a3821a77708933c0.001 Ether0.000224845
[ 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
0xff67dd24301e57fc7bff121c967b80bb73f76536c3223ee004f2cb6cdd2b9378641629278 days 2 hrs ago0x2910536d9d858760c440d89f7a3821a77708933c0x984ebf6a71a946facc40f4bcbdfa50ac8edc3fbf0.024889902193817657 Ether
0xff67dd24301e57fc7bff121c967b80bb73f76536c3223ee004f2cb6cdd2b9378641629278 days 2 hrs ago0x2910536d9d858760c440d89f7a3821a77708933c0x2656681162de91f979db63457d9f0f151b26c6e20.001378941949795992 Ether
0xbc9da9255eed191a858425b680c78d8dbc7e2df531bd7a104c8c5b9c49ab2f24639103382 days 6 hrs ago0x2910536d9d858760c440d89f7a3821a77708933c0x666512f841463ee45f27ef81197cecb964a1eb6c0.009097940922476991 Ether
0xbc9da9255eed191a858425b680c78d8dbc7e2df531bd7a104c8c5b9c49ab2f24639103382 days 6 hrs ago0x2910536d9d858760c440d89f7a3821a77708933c0x2656681162de91f979db63457d9f0f151b26c6e20.000504041048336675 Ether
0xd55a15f1b6a6091f53e40e9f99ac5e5b430e75d7b51f58f47374b1c5a10cb831639031282 days 9 hrs ago0x2910536d9d858760c440d89f7a3821a77708933c0x353189c3780c31b954efe64e4f53cf3d1aba00f10.001535598367936634 Ether
0xd55a15f1b6a6091f53e40e9f99ac5e5b430e75d7b51f58f47374b1c5a10cb831639031282 days 9 hrs ago0x2910536d9d858760c440d89f7a3821a77708933c0x2656681162de91f979db63457d9f0f151b26c6e20.000085074701824744 Ether
0xe31263dc5d3afbf423e5a2bde8bdb3c7c13acab50d2a1348cc330bb2b3c82cdd638607683 days 1 hr ago0x2910536d9d858760c440d89f7a3821a77708933c0x666512f841463ee45f27ef81197cecb964a1eb6c0.013328386693402825 Ether
0xe31263dc5d3afbf423e5a2bde8bdb3c7c13acab50d2a1348cc330bb2b3c82cdd638607683 days 1 hr ago0x2910536d9d858760c440d89f7a3821a77708933c0x2656681162de91f979db63457d9f0f151b26c6e20.000738414775257774 Ether
0x5c6f8e2da8692ad63ca9091bc791fdc13db6f95897d5b0129ef5fd886d9b7bbe638518483 days 5 hrs ago0x2910536d9d858760c440d89f7a3821a77708933c0x666512f841463ee45f27ef81197cecb964a1eb6c0.090597614597954199 Ether
0x5c6f8e2da8692ad63ca9091bc791fdc13db6f95897d5b0129ef5fd886d9b7bbe638518483 days 5 hrs ago0x2910536d9d858760c440d89f7a3821a77708933c0x2656681162de91f979db63457d9f0f151b26c6e20.005019258426479457 Ether
0xe6eee2f018ccfd1f0d58de659c77f60afb3251ffc0b7c4d6e4d56caf6367d991638479783 days 6 hrs ago0x2910536d9d858760c440d89f7a3821a77708933c0x5aa8ceecbdd7d87106fdd8c333af0195aacad89b0.007318202062193667 Ether
0xe6eee2f018ccfd1f0d58de659c77f60afb3251ffc0b7c4d6e4d56caf6367d991638479783 days 6 hrs ago0x2910536d9d858760c440d89f7a3821a77708933c0x2656681162de91f979db63457d9f0f151b26c6e20.000405440557462253 Ether
0x0287bb6591cc62c5339b6b13e2979a499b691b3ae21181a6e2d0c355dd51305e638380883 days 10 hrs ago0x2910536d9d858760c440d89f7a3821a77708933c0x3825c8ba07166f34ce9a2cd1e08a68b105c82cb90.09136741183565615 Ether
0x0287bb6591cc62c5339b6b13e2979a499b691b3ae21181a6e2d0c355dd51305e638380883 days 10 hrs ago0x2910536d9d858760c440d89f7a3821a77708933c0x2656681162de91f979db63457d9f0f151b26c6e20.005061906472889537 Ether
0x8489730005757d8d0aae18453f62388664357b1553da184b48e8173e905ccf4c638067883 days 22 hrs ago0x2910536d9d858760c440d89f7a3821a77708933c0x2656681162de91f979db63457d9f0f151b26c6e20.023524459698024201 Ether
0x8489730005757d8d0aae18453f62388664357b1553da184b48e8173e905ccf4c638067883 days 22 hrs ago0x2910536d9d858760c440d89f7a3821a77708933c0x2656681162de91f979db63457d9f0f151b26c6e20.001303294166095523 Ether
0x8324c98846543a77cd05985c3794859dd6af8ffd4f53f76bd8b9725df2f4b76f638016084 days 55 mins ago0x2910536d9d858760c440d89f7a3821a77708933c0x9d72e814e81e5db61db735226b7dc0ac4c6264290.476251783116298963 Ether
0x8324c98846543a77cd05985c3794859dd6af8ffd4f53f76bd8b9725df2f4b76f638016084 days 55 mins ago0x2910536d9d858760c440d89f7a3821a77708933c0x2656681162de91f979db63457d9f0f151b26c6e20.026385140338853128 Ether
0x3db15567f5eccda74f693e7954de83cf8528fbe96d26419f29cca00be29be473637984984 days 2 hrs ago0x2910536d9d858760c440d89f7a3821a77708933c0x353189c3780c31b954efe64e4f53cf3d1aba00f10.051353328764188688 Ether
0x3db15567f5eccda74f693e7954de83cf8528fbe96d26419f29cca00be29be473637984984 days 2 hrs ago0x2910536d9d858760c440d89f7a3821a77708933c0x2656681162de91f979db63457d9f0f151b26c6e20.00054602157112375 Ether
0x758f75f5555b7251a9fd6848908389be5da4cf334b11c6503917a8eaa4618d20637891984 days 5 hrs ago0x2910536d9d858760c440d89f7a3821a77708933c0x3825c8ba07166f34ce9a2cd1e08a68b105c82cb90.961440985135125 Ether
0x758f75f5555b7251a9fd6848908389be5da4cf334b11c6503917a8eaa4618d20637891984 days 5 hrs ago0x2910536d9d858760c440d89f7a3821a77708933c0x2656681162de91f979db63457d9f0f151b26c6e20.0102226580025 Ether
0x3f6e572847ffd1fb6c040d9f2cb1795ec0d7cb8c95ccd8dc2f664c3f35b3060a637833584 days 8 hrs ago0x2910536d9d858760c440d89f7a3821a77708933c0x353189c3780c31b954efe64e4f53cf3d1aba00f10.00315020475 Ether
0x3f6e572847ffd1fb6c040d9f2cb1795ec0d7cb8c95ccd8dc2f664c3f35b3060a637833584 days 8 hrs ago0x2910536d9d858760c440d89f7a3821a77708933c0x2656681162de91f979db63457d9f0f151b26c6e20.000033495 Ether
0xac42530d33c3602c5ff632f1f21c1a23ffc739e1fe12201e35720ae85c547530637829284 days 8 hrs ago0x2910536d9d858760c440d89f7a3821a77708933c0x353189c3780c31b954efe64e4f53cf3d1aba00f10.0009405 Ether
[ Download CSV Export  ] 
Contract Source Code Verified (Exact Match)
Contract Name: ExorbuxKing
Compiler Text: v0.4.25+commit.59dbf8f1
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.18;


/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {

  /**
  * @dev Multiplies two numbers, throws on overflow.
  */
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    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 ExorbuxKing {
  using SafeMath for uint256;  
  address public owner;
  address public king;
  string public kingsMessage;
  uint256 public bidExpireBlockLength = 12;
  uint256 public nextBidExpireBlockLength;
  uint256 public devFeePercent = 1;
  uint256 public rolloverPercent = 5;
  uint256 public lastBidAmount;
  uint256 public lastBidBlock;
  uint256 public currentRoundNumber;
  uint256 public currentBidNumber;
  uint256 public maxMessageChars = 140;
  mapping(uint256 => address) roundToKing;
  mapping(uint256 => uint256) roundToWinnings;
  mapping(uint256 => uint256) roundToFinalBid;
  mapping(uint256 => string) roundToFinalMessage;

  event NewKing(
    uint256 indexed roundNumber,
    address kingAddress,
    string kingMessage,
    uint256 bidAmount,
    uint256 indexed bidNumber,
    uint256 indexed bidBlockNumber
  );

  function ActiveAdmin () public {
    owner = 0x2656681162DE91f979dB63457D9f0f151B26c6e2;
  }

  modifier onlyOwner() {
    require(owner == msg.sender);
    _;
  }
  
  function setDevFee (uint256 _n) onlyOwner() public {
	  require(_n >= 0 && _n <= 90);
    devFeePercent = _n;
  }

  function setRollover (uint256 _n) onlyOwner() public {
	  require(_n >= 1 && _n <= 10);
    rolloverPercent = _n;
  }

  function setNextBidExpireBlockLength (uint256 _n) onlyOwner() public {
	  require(_n >= 10 && _n <= 10000);
    nextBidExpireBlockLength = _n;
  }

  function setOwner (address _owner) onlyOwner() public {
    owner = _owner;
  }

  function bid (uint256 _roundNumber, string _message) payable public {
    require(!isContract(msg.sender));
    require(bytes(_message).length <= maxMessageChars);
    require(msg.value > 0);
    
    if (_roundNumber == currentRoundNumber && !roundExpired()) {
      // bid in active round
      require(msg.value > lastBidAmount);
    }else if (_roundNumber == (currentRoundNumber+1) && roundExpired()) {
      // first bid of new round, process old round
      var lastRoundPotBalance = this.balance.sub(msg.value);
      uint256 devFee = lastRoundPotBalance.mul(devFeePercent).div(100);
      owner.transfer(devFee);
      uint256 winnings = lastRoundPotBalance.sub(devFee).mul(100 - rolloverPercent).div(100);
      king.transfer(winnings);

      // save previous round data
      roundToKing[currentRoundNumber] = king;
      roundToWinnings[currentRoundNumber] = winnings;
      roundToFinalBid[currentRoundNumber] = lastBidAmount;
      roundToFinalMessage[currentRoundNumber] = kingsMessage;

      currentBidNumber = 0;
      currentRoundNumber++;

      if (nextBidExpireBlockLength != 0) {
        bidExpireBlockLength = nextBidExpireBlockLength;
        nextBidExpireBlockLength = 0;
      }
    }else {
      require(false);
    }

    // new king
    king = msg.sender;
    kingsMessage = _message;
    lastBidAmount = msg.value;
    lastBidBlock = block.number;

    NewKing(currentRoundNumber, king, kingsMessage, lastBidAmount, currentBidNumber, lastBidBlock);

    currentBidNumber++;
  }

  function roundExpired() public view returns (bool) {
    return blocksSinceLastBid() >= bidExpireBlockLength;
  }

  function blocksRemaining() public view returns (uint256) {
    if (roundExpired()) {
      return 0;
    }else {
      return bidExpireBlockLength - blocksSinceLastBid();
    }
  }

  function blocksSinceLastBid() public view returns (uint256) {
    return block.number - lastBidBlock;
  }

  function estimateNextPotSeedAmount() public view returns (uint256) {
      return this.balance.mul(100 - devFeePercent).div(100).mul(rolloverPercent).div(100);
  }

  function getRoundState() public view returns (bool _currentRoundExpired, uint256 _nextRoundPotSeedAmountEstimate, uint256 _roundNumber, uint256 _bidNumber, address _king, string _kingsMessage, uint256 _lastBidAmount, uint256 _blocksRemaining, uint256 _potAmount, uint256 _blockNumber, uint256 _bidExpireBlockLength) {
    _currentRoundExpired = roundExpired();
    _nextRoundPotSeedAmountEstimate = estimateNextPotSeedAmount();
    _roundNumber = currentRoundNumber;
    _bidNumber = currentBidNumber;
    _king = king;
    _kingsMessage = kingsMessage;
    _lastBidAmount = lastBidAmount;
    _blocksRemaining = blocksRemaining();
    _potAmount = this.balance;
    _blockNumber = block.number;
    _bidExpireBlockLength = bidExpireBlockLength;
  }

  function getPastRound(uint256 _roundNum) public view returns (address _kingAddress, uint256 _finalBid, uint256 _kingWinnings, string _finalMessage) {
    _kingAddress = roundToKing[_roundNum]; 
    _kingWinnings = roundToWinnings[_roundNum];
    _finalBid = roundToFinalBid[_roundNum];
    _finalMessage = roundToFinalMessage[_roundNum];
  }

  function isContract(address addr) internal view returns (bool) {
    uint size;
    assembly { size := extcodesize(addr) }
    return size > 0;
  }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"blocksSinceLastBid","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"maxMessageChars","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_roundNumber","type":"uint256"},{"name":"_message","type":"string"}],"name":"bid","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"}],"name":"setOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"nextBidExpireBlockLength","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_n","type":"uint256"}],"name":"setDevFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"bidExpireBlockLength","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"ActiveAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getRoundState","outputs":[{"name":"_currentRoundExpired","type":"bool"},{"name":"_nextRoundPotSeedAmountEstimate","type":"uint256"},{"name":"_roundNumber","type":"uint256"},{"name":"_bidNumber","type":"uint256"},{"name":"_king","type":"address"},{"name":"_kingsMessage","type":"string"},{"name":"_lastBidAmount","type":"uint256"},{"name":"_blocksRemaining","type":"uint256"},{"name":"_potAmount","type":"uint256"},{"name":"_blockNumber","type":"uint256"},{"name":"_bidExpireBlockLength","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"currentBidNumber","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"estimateNextPotSeedAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"devFeePercent","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_n","type":"uint256"}],"name":"setRollover","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"lastBidBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rolloverPercent","outputs":[{"name":"","type":"uint256"}],"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":"currentRoundNumber","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"roundExpired","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"kingsMessage","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_roundNum","type":"uint256"}],"name":"getPastRound","outputs":[{"name":"_kingAddress","type":"address"},{"name":"_finalBid","type":"uint256"},{"name":"_kingWinnings","type":"uint256"},{"name":"_finalMessage","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"king","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_n","type":"uint256"}],"name":"setNextBidExpireBlockLength","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"blocksRemaining","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastBidAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"roundNumber","type":"uint256"},{"indexed":false,"name":"kingAddress","type":"address"},{"indexed":false,"name":"kingMessage","type":"string"},{"indexed":false,"name":"bidAmount","type":"uint256"},{"indexed":true,"name":"bidNumber","type":"uint256"},{"indexed":true,"name":"bidBlockNumber","type":"uint256"}],"name":"NewKing","type":"event"}]

  Contract Creation Code Switch To Opcodes View
6080604052600c60035560016005556005600655608c600b5534801561002457600080fd5b50611523806100346000396000f30060806040526004361061013e576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630b464bf6146101435780630c7903691461016e5780630fc55fd11461019957806313af4035146101ff57806314468d32146102425780631c75b6b21461026d5780631edd19e11461029a5780632211944a146102c5578063293c2958146102dc57806329b8dab4146103e257806333a27f751461040d5780633f64a7ab146104385780635008f6991461046357806371974cbe1461049057806381a46662146104bb5780638da5cb5b146104e65780639c4780d81461053d578063a2ce588d14610568578063aad9afee14610597578063c064501114610627578063cc181ca81461070e578063cd4e28b514610765578063d086358014610792578063e582b7e0146107bd575b600080fd5b34801561014f57600080fd5b506101586107e8565b6040518082815260200191505060405180910390f35b34801561017a57600080fd5b506101836107f4565b6040518082815260200191505060405180910390f35b6101fd60048036038101908080359060200190929190803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091929192905050506107fa565b005b34801561020b57600080fd5b50610240600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610cb9565b005b34801561024e57600080fd5b50610257610d57565b6040518082815260200191505060405180910390f35b34801561027957600080fd5b5061029860048036038101908080359060200190929190505050610d5d565b005b3480156102a657600080fd5b506102af610ddf565b6040518082815260200191505060405180910390f35b3480156102d157600080fd5b506102da610de5565b005b3480156102e857600080fd5b506102f1610e3b565b604051808c1515151581526020018b81526020018a81526020018981526020018873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001878152602001868152602001858152602001848152602001838152602001828103825288818151815260200191508051906020019080838360005b8381101561039d578082015181840152602081019050610382565b50505050905090810190601f1680156103ca5780820380516001836020036101000a031916815260200191505b509c5050505050505050505050505060405180910390f35b3480156103ee57600080fd5b506103f7610f6b565b6040518082815260200191505060405180910390f35b34801561041957600080fd5b50610422610f71565b6040518082815260200191505060405180910390f35b34801561044457600080fd5b5061044d610fe1565b6040518082815260200191505060405180910390f35b34801561046f57600080fd5b5061048e60048036038101908080359060200190929190505050610fe7565b005b34801561049c57600080fd5b506104a5611069565b6040518082815260200191505060405180910390f35b3480156104c757600080fd5b506104d061106f565b6040518082815260200191505060405180910390f35b3480156104f257600080fd5b506104fb611075565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561054957600080fd5b5061055261109a565b6040518082815260200191505060405180910390f35b34801561057457600080fd5b5061057d6110a0565b604051808215151515815260200191505060405180910390f35b3480156105a357600080fd5b506105ac6110b4565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156105ec5780820151818401526020810190506105d1565b50505050905090810190601f1680156106195780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561063357600080fd5b5061065260048036038101908080359060200190929190505050611152565b604051808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156106d05780820151818401526020810190506106b5565b50505050905090810190601f1680156106fd5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b34801561071a57600080fd5b50610723611270565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561077157600080fd5b5061079060048036038101908080359060200190929190505050611296565b005b34801561079e57600080fd5b506107a7611319565b6040518082815260200191505060405180910390f35b3480156107c957600080fd5b506107d2611343565b6040518082815260200191505060405180910390f35b60006008544303905090565b600b5481565b600080600061080833611349565b15151561081457600080fd5b600b5484511115151561082657600080fd5b60003411151561083557600080fd5b6009548514801561084b57506108496110a0565b155b15610865576007543411151561086057600080fd5b610b17565b6001600954018514801561087d575061087c6110a0565b5b15610b08576108ac343073ffffffffffffffffffffffffffffffffffffffff163161135c90919063ffffffff16565b92506108d660646108c86005548661137590919063ffffffff16565b6113b090919063ffffffff16565b91506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015801561093f573d6000803e3d6000fd5b5061097d606461096f600654606403610961868861135c90919063ffffffff16565b61137590919063ffffffff16565b6113b090919063ffffffff16565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156109e7573d6000803e3d6000fd5b50600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600c6000600954815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d6000600954815260200190815260200160002081905550600754600e60006009548152602001908152602001600020819055506002600f600060095481526020019081526020016000209080546001816001161561010002031660029004610aca9291906113cb565b506000600a819055506009600081548092919060010191905055506000600454141515610b035760045460038190555060006004819055505b610b16565b60001515610b1557600080fd5b5b5b33600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508360029080519060200190610b6e929190611452565b503460078190555043600881905550600854600a546009547fef289d8d05a36206ab9df31346e53ca502ef4edd48c3b08a3a63580f8bccb31e600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166002600754604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001838152602001828103825284818154600181600116156101000203166002900481526020019150805460018160011615610100020316600290048015610c905780601f10610c6557610100808354040283529160200191610c90565b820191906000526020600020905b815481529060010190602001808311610c7357829003601f168201915b505094505050505060405180910390a4600a600081548092919060010191905055505050505050565b3373ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515610d1457600080fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60045481565b3373ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515610db857600080fd5b60008110158015610dca5750605a8111155b1515610dd557600080fd5b8060058190555050565b60035481565b732656681162de91f979db63457d9f0f151b26c6e26000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600080600080600060606000806000806000610e556110a0565b9a50610e5f610f71565b99506009549850600a549750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16965060028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610f265780601f10610efb57610100808354040283529160200191610f26565b820191906000526020600020905b815481529060010190602001808311610f0957829003601f168201915b505050505095506007549450610f3a611319565b93503073ffffffffffffffffffffffffffffffffffffffff163192504391506003549050909192939495969798999a565b600a5481565b6000610fdc6064610fce600654610fc06064610fb26005546064033073ffffffffffffffffffffffffffffffffffffffff163161137590919063ffffffff16565b6113b090919063ffffffff16565b61137590919063ffffffff16565b6113b090919063ffffffff16565b905090565b60055481565b3373ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151561104257600080fd5b600181101580156110545750600a8111155b151561105f57600080fd5b8060068190555050565b60085481565b60065481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60095481565b60006003546110ad6107e8565b1015905090565b60028054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561114a5780601f1061111f5761010080835404028352916020019161114a565b820191906000526020600020905b81548152906001019060200180831161112d57829003601f168201915b505050505081565b60008060006060600c600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169350600d6000868152602001908152602001600020549150600e6000868152602001908152602001600020549250600f60008681526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156112625780601f1061123757610100808354040283529160200191611262565b820191906000526020600020905b81548152906001019060200180831161124557829003601f168201915b505050505090509193509193565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415156112f157600080fd5b600a811015801561130457506127108111155b151561130f57600080fd5b8060048190555050565b60006113236110a0565b156113315760009050611340565b6113396107e8565b6003540390505b90565b60075481565b600080823b905060008111915050919050565b600082821115151561136a57fe5b818303905092915050565b600080600084141561138a57600091506113a9565b828402905082848281151561139b57fe5b041415156113a557fe5b8091505b5092915050565b60008082848115156113be57fe5b0490508091505092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106114045780548555611441565b8280016001018555821561144157600052602060002091601f016020900482015b82811115611440578254825591600101919060010190611425565b5b50905061144e91906114d2565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061149357805160ff19168380011785556114c1565b828001600101855582156114c1579182015b828111156114c05782518255916020019190600101906114a5565b5b5090506114ce91906114d2565b5090565b6114f491905b808211156114f05760008160009055506001016114d8565b5090565b905600a165627a7a72305820da95e9b3fb7cb3aeae8228985044534d815dd38674a477ae1c91f4277bf8b3250029

   Swarm Source:
bzzr://da95e9b3fb7cb3aeae8228985044534d815dd38674a477ae1c91f4277bf8b325

 

View All
Block Age transaction Difficulty GasUsed 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.