ETH Price: $3,335.90 (-0.22%)

Token

Astromust Recruit Collection (ARC)
 

Overview

Max Total Supply

2,845 ARC

Holders

1,272

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
okexnft.eth
Balance
1 ARC
0x5154E926E50Bed5B1B640896778a458f0e00Dc55
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:
EMRecruit

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 12 : EMRecruit.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
import "hardhat/console.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "erc721a/contracts/ERC721A.sol";
import "erc721a/contracts/extensions/ERC721AQueryable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

contract EMRecruit is ERC721A, ERC721AQueryable, Ownable, Pausable, ReentrancyGuard {

    /* ========== LIBRARIES ========== */

    using ECDSA for bytes32;

    /* ========== STATE VARIABLES ========== */

    // the base baseURI for nft
    string public baseURI;
    // the no revealUri
    string public notRevealedURI;
    // recruit price
    uint256 public price = 0.0069 ether;
    // level up price
    uint256 public levelUpprice = 0.0069 ether;
    // vip mintin period
    uint256 public vipMintingPeriod = 86400 ; // 24h
    // vip sale start time
    uint256 public vipSaleStartTime = 1658508635;
    // total supply
    uint256 TOTAL_SUPPLY = 3000;
    // lieutenant level
    uint8 public lieutenantLevel = 4;
    //max level
    uint8 public maxLevel = 4;
    // systemSigner
    address private systemSigner;
    // reveal state
    bool public revealed = false;
    // for nft custom uri setting
    mapping(uint256 => string) private _tokenURIs;
    //list of frer toekns
    mapping(uint256 => bool) public isFreeToken;
    //mapping from token to level
    mapping(uint256 => uint256) public recuitToLevel;
    //mapping from user to free mint
    mapping(address => bool) public hasFreeMinted;
    //operators
    mapping(address => bool) public operators;


    /* ========== MODIFICATORS ========== */

    modifier onlyValidSignature(bytes32 _msgHash, bytes memory _signature, address _signer) {
        address signer = _msgHash.toEthSignedMessageHash().recover(_signature);
        require(signer == _signer, "INVALID_SIGNATURE");
        _;
    }

    modifier hashMessage(bytes32 _msgHash, uint256 at) {
        require(keccak256(abi.encodePacked(msg.sender, at)) == _msgHash, "INVALID_MESSAGE");
        _;
    }

    modifier canFreeMint(bytes32 _msgHash, uint256 at, uint8 level) {
        require(keccak256(abi.encodePacked(msg.sender, at, level)) == _msgHash, "INVALID_MESSAGE");
        _;
    }

    modifier canLevelUp(bytes32 _msgHash, uint256 at, uint8 level) {
        require(keccak256(abi.encodePacked(msg.sender, at, level)) == _msgHash, "INVALID_MESSAGE");
        _;
    }

    /* ========== CONSTRUCTOR ========== */
    constructor(string memory name_, string memory symbol_, string memory baseUri_, string memory notRevealedUri_, address siger_)
     ERC721A(name_, symbol_) {
        baseURI = baseUri_;
        notRevealedURI = notRevealedUri_;
        systemSigner = siger_;

        _safeMint(owner(), 1150);
    }

    /* ========== VIEWS ========== */

    function numberMinted(address _owner) external view returns (uint256) {
        return _numberMinted(_owner);
    }
    
    function totalMinted() external view returns (uint256) {
        return _totalMinted();
    }

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

    function _totalSupply() internal view returns (uint256) {
        unchecked {
            return _totalMinted() - _totalBurned();
        }
    }

    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 tokenId,
        uint256 quantity
    ) internal virtual override {
        if(_exists(tokenId))
        {
            TokenOwnership memory ownership;
            ownership = _ownershipOf(tokenId);
            require(!ownership.burned, 'THIS TOKEN WAS BURNED');
            require((recuitToLevel[tokenId] == lieutenantLevel) || (tokenId > 0 && tokenId < 1151), 'NEED TO LEVELUP TO LIEUTENANT');
        }
    }

    function tokenURI(uint256 _tokenId) public view virtual override returns (string memory)
    {
        if (!_exists(_tokenId)) revert URIQueryForNonexistentToken();
         if (revealed == false) {
            return notRevealedURI;
        }
        string memory uri = _tokenURIs[_tokenId];
        if(bytes(uri).length > 0 )
            return string(abi.encodePacked(uri));

        string memory base = _baseURI();

        if(_tokenId > 0 && _tokenId < 1151){
            return bytes(base).length != 0 ? string(abi.encodePacked(base, "level", _toString(lieutenantLevel), "/", _toString(_tokenId), ".json")) : '';
        }
        return bytes(base).length != 0 ? string(abi.encodePacked(base, "level", _toString(recuitToLevel[_tokenId]), "/", _toString(_tokenId), ".json")) : '';
    }

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

    function setBaseURI(string memory _uri) external onlyOwner returns (bool) {
        baseURI = _uri;
        return true;
    }

    function safeMint(bytes32 _msgHash, bytes memory _signature, uint256 at)
    external
    whenNotPaused
    nonReentrant
    onlyValidSignature(_msgHash, _signature, systemSigner)
    canFreeMint(_msgHash, at, 1)
    {
        require(msg.sender != address(0), "0 IS NOT A CORRECT ADDRESS");
        require(!hasFreeMinted[msg.sender], "QUANTITY_EXCEEDED");
        require(_totalSupply() <= TOTAL_SUPPLY, "SOLD_OUT");
        uint256 id = _nextTokenId();
        isFreeToken[id] = true;
        recuitToLevel[id] = 1;
        hasFreeMinted[msg.sender] = true;
        _safeMint(msg.sender, 1);
    }

    function buyRecuit(uint256 _quatity)
    external
    payable
    whenNotPaused
    nonReentrant
    {
        require(msg.sender != address(0), "0 IS NOT A CORRECT ADDRESS");
        require(_quatity > 0,  "0 IS NOT VALID QUANTIIY");
        require(msg.value >= price * _quatity, "NOT_ENOUG_FUND");
        require((block.timestamp - vipSaleStartTime ) > vipMintingPeriod,"VIP SALE PERIOD");
        require(_totalSupply() <= TOTAL_SUPPLY, "SOLD_OUT");

        _updateState(_quatity);
    }


    function vipSale(uint256 _quatity, bytes32 _msgHash, bytes memory _signature, uint256 at)
    external
    payable
    whenNotPaused
    nonReentrant
    onlyValidSignature(_msgHash, _signature, systemSigner)
    hashMessage(_msgHash, at)
    {
        require(msg.sender != address(0), "0 IS NOT A CORRECT ADDRESS");
        require(_quatity > 0,  "0 IS NOT VALID QUANTIIY");
        require(msg.value >= price * _quatity, "NOT_ENOUG_FUND");
        require(block.timestamp - vipSaleStartTime < vipMintingPeriod, "VIP SALE PERIOD OVER");
        require(_totalSupply() <= TOTAL_SUPPLY, "SOLD_OUT");
        _updateState(_quatity);
    }

    function levelUp(bytes32 _msgHash, bytes memory _signature, uint256 _at, uint256 _tokenId, uint8 _level)
    external
    whenNotPaused
    nonReentrant
    onlyValidSignature(_msgHash, _signature, systemSigner)
    canLevelUp(_msgHash, _at, _level)
    {
        if(!_exists(_tokenId)) revert URIQueryForNonexistentToken();
        require(msg.sender == ownerOf(_tokenId), "NOT OWNER");
        require(_level <= maxLevel, "MAXIMUM_LEVEL_EXCEEDED");
        require(recuitToLevel[_tokenId] == (_level -1), "CAN_ONLY_UPDRADE_ONE_LEVEL_AT_THE_TIME");
        recuitToLevel[_tokenId] = _level;
    }

    function payForlevelUp(uint256 _tokenId, uint8 _level)
    external
    payable
    whenNotPaused
    nonReentrant
    {
        if(!_exists(_tokenId)) revert URIQueryForNonexistentToken();
        require(msg.value >= levelUpprice * _level, "NOT_ENOUG_FUND");
        require(_level > 0, "LEVEL_CAN_NOT_BE_0");
        require((recuitToLevel[_tokenId] + _level ) <= maxLevel, "MAXIMUM_LEVEL_EXCEEDED");
        recuitToLevel[_tokenId] += _level;
    }

    function levelUpByOwner(uint256 _tokenId, uint8 _level)
    external 
    onlyOwner 
    nonReentrant
    {
        require(_level > 0, "LEVEL_CAN_NOT_BE_0");
        require(_level < maxLevel, "MAXIMUM_LEVEL_EXCEEDED");
        require(recuitToLevel[_tokenId] < _level, "CAN_NOT_UPGRADE_TO_LOWER_LEVEL");
        recuitToLevel[_tokenId] = _level;
    }

    function safeMintByOwner(address _to, uint256 _quantity) external onlyOwner nonReentrant {
        uint256 startId = _nextTokenId();
        _safeMintByOwner(_to, _quantity);
        for (uint256 index = 0; index < _quantity -1; index++) {
            recuitToLevel[startId + index] = 1;
        }
    }

    function safeMintBatchByOwner(address[] memory _tos, uint256[] memory _quantities) external onlyOwner nonReentrant {
        require(_tos.length == _quantities.length, "THE 2 ARRAYS SHOULD HAVE THE SAME LENGTH");
        require(_totalSupply() <= TOTAL_SUPPLY, "SOLD_OUT");
        for (uint256 index = 0; index < _tos.length; index++) {
            _safeMintByOwner(_tos[index], _quantities[index]);
        }
    }

    function _safeMintByOwner(address _to, uint256 _quantity) internal {
        require(_to != address(0), "0 IS NOT A VALID ADDRESS");
        require(_quantity > 0, "0 IS NOT VALID QUANTIIY");
        uint256 startId = _nextTokenId();
        _safeMint(_to, _quantity);
        for (uint256 index = 0; index < _quantity; index++) {
            isFreeToken[startId + index] = true;
            recuitToLevel[startId + index] = 1;
        }
    }

    function burn(uint256 _tokenId) external whenNotPaused nonReentrant {
        _burn(_tokenId, true);
    }

    function setTokenURIByOnwer(uint256 _tokenId, string memory _tokenURI) external onlyOwner nonReentrant {
        _tokenURIs[_tokenId] = _tokenURI;
    }

    function _updateState( uint256 _quatity) private{
        uint256 startId = _nextTokenId();
        _safeMint(msg.sender, _quatity);
        for (uint256 index = 0; index < _quatity; index++) {
            recuitToLevel[startId + index] = 1;
        }
    }

    /* ========== MUTATIVE FUNCTIONS ========== */

    /* ---------- SETTERS ---------- */

    function setSystemSigner(address _systemSigner) public onlyOwner nonReentrant {
        systemSigner = _systemSigner;
    }

    function setVipSaleStartTime(uint256 _vipSaleStartTime) public onlyOwner nonReentrant {
        vipSaleStartTime = _vipSaleStartTime;
    }

    function setVipMintingPeriod(uint256 _period) public onlyOwner nonReentrant {
        vipMintingPeriod = _period;
    }

    function setPrice(uint256 _price) external onlyOwner {
        price = _price * 1e16;
    }

    function setLevelUpprice(uint256 _price) external onlyOwner {
        levelUpprice = _price * 1e16;
    }

    function setMaximumLevel(uint8 _maxLevel) external onlyOwner {
        maxLevel = _maxLevel;
    }

    function setLieutenantLevel(uint8 _level) external onlyOwner {
        lieutenantLevel = _level;
    }

    function setRevealed(bool _reveale) public onlyOwner nonReentrant {
        revealed = _reveale;
    }

    function setOperator(address operator, bool approved) public onlyOwner  {
        operators[operator] = approved;
    }

    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0, "Balance should be more than zero");
        (bool sent, ) = payable(msg.sender).call{value: balance}("");
        require(sent, "Failed to send Ether");
    }

    /* ---------- STATE MUTATIONS ---------- */

    function pause() public onlyOwner nonReentrant{
        _pause();
    }

    function unpause() public onlyOwner nonReentrant{
        _unpause();
    }
}

File 2 of 12 : console.sol
// SPDX-License-Identifier: MIT
pragma solidity >= 0.4.22 <0.9.0;

library console {
	address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67);

	function _sendLogPayload(bytes memory payload) private view {
		uint256 payloadLength = payload.length;
		address consoleAddress = CONSOLE_ADDRESS;
		assembly {
			let payloadStart := add(payload, 32)
			let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0)
		}
	}

	function log() internal view {
		_sendLogPayload(abi.encodeWithSignature("log()"));
	}

	function logInt(int p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(int)", p0));
	}

	function logUint(uint p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint)", p0));
	}

	function logString(string memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
	}

	function logBool(bool p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
	}

	function logAddress(address p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
	}

	function logBytes(bytes memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes)", p0));
	}

	function logBytes1(bytes1 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0));
	}

	function logBytes2(bytes2 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0));
	}

	function logBytes3(bytes3 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0));
	}

	function logBytes4(bytes4 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0));
	}

	function logBytes5(bytes5 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0));
	}

	function logBytes6(bytes6 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0));
	}

	function logBytes7(bytes7 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0));
	}

	function logBytes8(bytes8 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0));
	}

	function logBytes9(bytes9 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0));
	}

	function logBytes10(bytes10 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0));
	}

	function logBytes11(bytes11 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0));
	}

	function logBytes12(bytes12 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0));
	}

	function logBytes13(bytes13 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0));
	}

	function logBytes14(bytes14 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0));
	}

	function logBytes15(bytes15 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0));
	}

	function logBytes16(bytes16 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0));
	}

	function logBytes17(bytes17 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0));
	}

	function logBytes18(bytes18 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0));
	}

	function logBytes19(bytes19 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0));
	}

	function logBytes20(bytes20 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0));
	}

	function logBytes21(bytes21 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0));
	}

	function logBytes22(bytes22 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0));
	}

	function logBytes23(bytes23 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0));
	}

	function logBytes24(bytes24 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0));
	}

	function logBytes25(bytes25 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0));
	}

	function logBytes26(bytes26 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0));
	}

	function logBytes27(bytes27 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0));
	}

	function logBytes28(bytes28 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0));
	}

	function logBytes29(bytes29 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0));
	}

	function logBytes30(bytes30 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0));
	}

	function logBytes31(bytes31 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0));
	}

	function logBytes32(bytes32 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0));
	}

	function log(uint p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint)", p0));
	}

	function log(string memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
	}

	function log(bool p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
	}

	function log(address p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
	}

	function log(uint p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint)", p0, p1));
	}

	function log(uint p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string)", p0, p1));
	}

	function log(uint p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool)", p0, p1));
	}

	function log(uint p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address)", p0, p1));
	}

	function log(string memory p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint)", p0, p1));
	}

	function log(string memory p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1));
	}

	function log(string memory p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1));
	}

	function log(string memory p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1));
	}

	function log(bool p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint)", p0, p1));
	}

	function log(bool p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1));
	}

	function log(bool p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1));
	}

	function log(bool p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1));
	}

	function log(address p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint)", p0, p1));
	}

	function log(address p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1));
	}

	function log(address p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1));
	}

	function log(address p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1));
	}

	function log(uint p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint)", p0, p1, p2));
	}

	function log(uint p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string)", p0, p1, p2));
	}

	function log(uint p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool)", p0, p1, p2));
	}

	function log(uint p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address)", p0, p1, p2));
	}

	function log(uint p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint)", p0, p1, p2));
	}

	function log(uint p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string)", p0, p1, p2));
	}

	function log(uint p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool)", p0, p1, p2));
	}

	function log(uint p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address)", p0, p1, p2));
	}

	function log(uint p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint)", p0, p1, p2));
	}

	function log(uint p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string)", p0, p1, p2));
	}

	function log(uint p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool)", p0, p1, p2));
	}

	function log(uint p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2));
	}

	function log(string memory p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint)", p0, p1, p2));
	}

	function log(string memory p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2));
	}

	function log(string memory p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2));
	}

	function log(string memory p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2));
	}

	function log(bool p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint)", p0, p1, p2));
	}

	function log(bool p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string)", p0, p1, p2));
	}

	function log(bool p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool)", p0, p1, p2));
	}

	function log(bool p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2));
	}

	function log(bool p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint)", p0, p1, p2));
	}

	function log(bool p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2));
	}

	function log(bool p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2));
	}

	function log(bool p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2));
	}

	function log(bool p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint)", p0, p1, p2));
	}

	function log(bool p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2));
	}

	function log(bool p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2));
	}

	function log(bool p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2));
	}

	function log(address p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint)", p0, p1, p2));
	}

	function log(address p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string)", p0, p1, p2));
	}

	function log(address p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool)", p0, p1, p2));
	}

	function log(address p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address)", p0, p1, p2));
	}

	function log(address p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint)", p0, p1, p2));
	}

	function log(address p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2));
	}

	function log(address p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2));
	}

	function log(address p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2));
	}

	function log(address p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint)", p0, p1, p2));
	}

	function log(address p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2));
	}

	function log(address p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2));
	}

	function log(address p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2));
	}

	function log(address p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint)", p0, p1, p2));
	}

	function log(address p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2));
	}

	function log(address p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2));
	}

	function log(address p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2));
	}

	function log(uint p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3));
	}

}

File 3 of 12 : 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 4 of 12 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

File 5 of 12 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

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

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

File 6 of 12 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.0
// 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 {
    // Reference type for token approval.
    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 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 {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

        _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]`.
        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 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 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 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.
            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`.
                )

                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 ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

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

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for {
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp {
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } {
                // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }

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

File 7 of 12 : ERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.0
// 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 8 of 12 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

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

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 10 of 12 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.0
// 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();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 12 : IERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.0
// 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 12 of 12 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"baseUri_","type":"string"},{"internalType":"string","name":"notRevealedUri_","type":"string"},{"internalType":"address","name":"siger_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quatity","type":"uint256"}],"name":"buyRecuit","outputs":[],"stateMutability":"payable","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":"address","name":"","type":"address"}],"name":"hasFreeMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"isFreeToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_msgHash","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"},{"internalType":"uint256","name":"_at","type":"uint256"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint8","name":"_level","type":"uint8"}],"name":"levelUp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint8","name":"_level","type":"uint8"}],"name":"levelUpByOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"levelUpprice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lieutenantLevel","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxLevel","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"operators","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint8","name":"_level","type":"uint8"}],"name":"payForlevelUp","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"recuitToLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_msgHash","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"},{"internalType":"uint256","name":"at","type":"uint256"}],"name":"safeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_tos","type":"address[]"},{"internalType":"uint256[]","name":"_quantities","type":"uint256[]"}],"name":"safeMintBatchByOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"safeMintByOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setLevelUpprice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_level","type":"uint8"}],"name":"setLieutenantLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_maxLevel","type":"uint8"}],"name":"setMaximumLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_reveale","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_systemSigner","type":"address"}],"name":"setSystemSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURIByOnwer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_period","type":"uint256"}],"name":"setVipMintingPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_vipSaleStartTime","type":"uint256"}],"name":"setVipSaleStartTime","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":"totalMinted","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vipMintingPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quatity","type":"uint256"},{"internalType":"bytes32","name":"_msgHash","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"},{"internalType":"uint256","name":"at","type":"uint256"}],"name":"vipSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"vipSaleStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526618838370f34000600c819055600d5562015180600e556362dad55b600f55610bb86010556011805461ffff60ff60b01b0119166104041790553480156200004b57600080fd5b50604051620051ad380380620051ad8339810160408190526200006e91620007d7565b845185908590620000879060029060208501906200065b565b5080516200009d9060039060208401906200065b565b5050600160005550620000b0336200013b565b6008805460ff60a01b1916905560016009558251620000d790600a9060208601906200065b565b508151620000ed90600b9060208501906200065b565b506011805462010000600160b01b031916620100006001600160a01b0384160217905562000130620001276008546001600160a01b031690565b61047e6200018d565b505050505062000973565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001af828260405180602001604052806000815250620001b360201b60201c565b5050565b620001bf83836200022a565b6001600160a01b0383163b1562000225576000548281035b6001810190620001ed9060009087908662000312565b6200020b576040516368d2bf6b60e11b815260040160405180910390fd5b818110620001d75781600054146200022257600080fd5b50505b505050565b600054816200024c5760405163b562e8dd60e01b815260040160405180910390fd5b6200025b600084838562000413565b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083906000805160206200518d8339815191528180a4600183015b818114620002ea57808360006000805160206200518d833981519152600080a4600101620002c1565b50816200030957604051622e076360e81b815260040160405180910390fd5b60005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029062000349903390899088908890600401620008b4565b602060405180830381600087803b1580156200036457600080fd5b505af192505050801562000397575060408051601f3d908101601f1916820190925262000394918101906200090a565b60015b620003f6573d808015620003c8576040519150601f19603f3d011682016040523d82523d6000602084013e620003cd565b606091505b508051620003ee576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6200041e8262000532565b156200052c5760408051608081018252600080825260208201819052918101829052606081019190915262000453836200056c565b9050806040015115620004ad5760405162461bcd60e51b815260206004820152601560248201527f5448495320544f4b454e20574153204255524e4544000000000000000000000060448201526064015b60405180910390fd5b60115460008481526014602052604090205460ff9091161480620004de5750600083118015620004de575061047f83105b620002225760405162461bcd60e51b815260206004820152601d60248201527f4e45454420544f204c4556454c555020544f204c49455554454e414e540000006044820152606401620004a4565b50505050565b60008160011115801562000547575060005482105b8015620005665750600082815260046020526040902054600160e01b16155b92915050565b604080516080810182526000808252602082018190529181018290526060810191909152620005666200059f83620005e6565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b6000818060011162000642576000548110156200064257600081815260046020526040902054600160e01b811662000640575b806200063957506000190160008181526004602052604090205462000619565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b828054620006699062000936565b90600052602060002090601f0160209004810192826200068d5760008555620006d8565b82601f10620006a857805160ff1916838001178555620006d8565b82800160010185558215620006d8579182015b82811115620006d8578251825591602001919060010190620006bb565b50620006e6929150620006ea565b5090565b5b80821115620006e65760008155600101620006eb565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620007345781810151838201526020016200071a565b838111156200052c5750506000910152565b600082601f8301126200075857600080fd5b81516001600160401b038082111562000775576200077562000701565b604051601f8301601f19908116603f01168101908282118183101715620007a057620007a062000701565b81604052838152866020858801011115620007ba57600080fd5b620007cd84602083016020890162000717565b9695505050505050565b600080600080600060a08688031215620007f057600080fd5b85516001600160401b03808211156200080857600080fd5b6200081689838a0162000746565b965060208801519150808211156200082d57600080fd5b6200083b89838a0162000746565b955060408801519150808211156200085257600080fd5b6200086089838a0162000746565b945060608801519150808211156200087757600080fd5b50620008868882890162000746565b608088015190935090506001600160a01b0381168114620008a657600080fd5b809150509295509295909350565b600060018060a01b038087168352808616602084015250836040830152608060608301528251806080840152620008f38160a085016020870162000717565b601f01601f19169190910160a00195945050505050565b6000602082840312156200091d57600080fd5b81516001600160e01b0319811681146200063957600080fd5b600181811c908216806200094b57607f821691505b602082108114156200096d57634e487b7160e01b600052602260045260246000fd5b50919050565b61480a80620009836000396000f3fe6080604052600436106103975760003560e01c806381f67f34116101dc578063b5e5acc511610102578063e064b199116100a0578063f28daf6d1161006f578063f28daf6d14610ab7578063f2fde38b14610ad7578063f9e9026414610af7578063fa76b11514610b1757600080fd5b8063e064b199146109fe578063e0a8085314610a1e578063e985e9c514610a3e578063ef6187a414610a8757600080fd5b8063c87b56dd116100dc578063c87b56dd1461097f578063cc06c3591461099f578063ced23a1a146109be578063dc33e681146109de57600080fd5b8063b5e5acc514610912578063b88d4fde14610932578063c23dc68f1461095257600080fd5b806395d89b411161017a578063a2309ff811610149578063a2309ff81461088d578063a74bcde5146108a6578063b318fee1146108c6578063b3ebb381146108e657600080fd5b806395d89b411461082257806399a2557a14610837578063a035b1fe14610857578063a22cb4651461086d57600080fd5b80638552c6ca116101b65780638552c6ca146107a15780638da5cb5b146107ce57806391b7f5ed146107ec57806393d59a2c1461080c57600080fd5b806381f67f341461074c5780638456cb591461075f5780638462151c1461077457600080fd5b80633f4ba83a116102c15780635bbb21771161025f5780636c0360eb1161022e5780636c0360eb146106ed57806370a0823114610702578063715018a614610722578063722503801461073757600080fd5b80635bbb21771461066e5780635c975abb1461069b5780636352211e146106ba578063638d21f7146106da57600080fd5b8063518302271161029b57806351830227146105fa578063558a72971461061b57806355f804b31461063b5780635a9dedd51461065b57600080fd5b80633f4ba83a146105a557806342842e0e146105ba57806342966c68146105da57600080fd5b806323b872dd1161033957806330bc3d721161030857806330bc3d721461053a57806336794d151461055a578063375865651461057a5780633ccfd60b1461059057600080fd5b806323b872dd146104c4578063283d1e42146104e45780632de6ddc7146105045780632f3942361461051a57600080fd5b8063095ea7b311610375578063095ea7b31461042b57806313e7c9d81461044d57806314f223871461047d57806318160ddd1461049d57600080fd5b806301ffc9a71461039c57806306fdde03146103d1578063081812fc146103f3575b600080fd5b3480156103a857600080fd5b506103bc6103b7366004613dd0565b610b47565b60405190151581526020015b60405180910390f35b3480156103dd57600080fd5b506103e6610be4565b6040516103c89190613e45565b3480156103ff57600080fd5b5061041361040e366004613e58565b610c76565b6040516001600160a01b0390911681526020016103c8565b34801561043757600080fd5b5061044b610446366004613e88565b610cd3565b005b34801561045957600080fd5b506103bc610468366004613eb2565b60166020526000908152604090205460ff1681565b34801561048957600080fd5b5061044b610498366004613eb2565b610d99565b3480156104a957600080fd5b5060015460005403600019015b6040519081526020016103c8565b3480156104d057600080fd5b5061044b6104df366004613ecd565b610e2c565b3480156104f057600080fd5b5061044b6104ff366004613e58565b611007565b34801561051057600080fd5b506104b6600e5481565b34801561052657600080fd5b5061044b610535366004613fc0565b61105a565b34801561054657600080fd5b5061044b610555366004614018565b6110d1565b34801561056657600080fd5b5061044b610575366004614044565b611249565b34801561058657600080fd5b506104b6600f5481565b34801561059c57600080fd5b5061044b611561565b3480156105b157600080fd5b5061044b611653565b3480156105c657600080fd5b5061044b6105d5366004613ecd565b6116b0565b3480156105e657600080fd5b5061044b6105f5366004613e58565b6116d0565b34801561060657600080fd5b506011546103bc90600160b01b900460ff1681565b34801561062757600080fd5b5061044b6106363660046140a4565b611731565b34801561064757600080fd5b506103bc6106563660046140ce565b611764565b61044b610669366004614103565b61178c565b34801561067a57600080fd5b5061068e61068936600461415b565b611aca565b6040516103c891906141d0565b3480156106a757600080fd5b50600854600160a01b900460ff166103bc565b3480156106c657600080fd5b506104136106d5366004613e58565b611b96565b61044b6106e8366004613e58565b611ba1565b3480156106f957600080fd5b506103e6611d84565b34801561070e57600080fd5b506104b661071d366004613eb2565b611e12565b34801561072e57600080fd5b5061044b611e7a565b34801561074357600080fd5b506103e6611e8e565b61044b61075a366004614018565b611e9b565b34801561076b57600080fd5b5061044b61205a565b34801561078057600080fd5b5061079461078f366004613eb2565b6120b0565b6040516103c8919061424d565b3480156107ad57600080fd5b506104b66107bc366004613e58565b60146020526000908152604090205481565b3480156107da57600080fd5b506008546001600160a01b0316610413565b3480156107f857600080fd5b5061044b610807366004613e58565b6121bb565b34801561081857600080fd5b506104b6600d5481565b34801561082e57600080fd5b506103e66121da565b34801561084357600080fd5b50610794610852366004614285565b6121e9565b34801561086357600080fd5b506104b6600c5481565b34801561087957600080fd5b5061044b6108883660046140a4565b61238e565b34801561089957600080fd5b50600054600019016104b6565b3480156108b257600080fd5b5061044b6108c1366004613e58565b61243d565b3480156108d257600080fd5b5061044b6108e13660046142b8565b612490565b3480156108f257600080fd5b506011546109009060ff1681565b60405160ff90911681526020016103c8565b34801561091e57600080fd5b5061044b61092d366004614323565b6127fd565b34801561093e57600080fd5b5061044b61094d36600461433e565b61281b565b34801561095e57600080fd5b5061097261096d366004613e58565b612865565b6040516103c891906143a6565b34801561098b57600080fd5b506103e661099a366004613e58565b6128ed565b3480156109ab57600080fd5b5060115461090090610100900460ff1681565b3480156109ca57600080fd5b5061044b6109d9366004613e58565b612b39565b3480156109ea57600080fd5b506104b66109f9366004613eb2565b612b58565b348015610a0a57600080fd5b5061044b610a19366004613e88565b612b83565b348015610a2a57600080fd5b5061044b610a393660046143eb565b612c31565b348015610a4a57600080fd5b506103bc610a59366004614406565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610a9357600080fd5b506103bc610aa2366004613eb2565b60156020526000908152604090205460ff1681565b348015610ac357600080fd5b5061044b610ad23660046144bf565b612cb8565b348015610ae357600080fd5b5061044b610af2366004613eb2565b612e1b565b348015610b0357600080fd5b5061044b610b12366004614323565b612eab565b348015610b2357600080fd5b506103bc610b32366004613e58565b60136020526000908152604090205460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161480610baa57507f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b80610bde57507f5b5e139f000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b606060028054610bf390614575565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1f90614575565b8015610c6c5780601f10610c4157610100808354040283529160200191610c6c565b820191906000526020600020905b815481529060010190602001808311610c4f57829003601f168201915b5050505050905090565b6000610c8182612ecf565b610cb7576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610cde82611b96565b9050336001600160a01b03821614610d3057610cfa8133610a59565b610d30576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610da1612f04565b60026009541415610de75760405162461bcd60e51b815260206004820152601f60248201526000805160206147b583398151915260448201526064015b60405180910390fd5b601180546001600160a01b0390921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff9092169190911790556001600955565b6000610e3782612f5e565b9050836001600160a01b0316816001600160a01b031614610e84576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604090208054610eb08187335b6001600160a01b039081169116811491141790565b610edb57610ebe8633610a59565b610edb57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610f1b576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f288686866001612fe0565b8015610f3357600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610fbe5760018401600081815260046020526040902054610fbc576000548114610fbc5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b61100f612f04565b600260095414156110505760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b600e556001600955565b611062612f04565b600260095414156110a35760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b6002600955600082815260126020908152604090912082516110c792840190613d21565b5050600160095550565b6110d9612f04565b6002600954141561111a5760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b600260095560ff811661116f5760405162461bcd60e51b815260206004820152601260248201527f4c4556454c5f43414e5f4e4f545f42455f3000000000000000000000000000006044820152606401610dde565b60115460ff6101009091048116908216106111cc5760405162461bcd60e51b815260206004820152601660248201527f4d4158494d554d5f4c4556454c5f4558434545444544000000000000000000006044820152606401610dde565b60008281526014602052604090205460ff82161161122c5760405162461bcd60e51b815260206004820152601e60248201527f43414e5f4e4f545f555047524144455f544f5f4c4f5745525f4c4556454c00006044820152606401610dde565b60009182526014602052604090912060ff90911690556001600955565b6112516130f1565b600260095414156112925760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b6002600955601154839083906201000090046001600160a01b031660006113108361130a866040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b9061314b565b9050816001600160a01b0316816001600160a01b0316146113675760405162461bcd60e51b8152602060048201526011602482015270494e56414c49445f5349474e415455524560781b6044820152606401610dde565b6040516bffffffffffffffffffffffff193360601b166020820152603481018690527f0100000000000000000000000000000000000000000000000000000000000000605482015287908690600190839060550160405160208183030381529060405280519060200120146114105760405162461bcd60e51b815260206004820152600f60248201526e494e56414c49445f4d45535341474560881b6044820152606401610dde565b3361145d5760405162461bcd60e51b815260206004820152601a60248201527f30204953204e4f54204120434f525245435420414444524553530000000000006044820152606401610dde565b3360009081526015602052604090205460ff16156114bd5760405162461bcd60e51b815260206004820152601160248201527f5155414e544954595f45584345454445440000000000000000000000000000006044820152606401610dde565b6010546114c861316f565b11156115015760405162461bcd60e51b815260206004820152600860248201526714d3d31117d3d55560c21b6044820152606401610dde565b600080548082526013602090815260408084208054600160ff1991821681179092556014845282862082905533808752601590945291909420805490911684179055909161154f9190613187565b50506001600955505050505050505050565b611569612f04565b47806115b75760405162461bcd60e51b815260206004820181905260248201527f42616c616e63652073686f756c64206265206d6f7265207468616e207a65726f6044820152606401610dde565b604051600090339083908381818185875af1925050503d80600081146115f9576040519150601f19603f3d011682016040523d82523d6000602084013e6115fe565b606091505b505090508061164f5760405162461bcd60e51b815260206004820152601460248201527f4661696c656420746f2073656e642045746865720000000000000000000000006044820152606401610dde565b5050565b61165b612f04565b6002600954141561169c5760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b60026009556116a96131a1565b6001600955565b6116cb8383836040518060200160405280600081525061281b565b505050565b6116d86130f1565b600260095414156117195760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b60026009556117298160016131f6565b506001600955565b611739612f04565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b600061176e612f04565b815161178190600a906020850190613d21565b50600190505b919050565b6117946130f1565b600260095414156117d55760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b6002600955601154839083906201000090046001600160a01b0316600061184d8361130a866040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b9050816001600160a01b0316816001600160a01b0316146118a45760405162461bcd60e51b8152602060048201526011602482015270494e56414c49445f5349474e415455524560781b6044820152606401610dde565b6040516bffffffffffffffffffffffff193360601b1660208201526034810186905287908690829060540160405160208183030381529060405280519060200120146119245760405162461bcd60e51b815260206004820152600f60248201526e494e56414c49445f4d45535341474560881b6044820152606401610dde565b336119715760405162461bcd60e51b815260206004820152601a60248201527f30204953204e4f54204120434f525245435420414444524553530000000000006044820152606401610dde565b60008a116119c15760405162461bcd60e51b815260206004820152601760248201527f30204953204e4f542056414c4944205155414e544949590000000000000000006044820152606401610dde565b89600c546119cf91906145c6565b341015611a0f5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d15393d551d7d195539160921b6044820152606401610dde565b600e54600f54611a1f90426145e5565b10611a6c5760405162461bcd60e51b815260206004820152601460248201527f5649502053414c4520504552494f44204f5645520000000000000000000000006044820152606401610dde565b601054611a7761316f565b1115611ab05760405162461bcd60e51b815260206004820152600860248201526714d3d31117d3d55560c21b6044820152606401610dde565b611ab98a613360565b505060016009555050505050505050565b60608160008167ffffffffffffffff811115611ae857611ae8613f09565b604051908082528060200260200182016040528015611b3a57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181611b065790505b50905060005b828114611b8d57611b68868683818110611b5c57611b5c6145fc565b90506020020135612865565b828281518110611b7a57611b7a6145fc565b6020908102919091010152600101611b40565b50949350505050565b6000610bde82612f5e565b611ba96130f1565b60026009541415611bea5760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b600260095533611c3c5760405162461bcd60e51b815260206004820152601a60248201527f30204953204e4f54204120434f525245435420414444524553530000000000006044820152606401610dde565b60008111611c8c5760405162461bcd60e51b815260206004820152601760248201527f30204953204e4f542056414c4944205155414e544949590000000000000000006044820152606401610dde565b80600c54611c9a91906145c6565b341015611cda5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d15393d551d7d195539160921b6044820152606401610dde565b600e54600f54611cea90426145e5565b11611d375760405162461bcd60e51b815260206004820152600f60248201527f5649502053414c4520504552494f4400000000000000000000000000000000006044820152606401610dde565b601054611d4261316f565b1115611d7b5760405162461bcd60e51b815260206004820152600860248201526714d3d31117d3d55560c21b6044820152606401610dde565b61172981613360565b600a8054611d9190614575565b80601f0160208091040260200160405190810160405280929190818152602001828054611dbd90614575565b8015611e0a5780601f10611ddf57610100808354040283529160200191611e0a565b820191906000526020600020905b815481529060010190602001808311611ded57829003601f168201915b505050505081565b60006001600160a01b038216611e54576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b611e82612f04565b611e8c60006133ab565b565b600b8054611d9190614575565b611ea36130f1565b60026009541415611ee45760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b6002600955611ef282612ecf565b611f0f57604051630a14c4b560e41b815260040160405180910390fd5b8060ff16600d54611f2091906145c6565b341015611f605760405162461bcd60e51b815260206004820152600e60248201526d1393d517d15393d551d7d195539160921b6044820152606401610dde565b60008160ff1611611fb35760405162461bcd60e51b815260206004820152601260248201527f4c4556454c5f43414e5f4e4f545f42455f3000000000000000000000000000006044820152606401610dde565b60115460008381526014602052604090205460ff610100909204821691611fdd9190841690614612565b111561202b5760405162461bcd60e51b815260206004820152601660248201527f4d4158494d554d5f4c4556454c5f4558434545444544000000000000000000006044820152606401610dde565b6000828152601460205260408120805460ff8416929061204c908490614612565b909155505060016009555050565b612062612f04565b600260095414156120a35760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b60026009556116a961340a565b606060008060006120c085611e12565b905060008167ffffffffffffffff8111156120dd576120dd613f09565b604051908082528060200260200182016040528015612106578160200160208202803683370190505b5060408051608081018252600080825260208201819052918101829052606081019190915290915060015b8386146121af576121418161344d565b9150816040015115612152576121a7565b81516001600160a01b03161561216757815194505b876001600160a01b0316856001600160a01b031614156121a7578083878060010198508151811061219a5761219a6145fc565b6020026020010181815250505b600101612131565b50909695505050505050565b6121c3612f04565b6121d481662386f26fc100006145c6565b600c5550565b606060038054610bf390614575565b6060818310612224576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061223060005490565b9050600185101561224057600194505b8084111561224c578093505b600061225787611e12565b9050848610156122765785850381811015612270578091505b5061227a565b5060005b60008167ffffffffffffffff81111561229557612295613f09565b6040519080825280602002602001820160405280156122be578160200160208202803683370190505b509050816122d157935061238792505050565b60006122dc88612865565b9050600081604001516122ed575080515b885b8881141580156122ff5750848714155b1561237b5761230d8161344d565b925082604001511561231e57612373565b82516001600160a01b03161561233357825191505b8a6001600160a01b0316826001600160a01b031614156123735780848880600101995081518110612366576123666145fc565b6020026020010181815250505b6001016122ef565b50505092835250909150505b9392505050565b6001600160a01b0382163314156123d1576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b612445612f04565b600260095414156124865760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b600f556001600955565b6124986130f1565b600260095414156124d95760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b6002600955601154859085906201000090046001600160a01b031660006125518361130a866040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b9050816001600160a01b0316816001600160a01b0316146125a85760405162461bcd60e51b8152602060048201526011602482015270494e56414c49445f5349474e415455524560781b6044820152606401610dde565b6040516bffffffffffffffffffffffff193360601b166020820152603481018890527fff0000000000000000000000000000000000000000000000000000000000000060f887901b166054820152899088908790839060550160405160208183030381529060405280519060200120146126565760405162461bcd60e51b815260206004820152600f60248201526e494e56414c49445f4d45535341474560881b6044820152606401610dde565b61265f89612ecf565b61267c57604051630a14c4b560e41b815260040160405180910390fd5b61268589611b96565b6001600160a01b0316336001600160a01b0316146126e55760405162461bcd60e51b815260206004820152600960248201527f4e4f54204f574e455200000000000000000000000000000000000000000000006044820152606401610dde565b60115460ff610100909104811690891611156127435760405162461bcd60e51b815260206004820152601660248201527f4d4158494d554d5f4c4556454c5f4558434545444544000000000000000000006044820152606401610dde565b61274e60018961462a565b60008a81526014602052604090205460ff91909116146127d65760405162461bcd60e51b815260206004820152602660248201527f43414e5f4f4e4c595f555044524144455f4f4e455f4c4556454c5f41545f544860448201527f455f54494d4500000000000000000000000000000000000000000000000000006064820152608401610dde565b5050506000958652505060146020525050604090912060ff90911690555050600160095550565b612805612f04565b6011805460ff191660ff92909216919091179055565b612826848484610e2c565b6001600160a01b0383163b1561285f57612842848484846134cc565b61285f576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60408051608081018252600080825260208201819052918101829052606081019190915260408051608081018252600080825260208201819052918101829052606081019190915260018310806128be57506000548310155b156128c95792915050565b6128d28361344d565b90508060400151156128e45792915050565b612387836135c3565b60606128f882612ecf565b61291557604051630a14c4b560e41b815260040160405180910390fd5b601154600160b01b900460ff166129b857600b805461293390614575565b80601f016020809104026020016040519081016040528092919081815260200182805461295f90614575565b80156129ac5780601f10612981576101008083540402835291602001916129ac565b820191906000526020600020905b81548152906001019060200180831161298f57829003601f168201915b50505050509050919050565b600082815260126020526040812080546129d190614575565b80601f01602080910402602001604051908101604052809291908181526020018280546129fd90614575565b8015612a4a5780601f10612a1f57610100808354040283529160200191612a4a565b820191906000526020600020905b815481529060010190602001808311612a2d57829003601f168201915b50505050509050600081511115612a835780604051602001612a6c919061464d565b604051602081830303815290604052915050919050565b6000612a8d61363b565b9050600084118015612aa0575061047f84105b15612b04578051612ac05760405180602001604052806000815250612afc565b6011548190612ad19060ff1661364a565b612ada8661364a565b604051602001612aec93929190614669565b6040516020818303038152906040525b949350505050565b8051612b1f5760405180602001604052806000815250612afc565b6000848152601460205260409020548190612ad19061364a565b612b41612f04565b612b5281662386f26fc100006145c6565b600d5550565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c16610bde565b612b8b612f04565b60026009541415612bcc5760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b6002600955600054612bde8383613699565b60005b612bec6001846145e5565b811015612c2657600160146000612c038486614612565b815260208101919091526040016000205580612c1e8161472a565b915050612be1565b505060016009555050565b612c39612f04565b60026009541415612c7a5760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b60118054911515600160b01b027fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff9092169190911790556001600955565b612cc0612f04565b60026009541415612d015760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b60026009558051825114612d7d5760405162461bcd60e51b815260206004820152602860248201527f5448452032204152524159532053484f554c442048415645205448452053414d60448201527f45204c454e4754480000000000000000000000000000000000000000000000006064820152608401610dde565b601054612d8861316f565b1115612dc15760405162461bcd60e51b815260206004820152600860248201526714d3d31117d3d55560c21b6044820152606401610dde565b60005b82518110156110c757612e09838281518110612de257612de26145fc565b6020026020010151838381518110612dfc57612dfc6145fc565b6020026020010151613699565b80612e138161472a565b915050612dc4565b612e23612f04565b6001600160a01b038116612e9f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610dde565b612ea8816133ab565b50565b612eb3612f04565b6011805460ff9092166101000261ff0019909216919091179055565b600081600111158015612ee3575060005482105b8015610bde575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314611e8c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b60008180600111612fae57600054811015612fae57600081815260046020526040902054600160e01b8116612fac575b80612387575060001901600081815260046020526040902054612f8e565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612fe982612ecf565b1561285f5760408051608081018252600080825260208201819052918101829052606081019190915261301b836135c3565b905080604001511561306f5760405162461bcd60e51b815260206004820152601560248201527f5448495320544f4b454e20574153204255524e454400000000000000000000006044820152606401610dde565b60115460008481526014602052604090205460ff909116148061309e575060008311801561309e575061047f83105b6130ea5760405162461bcd60e51b815260206004820152601d60248201527f4e45454420544f204c4556454c555020544f204c49455554454e414e540000006044820152606401610dde565b5050505050565b600854600160a01b900460ff1615611e8c5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610dde565b600080600061315a85856137c1565b9150915061316781613831565b509392505050565b600061317a60015490565b6000546000190103905090565b61164f8282604051806020016040528060008152506139ec565b6131a9613a52565b6008805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600061320183612f5e565b90508060008061321f86600090815260066020526040902080549091565b91509150841561325f57613234818433610e9b565b61325f576132428333610a59565b61325f57604051632ce44b5f60e11b815260040160405180910390fd5b61326d836000886001612fe0565b801561327857600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b177c030000000000000000000000000000000000000000000000000000000017600087815260046020526040902055600160e11b841661331857600186016000818152600460205260409020546133165760005481146133165760008181526004602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b60005461336d3383613187565b60005b828110156116cb576001601460006133888486614612565b8152602081019190915260400160002055806133a38161472a565b915050613370565b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6134126130f1565b6008805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586131d93390565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260046020526040902054610bde90604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290613501903390899088908890600401614745565b602060405180830381600087803b15801561351b57600080fd5b505af192505050801561354b575060408051601f3d908101601f1916820190925261354891810190614781565b60015b6135a6573d808015613579576040519150601f19603f3d011682016040523d82523d6000602084013e61357e565b606091505b50805161359e576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080810182526000808252602082018190529181018290526060810191909152610bde6135f383612f5e565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6060600a8054610bf390614575565b604080516080810191829052607f0190826030600a8206018353600a90045b801561368757600183039250600a81066030018353600a9004613669565b50819003601f19909101908152919050565b6001600160a01b0382166136ef5760405162461bcd60e51b815260206004820152601860248201527f30204953204e4f5420412056414c4944204144445245535300000000000000006044820152606401610dde565b6000811161373f5760405162461bcd60e51b815260206004820152601760248201527f30204953204e4f542056414c4944205155414e544949590000000000000000006044820152606401610dde565b60005461374c8383613187565b60005b8281101561285f576001601360006137678486614612565b815260200190815260200160002060006101000a81548160ff021916908315150217905550600160146000838561379e9190614612565b8152602081019190915260400160002055806137b98161472a565b91505061374f565b6000808251604114156137f85760208301516040840151606085015160001a6137ec87828585613aab565b9450945050505061382a565b8251604014156138225760208301516040840151613817868383613b98565b93509350505061382a565b506000905060025b9250929050565b60008160048111156138455761384561479e565b141561384e5750565b60018160048111156138625761386261479e565b14156138b05760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610dde565b60028160048111156138c4576138c461479e565b14156139125760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610dde565b60038160048111156139265761392661479e565b141561397f5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610dde565b60048160048111156139935761399361479e565b1415612ea85760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610dde565b6139f68383613bea565b6001600160a01b0383163b156116cb576000548281035b613a2060008683806001019450866134cc565b613a3d576040516368d2bf6b60e11b815260040160405180910390fd5b818110613a0d5781600054146130ea57600080fd5b600854600160a01b900460ff16611e8c5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610dde565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115613ae25750600090506003613b8f565b8460ff16601b14158015613afa57508460ff16601c14155b15613b0b5750600090506004613b8f565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613b5f573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116613b8857600060019250925050613b8f565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831681613bce60ff86901c601b614612565b9050613bdc87828885613aab565b935093505050935093915050565b60005481613c24576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613c316000848385612fe0565b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114613ce057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101613ca8565b5081613d18576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005550505050565b828054613d2d90614575565b90600052602060002090601f016020900481019282613d4f5760008555613d95565b82601f10613d6857805160ff1916838001178555613d95565b82800160010185558215613d95579182015b82811115613d95578251825591602001919060010190613d7a565b50613da1929150613da5565b5090565b5b80821115613da15760008155600101613da6565b6001600160e01b031981168114612ea857600080fd5b600060208284031215613de257600080fd5b813561238781613dba565b60005b83811015613e08578181015183820152602001613df0565b8381111561285f5750506000910152565b60008151808452613e31816020860160208601613ded565b601f01601f19169290920160200192915050565b6020815260006123876020830184613e19565b600060208284031215613e6a57600080fd5b5035919050565b80356001600160a01b038116811461178757600080fd5b60008060408385031215613e9b57600080fd5b613ea483613e71565b946020939093013593505050565b600060208284031215613ec457600080fd5b61238782613e71565b600080600060608486031215613ee257600080fd5b613eeb84613e71565b9250613ef960208501613e71565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715613f4857613f48613f09565b604052919050565b600082601f830112613f6157600080fd5b813567ffffffffffffffff811115613f7b57613f7b613f09565b613f8e601f8201601f1916602001613f1f565b818152846020838601011115613fa357600080fd5b816020850160208301376000918101602001919091529392505050565b60008060408385031215613fd357600080fd5b82359150602083013567ffffffffffffffff811115613ff157600080fd5b613ffd85828601613f50565b9150509250929050565b803560ff8116811461178757600080fd5b6000806040838503121561402b57600080fd5b8235915061403b60208401614007565b90509250929050565b60008060006060848603121561405957600080fd5b83359250602084013567ffffffffffffffff81111561407757600080fd5b61408386828701613f50565b925050604084013590509250925092565b8035801515811461178757600080fd5b600080604083850312156140b757600080fd5b6140c083613e71565b915061403b60208401614094565b6000602082840312156140e057600080fd5b813567ffffffffffffffff8111156140f757600080fd5b612afc84828501613f50565b6000806000806080858703121561411957600080fd5b8435935060208501359250604085013567ffffffffffffffff81111561413e57600080fd5b61414a87828801613f50565b949793965093946060013593505050565b6000806020838503121561416e57600080fd5b823567ffffffffffffffff8082111561418657600080fd5b818501915085601f83011261419a57600080fd5b8135818111156141a957600080fd5b8660208260051b85010111156141be57600080fd5b60209290920196919550909350505050565b6020808252825182820181905260009190848201906040850190845b818110156121af5761423a8385516001600160a01b03815116825267ffffffffffffffff602082015116602083015260408101511515604083015262ffffff60608201511660608301525050565b92840192608092909201916001016141ec565b6020808252825182820181905260009190848201906040850190845b818110156121af57835183529284019291840191600101614269565b60008060006060848603121561429a57600080fd5b6142a384613e71565b95602085013595506040909401359392505050565b600080600080600060a086880312156142d057600080fd5b85359450602086013567ffffffffffffffff8111156142ee57600080fd5b6142fa88828901613f50565b945050604086013592506060860135915061431760808701614007565b90509295509295909350565b60006020828403121561433557600080fd5b61238782614007565b6000806000806080858703121561435457600080fd5b61435d85613e71565b935061436b60208601613e71565b925060408501359150606085013567ffffffffffffffff81111561438e57600080fd5b61439a87828801613f50565b91505092959194509250565b81516001600160a01b0316815260208083015167ffffffffffffffff169082015260408083015115159082015260608083015162ffffff169082015260808101610bde565b6000602082840312156143fd57600080fd5b61238782614094565b6000806040838503121561441957600080fd5b61442283613e71565b915061403b60208401613e71565b600067ffffffffffffffff82111561444a5761444a613f09565b5060051b60200190565b600082601f83011261446557600080fd5b8135602061447a61447583614430565b613f1f565b82815260059290921b8401810191818101908684111561449957600080fd5b8286015b848110156144b4578035835291830191830161449d565b509695505050505050565b600080604083850312156144d257600080fd5b823567ffffffffffffffff808211156144ea57600080fd5b818501915085601f8301126144fe57600080fd5b8135602061450e61447583614430565b82815260059290921b8401810191818101908984111561452d57600080fd5b948201945b838610156145525761454386613e71565b82529482019490820190614532565b9650508601359250508082111561456857600080fd5b50613ffd85828601614454565b600181811c9082168061458957607f821691505b602082108114156145aa57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156145e0576145e06145b0565b500290565b6000828210156145f7576145f76145b0565b500390565b634e487b7160e01b600052603260045260246000fd5b60008219821115614625576146256145b0565b500190565b600060ff821660ff841680821015614644576146446145b0565b90039392505050565b6000825161465f818460208701613ded565b9190910192915050565b6000845161467b818460208901613ded565b7f6c6576656c00000000000000000000000000000000000000000000000000000090830190815284516146b5816005840160208901613ded565b7f2f000000000000000000000000000000000000000000000000000000000000006005929091019182015283516146f3816006840160208801613ded565b7f2e6a736f6e00000000000000000000000000000000000000000000000000000060069290910191820152600b0195945050505050565b600060001982141561473e5761473e6145b0565b5060010190565b60006001600160a01b038087168352808616602084015250836040830152608060608301526147776080830184613e19565b9695505050505050565b60006020828403121561479357600080fd5b815161238781613dba565b634e487b7160e01b600052602160045260246000fdfe5265656e7472616e637947756172643a207265656e7472616e742063616c6c00a2646970667358221220f31ff082e8bf158b7cdce089253b207cddf2de3c0fc1435f1b34e22360e08a9464736f6c63430008090033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a9ba1a9468f329ecfefea5b298c0ee42f99285d9000000000000000000000000000000000000000000000000000000000000001c417374726f6d757374205265637275697420436f6c6c656374696f6e00000000000000000000000000000000000000000000000000000000000000000000000341524300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d616957556f393463514b6b56677662655531666959584e516248555561696170566a665a54535768685442412f00000000000000000000000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f697066732e696f2f697066732f516d534d7243465072345569423943467655513268466a6b39753455424a536e5139397a394e63634263447232782f6e6f72657665616c2e706e6700000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106103975760003560e01c806381f67f34116101dc578063b5e5acc511610102578063e064b199116100a0578063f28daf6d1161006f578063f28daf6d14610ab7578063f2fde38b14610ad7578063f9e9026414610af7578063fa76b11514610b1757600080fd5b8063e064b199146109fe578063e0a8085314610a1e578063e985e9c514610a3e578063ef6187a414610a8757600080fd5b8063c87b56dd116100dc578063c87b56dd1461097f578063cc06c3591461099f578063ced23a1a146109be578063dc33e681146109de57600080fd5b8063b5e5acc514610912578063b88d4fde14610932578063c23dc68f1461095257600080fd5b806395d89b411161017a578063a2309ff811610149578063a2309ff81461088d578063a74bcde5146108a6578063b318fee1146108c6578063b3ebb381146108e657600080fd5b806395d89b411461082257806399a2557a14610837578063a035b1fe14610857578063a22cb4651461086d57600080fd5b80638552c6ca116101b65780638552c6ca146107a15780638da5cb5b146107ce57806391b7f5ed146107ec57806393d59a2c1461080c57600080fd5b806381f67f341461074c5780638456cb591461075f5780638462151c1461077457600080fd5b80633f4ba83a116102c15780635bbb21771161025f5780636c0360eb1161022e5780636c0360eb146106ed57806370a0823114610702578063715018a614610722578063722503801461073757600080fd5b80635bbb21771461066e5780635c975abb1461069b5780636352211e146106ba578063638d21f7146106da57600080fd5b8063518302271161029b57806351830227146105fa578063558a72971461061b57806355f804b31461063b5780635a9dedd51461065b57600080fd5b80633f4ba83a146105a557806342842e0e146105ba57806342966c68146105da57600080fd5b806323b872dd1161033957806330bc3d721161030857806330bc3d721461053a57806336794d151461055a578063375865651461057a5780633ccfd60b1461059057600080fd5b806323b872dd146104c4578063283d1e42146104e45780632de6ddc7146105045780632f3942361461051a57600080fd5b8063095ea7b311610375578063095ea7b31461042b57806313e7c9d81461044d57806314f223871461047d57806318160ddd1461049d57600080fd5b806301ffc9a71461039c57806306fdde03146103d1578063081812fc146103f3575b600080fd5b3480156103a857600080fd5b506103bc6103b7366004613dd0565b610b47565b60405190151581526020015b60405180910390f35b3480156103dd57600080fd5b506103e6610be4565b6040516103c89190613e45565b3480156103ff57600080fd5b5061041361040e366004613e58565b610c76565b6040516001600160a01b0390911681526020016103c8565b34801561043757600080fd5b5061044b610446366004613e88565b610cd3565b005b34801561045957600080fd5b506103bc610468366004613eb2565b60166020526000908152604090205460ff1681565b34801561048957600080fd5b5061044b610498366004613eb2565b610d99565b3480156104a957600080fd5b5060015460005403600019015b6040519081526020016103c8565b3480156104d057600080fd5b5061044b6104df366004613ecd565b610e2c565b3480156104f057600080fd5b5061044b6104ff366004613e58565b611007565b34801561051057600080fd5b506104b6600e5481565b34801561052657600080fd5b5061044b610535366004613fc0565b61105a565b34801561054657600080fd5b5061044b610555366004614018565b6110d1565b34801561056657600080fd5b5061044b610575366004614044565b611249565b34801561058657600080fd5b506104b6600f5481565b34801561059c57600080fd5b5061044b611561565b3480156105b157600080fd5b5061044b611653565b3480156105c657600080fd5b5061044b6105d5366004613ecd565b6116b0565b3480156105e657600080fd5b5061044b6105f5366004613e58565b6116d0565b34801561060657600080fd5b506011546103bc90600160b01b900460ff1681565b34801561062757600080fd5b5061044b6106363660046140a4565b611731565b34801561064757600080fd5b506103bc6106563660046140ce565b611764565b61044b610669366004614103565b61178c565b34801561067a57600080fd5b5061068e61068936600461415b565b611aca565b6040516103c891906141d0565b3480156106a757600080fd5b50600854600160a01b900460ff166103bc565b3480156106c657600080fd5b506104136106d5366004613e58565b611b96565b61044b6106e8366004613e58565b611ba1565b3480156106f957600080fd5b506103e6611d84565b34801561070e57600080fd5b506104b661071d366004613eb2565b611e12565b34801561072e57600080fd5b5061044b611e7a565b34801561074357600080fd5b506103e6611e8e565b61044b61075a366004614018565b611e9b565b34801561076b57600080fd5b5061044b61205a565b34801561078057600080fd5b5061079461078f366004613eb2565b6120b0565b6040516103c8919061424d565b3480156107ad57600080fd5b506104b66107bc366004613e58565b60146020526000908152604090205481565b3480156107da57600080fd5b506008546001600160a01b0316610413565b3480156107f857600080fd5b5061044b610807366004613e58565b6121bb565b34801561081857600080fd5b506104b6600d5481565b34801561082e57600080fd5b506103e66121da565b34801561084357600080fd5b50610794610852366004614285565b6121e9565b34801561086357600080fd5b506104b6600c5481565b34801561087957600080fd5b5061044b6108883660046140a4565b61238e565b34801561089957600080fd5b50600054600019016104b6565b3480156108b257600080fd5b5061044b6108c1366004613e58565b61243d565b3480156108d257600080fd5b5061044b6108e13660046142b8565b612490565b3480156108f257600080fd5b506011546109009060ff1681565b60405160ff90911681526020016103c8565b34801561091e57600080fd5b5061044b61092d366004614323565b6127fd565b34801561093e57600080fd5b5061044b61094d36600461433e565b61281b565b34801561095e57600080fd5b5061097261096d366004613e58565b612865565b6040516103c891906143a6565b34801561098b57600080fd5b506103e661099a366004613e58565b6128ed565b3480156109ab57600080fd5b5060115461090090610100900460ff1681565b3480156109ca57600080fd5b5061044b6109d9366004613e58565b612b39565b3480156109ea57600080fd5b506104b66109f9366004613eb2565b612b58565b348015610a0a57600080fd5b5061044b610a19366004613e88565b612b83565b348015610a2a57600080fd5b5061044b610a393660046143eb565b612c31565b348015610a4a57600080fd5b506103bc610a59366004614406565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610a9357600080fd5b506103bc610aa2366004613eb2565b60156020526000908152604090205460ff1681565b348015610ac357600080fd5b5061044b610ad23660046144bf565b612cb8565b348015610ae357600080fd5b5061044b610af2366004613eb2565b612e1b565b348015610b0357600080fd5b5061044b610b12366004614323565b612eab565b348015610b2357600080fd5b506103bc610b32366004613e58565b60136020526000908152604090205460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161480610baa57507f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b80610bde57507f5b5e139f000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b606060028054610bf390614575565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1f90614575565b8015610c6c5780601f10610c4157610100808354040283529160200191610c6c565b820191906000526020600020905b815481529060010190602001808311610c4f57829003601f168201915b5050505050905090565b6000610c8182612ecf565b610cb7576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610cde82611b96565b9050336001600160a01b03821614610d3057610cfa8133610a59565b610d30576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610da1612f04565b60026009541415610de75760405162461bcd60e51b815260206004820152601f60248201526000805160206147b583398151915260448201526064015b60405180910390fd5b601180546001600160a01b0390921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff9092169190911790556001600955565b6000610e3782612f5e565b9050836001600160a01b0316816001600160a01b031614610e84576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604090208054610eb08187335b6001600160a01b039081169116811491141790565b610edb57610ebe8633610a59565b610edb57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610f1b576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f288686866001612fe0565b8015610f3357600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610fbe5760018401600081815260046020526040902054610fbc576000548114610fbc5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b61100f612f04565b600260095414156110505760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b600e556001600955565b611062612f04565b600260095414156110a35760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b6002600955600082815260126020908152604090912082516110c792840190613d21565b5050600160095550565b6110d9612f04565b6002600954141561111a5760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b600260095560ff811661116f5760405162461bcd60e51b815260206004820152601260248201527f4c4556454c5f43414e5f4e4f545f42455f3000000000000000000000000000006044820152606401610dde565b60115460ff6101009091048116908216106111cc5760405162461bcd60e51b815260206004820152601660248201527f4d4158494d554d5f4c4556454c5f4558434545444544000000000000000000006044820152606401610dde565b60008281526014602052604090205460ff82161161122c5760405162461bcd60e51b815260206004820152601e60248201527f43414e5f4e4f545f555047524144455f544f5f4c4f5745525f4c4556454c00006044820152606401610dde565b60009182526014602052604090912060ff90911690556001600955565b6112516130f1565b600260095414156112925760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b6002600955601154839083906201000090046001600160a01b031660006113108361130a866040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b9061314b565b9050816001600160a01b0316816001600160a01b0316146113675760405162461bcd60e51b8152602060048201526011602482015270494e56414c49445f5349474e415455524560781b6044820152606401610dde565b6040516bffffffffffffffffffffffff193360601b166020820152603481018690527f0100000000000000000000000000000000000000000000000000000000000000605482015287908690600190839060550160405160208183030381529060405280519060200120146114105760405162461bcd60e51b815260206004820152600f60248201526e494e56414c49445f4d45535341474560881b6044820152606401610dde565b3361145d5760405162461bcd60e51b815260206004820152601a60248201527f30204953204e4f54204120434f525245435420414444524553530000000000006044820152606401610dde565b3360009081526015602052604090205460ff16156114bd5760405162461bcd60e51b815260206004820152601160248201527f5155414e544954595f45584345454445440000000000000000000000000000006044820152606401610dde565b6010546114c861316f565b11156115015760405162461bcd60e51b815260206004820152600860248201526714d3d31117d3d55560c21b6044820152606401610dde565b600080548082526013602090815260408084208054600160ff1991821681179092556014845282862082905533808752601590945291909420805490911684179055909161154f9190613187565b50506001600955505050505050505050565b611569612f04565b47806115b75760405162461bcd60e51b815260206004820181905260248201527f42616c616e63652073686f756c64206265206d6f7265207468616e207a65726f6044820152606401610dde565b604051600090339083908381818185875af1925050503d80600081146115f9576040519150601f19603f3d011682016040523d82523d6000602084013e6115fe565b606091505b505090508061164f5760405162461bcd60e51b815260206004820152601460248201527f4661696c656420746f2073656e642045746865720000000000000000000000006044820152606401610dde565b5050565b61165b612f04565b6002600954141561169c5760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b60026009556116a96131a1565b6001600955565b6116cb8383836040518060200160405280600081525061281b565b505050565b6116d86130f1565b600260095414156117195760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b60026009556117298160016131f6565b506001600955565b611739612f04565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b600061176e612f04565b815161178190600a906020850190613d21565b50600190505b919050565b6117946130f1565b600260095414156117d55760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b6002600955601154839083906201000090046001600160a01b0316600061184d8361130a866040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b9050816001600160a01b0316816001600160a01b0316146118a45760405162461bcd60e51b8152602060048201526011602482015270494e56414c49445f5349474e415455524560781b6044820152606401610dde565b6040516bffffffffffffffffffffffff193360601b1660208201526034810186905287908690829060540160405160208183030381529060405280519060200120146119245760405162461bcd60e51b815260206004820152600f60248201526e494e56414c49445f4d45535341474560881b6044820152606401610dde565b336119715760405162461bcd60e51b815260206004820152601a60248201527f30204953204e4f54204120434f525245435420414444524553530000000000006044820152606401610dde565b60008a116119c15760405162461bcd60e51b815260206004820152601760248201527f30204953204e4f542056414c4944205155414e544949590000000000000000006044820152606401610dde565b89600c546119cf91906145c6565b341015611a0f5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d15393d551d7d195539160921b6044820152606401610dde565b600e54600f54611a1f90426145e5565b10611a6c5760405162461bcd60e51b815260206004820152601460248201527f5649502053414c4520504552494f44204f5645520000000000000000000000006044820152606401610dde565b601054611a7761316f565b1115611ab05760405162461bcd60e51b815260206004820152600860248201526714d3d31117d3d55560c21b6044820152606401610dde565b611ab98a613360565b505060016009555050505050505050565b60608160008167ffffffffffffffff811115611ae857611ae8613f09565b604051908082528060200260200182016040528015611b3a57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181611b065790505b50905060005b828114611b8d57611b68868683818110611b5c57611b5c6145fc565b90506020020135612865565b828281518110611b7a57611b7a6145fc565b6020908102919091010152600101611b40565b50949350505050565b6000610bde82612f5e565b611ba96130f1565b60026009541415611bea5760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b600260095533611c3c5760405162461bcd60e51b815260206004820152601a60248201527f30204953204e4f54204120434f525245435420414444524553530000000000006044820152606401610dde565b60008111611c8c5760405162461bcd60e51b815260206004820152601760248201527f30204953204e4f542056414c4944205155414e544949590000000000000000006044820152606401610dde565b80600c54611c9a91906145c6565b341015611cda5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d15393d551d7d195539160921b6044820152606401610dde565b600e54600f54611cea90426145e5565b11611d375760405162461bcd60e51b815260206004820152600f60248201527f5649502053414c4520504552494f4400000000000000000000000000000000006044820152606401610dde565b601054611d4261316f565b1115611d7b5760405162461bcd60e51b815260206004820152600860248201526714d3d31117d3d55560c21b6044820152606401610dde565b61172981613360565b600a8054611d9190614575565b80601f0160208091040260200160405190810160405280929190818152602001828054611dbd90614575565b8015611e0a5780601f10611ddf57610100808354040283529160200191611e0a565b820191906000526020600020905b815481529060010190602001808311611ded57829003601f168201915b505050505081565b60006001600160a01b038216611e54576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b611e82612f04565b611e8c60006133ab565b565b600b8054611d9190614575565b611ea36130f1565b60026009541415611ee45760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b6002600955611ef282612ecf565b611f0f57604051630a14c4b560e41b815260040160405180910390fd5b8060ff16600d54611f2091906145c6565b341015611f605760405162461bcd60e51b815260206004820152600e60248201526d1393d517d15393d551d7d195539160921b6044820152606401610dde565b60008160ff1611611fb35760405162461bcd60e51b815260206004820152601260248201527f4c4556454c5f43414e5f4e4f545f42455f3000000000000000000000000000006044820152606401610dde565b60115460008381526014602052604090205460ff610100909204821691611fdd9190841690614612565b111561202b5760405162461bcd60e51b815260206004820152601660248201527f4d4158494d554d5f4c4556454c5f4558434545444544000000000000000000006044820152606401610dde565b6000828152601460205260408120805460ff8416929061204c908490614612565b909155505060016009555050565b612062612f04565b600260095414156120a35760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b60026009556116a961340a565b606060008060006120c085611e12565b905060008167ffffffffffffffff8111156120dd576120dd613f09565b604051908082528060200260200182016040528015612106578160200160208202803683370190505b5060408051608081018252600080825260208201819052918101829052606081019190915290915060015b8386146121af576121418161344d565b9150816040015115612152576121a7565b81516001600160a01b03161561216757815194505b876001600160a01b0316856001600160a01b031614156121a7578083878060010198508151811061219a5761219a6145fc565b6020026020010181815250505b600101612131565b50909695505050505050565b6121c3612f04565b6121d481662386f26fc100006145c6565b600c5550565b606060038054610bf390614575565b6060818310612224576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061223060005490565b9050600185101561224057600194505b8084111561224c578093505b600061225787611e12565b9050848610156122765785850381811015612270578091505b5061227a565b5060005b60008167ffffffffffffffff81111561229557612295613f09565b6040519080825280602002602001820160405280156122be578160200160208202803683370190505b509050816122d157935061238792505050565b60006122dc88612865565b9050600081604001516122ed575080515b885b8881141580156122ff5750848714155b1561237b5761230d8161344d565b925082604001511561231e57612373565b82516001600160a01b03161561233357825191505b8a6001600160a01b0316826001600160a01b031614156123735780848880600101995081518110612366576123666145fc565b6020026020010181815250505b6001016122ef565b50505092835250909150505b9392505050565b6001600160a01b0382163314156123d1576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b612445612f04565b600260095414156124865760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b600f556001600955565b6124986130f1565b600260095414156124d95760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b6002600955601154859085906201000090046001600160a01b031660006125518361130a866040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b9050816001600160a01b0316816001600160a01b0316146125a85760405162461bcd60e51b8152602060048201526011602482015270494e56414c49445f5349474e415455524560781b6044820152606401610dde565b6040516bffffffffffffffffffffffff193360601b166020820152603481018890527fff0000000000000000000000000000000000000000000000000000000000000060f887901b166054820152899088908790839060550160405160208183030381529060405280519060200120146126565760405162461bcd60e51b815260206004820152600f60248201526e494e56414c49445f4d45535341474560881b6044820152606401610dde565b61265f89612ecf565b61267c57604051630a14c4b560e41b815260040160405180910390fd5b61268589611b96565b6001600160a01b0316336001600160a01b0316146126e55760405162461bcd60e51b815260206004820152600960248201527f4e4f54204f574e455200000000000000000000000000000000000000000000006044820152606401610dde565b60115460ff610100909104811690891611156127435760405162461bcd60e51b815260206004820152601660248201527f4d4158494d554d5f4c4556454c5f4558434545444544000000000000000000006044820152606401610dde565b61274e60018961462a565b60008a81526014602052604090205460ff91909116146127d65760405162461bcd60e51b815260206004820152602660248201527f43414e5f4f4e4c595f555044524144455f4f4e455f4c4556454c5f41545f544860448201527f455f54494d4500000000000000000000000000000000000000000000000000006064820152608401610dde565b5050506000958652505060146020525050604090912060ff90911690555050600160095550565b612805612f04565b6011805460ff191660ff92909216919091179055565b612826848484610e2c565b6001600160a01b0383163b1561285f57612842848484846134cc565b61285f576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60408051608081018252600080825260208201819052918101829052606081019190915260408051608081018252600080825260208201819052918101829052606081019190915260018310806128be57506000548310155b156128c95792915050565b6128d28361344d565b90508060400151156128e45792915050565b612387836135c3565b60606128f882612ecf565b61291557604051630a14c4b560e41b815260040160405180910390fd5b601154600160b01b900460ff166129b857600b805461293390614575565b80601f016020809104026020016040519081016040528092919081815260200182805461295f90614575565b80156129ac5780601f10612981576101008083540402835291602001916129ac565b820191906000526020600020905b81548152906001019060200180831161298f57829003601f168201915b50505050509050919050565b600082815260126020526040812080546129d190614575565b80601f01602080910402602001604051908101604052809291908181526020018280546129fd90614575565b8015612a4a5780601f10612a1f57610100808354040283529160200191612a4a565b820191906000526020600020905b815481529060010190602001808311612a2d57829003601f168201915b50505050509050600081511115612a835780604051602001612a6c919061464d565b604051602081830303815290604052915050919050565b6000612a8d61363b565b9050600084118015612aa0575061047f84105b15612b04578051612ac05760405180602001604052806000815250612afc565b6011548190612ad19060ff1661364a565b612ada8661364a565b604051602001612aec93929190614669565b6040516020818303038152906040525b949350505050565b8051612b1f5760405180602001604052806000815250612afc565b6000848152601460205260409020548190612ad19061364a565b612b41612f04565b612b5281662386f26fc100006145c6565b600d5550565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c16610bde565b612b8b612f04565b60026009541415612bcc5760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b6002600955600054612bde8383613699565b60005b612bec6001846145e5565b811015612c2657600160146000612c038486614612565b815260208101919091526040016000205580612c1e8161472a565b915050612be1565b505060016009555050565b612c39612f04565b60026009541415612c7a5760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b60118054911515600160b01b027fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff9092169190911790556001600955565b612cc0612f04565b60026009541415612d015760405162461bcd60e51b815260206004820152601f60248201526000805160206147b58339815191526044820152606401610dde565b60026009558051825114612d7d5760405162461bcd60e51b815260206004820152602860248201527f5448452032204152524159532053484f554c442048415645205448452053414d60448201527f45204c454e4754480000000000000000000000000000000000000000000000006064820152608401610dde565b601054612d8861316f565b1115612dc15760405162461bcd60e51b815260206004820152600860248201526714d3d31117d3d55560c21b6044820152606401610dde565b60005b82518110156110c757612e09838281518110612de257612de26145fc565b6020026020010151838381518110612dfc57612dfc6145fc565b6020026020010151613699565b80612e138161472a565b915050612dc4565b612e23612f04565b6001600160a01b038116612e9f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610dde565b612ea8816133ab565b50565b612eb3612f04565b6011805460ff9092166101000261ff0019909216919091179055565b600081600111158015612ee3575060005482105b8015610bde575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314611e8c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b60008180600111612fae57600054811015612fae57600081815260046020526040902054600160e01b8116612fac575b80612387575060001901600081815260046020526040902054612f8e565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612fe982612ecf565b1561285f5760408051608081018252600080825260208201819052918101829052606081019190915261301b836135c3565b905080604001511561306f5760405162461bcd60e51b815260206004820152601560248201527f5448495320544f4b454e20574153204255524e454400000000000000000000006044820152606401610dde565b60115460008481526014602052604090205460ff909116148061309e575060008311801561309e575061047f83105b6130ea5760405162461bcd60e51b815260206004820152601d60248201527f4e45454420544f204c4556454c555020544f204c49455554454e414e540000006044820152606401610dde565b5050505050565b600854600160a01b900460ff1615611e8c5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610dde565b600080600061315a85856137c1565b9150915061316781613831565b509392505050565b600061317a60015490565b6000546000190103905090565b61164f8282604051806020016040528060008152506139ec565b6131a9613a52565b6008805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600061320183612f5e565b90508060008061321f86600090815260066020526040902080549091565b91509150841561325f57613234818433610e9b565b61325f576132428333610a59565b61325f57604051632ce44b5f60e11b815260040160405180910390fd5b61326d836000886001612fe0565b801561327857600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b177c030000000000000000000000000000000000000000000000000000000017600087815260046020526040902055600160e11b841661331857600186016000818152600460205260409020546133165760005481146133165760008181526004602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b60005461336d3383613187565b60005b828110156116cb576001601460006133888486614612565b8152602081019190915260400160002055806133a38161472a565b915050613370565b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6134126130f1565b6008805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586131d93390565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260046020526040902054610bde90604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290613501903390899088908890600401614745565b602060405180830381600087803b15801561351b57600080fd5b505af192505050801561354b575060408051601f3d908101601f1916820190925261354891810190614781565b60015b6135a6573d808015613579576040519150601f19603f3d011682016040523d82523d6000602084013e61357e565b606091505b50805161359e576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080810182526000808252602082018190529181018290526060810191909152610bde6135f383612f5e565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6060600a8054610bf390614575565b604080516080810191829052607f0190826030600a8206018353600a90045b801561368757600183039250600a81066030018353600a9004613669565b50819003601f19909101908152919050565b6001600160a01b0382166136ef5760405162461bcd60e51b815260206004820152601860248201527f30204953204e4f5420412056414c4944204144445245535300000000000000006044820152606401610dde565b6000811161373f5760405162461bcd60e51b815260206004820152601760248201527f30204953204e4f542056414c4944205155414e544949590000000000000000006044820152606401610dde565b60005461374c8383613187565b60005b8281101561285f576001601360006137678486614612565b815260200190815260200160002060006101000a81548160ff021916908315150217905550600160146000838561379e9190614612565b8152602081019190915260400160002055806137b98161472a565b91505061374f565b6000808251604114156137f85760208301516040840151606085015160001a6137ec87828585613aab565b9450945050505061382a565b8251604014156138225760208301516040840151613817868383613b98565b93509350505061382a565b506000905060025b9250929050565b60008160048111156138455761384561479e565b141561384e5750565b60018160048111156138625761386261479e565b14156138b05760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610dde565b60028160048111156138c4576138c461479e565b14156139125760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610dde565b60038160048111156139265761392661479e565b141561397f5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610dde565b60048160048111156139935761399361479e565b1415612ea85760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610dde565b6139f68383613bea565b6001600160a01b0383163b156116cb576000548281035b613a2060008683806001019450866134cc565b613a3d576040516368d2bf6b60e11b815260040160405180910390fd5b818110613a0d5781600054146130ea57600080fd5b600854600160a01b900460ff16611e8c5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610dde565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115613ae25750600090506003613b8f565b8460ff16601b14158015613afa57508460ff16601c14155b15613b0b5750600090506004613b8f565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613b5f573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116613b8857600060019250925050613b8f565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831681613bce60ff86901c601b614612565b9050613bdc87828885613aab565b935093505050935093915050565b60005481613c24576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613c316000848385612fe0565b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114613ce057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101613ca8565b5081613d18576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005550505050565b828054613d2d90614575565b90600052602060002090601f016020900481019282613d4f5760008555613d95565b82601f10613d6857805160ff1916838001178555613d95565b82800160010185558215613d95579182015b82811115613d95578251825591602001919060010190613d7a565b50613da1929150613da5565b5090565b5b80821115613da15760008155600101613da6565b6001600160e01b031981168114612ea857600080fd5b600060208284031215613de257600080fd5b813561238781613dba565b60005b83811015613e08578181015183820152602001613df0565b8381111561285f5750506000910152565b60008151808452613e31816020860160208601613ded565b601f01601f19169290920160200192915050565b6020815260006123876020830184613e19565b600060208284031215613e6a57600080fd5b5035919050565b80356001600160a01b038116811461178757600080fd5b60008060408385031215613e9b57600080fd5b613ea483613e71565b946020939093013593505050565b600060208284031215613ec457600080fd5b61238782613e71565b600080600060608486031215613ee257600080fd5b613eeb84613e71565b9250613ef960208501613e71565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715613f4857613f48613f09565b604052919050565b600082601f830112613f6157600080fd5b813567ffffffffffffffff811115613f7b57613f7b613f09565b613f8e601f8201601f1916602001613f1f565b818152846020838601011115613fa357600080fd5b816020850160208301376000918101602001919091529392505050565b60008060408385031215613fd357600080fd5b82359150602083013567ffffffffffffffff811115613ff157600080fd5b613ffd85828601613f50565b9150509250929050565b803560ff8116811461178757600080fd5b6000806040838503121561402b57600080fd5b8235915061403b60208401614007565b90509250929050565b60008060006060848603121561405957600080fd5b83359250602084013567ffffffffffffffff81111561407757600080fd5b61408386828701613f50565b925050604084013590509250925092565b8035801515811461178757600080fd5b600080604083850312156140b757600080fd5b6140c083613e71565b915061403b60208401614094565b6000602082840312156140e057600080fd5b813567ffffffffffffffff8111156140f757600080fd5b612afc84828501613f50565b6000806000806080858703121561411957600080fd5b8435935060208501359250604085013567ffffffffffffffff81111561413e57600080fd5b61414a87828801613f50565b949793965093946060013593505050565b6000806020838503121561416e57600080fd5b823567ffffffffffffffff8082111561418657600080fd5b818501915085601f83011261419a57600080fd5b8135818111156141a957600080fd5b8660208260051b85010111156141be57600080fd5b60209290920196919550909350505050565b6020808252825182820181905260009190848201906040850190845b818110156121af5761423a8385516001600160a01b03815116825267ffffffffffffffff602082015116602083015260408101511515604083015262ffffff60608201511660608301525050565b92840192608092909201916001016141ec565b6020808252825182820181905260009190848201906040850190845b818110156121af57835183529284019291840191600101614269565b60008060006060848603121561429a57600080fd5b6142a384613e71565b95602085013595506040909401359392505050565b600080600080600060a086880312156142d057600080fd5b85359450602086013567ffffffffffffffff8111156142ee57600080fd5b6142fa88828901613f50565b945050604086013592506060860135915061431760808701614007565b90509295509295909350565b60006020828403121561433557600080fd5b61238782614007565b6000806000806080858703121561435457600080fd5b61435d85613e71565b935061436b60208601613e71565b925060408501359150606085013567ffffffffffffffff81111561438e57600080fd5b61439a87828801613f50565b91505092959194509250565b81516001600160a01b0316815260208083015167ffffffffffffffff169082015260408083015115159082015260608083015162ffffff169082015260808101610bde565b6000602082840312156143fd57600080fd5b61238782614094565b6000806040838503121561441957600080fd5b61442283613e71565b915061403b60208401613e71565b600067ffffffffffffffff82111561444a5761444a613f09565b5060051b60200190565b600082601f83011261446557600080fd5b8135602061447a61447583614430565b613f1f565b82815260059290921b8401810191818101908684111561449957600080fd5b8286015b848110156144b4578035835291830191830161449d565b509695505050505050565b600080604083850312156144d257600080fd5b823567ffffffffffffffff808211156144ea57600080fd5b818501915085601f8301126144fe57600080fd5b8135602061450e61447583614430565b82815260059290921b8401810191818101908984111561452d57600080fd5b948201945b838610156145525761454386613e71565b82529482019490820190614532565b9650508601359250508082111561456857600080fd5b50613ffd85828601614454565b600181811c9082168061458957607f821691505b602082108114156145aa57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156145e0576145e06145b0565b500290565b6000828210156145f7576145f76145b0565b500390565b634e487b7160e01b600052603260045260246000fd5b60008219821115614625576146256145b0565b500190565b600060ff821660ff841680821015614644576146446145b0565b90039392505050565b6000825161465f818460208701613ded565b9190910192915050565b6000845161467b818460208901613ded565b7f6c6576656c00000000000000000000000000000000000000000000000000000090830190815284516146b5816005840160208901613ded565b7f2f000000000000000000000000000000000000000000000000000000000000006005929091019182015283516146f3816006840160208801613ded565b7f2e6a736f6e00000000000000000000000000000000000000000000000000000060069290910191820152600b0195945050505050565b600060001982141561473e5761473e6145b0565b5060010190565b60006001600160a01b038087168352808616602084015250836040830152608060608301526147776080830184613e19565b9695505050505050565b60006020828403121561479357600080fd5b815161238781613dba565b634e487b7160e01b600052602160045260246000fdfe5265656e7472616e637947756172643a207265656e7472616e742063616c6c00a2646970667358221220f31ff082e8bf158b7cdce089253b207cddf2de3c0fc1435f1b34e22360e08a9464736f6c63430008090033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a9ba1a9468f329ecfefea5b298c0ee42f99285d9000000000000000000000000000000000000000000000000000000000000001c417374726f6d757374205265637275697420436f6c6c656374696f6e00000000000000000000000000000000000000000000000000000000000000000000000341524300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d616957556f393463514b6b56677662655531666959584e516248555561696170566a665a54535768685442412f00000000000000000000000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f697066732e696f2f697066732f516d534d7243465072345569423943467655513268466a6b39753455424a536e5139397a394e63634263447232782f6e6f72657665616c2e706e6700000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): Astromust Recruit Collection
Arg [1] : symbol_ (string): ARC
Arg [2] : baseUri_ (string): ipfs://QmaiWUo94cQKkVgvbeU1fiYXNQbHUUaiapVjfZTSWhhTBA/
Arg [3] : notRevealedUri_ (string): https://ipfs.io/ipfs/QmSMrCFPr4UiB9CFvUQ2hFjk9u4UBJSnQ99z9NccBcDr2x/noreveal.png
Arg [4] : siger_ (address): 0xa9ba1A9468F329ecfeFeA5b298C0Ee42F99285d9

-----Encoded View---------------
16 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [4] : 000000000000000000000000a9ba1a9468f329ecfefea5b298c0ee42f99285d9
Arg [5] : 000000000000000000000000000000000000000000000000000000000000001c
Arg [6] : 417374726f6d757374205265637275697420436f6c6c656374696f6e00000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [8] : 4152430000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [10] : 697066733a2f2f516d616957556f393463514b6b56677662655531666959584e
Arg [11] : 516248555561696170566a665a54535768685442412f00000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000050
Arg [13] : 68747470733a2f2f697066732e696f2f697066732f516d534d72434650723455
Arg [14] : 69423943467655513268466a6b39753455424a536e5139397a394e6363426344
Arg [15] : 7232782f6e6f72657665616c2e706e6700000000000000000000000000000000


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.