ETH Price: $3,831.80 (+4.87%)

Token

 

Overview

Max Total Supply

0

Holders

971

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

0x32D1Cf009BF34F9E2BC53f86E8DceD57E10fbDEc
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:
AnimeMetaverseTicket

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : AnimeMetaverseTicket.sol
//SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.8.15;

/// @title Anime Metaverse Ticket Smart Contract
/// @author LiquidX
/// @notice This contract is used to mint free ticket and premium ticket

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./IAnimeMetaverseTicket.sol";
import "./AmvUtils.sol";

/// @notice Thrown when free ticket it's not able to be minted
error FreeTicketMintingNotActive();
/// @notice Thrown when invalid destination address specified (address(0) or address(this))
error InvalidAddress();
/// @notice Thrown when burning less than 1 ticket
error InvalidBurnAmount();
/// @notice Thrown when max supply is less than total supply
error InvalidMaxSupply();
/// @notice Thrown when current token ID is already used by other token
error InvalidTokenId();
/// @notice Thrown when minting ticket more than its limit
error MaximumLimitToMintTicketExceeded();
/// @notice Thrown when the address is not allowed/exist in the burner list
error NotAllowedToBurn();
/// @notice Thrown when premium ticket it's not able to be minted
error PremiumTicketMintingNotActive();
/// @notice Thrown when inputting 0 as value
error ValueCanNotBeZero();
/// @notice Thrown when the length of array does not match with other array
error InvalidArrayLength();
/// @notice Thrown when an address is already whitelisted
error AlreadyWhiteListed(address wlAddress);
/// @notice Thrown when an address is not whitelisted
error NotWhiteListed(address wlAddress);

contract AnimeMetaverseTicket is
    Ownable,
    ERC1155,
    AmvUtils,
    IAnimeMetaverseTicket
{
    /// @dev Address who can withdraw the balance
    address payable withdrawalWallet;

    uint256 constant FREE_TICKET_TOKEN_ID = 1;
    uint256 constant PREMIUM_TICKET_TOKEN_ID = 2;
    /// @notice Initial premium ticket price when the contract was deployed
    uint256 public constant DEFAULT_PREMIUM_TICKET_PRICE = 0.06 ether;

    /// @dev State that decides whether user can mint free ticket or not
    bool public freeTicketMintingActive = false;
    /// @dev State that decides whether user can mint premium ticket or not
    bool public premiumTicketMintingActive = false;

    /// @notice Maximum free ticket supply
    /// @dev The maximum limit should not be less than total supply
    uint256 public freeTicketMaxSupply = 16000;
    /// @notice Maximum premium ticket supply
    /// @dev The maximum limit should not be less than total supply
    uint256 public premiumTicketMaxSupply = 20000;

    /// @notice Total free ticket that has been minted
    /// @dev The number will increase everytime there is a mint transaction
    uint256 public freeTicketTotalSupply = 0;
    /// @notice Total premium ticket that has been minted
    /// @dev The number will increase everytime there is a mint transaction
    uint256 public premiumTicketTotalSupply = 0;

    /// @notice Maximum limit for minting premium ticket in one transaction
    uint256 public maxPremiumTicketMintLimit = 100;

    /// @notice Current premium ticket price
    /// @dev This variable value can change since it's
    ///      storing the default price only for the first time
    uint256 public premiumTicketPrice = DEFAULT_PREMIUM_TICKET_PRICE;

    /// @notice Storing base URL for ticket metadata
    string public baseURI = "";

    /// @notice Store detail information related to whitelisted address
    /// @dev Whitelisted user are those who can mint free ticket
    /// @param maxAllowedToMint maximum free ticket user can mint
    /// @param alreadyMinted amount of free ticket that is already minted by user
    struct WhiteListedUser {
        uint256 maxAllowedToMint;
        uint256 alreadyMinted;
    }

    /// @notice List of whitelisted address and their eligible free ticket amount
    /// @dev Every address will contain information in the WhiteListedUser struct
    mapping(address => WhiteListedUser) public whiteListedUsersInfo;
    /// @notice List of address who's allowed to burn the ticket
    /// @dev The burner address list can only be set by the contract owner
    ///      and the value will be boolean. 'true' means allowed, otherwise
    ///      it's not.
    mapping(address => bool) public burnerList;

    /// @notice Check whether the address is a wallet address
    /// @dev Check if address is not 0x0 or contract address
    /// @param _address Any valid ethereum address
    modifier validAddress(address _address) {
        if (_address == address(0) || _address == address(this)) {
            revert InvalidAddress();
        }
        _;
    }

    /// @notice Check whether current token ID is either free ticket or premium ticket ID
    /// @param _tokenId Any unsigned integer number
    modifier validTokenId(uint256 _tokenId) {
        if (
            _tokenId != FREE_TICKET_TOKEN_ID &&
            _tokenId != PREMIUM_TICKET_TOKEN_ID
        ) {
            revert InvalidTokenId();
        }
        _;
    }

    /// @notice Check whether the length of 2 lists are same.
    /// @dev Check whether the length of 2 arrays of unsigned integer are same.
    /// @param _length1 First array
    /// @param _length2 Second array
    modifier validInputArrayLength(uint256 _length1, uint256 _length2) {
        if (_length1 != _length2) {
            revert InvalidArrayLength();
        }
        _;
    }

    /// @notice Check whether the input is zero
    /// @param amount Any unsigned integer number
    modifier NotZero(uint256 amount) {
        if (amount == 0) {
            revert ValueCanNotBeZero();
        }
        _;
    }

    /// @notice Whether there is a mint transaction for free ticket
    /// @dev This event can also be used to audit the total supply of free ticket
    /// @param _receiver Address who mint the ticket
    /// @param _mintAmount How many ticket is minted in the transaction
    /// @param _tokenId The ticket token ID
    event MintFreeTicket(
        address _receiver,
        uint256 _mintAmount,
        uint256 _tokenId
    );
    /// @notice Whether there is a mint transaction for premium ticket
    /// @dev This event can also be used to audit the total supply of premium ticket
    /// @param _receiver Address who mint the ticket
    /// @param _mintAmount How many ticket is minted in the transaction
    /// @param _tokenId The ticket token ID
    event MintPremiumTicket(
        address _receiver,
        uint256 _mintAmount,
        uint256 _tokenId
    );
    /// @notice Emit whenever a ticket is burned
    /// @dev This event can also be used to audit the total of burned ticket
    /// @param _ticketOwner Owner of the ticket
    /// @param _burnAmount How many ticket is burned
    /// @param _tokenId The ticket token ID
    event BurnTicket(
        address _ticketOwner,
        uint256 _burnAmount,
        uint256 _tokenId
    );

    /// @notice Set initial address who can withdraw the balance in this contract
    /// @dev The ERC1155 function is derived from Open Zeppelin ERC1155 library
    constructor() ERC1155("") {
        withdrawalWallet = payable(msg.sender);
    }

    /// @notice Add address to whitelist and set their free ticket quota
    /// @param _accounts list of address that will be added to whitelist
    /// @param _ticketAmounts amount of free ticket each user can mint
    function addToWhitelistBatch(
        address[] memory _accounts,
        uint256[] memory _ticketAmounts
    )
        public
        onlyOwner
        validInputArrayLength(_accounts.length, _ticketAmounts.length)
    {
        for (uint256 i = 0; i < _accounts.length; i++) {
            if (_accounts[i] == address(0) || _accounts[i] == address(this)) {
                revert InvalidAddress();
            }
            if (whiteListedUsersInfo[_accounts[i]].maxAllowedToMint != 0) {
                revert AlreadyWhiteListed(_accounts[i]);
            }
            if (_ticketAmounts[i] < 1) {
                revert ValueCanNotBeZero();
            }
            whiteListedUsersInfo[_accounts[i]] = WhiteListedUser({
                maxAllowedToMint: _ticketAmounts[i],
                alreadyMinted: 0
            });
        }
    }
    
    /// @notice updates whitelistedusers for free minting
    /// @dev This function can be used to override maximum quota of
    ///      the free ticket that user can mint
    /// @param _accounts list of address that will be updated
    /// @param _ticketAmounts amount of free ticket each user can mint
    function updateWhitelistBatch(
        address[] memory _accounts,
        uint256[] memory _ticketAmounts
    )
        public
        onlyOwner
        validInputArrayLength(_accounts.length, _ticketAmounts.length)
    {
        for (uint256 i = 0; i < _accounts.length; i++) {
            if (_accounts[i] == address(0) || _accounts[i] == address(this)) {
                revert InvalidAddress();
            }
            if (whiteListedUsersInfo[_accounts[i]].maxAllowedToMint == 0) {
                revert NotWhiteListed(_accounts[i]);
            }
            require(
                _ticketAmounts[i] >=
                    whiteListedUsersInfo[_accounts[i]].alreadyMinted,
                "max allowed to mint ticket needs to be greate or equal than already minted ticket for this address."
            );
            whiteListedUsersInfo[_accounts[i]]
                .maxAllowedToMint = _ticketAmounts[i];
        }
    }

    /// @notice Mint free ticket that only available for whitelisted address
    /// @dev Use _mint method from ERC1155 function which derived from Open Zeppelin ERC1155 library. It will increase alreadyMinted value based on amount of minted ticket
    /// @param _mintAmount How many free ticket to mint
    function mintFreeTicket(uint256 _mintAmount) external NotZero(_mintAmount) {
        if (!freeTicketMintingActive) {
            revert FreeTicketMintingNotActive();
        }
        require(
            freeTicketTotalSupply + _mintAmount <= freeTicketMaxSupply,
            "Total minted Ticket count has reached the mint limit."
        );

        require(
            IsMintRequestValid(msg.sender, _mintAmount),
            "you are not whitelisted or already exceeded maximum limit to mint Free Ticket."
        );
        freeTicketTotalSupply += _mintAmount;
        whiteListedUsersInfo[msg.sender].alreadyMinted += _mintAmount;
        _mint(msg.sender, FREE_TICKET_TOKEN_ID, _mintAmount, "");
        emit MintFreeTicket(msg.sender, _mintAmount, FREE_TICKET_TOKEN_ID);
    }

    /// @notice Mint permium ticket that available for any address
    /// @dev Whitelisted address can also mint premium ticket and doesn't
    ///      increase the alreadyMinted value
    /// @param _mintAmount How many premium ticket to mint
    function mintPremiumTicket(uint256 _mintAmount)
        external
        payable
        NotZero(_mintAmount)
    {
        if (!premiumTicketMintingActive) {
            revert PremiumTicketMintingNotActive();
        }
        if (_mintAmount > maxPremiumTicketMintLimit) {
            revert MaximumLimitToMintTicketExceeded();
        }
        require(
            msg.value == premiumTicketPrice * _mintAmount,
            "insufficient or excess ETH provided."
        );
        require(
            premiumTicketTotalSupply + _mintAmount <= premiumTicketMaxSupply,
            "Total minted Ticket count has reached the mint limit."
        );
        premiumTicketTotalSupply += _mintAmount;
        _mint(msg.sender, PREMIUM_TICKET_TOKEN_ID, _mintAmount, "");
        emit MintPremiumTicket(
            msg.sender,
            _mintAmount,
            PREMIUM_TICKET_TOKEN_ID
        );
    }

    /// @notice this is an owner function which airdrops permium tickets
    /// @param _addresses these will get airdropped premium tickets.
    /// @param _amounts number of premium tickets to be airdropped.
    function airDropPremiumTicket(
        address[] memory _addresses,
        uint256[] memory _amounts
    )
        external
        onlyOwner
        validInputArrayLength(_addresses.length, _amounts.length)
    {
        uint256 amount = 0;
        for (uint256 i = 0; i < _addresses.length; i++) {
            amount += _amounts[i];
        }
        require(
            premiumTicketTotalSupply + amount <= premiumTicketMaxSupply,
            "Total minted Ticket count has reached the mint limit."
        );
        premiumTicketTotalSupply += amount;
        for (uint256 i = 0; i < _addresses.length; i++) {
            _mint(_addresses[i], PREMIUM_TICKET_TOKEN_ID, _amounts[i], "");
        }
        
    }

    /// @notice Check whether the whitelisted address still eligible to
    ///         mint free ticket
    /// @dev It will calculate the alreadyMinted value + the _mintAmount
    ///      and the value should be less than equal to maxAllowedToMint
    /// @param _walletAddress Any valid wallet address
    /// @param _mintAmount How many free tickets to mint
    function IsMintRequestValid(address _walletAddress, uint256 _mintAmount)
        public
        view
        returns (bool)
    {
        if (
            whiteListedUsersInfo[_walletAddress].alreadyMinted + _mintAmount <=
            whiteListedUsersInfo[_walletAddress].maxAllowedToMint
        ) return true;
        else return false;
    }

    /// @notice Burn ticket
    /// @dev It will use _burn method from Open Zeppelin ERC1155 library
    /// @param tokenId Ticket token ID
    /// @param _account Address who burn the ticket
    /// @param _numberofTickets How many tickets to burn
    function burn(
        uint256 tokenId,
        address _account,
        uint256 _numberofTickets
    ) public validTokenId(tokenId) {
        if (!burnerList[msg.sender]) {
            revert NotAllowedToBurn();
        }
        if (_numberofTickets < 1) {
            revert InvalidBurnAmount();
        }
        _burn(_account, tokenId, _numberofTickets);
        emit BurnTicket(_account, _numberofTickets, tokenId);
    }

    /// @notice Update max supply for premium ticket
    /// @dev Max supply should not be less than the premium ticket total supply
    /// @param _newMaxSupply New maximum supply for premium ticket
    function updateMaxSupplyForPremiumTicket(uint256 _newMaxSupply)
        external
        onlyOwner
    {
        if (_newMaxSupply < premiumTicketTotalSupply) {
            revert InvalidMaxSupply();
        }
        premiumTicketMaxSupply = _newMaxSupply;
    }

    /// @notice Update max supply for free ticket
    /// @dev Max supply should not be less than the free ticket total supply
    /// @param _newMaxSupply New maximum supply for free ticket
    function updateMaxSupplyForFreeTicket(uint256 _newMaxSupply)
        external
        onlyOwner
    {
        if (_newMaxSupply < freeTicketTotalSupply) {
            revert InvalidMaxSupply();
        }
        freeTicketMaxSupply = _newMaxSupply;
    }

    /// @notice Set wallet address that can withdraw the balance
    /// @dev Only owner of the contract can execute this function.
    ///      The address should not be 0x0 or contract address
    /// @param _wallet Any valid address
    function setWithdrawWallet(address _wallet)
        external
        onlyOwner
        validAddress(_wallet)
    {
        withdrawalWallet = payable(_wallet);
    }

    /// @notice Set address that can burn ticket
    /// @dev Only owner of the contract can execute this function.
    ///      The address should not be 0x0 or contract address
    /// @param _burner The address that will be registered in burner list
    /// @param _flag Whether the address can burn the ticket or not
    function setBurnerAddress(address _burner, bool _flag)
        external
        onlyOwner
        validAddress(_burner)
    {
        burnerList[_burner] = _flag;
    }

    /// @notice Transfer balance on this contract to withdrawal address
    function withdrawETH() external onlyOwner {
        withdrawalWallet.transfer(address(this).balance);
    }

    /// @notice Update premium ticket price
    function updateMintPrice(uint256 _newPrice) external onlyOwner {
        premiumTicketPrice = _newPrice;
    }

    /// @notice Reset premium ticket price to default price
    /// @dev The default price is the value of DEFAULT_PREMIUM_TICKET_PRICE variable
    function resetMintPrice() external onlyOwner {
        premiumTicketPrice = DEFAULT_PREMIUM_TICKET_PRICE;
    }

    /// @notice Set base URL for metadata
    /// @param _newuri URL for metadata
    function setURI(string memory _newuri) public onlyOwner {
        baseURI = _newuri;
    }

    /// @notice Set maximum limit for minting premium ticket in one transaction
    /// @dev The limit should not be more than the difference of maximum
    ///      premium ticket supply and premium ticket total supply
    /// @param _maxLimit New maximum limit for minting premium ticket
    function updateMaxMintLimitForPremiumTicket(uint256 _maxLimit)
        external
        onlyOwner
        NotZero(_maxLimit)
    {
        if (_maxLimit > (premiumTicketMaxSupply - premiumTicketTotalSupply)) {
            revert();
        }
        maxPremiumTicketMintLimit = _maxLimit;
    }

    /// @notice Activate free ticket mint functionality
    /// @dev This will either prevent/allow minting transaction in this contract
    /// @param _flag Whether to enable or disable the minting functionality
    function ActivateFreeTicketMinting(bool _flag) external onlyOwner {
        freeTicketMintingActive = _flag;
    }

    /// @notice Activate premium ticket mint functionality
    /// @dev This will either prevent/allow minting transaction in this contract
    /// @param _flag Whether to enable or disable the minting functionality
    function ActivatePremiumTicketMinting(bool _flag) external onlyOwner {
        premiumTicketMintingActive = _flag;
    }

    /// @notice Append token ID to base URL
    /// @param _tokenId Ticket token ID
    function uri(uint256 _tokenId)
        public
        view
        override
        returns (string memory)
    {
        return
            bytes(baseURI).length > 0
                ? string(abi.encodePacked(baseURI, intToString(_tokenId)))
                : "";
    }
}

File 2 of 12 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: address zero is not a valid owner");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `ids` and `amounts` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

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 : IAnimeMetaverseTicket.sol
// SPDX-License-Identifier: Unlicense

pragma solidity ^0.8.15;

interface IAnimeMetaverseTicket {
    function burn(
        uint256 tokenId,
        address _account,
        uint256 _numberofTickets
    ) external;

    function mintFreeTicket(uint256 _mintAmount) external;

    function mintPremiumTicket(uint256 _mintAmount) external payable;
}

File 5 of 12 : AmvUtils.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.15;

contract AmvUtils {
    function intToString(uint256 value) internal pure returns (string memory) {
        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);
    }

    function singletonArray(uint256 element)
        internal
        pure
        returns (uint256[] memory)
    {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 6 of 12 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 7 of 12 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 8 of 12 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 9 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 10 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 11 of 12 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"wlAddress","type":"address"}],"name":"AlreadyWhiteListed","type":"error"},{"inputs":[],"name":"FreeTicketMintingNotActive","type":"error"},{"inputs":[],"name":"InvalidAddress","type":"error"},{"inputs":[],"name":"InvalidArrayLength","type":"error"},{"inputs":[],"name":"InvalidBurnAmount","type":"error"},{"inputs":[],"name":"InvalidMaxSupply","type":"error"},{"inputs":[],"name":"InvalidTokenId","type":"error"},{"inputs":[],"name":"MaximumLimitToMintTicketExceeded","type":"error"},{"inputs":[],"name":"NotAllowedToBurn","type":"error"},{"inputs":[{"internalType":"address","name":"wlAddress","type":"address"}],"name":"NotWhiteListed","type":"error"},{"inputs":[],"name":"PremiumTicketMintingNotActive","type":"error"},{"inputs":[],"name":"ValueCanNotBeZero","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_ticketOwner","type":"address"},{"indexed":false,"internalType":"uint256","name":"_burnAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"BurnTicket","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"MintFreeTicket","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"MintPremiumTicket","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"bool","name":"_flag","type":"bool"}],"name":"ActivateFreeTicketMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_flag","type":"bool"}],"name":"ActivatePremiumTicketMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"DEFAULT_PREMIUM_TICKET_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_walletAddress","type":"address"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"IsMintRequestValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_accounts","type":"address[]"},{"internalType":"uint256[]","name":"_ticketAmounts","type":"uint256[]"}],"name":"addToWhitelistBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"airDropPremiumTicket","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","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"},{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_numberofTickets","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"burnerList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeTicketMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeTicketMintingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeTicketTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPremiumTicketMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mintFreeTicket","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mintPremiumTicket","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"premiumTicketMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"premiumTicketMintingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"premiumTicketPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"premiumTicketTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resetMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","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":"address","name":"_burner","type":"address"},{"internalType":"bool","name":"_flag","type":"bool"}],"name":"setBurnerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"setWithdrawWallet","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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxLimit","type":"uint256"}],"name":"updateMaxMintLimitForPremiumTicket","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxSupply","type":"uint256"}],"name":"updateMaxSupplyForFreeTicket","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxSupply","type":"uint256"}],"name":"updateMaxSupplyForPremiumTicket","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"updateMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_accounts","type":"address[]"},{"internalType":"uint256[]","name":"_ticketAmounts","type":"uint256[]"}],"name":"updateWhitelistBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whiteListedUsersInfo","outputs":[{"internalType":"uint256","name":"maxAllowedToMint","type":"uint256"},{"internalType":"uint256","name":"alreadyMinted","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600460146101000a81548160ff0219169083151502179055506000600460156101000a81548160ff021916908315150217905550613e80600555614e2060065560006007556000600855606460095566d529ae9e860000600a5560405180602001604052806000815250600b908162000080919062000473565b503480156200008e57600080fd5b5060405180602001604052806000815250620000bf620000b36200011860201b60201c565b6200012060201b60201c565b620000d081620001e460201b60201c565b5033600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200055a565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8060039081620001f5919062000473565b5050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200027b57607f821691505b60208210810362000291576200029062000233565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620002fb7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620002bc565b620003078683620002bc565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620003546200034e62000348846200031f565b62000329565b6200031f565b9050919050565b6000819050919050565b620003708362000333565b620003886200037f826200035b565b848454620002c9565b825550505050565b600090565b6200039f62000390565b620003ac81848462000365565b505050565b5b81811015620003d457620003c860008262000395565b600181019050620003b2565b5050565b601f8211156200042357620003ed8162000297565b620003f884620002ac565b8101602085101562000408578190505b620004206200041785620002ac565b830182620003b1565b50505b505050565b600082821c905092915050565b6000620004486000198460080262000428565b1980831691505092915050565b600062000463838362000435565b9150826002028217905092915050565b6200047e82620001f9565b67ffffffffffffffff8111156200049a576200049962000204565b5b620004a6825462000262565b620004b3828285620003d8565b600060209050601f831160018114620004eb5760008415620004d6578287015190505b620004e2858262000455565b86555062000552565b601f198416620004fb8662000297565b60005b828110156200052557848901518255600182019150602085019450602081019050620004fe565b8683101562000545578489015162000541601f89168262000435565b8355505b6001600288020188555050505b505050505050565b615205806200056a6000396000f3fe6080604052600436106102445760003560e01c806371fe13b011610139578063bf0728a3116100b6578063e086e5ec1161007a578063e086e5ec14610868578063e985e9c51461087f578063f242432a146108bc578063f2fde38b146108e5578063f9c529471461090e578063fd680d801461093757610244565b8063bf0728a314610781578063c2034562146107ac578063c2aac541146107e9578063c745d81014610814578063d75142881461083f57610244565b8063a160c3e6116100fd578063a160c3e6146106b0578063a22cb465146106db578063abba8e6b14610704578063b2172c4e1461072f578063be2e78751461075857610244565b806371fe13b0146105df5780638da5cb5b1461060a5780639373f4321461063557806393abf26f1461065e5780639eea5f661461068757610244565b8063340eb7b0116101c7578063601288dc1161018b578063601288dc1461052057806361728b38146105495780636c0360eb14610572578063715018a61461059d5780637181c146146105b457610244565b8063340eb7b014610414578063368f4ed21461043d5780634108be11146104685780634781b342146104a65780634e1273f4146104e357610244565b80630efb8f7f1161020e5780630efb8f7f14610352578063118b6b5b1461037b578063184db435146103a457806327c9bbef146103cf5780632eb2c2d6146103eb57610244565b8062728e4614610249578062fdd58e1461027257806301ffc9a7146102af57806302fe5305146102ec5780630e89341c14610315575b600080fd5b34801561025557600080fd5b50610270600480360381019061026b919061345e565b61094e565b005b34801561027e57600080fd5b50610299600480360381019061029491906134e9565b610960565b6040516102a69190613538565b60405180910390f35b3480156102bb57600080fd5b506102d660048036038101906102d191906135ab565b610a29565b6040516102e391906135f3565b60405180910390f35b3480156102f857600080fd5b50610313600480360381019061030e9190613754565b610b0b565b005b34801561032157600080fd5b5061033c6004803603810190610337919061345e565b610b26565b6040516103499190613825565b60405180910390f35b34801561035e57600080fd5b506103796004803603810190610374919061345e565b610b86565b005b34801561038757600080fd5b506103a2600480360381019061039d9190613873565b610bd4565b005b3480156103b057600080fd5b506103b9610cd6565b6040516103c69190613538565b60405180910390f35b6103e960048036038101906103e4919061345e565b610cdc565b005b3480156103f757600080fd5b50610412600480360381019061040d9190613a1c565b610eaf565b005b34801561042057600080fd5b5061043b60048036038101906104369190613aeb565b610f50565b005b34801561044957600080fd5b50610452610f75565b60405161045f9190613538565b60405180910390f35b34801561047457600080fd5b5061048f600480360381019061048a9190613b18565b610f7b565b60405161049d929190613b45565b60405180910390f35b3480156104b257600080fd5b506104cd60048036038101906104c89190613b18565b610f9f565b6040516104da91906135f3565b60405180910390f35b3480156104ef57600080fd5b5061050a60048036038101906105059190613c31565b610fbf565b6040516105179190613d67565b60405180910390f35b34801561052c57600080fd5b5061054760048036038101906105429190613c31565b6110d8565b005b34801561055557600080fd5b50610570600480360381019061056b9190613c31565b6113c4565b005b34801561057e57600080fd5b506105876116ef565b6040516105949190613825565b60405180910390f35b3480156105a957600080fd5b506105b261177d565b005b3480156105c057600080fd5b506105c9611791565b6040516105d69190613538565b60405180910390f35b3480156105eb57600080fd5b506105f4611797565b60405161060191906135f3565b60405180910390f35b34801561061657600080fd5b5061061f6117aa565b60405161062c9190613d98565b60405180910390f35b34801561064157600080fd5b5061065c60048036038101906106579190613b18565b6117d3565b005b34801561066a57600080fd5b506106856004803603810190610680919061345e565b6118be565b005b34801561069357600080fd5b506106ae60048036038101906106a99190613db3565b611aa8565b005b3480156106bc57600080fd5b506106c5611bfc565b6040516106d29190613538565b60405180910390f35b3480156106e757600080fd5b5061070260048036038101906106fd9190613873565b611c02565b005b34801561071057600080fd5b50610719611c18565b6040516107269190613538565b60405180910390f35b34801561073b57600080fd5b5061075660048036038101906107519190613c31565b611c1e565b005b34801561076457600080fd5b5061077f600480360381019061077a919061345e565b611d8e565b005b34801561078d57600080fd5b50610796611ddc565b6040516107a39190613538565b60405180910390f35b3480156107b857600080fd5b506107d360048036038101906107ce91906134e9565b611de2565b6040516107e091906135f3565b60405180910390f35b3480156107f557600080fd5b506107fe611e8e565b60405161080b9190613538565b60405180910390f35b34801561082057600080fd5b50610829611e99565b60405161083691906135f3565b60405180910390f35b34801561084b57600080fd5b506108666004803603810190610861919061345e565b611eac565b005b34801561087457600080fd5b5061087d611f16565b005b34801561088b57600080fd5b506108a660048036038101906108a19190613e06565b611f89565b6040516108b391906135f3565b60405180910390f35b3480156108c857600080fd5b506108e360048036038101906108de9190613e46565b61201d565b005b3480156108f157600080fd5b5061090c60048036038101906109079190613b18565b6120be565b005b34801561091a57600080fd5b5061093560048036038101906109309190613aeb565b612141565b005b34801561094357600080fd5b5061094c612166565b005b61095661217e565b80600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c790613f4f565b60405180910390fd5b6001600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610af457507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b045750610b03826121fc565b5b9050919050565b610b1361217e565b80600b9081610b22919061417b565b5050565b60606000600b8054610b3790613f9e565b905011610b535760405180602001604052806000815250610b7f565b600b610b5e83612266565b604051602001610b6f92919061430c565b6040516020818303038152906040525b9050919050565b610b8e61217e565b600754811015610bca576040517f19bcc14c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060058190555050565b610bdc61217e565b81600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161480610c4357503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b15610c7a576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b60085481565b8060008103610d17576040517f5d54acad00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460159054906101000a900460ff16610d5d576040517f5119f98900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600954821115610d99576040517f94b2e64500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600a54610da7919061435f565b3414610de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddf9061442b565b60405180910390fd5b60065482600854610df9919061444b565b1115610e3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3190614513565b60405180910390fd5b8160086000828254610e4c919061444b565b92505081905550610e6f33600284604051806020016040528060008152506123c6565b7f57a301df81177afbc288bf7489747df0f7cd196de685ccad6d238d884291153133836002604051610ea393929190614533565b60405180910390a15050565b610eb7612577565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610efd5750610efc85610ef7612577565b611f89565b5b610f3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f33906145dc565b60405180910390fd5b610f49858585858561257f565b5050505050565b610f5861217e565b80600460146101000a81548160ff02191690831515021790555050565b60065481565b600c6020528060005260406000206000915090508060000154908060010154905082565b600d6020528060005260406000206000915054906101000a900460ff1681565b60608151835114611005576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffc9061466e565b60405180910390fd5b6000835167ffffffffffffffff81111561102257611021613629565b5b6040519080825280602002602001820160405280156110505781602001602082028036833780820191505090505b50905060005b84518110156110cd5761109d8582815181106110755761107461468e565b5b60200260200101518583815181106110905761108f61468e565b5b6020026020010151610960565b8282815181106110b0576110af61468e565b5b602002602001018181525050806110c6906146bd565b9050611056565b508091505092915050565b6110e061217e565b8151815180821461111d576040517f9d89020a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b84518110156113bd57600073ffffffffffffffffffffffffffffffffffffffff168582815181106111545761115361468e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1614806111c357503073ffffffffffffffffffffffffffffffffffffffff168582815181106111a3576111a261468e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16145b156111fa576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600c60008784815181106112135761121261468e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154146112b5578481815181106112715761127061468e565b5b60200260200101516040517ff94f3e2d0000000000000000000000000000000000000000000000000000000081526004016112ac9190613d98565b60405180910390fd5b60018482815181106112ca576112c961468e565b5b6020026020010151101561130a576040517f5d54acad00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60405180604001604052808583815181106113285761132761468e565b5b602002602001015181526020016000815250600c60008784815181106113515761135061468e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015590505080806113b5906146bd565b915050611120565b5050505050565b6113cc61217e565b81518151808214611409576040517f9d89020a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b84518110156116e857600073ffffffffffffffffffffffffffffffffffffffff168582815181106114405761143f61468e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1614806114af57503073ffffffffffffffffffffffffffffffffffffffff1685828151811061148f5761148e61468e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16145b156114e6576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600c60008784815181106114ff576114fe61468e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154036115a15784818151811061155d5761155c61468e565b5b60200260200101516040517fa11207920000000000000000000000000000000000000000000000000000000081526004016115989190613d98565b60405180910390fd5b600c60008683815181106115b8576115b761468e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101548482815181106116115761161061468e565b5b6020026020010151101561165a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611651906147c3565b60405180910390fd5b83818151811061166d5761166c61468e565b5b6020026020010151600c600087848151811061168c5761168b61468e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000018190555080806116e0906146bd565b91505061140c565b5050505050565b600b80546116fc90613f9e565b80601f016020809104026020016040519081016040528092919081815260200182805461172890613f9e565b80156117755780601f1061174a57610100808354040283529160200191611775565b820191906000526020600020905b81548152906001019060200180831161175857829003601f168201915b505050505081565b61178561217e565b61178f60006128a3565b565b60075481565b600460149054906101000a900460ff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117db61217e565b80600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16148061184257503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b15611879576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b80600081036118f9576040517f5d54acad00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460149054906101000a900460ff1661193f576040517fe1e4a77c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60055482600754611950919061444b565b1115611991576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198890614513565b60405180910390fd5b61199b3383611de2565b6119da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d19061487b565b60405180910390fd5b81600760008282546119ec919061444b565b9250508190555081600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001016000828254611a45919061444b565b92505081905550611a6833600184604051806020016040528060008152506123c6565b7ff91f7759e390a8db4d448ceaf333de72e974b3271c800078491129ceb35963cc33836001604051611a9c93929190614533565b60405180910390a15050565b8260018114158015611abb575060028114155b15611af2576040517f3f6cc76800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611b75576040517f225e797800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001821015611bb0576040517f2075cc1000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611bbb838584612967565b7f44e68ba968178cb8e9a7a1ac2b3cdfbbfc98d57f8ff2541a242cb86371d06936838386604051611bee93929190614533565b60405180910390a150505050565b60055481565b611c14611c0d612577565b8383612baf565b5050565b600a5481565b611c2661217e565b81518151808214611c63576040517f9d89020a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000805b8551811015611cab57848181518110611c8357611c8261468e565b5b602002602001015182611c96919061444b565b91508080611ca3906146bd565b915050611c67565b5060065481600854611cbd919061444b565b1115611cfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf590614513565b60405180910390fd5b8060086000828254611d10919061444b565b9250508190555060005b8551811015611d8657611d73868281518110611d3957611d3861468e565b5b60200260200101516002878481518110611d5657611d5561468e565b5b6020026020010151604051806020016040528060008152506123c6565b8080611d7e906146bd565b915050611d1a565b505050505050565b611d9661217e565b600854811015611dd2576040517f19bcc14c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060068190555050565b60095481565b6000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015482600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154611e75919061444b565b11611e835760019050611e88565b600090505b92915050565b66d529ae9e86000081565b600460159054906101000a900460ff1681565b611eb461217e565b8060008103611eef576040517f5d54acad00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600854600654611eff919061489b565b821115611f0b57600080fd5b816009819055505050565b611f1e61217e565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611f86573d6000803e3d6000fd5b50565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612025612577565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061206b575061206a85612065612577565b611f89565b5b6120aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a1906145dc565b60405180910390fd5b6120b78585858585612d1b565b5050505050565b6120c661217e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612135576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212c90614941565b60405180910390fd5b61213e816128a3565b50565b61214961217e565b80600460156101000a81548160ff02191690831515021790555050565b61216e61217e565b66d529ae9e860000600a81905550565b612186612577565b73ffffffffffffffffffffffffffffffffffffffff166121a46117aa565b73ffffffffffffffffffffffffffffffffffffffff16146121fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f1906149ad565b60405180910390fd5b565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6060600082036122ad576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506123c1565b600082905060005b600082146122df5780806122c8906146bd565b915050600a826122d891906149fc565b91506122b5565b60008167ffffffffffffffff8111156122fb576122fa613629565b5b6040519080825280601f01601f19166020018201604052801561232d5781602001600182028036833780820191505090505b5090505b600085146123ba57600182612346919061489b565b9150600a856123559190614a2d565b6030612361919061444b565b60f81b8183815181106123775761237661468e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123b391906149fc565b9450612331565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612435576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242c90614ad0565b60405180910390fd5b600061243f612577565b9050600061244c85612fb9565b9050600061245985612fb9565b905061246a83600089858589613033565b846001600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124ca919061444b565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612548929190613b45565b60405180910390a461255f8360008985858961303b565b61256e83600089898989613043565b50505050505050565b600033905090565b81518351146125c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ba90614b62565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612632576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262990614bf4565b60405180910390fd5b600061263c612577565b905061264c818787878787613033565b60005b845181101561280057600085828151811061266d5761266c61468e565b5b60200260200101519050600085838151811061268c5761268b61468e565b5b6020026020010151905060006001600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561272e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272590614c86565b60405180910390fd5b8181036001600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816001600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127e5919061444b565b92505081905550505050806127f9906146bd565b905061264f565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612877929190614ca6565b60405180910390a461288d81878787878761303b565b61289b81878787878761321a565b505050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036129d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129cd90614d4f565b60405180910390fd5b60006129e0612577565b905060006129ed84612fb9565b905060006129fa84612fb9565b9050612a1a83876000858560405180602001604052806000815250613033565b60006001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015612ab2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa990614de1565b60405180910390fd5b8481036001600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612b80929190613b45565b60405180910390a4612ba68488600086866040518060200160405280600081525061303b565b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612c1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1490614e73565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612d0e91906135f3565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612d8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8190614bf4565b60405180910390fd5b6000612d94612577565b90506000612da185612fb9565b90506000612dae85612fb9565b9050612dbe838989858589613033565b60006001600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4d90614c86565b60405180910390fd5b8581036001600089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550856001600089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f0d919061444b565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612f8a929190613b45565b60405180910390a4612fa0848a8a86868a61303b565b612fae848a8a8a8a8a613043565b505050505050505050565b60606000600167ffffffffffffffff811115612fd857612fd7613629565b5b6040519080825280602002602001820160405280156130065781602001602082028036833780820191505090505b509050828160008151811061301e5761301d61468e565b5b60200260200101818152505080915050919050565b505050505050565b505050505050565b6130628473ffffffffffffffffffffffffffffffffffffffff166133f1565b15613212578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016130a8959493929190614ee8565b6020604051808303816000875af19250505080156130e457506040513d601f19601f820116820180604052508101906130e19190614f57565b60015b613189576130f0614f91565b806308c379a00361314c5750613104614fb3565b8061310f575061314e565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131439190613825565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613180906150b5565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613210576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161320790615147565b60405180910390fd5b505b505050505050565b6132398473ffffffffffffffffffffffffffffffffffffffff166133f1565b156133e9578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161327f959493929190615167565b6020604051808303816000875af19250505080156132bb57506040513d601f19601f820116820180604052508101906132b89190614f57565b60015b613360576132c7614f91565b806308c379a00361332357506132db614fb3565b806132e65750613325565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161331a9190613825565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613357906150b5565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146133e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133de90615147565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61343b81613428565b811461344657600080fd5b50565b60008135905061345881613432565b92915050565b6000602082840312156134745761347361341e565b5b600061348284828501613449565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006134b68261348b565b9050919050565b6134c6816134ab565b81146134d157600080fd5b50565b6000813590506134e3816134bd565b92915050565b60008060408385031215613500576134ff61341e565b5b600061350e858286016134d4565b925050602061351f85828601613449565b9150509250929050565b61353281613428565b82525050565b600060208201905061354d6000830184613529565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61358881613553565b811461359357600080fd5b50565b6000813590506135a58161357f565b92915050565b6000602082840312156135c1576135c061341e565b5b60006135cf84828501613596565b91505092915050565b60008115159050919050565b6135ed816135d8565b82525050565b600060208201905061360860008301846135e4565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61366182613618565b810181811067ffffffffffffffff821117156136805761367f613629565b5b80604052505050565b6000613693613414565b905061369f8282613658565b919050565b600067ffffffffffffffff8211156136bf576136be613629565b5b6136c882613618565b9050602081019050919050565b82818337600083830152505050565b60006136f76136f2846136a4565b613689565b90508281526020810184848401111561371357613712613613565b5b61371e8482856136d5565b509392505050565b600082601f83011261373b5761373a61360e565b5b813561374b8482602086016136e4565b91505092915050565b60006020828403121561376a5761376961341e565b5b600082013567ffffffffffffffff81111561378857613787613423565b5b61379484828501613726565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156137d75780820151818401526020810190506137bc565b838111156137e6576000848401525b50505050565b60006137f78261379d565b61380181856137a8565b93506138118185602086016137b9565b61381a81613618565b840191505092915050565b6000602082019050818103600083015261383f81846137ec565b905092915050565b613850816135d8565b811461385b57600080fd5b50565b60008135905061386d81613847565b92915050565b6000806040838503121561388a5761388961341e565b5b6000613898858286016134d4565b92505060206138a98582860161385e565b9150509250929050565b600067ffffffffffffffff8211156138ce576138cd613629565b5b602082029050602081019050919050565b600080fd5b60006138f76138f2846138b3565b613689565b9050808382526020820190506020840283018581111561391a576139196138df565b5b835b81811015613943578061392f8882613449565b84526020840193505060208101905061391c565b5050509392505050565b600082601f8301126139625761396161360e565b5b81356139728482602086016138e4565b91505092915050565b600067ffffffffffffffff82111561399657613995613629565b5b61399f82613618565b9050602081019050919050565b60006139bf6139ba8461397b565b613689565b9050828152602081018484840111156139db576139da613613565b5b6139e68482856136d5565b509392505050565b600082601f830112613a0357613a0261360e565b5b8135613a138482602086016139ac565b91505092915050565b600080600080600060a08688031215613a3857613a3761341e565b5b6000613a46888289016134d4565b9550506020613a57888289016134d4565b945050604086013567ffffffffffffffff811115613a7857613a77613423565b5b613a848882890161394d565b935050606086013567ffffffffffffffff811115613aa557613aa4613423565b5b613ab18882890161394d565b925050608086013567ffffffffffffffff811115613ad257613ad1613423565b5b613ade888289016139ee565b9150509295509295909350565b600060208284031215613b0157613b0061341e565b5b6000613b0f8482850161385e565b91505092915050565b600060208284031215613b2e57613b2d61341e565b5b6000613b3c848285016134d4565b91505092915050565b6000604082019050613b5a6000830185613529565b613b676020830184613529565b9392505050565b600067ffffffffffffffff821115613b8957613b88613629565b5b602082029050602081019050919050565b6000613bad613ba884613b6e565b613689565b90508083825260208201905060208402830185811115613bd057613bcf6138df565b5b835b81811015613bf95780613be588826134d4565b845260208401935050602081019050613bd2565b5050509392505050565b600082601f830112613c1857613c1761360e565b5b8135613c28848260208601613b9a565b91505092915050565b60008060408385031215613c4857613c4761341e565b5b600083013567ffffffffffffffff811115613c6657613c65613423565b5b613c7285828601613c03565b925050602083013567ffffffffffffffff811115613c9357613c92613423565b5b613c9f8582860161394d565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613cde81613428565b82525050565b6000613cf08383613cd5565b60208301905092915050565b6000602082019050919050565b6000613d1482613ca9565b613d1e8185613cb4565b9350613d2983613cc5565b8060005b83811015613d5a578151613d418882613ce4565b9750613d4c83613cfc565b925050600181019050613d2d565b5085935050505092915050565b60006020820190508181036000830152613d818184613d09565b905092915050565b613d92816134ab565b82525050565b6000602082019050613dad6000830184613d89565b92915050565b600080600060608486031215613dcc57613dcb61341e565b5b6000613dda86828701613449565b9350506020613deb868287016134d4565b9250506040613dfc86828701613449565b9150509250925092565b60008060408385031215613e1d57613e1c61341e565b5b6000613e2b858286016134d4565b9250506020613e3c858286016134d4565b9150509250929050565b600080600080600060a08688031215613e6257613e6161341e565b5b6000613e70888289016134d4565b9550506020613e81888289016134d4565b9450506040613e9288828901613449565b9350506060613ea388828901613449565b925050608086013567ffffffffffffffff811115613ec457613ec3613423565b5b613ed0888289016139ee565b9150509295509295909350565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000613f39602a836137a8565b9150613f4482613edd565b604082019050919050565b60006020820190508181036000830152613f6881613f2c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613fb657607f821691505b602082108103613fc957613fc8613f6f565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026140317fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613ff4565b61403b8683613ff4565b95508019841693508086168417925050509392505050565b6000819050919050565b600061407861407361406e84613428565b614053565b613428565b9050919050565b6000819050919050565b6140928361405d565b6140a661409e8261407f565b848454614001565b825550505050565b600090565b6140bb6140ae565b6140c6818484614089565b505050565b5b818110156140ea576140df6000826140b3565b6001810190506140cc565b5050565b601f82111561412f5761410081613fcf565b61410984613fe4565b81016020851015614118578190505b61412c61412485613fe4565b8301826140cb565b50505b505050565b600082821c905092915050565b600061415260001984600802614134565b1980831691505092915050565b600061416b8383614141565b9150826002028217905092915050565b6141848261379d565b67ffffffffffffffff81111561419d5761419c613629565b5b6141a78254613f9e565b6141b28282856140ee565b600060209050601f8311600181146141e557600084156141d3578287015190505b6141dd858261415f565b865550614245565b601f1984166141f386613fcf565b60005b8281101561421b578489015182556001820191506020850194506020810190506141f6565b868310156142385784890151614234601f891682614141565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b6000815461426581613f9e565b61426f818661424d565b9450600182166000811461428a576001811461429f576142d2565b60ff19831686528115158202860193506142d2565b6142a885613fcf565b60005b838110156142ca578154818901526001820191506020810190506142ab565b838801955050505b50505092915050565b60006142e68261379d565b6142f0818561424d565b93506143008185602086016137b9565b80840191505092915050565b60006143188285614258565b915061432482846142db565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061436a82613428565b915061437583613428565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143ae576143ad614330565b5b828202905092915050565b7f696e73756666696369656e74206f7220657863657373204554482070726f766960008201527f6465642e00000000000000000000000000000000000000000000000000000000602082015250565b60006144156024836137a8565b9150614420826143b9565b604082019050919050565b6000602082019050818103600083015261444481614408565b9050919050565b600061445682613428565b915061446183613428565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561449657614495614330565b5b828201905092915050565b7f546f74616c206d696e746564205469636b657420636f756e742068617320726560008201527f616368656420746865206d696e74206c696d69742e0000000000000000000000602082015250565b60006144fd6035836137a8565b9150614508826144a1565b604082019050919050565b6000602082019050818103600083015261452c816144f0565b9050919050565b60006060820190506145486000830186613d89565b6145556020830185613529565b6145626040830184613529565b949350505050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b60006145c6602f836137a8565b91506145d18261456a565b604082019050919050565b600060208201905081810360008301526145f5816145b9565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006146586029836137a8565b9150614663826145fc565b604082019050919050565b600060208201905081810360008301526146878161464b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006146c882613428565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036146fa576146f9614330565b5b600182019050919050565b7f6d617820616c6c6f77656420746f206d696e74207469636b6574206e6565647360008201527f20746f20626520677265617465206f7220657175616c207468616e20616c726560208201527f616479206d696e746564207469636b657420666f72207468697320616464726560408201527f73732e0000000000000000000000000000000000000000000000000000000000606082015250565b60006147ad6063836137a8565b91506147b882614705565b608082019050919050565b600060208201905081810360008301526147dc816147a0565b9050919050565b7f796f7520617265206e6f742077686974656c6973746564206f7220616c72656160008201527f6479206578636565646564206d6178696d756d206c696d697420746f206d696e60208201527f742046726565205469636b65742e000000000000000000000000000000000000604082015250565b6000614865604e836137a8565b9150614870826147e3565b606082019050919050565b6000602082019050818103600083015261489481614858565b9050919050565b60006148a682613428565b91506148b183613428565b9250828210156148c4576148c3614330565b5b828203905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061492b6026836137a8565b9150614936826148cf565b604082019050919050565b6000602082019050818103600083015261495a8161491e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006149976020836137a8565b91506149a282614961565b602082019050919050565b600060208201905081810360008301526149c68161498a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614a0782613428565b9150614a1283613428565b925082614a2257614a216149cd565b5b828204905092915050565b6000614a3882613428565b9150614a4383613428565b925082614a5357614a526149cd565b5b828206905092915050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614aba6021836137a8565b9150614ac582614a5e565b604082019050919050565b60006020820190508181036000830152614ae981614aad565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614b4c6028836137a8565b9150614b5782614af0565b604082019050919050565b60006020820190508181036000830152614b7b81614b3f565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614bde6025836137a8565b9150614be982614b82565b604082019050919050565b60006020820190508181036000830152614c0d81614bd1565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614c70602a836137a8565b9150614c7b82614c14565b604082019050919050565b60006020820190508181036000830152614c9f81614c63565b9050919050565b60006040820190508181036000830152614cc08185613d09565b90508181036020830152614cd48184613d09565b90509392505050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614d396023836137a8565b9150614d4482614cdd565b604082019050919050565b60006020820190508181036000830152614d6881614d2c565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000614dcb6024836137a8565b9150614dd682614d6f565b604082019050919050565b60006020820190508181036000830152614dfa81614dbe565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614e5d6029836137a8565b9150614e6882614e01565b604082019050919050565b60006020820190508181036000830152614e8c81614e50565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614eba82614e93565b614ec48185614e9e565b9350614ed48185602086016137b9565b614edd81613618565b840191505092915050565b600060a082019050614efd6000830188613d89565b614f0a6020830187613d89565b614f176040830186613529565b614f246060830185613529565b8181036080830152614f368184614eaf565b90509695505050505050565b600081519050614f518161357f565b92915050565b600060208284031215614f6d57614f6c61341e565b5b6000614f7b84828501614f42565b91505092915050565b60008160e01c9050919050565b600060033d1115614fb05760046000803e614fad600051614f84565b90505b90565b600060443d1061504057614fc5613414565b60043d036004823e80513d602482011167ffffffffffffffff82111715614fed575050615040565b808201805167ffffffffffffffff81111561500b5750505050615040565b80602083010160043d038501811115615028575050505050615040565b61503782602001850186613658565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b600061509f6034836137a8565b91506150aa82615043565b604082019050919050565b600060208201905081810360008301526150ce81615092565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006151316028836137a8565b915061513c826150d5565b604082019050919050565b6000602082019050818103600083015261516081615124565b9050919050565b600060a08201905061517c6000830188613d89565b6151896020830187613d89565b818103604083015261519b8186613d09565b905081810360608301526151af8185613d09565b905081810360808301526151c38184614eaf565b9050969550505050505056fea26469706673582212204e989ba0a8142a2e0b4a57bcb8c8d6b3ef9748b3ca9526e5b95f17651614d09e64736f6c634300080f0033

Deployed Bytecode

0x6080604052600436106102445760003560e01c806371fe13b011610139578063bf0728a3116100b6578063e086e5ec1161007a578063e086e5ec14610868578063e985e9c51461087f578063f242432a146108bc578063f2fde38b146108e5578063f9c529471461090e578063fd680d801461093757610244565b8063bf0728a314610781578063c2034562146107ac578063c2aac541146107e9578063c745d81014610814578063d75142881461083f57610244565b8063a160c3e6116100fd578063a160c3e6146106b0578063a22cb465146106db578063abba8e6b14610704578063b2172c4e1461072f578063be2e78751461075857610244565b806371fe13b0146105df5780638da5cb5b1461060a5780639373f4321461063557806393abf26f1461065e5780639eea5f661461068757610244565b8063340eb7b0116101c7578063601288dc1161018b578063601288dc1461052057806361728b38146105495780636c0360eb14610572578063715018a61461059d5780637181c146146105b457610244565b8063340eb7b014610414578063368f4ed21461043d5780634108be11146104685780634781b342146104a65780634e1273f4146104e357610244565b80630efb8f7f1161020e5780630efb8f7f14610352578063118b6b5b1461037b578063184db435146103a457806327c9bbef146103cf5780632eb2c2d6146103eb57610244565b8062728e4614610249578062fdd58e1461027257806301ffc9a7146102af57806302fe5305146102ec5780630e89341c14610315575b600080fd5b34801561025557600080fd5b50610270600480360381019061026b919061345e565b61094e565b005b34801561027e57600080fd5b50610299600480360381019061029491906134e9565b610960565b6040516102a69190613538565b60405180910390f35b3480156102bb57600080fd5b506102d660048036038101906102d191906135ab565b610a29565b6040516102e391906135f3565b60405180910390f35b3480156102f857600080fd5b50610313600480360381019061030e9190613754565b610b0b565b005b34801561032157600080fd5b5061033c6004803603810190610337919061345e565b610b26565b6040516103499190613825565b60405180910390f35b34801561035e57600080fd5b506103796004803603810190610374919061345e565b610b86565b005b34801561038757600080fd5b506103a2600480360381019061039d9190613873565b610bd4565b005b3480156103b057600080fd5b506103b9610cd6565b6040516103c69190613538565b60405180910390f35b6103e960048036038101906103e4919061345e565b610cdc565b005b3480156103f757600080fd5b50610412600480360381019061040d9190613a1c565b610eaf565b005b34801561042057600080fd5b5061043b60048036038101906104369190613aeb565b610f50565b005b34801561044957600080fd5b50610452610f75565b60405161045f9190613538565b60405180910390f35b34801561047457600080fd5b5061048f600480360381019061048a9190613b18565b610f7b565b60405161049d929190613b45565b60405180910390f35b3480156104b257600080fd5b506104cd60048036038101906104c89190613b18565b610f9f565b6040516104da91906135f3565b60405180910390f35b3480156104ef57600080fd5b5061050a60048036038101906105059190613c31565b610fbf565b6040516105179190613d67565b60405180910390f35b34801561052c57600080fd5b5061054760048036038101906105429190613c31565b6110d8565b005b34801561055557600080fd5b50610570600480360381019061056b9190613c31565b6113c4565b005b34801561057e57600080fd5b506105876116ef565b6040516105949190613825565b60405180910390f35b3480156105a957600080fd5b506105b261177d565b005b3480156105c057600080fd5b506105c9611791565b6040516105d69190613538565b60405180910390f35b3480156105eb57600080fd5b506105f4611797565b60405161060191906135f3565b60405180910390f35b34801561061657600080fd5b5061061f6117aa565b60405161062c9190613d98565b60405180910390f35b34801561064157600080fd5b5061065c60048036038101906106579190613b18565b6117d3565b005b34801561066a57600080fd5b506106856004803603810190610680919061345e565b6118be565b005b34801561069357600080fd5b506106ae60048036038101906106a99190613db3565b611aa8565b005b3480156106bc57600080fd5b506106c5611bfc565b6040516106d29190613538565b60405180910390f35b3480156106e757600080fd5b5061070260048036038101906106fd9190613873565b611c02565b005b34801561071057600080fd5b50610719611c18565b6040516107269190613538565b60405180910390f35b34801561073b57600080fd5b5061075660048036038101906107519190613c31565b611c1e565b005b34801561076457600080fd5b5061077f600480360381019061077a919061345e565b611d8e565b005b34801561078d57600080fd5b50610796611ddc565b6040516107a39190613538565b60405180910390f35b3480156107b857600080fd5b506107d360048036038101906107ce91906134e9565b611de2565b6040516107e091906135f3565b60405180910390f35b3480156107f557600080fd5b506107fe611e8e565b60405161080b9190613538565b60405180910390f35b34801561082057600080fd5b50610829611e99565b60405161083691906135f3565b60405180910390f35b34801561084b57600080fd5b506108666004803603810190610861919061345e565b611eac565b005b34801561087457600080fd5b5061087d611f16565b005b34801561088b57600080fd5b506108a660048036038101906108a19190613e06565b611f89565b6040516108b391906135f3565b60405180910390f35b3480156108c857600080fd5b506108e360048036038101906108de9190613e46565b61201d565b005b3480156108f157600080fd5b5061090c60048036038101906109079190613b18565b6120be565b005b34801561091a57600080fd5b5061093560048036038101906109309190613aeb565b612141565b005b34801561094357600080fd5b5061094c612166565b005b61095661217e565b80600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c790613f4f565b60405180910390fd5b6001600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610af457507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b045750610b03826121fc565b5b9050919050565b610b1361217e565b80600b9081610b22919061417b565b5050565b60606000600b8054610b3790613f9e565b905011610b535760405180602001604052806000815250610b7f565b600b610b5e83612266565b604051602001610b6f92919061430c565b6040516020818303038152906040525b9050919050565b610b8e61217e565b600754811015610bca576040517f19bcc14c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060058190555050565b610bdc61217e565b81600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161480610c4357503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b15610c7a576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b60085481565b8060008103610d17576040517f5d54acad00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460159054906101000a900460ff16610d5d576040517f5119f98900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600954821115610d99576040517f94b2e64500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600a54610da7919061435f565b3414610de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddf9061442b565b60405180910390fd5b60065482600854610df9919061444b565b1115610e3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3190614513565b60405180910390fd5b8160086000828254610e4c919061444b565b92505081905550610e6f33600284604051806020016040528060008152506123c6565b7f57a301df81177afbc288bf7489747df0f7cd196de685ccad6d238d884291153133836002604051610ea393929190614533565b60405180910390a15050565b610eb7612577565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610efd5750610efc85610ef7612577565b611f89565b5b610f3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f33906145dc565b60405180910390fd5b610f49858585858561257f565b5050505050565b610f5861217e565b80600460146101000a81548160ff02191690831515021790555050565b60065481565b600c6020528060005260406000206000915090508060000154908060010154905082565b600d6020528060005260406000206000915054906101000a900460ff1681565b60608151835114611005576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffc9061466e565b60405180910390fd5b6000835167ffffffffffffffff81111561102257611021613629565b5b6040519080825280602002602001820160405280156110505781602001602082028036833780820191505090505b50905060005b84518110156110cd5761109d8582815181106110755761107461468e565b5b60200260200101518583815181106110905761108f61468e565b5b6020026020010151610960565b8282815181106110b0576110af61468e565b5b602002602001018181525050806110c6906146bd565b9050611056565b508091505092915050565b6110e061217e565b8151815180821461111d576040517f9d89020a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b84518110156113bd57600073ffffffffffffffffffffffffffffffffffffffff168582815181106111545761115361468e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1614806111c357503073ffffffffffffffffffffffffffffffffffffffff168582815181106111a3576111a261468e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16145b156111fa576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600c60008784815181106112135761121261468e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154146112b5578481815181106112715761127061468e565b5b60200260200101516040517ff94f3e2d0000000000000000000000000000000000000000000000000000000081526004016112ac9190613d98565b60405180910390fd5b60018482815181106112ca576112c961468e565b5b6020026020010151101561130a576040517f5d54acad00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60405180604001604052808583815181106113285761132761468e565b5b602002602001015181526020016000815250600c60008784815181106113515761135061468e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015590505080806113b5906146bd565b915050611120565b5050505050565b6113cc61217e565b81518151808214611409576040517f9d89020a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b84518110156116e857600073ffffffffffffffffffffffffffffffffffffffff168582815181106114405761143f61468e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1614806114af57503073ffffffffffffffffffffffffffffffffffffffff1685828151811061148f5761148e61468e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16145b156114e6576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600c60008784815181106114ff576114fe61468e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154036115a15784818151811061155d5761155c61468e565b5b60200260200101516040517fa11207920000000000000000000000000000000000000000000000000000000081526004016115989190613d98565b60405180910390fd5b600c60008683815181106115b8576115b761468e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101548482815181106116115761161061468e565b5b6020026020010151101561165a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611651906147c3565b60405180910390fd5b83818151811061166d5761166c61468e565b5b6020026020010151600c600087848151811061168c5761168b61468e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000018190555080806116e0906146bd565b91505061140c565b5050505050565b600b80546116fc90613f9e565b80601f016020809104026020016040519081016040528092919081815260200182805461172890613f9e565b80156117755780601f1061174a57610100808354040283529160200191611775565b820191906000526020600020905b81548152906001019060200180831161175857829003601f168201915b505050505081565b61178561217e565b61178f60006128a3565b565b60075481565b600460149054906101000a900460ff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117db61217e565b80600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16148061184257503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b15611879576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b80600081036118f9576040517f5d54acad00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460149054906101000a900460ff1661193f576040517fe1e4a77c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60055482600754611950919061444b565b1115611991576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198890614513565b60405180910390fd5b61199b3383611de2565b6119da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d19061487b565b60405180910390fd5b81600760008282546119ec919061444b565b9250508190555081600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001016000828254611a45919061444b565b92505081905550611a6833600184604051806020016040528060008152506123c6565b7ff91f7759e390a8db4d448ceaf333de72e974b3271c800078491129ceb35963cc33836001604051611a9c93929190614533565b60405180910390a15050565b8260018114158015611abb575060028114155b15611af2576040517f3f6cc76800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611b75576040517f225e797800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001821015611bb0576040517f2075cc1000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611bbb838584612967565b7f44e68ba968178cb8e9a7a1ac2b3cdfbbfc98d57f8ff2541a242cb86371d06936838386604051611bee93929190614533565b60405180910390a150505050565b60055481565b611c14611c0d612577565b8383612baf565b5050565b600a5481565b611c2661217e565b81518151808214611c63576040517f9d89020a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000805b8551811015611cab57848181518110611c8357611c8261468e565b5b602002602001015182611c96919061444b565b91508080611ca3906146bd565b915050611c67565b5060065481600854611cbd919061444b565b1115611cfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf590614513565b60405180910390fd5b8060086000828254611d10919061444b565b9250508190555060005b8551811015611d8657611d73868281518110611d3957611d3861468e565b5b60200260200101516002878481518110611d5657611d5561468e565b5b6020026020010151604051806020016040528060008152506123c6565b8080611d7e906146bd565b915050611d1a565b505050505050565b611d9661217e565b600854811015611dd2576040517f19bcc14c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060068190555050565b60095481565b6000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015482600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154611e75919061444b565b11611e835760019050611e88565b600090505b92915050565b66d529ae9e86000081565b600460159054906101000a900460ff1681565b611eb461217e565b8060008103611eef576040517f5d54acad00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600854600654611eff919061489b565b821115611f0b57600080fd5b816009819055505050565b611f1e61217e565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611f86573d6000803e3d6000fd5b50565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612025612577565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061206b575061206a85612065612577565b611f89565b5b6120aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a1906145dc565b60405180910390fd5b6120b78585858585612d1b565b5050505050565b6120c661217e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612135576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212c90614941565b60405180910390fd5b61213e816128a3565b50565b61214961217e565b80600460156101000a81548160ff02191690831515021790555050565b61216e61217e565b66d529ae9e860000600a81905550565b612186612577565b73ffffffffffffffffffffffffffffffffffffffff166121a46117aa565b73ffffffffffffffffffffffffffffffffffffffff16146121fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f1906149ad565b60405180910390fd5b565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6060600082036122ad576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506123c1565b600082905060005b600082146122df5780806122c8906146bd565b915050600a826122d891906149fc565b91506122b5565b60008167ffffffffffffffff8111156122fb576122fa613629565b5b6040519080825280601f01601f19166020018201604052801561232d5781602001600182028036833780820191505090505b5090505b600085146123ba57600182612346919061489b565b9150600a856123559190614a2d565b6030612361919061444b565b60f81b8183815181106123775761237661468e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123b391906149fc565b9450612331565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612435576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242c90614ad0565b60405180910390fd5b600061243f612577565b9050600061244c85612fb9565b9050600061245985612fb9565b905061246a83600089858589613033565b846001600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124ca919061444b565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612548929190613b45565b60405180910390a461255f8360008985858961303b565b61256e83600089898989613043565b50505050505050565b600033905090565b81518351146125c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ba90614b62565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612632576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262990614bf4565b60405180910390fd5b600061263c612577565b905061264c818787878787613033565b60005b845181101561280057600085828151811061266d5761266c61468e565b5b60200260200101519050600085838151811061268c5761268b61468e565b5b6020026020010151905060006001600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561272e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272590614c86565b60405180910390fd5b8181036001600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816001600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127e5919061444b565b92505081905550505050806127f9906146bd565b905061264f565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612877929190614ca6565b60405180910390a461288d81878787878761303b565b61289b81878787878761321a565b505050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036129d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129cd90614d4f565b60405180910390fd5b60006129e0612577565b905060006129ed84612fb9565b905060006129fa84612fb9565b9050612a1a83876000858560405180602001604052806000815250613033565b60006001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015612ab2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa990614de1565b60405180910390fd5b8481036001600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612b80929190613b45565b60405180910390a4612ba68488600086866040518060200160405280600081525061303b565b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612c1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1490614e73565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612d0e91906135f3565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612d8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8190614bf4565b60405180910390fd5b6000612d94612577565b90506000612da185612fb9565b90506000612dae85612fb9565b9050612dbe838989858589613033565b60006001600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4d90614c86565b60405180910390fd5b8581036001600089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550856001600089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f0d919061444b565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612f8a929190613b45565b60405180910390a4612fa0848a8a86868a61303b565b612fae848a8a8a8a8a613043565b505050505050505050565b60606000600167ffffffffffffffff811115612fd857612fd7613629565b5b6040519080825280602002602001820160405280156130065781602001602082028036833780820191505090505b509050828160008151811061301e5761301d61468e565b5b60200260200101818152505080915050919050565b505050505050565b505050505050565b6130628473ffffffffffffffffffffffffffffffffffffffff166133f1565b15613212578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016130a8959493929190614ee8565b6020604051808303816000875af19250505080156130e457506040513d601f19601f820116820180604052508101906130e19190614f57565b60015b613189576130f0614f91565b806308c379a00361314c5750613104614fb3565b8061310f575061314e565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131439190613825565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613180906150b5565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613210576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161320790615147565b60405180910390fd5b505b505050505050565b6132398473ffffffffffffffffffffffffffffffffffffffff166133f1565b156133e9578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161327f959493929190615167565b6020604051808303816000875af19250505080156132bb57506040513d601f19601f820116820180604052508101906132b89190614f57565b60015b613360576132c7614f91565b806308c379a00361332357506132db614fb3565b806132e65750613325565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161331a9190613825565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613357906150b5565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146133e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133de90615147565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61343b81613428565b811461344657600080fd5b50565b60008135905061345881613432565b92915050565b6000602082840312156134745761347361341e565b5b600061348284828501613449565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006134b68261348b565b9050919050565b6134c6816134ab565b81146134d157600080fd5b50565b6000813590506134e3816134bd565b92915050565b60008060408385031215613500576134ff61341e565b5b600061350e858286016134d4565b925050602061351f85828601613449565b9150509250929050565b61353281613428565b82525050565b600060208201905061354d6000830184613529565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61358881613553565b811461359357600080fd5b50565b6000813590506135a58161357f565b92915050565b6000602082840312156135c1576135c061341e565b5b60006135cf84828501613596565b91505092915050565b60008115159050919050565b6135ed816135d8565b82525050565b600060208201905061360860008301846135e4565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61366182613618565b810181811067ffffffffffffffff821117156136805761367f613629565b5b80604052505050565b6000613693613414565b905061369f8282613658565b919050565b600067ffffffffffffffff8211156136bf576136be613629565b5b6136c882613618565b9050602081019050919050565b82818337600083830152505050565b60006136f76136f2846136a4565b613689565b90508281526020810184848401111561371357613712613613565b5b61371e8482856136d5565b509392505050565b600082601f83011261373b5761373a61360e565b5b813561374b8482602086016136e4565b91505092915050565b60006020828403121561376a5761376961341e565b5b600082013567ffffffffffffffff81111561378857613787613423565b5b61379484828501613726565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156137d75780820151818401526020810190506137bc565b838111156137e6576000848401525b50505050565b60006137f78261379d565b61380181856137a8565b93506138118185602086016137b9565b61381a81613618565b840191505092915050565b6000602082019050818103600083015261383f81846137ec565b905092915050565b613850816135d8565b811461385b57600080fd5b50565b60008135905061386d81613847565b92915050565b6000806040838503121561388a5761388961341e565b5b6000613898858286016134d4565b92505060206138a98582860161385e565b9150509250929050565b600067ffffffffffffffff8211156138ce576138cd613629565b5b602082029050602081019050919050565b600080fd5b60006138f76138f2846138b3565b613689565b9050808382526020820190506020840283018581111561391a576139196138df565b5b835b81811015613943578061392f8882613449565b84526020840193505060208101905061391c565b5050509392505050565b600082601f8301126139625761396161360e565b5b81356139728482602086016138e4565b91505092915050565b600067ffffffffffffffff82111561399657613995613629565b5b61399f82613618565b9050602081019050919050565b60006139bf6139ba8461397b565b613689565b9050828152602081018484840111156139db576139da613613565b5b6139e68482856136d5565b509392505050565b600082601f830112613a0357613a0261360e565b5b8135613a138482602086016139ac565b91505092915050565b600080600080600060a08688031215613a3857613a3761341e565b5b6000613a46888289016134d4565b9550506020613a57888289016134d4565b945050604086013567ffffffffffffffff811115613a7857613a77613423565b5b613a848882890161394d565b935050606086013567ffffffffffffffff811115613aa557613aa4613423565b5b613ab18882890161394d565b925050608086013567ffffffffffffffff811115613ad257613ad1613423565b5b613ade888289016139ee565b9150509295509295909350565b600060208284031215613b0157613b0061341e565b5b6000613b0f8482850161385e565b91505092915050565b600060208284031215613b2e57613b2d61341e565b5b6000613b3c848285016134d4565b91505092915050565b6000604082019050613b5a6000830185613529565b613b676020830184613529565b9392505050565b600067ffffffffffffffff821115613b8957613b88613629565b5b602082029050602081019050919050565b6000613bad613ba884613b6e565b613689565b90508083825260208201905060208402830185811115613bd057613bcf6138df565b5b835b81811015613bf95780613be588826134d4565b845260208401935050602081019050613bd2565b5050509392505050565b600082601f830112613c1857613c1761360e565b5b8135613c28848260208601613b9a565b91505092915050565b60008060408385031215613c4857613c4761341e565b5b600083013567ffffffffffffffff811115613c6657613c65613423565b5b613c7285828601613c03565b925050602083013567ffffffffffffffff811115613c9357613c92613423565b5b613c9f8582860161394d565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613cde81613428565b82525050565b6000613cf08383613cd5565b60208301905092915050565b6000602082019050919050565b6000613d1482613ca9565b613d1e8185613cb4565b9350613d2983613cc5565b8060005b83811015613d5a578151613d418882613ce4565b9750613d4c83613cfc565b925050600181019050613d2d565b5085935050505092915050565b60006020820190508181036000830152613d818184613d09565b905092915050565b613d92816134ab565b82525050565b6000602082019050613dad6000830184613d89565b92915050565b600080600060608486031215613dcc57613dcb61341e565b5b6000613dda86828701613449565b9350506020613deb868287016134d4565b9250506040613dfc86828701613449565b9150509250925092565b60008060408385031215613e1d57613e1c61341e565b5b6000613e2b858286016134d4565b9250506020613e3c858286016134d4565b9150509250929050565b600080600080600060a08688031215613e6257613e6161341e565b5b6000613e70888289016134d4565b9550506020613e81888289016134d4565b9450506040613e9288828901613449565b9350506060613ea388828901613449565b925050608086013567ffffffffffffffff811115613ec457613ec3613423565b5b613ed0888289016139ee565b9150509295509295909350565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000613f39602a836137a8565b9150613f4482613edd565b604082019050919050565b60006020820190508181036000830152613f6881613f2c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613fb657607f821691505b602082108103613fc957613fc8613f6f565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026140317fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613ff4565b61403b8683613ff4565b95508019841693508086168417925050509392505050565b6000819050919050565b600061407861407361406e84613428565b614053565b613428565b9050919050565b6000819050919050565b6140928361405d565b6140a661409e8261407f565b848454614001565b825550505050565b600090565b6140bb6140ae565b6140c6818484614089565b505050565b5b818110156140ea576140df6000826140b3565b6001810190506140cc565b5050565b601f82111561412f5761410081613fcf565b61410984613fe4565b81016020851015614118578190505b61412c61412485613fe4565b8301826140cb565b50505b505050565b600082821c905092915050565b600061415260001984600802614134565b1980831691505092915050565b600061416b8383614141565b9150826002028217905092915050565b6141848261379d565b67ffffffffffffffff81111561419d5761419c613629565b5b6141a78254613f9e565b6141b28282856140ee565b600060209050601f8311600181146141e557600084156141d3578287015190505b6141dd858261415f565b865550614245565b601f1984166141f386613fcf565b60005b8281101561421b578489015182556001820191506020850194506020810190506141f6565b868310156142385784890151614234601f891682614141565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b6000815461426581613f9e565b61426f818661424d565b9450600182166000811461428a576001811461429f576142d2565b60ff19831686528115158202860193506142d2565b6142a885613fcf565b60005b838110156142ca578154818901526001820191506020810190506142ab565b838801955050505b50505092915050565b60006142e68261379d565b6142f0818561424d565b93506143008185602086016137b9565b80840191505092915050565b60006143188285614258565b915061432482846142db565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061436a82613428565b915061437583613428565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143ae576143ad614330565b5b828202905092915050565b7f696e73756666696369656e74206f7220657863657373204554482070726f766960008201527f6465642e00000000000000000000000000000000000000000000000000000000602082015250565b60006144156024836137a8565b9150614420826143b9565b604082019050919050565b6000602082019050818103600083015261444481614408565b9050919050565b600061445682613428565b915061446183613428565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561449657614495614330565b5b828201905092915050565b7f546f74616c206d696e746564205469636b657420636f756e742068617320726560008201527f616368656420746865206d696e74206c696d69742e0000000000000000000000602082015250565b60006144fd6035836137a8565b9150614508826144a1565b604082019050919050565b6000602082019050818103600083015261452c816144f0565b9050919050565b60006060820190506145486000830186613d89565b6145556020830185613529565b6145626040830184613529565b949350505050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b60006145c6602f836137a8565b91506145d18261456a565b604082019050919050565b600060208201905081810360008301526145f5816145b9565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006146586029836137a8565b9150614663826145fc565b604082019050919050565b600060208201905081810360008301526146878161464b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006146c882613428565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036146fa576146f9614330565b5b600182019050919050565b7f6d617820616c6c6f77656420746f206d696e74207469636b6574206e6565647360008201527f20746f20626520677265617465206f7220657175616c207468616e20616c726560208201527f616479206d696e746564207469636b657420666f72207468697320616464726560408201527f73732e0000000000000000000000000000000000000000000000000000000000606082015250565b60006147ad6063836137a8565b91506147b882614705565b608082019050919050565b600060208201905081810360008301526147dc816147a0565b9050919050565b7f796f7520617265206e6f742077686974656c6973746564206f7220616c72656160008201527f6479206578636565646564206d6178696d756d206c696d697420746f206d696e60208201527f742046726565205469636b65742e000000000000000000000000000000000000604082015250565b6000614865604e836137a8565b9150614870826147e3565b606082019050919050565b6000602082019050818103600083015261489481614858565b9050919050565b60006148a682613428565b91506148b183613428565b9250828210156148c4576148c3614330565b5b828203905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061492b6026836137a8565b9150614936826148cf565b604082019050919050565b6000602082019050818103600083015261495a8161491e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006149976020836137a8565b91506149a282614961565b602082019050919050565b600060208201905081810360008301526149c68161498a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614a0782613428565b9150614a1283613428565b925082614a2257614a216149cd565b5b828204905092915050565b6000614a3882613428565b9150614a4383613428565b925082614a5357614a526149cd565b5b828206905092915050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614aba6021836137a8565b9150614ac582614a5e565b604082019050919050565b60006020820190508181036000830152614ae981614aad565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614b4c6028836137a8565b9150614b5782614af0565b604082019050919050565b60006020820190508181036000830152614b7b81614b3f565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614bde6025836137a8565b9150614be982614b82565b604082019050919050565b60006020820190508181036000830152614c0d81614bd1565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614c70602a836137a8565b9150614c7b82614c14565b604082019050919050565b60006020820190508181036000830152614c9f81614c63565b9050919050565b60006040820190508181036000830152614cc08185613d09565b90508181036020830152614cd48184613d09565b90509392505050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614d396023836137a8565b9150614d4482614cdd565b604082019050919050565b60006020820190508181036000830152614d6881614d2c565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000614dcb6024836137a8565b9150614dd682614d6f565b604082019050919050565b60006020820190508181036000830152614dfa81614dbe565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614e5d6029836137a8565b9150614e6882614e01565b604082019050919050565b60006020820190508181036000830152614e8c81614e50565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614eba82614e93565b614ec48185614e9e565b9350614ed48185602086016137b9565b614edd81613618565b840191505092915050565b600060a082019050614efd6000830188613d89565b614f0a6020830187613d89565b614f176040830186613529565b614f246060830185613529565b8181036080830152614f368184614eaf565b90509695505050505050565b600081519050614f518161357f565b92915050565b600060208284031215614f6d57614f6c61341e565b5b6000614f7b84828501614f42565b91505092915050565b60008160e01c9050919050565b600060033d1115614fb05760046000803e614fad600051614f84565b90505b90565b600060443d1061504057614fc5613414565b60043d036004823e80513d602482011167ffffffffffffffff82111715614fed575050615040565b808201805167ffffffffffffffff81111561500b5750505050615040565b80602083010160043d038501811115615028575050505050615040565b61503782602001850186613658565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b600061509f6034836137a8565b91506150aa82615043565b604082019050919050565b600060208201905081810360008301526150ce81615092565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006151316028836137a8565b915061513c826150d5565b604082019050919050565b6000602082019050818103600083015261516081615124565b9050919050565b600060a08201905061517c6000830188613d89565b6151896020830187613d89565b818103604083015261519b8186613d09565b905081810360608301526151af8185613d09565b905081810360808301526151c38184614eaf565b9050969550505050505056fea26469706673582212204e989ba0a8142a2e0b4a57bcb8c8d6b3ef9748b3ca9526e5b95f17651614d09e64736f6c634300080f0033

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.