ETH Price: $3,218.86 (+5.77%)

Contract

0x649EfF2dC5d9c5C641260C8B9BedE4770FCCF5E7
 
Transaction Hash
Method
Block
From
To
Cancel Auction197999192024-05-04 23:07:59254 days ago1714864079IN
0x649EfF2d...70FCCF5E7
0 ETH0.00091586.59495534
Cancel Auction197999182024-05-04 23:07:47254 days ago1714864067IN
0x649EfF2d...70FCCF5E7
0 ETH0.000925836.56129945
Cancel Auction194935482024-03-22 23:51:35297 days ago1711151495IN
0x649EfF2d...70FCCF5E7
0 ETH0.0026344617.65351626
Cancel Auction164410052023-01-19 12:59:35725 days ago1674133175IN
0x649EfF2d...70FCCF5E7
0 ETH0.0024975117.38116995
Cancel Auction160307772022-11-23 6:02:23783 days ago1669183343IN
0x649EfF2d...70FCCF5E7
0 ETH0.0020849314.73963575
Cancel Auction160307732022-11-23 6:01:35783 days ago1669183295IN
0x649EfF2d...70FCCF5E7
0 ETH0.0021110714.69177408
Cancel Auction160307592022-11-23 5:58:47783 days ago1669183127IN
0x649EfF2d...70FCCF5E7
0 ETH0.0023706316.49817522
Cancel Auction160307472022-11-23 5:56:23783 days ago1669182983IN
0x649EfF2d...70FCCF5E7
0 ETH0.0020929813.81227238
Cancel Auction160238012022-11-22 6:36:35784 days ago1669098995IN
0x649EfF2d...70FCCF5E7
0 ETH0.0017265712.01591801
Cancel Auction154300072022-08-28 20:52:13869 days ago1661719933IN
0x649EfF2d...70FCCF5E7
0 ETH0.00153810.14974595
Cancel Auction151696612022-07-18 23:53:52910 days ago1658188432IN
0x649EfF2d...70FCCF5E7
0 ETH0.0031576722.32500448
Cancel Auction150169672022-06-24 6:35:27935 days ago1656052527IN
0x649EfF2d...70FCCF5E7
0 ETH0.0035199524.4967208
Cancel Auction148373812022-05-24 19:05:37965 days ago1653419137IN
0x649EfF2d...70FCCF5E7
0 ETH0.0031821521
Cancel Auction148373812022-05-24 19:05:37965 days ago1653419137IN
0x649EfF2d...70FCCF5E7
0 ETH0.0031821521
Cancel Auction148099492022-05-20 8:10:05970 days ago1653034205IN
0x649EfF2d...70FCCF5E7
0 ETH0.0032623721.52945325
Cancel Auction148099482022-05-20 8:09:23970 days ago1653034163IN
0x649EfF2d...70FCCF5E7
0 ETH0.0029421919.41644837
Cancel Auction148098472022-05-20 7:45:28970 days ago1653032728IN
0x649EfF2d...70FCCF5E7
0 ETH0.0032999221.77719541
Cancel Auction148098442022-05-20 7:44:40970 days ago1653032680IN
0x649EfF2d...70FCCF5E7
0 ETH0.0034686622.89079047
Cancel Auction148098392022-05-20 7:43:23970 days ago1653032603IN
0x649EfF2d...70FCCF5E7
0 ETH0.003433322.6574164
Cancel Auction148098342022-05-20 7:41:33970 days ago1653032493IN
0x649EfF2d...70FCCF5E7
0 ETH0.0031827421.00391166
Cancel Auction148098302022-05-20 7:40:42970 days ago1653032442IN
0x649EfF2d...70FCCF5E7
0 ETH0.0032635521.53720257
Cancel Auction148098262022-05-20 7:39:29970 days ago1653032369IN
0x649EfF2d...70FCCF5E7
0 ETH0.002770718.28476764
Cancel Auction148098222022-05-20 7:38:31970 days ago1653032311IN
0x649EfF2d...70FCCF5E7
0 ETH0.0028855419.04262761
Cancel Auction148098152022-05-20 7:36:52970 days ago1653032212IN
0x649EfF2d...70FCCF5E7
0 ETH0.0029257619.3080601
Cancel Auction147107692022-05-04 11:50:09986 days ago1651665009IN
0x649EfF2d...70FCCF5E7
0 ETH0.0049747932.83020742
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
131680422021-09-05 21:10:391226 days ago1630876239
0x649EfF2d...70FCCF5E7
0.388 ETH
131247692021-08-30 4:39:011233 days ago1630298341
0x649EfF2d...70FCCF5E7
0.097 ETH
131215632021-08-29 16:55:231233 days ago1630256123
0x649EfF2d...70FCCF5E7
0.097 ETH
131214102021-08-29 16:21:411233 days ago1630254101
0x649EfF2d...70FCCF5E7
0.194 ETH
131194652021-08-29 9:05:421234 days ago1630227942
0x649EfF2d...70FCCF5E7
0.0485 ETH
120061922021-03-09 19:24:541406 days ago1615317894
0x649EfF2d...70FCCF5E7
7.38797348 ETH
109873152020-10-04 4:48:231563 days ago1601786903
0x649EfF2d...70FCCF5E7
0.097 ETH
109851272020-10-03 20:40:431563 days ago1601757643
0x649EfF2d...70FCCF5E7
0.097 ETH
109593552020-09-29 19:53:591567 days ago1601409239
0x649EfF2d...70FCCF5E7
0.0388 ETH
109539122020-09-28 23:24:011568 days ago1601335441
0x649EfF2d...70FCCF5E7
0.485 ETH
109474002020-09-27 22:56:111569 days ago1601247371
0x649EfF2d...70FCCF5E7
0.0291 ETH
109182492020-09-23 10:13:101574 days ago1600855990
0x649EfF2d...70FCCF5E7
0.0291 ETH
109181432020-09-23 9:51:271574 days ago1600854687
0x649EfF2d...70FCCF5E7
0.02813 ETH
109181332020-09-23 9:49:381574 days ago1600854578
0x649EfF2d...70FCCF5E7
0.02328 ETH
109181312020-09-23 9:49:041574 days ago1600854544
0x649EfF2d...70FCCF5E7
0.01843 ETH
109181262020-09-23 9:48:121574 days ago1600854492
0x649EfF2d...70FCCF5E7
0.0194 ETH
109181262020-09-23 9:48:121574 days ago1600854492
0x649EfF2d...70FCCF5E7
0.0194 ETH
109181232020-09-23 9:47:011574 days ago1600854421
0x649EfF2d...70FCCF5E7
0.01843 ETH
109181212020-09-23 9:46:491574 days ago1600854409
0x649EfF2d...70FCCF5E7
0.01843 ETH
109181182020-09-23 9:46:211574 days ago1600854381
0x649EfF2d...70FCCF5E7
0.01843 ETH
109181172020-09-23 9:46:191574 days ago1600854379
0x649EfF2d...70FCCF5E7
0.0097 ETH
109181152020-09-23 9:45:431574 days ago1600854343
0x649EfF2d...70FCCF5E7
0.01455 ETH
109181092020-09-23 9:43:321574 days ago1600854212
0x649EfF2d...70FCCF5E7
0.0097 ETH
109180782020-09-23 9:36:061574 days ago1600853766
0x649EfF2d...70FCCF5E7
0.01843 ETH
109180322020-09-23 9:24:001574 days ago1600853040
0x649EfF2d...70FCCF5E7
0.01843 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MarbleDutchAuction

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
No with 0 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-02-08
*/

// File: @0xcert/ethereum-erc721/contracts/tokens/ERC721.sol

pragma solidity ^0.4.24;

/**
 * @dev ERC-721 non-fungible token standard. See https://goo.gl/pc9yoS.
 */
interface ERC721 {

  /**
   * @dev Emits when ownership of any NFT changes by any mechanism. This event emits when NFTs are
   * created (`from` == 0) and destroyed (`to` == 0). Exception: during contract creation, any
   * number of NFTs may be created and assigned without emitting Transfer. At the time of any
   * transfer, the approved address for that NFT (if any) is reset to none.
   */
  event Transfer(
    address indexed _from,
    address indexed _to,
    uint256 indexed _tokenId
  );

  /**
   * @dev This emits when the approved address for an NFT is changed or reaffirmed. The zero
   * address indicates there is no approved address. When a Transfer event emits, this also
   * indicates that the approved address for that NFT (if any) is reset to none.
   */
  event Approval(
    address indexed _owner,
    address indexed _approved,
    uint256 indexed _tokenId
  );

  /**
   * @dev This emits when an operator is enabled or disabled for an owner. The operator can manage
   * all NFTs of the owner.
   */
  event ApprovalForAll(
    address indexed _owner,
    address indexed _operator,
    bool _approved
  );

  /**
   * @dev Returns the number of NFTs owned by `_owner`. NFTs assigned to the zero address are
   * considered invalid, and this function throws for queries about the zero address.
   * @param _owner Address for whom to query the balance.
   */
  function balanceOf(
    address _owner
  )
    external
    view
    returns (uint256);

  /**
   * @dev Returns the address of the owner of the NFT. NFTs assigned to zero address are considered
   * invalid, and queries about them do throw.
   * @param _tokenId The identifier for an NFT.
   */
  function ownerOf(
    uint256 _tokenId
  )
    external
    view
    returns (address);

  /**
   * @dev Transfers the ownership of an NFT from one address to another address.
   * @notice Throws unless `msg.sender` is the current owner, an authorized operator, or the
   * approved address for this NFT. Throws if `_from` is not the current owner. Throws if `_to` is
   * the zero address. Throws if `_tokenId` is not a valid NFT. When transfer is complete, this
   * function checks if `_to` is a smart contract (code size > 0). If so, it calls `onERC721Received`
   * on `_to` and throws if the return value is not `bytes4(keccak256("onERC721Received(address,uint256,bytes)"))`.
   * @param _from The current owner of the NFT.
   * @param _to The new owner.
   * @param _tokenId The NFT to transfer.
   * @param _data Additional data with no specified format, sent in call to `_to`.
   */
  function safeTransferFrom(
    address _from,
    address _to,
    uint256 _tokenId,
    bytes _data
  )
    external;

  /**
   * @dev Transfers the ownership of an NFT from one address to another address.
   * @notice This works identically to the other function with an extra data parameter, except this
   * function just sets data to ""
   * @param _from The current owner of the NFT.
   * @param _to The new owner.
   * @param _tokenId The NFT to transfer.
   */
  function safeTransferFrom(
    address _from,
    address _to,
    uint256 _tokenId
  )
    external;

  /**
   * @dev Throws unless `msg.sender` is the current owner, an authorized operator, or the approved
   * address for this NFT. Throws if `_from` is not the current owner. Throws if `_to` is the zero
   * address. Throws if `_tokenId` is not a valid NFT.
   * @notice The caller is responsible to confirm that `_to` is capable of receiving NFTs or else
   * they mayb be permanently lost.
   * @param _from The current owner of the NFT.
   * @param _to The new owner.
   * @param _tokenId The NFT to transfer.
   */
  function transferFrom(
    address _from,
    address _to,
    uint256 _tokenId
  )
    external;

  /**
   * @dev Set or reaffirm the approved address for an NFT.
   * @notice The zero address indicates there is no approved address. Throws unless `msg.sender` is
   * the current NFT owner, or an authorized operator of the current owner.
   * @param _approved The new approved NFT controller.
   * @param _tokenId The NFT to approve.
   */
  function approve(
    address _approved,
    uint256 _tokenId
  )
    external;

  /**
   * @dev Enables or disables approval for a third party ("operator") to manage all of
   * `msg.sender`'s assets. It also emits the ApprovalForAll event.
   * @notice The contract MUST allow multiple operators per owner.
   * @param _operator Address to add to the set of authorized operators.
   * @param _approved True if the operators is approved, false to revoke approval.
   */
  function setApprovalForAll(
    address _operator,
    bool _approved
  )
    external;

  /**
   * @dev Get the approved address for a single NFT.
   * @notice Throws if `_tokenId` is not a valid NFT.
   * @param _tokenId The NFT to find the approved address for.
   */
  function getApproved(
    uint256 _tokenId
  )
    external
    view
    returns (address);

  /**
   * @dev Returns true if `_operator` is an approved operator for `_owner`, false otherwise.
   * @param _owner The address that owns the NFTs.
   * @param _operator The address that acts on behalf of the owner.
   */
  function isApprovedForAll(
    address _owner,
    address _operator
  )
    external
    view
    returns (bool);

}

// File: @0xcert/ethereum-utils/contracts/utils/ERC165.sol

pragma solidity ^0.4.24;

/**
 * @dev A standard for detecting smart contract interfaces. See https://goo.gl/cxQCse.
 */
interface ERC165 {

  /**
   * @dev Checks if the smart contract includes a specific interface.
   * @notice This function uses less than 30,000 gas.
   * @param _interfaceID The interface identifier, as specified in ERC-165.
   */
  function supportsInterface(
    bytes4 _interfaceID
  )
    external
    view
    returns (bool);

}

// File: @0xcert/ethereum-utils/contracts/math/SafeMath.sol

pragma solidity ^0.4.24;

/**
 * @dev Math operations with safety checks that throw on error. This contract is based
 * on the source code at https://goo.gl/iyQsmU.
 */
library SafeMath {

  /**
   * @dev Multiplies two numbers, throws on overflow.
   * @param _a Factor number.
   * @param _b Factor number.
   */
  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.
   * @param _a Dividend number.
   * @param _b Divisor number.
   */
  function div(
    uint256 _a,
    uint256 _b
  )
    internal
    pure
    returns (uint256)
  {
    uint256 c = _a / _b;
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    // 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).
   * @param _a Minuend number.
   * @param _b Subtrahend number.
   */
  function sub(
    uint256 _a,
    uint256 _b
  )
    internal
    pure
    returns (uint256)
  {
    assert(_b <= _a);
    return _a - _b;
  }

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

}

// File: @0xcert/ethereum-utils/contracts/utils/SupportsInterface.sol

pragma solidity ^0.4.24;


/**
 * @dev Implementation of standard for detect smart contract interfaces.
 */
contract SupportsInterface is
  ERC165
{

  /**
   * @dev Mapping of supported intefraces.
   * @notice You must not set element 0xffffffff to true.
   */
  mapping(bytes4 => bool) internal supportedInterfaces;

  /**
   * @dev Contract constructor.
   */
  constructor()
    public
  {
    supportedInterfaces[0x01ffc9a7] = true; // ERC165
  }

  /**
   * @dev Function to check which interfaces are suported by this contract.
   * @param _interfaceID Id of the interface.
   */
  function supportsInterface(
    bytes4 _interfaceID
  )
    external
    view
    returns (bool)
  {
    return supportedInterfaces[_interfaceID];
  }

}

// File: @0xcert/ethereum-utils/contracts/utils/AddressUtils.sol

pragma solidity ^0.4.24;

/**
 * @dev Utility library of inline functions on addresses.
 */
library AddressUtils {

  /**
   * @dev Returns whether the target address is a contract.
   * @param _addr Address to check.
   */
  function isContract(
    address _addr
  )
    internal
    view
    returns (bool)
  {
    uint256 size;

    /**
     * XXX Currently there is no better way to check if there is a contract in an address than to
     * check the size of the code at that address.
     * See https://ethereum.stackexchange.com/a/14016/36603 for more details about how this works.
     * TODO: Check this again before the Serenity release, because all addresses will be
     * contracts then.
     */
    assembly { size := extcodesize(_addr) } // solium-disable-line security/no-inline-assembly
    return size > 0;
  }

}

// File: contracts/DutchAuctionBase.sol

pragma solidity ^0.4.24;





/**
 * @title Dutch Auction Base
 * @dev Contains model defining Auction, public variables as reference to nftContract. It is expected that auctioneer is owner of the contract. Dutch auction by wiki - https://en.wikipedia.org/wiki/Dutch_auction. Contract is inspired by https://github.com/nedodn/NFT-Auction and https://github.com/dapperlabs/cryptokitties-bounty/tree/master/contracts/Auction/
 * @notice Contract omits a fallback function to prevent accidental eth transfers.
 */
contract DutchAuctionBase is
  SupportsInterface
{

  using SafeMath for uint128;
  using SafeMath for uint256;
  using AddressUtils for address;

  // Model of NFt auction
  struct Auction {
      // Address of person who placed NFT to auction
      address seller;

      // Price (in wei) at beginning of auction
      uint128 startingPrice;

      // Price (in wei) at end of auction
      uint128 endingPrice;

      // Duration (in seconds) of auction when price is moving, lets say, it determines dynamic part of auction price creation.
      uint64 duration;

      // Time when auction started, yep 256, we consider ours NFTs almost immortal!!! :)
      uint256 startedAt;

      // Determine if seller can cancel auction before dynamic part of auction ends!  Let have some hard core sellers!!!
      bool delayedCancel;

  }

  // Owner of the contract is considered as Auctioneer, so it supposed to have some share from successful sale.
  // Value in between 0-10000 (1% is equal to 100)
  uint16 public auctioneerCut;

  // Cut representing auctioneers earnings from auction with delayed cancel
  // Value in between 0-10000 (1% is equal to 100)
  uint16 public auctioneerDelayedCancelCut;

  // Reference to contract tracking NFT ownership
  ERC721 public nftContract;

  // Maps Token ID with Auction
  mapping (uint256 => Auction) public tokenIdToAuction;

  event AuctionCreated(uint256 tokenId, address seller, uint256 startingPrice, uint256 endingPrice, uint256 duration, bool delayedCancel);
  event AuctionSuccessful(uint256 tokenId, uint256 totalPrice, address winner);
  event AuctionCancelled(uint256 tokenId);

  /**
   * @dev Adds new auction and fires AuctionCreated event.
   * @param _tokenId NFT ID
   * @param _auction Auction to add.
   */
  function _addAuction(uint256 _tokenId, Auction _auction) internal {
    // Dynamic part of acution hast to be at least 1 minute
    require(_auction.duration >= 1 minutes);

    tokenIdToAuction[_tokenId] = _auction;

    emit AuctionCreated(
        _tokenId,
        _auction.seller,
        uint256(_auction.startingPrice),
        uint256(_auction.endingPrice),
        uint256(_auction.duration),
        _auction.delayedCancel
    );
  }

  /**
   * @dev Cancels auction and transfer token to provided address
   * @param _tokenId ID of NFT
   */
  function _cancelAuction(uint256 _tokenId) internal {
    Auction storage auction = tokenIdToAuction[_tokenId];
    address _seller = auction.seller;
    _removeAuction(_tokenId);

    // return Token to seller
    nftContract.transferFrom(address(this), _seller, _tokenId);
    emit AuctionCancelled(_tokenId);
  }

  /**
   * @dev Handles bid placemant. If bid is valid then calculates auctioneers cut and sellers revenue.
   * @param _tokenId ID of NFT
   * @param _offer value in wei representing what buyer is willing to pay for NFT
   */
  function _bid(uint256 _tokenId, uint256 _offer)
      internal
  {
      // Get a reference to the auction struct
      Auction storage auction = tokenIdToAuction[_tokenId];
      require(_isOnAuction(auction), "Can not place bid. NFT is not on auction!");

      // Check that the bid is greater than or equal to the current price
      uint256 price = _currentPrice(auction);
      require(_offer >= price, "Bid amount has to be higher or equal than current price!");

      // Put seller address before auction is deleted.
      address seller = auction.seller;

      // Keep auction type even after auction is deleted.
      bool isCancelDelayed = auction.delayedCancel;

      // Remove the auction before sending the fees to the sender so we can't have a reentrancy attack.
      _removeAuction(_tokenId);

      // Transfer revenue to seller
      if (price > 0) {
          // Calculate the auctioneer's cut.
          uint256 computedCut = _computeCut(price, isCancelDelayed);
          uint256 sellerRevenue = price.sub(computedCut);

          /**
           * NOTE: !! Doing a transfer() in the middle of a complex method is dangerous!!!
           * because of reentrancy attacks and DoS attacks if the seller is a contract with an invalid fallback function. We explicitly
           * guard against reentrancy attacks by removing the auction before calling transfer(),
           * and the only thing the seller can DoS is the sale of their own asset! (And if it's an accident, they can call cancelAuction(). )
           */
          seller.transfer(sellerRevenue);
      }

      // Calculate any excess funds included with the bid. Excess should be transfered back to bidder.
      uint256 bidExcess = _offer.sub(price);

      // Return additional funds. This is not susceptible to a re-entry attack because the auction is removed before any transfers occur.
      msg.sender.transfer(bidExcess);

      emit AuctionSuccessful(_tokenId, price, msg.sender);
  }

  /**
   * @dev Returns true if the NFT is on auction.
   * @param _auction - Auction to check.
   */
  function _isOnAuction(Auction storage _auction)
    internal
    view
    returns (bool)
  {
      return (_auction.seller != address(0));
  }

  /**
   * @dev Returns true if auction price is dynamic
   * @param _auction Auction to check.
   */
  function _durationIsOver(Auction storage _auction)
    internal
    view
    returns (bool)
  {
      uint256 secondsPassed = 0;
      secondsPassed = now.sub(_auction.startedAt);

      // TODO - what about 30 seconds of tolerated difference of miners clocks??
      return (secondsPassed >= _auction.duration);
  }

  /**
   * @dev Returns current price of auction.
   * @param _auction Auction to check current price
   */
  function _currentPrice(Auction storage _auction)
    internal
    view
    returns (uint256)
  {
    uint256 secondsPassed = 0;

    if (now > _auction.startedAt) {
        secondsPassed = now.sub(_auction.startedAt);
    }

    if (secondsPassed >= _auction.duration) {
        // End of dynamic part of auction.
        return _auction.endingPrice;
    } else {
        // Note - working with int256 not with uint256!! Delta can be negative.
        int256 totalPriceChange = int256(_auction.endingPrice) - int256(_auction.startingPrice);
        int256 currentPriceChange = totalPriceChange * int256(secondsPassed) / int256(_auction.duration);
        int256 currentPrice = int256(_auction.startingPrice) + currentPriceChange;

        return uint256(currentPrice);
    }
  }

  /**
   * @dev Computes auctioneer's cut of a sale.
   * @param _price - Sale price of NFT.
   * @param _isCancelDelayed - Determines what kind of cut is used for calculation
   */
  function _computeCut(uint256 _price, bool _isCancelDelayed)
    internal
    view
    returns (uint256)
  {

      if (_isCancelDelayed) {
        return _price * auctioneerDelayedCancelCut / 10000;
      }

      return _price * auctioneerCut / 10000;
  }

  /*
   * @dev Removes auction from auction list
   * @param _tokenId NFT on auction
   */
   function _removeAuction(uint256 _tokenId)
     internal
   {
     delete tokenIdToAuction[_tokenId];
   }
}

// File: contracts/DutchAuctionEnumerable.sol

pragma solidity ^0.4.24;


/**
 * @title Extension of Auction Base (core). Allows to enumarate auctions.
 * @dev It's highly inspired by https://github.com/0xcert/ethereum-erc721/blob/master/contracts/tokens/NFTokenEnumerable.sol
 */
contract DutchAuctionEnumerable
  is DutchAuctionBase
{

  // array of tokens in auction
  uint256[] public tokens;

  /**
   * @dev Mapping from token ID its index in global tokens array.
   */
  mapping(uint256 => uint256) public tokenToIndex;

  /**
   * @dev Mapping from owner to list of owned NFT IDs in this auction.
   */
  mapping(address => uint256[]) public sellerToTokens;

  /**
   * @dev Mapping from NFT ID to its index in the seller tokens list.
   */
  mapping(uint256 => uint256) public tokenToSellerIndex;

  /**
   * @dev Adds an auction to the list of open auctions. Also fires the
   *  AuctionCreated event.
   * @param _token The ID of the token to be put on auction.
   * @param _auction Auction to add.
   */
  function _addAuction(uint256 _token, Auction _auction)
    internal
  {
    super._addAuction(_token, _auction);

    uint256 length = tokens.push(_token);
    tokenToIndex[_token] = length - 1;

    length = sellerToTokens[_auction.seller].push(_token);
    tokenToSellerIndex[_token] = length - 1;
  }

  /*
   * @dev Removes an auction from the list of open auctions.
   * @param _token - ID of NFT on auction.
   */
  function _removeAuction(uint256 _token)
    internal
  {
    assert(tokens.length > 0);

    Auction memory auction = tokenIdToAuction[_token];
    // auction has to be defined
    assert(auction.seller != address(0));
    assert(sellerToTokens[auction.seller].length > 0);

    uint256 sellersIndexOfTokenToRemove = tokenToSellerIndex[_token];

    uint256 lastSellersTokenIndex = sellerToTokens[auction.seller].length - 1;
    uint256 lastSellerToken = sellerToTokens[auction.seller][lastSellersTokenIndex];

    sellerToTokens[auction.seller][sellersIndexOfTokenToRemove] = lastSellerToken;
    sellerToTokens[auction.seller].length--;

    tokenToSellerIndex[lastSellerToken] = sellersIndexOfTokenToRemove;
    tokenToSellerIndex[_token] = 0;

    uint256 tokenIndex = tokenToIndex[_token];
    assert(tokens[tokenIndex] == _token);

    // Sanity check. This could be removed in the future.
    uint256 lastTokenIndex = tokens.length - 1;
    uint256 lastToken = tokens[lastTokenIndex];

    tokens[tokenIndex] = lastToken;
    tokens.length--;

    // nullify token index reference
    tokenToIndex[lastToken] = tokenIndex;
    tokenToIndex[_token] = 0;

    super._removeAuction(_token);
  }


  /**
   * @dev Returns the count of all existing auctions.
   */
  function totalAuctions()
    external
    view
    returns (uint256)
  {
    return tokens.length;
  }

  /**
   * @dev Returns NFT ID by its index.
   * @param _index A counter less than `totalSupply()`.
   */
  function tokenInAuctionByIndex(
    uint256 _index
  )
    external
    view
    returns (uint256)
  {
    require(_index < tokens.length);
    // Sanity check. This could be removed in the future.
    assert(tokenToIndex[tokens[_index]] == _index);
    return tokens[_index];
  }

  /**
   * @dev returns the n-th NFT ID from a list of owner's tokens.
   * @param _seller Token owner's address.
   * @param _index Index number representing n-th token in owner's list of tokens.
   */
  function tokenOfSellerByIndex(
    address _seller,
    uint256 _index
  )
    external
    view
    returns (uint256)
  {
    require(_index < sellerToTokens[_seller].length);
    return sellerToTokens[_seller][_index];
  }

  /**
   * @dev Returns the count of all existing auctions.
   */
  function totalAuctionsBySeller(
    address _seller
  )
    external
    view
    returns (uint256)
  {
    return sellerToTokens[_seller].length;
  }
}

// File: contracts/MarbleNFTInterface.sol

pragma solidity ^0.4.24;

/**
 * @title Marble NFT Interface
 * @dev Defines Marbles unique extension of NFT.
 * ...It contains methodes returning core properties what describe Marble NFTs and provides management options to create,
 * burn NFT or change approvals of it.
 */
interface MarbleNFTInterface {

  /**
   * @dev Mints Marble NFT.
   * @notice This is a external function which should be called just by the owner of contract or any other user who has priviladge of being resposible
   * of creating valid Marble NFT. Valid token contains all neccessary information to be able recreate marble card image.
   * @param _tokenId The ID of new NFT.
   * @param _owner Address of the NFT owner.
   * @param _uri Unique URI proccessed by Marble services to be sure it is valid NFTs DNA. Most likely it is URL pointing to some website address.
   * @param _metadataUri URI pointing to "ERC721 Metadata JSON Schema"
   * @param _tokenId ID of the NFT to be burned.
   */
  function mint(
    uint256 _tokenId,
    address _owner,
    address _creator,
    string _uri,
    string _metadataUri,
    uint256 _created
  )
    external;

  /**
   * @dev Burns Marble NFT. Should be fired only by address with proper authority as contract owner or etc.
   * @param _tokenId ID of the NFT to be burned.
   */
  function burn(
    uint256 _tokenId
  )
    external;

  /**
   * @dev Allowes to change approval for change of ownership even when sender is not NFT holder. Sender has to have special role granted by contract to use this tool.
   * @notice Careful with this!!!! :))
   * @param _tokenId ID of the NFT to be updated.
   * @param _approved ETH address what supposed to gain approval to take ownership of NFT.
   */
  function forceApproval(
    uint256 _tokenId,
    address _approved
  )
    external;

  /**
   * @dev Returns properties used for generating NFT metadata image (a.k.a. card).
   * @param _tokenId ID of the NFT.
   */
  function tokenSource(uint256 _tokenId)
    external
    view
    returns (
      string uri,
      address creator,
      uint256 created
    );

  /**
   * @dev Returns ID of NFT what matches provided source URI.
   * @param _uri URI of source website.
   */
  function tokenBySourceUri(string _uri)
    external
    view
    returns (uint256 tokenId);

  /**
   * @dev Returns all properties of Marble NFT. Lets call it Marble NFT Model with properties described below:
   * @param _tokenId ID  of NFT
   * Returned model:
   * uint256 id ID of NFT
   * string uri  URI of source website. Website is used to mine data to crate NFT metadata image.
   * string metadataUri URI to NFT metadata assets. In our case to our websevice providing JSON with additional information based on "ERC721 Metadata JSON Schema".
   * address owner NFT owner address.
   * address creator Address of creator of this NFT. It means that this addres placed sourceURI to candidate contract.
   * uint256 created Date and time of creation of NFT candidate.
   *
   * (id, uri, metadataUri, owner, creator, created)
   */
  function getNFT(uint256 _tokenId)
    external
    view
    returns(
      uint256 id,
      string uri,
      string metadataUri,
      address owner,
      address creator,
      uint256 created
    );


    /**
     * @dev Transforms URI to hash.
     * @param _uri URI to be transformed to hash.
     */
    function getSourceUriHash(string _uri)
      external
      view
      returns(uint256 hash);
}

// File: @0xcert/ethereum-utils/contracts/ownership/Ownable.sol

pragma solidity ^0.4.24;

/**
 * @dev The contract has an owner address, and provides basic authorization control whitch
 * simplifies the implementation of user permissions. This contract is based on the source code
 * at https://goo.gl/n2ZGVt.
 */
contract Ownable {
  address public owner;

  /**
   * @dev An event which is triggered when the owner is changed.
   * @param previousOwner The address of the previous owner.
   * @param newOwner The address of the new owner.
   */
  event OwnershipTransferred(
    address indexed previousOwner,
    address indexed newOwner
  );

  /**
   * @dev The constructor sets the original `owner` of the contract to the sender account.
   */
  constructor()
    public
  {
    owner = msg.sender;
  }

  /**
   * @dev Throws if called by any account other than the owner.
   */
  modifier onlyOwner() {
    require(msg.sender == owner);
    _;
  }

  /**
   * @dev Allows the current owner to transfer control of the contract to a newOwner.
   * @param _newOwner The address to transfer ownership to.
   */
  function transferOwnership(
    address _newOwner
  )
    onlyOwner
    public
  {
    require(_newOwner != address(0));
    emit OwnershipTransferred(owner, _newOwner);
    owner = _newOwner;
  }

}

// File: @0xcert/ethereum-utils/contracts/ownership/Claimable.sol

pragma solidity ^0.4.24;


/**
 * @dev The contract has an owner address, and provides basic authorization control whitch
 * simplifies the implementation of user permissions. This contract is based on the source code
 * at goo.gl/CfEAkv and upgrades Ownable contracts with additional claim step which makes ownership
 * transfers less prone to errors.
 */
contract Claimable is Ownable {
  address public pendingOwner;

  /**
   * @dev An event which is triggered when the owner is changed.
   * @param previousOwner The address of the previous owner.
   * @param newOwner The address of the new owner.
   */
  event OwnershipTransferred(
    address indexed previousOwner,
    address indexed newOwner
  );

  /**
   * @dev Allows the current owner to give new owner ability to claim the ownership of the contract.
   * This differs from the Owner's function in that it allows setting pedingOwner address to 0x0,
   * which effectively cancels an active claim.
   * @param _newOwner The address which can claim ownership of the contract.
   */
  function transferOwnership(
    address _newOwner
  )
    onlyOwner
    public
  {
    pendingOwner = _newOwner;
  }

  /**
   * @dev Allows the current pending owner to claim the ownership of the contract. It emits
   * OwnershipTransferred event and resets pending owner to 0.
   */
  function claimOwnership()
    public
  {
    require(msg.sender == pendingOwner);
    address previousOwner = owner;
    owner = pendingOwner;
    pendingOwner = 0;
    emit OwnershipTransferred(previousOwner, owner);
  }
}

// File: contracts/Adminable.sol

pragma solidity ^0.4.24;


/**
 * @title Adminable
 * @dev Allows to manage privilages to special contract functionality.
 */
contract Adminable is Claimable {
  mapping(address => uint) public adminsMap;
  address[] public adminList;

  /**
   * @dev Returns true, if provided address has special privilages, otherwise false
   * @param adminAddress - address to check
   */
  function isAdmin(address adminAddress)
    public
    view
    returns(bool isIndeed)
  {
    if (adminAddress == owner) return true;

    if (adminList.length == 0) return false;
    return (adminList[adminsMap[adminAddress]] == adminAddress);
  }

  /**
   * @dev Grants special rights for address holder
   * @param adminAddress - address of future admin
   */
  function addAdmin(address adminAddress)
    public
    onlyOwner
    returns(uint index)
  {
    require(!isAdmin(adminAddress), "Address already has admin rights!");

    adminsMap[adminAddress] = adminList.push(adminAddress)-1;

    return adminList.length-1;
  }

  /**
   * @dev Removes special rights for provided address
   * @param adminAddress - address of current admin
   */
  function removeAdmin(address adminAddress)
    public
    onlyOwner
    returns(uint index)
  {
    // we can not remove owner from admin role
    require(owner != adminAddress, "Owner can not be removed from admin role!");
    require(isAdmin(adminAddress), "Provided address is not admin.");

    uint rowToDelete = adminsMap[adminAddress];
    address keyToMove = adminList[adminList.length-1];
    adminList[rowToDelete] = keyToMove;
    adminsMap[keyToMove] = rowToDelete;
    adminList.length--;

    return rowToDelete;
  }

  /**
   * @dev modifier Throws if called by any account other than the owner.
   */
  modifier onlyAdmin() {
    require(isAdmin(msg.sender), "Can be executed only by admin accounts!");
    _;
  }
}

// File: contracts/Priceable.sol

pragma solidity ^0.4.24;



/**
 * @title Priceable
 * @dev Contracts allows to handle ETH resources of the contract.
 */
contract Priceable is Claimable {

  using SafeMath for uint256;

  /**
   * @dev Emits when owner take ETH out of contract
   * @param balance - amount of ETh sent out from contract
   */
  event Withdraw(uint256 balance);

  /**
   * @dev modifier Checks minimal amount, what was sent to function call.
   * @param _minimalAmount - minimal amount neccessary to  continue function call
   */
  modifier minimalPrice(uint256 _minimalAmount) {
    require(msg.value >= _minimalAmount, "Not enough Ether provided.");
    _;
  }

  /**
   * @dev modifier Associete fee with a function call. If the caller sent too much, then is refunded, but only after the function body.
   * This was dangerous before Solidity version 0.4.0, where it was possible to skip the part after `_;`.
   * @param _amount - ether needed to call the function
   */
  modifier price(uint256 _amount) {
    require(msg.value >= _amount, "Not enough Ether provided.");
    _;
    if (msg.value > _amount) {
      msg.sender.transfer(msg.value.sub(_amount));
    }
  }

  /*
   * @dev Remove all Ether from the contract, and transfer it to account of owner
   */
  function withdrawBalance()
    external
    onlyOwner
  {
    uint256 balance = address(this).balance;
    msg.sender.transfer(balance);

    // Tell everyone !!!!!!!!!!!!!!!!!!!!!!
    emit Withdraw(balance);
  }

  // fallback function that allows contract to accept ETH
  function () public payable {}
}

// File: contracts/Pausable.sol

pragma solidity ^0.4.24;


/**
 * @title Pausable
 * @dev Base contract which allows children to implement an emergency stop mechanism for mainenance purposes
 */
contract Pausable is Ownable {
  event Pause();
  event Unpause();

  bool public paused = false;


  /**
   * @dev modifier to allow actions only when the contract IS paused
   */
  modifier whenNotPaused() {
    require(!paused);
    _;
  }

  /**
   * @dev modifier to allow actions only when the contract IS NOT paused
   */
  modifier whenPaused {
    require(paused);
    _;
  }

  /**
   * @dev called by the owner to pause, triggers stopped state
   */
  function pause()
    external
    onlyOwner
    whenNotPaused
    returns (bool)
  {
    paused = true;
    emit Pause();
    return true;
  }

  /**
   * @dev called by the owner to unpause, returns to normal state
   */
  function unpause()
    external
    onlyOwner
    whenPaused
    returns (bool)
  {
    paused = false;
    emit Unpause();
    return true;
  }
}

// File: contracts/MarbleDutchAuctionInterface.sol

pragma solidity ^0.4.24;

/**
 * @title Marble Dutch Auction Interface
 * @dev describes all externaly accessible functions neccessery to run Marble Auctions
 */
interface MarbleDutchAuctionInterface {

  /**
   * @dev Sets new auctioneer cut, in case we are to cheap :))
   * @param _cut - percent cut the auctioneer takes on each auction, must be between 0-100. Values 0-10,000 map to 0%-100%.
   */
  function setAuctioneerCut(
    uint256 _cut
  )
   external;

  /**
  * @dev Sets new auctioneer delayed cut, in case we are not earning much during creating NFTs initial auctions!
  * @param _cut Percent cut the auctioneer takes on each auction, must be between 0-10000. Values 0-10,000 map to 0%-100%.
  */
  function setAuctioneerDelayedCancelCut(
    uint256 _cut
  )
   external;

  /**
   * @dev Sets an addresses of ERC 721 contract owned/admined by same entity.
   * @param _nftAddress Address of ERC 721 contract
   */
  function setNFTContract(address _nftAddress)
    external;


  /**
   * @dev Creates new auction without special logic. It allows user to sell owned Marble NFTs
   * @param _tokenId ID of token to auction, sender must be owner.
   * @param _startingPrice Price of item (in wei) at beginning of auction.
   * @param _endingPrice Price of item (in wei) at end of auction.
   * @param _duration Length of time to move between starting price and ending price (in seconds) - it determines dynamic state of auction
   */
  function createAuction(
    uint256 _tokenId,
    uint256 _startingPrice,
    uint256 _endingPrice,
    uint256 _duration
  )
    external;

  /**
   * @dev Creates and begins a new minting auction. Minitng auction is initial auction allowing to challenge newly Minted Marble NFT.
   * If no-one buy NFT during dynamic state of auction, then seller (original creator of NFT) will be allowed to become owner of NFT. It means during dynamic (duration)
   * state of auction, it won't be possible to use cancelAuction function by seller!
   * @param _tokenId - ID of token to auction, sender must be owner.
   * @param _startingPrice - Price of item (in wei) at beginning of auction.
   * @param _endingPrice - Price of item (in wei) at end of auction.
   * @param _duration - Length of time to move between starting price and ending price (in seconds).
   * @param _seller - Seller, if not the message sender
   */
  function createMintingAuction(
    uint256 _tokenId,
    uint256 _startingPrice,
    uint256 _endingPrice,
    uint256 _duration,
    address _seller
  )
    external;

  /**
   * @dev It allows seller to cancel auction and get back Marble NFT.
   * @param _tokenId ID of token on auction
   */
  function cancelAuction(
    uint256 _tokenId
  )
    external;

  /**
   * @dev It allows seller to cancel auction and get back Marble NFT.
   * @param _tokenId ID of token on auction
   */
  function cancelAuctionWhenPaused(
    uint256 _tokenId
  )
    external;

  /**
   * @dev Bids on an open auction, completing the auction and transferring ownership of the NFT if enough Ether is supplied.
   * @param _tokenId ID of token to bid on.
   */
  function bid(
    uint256 _tokenId
  )
    external
    payable;

  /**
   * @dev Returns the current price of an auction.
   * @param _tokenId ID of the token price we are checking.
   */
  function getCurrentPrice(uint256 _tokenId)
    external
    view
    returns (uint256);

  /**
   * @dev Returns the count of all existing auctions.
   */
  function totalAuctions()
    external
    view
    returns (uint256);

  /**
   * @dev Returns NFT ID by its index.
   * @param _index A counter less than `totalSupply()`.
   */
  function tokenInAuctionByIndex(
    uint256 _index
  )
    external
    view
    returns (uint256);

  /**
   * @dev Returns the n-th NFT ID from a list of owner's tokens.
   * @param _seller Token owner's address.
   * @param _index Index number representing n-th token in owner's list of tokens.
   */
  function tokenOfSellerByIndex(
    address _seller,
    uint256 _index
  )
    external
    view
    returns (uint256);

  /**
   * @dev Returns the count of all existing auctions.
   */
  function totalAuctionsBySeller(
    address _seller
  )
    external
    view
    returns (uint256);

  /**
   * @dev Returns true if the NFT is on auction.
   * @param _tokenId ID of the token to be checked.
   */
  function isOnAuction(uint256 _tokenId)
    external
    view
    returns (bool isIndeed);

  /**
   * @dev Returns auction info for an NFT on auction.
   * @param _tokenId ID of NFT placed in auction
   */
  function getAuction(uint256 _tokenId)
    external
    view
    returns
  (
    address seller,
    uint256 startingPrice,
    uint256 endingPrice,
    uint256 duration,
    uint256 startedAt,
    bool canBeCanceled
  );

  /**
   * @dev remove NFT reference from auction conrtact, should be use only when NFT is being burned
   * @param _tokenId ID of token on auction
   */
  function removeAuction(
    uint256 _tokenId
  )
    external;
}

// File: contracts/MarbleDutchAuction.sol

pragma solidity ^0.4.24;









/**
 * @title Dutch auction for non-fungible tokens created by Marble.Cards.
 */
contract MarbleDutchAuction is
  MarbleDutchAuctionInterface,
  Priceable,
  Adminable,
  Pausable,
  DutchAuctionEnumerable
{

  /**
   * @dev The ERC-165 interface signature for ERC-721.
   *  Ref: https://github.com/ethereum/EIPs/issues/165
   *  Ref: https://github.com/ethereum/EIPs/issues/721
   */
  bytes4 constant InterfaceSignature_ERC721 = 0x80ac58cd;

  /**
   * @dev Reports change of auctioneer cut.
   * @param _auctioneerCut Number between 0-10000 (1% is equal to 100)
   */
  event AuctioneerCutChanged(uint256 _auctioneerCut);

  /**
   * @dev Reports change of auctioneer delayed cut.
   * @param _auctioneerDelayedCancelCut Number between 0-10000 (1% is equal to 100)
   */
  event AuctioneerDelayedCancelCutChanged(uint256 _auctioneerDelayedCancelCut);

  /**
   * @dev Reports removal of NFT from auction cotnract
   * @param _tokenId ID of token to auction, sender must be owner.
   */
  event AuctionRemoved(uint256 _tokenId);

  /**
   * @dev Creates new auction.
   * NOTE: !! Doing a dangerous stuff here!!! changing owner of NFT, be careful where u call this one !!!
   * TODO: in case of replacing forceApproval we can add our contracts as operators, but there is problem in possiblity of changing auction contract and we will be unable to transfer kards to new one
   * @param _tokenId ID of token to auction, sender must be owner.
   * @param _startingPrice Price of item (in wei) at beginning of auction.
   * @param _endingPrice Price of item (in wei) at end of auction.
   * @param _duration Length of time to move between starting
   * @param _delayedCancel If false seller can cancel auction any time, otherwise only after times up
   * @param _seller Seller, if not the message sender
   */
  function _createAuction(
      uint256 _tokenId,
      uint256 _startingPrice,
      uint256 _endingPrice,
      uint256 _duration,
      bool _delayedCancel,
      address _seller
  )
      internal
      whenNotPaused
  {
      MarbleNFTInterface marbleNFT = MarbleNFTInterface(address(nftContract));

      // Sanity check that no inputs overflow how many bits we've allocated
      // to store them as auction model.
      require(_startingPrice == uint256(uint128(_startingPrice)), "Starting price is too high!");
      require(_endingPrice == uint256(uint128(_endingPrice)), "Ending price is too high!");
      require(_duration == uint256(uint64(_duration)), "Duration exceeds allowed limit!");

      /**
       * NOTE: !! Doing a dangerous stuff here !!
       * before calling this should be clear that seller is owner of NFT
       */
      marbleNFT.forceApproval(_tokenId, address(this));

      // lets auctioneer to own NFT for purposes of auction
      nftContract.transferFrom(_seller, address(this), _tokenId);

      Auction memory auction = Auction(
        _seller,
        uint128(_startingPrice),
        uint128(_endingPrice),
        uint64(_duration),
        uint256(now),
        bool(_delayedCancel)
      );

      _addAuction(_tokenId, auction);
  }

  /**
   * @dev Sets new auctioneer cut, in case we are to cheap :))
   * @param _cut Percent cut the auctioneer takes on each auction, must be between 0-10000. Values 0-10,000 map to 0%-100%.
   */
  function setAuctioneerCut(uint256 _cut)
    external
    onlyAdmin
  {
    require(_cut <= 10000, "Cut should be in interval of 0-10000");
    auctioneerCut = uint16(_cut);

    emit AuctioneerCutChanged(auctioneerCut);
  }

  /**
   * @dev Sets new auctioneer delayed cut, in case we are not earning much during creating NFTs initial auctions!
   * @param _cut Percent cut the auctioneer takes on each auction, must be between 0-10000. Values 0-10,000 map to 0%-100%.
   */
  function setAuctioneerDelayedCancelCut(uint256 _cut)
    external
    onlyAdmin
  {
    require(_cut <= 10000, "Delayed cut should be in interval of 0-10000");
    auctioneerDelayedCancelCut = uint16(_cut);

    emit AuctioneerDelayedCancelCutChanged(auctioneerDelayedCancelCut);
  }

  /**
   * @dev Sets an addresses of ERC 721 contract owned/admined by same entity.
   * @param _nftAddress Address of ERC 721 contract
   */
  function setNFTContract(address _nftAddress)
    external
    onlyAdmin
  {
    ERC165 nftContractToCheck = ERC165(_nftAddress);
    require(nftContractToCheck.supportsInterface(InterfaceSignature_ERC721)); // ERC721 == 0x80ac58cd
    nftContract = ERC721(_nftAddress);
  }

  /**
   * @dev Creates and begins a new minting auction. Minitng auction is initial auction allowing to challenge newly Minted Marble NFT.
   * If no-one buy NFT during its dynamic state, then seller (original creator of NFT) will be allowed to become owner of NFT. It means during dynamic (duration)
   * state of auction, it won't be possible to use cancelAuction function by seller!
   * @param _tokenId ID of token to auction, sender must be owner.
   * @param _startingPrice Price of item (in wei) at beginning of auction.
   * @param _endingPrice Price of item (in wei) at end of auction.
   * @param _duration Length of time to move between starting price and ending price (in seconds).
   * @param _seller Seller, if not the message sender
   */
  function createMintingAuction(
      uint256 _tokenId,
      uint256 _startingPrice,
      uint256 _endingPrice,
      uint256 _duration,
      address _seller
  )
      external
      whenNotPaused
      onlyAdmin
  {
      // TODO minitingPrice vs mintintgFee require(_endingPrice > _mintingFee, "Ending price of minitng auction has to be bigger than minting fee!");

      // Sale auction throws if inputs are invalid and clears
      _createAuction(
        _tokenId,
        _startingPrice,
        _endingPrice,
        _duration,
        true, // seller can NOT cancel auction only after time is up! and bidders can be just over duration
        _seller
      );
  }

  /**
   * @dev Creates new auction without special logic.
   * @param _tokenId ID of token to auction, sender must be owner.
   * @param _startingPrice Price of item (in wei) at beginning of auction.
   * @param _endingPrice Price of item (in wei) at end of auction.
   * @param _duration Length of time to move between starting price and ending price (in seconds) - it determines dynamic state of auction
   */
  function createAuction(
      uint256 _tokenId,
      uint256 _startingPrice,
      uint256 _endingPrice,
      uint256 _duration
  )
      external
      whenNotPaused
  {
      require(nftContract.ownerOf(_tokenId) == msg.sender, "Only owner of the token can create auction!");
      // Sale auction throws if inputs are invalid and clears
      _createAuction(
        _tokenId,
        _startingPrice,
        _endingPrice,
        _duration,
        false, // seller can cancel auction any time
        msg.sender
      );
  }

  /**
   * @dev Bids on an open auction, completing the auction and transferring ownership of the NFT if enough Ether is supplied.
   * NOTE: Bid can be placed on normal auction any time,
   * but in case of "minting" auction (_delayedCancel == true) it can be placed only when call of _isTimeUp(auction) returns false
   * @param _tokenId ID of token to bid on.
   */
  function bid(uint256 _tokenId)
      external
      payable
      whenNotPaused
  {
    Auction storage auction = tokenIdToAuction[_tokenId];
    require(_isOnAuction(auction), "NFT is not on this auction!");
    require(!auction.delayedCancel || !_durationIsOver(auction), "You can not bid on this auction, because it has delayed cancel policy actived and after times up it belongs once again to seller!");

    // _bid will throw if the bid or funds transfer fails
    _bid(_tokenId, msg.value);

    // change the ownership of NFT
    nftContract.transferFrom(address(this), msg.sender, _tokenId);
  }

  /**
   * @dev It allows seller to cancel auction and get back Marble NFT, but it works only when delayedCancel property is false or when auction duratian time is up.
   * @param _tokenId ID of token on auction
   */
  function cancelAuction(uint256 _tokenId)
    external
    whenNotPaused
  {
      Auction storage auction = tokenIdToAuction[_tokenId];
      require(_isOnAuction(auction), "NFT is not auctioned over our contract!");
      require((!auction.delayedCancel || _durationIsOver(auction)) && msg.sender == auction.seller, "You have no rights to cancel this auction!");

      _cancelAuction(_tokenId);
  }

  /**
   * @dev Cancels an auction when the contract is paused.
   *  Only the admin may do this, and NFTs are returned to the seller. This should only be used in emergencies like moving to another auction contract.
   * @param _tokenId ID of the NFT on auction to cancel.
   */
  function cancelAuctionWhenPaused(uint256 _tokenId)
    external
    whenPaused
    onlyAdmin
  {
      Auction storage auction = tokenIdToAuction[_tokenId];
      require(_isOnAuction(auction), "NFT is not auctioned over our contract!");
      _cancelAuction(_tokenId);
  }

  /**
   * @dev Returns true if NFT is placed as auction over this contract, otherwise false.
   * @param _tokenId ID of NFT to check.
   */
  function isOnAuction(uint256 _tokenId)
    external
    view
    returns (bool isIndeed)
  {
    Auction storage auction = tokenIdToAuction[_tokenId];
    return _isOnAuction(auction);
  }

  /**
   * @dev Returns auction info for an NFT on auction.
   * @param _tokenId ID of NFT placed in auction
   */
  function getAuction(uint256 _tokenId)
    external
    view
    returns
  (
    address seller,
    uint256 startingPrice,
    uint256 endingPrice,
    uint256 duration,
    uint256 startedAt,
    bool delayedCancel
  ) {
      Auction storage auction = tokenIdToAuction[_tokenId];
      require(_isOnAuction(auction), "NFT is not auctioned over our contract!");

      return (
          auction.seller,
          auction.startingPrice,
          auction.endingPrice,
          auction.duration,
          auction.startedAt,
          auction.delayedCancel
      );
  }

  /**
   * @dev Returns the current price of an auction.
   * @param _tokenId ID of the token price we are checking.
   */
  function getCurrentPrice(uint256 _tokenId)
      external
      view
      returns (uint256)
  {
      Auction storage auction = tokenIdToAuction[_tokenId];
      require(_isOnAuction(auction), "NFT is not auctioned over our contract!");
      return _currentPrice(auction);

  }

  /**
   * @dev remove NFT reference from auction conrtact, should be use only when NFT is being burned
   * @param _tokenId ID of token on auction
   */
  function removeAuction(
    uint256 _tokenId
  )
    external
    whenPaused
    onlyAdmin
  {
    _removeAuction(_tokenId);

    emit AuctionRemoved(_tokenId);
  }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[{"name":"_interfaceID","type":"bytes4"}],"name":"supportsInterface","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_seller","type":"address"},{"name":"_index","type":"uint256"}],"name":"tokenOfSellerByIndex","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_index","type":"uint256"}],"name":"tokenInAuctionByIndex","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"adminList","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalAuctions","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"adminAddress","type":"address"}],"name":"removeAdmin","outputs":[{"name":"index","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"adminAddress","type":"address"}],"name":"isAdmin","outputs":[{"name":"isIndeed","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"removeAuction","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"isOnAuction","outputs":[{"name":"isIndeed","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_tokenId","type":"uint256"},{"name":"_startingPrice","type":"uint256"},{"name":"_endingPrice","type":"uint256"},{"name":"_duration","type":"uint256"}],"name":"createAuction","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"bid","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"claimOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"tokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_seller","type":"address"}],"name":"totalAuctionsBySeller","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"uint256"}],"name":"sellerToTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdrawBalance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_cut","type":"uint256"}],"name":"setAuctioneerCut","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"adminAddress","type":"address"}],"name":"addAdmin","outputs":[{"name":"index","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"tokenToIndex","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_cut","type":"uint256"}],"name":"setAuctioneerDelayedCancelCut","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"getAuction","outputs":[{"name":"seller","type":"address"},{"name":"startingPrice","type":"uint256"},{"name":"endingPrice","type":"uint256"},{"name":"duration","type":"uint256"},{"name":"startedAt","type":"uint256"},{"name":"delayedCancel","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"cancelAuctionWhenPaused","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"auctioneerDelayedCancelCut","outputs":[{"name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"cancelAuction","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_nftAddress","type":"address"}],"name":"setNFTContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"getCurrentPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"nftContract","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tokenId","type":"uint256"},{"name":"_startingPrice","type":"uint256"},{"name":"_endingPrice","type":"uint256"},{"name":"_duration","type":"uint256"},{"name":"_seller","type":"address"}],"name":"createMintingAuction","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"pendingOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"tokenIdToAuction","outputs":[{"name":"seller","type":"address"},{"name":"startingPrice","type":"uint128"},{"name":"endingPrice","type":"uint128"},{"name":"duration","type":"uint64"},{"name":"startedAt","type":"uint256"},{"name":"delayedCancel","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"adminsMap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"auctioneerCut","outputs":[{"name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"tokenToSellerIndex","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_auctioneerCut","type":"uint256"}],"name":"AuctioneerCutChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_auctioneerDelayedCancelCut","type":"uint256"}],"name":"AuctioneerDelayedCancelCutChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_tokenId","type":"uint256"}],"name":"AuctionRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"tokenId","type":"uint256"},{"indexed":false,"name":"seller","type":"address"},{"indexed":false,"name":"startingPrice","type":"uint256"},{"indexed":false,"name":"endingPrice","type":"uint256"},{"indexed":false,"name":"duration","type":"uint256"},{"indexed":false,"name":"delayedCancel","type":"bool"}],"name":"AuctionCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"tokenId","type":"uint256"},{"indexed":false,"name":"totalPrice","type":"uint256"},{"indexed":false,"name":"winner","type":"address"}],"name":"AuctionSuccessful","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"tokenId","type":"uint256"}],"name":"AuctionCancelled","type":"event"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"balance","type":"uint256"}],"name":"Withdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

60806040526000600460006101000a81548160ff021916908315150217905550336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600560006301ffc9a77c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555061424b806100dc6000396000f3006080604052600436106101d8576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806301ffc9a7146101da5780630621464a1461023e5780630d3e86fe1461029f57806311117fc8146102e057806316002f4a1461034d5780631785f53c1461037857806324d7806c146103cf5780632dd7030b1461042a57806337e246ad146104575780633f4ba83a1461049c578063431f21da146104cb578063454a2ab3146105165780634e71e0c8146105365780634f64b2be1461054d578063562e8abc1461058e5780635b80ba01146105e55780635c975abb146106465780635fd8c7101461067557806367646a7f1461068c57806370480275146106b957806371bf644e1461071057806376d4f2831461075157806378bd79351461077e5780638456cb5914610812578063878eb368146108415780638da5cb5b1461086e5780639594f848146108c557806396b5a755146108f8578063a7ccabdf14610925578063c55d0f5614610968578063d56d229d146109a9578063d7fc3a4314610a00578063e30c397814610a6b578063e3b1475714610ac2578063e8542b0714610bb2578063ee92ef5c14610c09578063f2fde38b14610c3c578063f623bb6f14610c7f575b005b3480156101e657600080fd5b5061022460048036038101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610cc0565b604051808215151515815260200191505060405180910390f35b34801561024a57600080fd5b50610289600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610d28565b6040518082815260200191505060405180910390f35b3480156102ab57600080fd5b506102ca60048036038101908080359060200190929190505050610dd9565b6040518082815260200191505060405180910390f35b3480156102ec57600080fd5b5061030b60048036038101908080359060200190929190505050610e46565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561035957600080fd5b50610362610e84565b6040518082815260200191505060405180910390f35b34801561038457600080fd5b506103b9600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e91565b6040518082815260200191505060405180910390f35b3480156103db57600080fd5b50610410600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061119b565b604051808215151515815260200191505060405180910390f35b34801561043657600080fd5b50610455600480360381019080803590602001909291905050506112c1565b005b34801561046357600080fd5b50610482600480360381019080803590602001909291905050506113c2565b604051808215151515815260200191505060405180910390f35b3480156104a857600080fd5b506104b16113eb565b604051808215151515815260200191505060405180910390f35b3480156104d757600080fd5b50610514600480360381019080803590602001909291908035906020019092919080359060200190929190803590602001909291905050506114b1565b005b61053460048036038101908080359060200190929190505050611676565b005b34801561054257600080fd5b5061054b6118c0565b005b34801561055957600080fd5b5061057860048036038101908080359060200190929190505050611a64565b6040518082815260200191505060405180910390f35b34801561059a57600080fd5b506105cf600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a87565b6040518082815260200191505060405180910390f35b3480156105f157600080fd5b50610630600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611ad3565b6040518082815260200191505060405180910390f35b34801561065257600080fd5b5061065b611b03565b604051808215151515815260200191505060405180910390f35b34801561068157600080fd5b5061068a611b16565b005b34801561069857600080fd5b506106b760048036038101908080359060200190929190505050611c0e565b005b3480156106c557600080fd5b506106fa600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611dbc565b6040518082815260200191505060405180910390f35b34801561071c57600080fd5b5061073b60048036038101908080359060200190929190505050611f78565b6040518082815260200191505060405180910390f35b34801561075d57600080fd5b5061077c60048036038101908080359060200190929190505050611f90565b005b34801561078a57600080fd5b506107a96004803603810190808035906020019092919050505061213e565b604051808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200186815260200185815260200184815260200183815260200182151515158152602001965050505050505060405180910390f35b34801561081e57600080fd5b506108276122e5565b604051808215151515815260200191505060405180910390f35b34801561084d57600080fd5b5061086c600480360381019080803590602001909291905050506123ac565b005b34801561087a57600080fd5b50610883612531565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156108d157600080fd5b506108da612556565b604051808261ffff1661ffff16815260200191505060405180910390f35b34801561090457600080fd5b506109236004803603810190808035906020019092919050505061256a565b005b34801561093157600080fd5b50610966600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612765565b005b34801561097457600080fd5b5061099360048036038101908080359060200190929190505050612968565b6040518082815260200191505060405180910390f35b3480156109b557600080fd5b506109be612a34565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b348015610a0c57600080fd5b50610a6960048036038101908080359060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612a5a565b005b348015610a7757600080fd5b50610a80612b2f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b348015610ace57600080fd5b50610aed60048036038101908080359060200190929190505050612b55565b604051808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001866fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152602001856fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020018467ffffffffffffffff1667ffffffffffffffff16815260200183815260200182151515158152602001965050505050505060405180910390f35b348015610bbe57600080fd5b50610bf3600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612c0a565b6040518082815260200191505060405180910390f35b348015610c1557600080fd5b50610c1e612c22565b604051808261ffff1661ffff16815260200191505060405180910390f35b348015610c4857600080fd5b50610c7d600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612c36565b005b348015610c8b57600080fd5b50610caa60048036038101908080359060200190929190505050612cd5565b6040518082815260200191505060405180910390f35b600060056000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905082101515610d7a57600080fd5b600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002082815481101515610dc657fe5b9060005260206000200154905092915050565b600060088054905082101515610dee57600080fd5b8160096000600885815481101515610e0257fe5b9060005260206000200154815260200190815260200160002054141515610e2557fe5b600882815481101515610e3457fe5b90600052602060002001549050919050565b600381815481101515610e5557fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600880549050905090565b60008060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610ef157600080fd5b8373ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151515610fdc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001807f4f776e65722063616e206e6f742062652072656d6f7665642066726f6d20616481526020017f6d696e20726f6c6521000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b610fe58461119b565b1515611059576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f50726f76696465642061646472657373206973206e6f742061646d696e2e000081525060200191505060405180910390fd5b600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054915060036001600380549050038154811015156110b257fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050806003838154811015156110ef57fe5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600380548091906001900361119091906140a4565b508192505050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111fb57600190506112bc565b6000600380549050141561121257600090506112bc565b8173ffffffffffffffffffffffffffffffffffffffff166003600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481548110151561127757fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161490505b919050565b600460009054906101000a900460ff1615156112dc57600080fd5b6112e53361119b565b151561137f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001807f43616e206265206578656375746564206f6e6c792062792061646d696e20616381526020017f636f756e7473210000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b61138881612ced565b7f25cbe9f0164be4cf740d90169f6bd80426fa677319b2179cec6fc154733b3bce816040518082815260200191505060405180910390a150565b6000806007600084815260200190815260200160002090506113e38161317f565b915050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561144857600080fd5b600460009054906101000a900460ff16151561146357600080fd5b6000600460006101000a81548160ff0219169083151502179055507f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a16001905090565b600460009054906101000a900460ff161515156114cd57600080fd5b3373ffffffffffffffffffffffffffffffffffffffff16600660049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e866040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050602060405180830381600087803b15801561157557600080fd5b505af1158015611589573d6000803e3d6000fd5b505050506040513d602081101561159f57600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff16141515611661576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b8152602001807f4f6e6c79206f776e6572206f662074686520746f6b656e2063616e206372656181526020017f74652061756374696f6e2100000000000000000000000000000000000000000081525060400191505060405180910390fd5b611670848484846000336131dc565b50505050565b6000600460009054906101000a900460ff1615151561169457600080fd5b6007600083815260200190815260200160002090506116b28161317f565b1515611726576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f4e4654206973206e6f74206f6e20746869732061756374696f6e21000000000081525060200191505060405180910390fd5b8060040160009054906101000a900460ff16158061174a575061174881613610565b155b15156117a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252608181526020018061419f6081913960a00191505060405180910390fd5b6117ab823461365e565b600660049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3033856040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b1580156118a457600080fd5b505af11580156118b8573d6000803e3d6000fd5b505050505050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561191e57600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b600881815481101515611a7357fe5b906000526020600020016000915090505481565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b600a60205281600052604060002081815481101515611aee57fe5b90600052602060002001600091509150505481565b600460009054906101000a900460ff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611b7357600080fd5b3073ffffffffffffffffffffffffffffffffffffffff163190503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611bd3573d6000803e3d6000fd5b507f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d816040518082815260200191505060405180910390a150565b611c173361119b565b1515611cb1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001807f43616e206265206578656375746564206f6e6c792062792061646d696e20616381526020017f636f756e7473210000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b6127108111151515611d51576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001807f4375742073686f756c6420626520696e20696e74657276616c206f6620302d3181526020017f303030300000000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b80600660006101000a81548161ffff021916908361ffff1602179055507fab69790750c30fec94c40e4452d3fb51681003b456ee82dc74df85e91aae4ba4600660009054906101000a900461ffff16604051808261ffff16815260200191505060405180910390a150565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611e1957600080fd5b611e228261119b565b151515611ebd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001807f4164647265737320616c7265616479206861732061646d696e2072696768747381526020017f210000000000000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b600160038390806001815401808255809150509060018203906000526020600020016000909192909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555003600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001600380549050039050919050565b60096020528060005260406000206000915090505481565b611f993361119b565b1515612033576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001807f43616e206265206578656375746564206f6e6c792062792061646d696e20616381526020017f636f756e7473210000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b61271081111515156120d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001807f44656c61796564206375742073686f756c6420626520696e20696e746572766181526020017f6c206f6620302d3130303030000000000000000000000000000000000000000081525060400191505060405180910390fd5b80600660026101000a81548161ffff021916908361ffff1602179055507fbffea45b033611c0d91260f6c8818fdd84389f11ce1a502fdcd29a595714c5e6600660029054906101000a900461ffff16604051808261ffff16815260200191505060405180910390a150565b60008060008060008060006007600089815260200190815260200160002090506121678161317f565b1515612201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001807f4e4654206973206e6f742061756374696f6e6564206f766572206f757220636f81526020017f6e7472616374210000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b8060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160010160009054906101000a90046fffffffffffffffffffffffffffffffff168260010160109054906101000a90046fffffffffffffffffffffffffffffffff168360020160009054906101000a900467ffffffffffffffff1684600301548560040160009054906101000a900460ff16846fffffffffffffffffffffffffffffffff169450836fffffffffffffffffffffffffffffffff1693508267ffffffffffffffff1692509650965096509650965096505091939550919395565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561234257600080fd5b600460009054906101000a900460ff1615151561235e57600080fd5b6001600460006101000a81548160ff0219169083151502179055507f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a16001905090565b6000600460009054906101000a900460ff1615156123c957600080fd5b6123d23361119b565b151561246c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001807f43616e206265206578656375746564206f6e6c792062792061646d696e20616381526020017f636f756e7473210000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b60076000838152602001908152602001600020905061248a8161317f565b1515612524576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001807f4e4654206973206e6f742061756374696f6e6564206f766572206f757220636f81526020017f6e7472616374210000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b61252d8261395a565b5050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600660029054906101000a900461ffff1681565b6000600460009054906101000a900460ff1615151561258857600080fd5b6007600083815260200190815260200160002090506125a68161317f565b1515612640576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001807f4e4654206973206e6f742061756374696f6e6564206f766572206f757220636f81526020017f6e7472616374210000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b8060040160009054906101000a900460ff161580612663575061266281613610565b5b80156126be57508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b1515612758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001807f596f752068617665206e6f2072696768747320746f2063616e63656c2074686981526020017f732061756374696f6e210000000000000000000000000000000000000000000081525060400191505060405180910390fd5b6127618261395a565b5050565b60006127703361119b565b151561280a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001807f43616e206265206578656375746564206f6e6c792062792061646d696e20616381526020017f636f756e7473210000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b8190508073ffffffffffffffffffffffffffffffffffffffff166301ffc9a76380ac58cd7c0100000000000000000000000000000000000000000000000000000000026040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168152602001915050602060405180830381600087803b1580156128dd57600080fd5b505af11580156128f1573d6000803e3d6000fd5b505050506040513d602081101561290757600080fd5b8101908080519060200190929190505050151561292357600080fd5b81600660046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000806007600084815260200190815260200160002090506129898161317f565b1515612a23576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001807f4e4654206973206e6f742061756374696f6e6564206f766572206f757220636f81526020017f6e7472616374210000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b612a2c81613aef565b915050919050565b600660049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600460009054906101000a900460ff16151515612a7657600080fd5b612a7f3361119b565b1515612b19576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001807f43616e206265206578656375746564206f6e6c792062792061646d696e20616381526020017f636f756e7473210000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b612b28858585856001866131dc565b5050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60076020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160009054906101000a90046fffffffffffffffffffffffffffffffff16908060010160109054906101000a90046fffffffffffffffffffffffffffffffff16908060020160009054906101000a900467ffffffffffffffff16908060030154908060040160009054906101000a900460ff16905086565b60026020528060005260406000206000915090505481565b600660009054906101000a900461ffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515612c9157600080fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b6020528060005260406000206000915090505481565b612cf56140d0565b6000806000806000806000600880549050111515612d0f57fe5b6007600089815260200190815260200160002060c060405190810160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016001820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016002820160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff168152602001600382015481526020016004820160009054906101000a900460ff1615151515815250509650600073ffffffffffffffffffffffffffffffffffffffff16876000015173ffffffffffffffffffffffffffffffffffffffff1614151515612eae57fe5b6000600a6000896000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050111515612f0057fe5b600b60008981526020019081526020016000205495506001600a6000896000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050039450600a6000886000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002085815481101515612fb257fe5b9060005260206000200154935083600a6000896000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208781548110151561301057fe5b9060005260206000200181905550600a6000886000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480919060019003613074919061414d565b5085600b6000868152602001908152602001600020819055506000600b60008a81526020019081526020016000208190555060096000898152602001908152602001600020549250876008848154811015156130cc57fe5b90600052602060002001541415156130e057fe5b60016008805490500391506008828154811015156130fa57fe5b906000526020600020015490508060088481548110151561311757fe5b9060005260206000200181905550600880548091906001900361313a919061414d565b508260096000838152602001908152602001600020819055506000600960008a81526020019081526020016000208190555061317588613c64565b5050505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60006131e66140d0565b600460009054906101000a900460ff1615151561320257600080fd5b600660049054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150866fffffffffffffffffffffffffffffffff16871415156132b0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f5374617274696e6720707269636520697320746f6f206869676821000000000081525060200191505060405180910390fd5b856fffffffffffffffffffffffffffffffff1686141515613339576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f456e64696e6720707269636520697320746f6f2068696768210000000000000081525060200191505060405180910390fd5b8467ffffffffffffffff16851415156133ba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f4475726174696f6e206578636565647320616c6c6f776564206c696d6974210081525060200191505060405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff16631f2e4aa789306040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200192505050600060405180830381600087803b15801561345d57600080fd5b505af1158015613471573d6000803e3d6000fd5b50505050600660049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd84308b6040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b15801561356e57600080fd5b505af1158015613582573d6000803e3d6000fd5b5050505060c0604051908101604052808473ffffffffffffffffffffffffffffffffffffffff168152602001886fffffffffffffffffffffffffffffffff168152602001876fffffffffffffffffffffffffffffffff1681526020018667ffffffffffffffff16815260200142815260200185151581525090506136068882613d21565b5050505050505050565b6000806000905061362e836003015442613e0390919063ffffffff16565b90508260020160009054906101000a900467ffffffffffffffff1667ffffffffffffffff16811015915050919050565b6000806000806000806000600760008a815260200190815260200160002096506136878761317f565b1515613721576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001807f43616e206e6f7420706c616365206269642e204e4654206973206e6f74206f6e81526020017f2061756374696f6e21000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b61372a87613aef565b95508588101515156137ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260388152602001807f42696420616d6f756e742068617320746f20626520686967686572206f72206581526020017f7175616c207468616e2063757272656e7420707269636521000000000000000081525060400191505060405180910390fd5b8660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1694508660040160009054906101000a900460ff16935061380e89612ced565b6000861115613880576138218685613e1c565b92506138368387613e0390919063ffffffff16565b91508473ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015801561387e573d6000803e3d6000fd5b505b6138938689613e0390919063ffffffff16565b90503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156138db573d6000803e3d6000fd5b507f4fcc30d90a842164dd58501ab874a101a3749c3d4747139cefe7c876f4ccebd2898733604051808481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001935050505060405180910390a1505050505050505050565b6000806007600084815260200190815260200160002091508160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506139a283612ced565b600660049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3083866040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b158015613a9b57600080fd5b505af1158015613aaf573d6000803e3d6000fd5b505050507f2809c7e17bf978fbc7194c0a694b638c4215e9140cacc6c38ca36010b45697df836040518082815260200191505060405180910390a1505050565b60008060008060008093508560030154421115613b2057613b1d866003015442613e0390919063ffffffff16565b93505b8560020160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1684101515613b85578560010160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169450613c5b565b8560010160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168660010160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff160392508560020160009054906101000a900467ffffffffffffffff1667ffffffffffffffff16848402811515613c1d57fe5b059150818660010160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff160190508094505b50505050919050565b60076000828152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160006101000a8154906fffffffffffffffffffffffffffffffff02191690556001820160106101000a8154906fffffffffffffffffffffffffffffffff02191690556002820160006101000a81549067ffffffffffffffff021916905560038201600090556004820160006101000a81549060ff0219169055505050565b6000613d2d8383613e7c565b600883908060018154018082558091505090600182039060005260206000200160009091929091909150559050600181036009600085815260200190815260200160002081905550600a6000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208390806001815401808255809150509060018203906000526020600020016000909192909190915055905060018103600b600085815260200190815260200160002081905550505050565b6000828211151515613e1157fe5b818303905092915050565b60008115613e4f57612710600660029054906101000a900461ffff1661ffff168402811515613e4757fe5b049050613e76565b612710600660009054906101000a900461ffff1661ffff168402811515613e7257fe5b0490505b92915050565b603c816060015167ffffffffffffffff1610151515613e9a57600080fd5b806007600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060408201518160010160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060608201518160020160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506080820151816003015560a08201518160040160006101000a81548160ff0219169083151502179055509050507f57ba1bee67698f415b14c920549f07ed5fd0fafb5f4a4c3ee39de6ee49924b4382826000015183602001516fffffffffffffffffffffffffffffffff1684604001516fffffffffffffffffffffffffffffffff16856060015167ffffffffffffffff168660a00151604051808781526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200185815260200184815260200183815260200182151515158152602001965050505050505060405180910390a15050565b8154818355818111156140cb578183600052602060002091820191016140ca9190614179565b5b505050565b60c060405190810160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160006fffffffffffffffffffffffffffffffff16815260200160006fffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600081526020016000151581525090565b815481835581811115614174578183600052602060002091820191016141739190614179565b5b505050565b61419b91905b8082111561419757600081600090555060010161417f565b5090565b905600596f752063616e206e6f7420626964206f6e20746869732061756374696f6e2c2062656361757365206974206861732064656c617965642063616e63656c20706f6c696379206163746976656420616e642061667465722074696d65732075702069742062656c6f6e6773206f6e636520616761696e20746f2073656c6c657221a165627a7a72305820c871c5530ccb12326896e4fc16da713d0500f462e6eb7c867519b95744ba8bd30029

Deployed Bytecode

0x6080604052600436106101d8576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806301ffc9a7146101da5780630621464a1461023e5780630d3e86fe1461029f57806311117fc8146102e057806316002f4a1461034d5780631785f53c1461037857806324d7806c146103cf5780632dd7030b1461042a57806337e246ad146104575780633f4ba83a1461049c578063431f21da146104cb578063454a2ab3146105165780634e71e0c8146105365780634f64b2be1461054d578063562e8abc1461058e5780635b80ba01146105e55780635c975abb146106465780635fd8c7101461067557806367646a7f1461068c57806370480275146106b957806371bf644e1461071057806376d4f2831461075157806378bd79351461077e5780638456cb5914610812578063878eb368146108415780638da5cb5b1461086e5780639594f848146108c557806396b5a755146108f8578063a7ccabdf14610925578063c55d0f5614610968578063d56d229d146109a9578063d7fc3a4314610a00578063e30c397814610a6b578063e3b1475714610ac2578063e8542b0714610bb2578063ee92ef5c14610c09578063f2fde38b14610c3c578063f623bb6f14610c7f575b005b3480156101e657600080fd5b5061022460048036038101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610cc0565b604051808215151515815260200191505060405180910390f35b34801561024a57600080fd5b50610289600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610d28565b6040518082815260200191505060405180910390f35b3480156102ab57600080fd5b506102ca60048036038101908080359060200190929190505050610dd9565b6040518082815260200191505060405180910390f35b3480156102ec57600080fd5b5061030b60048036038101908080359060200190929190505050610e46565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561035957600080fd5b50610362610e84565b6040518082815260200191505060405180910390f35b34801561038457600080fd5b506103b9600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e91565b6040518082815260200191505060405180910390f35b3480156103db57600080fd5b50610410600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061119b565b604051808215151515815260200191505060405180910390f35b34801561043657600080fd5b50610455600480360381019080803590602001909291905050506112c1565b005b34801561046357600080fd5b50610482600480360381019080803590602001909291905050506113c2565b604051808215151515815260200191505060405180910390f35b3480156104a857600080fd5b506104b16113eb565b604051808215151515815260200191505060405180910390f35b3480156104d757600080fd5b50610514600480360381019080803590602001909291908035906020019092919080359060200190929190803590602001909291905050506114b1565b005b61053460048036038101908080359060200190929190505050611676565b005b34801561054257600080fd5b5061054b6118c0565b005b34801561055957600080fd5b5061057860048036038101908080359060200190929190505050611a64565b6040518082815260200191505060405180910390f35b34801561059a57600080fd5b506105cf600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a87565b6040518082815260200191505060405180910390f35b3480156105f157600080fd5b50610630600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611ad3565b6040518082815260200191505060405180910390f35b34801561065257600080fd5b5061065b611b03565b604051808215151515815260200191505060405180910390f35b34801561068157600080fd5b5061068a611b16565b005b34801561069857600080fd5b506106b760048036038101908080359060200190929190505050611c0e565b005b3480156106c557600080fd5b506106fa600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611dbc565b6040518082815260200191505060405180910390f35b34801561071c57600080fd5b5061073b60048036038101908080359060200190929190505050611f78565b6040518082815260200191505060405180910390f35b34801561075d57600080fd5b5061077c60048036038101908080359060200190929190505050611f90565b005b34801561078a57600080fd5b506107a96004803603810190808035906020019092919050505061213e565b604051808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200186815260200185815260200184815260200183815260200182151515158152602001965050505050505060405180910390f35b34801561081e57600080fd5b506108276122e5565b604051808215151515815260200191505060405180910390f35b34801561084d57600080fd5b5061086c600480360381019080803590602001909291905050506123ac565b005b34801561087a57600080fd5b50610883612531565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156108d157600080fd5b506108da612556565b604051808261ffff1661ffff16815260200191505060405180910390f35b34801561090457600080fd5b506109236004803603810190808035906020019092919050505061256a565b005b34801561093157600080fd5b50610966600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612765565b005b34801561097457600080fd5b5061099360048036038101908080359060200190929190505050612968565b6040518082815260200191505060405180910390f35b3480156109b557600080fd5b506109be612a34565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b348015610a0c57600080fd5b50610a6960048036038101908080359060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612a5a565b005b348015610a7757600080fd5b50610a80612b2f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b348015610ace57600080fd5b50610aed60048036038101908080359060200190929190505050612b55565b604051808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001866fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152602001856fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020018467ffffffffffffffff1667ffffffffffffffff16815260200183815260200182151515158152602001965050505050505060405180910390f35b348015610bbe57600080fd5b50610bf3600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612c0a565b6040518082815260200191505060405180910390f35b348015610c1557600080fd5b50610c1e612c22565b604051808261ffff1661ffff16815260200191505060405180910390f35b348015610c4857600080fd5b50610c7d600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612c36565b005b348015610c8b57600080fd5b50610caa60048036038101908080359060200190929190505050612cd5565b6040518082815260200191505060405180910390f35b600060056000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905082101515610d7a57600080fd5b600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002082815481101515610dc657fe5b9060005260206000200154905092915050565b600060088054905082101515610dee57600080fd5b8160096000600885815481101515610e0257fe5b9060005260206000200154815260200190815260200160002054141515610e2557fe5b600882815481101515610e3457fe5b90600052602060002001549050919050565b600381815481101515610e5557fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600880549050905090565b60008060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610ef157600080fd5b8373ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151515610fdc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001807f4f776e65722063616e206e6f742062652072656d6f7665642066726f6d20616481526020017f6d696e20726f6c6521000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b610fe58461119b565b1515611059576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f50726f76696465642061646472657373206973206e6f742061646d696e2e000081525060200191505060405180910390fd5b600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054915060036001600380549050038154811015156110b257fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050806003838154811015156110ef57fe5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600380548091906001900361119091906140a4565b508192505050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111fb57600190506112bc565b6000600380549050141561121257600090506112bc565b8173ffffffffffffffffffffffffffffffffffffffff166003600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481548110151561127757fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161490505b919050565b600460009054906101000a900460ff1615156112dc57600080fd5b6112e53361119b565b151561137f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001807f43616e206265206578656375746564206f6e6c792062792061646d696e20616381526020017f636f756e7473210000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b61138881612ced565b7f25cbe9f0164be4cf740d90169f6bd80426fa677319b2179cec6fc154733b3bce816040518082815260200191505060405180910390a150565b6000806007600084815260200190815260200160002090506113e38161317f565b915050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561144857600080fd5b600460009054906101000a900460ff16151561146357600080fd5b6000600460006101000a81548160ff0219169083151502179055507f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a16001905090565b600460009054906101000a900460ff161515156114cd57600080fd5b3373ffffffffffffffffffffffffffffffffffffffff16600660049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e866040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050602060405180830381600087803b15801561157557600080fd5b505af1158015611589573d6000803e3d6000fd5b505050506040513d602081101561159f57600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff16141515611661576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b8152602001807f4f6e6c79206f776e6572206f662074686520746f6b656e2063616e206372656181526020017f74652061756374696f6e2100000000000000000000000000000000000000000081525060400191505060405180910390fd5b611670848484846000336131dc565b50505050565b6000600460009054906101000a900460ff1615151561169457600080fd5b6007600083815260200190815260200160002090506116b28161317f565b1515611726576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f4e4654206973206e6f74206f6e20746869732061756374696f6e21000000000081525060200191505060405180910390fd5b8060040160009054906101000a900460ff16158061174a575061174881613610565b155b15156117a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252608181526020018061419f6081913960a00191505060405180910390fd5b6117ab823461365e565b600660049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3033856040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b1580156118a457600080fd5b505af11580156118b8573d6000803e3d6000fd5b505050505050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561191e57600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b600881815481101515611a7357fe5b906000526020600020016000915090505481565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b600a60205281600052604060002081815481101515611aee57fe5b90600052602060002001600091509150505481565b600460009054906101000a900460ff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611b7357600080fd5b3073ffffffffffffffffffffffffffffffffffffffff163190503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611bd3573d6000803e3d6000fd5b507f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d816040518082815260200191505060405180910390a150565b611c173361119b565b1515611cb1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001807f43616e206265206578656375746564206f6e6c792062792061646d696e20616381526020017f636f756e7473210000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b6127108111151515611d51576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001807f4375742073686f756c6420626520696e20696e74657276616c206f6620302d3181526020017f303030300000000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b80600660006101000a81548161ffff021916908361ffff1602179055507fab69790750c30fec94c40e4452d3fb51681003b456ee82dc74df85e91aae4ba4600660009054906101000a900461ffff16604051808261ffff16815260200191505060405180910390a150565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611e1957600080fd5b611e228261119b565b151515611ebd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001807f4164647265737320616c7265616479206861732061646d696e2072696768747381526020017f210000000000000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b600160038390806001815401808255809150509060018203906000526020600020016000909192909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555003600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001600380549050039050919050565b60096020528060005260406000206000915090505481565b611f993361119b565b1515612033576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001807f43616e206265206578656375746564206f6e6c792062792061646d696e20616381526020017f636f756e7473210000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b61271081111515156120d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001807f44656c61796564206375742073686f756c6420626520696e20696e746572766181526020017f6c206f6620302d3130303030000000000000000000000000000000000000000081525060400191505060405180910390fd5b80600660026101000a81548161ffff021916908361ffff1602179055507fbffea45b033611c0d91260f6c8818fdd84389f11ce1a502fdcd29a595714c5e6600660029054906101000a900461ffff16604051808261ffff16815260200191505060405180910390a150565b60008060008060008060006007600089815260200190815260200160002090506121678161317f565b1515612201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001807f4e4654206973206e6f742061756374696f6e6564206f766572206f757220636f81526020017f6e7472616374210000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b8060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160010160009054906101000a90046fffffffffffffffffffffffffffffffff168260010160109054906101000a90046fffffffffffffffffffffffffffffffff168360020160009054906101000a900467ffffffffffffffff1684600301548560040160009054906101000a900460ff16846fffffffffffffffffffffffffffffffff169450836fffffffffffffffffffffffffffffffff1693508267ffffffffffffffff1692509650965096509650965096505091939550919395565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561234257600080fd5b600460009054906101000a900460ff1615151561235e57600080fd5b6001600460006101000a81548160ff0219169083151502179055507f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a16001905090565b6000600460009054906101000a900460ff1615156123c957600080fd5b6123d23361119b565b151561246c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001807f43616e206265206578656375746564206f6e6c792062792061646d696e20616381526020017f636f756e7473210000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b60076000838152602001908152602001600020905061248a8161317f565b1515612524576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001807f4e4654206973206e6f742061756374696f6e6564206f766572206f757220636f81526020017f6e7472616374210000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b61252d8261395a565b5050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600660029054906101000a900461ffff1681565b6000600460009054906101000a900460ff1615151561258857600080fd5b6007600083815260200190815260200160002090506125a68161317f565b1515612640576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001807f4e4654206973206e6f742061756374696f6e6564206f766572206f757220636f81526020017f6e7472616374210000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b8060040160009054906101000a900460ff161580612663575061266281613610565b5b80156126be57508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b1515612758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001807f596f752068617665206e6f2072696768747320746f2063616e63656c2074686981526020017f732061756374696f6e210000000000000000000000000000000000000000000081525060400191505060405180910390fd5b6127618261395a565b5050565b60006127703361119b565b151561280a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001807f43616e206265206578656375746564206f6e6c792062792061646d696e20616381526020017f636f756e7473210000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b8190508073ffffffffffffffffffffffffffffffffffffffff166301ffc9a76380ac58cd7c0100000000000000000000000000000000000000000000000000000000026040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168152602001915050602060405180830381600087803b1580156128dd57600080fd5b505af11580156128f1573d6000803e3d6000fd5b505050506040513d602081101561290757600080fd5b8101908080519060200190929190505050151561292357600080fd5b81600660046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000806007600084815260200190815260200160002090506129898161317f565b1515612a23576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001807f4e4654206973206e6f742061756374696f6e6564206f766572206f757220636f81526020017f6e7472616374210000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b612a2c81613aef565b915050919050565b600660049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600460009054906101000a900460ff16151515612a7657600080fd5b612a7f3361119b565b1515612b19576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001807f43616e206265206578656375746564206f6e6c792062792061646d696e20616381526020017f636f756e7473210000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b612b28858585856001866131dc565b5050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60076020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160009054906101000a90046fffffffffffffffffffffffffffffffff16908060010160109054906101000a90046fffffffffffffffffffffffffffffffff16908060020160009054906101000a900467ffffffffffffffff16908060030154908060040160009054906101000a900460ff16905086565b60026020528060005260406000206000915090505481565b600660009054906101000a900461ffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515612c9157600080fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b6020528060005260406000206000915090505481565b612cf56140d0565b6000806000806000806000600880549050111515612d0f57fe5b6007600089815260200190815260200160002060c060405190810160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016001820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016002820160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff168152602001600382015481526020016004820160009054906101000a900460ff1615151515815250509650600073ffffffffffffffffffffffffffffffffffffffff16876000015173ffffffffffffffffffffffffffffffffffffffff1614151515612eae57fe5b6000600a6000896000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050111515612f0057fe5b600b60008981526020019081526020016000205495506001600a6000896000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050039450600a6000886000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002085815481101515612fb257fe5b9060005260206000200154935083600a6000896000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208781548110151561301057fe5b9060005260206000200181905550600a6000886000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480919060019003613074919061414d565b5085600b6000868152602001908152602001600020819055506000600b60008a81526020019081526020016000208190555060096000898152602001908152602001600020549250876008848154811015156130cc57fe5b90600052602060002001541415156130e057fe5b60016008805490500391506008828154811015156130fa57fe5b906000526020600020015490508060088481548110151561311757fe5b9060005260206000200181905550600880548091906001900361313a919061414d565b508260096000838152602001908152602001600020819055506000600960008a81526020019081526020016000208190555061317588613c64565b5050505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60006131e66140d0565b600460009054906101000a900460ff1615151561320257600080fd5b600660049054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150866fffffffffffffffffffffffffffffffff16871415156132b0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f5374617274696e6720707269636520697320746f6f206869676821000000000081525060200191505060405180910390fd5b856fffffffffffffffffffffffffffffffff1686141515613339576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f456e64696e6720707269636520697320746f6f2068696768210000000000000081525060200191505060405180910390fd5b8467ffffffffffffffff16851415156133ba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f4475726174696f6e206578636565647320616c6c6f776564206c696d6974210081525060200191505060405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff16631f2e4aa789306040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200192505050600060405180830381600087803b15801561345d57600080fd5b505af1158015613471573d6000803e3d6000fd5b50505050600660049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd84308b6040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b15801561356e57600080fd5b505af1158015613582573d6000803e3d6000fd5b5050505060c0604051908101604052808473ffffffffffffffffffffffffffffffffffffffff168152602001886fffffffffffffffffffffffffffffffff168152602001876fffffffffffffffffffffffffffffffff1681526020018667ffffffffffffffff16815260200142815260200185151581525090506136068882613d21565b5050505050505050565b6000806000905061362e836003015442613e0390919063ffffffff16565b90508260020160009054906101000a900467ffffffffffffffff1667ffffffffffffffff16811015915050919050565b6000806000806000806000600760008a815260200190815260200160002096506136878761317f565b1515613721576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001807f43616e206e6f7420706c616365206269642e204e4654206973206e6f74206f6e81526020017f2061756374696f6e21000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b61372a87613aef565b95508588101515156137ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260388152602001807f42696420616d6f756e742068617320746f20626520686967686572206f72206581526020017f7175616c207468616e2063757272656e7420707269636521000000000000000081525060400191505060405180910390fd5b8660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1694508660040160009054906101000a900460ff16935061380e89612ced565b6000861115613880576138218685613e1c565b92506138368387613e0390919063ffffffff16565b91508473ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015801561387e573d6000803e3d6000fd5b505b6138938689613e0390919063ffffffff16565b90503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156138db573d6000803e3d6000fd5b507f4fcc30d90a842164dd58501ab874a101a3749c3d4747139cefe7c876f4ccebd2898733604051808481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001935050505060405180910390a1505050505050505050565b6000806007600084815260200190815260200160002091508160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506139a283612ced565b600660049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3083866040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b158015613a9b57600080fd5b505af1158015613aaf573d6000803e3d6000fd5b505050507f2809c7e17bf978fbc7194c0a694b638c4215e9140cacc6c38ca36010b45697df836040518082815260200191505060405180910390a1505050565b60008060008060008093508560030154421115613b2057613b1d866003015442613e0390919063ffffffff16565b93505b8560020160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1684101515613b85578560010160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169450613c5b565b8560010160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168660010160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff160392508560020160009054906101000a900467ffffffffffffffff1667ffffffffffffffff16848402811515613c1d57fe5b059150818660010160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff160190508094505b50505050919050565b60076000828152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160006101000a8154906fffffffffffffffffffffffffffffffff02191690556001820160106101000a8154906fffffffffffffffffffffffffffffffff02191690556002820160006101000a81549067ffffffffffffffff021916905560038201600090556004820160006101000a81549060ff0219169055505050565b6000613d2d8383613e7c565b600883908060018154018082558091505090600182039060005260206000200160009091929091909150559050600181036009600085815260200190815260200160002081905550600a6000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208390806001815401808255809150509060018203906000526020600020016000909192909190915055905060018103600b600085815260200190815260200160002081905550505050565b6000828211151515613e1157fe5b818303905092915050565b60008115613e4f57612710600660029054906101000a900461ffff1661ffff168402811515613e4757fe5b049050613e76565b612710600660009054906101000a900461ffff1661ffff168402811515613e7257fe5b0490505b92915050565b603c816060015167ffffffffffffffff1610151515613e9a57600080fd5b806007600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060408201518160010160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060608201518160020160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506080820151816003015560a08201518160040160006101000a81548160ff0219169083151502179055509050507f57ba1bee67698f415b14c920549f07ed5fd0fafb5f4a4c3ee39de6ee49924b4382826000015183602001516fffffffffffffffffffffffffffffffff1684604001516fffffffffffffffffffffffffffffffff16856060015167ffffffffffffffff168660a00151604051808781526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200185815260200184815260200183815260200182151515158152602001965050505050505060405180910390a15050565b8154818355818111156140cb578183600052602060002091820191016140ca9190614179565b5b505050565b60c060405190810160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160006fffffffffffffffffffffffffffffffff16815260200160006fffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600081526020016000151581525090565b815481835581811115614174578183600052602060002091820191016141739190614179565b5b505050565b61419b91905b8082111561419757600081600090555060010161417f565b5090565b905600596f752063616e206e6f7420626964206f6e20746869732061756374696f6e2c2062656361757365206974206861732064656c617965642063616e63656c20706f6c696379206163746976656420616e642061667465722074696d65732075702069742062656c6f6e6773206f6e636520616761696e20746f2073656c6c657221a165627a7a72305820c871c5530ccb12326896e4fc16da713d0500f462e6eb7c867519b95744ba8bd30029

Deployed Bytecode Sourcemap

38335:10990:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8587:158;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8587:158:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21063:234;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21063:234:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20558:291;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20558:291:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28451:26;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28451:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20333:108;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20333:108:0;;;;;;;;;;;;;;;;;;;;;;;29412:546;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29412:546:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28628:257;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28628:257:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49148:174;;8:9:-1;5:2;;;30:1;27;20:12;5:2;49148:174:0;;;;;;;;;;;;;;;;;;;;;;;;;;47650:195;;8:9:-1;5:2;;;30:1;27;20:12;5:2;47650:195:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32761:153;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32761:153:0;;;;;;;;;;;;;;;;;;;;;;;;;;;44742:550;;8:9:-1;5:2;;;30:1;27;20:12;5:2;44742:550:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45673:618;;;;;;;;;;;;;;;;;;;;;;;;;;27963:229;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27963:229:0;;;;;;17915:23;;8:9:-1;5:2;;;30:1;27;20:12;5:2;17915:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21372:158;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21372:158:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18166:51;;8:9:-1;5:2;;;30:1;27;20:12;5:2;18166:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32108:26;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32108:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;31506:222;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31506:222:0;;;;;;41636:231;;8:9:-1;5:2;;;30:1;27;20:12;5:2;41636:231:0;;;;;;;;;;;;;;;;;;;;;;;;;;29009:275;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29009:275:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18026:47;;8:9:-1;5:2;;;30:1;27;20:12;5:2;18026:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42127:291;;8:9:-1;5:2;;;30:1;27;20:12;5:2;42127:291:0;;;;;;;;;;;;;;;;;;;;;;;;;;47970:593;;8:9:-1;5:2;;;30:1;27;20:12;5:2;47970:593:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32523:151;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32523:151:0;;;;;;;;;;;;;;;;;;;;;;;;;;;47218:281;;8:9:-1;5:2;;;30:1;27;20:12;5:2;47218:281:0;;;;;;;;;;;;;;;;;;;;;;;;;;25489:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25489:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;11449:40;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11449:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;46519:409;;8:9:-1;5:2;;;30:1;27;20:12;5:2;46519:409:0;;;;;;;;;;;;;;;;;;;;;;;;;;42570:280;;8:9:-1;5:2;;;30:1;27;20:12;5:2;42570:280:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;48696:288;;8:9:-1;5:2;;;30:1;27;20:12;5:2;48696:288:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11547:25;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11547:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;43621:695;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43621:695:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26988:27;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26988:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;11612:52;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11612:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28405:41;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28405:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11286:27;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11286:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;27663:123;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27663:123:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;18309:53;;8:9:-1;5:2;;;30:1;27;20:12;5:2;18309:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8587:158;8683:4;8706:19;:33;8726:12;8706:33;;;;;;;;;;;;;;;;;;;;;;;;;;;8699:40;;8587:158;;;:::o;21063:234::-;21179:7;21215:14;:23;21230:7;21215:23;;;;;;;;;;;;;;;:30;;;;21206:6;:39;21198:48;;;;;;;;21260:14;:23;21275:7;21260:23;;;;;;;;;;;;;;;21284:6;21260:31;;;;;;;;;;;;;;;;;;21253:38;;21063:234;;;;:::o;20558:291::-;20653:7;20689:6;:13;;;;20680:6;:22;20672:31;;;;;;;;20808:6;20776:12;:28;20789:6;20796;20789:14;;;;;;;;;;;;;;;;;;20776:28;;;;;;;;;;;;:38;20769:46;;;;;;20829:6;20836;20829:14;;;;;;;;;;;;;;;;;;20822:21;;20558:291;;;:::o;28451:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;20333:108::-;20396:7;20422:6;:13;;;;20415:20;;20333:108;:::o;29412:546::-;29495:10;29720:16;29769:17;26116:5;;;;;;;;;;;26102:19;;:10;:19;;;26094:28;;;;;;;;29582:12;29573:21;;:5;;;;;;;;;;;:21;;;;29565:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29655:21;29663:12;29655:7;:21::i;:::-;29647:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29739:9;:23;29749:12;29739:23;;;;;;;;;;;;;;;;29720:42;;29789:9;29816:1;29799:9;:16;;;;:18;29789:29;;;;;;;;;;;;;;;;;;;;;;;;;;;29769:49;;29850:9;29825;29835:11;29825:22;;;;;;;;;;;;;;;;;;:34;;;;;;;;;;;;;;;;;;29889:11;29866:9;:20;29876:9;29866:20;;;;;;;;;;;;;;;:34;;;;29907:9;:18;;;;;;;;;;;;:::i;:::-;;29941:11;29934:18;;29412:546;;;;;:::o;28628:257::-;28702:13;28747:5;;;;;;;;;;;28731:21;;:12;:21;;;28727:38;;;28761:4;28754:11;;;;28727:38;28798:1;28778:9;:16;;;;:21;28774:39;;;28808:5;28801:12;;;;28774:39;28866:12;28828:50;;:9;28838;:23;28848:12;28838:23;;;;;;;;;;;;;;;;28828:34;;;;;;;;;;;;;;;;;;;;;;;;;;;:50;;;28820:59;;28628:257;;;;:::o;49148:174::-;32418:6;;;;;;;;;;;32410:15;;;;;;;;30088:19;30096:10;30088:7;:19::i;:::-;30080:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49254:24;49269:8;49254:14;:24::i;:::-;49292;49307:8;49292:24;;;;;;;;;;;;;;;;;;49148:174;:::o;47650:195::-;47727:13;47752:23;47778:16;:26;47795:8;47778:26;;;;;;;;;;;47752:52;;47818:21;47831:7;47818:12;:21::i;:::-;47811:28;;47650:195;;;;:::o;32761:153::-;32839:4;26116:5;;;;;;;;;;;26102:19;;:10;:19;;;26094:28;;;;;;;;32418:6;;;;;;;;;;;32410:15;;;;;;;;32864:5;32855:6;;:14;;;;;;;;;;;;;;;;;;32881:9;;;;;;;;;;32904:4;32897:11;;32761:153;:::o;44742:550::-;32268:6;;;;;;;;;;;32267:7;32259:16;;;;;;;;44971:10;44938:43;;:11;;;;;;;;;;;:19;;;44958:8;44938:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;44938:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;44938:29:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;44938:29:0;;;;;;;;;;;;;;;;:43;;;44930:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45101:185;45126:8;45145:14;45170:12;45193:9;45213:5;45267:10;45101:14;:185::i;:::-;44742:550;;;;:::o;45673:618::-;45766:23;32268:6;;;;;;;;;;;32267:7;32259:16;;;;;;;;45792;:26;45809:8;45792:26;;;;;;;;;;;45766:52;;45833:21;45846:7;45833:12;:21::i;:::-;45825:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45902:7;:21;;;;;;;;;;;;45901:22;:51;;;;45928:24;45944:7;45928:15;:24::i;:::-;45927:25;45901:51;45893:193;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46154:25;46159:8;46169:9;46154:4;:25::i;:::-;46224:11;;;;;;;;;;;:24;;;46257:4;46264:10;46276:8;46224:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;46224:61:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46224:61:0;;;;45673:618;;:::o;27963:229::-;28053:21;28033:12;;;;;;;;;;;28019:26;;:10;:26;;;28011:35;;;;;;;;28077:5;;;;;;;;;;;28053:29;;28097:12;;;;;;;;;;;28089:5;;:20;;;;;;;;;;;;;;;;;;28131:1;28116:12;;:16;;;;;;;;;;;;;;;;;;28180:5;;;;;;;;;;;28144:42;;28165:13;28144:42;;;;;;;;;;;;27963:229;:::o;17915:23::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;21372:158::-;21468:7;21494:14;:23;21509:7;21494:23;;;;;;;;;;;;;;;:30;;;;21487:37;;21372:158;;;:::o;18166:51::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;32108:26::-;;;;;;;;;;;;;:::o;31506:222::-;31572:15;26116:5;;;;;;;;;;;26102:19;;:10;:19;;;26094:28;;;;;;;;31598:4;31590:21;;;31572:39;;31618:10;:19;;:28;31638:7;31618:28;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;31618:28:0;31705:17;31714:7;31705:17;;;;;;;;;;;;;;;;;;31506:222;:::o;41636:231::-;30088:19;30096:10;30088:7;:19::i;:::-;30080:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41731:5;41723:4;:13;;41715:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41807:4;41784:13;;:28;;;;;;;;;;;;;;;;;;41826:35;41847:13;;;;;;;;;;;41826:35;;;;;;;;;;;;;;;;;;;;41636:231;:::o;29009:275::-;29089:10;26116:5;;;;;;;;;;;26102:19;;:10;:19;;;26094:28;;;;;;;;29120:21;29128:12;29120:7;:21::i;:::-;29119:22;29111:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29243:1;29214:9;29229:12;29214:28;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;29214:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:30;29188:9;:23;29198:12;29188:23;;;;;;;;;;;;;;;:56;;;;29277:1;29260:9;:16;;;;:18;29253:25;;29009:275;;;:::o;18026:47::-;;;;;;;;;;;;;;;;;:::o;42127:291::-;30088:19;30096:10;30088:7;:19::i;:::-;30080:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42235:5;42227:4;:13;;42219:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42332:4;42296:26;;:41;;;;;;;;;;;;;;;;;;42351:61;42385:26;;;;;;;;;;;42351:61;;;;;;;;;;;;;;;;;;;;42127:291;:::o;47970:593::-;48055:14;48076:21;48104:19;48130:16;48153:17;48177:18;48210:23;48236:16;:26;48253:8;48236:26;;;;;;;;;;;48210:52;;48279:21;48292:7;48279:12;:21::i;:::-;48271:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48375:7;:14;;;;;;;;;;;;48402:7;:21;;;;;;;;;;;;48436:7;:19;;;;;;;;;;;;48468:7;:16;;;;;;;;;;;;48497:7;:17;;;48527:7;:21;;;;;;;;;;;;48355:202;;;;;;;;;;;;;;;;;;;;;;;;;;;47970:593;;;;;;;;:::o;32523:151::-;32602:4;26116:5;;;;;;;;;;;26102:19;;:10;:19;;;26094:28;;;;;;;;32268:6;;;;;;;;;;;32267:7;32259:16;;;;;;;;32627:4;32618:6;;:13;;;;;;;;;;;;;;;;;;32643:7;;;;;;;;;;32664:4;32657:11;;32523:151;:::o;47218:281::-;47326:23;32418:6;;;;;;;;;;;32410:15;;;;;;;;30088:19;30096:10;30088:7;:19::i;:::-;30080:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47352:16;:26;47369:8;47352:26;;;;;;;;;;;47326:52;;47395:21;47408:7;47395:12;:21::i;:::-;47387:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47469:24;47484:8;47469:14;:24::i;:::-;47218:281;;:::o;25489:20::-;;;;;;;;;;;;;:::o;11449:40::-;;;;;;;;;;;;;:::o;46519:409::-;46605:23;32268:6;;;;;;;;;;;32267:7;32259:16;;;;;;;;46631;:26;46648:8;46631:26;;;;;;;;;;;46605:52;;46674:21;46687:7;46674:12;:21::i;:::-;46666:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46758:7;:21;;;;;;;;;;;;46757:22;:50;;;;46783:24;46799:7;46783:15;:24::i;:::-;46757:50;46756:84;;;;;46826:7;:14;;;;;;;;;;;;46812:28;;:10;:28;;;46756:84;46748:139;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46898:24;46913:8;46898:14;:24::i;:::-;46519:409;;:::o;42570:280::-;42654:25;30088:19;30096:10;30088:7;:19::i;:::-;30080:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42689:11;42654:47;;42716:18;:36;;;38699:10;42753:25;;42716:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;42716:63:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;42716:63:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;42716:63:0;;;;;;;;;;;;;;;;42708:72;;;;;;;;42832:11;42811;;:33;;;;;;;;;;;;;;;;;;42570:280;;:::o;48696:288::-;48783:7;48804:23;48830:16;:26;48847:8;48830:26;;;;;;;;;;;48804:52;;48873:21;48886:7;48873:12;:21::i;:::-;48865:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48954:22;48968:7;48954:13;:22::i;:::-;48947:29;;48696:288;;;;:::o;11547:25::-;;;;;;;;;;;;;:::o;43621:695::-;32268:6;;;;;;;;;;;32267:7;32259:16;;;;;;;;30088:19;30096:10;30088:7;:19::i;:::-;30080:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44073:237;44098:8;44117:14;44142:12;44165:9;44185:4;44294:7;44073:14;:237::i;:::-;43621:695;;;;;:::o;26988:27::-;;;;;;;;;;;;;:::o;11612:52::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;28405:41::-;;;;;;;;;;;;;;;;;:::o;11286:27::-;;;;;;;;;;;;;:::o;27663:123::-;26116:5;;;;;;;;;;;26102:19;;:10;:19;;;26094:28;;;;;;;;27771:9;27756:12;;:24;;;;;;;;;;;;;;;;;;27663:123;:::o;18309:53::-;;;;;;;;;;;;;;;;;:::o;19022:1234::-;19120:22;;:::i;:::-;19311:35;19384:29;19464:23;19795:18;19947:22;19996:17;19109:1;19093:6;:13;;;;:17;19086:25;;;;;;19145:16;:24;19162:6;19145:24;;;;;;;;;;;19120:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19243:1;19217:28;;:7;:14;;;:28;;;;19210:36;;;;;;19300:1;19260:14;:30;19275:7;:14;;;19260:30;;;;;;;;;;;;;;;:37;;;;:41;19253:49;;;;;;19349:18;:26;19368:6;19349:26;;;;;;;;;;;;19311:64;;19456:1;19416:14;:30;19431:7;:14;;;19416:30;;;;;;;;;;;;;;;:37;;;;:41;19384:73;;19490:14;:30;19505:7;:14;;;19490:30;;;;;;;;;;;;;;;19521:21;19490:53;;;;;;;;;;;;;;;;;;19464:79;;19614:15;19552:14;:30;19567:7;:14;;;19552:30;;;;;;;;;;;;;;;19583:27;19552:59;;;;;;;;;;;;;;;;;:77;;;;19636:14;:30;19651:7;:14;;;19636:30;;;;;;;;;;;;;;;:39;;;;;;;;;;;;:::i;:::-;;19722:27;19684:18;:35;19703:15;19684:35;;;;;;;;;;;:65;;;;19785:1;19756:18;:26;19775:6;19756:26;;;;;;;;;;;:30;;;;19816:12;:20;19829:6;19816:20;;;;;;;;;;;;19795:41;;19872:6;19850;19857:10;19850:18;;;;;;;;;;;;;;;;;;:28;19843:36;;;;;;19988:1;19972:6;:13;;;;:17;19947:42;;20016:6;20023:14;20016:22;;;;;;;;;;;;;;;;;;19996:42;;20068:9;20047:6;20054:10;20047:18;;;;;;;;;;;;;;;;;:30;;;;20084:6;:15;;;;;;;;;;;;:::i;:::-;;20172:10;20146:12;:23;20159:9;20146:23;;;;;;;;;;;:36;;;;20212:1;20189:12;:20;20202:6;20189:20;;;;;;;;;;;:24;;;;20222:28;20243:6;20222:20;:28::i;:::-;19022:1234;;;;;;;;:::o;15347:148::-;15433:4;15486:1;15459:29;;:8;:15;;;;;;;;;;;;:29;;;;15451:38;;15347:148;;;:::o;40109:1318::-;40350:28;41173:22;;:::i;:::-;32268:6;;;;;;;;;;;32267:7;32259:16;;;;;;;;40408:11;;;;;;;;;;;40350:71;;40593:14;40577:32;;40559:14;:50;40551:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40690:12;40674:30;;40658:12;:46;40650:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40779:9;40764:26;;40751:9;:39;40743:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40984:9;:23;;;41008:8;41026:4;40984:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;40984:48:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;40984:48:0;;;;41104:11;;;;;;;;;;;:24;;;41129:7;41146:4;41153:8;41104:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;41104:58:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;41104:58:0;;;;41198:182;;;;;;;;;41216:7;41198:182;;;;;;41242:14;41198:182;;;;;;41276:12;41198:182;;;;;;41307:9;41198:182;;;;;;41336:3;41198:182;;;;41356:14;41198:182;;;;;41173:207;;41391:30;41403:8;41413:7;41391:11;:30::i;:::-;40109:1318;;;;;;;;:::o;15607:326::-;15696:4;15714:21;15738:1;15714:25;;15764:27;15772:8;:18;;;15764:3;:7;;:27;;;;:::i;:::-;15748:43;;15909:8;:17;;;;;;;;;;;;15892:34;;:13;:34;;15884:43;;15607:326;;;;:::o;13214:2021::-;13338:23;13560:13;13758:14;13859:20;14165:19;14235:21;14950:17;13364:16;:26;13381:8;13364:26;;;;;;;;;;;13338:52;;13407:21;13420:7;13407:12;:21::i;:::-;13399:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13576:22;13590:7;13576:13;:22::i;:::-;13560:38;;13625:5;13615:6;:15;;13607:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13775:7;:14;;;;;;;;;;;;13758:31;;13882:7;:21;;;;;;;;;;;;13859:44;;14019:24;14034:8;14019:14;:24::i;:::-;14103:1;14095:5;:9;14091:745;;;14187:35;14199:5;14206:15;14187:11;:35::i;:::-;14165:57;;14259:22;14269:11;14259:5;:9;;:22;;;;:::i;:::-;14235:46;;14796:6;:15;;:30;14812:13;14796:30;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14796:30:0;14091:745;14970:17;14981:5;14970:6;:10;;:17;;;;:::i;:::-;14950:37;;15137:10;:19;;:30;15157:9;15137:30;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;15137:30:0;15183:46;15201:8;15211:5;15218:10;15183:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13214:2021;;;;;;;;;:::o;12654:322::-;12712:23;12771:15;12738:16;:26;12755:8;12738:26;;;;;;;;;;;12712:52;;12789:7;:14;;;;;;;;;;;;12771:32;;12810:24;12825:8;12810:14;:24::i;:::-;12874:11;;;;;;;;;;;:24;;;12907:4;12914:7;12923:8;12874:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12874:58:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;12874:58:0;;;;12944:26;12961:8;12944:26;;;;;;;;;;;;;;;;;;12654:322;;;:::o;16051:800::-;16138:7;16157:21;16519:23;16617:25;16724:19;16181:1;16157:25;;16201:8;:18;;;16195:3;:24;16191:92;;;16248:27;16256:8;:18;;;16248:3;:7;;:27;;;;:::i;:::-;16232:43;;16191:92;16312:8;:17;;;;;;;;;;;;16295:34;;:13;:34;;16291:555;;;16393:8;:20;;;;;;;;;;;;16386:27;;;;;;16291:555;16583:8;:22;;;;;;;;;;;;16576:30;;16552:8;:20;;;;;;;;;;;;16545:28;;:61;16519:87;;16695:8;:17;;;;;;;;;;;;16688:25;;16671:13;16645:16;:40;:68;;;;;;;;16617:96;;16779:18;16753:8;:22;;;;;;;;;;;;16746:30;;:51;16724:73;;16825:12;16810:28;;16051:800;;;;;;;;:::o;17413:109::-;17489:16;:26;17506:8;17489:26;;;;;;;;;;;;17482:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17413:109;:::o;18584:313::-;18707:14;18663:35;18681:6;18689:8;18663:17;:35::i;:::-;18724:6;18736;18724:19;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;18724:19:0;;;;;;;;;;;;;;;;;;;;;18707:36;;18782:1;18773:6;:10;18750:12;:20;18763:6;18750:20;;;;;;;;;;;:33;;;;18801:14;:31;18816:8;:15;;;18801:31;;;;;;;;;;;;;;;18838:6;18801:44;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;18801:44:0;;;;;;;;;;;;;;;;;;;;;18792:53;;18890:1;18881:6;:10;18852:18;:26;18871:6;18852:26;;;;;;;;;;;:39;;;;18584:313;;;:::o;7446:152::-;7536:7;7568:2;7562;:8;;7555:16;;;;;;7590:2;7585;:7;7578:14;;7446:152;;;;:::o;17044:267::-;17142:7;17169:16;17165:93;;;17243:5;17214:26;;;;;;;;;;;17205:35;;:6;:35;:43;;;;;;;;17198:50;;;;17165:93;17300:5;17284:13;;;;;;;;;;;17275:22;;:6;:22;:30;;;;;;;;17268:37;;17044:267;;;;;:::o;12079:457::-;12242:9;12221:8;:17;;;:30;;;;12213:39;;;;;;;;12290:8;12261:16;:26;12278:8;12261:26;;;;;;;;;;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12312:218;12337:8;12356;:15;;;12390:8;:22;;;12382:31;;12432:8;:20;;;12424:29;;12472:8;:17;;;12464:26;;12501:8;:22;;;12312:218;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12079:457;;:::o;38335:10990::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

bzzr://c871c5530ccb12326896e4fc16da713d0500f462e6eb7c867519b95744ba8bd3

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.