ETH Price: $2,446.27 (-1.57%)

Affordable Alpha (AAA)
 

Overview

TokenID

2974

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

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

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

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x54019e5C...28A17A5bc
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
CandyCreatorV1A

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 17 : CandyCreatorV1A.sol
/***
 *    ░█████╗░░█████╗░███╗░░██╗██████╗░██╗░░░██╗  ░█████╗░██████╗░███████╗░█████╗░████████╗░█████╗░██████╗░
 *    ██╔══██╗██╔══██╗████╗░██║██╔══██╗╚██╗░██╔╝  ██╔══██╗██╔══██╗██╔════╝██╔══██╗╚══██╔══╝██╔══██╗██╔══██╗
 *    ██║░░╚═╝███████║██╔██╗██║██║░░██║░╚████╔╝░  ██║░░╚═╝██████╔╝█████╗░░███████║░░░██║░░░██║░░██║██████╔╝
 *    ██║░░██╗██╔══██║██║╚████║██║░░██║░░╚██╔╝░░  ██║░░██╗██╔══██╗██╔══╝░░██╔══██║░░░██║░░░██║░░██║██╔══██╗
 *    ╚█████╔╝██║░░██║██║░╚███║██████╔╝░░░██║░░░  ╚█████╔╝██║░░██║███████╗██║░░██║░░░██║░░░╚█████╔╝██║░░██║
 *    ░╚════╝░╚═╝░░╚═╝╚═╝░░╚══╝╚═════╝░░░░╚═╝░░░  ░╚════╝░╚═╝░░╚═╝╚══════╝╚═╝░░╚═╝░░░╚═╝░░░░╚════╝░╚═╝░░╚═╝
 *
 *
 *
 *
 *  “Growing up, I slowly had this process of realizing that all the things around me that people had told me
 *  were just the natural way things were, the way things always would be, they weren’t natural at all.
 *  They were things that could be changed, and they were things that, more importantly, were wrong and should change,
 *  and once I realized that, there was really no going back.”
 *
 *    ― Aaron Swartz (1986-2013)
 *
 *
 * Version: VARIANT_BASE_NOTPROV_NOTAIRDROP_ERC721A_NOTENUMERABLE_CONTEXTV2
 *          v2.0
 *
 * Purpose: ERC-721 template for no-code users.
 *          Placeholder for pre-reveal information.
 *          Guaranteed mint royalties with PaymentSplitter.
 *          EIP-2981 compliant secondary sale royalty information.
 *          Whitelist functionality. Caps whitelist users and invalidates whitelist users after mint.
 *          Deployable to ETH, AVAX, BNB, MATIC, FANTOM chains.
 *
 */

// SPDX-License-Identifier: MIT

pragma solidity >=0.8.4 <0.9.0;

import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./token/ERC721/ERC721A.sol";
import "./eip/2981/ERC2981Collection.sol";
import "./access/Ownable.sol";
import "./modules/PaymentSplitter.sol";

error MintingNotActive();
error MintingActive();
error WouldExceedMintSize();
error ExceedsMaxTransactionMints();
error NonExistentToken();
error WhitelistNotRequired();
error WhitelistRequired();
error NotWhitelisted();
error NotEnoughWhitelistSlots();
error ExceedsMaxWhitelistMints();
error WrongPayment();
error InvalidMintSize();

contract CandyCreatorV1A is
    ERC721A,
    ERC2981Collection,
    PaymentSplitter,
    Ownable
{
    // @notice basic state variables
    string private base;
    bool private mintingActive;
    bool private lockedPayees;
    uint256 private maxPublicMints;
    uint256 private mintPrice;
    uint256 private mintSize;
    string private placeholderURI;

    // @notice Whitelist functionality
    bool private whitelistActive;
    bytes32 public whitelistMerkleRoot;
    uint64 private maxWhitelistMints;

    event UpdatedMintPrice(uint256 _old, uint256 _new);
    event UpdatedMintSize(uint256 _old, uint256 _new);
    event UpdatedMaxWhitelistMints(uint256 _old, uint256 _new);
    event UpdatedMaxPublicMints(uint256 _old, uint256 _new);
    event UpdatedMintStatus(bool _old, bool _new);
    event UpdatedRoyalties(address newRoyaltyAddress, uint256 newPercentage);
    event UpdatedWhitelistStatus(bool _old, bool _new);
    event UpdatedPresaleEnd(uint256 _old, uint256 _new);
    event PayeesLocked(bool _status);
    event UpdatedWhitelist(bytes32 _old, bytes32 _new);

    // @notice Contract constructor requires as much information
    // about the contract as possible to avoid unnecessary function calls
    // on the contract post-deployment.
    constructor(
        string memory name,
        string memory symbol,
        string memory _placeholderURI,
        uint256 _mintPrice,
        uint256 _mintSize,
        address _candyWallet,
        bool _multi,
        address[] memory splitAddresses,
        uint256[] memory splitShares,
        bytes32 _whitelistMerkleRoot
    ) ERC721A(name, symbol) {
        placeholderURI = _placeholderURI;
        maxWhitelistMints = 2;
        maxPublicMints = 2;
        mintPrice = _mintPrice;
        mintSize = _mintSize;
        
        if (_whitelistMerkleRoot != 0) {
            whitelistMerkleRoot = _whitelistMerkleRoot;
            enableWhitelist();
        }
        
        addPayee(_candyWallet, 500);
        if (!_multi) {
            addPayee(_msgSender(), 9500);
            lockPayees();
        } else {
            for (uint256 i = 0; i < splitAddresses.length; i++) {
                addPayee(splitAddresses[i], splitShares[i]);
            }
            lockPayees();
        }
    }

    /***
     *    ███╗   ███╗██╗███╗   ██╗████████╗
     *    ████╗ ████║██║████╗  ██║╚══██╔══╝
     *    ██╔████╔██║██║██╔██╗ ██║   ██║
     *    ██║╚██╔╝██║██║██║╚██╗██║   ██║
     *    ██║ ╚═╝ ██║██║██║ ╚████║   ██║
     *    ╚═╝     ╚═╝╚═╝╚═╝  ╚═══╝   ╚═╝
     */

    // @notice this is the mint function, mint Fees in ERC20,
    //  requires amount * mintPrice to be sent by caller
    // @param uint amount - number of tokens minted
    function whitelistMint(bytes32[] calldata merkleProof, uint64 amount)
        external
        payable
    {
        // @notice using Checks-Effects-Interactions
        if (!mintingActive) revert MintingNotActive();
        if (!whitelistActive) revert WhitelistNotRequired();
        if (_msgValue() != mintPrice * amount) revert WrongPayment();
        if (totalSupply() + amount > mintSize) revert WouldExceedMintSize();
        if (amount > maxWhitelistMints) revert ExceedsMaxWhitelistMints();
        if (
            !MerkleProof.verify(
                merkleProof,
                whitelistMerkleRoot,
                keccak256(abi.encodePacked(_msgSender()))
            )
        ) revert NotWhitelisted();
        uint64 numWhitelistMinted = _getAux(_msgSender()) + amount;
        if (numWhitelistMinted > maxWhitelistMints)
            revert NotEnoughWhitelistSlots();
        _safeMint(_msgSender(), amount);
        _setAux(_msgSender(), numWhitelistMinted);
    }

    // @notice this is the mint function, mint Fees in ERC20,
    //  requires amount * mintPrice to be sent by caller
    // @param uint amount - number of tokens minted
    function publicMint(uint256 amount) external payable {
        if (whitelistActive) revert WhitelistRequired();
        if (!mintingActive) revert MintingNotActive();
        if (_msgValue() != mintPrice * amount) revert WrongPayment();
        if (totalSupply() + amount > mintSize) revert WouldExceedMintSize();
        if (amount > maxPublicMints) revert ExceedsMaxTransactionMints();
        _safeMint(_msgSender(), amount);
    }

    /***
     *    ██████╗░░█████╗░██╗░░░██╗███╗░░░███╗███████╗███╗░░██╗████████╗
     *    ██╔══██╗██╔══██╗╚██╗░██╔╝████╗░████║██╔════╝████╗░██║╚══██╔══╝
     *    ██████╔╝███████║░╚████╔╝░██╔████╔██║█████╗░░██╔██╗██║░░░██║░░░
     *    ██╔═══╝░██╔══██║░░╚██╔╝░░██║╚██╔╝██║██╔══╝░░██║╚████║░░░██║░░░
     *    ██║░░░░░██║░░██║░░░██║░░░██║░╚═╝░██║███████╗██║░╚███║░░░██║░░░
     *    ╚═╝░░░░░╚═╝░░╚═╝░░░╚═╝░░░╚═╝░░░░░╚═╝╚══════╝╚═╝░░╚══╝░░░╚═╝░░░
     * This section pertains to mint fees, royalties, and fund release.
     */

    // Function to receive ether, msg.data must be empty
    receive() external payable {
        // From PaymentSplitter.sol
        emit PaymentReceived(_msgSender(), _msgValue());
    }

    // Function to receive ether, msg.data is not empty
    fallback() external payable {
        // From PaymentSplitter.sol
        emit PaymentReceived(_msgSender(), _msgValue());
    }

    // @notice will release funds from the contract to the addresses
    // owed funds as passed to constructor
    function release() external onlyOwner {
        _release();
    }

    // @notice this will use internal functions to set EIP 2981
    //  found in IERC2981.sol and used by ERC2981Collections.sol
    // @param address _royaltyAddress - Address for all royalties to go to
    // @param uint256 _percentage - Precentage in whole number of comission
    //  of secondary sales
    function setRoyaltyInfo(address _royaltyAddress, uint256 _percentage)
        public
        onlyOwner
    {
        _setRoyalties(_royaltyAddress, _percentage);
        emit UpdatedRoyalties(_royaltyAddress, _percentage);
    }

    // @notice this will set the fees required to mint using
    //  publicMint(), must enter in wei. So 1 ETH = 10**18.
    // @param uint256 _newFee - fee you set, if ETH 10**18, if
    //  an ERC20 use token's decimals in calculation
    function setMintPrice(uint256 _newFee) public onlyOwner {
        uint256 oldFee = mintPrice;
        mintPrice = _newFee;
        emit UpdatedMintPrice(oldFee, mintPrice);
    }

    // @notice will add an address to PaymentSplitter by owner role
    // @param address newAddy - address to recieve payments
    // @param uint newShares - number of shares they recieve
    function addPayee(address newAddy, uint256 newShares) private {
        require(!lockedPayees, "Can not set, payees locked");
        _addPayee(newAddy, newShares);
    }

    // @notice Will lock the ability to add further payees on PaymentSplitter.sol
    function lockPayees() private {
        require(!lockedPayees, "Can not set, payees locked");
        lockedPayees = true;
        emit PayeesLocked(lockedPayees);
    }

    /***
     *
     *    ░█████╗░██████╗░███╗░░░███╗██╗███╗░░██╗
     *    ██╔══██╗██╔══██╗████╗░████║██║████╗░██║
     *    ███████║██║░░██║██╔████╔██║██║██╔██╗██║
     *    ██╔══██║██║░░██║██║╚██╔╝██║██║██║╚████║
     *    ██║░░██║██████╔╝██║░╚═╝░██║██║██║░╚███║
     *    ╚═╝░░╚═╝╚═════╝░╚═╝░░░░░╚═╝╚═╝╚═╝░░╚══╝
     * This section pertains to to basic contract administration tasks.
     */

    // @notice this will enable publicMint()
    function enableMinting() external onlyOwner {
        if (mintingActive) revert MintingActive();
        bool old = mintingActive;
        mintingActive = true;
        emit UpdatedMintStatus(old, mintingActive);
    }

    // @notice this will disable publicMint()
    function disableMinting() external onlyOwner {
        if (!mintingActive) revert MintingNotActive();
        bool old = mintingActive;
        mintingActive = false;
        emit UpdatedMintStatus(old, mintingActive);
    }

    // @notice this will enable whitelist or "if" in publicMint()
    function enableWhitelist() public onlyOwner {
        if (whitelistActive) revert WhitelistRequired();
        bool old = whitelistActive;
        whitelistActive = true;
        emit UpdatedWhitelistStatus(old, whitelistActive);
    }

    // @notice this will disable whitelist or "else" in publicMint()
    function disableWhitelist() external onlyOwner {
        if (!whitelistActive) revert WhitelistNotRequired();
        bool old = whitelistActive;
        whitelistActive = false;
        emit UpdatedWhitelistStatus(old, whitelistActive);
    }

    // @notice this will set a new Merkle root used to verify whitelist membership
    // together with a proof submitted to the mint function
    // @param bytes32 _merkleRoot - generated merkleRoot hash
    function setWhitelistMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
        bytes32 old = whitelistMerkleRoot;
        whitelistMerkleRoot = _merkleRoot;
        emit UpdatedWhitelist(old, whitelistMerkleRoot);
    }

    // @notice this will set the maximum number of tokens a whitelisted user can mint.
    // @param uint256 _amount - max amount of tokens
    function setMaxWhitelistMints(uint64 _amount) public onlyOwner {
        uint256 oldAmount = maxWhitelistMints;
        maxWhitelistMints = _amount;
        emit UpdatedMaxWhitelistMints(oldAmount, maxWhitelistMints);
    }

    // @notice this will set the maximum number of tokens a single address can mint at a time
    // during the public mint period. Keep in mind that user will be able to transfer their tokens
    // to a different address, and continue minting this amount of tokens on each transaction.
    // If you wish to prevent this, use the whitelist.
    // @param uint256 _amount - max amount of tokens
    function setMaxPublicMints(uint256 _amount) public onlyOwner {
        uint256 oldAmount = maxPublicMints;
        maxPublicMints = _amount;
        emit UpdatedMaxPublicMints(oldAmount, maxWhitelistMints);
    }

    // @notice this updates the base URI for the token metadata
    // it does not emit an event so that it can be set invisibly to purchasers
    // and avoid token sniping
    // @param string _ - max amount of tokens
    function setBaseURI(string memory baseURI) public onlyOwner {
        base = baseURI;
    }

    // @notice will set mint size by owner role
    // @param uint256 _amount - set number to mint
    function setMintSize(uint256 _amount) public onlyOwner {
        if (_amount < totalSupply()) revert InvalidMintSize();
        uint256 old = mintSize;
        mintSize = _amount;
        emit UpdatedMintSize(old, mintSize);
    }

    /***
     *    ██████╗░██╗░░░██╗██████╗░██╗░░░░░██╗░█████╗░  ██╗░░░██╗██╗███████╗░██╗░░░░░░░██╗░██████╗
     *    ██╔══██╗██║░░░██║██╔══██╗██║░░░░░██║██╔══██╗  ██║░░░██║██║██╔════╝░██║░░██╗░░██║██╔════╝
     *    ██████╔╝██║░░░██║██████╦╝██║░░░░░██║██║░░╚═╝  ╚██╗░██╔╝██║█████╗░░░╚██╗████╗██╔╝╚█████╗░
     *    ██╔═══╝░██║░░░██║██╔══██╗██║░░░░░██║██║░░██╗  ░╚████╔╝░██║██╔══╝░░░░████╔═████║░░╚═══██╗
     *    ██║░░░░░╚██████╔╝██████╦╝███████╗██║╚█████╔╝  ░░╚██╔╝░░██║███████╗░░╚██╔╝░╚██╔╝░██████╔╝
     *    ╚═╝░░░░░░╚═════╝░╚═════╝░╚══════╝╚═╝░╚════╝░  ░░░╚═╝░░░╚═╝╚══════╝░░░╚═╝░░░╚═╝░░╚═════╝░
     */
    // @notice will return whether minting is enabled
    function mintStatus() external view returns (bool) {
        return mintingActive;
    }

    // @notice will return whitelist status of Minter
    function whitelistStatus() external view returns (bool) {
        return whitelistActive;
    }

    // @notice will return minting fees
    function mintingFee() external view returns (uint256) {
        return mintPrice;
    }

    // @notice will return whitelist status of Minter
    function whitelistMaxMints() external view returns (uint256) {
        return maxWhitelistMints;
    }

    // @notice will return maximum tokens that are allowed to be minted during a single transaction
    // during the whitelist period
    function publicMaxMints() external view returns (uint256) {
        return maxPublicMints;
    }

    // @notice this is a public getter for ETH balance on contract
    function getBalance() external view returns (uint256) {
        return address(this).balance;
    }

    // @notice will return the planned size of the collection
    function collectionSize() external view returns (uint256) {
        return mintSize;
    }

    /***
     *    ░█████╗░██╗░░░██╗███████╗██████╗░██████╗░██╗██████╗░███████╗
     *    ██╔══██╗██║░░░██║██╔════╝██╔══██╗██╔══██╗██║██╔══██╗██╔════╝
     *    ██║░░██║╚██╗░██╔╝█████╗░░██████╔╝██████╔╝██║██║░░██║█████╗░░
     *    ██║░░██║░╚████╔╝░██╔══╝░░██╔══██╗██╔══██╗██║██║░░██║██╔══╝░░
     *    ╚█████╔╝░░╚██╔╝░░███████╗██║░░██║██║░░██║██║██████╔╝███████╗
     *    ░╚════╝░░░░╚═╝░░░╚══════╝╚═╝░░╚═╝╚═╝░░╚═╝╚═╝╚═════╝░╚══════╝
     */

    // @notice Solidity required override for _baseURI(), if you wish to
    //  be able to set from API -> IPFS or vice versa using setBaseURI(string)
    function _baseURI() internal view override returns (string memory) {
        return base;
    }

    // @notice Override for ERC721A _startTokenId to change from default 0 -> 1
    function _startTokenId() internal pure override returns (uint256) {
        return 1;
    }

    // @notice Override for ERC721A tokenURI
    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        if (!_exists(tokenId)) revert NonExistentToken();
        string memory baseURI = _baseURI();
        return
            bytes(baseURI).length > 0
                ? string(
                    abi.encodePacked(
                        baseURI,
                        "/",
                        Strings.toString(tokenId),
                        ".json"
                    )
                )
                : placeholderURI;
    }

    // @notice solidity required override for supportsInterface(bytes4)
    // @param bytes4 interfaceId - bytes4 id per interface or contract
    // calculated by ERC165 standards automatically
    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721A, IERC165)
        returns (bool)
    {
        return (interfaceId == type(ERC2981Collection).interfaceId ||
            interfaceId == type(PaymentSplitter).interfaceId ||
            interfaceId == type(Ownable).interfaceId ||
            super.supportsInterface(interfaceId));
    }
}

File 2 of 17 : Ownable.sol
/***
 *     ██████╗ ██╗    ██╗███╗   ██╗ █████╗ ██████╗ ██╗     ███████╗
 *    ██╔═══██╗██║    ██║████╗  ██║██╔══██╗██╔══██╗██║     ██╔════╝
 *    ██║   ██║██║ █╗ ██║██╔██╗ ██║███████║██████╔╝██║     █████╗  
 *    ██║   ██║██║███╗██║██║╚██╗██║██╔══██║██╔══██╗██║     ██╔══╝  
 *    ╚██████╔╝╚███╔███╔╝██║ ╚████║██║  ██║██████╔╝███████╗███████╗
 *     ╚═════╝  ╚══╝╚══╝ ╚═╝  ╚═══╝╚═╝  ╚═╝╚═════╝ ╚══════╝╚══════╝
 * Re-write of @openzeppelin/contracts/access/Ownable.sol
 * 
 *
 * Upgraded to push/pull and decline compared to original contract
 */

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1
// Rewritten for onlyOwner modifier

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (a 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 {transferOwner}.
 *
 * 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;
    address private _newOwner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial Owner.
     */
    constructor() {
        _transferOwner(_msgSender());
    }

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

    /**
     * @dev Throws if called by any account other than the Owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Owner: 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 renounceOwner() public virtual onlyOwner {
        _transferOwner(address(0));
    }

    /**
     * @dev Transfers Owner of the contract to a new account (`newOwner`).
     * Can only be called by the current Owner. Now push/pull.
     */
    function transferOwner(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Owner: new Owner is the zero address");
        _newOwner = newOwner;
    }

    /**
     * @dev Accepts Transfer Owner of the contract to a new account (`newOwner`).
     * Can only be called by the new Owner. Pull Accepted.
     */
    function acceptOwner() public virtual {
        require(_newOwner == _msgSender(), "New Owner: new Owner is the only caller");
        _transferOwner(_newOwner);
    }

    /**
     * @dev Declines Transfer Owner of the contract to a new account (`newOwner`).
     * Can only be called by the new Owner. Pull Declined.
     */
    function declineOwner() public virtual {
        require(_newOwner == _msgSender(), "New Owner: new Owner is the only caller");
        _newOwner = address(0);
    }

    /**
     * @dev Transfers Owner of the contract to a new account (`newOwner`).
     * Can only be called by the current Owner. Now push only. Orginal V1 style
     */
    function pushOwner(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Owner: new Owner is the zero address");
        _transferOwner(newOwner);
    }

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

File 3 of 17 : ERC2981Collection.sol
/***
 *    ███████╗██████╗  ██████╗██████╗  █████╗  █████╗  ██╗                            
 *    ██╔════╝██╔══██╗██╔════╝╚════██╗██╔══██╗██╔══██╗███║                            
 *    █████╗  ██████╔╝██║      █████╔╝╚██████║╚█████╔╝╚██║                            
 *    ██╔══╝  ██╔══██╗██║     ██╔═══╝  ╚═══██║██╔══██╗ ██║                            
 *    ███████╗██║  ██║╚██████╗███████╗ █████╔╝╚█████╔╝ ██║                            
 *    ╚══════╝╚═╝  ╚═╝ ╚═════╝╚══════╝ ╚════╝  ╚════╝  ╚═╝                            
 *                                                                                    
 *     ██████╗ ██████╗ ██╗     ██╗     ███████╗ ██████╗████████╗██╗ ██████╗ ███╗   ██╗
 *    ██╔════╝██╔═══██╗██║     ██║     ██╔════╝██╔════╝╚══██╔══╝██║██╔═══██╗████╗  ██║
 *    ██║     ██║   ██║██║     ██║     █████╗  ██║        ██║   ██║██║   ██║██╔██╗ ██║
 *    ██║     ██║   ██║██║     ██║     ██╔══╝  ██║        ██║   ██║██║   ██║██║╚██╗██║
 *    ╚██████╗╚██████╔╝███████╗███████╗███████╗╚██████╗   ██║   ██║╚██████╔╝██║ ╚████║
 *     ╚═════╝ ╚═════╝ ╚══════╝╚══════╝╚══════╝ ╚═════╝   ╚═╝   ╚═╝ ╚═════╝ ╚═╝  ╚═══╝
 * 
 * 
 *
 * Designed to allow setting a global royalty address along with specified basis points. 
 */

// SPDX-License-Identifier: MIT

pragma solidity >=0.8.0 <0.9.0;

import "./IERC2981.sol";

abstract contract ERC2981Collection is IERC2981 {

  address private royaltyAddress;
  uint256 private royaltyPercent;

  function _setRoyalties(address _receiver, uint256 _percentage) internal {
    royaltyAddress = _receiver;
    royaltyPercent = _percentage;
  }

  // Override for royaltyInfo(uint256, uint256)
  function royaltyInfo(
    uint256 _tokenId,
    uint256 _salePrice
  ) external view override(IERC2981) returns (
    address receiver,
    uint256 royaltyAmount
  ) {
    receiver = royaltyAddress;

    // This sets percentages by price * percentage / 100
    royaltyAmount = _salePrice * royaltyPercent / 100;
  }
}

File 4 of 17 : IERC2981.sol
/***
 *    ███████╗██╗██████╗       ██████╗  █████╗  █████╗  ██╗
 *    ██╔════╝██║██╔══██╗      ╚════██╗██╔══██╗██╔══██╗███║
 *    █████╗  ██║██████╔╝█████╗ █████╔╝╚██████║╚█████╔╝╚██║
 *    ██╔══╝  ██║██╔═══╝ ╚════╝██╔═══╝  ╚═══██║██╔══██╗ ██║
 *    ███████╗██║██║           ███████╗ █████╔╝╚█████╔╝ ██║
 *    ╚══════╝╚═╝╚═╝           ╚══════╝ ╚════╝  ╚════╝  ╚═╝                                                        
 * Zach Burks, James Morgan, Blaine Malone, James Seibel,
 * "EIP-2981: NFT Royalty Standard,"
 * Ethereum Improvement Proposals, no. 2981, September 2020. [Online serial].
 * Available: https://eips.ethereum.org/EIPS/eip-2981.
 *
 */

// SPDX-License-Identifier: MIT

pragma solidity >=0.8.0 <0.9.0;
import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

///
/// @dev Interface for the NFT Royalty Standard
///

interface IERC2981 is IERC165 {

  // @notice Called with the sale price to determine how much royalty
  //  is owed and to whom.
  // @param _tokenId - the NFT asset queried for royalty information
  // @param _salePrice - the sale price of the NFT asset specified by _tokenId
  // @return receiver - address of who should be sent the royalty payment
  // @return royaltyAmount - the royalty payment amount for _salePrice
  function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns (address receiver, uint256 royaltyAmount);

}

File 5 of 17 : PaymentSplitter.sol
/***
 *    ██████╗  █████╗ ██╗   ██╗███╗   ███╗███████╗███╗   ██╗████████╗
 *    ██╔══██╗██╔══██╗╚██╗ ██╔╝████╗ ████║██╔════╝████╗  ██║╚══██╔══╝
 *    ██████╔╝███████║ ╚████╔╝ ██╔████╔██║█████╗  ██╔██╗ ██║   ██║
 *    ██╔═══╝ ██╔══██║  ╚██╔╝  ██║╚██╔╝██║██╔══╝  ██║╚██╗██║   ██║
 *    ██║     ██║  ██║   ██║   ██║ ╚═╝ ██║███████╗██║ ╚████║   ██║
 *    ╚═╝     ╚═╝  ╚═╝   ╚═╝   ╚═╝     ╚═╝╚══════╝╚═╝  ╚═══╝   ╚═╝
 *
 *    ███████╗██████╗ ██╗     ██╗████████╗████████╗███████╗██████╗
 *    ██╔════╝██╔══██╗██║     ██║╚══██╔══╝╚══██╔══╝██╔════╝██╔══██╗
 *    ███████╗██████╔╝██║     ██║   ██║      ██║   █████╗  ██████╔╝
 *    ╚════██║██╔═══╝ ██║     ██║   ██║      ██║   ██╔══╝  ██╔══██╗
 *    ███████║██║     ███████╗██║   ██║      ██║   ███████╗██║  ██║
 *    ╚══════╝╚═╝     ╚══════╝╚═╝   ╚═╝      ╚═╝   ╚══════╝╚═╝  ╚═╝
 * Re-write of @openzeppelin/contracts/finance/PaymentSplitter.sol
 *
 *
 * Edits the release functionality to force release to all addresses added
 * as payees.
 */

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "../utils/Context.sol";

error ZeroBalance();
error AddressAlreadyAssigned();
error InvalidShares();
error SharesToZeroAddress();

/**
 * @title PaymentSplitter
 * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
 * that the Ether will be split in this way, since it is handled transparently by the contract.
 *
 * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
 * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
 * an amount proportional to the percentage of total shares they were assigned.
 *
 * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
 * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
 * function.
 */

abstract contract PaymentSplitter is Context {
    using Counters for Counters.Counter;
    Counters.Counter private _numPayees;

    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(address to, uint256 amount);
    event PaymentReceived(address from, uint256 amount);

    uint256 private _totalShares;
    uint256 private _totalReleased;
    mapping(address => uint256) private _shares;
    mapping(address => uint256) private _released;
    address[] private _payees;

    /**
     * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
     * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
     * reliability of the events, and not the actual splitting of Ether.
     *
     * To learn more about this see the Solidity documentation for
     * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
     * functions].
     *
     *  receive() external payable virtual {
     *    emit PaymentReceived(_msgSender(), msg.value);
     *  }
     *
     *  // Fallback function is called when msg.data is not empty
     *  // Added to PaymentSplitter.sol
     *  fallback() external payable {
     *    emit PaymentReceived(_msgSender(), msg.value);
     *  }
     *
     * receive() and fallback() to be handled at final contract
     */

    /**
     * @dev Getter for the total shares held by payees.
     */
    function totalShares() public view returns (uint256) {
        return _totalShares;
    }

    /**
     * @dev Getter for the total amount of Ether already released.
     */
    function totalReleased() public view returns (uint256) {
        return _totalReleased;
    }

    /**
     * @dev Getter for the amount of shares held by an account.
     */
    function shares(address account) public view returns (uint256) {
        return _shares[account];
    }

    /**
     * @dev Getter for the amount of Ether already released to a payee.
     */
    function released(address account) public view returns (uint256) {
        return _released[account];
    }

    /**
     * @dev Getter for the address of the payee number `index`.
     */
    function payee(uint256 index) public view returns (address) {
        return _payees[index];
    }

    /**
     * @dev Releases contract balance to the addresses that are owed funds.
     */
    function _release() internal {
        if (address(this).balance == 0) revert ZeroBalance();
        for (uint256 i = 0; i < _numPayees.current(); i++) {
            address account = payee(i);
            uint256 totalReceived = address(this).balance + _totalReleased;
            uint256 payment = (totalReceived * _shares[account]) /
                _totalShares -
                _released[account];
            _released[account] = _released[account] + payment;
            _totalReleased = _totalReleased + payment;
            Address.sendValue(payable(account), payment);
            emit PaymentReleased(account, payment);
        }
    }

    /**
     * @dev Add a new payee to the contract.
     * @param account The address of the payee to add.
     * @param shares_ The number of shares to assign the payee.
     */
    function _addPayee(address account, uint256 shares_) internal {
        if (account == address(0)) revert SharesToZeroAddress();
        if (shares_ <= 0) revert InvalidShares();
        if (_shares[account] != 0) revert AddressAlreadyAssigned();
        _numPayees.increment();
        _payees.push(account);
        _shares[account] = shares_;
        _totalShares = _totalShares + shares_;
        emit PayeeAdded(account, shares_);
    }
}

File 6 of 17 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';
import "../../utils/Context.sol";

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

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

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

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

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

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return ownershipOf(tokenId).addr;
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

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

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        if (operator == _msgSender()) revert ApproveToCaller();

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

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

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

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

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

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            isApprovedForAll(prevOwnership.addr, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

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

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            _ownerships[tokenId].addr = prevOwnership.addr;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
            _ownerships[tokenId].burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

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

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

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

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

File 7 of 17 : Context.sol
/***
 *     ██████╗ ██████╗ ███╗   ██╗████████╗███████╗██╗  ██╗████████╗
 *    ██╔════╝██╔═══██╗████╗  ██║╚══██╔══╝██╔════╝╚██╗██╔╝╚══██╔══╝
 *    ██║     ██║   ██║██╔██╗ ██║   ██║   █████╗   ╚███╔╝    ██║   
 *    ██║     ██║   ██║██║╚██╗██║   ██║   ██╔══╝   ██╔██╗    ██║   
 *    ╚██████╗╚██████╔╝██║ ╚████║   ██║   ███████╗██╔╝ ██╗   ██║   
 *     ╚═════╝ ╚═════╝ ╚═╝  ╚═══╝   ╚═╝   ╚══════╝╚═╝  ╚═╝   ╚═╝   
 * Re-write of @openzeppelin/contracts/utils/Context.sol
 * 
 *
 * Upgraded stock contract with _msgValue() and _txOrigin() 
 */

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

pragma solidity ^0.8.0;

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

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

    function _msgValue() internal view virtual returns (uint) {
        return msg.value;
    }

    function _txOrigin() internal view virtual returns (address) {
        return tx.origin;
    }
}

File 8 of 17 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 9 of 17 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 17 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 11 of 17 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

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

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

pragma solidity ^0.8.0;

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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

        (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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 15 of 17 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

File 16 of 17 : 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 17 of 17 : 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
{
  "metadata": {
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"_placeholderURI","type":"string"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"uint256","name":"_mintSize","type":"uint256"},{"internalType":"address","name":"_candyWallet","type":"address"},{"internalType":"bool","name":"_multi","type":"bool"},{"internalType":"address[]","name":"splitAddresses","type":"address[]"},{"internalType":"uint256[]","name":"splitShares","type":"uint256[]"},{"internalType":"bytes32","name":"_whitelistMerkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AddressAlreadyAssigned","type":"error"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"AuxQueryForZeroAddress","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"ExceedsMaxTransactionMints","type":"error"},{"inputs":[],"name":"ExceedsMaxWhitelistMints","type":"error"},{"inputs":[],"name":"InvalidMintSize","type":"error"},{"inputs":[],"name":"InvalidShares","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"MintingActive","type":"error"},{"inputs":[],"name":"MintingNotActive","type":"error"},{"inputs":[],"name":"NonExistentToken","type":"error"},{"inputs":[],"name":"NotEnoughWhitelistSlots","type":"error"},{"inputs":[],"name":"NotWhitelisted","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"SharesToZeroAddress","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"WhitelistNotRequired","type":"error"},{"inputs":[],"name":"WhitelistRequired","type":"error"},{"inputs":[],"name":"WouldExceedMintSize","type":"error"},{"inputs":[],"name":"WrongPayment","type":"error"},{"inputs":[],"name":"ZeroBalance","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_status","type":"bool"}],"name":"PayeesLocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_old","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_new","type":"uint256"}],"name":"UpdatedMaxPublicMints","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_old","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_new","type":"uint256"}],"name":"UpdatedMaxWhitelistMints","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_old","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_new","type":"uint256"}],"name":"UpdatedMintPrice","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_old","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_new","type":"uint256"}],"name":"UpdatedMintSize","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_old","type":"bool"},{"indexed":false,"internalType":"bool","name":"_new","type":"bool"}],"name":"UpdatedMintStatus","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_old","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_new","type":"uint256"}],"name":"UpdatedPresaleEnd","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newRoyaltyAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"newPercentage","type":"uint256"}],"name":"UpdatedRoyalties","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"_old","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"_new","type":"bytes32"}],"name":"UpdatedWhitelist","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_old","type":"bool"},{"indexed":false,"internalType":"bool","name":"_new","type":"bool"}],"name":"UpdatedWhitelistStatus","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"acceptOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"declineOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMaxMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"pushOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMaxPublicMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_amount","type":"uint64"}],"name":"setMaxWhitelistMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newFee","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMintSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyAddress","type":"address"},{"internalType":"uint256","name":"_percentage","type":"uint256"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistMaxMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint64","name":"amount","type":"uint64"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b50604051620034e2380380620034e28339810160408190526200003491620007ce565b89518a908a906200004d90600290602085019062000518565b5080516200006390600390602084019062000518565b505060016000555062000076336200017e565b87516200008b9060179060208b019062000518565b50601a80546001600160401b0319166002908117909155601455601587905560168690558015620000c5576019819055620000c5620001d0565b620000d3856101f4620002a9565b83620000f757620000e73361251c620002a9565b620000f162000313565b6200016e565b60005b835181101562000163576200014e8482815181106200011d576200011d620008f3565b60200260200101518483815181106200013a576200013a620008f3565b6020026020010151620002a960201b60201c565b806200015a816200091f565b915050620000fa565b506200016e62000313565b5050505050505050505062000995565b601080546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8934ce4adea8d9ce0d714d2c22b86790e41b7731c84b926fbbdc1d40ff6533c990600090a35050565b6010546001600160a01b03163314620002305760405162461bcd60e51b815260206004820152601e60248201527f4f776e65723a2063616c6c6572206973206e6f7420746865204f776e6572000060448201526064015b60405180910390fd5b60185460ff16156200025557604051633c664d6760e01b815260040160405180910390fd5b60188054600160ff19821681179092556040805160ff909216801515835260208301939093527f5045eea7e64af4d857464a8347a5bbce05a99fe1e1f08a3f1ebbc61aa782b21b910160405180910390a150565b601354610100900460ff1615620003035760405162461bcd60e51b815260206004820152601a60248201527f43616e206e6f74207365742c20706179656573206c6f636b6564000000000000604482015260640162000227565b6200030f8282620003c3565b5050565b601354610100900460ff16156200036d5760405162461bcd60e51b815260206004820152601a60248201527f43616e206e6f74207365742c20706179656573206c6f636b6564000000000000604482015260640162000227565b6013805461ff001916610100908117918290556040517f07fe2f03bd4fa149b9d8918fb57a6e2a3b1fbbb29a4d4536df7e6cd9edf02ed892620003b992900460ff161515815260200190565b60405180910390a1565b6001600160a01b038216620003eb5760405163ab38716960e01b815260040160405180910390fd5b600081116200040d57604051636edcc52360e01b815260040160405180910390fd5b6001600160a01b0382166000908152600d602052604090205415620004455760405163b3f5cfa560e01b815260040160405180910390fd5b6200045c600a6200050f60201b620017a91760201c565b600f8054600181019091557f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac8020180546001600160a01b0319166001600160a01b0384169081179091556000908152600d60205260409020819055600b54620004c69082906200093d565b600b55604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b80546001019055565b828054620005269062000958565b90600052602060002090601f0160209004810192826200054a576000855562000595565b82601f106200056557805160ff191683800117855562000595565b8280016001018555821562000595579182015b828111156200059557825182559160200191906001019062000578565b50620005a3929150620005a7565b5090565b5b80821115620005a35760008155600101620005a8565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620005ff57620005ff620005be565b604052919050565b600082601f8301126200061957600080fd5b81516001600160401b03811115620006355762000635620005be565b60206200064b601f8301601f19168201620005d4565b82815285828487010111156200066057600080fd5b60005b838110156200068057858101830151828201840152820162000663565b83811115620006925760008385840101525b5095945050505050565b80516001600160a01b0381168114620006b457600080fd5b919050565b80518015158114620006b457600080fd5b60006001600160401b03821115620006e657620006e6620005be565b5060051b60200190565b600082601f8301126200070257600080fd5b815160206200071b6200071583620006ca565b620005d4565b82815260059290921b840181019181810190868411156200073b57600080fd5b8286015b84811015620007615762000753816200069c565b83529183019183016200073f565b509695505050505050565b600082601f8301126200077e57600080fd5b81516020620007916200071583620006ca565b82815260059290921b84018101918181019086841115620007b157600080fd5b8286015b84811015620007615780518352918301918301620007b5565b6000806000806000806000806000806101408b8d031215620007ef57600080fd5b8a516001600160401b03808211156200080757600080fd5b620008158e838f0162000607565b9b5060208d01519150808211156200082c57600080fd5b6200083a8e838f0162000607565b9a5060408d01519150808211156200085157600080fd5b6200085f8e838f0162000607565b995060608d0151985060808d015197506200087d60a08e016200069c565b96506200088d60c08e01620006b9565b955060e08d0151915080821115620008a457600080fd5b620008b28e838f01620006f0565b94506101008d0151915080821115620008ca57600080fd5b50620008d98d828e016200076c565b9250506101208b015190509295989b9194979a5092959850565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060001982141562000936576200093662000909565b5060010190565b6000821982111562000953576200095362000909565b500190565b600181811c908216806200096d57607f821691505b602082108114156200098f57634e487b7160e01b600052602260045260246000fd5b50919050565b612b3d80620009a56000396000f3fe6080604052600436106102975760003560e01c80638da5cb5b1161015a578063bd32fb66116100c1578063e33b7de31161007a578063e33b7de314610811578063e797ec1b14610826578063e985e9c51461083b578063ebbc496514610884578063f4a0a52814610899578063fbee8121146108b9576102e2565b8063bd32fb6614610751578063c87b56dd14610771578063cdfb2b4e14610791578063ce7c2ac2146107a6578063d6b0f484146107dc578063e2e784d5146107f1576102e2565b8063a22cb46511610113578063a22cb465146106a6578063a93fef3b146106c6578063aa98e0c6146106e6578063ac5a7d5c146106fc578063b35c60681461071c578063b88d4fde14610731576102e2565b80638da5cb5b146105ed5780639342e6e41461060b57806395d89b411461062b5780639852595c146106405780639da3f8fd146106765780639ddf7ad31461068e576102e2565b806342842e0e116101fe5780635a64ad95116101b75780635a64ad951461054e5780636352211e1461056357806370a08231146105835780637e5cd5c1146105a357806386d1a69f146105b85780638b83209b146105cd576102e2565b806342842e0e146104a457806345947076146104c457806345c0f533146104d95780634a886ad2146104ee5780634fb2e45d1461050e57806355f804b31461052e576102e2565b80631b004d25116102505780631b004d25146103f557806323b872dd1461040857806328c23a45146104285780632a55205a1461043d5780632db115441461047c5780633a98ef391461048f576102e2565b806301ffc9a71461030957806306fdde031461033e578063081812fc14610360578063095ea7b31461039857806312065fe0146103ba57806318160ddd146103d7576102e2565b366102e2577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770335b604080516001600160a01b039290921682523460208301528051918290030190a1005b7f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770336102bf565b34801561031557600080fd5b5061032961032436600461249b565b6108d7565b60405190151581526020015b60405180910390f35b34801561034a57600080fd5b50610353610938565b6040516103359190612510565b34801561036c57600080fd5b5061038061037b366004612523565b6109ca565b6040516001600160a01b039091168152602001610335565b3480156103a457600080fd5b506103b86103b3366004612558565b610a0e565b005b3480156103c657600080fd5b50475b604051908152602001610335565b3480156103e357600080fd5b506103c9600154600054036000190190565b6103b8610403366004612599565b610a9c565b34801561041457600080fd5b506103b861042336600461261c565b610c8d565b34801561043457600080fd5b506103b8610c98565b34801561044957600080fd5b5061045d610458366004612658565b610cd7565b604080516001600160a01b039093168352602083019190915201610335565b6103b861048a366004612523565b610d0c565b34801561049b57600080fd5b50600b546103c9565b3480156104b057600080fd5b506103b86104bf36600461261c565b610dee565b3480156104d057600080fd5b506014546103c9565b3480156104e557600080fd5b506016546103c9565b3480156104fa57600080fd5b506103b8610509366004612523565b610e09565b34801561051a57600080fd5b506103b861052936600461267a565b610eaa565b34801561053a57600080fd5b506103b8610549366004612720565b610f1c565b34801561055a57600080fd5b506015546103c9565b34801561056f57600080fd5b5061038061057e366004612523565b610f5d565b34801561058f57600080fd5b506103c961059e36600461267a565b610f6f565b3480156105af57600080fd5b506103b8610fbd565b3480156105c457600080fd5b506103b861105b565b3480156105d957600080fd5b506103806105e8366004612523565b61108d565b3480156105f957600080fd5b506010546001600160a01b0316610380565b34801561061757600080fd5b506103b8610626366004612768565b6110bd565b34801561063757600080fd5b5061035361114a565b34801561064c57600080fd5b506103c961065b36600461267a565b6001600160a01b03166000908152600e602052604090205490565b34801561068257600080fd5b5060135460ff16610329565b34801561069a57600080fd5b5060185460ff16610329565b3480156106b257600080fd5b506103b86106c1366004612783565b611159565b3480156106d257600080fd5b506103b86106e1366004612523565b6111ef565b3480156106f257600080fd5b506103c960195481565b34801561070857600080fd5b506103b861071736600461267a565b611263565b34801561072857600080fd5b506103b86112bc565b34801561073d57600080fd5b506103b861074c3660046127bf565b6112f8565b34801561075d57600080fd5b506103b861076c366004612523565b611343565b34801561077d57600080fd5b5061035361078c366004612523565b6113ab565b34801561079d57600080fd5b506103b86114aa565b3480156107b257600080fd5b506103c96107c136600461267a565b6001600160a01b03166000908152600d602052604090205490565b3480156107e857600080fd5b506103b8611546565b3480156107fd57600080fd5b506103b861080c366004612558565b6115dd565b34801561081d57600080fd5b50600c546103c9565b34801561083257600080fd5b506103b8611666565b34801561084757600080fd5b5061032961085636600461283a565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561089057600080fd5b506103b8611702565b3480156108a557600080fd5b506103b86108b4366004612523565b611741565b3480156108c557600080fd5b50601a546001600160401b03166103c9565b60006001600160e01b0319821663152a902d60e11b148061090857506001600160e01b0319821663040ec1df60e01b145b8061092357506001600160e01b03198216630f37a08960e11b145b806109325750610932826117b2565b92915050565b60606002805461094790612864565b80601f016020809104026020016040519081016040528092919081815260200182805461097390612864565b80156109c05780601f10610995576101008083540402835291602001916109c0565b820191906000526020600020905b8154815290600101906020018083116109a357829003601f168201915b5050505050905090565b60006109d582611802565b6109f2576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610a1982610f5d565b9050806001600160a01b0316836001600160a01b03161415610a4e5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610a6e5750610a6c8133610856565b155b15610a8c576040516367d9dca160e11b815260040160405180910390fd5b610a9783838361183b565b505050565b60135460ff16610abf576040516373020e4b60e01b815260040160405180910390fd5b60185460ff16610ae2576040516341a334cd60e11b815260040160405180910390fd5b806001600160401b0316601554610af991906128b5565b3414610b185760405163788a686f60e01b815260040160405180910390fd5b601654816001600160401b0316610b36600154600054036000190190565b610b4091906128d4565b1115610b5f57604051633b1e37bd60e21b815260040160405180910390fd5b601a546001600160401b039081169082161115610b8f57604051630e7b98a560e11b815260040160405180910390fd5b610c04838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506019546040516bffffffffffffffffffffffff193360601b166020820152909250603401905060405160208183030381529060405280519060200120611897565b610c2157604051630b094f2760e31b815260040160405180910390fd5b600081610c2d336118ad565b610c3791906128ec565b601a549091506001600160401b039081169082161115610c6a57604051634026a7cf60e11b815260040160405180910390fd5b610c7d33836001600160401b0316611902565b610c87338261191c565b50505050565b610a97838383611982565b6010546001600160a01b03163314610ccb5760405162461bcd60e51b8152600401610cc290612917565b60405180910390fd5b610cd56000611b96565b565b6008546009546001600160a01b0390911690600090606490610cf990856128b5565b610d039190612964565b90509250929050565b60185460ff1615610d3057604051633c664d6760e01b815260040160405180910390fd5b60135460ff16610d53576040516373020e4b60e01b815260040160405180910390fd5b80601554610d6191906128b5565b3414610d805760405163788a686f60e01b815260040160405180910390fd5b60165481610d95600154600054036000190190565b610d9f91906128d4565b1115610dbe57604051633b1e37bd60e21b815260040160405180910390fd5b601454811115610de157604051632193c2c560e11b815260040160405180910390fd5b610deb3382611902565b50565b610a97838383604051806020016040528060008152506112f8565b6010546001600160a01b03163314610e335760405162461bcd60e51b8152600401610cc290612917565b610e44600154600054036000190190565b811015610e645760405163351b51d760e11b815260040160405180910390fd5b601680549082905560408051828152602081018490527f8d9cfb0dea274a0a02ddad1fc52c90100a28462c6421daa25fb101c740cf585191015b60405180910390a15050565b6010546001600160a01b03163314610ed45760405162461bcd60e51b8152600401610cc290612917565b6001600160a01b038116610efa5760405162461bcd60e51b8152600401610cc290612978565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6010546001600160a01b03163314610f465760405162461bcd60e51b8152600401610cc290612917565b8051610f599060129060208401906123ec565b5050565b6000610f6882611be8565b5192915050565b60006001600160a01b038216610f98576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6010546001600160a01b03163314610fe75760405162461bcd60e51b8152600401610cc290612917565b60135460ff1661100a576040516373020e4b60e01b815260040160405180910390fd5b6013805460ff1981169091556040805160ff909216801515835260006020840152917f1ab1d89be1fd19dcd21c73f1d6e927e3f148097e8691bbba925bd85e34e1f0e391015b60405180910390a150565b6010546001600160a01b031633146110855760405162461bcd60e51b8152600401610cc290612917565b610cd5611d0f565b6000600f82815481106110a2576110a26129bc565b6000918252602090912001546001600160a01b031692915050565b6010546001600160a01b031633146110e75760405162461bcd60e51b8152600401610cc290612917565b601a80546001600160401b0383811667ffffffffffffffff19831681179093556040519116917f3851f4a3ce1c8adce98754722ff6f348f4714fd4850d154c71045447d304246891610e9e918482526001600160401b0316602082015260400190565b60606003805461094790612864565b6001600160a01b0382163314156111835760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6010546001600160a01b031633146112195760405162461bcd60e51b8152600401610cc290612917565b6014805490829055601a54604080518381526001600160401b0390921660208301527f439b8b0b530562f8413db2651ab1e8dcae2719da0a2d2d3d3c068ca25c29969f9101610e9e565b6010546001600160a01b0316331461128d5760405162461bcd60e51b8152600401610cc290612917565b6001600160a01b0381166112b35760405162461bcd60e51b8152600401610cc290612978565b610deb81611b96565b6011546001600160a01b031633146112e65760405162461bcd60e51b8152600401610cc2906129d2565b601180546001600160a01b0319169055565b611303848484611982565b6001600160a01b0383163b15158015611325575061132384848484611e55565b155b15610c87576040516368d2bf6b60e11b815260040160405180910390fd5b6010546001600160a01b0316331461136d5760405162461bcd60e51b8152600401610cc290612917565b601980549082905560408051828152602081018490527f1e5d0194158313989f8568b586deb425fcd9a6b46a4e6e2c43f9becc480c6bc09101610e9e565b60606113b682611802565b6113d357604051634a1850bf60e11b815260040160405180910390fd5b60006113dd611f3e565b9050600081511161147857601780546113f590612864565b80601f016020809104026020016040519081016040528092919081815260200182805461142190612864565b801561146e5780601f106114435761010080835404028352916020019161146e565b820191906000526020600020905b81548152906001019060200180831161145157829003601f168201915b50505050506114a3565b8061148284611f4d565b604051602001611493929190612a19565b6040516020818303038152906040525b9392505050565b6010546001600160a01b031633146114d45760405162461bcd60e51b8152600401610cc290612917565b60185460ff16156114f857604051633c664d6760e01b815260040160405180910390fd5b60188054600160ff19821681179092556040805160ff909216801515835260208301939093527f5045eea7e64af4d857464a8347a5bbce05a99fe1e1f08a3f1ebbc61aa782b21b9101611050565b6010546001600160a01b031633146115705760405162461bcd60e51b8152600401610cc290612917565b60185460ff16611593576040516341a334cd60e11b815260040160405180910390fd5b6018805460ff1981169091556040805160ff909216801515835260006020840152917f5045eea7e64af4d857464a8347a5bbce05a99fe1e1f08a3f1ebbc61aa782b21b9101611050565b6010546001600160a01b031633146116075760405162461bcd60e51b8152600401610cc290612917565b600880546001600160a01b0319166001600160a01b0384161790556009819055604080516001600160a01b0384168152602081018390527f37b261884b0718cab93d62e6fe3bef710b5a1da58190a859f842d6e8b2b0b70b9101610e9e565b6010546001600160a01b031633146116905760405162461bcd60e51b8152600401610cc290612917565b60135460ff16156116b457604051633f19d52960e21b815260040160405180910390fd5b60138054600160ff19821681179092556040805160ff909216801515835260208301939093527f1ab1d89be1fd19dcd21c73f1d6e927e3f148097e8691bbba925bd85e34e1f0e39101611050565b6011546001600160a01b0316331461172c5760405162461bcd60e51b8152600401610cc2906129d2565b601154610cd5906001600160a01b0316611b96565b6010546001600160a01b0316331461176b5760405162461bcd60e51b8152600401610cc290612917565b601580549082905560408051828152602081018490527f79f142b9bcccc417646eead59c29526ac8437fccd19a5368532b2648349adce19101610e9e565b80546001019055565b60006001600160e01b031982166380ac58cd60e01b14806117e357506001600160e01b03198216635b5e139f60e01b145b8061093257506301ffc9a760e01b6001600160e01b0319831614610932565b600081600111158015611816575060005482105b8015610932575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000826118a4858461204a565b14949350505050565b60006001600160a01b0382166118d65760405163561b93dd60e11b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160c01b90046001600160401b031690565b610f598282604051806020016040528060008152506120f6565b6001600160a01b0382166119435760405163561b93dd60e11b815260040160405180910390fd5b6001600160a01b03909116600090815260056020526040902080546001600160401b03909216600160c01b026001600160c01b03909216919091179055565b600061198d82611be8565b80519091506000906001600160a01b0316336001600160a01b031614806119bb575081516119bb9033610856565b806119d65750336119cb846109ca565b6001600160a01b0316145b9050806119f657604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614611a2b5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416611a5257604051633a954ecd60e21b815260040160405180910390fd5b611a62600084846000015161183b565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116611b4c57600054811015611b4c57825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b601080546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8934ce4adea8d9ce0d714d2c22b86790e41b7731c84b926fbbdc1d40ff6533c990600090a35050565b60408051606081018252600080825260208201819052918101919091528180600111158015611c18575060005481105b15611cf657600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611cf45780516001600160a01b031615611c8b579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611cef579392505050565b611c8b565b505b604051636f96cda160e11b815260040160405180910390fd5b47611d2d5760405163334ab3f560e11b815260040160405180910390fd5b60005b600a54811015610deb576000611d458261108d565b90506000600c5447611d5791906128d4565b6001600160a01b0383166000908152600e6020908152604080832054600b54600d909352908320549394509192611d8e90856128b5565b611d989190612964565b611da29190612a67565b6001600160a01b0384166000908152600e6020526040902054909150611dc99082906128d4565b6001600160a01b0384166000908152600e6020526040902055600c54611df09082906128d4565b600c55611dfd8382612103565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050508080611e4d90612a7e565b915050611d30565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611e8a903390899088908890600401612a99565b6020604051808303816000875af1925050508015611ec5575060408051601f3d908101601f19168201909252611ec291810190612ad6565b60015b611f20573d808015611ef3576040519150601f19603f3d011682016040523d82523d6000602084013e611ef8565b606091505b508051611f18576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606012805461094790612864565b606081611f715750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f9b5780611f8581612a7e565b9150611f949050600a83612964565b9150611f75565b6000816001600160401b03811115611fb557611fb5612695565b6040519080825280601f01601f191660200182016040528015611fdf576020820181803683370190505b5090505b8415611f3657611ff4600183612a67565b9150612001600a86612af3565b61200c9060306128d4565b60f81b818381518110612021576120216129bc565b60200101906001600160f81b031916908160001a905350612043600a86612964565b9450611fe3565b600081815b84518110156120ee57600085828151811061206c5761206c6129bc565b602002602001015190508083116120ae5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506120db565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806120e681612a7e565b91505061204f565b509392505050565b610a97838383600161221c565b804710156121535760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610cc2565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146121a0576040519150601f19603f3d011682016040523d82523d6000602084013e6121a5565b606091505b5050905080610a975760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610cc2565b6000546001600160a01b03851661224557604051622e076360e81b815260040160405180910390fd5b836122635760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561231457506001600160a01b0387163b15155b1561239d575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46123656000888480600101955088611e55565b612382576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561231a57826000541461239857600080fd5b6123e3565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082141561239e575b50600055611b8f565b8280546123f890612864565b90600052602060002090601f01602090048101928261241a5760008555612460565b82601f1061243357805160ff1916838001178555612460565b82800160010185558215612460579182015b82811115612460578251825591602001919060010190612445565b5061246c929150612470565b5090565b5b8082111561246c5760008155600101612471565b6001600160e01b031981168114610deb57600080fd5b6000602082840312156124ad57600080fd5b81356114a381612485565b60005b838110156124d35781810151838201526020016124bb565b83811115610c875750506000910152565b600081518084526124fc8160208601602086016124b8565b601f01601f19169290920160200192915050565b6020815260006114a360208301846124e4565b60006020828403121561253557600080fd5b5035919050565b80356001600160a01b038116811461255357600080fd5b919050565b6000806040838503121561256b57600080fd5b6125748361253c565b946020939093013593505050565b80356001600160401b038116811461255357600080fd5b6000806000604084860312156125ae57600080fd5b83356001600160401b03808211156125c557600080fd5b818601915086601f8301126125d957600080fd5b8135818111156125e857600080fd5b8760208260051b85010111156125fd57600080fd5b6020928301955093506126139186019050612582565b90509250925092565b60008060006060848603121561263157600080fd5b61263a8461253c565b92506126486020850161253c565b9150604084013590509250925092565b6000806040838503121561266b57600080fd5b50508035926020909101359150565b60006020828403121561268c57600080fd5b6114a38261253c565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b03808411156126c5576126c5612695565b604051601f8501601f19908116603f011681019082821181831017156126ed576126ed612695565b8160405280935085815286868601111561270657600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561273257600080fd5b81356001600160401b0381111561274857600080fd5b8201601f8101841361275957600080fd5b611f36848235602084016126ab565b60006020828403121561277a57600080fd5b6114a382612582565b6000806040838503121561279657600080fd5b61279f8361253c565b9150602083013580151581146127b457600080fd5b809150509250929050565b600080600080608085870312156127d557600080fd5b6127de8561253c565b93506127ec6020860161253c565b92506040850135915060608501356001600160401b0381111561280e57600080fd5b8501601f8101871361281f57600080fd5b61282e878235602084016126ab565b91505092959194509250565b6000806040838503121561284d57600080fd5b6128568361253c565b9150610d036020840161253c565b600181811c9082168061287857607f821691505b6020821081141561289957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156128cf576128cf61289f565b500290565b600082198211156128e7576128e761289f565b500190565b60006001600160401b0380831681851680830382111561290e5761290e61289f565b01949350505050565b6020808252601e908201527f4f776e65723a2063616c6c6572206973206e6f7420746865204f776e65720000604082015260600190565b634e487b7160e01b600052601260045260246000fd5b6000826129735761297361294e565b500490565b60208082526024908201527f4f776e65723a206e6577204f776e657220697320746865207a65726f206164646040820152637265737360e01b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60208082526027908201527f4e6577204f776e65723a206e6577204f776e657220697320746865206f6e6c796040820152661031b0b63632b960c91b606082015260800190565b60008351612a2b8184602088016124b8565b602f60f81b9083019081528351612a498160018401602088016124b8565b64173539b7b760d91b60019290910191820152600601949350505050565b600082821015612a7957612a7961289f565b500390565b6000600019821415612a9257612a9261289f565b5060010190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612acc908301846124e4565b9695505050505050565b600060208284031215612ae857600080fd5b81516114a381612485565b600082612b0257612b0261294e565b50069056fea2646970667358221220d7d189249e666cf9c55b79763d5f2abd5e6559118004372a9244f9cd77b61b8064736f6c634300080b00330000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000038d7ea4c68000000000000000000000000000000000000000000000000000000000000000270f000000000000000000000000d52ed960e6bf7b2cda61980fc286772159e3d2660000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000002600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c43616e647943726561746f720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000543414e4459000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d597134686b566b594165595841736e63514c754a3633427441543634455173755951754453714d46344858690000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102975760003560e01c80638da5cb5b1161015a578063bd32fb66116100c1578063e33b7de31161007a578063e33b7de314610811578063e797ec1b14610826578063e985e9c51461083b578063ebbc496514610884578063f4a0a52814610899578063fbee8121146108b9576102e2565b8063bd32fb6614610751578063c87b56dd14610771578063cdfb2b4e14610791578063ce7c2ac2146107a6578063d6b0f484146107dc578063e2e784d5146107f1576102e2565b8063a22cb46511610113578063a22cb465146106a6578063a93fef3b146106c6578063aa98e0c6146106e6578063ac5a7d5c146106fc578063b35c60681461071c578063b88d4fde14610731576102e2565b80638da5cb5b146105ed5780639342e6e41461060b57806395d89b411461062b5780639852595c146106405780639da3f8fd146106765780639ddf7ad31461068e576102e2565b806342842e0e116101fe5780635a64ad95116101b75780635a64ad951461054e5780636352211e1461056357806370a08231146105835780637e5cd5c1146105a357806386d1a69f146105b85780638b83209b146105cd576102e2565b806342842e0e146104a457806345947076146104c457806345c0f533146104d95780634a886ad2146104ee5780634fb2e45d1461050e57806355f804b31461052e576102e2565b80631b004d25116102505780631b004d25146103f557806323b872dd1461040857806328c23a45146104285780632a55205a1461043d5780632db115441461047c5780633a98ef391461048f576102e2565b806301ffc9a71461030957806306fdde031461033e578063081812fc14610360578063095ea7b31461039857806312065fe0146103ba57806318160ddd146103d7576102e2565b366102e2577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770335b604080516001600160a01b039290921682523460208301528051918290030190a1005b7f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770336102bf565b34801561031557600080fd5b5061032961032436600461249b565b6108d7565b60405190151581526020015b60405180910390f35b34801561034a57600080fd5b50610353610938565b6040516103359190612510565b34801561036c57600080fd5b5061038061037b366004612523565b6109ca565b6040516001600160a01b039091168152602001610335565b3480156103a457600080fd5b506103b86103b3366004612558565b610a0e565b005b3480156103c657600080fd5b50475b604051908152602001610335565b3480156103e357600080fd5b506103c9600154600054036000190190565b6103b8610403366004612599565b610a9c565b34801561041457600080fd5b506103b861042336600461261c565b610c8d565b34801561043457600080fd5b506103b8610c98565b34801561044957600080fd5b5061045d610458366004612658565b610cd7565b604080516001600160a01b039093168352602083019190915201610335565b6103b861048a366004612523565b610d0c565b34801561049b57600080fd5b50600b546103c9565b3480156104b057600080fd5b506103b86104bf36600461261c565b610dee565b3480156104d057600080fd5b506014546103c9565b3480156104e557600080fd5b506016546103c9565b3480156104fa57600080fd5b506103b8610509366004612523565b610e09565b34801561051a57600080fd5b506103b861052936600461267a565b610eaa565b34801561053a57600080fd5b506103b8610549366004612720565b610f1c565b34801561055a57600080fd5b506015546103c9565b34801561056f57600080fd5b5061038061057e366004612523565b610f5d565b34801561058f57600080fd5b506103c961059e36600461267a565b610f6f565b3480156105af57600080fd5b506103b8610fbd565b3480156105c457600080fd5b506103b861105b565b3480156105d957600080fd5b506103806105e8366004612523565b61108d565b3480156105f957600080fd5b506010546001600160a01b0316610380565b34801561061757600080fd5b506103b8610626366004612768565b6110bd565b34801561063757600080fd5b5061035361114a565b34801561064c57600080fd5b506103c961065b36600461267a565b6001600160a01b03166000908152600e602052604090205490565b34801561068257600080fd5b5060135460ff16610329565b34801561069a57600080fd5b5060185460ff16610329565b3480156106b257600080fd5b506103b86106c1366004612783565b611159565b3480156106d257600080fd5b506103b86106e1366004612523565b6111ef565b3480156106f257600080fd5b506103c960195481565b34801561070857600080fd5b506103b861071736600461267a565b611263565b34801561072857600080fd5b506103b86112bc565b34801561073d57600080fd5b506103b861074c3660046127bf565b6112f8565b34801561075d57600080fd5b506103b861076c366004612523565b611343565b34801561077d57600080fd5b5061035361078c366004612523565b6113ab565b34801561079d57600080fd5b506103b86114aa565b3480156107b257600080fd5b506103c96107c136600461267a565b6001600160a01b03166000908152600d602052604090205490565b3480156107e857600080fd5b506103b8611546565b3480156107fd57600080fd5b506103b861080c366004612558565b6115dd565b34801561081d57600080fd5b50600c546103c9565b34801561083257600080fd5b506103b8611666565b34801561084757600080fd5b5061032961085636600461283a565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561089057600080fd5b506103b8611702565b3480156108a557600080fd5b506103b86108b4366004612523565b611741565b3480156108c557600080fd5b50601a546001600160401b03166103c9565b60006001600160e01b0319821663152a902d60e11b148061090857506001600160e01b0319821663040ec1df60e01b145b8061092357506001600160e01b03198216630f37a08960e11b145b806109325750610932826117b2565b92915050565b60606002805461094790612864565b80601f016020809104026020016040519081016040528092919081815260200182805461097390612864565b80156109c05780601f10610995576101008083540402835291602001916109c0565b820191906000526020600020905b8154815290600101906020018083116109a357829003601f168201915b5050505050905090565b60006109d582611802565b6109f2576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610a1982610f5d565b9050806001600160a01b0316836001600160a01b03161415610a4e5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610a6e5750610a6c8133610856565b155b15610a8c576040516367d9dca160e11b815260040160405180910390fd5b610a9783838361183b565b505050565b60135460ff16610abf576040516373020e4b60e01b815260040160405180910390fd5b60185460ff16610ae2576040516341a334cd60e11b815260040160405180910390fd5b806001600160401b0316601554610af991906128b5565b3414610b185760405163788a686f60e01b815260040160405180910390fd5b601654816001600160401b0316610b36600154600054036000190190565b610b4091906128d4565b1115610b5f57604051633b1e37bd60e21b815260040160405180910390fd5b601a546001600160401b039081169082161115610b8f57604051630e7b98a560e11b815260040160405180910390fd5b610c04838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506019546040516bffffffffffffffffffffffff193360601b166020820152909250603401905060405160208183030381529060405280519060200120611897565b610c2157604051630b094f2760e31b815260040160405180910390fd5b600081610c2d336118ad565b610c3791906128ec565b601a549091506001600160401b039081169082161115610c6a57604051634026a7cf60e11b815260040160405180910390fd5b610c7d33836001600160401b0316611902565b610c87338261191c565b50505050565b610a97838383611982565b6010546001600160a01b03163314610ccb5760405162461bcd60e51b8152600401610cc290612917565b60405180910390fd5b610cd56000611b96565b565b6008546009546001600160a01b0390911690600090606490610cf990856128b5565b610d039190612964565b90509250929050565b60185460ff1615610d3057604051633c664d6760e01b815260040160405180910390fd5b60135460ff16610d53576040516373020e4b60e01b815260040160405180910390fd5b80601554610d6191906128b5565b3414610d805760405163788a686f60e01b815260040160405180910390fd5b60165481610d95600154600054036000190190565b610d9f91906128d4565b1115610dbe57604051633b1e37bd60e21b815260040160405180910390fd5b601454811115610de157604051632193c2c560e11b815260040160405180910390fd5b610deb3382611902565b50565b610a97838383604051806020016040528060008152506112f8565b6010546001600160a01b03163314610e335760405162461bcd60e51b8152600401610cc290612917565b610e44600154600054036000190190565b811015610e645760405163351b51d760e11b815260040160405180910390fd5b601680549082905560408051828152602081018490527f8d9cfb0dea274a0a02ddad1fc52c90100a28462c6421daa25fb101c740cf585191015b60405180910390a15050565b6010546001600160a01b03163314610ed45760405162461bcd60e51b8152600401610cc290612917565b6001600160a01b038116610efa5760405162461bcd60e51b8152600401610cc290612978565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6010546001600160a01b03163314610f465760405162461bcd60e51b8152600401610cc290612917565b8051610f599060129060208401906123ec565b5050565b6000610f6882611be8565b5192915050565b60006001600160a01b038216610f98576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6010546001600160a01b03163314610fe75760405162461bcd60e51b8152600401610cc290612917565b60135460ff1661100a576040516373020e4b60e01b815260040160405180910390fd5b6013805460ff1981169091556040805160ff909216801515835260006020840152917f1ab1d89be1fd19dcd21c73f1d6e927e3f148097e8691bbba925bd85e34e1f0e391015b60405180910390a150565b6010546001600160a01b031633146110855760405162461bcd60e51b8152600401610cc290612917565b610cd5611d0f565b6000600f82815481106110a2576110a26129bc565b6000918252602090912001546001600160a01b031692915050565b6010546001600160a01b031633146110e75760405162461bcd60e51b8152600401610cc290612917565b601a80546001600160401b0383811667ffffffffffffffff19831681179093556040519116917f3851f4a3ce1c8adce98754722ff6f348f4714fd4850d154c71045447d304246891610e9e918482526001600160401b0316602082015260400190565b60606003805461094790612864565b6001600160a01b0382163314156111835760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6010546001600160a01b031633146112195760405162461bcd60e51b8152600401610cc290612917565b6014805490829055601a54604080518381526001600160401b0390921660208301527f439b8b0b530562f8413db2651ab1e8dcae2719da0a2d2d3d3c068ca25c29969f9101610e9e565b6010546001600160a01b0316331461128d5760405162461bcd60e51b8152600401610cc290612917565b6001600160a01b0381166112b35760405162461bcd60e51b8152600401610cc290612978565b610deb81611b96565b6011546001600160a01b031633146112e65760405162461bcd60e51b8152600401610cc2906129d2565b601180546001600160a01b0319169055565b611303848484611982565b6001600160a01b0383163b15158015611325575061132384848484611e55565b155b15610c87576040516368d2bf6b60e11b815260040160405180910390fd5b6010546001600160a01b0316331461136d5760405162461bcd60e51b8152600401610cc290612917565b601980549082905560408051828152602081018490527f1e5d0194158313989f8568b586deb425fcd9a6b46a4e6e2c43f9becc480c6bc09101610e9e565b60606113b682611802565b6113d357604051634a1850bf60e11b815260040160405180910390fd5b60006113dd611f3e565b9050600081511161147857601780546113f590612864565b80601f016020809104026020016040519081016040528092919081815260200182805461142190612864565b801561146e5780601f106114435761010080835404028352916020019161146e565b820191906000526020600020905b81548152906001019060200180831161145157829003601f168201915b50505050506114a3565b8061148284611f4d565b604051602001611493929190612a19565b6040516020818303038152906040525b9392505050565b6010546001600160a01b031633146114d45760405162461bcd60e51b8152600401610cc290612917565b60185460ff16156114f857604051633c664d6760e01b815260040160405180910390fd5b60188054600160ff19821681179092556040805160ff909216801515835260208301939093527f5045eea7e64af4d857464a8347a5bbce05a99fe1e1f08a3f1ebbc61aa782b21b9101611050565b6010546001600160a01b031633146115705760405162461bcd60e51b8152600401610cc290612917565b60185460ff16611593576040516341a334cd60e11b815260040160405180910390fd5b6018805460ff1981169091556040805160ff909216801515835260006020840152917f5045eea7e64af4d857464a8347a5bbce05a99fe1e1f08a3f1ebbc61aa782b21b9101611050565b6010546001600160a01b031633146116075760405162461bcd60e51b8152600401610cc290612917565b600880546001600160a01b0319166001600160a01b0384161790556009819055604080516001600160a01b0384168152602081018390527f37b261884b0718cab93d62e6fe3bef710b5a1da58190a859f842d6e8b2b0b70b9101610e9e565b6010546001600160a01b031633146116905760405162461bcd60e51b8152600401610cc290612917565b60135460ff16156116b457604051633f19d52960e21b815260040160405180910390fd5b60138054600160ff19821681179092556040805160ff909216801515835260208301939093527f1ab1d89be1fd19dcd21c73f1d6e927e3f148097e8691bbba925bd85e34e1f0e39101611050565b6011546001600160a01b0316331461172c5760405162461bcd60e51b8152600401610cc2906129d2565b601154610cd5906001600160a01b0316611b96565b6010546001600160a01b0316331461176b5760405162461bcd60e51b8152600401610cc290612917565b601580549082905560408051828152602081018490527f79f142b9bcccc417646eead59c29526ac8437fccd19a5368532b2648349adce19101610e9e565b80546001019055565b60006001600160e01b031982166380ac58cd60e01b14806117e357506001600160e01b03198216635b5e139f60e01b145b8061093257506301ffc9a760e01b6001600160e01b0319831614610932565b600081600111158015611816575060005482105b8015610932575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000826118a4858461204a565b14949350505050565b60006001600160a01b0382166118d65760405163561b93dd60e11b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160c01b90046001600160401b031690565b610f598282604051806020016040528060008152506120f6565b6001600160a01b0382166119435760405163561b93dd60e11b815260040160405180910390fd5b6001600160a01b03909116600090815260056020526040902080546001600160401b03909216600160c01b026001600160c01b03909216919091179055565b600061198d82611be8565b80519091506000906001600160a01b0316336001600160a01b031614806119bb575081516119bb9033610856565b806119d65750336119cb846109ca565b6001600160a01b0316145b9050806119f657604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614611a2b5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416611a5257604051633a954ecd60e21b815260040160405180910390fd5b611a62600084846000015161183b565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116611b4c57600054811015611b4c57825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b601080546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8934ce4adea8d9ce0d714d2c22b86790e41b7731c84b926fbbdc1d40ff6533c990600090a35050565b60408051606081018252600080825260208201819052918101919091528180600111158015611c18575060005481105b15611cf657600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611cf45780516001600160a01b031615611c8b579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611cef579392505050565b611c8b565b505b604051636f96cda160e11b815260040160405180910390fd5b47611d2d5760405163334ab3f560e11b815260040160405180910390fd5b60005b600a54811015610deb576000611d458261108d565b90506000600c5447611d5791906128d4565b6001600160a01b0383166000908152600e6020908152604080832054600b54600d909352908320549394509192611d8e90856128b5565b611d989190612964565b611da29190612a67565b6001600160a01b0384166000908152600e6020526040902054909150611dc99082906128d4565b6001600160a01b0384166000908152600e6020526040902055600c54611df09082906128d4565b600c55611dfd8382612103565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050508080611e4d90612a7e565b915050611d30565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611e8a903390899088908890600401612a99565b6020604051808303816000875af1925050508015611ec5575060408051601f3d908101601f19168201909252611ec291810190612ad6565b60015b611f20573d808015611ef3576040519150601f19603f3d011682016040523d82523d6000602084013e611ef8565b606091505b508051611f18576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606012805461094790612864565b606081611f715750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f9b5780611f8581612a7e565b9150611f949050600a83612964565b9150611f75565b6000816001600160401b03811115611fb557611fb5612695565b6040519080825280601f01601f191660200182016040528015611fdf576020820181803683370190505b5090505b8415611f3657611ff4600183612a67565b9150612001600a86612af3565b61200c9060306128d4565b60f81b818381518110612021576120216129bc565b60200101906001600160f81b031916908160001a905350612043600a86612964565b9450611fe3565b600081815b84518110156120ee57600085828151811061206c5761206c6129bc565b602002602001015190508083116120ae5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506120db565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806120e681612a7e565b91505061204f565b509392505050565b610a97838383600161221c565b804710156121535760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610cc2565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146121a0576040519150601f19603f3d011682016040523d82523d6000602084013e6121a5565b606091505b5050905080610a975760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610cc2565b6000546001600160a01b03851661224557604051622e076360e81b815260040160405180910390fd5b836122635760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561231457506001600160a01b0387163b15155b1561239d575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46123656000888480600101955088611e55565b612382576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561231a57826000541461239857600080fd5b6123e3565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082141561239e575b50600055611b8f565b8280546123f890612864565b90600052602060002090601f01602090048101928261241a5760008555612460565b82601f1061243357805160ff1916838001178555612460565b82800160010185558215612460579182015b82811115612460578251825591602001919060010190612445565b5061246c929150612470565b5090565b5b8082111561246c5760008155600101612471565b6001600160e01b031981168114610deb57600080fd5b6000602082840312156124ad57600080fd5b81356114a381612485565b60005b838110156124d35781810151838201526020016124bb565b83811115610c875750506000910152565b600081518084526124fc8160208601602086016124b8565b601f01601f19169290920160200192915050565b6020815260006114a360208301846124e4565b60006020828403121561253557600080fd5b5035919050565b80356001600160a01b038116811461255357600080fd5b919050565b6000806040838503121561256b57600080fd5b6125748361253c565b946020939093013593505050565b80356001600160401b038116811461255357600080fd5b6000806000604084860312156125ae57600080fd5b83356001600160401b03808211156125c557600080fd5b818601915086601f8301126125d957600080fd5b8135818111156125e857600080fd5b8760208260051b85010111156125fd57600080fd5b6020928301955093506126139186019050612582565b90509250925092565b60008060006060848603121561263157600080fd5b61263a8461253c565b92506126486020850161253c565b9150604084013590509250925092565b6000806040838503121561266b57600080fd5b50508035926020909101359150565b60006020828403121561268c57600080fd5b6114a38261253c565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b03808411156126c5576126c5612695565b604051601f8501601f19908116603f011681019082821181831017156126ed576126ed612695565b8160405280935085815286868601111561270657600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561273257600080fd5b81356001600160401b0381111561274857600080fd5b8201601f8101841361275957600080fd5b611f36848235602084016126ab565b60006020828403121561277a57600080fd5b6114a382612582565b6000806040838503121561279657600080fd5b61279f8361253c565b9150602083013580151581146127b457600080fd5b809150509250929050565b600080600080608085870312156127d557600080fd5b6127de8561253c565b93506127ec6020860161253c565b92506040850135915060608501356001600160401b0381111561280e57600080fd5b8501601f8101871361281f57600080fd5b61282e878235602084016126ab565b91505092959194509250565b6000806040838503121561284d57600080fd5b6128568361253c565b9150610d036020840161253c565b600181811c9082168061287857607f821691505b6020821081141561289957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156128cf576128cf61289f565b500290565b600082198211156128e7576128e761289f565b500190565b60006001600160401b0380831681851680830382111561290e5761290e61289f565b01949350505050565b6020808252601e908201527f4f776e65723a2063616c6c6572206973206e6f7420746865204f776e65720000604082015260600190565b634e487b7160e01b600052601260045260246000fd5b6000826129735761297361294e565b500490565b60208082526024908201527f4f776e65723a206e6577204f776e657220697320746865207a65726f206164646040820152637265737360e01b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60208082526027908201527f4e6577204f776e65723a206e6577204f776e657220697320746865206f6e6c796040820152661031b0b63632b960c91b606082015260800190565b60008351612a2b8184602088016124b8565b602f60f81b9083019081528351612a498160018401602088016124b8565b64173539b7b760d91b60019290910191820152600601949350505050565b600082821015612a7957612a7961289f565b500390565b6000600019821415612a9257612a9261289f565b5060010190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612acc908301846124e4565b9695505050505050565b600060208284031215612ae857600080fd5b81516114a381612485565b600082612b0257612b0261294e565b50069056fea2646970667358221220d7d189249e666cf9c55b79763d5f2abd5e6559118004372a9244f9cd77b61b8064736f6c634300080b0033

Deployed Bytecode Sourcemap

3495:17783:10:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9529:42;1810:10:16;9545:12:10;9529:42;;;-1:-1:-1;;;;;206:32:17;;;;188:51;;2013:9:16;270:2:17;255:18;;248:34;9529:42:10;;;;;;;;;3495:17783;;9719:42;1810:10:16;9735:12:10;1731:96:16;20891:385:10;;;;;;;;;;-1:-1:-1;20891:385:10;;;;;:::i;:::-;;:::i;:::-;;;844:14:17;;837:22;819:41;;807:2;792:18;20891:385:10;;;;;;;;8041:98:15;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;9497:200::-;;;;;;;;;;-1:-1:-1;9497:200:15;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1971:32:17;;;1953:51;;1941:2;1926:18;9497:200:15;1807:203:17;9074:362:15;;;;;;;;;;-1:-1:-1;9074:362:15;;;;;:::i;:::-;;:::i;:::-;;18211:99:10;;;;;;;;;;-1:-1:-1;18282:21:10;18211:99;;;2598:25:17;;;2586:2;2571:18;18211:99:10;2452:177:17;4016:297:15;;;;;;;;;;;;20054:1:10;4266:12:15;4060:7;4250:13;:28;-1:-1:-1;;4250:46:15;;4016:297;6523:982:10;;;;;;:::i;:::-;;:::i;10328:164:15:-;;;;;;;;;;-1:-1:-1;10328:164:15;;;;;:::i;:::-;;:::i;2857:93:11:-;;;;;;;;;;;;;:::i;2917:315:12:-;;;;;;;;;;-1:-1:-1;2917:315:12;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;206:32:17;;;188:51;;270:2;255:18;;248:34;;;;161:18;2917:315:12;14:274:17;7682:434:10;;;;;;:::i;:::-;;:::i;4740:89:14:-;;;;;;;;;;-1:-1:-1;4810:12:14;;4740:89;;10558:179:15;;;;;;;;;;-1:-1:-1;10558:179:15;;;;;:::i;:::-;;:::i;18042:96:10:-;;;;;;;;;;-1:-1:-1;18117:14:10;;18042:96;;18378:90;;;;;;;;;;-1:-1:-1;18453:8:10;;18378:90;;15406:230;;;;;;;;;;-1:-1:-1;15406:230:10;;;;;:::i;:::-;;:::i;3110:184:11:-;;;;;;;;;;-1:-1:-1;3110:184:11;;;;;:::i;:::-;;:::i;15210:91:10:-;;;;;;;;;;-1:-1:-1;15210:91:10;;;;;:::i;:::-;;:::i;17652:87::-;;;;;;;;;;-1:-1:-1;17723:9:10;;17652:87;;7857:122:15;;;;;;;;;;-1:-1:-1;7857:122:15;;;;;:::i;:::-;;:::i;5104:203::-;;;;;;;;;;-1:-1:-1;5104:203:15;;;;;:::i;:::-;;:::i;12721:224:10:-;;;;;;;;;;;;;:::i;9886:65::-;;;;;;;;;;;;;:::i;5487:98:14:-;;;;;;;;;;-1:-1:-1;5487:98:14;;;;;:::i;:::-;;:::i;2227:85:11:-;;;;;;;;;;-1:-1:-1;2299:6:11;;-1:-1:-1;;;;;2299:6:11;2227:85;;14147:223:10;;;;;;;;;;-1:-1:-1;14147:223:10;;;;;:::i;:::-;;:::i;8203:102:15:-;;;;;;;;;;;;;:::i;5294:107:14:-;;;;;;;;;;-1:-1:-1;5294:107:14;;;;;:::i;:::-;-1:-1:-1;;;;;5376:18:14;5350:7;5376:18;;;:9;:18;;;;;;;5294:107;17363:88:10;;;;;;;;;;-1:-1:-1;17431:13:10;;;;17363:88;;17511:95;;;;;;;;;;-1:-1:-1;17584:15:10;;;;17511:95;;9764:274:15;;;;;;;;;;-1:-1:-1;9764:274:15;;;;;:::i;:::-;;:::i;14772:212:10:-;;;;;;;;;;-1:-1:-1;14772:212:10;;;;;:::i;:::-;;:::i;3929:34::-;;;;;;;;;;;;;;;;4130:184:11;;;;;;;;;;-1:-1:-1;4130:184:11;;;;;:::i;:::-;;:::i;3788:165::-;;;;;;;;;;;;;:::i;10803:359:15:-;;;;;;;;;;-1:-1:-1;10803:359:15;;;;;:::i;:::-;;:::i;13781:220:10:-;;;;;;;;;;-1:-1:-1;13781:220:10;;;;;:::i;:::-;;:::i;20113:577::-;;;;;;;;;;-1:-1:-1;20113:577:10;;;;;:::i;:::-;;:::i;13017:235::-;;;;;;;;;;;;;:::i;5097:103:14:-;;;;;;;;;;-1:-1:-1;5097:103:14;;;;;:::i;:::-;-1:-1:-1;;;;;5177:16:14;5151:7;5177:16;;;:7;:16;;;;;;;5097:103;13327:243:10;;;;;;;;;;;;;:::i;10264:228::-;;;;;;;;;;-1:-1:-1;10264:228:10;;;;;:::i;:::-;;:::i;4918:93:14:-;;;;;;;;;;-1:-1:-1;4990:14:14;;4918:93;;12451:218:10;;;;;;;;;;;;;:::i;10104:162:15:-;;;;;;;;;;-1:-1:-1;10104:162:15;;;;;:::i;:::-;-1:-1:-1;;;;;10224:25:15;;;10201:4;10224:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;10104:162;3457:167:11;;;;;;;;;;;;;:::i;10735:178:10:-;;;;;;;;;;-1:-1:-1;10735:178:10;;;;;:::i;:::-;;:::i;17799:102::-;;;;;;;;;;-1:-1:-1;17877:17:10;;-1:-1:-1;;;;;17877:17:10;17799:102;;20891:385;21018:4;-1:-1:-1;;;;;;21046:50:10;;-1:-1:-1;;;21046:50:10;;:114;;-1:-1:-1;;;;;;;21112:48:10;;-1:-1:-1;;;21112:48:10;21046:114;:170;;;-1:-1:-1;;;;;;;21176:40:10;;-1:-1:-1;;;21176:40:10;21046:170;:222;;;;21232:36;21256:11;21232:23;:36::i;:::-;21038:231;20891:385;-1:-1:-1;;20891:385:10:o;8041:98:15:-;8095:13;8127:5;8120:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8041:98;:::o;9497:200::-;9565:7;9589:16;9597:7;9589;:16::i;:::-;9584:64;;9614:34;;-1:-1:-1;;;9614:34:15;;;;;;;;;;;9584:64;-1:-1:-1;9666:24:15;;;;:15;:24;;;;;;-1:-1:-1;;;;;9666:24:15;;9497:200::o;9074:362::-;9146:13;9162:24;9178:7;9162:15;:24::i;:::-;9146:40;;9206:5;-1:-1:-1;;;;;9200:11:15;:2;-1:-1:-1;;;;;9200:11:15;;9196:48;;;9220:24;;-1:-1:-1;;;9220:24:15;;;;;;;;;;;9196:48;1810:10:16;-1:-1:-1;;;;;9259:21:15;;;;;;:63;;-1:-1:-1;9285:37:15;9302:5;1810:10:16;10104:162:15;:::i;9285:37::-;9284:38;9259:63;9255:136;;;9345:35;;-1:-1:-1;;;9345:35:15;;;;;;;;;;;9255:136;9401:28;9410:2;9414:7;9423:5;9401:8;:28::i;:::-;9136:300;9074:362;;:::o;6523:982:10:-;6698:13;;;;6693:45;;6720:18;;-1:-1:-1;;;6720:18:10;;;;;;;;;;;6693:45;6753:15;;;;6748:51;;6777:22;;-1:-1:-1;;;6777:22:10;;;;;;;;;;;6748:51;6840:6;-1:-1:-1;;;;;6828:18:10;:9;;:18;;;;:::i;:::-;2013:9:16;6813:33:10;6809:60;;6855:14;;-1:-1:-1;;;6855:14:10;;;;;;;;;;;6809:60;6908:8;;6899:6;-1:-1:-1;;;;;6883:22:10;:13;20054:1;4266:12:15;4060:7;4250:13;:28;-1:-1:-1;;4250:46:15;;4016:297;6883:13:10;:22;;;;:::i;:::-;:33;6879:67;;;6925:21;;-1:-1:-1;;;6925:21:10;;;;;;;;;;;6879:67;6969:17;;-1:-1:-1;;;;;6969:17:10;;;6960:26;;;;6956:65;;;6995:26;;-1:-1:-1;;;6995:26:10;;;;;;;;;;;6956:65;7049:157;7085:11;;7049:157;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7114:19:10;;7161:30;;-1:-1:-1;;1810:10:16;8327:2:17;8323:15;8319:53;7161:30:10;;;8307:66:17;7114:19:10;;-1:-1:-1;8389:12:17;;;-1:-1:-1;7161:30:10;;;;;;;;;;;;7151:41;;;;;;7049:18;:157::i;:::-;7031:209;;7224:16;;-1:-1:-1;;;7224:16:10;;;;;;;;;;;7031:209;7250:25;7302:6;7278:21;1810:10:16;7278:7:10;:21::i;:::-;:30;;;;:::i;:::-;7343:17;;7250:58;;-1:-1:-1;;;;;;7343:17:10;;;7322:38;;;;7318:88;;;7381:25;;-1:-1:-1;;;7381:25:10;;;;;;;;;;;7318:88;7416:31;1810:10:16;7440:6:10;-1:-1:-1;;;;;7416:31:10;:9;:31::i;:::-;7457:41;1810:10:16;7479:18:10;7457:7;:41::i;:::-;6630:875;6523:982;;;:::o;10328:164:15:-;10457:28;10467:4;10473:2;10477:7;10457:9;:28::i;2857:93:11:-;2299:6;;-1:-1:-1;;;;;2299:6:11;1810:10:16;2439:23:11;2431:66;;;;-1:-1:-1;;;2431:66:11;;;;;;;:::i;:::-;;;;;;;;;2917:26:::1;2940:1;2917:14;:26::i;:::-;2857:93::o:0;2917:315:12:-;3100:14;;3207;;-1:-1:-1;;;;;3100:14:12;;;;3035:16;;3224:3;;3194:27;;:10;:27;:::i;:::-;:33;;;;:::i;:::-;3178:49;;2917:315;;;;;:::o;7682:434:10:-;7749:15;;;;7745:47;;;7773:19;;-1:-1:-1;;;7773:19:10;;;;;;;;;;;7745:47;7807:13;;;;7802:45;;7829:18;;-1:-1:-1;;;7829:18:10;;;;;;;;;;;7802:45;7888:6;7876:9;;:18;;;;:::i;:::-;2013:9:16;7861:33:10;7857:60;;7903:14;;-1:-1:-1;;;7903:14:10;;;;;;;;;;;7857:60;7956:8;;7947:6;7931:13;20054:1;4266:12:15;4060:7;4250:13;:28;-1:-1:-1;;4250:46:15;;4016:297;7931:13:10;:22;;;;:::i;:::-;:33;7927:67;;;7973:21;;-1:-1:-1;;;7973:21:10;;;;;;;;;;;7927:67;8017:14;;8008:6;:23;8004:64;;;8040:28;;-1:-1:-1;;;8040:28:10;;;;;;;;;;;8004:64;8078:31;1810:10:16;8102:6:10;8078:9;:31::i;:::-;7682:434;:::o;10558:179:15:-;10691:39;10708:4;10714:2;10718:7;10691:39;;;;;;;;;;;;:16;:39::i;15406:230:10:-;2299:6:11;;-1:-1:-1;;;;;2299:6:11;1810:10:16;2439:23:11;2431:66;;;;-1:-1:-1;;;2431:66:11;;;;;;;:::i;:::-;15485:13:10::1;20054:1:::0;4266:12:15;4060:7;4250:13;:28;-1:-1:-1;;4250:46:15;;4016:297;15485:13:10::1;15475:7;:23;15471:53;;;15507:17;;-1:-1:-1::0;;;15507:17:10::1;;;;;;;;;;;15471:53;15548:8;::::0;;15566:18;;;;15599:30:::1;::::0;;9443:25:17;;;9499:2;9484:18;;9477:34;;;15599:30:10::1;::::0;9416:18:17;15599:30:10::1;;;;;;;;15461:175;15406:230:::0;:::o;3110:184:11:-;2299:6;;-1:-1:-1;;;;;2299:6:11;1810:10:16;2439:23:11;2431:66;;;;-1:-1:-1;;;2431:66:11;;;;;;;:::i;:::-;-1:-1:-1;;;;;3194:22:11;::::1;3186:71;;;;-1:-1:-1::0;;;3186:71:11::1;;;;;;;:::i;:::-;3267:9;:20:::0;;-1:-1:-1;;;;;;3267:20:11::1;-1:-1:-1::0;;;;;3267:20:11;;;::::1;::::0;;;::::1;::::0;;3110:184::o;15210:91:10:-;2299:6:11;;-1:-1:-1;;;;;2299:6:11;1810:10:16;2439:23:11;2431:66;;;;-1:-1:-1;;;2431:66:11;;;;;;;:::i;:::-;15280:14:10;;::::1;::::0;:4:::1;::::0;:14:::1;::::0;::::1;::::0;::::1;:::i;:::-;;15210:91:::0;:::o;7857:122:15:-;7921:7;7947:20;7959:7;7947:11;:20::i;:::-;:25;;7857:122;-1:-1:-1;;7857:122:15:o;5104:203::-;5168:7;-1:-1:-1;;;;;5191:19:15;;5187:60;;5219:28;;-1:-1:-1;;;5219:28:15;;;;;;;;;;;5187:60;-1:-1:-1;;;;;;5272:19:15;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;5272:27:15;;5104:203::o;12721:224:10:-;2299:6:11;;-1:-1:-1;;;;;2299:6:11;1810:10:16;2439:23:11;2431:66;;;;-1:-1:-1;;;2431:66:11;;;;;;;:::i;:::-;12781:13:10::1;::::0;::::1;;12776:45;;12803:18;;-1:-1:-1::0;;;12803:18:10::1;;;;;;;;;;;12776:45;12842:13;::::0;;-1:-1:-1;;12865:21:10;::::1;::::0;;;12901:37:::1;::::0;;12842:13:::1;::::0;;::::1;10114:14:17::0;;10107:22;10089:41;;-1:-1:-1;10161:2:17;10146:18;;10139:50;12842:13:10;12901:37:::1;::::0;10062:18:17;12901:37:10::1;;;;;;;;12766:179;12721:224::o:0;9886:65::-;2299:6:11;;-1:-1:-1;;;;;2299:6:11;1810:10:16;2439:23:11;2431:66;;;;-1:-1:-1;;;2431:66:11;;;;;;;:::i;:::-;9934:10:10::1;:8;:10::i;5487:98:14:-:0;5538:7;5564;5572:5;5564:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;5564:14:14;;5487:98;-1:-1:-1;;5487:98:14:o;14147:223:10:-;2299:6:11;;-1:-1:-1;;;;;2299:6:11;1810:10:16;2439:23:11;2431:66;;;;-1:-1:-1;;;2431:66:11;;;;;;;:::i;:::-;14240:17:10::1;::::0;;-1:-1:-1;;;;;14267:27:10;;::::1;-1:-1:-1::0;;14267:27:10;::::1;::::0;::::1;::::0;;;14309:54:::1;::::0;14240:17;::::1;::::0;14309:54:::1;::::0;::::1;::::0;14240:17;10505:25:17;;-1:-1:-1;;;;;10566:31:17;10561:2;10546:18;;10539:59;10493:2;10478:18;;10332:272;8203:102:15;8259:13;8291:7;8284:14;;;;;:::i;9764:274::-;-1:-1:-1;;;;;9854:24:15;;1810:10:16;9854:24:15;9850:54;;;9887:17;;-1:-1:-1;;;9887:17:15;;;;;;;;;;;9850:54;1810:10:16;9915:32:15;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;9915:42:15;;;;;;;;;;;;:53;;-1:-1:-1;;9915:53:15;;;;;;;;;;9983:48;;819:41:17;;;9915:42:15;;1810:10:16;9983:48:15;;792:18:17;9983:48:15;;;;;;;9764:274;;:::o;14772:212:10:-;2299:6:11;;-1:-1:-1;;;;;2299:6:11;1810:10:16;2439:23:11;2431:66;;;;-1:-1:-1;;;2431:66:11;;;;;;;:::i;:::-;14863:14:10::1;::::0;;14887:24;;;;14959:17:::1;::::0;14926:51:::1;::::0;;10505:25:17;;;-1:-1:-1;;;;;14959:17:10;;::::1;10561:2:17::0;10546:18;;10539:59;14926:51:10::1;::::0;10478:18:17;14926:51:10::1;10332:272:17::0;4130:184:11;2299:6;;-1:-1:-1;;;;;2299:6:11;1810:10:16;2439:23:11;2431:66;;;;-1:-1:-1;;;2431:66:11;;;;;;;:::i;:::-;-1:-1:-1;;;;;4210:22:11;::::1;4202:71;;;;-1:-1:-1::0;;;4202:71:11::1;;;;;;;:::i;:::-;4283:24;4298:8;4283:14;:24::i;3788:165::-:0;3845:9;;-1:-1:-1;;;;;3845:9:11;1810:10:16;3845:25:11;3837:77;;;;-1:-1:-1;;;3837:77:11;;;;;;;:::i;:::-;3924:9;:22;;-1:-1:-1;;;;;;3924:22:11;;;3788:165::o;10803:359:15:-;10964:28;10974:4;10980:2;10984:7;10964:9;:28::i;:::-;-1:-1:-1;;;;;11006:13:15;;1087:20:4;1133:8;;11006:76:15;;;;;11026:56;11057:4;11063:2;11067:7;11076:5;11026:30;:56::i;:::-;11025:57;11006:76;11002:154;;;11105:40;;-1:-1:-1;;;11105:40:15;;;;;;;;;;;13781:220:10;2299:6:11;;-1:-1:-1;;;;;2299:6:11;1810:10:16;2439:23:11;2431:66;;;;-1:-1:-1;;;2431:66:11;;;;;;;:::i;:::-;13875:19:10::1;::::0;;13904:33;;;;13952:42:::1;::::0;;9443:25:17;;;9499:2;9484:18;;9477:34;;;13952:42:10::1;::::0;9416:18:17;13952:42:10::1;9269:248:17::0;20113:577:10;20226:13;20260:16;20268:7;20260;:16::i;:::-;20255:48;;20285:18;;-1:-1:-1;;;20285:18:10;;;;;;;;;;;20255:48;20313:21;20337:10;:8;:10::i;:::-;20313:34;;20400:1;20382:7;20376:21;:25;:307;;20669:14;20376:307;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20490:7;20552:25;20569:7;20552:16;:25::i;:::-;20448:184;;;;;;;;;:::i;:::-;;;;;;;;;;;;;20376:307;20357:326;20113:577;-1:-1:-1;;;20113:577:10:o;13017:235::-;2299:6:11;;-1:-1:-1;;;;;2299:6:11;1810:10:16;2439:23:11;2431:66;;;;-1:-1:-1;;;2431:66:11;;;;;;;:::i;:::-;13075:15:10::1;::::0;::::1;;13071:47;;;13099:19;;-1:-1:-1::0;;;13099:19:10::1;;;;;;;;;;;13071:47;13139:15;::::0;;;-1:-1:-1;;13164:22:10;::::1;::::0;::::1;::::0;;;13201:44:::1;::::0;;13139:15:::1;::::0;;::::1;10114:14:17::0;;10107:22;10089:41;;10161:2;10146:18;;10139:50;;;;13201:44:10::1;::::0;10062:18:17;13201:44:10::1;9927:268:17::0;13327:243:10;2299:6:11;;-1:-1:-1;;;;;2299:6:11;1810:10:16;2439:23:11;2431:66;;;;-1:-1:-1;;;2431:66:11;;;;;;;:::i;:::-;13389:15:10::1;::::0;::::1;;13384:51;;13413:22;;-1:-1:-1::0;;;13413:22:10::1;;;;;;;;;;;13384:51;13456:15;::::0;;-1:-1:-1;;13481:23:10;::::1;::::0;;;13519:44:::1;::::0;;13456:15:::1;::::0;;::::1;10114:14:17::0;;10107:22;10089:41;;-1:-1:-1;10161:2:17;10146:18;;10139:50;13456:15:10;13519:44:::1;::::0;10062:18:17;13519:44:10::1;9927:268:17::0;10264:228:10;2299:6:11;;-1:-1:-1;;;;;2299:6:11;1810:10:16;2439:23:11;2431:66;;;;-1:-1:-1;;;2431:66:11;;;;;;;:::i;:::-;2800:14:12;:26;;-1:-1:-1;;;;;;2800:26:12;-1:-1:-1;;;;;2800:26:12;;;;;2832:14;:28;;;10439:46:10::1;::::0;;-1:-1:-1;;;;;206:32:17;;188:51;;270:2;255:18;;248:34;;;10439:46:10::1;::::0;161:18:17;10439:46:10::1;14:274:17::0;12451:218:10;2299:6:11;;-1:-1:-1;;;;;2299:6:11;1810:10:16;2439:23:11;2431:66;;;;-1:-1:-1;;;2431:66:11;;;;;;;:::i;:::-;12509:13:10::1;::::0;::::1;;12505:41;;;12531:15;;-1:-1:-1::0;;;12531:15:10::1;;;;;;;;;;;12505:41;12567:13;::::0;;;-1:-1:-1;;12590:20:10;::::1;::::0;::::1;::::0;;;12625:37:::1;::::0;;12567:13:::1;::::0;;::::1;10114:14:17::0;;10107:22;10089:41;;10161:2;10146:18;;10139:50;;;;12625:37:10::1;::::0;10062:18:17;12625:37:10::1;9927:268:17::0;3457:167:11;3513:9;;-1:-1:-1;;;;;3513:9:11;1810:10:16;3513:25:11;3505:77;;;;-1:-1:-1;;;3505:77:11;;;;;;;:::i;:::-;3607:9;;3592:25;;-1:-1:-1;;;;;3607:9:11;3592:14;:25::i;10735:178:10:-;2299:6:11;;-1:-1:-1;;;;;2299:6:11;1810:10:16;2439:23:11;2431:66;;;;-1:-1:-1;;;2431:66:11;;;;;;;:::i;:::-;10818:9:10::1;::::0;;10837:19;;;;10871:35:::1;::::0;;9443:25:17;;;9499:2;9484:18;;9477:34;;;10871:35:10::1;::::0;9416:18:17;10871:35:10::1;9269:248:17::0;945:123:5;1032:19;;1050:1;1032:19;;;945:123::o;4745:300:15:-;4847:4;-1:-1:-1;;;;;;4882:40:15;;-1:-1:-1;;;4882:40:15;;:104;;-1:-1:-1;;;;;;;4938:48:15;;-1:-1:-1;;;4938:48:15;4882:104;:156;;;-1:-1:-1;;;;;;;;;;937:40:8;;;5002:36:15;829:155:8;11408:184:15;11465:4;11507:7;20054:1:10;11488:26:15;;:53;;;;;11528:13;;11518:7;:23;11488:53;:97;;;;-1:-1:-1;;11558:20:15;;;;:11;:20;;;;;:27;-1:-1:-1;;;11558:27:15;;;;11557:28;;11408:184::o;18824:189::-;18934:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;18934:29:15;-1:-1:-1;;;;;18934:29:15;;;;;;;;;18978:28;;18934:24;;18978:28;;;;;;;18824:189;;;:::o;847:184:7:-;968:4;1020;991:25;1004:5;1011:4;991:12;:25::i;:::-;:33;;847:184;-1:-1:-1;;;;847:184:7:o;5998:176:15:-;6053:6;-1:-1:-1;;;;;6075:19:15;;6071:56;;6103:24;;-1:-1:-1;;;6103:24:15;;;;;;;;;;;6071:56;-1:-1:-1;;;;;;6144:19:15;;;;;:12;:19;;;;;:23;-1:-1:-1;;;6144:23:15;;-1:-1:-1;;;;;6144:23:15;;5998:176::o;11598:102::-;11666:27;11676:2;11680:8;11666:27;;;;;;;;;;;;:9;:27::i;6356:165::-;-1:-1:-1;;;;;6423:19:15;;6419:56;;6451:24;;-1:-1:-1;;;6451:24:15;;;;;;;;;;;6419:56;-1:-1:-1;;;;;6485:19:15;;;;;;;:12;:19;;;;;:29;;-1:-1:-1;;;;;6485:29:15;;;-1:-1:-1;;;6485:29:15;-1:-1:-1;;;;;6485:29:15;;;;;;;;;6356:165::o;14430:2067::-;14540:35;14578:20;14590:7;14578:11;:20::i;:::-;14651:18;;14540:58;;-1:-1:-1;14609:22:15;;-1:-1:-1;;;;;14635:34:15;1810:10:16;-1:-1:-1;;;;;14635:34:15;;:100;;;-1:-1:-1;14702:18:15;;14685:50;;1810:10:16;10104:162:15;:::i;14685:50::-;14635:152;;;-1:-1:-1;1810:10:16;14751:20:15;14763:7;14751:11;:20::i;:::-;-1:-1:-1;;;;;14751:36:15;;14635:152;14609:179;;14804:17;14799:66;;14830:35;;-1:-1:-1;;;14830:35:15;;;;;;;;;;;14799:66;14901:4;-1:-1:-1;;;;;14879:26:15;:13;:18;;;-1:-1:-1;;;;;14879:26:15;;14875:67;;14914:28;;-1:-1:-1;;;14914:28:15;;;;;;;;;;;14875:67;-1:-1:-1;;;;;14956:16:15;;14952:52;;14981:23;;-1:-1:-1;;;14981:23:15;;;;;;;;;;;14952:52;15120:49;15137:1;15141:7;15150:13;:18;;;15120:8;:49::i;:::-;-1:-1:-1;;;;;15459:18:15;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;15459:31:15;;;-1:-1:-1;;;;;15459:31:15;;;-1:-1:-1;;15459:31:15;;;;;;;15504:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;15504:29:15;;;;;;;;;;;15548:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;15592:61:15;;;;-1:-1:-1;;;15637:15:15;15592:61;;;;;;;;;;;15923:11;;;15952:24;;;;;:29;15923:11;;15952:29;15948:438;;16174:13;;16160:11;:27;16156:216;;;16243:18;;;16211:24;;;:11;:24;;;;;;;;:50;;16325:28;;;;-1:-1:-1;;;;;16283:70:15;-1:-1:-1;;;16283:70:15;-1:-1:-1;;;;;;16283:70:15;;;-1:-1:-1;;;;;16211:50:15;;;16283:70;;;;;;;16156:216;15435:961;16430:7;16426:2;-1:-1:-1;;;;;16411:27:15;16420:4;-1:-1:-1;;;;;16411:27:15;;;;;;;;;;;16448:42;14530:1967;;14430:2067;;;:::o;4464:179:11:-;4552:6;;;-1:-1:-1;;;;;4568:17:11;;;-1:-1:-1;;;;;;4568:17:11;;;;;;;4600:36;;4552:6;;;4568:17;4552:6;;4600:36;;4533:16;;4600:36;4523:120;4464:179;:::o;6717:1083:15:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;6826:7:15;;20054:1:10;6872:23:15;;:47;;;;;6906:13;;6899:4;:20;6872:47;6868:868;;;6939:31;6973:17;;;:11;:17;;;;;;;;;6939:51;;;;;;;;;-1:-1:-1;;;;;6939:51:15;;;;-1:-1:-1;;;6939:51:15;;-1:-1:-1;;;;;6939:51:15;;;;;;;;-1:-1:-1;;;6939:51:15;;;;;;;;;;;;;;7008:714;;7057:14;;-1:-1:-1;;;;;7057:28:15;;7053:99;;7120:9;6717:1083;-1:-1:-1;;;6717:1083:15:o;7053:99::-;-1:-1:-1;;;7488:6:15;7532:17;;;;:11;:17;;;;;;;;;7520:29;;;;;;;;;-1:-1:-1;;;;;7520:29:15;;;;;-1:-1:-1;;;7520:29:15;;-1:-1:-1;;;;;7520:29:15;;;;;;;;-1:-1:-1;;;7520:29:15;;;;;;;;;;;;;7579:28;7575:107;;7646:9;6717:1083;-1:-1:-1;;;6717:1083:15:o;7575:107::-;7449:255;;;6921:815;6868:868;7762:31;;-1:-1:-1;;;7762:31:15;;;;;;;;;;;5683:647:14;5726:21;5722:52;;5761:13;;-1:-1:-1;;;5761:13:14;;;;;;;;;;;5722:52;5789:9;5784:540;5808:10;918:14:5;5804:1:14;:24;5784:540;;;5849:15;5867:8;5873:1;5867:5;:8::i;:::-;5849:26;;5889:21;5937:14;;5913:21;:38;;;;:::i;:::-;-1:-1:-1;;;;;6067:18:14;;5965:15;6067:18;;;:9;:18;;;;;;;;;6036:12;;6000:7;:16;;;;;;;5889:62;;-1:-1:-1;5965:15:14;;5984:32;;5889:62;5984:32;:::i;:::-;5983:65;;;;:::i;:::-;:102;;;;:::i;:::-;-1:-1:-1;;;;;6120:18:14;;;;;;:9;:18;;;;;;5965:120;;-1:-1:-1;6120:28:14;;5965:120;;6120:28;:::i;:::-;-1:-1:-1;;;;;6099:18:14;;;;;;:9;:18;;;;;:49;6179:14;;:24;;6196:7;;6179:24;:::i;:::-;6162:14;:41;6217:44;6243:7;6253;6217:17;:44::i;:::-;6280:33;;;-1:-1:-1;;;;;206:32:17;;188:51;;270:2;255:18;;248:34;;;6280:33:14;;161:18:17;6280:33:14;;;;;;;5835:489;;;5830:3;;;;;:::i;:::-;;;;5784:540;;19494:650:15;19672:72;;-1:-1:-1;;;19672:72:15;;19652:4;;-1:-1:-1;;;;;19672:36:15;;;;;:72;;1810:10:16;;19723:4:15;;19729:7;;19738:5;;19672:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19672:72:15;;;;;;;;-1:-1:-1;;19672:72:15;;;;;;;;;;;;:::i;:::-;;;19668:470;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19903:13:15;;19899:229;;19948:40;;-1:-1:-1;;;19948:40:15;;;;;;;;;;;19899:229;20088:6;20082:13;20073:6;20069:2;20065:15;20058:38;19668:470;-1:-1:-1;;;;;;19790:55:15;-1:-1:-1;;;19790:55:15;;-1:-1:-1;19668:470:15;19494:650;;;;;;:::o;19790:95:10:-;19842:13;19874:4;19867:11;;;;;:::i;328:703:6:-;384:13;601:10;597:51;;-1:-1:-1;;627:10:6;;;;;;;;;;;;-1:-1:-1;;;627:10:6;;;;;328:703::o;597:51::-;672:5;657:12;711:75;718:9;;711:75;;743:8;;;;:::i;:::-;;-1:-1:-1;765:10:6;;-1:-1:-1;773:2:6;765:10;;:::i;:::-;;;711:75;;;795:19;827:6;-1:-1:-1;;;;;817:17:6;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:17:6;;795:39;;844:150;851:10;;844:150;;877:11;887:1;877:11;;:::i;:::-;;-1:-1:-1;945:10:6;953:2;945:5;:10;:::i;:::-;932:24;;:2;:24;:::i;:::-;919:39;;902:6;909;902:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;902:56:6;;;;;;;;-1:-1:-1;972:11:6;981:2;972:11;;:::i;:::-;;;844:150;;1383:688:7;1466:7;1508:4;1466:7;1522:514;1546:5;:12;1542:1;:16;1522:514;;;1579:20;1602:5;1608:1;1602:8;;;;;;;;:::i;:::-;;;;;;;1579:31;;1644:12;1628;:28;1624:402;;1779:44;;;;;;13339:19:17;;;13374:12;;;13367:28;;;13411:12;;1779:44:7;;;;;;;;;;;;1769:55;;;;;;1754:70;;1624:402;;;1966:44;;;;;;13339:19:17;;;13374:12;;;13367:28;;;13411:12;;1966:44:7;;;;;;;;;;;;1956:55;;;;;;1941:70;;1624:402;-1:-1:-1;1560:3:7;;;;:::i;:::-;;;;1522:514;;;-1:-1:-1;2052:12:7;1383:688;-1:-1:-1;;;1383:688:7:o;12051:157:15:-;12169:32;12175:2;12179:8;12189:5;12196:4;12169:5;:32::i;2065:312:4:-;2179:6;2154:21;:31;;2146:73;;;;-1:-1:-1;;;2146:73:4;;13636:2:17;2146:73:4;;;13618:21:17;13675:2;13655:18;;;13648:30;13714:31;13694:18;;;13687:59;13763:18;;2146:73:4;13434:353:17;2146:73:4;2231:12;2249:9;-1:-1:-1;;;;;2249:14:4;2271:6;2249:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2230:52;;;2300:7;2292:78;;;;-1:-1:-1;;;2292:78:4;;14204:2:17;2292:78:4;;;14186:21:17;14243:2;14223:18;;;14216:30;14282:34;14262:18;;;14255:62;14353:28;14333:18;;;14326:56;14399:19;;2292:78:4;14002:422:17;12455:1733:15;12588:20;12611:13;-1:-1:-1;;;;;12638:16:15;;12634:48;;12663:19;;-1:-1:-1;;;12663:19:15;;;;;;;;;;;12634:48;12696:13;12692:44;;12718:18;;-1:-1:-1;;;12718:18:15;;;;;;;;;;;12692:44;-1:-1:-1;;;;;13079:16:15;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;13137:49:15;;-1:-1:-1;;;;;13079:44:15;;;;;;;13137:49;;;;-1:-1:-1;;13079:44:15;;;;;;13137:49;;;;;;;;;;;;;;;;13201:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;13250:66:15;;;;-1:-1:-1;;;13300:15:15;13250:66;;;;;;;;;;13201:25;13394:23;;;13436:4;:23;;;;-1:-1:-1;;;;;;13444:13:15;;1087:20:4;1133:8;;13444:15:15;13432:628;;;13479:309;13509:38;;13534:12;;-1:-1:-1;;;;;13509:38:15;;;13526:1;;13509:38;;13526:1;;13509:38;13574:69;13613:1;13617:2;13621:14;;;;;;13637:5;13574:30;:69::i;:::-;13569:172;;13678:40;;-1:-1:-1;;;13678:40:15;;;;;;;;;;;13569:172;13783:3;13767:12;:19;;13479:309;;13867:12;13850:13;;:29;13846:43;;13881:8;;;13846:43;13432:628;;;13928:118;13958:40;;13983:14;;;;;-1:-1:-1;;;;;13958:40:15;;;13975:1;;13958:40;;13975:1;;13958:40;14041:3;14025:12;:19;;13928:118;;13432:628;-1:-1:-1;14073:13:15;:28;14121:60;6523:982:10;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;293:131:17;-1:-1:-1;;;;;;367:32:17;;357:43;;347:71;;414:1;411;404:12;429:245;487:6;540:2;528:9;519:7;515:23;511:32;508:52;;;556:1;553;546:12;508:52;595:9;582:23;614:30;638:5;614:30;:::i;871:258::-;943:1;953:113;967:6;964:1;961:13;953:113;;;1043:11;;;1037:18;1024:11;;;1017:39;989:2;982:10;953:113;;;1084:6;1081:1;1078:13;1075:48;;;-1:-1:-1;;1119:1:17;1101:16;;1094:27;871:258::o;1134:::-;1176:3;1214:5;1208:12;1241:6;1236:3;1229:19;1257:63;1313:6;1306:4;1301:3;1297:14;1290:4;1283:5;1279:16;1257:63;:::i;:::-;1374:2;1353:15;-1:-1:-1;;1349:29:17;1340:39;;;;1381:4;1336:50;;1134:258;-1:-1:-1;;1134:258:17:o;1397:220::-;1546:2;1535:9;1528:21;1509:4;1566:45;1607:2;1596:9;1592:18;1584:6;1566:45;:::i;1622:180::-;1681:6;1734:2;1722:9;1713:7;1709:23;1705:32;1702:52;;;1750:1;1747;1740:12;1702:52;-1:-1:-1;1773:23:17;;1622:180;-1:-1:-1;1622:180:17:o;2015:173::-;2083:20;;-1:-1:-1;;;;;2132:31:17;;2122:42;;2112:70;;2178:1;2175;2168:12;2112:70;2015:173;;;:::o;2193:254::-;2261:6;2269;2322:2;2310:9;2301:7;2297:23;2293:32;2290:52;;;2338:1;2335;2328:12;2290:52;2361:29;2380:9;2361:29;:::i;:::-;2351:39;2437:2;2422:18;;;;2409:32;;-1:-1:-1;;;2193:254:17:o;2634:171::-;2701:20;;-1:-1:-1;;;;;2750:30:17;;2740:41;;2730:69;;2795:1;2792;2785:12;2810:693;2904:6;2912;2920;2973:2;2961:9;2952:7;2948:23;2944:32;2941:52;;;2989:1;2986;2979:12;2941:52;3029:9;3016:23;-1:-1:-1;;;;;3099:2:17;3091:6;3088:14;3085:34;;;3115:1;3112;3105:12;3085:34;3153:6;3142:9;3138:22;3128:32;;3198:7;3191:4;3187:2;3183:13;3179:27;3169:55;;3220:1;3217;3210:12;3169:55;3260:2;3247:16;3286:2;3278:6;3275:14;3272:34;;;3302:1;3299;3292:12;3272:34;3357:7;3350:4;3340:6;3337:1;3333:14;3329:2;3325:23;3321:34;3318:47;3315:67;;;3378:1;3375;3368:12;3315:67;3409:4;3401:13;;;;-1:-1:-1;3433:6:17;-1:-1:-1;3458:39:17;;3476:20;;;-1:-1:-1;3458:39:17;:::i;:::-;3448:49;;2810:693;;;;;:::o;3508:328::-;3585:6;3593;3601;3654:2;3642:9;3633:7;3629:23;3625:32;3622:52;;;3670:1;3667;3660:12;3622:52;3693:29;3712:9;3693:29;:::i;:::-;3683:39;;3741:38;3775:2;3764:9;3760:18;3741:38;:::i;:::-;3731:48;;3826:2;3815:9;3811:18;3798:32;3788:42;;3508:328;;;;;:::o;3841:248::-;3909:6;3917;3970:2;3958:9;3949:7;3945:23;3941:32;3938:52;;;3986:1;3983;3976:12;3938:52;-1:-1:-1;;4009:23:17;;;4079:2;4064:18;;;4051:32;;-1:-1:-1;3841:248:17:o;4094:186::-;4153:6;4206:2;4194:9;4185:7;4181:23;4177:32;4174:52;;;4222:1;4219;4212:12;4174:52;4245:29;4264:9;4245:29;:::i;4285:127::-;4346:10;4341:3;4337:20;4334:1;4327:31;4377:4;4374:1;4367:15;4401:4;4398:1;4391:15;4417:632;4482:5;-1:-1:-1;;;;;4553:2:17;4545:6;4542:14;4539:40;;;4559:18;;:::i;:::-;4634:2;4628:9;4602:2;4688:15;;-1:-1:-1;;4684:24:17;;;4710:2;4680:33;4676:42;4664:55;;;4734:18;;;4754:22;;;4731:46;4728:72;;;4780:18;;:::i;:::-;4820:10;4816:2;4809:22;4849:6;4840:15;;4879:6;4871;4864:22;4919:3;4910:6;4905:3;4901:16;4898:25;4895:45;;;4936:1;4933;4926:12;4895:45;4986:6;4981:3;4974:4;4966:6;4962:17;4949:44;5041:1;5034:4;5025:6;5017;5013:19;5009:30;5002:41;;;;4417:632;;;;;:::o;5054:451::-;5123:6;5176:2;5164:9;5155:7;5151:23;5147:32;5144:52;;;5192:1;5189;5182:12;5144:52;5232:9;5219:23;-1:-1:-1;;;;;5257:6:17;5254:30;5251:50;;;5297:1;5294;5287:12;5251:50;5320:22;;5373:4;5365:13;;5361:27;-1:-1:-1;5351:55:17;;5402:1;5399;5392:12;5351:55;5425:74;5491:7;5486:2;5473:16;5468:2;5464;5460:11;5425:74;:::i;5510:184::-;5568:6;5621:2;5609:9;5600:7;5596:23;5592:32;5589:52;;;5637:1;5634;5627:12;5589:52;5660:28;5678:9;5660:28;:::i;5699:347::-;5764:6;5772;5825:2;5813:9;5804:7;5800:23;5796:32;5793:52;;;5841:1;5838;5831:12;5793:52;5864:29;5883:9;5864:29;:::i;:::-;5854:39;;5943:2;5932:9;5928:18;5915:32;5990:5;5983:13;5976:21;5969:5;5966:32;5956:60;;6012:1;6009;6002:12;5956:60;6035:5;6025:15;;;5699:347;;;;;:::o;6233:667::-;6328:6;6336;6344;6352;6405:3;6393:9;6384:7;6380:23;6376:33;6373:53;;;6422:1;6419;6412:12;6373:53;6445:29;6464:9;6445:29;:::i;:::-;6435:39;;6493:38;6527:2;6516:9;6512:18;6493:38;:::i;:::-;6483:48;;6578:2;6567:9;6563:18;6550:32;6540:42;;6633:2;6622:9;6618:18;6605:32;-1:-1:-1;;;;;6652:6:17;6649:30;6646:50;;;6692:1;6689;6682:12;6646:50;6715:22;;6768:4;6760:13;;6756:27;-1:-1:-1;6746:55:17;;6797:1;6794;6787:12;6746:55;6820:74;6886:7;6881:2;6868:16;6863:2;6859;6855:11;6820:74;:::i;:::-;6810:84;;;6233:667;;;;;;;:::o;7090:260::-;7158:6;7166;7219:2;7207:9;7198:7;7194:23;7190:32;7187:52;;;7235:1;7232;7225:12;7187:52;7258:29;7277:9;7258:29;:::i;:::-;7248:39;;7306:38;7340:2;7329:9;7325:18;7306:38;:::i;7355:380::-;7434:1;7430:12;;;;7477;;;7498:61;;7552:4;7544:6;7540:17;7530:27;;7498:61;7605:2;7597:6;7594:14;7574:18;7571:38;7568:161;;;7651:10;7646:3;7642:20;7639:1;7632:31;7686:4;7683:1;7676:15;7714:4;7711:1;7704:15;7568:161;;7355:380;;;:::o;7740:127::-;7801:10;7796:3;7792:20;7789:1;7782:31;7832:4;7829:1;7822:15;7856:4;7853:1;7846:15;7872:168;7912:7;7978:1;7974;7970:6;7966:14;7963:1;7960:21;7955:1;7948:9;7941:17;7937:45;7934:71;;;7985:18;;:::i;:::-;-1:-1:-1;8025:9:17;;7872:168::o;8045:128::-;8085:3;8116:1;8112:6;8109:1;8106:13;8103:39;;;8122:18;;:::i;:::-;-1:-1:-1;8158:9:17;;8045:128::o;8412:236::-;8451:3;-1:-1:-1;;;;;8524:2:17;8521:1;8517:10;8554:2;8551:1;8547:10;8585:3;8581:2;8577:12;8572:3;8569:21;8566:47;;;8593:18;;:::i;:::-;8629:13;;8412:236;-1:-1:-1;;;;8412:236:17:o;8653:354::-;8855:2;8837:21;;;8894:2;8874:18;;;8867:30;8933:32;8928:2;8913:18;;8906:60;8998:2;8983:18;;8653:354::o;9012:127::-;9073:10;9068:3;9064:20;9061:1;9054:31;9104:4;9101:1;9094:15;9128:4;9125:1;9118:15;9144:120;9184:1;9210;9200:35;;9215:18;;:::i;:::-;-1:-1:-1;9249:9:17;;9144:120::o;9522:400::-;9724:2;9706:21;;;9763:2;9743:18;;;9736:30;9802:34;9797:2;9782:18;;9775:62;-1:-1:-1;;;9868:2:17;9853:18;;9846:34;9912:3;9897:19;;9522:400::o;10200:127::-;10261:10;10256:3;10252:20;10249:1;10242:31;10292:4;10289:1;10282:15;10316:4;10313:1;10306:15;10609:403;10811:2;10793:21;;;10850:2;10830:18;;;10823:30;10889:34;10884:2;10869:18;;10862:62;-1:-1:-1;;;10955:2:17;10940:18;;10933:37;11002:3;10987:19;;10609:403::o;11270:772::-;11651:3;11689:6;11683:13;11705:53;11751:6;11746:3;11739:4;11731:6;11727:17;11705:53;:::i;:::-;-1:-1:-1;;;11780:16:17;;;11805:18;;;11848:13;;11870:65;11848:13;11922:1;11911:13;;11904:4;11892:17;;11870:65;:::i;:::-;-1:-1:-1;;;11998:1:17;11954:20;;;;11990:10;;;11983:27;12034:1;12026:10;;11270:772;-1:-1:-1;;;;11270:772:17:o;12047:125::-;12087:4;12115:1;12112;12109:8;12106:34;;;12120:18;;:::i;:::-;-1:-1:-1;12157:9:17;;12047:125::o;12177:135::-;12216:3;-1:-1:-1;;12237:17:17;;12234:43;;;12257:18;;:::i;:::-;-1:-1:-1;12304:1:17;12293:13;;12177:135::o;12317:489::-;-1:-1:-1;;;;;12586:15:17;;;12568:34;;12638:15;;12633:2;12618:18;;12611:43;12685:2;12670:18;;12663:34;;;12733:3;12728:2;12713:18;;12706:31;;;12511:4;;12754:46;;12780:19;;12772:6;12754:46;:::i;:::-;12746:54;12317:489;-1:-1:-1;;;;;;12317:489:17:o;12811:249::-;12880:6;12933:2;12921:9;12912:7;12908:23;12904:32;12901:52;;;12949:1;12946;12939:12;12901:52;12981:9;12975:16;13000:30;13024:5;13000:30;:::i;13065:112::-;13097:1;13123;13113:35;;13128:18;;:::i;:::-;-1:-1:-1;13162:9:17;;13065:112::o

Swarm Source

ipfs://d7d189249e666cf9c55b79763d5f2abd5e6559118004372a9244f9cd77b61b80
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

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