ETH Price: $3,613.49 (+5.60%)

Token

OnchainGas (OGAS)
 

Overview

Max Total Supply

1,000 OGAS

Holders

513

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 OGAS
0xdB5d7E2dc031488DD4985f6293FD5885e0dd9836
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:
OnchainGas

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion
File 1 of 10 : OnchainGas.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.16;

import "erc721a/contracts/ERC721A.sol";
import "erc721a/contracts/extensions/ERC721AQueryable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@divergencetech/ethier/contracts/random/PRNG.sol";
import "./Compiler.sol";
import "./Base64.sol";

contract OnchainGas is ERC721AQueryable, Ownable {
  using PRNG for PRNG.Source;

  IDataChunkCompiler private compiler;
  address[9] private threeAddresses;
  uint256 public cost = 0.0025 ether;
  uint256 public maxSupply = 1000;
  uint8 public maxMint = 2;
  bool public publicSaleActive = false;
  string private rpc;

  constructor(
    address _compiler,
    address chunk1,
    address chunk2,
    address chunk3,
    address chunk4,
    address chunk5,
    address chunk6,
    address chunk7,
    address chunk8,
    address chunk9
  ) ERC721A("OnchainGas", "OGAS") {
    compiler = IDataChunkCompiler(_compiler);
    threeAddresses[0] = chunk1;
    threeAddresses[1] = chunk2;
    threeAddresses[2] = chunk3;
    threeAddresses[3] = chunk4;
    threeAddresses[4] = chunk5;
    threeAddresses[5] = chunk6;
    threeAddresses[6] = chunk7;
    threeAddresses[7] = chunk8;
    threeAddresses[8] = chunk9;
  }

  function setMintActive(bool _newMintActive) public onlyOwner {
    publicSaleActive = _newMintActive;
  }

  function setRpc(string memory _rpc) public onlyOwner {
    rpc = _rpc;
  }

  function setCost(uint256 _newCost) public onlyOwner {
    cost = _newCost;
  }

  function mint(address to, uint256 mintAmount) external payable {
    require(publicSaleActive, "disabled");
    require(mintAmount > 0, "mint <= 0");
    require(
      _numberMinted(msg.sender) + mintAmount <= maxMint,
      "mint >= maxmint"
    );
    require(totalSupply() + mintAmount <= maxSupply, "Over supply");
    require(msg.value >= cost * mintAmount, "Not enough ETH");
    _safeMint(to, mintAmount);
  }

  function gift(address to, uint256 mintAmount) external onlyOwner {
    require(mintAmount > 0, "mint <= 0");
    require(totalSupply() + mintAmount <= maxSupply, "Over supply");
    _safeMint(to, mintAmount);
  }

  function availableMint(address to) public view returns (uint256) {
    return maxMint - _numberMinted(to);
  }

  function tokenURI(uint256 tokenId)
    public
    view
    override(ERC721A, IERC721A)
    returns (string memory)
  {
    string memory threejs = compiler.compile9(
      threeAddresses[0],
      threeAddresses[1],
      threeAddresses[2],
      threeAddresses[3],
      threeAddresses[4],
      threeAddresses[5],
      threeAddresses[6],
      threeAddresses[7],
      threeAddresses[8]
    );

    string memory tokenIdStr = uint2str(tokenId);
    string memory gasPriceGweiStr = uint2str(block.basefee / 1000000000);

    return
      string.concat(
        compiler.BEGIN_JSON(),
        string.concat(
          compiler.BEGIN_METADATA_VAR("animation_url", false),
          compiler.HTML_HEAD(),
          string.concat(
            compiler.BEGIN_SCRIPT_DATA_COMPRESSED(),
            threejs,
            compiler.END_SCRIPT_DATA_COMPRESSED(),
            compiler.BEGIN_SCRIPT(),
            compiler.SCRIPT_VAR("tokenId", tokenIdStr, true),
            compiler.SCRIPT_VAR("gasPrice", gasPriceGweiStr, true),
            compiler.SCRIPT_VAR(
              "rpc",
              string.concat("%2522", rpc, "%2522"),
              true
            ),
            compiler.END_SCRIPT()
          ),
          "%253Cstyle%253E%250A%2520%2520*%2520%257B%250A%2520%2520%2520%2520margin%253A%25200%253B%250A%2520%2520%2520%2520padding%253A%25200%253B%250A%2520%2520%257D%250A%2520%2520canvas%2520%257B%250A%2520%2520%2520%2520width%253A%2520100%2525%253B%250A%2520%2520%2520%2520height%253A%2520100%2525%253B%250A%2520%2520%257D%250A%253C%252Fstyle%253E%250A%253Cscript%253E%250A%2520%2520window.onload%253Dasync()%253D%253E%257Blet%2520s%253Ddocument.body%252Cc%253DgasPrice%252Cu%253D!1%253Bconst%2520g%253Ddocument.createElement(%2522input%2522)%253Bg.type%253D%2522checkbox%2522%252Cg.id%253D%2522liveCheckbox%2522%253Bconst%2520h%253Ddocument.createElement(%2522label%2522)%253Bh.htmlFor%253D%2522liveCheckbox%2522%252Ch.innerText%253D%2522Live%2520update%2522%253Bconst%2520d%253Ddocument.createElement(%2522span%2522)%253Bd.style.position%253D%2522absolute%2522%252Cd.style.bottom%253D%252210%2522%252Cd.style.left%253D%252210%2522%252Ch.style.color%253D%2522white%2522%252Ch.style.marginLeft%253D%252210px%2522%252Cd.appendChild(g)%252Cd.appendChild(h)%252Cs.appendChild(d)%252Cg.addEventListener(%2522change%2522%252Ct%253D%253E%257Bu%253Dt.target.checked%252Cu%2526%2526(R%253D0)%257D)%253Bconst%2520E%253Ddocument.createElement(%2522div%2522)%253BE.style%253D%2522position%253A%2520absolute%253B%2520top%253A%252010%253B%2520right%253A%252010%253B%2520color%253A%2520white%2522%252CE.innerText%253D%2560Gas%2520price%253A%2520%2524%257BgasPrice%257D%2520gwei%2560%252Cs.appendChild(E)%253Bconst%2520n%253Dt%253D%253E(t!%253D%253Dvoid%25200%2526%2526(l%253Dt%25252147483647)%253C%253D0%2526%2526(l%252B%253D2147483646)%252C((l%253D16807*l%25252147483647)-1)%252F2147483646)%253Bn(tokenId)%253Bconst%257Bwidth%253Ab%252Cheight%253Af%257D%253Ds.getBoundingClientRect()%253Blet%2520H%253Df%252F2%252Ca%253Df*2%252CT%253D0%253Bconst%2520r%253Dnew%2520THREE.PerspectiveCamera(80%252Cb%252Ff%252C1%252C3e3)%253Br.position.z%253D1500%253Bfunction%2520G(t)%257Bt.isPrimary%2526%2526(T%253Dt.clientY-H)%257Dconst%2520i%253Dnew%2520THREE.Scene%253Bi.background%253Dnew%2520THREE.Color(0)%253Bconst%2520L%253Dnew%2520THREE.HemisphereLight(16777147%252C526368%252C1)%253Bi.add(L)%253Bconst%2520w%253Dnew%2520THREE.PointLight(16777147%252C1%252C1e3%252C0)%253Bw.position.set(0%252C0%252C150)%252Cw.lookAt(0%252C0%252C0)%252Ci.add(w)%253Bconst%2520p%253Dnew%2520THREE.WebGLRenderer(%257Bantialias%253A!0%257D)%253Bp.setPixelRatio(window.devicePixelRatio)%252Cp.setSize(b%252Cf)%253Bconst%2520C%253Dnew%2520THREE.CylinderGeometry(50%252C100%252Ca%252C32%252C1%252C!0)%253BC.translate(0%252Ca%252F2%252C0)%253Bconst%2520z%253Dnew%2520THREE.MeshPhongMaterial(%257Bcolor%253AMath.ceil(16777215*n())%252Cside%253ATHREE.DoubleSide%252CflatShading%253A!0%257D)%252Cv%253Dnew%2520THREE.Mesh(C%252Cz)%253Bv.position.set(0%252Ca%252F2%252C0)%252Ci.add(v)%253Bconst%2520A%253Dnew%2520THREE.MeshBasicMaterial(%257Btransparent%253A!0%252Copacity%253A.5%252Ccolor%253A16777147%252Cblending%253ATHREE.AdditiveBlending%257D)%252CM%253D20%252CB%253Dnew%2520THREE.BoxGeometry(M%252CM%252CM)%253Blet%2520y%253D%255B%255D%253Bfunction%2520x()%257Bconst%2520t%253DDate.now()%252Co%253Dnew%2520THREE.Mesh(B%252CA)%253Bo.delay%253DMath.floor(5e3*Math.random())%252Bt%252Co.position.set(10-20*Math.random()%252C2e5%252C10-20*Math.random())%252Co.rotation.set(n()%252Cn()%252Cn())%252Cy.push(o)%252Ci.add(o)%257Dfor(let%2520t%253D0%253Bt%253Cc%253Bt%252B%252B)x()%253Bconst%2520I%253D%255B%255D%252Cj%253D10%252BMath.ceil(10*n())%252CD%253Dnew%2520THREE.SphereGeometry(2%252C8%252C8)%252CS%253Dnew%2520THREE.MeshBasicMaterial%253BS.color.set(16777215)%253Bfor(let%2520t%253D0%253Bt%253Cj%253Bt%252B%252B)%257Bconst%2520o%253Dnew%2520THREE.Mesh(D%252CS)%253Bo.position.set(1e3-2e3*n()%252C1e3-2e3*n()%252C1e3-2e3*n())%252CI.push(o)%252Ci.add(o)%257Dfunction%2520P()%257Bconst%257Bwidth%253At%252Cheight%253Ao%257D%253Ds.getBoundingClientRect()%253BH%253Do%252F2%252Ca%253Do*2%252Cr.aspect%253Dt%252Fo%252Cr.updateProjectionMatrix()%252Cp.setSize(t%252Co)%252Cv.position.set(0%252Ca%252F2%252C0)%257Dresizer%253DP%252Cs.appendChild(p.domElement)%252Cs.style.touchAction%253D%2522none%2522%252Cs.addEventListener(%2522pointermove%2522%252CG)%252Cwindow.addEventListener(%2522resize%2522%252CP)%252CP()%253Blet%2520R%253D240%253Bfunction%2520k()%257Bif(requestAnimationFrame(k)%252Cu%2526%2526R--%253C0%2526%2526(R%253D240%252Cfetch(rpc%252C%257Bmethod%253A%2522POST%2522%252Cbody%253AJSON.stringify(%257Bjsonrpc%253A%25222.0%2522%252Cmethod%253A%2522eth_gasPrice%2522%252Cparams%253A%255B%255D%252Cid%253A1%257D)%257D).then(async%2520e%253D%253E%257Bconst%257Bresult%253Am%257D%253Dawait%2520e.json()%253BgasPrice%253DparseInt(m%252C16)%252F1e9%257D))%252CgasPrice!%253D%253Dc)%257Bif(gasPrice%253Ec)for(let%2520e%253D0%253Be%253CgasPrice-c%253Be%252B%252B)x()%253Belse%257Blet%2520e%253Dc-gasPrice%253Bfor(const%2520m%2520of%2520y)if(m.done%257C%257C(m.done%253D!0%252Ce--)%252Ce%253C%253D0)break%257Dc%253DgasPrice%252CE.innerText%253D%2560Gas%2520price%253A%2520%2524%257BgasPrice%257D%2520gwei%2560%257Dr.position.y%252B%253D.05*(200-T-r.position.y)%252Ci.rotation.y-%253D.005%252Cr.lookAt(i.position)%252Cp.render(i%252Cr)%253Bconst%2520t%253DDate.now()%252Co%253D.001*t%252CO%253DMath.sin(o)%253Bfor(const%2520e%2520of%2520y)%257Bif(e.delay)if(t%253Ee.delay)e.delay%253Dnull%252Ce.position.y%253Da%252F2%252B20%252B20*Math.random()%253Belse%2520continue%253Be.velocity%253De.velocity%257C%257Cnew%2520THREE.Vector3(0%252C-1%252C0)%252Ce.velocity.y-%253D.267%252Ce.position.add(e.velocity)%252Ce.position.y%253C-a%252F2%2526%2526(e.bounceCount%253Fe.bounceCount%253C3%253F(e.bounceCount%252B%252B%252Ce.velocity.y%253D-e.velocity.y*.2%252Ce.position.y%253D-a%252F2)%253Ae.done%253F(y.splice(y.indexOf(e)%252C1)%252Ci.remove(e))%253A(e.position.set(10-20*Math.random()%252C2e6%252C10-20*Math.random())%252Ce.bounceCount%253D0%252Ce.velocity.x%253D0%252Ce.velocity.y%253D-1%252Ce.velocity.z%253D0%252Ce.delay%253DMath.floor(5e3*Math.random())%252Bt)%253A(e.bounceCount%253D1%252Ce.velocity.x%253D8-16*Math.random()%252Ce.velocity.z%253D8-16*Math.random()%252Ce.velocity.y%253D-e.velocity.y*.2%252Ce.position.y%253D-a%252F2))%257D%257Dk()%257D%253B%250A%250A%253C%252Fscript%253E",
          compiler.END_METADATA_VAR(false)
        ),
        string.concat(
          compiler.BEGIN_METADATA_VAR("image", false),
          "data:image/svg+xml;base64,",
          Base64.encode(
            bytes(
              string.concat(
                '<?xml version="1.0" encoding="utf-8"?><svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg"><text style="white-space: pre; fill: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 82.5px;" x="1.113" y="112.193">Onchain Gas</text><path d="M 250.835 148.107 L 416.481 404.232 L 85.189 404.232 L 250.835 148.107 Z" style="fill: #',
                uint2hex(uint24(getTokenSeed(tokenId))),
                '; stroke: rgb(0, 0, 0);" shape="triangle 85.189 148.107 331.292 256.125 0.5 0 1@c48c5c95" /><text x="50%" text-anchor="middle" style="white-space: pre; fill: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 51.3px;" y="319.276">',
                gasPriceGweiStr,
                "</text></svg>"
              )
            )
          ),
          compiler.END_METADATA_VAR(false)
        ),
        string.concat(
          compiler.BEGIN_METADATA_VAR("name", false),
          "Onchain%20Gas%20%23",
          tokenIdStr,
          "%22" // no trailing comma for last element
        ),
        compiler.END_JSON()
      );
  }

  // via https://stackoverflow.com/a/65707309
  function uint2str(uint256 _i)
    internal
    pure
    returns (string memory _uintAsString)
  {
    if (_i == 0) {
      return "0";
    }
    uint256 j = _i;
    uint256 len;
    while (j != 0) {
      len++;
      j /= 10;
    }
    bytes memory bstr = new bytes(len);
    uint256 k = len;
    while (_i != 0) {
      k = k - 1;
      uint8 temp = (48 + uint8(_i - (_i / 10) * 10));
      bytes1 b1 = bytes1(temp);
      bstr[k] = b1;
      _i /= 10;
    }
    return string(bstr);
  }

  function uint2hex(uint256 _i)
    internal
    pure
    returns (string memory _uintAsHexString)
  {
    if (_i == 0) {
      return "0";
    }
    uint256 j = _i;
    uint256 len;
    while (j != 0) {
      len++;
      j /= 16;
    }
    bytes memory bstr = new bytes(len);
    uint256 k = len;
    while (_i != 0) {
      k = k - 1;
      uint8 temp = (48 + uint8(_i - (_i / 16) * 16));
      if (temp > 57) {
        temp += 7;
      }
      bytes1 b1 = bytes1(temp);
      bstr[k] = b1;
      _i /= 16;
    }
    return string(bstr);
  }

  function _startTokenId() internal pure override returns (uint256) {
    return 1;
  }

  function withdraw() external onlyOwner {
    payable(owner()).transfer(address(this).balance);
  }

  function _extraData(
    address from,
    address, /* to */
    uint24 previousExtraData
  ) internal view override returns (uint24) {
    if (from == address(0)) {
      uint256 randomNumber = uint256(
        keccak256(
          abi.encodePacked(
            block.timestamp,
            blockhash(block.number - 1),
            msg.sender
          )
        )
      );
      return uint24(randomNumber);
    }
    return previousExtraData;
  }

  function getTokenSeed(uint256 tokenId) public view returns (uint256) {
    uint24 batchSeed = _ownershipOf(tokenId).extraData;
    return uint256(keccak256(abi.encodePacked(batchSeed, tokenId)));
  }
}

File 2 of 10 : Base64.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0;

/// @title Base64
/// @author Brecht Devos - <[email protected]>
/// @notice Provides functions for encoding/decoding base64
library Base64 {
    string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return '';

        // load the table into memory
        string memory table = TABLE_ENCODE;

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((data.length + 2) / 3);

        // add some extra buffer at the end required for the writing
        string memory result = new string(encodedLen + 32);

        assembly {
            // set the actual output length
            mstore(result, encodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

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

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

                // write 4 characters
                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(        input,  0x3F))))
                resultPtr := add(resultPtr, 1)
            }

            // padding with '='
            switch mod(mload(data), 3)
            case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) }
            case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) }
        }

        return result;
    }
}

File 3 of 10 : Compiler.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.16;


interface IDataChunk {
  function data() external view returns (string memory);
}

interface IDataChunkCompiler {
  function BEGIN_JSON() external view returns (string memory);

  function END_JSON() external view returns (string memory);

  function HTML_HEAD() external view returns (string memory);

  function BEGIN_SCRIPT() external view returns (string memory);

  function END_SCRIPT() external view returns (string memory);

  function BEGIN_SCRIPT_DATA() external view returns (string memory);

  function END_SCRIPT_DATA() external view returns (string memory);

  function BEGIN_SCRIPT_DATA_COMPRESSED() external view returns (string memory);

  function END_SCRIPT_DATA_COMPRESSED() external view returns (string memory);

  function SCRIPT_VAR(
    string memory name,
    string memory value,
    bool omitQuotes
  ) external pure returns (string memory);

  function BEGIN_METADATA_VAR(string memory name, bool omitQuotes)
    external
    pure
    returns (string memory);

  function END_METADATA_VAR(bool omitQuotes)
    external
    pure
    returns (string memory);

  function compile2(address chunk1, address chunk2)
    external
    view
    returns (string memory);

  function compile3(
    address chunk1,
    address chunk2,
    address chunk3
  ) external returns (string memory);

  function compile4(
    address chunk1,
    address chunk2,
    address chunk3,
    address chunk4
  ) external view returns (string memory);

  function compile5(
    address chunk1,
    address chunk2,
    address chunk3,
    address chunk4,
    address chunk5
  ) external view returns (string memory);

  function compile6(
    address chunk1,
    address chunk2,
    address chunk3,
    address chunk4,
    address chunk5,
    address chunk6
  ) external view returns (string memory);

  function compile7(
    address chunk1,
    address chunk2,
    address chunk3,
    address chunk4,
    address chunk5,
    address chunk6,
    address chunk7
  ) external view returns (string memory);

  function compile8(
    address chunk1,
    address chunk2,
    address chunk3,
    address chunk4,
    address chunk5,
    address chunk6,
    address chunk7,
    address chunk8
  ) external view returns (string memory);

  function compile9(
    address chunk1,
    address chunk2,
    address chunk3,
    address chunk4,
    address chunk5,
    address chunk6,
    address chunk7,
    address chunk8,
    address chunk9
  ) external view returns (string memory);
}

File 4 of 10 : 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 5 of 10 : ERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721AQueryable.sol';
import '../ERC721A.sol';

/**
 * @title ERC721AQueryable.
 *
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) {
        TokenOwnership memory ownership;
        if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) {
            return ownership;
        }
        ownership = _ownershipAt(tokenId);
        if (ownership.burned) {
            return ownership;
        }
        return _ownershipOf(tokenId);
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] calldata tokenIds)
        external
        view
        virtual
        override
        returns (TokenOwnership[] memory)
    {
        unchecked {
            uint256 tokenIdsLength = tokenIds.length;
            TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
            for (uint256 i; i != tokenIdsLength; ++i) {
                ownerships[i] = explicitOwnershipOf(tokenIds[i]);
            }
            return ownerships;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view virtual override returns (uint256[] memory) {
        unchecked {
            if (start >= stop) revert InvalidQueryRange();
            uint256 tokenIdsIdx;
            uint256 stopLimit = _nextTokenId();
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            // Set `stop = min(stop, stopLimit)`.
            if (stop > stopLimit) {
                stop = stopLimit;
            }
            uint256 tokenIdsMaxLength = balanceOf(owner);
            // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
            // to cater for cases where `balanceOf(owner)` is too big.
            if (start < stop) {
                uint256 rangeLength = stop - start;
                if (rangeLength < tokenIdsMaxLength) {
                    tokenIdsMaxLength = rangeLength;
                }
            } else {
                tokenIdsMaxLength = 0;
            }
            uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
            if (tokenIdsMaxLength == 0) {
                return tokenIds;
            }
            // We need to call `explicitOwnershipOf(start)`,
            // because the slot at `start` may not be initialized.
            TokenOwnership memory ownership = explicitOwnershipOf(start);
            address currOwnershipAddr;
            // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
            // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
            if (!ownership.burned) {
                currOwnershipAddr = ownership.addr;
            }
            for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            // Downsize the array to fit.
            assembly {
                mstore(tokenIds, tokenIdsIdx)
            }
            return tokenIds;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }
}

File 6 of 10 : 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 7 of 10 : PRNG.sol
// SPDX-License-Identifier: MIT
// Copyright (c) 2021 the ethier authors (github.com/divergencetech/ethier)
pragma solidity >=0.8.9 <0.9.0;

library PRNG {
    /**
    @notice A source of random numbers.
    @dev Pointer to a 2-word buffer of {carry || number, remaining unread
    bits}. however, note that this is abstracted away by the API and SHOULD NOT
    be used. This layout MUST NOT be considered part of the public API and
    therefore not relied upon even within stable versions.
     */
    type Source is uint256;

    /// @notice The biggest safe prime for modulus 2**128
    uint256 private constant MWC_FACTOR = 2**128 - 10408;

    /// @notice Layout within the buffer. 0x00 is the current (carry || number)
    uint256 private constant REMAIN = 0x20;

    /// @notice Mask for the 128 least significant bits
    uint256 private constant MASK_128_BITS = 0xffffffffffffffffffffffffffffffff;

    /**
    @notice Returns a new deterministic Source, differentiated only by the seed.
    @dev Use of PRNG.Source does NOT provide any unpredictability as generated
    numbers are entirely deterministic. Either a verifiable source of randomness
    such as Chainlink VRF, or a commit-and-reveal protocol MUST be used if
    unpredictability is required. The latter is only appropriate if the contract
    owner can be trusted within the specified threat model.
    @dev The 256bit seed is used to initialize carry || number
     */
    function newSource(bytes32 seed) internal pure returns (Source src) {
        assembly {
            src := mload(0x40)
            mstore(0x40, add(src, 0x40))
            mstore(src, seed)
            mstore(add(src, REMAIN), 128)
        }
        // DO NOT call _refill() on the new Source as newSource() is also used
        // by loadSource(), which implements its own state modifications. The
        // first call to read() on a fresh Source will induce a call to
        // _refill().
    }

    /**
    @dev Computes the next PRN in entropy using a lag-1 multiply-with-carry
    algorithm and resets the remaining bits to 128.
    `nextNumber = (factor * number + carry) mod 2**128`
    `nextCarry  = (factor * number + carry) //  2**128`
     */
    function _refill(Source src) private pure {
        assembly {
            let carryAndNumber := mload(src)
            let rand := and(carryAndNumber, MASK_128_BITS)
            let carry := shr(128, carryAndNumber)
            mstore(src, add(mul(MWC_FACTOR, rand), carry))
            mstore(add(src, REMAIN), 128)
        }
    }

    /**
    @notice Returns the specified number of bits <= 128 from the Source.
    @dev It is safe to cast the returned value to a uint<bits>.
     */
    function read(Source src, uint256 bits)
        internal
        pure
        returns (uint256 sample)
    {
        require(bits <= 128, "PRNG: max 128 bits");

        uint256 remain;
        assembly {
            remain := mload(add(src, REMAIN))
        }
        if (remain > bits) {
            return readWithSufficient(src, bits);
        }

        uint256 extra = bits - remain;
        sample = readWithSufficient(src, remain);
        assembly {
            sample := shl(extra, sample)
        }

        _refill(src);
        sample = sample | readWithSufficient(src, extra);
    }

    /**
    @notice Returns the specified number of bits, assuming that there is
    sufficient entropy remaining. See read() for usage.
     */
    function readWithSufficient(Source src, uint256 bits)
        private
        pure
        returns (uint256 sample)
    {
        assembly {
            let ent := mload(src)
            let rem := add(src, REMAIN)
            let remain := mload(rem)
            sample := shr(sub(256, bits), shl(sub(256, remain), ent))
            mstore(rem, sub(remain, bits))
        }
    }

    /// @notice Returns a random boolean.
    function readBool(Source src) internal pure returns (bool) {
        return read(src, 1) == 1;
    }

    /**
    @notice Returns the number of bits needed to encode n.
    @dev Useful for calling readLessThan() multiple times with the same upper
    bound.
     */
    function bitLength(uint256 n) internal pure returns (uint16 bits) {
        assembly {
            for {
                let _n := n
            } gt(_n, 0) {
                _n := shr(1, _n)
            } {
                bits := add(bits, 1)
            }
        }
    }

    /**
    @notice Returns a uniformly random value in [0,n) with rejection sampling.
    @dev If the size of n is known, prefer readLessThan(Source, uint, uint16) as
    it skips the bit counting performed by this version; see bitLength().
     */
    function readLessThan(Source src, uint256 n)
        internal
        pure
        returns (uint256)
    {
        return readLessThan(src, n, bitLength(n));
    }

    /**
    @notice Returns a uniformly random value in [0,n) with rejection sampling
    from the range [0,2^bits).
    @dev For greatest efficiency, the value of bits should be the smallest
    number of bits required to capture n; if this is not known, use
    readLessThan(Source, uint) or bitLength(). Although rejections are reduced
    by using twice the number of bits, this increases the rate at which the
    entropy pool must be refreshed with a call to `_refill`.

    TODO: benchmark higher number of bits for rejection vs hashing gas cost.
     */
    function readLessThan(
        Source src,
        uint256 n,
        uint16 bits
    ) internal pure returns (uint256 result) {
        // Discard results >= n and try again because using % will bias towards
        // lower values; e.g. if n = 13 and we read 4 bits then {13, 14, 15}%13
        // will select {0, 1, 2} twice as often as the other values.
        // solhint-disable-next-line no-empty-blocks
        for (result = n; result >= n; result = read(src, bits)) {}
    }

    /**
    @notice Returns the internal state of the Source.
    @dev MUST NOT be considered part of the API and is subject to change without
    deprecation nor warning. Only exposed for testing.
     */
    function state(Source src)
        internal
        pure
        returns (uint256 entropy, uint256 remain)
    {
        assembly {
            entropy := mload(src)
            remain := mload(add(src, REMAIN))
        }
    }

    /**
    @notice Stores the state of the Source in a 2-word buffer. See loadSource().
    @dev The layout of the stored state MUST NOT be considered part of the
    public API, and is subject to change without warning. It is therefore only
    safe to rely on stored Sources _within_ contracts, but not _between_ them.
     */
    function store(Source src, uint256[2] storage stored) internal {
        uint256 carryAndNumber;
        uint256 remain;
        assembly {
            carryAndNumber := mload(src)
            remain := mload(add(src, REMAIN))
        }
        stored[0] = carryAndNumber;
        stored[1] = remain;
    }

    /**
    @notice Recreates a Source from the state stored with store().
     */
    function loadSource(uint256[2] storage stored)
        internal
        view
        returns (Source)
    {
        Source src = newSource(bytes32(stored[0]));
        uint256 carryAndNumber = stored[0];
        uint256 remain = stored[1];

        assembly {
            mstore(src, carryAndNumber)
            mstore(add(src, REMAIN), remain)
        }
        return src;
    }
}

File 8 of 10 : 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 9 of 10 : IERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../IERC721A.sol';

/**
 * @dev Interface of ERC721AQueryable.
 */
interface IERC721AQueryable is IERC721A {
    /**
     * Invalid query range (`start` >= `stop`).
     */
    error InvalidQueryRange();

    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory);

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory);
}

File 10 of 10 : 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_compiler","type":"address"},{"internalType":"address","name":"chunk1","type":"address"},{"internalType":"address","name":"chunk2","type":"address"},{"internalType":"address","name":"chunk3","type":"address"},{"internalType":"address","name":"chunk4","type":"address"},{"internalType":"address","name":"chunk5","type":"address"},{"internalType":"address","name":"chunk6","type":"address"},{"internalType":"address","name":"chunk7","type":"address"},{"internalType":"address","name":"chunk8","type":"address"},{"internalType":"address","name":"chunk9","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"availableMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenSeed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","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":"maxMint","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"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":"publicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_newMintActive","type":"bool"}],"name":"setMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_rpc","type":"string"}],"name":"setRpc","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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"}]

60806040526608e1bc9bf040006013556103e86014556015805461ffff191660021790553480156200003057600080fd5b5060405162005e1438038062005e148339810160408190526200005391620001e6565b6040518060400160405280600a8152602001694f6e636861696e47617360b01b815250604051806040016040528060048152602001634f47415360e01b8152508160029081620000a491906200035a565b506003620000b382826200035a565b5050600160005550620000c63362000177565b600980546001600160a01b03199081166001600160a01b039c8d1617909155600a805482169a8c169a909a17909955600b80548a16988b1698909817909755600c80548916968a1696909617909555600d8054881694891694909417909355600e8054871692881692909217909155600f8054861691871691909117905560108054851691861691909117905560118054841691851691909117905560128054909216921691909117905562000426565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80516001600160a01b0381168114620001e157600080fd5b919050565b6000806000806000806000806000806101408b8d0312156200020757600080fd5b620002128b620001c9565b99506200022260208c01620001c9565b98506200023260408c01620001c9565b97506200024260608c01620001c9565b96506200025260808c01620001c9565b95506200026260a08c01620001c9565b94506200027260c08c01620001c9565b93506200028260e08c01620001c9565b9250620002936101008c01620001c9565b9150620002a46101208c01620001c9565b90509295989b9194979a5092959850565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620002e057607f821691505b6020821081036200030157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200035557600081815260208120601f850160051c81016020861015620003305750805b601f850160051c820191505b8181101562000351578281556001016200033c565b5050505b505050565b81516001600160401b03811115620003765762000376620002b5565b6200038e81620003878454620002cb565b8462000307565b602080601f831160018114620003c65760008415620003ad5750858301515b600019600386901b1c1916600185901b17855562000351565b600085815260208120601f198616915b82811015620003f757888601518255948401946001909101908401620003d6565b5085821015620004165787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6159de80620004366000396000f3fe6080604052600436106101fe5760003560e01c8063715018a61161011d578063b88d4fde116100b0578063cbce4c971161007f578063e985e9c511610064578063e985e9c5146105b9578063ee1cc94414610602578063f2fde38b1461062257600080fd5b8063cbce4c9714610583578063d5abeb01146105a357600080fd5b8063b88d4fde14610504578063bc8893b414610517578063c23dc68f14610536578063c87b56dd1461056357600080fd5b80638da5cb5b116100ec5780638da5cb5b1461049157806395d89b41146104af57806399a2557a146104c4578063a22cb465146104e457600080fd5b8063715018a6146104035780637501f741146104185780637dea6bac146104445780638462151c1461046457600080fd5b80633ccfd60b116101955780635a4c1624116101645780635a4c1624146103765780635bbb2177146103965780636352211e146103c357806370a08231146103e357600080fd5b80633ccfd60b1461031b57806340c10f191461033057806342842e0e1461034357806344a0d68a1461035657600080fd5b8063095ea7b3116101d1578063095ea7b3146102c057806313faede6146102d557806318160ddd146102eb57806323b872dd1461030857600080fd5b806301ffc9a7146102035780630270ef421461023857806306fdde0314610266578063081812fc14610288575b600080fd5b34801561020f57600080fd5b5061022361021e366004612c5c565b610642565b60405190151581526020015b60405180910390f35b34801561024457600080fd5b50610258610253366004612c95565b610727565b60405190815260200161022f565b34801561027257600080fd5b5061027b61075d565b60405161022f9190612d00565b34801561029457600080fd5b506102a86102a3366004612d13565b6107ef565b6040516001600160a01b03909116815260200161022f565b6102d36102ce366004612d2c565b61084c565b005b3480156102e157600080fd5b5061025860135481565b3480156102f757600080fd5b506001546000540360001901610258565b6102d3610316366004612d56565b61091d565b34801561032757600080fd5b506102d3610b50565b6102d361033e366004612d2c565b610b94565b6102d3610351366004612d56565b610e22565b34801561036257600080fd5b506102d3610371366004612d13565b610e42565b34801561038257600080fd5b50610258610391366004612d13565b610e4f565b3480156103a257600080fd5b506103b66103b1366004612d92565b610eba565b60405161022f9190612e07565b3480156103cf57600080fd5b506102a86103de366004612d13565b610f86565b3480156103ef57600080fd5b506102586103fe366004612c95565b610f91565b34801561040f57600080fd5b506102d3610ff9565b34801561042457600080fd5b506015546104329060ff1681565b60405160ff909116815260200161022f565b34801561045057600080fd5b506102d361045f366004612f4a565b61100d565b34801561047057600080fd5b5061048461047f366004612c95565b611021565b60405161022f9190612f93565b34801561049d57600080fd5b506008546001600160a01b03166102a8565b3480156104bb57600080fd5b5061027b611125565b3480156104d057600080fd5b506104846104df366004612fcb565b611134565b3480156104f057600080fd5b506102d36104ff36600461300e565b6112d5565b6102d3610512366004613041565b61135f565b34801561052357600080fd5b5060155461022390610100900460ff1681565b34801561054257600080fd5b50610556610551366004612d13565b6113c2565b60405161022f91906130bd565b34801561056f57600080fd5b5061027b61057e366004612d13565b61144a565b34801561058f57600080fd5b506102d361059e366004612d2c565b611eda565b3480156105af57600080fd5b5061025860145481565b3480156105c557600080fd5b506102236105d4366004613102565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561060e57600080fd5b506102d361061d36600461312c565b611fcf565b34801561062e57600080fd5b506102d361063d366004612c95565b61200e565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614806106d557507f80ac58cd000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b8061072157507f5b5e139f000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c16601554610721919060ff16613176565b60606002805461076c90613189565b80601f016020809104026020016040519081016040528092919081815260200182805461079890613189565b80156107e55780601f106107ba576101008083540402835291602001916107e5565b820191906000526020600020905b8154815290600101906020018083116107c857829003601f168201915b5050505050905090565b60006107fa826120b5565b610830576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061085782610f86565b9050336001600160a01b038216146108a95761087381336105d4565b6108a9576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061092882612103565b9050836001600160a01b0316816001600160a01b031614610975576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176109db576109a586336105d4565b6109db576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516610a1b576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015610a2657600082555b6001600160a01b03808716600090815260056020526040808220805460001901905591871681522080546001019055610a9885610a648882876121a4565b7c0200000000000000000000000000000000000000000000000000000000174260a01b176001600160a01b03919091161790565b6000858152600460205260408120919091557c020000000000000000000000000000000000000000000000000000000084169003610b0657600184016000818152600460205260408120549003610b04576000548114610b045760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610b586121c7565b6008546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610b91573d6000803e3d6000fd5b50565b601554610100900460ff16610c0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f64697361626c656400000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b60008111610c74576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f6d696e74203c3d203000000000000000000000000000000000000000000000006044820152606401610c01565b60155460ff1681610ca8336001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b610cb291906131dc565b1115610d1a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f6d696e74203e3d206d61786d696e7400000000000000000000000000000000006044820152606401610c01565b6014546001546000548391900360001901610d3591906131dc565b1115610d9d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f4f76657220737570706c790000000000000000000000000000000000000000006044820152606401610c01565b80601354610dab91906131ef565b341015610e14576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e6f7420656e6f756768204554480000000000000000000000000000000000006044820152606401610c01565b610e1e828261223b565b5050565b610e3d8383836040518060200160405280600081525061135f565b505050565b610e4a6121c7565b601355565b600080610e5b83612255565b606001516040517fffffff000000000000000000000000000000000000000000000000000000000060e883901b1660208201526023810185905290915060430160408051601f1981840301815291905280516020909101209392505050565b60608160008167ffffffffffffffff811115610ed857610ed8612e84565b604051908082528060200260200182016040528015610f2a57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610ef65790505b50905060005b828114610f7d57610f58868683818110610f4c57610f4c61320e565b905060200201356113c2565b828281518110610f6a57610f6a61320e565b6020908102919091010152600101610f30565b50949350505050565b600061072182612103565b60006001600160a01b038216610fd3576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6110016121c7565b61100b60006122e6565b565b6110156121c7565b6016610e1e8282613283565b6060600080600061103185610f91565b905060008167ffffffffffffffff81111561104e5761104e612e84565b604051908082528060200260200182016040528015611077578160200160208202803683370190505b5060408051608081018252600080825260208201819052918101829052606081019190915290915060015b838614611119576110b281612350565b915081604001516111115781516001600160a01b0316156110d257815194505b876001600160a01b0316856001600160a01b03160361111157808387806001019850815181106111045761110461320e565b6020026020010181815250505b6001016110a2565b50909695505050505050565b60606003805461076c90613189565b606081831061116f576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061117b60005490565b9050600185101561118b57600194505b80841115611197578093505b60006111a287610f91565b9050848610156111c157858503818110156111bb578091505b506111c5565b5060005b60008167ffffffffffffffff8111156111e0576111e0612e84565b604051908082528060200260200182016040528015611209578160200160208202803683370190505b5090508160000361121f5793506112ce92505050565b600061122a886113c2565b90506000816040015161123b575080515b885b88811415801561124d5750848714155b156112c25761125b81612350565b925082604001516112ba5782516001600160a01b03161561127b57825191505b8a6001600160a01b0316826001600160a01b0316036112ba57808488806001019950815181106112ad576112ad61320e565b6020026020010181815250505b60010161123d565b50505092835250909150505b9392505050565b3360008181526007602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61136a84848461091d565b6001600160a01b0383163b156113bc57611386848484846123e8565b6113bc576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061141b57506000548310155b156114265792915050565b61142f83612350565b90508060400151156114415792915050565b6112ce83612255565b600954600a54600b54600c54600d54600e54600f546010546011546012546040517f589dba3a0000000000000000000000000000000000000000000000000000000081526001600160a01b03998a1660048201529789166024890152958816604488015293871660648701529186166084860152851660a4850152841660c4840152831660e48301528216610104820152606092600092169063589dba3a9061012401600060405180830381865afa15801561150a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115329190810190613343565b9050600061153f84612537565b90506000611559611554633b9aca00486133ba565b612537565b9050600960009054906101000a90046001600160a01b03166001600160a01b031663167671b86040518163ffffffff1660e01b8152600401600060405180830381865afa1580156115ae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115d69190810190613343565b600954604080517f47f4388c0000000000000000000000000000000000000000000000000000000081526004810191909152600d60448201527f616e696d6174696f6e5f75726c000000000000000000000000000000000000006064820152600060248201526001600160a01b03909116906347f4388c90608401600060405180830381865afa15801561166e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116969190810190613343565b600960009054906101000a90046001600160a01b03166001600160a01b0316632b70503d6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156116e9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117119190810190613343565b600960009054906101000a90046001600160a01b03166001600160a01b031663597422e16040518163ffffffff1660e01b8152600401600060405180830381865afa158015611764573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261178c9190810190613343565b600954604080517f9595b594000000000000000000000000000000000000000000000000000000008152905189926001600160a01b031691639595b5949160048083019260009291908290030181865afa1580156117ee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118169190810190613343565b600960009054906101000a90046001600160a01b03166001600160a01b0316636d33aa676040518163ffffffff1660e01b8152600401600060405180830381865afa158015611869573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118919190810190613343565b6009546040517fdd8520080000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063dd852008906118dd908c906001906004016133f5565b600060405180830381865afa1580156118fa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119229190810190613343565b6009546040517fdd8520080000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063dd8520089061196e908c9060019060040161344d565b600060405180830381865afa15801561198b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119b39190810190613343565b6009546040516001600160a01b039091169063dd852008906119da90601690602001613494565b60405160208183030381529060405260016040518363ffffffff1660e01b8152600401611a0892919061355a565b600060405180830381865afa158015611a25573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a4d9190810190613343565b600960009054906101000a90046001600160a01b03166001600160a01b0316632781bde26040518163ffffffff1660e01b8152600401600060405180830381865afa158015611aa0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ac89190810190613343565b604051602001611adf9897969594939291906135bd565b60408051808303601f19018152908290526009547f64bdce1a0000000000000000000000000000000000000000000000000000000083526000600484015290916001600160a01b03909116906364bdce1a90602401600060405180830381865afa158015611b51573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b799190810190613343565b604051602001611b8c9493929190613662565b60408051808303601f190181528282526009547f47f4388c0000000000000000000000000000000000000000000000000000000084526004840192909252600560448401527f696d616765000000000000000000000000000000000000000000000000000000606484015260006024840152916001600160a01b03909116906347f4388c90608401600060405180830381865afa158015611c31573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c599190810190613343565b611c98611c72611c688a610e4f565b62ffffff1661268e565b85604051602001611c84929190615461565b6040516020818303038152906040526127ff565b6009546040517f64bdce1a000000000000000000000000000000000000000000000000000000008152600060048201526001600160a01b03909116906364bdce1a90602401600060405180830381865afa158015611cfa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d229190810190613343565b604051602001611d3493929190615780565b60408051808303601f190181528282526009547f47f4388c00000000000000000000000000000000000000000000000000000000845260048085019390935260448401929092527f6e616d6500000000000000000000000000000000000000000000000000000000606484015260006024840152916001600160a01b03909116906347f4388c90608401600060405180830381865afa158015611ddb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e039190810190613343565b85604051602001611e159291906157ef565b60408051601f198184030181528282526009547febe02405000000000000000000000000000000000000000000000000000000008452915190926001600160a01b039092169163ebe024059160048083019260009291908290030181865afa158015611e85573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ead9190810190613343565b604051602001611ec1959493929190615871565b6040516020818303038152906040529350505050919050565b611ee26121c7565b60008111611f4c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f6d696e74203c3d203000000000000000000000000000000000000000000000006044820152606401610c01565b6014546001546000548391900360001901611f6791906131dc565b1115610e14576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f4f76657220737570706c790000000000000000000000000000000000000000006044820152606401610c01565b611fd76121c7565b60158054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b6120166121c7565b6001600160a01b0381166120ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610c01565b610b91816122e6565b6000816001111580156120c9575060005482105b80156107215750506000908152600460205260409020547c0100000000000000000000000000000000000000000000000000000000161590565b600081806001116121725760005481101561217257600081815260046020526040812054907c010000000000000000000000000000000000000000000000000000000082169003612170575b806000036112ce57506000190160008181526004602052604090205461214f565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060e882811c906121b78686846129b9565b62ffffff16901b95945050505050565b6008546001600160a01b0316331461100b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c01565b610e1e828260405180602001604052806000815250612a49565b60408051608081018252600080825260208201819052918101829052606081019190915261072161228583612103565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff1660208201527c0100000000000000000000000000000000000000000000000000000000831615159181019190915260e89190911c606082015290565b600880546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461072190604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff1660208201527c0100000000000000000000000000000000000000000000000000000000831615159181019190915260e89190911c606082015290565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081526000906001600160a01b0385169063150b7a02906124369033908990889088906004016158dc565b6020604051808303816000875af1925050508015612471575060408051601f3d908101601f1916820190925261246e91810190615918565b60015b6124e8573d80801561249f576040519150601f19603f3d011682016040523d82523d6000602084013e6124a4565b606091505b5080516000036124e0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490505b949350505050565b60608160000361257a57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156125a4578061258e81615935565b915061259d9050600a836133ba565b915061257e565b60008167ffffffffffffffff8111156125bf576125bf612e84565b6040519080825280601f01601f1916602001820160405280156125e9576020820181803683370190505b509050815b8515610f7d576125ff600182613176565b9050600061260e600a886133ba565b61261990600a6131ef565b6126239088613176565b61262e90603061594f565b905060008160f81b90508084848151811061264b5761264b61320e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612685600a896133ba565b975050506125ee565b6060816000036126d157505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156126fb57806126e581615935565b91506126f490506010836133ba565b91506126d5565b60008167ffffffffffffffff81111561271657612716612e84565b6040519080825280601f01601f191660200182016040528015612740576020820181803683370190505b509050815b8515610f7d57612756600182613176565b905060006127656010886133ba565b6127709060106131ef565b61277a9088613176565b61278590603061594f565b905060398160ff1611156127a15761279e60078261594f565b90505b60008160f81b9050808484815181106127bc576127bc61320e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506127f66010896133ba565b97505050612745565b6060815160000361281e57505060408051602081019091526000815290565b6000604051806060016040528060408152602001615969604091399050600060038451600261284d91906131dc565b61285791906133ba565b6128629060046131ef565b905060006128718260206131dc565b67ffffffffffffffff81111561288957612889612e84565b6040519080825280601f01601f1916602001820160405280156128b3576020820181803683370190505b509050818152600183018586518101602084015b8183101561291f576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f81168501518253506001016128c7565b6003895106600181146129395760028114612983576129ab565b7f3d3d0000000000000000000000000000000000000000000000000000000000007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe8301526129ab565b7f3d000000000000000000000000000000000000000000000000000000000000006000198301525b509398975050505050505050565b60006001600160a01b038416612a42576000426129d7600143613176565b4033604051602001612a2193929190928352602083019190915260601b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016604082015260540190565b60408051601f19818403018152919052805160209091012091506112ce9050565b5092915050565b612a538383612acf565b6001600160a01b0383163b15610e3d576000548281035b612a7d60008683806001019450866123e8565b612ab3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612a6a578160005414612ac857600080fd5b5050505050565b6000805490829003612b0d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03831660009081526005602052604081208054680100000000000000018502019055612b64908490612b479082816121a4565b6001851460e11b174260a01b176001600160a01b03919091161790565b6000828152600460205260408120919091556001600160a01b0384169083830190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114612bea57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101612bb2565b5081600003612c25576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005550505050565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610b9157600080fd5b600060208284031215612c6e57600080fd5b81356112ce81612c2e565b80356001600160a01b0381168114612c9057600080fd5b919050565b600060208284031215612ca757600080fd5b6112ce82612c79565b60005b83811015612ccb578181015183820152602001612cb3565b50506000910152565b60008151808452612cec816020860160208601612cb0565b601f01601f19169290920160200192915050565b6020815260006112ce6020830184612cd4565b600060208284031215612d2557600080fd5b5035919050565b60008060408385031215612d3f57600080fd5b612d4883612c79565b946020939093013593505050565b600080600060608486031215612d6b57600080fd5b612d7484612c79565b9250612d8260208501612c79565b9150604084013590509250925092565b60008060208385031215612da557600080fd5b823567ffffffffffffffff80821115612dbd57600080fd5b818501915085601f830112612dd157600080fd5b813581811115612de057600080fd5b8660208260051b8501011115612df557600080fd5b60209290920196919550909350505050565b6020808252825182820181905260009190848201906040850190845b8181101561111957612e718385516001600160a01b03815116825267ffffffffffffffff602082015116602083015260408101511515604083015262ffffff60608201511660608301525050565b9284019260809290920191600101612e23565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612edc57612edc612e84565b604052919050565b600067ffffffffffffffff821115612efe57612efe612e84565b50601f01601f191660200190565b6000612f1f612f1a84612ee4565b612eb3565b9050828152838383011115612f3357600080fd5b828260208301376000602084830101529392505050565b600060208284031215612f5c57600080fd5b813567ffffffffffffffff811115612f7357600080fd5b8201601f81018413612f8457600080fd5b61252f84823560208401612f0c565b6020808252825182820181905260009190848201906040850190845b8181101561111957835183529284019291840191600101612faf565b600080600060608486031215612fe057600080fd5b612fe984612c79565b95602085013595506040909401359392505050565b80358015158114612c9057600080fd5b6000806040838503121561302157600080fd5b61302a83612c79565b915061303860208401612ffe565b90509250929050565b6000806000806080858703121561305757600080fd5b61306085612c79565b935061306e60208601612c79565b925060408501359150606085013567ffffffffffffffff81111561309157600080fd5b8501601f810187136130a257600080fd5b6130b187823560208401612f0c565b91505092959194509250565b81516001600160a01b0316815260208083015167ffffffffffffffff169082015260408083015115159082015260608083015162ffffff169082015260808101610721565b6000806040838503121561311557600080fd5b61311e83612c79565b915061303860208401612c79565b60006020828403121561313e57600080fd5b6112ce82612ffe565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8181038181111561072157610721613147565b600181811c9082168061319d57607f821691505b6020821081036131d6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b8082018082111561072157610721613147565b600081600019048311821515161561320957613209613147565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b601f821115610e3d57600081815260208120601f850160051c810160208610156132645750805b601f850160051c820191505b81811015610b4857828155600101613270565b815167ffffffffffffffff81111561329d5761329d612e84565b6132b1816132ab8454613189565b8461323d565b602080601f8311600181146132e657600084156132ce5750858301515b600019600386901b1c1916600185901b178555610b48565b600085815260208120601f198616915b82811015613315578886015182559484019460019091019084016132f6565b50858210156133335787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561335557600080fd5b815167ffffffffffffffff81111561336c57600080fd5b8201601f8101841361337d57600080fd5b805161338b612f1a82612ee4565b8181528560208385010111156133a057600080fd5b6133b1826020830160208601612cb0565b95945050505050565b6000826133f0577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60608152600760608201527f746f6b656e496400000000000000000000000000000000000000000000000000608082015260a06020820152600061343c60a0830185612cd4565b905082151560408301529392505050565b60608152600860608201527f6761735072696365000000000000000000000000000000000000000000000000608082015260a06020820152600061343c60a0830185612cd4565b60007f25323532320000000000000000000000000000000000000000000000000000008083526005600085546134c981613189565b600182811680156134e157600181146135185761354b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008416868a01528583151584028a0101945061354b565b8960005260208060002060005b858110156135405781548c82018a0152908401908201613525565b50505085838a010194505b50505092815201949350505050565b60608152600360608201527f7270630000000000000000000000000000000000000000000000000000000000608082015260a06020820152600061343c60a0830185612cd4565b600081516135b3818560208601612cb0565b9290920192915050565b6000895160206135d08285838f01612cb0565b8a51918401916135e38184848f01612cb0565b8a519201916135f58184848e01612cb0565b89519201916136078184848d01612cb0565b88519201916136198184848c01612cb0565b875192019161362b8184848b01612cb0565b865192019161363d8184848a01612cb0565b855192019161364f8184848901612cb0565b919091019b9a5050505050505050505050565b60008551613674818460208a01612cb0565b855190830190613688818360208a01612cb0565b855191019061369b818360208901612cb0565b7f25323533437374796c6525323533452532353041253235323025323532302a2591019081527f323532302532353742253235304125323532302532353230253235323025323560208201527f32306d617267696e25323533412532353230302532353342253235304125323560408201527f323025323532302532353230253235323070616464696e67253235334125323560608201527f323030253235334225323530412532353230253235323025323537442532353060808201527f412532353230253235323063616e76617325323532302532353742253235304160a08201527f253235323025323532302532353230253235323077696474682532353341253260c08201527f353230313030253235323525323533422532353041253235323025323532302560e08201527f32353230253235323068656967687425323533412532353230313030253235326101008201527f35253235334225323530412532353230253235323025323537442532353041256101208201527f3235334325323532467374796c652532353345253235304125323533437363726101408201527f697074253235334525323530412532353230253235323077696e646f772e6f6e6101608201527f6c6f616425323533446173796e6328292532353344253235334525323537426c6101808201527f65742532353230732532353344646f63756d656e742e626f64792532353243636101a08201527f25323533446761735072696365253235324375253235334421312532353342636101c08201527f6f6e73742532353230672532353344646f63756d656e742e637265617465456c6101e08201527f656d656e74282532353232696e7075742532353232292532353342672e7479706102008201527f6525323533442532353232636865636b626f7825323532322532353243672e696102208201527f64253235334425323532326c697665436865636b626f782532353232253235336102408201527f42636f6e73742532353230682532353344646f63756d656e742e6372656174656102608201527f456c656d656e742825323532326c6162656c2532353232292532353342682e686102808201527f746d6c466f72253235334425323532326c697665436865636b626f78253235326102a08201527f322532353243682e696e6e657254657874253235334425323532324c697665256102c08201527f3235323075706461746525323532322532353342636f6e7374253235323064256102e08201527f32353344646f63756d656e742e637265617465456c656d656e742825323532326103008201527f7370616e2532353232292532353342642e7374796c652e706f736974696f6e256103208201527f3235334425323532326162736f6c75746525323532322532353243642e7374796103408201527f6c652e626f74746f6d25323533442532353232313025323532322532353243646103608201527f2e7374796c652e6c6566742532353344253235323231302532353232253235326103808201527f43682e7374796c652e636f6c6f722532353344253235323277686974652532356103a08201527f32322532353243682e7374796c652e6d617267696e4c656674253235334425326103c08201527f3532323130707825323532322532353243642e617070656e644368696c6428676103e08201527f292532353243642e617070656e644368696c642868292532353243732e6170706104008201527f656e644368696c642864292532353243672e6164644576656e744c697374656e6104208201527f65722825323532326368616e67652532353232253235324374253235334425326104408201527f3533452532353742752532353344742e7461726765742e636865636b656425326104608201527f35324375253235323625323532362852253235334430292532353744292532356104808201527f3342636f6e73742532353230452532353344646f63756d656e742e63726561746104a08201527f65456c656d656e742825323532326469762532353232292532353342452e73746104c08201527f796c6525323533442532353232706f736974696f6e25323533412532353230616104e08201527f62736f6c75746525323533422532353230746f702532353341253235323031306105008201527f25323533422532353230726967687425323533412532353230313025323533426105208201527f2532353230636f6c6f72253235334125323532307768697465253235323225326105408201527f353243452e696e6e6572546578742532353344253235363047617325323532306105608201527f70726963652532353341253235323025323532342532353742676173507269636105808201527f65253235374425323532306777656925323536302532353243732e617070656e6105a08201527f644368696c642845292532353342636f6e737425323532306e253235334474256105c08201527f32353344253235334528742125323533442532353344766f69642532353230306105e08201527f25323532362532353236286c25323533447425323532353231343734383336346106008201527f3729253235334325323533443025323532362532353236286c253235324225326106208201527f3533443231343734383336343629253235324328286c253235334431363830376106408201527f2a6c253235323532313437343833363437292d312925323532463231343734386106608201527f333634362925323533426e28746f6b656e4964292532353342636f6e737425326106808201527f35374277696474682532353341622532353243686569676874253235334166256106a08201527f323537442532353344732e676574426f756e64696e67436c69656e74526563746106c08201527f282925323533426c6574253235323048253235334466253235324632253235326106e08201527f43612532353344662a322532353243542532353344302532353342636f6e73746107008201527f25323532307225323533446e6577253235323054485245452e506572737065636107208201527f7469766543616d657261283830253235324362253235324666253235324331256107408201527f32353243336533292532353342722e706f736974696f6e2e7a253235334431356107608201527f3030253235334266756e6374696f6e2532353230472874292532353742742e696107808201527f735072696d6172792532353236253235323628542532353344742e636c69656e6107a08201527f74592d48292532353744636f6e737425323532306925323533446e65772532356107c08201527f323054485245452e5363656e652532353342692e6261636b67726f756e6425326107e08201527f3533446e6577253235323054485245452e436f6c6f722830292532353342636f6108008201527f6e737425323532304c25323533446e6577253235323054485245452e48656d696108208201527f7370686572654c696768742831363737373134372532353243353236333638256108408201527f3235324331292532353342692e616464284c292532353342636f6e73742532356108608201527f32307725323533446e6577253235323054485245452e506f696e744c696768746108808201527f28313637373731343725323532433125323532433165332532353243302925326108a08201527f353342772e706f736974696f6e2e7365742830253235324330253235324331356108c08201527f30292532353243772e6c6f6f6b417428302532353243302532353243302925326108e08201527f353243692e6164642877292532353342636f6e737425323532307025323533446109008201527f6e6577253235323054485245452e576562474c52656e646572657228253235376109208201527f42616e7469616c696173253235334121302532353744292532353342702e73656109408201527f74506978656c526174696f2877696e646f772e646576696365506978656c52616109608201527f74696f292532353243702e73657453697a6528622532353243662925323533426109808201527f636f6e737425323532304325323533446e6577253235323054485245452e43796109a08201527f6c696e64657247656f6d657472792835302532353243313030253235324361256109c08201527f32353243333225323532433125323532432130292532353342432e7472616e736109e08201527f6c6174652830253235324361253235324632253235324330292532353342636f610a008201527f6e737425323532307a25323533446e6577253235323054485245452e4d657368610a208201527f50686f6e674d6174657269616c282532353742636f6c6f7225323533414d6174610a408201527f682e6365696c2831363737373231352a6e282929253235324373696465253235610a608201527f334154485245452e446f75626c65536964652532353243666c61745368616469610a808201527f6e672532353341213025323537442925323532437625323533446e6577253235610aa08201527f323054485245452e4d657368284325323532437a292532353342762e706f7369610ac08201527f74696f6e2e736574283025323532436125323532463225323532433029253235610ae08201527f3243692e6164642876292532353342636f6e737425323532304125323533446e610b008201527f6577253235323054485245452e4d65736842617369634d6174657269616c2825610b208201527f323537427472616e73706172656e742532353341213025323532436f70616369610b408201527f747925323533412e352532353243636f6c6f7225323533413136373737313437610b608201527f2532353243626c656e64696e67253235334154485245452e4164646974697665610b808201527f426c656e64696e6725323537442925323532434d253235334432302532353243610ba08201527f4225323533446e6577253235323054485245452e426f7847656f6d6574727928610bc08201527f4d25323532434d25323532434d2925323533426c657425323532307925323533610be08201527f4425323535422532353544253235334266756e6374696f6e2532353230782829610c008201527f2532353742636f6e73742532353230742532353344446174652e6e6f77282925610c208201527f323532436f25323533446e6577253235323054485245452e4d65736828422532610c408201527f353243412925323533426f2e64656c617925323533444d6174682e666c6f6f72610c608201527f283565332a4d6174682e72616e646f6d28292925323532427425323532436f2e610c808201527f706f736974696f6e2e7365742831302d32302a4d6174682e72616e646f6d2829610ca08201527f2532353243326535253235324331302d32302a4d6174682e72616e646f6d2829610cc08201527f2925323532436f2e726f746174696f6e2e736574286e282925323532436e2829610ce08201527f25323532436e2829292532353243792e70757368286f292532353243692e6164610d008201527f64286f292532353744666f72286c657425323532307425323533443025323533610d208201527f4274253235334363253235334274253235324225323532422978282925323533610d408201527f42636f6e73742532353230492532353344253235354225323535442532353243610d608201527f6a2532353344313025323532424d6174682e6365696c2831302a6e2829292532610d808201527f3532434425323533446e6577253235323054485245452e53706865726547656f610da08201527f6d6574727928322532353243382532353243382925323532435325323533446e610dc08201527f6577253235323054485245452e4d65736842617369634d6174657269616c2532610de08201527f353342532e636f6c6f722e736574283136373737323135292532353342666f72610e008201527f286c657425323532307425323533443025323533427425323533436a25323533610e208201527f427425323532422532353242292532353742636f6e737425323532306f253235610e408201527f33446e6577253235323054485245452e4d657368284425323532435329253235610e608201527f33426f2e706f736974696f6e2e736574283165332d3265332a6e282925323532610e808201527f433165332d3265332a6e282925323532433165332d3265332a6e282929253235610ea08201527f3243492e70757368286f292532353243692e616464286f29253235374466756e610ec08201527f6374696f6e25323532305028292532353742636f6e7374253235374277696474610ee08201527f68253235334174253235324368656967687425323533416f2532353744253235610f008201527f3344732e676574426f756e64696e67436c69656e745265637428292532353342610f208201527f4825323533446f25323532463225323532436125323533446f2a322532353243610f408201527f722e61737065637425323533447425323532466f2532353243722e7570646174610f608201527f6550726f6a656374696f6e4d617472697828292532353243702e73657453697a610f808201527f65287425323532436f292532353243762e706f736974696f6e2e736574283025610fa08201527f3235324361253235324632253235324330292532353744726573697a65722532610fc08201527f353344502532353243732e617070656e644368696c6428702e646f6d456c656d610fe08201527f656e74292532353243732e7374796c652e746f756368416374696f6e253235336110008201527f4425323532326e6f6e6525323532322532353243732e6164644576656e744c696110208201527f7374656e6572282532353232706f696e7465726d6f76652532353232253235326110408201527f434729253235324377696e646f772e6164644576656e744c697374656e6572286110608201527f2532353232726573697a652532353232253235324350292532353243502829256110808201527f323533426c65742532353230522532353344323430253235334266756e6374696110a08201527f6f6e25323532306b2829253235374269662872657175657374416e696d6174696110c08201527f6f6e4672616d65286b2925323532437525323532362532353236522d2d2532356110e08201527f33433025323532362532353236285225323533443234302532353243666574636111008201527f6828727063253235324325323537426d6574686f6425323533412532353232506111208201527f4f535425323532322532353243626f647925323533414a534f4e2e737472696e6111408201527f676966792825323537426a736f6e72706325323533412532353232322e3025326111608201527f35323225323532436d6574686f64253235334125323532326574685f676173506111808201527f7269636525323532322532353243706172616d732532353341253235354225326111a08201527f353544253235324369642532353341312532353744292532353744292e7468656111c08201527f6e286173796e63253235323065253235334425323533452532353742636f6e736111e08201527f742532353742726573756c7425323533416d25323537442532353344617761696112008201527f742532353230652e6a736f6e28292532353342676173507269636525323533446112208201527f7061727365496e74286d253235324331362925323532463165392532353744296112408201527f29253235324367617350726963652125323533442532353344632925323537426112608201527f696628676173507269636525323533456329666f72286c6574253235323065256112808201527f3235334430253235334265253235334367617350726963652d632532353342656112a08201527f25323532422532353242297828292532353342656c736525323537426c6574256112c08201527f32353230652532353344632d67617350726963652532353342666f7228636f6e6112e08201527f737425323532306d25323532306f66253235323079296966286d2e646f6e65256113008201527f323537432532353743286d2e646f6e65253235334421302532353243652d2d296113208201527f253235324365253235334325323533443029627265616b2532353744632532356113408201527f334467617350726963652532353243452e696e6e6572546578742532353344256113608201527f32353630476173253235323070726963652532353341253235323025323532346113808201527f25323537426761735072696365253235374425323532306777656925323536306113a08201527f2532353744722e706f736974696f6e2e79253235324225323533442e30352a286113c08201527f3230302d542d722e706f736974696f6e2e79292532353243692e726f746174696113e08201527f6f6e2e792d25323533442e3030352532353243722e6c6f6f6b417428692e706f6114008201527f736974696f6e292532353243702e72656e6465722869253235324372292532356114208201527f3342636f6e73742532353230742532353344446174652e6e6f772829253235326114408201527f436f25323533442e3030312a7425323532434f25323533444d6174682e73696e6114608201527f286f292532353342666f7228636f6e737425323532306525323532306f6625326114808201527f35323079292532353742696628652e64656c617929696628742532353345652e6114a08201527f64656c617929652e64656c617925323533446e756c6c2532353243652e706f736114c08201527f6974696f6e2e79253235334461253235324632253235324232302532353242326114e08201527f302a4d6174682e72616e646f6d28292532353342656c73652532353230636f6e6115008201527f74696e75652532353342652e76656c6f636974792532353344652e76656c6f636115208201527f697479253235374325323537436e6577253235323054485245452e566563746f6115408201527f7233283025323532432d31253235324330292532353243652e76656c6f6369746115608201527f792e792d25323533442e3236372532353243652e706f736974696f6e2e6164646115808201527f28652e76656c6f63697479292532353243652e706f736974696f6e2e792532356115a08201527f33432d612532353246322532353236253235323628652e626f756e6365436f756115c08201527f6e742532353346652e626f756e6365436f756e742532353343332532353346286115e08201527f652e626f756e6365436f756e74253235324225323532422532353243652e76656116008201527f6c6f636974792e7925323533442d652e76656c6f636974792e792a2e322532356116208201527f3243652e706f736974696f6e2e7925323533442d6125323532463229253235336116408201527f41652e646f6e65253235334628792e73706c69636528792e696e6465784f66286116608201527f6529253235324331292532353243692e72656d6f7665286529292532353341286116808201527f652e706f736974696f6e2e7365742831302d32302a4d6174682e72616e646f6d6116a08201527f28292532353243326536253235324331302d32302a4d6174682e72616e646f6d6116c08201527f2829292532353243652e626f756e6365436f756e7425323533443025323532436116e08201527f652e76656c6f636974792e782532353344302532353243652e76656c6f6369746117008201527f792e7925323533442d312532353243652e76656c6f636974792e7a25323533446117208201527f302532353243652e64656c617925323533444d6174682e666c6f6f72283565336117408201527f2a4d6174682e72616e646f6d28292925323532427429253235334128652e626f6117608201527f756e6365436f756e742532353344312532353243652e76656c6f636974792e786117808201527f2532353344382d31362a4d6174682e72616e646f6d28292532353243652e76656117a08201527f6c6f636974792e7a2532353344382d31362a4d6174682e72616e646f6d2829256117c08201527f32353243652e76656c6f636974792e7925323533442d652e76656c6f636974796117e08201527f2e792a2e322532353243652e706f736974696f6e2e7925323533442d612532356118008201527f3246322929253235374425323537446b282925323537442532353342253235306118208201527f412532353041253235334325323532467363726970742532353345000000000061184082015261545661185b8201856135a1565b979650505050505050565b7f3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d22757481527f662d38223f3e3c7376672076696577426f783d2230203020353030203530302260208201527f20786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f7360408201527f7667223e3c74657874207374796c653d2277686974652d73706163653a20707260608201527f653b2066696c6c3a207267622835312c2035312c203531293b20666f6e742d6660808201527f616d696c793a20417269616c2c2073616e732d73657269663b20666f6e742d7360a08201527f697a653a2038322e3570783b2220783d22312e3131332220793d223131322e3160c08201527f3933223e4f6e636861696e204761733c2f746578743e3c7061746820643d224d60e08201527f203235302e383335203134382e313037204c203431362e343831203430342e326101008201527f3332204c2038352e313839203430342e323332204c203235302e3833352031346101208201527f382e313037205a22207374796c653d2266696c6c3a2023000000000000000000610140820152600061575261574c6156196101578501876135a1565b7f3b207374726f6b653a2072676228302c20302c2030293b222073686170653d2281527f747269616e676c652038352e313839203134382e313037203333312e3239322060208201527f3235362e31323520302e352030203140633438633563393522202f3e3c74657860408201527f7420783d223530252220746578742d616e63686f723d226d6964646c6522207360608201527f74796c653d2277686974652d73706163653a207072653b2066696c6c3a20726760808201527f622835312c2035312c203531293b20666f6e742d66616d696c793a204172696160a08201527f6c2c2073616e732d73657269663b20666f6e742d73697a653a2035312e33707860c08201527f3b2220793d223331392e323736223e000000000000000000000000000000000060e082015260ef0190565b846135a1565b7f3c2f746578743e3c2f7376673e000000000000000000000000000000000000008152600d01949350505050565b60008451615792818460208901612cb0565b7f646174613a696d6167652f7376672b786d6c3b6261736536342c00000000000090830190815284516157cc81601a840160208901612cb0565b84519101906157e281601a840160208801612cb0565b01601a0195945050505050565b60008351615801818460208801612cb0565b7f4f6e636861696e25323047617325323025323300000000000000000000000000908301908152835161583b816013840160208801612cb0565b7f253232000000000000000000000000000000000000000000000000000000000060139290910191820152601601949350505050565b60008651615883818460208b01612cb0565b865190830190615897818360208b01612cb0565b86519101906158aa818360208a01612cb0565b85519101906158bd818360208901612cb0565b84519101906158d0818360208801612cb0565b01979650505050505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261590e6080830184612cd4565b9695505050505050565b60006020828403121561592a57600080fd5b81516112ce81612c2e565b6000600019820361594857615948613147565b5060010190565b60ff81811683821601908111156107215761072161314756fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220b7547a08f5fe70250932a089830c7bf4f9e996378073cde99272a4cd2db6678d64736f6c63430008100033000000000000000000000000ec8ef4c339508224e063e43e30e2dcbe19d9c087000000000000000000000000a32bb79b33b29e483d0949c99ec0c439b29e2b330000000000000000000000000d104dea962b090bc46c67a12e800ff16eeffb750000000000000000000000001d11a1c75e439a50734aef3469aed9ca4ffe39fc0000000000000000000000006bab43d4f3587f9f3ca1152c63e52bf7f8de2dc100000000000000000000000057beae62670ff6ccf8311411a2a2aab453413987000000000000000000000000f3a95b30e1fc2edcea41ff93270249b6ab97973000000000000000000000000052a31d845f4bdc1d47ee21db7c25bde2423a91ae0000000000000000000000006cccc7ea426e14f1e07528296c7d226677fd2ff6000000000000000000000000c230862406bbe44f499943ae4e9e6317a95bc7ad

Deployed Bytecode

0x6080604052600436106101fe5760003560e01c8063715018a61161011d578063b88d4fde116100b0578063cbce4c971161007f578063e985e9c511610064578063e985e9c5146105b9578063ee1cc94414610602578063f2fde38b1461062257600080fd5b8063cbce4c9714610583578063d5abeb01146105a357600080fd5b8063b88d4fde14610504578063bc8893b414610517578063c23dc68f14610536578063c87b56dd1461056357600080fd5b80638da5cb5b116100ec5780638da5cb5b1461049157806395d89b41146104af57806399a2557a146104c4578063a22cb465146104e457600080fd5b8063715018a6146104035780637501f741146104185780637dea6bac146104445780638462151c1461046457600080fd5b80633ccfd60b116101955780635a4c1624116101645780635a4c1624146103765780635bbb2177146103965780636352211e146103c357806370a08231146103e357600080fd5b80633ccfd60b1461031b57806340c10f191461033057806342842e0e1461034357806344a0d68a1461035657600080fd5b8063095ea7b3116101d1578063095ea7b3146102c057806313faede6146102d557806318160ddd146102eb57806323b872dd1461030857600080fd5b806301ffc9a7146102035780630270ef421461023857806306fdde0314610266578063081812fc14610288575b600080fd5b34801561020f57600080fd5b5061022361021e366004612c5c565b610642565b60405190151581526020015b60405180910390f35b34801561024457600080fd5b50610258610253366004612c95565b610727565b60405190815260200161022f565b34801561027257600080fd5b5061027b61075d565b60405161022f9190612d00565b34801561029457600080fd5b506102a86102a3366004612d13565b6107ef565b6040516001600160a01b03909116815260200161022f565b6102d36102ce366004612d2c565b61084c565b005b3480156102e157600080fd5b5061025860135481565b3480156102f757600080fd5b506001546000540360001901610258565b6102d3610316366004612d56565b61091d565b34801561032757600080fd5b506102d3610b50565b6102d361033e366004612d2c565b610b94565b6102d3610351366004612d56565b610e22565b34801561036257600080fd5b506102d3610371366004612d13565b610e42565b34801561038257600080fd5b50610258610391366004612d13565b610e4f565b3480156103a257600080fd5b506103b66103b1366004612d92565b610eba565b60405161022f9190612e07565b3480156103cf57600080fd5b506102a86103de366004612d13565b610f86565b3480156103ef57600080fd5b506102586103fe366004612c95565b610f91565b34801561040f57600080fd5b506102d3610ff9565b34801561042457600080fd5b506015546104329060ff1681565b60405160ff909116815260200161022f565b34801561045057600080fd5b506102d361045f366004612f4a565b61100d565b34801561047057600080fd5b5061048461047f366004612c95565b611021565b60405161022f9190612f93565b34801561049d57600080fd5b506008546001600160a01b03166102a8565b3480156104bb57600080fd5b5061027b611125565b3480156104d057600080fd5b506104846104df366004612fcb565b611134565b3480156104f057600080fd5b506102d36104ff36600461300e565b6112d5565b6102d3610512366004613041565b61135f565b34801561052357600080fd5b5060155461022390610100900460ff1681565b34801561054257600080fd5b50610556610551366004612d13565b6113c2565b60405161022f91906130bd565b34801561056f57600080fd5b5061027b61057e366004612d13565b61144a565b34801561058f57600080fd5b506102d361059e366004612d2c565b611eda565b3480156105af57600080fd5b5061025860145481565b3480156105c557600080fd5b506102236105d4366004613102565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561060e57600080fd5b506102d361061d36600461312c565b611fcf565b34801561062e57600080fd5b506102d361063d366004612c95565b61200e565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614806106d557507f80ac58cd000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b8061072157507f5b5e139f000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c16601554610721919060ff16613176565b60606002805461076c90613189565b80601f016020809104026020016040519081016040528092919081815260200182805461079890613189565b80156107e55780601f106107ba576101008083540402835291602001916107e5565b820191906000526020600020905b8154815290600101906020018083116107c857829003601f168201915b5050505050905090565b60006107fa826120b5565b610830576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061085782610f86565b9050336001600160a01b038216146108a95761087381336105d4565b6108a9576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061092882612103565b9050836001600160a01b0316816001600160a01b031614610975576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176109db576109a586336105d4565b6109db576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516610a1b576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015610a2657600082555b6001600160a01b03808716600090815260056020526040808220805460001901905591871681522080546001019055610a9885610a648882876121a4565b7c0200000000000000000000000000000000000000000000000000000000174260a01b176001600160a01b03919091161790565b6000858152600460205260408120919091557c020000000000000000000000000000000000000000000000000000000084169003610b0657600184016000818152600460205260408120549003610b04576000548114610b045760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610b586121c7565b6008546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610b91573d6000803e3d6000fd5b50565b601554610100900460ff16610c0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f64697361626c656400000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b60008111610c74576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f6d696e74203c3d203000000000000000000000000000000000000000000000006044820152606401610c01565b60155460ff1681610ca8336001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b610cb291906131dc565b1115610d1a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f6d696e74203e3d206d61786d696e7400000000000000000000000000000000006044820152606401610c01565b6014546001546000548391900360001901610d3591906131dc565b1115610d9d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f4f76657220737570706c790000000000000000000000000000000000000000006044820152606401610c01565b80601354610dab91906131ef565b341015610e14576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e6f7420656e6f756768204554480000000000000000000000000000000000006044820152606401610c01565b610e1e828261223b565b5050565b610e3d8383836040518060200160405280600081525061135f565b505050565b610e4a6121c7565b601355565b600080610e5b83612255565b606001516040517fffffff000000000000000000000000000000000000000000000000000000000060e883901b1660208201526023810185905290915060430160408051601f1981840301815291905280516020909101209392505050565b60608160008167ffffffffffffffff811115610ed857610ed8612e84565b604051908082528060200260200182016040528015610f2a57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610ef65790505b50905060005b828114610f7d57610f58868683818110610f4c57610f4c61320e565b905060200201356113c2565b828281518110610f6a57610f6a61320e565b6020908102919091010152600101610f30565b50949350505050565b600061072182612103565b60006001600160a01b038216610fd3576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6110016121c7565b61100b60006122e6565b565b6110156121c7565b6016610e1e8282613283565b6060600080600061103185610f91565b905060008167ffffffffffffffff81111561104e5761104e612e84565b604051908082528060200260200182016040528015611077578160200160208202803683370190505b5060408051608081018252600080825260208201819052918101829052606081019190915290915060015b838614611119576110b281612350565b915081604001516111115781516001600160a01b0316156110d257815194505b876001600160a01b0316856001600160a01b03160361111157808387806001019850815181106111045761110461320e565b6020026020010181815250505b6001016110a2565b50909695505050505050565b60606003805461076c90613189565b606081831061116f576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061117b60005490565b9050600185101561118b57600194505b80841115611197578093505b60006111a287610f91565b9050848610156111c157858503818110156111bb578091505b506111c5565b5060005b60008167ffffffffffffffff8111156111e0576111e0612e84565b604051908082528060200260200182016040528015611209578160200160208202803683370190505b5090508160000361121f5793506112ce92505050565b600061122a886113c2565b90506000816040015161123b575080515b885b88811415801561124d5750848714155b156112c25761125b81612350565b925082604001516112ba5782516001600160a01b03161561127b57825191505b8a6001600160a01b0316826001600160a01b0316036112ba57808488806001019950815181106112ad576112ad61320e565b6020026020010181815250505b60010161123d565b50505092835250909150505b9392505050565b3360008181526007602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61136a84848461091d565b6001600160a01b0383163b156113bc57611386848484846123e8565b6113bc576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061141b57506000548310155b156114265792915050565b61142f83612350565b90508060400151156114415792915050565b6112ce83612255565b600954600a54600b54600c54600d54600e54600f546010546011546012546040517f589dba3a0000000000000000000000000000000000000000000000000000000081526001600160a01b03998a1660048201529789166024890152958816604488015293871660648701529186166084860152851660a4850152841660c4840152831660e48301528216610104820152606092600092169063589dba3a9061012401600060405180830381865afa15801561150a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115329190810190613343565b9050600061153f84612537565b90506000611559611554633b9aca00486133ba565b612537565b9050600960009054906101000a90046001600160a01b03166001600160a01b031663167671b86040518163ffffffff1660e01b8152600401600060405180830381865afa1580156115ae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115d69190810190613343565b600954604080517f47f4388c0000000000000000000000000000000000000000000000000000000081526004810191909152600d60448201527f616e696d6174696f6e5f75726c000000000000000000000000000000000000006064820152600060248201526001600160a01b03909116906347f4388c90608401600060405180830381865afa15801561166e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116969190810190613343565b600960009054906101000a90046001600160a01b03166001600160a01b0316632b70503d6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156116e9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117119190810190613343565b600960009054906101000a90046001600160a01b03166001600160a01b031663597422e16040518163ffffffff1660e01b8152600401600060405180830381865afa158015611764573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261178c9190810190613343565b600954604080517f9595b594000000000000000000000000000000000000000000000000000000008152905189926001600160a01b031691639595b5949160048083019260009291908290030181865afa1580156117ee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118169190810190613343565b600960009054906101000a90046001600160a01b03166001600160a01b0316636d33aa676040518163ffffffff1660e01b8152600401600060405180830381865afa158015611869573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118919190810190613343565b6009546040517fdd8520080000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063dd852008906118dd908c906001906004016133f5565b600060405180830381865afa1580156118fa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119229190810190613343565b6009546040517fdd8520080000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063dd8520089061196e908c9060019060040161344d565b600060405180830381865afa15801561198b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119b39190810190613343565b6009546040516001600160a01b039091169063dd852008906119da90601690602001613494565b60405160208183030381529060405260016040518363ffffffff1660e01b8152600401611a0892919061355a565b600060405180830381865afa158015611a25573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a4d9190810190613343565b600960009054906101000a90046001600160a01b03166001600160a01b0316632781bde26040518163ffffffff1660e01b8152600401600060405180830381865afa158015611aa0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ac89190810190613343565b604051602001611adf9897969594939291906135bd565b60408051808303601f19018152908290526009547f64bdce1a0000000000000000000000000000000000000000000000000000000083526000600484015290916001600160a01b03909116906364bdce1a90602401600060405180830381865afa158015611b51573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b799190810190613343565b604051602001611b8c9493929190613662565b60408051808303601f190181528282526009547f47f4388c0000000000000000000000000000000000000000000000000000000084526004840192909252600560448401527f696d616765000000000000000000000000000000000000000000000000000000606484015260006024840152916001600160a01b03909116906347f4388c90608401600060405180830381865afa158015611c31573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c599190810190613343565b611c98611c72611c688a610e4f565b62ffffff1661268e565b85604051602001611c84929190615461565b6040516020818303038152906040526127ff565b6009546040517f64bdce1a000000000000000000000000000000000000000000000000000000008152600060048201526001600160a01b03909116906364bdce1a90602401600060405180830381865afa158015611cfa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d229190810190613343565b604051602001611d3493929190615780565b60408051808303601f190181528282526009547f47f4388c00000000000000000000000000000000000000000000000000000000845260048085019390935260448401929092527f6e616d6500000000000000000000000000000000000000000000000000000000606484015260006024840152916001600160a01b03909116906347f4388c90608401600060405180830381865afa158015611ddb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e039190810190613343565b85604051602001611e159291906157ef565b60408051601f198184030181528282526009547febe02405000000000000000000000000000000000000000000000000000000008452915190926001600160a01b039092169163ebe024059160048083019260009291908290030181865afa158015611e85573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ead9190810190613343565b604051602001611ec1959493929190615871565b6040516020818303038152906040529350505050919050565b611ee26121c7565b60008111611f4c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f6d696e74203c3d203000000000000000000000000000000000000000000000006044820152606401610c01565b6014546001546000548391900360001901611f6791906131dc565b1115610e14576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f4f76657220737570706c790000000000000000000000000000000000000000006044820152606401610c01565b611fd76121c7565b60158054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b6120166121c7565b6001600160a01b0381166120ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610c01565b610b91816122e6565b6000816001111580156120c9575060005482105b80156107215750506000908152600460205260409020547c0100000000000000000000000000000000000000000000000000000000161590565b600081806001116121725760005481101561217257600081815260046020526040812054907c010000000000000000000000000000000000000000000000000000000082169003612170575b806000036112ce57506000190160008181526004602052604090205461214f565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060e882811c906121b78686846129b9565b62ffffff16901b95945050505050565b6008546001600160a01b0316331461100b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c01565b610e1e828260405180602001604052806000815250612a49565b60408051608081018252600080825260208201819052918101829052606081019190915261072161228583612103565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff1660208201527c0100000000000000000000000000000000000000000000000000000000831615159181019190915260e89190911c606082015290565b600880546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461072190604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff1660208201527c0100000000000000000000000000000000000000000000000000000000831615159181019190915260e89190911c606082015290565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081526000906001600160a01b0385169063150b7a02906124369033908990889088906004016158dc565b6020604051808303816000875af1925050508015612471575060408051601f3d908101601f1916820190925261246e91810190615918565b60015b6124e8573d80801561249f576040519150601f19603f3d011682016040523d82523d6000602084013e6124a4565b606091505b5080516000036124e0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490505b949350505050565b60608160000361257a57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156125a4578061258e81615935565b915061259d9050600a836133ba565b915061257e565b60008167ffffffffffffffff8111156125bf576125bf612e84565b6040519080825280601f01601f1916602001820160405280156125e9576020820181803683370190505b509050815b8515610f7d576125ff600182613176565b9050600061260e600a886133ba565b61261990600a6131ef565b6126239088613176565b61262e90603061594f565b905060008160f81b90508084848151811061264b5761264b61320e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612685600a896133ba565b975050506125ee565b6060816000036126d157505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156126fb57806126e581615935565b91506126f490506010836133ba565b91506126d5565b60008167ffffffffffffffff81111561271657612716612e84565b6040519080825280601f01601f191660200182016040528015612740576020820181803683370190505b509050815b8515610f7d57612756600182613176565b905060006127656010886133ba565b6127709060106131ef565b61277a9088613176565b61278590603061594f565b905060398160ff1611156127a15761279e60078261594f565b90505b60008160f81b9050808484815181106127bc576127bc61320e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506127f66010896133ba565b97505050612745565b6060815160000361281e57505060408051602081019091526000815290565b6000604051806060016040528060408152602001615969604091399050600060038451600261284d91906131dc565b61285791906133ba565b6128629060046131ef565b905060006128718260206131dc565b67ffffffffffffffff81111561288957612889612e84565b6040519080825280601f01601f1916602001820160405280156128b3576020820181803683370190505b509050818152600183018586518101602084015b8183101561291f576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f81168501518253506001016128c7565b6003895106600181146129395760028114612983576129ab565b7f3d3d0000000000000000000000000000000000000000000000000000000000007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe8301526129ab565b7f3d000000000000000000000000000000000000000000000000000000000000006000198301525b509398975050505050505050565b60006001600160a01b038416612a42576000426129d7600143613176565b4033604051602001612a2193929190928352602083019190915260601b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016604082015260540190565b60408051601f19818403018152919052805160209091012091506112ce9050565b5092915050565b612a538383612acf565b6001600160a01b0383163b15610e3d576000548281035b612a7d60008683806001019450866123e8565b612ab3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612a6a578160005414612ac857600080fd5b5050505050565b6000805490829003612b0d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03831660009081526005602052604081208054680100000000000000018502019055612b64908490612b479082816121a4565b6001851460e11b174260a01b176001600160a01b03919091161790565b6000828152600460205260408120919091556001600160a01b0384169083830190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114612bea57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101612bb2565b5081600003612c25576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005550505050565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610b9157600080fd5b600060208284031215612c6e57600080fd5b81356112ce81612c2e565b80356001600160a01b0381168114612c9057600080fd5b919050565b600060208284031215612ca757600080fd5b6112ce82612c79565b60005b83811015612ccb578181015183820152602001612cb3565b50506000910152565b60008151808452612cec816020860160208601612cb0565b601f01601f19169290920160200192915050565b6020815260006112ce6020830184612cd4565b600060208284031215612d2557600080fd5b5035919050565b60008060408385031215612d3f57600080fd5b612d4883612c79565b946020939093013593505050565b600080600060608486031215612d6b57600080fd5b612d7484612c79565b9250612d8260208501612c79565b9150604084013590509250925092565b60008060208385031215612da557600080fd5b823567ffffffffffffffff80821115612dbd57600080fd5b818501915085601f830112612dd157600080fd5b813581811115612de057600080fd5b8660208260051b8501011115612df557600080fd5b60209290920196919550909350505050565b6020808252825182820181905260009190848201906040850190845b8181101561111957612e718385516001600160a01b03815116825267ffffffffffffffff602082015116602083015260408101511515604083015262ffffff60608201511660608301525050565b9284019260809290920191600101612e23565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612edc57612edc612e84565b604052919050565b600067ffffffffffffffff821115612efe57612efe612e84565b50601f01601f191660200190565b6000612f1f612f1a84612ee4565b612eb3565b9050828152838383011115612f3357600080fd5b828260208301376000602084830101529392505050565b600060208284031215612f5c57600080fd5b813567ffffffffffffffff811115612f7357600080fd5b8201601f81018413612f8457600080fd5b61252f84823560208401612f0c565b6020808252825182820181905260009190848201906040850190845b8181101561111957835183529284019291840191600101612faf565b600080600060608486031215612fe057600080fd5b612fe984612c79565b95602085013595506040909401359392505050565b80358015158114612c9057600080fd5b6000806040838503121561302157600080fd5b61302a83612c79565b915061303860208401612ffe565b90509250929050565b6000806000806080858703121561305757600080fd5b61306085612c79565b935061306e60208601612c79565b925060408501359150606085013567ffffffffffffffff81111561309157600080fd5b8501601f810187136130a257600080fd5b6130b187823560208401612f0c565b91505092959194509250565b81516001600160a01b0316815260208083015167ffffffffffffffff169082015260408083015115159082015260608083015162ffffff169082015260808101610721565b6000806040838503121561311557600080fd5b61311e83612c79565b915061303860208401612c79565b60006020828403121561313e57600080fd5b6112ce82612ffe565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8181038181111561072157610721613147565b600181811c9082168061319d57607f821691505b6020821081036131d6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b8082018082111561072157610721613147565b600081600019048311821515161561320957613209613147565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b601f821115610e3d57600081815260208120601f850160051c810160208610156132645750805b601f850160051c820191505b81811015610b4857828155600101613270565b815167ffffffffffffffff81111561329d5761329d612e84565b6132b1816132ab8454613189565b8461323d565b602080601f8311600181146132e657600084156132ce5750858301515b600019600386901b1c1916600185901b178555610b48565b600085815260208120601f198616915b82811015613315578886015182559484019460019091019084016132f6565b50858210156133335787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561335557600080fd5b815167ffffffffffffffff81111561336c57600080fd5b8201601f8101841361337d57600080fd5b805161338b612f1a82612ee4565b8181528560208385010111156133a057600080fd5b6133b1826020830160208601612cb0565b95945050505050565b6000826133f0577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60608152600760608201527f746f6b656e496400000000000000000000000000000000000000000000000000608082015260a06020820152600061343c60a0830185612cd4565b905082151560408301529392505050565b60608152600860608201527f6761735072696365000000000000000000000000000000000000000000000000608082015260a06020820152600061343c60a0830185612cd4565b60007f25323532320000000000000000000000000000000000000000000000000000008083526005600085546134c981613189565b600182811680156134e157600181146135185761354b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008416868a01528583151584028a0101945061354b565b8960005260208060002060005b858110156135405781548c82018a0152908401908201613525565b50505085838a010194505b50505092815201949350505050565b60608152600360608201527f7270630000000000000000000000000000000000000000000000000000000000608082015260a06020820152600061343c60a0830185612cd4565b600081516135b3818560208601612cb0565b9290920192915050565b6000895160206135d08285838f01612cb0565b8a51918401916135e38184848f01612cb0565b8a519201916135f58184848e01612cb0565b89519201916136078184848d01612cb0565b88519201916136198184848c01612cb0565b875192019161362b8184848b01612cb0565b865192019161363d8184848a01612cb0565b855192019161364f8184848901612cb0565b919091019b9a5050505050505050505050565b60008551613674818460208a01612cb0565b855190830190613688818360208a01612cb0565b855191019061369b818360208901612cb0565b7f25323533437374796c6525323533452532353041253235323025323532302a2591019081527f323532302532353742253235304125323532302532353230253235323025323560208201527f32306d617267696e25323533412532353230302532353342253235304125323560408201527f323025323532302532353230253235323070616464696e67253235334125323560608201527f323030253235334225323530412532353230253235323025323537442532353060808201527f412532353230253235323063616e76617325323532302532353742253235304160a08201527f253235323025323532302532353230253235323077696474682532353341253260c08201527f353230313030253235323525323533422532353041253235323025323532302560e08201527f32353230253235323068656967687425323533412532353230313030253235326101008201527f35253235334225323530412532353230253235323025323537442532353041256101208201527f3235334325323532467374796c652532353345253235304125323533437363726101408201527f697074253235334525323530412532353230253235323077696e646f772e6f6e6101608201527f6c6f616425323533446173796e6328292532353344253235334525323537426c6101808201527f65742532353230732532353344646f63756d656e742e626f64792532353243636101a08201527f25323533446761735072696365253235324375253235334421312532353342636101c08201527f6f6e73742532353230672532353344646f63756d656e742e637265617465456c6101e08201527f656d656e74282532353232696e7075742532353232292532353342672e7479706102008201527f6525323533442532353232636865636b626f7825323532322532353243672e696102208201527f64253235334425323532326c697665436865636b626f782532353232253235336102408201527f42636f6e73742532353230682532353344646f63756d656e742e6372656174656102608201527f456c656d656e742825323532326c6162656c2532353232292532353342682e686102808201527f746d6c466f72253235334425323532326c697665436865636b626f78253235326102a08201527f322532353243682e696e6e657254657874253235334425323532324c697665256102c08201527f3235323075706461746525323532322532353342636f6e7374253235323064256102e08201527f32353344646f63756d656e742e637265617465456c656d656e742825323532326103008201527f7370616e2532353232292532353342642e7374796c652e706f736974696f6e256103208201527f3235334425323532326162736f6c75746525323532322532353243642e7374796103408201527f6c652e626f74746f6d25323533442532353232313025323532322532353243646103608201527f2e7374796c652e6c6566742532353344253235323231302532353232253235326103808201527f43682e7374796c652e636f6c6f722532353344253235323277686974652532356103a08201527f32322532353243682e7374796c652e6d617267696e4c656674253235334425326103c08201527f3532323130707825323532322532353243642e617070656e644368696c6428676103e08201527f292532353243642e617070656e644368696c642868292532353243732e6170706104008201527f656e644368696c642864292532353243672e6164644576656e744c697374656e6104208201527f65722825323532326368616e67652532353232253235324374253235334425326104408201527f3533452532353742752532353344742e7461726765742e636865636b656425326104608201527f35324375253235323625323532362852253235334430292532353744292532356104808201527f3342636f6e73742532353230452532353344646f63756d656e742e63726561746104a08201527f65456c656d656e742825323532326469762532353232292532353342452e73746104c08201527f796c6525323533442532353232706f736974696f6e25323533412532353230616104e08201527f62736f6c75746525323533422532353230746f702532353341253235323031306105008201527f25323533422532353230726967687425323533412532353230313025323533426105208201527f2532353230636f6c6f72253235334125323532307768697465253235323225326105408201527f353243452e696e6e6572546578742532353344253235363047617325323532306105608201527f70726963652532353341253235323025323532342532353742676173507269636105808201527f65253235374425323532306777656925323536302532353243732e617070656e6105a08201527f644368696c642845292532353342636f6e737425323532306e253235334474256105c08201527f32353344253235334528742125323533442532353344766f69642532353230306105e08201527f25323532362532353236286c25323533447425323532353231343734383336346106008201527f3729253235334325323533443025323532362532353236286c253235324225326106208201527f3533443231343734383336343629253235324328286c253235334431363830376106408201527f2a6c253235323532313437343833363437292d312925323532463231343734386106608201527f333634362925323533426e28746f6b656e4964292532353342636f6e737425326106808201527f35374277696474682532353341622532353243686569676874253235334166256106a08201527f323537442532353344732e676574426f756e64696e67436c69656e74526563746106c08201527f282925323533426c6574253235323048253235334466253235324632253235326106e08201527f43612532353344662a322532353243542532353344302532353342636f6e73746107008201527f25323532307225323533446e6577253235323054485245452e506572737065636107208201527f7469766543616d657261283830253235324362253235324666253235324331256107408201527f32353243336533292532353342722e706f736974696f6e2e7a253235334431356107608201527f3030253235334266756e6374696f6e2532353230472874292532353742742e696107808201527f735072696d6172792532353236253235323628542532353344742e636c69656e6107a08201527f74592d48292532353744636f6e737425323532306925323533446e65772532356107c08201527f323054485245452e5363656e652532353342692e6261636b67726f756e6425326107e08201527f3533446e6577253235323054485245452e436f6c6f722830292532353342636f6108008201527f6e737425323532304c25323533446e6577253235323054485245452e48656d696108208201527f7370686572654c696768742831363737373134372532353243353236333638256108408201527f3235324331292532353342692e616464284c292532353342636f6e73742532356108608201527f32307725323533446e6577253235323054485245452e506f696e744c696768746108808201527f28313637373731343725323532433125323532433165332532353243302925326108a08201527f353342772e706f736974696f6e2e7365742830253235324330253235324331356108c08201527f30292532353243772e6c6f6f6b417428302532353243302532353243302925326108e08201527f353243692e6164642877292532353342636f6e737425323532307025323533446109008201527f6e6577253235323054485245452e576562474c52656e646572657228253235376109208201527f42616e7469616c696173253235334121302532353744292532353342702e73656109408201527f74506978656c526174696f2877696e646f772e646576696365506978656c52616109608201527f74696f292532353243702e73657453697a6528622532353243662925323533426109808201527f636f6e737425323532304325323533446e6577253235323054485245452e43796109a08201527f6c696e64657247656f6d657472792835302532353243313030253235324361256109c08201527f32353243333225323532433125323532432130292532353342432e7472616e736109e08201527f6c6174652830253235324361253235324632253235324330292532353342636f610a008201527f6e737425323532307a25323533446e6577253235323054485245452e4d657368610a208201527f50686f6e674d6174657269616c282532353742636f6c6f7225323533414d6174610a408201527f682e6365696c2831363737373231352a6e282929253235324373696465253235610a608201527f334154485245452e446f75626c65536964652532353243666c61745368616469610a808201527f6e672532353341213025323537442925323532437625323533446e6577253235610aa08201527f323054485245452e4d657368284325323532437a292532353342762e706f7369610ac08201527f74696f6e2e736574283025323532436125323532463225323532433029253235610ae08201527f3243692e6164642876292532353342636f6e737425323532304125323533446e610b008201527f6577253235323054485245452e4d65736842617369634d6174657269616c2825610b208201527f323537427472616e73706172656e742532353341213025323532436f70616369610b408201527f747925323533412e352532353243636f6c6f7225323533413136373737313437610b608201527f2532353243626c656e64696e67253235334154485245452e4164646974697665610b808201527f426c656e64696e6725323537442925323532434d253235334432302532353243610ba08201527f4225323533446e6577253235323054485245452e426f7847656f6d6574727928610bc08201527f4d25323532434d25323532434d2925323533426c657425323532307925323533610be08201527f4425323535422532353544253235334266756e6374696f6e2532353230782829610c008201527f2532353742636f6e73742532353230742532353344446174652e6e6f77282925610c208201527f323532436f25323533446e6577253235323054485245452e4d65736828422532610c408201527f353243412925323533426f2e64656c617925323533444d6174682e666c6f6f72610c608201527f283565332a4d6174682e72616e646f6d28292925323532427425323532436f2e610c808201527f706f736974696f6e2e7365742831302d32302a4d6174682e72616e646f6d2829610ca08201527f2532353243326535253235324331302d32302a4d6174682e72616e646f6d2829610cc08201527f2925323532436f2e726f746174696f6e2e736574286e282925323532436e2829610ce08201527f25323532436e2829292532353243792e70757368286f292532353243692e6164610d008201527f64286f292532353744666f72286c657425323532307425323533443025323533610d208201527f4274253235334363253235334274253235324225323532422978282925323533610d408201527f42636f6e73742532353230492532353344253235354225323535442532353243610d608201527f6a2532353344313025323532424d6174682e6365696c2831302a6e2829292532610d808201527f3532434425323533446e6577253235323054485245452e53706865726547656f610da08201527f6d6574727928322532353243382532353243382925323532435325323533446e610dc08201527f6577253235323054485245452e4d65736842617369634d6174657269616c2532610de08201527f353342532e636f6c6f722e736574283136373737323135292532353342666f72610e008201527f286c657425323532307425323533443025323533427425323533436a25323533610e208201527f427425323532422532353242292532353742636f6e737425323532306f253235610e408201527f33446e6577253235323054485245452e4d657368284425323532435329253235610e608201527f33426f2e706f736974696f6e2e736574283165332d3265332a6e282925323532610e808201527f433165332d3265332a6e282925323532433165332d3265332a6e282929253235610ea08201527f3243492e70757368286f292532353243692e616464286f29253235374466756e610ec08201527f6374696f6e25323532305028292532353742636f6e7374253235374277696474610ee08201527f68253235334174253235324368656967687425323533416f2532353744253235610f008201527f3344732e676574426f756e64696e67436c69656e745265637428292532353342610f208201527f4825323533446f25323532463225323532436125323533446f2a322532353243610f408201527f722e61737065637425323533447425323532466f2532353243722e7570646174610f608201527f6550726f6a656374696f6e4d617472697828292532353243702e73657453697a610f808201527f65287425323532436f292532353243762e706f736974696f6e2e736574283025610fa08201527f3235324361253235324632253235324330292532353744726573697a65722532610fc08201527f353344502532353243732e617070656e644368696c6428702e646f6d456c656d610fe08201527f656e74292532353243732e7374796c652e746f756368416374696f6e253235336110008201527f4425323532326e6f6e6525323532322532353243732e6164644576656e744c696110208201527f7374656e6572282532353232706f696e7465726d6f76652532353232253235326110408201527f434729253235324377696e646f772e6164644576656e744c697374656e6572286110608201527f2532353232726573697a652532353232253235324350292532353243502829256110808201527f323533426c65742532353230522532353344323430253235334266756e6374696110a08201527f6f6e25323532306b2829253235374269662872657175657374416e696d6174696110c08201527f6f6e4672616d65286b2925323532437525323532362532353236522d2d2532356110e08201527f33433025323532362532353236285225323533443234302532353243666574636111008201527f6828727063253235324325323537426d6574686f6425323533412532353232506111208201527f4f535425323532322532353243626f647925323533414a534f4e2e737472696e6111408201527f676966792825323537426a736f6e72706325323533412532353232322e3025326111608201527f35323225323532436d6574686f64253235334125323532326574685f676173506111808201527f7269636525323532322532353243706172616d732532353341253235354225326111a08201527f353544253235324369642532353341312532353744292532353744292e7468656111c08201527f6e286173796e63253235323065253235334425323533452532353742636f6e736111e08201527f742532353742726573756c7425323533416d25323537442532353344617761696112008201527f742532353230652e6a736f6e28292532353342676173507269636525323533446112208201527f7061727365496e74286d253235324331362925323532463165392532353744296112408201527f29253235324367617350726963652125323533442532353344632925323537426112608201527f696628676173507269636525323533456329666f72286c6574253235323065256112808201527f3235334430253235334265253235334367617350726963652d632532353342656112a08201527f25323532422532353242297828292532353342656c736525323537426c6574256112c08201527f32353230652532353344632d67617350726963652532353342666f7228636f6e6112e08201527f737425323532306d25323532306f66253235323079296966286d2e646f6e65256113008201527f323537432532353743286d2e646f6e65253235334421302532353243652d2d296113208201527f253235324365253235334325323533443029627265616b2532353744632532356113408201527f334467617350726963652532353243452e696e6e6572546578742532353344256113608201527f32353630476173253235323070726963652532353341253235323025323532346113808201527f25323537426761735072696365253235374425323532306777656925323536306113a08201527f2532353744722e706f736974696f6e2e79253235324225323533442e30352a286113c08201527f3230302d542d722e706f736974696f6e2e79292532353243692e726f746174696113e08201527f6f6e2e792d25323533442e3030352532353243722e6c6f6f6b417428692e706f6114008201527f736974696f6e292532353243702e72656e6465722869253235324372292532356114208201527f3342636f6e73742532353230742532353344446174652e6e6f772829253235326114408201527f436f25323533442e3030312a7425323532434f25323533444d6174682e73696e6114608201527f286f292532353342666f7228636f6e737425323532306525323532306f6625326114808201527f35323079292532353742696628652e64656c617929696628742532353345652e6114a08201527f64656c617929652e64656c617925323533446e756c6c2532353243652e706f736114c08201527f6974696f6e2e79253235334461253235324632253235324232302532353242326114e08201527f302a4d6174682e72616e646f6d28292532353342656c73652532353230636f6e6115008201527f74696e75652532353342652e76656c6f636974792532353344652e76656c6f636115208201527f697479253235374325323537436e6577253235323054485245452e566563746f6115408201527f7233283025323532432d31253235324330292532353243652e76656c6f6369746115608201527f792e792d25323533442e3236372532353243652e706f736974696f6e2e6164646115808201527f28652e76656c6f63697479292532353243652e706f736974696f6e2e792532356115a08201527f33432d612532353246322532353236253235323628652e626f756e6365436f756115c08201527f6e742532353346652e626f756e6365436f756e742532353343332532353346286115e08201527f652e626f756e6365436f756e74253235324225323532422532353243652e76656116008201527f6c6f636974792e7925323533442d652e76656c6f636974792e792a2e322532356116208201527f3243652e706f736974696f6e2e7925323533442d6125323532463229253235336116408201527f41652e646f6e65253235334628792e73706c69636528792e696e6465784f66286116608201527f6529253235324331292532353243692e72656d6f7665286529292532353341286116808201527f652e706f736974696f6e2e7365742831302d32302a4d6174682e72616e646f6d6116a08201527f28292532353243326536253235324331302d32302a4d6174682e72616e646f6d6116c08201527f2829292532353243652e626f756e6365436f756e7425323533443025323532436116e08201527f652e76656c6f636974792e782532353344302532353243652e76656c6f6369746117008201527f792e7925323533442d312532353243652e76656c6f636974792e7a25323533446117208201527f302532353243652e64656c617925323533444d6174682e666c6f6f72283565336117408201527f2a4d6174682e72616e646f6d28292925323532427429253235334128652e626f6117608201527f756e6365436f756e742532353344312532353243652e76656c6f636974792e786117808201527f2532353344382d31362a4d6174682e72616e646f6d28292532353243652e76656117a08201527f6c6f636974792e7a2532353344382d31362a4d6174682e72616e646f6d2829256117c08201527f32353243652e76656c6f636974792e7925323533442d652e76656c6f636974796117e08201527f2e792a2e322532353243652e706f736974696f6e2e7925323533442d612532356118008201527f3246322929253235374425323537446b282925323537442532353342253235306118208201527f412532353041253235334325323532467363726970742532353345000000000061184082015261545661185b8201856135a1565b979650505050505050565b7f3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d22757481527f662d38223f3e3c7376672076696577426f783d2230203020353030203530302260208201527f20786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f7360408201527f7667223e3c74657874207374796c653d2277686974652d73706163653a20707260608201527f653b2066696c6c3a207267622835312c2035312c203531293b20666f6e742d6660808201527f616d696c793a20417269616c2c2073616e732d73657269663b20666f6e742d7360a08201527f697a653a2038322e3570783b2220783d22312e3131332220793d223131322e3160c08201527f3933223e4f6e636861696e204761733c2f746578743e3c7061746820643d224d60e08201527f203235302e383335203134382e313037204c203431362e343831203430342e326101008201527f3332204c2038352e313839203430342e323332204c203235302e3833352031346101208201527f382e313037205a22207374796c653d2266696c6c3a2023000000000000000000610140820152600061575261574c6156196101578501876135a1565b7f3b207374726f6b653a2072676228302c20302c2030293b222073686170653d2281527f747269616e676c652038352e313839203134382e313037203333312e3239322060208201527f3235362e31323520302e352030203140633438633563393522202f3e3c74657860408201527f7420783d223530252220746578742d616e63686f723d226d6964646c6522207360608201527f74796c653d2277686974652d73706163653a207072653b2066696c6c3a20726760808201527f622835312c2035312c203531293b20666f6e742d66616d696c793a204172696160a08201527f6c2c2073616e732d73657269663b20666f6e742d73697a653a2035312e33707860c08201527f3b2220793d223331392e323736223e000000000000000000000000000000000060e082015260ef0190565b846135a1565b7f3c2f746578743e3c2f7376673e000000000000000000000000000000000000008152600d01949350505050565b60008451615792818460208901612cb0565b7f646174613a696d6167652f7376672b786d6c3b6261736536342c00000000000090830190815284516157cc81601a840160208901612cb0565b84519101906157e281601a840160208801612cb0565b01601a0195945050505050565b60008351615801818460208801612cb0565b7f4f6e636861696e25323047617325323025323300000000000000000000000000908301908152835161583b816013840160208801612cb0565b7f253232000000000000000000000000000000000000000000000000000000000060139290910191820152601601949350505050565b60008651615883818460208b01612cb0565b865190830190615897818360208b01612cb0565b86519101906158aa818360208a01612cb0565b85519101906158bd818360208901612cb0565b84519101906158d0818360208801612cb0565b01979650505050505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261590e6080830184612cd4565b9695505050505050565b60006020828403121561592a57600080fd5b81516112ce81612c2e565b6000600019820361594857615948613147565b5060010190565b60ff81811683821601908111156107215761072161314756fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220b7547a08f5fe70250932a089830c7bf4f9e996378073cde99272a4cd2db6678d64736f6c63430008100033

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

000000000000000000000000ec8ef4c339508224e063e43e30e2dcbe19d9c087000000000000000000000000a32bb79b33b29e483d0949c99ec0c439b29e2b330000000000000000000000000d104dea962b090bc46c67a12e800ff16eeffb750000000000000000000000001d11a1c75e439a50734aef3469aed9ca4ffe39fc0000000000000000000000006bab43d4f3587f9f3ca1152c63e52bf7f8de2dc100000000000000000000000057beae62670ff6ccf8311411a2a2aab453413987000000000000000000000000f3a95b30e1fc2edcea41ff93270249b6ab97973000000000000000000000000052a31d845f4bdc1d47ee21db7c25bde2423a91ae0000000000000000000000006cccc7ea426e14f1e07528296c7d226677fd2ff6000000000000000000000000c230862406bbe44f499943ae4e9e6317a95bc7ad

-----Decoded View---------------
Arg [0] : _compiler (address): 0xeC8EF4c339508224E063e43e30E2dCBe19D9c087
Arg [1] : chunk1 (address): 0xA32bb79b33B29e483d0949C99EC0C439b29e2B33
Arg [2] : chunk2 (address): 0x0d104Dea962b090bC46c67a12e800ff16eeffB75
Arg [3] : chunk3 (address): 0x1D11a1c75e439A50734AEF3469aed9ca4fFe39fc
Arg [4] : chunk4 (address): 0x6bAb43D4F3587f9f3ca1152C63E52BF7F8de2Dc1
Arg [5] : chunk5 (address): 0x57beAe62670Ff6cCf8311411a2A2aAb453413987
Arg [6] : chunk6 (address): 0xF3A95B30E1Fc2EdCea41fF93270249b6Ab979730
Arg [7] : chunk7 (address): 0x52a31D845f4bdC1D47Ee21dB7C25Bde2423A91Ae
Arg [8] : chunk8 (address): 0x6CcCc7eA426E14F1E07528296c7d226677fd2fF6
Arg [9] : chunk9 (address): 0xc230862406bBe44f499943Ae4E9E6317a95BC7Ad

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 000000000000000000000000ec8ef4c339508224e063e43e30e2dcbe19d9c087
Arg [1] : 000000000000000000000000a32bb79b33b29e483d0949c99ec0c439b29e2b33
Arg [2] : 0000000000000000000000000d104dea962b090bc46c67a12e800ff16eeffb75
Arg [3] : 0000000000000000000000001d11a1c75e439a50734aef3469aed9ca4ffe39fc
Arg [4] : 0000000000000000000000006bab43d4f3587f9f3ca1152c63e52bf7f8de2dc1
Arg [5] : 00000000000000000000000057beae62670ff6ccf8311411a2a2aab453413987
Arg [6] : 000000000000000000000000f3a95b30e1fc2edcea41ff93270249b6ab979730
Arg [7] : 00000000000000000000000052a31d845f4bdc1d47ee21db7c25bde2423a91ae
Arg [8] : 0000000000000000000000006cccc7ea426e14f1e07528296c7d226677fd2ff6
Arg [9] : 000000000000000000000000c230862406bbe44f499943ae4e9e6317a95bc7ad


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ 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.