ETH Price: $3,084.20 (-2.61%)
 

Overview

ETH Balance

0.024 ETH

Eth Value

$74.02 (@ $3,084.20/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...139846462022-01-11 13:58:021113 days ago1641909482IN
0xA51AcF84...9A332a6eD
0 ETH0.00627271135.65263495
Set Approval For...139846272022-01-11 13:54:541113 days ago1641909294IN
0xA51AcF84...9A332a6eD
0 ETH0.00654512141.54375286
Set Approval For...139845572022-01-11 13:41:081113 days ago1641908468IN
0xA51AcF84...9A332a6eD
0 ETH0.00623013134.73190107
Transfer From139845502022-01-11 13:39:161113 days ago1641908356IN
0xA51AcF84...9A332a6eD
0 ETH0.00801332124.05296572
Transfer From139845482022-01-11 13:38:431113 days ago1641908323IN
0xA51AcF84...9A332a6eD
0 ETH0.00660989102.32664806
Transfer From139845422022-01-11 13:38:111113 days ago1641908291IN
0xA51AcF84...9A332a6eD
0 ETH0.00904925140.09008353
Set Approval For...139845192022-01-11 13:32:571113 days ago1641907977IN
0xA51AcF84...9A332a6eD
0 ETH0.00615161133.03383987
Set Approval For...139844962022-01-11 13:28:341113 days ago1641907714IN
0xA51AcF84...9A332a6eD
0 ETH0.00576424124.6566358
Transfer From139844222022-01-11 13:13:521113 days ago1641906832IN
0xA51AcF84...9A332a6eD
0 ETH0.00690105106.83404192
Transfer From139844142022-01-11 13:12:551113 days ago1641906775IN
0xA51AcF84...9A332a6eD
0 ETH0.00784377121.42825938
Set_config128819752021-07-23 9:55:071285 days ago1627034107IN
0xA51AcF84...9A332a6eD
0 ETH0.0003160210
Set_assortment128819652021-07-23 9:53:451285 days ago1627034025IN
0xA51AcF84...9A332a6eD
0 ETH0.0017104710
Set_items128819652021-07-23 9:53:451285 days ago1627034025IN
0xA51AcF84...9A332a6eD
0 ETH0.0006460510
Bonus_gacha128191302021-07-13 13:47:241295 days ago1626184044IN
0xA51AcF84...9A332a6eD
0 ETH0.0045151743
Bonus_gacha128191252021-07-13 13:46:061295 days ago1626183966IN
0xA51AcF84...9A332a6eD
0 ETH0.0045151743
Bonus_gacha128191252021-07-13 13:46:061295 days ago1626183966IN
0xA51AcF84...9A332a6eD
0 ETH0.0045151743
Shop128191192021-07-13 13:44:261295 days ago1626183866IN
0xA51AcF84...9A332a6eD
0.02 ETH0.0299089142
Shop128191122021-07-13 13:41:361295 days ago1626183696IN
0xA51AcF84...9A332a6eD
0.002 ETH0.0058560741
Set_base_uri128050362021-07-11 8:52:161297 days ago1625993536IN
0xA51AcF84...9A332a6eD
0 ETH0.000173575
Shop128045712021-07-11 7:03:211297 days ago1625987001IN
0xA51AcF84...9A332a6eD
0.002 ETH0.000799595
Set_assortment128045262021-07-11 6:54:061297 days ago1625986446IN
0xA51AcF84...9A332a6eD
0 ETH0.00305865
Set_assortment128045262021-07-11 6:54:061297 days ago1625986446IN
0xA51AcF84...9A332a6eD
0 ETH0.001589615
Set_assortment128045252021-07-11 6:54:021297 days ago1625986442IN
0xA51AcF84...9A332a6eD
0 ETH0.001589615
Set_items128045252021-07-11 6:54:021297 days ago1625986442IN
0xA51AcF84...9A332a6eD
0 ETH0.001379255
Set_gacha_data128045232021-07-11 6:53:331297 days ago1625986413IN
0xA51AcF84...9A332a6eD
0 ETH0.001155345
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Gachadass

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 2000 runs

Other Settings:
default evmVersion
File 1 of 14 : Gachadass.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

import "../node_modules/@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol";
import "../node_modules/@openzeppelin/contracts/access/Ownable.sol";

contract Gachadass is ERC721Pausable, Ownable {

  event Item_Changed(
      uint256 index
  );

  event Assortment_Changed(
      uint256 index
  );

  event Gacha_Changed(
      uint256 index
  );

  event New_Token(
      uint256 id,
      uint32 image,
      uint144 value
  );

  event Config_Changed(
      uint16 gacha_data_length,
      uint16 items_length,
      uint16 assortments_length,
      uint72 free_gift
  );

  struct Gacha_Data {
      uint8[] rates;
      uint32[] common_items;
      uint32[] uncommon_items;
      uint32[] rare_items;
      uint72 price;
      bool released;
  }

  struct Token_Data {
      uint32 image;
      uint144 value;
  }

  struct Item {
      uint32 image;
      uint144 value;
      uint72 price;
      uint8 gacha_id;
  }

  struct Assortment_Data {
      uint16 start;
      uint8 length;
      uint72 price;
      bytes20 hash;
  }

  struct Config {
      uint16 gacha_data_length;
      uint16 items_length;
      uint16 assortments_length;
      uint72 free_gift;
  }

  struct Token {
      uint256 id;
      Token_Data data;
      address owner;
  }

  struct Assortment {
      Assortment_Data assortment;
      Item[] items;
  }

  mapping (uint256 => Token_Data) private token_data;
  mapping (uint256 => Gacha_Data) private gacha_data;
  mapping (uint256 => Item) private items;
  mapping (uint256 => Assortment_Data) private assortments;
  mapping (address => uint256) private coins;

  Config private config;
  address private minter;
  uint256 private token_id;
  string private base_uri;

  constructor(string memory name, string memory symbol, string memory uri) ERC721(name, symbol) {
      base_uri = uri;
  }

  function mint(uint256 id, address to, uint32 image, uint144 v) private {
      require(image > 0);
      _mint(to, id);
      token_data[id]=Token_Data(
          image,
          v
      );
      emit New_Token(id, image, v);
  }

  function mint_by_owner(address to, uint32 image, uint144 v) external {
      require(msg.sender == owner() || msg.sender == minter);
      mint(token_id, to, image, v);
      token_id += 1;
  }

  function set_minter(address minter_) external onlyOwner {
      minter = minter_;
  }

  function sendEtherToOwner(uint256 amount) external onlyOwner {
      require(address(this).balance >= amount);
      payable(owner()).transfer(amount);
  }

  function _baseURI() internal view virtual override returns (string memory) {
      return base_uri;
  }

  function set_base_uri(string calldata uri) external {
      require(msg.sender == owner() || msg.sender == minter);
      base_uri = uri;
  }

  function add_coins(address to, uint256 amount) external {
      require(msg.sender == owner() || msg.sender == minter);
      coins[to] += amount;
  }

  function gacha(uint256 index, uint256 random) public view returns(uint32, uint144) {
      if (index > 127) {
          index -= 128;
      }
      uint32 image;
      uint144 r;
      assembly {
          let freemem_pointer := mload(0x40)
          mstore(freemem_pointer, random)
          mstore(add(freemem_pointer, 0x20), timestamp())
          mstore(add(freemem_pointer, 0x40), difficulty())
          r := keccak256(freemem_pointer, 0x60)

          mstore(freemem_pointer, index) // mapping key
          mstore(add(freemem_pointer, 0x20), gacha_data.slot) // mapping slot
          mstore(freemem_pointer, keccak256(freemem_pointer, 0x40)) // gacha_data position
          mstore(add(freemem_pointer, 0x20), add(mload(freemem_pointer), 0)) // rates position
          mstore(add(freemem_pointer, 0x40), sload(keccak256(add(freemem_pointer, 0x20), 0x20))) // rates data

          switch lt(div(mul(byte(30, r), 99), 255), byte(31, mload(add(freemem_pointer, 0x40))))
          case 1 {
              mstore(add(freemem_pointer, 0x60), add(mload(freemem_pointer), 3)) // rare position
          }
          default {
              switch lt(div(mul(byte(30, r), 99), 255), byte(30, mload(add(freemem_pointer, 0x40))))
              case 1 {
                  mstore(add(freemem_pointer, 0x60), add(mload(freemem_pointer), 2)) // uncommon position
              }
              default {
                  mstore(add(freemem_pointer, 0x60), add(mload(freemem_pointer), 1)) // common position
              }
          }
          mstore(add(freemem_pointer, 0x80), sload(mload(add(freemem_pointer, 0x60)))) // length
          mstore(add(freemem_pointer, 0xA0),
          div(mul(byte(29, r), sub(mload(add(freemem_pointer, 0x80)), 1)), 255)) // item index
          mstore(add(freemem_pointer, 0xC0), sload(add(keccak256(add(freemem_pointer, 0x60), 0x20), div(mload(add(freemem_pointer, 0xA0)), 8))))
          image :=  and(mload(sub(add(freemem_pointer, 0xC0), mul(0x4, mod(mload(add(freemem_pointer, 0xA0)), 8)))), 0xffffffff)
      }
      return (image, r);
  }

  function shop(uint256 index, uint32 img, uint256 v) payable whenNotPaused external {
      require(config.items_length > index);

      uint32 image = items[index].image;
      uint144 value = items[index].value;
      uint72 price = items[index].price;
      bool bonus;

      if (items[index].gacha_id > 127) {
          bonus = true;
      }

      require(price > 0);
      require(value == v);
      require(image == img);

      if (bonus) {
          require(coins[msg.sender] >= price);
      }
      else {
          require(price == msg.value);
      }

      mint(token_id, msg.sender, image, value);
      token_id += 1;

      if (bonus) {
          coins[msg.sender] -= price;
      }
      else if (config.free_gift > 0) {
          coins[msg.sender] += msg.value / config.free_gift;
      }

      update_item(index);
  }

  function shop(uint256 index, bytes32 hash_) payable whenNotPaused external {
      require(config.assortments_length > index);

      uint16 start = assortments[index].start;
      uint8 length = assortments[index].length;
      uint72 price = assortments[index].price;
      bytes20 hash = assortments[index].hash;
      bool del;
      bool bonus;

      if (items[start].gacha_id > 127) {
          bonus = true;
      }
      require(price > 0);
      require(length > 0);
      require(hash == hash_);

      if (bonus) {
          require(coins[msg.sender] >= price);
      }
      else {
          require(price == msg.value);
      }

      for (uint256 i = 0; i < length; i++) {
          mint(token_id + i, msg.sender, items[i + start].image, items[i + start].value);
          if (update_item(i + start) && !del) {
              del = true;
          }
      }
      token_id += length;
      if (bonus) {
          coins[msg.sender] -= price;
      }
      else if (config.free_gift > 0) {
          coins[msg.sender] += msg.value / config.free_gift;
      }

      if (del) {
          delete assortments[index];
      }
      else {
          assortments[index].hash = assortment_hash(start, length);
      }

      emit Assortment_Changed(index);
  }

  function set_item(uint256 index, uint32 image, uint144 value, uint72 price, uint8 gacha_id) external onlyOwner {
      items[index] = Item(image, value, price, gacha_id);
      emit Item_Changed(index);
  }

  function set_items(uint256 index, Item[] memory items_) external onlyOwner {
      for (uint256 i = 0; i < items_.length; i++) {
          items[index + i] = items_[i];
          emit Item_Changed(index + i);
      }
  }

  function update_item(uint256 index) private returns(bool) {
      uint32 image = items[index].image;
      uint144 value = items[index].value;
      uint72 price = items[index].price;
      uint8 gacha_id = items[index].gacha_id;
      bool del;
      if (gacha_id == 127 || gacha_id == 255) {
          bytes32 hash = keccak256(abi.encodePacked(
                  value,
                  block.timestamp,
                  block.difficulty
          ));
          items[index].value = uint144(uint256(hash));
      }
      else if ((gacha_id > 127 && gacha_data[gacha_id - 128].released == true) || (gacha_id < 128 && gacha_data[gacha_id].released == true)) {
          (image, value) = gacha(gacha_id, value);
          items[index] = Item(image, value, price, gacha_id);
      }
      else {
          delete items[index];
          del = true;
      }
      if (index < config.items_length) {
          emit Item_Changed(index);
      }
      return del;
  }

  function assortment_hash(uint256 start, uint256 length) private view returns(bytes20) {
      bytes32 hash;
      uint256 assortment_length = length + start;
      for (uint256 i = start; i < assortment_length; i++) {
          hash = keccak256(abi.encodePacked(
              hash,
              items[i].value
          ));
      }
      return bytes20(hash);
  }

  function set_assortment(
        uint256 index,
        uint16 start,
        uint8 length,
        uint72 price,
        Item[] calldata items_
  )
        external onlyOwner
  {
      for (uint256 i = 0; i < items_.length; i++) {
          items[start + i] = items_[i];
      }
      assortments[index] = Assortment_Data(
          start,
          length,
          price,
          assortment_hash(start, length)
      );
      emit Assortment_Changed(index);
  }

  function set_config(
      uint16 gacha_data_length,
      uint16 items_length,
      uint16 assortments_length,
      uint72 free_gift
  )
      external onlyOwner
  {
      config = Config(
          gacha_data_length,
          items_length,
          assortments_length,
          free_gift
      );
      emit Config_Changed(
          gacha_data_length,
          items_length,
          assortments_length,
          free_gift
      );
  }

  function bonus_gacha(uint256 index, uint256 quantity) whenNotPaused external {
      require (gacha_data[index].released == true);
      require (config.gacha_data_length > index);
      require (gacha_data[index].price > 0);
      require (quantity > 0);
      require (coins[msg.sender] >= gacha_data[index].price * quantity);
      uint32 image;
      uint144 r;
      uint256 id = token_id;

      for (uint256 i = 0; i < quantity; i++) {
          unchecked {
              (image, r) = gacha(
                  index,
                  token_data[id + i - 1].value + token_data[id + i - 2].value
              );
          }
          mint(id + i, msg.sender, image, r);
      }

      coins[msg.sender] -= gacha_data[index].price * quantity;
      token_id += quantity;
  }

  function set_gacha_data(
      uint256 index,
      Gacha_Data calldata gacha_data_
  )
      external
      onlyOwner
  {
      gacha_data[index] = gacha_data_;
      emit Gacha_Changed(index);
  }

  function add_gacha_item(
      uint256 index,
      uint256 rarity,
      uint32 image,
      uint256 item_index
  )
      external
      onlyOwner
  {
      if (rarity == 0) {
          if (item_index < gacha_data[index].rare_items.length) {
              gacha_data[index].rare_items[item_index] = image;
          }
          else {
              gacha_data[index].rare_items.push(image);
          }
      }
      else if (rarity == 1) {
          if (item_index < gacha_data[index].uncommon_items.length) {
              gacha_data[index].uncommon_items[item_index] = image;
          }
          else {
              gacha_data[index].uncommon_items.push(image);
          }
      }
      else {
          if (item_index < gacha_data[index].common_items.length) {
              gacha_data[index].common_items[item_index] = image;
          }
          else {
              gacha_data[index].common_items.push(image);
          }
      }
      emit Gacha_Changed(index);
  }

  function release(uint256 index) external onlyOwner {
      gacha_data[index].released = true;
      emit Gacha_Changed(index);
  }

  function unrelease(uint256 index) external onlyOwner {
      gacha_data[index].released = false;
      emit Gacha_Changed(index);
  }

  function pause() external onlyOwner {
      _pause();
  }

  function unpause() external onlyOwner {
      _unpause();
  }

  receive() external payable {}

  fallback() external payable {}

  function get_minter() external view returns(address) {
      return minter;
  }

  function get_data_all()
      external
      view
      returns(
          Config memory,
          Item[] memory,
          Assortment[] memory,
          Gacha_Data[] memory
      )
  {
      return (
          config,
          get_items(),
          get_assortments(),
          get_gacha_data_all()
      );
  }

  function get_item(uint256 index) external view returns(Item memory) {
      return items[index];
  }

  function get_items() public view returns(Item[] memory) {
      uint256 length = config.items_length;
      Item[] memory items_ = new Item[](length);
      for (uint256 i = 0; i < length; i++) {
          items_[i] = items[i];
      }
      return (items_);
  }

  function get_assortment(uint256 index) public view returns(Assortment memory) {
    uint16 start = assortments[index].start;
    uint8 length = assortments[index].length;
    Item[] memory items_ = new Item[](length);
    for (uint256 i = 0; i < length; i++) {
        items_[i] = items[i + start];
    }
      return Assortment(assortments[index], items_);
  }

  function get_assortments() public view returns(Assortment[] memory) {
      uint256 length = config.assortments_length;
      Assortment[] memory assortments_ = new Assortment[](length);
      for (uint256 i = 0; i < length; i++) {
          assortments_[i] = get_assortment(i);
      }
      return (assortments_);
  }

  function get_coins(address user) external view returns(uint256) {
      return coins[user];
  }

  function get_tokens(uint256 start, uint256 end, address user, bool filter) external view returns(Token[] memory) {
      uint256 length = token_id;
      uint256 balance_count;
      if (end > length) {
          end = length;
      }
      if (filter == true) {
          for (uint256 i = start; i < end; i++) {
              if (ownerOf(i) == user) {
                  balance_count += 1;
              }
          }
      }
      else {
          balance_count = length;
      }

      Token[] memory tokens = new Token[](balance_count);
      balance_count = 0;
      for (uint256 i = start; i < end; i++) {
          if (filter == false || (filter == true && ownerOf(i) == user)) {
              tokens[balance_count] = Token(
                i,
                token_data[i],
                ownerOf(i)
              );
              balance_count += 1;
          }
      }
      return (tokens);
  }

  function get_config() external view returns(Config memory) {
      return config;
  }

  function get_gacha_data(uint256 index) external view returns(Gacha_Data memory) {
      return gacha_data[index];
  }

  function get_gacha_data_all() public view returns(Gacha_Data[] memory) {
      uint256 length = config.gacha_data_length;
      Gacha_Data[] memory gacha_data_ = new Gacha_Data[](length);
      for (uint256 i = 0; i < length; i++) {
          gacha_data_[i] = gacha_data[i];
      }
      return (gacha_data_);
  }

  function get_token_data(uint256 id) external view returns(Token_Data memory) {
      return token_data[id];
  }

}

File 2 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 3 of 14 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor () {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 4 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping (uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping (address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping (uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping (address => mapping (address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor (string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return interfaceId == type(IERC721).interfaceId
            || interfaceId == type(IERC721Metadata).interfaceId
            || super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0
            ? string(abi.encodePacked(baseURI, tokenId.toString()))
            : '';
    }

    /**
     * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(address from, address to, uint256 tokenId) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {
        _mint(to, tokenId);
        require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(address from, address to, uint256 tokenId) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)
        private returns (bool)
    {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    // solhint-disable-next-line no-inline-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }
}

File 5 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
      * @dev Safely transfers `tokenId` token from `from` to `to`.
      *
      * Requirements:
      *
      * - `from` cannot be the zero address.
      * - `to` cannot be the zero address.
      * - `tokenId` token must exist and be owned by `from`.
      * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
      * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
      *
      * Emits a {Transfer} event.
      */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
}

File 6 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);
}

File 7 of 14 : ERC721Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "../../../security/Pausable.sol";

/**
 * @dev ERC721 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC721Pausable is ERC721, Pausable {
    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        require(!paused(), "ERC721Pausable: token transfer while paused");
    }
}

File 8 of 14 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 9 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 10 of 14 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 11 of 14 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 12 of 14 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

File 13 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 14 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 2000
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"uri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"}],"name":"Assortment_Changed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"gacha_data_length","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"items_length","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"assortments_length","type":"uint16"},{"indexed":false,"internalType":"uint72","name":"free_gift","type":"uint72"}],"name":"Config_Changed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"}],"name":"Gacha_Changed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"}],"name":"Item_Changed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint32","name":"image","type":"uint32"},{"indexed":false,"internalType":"uint144","name":"value","type":"uint144"}],"name":"New_Token","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"add_coins","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"rarity","type":"uint256"},{"internalType":"uint32","name":"image","type":"uint32"},{"internalType":"uint256","name":"item_index","type":"uint256"}],"name":"add_gacha_item","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"bonus_gacha","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"random","type":"uint256"}],"name":"gacha","outputs":[{"internalType":"uint32","name":"","type":"uint32"},{"internalType":"uint144","name":"","type":"uint144"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"get_assortment","outputs":[{"components":[{"components":[{"internalType":"uint16","name":"start","type":"uint16"},{"internalType":"uint8","name":"length","type":"uint8"},{"internalType":"uint72","name":"price","type":"uint72"},{"internalType":"bytes20","name":"hash","type":"bytes20"}],"internalType":"struct Gachadass.Assortment_Data","name":"assortment","type":"tuple"},{"components":[{"internalType":"uint32","name":"image","type":"uint32"},{"internalType":"uint144","name":"value","type":"uint144"},{"internalType":"uint72","name":"price","type":"uint72"},{"internalType":"uint8","name":"gacha_id","type":"uint8"}],"internalType":"struct Gachadass.Item[]","name":"items","type":"tuple[]"}],"internalType":"struct Gachadass.Assortment","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"get_assortments","outputs":[{"components":[{"components":[{"internalType":"uint16","name":"start","type":"uint16"},{"internalType":"uint8","name":"length","type":"uint8"},{"internalType":"uint72","name":"price","type":"uint72"},{"internalType":"bytes20","name":"hash","type":"bytes20"}],"internalType":"struct Gachadass.Assortment_Data","name":"assortment","type":"tuple"},{"components":[{"internalType":"uint32","name":"image","type":"uint32"},{"internalType":"uint144","name":"value","type":"uint144"},{"internalType":"uint72","name":"price","type":"uint72"},{"internalType":"uint8","name":"gacha_id","type":"uint8"}],"internalType":"struct Gachadass.Item[]","name":"items","type":"tuple[]"}],"internalType":"struct Gachadass.Assortment[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"get_coins","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"get_config","outputs":[{"components":[{"internalType":"uint16","name":"gacha_data_length","type":"uint16"},{"internalType":"uint16","name":"items_length","type":"uint16"},{"internalType":"uint16","name":"assortments_length","type":"uint16"},{"internalType":"uint72","name":"free_gift","type":"uint72"}],"internalType":"struct Gachadass.Config","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"get_data_all","outputs":[{"components":[{"internalType":"uint16","name":"gacha_data_length","type":"uint16"},{"internalType":"uint16","name":"items_length","type":"uint16"},{"internalType":"uint16","name":"assortments_length","type":"uint16"},{"internalType":"uint72","name":"free_gift","type":"uint72"}],"internalType":"struct Gachadass.Config","name":"","type":"tuple"},{"components":[{"internalType":"uint32","name":"image","type":"uint32"},{"internalType":"uint144","name":"value","type":"uint144"},{"internalType":"uint72","name":"price","type":"uint72"},{"internalType":"uint8","name":"gacha_id","type":"uint8"}],"internalType":"struct Gachadass.Item[]","name":"","type":"tuple[]"},{"components":[{"components":[{"internalType":"uint16","name":"start","type":"uint16"},{"internalType":"uint8","name":"length","type":"uint8"},{"internalType":"uint72","name":"price","type":"uint72"},{"internalType":"bytes20","name":"hash","type":"bytes20"}],"internalType":"struct Gachadass.Assortment_Data","name":"assortment","type":"tuple"},{"components":[{"internalType":"uint32","name":"image","type":"uint32"},{"internalType":"uint144","name":"value","type":"uint144"},{"internalType":"uint72","name":"price","type":"uint72"},{"internalType":"uint8","name":"gacha_id","type":"uint8"}],"internalType":"struct Gachadass.Item[]","name":"items","type":"tuple[]"}],"internalType":"struct Gachadass.Assortment[]","name":"","type":"tuple[]"},{"components":[{"internalType":"uint8[]","name":"rates","type":"uint8[]"},{"internalType":"uint32[]","name":"common_items","type":"uint32[]"},{"internalType":"uint32[]","name":"uncommon_items","type":"uint32[]"},{"internalType":"uint32[]","name":"rare_items","type":"uint32[]"},{"internalType":"uint72","name":"price","type":"uint72"},{"internalType":"bool","name":"released","type":"bool"}],"internalType":"struct Gachadass.Gacha_Data[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"get_gacha_data","outputs":[{"components":[{"internalType":"uint8[]","name":"rates","type":"uint8[]"},{"internalType":"uint32[]","name":"common_items","type":"uint32[]"},{"internalType":"uint32[]","name":"uncommon_items","type":"uint32[]"},{"internalType":"uint32[]","name":"rare_items","type":"uint32[]"},{"internalType":"uint72","name":"price","type":"uint72"},{"internalType":"bool","name":"released","type":"bool"}],"internalType":"struct Gachadass.Gacha_Data","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"get_gacha_data_all","outputs":[{"components":[{"internalType":"uint8[]","name":"rates","type":"uint8[]"},{"internalType":"uint32[]","name":"common_items","type":"uint32[]"},{"internalType":"uint32[]","name":"uncommon_items","type":"uint32[]"},{"internalType":"uint32[]","name":"rare_items","type":"uint32[]"},{"internalType":"uint72","name":"price","type":"uint72"},{"internalType":"bool","name":"released","type":"bool"}],"internalType":"struct Gachadass.Gacha_Data[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"get_item","outputs":[{"components":[{"internalType":"uint32","name":"image","type":"uint32"},{"internalType":"uint144","name":"value","type":"uint144"},{"internalType":"uint72","name":"price","type":"uint72"},{"internalType":"uint8","name":"gacha_id","type":"uint8"}],"internalType":"struct Gachadass.Item","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"get_items","outputs":[{"components":[{"internalType":"uint32","name":"image","type":"uint32"},{"internalType":"uint144","name":"value","type":"uint144"},{"internalType":"uint72","name":"price","type":"uint72"},{"internalType":"uint8","name":"gacha_id","type":"uint8"}],"internalType":"struct Gachadass.Item[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"get_minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"get_token_data","outputs":[{"components":[{"internalType":"uint32","name":"image","type":"uint32"},{"internalType":"uint144","name":"value","type":"uint144"}],"internalType":"struct Gachadass.Token_Data","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"end","type":"uint256"},{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"filter","type":"bool"}],"name":"get_tokens","outputs":[{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"components":[{"internalType":"uint32","name":"image","type":"uint32"},{"internalType":"uint144","name":"value","type":"uint144"}],"internalType":"struct Gachadass.Token_Data","name":"data","type":"tuple"},{"internalType":"address","name":"owner","type":"address"}],"internalType":"struct Gachadass.Token[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint32","name":"image","type":"uint32"},{"internalType":"uint144","name":"v","type":"uint144"}],"name":"mint_by_owner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"sendEtherToOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint16","name":"start","type":"uint16"},{"internalType":"uint8","name":"length","type":"uint8"},{"internalType":"uint72","name":"price","type":"uint72"},{"components":[{"internalType":"uint32","name":"image","type":"uint32"},{"internalType":"uint144","name":"value","type":"uint144"},{"internalType":"uint72","name":"price","type":"uint72"},{"internalType":"uint8","name":"gacha_id","type":"uint8"}],"internalType":"struct Gachadass.Item[]","name":"items_","type":"tuple[]"}],"name":"set_assortment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"set_base_uri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"gacha_data_length","type":"uint16"},{"internalType":"uint16","name":"items_length","type":"uint16"},{"internalType":"uint16","name":"assortments_length","type":"uint16"},{"internalType":"uint72","name":"free_gift","type":"uint72"}],"name":"set_config","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"components":[{"internalType":"uint8[]","name":"rates","type":"uint8[]"},{"internalType":"uint32[]","name":"common_items","type":"uint32[]"},{"internalType":"uint32[]","name":"uncommon_items","type":"uint32[]"},{"internalType":"uint32[]","name":"rare_items","type":"uint32[]"},{"internalType":"uint72","name":"price","type":"uint72"},{"internalType":"bool","name":"released","type":"bool"}],"internalType":"struct Gachadass.Gacha_Data","name":"gacha_data_","type":"tuple"}],"name":"set_gacha_data","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint32","name":"image","type":"uint32"},{"internalType":"uint144","name":"value","type":"uint144"},{"internalType":"uint72","name":"price","type":"uint72"},{"internalType":"uint8","name":"gacha_id","type":"uint8"}],"name":"set_item","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"components":[{"internalType":"uint32","name":"image","type":"uint32"},{"internalType":"uint144","name":"value","type":"uint144"},{"internalType":"uint72","name":"price","type":"uint72"},{"internalType":"uint8","name":"gacha_id","type":"uint8"}],"internalType":"struct Gachadass.Item[]","name":"items_","type":"tuple[]"}],"name":"set_items","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter_","type":"address"}],"name":"set_minter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"bytes32","name":"hash_","type":"bytes32"}],"name":"shop","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint32","name":"img","type":"uint32"},{"internalType":"uint256","name":"v","type":"uint256"}],"name":"shop","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"unrelease","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b5060405162005d2938038062005d29833981016040819052620000349162000229565b8251839083906200004d906000906020850190620000d0565b50805162000063906001906020840190620000d0565b5050600680546001600160a81b0319163361010081029190911790915560405190915081906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508051620000c690600f906020840190620000d0565b5050505062000309565b828054620000de90620002b6565b90600052602060002090601f0160209004810192826200010257600085556200014d565b82601f106200011d57805160ff19168380011785556200014d565b828001600101855582156200014d579182015b828111156200014d57825182559160200191906001019062000130565b506200015b9291506200015f565b5090565b5b808211156200015b576000815560010162000160565b600082601f83011262000187578081fd5b81516001600160401b0380821115620001a457620001a4620002f3565b604051601f8301601f19908116603f01168101908282118183101715620001cf57620001cf620002f3565b81604052838152602092508683858801011115620001eb578485fd5b8491505b838210156200020e5785820183015181830184015290820190620001ef565b838211156200021f57848385830101525b9695505050505050565b6000806000606084860312156200023e578283fd5b83516001600160401b038082111562000255578485fd5b620002638783880162000176565b9450602086015191508082111562000279578384fd5b620002878783880162000176565b935060408601519150808211156200029d578283fd5b50620002ac8682870162000176565b9150509250925092565b600181811c90821680620002cb57607f821691505b60208210811415620002ed57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b615a1080620003196000396000f3fe6080604052600436106102e75760003560e01c8063715018a611610182578063b715c706116100d5578063e985e9c511610084578063f2fde38b11610061578063f2fde38b14610a70578063f56aa97614610a90578063fc29675514610ab057005b8063e985e9c5146109e7578063eba45eac14610a30578063ee123d0114610a5057005b8063d52e162d116100b2578063d52e162d14610954578063d5dcea8514610976578063e8754f62146109a357005b8063b715c706146108f2578063b88d4fde14610914578063c87b56dd1461093457005b806399834e7b11610131578063a726be9a1161010e578063a726be9a14610839578063a844620d146108b2578063af1c5211146108d257005b806399834e7b1461072e5780639ac90d3d146107e3578063a22cb4651461081957005b80638da5cb5b1161015f5780638da5cb5b146106c95780638fb05b2c146106ec57806395d89b411461071957005b8063715018a61461060d5780638456cb59146106225780638a06cb711461063757005b80633a88360c1161023a5780635c975abb116101e957806365ef7750116101c657806365ef7750146105a15780636caf23ed146105bf57806370a08231146105df57005b80635c975abb146105495780635fb99a4f146105615780636352211e1461058157005b806343352ba11161021757806343352ba1146104e757806349c39ec3146105095780635c24816c1461052957005b80633a88360c146104925780633f4ba83a146104b257806342842e0e146104c757005b806321d37fb71161029657806335afad3c1161027357806335afad3c1461042557806337bdc99b146104525780633960444f1461047257005b806321d37fb7146103d257806323b872dd146103f2578063317c9d6e1461041257005b8063095ea7b3116102c4578063095ea7b31461037f5780631652e9fc1461039f5780631ceaebbc146103bf57005b806301ffc9a7146102f057806306fdde0314610325578063081812fc1461034757005b366102ee57005b005b3480156102fc57600080fd5b5061031061030b3660046149cf565b610ad5565b60405190151581526020015b60405180910390f35b34801561033157600080fd5b5061033a610bba565b60405161031c91906151d0565b34801561035357600080fd5b50610367610362366004614ac9565b610c4c565b6040516001600160a01b03909116815260200161031c565b34801561038b57600080fd5b506102ee61039a36600461495e565b610cf7565b3480156103ab57600080fd5b506102ee6103ba3660046147e9565b610e47565b6102ee6103cd366004614bef565b610ed6565b3480156103de57600080fd5b506102ee6103ed366004614d3b565b61125e565b3480156103fe57600080fd5b506102ee61040d366004614835565b611508565b6102ee610420366004614de0565b61158f565b34801561043157600080fd5b50610445610440366004614ac9565b6117b4565b60405161031c91906152c1565b34801561045e57600080fd5b506102ee61046d366004614ac9565b611a42565b34801561047e57600080fd5b506102ee61048d366004614987565b611b0d565b34801561049e57600080fd5b506102ee6104ad366004614ac9565b611b7b565b3480156104be57600080fd5b506102ee611c35565b3480156104d357600080fd5b506102ee6104e2366004614835565b611c9f565b3480156104f357600080fd5b506104fc611cba565b60405161031c919061511f565b34801561051557600080fd5b506102ee610524366004614bef565b611db5565b34801561053557600080fd5b506102ee61054436600461495e565b611fd5565b34801561055557600080fd5b5060065460ff16610310565b34801561056d57600080fd5b506102ee61057c366004614ac9565b612049565b34801561058d57600080fd5b5061036761059c366004614ac9565b6120fd565b3480156105ad57600080fd5b50600d546001600160a01b0316610367565b3480156105cb57600080fd5b506102ee6105da366004614a74565b612188565b3480156105eb57600080fd5b506105ff6105fa3660046147e9565b6122d4565b60405190815260200161031c565b34801561061957600080fd5b506102ee61236e565b34801561062e57600080fd5b506102ee612435565b34801561064357600080fd5b506106bc6040805160808101825260008082526020820181905291810182905260608101919091525060408051608081018252600c5461ffff80821683526201000082048116602084015264010000000082041692820192909252660100000000000090910468ffffffffffffffffff16606082015290565b60405161031c91906151f6565b3480156106d557600080fd5b5060065461010090046001600160a01b0316610367565b3480156106f857600080fd5b5061070c610707366004614ac9565b61249d565b60405161031c91906151e3565b34801561072557600080fd5b5061033a6126b9565b34801561073a57600080fd5b506107d6610749366004614ac9565b604080516080810182526000808252602082018190529181018290526060810191909152506000908152600960209081526040918290208251608081018452905463ffffffff8116825264010000000081046001600160901b031692820192909252600160b01b820468ffffffffffffffffff1692810192909252600160f81b900460ff16606082015290565b60405161031c91906152d4565b3480156107ef57600080fd5b506105ff6107fe3660046147e9565b6001600160a01b03166000908152600b602052604090205490565b34801561082557600080fd5b506102ee610834366004614928565b6126c8565b34801561084557600080fd5b506108a5610854366004614ac9565b60408051808201909152600080825260208201525060009081526007602090815260409182902082518084019093525463ffffffff8116835264010000000090046001600160901b03169082015290565b60405161031c919061531c565b3480156108be57600080fd5b506102ee6108cd366004614d79565b61278d565b3480156108de57600080fd5b506102ee6108ed366004614a07565b612912565b3480156108fe57600080fd5b50610907612961565b60405161031c9190615145565b34801561092057600080fd5b506102ee61092f366004614870565b612a9f565b34801561094057600080fd5b5061033a61094f366004614ac9565b612b2d565b34801561096057600080fd5b50610969612c16565b60405161031c9190615132565b34801561098257600080fd5b50610996610991366004614cff565b612f50565b60405161031c9190615158565b3480156109af57600080fd5b506109c36109be366004614bef565b613128565b6040805163ffffffff90931683526001600160901b0390911660208301520161031c565b3480156109f357600080fd5b50610310610a02366004614803565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610a3c57600080fd5b506102ee610a4b366004614c50565b613239565b348015610a5c57600080fd5b506102ee610a6b366004614c10565b613436565b348015610a7c57600080fd5b506102ee610a8b3660046147e9565b6134e9565b348015610a9c57600080fd5b506102ee610aab366004614ae1565b613643565b348015610abc57600080fd5b50610ac56137fc565b60405161031c949392919061523a565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480610b6857507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610bb457507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b606060008054610bc9906155b3565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf5906155b3565b8015610c425780601f10610c1757610100808354040283529160200191610c42565b820191906000526020600020905b815481529060010190602001808311610c2557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610cdb5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610d02826120fd565b9050806001600160a01b0316836001600160a01b03161415610d8c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610cd2565b336001600160a01b0382161480610dc657506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b610e385760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610cd2565b610e428383613898565b505050565b6006546001600160a01b03610100909104163314610ea75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b600d805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60065460ff1615610f295760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610cd2565b600c54640100000000900461ffff168210610f4357600080fd5b6000828152600a602090815260408083205461ffff8116808552600990935290832054919260ff62010000830481169368ffffffffffffffffff6301000000850416936c01000000000000000000000000900460601b92918291607f600160f81b9091049091161115610fb4575060015b60008468ffffffffffffffffff1611610fcc57600080fd5b60008560ff1611610fdc57600080fd5b6bffffffffffffffffffffffff1983168714610ff757600080fd5b801561102957336000908152600b602052604090205468ffffffffffffffffff8516111561102457600080fd5b611040565b348468ffffffffffffffffff161461104057600080fd5b60005b8560ff16811015611100576110c481600e5461105f9190615402565b336009600061107261ffff8d1687615402565b8152602081019190915260400160009081205463ffffffff169060099061109d61ffff8e1688615402565b815260208101919091526040016000205464010000000090046001600160901b0316613913565b6110da6110d561ffff891683615402565b6139d3565b80156110e4575082155b156110ee57600192505b806110f8816155ee565b915050611043565b508460ff16600e60008282546111169190615402565b9091555050801561115657336000908152600b60205260408120805468ffffffffffffffffff8716929061114b90849061544d565b909155506111ba9050565b600c546601000000000000900468ffffffffffffffffff16156111ba57600c54611195906601000000000000900468ffffffffffffffffff163461541a565b336000908152600b6020526040812080549091906111b4908490615402565b90915550505b81156111d4576000888152600a6020526040812055611221565b6111e58661ffff168660ff16613cd6565b6000898152600a60205260409020805460609290921c6c01000000000000000000000000026bffffffffffffffffffffffff9092169190911790555b6040518881527fa3d688e471dd1dd05e213bdfe93aa7dac4ac8ee1bd52097243238d3e1ca52ee09060200160405180910390a15050505050505050565b6006546001600160a01b036101009091041633146112be5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b826113955760008481526008602052604090206003015481101561134857600084815260086020526040902060030180548391908390811061131057634e487b7160e01b600052603260045260246000fd5b90600052602060002090600891828204019190066004026101000a81548163ffffffff021916908363ffffffff1602179055506114ce565b600084815260086020818152604083206003018054600181018255908452922090820401805460079092166004026101000a63ffffffff81810219909316928516029190911790556114ce565b8260011415611438576000848152600860205260409020600201548110156113eb57600084815260086020526040902060020180548391908390811061131057634e487b7160e01b600052603260045260246000fd5b600084815260086020818152604083206002018054600181018255908452922090820401805460079092166004026101000a63ffffffff81810219909316928516029190911790556114ce565b60008481526008602052604090206001015481101561148557600084815260086020526040902060010180548391908390811061131057634e487b7160e01b600052603260045260246000fd5b600084815260086020818152604083206001908101805491820181558452922090820401805460079092166004026101000a63ffffffff81810219909316928516029190911790555b6040518481527ff3652738e4ff5fe4a71f97e99dd186d6f783c1572266df85e839625360da0222906020015b60405180910390a150505050565b6115123382613d66565b6115845760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610cd2565b610e42838383613e6a565b60065460ff16156115e25760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610cd2565b600c5462010000900461ffff1683106115fa57600080fd5b60008381526009602052604081205463ffffffff81169164010000000082046001600160901b031691600160b01b810468ffffffffffffffffff169190607f600160f81b90910460ff16111561164e575060015b60008268ffffffffffffffffff161161166657600080fd5b84836001600160901b03161461167b57600080fd5b8563ffffffff168463ffffffff161461169357600080fd5b80156116c557336000908152600b602052604090205468ffffffffffffffffff831611156116c057600080fd5b6116dc565b348268ffffffffffffffffff16146116dc57600080fd5b6116ea600e54338686613913565b6001600e60008282546116fd9190615402565b9091555050801561173d57336000908152600b60205260408120805468ffffffffffffffffff8516929061173290849061544d565b909155506117a19050565b600c546601000000000000900468ffffffffffffffffff16156117a157600c5461177c906601000000000000900468ffffffffffffffffff163461541a565b336000908152600b60205260408120805490919061179b908490615402565b90915550505b6117aa876139d3565b5050505050505050565b6117fa6040518060c0016040528060608152602001606081526020016060815260200160608152602001600068ffffffffffffffffff1681526020016000151581525090565b6000828152600860209081526040918290208251815460e09381028201840190945260c08101848152909391928492849184018282801561187857602002820191906000526020600020906000905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116118495790505b50505050508152602001600182018054806020026020016040519081016040528092919081815260200182805480156118fc57602002820191906000526020600020906000905b82829054906101000a900463ffffffff1663ffffffff16815260200190600401906020826003010492830192600103820291508084116118bf5790505b505050505081526020016002820180548060200260200160405190810160405280929190818152602001828054801561198057602002820191906000526020600020906000905b82829054906101000a900463ffffffff1663ffffffff16815260200190600401906020826003010492830192600103820291508084116119435790505b5050505050815260200160038201805480602002602001604051908101604052809291908181526020018280548015611a0457602002820191906000526020600020906000905b82829054906101000a900463ffffffff1663ffffffff16815260200190600401906020826003010492830192600103820291508084116119c75790505b50505091835250506004919091015468ffffffffffffffffff811660208301526901000000000000000000900460ff16151560409091015292915050565b6006546001600160a01b03610100909104163314611aa25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b60008181526008602052604090819020600401805469ff00000000000000000019166901000000000000000000179055517ff3652738e4ff5fe4a71f97e99dd186d6f783c1572266df85e839625360da022290611b029083815260200190565b60405180910390a150565b60065461010090046001600160a01b03166001600160a01b0316336001600160a01b03161480611b475750600d546001600160a01b031633145b611b5057600080fd5b611b5e600e54848484613913565b6001600e6000828254611b719190615402565b9091555050505050565b6006546001600160a01b03610100909104163314611bdb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b80471015611be857600080fd5b60065461010090046001600160a01b03166001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015611c31573d6000803e3d6000fd5b5050565b6006546001600160a01b03610100909104163314611c955760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b611c9d61404f565b565b610e4283838360405180602001604052806000815250612a9f565b600c54606090640100000000900461ffff1660008167ffffffffffffffff811115611cf557634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611d5957816020015b6040805160c081018252600091810182815260608083018490526080830184905260a083019390935281526020810191909152815260200190600190039081611d135790505b50905060005b82811015611dae57611d708161249d565b828281518110611d9057634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080611da6906155ee565b915050611d5f565b5092915050565b60065460ff1615611e085760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610cd2565b6000828152600860205260409020600401546901000000000000000000900460ff161515600114611e3857600080fd5b600c5461ffff168210611e4a57600080fd5b60008281526008602052604090206004015468ffffffffffffffffff16611e7057600080fd5b60008111611e7d57600080fd5b600082815260086020526040902060040154611ea590829068ffffffffffffffffff1661542e565b336000908152600b60205260409020541015611ec057600080fd5b600e546000908190815b84811015611f68577ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe828201908101600090815260076020526040808220546000199093018252902054611f3c918891640100000000908190046001600160901b039081169190920482160116613128565b9094509250611f56611f4e8284615402565b338686613913565b80611f60816155ee565b915050611eca565b50600085815260086020526040902060040154611f9190859068ffffffffffffffffff1661542e565b336000908152600b602052604081208054909190611fb090849061544d565b9250508190555083600e6000828254611fc99190615402565b90915550505050505050565b60065461010090046001600160a01b03166001600160a01b0316336001600160a01b0316148061200f5750600d546001600160a01b031633145b61201857600080fd5b6001600160a01b0382166000908152600b602052604081208054839290612040908490615402565b90915550505050565b6006546001600160a01b036101009091041633146120a95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b60008181526008602052604090819020600401805469ff00000000000000000019169055517ff3652738e4ff5fe4a71f97e99dd186d6f783c1572266df85e839625360da022290611b029083815260200190565b6000818152600260205260408120546001600160a01b031680610bb45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610cd2565b6006546001600160a01b036101009091041633146121e85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b604080516080808201835261ffff878116808452878216602080860182905292881685870181905268ffffffffffffffffff88166060968701819052600c805463ffffffff19168517620100008502177fffffffffffffffffffffffffffffffffff0000000000000000000000ffffffff1664010000000084027fffffffffffffffffffffffffffffffffff000000000000000000ffffffffffff16176601000000000000830217905587519384529383019190915294810194909452918301919091527ff455f8ad3ef3c6649e698645af4445978ad25f511581f23738833bfac376e88591016114fa565b60006001600160a01b0382166123525760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610cd2565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b036101009091041633146123ce5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b60065460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680547fffffffffffffffffffffff0000000000000000000000000000000000000000ff169055565b6006546001600160a01b036101009091041633146124955760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b611c9d6140eb565b6040805160c081018252600091810182815260608083018490526080830184905260a0830193909352815260208101919091526000828152600a602052604081205461ffff8116916201000090910460ff16908167ffffffffffffffff81111561251757634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561256957816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816125355790505b50905060005b8260ff16811015612633576009600061258c61ffff871684615402565b815260208082019290925260409081016000208151608081018352905463ffffffff8116825264010000000081046001600160901b031693820193909352600160b01b830468ffffffffffffffffff1691810191909152600160f81b90910460ff166060820152825183908390811061261557634e487b7160e01b600052603260045260246000fd5b6020026020010181905250808061262b906155ee565b91505061256f565b50604080516000968752600a60209081529682902060c0820183525461ffff811692820192835260ff6201000082041660608084019190915268ffffffffffffffffff630100000083041660808401526bffffffffffffffffffffffff196c01000000000000000000000000909204901b1660a082015290815294850152509192915050565b606060018054610bc9906155b3565b6001600160a01b0382163314156127215760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610cd2565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6006546001600160a01b036101009091041633146127ed5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b6040805160808101825263ffffffff80871682526001600160901b03808716602080850191825268ffffffffffffffffff80891686880190815260ff808a166060890190815260008f815260099095529389902097518854955192519451909116600160f81b027effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff94909316600160b01b029390931675ffffffffffffffffffffffffffffffffffffffffffff919095166401000000000275ffffffffffffffffffffffffffffffffffffffffffff199094169290951691909117919091179290921617179055517f4d0d2af1513ef41402b747f83791c6182ed16724dc1b6b1843f9c6d9cc509b2f906129039087815260200190565b60405180910390a15050505050565b60065461010090046001600160a01b03166001600160a01b0316336001600160a01b0316148061294c5750600d546001600160a01b031633145b61295557600080fd5b610e42600f83836146d7565b600c5460609062010000900461ffff1660008167ffffffffffffffff81111561299a57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156129ec57816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816129b85790505b50905060005b82811015611dae576000818152600960209081526040918290208251608081018452905463ffffffff8116825264010000000081046001600160901b031692820192909252600160b01b820468ffffffffffffffffff1692810192909252600160f81b900460ff1660608201528251839083908110612a8157634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080612a97906155ee565b9150506129f2565b612aa93383613d66565b612b1b5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610cd2565b612b2784848484614173565b50505050565b6000818152600260205260409020546060906001600160a01b0316612bba5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610cd2565b6000612bc46141fc565b90506000815111612be45760405180602001604052806000815250612c0f565b80612bee8461420b565b604051602001612bff9291906150be565b6040516020818303038152906040525b9392505050565b600c5460609061ffff1660008167ffffffffffffffff811115612c4957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015612cc057816020015b612cad6040518060c0016040528060608152602001606081526020016060815260200160608152602001600068ffffffffffffffffff1681526020016000151581525090565b815260200190600190039081612c675790505b50905060005b82811015611dae576000818152600860209081526040918290208251815460e09381028201840190945260c081018481529093919284928491840182828015612d4c57602002820191906000526020600020906000905b825461010083900a900460ff16815260206001928301818104948501949093039092029101808411612d1d5790505b5050505050815260200160018201805480602002602001604051908101604052809291908181526020018280548015612dd057602002820191906000526020600020906000905b82829054906101000a900463ffffffff1663ffffffff1681526020019060040190602082600301049283019260010382029150808411612d935790505b5050505050815260200160028201805480602002602001604051908101604052809291908181526020018280548015612e5457602002820191906000526020600020906000905b82829054906101000a900463ffffffff1663ffffffff1681526020019060040190602082600301049283019260010382029150808411612e175790505b5050505050815260200160038201805480602002602001604051908101604052809291908181526020018280548015612ed857602002820191906000526020600020906000905b82829054906101000a900463ffffffff1663ffffffff1681526020019060040190602082600301049283019260010382029150808411612e9b5790505b50505091835250506004919091015468ffffffffffffffffff811660208301526901000000000000000000900460ff1615156040909101528251839083908110612f3257634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080612f48906155ee565b915050612cc6565b600e54606090600081861115612f64578195505b60018415151415612fc157865b86811015612fbb57856001600160a01b0316612f8c826120fd565b6001600160a01b03161415612fa957612fa6600183615402565b91505b80612fb3816155ee565b915050612f71565b50612fc4565b50805b60008167ffffffffffffffff811115612fed57634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561302657816020015b61301361475b565b81526020019060019003908161300b5790505b50600092509050875b8781101561311a5785158061306a5750600186151514801561306a5750866001600160a01b031661305f826120fd565b6001600160a01b0316145b1561310857604080516060810182528281526000838152600760209081529083902083518085018552905463ffffffff8116825264010000000090046001600160901b031681830152908201529081016130c3836120fd565b6001600160a01b03168152508284815181106130ef57634e487b7160e01b600052603260045260246000fd5b6020908102919091010152613105600184615402565b92505b80613112816155ee565b91505061302f565b50925050505b949350505050565b600080607f8411156131425761313f60808561544d565b93505b60408051848152426020808301918252448385019081526060842089855260088452948420808552835291205490819052600092919060ff908116601e84901a6063029190910410600181146131cd576040820151601e1a60ff606385601e1a020410600181146131bc57600183510160608401526131c7565b600283510160608401525b506131d8565b600382510160608301525b50606081015154608082015260ff600160808301510383601d1a020460a0820152600860a08201510460206060830120015460c082015263ffffffff600860a08301510660040260c0830103511692505081819350935050505b9250929050565b6006546001600160a01b036101009091041633146132995760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b60005b8181101561330d578282828181106132c457634e487b7160e01b600052603260045260246000fd5b90506080020160096000838961ffff166132de9190615402565b815260200190815260200160002081816132f89190615858565b50819050613305816155ee565b91505061329c565b5060405180608001604052808661ffff1681526020018560ff1681526020018468ffffffffffffffffff16815260200161334e8761ffff168760ff16613cd6565b6bffffffffffffffffffffffff191690526000878152600a602090815260409182902083518154858401518686015160609788015190971c6c010000000000000000000000000268ffffffffffffffffff9097166301000000026bffffffffffffffffffffffff1662ffffff60ff90921662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000090931661ffff9094169390931791909117161793909317909255518781527fa3d688e471dd1dd05e213bdfe93aa7dac4ac8ee1bd52097243238d3e1ca52ee0910160405180910390a1505050505050565b6006546001600160a01b036101009091041633146134965760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b600082815260086020526040902081906134b08282615693565b50506040518281527ff3652738e4ff5fe4a71f97e99dd186d6f783c1572266df85e839625360da02229060200160405180910390a15050565b6006546001600160a01b036101009091041633146135495760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b6001600160a01b0381166135c55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610cd2565b6006546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b03909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b6006546001600160a01b036101009091041633146136a35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b60005b8151811015610e42578181815181106136cf57634e487b7160e01b600052603260045260246000fd5b60200260200101516009600083866136e79190615402565b8152602080820192909252604090810160002083518154938501519285015160609095015160ff16600160f81b027effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff68ffffffffffffffffff909616600160b01b029590951675ffffffffffffffffffffffffffffffffffffffffffff6001600160901b039094166401000000000275ffffffffffffffffffffffffffffffffffffffffffff1990951663ffffffff909216919091179390931791909116919091179190911790557f4d0d2af1513ef41402b747f83791c6182ed16724dc1b6b1843f9c6d9cc509b2f6137d98285615402565b60405190815260200160405180910390a1806137f4816155ee565b9150506136a6565b6040805160808101825260008082526020820181905291810182905260608101919091526060806060600c61382f612961565b613837611cba565b61383f612c16565b60408051608081018252945461ffff808216875262010000820481166020880152640100000000820416918601919091526601000000000000900468ffffffffffffffffff166060850152929791965094509092509050565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03841690811790915581906138da826120fd565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008263ffffffff161161392657600080fd5b6139308385614359565b60408051808201825263ffffffff8481168083526001600160901b03858116602080860182815260008c815260078352889020965187549151961675ffffffffffffffffffffffffffffffffffffffffffff1990911617640100000000959093169490940291909117909355835188815291820152918201527f23f3270606bd165c0d4a4b03726c6d479a84f286269bfd5326a5245f135100ce906060016114fa565b60008181526009602052604081205463ffffffff81169064010000000081046001600160901b031690600160b01b810468ffffffffffffffffff1690600160f81b900460ff1684607f821480613a2c57508160ff1660ff145b15613ac9576040516dffffffffffffffffffffffffffff19607086901b16602082015242603282015244605282015260009060720160408051601f19818403018152918152815160209283012060008b81526009909352912080546001600160901b03909216640100000000027fffffffffffffffffffff000000000000000000000000000000000000ffffffff90921691909117905550613c84565b607f8260ff16118015613b10575060086000613ae6608085615464565b60ff16815260200190815260200160002060040160099054906101000a900460ff16151560011515145b80613b4f575060808260ff16108015613b4f575060ff828116600090815260086020526040902060040154690100000000000000000090041615156001145b15613c7157613b6a8260ff16856001600160901b0316613128565b809550819650505060405180608001604052808663ffffffff168152602001856001600160901b031681526020018468ffffffffffffffffff1681526020018360ff168152506009600089815260200190815260200160002060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a8154816001600160901b0302191690836001600160901b0316021790555060408201518160000160166101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff160217905550606082015181600001601f6101000a81548160ff021916908360ff160217905550905050613c84565b5060008681526009602052604081205560015b600c5462010000900461ffff16871015613ccc576040518781527f4d0d2af1513ef41402b747f83791c6182ed16724dc1b6b1843f9c6d9cc509b2f9060200160405180910390a15b9695505050505050565b60008080613ce48585615402565b9050845b81811015613d5c57600081815260096020908152604091829020548251918201869052640100000000900460701b6dffffffffffffffffffffffffffff1916918101919091526052016040516020818303038152906040528051906020012092508080613d54906155ee565b915050613ce8565b5090949350505050565b6000818152600260205260408120546001600160a01b0316613df05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610cd2565b6000613dfb836120fd565b9050806001600160a01b0316846001600160a01b03161480613e365750836001600160a01b0316613e2b84610c4c565b6001600160a01b0316145b8061312057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16613120565b826001600160a01b0316613e7d826120fd565b6001600160a01b031614613ef95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610cd2565b6001600160a01b038216613f745760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610cd2565b613f7f8383836144b4565b613f8a600082613898565b6001600160a01b0383166000908152600360205260408120805460019290613fb390849061544d565b90915550506001600160a01b0382166000908152600360205260408120805460019290613fe1908490615402565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60065460ff166140a15760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610cd2565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60065460ff161561413e5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610cd2565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586140ce3390565b61417e848484613e6a565b61418a8484848461452d565b612b275760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610cd2565b6060600f8054610bc9906155b3565b60608161424b57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115614275578061425f816155ee565b915061426e9050600a8361541a565b915061424f565b60008167ffffffffffffffff81111561429e57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156142c8576020820181803683370190505b5090505b8415613120576142dd60018361544d565b91506142ea600a86615609565b6142f5906030615402565b60f81b81838151811061431857634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350614352600a8661541a565b94506142cc565b6001600160a01b0382166143af5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610cd2565b6000818152600260205260409020546001600160a01b0316156144145760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610cd2565b614420600083836144b4565b6001600160a01b0382166000908152600360205260408120805460019290614449908490615402565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60065460ff1615610e425760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201527f68696c65207061757365640000000000000000000000000000000000000000006064820152608401610cd2565b60006001600160a01b0384163b156146cf576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a029061458a9033908990889088906004016150ed565b602060405180830381600087803b1580156145a457600080fd5b505af19250505080156145d4575060408051601f3d908101601f191682019092526145d1918101906149eb565b60015b614684573d808015614602576040519150601f19603f3d011682016040523d82523d6000602084013e614607565b606091505b50805161467c5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610cd2565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050613120565b506001613120565b8280546146e3906155b3565b90600052602060002090601f016020900481019282614705576000855561474b565b82601f1061471e5782800160ff1982351617855561474b565b8280016001018555821561474b579182015b8281111561474b578235825591602001919060010190614730565b506147579291506147a6565b5090565b6040518060600160405280600081526020016147996040518060400160405280600063ffffffff16815260200160006001600160901b031681525090565b8152600060209091015290565b5b8082111561475757600081556001016147a7565b80356001600160a01b03811681146147d257600080fd5b919050565b803561ffff811681146147d257600080fd5b6000602082840312156147fa578081fd5b612c0f826147bb565b60008060408385031215614815578081fd5b61481e836147bb565b915061482c602084016147bb565b90509250929050565b600080600060608486031215614849578081fd5b614852846147bb565b9250614860602085016147bb565b9150604084013590509250925092565b60008060008060808587031215614885578081fd5b61488e856147bb565b9350602061489d8187016147bb565b935060408601359250606086013567ffffffffffffffff808211156148c0578384fd5b818801915088601f8301126148d3578384fd5b8135818111156148e5576148e5615649565b6148f784601f19601f840116016153d1565b9150808252898482850101111561490c578485fd5b8084840185840137810190920192909252939692955090935050565b6000806040838503121561493a578182fd5b614943836147bb565b915060208301356149538161594e565b809150509250929050565b60008060408385031215614970578182fd5b614979836147bb565b946020939093013593505050565b60008060006060848603121561499b578081fd5b6149a4846147bb565b925060208401356149b4816159a2565b915060408401356149c48161598d565b809150509250925092565b6000602082840312156149e0578081fd5b8135612c0f8161595f565b6000602082840312156149fc578081fd5b8151612c0f8161595f565b60008060208385031215614a19578182fd5b823567ffffffffffffffff80821115614a30578384fd5b818501915085601f830112614a43578384fd5b813581811115614a51578485fd5b866020828501011115614a62578485fd5b60209290920196919550909350505050565b60008060008060808587031215614a89578182fd5b614a92856147d7565b9350614aa0602086016147d7565b9250614aae604086016147d7565b91506060850135614abe816159b4565b939692955090935050565b600060208284031215614ada578081fd5b5035919050565b6000806040808486031215614af4578283fd5b8335925060208085013567ffffffffffffffff80821115614b13578485fd5b818701915087601f830112614b26578485fd5b813581811115614b3857614b38615649565b614b46848260051b016153d1565b8181528481019250838501600783901b850186018b1015614b65578788fd5b8794505b82851015614bde57608080828d031215614b81578889fd5b614b896153a8565b8235614b94816159a2565b815282880135614ba38161598d565b8189015282890135614bb4816159b4565b818a0152606083810135614bc7816159cb565b908201528552600195909501949386019301614b69565b508096505050505050509250929050565b60008060408385031215614c01578182fd5b50508035926020909101359150565b60008060408385031215614c22578182fd5b82359150602083013567ffffffffffffffff811115614c3f578182fd5b830160c08186031215614953578182fd5b60008060008060008060a08789031215614c68578384fd5b86359550614c78602088016147d7565b94506040870135614c88816159cb565b93506060870135614c98816159b4565b9250608087013567ffffffffffffffff80821115614cb4578384fd5b818901915089601f830112614cc7578384fd5b813581811115614cd5578485fd5b8a60208260071b8501011115614ce9578485fd5b6020830194508093505050509295509295509295565b60008060008060808587031215614d14578182fd5b8435935060208501359250614d2b604086016147bb565b91506060850135614abe8161594e565b60008060008060808587031215614d50578182fd5b84359350602085013592506040850135614d69816159a2565b9396929550929360600135925050565b600080600080600060a08688031215614d90578283fd5b853594506020860135614da2816159a2565b93506040860135614db28161598d565b92506060860135614dc2816159b4565b91506080860135614dd2816159cb565b809150509295509295909350565b600080600060608486031215614df4578081fd5b833592506020840135614e06816159a2565b929592945050506040919091013590565b600081518084526020808501808196508360051b81019150828601855b85811015614e5e578284038952614e4c848351614f95565b98850198935090840190600101614e34565b5091979650505050505050565b600081518084526020808501808196508360051b81019150828601855b85811015614e5e578284038952614ea0848351614ff6565b98850198935090840190600101614e88565b6000815180845260208085019450808401835b83811015614f2957614f1687835163ffffffff81511682526001600160901b03602082015116602083015268ffffffffffffffffff604082015116604083015260ff60608201511660608301525050565b6080969096019590820190600101614ec5565b509495945050505050565b6000815180845260208085019450808401835b83811015614f2957815163ffffffff1687529582019590820190600101614f47565b60008151808452614f81816020860160208601615587565b601f01601f19169290920160200192915050565b6000815161ffff815116845260ff602082015116602085015268ffffffffffffffffff60408201511660408501526bffffffffffffffffffffffff19606082015116606085015250602082015160a0608085015261312060a0850182614eb2565b805160c080845281519084018190526000916020919082019060e0860190845b8181101561503557835160ff1683529284019291840191600101615016565b50508285015191508581038387015261504e8183614f34565b92505050604083015184820360408601526150698282614f34565b915050606083015184820360608601526150838282614f34565b91505060808301516150a2608086018268ffffffffffffffffff169052565b5060a08301516150b660a086018215159052565b509392505050565b600083516150d0818460208801615587565b8351908301906150e4818360208801615587565b01949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152613ccc6080830184614f69565b602081526000612c0f6020830184614e17565b602081526000612c0f6020830184614e6b565b602081526000612c0f6020830184614eb2565b602080825282518282018190526000919060409081850190868401855b82811015614e5e57815180518552868101516151ac88870182805163ffffffff1682526020908101516001600160901b0316910152565b508501516001600160a01b0316606085015260809093019290850190600101615175565b602081526000612c0f6020830184614f69565b602081526000612c0f6020830184614f95565b60808101610bb4828461ffff8082511683528060208301511660208401528060408301511660408401525068ffffffffffffffffff60608201511660608301525050565b61527a818661ffff8082511683528060208301511660208401528060408301511660408401525068ffffffffffffffffff60608201511660608301525050565b60e06080820152600061529060e0830186614eb2565b82810360a08401526152a28186614e17565b905082810360c08401526152b68185614e6b565b979650505050505050565b602081526000612c0f6020830184614ff6565b815163ffffffff1681526020808301516001600160901b03169082015260408083015168ffffffffffffffffff169082015260608083015160ff169082015260808101610bb4565b815163ffffffff1681526020808301516001600160901b03169082015260408101610bb4565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112615376578283fd5b83018035915067ffffffffffffffff821115615390578283fd5b6020019150600581901b360382131561323257600080fd5b6040516080810167ffffffffffffffff811182821017156153cb576153cb615649565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156153fa576153fa615649565b604052919050565b600082198211156154155761541561561d565b500190565b60008261542957615429615633565b500490565b60008160001904831182151516156154485761544861561d565b500290565b60008282101561545f5761545f61561d565b500390565b600060ff821660ff84168082101561547e5761547e61561d565b90039392505050565b5b81811015611c315760008155600101615488565b680100000000000000008311156154b5576154b5615649565b805483825580841015615514578160005260206000206007850160031c8101601c8660021b1680156154fe576154fe81600019840180546000198360200360031b1c1681555050565b506155116007840160031c830182615487565b50505b506000818152602081208391805b8681101561557e576155566155368561566c565b845463ffffffff600386901b81811b801990931693909116901b16178455565b602084019350600482019150601c82111561557657600091506001830192505b600101615522565b50505050505050565b60005b838110156155a257818101518382015260200161558a565b83811115612b275750506000910152565b600181811c908216806155c757607f821691505b602082108114156155e857634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156156025761560261561d565b5060010190565b60008261561857615618615633565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60008135610bb48161594e565b60008135610bb4816159a2565b60008135610bb4816159b4565b60008135610bb4816159cb565b61569d8283615342565b680100000000000000008111156156b6576156b6615649565b82548184558082101561571257836000526020600020601f830160051c8101601f841680156156fc576156fc81600019840180546000198360200360031b1c1681555050565b5061570f601f840160051c830182615487565b50505b506000838152602090206000805b838110156157795761575161573486615686565b845460ff600386901b81811b801990931693909116901b16178455565b60208501945060018083019250601f8311156157705792830192600092505b50600101615720565b505050505061578b6020830183615342565b61579981836001860161549c565b50506157a86040830183615342565b6157b681836002860161549c565b50506157c56060830183615342565b6157d381836003860161549c565b50506004810161581f6157e860808501615679565b82547fffffffffffffffffffffffffffffffffffffffffffffff0000000000000000001668ffffffffffffffffff91909116178255565b610e4261582e60a0850161565f565b82805469ff000000000000000000191691151560481b69ff00000000000000000016919091179055565b8135615863816159a2565b63ffffffff8116905081548163ffffffff19821617835560208401356158888161598d565b75ffffffffffffffffffffffffffffffffffff000000008160201b169050808375ffffffffffffffffffffffffffffffffffffffffffff1984161717845560408501356158d4816159b4565b7effffffffffffffffff000000000000000000000000000000000000000000008160b01b1690507fff00000000000000000000000000000000000000000000000000000000000000818582861617841717865560608701359350615937846159cb565b808460f81b16858417831717865550505050505050565b801515811461595c57600080fd5b50565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461595c57600080fd5b6001600160901b038116811461595c57600080fd5b63ffffffff8116811461595c57600080fd5b68ffffffffffffffffff8116811461595c57600080fd5b60ff8116811461595c57600080fdfea26469706673582212207cff9ae569cc176b664ea320b11d99de838a91816657466f8da0ecec5da9ebdc64736f6c63430008040033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000009476163686164617373000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054741434841000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002568747470733a2f2f7777772e6761636861646173732e636f6d2f6d657461646174612f322f000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102e75760003560e01c8063715018a611610182578063b715c706116100d5578063e985e9c511610084578063f2fde38b11610061578063f2fde38b14610a70578063f56aa97614610a90578063fc29675514610ab057005b8063e985e9c5146109e7578063eba45eac14610a30578063ee123d0114610a5057005b8063d52e162d116100b2578063d52e162d14610954578063d5dcea8514610976578063e8754f62146109a357005b8063b715c706146108f2578063b88d4fde14610914578063c87b56dd1461093457005b806399834e7b11610131578063a726be9a1161010e578063a726be9a14610839578063a844620d146108b2578063af1c5211146108d257005b806399834e7b1461072e5780639ac90d3d146107e3578063a22cb4651461081957005b80638da5cb5b1161015f5780638da5cb5b146106c95780638fb05b2c146106ec57806395d89b411461071957005b8063715018a61461060d5780638456cb59146106225780638a06cb711461063757005b80633a88360c1161023a5780635c975abb116101e957806365ef7750116101c657806365ef7750146105a15780636caf23ed146105bf57806370a08231146105df57005b80635c975abb146105495780635fb99a4f146105615780636352211e1461058157005b806343352ba11161021757806343352ba1146104e757806349c39ec3146105095780635c24816c1461052957005b80633a88360c146104925780633f4ba83a146104b257806342842e0e146104c757005b806321d37fb71161029657806335afad3c1161027357806335afad3c1461042557806337bdc99b146104525780633960444f1461047257005b806321d37fb7146103d257806323b872dd146103f2578063317c9d6e1461041257005b8063095ea7b3116102c4578063095ea7b31461037f5780631652e9fc1461039f5780631ceaebbc146103bf57005b806301ffc9a7146102f057806306fdde0314610325578063081812fc1461034757005b366102ee57005b005b3480156102fc57600080fd5b5061031061030b3660046149cf565b610ad5565b60405190151581526020015b60405180910390f35b34801561033157600080fd5b5061033a610bba565b60405161031c91906151d0565b34801561035357600080fd5b50610367610362366004614ac9565b610c4c565b6040516001600160a01b03909116815260200161031c565b34801561038b57600080fd5b506102ee61039a36600461495e565b610cf7565b3480156103ab57600080fd5b506102ee6103ba3660046147e9565b610e47565b6102ee6103cd366004614bef565b610ed6565b3480156103de57600080fd5b506102ee6103ed366004614d3b565b61125e565b3480156103fe57600080fd5b506102ee61040d366004614835565b611508565b6102ee610420366004614de0565b61158f565b34801561043157600080fd5b50610445610440366004614ac9565b6117b4565b60405161031c91906152c1565b34801561045e57600080fd5b506102ee61046d366004614ac9565b611a42565b34801561047e57600080fd5b506102ee61048d366004614987565b611b0d565b34801561049e57600080fd5b506102ee6104ad366004614ac9565b611b7b565b3480156104be57600080fd5b506102ee611c35565b3480156104d357600080fd5b506102ee6104e2366004614835565b611c9f565b3480156104f357600080fd5b506104fc611cba565b60405161031c919061511f565b34801561051557600080fd5b506102ee610524366004614bef565b611db5565b34801561053557600080fd5b506102ee61054436600461495e565b611fd5565b34801561055557600080fd5b5060065460ff16610310565b34801561056d57600080fd5b506102ee61057c366004614ac9565b612049565b34801561058d57600080fd5b5061036761059c366004614ac9565b6120fd565b3480156105ad57600080fd5b50600d546001600160a01b0316610367565b3480156105cb57600080fd5b506102ee6105da366004614a74565b612188565b3480156105eb57600080fd5b506105ff6105fa3660046147e9565b6122d4565b60405190815260200161031c565b34801561061957600080fd5b506102ee61236e565b34801561062e57600080fd5b506102ee612435565b34801561064357600080fd5b506106bc6040805160808101825260008082526020820181905291810182905260608101919091525060408051608081018252600c5461ffff80821683526201000082048116602084015264010000000082041692820192909252660100000000000090910468ffffffffffffffffff16606082015290565b60405161031c91906151f6565b3480156106d557600080fd5b5060065461010090046001600160a01b0316610367565b3480156106f857600080fd5b5061070c610707366004614ac9565b61249d565b60405161031c91906151e3565b34801561072557600080fd5b5061033a6126b9565b34801561073a57600080fd5b506107d6610749366004614ac9565b604080516080810182526000808252602082018190529181018290526060810191909152506000908152600960209081526040918290208251608081018452905463ffffffff8116825264010000000081046001600160901b031692820192909252600160b01b820468ffffffffffffffffff1692810192909252600160f81b900460ff16606082015290565b60405161031c91906152d4565b3480156107ef57600080fd5b506105ff6107fe3660046147e9565b6001600160a01b03166000908152600b602052604090205490565b34801561082557600080fd5b506102ee610834366004614928565b6126c8565b34801561084557600080fd5b506108a5610854366004614ac9565b60408051808201909152600080825260208201525060009081526007602090815260409182902082518084019093525463ffffffff8116835264010000000090046001600160901b03169082015290565b60405161031c919061531c565b3480156108be57600080fd5b506102ee6108cd366004614d79565b61278d565b3480156108de57600080fd5b506102ee6108ed366004614a07565b612912565b3480156108fe57600080fd5b50610907612961565b60405161031c9190615145565b34801561092057600080fd5b506102ee61092f366004614870565b612a9f565b34801561094057600080fd5b5061033a61094f366004614ac9565b612b2d565b34801561096057600080fd5b50610969612c16565b60405161031c9190615132565b34801561098257600080fd5b50610996610991366004614cff565b612f50565b60405161031c9190615158565b3480156109af57600080fd5b506109c36109be366004614bef565b613128565b6040805163ffffffff90931683526001600160901b0390911660208301520161031c565b3480156109f357600080fd5b50610310610a02366004614803565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610a3c57600080fd5b506102ee610a4b366004614c50565b613239565b348015610a5c57600080fd5b506102ee610a6b366004614c10565b613436565b348015610a7c57600080fd5b506102ee610a8b3660046147e9565b6134e9565b348015610a9c57600080fd5b506102ee610aab366004614ae1565b613643565b348015610abc57600080fd5b50610ac56137fc565b60405161031c949392919061523a565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480610b6857507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610bb457507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b606060008054610bc9906155b3565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf5906155b3565b8015610c425780601f10610c1757610100808354040283529160200191610c42565b820191906000526020600020905b815481529060010190602001808311610c2557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610cdb5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610d02826120fd565b9050806001600160a01b0316836001600160a01b03161415610d8c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610cd2565b336001600160a01b0382161480610dc657506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b610e385760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610cd2565b610e428383613898565b505050565b6006546001600160a01b03610100909104163314610ea75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b600d805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60065460ff1615610f295760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610cd2565b600c54640100000000900461ffff168210610f4357600080fd5b6000828152600a602090815260408083205461ffff8116808552600990935290832054919260ff62010000830481169368ffffffffffffffffff6301000000850416936c01000000000000000000000000900460601b92918291607f600160f81b9091049091161115610fb4575060015b60008468ffffffffffffffffff1611610fcc57600080fd5b60008560ff1611610fdc57600080fd5b6bffffffffffffffffffffffff1983168714610ff757600080fd5b801561102957336000908152600b602052604090205468ffffffffffffffffff8516111561102457600080fd5b611040565b348468ffffffffffffffffff161461104057600080fd5b60005b8560ff16811015611100576110c481600e5461105f9190615402565b336009600061107261ffff8d1687615402565b8152602081019190915260400160009081205463ffffffff169060099061109d61ffff8e1688615402565b815260208101919091526040016000205464010000000090046001600160901b0316613913565b6110da6110d561ffff891683615402565b6139d3565b80156110e4575082155b156110ee57600192505b806110f8816155ee565b915050611043565b508460ff16600e60008282546111169190615402565b9091555050801561115657336000908152600b60205260408120805468ffffffffffffffffff8716929061114b90849061544d565b909155506111ba9050565b600c546601000000000000900468ffffffffffffffffff16156111ba57600c54611195906601000000000000900468ffffffffffffffffff163461541a565b336000908152600b6020526040812080549091906111b4908490615402565b90915550505b81156111d4576000888152600a6020526040812055611221565b6111e58661ffff168660ff16613cd6565b6000898152600a60205260409020805460609290921c6c01000000000000000000000000026bffffffffffffffffffffffff9092169190911790555b6040518881527fa3d688e471dd1dd05e213bdfe93aa7dac4ac8ee1bd52097243238d3e1ca52ee09060200160405180910390a15050505050505050565b6006546001600160a01b036101009091041633146112be5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b826113955760008481526008602052604090206003015481101561134857600084815260086020526040902060030180548391908390811061131057634e487b7160e01b600052603260045260246000fd5b90600052602060002090600891828204019190066004026101000a81548163ffffffff021916908363ffffffff1602179055506114ce565b600084815260086020818152604083206003018054600181018255908452922090820401805460079092166004026101000a63ffffffff81810219909316928516029190911790556114ce565b8260011415611438576000848152600860205260409020600201548110156113eb57600084815260086020526040902060020180548391908390811061131057634e487b7160e01b600052603260045260246000fd5b600084815260086020818152604083206002018054600181018255908452922090820401805460079092166004026101000a63ffffffff81810219909316928516029190911790556114ce565b60008481526008602052604090206001015481101561148557600084815260086020526040902060010180548391908390811061131057634e487b7160e01b600052603260045260246000fd5b600084815260086020818152604083206001908101805491820181558452922090820401805460079092166004026101000a63ffffffff81810219909316928516029190911790555b6040518481527ff3652738e4ff5fe4a71f97e99dd186d6f783c1572266df85e839625360da0222906020015b60405180910390a150505050565b6115123382613d66565b6115845760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610cd2565b610e42838383613e6a565b60065460ff16156115e25760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610cd2565b600c5462010000900461ffff1683106115fa57600080fd5b60008381526009602052604081205463ffffffff81169164010000000082046001600160901b031691600160b01b810468ffffffffffffffffff169190607f600160f81b90910460ff16111561164e575060015b60008268ffffffffffffffffff161161166657600080fd5b84836001600160901b03161461167b57600080fd5b8563ffffffff168463ffffffff161461169357600080fd5b80156116c557336000908152600b602052604090205468ffffffffffffffffff831611156116c057600080fd5b6116dc565b348268ffffffffffffffffff16146116dc57600080fd5b6116ea600e54338686613913565b6001600e60008282546116fd9190615402565b9091555050801561173d57336000908152600b60205260408120805468ffffffffffffffffff8516929061173290849061544d565b909155506117a19050565b600c546601000000000000900468ffffffffffffffffff16156117a157600c5461177c906601000000000000900468ffffffffffffffffff163461541a565b336000908152600b60205260408120805490919061179b908490615402565b90915550505b6117aa876139d3565b5050505050505050565b6117fa6040518060c0016040528060608152602001606081526020016060815260200160608152602001600068ffffffffffffffffff1681526020016000151581525090565b6000828152600860209081526040918290208251815460e09381028201840190945260c08101848152909391928492849184018282801561187857602002820191906000526020600020906000905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116118495790505b50505050508152602001600182018054806020026020016040519081016040528092919081815260200182805480156118fc57602002820191906000526020600020906000905b82829054906101000a900463ffffffff1663ffffffff16815260200190600401906020826003010492830192600103820291508084116118bf5790505b505050505081526020016002820180548060200260200160405190810160405280929190818152602001828054801561198057602002820191906000526020600020906000905b82829054906101000a900463ffffffff1663ffffffff16815260200190600401906020826003010492830192600103820291508084116119435790505b5050505050815260200160038201805480602002602001604051908101604052809291908181526020018280548015611a0457602002820191906000526020600020906000905b82829054906101000a900463ffffffff1663ffffffff16815260200190600401906020826003010492830192600103820291508084116119c75790505b50505091835250506004919091015468ffffffffffffffffff811660208301526901000000000000000000900460ff16151560409091015292915050565b6006546001600160a01b03610100909104163314611aa25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b60008181526008602052604090819020600401805469ff00000000000000000019166901000000000000000000179055517ff3652738e4ff5fe4a71f97e99dd186d6f783c1572266df85e839625360da022290611b029083815260200190565b60405180910390a150565b60065461010090046001600160a01b03166001600160a01b0316336001600160a01b03161480611b475750600d546001600160a01b031633145b611b5057600080fd5b611b5e600e54848484613913565b6001600e6000828254611b719190615402565b9091555050505050565b6006546001600160a01b03610100909104163314611bdb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b80471015611be857600080fd5b60065461010090046001600160a01b03166001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015611c31573d6000803e3d6000fd5b5050565b6006546001600160a01b03610100909104163314611c955760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b611c9d61404f565b565b610e4283838360405180602001604052806000815250612a9f565b600c54606090640100000000900461ffff1660008167ffffffffffffffff811115611cf557634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611d5957816020015b6040805160c081018252600091810182815260608083018490526080830184905260a083019390935281526020810191909152815260200190600190039081611d135790505b50905060005b82811015611dae57611d708161249d565b828281518110611d9057634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080611da6906155ee565b915050611d5f565b5092915050565b60065460ff1615611e085760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610cd2565b6000828152600860205260409020600401546901000000000000000000900460ff161515600114611e3857600080fd5b600c5461ffff168210611e4a57600080fd5b60008281526008602052604090206004015468ffffffffffffffffff16611e7057600080fd5b60008111611e7d57600080fd5b600082815260086020526040902060040154611ea590829068ffffffffffffffffff1661542e565b336000908152600b60205260409020541015611ec057600080fd5b600e546000908190815b84811015611f68577ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe828201908101600090815260076020526040808220546000199093018252902054611f3c918891640100000000908190046001600160901b039081169190920482160116613128565b9094509250611f56611f4e8284615402565b338686613913565b80611f60816155ee565b915050611eca565b50600085815260086020526040902060040154611f9190859068ffffffffffffffffff1661542e565b336000908152600b602052604081208054909190611fb090849061544d565b9250508190555083600e6000828254611fc99190615402565b90915550505050505050565b60065461010090046001600160a01b03166001600160a01b0316336001600160a01b0316148061200f5750600d546001600160a01b031633145b61201857600080fd5b6001600160a01b0382166000908152600b602052604081208054839290612040908490615402565b90915550505050565b6006546001600160a01b036101009091041633146120a95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b60008181526008602052604090819020600401805469ff00000000000000000019169055517ff3652738e4ff5fe4a71f97e99dd186d6f783c1572266df85e839625360da022290611b029083815260200190565b6000818152600260205260408120546001600160a01b031680610bb45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610cd2565b6006546001600160a01b036101009091041633146121e85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b604080516080808201835261ffff878116808452878216602080860182905292881685870181905268ffffffffffffffffff88166060968701819052600c805463ffffffff19168517620100008502177fffffffffffffffffffffffffffffffffff0000000000000000000000ffffffff1664010000000084027fffffffffffffffffffffffffffffffffff000000000000000000ffffffffffff16176601000000000000830217905587519384529383019190915294810194909452918301919091527ff455f8ad3ef3c6649e698645af4445978ad25f511581f23738833bfac376e88591016114fa565b60006001600160a01b0382166123525760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610cd2565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b036101009091041633146123ce5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b60065460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680547fffffffffffffffffffffff0000000000000000000000000000000000000000ff169055565b6006546001600160a01b036101009091041633146124955760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b611c9d6140eb565b6040805160c081018252600091810182815260608083018490526080830184905260a0830193909352815260208101919091526000828152600a602052604081205461ffff8116916201000090910460ff16908167ffffffffffffffff81111561251757634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561256957816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816125355790505b50905060005b8260ff16811015612633576009600061258c61ffff871684615402565b815260208082019290925260409081016000208151608081018352905463ffffffff8116825264010000000081046001600160901b031693820193909352600160b01b830468ffffffffffffffffff1691810191909152600160f81b90910460ff166060820152825183908390811061261557634e487b7160e01b600052603260045260246000fd5b6020026020010181905250808061262b906155ee565b91505061256f565b50604080516000968752600a60209081529682902060c0820183525461ffff811692820192835260ff6201000082041660608084019190915268ffffffffffffffffff630100000083041660808401526bffffffffffffffffffffffff196c01000000000000000000000000909204901b1660a082015290815294850152509192915050565b606060018054610bc9906155b3565b6001600160a01b0382163314156127215760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610cd2565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6006546001600160a01b036101009091041633146127ed5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b6040805160808101825263ffffffff80871682526001600160901b03808716602080850191825268ffffffffffffffffff80891686880190815260ff808a166060890190815260008f815260099095529389902097518854955192519451909116600160f81b027effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff94909316600160b01b029390931675ffffffffffffffffffffffffffffffffffffffffffff919095166401000000000275ffffffffffffffffffffffffffffffffffffffffffff199094169290951691909117919091179290921617179055517f4d0d2af1513ef41402b747f83791c6182ed16724dc1b6b1843f9c6d9cc509b2f906129039087815260200190565b60405180910390a15050505050565b60065461010090046001600160a01b03166001600160a01b0316336001600160a01b0316148061294c5750600d546001600160a01b031633145b61295557600080fd5b610e42600f83836146d7565b600c5460609062010000900461ffff1660008167ffffffffffffffff81111561299a57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156129ec57816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816129b85790505b50905060005b82811015611dae576000818152600960209081526040918290208251608081018452905463ffffffff8116825264010000000081046001600160901b031692820192909252600160b01b820468ffffffffffffffffff1692810192909252600160f81b900460ff1660608201528251839083908110612a8157634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080612a97906155ee565b9150506129f2565b612aa93383613d66565b612b1b5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610cd2565b612b2784848484614173565b50505050565b6000818152600260205260409020546060906001600160a01b0316612bba5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610cd2565b6000612bc46141fc565b90506000815111612be45760405180602001604052806000815250612c0f565b80612bee8461420b565b604051602001612bff9291906150be565b6040516020818303038152906040525b9392505050565b600c5460609061ffff1660008167ffffffffffffffff811115612c4957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015612cc057816020015b612cad6040518060c0016040528060608152602001606081526020016060815260200160608152602001600068ffffffffffffffffff1681526020016000151581525090565b815260200190600190039081612c675790505b50905060005b82811015611dae576000818152600860209081526040918290208251815460e09381028201840190945260c081018481529093919284928491840182828015612d4c57602002820191906000526020600020906000905b825461010083900a900460ff16815260206001928301818104948501949093039092029101808411612d1d5790505b5050505050815260200160018201805480602002602001604051908101604052809291908181526020018280548015612dd057602002820191906000526020600020906000905b82829054906101000a900463ffffffff1663ffffffff1681526020019060040190602082600301049283019260010382029150808411612d935790505b5050505050815260200160028201805480602002602001604051908101604052809291908181526020018280548015612e5457602002820191906000526020600020906000905b82829054906101000a900463ffffffff1663ffffffff1681526020019060040190602082600301049283019260010382029150808411612e175790505b5050505050815260200160038201805480602002602001604051908101604052809291908181526020018280548015612ed857602002820191906000526020600020906000905b82829054906101000a900463ffffffff1663ffffffff1681526020019060040190602082600301049283019260010382029150808411612e9b5790505b50505091835250506004919091015468ffffffffffffffffff811660208301526901000000000000000000900460ff1615156040909101528251839083908110612f3257634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080612f48906155ee565b915050612cc6565b600e54606090600081861115612f64578195505b60018415151415612fc157865b86811015612fbb57856001600160a01b0316612f8c826120fd565b6001600160a01b03161415612fa957612fa6600183615402565b91505b80612fb3816155ee565b915050612f71565b50612fc4565b50805b60008167ffffffffffffffff811115612fed57634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561302657816020015b61301361475b565b81526020019060019003908161300b5790505b50600092509050875b8781101561311a5785158061306a5750600186151514801561306a5750866001600160a01b031661305f826120fd565b6001600160a01b0316145b1561310857604080516060810182528281526000838152600760209081529083902083518085018552905463ffffffff8116825264010000000090046001600160901b031681830152908201529081016130c3836120fd565b6001600160a01b03168152508284815181106130ef57634e487b7160e01b600052603260045260246000fd5b6020908102919091010152613105600184615402565b92505b80613112816155ee565b91505061302f565b50925050505b949350505050565b600080607f8411156131425761313f60808561544d565b93505b60408051848152426020808301918252448385019081526060842089855260088452948420808552835291205490819052600092919060ff908116601e84901a6063029190910410600181146131cd576040820151601e1a60ff606385601e1a020410600181146131bc57600183510160608401526131c7565b600283510160608401525b506131d8565b600382510160608301525b50606081015154608082015260ff600160808301510383601d1a020460a0820152600860a08201510460206060830120015460c082015263ffffffff600860a08301510660040260c0830103511692505081819350935050505b9250929050565b6006546001600160a01b036101009091041633146132995760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b60005b8181101561330d578282828181106132c457634e487b7160e01b600052603260045260246000fd5b90506080020160096000838961ffff166132de9190615402565b815260200190815260200160002081816132f89190615858565b50819050613305816155ee565b91505061329c565b5060405180608001604052808661ffff1681526020018560ff1681526020018468ffffffffffffffffff16815260200161334e8761ffff168760ff16613cd6565b6bffffffffffffffffffffffff191690526000878152600a602090815260409182902083518154858401518686015160609788015190971c6c010000000000000000000000000268ffffffffffffffffff9097166301000000026bffffffffffffffffffffffff1662ffffff60ff90921662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000090931661ffff9094169390931791909117161793909317909255518781527fa3d688e471dd1dd05e213bdfe93aa7dac4ac8ee1bd52097243238d3e1ca52ee0910160405180910390a1505050505050565b6006546001600160a01b036101009091041633146134965760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b600082815260086020526040902081906134b08282615693565b50506040518281527ff3652738e4ff5fe4a71f97e99dd186d6f783c1572266df85e839625360da02229060200160405180910390a15050565b6006546001600160a01b036101009091041633146135495760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b6001600160a01b0381166135c55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610cd2565b6006546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b03909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b6006546001600160a01b036101009091041633146136a35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd2565b60005b8151811015610e42578181815181106136cf57634e487b7160e01b600052603260045260246000fd5b60200260200101516009600083866136e79190615402565b8152602080820192909252604090810160002083518154938501519285015160609095015160ff16600160f81b027effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff68ffffffffffffffffff909616600160b01b029590951675ffffffffffffffffffffffffffffffffffffffffffff6001600160901b039094166401000000000275ffffffffffffffffffffffffffffffffffffffffffff1990951663ffffffff909216919091179390931791909116919091179190911790557f4d0d2af1513ef41402b747f83791c6182ed16724dc1b6b1843f9c6d9cc509b2f6137d98285615402565b60405190815260200160405180910390a1806137f4816155ee565b9150506136a6565b6040805160808101825260008082526020820181905291810182905260608101919091526060806060600c61382f612961565b613837611cba565b61383f612c16565b60408051608081018252945461ffff808216875262010000820481166020880152640100000000820416918601919091526601000000000000900468ffffffffffffffffff166060850152929791965094509092509050565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03841690811790915581906138da826120fd565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008263ffffffff161161392657600080fd5b6139308385614359565b60408051808201825263ffffffff8481168083526001600160901b03858116602080860182815260008c815260078352889020965187549151961675ffffffffffffffffffffffffffffffffffffffffffff1990911617640100000000959093169490940291909117909355835188815291820152918201527f23f3270606bd165c0d4a4b03726c6d479a84f286269bfd5326a5245f135100ce906060016114fa565b60008181526009602052604081205463ffffffff81169064010000000081046001600160901b031690600160b01b810468ffffffffffffffffff1690600160f81b900460ff1684607f821480613a2c57508160ff1660ff145b15613ac9576040516dffffffffffffffffffffffffffff19607086901b16602082015242603282015244605282015260009060720160408051601f19818403018152918152815160209283012060008b81526009909352912080546001600160901b03909216640100000000027fffffffffffffffffffff000000000000000000000000000000000000ffffffff90921691909117905550613c84565b607f8260ff16118015613b10575060086000613ae6608085615464565b60ff16815260200190815260200160002060040160099054906101000a900460ff16151560011515145b80613b4f575060808260ff16108015613b4f575060ff828116600090815260086020526040902060040154690100000000000000000090041615156001145b15613c7157613b6a8260ff16856001600160901b0316613128565b809550819650505060405180608001604052808663ffffffff168152602001856001600160901b031681526020018468ffffffffffffffffff1681526020018360ff168152506009600089815260200190815260200160002060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a8154816001600160901b0302191690836001600160901b0316021790555060408201518160000160166101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff160217905550606082015181600001601f6101000a81548160ff021916908360ff160217905550905050613c84565b5060008681526009602052604081205560015b600c5462010000900461ffff16871015613ccc576040518781527f4d0d2af1513ef41402b747f83791c6182ed16724dc1b6b1843f9c6d9cc509b2f9060200160405180910390a15b9695505050505050565b60008080613ce48585615402565b9050845b81811015613d5c57600081815260096020908152604091829020548251918201869052640100000000900460701b6dffffffffffffffffffffffffffff1916918101919091526052016040516020818303038152906040528051906020012092508080613d54906155ee565b915050613ce8565b5090949350505050565b6000818152600260205260408120546001600160a01b0316613df05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610cd2565b6000613dfb836120fd565b9050806001600160a01b0316846001600160a01b03161480613e365750836001600160a01b0316613e2b84610c4c565b6001600160a01b0316145b8061312057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16613120565b826001600160a01b0316613e7d826120fd565b6001600160a01b031614613ef95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610cd2565b6001600160a01b038216613f745760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610cd2565b613f7f8383836144b4565b613f8a600082613898565b6001600160a01b0383166000908152600360205260408120805460019290613fb390849061544d565b90915550506001600160a01b0382166000908152600360205260408120805460019290613fe1908490615402565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60065460ff166140a15760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610cd2565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60065460ff161561413e5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610cd2565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586140ce3390565b61417e848484613e6a565b61418a8484848461452d565b612b275760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610cd2565b6060600f8054610bc9906155b3565b60608161424b57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115614275578061425f816155ee565b915061426e9050600a8361541a565b915061424f565b60008167ffffffffffffffff81111561429e57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156142c8576020820181803683370190505b5090505b8415613120576142dd60018361544d565b91506142ea600a86615609565b6142f5906030615402565b60f81b81838151811061431857634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350614352600a8661541a565b94506142cc565b6001600160a01b0382166143af5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610cd2565b6000818152600260205260409020546001600160a01b0316156144145760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610cd2565b614420600083836144b4565b6001600160a01b0382166000908152600360205260408120805460019290614449908490615402565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60065460ff1615610e425760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201527f68696c65207061757365640000000000000000000000000000000000000000006064820152608401610cd2565b60006001600160a01b0384163b156146cf576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a029061458a9033908990889088906004016150ed565b602060405180830381600087803b1580156145a457600080fd5b505af19250505080156145d4575060408051601f3d908101601f191682019092526145d1918101906149eb565b60015b614684573d808015614602576040519150601f19603f3d011682016040523d82523d6000602084013e614607565b606091505b50805161467c5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610cd2565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050613120565b506001613120565b8280546146e3906155b3565b90600052602060002090601f016020900481019282614705576000855561474b565b82601f1061471e5782800160ff1982351617855561474b565b8280016001018555821561474b579182015b8281111561474b578235825591602001919060010190614730565b506147579291506147a6565b5090565b6040518060600160405280600081526020016147996040518060400160405280600063ffffffff16815260200160006001600160901b031681525090565b8152600060209091015290565b5b8082111561475757600081556001016147a7565b80356001600160a01b03811681146147d257600080fd5b919050565b803561ffff811681146147d257600080fd5b6000602082840312156147fa578081fd5b612c0f826147bb565b60008060408385031215614815578081fd5b61481e836147bb565b915061482c602084016147bb565b90509250929050565b600080600060608486031215614849578081fd5b614852846147bb565b9250614860602085016147bb565b9150604084013590509250925092565b60008060008060808587031215614885578081fd5b61488e856147bb565b9350602061489d8187016147bb565b935060408601359250606086013567ffffffffffffffff808211156148c0578384fd5b818801915088601f8301126148d3578384fd5b8135818111156148e5576148e5615649565b6148f784601f19601f840116016153d1565b9150808252898482850101111561490c578485fd5b8084840185840137810190920192909252939692955090935050565b6000806040838503121561493a578182fd5b614943836147bb565b915060208301356149538161594e565b809150509250929050565b60008060408385031215614970578182fd5b614979836147bb565b946020939093013593505050565b60008060006060848603121561499b578081fd5b6149a4846147bb565b925060208401356149b4816159a2565b915060408401356149c48161598d565b809150509250925092565b6000602082840312156149e0578081fd5b8135612c0f8161595f565b6000602082840312156149fc578081fd5b8151612c0f8161595f565b60008060208385031215614a19578182fd5b823567ffffffffffffffff80821115614a30578384fd5b818501915085601f830112614a43578384fd5b813581811115614a51578485fd5b866020828501011115614a62578485fd5b60209290920196919550909350505050565b60008060008060808587031215614a89578182fd5b614a92856147d7565b9350614aa0602086016147d7565b9250614aae604086016147d7565b91506060850135614abe816159b4565b939692955090935050565b600060208284031215614ada578081fd5b5035919050565b6000806040808486031215614af4578283fd5b8335925060208085013567ffffffffffffffff80821115614b13578485fd5b818701915087601f830112614b26578485fd5b813581811115614b3857614b38615649565b614b46848260051b016153d1565b8181528481019250838501600783901b850186018b1015614b65578788fd5b8794505b82851015614bde57608080828d031215614b81578889fd5b614b896153a8565b8235614b94816159a2565b815282880135614ba38161598d565b8189015282890135614bb4816159b4565b818a0152606083810135614bc7816159cb565b908201528552600195909501949386019301614b69565b508096505050505050509250929050565b60008060408385031215614c01578182fd5b50508035926020909101359150565b60008060408385031215614c22578182fd5b82359150602083013567ffffffffffffffff811115614c3f578182fd5b830160c08186031215614953578182fd5b60008060008060008060a08789031215614c68578384fd5b86359550614c78602088016147d7565b94506040870135614c88816159cb565b93506060870135614c98816159b4565b9250608087013567ffffffffffffffff80821115614cb4578384fd5b818901915089601f830112614cc7578384fd5b813581811115614cd5578485fd5b8a60208260071b8501011115614ce9578485fd5b6020830194508093505050509295509295509295565b60008060008060808587031215614d14578182fd5b8435935060208501359250614d2b604086016147bb565b91506060850135614abe8161594e565b60008060008060808587031215614d50578182fd5b84359350602085013592506040850135614d69816159a2565b9396929550929360600135925050565b600080600080600060a08688031215614d90578283fd5b853594506020860135614da2816159a2565b93506040860135614db28161598d565b92506060860135614dc2816159b4565b91506080860135614dd2816159cb565b809150509295509295909350565b600080600060608486031215614df4578081fd5b833592506020840135614e06816159a2565b929592945050506040919091013590565b600081518084526020808501808196508360051b81019150828601855b85811015614e5e578284038952614e4c848351614f95565b98850198935090840190600101614e34565b5091979650505050505050565b600081518084526020808501808196508360051b81019150828601855b85811015614e5e578284038952614ea0848351614ff6565b98850198935090840190600101614e88565b6000815180845260208085019450808401835b83811015614f2957614f1687835163ffffffff81511682526001600160901b03602082015116602083015268ffffffffffffffffff604082015116604083015260ff60608201511660608301525050565b6080969096019590820190600101614ec5565b509495945050505050565b6000815180845260208085019450808401835b83811015614f2957815163ffffffff1687529582019590820190600101614f47565b60008151808452614f81816020860160208601615587565b601f01601f19169290920160200192915050565b6000815161ffff815116845260ff602082015116602085015268ffffffffffffffffff60408201511660408501526bffffffffffffffffffffffff19606082015116606085015250602082015160a0608085015261312060a0850182614eb2565b805160c080845281519084018190526000916020919082019060e0860190845b8181101561503557835160ff1683529284019291840191600101615016565b50508285015191508581038387015261504e8183614f34565b92505050604083015184820360408601526150698282614f34565b915050606083015184820360608601526150838282614f34565b91505060808301516150a2608086018268ffffffffffffffffff169052565b5060a08301516150b660a086018215159052565b509392505050565b600083516150d0818460208801615587565b8351908301906150e4818360208801615587565b01949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152613ccc6080830184614f69565b602081526000612c0f6020830184614e17565b602081526000612c0f6020830184614e6b565b602081526000612c0f6020830184614eb2565b602080825282518282018190526000919060409081850190868401855b82811015614e5e57815180518552868101516151ac88870182805163ffffffff1682526020908101516001600160901b0316910152565b508501516001600160a01b0316606085015260809093019290850190600101615175565b602081526000612c0f6020830184614f69565b602081526000612c0f6020830184614f95565b60808101610bb4828461ffff8082511683528060208301511660208401528060408301511660408401525068ffffffffffffffffff60608201511660608301525050565b61527a818661ffff8082511683528060208301511660208401528060408301511660408401525068ffffffffffffffffff60608201511660608301525050565b60e06080820152600061529060e0830186614eb2565b82810360a08401526152a28186614e17565b905082810360c08401526152b68185614e6b565b979650505050505050565b602081526000612c0f6020830184614ff6565b815163ffffffff1681526020808301516001600160901b03169082015260408083015168ffffffffffffffffff169082015260608083015160ff169082015260808101610bb4565b815163ffffffff1681526020808301516001600160901b03169082015260408101610bb4565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112615376578283fd5b83018035915067ffffffffffffffff821115615390578283fd5b6020019150600581901b360382131561323257600080fd5b6040516080810167ffffffffffffffff811182821017156153cb576153cb615649565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156153fa576153fa615649565b604052919050565b600082198211156154155761541561561d565b500190565b60008261542957615429615633565b500490565b60008160001904831182151516156154485761544861561d565b500290565b60008282101561545f5761545f61561d565b500390565b600060ff821660ff84168082101561547e5761547e61561d565b90039392505050565b5b81811015611c315760008155600101615488565b680100000000000000008311156154b5576154b5615649565b805483825580841015615514578160005260206000206007850160031c8101601c8660021b1680156154fe576154fe81600019840180546000198360200360031b1c1681555050565b506155116007840160031c830182615487565b50505b506000818152602081208391805b8681101561557e576155566155368561566c565b845463ffffffff600386901b81811b801990931693909116901b16178455565b602084019350600482019150601c82111561557657600091506001830192505b600101615522565b50505050505050565b60005b838110156155a257818101518382015260200161558a565b83811115612b275750506000910152565b600181811c908216806155c757607f821691505b602082108114156155e857634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156156025761560261561d565b5060010190565b60008261561857615618615633565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60008135610bb48161594e565b60008135610bb4816159a2565b60008135610bb4816159b4565b60008135610bb4816159cb565b61569d8283615342565b680100000000000000008111156156b6576156b6615649565b82548184558082101561571257836000526020600020601f830160051c8101601f841680156156fc576156fc81600019840180546000198360200360031b1c1681555050565b5061570f601f840160051c830182615487565b50505b506000838152602090206000805b838110156157795761575161573486615686565b845460ff600386901b81811b801990931693909116901b16178455565b60208501945060018083019250601f8311156157705792830192600092505b50600101615720565b505050505061578b6020830183615342565b61579981836001860161549c565b50506157a86040830183615342565b6157b681836002860161549c565b50506157c56060830183615342565b6157d381836003860161549c565b50506004810161581f6157e860808501615679565b82547fffffffffffffffffffffffffffffffffffffffffffffff0000000000000000001668ffffffffffffffffff91909116178255565b610e4261582e60a0850161565f565b82805469ff000000000000000000191691151560481b69ff00000000000000000016919091179055565b8135615863816159a2565b63ffffffff8116905081548163ffffffff19821617835560208401356158888161598d565b75ffffffffffffffffffffffffffffffffffff000000008160201b169050808375ffffffffffffffffffffffffffffffffffffffffffff1984161717845560408501356158d4816159b4565b7effffffffffffffffff000000000000000000000000000000000000000000008160b01b1690507fff00000000000000000000000000000000000000000000000000000000000000818582861617841717865560608701359350615937846159cb565b808460f81b16858417831717865550505050505050565b801515811461595c57600080fd5b50565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461595c57600080fd5b6001600160901b038116811461595c57600080fd5b63ffffffff8116811461595c57600080fd5b68ffffffffffffffffff8116811461595c57600080fd5b60ff8116811461595c57600080fdfea26469706673582212207cff9ae569cc176b664ea320b11d99de838a91816657466f8da0ecec5da9ebdc64736f6c63430008040033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000009476163686164617373000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054741434841000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002568747470733a2f2f7777772e6761636861646173732e636f6d2f6d657461646174612f322f000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Gachadass
Arg [1] : symbol (string): GACHA
Arg [2] : uri (string): https://www.gachadass.com/metadata/2/

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [4] : 4761636861646173730000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 4741434841000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000025
Arg [8] : 68747470733a2f2f7777772e6761636861646173732e636f6d2f6d6574616461
Arg [9] : 74612f322f000000000000000000000000000000000000000000000000000000


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  ]

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.