ETH Price: $3,122.18 (+0.01%)

InChainPepeGAN (PepeGAN)
 

Overview

TokenID

846

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
InChainPepeGAN

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : OnChainGan.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.17;
import "erc721a/contracts/ERC721A.sol";
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Base64.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./renderer.sol";

contract InChainPepeGAN is DefaultOperatorFilterer, ERC721A, ReentrancyGuard, Ownable, Renderer{
    uint256 public TEAM_RESERVED=100;
    uint256 public MAX_COLLECTION_SIZE=999;
    uint256 public MINT_PRICE = 0.0069 ether;
    bool public DEV_MINTED = false;
    uint256[1100] randomSeeds; // Just in case the dev mint was done after the whole public.

  constructor() ERC721A("InChainPepeGAN", "PepeGAN") {
  }

  function mint() external payable{
      uint256 supply = totalSupply();
      require(supply + 1 <= MAX_COLLECTION_SIZE, "Reached max supply");
      require(_numberMinted(msg.sender) == 0, "Max 1 mint per wallet!");
      require(msg.value >= MINT_PRICE, "Mint price: 0.0069 eth");
      _safeMint(msg.sender, 1);
  }
  function devMint() external onlyOwner{
      require(!DEV_MINTED, "Dev minted!");
      _safeMint(msg.sender, 100);
      DEV_MINTED = true;
  }
  function changeRandomSeeds(uint256 tokenId) public{
      require(ownerOf(tokenId) == msg.sender, "Not the owner");
      randomSeeds[tokenId] += 2000;
  }

  function tokenURI(uint256 tokenId) public view override returns (string memory){
      string memory _name = string(abi.encodePacked("GANPepe #", Strings.toString(tokenId)));
      string memory _description = "New way to put art in chain.";
      if (randomSeeds[tokenId] > 0){
          tokenId = randomSeeds[tokenId];
      }
      Seeds memory seeds = getSeeds(tokenId);
      string memory gif = getGIF(seeds);
      string memory animatedURI = getAnimatedURI(gif);
      return string(
          abi.encodePacked(
              "data:application/json;base64,",
              Base64.encode(
                  bytes(
                      abi.encodePacked(
                          '{"name":"', _name,
                          '", "description": "', _description,
                          '", "attributes": [', getProperty(seeds),
                          '], "image":"', gif, 
                          '", "animation_url":"', animatedURI,
                          '"}'
                      )
                  )
              )
          )
      );
  }
  function withdraw() external onlyOwner{
      (bool success, ) = msg.sender.call{value: address(this).balance}("");
      require(success, "Transfer failed.");
  }

  function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) {
      super.setApprovalForAll(operator, approved);
  }
  
  function approve(address operator, uint256 tokenId) public override payable onlyAllowedOperatorApproval(operator) {
      super.approve(operator, tokenId);

  }

  function transferFrom(address from, address to, uint256 tokenId) public override payable onlyAllowedOperator(from){
      super.transferFrom(from, to, tokenId);
  }

  function safeTransferFrom(address from, address to, uint256 tokenId) public override payable onlyAllowedOperator(from) {
      super.safeTransferFrom(from, to, tokenId);
  }

  function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override payable onlyAllowedOperator(from){
      super.safeTransferFrom(from, to, tokenId, data);
  }
}

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

pragma solidity ^0.8.0;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Base64.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./GAN.sol";

contract Renderer is GenerativeAdversarialNetwork{
  function addTrait(string memory traitName, string memory value) internal pure returns (string memory){
      return string.concat('{"display_type":"number","trait_type":"', traitName, '","value":', value, '}');
  }
  function getProperty(Seeds memory seeds) public pure returns (string memory property){
      property = string.concat(
          addTrait("Seed 1", Strings.toString(seeds.seed1)),",",
          addTrait("Seed 2", Strings.toString(seeds.seed2)),",",
          addTrait("Seed 3", Strings.toString(seeds.seed3)),",",
          addTrait("Delay(ms)", Strings.toString(seeds.delay))
      );
  }
  // Get GIF starts from here.
  function getLine(uint8 position) internal pure returns (bytes memory output){
      output = abi.encodePacked(hex"0680", position, position+1, position+2, position+3, position+4);
  }
  function getColorTable(uint8[75] memory image, uint256 position) internal pure returns (bytes memory output){
      output = abi.encodePacked(image[position],
                                image[position+1],
                                image[position+2],
                                image[position+3],
                                image[position+4],
                                image[position+5],
                                image[position+6],
                                image[position+7],
                                image[position+8],
                                image[position+9],
                                image[position+10],
                                image[position+11]
                               );
  }
  function makeAnimatedGIF(uint8[75] memory image, uint8 delay) internal pure returns (bytes memory output){
      bytes memory GCE = bytes(abi.encodePacked(
          hex"21F9" // header
          hex"04" // 4 bytes data
          hex"04", // Packed field
          delay, hex"00", // Delay time
          hex"00" // Transparent color index 
          hex"00" // GCE block terminator
      ));
      bytes memory imageDescriptor = bytes(hex"2C" // header
                                           hex"0000" // pos left
                                           hex"0000" // pos top
                                           hex"0500" // width=5
                                           hex"0500" // height=5
                                           hex"85" // packed field: with local color table
                                          );
      bytes memory localColorTable = bytes(abi.encodePacked(
          getColorTable(image, 0),
          getColorTable(image, 12),
          getColorTable(image, 24),
          getColorTable(image, 36),
          getColorTable(image, 48),
          getColorTable(image, 60),
          image[72],
          image[73],
          image[74],
          hex"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
      ));
      output = abi.encodePacked(GCE, imageDescriptor, localColorTable,
                              hex"07", // Use 7 bits codes
                              abi.encodePacked(getLine(0), 
                                               getLine(5), 
                                               getLine(10),
                                               getLine(15),
                                               getLine(20)
                                              ),
                              hex"0181", // STOP
                              hex"00");
  }

  function getGIF(Seeds memory seeds) public view returns(string memory result){
      bytes memory header = bytes("GIF89a");
      bytes memory LSD = bytes(hex"0500" // width=5
                               hex"0500" // height=5
                               hex"30" // packed field for global color table
                               hex"00" // background index
                               hex"00" // pixel aspect ratio
                              );
      bytes memory AE = bytes(hex"21FF" // Application extension header
                              hex"0B" // size of block (always 11)
                              hex"4E45545343415045322E30" // NETSCAPE2.0 in ascii
                              hex"03" // number of bytes in the following sub-block
                              hex"01" // 1
                              hex"0000" // repetitions=infinity
                              hex"00" // end of AE.
                             );
      bytes memory trailer = bytes(hex"3b");
      bytes memory image1 = makeAnimatedGIF(inference(seeds.seed1), uint8(seeds.delay));
      bytes memory image2 = makeAnimatedGIF(inference(seeds.seed2), uint8(seeds.delay));
      bytes memory image3 = makeAnimatedGIF(inference(seeds.seed3), uint8(seeds.delay));
      bytes memory body = abi.encodePacked(
          image1, image2, image3, image2
      );
      result = string(
          abi.encodePacked(
              'data:image/gif;base64,', 
              Base64.encode(
                  abi.encodePacked(
                      header,
                      LSD,
                      AE,
                      body,
                      trailer
                  )
              )
      ));
  }
  function getAnimatedURI(string memory gif) public pure returns(string memory svg){
      svg = string(
          abi.encodePacked(
              'data:image/svg+xml;base64,',
              Base64.encode(
                  abi.encodePacked(
                      "<svg width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'> <image href='", 
                      gif, 
                      "' height='100%' width='100%' image-rendering='pixelated' /></svg>"
                  )
              )
          )
      );
  }
}

File 3 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 4 of 14 : Base64.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Base64.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 *
 * _Available since v4.5._
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        /// @solidity memory-safe-assembly
        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

            // Prepare result pointer, jump over length
            let resultPtr := add(result, 32)

            // Run over the input, 3 bytes at a time
            for {
                let dataPtr := data
                let endPtr := add(data, mload(data))
            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 bytes (18 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F which is the number of
                // the previous character in the ASCII table prior to the Base64 Table
                // The result is then added to the table to get the character to write,
                // and finally write it in the result pointer but with a left shift
                // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits

                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}

File 5 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

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() {
        _transferOwnership(_msgSender());
    }

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 6 of 14 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 7 of 14 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";

/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

File 8 of 14 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view virtual returns (uint256) {
        // Counter underflow is impossible as `_currentIndex` does not decrement,
        // and it is initialized to `_startTokenId()`.
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public payable virtual override {
        address owner = ownerOf(tokenId);

        if (_msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                revert ApprovalCallerNotOwnerNorApproved();
            }

        _tokenApprovals[tokenId].value = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @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 memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token IDs
     * are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token IDs
     * have been transferred. This includes minting.
     * And also called after one token has been burned.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}

File 9 of 14 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";

/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

File 10 of 14 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @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,
        bytes calldata data
    ) external payable;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Transfers `tokenId` 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 payable;

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

    /**
     * @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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

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

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

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

pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/Strings.sol";

contract GenerativeAdversarialNetwork{
    int16[] layerOneDenseWeights;
    int16[] layerOneBatchNormalizationGamma;
    int16[] layerOneBatchNormalizationMovingMean;
    int16[] layerOneBatchNormalizationBeta;
    int16[] layerTwoConvWeights;
    int16[] layerTwoBatchNormalizationGamma;
    int16[] layerTwoBatchNormalizationMovingMean;
    int16[] layerTwoBatchNormalizationBeta;
    int16[] layerThreeConvWeights;
    int16[] logisticFunctionTable = [-32768,-25528,-21012,-18903,-17509,-16463,-15625,-14924,-14321,-13792,-13320,-12893,-12504,-12145,-11813,-11503,-11213,-10940,-10682,-10437,-10204,-9982,-9769,-9565,-9369,-9181,-8999,-8824,-8654,-8490,-8330,-8176,-8025,-7879,-7736,-7597,-7462,-7329,-7200,-7073,-6949,-6828,-6709,-6592,-6477,-6365,-6254,-6145,-6039,-5934,-5830,-5728,-5628,-5529,-5431,-5335,-5240,-5146,-5054,-4962,-4872,-4783,-4695,-4607,-4521,-4435,-4351,-4267,-4184,-4102,-4021,-3940,-3860,-3781,-3702,-3624,-3547,-3470,-3394,-3318,-3243,-3168,-3094,-3021,-2948,-2875,-2803,-2731,-2659,-2588,-2517,-2447,-2377,-2307,-2238,-2169,-2100,-2032,-1964,-1896,-1828,-1761,-1694,-1627,-1560,-1494,-1427,-1361,-1295,-1229,-1164,-1098,-1033,-968,-903,-838,-773,-708,-643,-579,-514,-450,-385,-321,-257,-192,-128,-64,0,65,129,193,258,322,386,451,515,580,644,709,774,839,904,969,1034,1099,1165,1230,1296,1362,1428,1495,1561,1628,1695,1762,1829,1897,1965,2033,2101,2170,2239,2308,2378,2448,2518,2589,2660,2732,2804,2876,2949,3022,3095,3169,3244,3319,3395,3471,3548,3625,3703,3782,3861,3941,4022,4103,4185,4268,4352,4436,4522,4608,4696,4784,4873,4963,5055,5147,5241,5336,5432,5530,5629,5729,5831,5935,6040,6146,6255,6366,6478,6593,6710,6829,6950,7074,7201,7330,7463,7598,7737,7880,8026,8177,8331,8491,8655,8825,9000,9182,9370,9566,9770,9983,10205,10438,10683,10941,11214,11504,11814,12146,12505,12894,13321,13793,14322,14925,15626,16464,17510,18904,21013,25529];

    struct Seeds{
        uint256 seed1;
        uint256 seed2;
        uint256 seed3;
        uint256 delay;
    }
  function getSeeds(uint256 tokenId) internal pure returns(Seeds memory seeds){
      uint256 seed1 = random("Seed1: ", tokenId);
      uint256 seed2 = random("Seed2: ", tokenId);
      // delay: between 10ms and 1s, and distance = delay + constant.
      seeds.delay = 10 + (random("Delay: ", tokenId) % 90);
      uint256 distance = seeds.delay / 2 + 15;
      seeds.seed1 = seed1;
      seeds.seed2 = seed1;
      seeds.seed3 = seed1;
      uint16 upperLimit = 65530 - uint16(distance) * 200;
      uint16 lowerLimit = uint16(distance) * 200;
      for (uint256 i=0; i<16; ++i){
          uint16 a = uint16(seed1 >> (i * 16));
          uint16 b = uint16(seed2 >> (i * 16));
          if (((a < b) && (a < upperLimit))||(a < lowerLimit)){ // able to get seed3
              seeds.seed2 += (distance * 100) << (i * 16);
              seeds.seed3 += (distance * 200) << (i * 16);
          }
          else{
              seeds.seed2 -= (distance * 100) << (i * 16);
              seeds.seed3 -= (distance * 200) << (i * 16);
          }
      }
  }

  function random(string memory key, uint256 seed) internal pure returns(uint256){
      return uint256(keccak256(abi.encodePacked(key, Strings.toString(seed))));
  }
  function getInput(uint256 seed) internal pure returns(int16[16] memory input){
      // return 16 int16 random floats between -1 and 1
      for(uint256 i=0; i<16; ++i){
          input[i] = int16(uint16(seed >> (i * 16))) / 8;
          // input[i] = 3072;
      }
  }
  function setWeights(int16[] memory weights_, uint256 index) public{
      if(index == 0){
          for (uint256 i=0; i<weights_.length; ++i){
              layerOneDenseWeights.push(weights_[i]);
          }
      }
      if(index == 1){
          for (uint256 i=0; i<weights_.length; ++i){
              layerOneBatchNormalizationGamma.push(weights_[i]);
          }
      }
      if(index == 2){
          for (uint256 i=0; i<weights_.length; ++i){
              layerOneBatchNormalizationMovingMean.push(weights_[i]);
          }
      }
      if(index == 3){
          for (uint256 i=0; i<weights_.length; ++i){
              layerOneBatchNormalizationBeta.push(weights_[i]);
          }
      }
      if(index == 4){
          for (uint256 i=0; i<weights_.length; ++i){
              layerTwoConvWeights.push(weights_[i]);
          }
      }
      if(index == 5){
          for (uint256 i=0; i<weights_.length; ++i){
              layerTwoBatchNormalizationGamma.push(weights_[i]);
          }
      }
      if(index == 6){
          for (uint256 i=0; i<weights_.length; ++i){
              layerTwoBatchNormalizationMovingMean.push(weights_[i]);
          }
      }
      if(index == 7){
          for (uint256 i=0; i<weights_.length; ++i){
              layerTwoBatchNormalizationBeta.push(weights_[i]);
          }
      }
      if(index == 8){
          for (uint256 i=0; i<weights_.length; ++i){
              layerThreeConvWeights.push(weights_[i]);
          }
      }
  }
  function inference(uint256 seed) internal view returns (uint8[75] memory output){
      int16[16] memory input = getInput(seed);
      int16[96] memory layerOneOutput;
      // Layer one dense: 130w gas
      for (uint256 i=0; i<96; ++i){
          for (uint256 j=0; j<16; ++j){
              unchecked{
                  layerOneOutput[i] += int16((int32(input[j]) * int32(layerOneDenseWeights[j * 96 + i]) / 4096));
              }
          }
      }
      // Layer one batch normalization: 22w gas
      for (uint256 i=0; i<96; i++){
          unchecked{
              if (layerOneOutput[i] < 0){ // Relu
                  layerOneOutput[i] = 0;
              }
              layerOneOutput[i] -= layerOneBatchNormalizationMovingMean[i];
              layerOneOutput[i] = int16((int32(layerOneBatchNormalizationGamma[i]) * int32(layerOneOutput[i]) / 4096));
              layerOneOutput[i] += layerOneBatchNormalizationBeta[i];
          }
      }
      // Result: layerOneOutput[(i*2+j)*24+k] = layerOneOutput[i][j][k]
      // layerOneOutput: 2 x 2 x 24 = 96
      // In height, width, channel order
      // Layer 2: Transpose convolution with 2x2 matrix, output channel = 12
      int16[192] memory layerTwoOutput; // 4 x 4 x 12 = 192
      for (uint256 i=0; i<4; i+=2){
          for (uint256 j=0; j<4; j+=2){
              for (uint256 k=0; k<12; ++k){
                  for (uint256 l=0; l<24; ++l){
                      // layerTwoConvWeights: 2 x 2 x 12 x 24
                      unchecked{
                          layerTwoOutput[(i*4+j)*12+k] += int16(int32(layerOneOutput[(i+j/2)*24+l]) * int32(layerTwoConvWeights[k*24+l]) / 4096); // left top
                          layerTwoOutput[(i*4+j+1)*12+k] += int16(int32(layerOneOutput[(i+j/2)*24+l]) * int32(layerTwoConvWeights[(12+k)*24+l]) / 4096); // right top
                          layerTwoOutput[((i+1)*4+j)*12+k] += int16(int32(layerOneOutput[(i+j/2)*24+l]) * int32(layerTwoConvWeights[(24+k)*24+l]) / 4096); // left bottom
                          layerTwoOutput[((i+1)*4+j+1)*12+k] += int16(int32(layerOneOutput[(i+j/2)*24+l]) * int32(layerTwoConvWeights[(36+k)*24+l]) / 4096); // right bottom
                      }
                  }
              }
          }
      }
      // Layer 2: Batch normalization
      for (uint256 i=0; i<4; ++i){
          for (uint256 j=0; j<4; ++j){
              for (uint256 k=0; k<12; ++k){
                  uint256 index = ((i*4)+j)*12+k;
                  unchecked{
                      if (layerTwoOutput[index] < 0){ // Relu
                          layerTwoOutput[index] = 0;
                      }
                      layerTwoOutput[index] -= layerTwoBatchNormalizationMovingMean[k];
                      layerTwoOutput[index] = int16((int32(layerTwoBatchNormalizationGamma[k]) * int32(layerTwoOutput[index]) / 2096)); // gamma takes value up to 10. 3 bits is not enough. So we take 4 bits only in Gamma.
                      layerTwoOutput[index] += layerTwoBatchNormalizationBeta[k];
                  }
              }
          }
      }
      // Result: layerTwoOutput[(i*4+j)*12+k] = layerTwoOutput[i][j][k]
      // layerTwoOutput: 4 x 4 x 12
      // int16[192] memory layerTwoOutput; // 4 x 4 x 12 = 192
      // Layer 3: Transpose convolution with 3x3 matrix, output channel = 3
      int32[75] memory layerThreeOutput; // 5 x 5 x 3
      for (uint256 i=0; i<4; ++i){
          for (uint256 j=0; j<4; ++j){
              for (uint256 k=0; k<3; ++k){
                  for (uint256 l=0; l<12; ++l){
                      // layerThreeConvWeights: 2 x 2 x 3 x 12
                      unchecked{
                          layerThreeOutput[(i*5+j)*3+k] += int32(layerTwoOutput[(i*4+j)*12+l]) * int32(layerThreeConvWeights[k*12+l]) / 4096; // left top
                          layerThreeOutput[(i*5+j+1)*3+k] += int32(layerTwoOutput[(i*4+j)*12+l]) * int32(layerThreeConvWeights[(3+k)*12+l]) / 4096; // right top
                          layerThreeOutput[((i+1)*5+j)*3+k] += int32(layerTwoOutput[(i*4+j)*12+l]) * int32(layerThreeConvWeights[(6+k)*12+l]) / 4096; // left bottom
                          layerThreeOutput[((i+1)*5+j+1)*3+k] += int32(layerTwoOutput[(i*4+j)*12+l]) * int32(layerThreeConvWeights[(9+k)*12+l]) / 4096; // right bottom
                      }
                  }
              }
          }
      }
      // Sigmoid!
      for (uint256 i=0; i<5; ++i){
          for (uint256 j=0; j<5; ++j){
              for (uint256 k=0; k<3; ++k){
                  output[(i*5+j)*3+k] = uint8(logisticOutput(clip(layerThreeOutput[(i*5+j)*3+k]), 0, 255));
              }
          }
      }
  }
  function clip(int32 x) internal pure returns (int16){
      if (x > 32767){
          return 32767;
      }
      else if (x < -32768){
          return -32768;
      }
      return int16(x);
  }
  function logisticOutput(int16 x, uint256 start, uint256 end) internal view returns (uint256){
      if (start == end){
          if (logisticFunctionTable[start] <= x){
              return start;
          }
          else{
              return 300;
          }
      }
      uint256 m = (start + end) / 2;
      if (x < logisticFunctionTable[m]){
          return logisticOutput(x, start, m);
      }
      uint256 res = logisticOutput(x, m+1, end);
      if (res == 300){
          return m;
      }
      else{
          return res;
      }
  }
}

File 12 of 14 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

File 13 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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) {
        return msg.data;
    }
}

File 14 of 14 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","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":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"},{"inputs":[],"name":"DEV_MINTED","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_COLLECTION_SIZE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_RESERVED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","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":"tokenId","type":"uint256"}],"name":"changeRandomSeeds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"gif","type":"string"}],"name":"getAnimatedURI","outputs":[{"internalType":"string","name":"svg","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"seed1","type":"uint256"},{"internalType":"uint256","name":"seed2","type":"uint256"},{"internalType":"uint256","name":"seed3","type":"uint256"},{"internalType":"uint256","name":"delay","type":"uint256"}],"internalType":"struct GenerativeAdversarialNetwork.Seeds","name":"seeds","type":"tuple"}],"name":"getGIF","outputs":[{"internalType":"string","name":"result","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"seed1","type":"uint256"},{"internalType":"uint256","name":"seed2","type":"uint256"},{"internalType":"uint256","name":"seed3","type":"uint256"},{"internalType":"uint256","name":"delay","type":"uint256"}],"internalType":"struct GenerativeAdversarialNetwork.Seeds","name":"seeds","type":"tuple"}],"name":"getProperty","outputs":[{"internalType":"string","name":"property","type":"string"}],"stateMutability":"pure","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":[],"name":"mint","outputs":[],"stateMutability":"payable","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":"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":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"int16[]","name":"weights_","type":"int16[]"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"setWeights","outputs":[],"stateMutability":"nonpayable","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":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

612080604052617fff1960809081526163b71960a0526152131960c0526149d61960e0526144641961010090815261404e1961012052613d081961014052613a4b19610160526137f019610180526135df196101a052613407196101c05261325c196101e0526130d71961020052612f701961022052612e241961024052612cee1961026052612bcc1961028052612abb196102a0526129b9196102c0526128c4196102e0526127db19610300526126fd1961032052612628196103405261255c196103605261249819610380526123dc196103a052612326196103c052612277196103e0526121cd196104005261212919610420526120891961044052611fef1961046052611f581961048052611ec6196104a052611e37196104c052611dac196104e052611d251961050052611ca01961052052611c1f1961054052611ba01961056052611b241961058052611aab196105a052611a34196105c0526119bf196105e05261194c19610600526118dc196106205261186d19610640526118001961066052611796196106805261172d196106a0526116c5196106c05261165f196106e0526115fb1961070052611598196107205261153619610740526114d619610760526114771961078052611419196107a0526113bd196107c052611361196107e05261130719610800526112ae196108205261125619610840526111fe19610860526111a81961088052611152196108a0526110fe196108c0526110aa196108e05261105719610900526110051961092052610fb41961094052610f631961096052610f131961098052610ec4196109a052610e75196109c052610e27196109e052610dda19610a0052610d8d19610a2052610d4119610a4052610cf519610a6052610caa19610a8052610c5f19610aa052610c1519610ac052610bcc19610ae052610b8319610b0052610b3a19610b2052610af219610b4052610aaa19610b6052610a6219610b8052610a1b19610ba0526109d419610bc05261098e19610be05261094819610c005261090219610c20526108bd19610c405261087819610c605261083319610c80526107ef19610ca0526107ab19610cc05261076719610ce05261072319610d00526106e019610d205261069d19610d405261065a19610d605261061719610d80526105d519610da05261059219610dc05261055019610de05261050e19610e00526104cc19610e205261048b19610e405261044919610e605261040819610e80526103c719610ea05261038619610ec05261034519610ee05261030419610f00526102c319610f205261028219610f405261024219610f605261020119610f80526101c119610fa05261018019610fc05261014019610fe052610100196110005260bf1961102052607f1961104052603f196110605260006110805260416110a05260816110c05260c16110e05261010261110090815261014261112052610182611140526101c361116052610203611180526102446111a0526102846111c0526102c56111e05261030661120090815261034761122052610388611240526103c96112605261040a6112805261044b6112a05261048d6112c0526104ce6112e0526105106113005261055261132052610594611340526105d7611360526106196113805261065c6113a05261069f6113c0526106e26113e05261072561140052610769611420526107ad611440526107f1611460526108356114805261087a6114a0526108bf6114c0526109046114e05261094a61150052610990611520526109d661154052610a1d61156052610a6461158052610aac6115a052610af46115c052610b3c6115e052610b8561160052610bce61162052610c1761164052610c6161166052610cac61168052610cf76116a052610d436116c052610d8f6116e052610ddc61170052610e2961172052610e7761174052610ec661176052610f1561178052610f656117a052610fb66117c0526110076117e052611059611800526110ac6118205261184091909152611154611860526111aa611880526118a0526112586118c0526112b06118e05261130961190052611363611920526113bf6119405261141b61196052611479611980526114d86119a0526115386119c05261159a6119e0526115fd611a0052611661611a20526116c7611a405261172f611a6052611798611a8052611802611aa05261186f611ac0526118de611ae05261194e611b00526119c1611b2052611a36611b4052611aad611b6052611b26611b8052611ba2611ba052611c21611bc052611ca2611be052611d27611c0052611dae611c2052611e39611c4052611ec8611c6052611f5a611c8052611ff1611ca05261208b611cc05261212b611ce0526121cf611d0052612279611d2052612328611d40526123de611d605261249a611d805261255e611da05261262a611dc0526126ff611de0526127dd611e00526128c6611e20526129bb611e4052612abd611e6052612bce611e8052612cf0611ea052612e26611ec052612f72611ee0526130d9611f005261325e611f2052613409611f40526135e1611f60526137f2611f8052613a4d611fa052613d0a611fc052614050611fe052614466612000526149d861202052615215612040526163b9612060526200078d91601391620009eb565b5060646014556103e76015556618838370f340006016556017805460ff19169055348015620007bb57600080fd5b50604080518082018252600e81526d24b721b430b4b72832b832a3a0a760911b602080830191909152825180840190935260078352662832b832a3a0a760c91b9083015290733cc6cdda760b79bafa08df41ecfa224f810dceb660016daaeb6d7670e522a718067333cd4e3b156200095c578015620008aa57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200088b57600080fd5b505af1158015620008a0573d6000803e3d6000fd5b505050506200095c565b6001600160a01b03821615620008fb5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000870565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200094257600080fd5b505af115801562000957573d6000803e3d6000fd5b505050505b50600290506200096d838262000b5a565b5060036200097c828262000b5a565b506000805550506001600855620009933362000999565b62000c26565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805482825590600052602060002090600f0160109004810192821562000a8c5791602002820160005b8382111562000a5a57835183826101000a81548161ffff021916908360010b61ffff160217905550926020019260020160208160010104928301926001030262000a15565b801562000a8a5782816101000a81549061ffff021916905560020160208160010104928301926001030262000a5a565b505b5062000a9a92915062000a9e565b5090565b5b8082111562000a9a576000815560010162000a9f565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000ae057607f821691505b60208210810362000b0157634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000b5557600081815260208120601f850160051c8101602086101562000b305750805b601f850160051c820191505b8181101562000b515782815560010162000b3c565b5050505b505050565b81516001600160401b0381111562000b765762000b7662000ab5565b62000b8e8162000b87845462000acb565b8462000b07565b602080601f83116001811462000bc6576000841562000bad5750858301515b600019600386901b1c1916600185901b17855562000b51565b600085815260208120601f198616915b8281101562000bf75788860151825594840194600190910190840162000bd6565b508582101562000c165787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b613e598062000c366000396000f3fe6080604052600436106101cd5760003560e01c8063715018a6116100f7578063a22cb46511610095578063c87b56dd11610064578063c87b56dd146104b0578063e985e9c5146104d0578063ec029b6a146104f0578063f2fde38b1461050a57600080fd5b8063a22cb46514610447578063b88d4fde14610467578063c002d23d1461047a578063c40509f01461049057600080fd5b80637c69e207116100d15780637c69e207146103df5780638da5cb5b146103f457806391e442f21461041257806395d89b411461043257600080fd5b8063715018a61461039457806379234b34146103a95780637ae84f7f146103c957600080fd5b806323b872dd1161016f57806342842e0e1161013e57806342842e0e146103215780635304df1c146103345780636352211e1461035457806370a082311461037457600080fd5b806323b872dd146102c15780633ccfd60b146102d45780634035cc6c146102e957806341f43434146102ff57600080fd5b8063081812fc116101ab578063081812fc1461024b578063095ea7b3146102835780631249c58b1461029657806318160ddd1461029e57600080fd5b806301ffc9a7146101d257806306fdde0314610207578063077f5bff14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed3660046130ca565b61052a565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c61057c565b6040516101fe9190613137565b34801561023557600080fd5b50610249610244366004613191565b61060e565b005b34801561025757600080fd5b5061026b610266366004613250565b610a89565b6040516001600160a01b0390911681526020016101fe565b610249610291366004613285565b610acd565b610249610ae1565b3480156102aa57600080fd5b50600154600054035b6040519081526020016101fe565b6102496102cf3660046132af565b610c06565b3480156102e057600080fd5b50610249610c31565b3480156102f557600080fd5b506102b360155481565b34801561030b57600080fd5b5061026b6daaeb6d7670e522a718067333cd4e81565b61024961032f3660046132af565b610cc4565b34801561034057600080fd5b5061021c61034f3660046132eb565b610ce9565b34801561036057600080fd5b5061026b61036f366004613250565b610e44565b34801561038057600080fd5b506102b361038f366004613351565b610e4f565b3480156103a057600080fd5b50610249610e9e565b3480156103b557600080fd5b506102496103c4366004613250565b610eb2565b3480156103d557600080fd5b506102b360145481565b3480156103eb57600080fd5b50610249610f31565b34801561040057600080fd5b506009546001600160a01b031661026b565b34801561041e57600080fd5b5061021c61042d3660046133c4565b610f94565b34801561043e57600080fd5b5061021c610fd0565b34801561045357600080fd5b5061024961046236600461341b565b610fdf565b610249610475366004613452565b610ff3565b34801561048657600080fd5b506102b360165481565b34801561049c57600080fd5b5061021c6104ab3660046132eb565b611020565b3480156104bc57600080fd5b5061021c6104cb366004613250565b6110f9565b3480156104dc57600080fd5b506101f26104eb3660046134ce565b611202565b3480156104fc57600080fd5b506017546101f29060ff1681565b34801561051657600080fd5b50610249610525366004613351565b611230565b60006301ffc9a760e01b6001600160e01b03198316148061055b57506380ac58cd60e01b6001600160e01b03198316145b806105765750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461058b90613501565b80601f01602080910402602001604051908101604052809291908181526020018280546105b790613501565b80156106045780601f106105d957610100808354040283529160200191610604565b820191906000526020600020905b8154815290600101906020018083116105e757829003601f168201915b5050505050905090565b8060000361068d5760005b825181101561068b57600a83828151811061063657610636613535565b602090810291909101810151825460018101845560009384529190922060108204018054600f9092166002026101000a61ffff81810219909316929093169290920217905561068481613561565b9050610619565b505b8060010361070c5760005b825181101561070a57600b8382815181106106b5576106b5613535565b602090810291909101810151825460018101845560009384529190922060108204018054600f9092166002026101000a61ffff81810219909316929093169290920217905561070381613561565b9050610698565b505b8060020361078b5760005b825181101561078957600c83828151811061073457610734613535565b602090810291909101810151825460018101845560009384529190922060108204018054600f9092166002026101000a61ffff81810219909316929093169290920217905561078281613561565b9050610717565b505b8060030361080a5760005b825181101561080857600d8382815181106107b3576107b3613535565b602090810291909101810151825460018101845560009384529190922060108204018054600f9092166002026101000a61ffff81810219909316929093169290920217905561080181613561565b9050610796565b505b806004036108895760005b825181101561088757600e83828151811061083257610832613535565b602090810291909101810151825460018101845560009384529190922060108204018054600f9092166002026101000a61ffff81810219909316929093169290920217905561088081613561565b9050610815565b505b806005036109085760005b825181101561090657600f8382815181106108b1576108b1613535565b602090810291909101810151825460018101845560009384529190922060108204018054600f9092166002026101000a61ffff8181021990931692909316929092021790556108ff81613561565b9050610894565b505b806006036109875760005b825181101561098557601083828151811061093057610930613535565b602090810291909101810151825460018101845560009384529190922060108204018054600f9092166002026101000a61ffff81810219909316929093169290920217905561097e81613561565b9050610913565b505b80600703610a065760005b8251811015610a045760118382815181106109af576109af613535565b602090810291909101810151825460018101845560009384529190922060108204018054600f9092166002026101000a61ffff8181021990931692909316929092021790556109fd81613561565b9050610992565b505b80600803610a855760005b8251811015610a83576012838281518110610a2e57610a2e613535565b602090810291909101810151825460018101845560009384529190922060108204018054600f9092166002026101000a61ffff818102199093169290931692909202179055610a7c81613561565b9050610a11565b505b5050565b6000610a94826112a6565b610ab1576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81610ad7816112cd565b610a838383611386565b6000610af06001546000540390565b601554909150610b0182600161357a565b1115610b495760405162461bcd60e51b815260206004820152601260248201527152656163686564206d617820737570706c7960701b60448201526064015b60405180910390fd5b33600090815260056020526040908190205467ffffffffffffffff911c1615610bad5760405162461bcd60e51b81526020600482015260166024820152754d61782031206d696e74207065722077616c6c65742160501b6044820152606401610b40565b601654341015610bf85760405162461bcd60e51b815260206004820152601660248201527509ad2dce840e0e4d2c6ca7440605c60606c7240cae8d60531b6044820152606401610b40565b610c03336001611426565b50565b826001600160a01b0381163314610c2057610c20336112cd565b610c2b848484611440565b50505050565b610c396115d8565b604051600090339047908381818185875af1925050503d8060008114610c7b576040519150601f19603f3d011682016040523d82523d6000602084013e610c80565b606091505b5050905080610c035760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610b40565b826001600160a01b0381163314610cde57610cde336112cd565b610c2b848484611632565b604080518082018252600681526547494638396160d01b6020808301919091528251808401845260078152635000500360dc1b8183015283518085018552601381526f21ff0b4e45545343415045322e30030160801b81840152845180860190955260018552603b60f81b92850192909252845160609491929190600090610d7e90610d749061164d565b88606001516121e0565b90506000610d9c610d92896020015161164d565b89606001516121e0565b90506000610dba610db08a6040015161164d565b8a606001516121e0565b9050600083838385604051602001610dd5949392919061358d565b6040516020818303038152906040529050610e168888888489604051602001610e029594939291906135e4565b604051602081830303815290604052612347565b604051602001610e26919061364f565b60405160208183030381529060405298505050505050505050919050565b60006105768261249a565b60006001600160a01b038216610e78576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610ea66115d8565b610eb06000612508565b565b33610ebc82610e44565b6001600160a01b031614610f025760405162461bcd60e51b815260206004820152600d60248201526c2737ba103a34329037bbb732b960991b6044820152606401610b40565b6107d060188261044c8110610f1957610f19613535565b016000828254610f29919061357a565b909155505050565b610f396115d8565b60175460ff1615610f7a5760405162461bcd60e51b815260206004820152600b60248201526a446576206d696e7465642160a81b6044820152606401610b40565b610f85336064611426565b6017805460ff19166001179055565b6060610faa82604051602001610e02919061368d565b604051602001610fba9190613769565b6040516020818303038152906040529050919050565b60606003805461058b90613501565b81610fe9816112cd565b610a83838361255a565b836001600160a01b038116331461100d5761100d336112cd565b611019858585856125c6565b5050505050565b60606110566040518060400160405280600681526020016553656564203160d01b815250611051846000015161260a565b61269d565b6110856040518060400160405280600681526020016529b2b2b2101960d11b815250611051856020015161260a565b6110b46040518060400160405280600681526020016553656564203360d01b815250611051866040015161260a565b6110e66040518060400160405280600981526020016844656c6179286d732960b81b815250611051876060015161260a565b604051602001610fba94939291906137ae565b606060006111068361260a565b6040516020016111169190613826565b60408051601f19818403018152828201909152601c82527f4e65772077617920746f207075742061727420696e20636861696e2e0000000060208301529150600060188561044c811061116b5761116b613535565b0154111561118c5760188461044c811061118757611187613535565b015493505b6000611197856126c9565b905060006111a482610ce9565b905060006111b182610f94565b90506111d785856111c186611020565b8585604051602001610e02959493929190613857565b6040516020016111e79190613968565b60405160208183030381529060405295505050505050919050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6112386115d8565b6001600160a01b03811661129d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b40565b610c0381612508565b6000805482108015610576575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15610c0357604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561133a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061135e91906139ad565b610c0357604051633b79c77360e21b81526001600160a01b0382166004820152602401610b40565b600061139182610e44565b9050336001600160a01b038216146113ca576113ad8133611202565b6113ca576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610a85828260405180602001604052806000815250612925565b600061144b8261249a565b9050836001600160a01b0316816001600160a01b03161461147e5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176114cb576114ae8633611202565b6114cb57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166114f257604051633a954ecd60e21b815260040160405180910390fd5b80156114fd57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b8416900361158f5760018401600081815260046020526040812054900361158d57600054811461158d5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6009546001600160a01b03163314610eb05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b40565b610a8383838360405180602001604052806000815250610ff3565b611655613038565b60006116608361298b565b905061166a613057565b60005b60608110156117305760005b601081101561171f57611000600a8383606002018154811061169d5761169d613535565b90600052602060002090601091828204019190066002029054906101000a900460010b60010b8583601081106116d5576116d5613535565b602002015160010b0260030b816116ee576116ee6139ca565b0583836060811061170157611701613535565b60200201805190910160010b905261171881613561565b9050611679565b5061172981613561565b905061166d565b5060005b60608110156118c357600082826060811061175157611751613535565b602002015160010b121561178157600082826060811061177357611773613535565b60019290920b602090920201525b600c818154811061179457611794613535565b90600052602060002090601091828204019190066002029054906101000a900460010b8282606081106117c9576117c9613535565b6020020180519190910360010b90526110008282606081106117ed576117ed613535565b602002015160010b600b838154811061180857611808613535565b60009182526020909120601082040154600f9091166002026101000a900460010b0260030b8161183a5761183a6139ca565b0582826060811061184d5761184d613535565b60019290920b60209092020152600d80548290811061186e5761186e613535565b90600052602060002090601091828204019190066002029054906101000a900460010b8282606081106118a3576118a3613535565b60200201805190910160010b9052806118bb81613561565b915050611734565b506118cc613076565b60005b6004811015611bd85760005b6004811015611bc55760005b600c811015611bb25760005b6018811015611ba157611000600e8284601802018154811061191757611917613535565b600091825260209091206010820401546002600f90921682026101000a900460010b908890849087048801601802016060811061195657611956613535565b602002015160010b0260030b8161196f5761196f6139ca565b058583858760040201600c020160c0811061198c5761198c613535565b60200201805190910160010b9052600e805461100091906018600c86010284019081106119bb576119bb613535565b600091825260209091206010820401546002600f90921682026101000a900460010b90889084908704880160180201606081106119fa576119fa613535565b602002015160010b0260030b81611a1357611a136139ca565b058583858760040201600101600c020160c08110611a3357611a33613535565b60200201805190910160010b9052600e805461100091906018808601028401908110611a6157611a61613535565b600091825260209091206010820401546002600f90921682026101000a900460010b9088908490870488016018020160608110611aa057611aa0613535565b602002015160010b0260030b81611ab957611ab96139ca565b058583858760010160040201600c020160c08110611ad957611ad9613535565b60200201805190910160010b9052600e80546110009190601860248601028401908110611b0857611b08613535565b600091825260209091206010820401546002600f90921682026101000a900460010b9088908490870488016018020160608110611b4757611b47613535565b602002015160010b0260030b81611b6057611b606139ca565b058583858760010160040201600101600c020160c08110611b8357611b83613535565b60200201805190910160010b9052611b9a81613561565b90506118f3565b50611bab81613561565b90506118e7565b50611bbe60028261357a565b90506118db565b50611bd160028261357a565b90506118cf565b5060005b6004811015611dd45760005b6004811015611dc35760005b600c811015611db25760008183611c0c8660046139e0565b611c16919061357a565b611c2190600c6139e0565b611c2b919061357a565b90506000858260c08110611c4157611c41613535565b602002015160010b1215611c71576000858260c08110611c6357611c63613535565b60019290920b602090920201525b60108281548110611c8457611c84613535565b90600052602060002090601091828204019190066002029054906101000a900460010b858260c08110611cb957611cb9613535565b6020020180519190910360010b9052610830858260c08110611cdd57611cdd613535565b602002015160010b600f8481548110611cf857611cf8613535565b60009182526020909120601082040154600f9091166002026101000a900460010b0260030b81611d2a57611d2a6139ca565b05858260c08110611d3d57611d3d613535565b60019290920b602090920201526011805483908110611d5e57611d5e613535565b90600052602060002090601091828204019190066002029054906101000a900460010b858260c08110611d9357611d93613535565b60200201805190910160010b905250611dab81613561565b9050611bf4565b50611dbc81613561565b9050611be8565b50611dcd81613561565b9050611bdc565b50611ddd613038565b60005b60048110156120df5760005b60048110156120ce5760005b60038110156120bd5760005b600c8110156120ac5761100060128284600c020181548110611e2857611e28613535565b60009182526020909120601082040154600f9091166002026101000a900460010b87600487028601600c02840160c08110611e6557611e65613535565b602002015160010b0260030b81611e7e57611e7e6139ca565b05858385876005020160030201604b8110611e9b57611e9b613535565b602002018051909101600390810b9091526012805461100092600c908601028401908110611ecb57611ecb613535565b60009182526020909120601082040154600f9091166002026101000a900460010b87600487028601600c02840160c08110611f0857611f08613535565b602002015160010b0260030b81611f2157611f216139ca565b05858385876005020160010160030201604b8110611f4157611f41613535565b60200201805190910160030b9052601280546110009190600c60068601028401908110611f7057611f70613535565b60009182526020909120601082040154600f9091166002026101000a900460010b87600487028601600c02840160c08110611fad57611fad613535565b602002015160010b0260030b81611fc657611fc66139ca565b05858385876001016005020160030201604b8110611fe657611fe6613535565b60200201805190910160030b9052601280546110009190600c6009860102840190811061201557612015613535565b60009182526020909120601082040154600f9091166002026101000a900460010b87600487028601600c02840160c0811061205257612052613535565b602002015160010b0260030b8161206b5761206b6139ca565b05858385876001016005020160010160030201604b811061208e5761208e613535565b60200201805190910160030b90526120a581613561565b9050611e04565b506120b681613561565b9050611df8565b506120c781613561565b9050611dec565b506120d881613561565b9050611de0565b5060005b60058110156121d65760005b60058110156121c55760005b60038110156121b45761215a6121518583856121188860056139e0565b612122919061357a565b61212d9060036139e0565b612137919061357a565b604b811061214757612147613535565b60200201516129ee565b600060ff612a22565b8882846121688760056139e0565b612172919061357a565b61217d9060036139e0565b612187919061357a565b604b811061219757612197613535565b60ff90921660209290920201526121ad81613561565b90506120fb565b506121be81613561565b90506120ef565b506121cf81613561565b90506120e3565b5050505050919050565b60405163087e410160e21b60208201526001600160f81b031960f883901b1660248201526000602582018190526026820181905260609160280160408051601f19818403018152828201909152600a8252692c00000000050005008560b01b6020830152915060006122528682612b1b565b61225d87600c612b1b565b612268886018612b1b565b612273896024612b1b565b61227e8a6030612b1b565b6122898b603c612b1b565b6109008c01516109208d01516109408e01516040516122b399989796959493929190602001613a08565b60405160208183030381529060405290508282826122d16000612cba565b6122db6005612cba565b6122e5600a612cba565b6122ef600f612cba565b6122f96014612cba565b60405160200161230d9594939291906135e4565b60408051601f198184030181529082905261232d94939291602001613ad2565b604051602081830303815290604052935050505092915050565b6060815160000361236657505060408051602081019091526000815290565b6000604051806060016040528060408152602001613de46040913990506000600384516002612395919061357a565b61239f9190613b4c565b6123aa9060046139e0565b67ffffffffffffffff8111156123c2576123c261314a565b6040519080825280601f01601f1916602001820160405280156123ec576020820181803683370190505b509050600182016020820185865187015b80821015612458576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f81168501518453506001830192506123fd565b505060038651066001811461247457600281146124875761248f565b603d6001830353603d600283035361248f565b603d60018303535b509195945050505050565b6000816000548110156124ef5760008181526004602052604081205490600160e01b821690036124ed575b806000036124e65750600019016000818152600460205260409020546124c5565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6125d1848484610c06565b6001600160a01b0383163b15610c2b576125ed84848484612d3a565b610c2b576040516368d2bf6b60e11b815260040160405180910390fd5b6060600061261783612e26565b600101905060008167ffffffffffffffff8111156126375761263761314a565b6040519080825280601f01601f191660200182016040528015612661576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461266b57509392505050565b606082826040516020016126b2929190613b60565b604051602081830303815290604052905092915050565b6126f46040518060800160405280600081526020016000815260200160008152602001600081525090565b600061271f60405180604001604052806007815260200166029b2b2b2189d160cd1b81525084612efe565b9050600061274c60405180604001604052806007815260200166029b2b2b2191d160cd1b81525085612efe565b9050605a6127796040518060400160405280600781526020016602232b630bc9d160cd1b81525086612efe565b6127839190613bec565b61278e90600a61357a565b606084018190526000906127a490600290613b4c565b6127af90600f61357a565b8385526020850184905260408501849052905060006127cf8260c8613c00565b6127db9061fffa613c26565b905060006127ea8360c8613c00565b905060005b601081101561291a5760006128058260106139e0565b87901c905060006128178360106139e0565b87901c90508061ffff168261ffff1610801561283a57508461ffff168261ffff16105b8061284c57508361ffff168261ffff16105b156128ae5761285c8360106139e0565b6128678760646139e0565b901b8960200181815161287a919061357a565b9052506128888360106139e0565b6128938760c86139e0565b901b896040018181516128a6919061357a565b905250612907565b6128b98360106139e0565b6128c48760646139e0565b901b896020018181516128d79190613c48565b9052506128e58360106139e0565b6128f08760c86139e0565b901b896040018181516129039190613c48565b9052505b50508061291390613561565b90506127ef565b505050505050919050565b61292f8383612f3a565b6001600160a01b0383163b15610a83576000548281035b6129596000868380600101945086612d3a565b612976576040516368d2bf6b60e11b815260040160405180910390fd5b81811061294657816000541461101957600080fd5b612993613095565b60005b60108110156129e85760086129ac8260106139e0565b84901c6129b99190613c5b565b8282601081106129cb576129cb613535565b60019290920b602090920201526129e181613561565b9050612996565b50919050565b6000617fff8260030b1315612a065750617fff919050565b617fff198260030b1215612a1e5750617fff19919050565b5090565b6000818303612a78578360010b60138481548110612a4257612a42613535565b60009182526020909120601082040154600f9091166002026101000a900460010b13612a6f5750816124e6565b5061012c6124e6565b60006002612a86848661357a565b612a909190613b4c565b905060138181548110612aa557612aa5613535565b90600052602060002090601091828204019190066002029054906101000a900460010b60010b8560010b1215612ae857612ae0858583612a22565b9150506124e6565b6000612aff86612af984600161357a565b86612a22565b90508061012c03612b12575090506124e6565b91506124e69050565b60608282604b8110612b2f57612b2f613535565b602002015183612b4084600161357a565b604b8110612b5057612b50613535565b602002015184612b6185600261357a565b604b8110612b7157612b71613535565b602002015185612b8286600361357a565b604b8110612b9257612b92613535565b602002015186612ba387600461357a565b604b8110612bb357612bb3613535565b602002015187612bc488600561357a565b604b8110612bd457612bd4613535565b602002015188612be589600661357a565b604b8110612bf557612bf5613535565b602002015189612c068a600761357a565b604b8110612c1657612c16613535565b60200201518a612c278b600861357a565b604b8110612c3757612c37613535565b60200201518b612c488c600961357a565b604b8110612c5857612c58613535565b60200201518c612c698d600a61357a565b604b8110612c7957612c79613535565b60200201518d612c8a8e600b61357a565b604b8110612c9a57612c9a613535565b60200201516040516020016126b29c9b9a99989796959493929190613c94565b606081612cc8816001613d41565b612cd3846002613d41565b612cde856003613d41565b612ce9866004613d41565b604051600d60f71b60208201526001600160f81b031960f896871b8116602283015294861b8516602382015292851b8416602484015290841b8316602583015290921b166026820152602701610fba565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612d6f903390899088908890600401613d5a565b6020604051808303816000875af1925050508015612daa575060408051601f3d908101601f19168201909252612da791810190613d97565b60015b612e08573d808015612dd8576040519150601f19603f3d011682016040523d82523d6000602084013e612ddd565b606091505b508051600003612e00576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612e655772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612e91576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612eaf57662386f26fc10000830492506010015b6305f5e1008310612ec7576305f5e100830492506008015b6127108310612edb57612710830492506004015b60648310612eed576064830492506002015b600a83106105765760010192915050565b600082612f0a8361260a565b604051602001612f1b929190613db4565b60408051601f1981840301815291905280516020909101209392505050565b6000805490829003612f5f5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461300e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101612fd6565b508160000361302f57604051622e076360e81b815260040160405180910390fd5b60005550610a83565b604051806109600160405280604b906020820280368337509192915050565b60405180610c0001604052806060906020820280368337509192915050565b60405180611800016040528060c0906020820280368337509192915050565b6040518061020001604052806010906020820280368337509192915050565b6001600160e01b031981168114610c0357600080fd5b6000602082840312156130dc57600080fd5b81356124e6816130b4565b60005b838110156131025781810151838201526020016130ea565b50506000910152565b600081518084526131238160208601602086016130e7565b601f01601f19169290920160200192915050565b6020815260006124e6602083018461310b565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156131895761318961314a565b604052919050565b600080604083850312156131a457600080fd5b823567ffffffffffffffff808211156131bc57600080fd5b818501915085601f8301126131d057600080fd5b81356020828211156131e4576131e461314a565b8160051b92506131f5818401613160565b828152928401810192818101908985111561320f57600080fd5b948201945b8486101561324057853593508360010b84146132305760008081fd5b8382529482019490820190613214565b9997909101359750505050505050565b60006020828403121561326257600080fd5b5035919050565b80356001600160a01b038116811461328057600080fd5b919050565b6000806040838503121561329857600080fd5b6132a183613269565b946020939093013593505050565b6000806000606084860312156132c457600080fd5b6132cd84613269565b92506132db60208501613269565b9150604084013590509250925092565b6000608082840312156132fd57600080fd5b6040516080810181811067ffffffffffffffff821117156133205761332061314a565b8060405250823581526020830135602082015260408301356040820152606083013560608201528091505092915050565b60006020828403121561336357600080fd5b6124e682613269565b600067ffffffffffffffff8311156133865761338661314a565b613399601f8401601f1916602001613160565b90508281528383830111156133ad57600080fd5b828260208301376000602084830101529392505050565b6000602082840312156133d657600080fd5b813567ffffffffffffffff8111156133ed57600080fd5b8201601f810184136133fe57600080fd5b612e1e8482356020840161336c565b8015158114610c0357600080fd5b6000806040838503121561342e57600080fd5b61343783613269565b915060208301356134478161340d565b809150509250929050565b6000806000806080858703121561346857600080fd5b61347185613269565b935061347f60208601613269565b925060408501359150606085013567ffffffffffffffff8111156134a257600080fd5b8501601f810187136134b357600080fd5b6134c28782356020840161336c565b91505092959194509250565b600080604083850312156134e157600080fd5b6134ea83613269565b91506134f860208401613269565b90509250929050565b600181811c9082168061351557607f821691505b6020821081036129e857634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016135735761357361354b565b5060010190565b808201808211156105765761057661354b565b6000855161359f818460208a016130e7565b8551908301906135b3818360208a016130e7565b85519101906135c68183602089016130e7565b84519101906135d98183602088016130e7565b019695505050505050565b600086516135f6818460208b016130e7565b86519083019061360a818360208b016130e7565b865191019061361d818360208a016130e7565b85519101906136308183602089016130e7565b84519101906136438183602088016130e7565b01979650505050505050565b7519185d184e9a5b5859d94bd9da598ed8985cd94d8d0b60521b8152600082516136808160168501602087016130e7565b9190910160160192915050565b7f3c7376672077696474683d273130302527206865696768743d2731303025272081527f786d6c6e733d27687474703a2f2f7777772e77332e6f72672f323030302f737660208201527067273e203c696d61676520687265663d2760781b6040820152600082516137058160518501602087016130e7565b7f27206865696768743d2731303025272077696474683d27313030252720696d6160519390910192830152507f67652d72656e646572696e673d27706978656c6174656427202f3e3c2f7376676071820152601f60f91b6091820152609201919050565b7f646174613a696d6167652f7376672b786d6c3b6261736536342c0000000000008152600082516137a181601a8501602087016130e7565b91909101601a0192915050565b600085516137c0818460208a016130e7565b8083019050600b60fa1b80825286516137e0816001850160208b016130e7565b6001920191820181905285516137fd816002850160208a016130e7565b600292019182015283516138188160038401602088016130e7565b016003019695505050505050565b6847414e50657065202360b81b81526000825161384a8160098501602087016130e7565b9190910160090192915050565b683d913730b6b2911d1160b91b8152855160009061387c816009850160208b016130e7565b72111610113232b9b1b934b83a34b7b7111d101160691b60099184019182015286516138af81601c840160208b016130e7565b71222c202261747472696275746573223a205b60701b601c929091019182015285516138e281602e840160208a016130e7565b6b2e96101134b6b0b3b2911d1160a11b602e9290910191820152845161390f81603a8401602089016130e7565b731116101130b734b6b0ba34b7b72fbab936111d1160611b603a9290910191820152835161394481604e8401602088016130e7565b61395b604e8284010161227d60f01b815260020190565b9998505050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152600082516139a081601d8501602087016130e7565b91909101601d0192915050565b6000602082840312156139bf57600080fd5b81516124e68161340d565b634e487b7160e01b600052601260045260246000fd5b80820281158282048414176105765761057661354b565b60f81b6001600160f81b0319169052565b60008a51613a1a818460208f016130e7565b8a5190830190613a2e818360208f016130e7565b8a51910190613a41818360208e016130e7565b8951910190613a54818360208d016130e7565b8851910190613a67818360208c016130e7565b8751910190613a7a818360208b016130e7565b6001600160f81b031960f897881b81169190920190815294861b811660018601529290941b90911660028301525060006003820181905260238201819052604382018190526063820152607801979650505050505050565b60008551613ae4818460208a016130e7565b855190830190613af8818360208a016130e7565b8551910190613b0b8183602089016130e7565b600760f81b91019081528351613b288160018401602088016130e7565b61018160f01b60019290910191820152600060038201526004019695505050505050565b600082613b5b57613b5b6139ca565b500490565b7f7b22646973706c61795f74797065223a226e756d626572222c2274726169745f8152663a3cb832911d1160c91b602082015260008351613ba88160278501602088016130e7565b691116113b30b63ab2911d60b11b6027918401918201528351613bd28160318401602088016130e7565b607d60f81b60319290910191820152603201949350505050565b600082613bfb57613bfb6139ca565b500690565b61ffff818116838216028082169190828114613c1e57613c1e61354b565b505092915050565b61ffff828116828216039080821115613c4157613c4161354b565b5092915050565b818103818111156105765761057661354b565b60008160010b8360010b80613c7257613c726139ca565b617fff19821460001982141615613c8b57613c8b61354b565b90059392505050565b6001600160f81b031960f88e811b821683528d811b821660018401528c811b821660028401528b901b1660038201526000613cd2600483018b6139f7565b613cdf600583018a6139f7565b613cec60068301896139f7565b613cf960078301886139f7565b613d0660088301876139f7565b613d1360098301866139f7565b613d20600a8301856139f7565b613d2d600b8301846139f7565b50600c019c9b505050505050505050505050565b60ff81811683821601908111156105765761057661354b565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613d8d9083018461310b565b9695505050505050565b600060208284031215613da957600080fd5b81516124e6816130b4565b60008351613dc68184602088016130e7565b835190830190613dda8183602088016130e7565b0194935050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220fc14df961c095a4f2da26ae5a302ced850862da211f49b4df4854353287f349264736f6c63430008110033

Deployed Bytecode

0x6080604052600436106101cd5760003560e01c8063715018a6116100f7578063a22cb46511610095578063c87b56dd11610064578063c87b56dd146104b0578063e985e9c5146104d0578063ec029b6a146104f0578063f2fde38b1461050a57600080fd5b8063a22cb46514610447578063b88d4fde14610467578063c002d23d1461047a578063c40509f01461049057600080fd5b80637c69e207116100d15780637c69e207146103df5780638da5cb5b146103f457806391e442f21461041257806395d89b411461043257600080fd5b8063715018a61461039457806379234b34146103a95780637ae84f7f146103c957600080fd5b806323b872dd1161016f57806342842e0e1161013e57806342842e0e146103215780635304df1c146103345780636352211e1461035457806370a082311461037457600080fd5b806323b872dd146102c15780633ccfd60b146102d45780634035cc6c146102e957806341f43434146102ff57600080fd5b8063081812fc116101ab578063081812fc1461024b578063095ea7b3146102835780631249c58b1461029657806318160ddd1461029e57600080fd5b806301ffc9a7146101d257806306fdde0314610207578063077f5bff14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed3660046130ca565b61052a565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c61057c565b6040516101fe9190613137565b34801561023557600080fd5b50610249610244366004613191565b61060e565b005b34801561025757600080fd5b5061026b610266366004613250565b610a89565b6040516001600160a01b0390911681526020016101fe565b610249610291366004613285565b610acd565b610249610ae1565b3480156102aa57600080fd5b50600154600054035b6040519081526020016101fe565b6102496102cf3660046132af565b610c06565b3480156102e057600080fd5b50610249610c31565b3480156102f557600080fd5b506102b360155481565b34801561030b57600080fd5b5061026b6daaeb6d7670e522a718067333cd4e81565b61024961032f3660046132af565b610cc4565b34801561034057600080fd5b5061021c61034f3660046132eb565b610ce9565b34801561036057600080fd5b5061026b61036f366004613250565b610e44565b34801561038057600080fd5b506102b361038f366004613351565b610e4f565b3480156103a057600080fd5b50610249610e9e565b3480156103b557600080fd5b506102496103c4366004613250565b610eb2565b3480156103d557600080fd5b506102b360145481565b3480156103eb57600080fd5b50610249610f31565b34801561040057600080fd5b506009546001600160a01b031661026b565b34801561041e57600080fd5b5061021c61042d3660046133c4565b610f94565b34801561043e57600080fd5b5061021c610fd0565b34801561045357600080fd5b5061024961046236600461341b565b610fdf565b610249610475366004613452565b610ff3565b34801561048657600080fd5b506102b360165481565b34801561049c57600080fd5b5061021c6104ab3660046132eb565b611020565b3480156104bc57600080fd5b5061021c6104cb366004613250565b6110f9565b3480156104dc57600080fd5b506101f26104eb3660046134ce565b611202565b3480156104fc57600080fd5b506017546101f29060ff1681565b34801561051657600080fd5b50610249610525366004613351565b611230565b60006301ffc9a760e01b6001600160e01b03198316148061055b57506380ac58cd60e01b6001600160e01b03198316145b806105765750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461058b90613501565b80601f01602080910402602001604051908101604052809291908181526020018280546105b790613501565b80156106045780601f106105d957610100808354040283529160200191610604565b820191906000526020600020905b8154815290600101906020018083116105e757829003601f168201915b5050505050905090565b8060000361068d5760005b825181101561068b57600a83828151811061063657610636613535565b602090810291909101810151825460018101845560009384529190922060108204018054600f9092166002026101000a61ffff81810219909316929093169290920217905561068481613561565b9050610619565b505b8060010361070c5760005b825181101561070a57600b8382815181106106b5576106b5613535565b602090810291909101810151825460018101845560009384529190922060108204018054600f9092166002026101000a61ffff81810219909316929093169290920217905561070381613561565b9050610698565b505b8060020361078b5760005b825181101561078957600c83828151811061073457610734613535565b602090810291909101810151825460018101845560009384529190922060108204018054600f9092166002026101000a61ffff81810219909316929093169290920217905561078281613561565b9050610717565b505b8060030361080a5760005b825181101561080857600d8382815181106107b3576107b3613535565b602090810291909101810151825460018101845560009384529190922060108204018054600f9092166002026101000a61ffff81810219909316929093169290920217905561080181613561565b9050610796565b505b806004036108895760005b825181101561088757600e83828151811061083257610832613535565b602090810291909101810151825460018101845560009384529190922060108204018054600f9092166002026101000a61ffff81810219909316929093169290920217905561088081613561565b9050610815565b505b806005036109085760005b825181101561090657600f8382815181106108b1576108b1613535565b602090810291909101810151825460018101845560009384529190922060108204018054600f9092166002026101000a61ffff8181021990931692909316929092021790556108ff81613561565b9050610894565b505b806006036109875760005b825181101561098557601083828151811061093057610930613535565b602090810291909101810151825460018101845560009384529190922060108204018054600f9092166002026101000a61ffff81810219909316929093169290920217905561097e81613561565b9050610913565b505b80600703610a065760005b8251811015610a045760118382815181106109af576109af613535565b602090810291909101810151825460018101845560009384529190922060108204018054600f9092166002026101000a61ffff8181021990931692909316929092021790556109fd81613561565b9050610992565b505b80600803610a855760005b8251811015610a83576012838281518110610a2e57610a2e613535565b602090810291909101810151825460018101845560009384529190922060108204018054600f9092166002026101000a61ffff818102199093169290931692909202179055610a7c81613561565b9050610a11565b505b5050565b6000610a94826112a6565b610ab1576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81610ad7816112cd565b610a838383611386565b6000610af06001546000540390565b601554909150610b0182600161357a565b1115610b495760405162461bcd60e51b815260206004820152601260248201527152656163686564206d617820737570706c7960701b60448201526064015b60405180910390fd5b33600090815260056020526040908190205467ffffffffffffffff911c1615610bad5760405162461bcd60e51b81526020600482015260166024820152754d61782031206d696e74207065722077616c6c65742160501b6044820152606401610b40565b601654341015610bf85760405162461bcd60e51b815260206004820152601660248201527509ad2dce840e0e4d2c6ca7440605c60606c7240cae8d60531b6044820152606401610b40565b610c03336001611426565b50565b826001600160a01b0381163314610c2057610c20336112cd565b610c2b848484611440565b50505050565b610c396115d8565b604051600090339047908381818185875af1925050503d8060008114610c7b576040519150601f19603f3d011682016040523d82523d6000602084013e610c80565b606091505b5050905080610c035760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610b40565b826001600160a01b0381163314610cde57610cde336112cd565b610c2b848484611632565b604080518082018252600681526547494638396160d01b6020808301919091528251808401845260078152635000500360dc1b8183015283518085018552601381526f21ff0b4e45545343415045322e30030160801b81840152845180860190955260018552603b60f81b92850192909252845160609491929190600090610d7e90610d749061164d565b88606001516121e0565b90506000610d9c610d92896020015161164d565b89606001516121e0565b90506000610dba610db08a6040015161164d565b8a606001516121e0565b9050600083838385604051602001610dd5949392919061358d565b6040516020818303038152906040529050610e168888888489604051602001610e029594939291906135e4565b604051602081830303815290604052612347565b604051602001610e26919061364f565b60405160208183030381529060405298505050505050505050919050565b60006105768261249a565b60006001600160a01b038216610e78576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610ea66115d8565b610eb06000612508565b565b33610ebc82610e44565b6001600160a01b031614610f025760405162461bcd60e51b815260206004820152600d60248201526c2737ba103a34329037bbb732b960991b6044820152606401610b40565b6107d060188261044c8110610f1957610f19613535565b016000828254610f29919061357a565b909155505050565b610f396115d8565b60175460ff1615610f7a5760405162461bcd60e51b815260206004820152600b60248201526a446576206d696e7465642160a81b6044820152606401610b40565b610f85336064611426565b6017805460ff19166001179055565b6060610faa82604051602001610e02919061368d565b604051602001610fba9190613769565b6040516020818303038152906040529050919050565b60606003805461058b90613501565b81610fe9816112cd565b610a83838361255a565b836001600160a01b038116331461100d5761100d336112cd565b611019858585856125c6565b5050505050565b60606110566040518060400160405280600681526020016553656564203160d01b815250611051846000015161260a565b61269d565b6110856040518060400160405280600681526020016529b2b2b2101960d11b815250611051856020015161260a565b6110b46040518060400160405280600681526020016553656564203360d01b815250611051866040015161260a565b6110e66040518060400160405280600981526020016844656c6179286d732960b81b815250611051876060015161260a565b604051602001610fba94939291906137ae565b606060006111068361260a565b6040516020016111169190613826565b60408051601f19818403018152828201909152601c82527f4e65772077617920746f207075742061727420696e20636861696e2e0000000060208301529150600060188561044c811061116b5761116b613535565b0154111561118c5760188461044c811061118757611187613535565b015493505b6000611197856126c9565b905060006111a482610ce9565b905060006111b182610f94565b90506111d785856111c186611020565b8585604051602001610e02959493929190613857565b6040516020016111e79190613968565b60405160208183030381529060405295505050505050919050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6112386115d8565b6001600160a01b03811661129d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b40565b610c0381612508565b6000805482108015610576575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15610c0357604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561133a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061135e91906139ad565b610c0357604051633b79c77360e21b81526001600160a01b0382166004820152602401610b40565b600061139182610e44565b9050336001600160a01b038216146113ca576113ad8133611202565b6113ca576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610a85828260405180602001604052806000815250612925565b600061144b8261249a565b9050836001600160a01b0316816001600160a01b03161461147e5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176114cb576114ae8633611202565b6114cb57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166114f257604051633a954ecd60e21b815260040160405180910390fd5b80156114fd57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b8416900361158f5760018401600081815260046020526040812054900361158d57600054811461158d5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6009546001600160a01b03163314610eb05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b40565b610a8383838360405180602001604052806000815250610ff3565b611655613038565b60006116608361298b565b905061166a613057565b60005b60608110156117305760005b601081101561171f57611000600a8383606002018154811061169d5761169d613535565b90600052602060002090601091828204019190066002029054906101000a900460010b60010b8583601081106116d5576116d5613535565b602002015160010b0260030b816116ee576116ee6139ca565b0583836060811061170157611701613535565b60200201805190910160010b905261171881613561565b9050611679565b5061172981613561565b905061166d565b5060005b60608110156118c357600082826060811061175157611751613535565b602002015160010b121561178157600082826060811061177357611773613535565b60019290920b602090920201525b600c818154811061179457611794613535565b90600052602060002090601091828204019190066002029054906101000a900460010b8282606081106117c9576117c9613535565b6020020180519190910360010b90526110008282606081106117ed576117ed613535565b602002015160010b600b838154811061180857611808613535565b60009182526020909120601082040154600f9091166002026101000a900460010b0260030b8161183a5761183a6139ca565b0582826060811061184d5761184d613535565b60019290920b60209092020152600d80548290811061186e5761186e613535565b90600052602060002090601091828204019190066002029054906101000a900460010b8282606081106118a3576118a3613535565b60200201805190910160010b9052806118bb81613561565b915050611734565b506118cc613076565b60005b6004811015611bd85760005b6004811015611bc55760005b600c811015611bb25760005b6018811015611ba157611000600e8284601802018154811061191757611917613535565b600091825260209091206010820401546002600f90921682026101000a900460010b908890849087048801601802016060811061195657611956613535565b602002015160010b0260030b8161196f5761196f6139ca565b058583858760040201600c020160c0811061198c5761198c613535565b60200201805190910160010b9052600e805461100091906018600c86010284019081106119bb576119bb613535565b600091825260209091206010820401546002600f90921682026101000a900460010b90889084908704880160180201606081106119fa576119fa613535565b602002015160010b0260030b81611a1357611a136139ca565b058583858760040201600101600c020160c08110611a3357611a33613535565b60200201805190910160010b9052600e805461100091906018808601028401908110611a6157611a61613535565b600091825260209091206010820401546002600f90921682026101000a900460010b9088908490870488016018020160608110611aa057611aa0613535565b602002015160010b0260030b81611ab957611ab96139ca565b058583858760010160040201600c020160c08110611ad957611ad9613535565b60200201805190910160010b9052600e80546110009190601860248601028401908110611b0857611b08613535565b600091825260209091206010820401546002600f90921682026101000a900460010b9088908490870488016018020160608110611b4757611b47613535565b602002015160010b0260030b81611b6057611b606139ca565b058583858760010160040201600101600c020160c08110611b8357611b83613535565b60200201805190910160010b9052611b9a81613561565b90506118f3565b50611bab81613561565b90506118e7565b50611bbe60028261357a565b90506118db565b50611bd160028261357a565b90506118cf565b5060005b6004811015611dd45760005b6004811015611dc35760005b600c811015611db25760008183611c0c8660046139e0565b611c16919061357a565b611c2190600c6139e0565b611c2b919061357a565b90506000858260c08110611c4157611c41613535565b602002015160010b1215611c71576000858260c08110611c6357611c63613535565b60019290920b602090920201525b60108281548110611c8457611c84613535565b90600052602060002090601091828204019190066002029054906101000a900460010b858260c08110611cb957611cb9613535565b6020020180519190910360010b9052610830858260c08110611cdd57611cdd613535565b602002015160010b600f8481548110611cf857611cf8613535565b60009182526020909120601082040154600f9091166002026101000a900460010b0260030b81611d2a57611d2a6139ca565b05858260c08110611d3d57611d3d613535565b60019290920b602090920201526011805483908110611d5e57611d5e613535565b90600052602060002090601091828204019190066002029054906101000a900460010b858260c08110611d9357611d93613535565b60200201805190910160010b905250611dab81613561565b9050611bf4565b50611dbc81613561565b9050611be8565b50611dcd81613561565b9050611bdc565b50611ddd613038565b60005b60048110156120df5760005b60048110156120ce5760005b60038110156120bd5760005b600c8110156120ac5761100060128284600c020181548110611e2857611e28613535565b60009182526020909120601082040154600f9091166002026101000a900460010b87600487028601600c02840160c08110611e6557611e65613535565b602002015160010b0260030b81611e7e57611e7e6139ca565b05858385876005020160030201604b8110611e9b57611e9b613535565b602002018051909101600390810b9091526012805461100092600c908601028401908110611ecb57611ecb613535565b60009182526020909120601082040154600f9091166002026101000a900460010b87600487028601600c02840160c08110611f0857611f08613535565b602002015160010b0260030b81611f2157611f216139ca565b05858385876005020160010160030201604b8110611f4157611f41613535565b60200201805190910160030b9052601280546110009190600c60068601028401908110611f7057611f70613535565b60009182526020909120601082040154600f9091166002026101000a900460010b87600487028601600c02840160c08110611fad57611fad613535565b602002015160010b0260030b81611fc657611fc66139ca565b05858385876001016005020160030201604b8110611fe657611fe6613535565b60200201805190910160030b9052601280546110009190600c6009860102840190811061201557612015613535565b60009182526020909120601082040154600f9091166002026101000a900460010b87600487028601600c02840160c0811061205257612052613535565b602002015160010b0260030b8161206b5761206b6139ca565b05858385876001016005020160010160030201604b811061208e5761208e613535565b60200201805190910160030b90526120a581613561565b9050611e04565b506120b681613561565b9050611df8565b506120c781613561565b9050611dec565b506120d881613561565b9050611de0565b5060005b60058110156121d65760005b60058110156121c55760005b60038110156121b45761215a6121518583856121188860056139e0565b612122919061357a565b61212d9060036139e0565b612137919061357a565b604b811061214757612147613535565b60200201516129ee565b600060ff612a22565b8882846121688760056139e0565b612172919061357a565b61217d9060036139e0565b612187919061357a565b604b811061219757612197613535565b60ff90921660209290920201526121ad81613561565b90506120fb565b506121be81613561565b90506120ef565b506121cf81613561565b90506120e3565b5050505050919050565b60405163087e410160e21b60208201526001600160f81b031960f883901b1660248201526000602582018190526026820181905260609160280160408051601f19818403018152828201909152600a8252692c00000000050005008560b01b6020830152915060006122528682612b1b565b61225d87600c612b1b565b612268886018612b1b565b612273896024612b1b565b61227e8a6030612b1b565b6122898b603c612b1b565b6109008c01516109208d01516109408e01516040516122b399989796959493929190602001613a08565b60405160208183030381529060405290508282826122d16000612cba565b6122db6005612cba565b6122e5600a612cba565b6122ef600f612cba565b6122f96014612cba565b60405160200161230d9594939291906135e4565b60408051601f198184030181529082905261232d94939291602001613ad2565b604051602081830303815290604052935050505092915050565b6060815160000361236657505060408051602081019091526000815290565b6000604051806060016040528060408152602001613de46040913990506000600384516002612395919061357a565b61239f9190613b4c565b6123aa9060046139e0565b67ffffffffffffffff8111156123c2576123c261314a565b6040519080825280601f01601f1916602001820160405280156123ec576020820181803683370190505b509050600182016020820185865187015b80821015612458576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f81168501518453506001830192506123fd565b505060038651066001811461247457600281146124875761248f565b603d6001830353603d600283035361248f565b603d60018303535b509195945050505050565b6000816000548110156124ef5760008181526004602052604081205490600160e01b821690036124ed575b806000036124e65750600019016000818152600460205260409020546124c5565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6125d1848484610c06565b6001600160a01b0383163b15610c2b576125ed84848484612d3a565b610c2b576040516368d2bf6b60e11b815260040160405180910390fd5b6060600061261783612e26565b600101905060008167ffffffffffffffff8111156126375761263761314a565b6040519080825280601f01601f191660200182016040528015612661576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461266b57509392505050565b606082826040516020016126b2929190613b60565b604051602081830303815290604052905092915050565b6126f46040518060800160405280600081526020016000815260200160008152602001600081525090565b600061271f60405180604001604052806007815260200166029b2b2b2189d160cd1b81525084612efe565b9050600061274c60405180604001604052806007815260200166029b2b2b2191d160cd1b81525085612efe565b9050605a6127796040518060400160405280600781526020016602232b630bc9d160cd1b81525086612efe565b6127839190613bec565b61278e90600a61357a565b606084018190526000906127a490600290613b4c565b6127af90600f61357a565b8385526020850184905260408501849052905060006127cf8260c8613c00565b6127db9061fffa613c26565b905060006127ea8360c8613c00565b905060005b601081101561291a5760006128058260106139e0565b87901c905060006128178360106139e0565b87901c90508061ffff168261ffff1610801561283a57508461ffff168261ffff16105b8061284c57508361ffff168261ffff16105b156128ae5761285c8360106139e0565b6128678760646139e0565b901b8960200181815161287a919061357a565b9052506128888360106139e0565b6128938760c86139e0565b901b896040018181516128a6919061357a565b905250612907565b6128b98360106139e0565b6128c48760646139e0565b901b896020018181516128d79190613c48565b9052506128e58360106139e0565b6128f08760c86139e0565b901b896040018181516129039190613c48565b9052505b50508061291390613561565b90506127ef565b505050505050919050565b61292f8383612f3a565b6001600160a01b0383163b15610a83576000548281035b6129596000868380600101945086612d3a565b612976576040516368d2bf6b60e11b815260040160405180910390fd5b81811061294657816000541461101957600080fd5b612993613095565b60005b60108110156129e85760086129ac8260106139e0565b84901c6129b99190613c5b565b8282601081106129cb576129cb613535565b60019290920b602090920201526129e181613561565b9050612996565b50919050565b6000617fff8260030b1315612a065750617fff919050565b617fff198260030b1215612a1e5750617fff19919050565b5090565b6000818303612a78578360010b60138481548110612a4257612a42613535565b60009182526020909120601082040154600f9091166002026101000a900460010b13612a6f5750816124e6565b5061012c6124e6565b60006002612a86848661357a565b612a909190613b4c565b905060138181548110612aa557612aa5613535565b90600052602060002090601091828204019190066002029054906101000a900460010b60010b8560010b1215612ae857612ae0858583612a22565b9150506124e6565b6000612aff86612af984600161357a565b86612a22565b90508061012c03612b12575090506124e6565b91506124e69050565b60608282604b8110612b2f57612b2f613535565b602002015183612b4084600161357a565b604b8110612b5057612b50613535565b602002015184612b6185600261357a565b604b8110612b7157612b71613535565b602002015185612b8286600361357a565b604b8110612b9257612b92613535565b602002015186612ba387600461357a565b604b8110612bb357612bb3613535565b602002015187612bc488600561357a565b604b8110612bd457612bd4613535565b602002015188612be589600661357a565b604b8110612bf557612bf5613535565b602002015189612c068a600761357a565b604b8110612c1657612c16613535565b60200201518a612c278b600861357a565b604b8110612c3757612c37613535565b60200201518b612c488c600961357a565b604b8110612c5857612c58613535565b60200201518c612c698d600a61357a565b604b8110612c7957612c79613535565b60200201518d612c8a8e600b61357a565b604b8110612c9a57612c9a613535565b60200201516040516020016126b29c9b9a99989796959493929190613c94565b606081612cc8816001613d41565b612cd3846002613d41565b612cde856003613d41565b612ce9866004613d41565b604051600d60f71b60208201526001600160f81b031960f896871b8116602283015294861b8516602382015292851b8416602484015290841b8316602583015290921b166026820152602701610fba565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612d6f903390899088908890600401613d5a565b6020604051808303816000875af1925050508015612daa575060408051601f3d908101601f19168201909252612da791810190613d97565b60015b612e08573d808015612dd8576040519150601f19603f3d011682016040523d82523d6000602084013e612ddd565b606091505b508051600003612e00576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612e655772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612e91576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612eaf57662386f26fc10000830492506010015b6305f5e1008310612ec7576305f5e100830492506008015b6127108310612edb57612710830492506004015b60648310612eed576064830492506002015b600a83106105765760010192915050565b600082612f0a8361260a565b604051602001612f1b929190613db4565b60408051601f1981840301815291905280516020909101209392505050565b6000805490829003612f5f5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461300e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101612fd6565b508160000361302f57604051622e076360e81b815260040160405180910390fd5b60005550610a83565b604051806109600160405280604b906020820280368337509192915050565b60405180610c0001604052806060906020820280368337509192915050565b60405180611800016040528060c0906020820280368337509192915050565b6040518061020001604052806010906020820280368337509192915050565b6001600160e01b031981168114610c0357600080fd5b6000602082840312156130dc57600080fd5b81356124e6816130b4565b60005b838110156131025781810151838201526020016130ea565b50506000910152565b600081518084526131238160208601602086016130e7565b601f01601f19169290920160200192915050565b6020815260006124e6602083018461310b565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156131895761318961314a565b604052919050565b600080604083850312156131a457600080fd5b823567ffffffffffffffff808211156131bc57600080fd5b818501915085601f8301126131d057600080fd5b81356020828211156131e4576131e461314a565b8160051b92506131f5818401613160565b828152928401810192818101908985111561320f57600080fd5b948201945b8486101561324057853593508360010b84146132305760008081fd5b8382529482019490820190613214565b9997909101359750505050505050565b60006020828403121561326257600080fd5b5035919050565b80356001600160a01b038116811461328057600080fd5b919050565b6000806040838503121561329857600080fd5b6132a183613269565b946020939093013593505050565b6000806000606084860312156132c457600080fd5b6132cd84613269565b92506132db60208501613269565b9150604084013590509250925092565b6000608082840312156132fd57600080fd5b6040516080810181811067ffffffffffffffff821117156133205761332061314a565b8060405250823581526020830135602082015260408301356040820152606083013560608201528091505092915050565b60006020828403121561336357600080fd5b6124e682613269565b600067ffffffffffffffff8311156133865761338661314a565b613399601f8401601f1916602001613160565b90508281528383830111156133ad57600080fd5b828260208301376000602084830101529392505050565b6000602082840312156133d657600080fd5b813567ffffffffffffffff8111156133ed57600080fd5b8201601f810184136133fe57600080fd5b612e1e8482356020840161336c565b8015158114610c0357600080fd5b6000806040838503121561342e57600080fd5b61343783613269565b915060208301356134478161340d565b809150509250929050565b6000806000806080858703121561346857600080fd5b61347185613269565b935061347f60208601613269565b925060408501359150606085013567ffffffffffffffff8111156134a257600080fd5b8501601f810187136134b357600080fd5b6134c28782356020840161336c565b91505092959194509250565b600080604083850312156134e157600080fd5b6134ea83613269565b91506134f860208401613269565b90509250929050565b600181811c9082168061351557607f821691505b6020821081036129e857634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016135735761357361354b565b5060010190565b808201808211156105765761057661354b565b6000855161359f818460208a016130e7565b8551908301906135b3818360208a016130e7565b85519101906135c68183602089016130e7565b84519101906135d98183602088016130e7565b019695505050505050565b600086516135f6818460208b016130e7565b86519083019061360a818360208b016130e7565b865191019061361d818360208a016130e7565b85519101906136308183602089016130e7565b84519101906136438183602088016130e7565b01979650505050505050565b7519185d184e9a5b5859d94bd9da598ed8985cd94d8d0b60521b8152600082516136808160168501602087016130e7565b9190910160160192915050565b7f3c7376672077696474683d273130302527206865696768743d2731303025272081527f786d6c6e733d27687474703a2f2f7777772e77332e6f72672f323030302f737660208201527067273e203c696d61676520687265663d2760781b6040820152600082516137058160518501602087016130e7565b7f27206865696768743d2731303025272077696474683d27313030252720696d6160519390910192830152507f67652d72656e646572696e673d27706978656c6174656427202f3e3c2f7376676071820152601f60f91b6091820152609201919050565b7f646174613a696d6167652f7376672b786d6c3b6261736536342c0000000000008152600082516137a181601a8501602087016130e7565b91909101601a0192915050565b600085516137c0818460208a016130e7565b8083019050600b60fa1b80825286516137e0816001850160208b016130e7565b6001920191820181905285516137fd816002850160208a016130e7565b600292019182015283516138188160038401602088016130e7565b016003019695505050505050565b6847414e50657065202360b81b81526000825161384a8160098501602087016130e7565b9190910160090192915050565b683d913730b6b2911d1160b91b8152855160009061387c816009850160208b016130e7565b72111610113232b9b1b934b83a34b7b7111d101160691b60099184019182015286516138af81601c840160208b016130e7565b71222c202261747472696275746573223a205b60701b601c929091019182015285516138e281602e840160208a016130e7565b6b2e96101134b6b0b3b2911d1160a11b602e9290910191820152845161390f81603a8401602089016130e7565b731116101130b734b6b0ba34b7b72fbab936111d1160611b603a9290910191820152835161394481604e8401602088016130e7565b61395b604e8284010161227d60f01b815260020190565b9998505050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152600082516139a081601d8501602087016130e7565b91909101601d0192915050565b6000602082840312156139bf57600080fd5b81516124e68161340d565b634e487b7160e01b600052601260045260246000fd5b80820281158282048414176105765761057661354b565b60f81b6001600160f81b0319169052565b60008a51613a1a818460208f016130e7565b8a5190830190613a2e818360208f016130e7565b8a51910190613a41818360208e016130e7565b8951910190613a54818360208d016130e7565b8851910190613a67818360208c016130e7565b8751910190613a7a818360208b016130e7565b6001600160f81b031960f897881b81169190920190815294861b811660018601529290941b90911660028301525060006003820181905260238201819052604382018190526063820152607801979650505050505050565b60008551613ae4818460208a016130e7565b855190830190613af8818360208a016130e7565b8551910190613b0b8183602089016130e7565b600760f81b91019081528351613b288160018401602088016130e7565b61018160f01b60019290910191820152600060038201526004019695505050505050565b600082613b5b57613b5b6139ca565b500490565b7f7b22646973706c61795f74797065223a226e756d626572222c2274726169745f8152663a3cb832911d1160c91b602082015260008351613ba88160278501602088016130e7565b691116113b30b63ab2911d60b11b6027918401918201528351613bd28160318401602088016130e7565b607d60f81b60319290910191820152603201949350505050565b600082613bfb57613bfb6139ca565b500690565b61ffff818116838216028082169190828114613c1e57613c1e61354b565b505092915050565b61ffff828116828216039080821115613c4157613c4161354b565b5092915050565b818103818111156105765761057661354b565b60008160010b8360010b80613c7257613c726139ca565b617fff19821460001982141615613c8b57613c8b61354b565b90059392505050565b6001600160f81b031960f88e811b821683528d811b821660018401528c811b821660028401528b901b1660038201526000613cd2600483018b6139f7565b613cdf600583018a6139f7565b613cec60068301896139f7565b613cf960078301886139f7565b613d0660088301876139f7565b613d1360098301866139f7565b613d20600a8301856139f7565b613d2d600b8301846139f7565b50600c019c9b505050505050505050505050565b60ff81811683821601908111156105765761057661354b565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613d8d9083018461310b565b9695505050505050565b600060208284031215613da957600080fd5b81516124e6816130b4565b60008351613dc68184602088016130e7565b835190830190613dda8183602088016130e7565b0194935050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220fc14df961c095a4f2da26ae5a302ced850862da211f49b4df4854353287f349264736f6c63430008110033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.