ETH Price: $3,692.87 (+1.08%)

Token

Avius Animae (AVA)
 

Overview

Max Total Supply

10,000 AVA

Holders

3,223

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
vmunhoz.eth
Balance
1 AVA
0xC191FE57D9bA49B9246c6bf9aB0D7AD2f2027536
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

We are 10,000 souls wandering the Ethereum Plane, seeking a new home. Half of mint profits to be donated to an organization that supports and uplifts the LGBTQIA+ community.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
MasterchefMasatoshiJunior

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : MasterchefMasatoshiJunior.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.10;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "./ERC721.sol";

/**
 * @title MasterchefMasatoshi
 * NFT + DAO = NEW META
 * Vitalik, remove contract size limit pls
 */
contract MasterchefMasatoshiJunior is ERC721, Ownable {
  using ECDSA for bytes32;
  string public PROVENANCE;
  bool provenanceSet;

  uint256 public mintPrice;
  uint256 public maxPossibleSupply;
  uint256 public allowListMintPrice;
  uint256 public maxAllowedMints;

  address public immutable currency;
  address immutable wrappedNativeCoinAddress;
  address payable immutable omakasea;

  address private signerAddress;
  bool public paused;

  enum MintStatus {
    Idle,
    AllowList,
    Public,
    Finished
  }

  MintStatus public mintStatus = MintStatus.Idle;

  mapping (address => uint256) public totalMintsPerAddress;

  event Received(address, uint256);

  receive() external payable {
    emit Received(msg.sender, msg.value);
  }

  constructor(
      string memory _name,
      string memory _symbol,
      uint256 _maxPossibleSupply,
      uint256 _mintPrice,
      uint256 _allowListMintPrice,
      uint256 _maxAllowedMints,
      address _signerAddress,
      address payable _omakasea,
      address _currency,
      address _wrappedNativeCoinAddress
  ) ERC721(_name, _symbol, 10) {
    maxPossibleSupply = _maxPossibleSupply;
    mintPrice = _mintPrice;
    allowListMintPrice = _allowListMintPrice;
    maxAllowedMints = _maxAllowedMints;
    signerAddress = _signerAddress;
    omakasea = _omakasea;
    currency = _currency;
    wrappedNativeCoinAddress = _wrappedNativeCoinAddress;
  }

  function flipPaused() external onlyOwner {
    paused = !paused;
  }

  function setProvenanceHash(string memory provenanceHash) public onlyOwner {
    require(!provenanceSet);
    PROVENANCE = provenanceHash;
    provenanceSet = true;
  }

  function setBaseURI(string memory baseURI) public onlyOwner {
    _setBaseURI(baseURI);
  }
  
  function changeMintStatus(MintStatus _status) external onlyOwner {
    require(_status != MintStatus.Idle);
    if (mintStatus == MintStatus.Public) {
      require(_status != MintStatus.AllowList);
    }
    mintStatus = _status;
  }

  function mintAllowList(
    bytes32 messageHash,
    bytes calldata signature,
    uint amount
  ) public payable {
    require(mintStatus == MintStatus.AllowList && !paused, "s");
    require(totalSupply() + amount <= maxPossibleSupply, "m");
    require(hashMessage(msg.sender, address(this)) == messageHash, "i");
    require(verifyAddressSigner(messageHash, signature), "f");
    require(totalMintsPerAddress[msg.sender] + amount <= maxAllowedMints, "l");

    uint mintAmount = allowListMintPrice * amount;
    uint omakaseaFee = mintAmount * 25 / 1000;

    if (currency == wrappedNativeCoinAddress) {
        require(mintAmount <= msg.value, "a");
        // 2.5% Omakasea Fee
        omakasea.transfer(omakaseaFee);
    } else {
        IERC20 _currency = IERC20(currency);
        // 2.5% Omakasea Fee
        _currency.transferFrom(msg.sender, omakasea, omakaseaFee);    
        _currency.transferFrom(msg.sender, address(this), mintAmount - omakaseaFee);    
    }

    totalMintsPerAddress[msg.sender] = totalMintsPerAddress[msg.sender] + amount;
    _safeMint(msg.sender, amount);
  }

  function mintPublic(uint amount) public payable {
    require(mintStatus == MintStatus.Public && !paused, "s");
    require(totalSupply() + amount <= maxPossibleSupply, "m");
    require(totalMintsPerAddress[msg.sender] + amount <= maxAllowedMints, "l");

    uint mintAmount = mintPrice * amount;
    uint omakaseaFee = mintAmount * 25 / 1000;

    if (currency == wrappedNativeCoinAddress) {
        require(mintPrice * amount <= msg.value, "a");
        // 2.5% Omakasea Fee
        omakasea.transfer(omakaseaFee);
    } else {
        IERC20 _currency = IERC20(currency);
        // 2.5% Omakasea Fee
        _currency.transferFrom(msg.sender, omakasea, omakaseaFee);  
        _currency.transferFrom(msg.sender, address(this), amount * mintPrice);    
    }

    totalMintsPerAddress[msg.sender] = totalMintsPerAddress[msg.sender] + amount;
    _safeMint(msg.sender, amount);

    if (totalSupply() == maxPossibleSupply) {
      mintStatus = MintStatus.Finished;
    }
  }

  function verifyAddressSigner(bytes32 messageHash, bytes memory signature) private view returns (bool) {
    return signerAddress == messageHash.toEthSignedMessageHash().recover(signature);
  }

  function hashMessage(address sender, address thisContract) public pure returns (bytes32) {
    return keccak256(abi.encodePacked(sender, thisContract));
  }

  function withdraw() external onlyOwner() {
    uint balance = address(this).balance;
    payable(msg.sender).transfer(balance);
  }

  function withdrawTokens(address tokenAddress) external onlyOwner() {
    IERC20(tokenAddress).transfer(msg.sender, IERC20(tokenAddress).balanceOf(address(this)));
  }
}

// The High Table

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

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_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(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 14 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 4 of 14 : ECDSA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

File 5 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.10;

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/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using Address for address;
    using Strings for uint256;

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 private currentIndex = 0;

    uint256 internal immutable maxBatchSize;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Base URI
    string private _baseURI;

    // 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) private _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;

    /**
     * @dev
     * `maxBatchSize` refers to how much a minter can mint at a time.
     */
    constructor(
        string memory name_,
        string memory symbol_,
        uint256 maxBatchSize_
    ) {
        require(maxBatchSize_ > 0, "b");
        _name = name_;
        _symbol = symbol_;
        maxBatchSize = maxBatchSize_;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        return currentIndex;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        require(index < totalSupply(), "g");
        return index;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        require(index < balanceOf(owner), "b");
        uint256 numMintedSoFar = totalSupply();
        uint256 tokenIdsIdx = 0;
        address currOwnershipAddr = address(0);
        for (uint256 i = 0; i < numMintedSoFar; i++) {
            TokenOwnership memory ownership = _ownerships[i];
            if (ownership.addr != address(0)) {
                currOwnershipAddr = ownership.addr;
            }
            if (currOwnershipAddr == owner) {
                if (tokenIdsIdx == index) {
                    return i;
                }
                tokenIdsIdx++;
            }
        }
        revert("u");
    }

    /**
     * @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 ||
            interfaceId == type(IERC721Enumerable).interfaceId ||
            super.supportsInterface(interfaceId);
    }

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

    function _numberMinted(address owner) internal view returns (uint256) {
        require(owner != address(0), "0");
        return uint256(_addressData[owner].numberMinted);
    }

    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        require(_exists(tokenId), "t");

        uint256 lowestTokenToCheck;
        if (tokenId >= maxBatchSize) {
            lowestTokenToCheck = tokenId - maxBatchSize + 1;
        }

        for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {
            TokenOwnership memory ownership = _ownerships[curr];
            if (ownership.addr != address(0)) {
                return ownership;
            }
        }

        revert("o");
    }

    /**
     * @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) {
        require(_exists(tokenId), "z");

        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() public view virtual returns (string memory) {
        return _baseURI;
    }

    /**
     * @dev Internal function to set the base URI for all token IDs. It is
     * automatically added as a prefix to the value returned in {tokenURI},
     * or to the token ID if {tokenURI} is empty.
     */
    function _setBaseURI(string memory baseURI_) internal virtual {
        _baseURI = baseURI_;
    }



    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "o");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "a"
        );

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        require(_exists(tokenId), "a");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        require(operator != _msgSender(), "a");

        _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 override {
        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public override {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            "z"
        );
    }

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

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

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` cannot be larger than the max batch size.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = currentIndex;
        require(to != address(0), "0");
        // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
        require(!_exists(startTokenId), "a");
        require(quantity <= maxBatchSize, "m");

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

        AddressData memory addressData = _addressData[to];
        _addressData[to] = AddressData(
            addressData.balance + uint128(quantity),
            addressData.numberMinted + uint128(quantity)
        );
        _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

        uint256 updatedIndex = startTokenId;

        for (uint256 i = 0; i < quantity; i++) {
            emit Transfer(address(0), to, updatedIndex);
            require(
                _checkOnERC721Received(address(0), to, updatedIndex, _data),
                "z"
            );
            updatedIndex++;
        }

        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 ||
            getApproved(tokenId) == _msgSender() ||
            isApprovedForAll(prevOwnership.addr, _msgSender()));

        require(isApprovedOrOwner, "a");

        require(prevOwnership.addr == from, "o");
        require(to != address(0), "0");

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        _addressData[from].balance -= 1;
        _addressData[to].balance += 1;
        _ownerships[tokenId] = TokenOwnership(to, 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)) {
            if (_exists(nextTokenId)) {
                _ownerships[nextTokenId] = TokenOwnership(prevOwnership.addr, prevOwnership.startTimestamp);
            }
        }

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

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

    uint256 public nextOwnerToExplicitlySet = 0;

    /**
     * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
     */
    function _setOwnersExplicit(uint256 quantity) internal {
        uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
        require(quantity > 0, "q");
        uint256 endIndex = oldNextOwnerToSet + quantity - 1;
        if (endIndex > currentIndex - 1) {
            endIndex = currentIndex - 1;
        }
        // We know if the last one in the group exists, all in the group exist, due to serial ordering.
        require(_exists(endIndex), "n");
        for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
            if (_ownerships[i].addr == address(0)) {
                TokenOwnership memory ownership = ownershipOf(i);
                _ownerships[i] = TokenOwnership(ownership.addr, ownership.startTimestamp);
            }
        }
        nextOwnerToExplicitlySet = endIndex + 1;
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a 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 _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            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("z");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     *
     * 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`.
     */
    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.
     *
     * 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` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

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

File 7 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT

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 8 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

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 9 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

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 10 of 14 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

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

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 12 of 14 : Strings.sol
// SPDX-License-Identifier: MIT

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 13 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT

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 14 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_maxPossibleSupply","type":"uint256"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"uint256","name":"_allowListMintPrice","type":"uint256"},{"internalType":"uint256","name":"_maxAllowedMints","type":"uint256"},{"internalType":"address","name":"_signerAddress","type":"address"},{"internalType":"address payable","name":"_omakasea","type":"address"},{"internalType":"address","name":"_currency","type":"address"},{"internalType":"address","name":"_wrappedNativeCoinAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"Received","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowListMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum MasterchefMasatoshiJunior.MintStatus","name":"_status","type":"uint8"}],"name":"changeMintStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currency","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPaused","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":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"thisContract","type":"address"}],"name":"hashMessage","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAllowedMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPossibleSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"messageHash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintAllowList","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintStatus","outputs":[{"internalType":"enum MasterchefMasatoshiJunior.MintStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalMintsPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6101006040526000805560006008556000601060156101000a81548160ff021916908360038111156200003757620000366200039d565b5b02179055503480156200004957600080fd5b50604051620061163803806200611683398181016040528101906200006f91906200064e565b8989600a60008111620000b9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000b090620007e3565b60405180910390fd5b8260019080519060200190620000d1929190620002ed565b508160029080519060200190620000ea929190620002ed565b508060808181525050505050620001166200010a6200021f60201b60201c565b6200022760201b60201c565b87600d8190555086600c8190555085600e8190555084600f8190555083601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508273ffffffffffffffffffffffffffffffffffffffff1660e08173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1681525050505050505050505050506200086a565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002fb9062000834565b90600052602060002090601f0160209004810192826200031f57600085556200036b565b82601f106200033a57805160ff19168380011785556200036b565b828001600101855582156200036b579182015b828111156200036a5782518255916020019190600101906200034d565b5b5090506200037a91906200037e565b5090565b5b80821115620003995760008160009055506001016200037f565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200043582620003ea565b810181811067ffffffffffffffff82111715620004575762000456620003fb565b5b80604052505050565b60006200046c620003cc565b90506200047a82826200042a565b919050565b600067ffffffffffffffff8211156200049d576200049c620003fb565b5b620004a882620003ea565b9050602081019050919050565b60005b83811015620004d5578082015181840152602081019050620004b8565b83811115620004e5576000848401525b50505050565b600062000502620004fc846200047f565b62000460565b905082815260208101848484011115620005215762000520620003e5565b5b6200052e848285620004b5565b509392505050565b600082601f8301126200054e576200054d620003e0565b5b815162000560848260208601620004eb565b91505092915050565b6000819050919050565b6200057e8162000569565b81146200058a57600080fd5b50565b6000815190506200059e8162000573565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620005d182620005a4565b9050919050565b620005e381620005c4565b8114620005ef57600080fd5b50565b6000815190506200060381620005d8565b92915050565b60006200061682620005a4565b9050919050565b620006288162000609565b81146200063457600080fd5b50565b60008151905062000648816200061d565b92915050565b6000806000806000806000806000806101408b8d031215620006755762000674620003d6565b5b60008b015167ffffffffffffffff811115620006965762000695620003db565b5b620006a48d828e0162000536565b9a505060208b015167ffffffffffffffff811115620006c857620006c7620003db565b5b620006d68d828e0162000536565b9950506040620006e98d828e016200058d565b9850506060620006fc8d828e016200058d565b97505060806200070f8d828e016200058d565b96505060a0620007228d828e016200058d565b95505060c0620007358d828e01620005f2565b94505060e0620007488d828e0162000637565b9350506101006200075c8d828e01620005f2565b925050610120620007708d828e01620005f2565b9150509295989b9194979a5092959850565b600082825260208201905092915050565b7f6200000000000000000000000000000000000000000000000000000000000000600082015250565b6000620007cb60018362000782565b9150620007d88262000793565b602082019050919050565b60006020820190508181036000830152620007fe81620007bc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200084d57607f821691505b6020821081141562000864576200086362000805565b5b50919050565b60805160a05160c05160e05161582c620008ea60003960008181611d6201528181611e100152818161240501526124b3015260008181611cab0152612341015260008181611ce201528181611dd0015281816120e4015281816123780152612473015260008181612eef01528181612f180152613604015261582c6000f3fe6080604052600436106102345760003560e01c80636817c76c1161012e578063a22cb465116100ab578063d7224ba01161006f578063d7224ba014610874578063e5a6b10f1461089f578063e985e9c5146108ca578063efd0cbf914610907578063f2fde38b1461092357610274565b8063a22cb4651461078c578063a9cbd06d146107b5578063b88d4fde146107d1578063b9bd2801146107fa578063c87b56dd1461083757610274565b8063715018a6116100f2578063715018a6146106cb5780637cac2602146106e25780638da5cb5b1461070b57806395d89b41146107365780639da3f8fd1461076157610274565b80636817c76c146105d057806368855b64146105fb5780636c0360eb146106265780636c82054b1461065157806370a082311461068e57610274565b8063386b7691116101bc5780634f6ccce7116101805780634f6ccce7146104d757806355f804b3146105145780635c975abb1461053d5780636352211e146105685780636373a6b1146105a557610274565b8063386b7691146104185780633ccfd60b1461044357806342842e0e1461045a57806344fead9e1461048357806349df728c146104ae57610274565b80631096952311610203578063109695231461034757806318160ddd1461037057806323b872dd1461039b5780632f745c59146103c4578063333171bb1461040157610274565b806301ffc9a71461027957806306fdde03146102b6578063081812fc146102e1578063095ea7b31461031e57610274565b36610274577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874333460405161026a929190613f1f565b60405180910390a1005b600080fd5b34801561028557600080fd5b506102a0600480360381019061029b9190613fb4565b61094c565b6040516102ad9190613ffc565b60405180910390f35b3480156102c257600080fd5b506102cb610a96565b6040516102d891906140b0565b60405180910390f35b3480156102ed57600080fd5b50610308600480360381019061030391906140fe565b610b28565b604051610315919061412b565b60405180910390f35b34801561032a57600080fd5b5061034560048036038101906103409190614172565b610bad565b005b34801561035357600080fd5b5061036e600480360381019061036991906142e7565b610cc6565b005b34801561037c57600080fd5b50610385610d91565b6040516103929190614330565b60405180910390f35b3480156103a757600080fd5b506103c260048036038101906103bd919061434b565b610d9a565b005b3480156103d057600080fd5b506103eb60048036038101906103e69190614172565b610daa565b6040516103f89190614330565b60405180910390f35b34801561040d57600080fd5b50610416610fa8565b005b34801561042457600080fd5b5061042d611050565b60405161043a9190614330565b60405180910390f35b34801561044f57600080fd5b50610458611056565b005b34801561046657600080fd5b50610481600480360381019061047c919061434b565b611121565b005b34801561048f57600080fd5b50610498611141565b6040516104a59190614330565b60405180910390f35b3480156104ba57600080fd5b506104d560048036038101906104d0919061439e565b611147565b005b3480156104e357600080fd5b506104fe60048036038101906104f991906140fe565b6112be565b60405161050b9190614330565b60405180910390f35b34801561052057600080fd5b5061053b600480360381019061053691906142e7565b611311565b005b34801561054957600080fd5b50610552611399565b60405161055f9190613ffc565b60405180910390f35b34801561057457600080fd5b5061058f600480360381019061058a91906140fe565b6113ac565b60405161059c919061412b565b60405180910390f35b3480156105b157600080fd5b506105ba6113c2565b6040516105c791906140b0565b60405180910390f35b3480156105dc57600080fd5b506105e5611450565b6040516105f29190614330565b60405180910390f35b34801561060757600080fd5b50610610611456565b60405161061d9190614330565b60405180910390f35b34801561063257600080fd5b5061063b61145c565b60405161064891906140b0565b60405180910390f35b34801561065d57600080fd5b50610678600480360381019061067391906143cb565b6114ee565b6040516106859190614424565b60405180910390f35b34801561069a57600080fd5b506106b560048036038101906106b0919061439e565b611521565b6040516106c29190614330565b60405180910390f35b3480156106d757600080fd5b506106e061160a565b005b3480156106ee57600080fd5b5061070960048036038101906107049190614464565b611692565b005b34801561071757600080fd5b506107206117dc565b60405161072d919061412b565b60405180910390f35b34801561074257600080fd5b5061074b611806565b60405161075891906140b0565b60405180910390f35b34801561076d57600080fd5b50610776611898565b6040516107839190614508565b60405180910390f35b34801561079857600080fd5b506107b360048036038101906107ae919061454f565b6118ab565b005b6107cf60048036038101906107ca919061461b565b611a2c565b005b3480156107dd57600080fd5b506107f860048036038101906107f39190614730565b611fc0565b005b34801561080657600080fd5b50610821600480360381019061081c919061439e565b61201c565b60405161082e9190614330565b60405180910390f35b34801561084357600080fd5b5061085e600480360381019061085991906140fe565b612034565b60405161086b91906140b0565b60405180910390f35b34801561088057600080fd5b506108896120dc565b6040516108969190614330565b60405180910390f35b3480156108ab57600080fd5b506108b46120e2565b6040516108c1919061412b565b60405180910390f35b3480156108d657600080fd5b506108f160048036038101906108ec91906143cb565b612106565b6040516108fe9190613ffc565b60405180910390f35b610921600480360381019061091c91906140fe565b61219a565b005b34801561092f57600080fd5b5061094a6004803603810190610945919061439e565b61269f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a1757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a7f57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a8f5750610a8e82612797565b5b9050919050565b606060018054610aa5906147e2565b80601f0160208091040260200160405190810160405280929190818152602001828054610ad1906147e2565b8015610b1e5780601f10610af357610100808354040283529160200191610b1e565b820191906000526020600020905b815481529060010190602001808311610b0157829003601f168201915b5050505050905090565b6000610b3382612801565b610b72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6990614860565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bb8826113ac565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c20906148cc565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c4861280e565b73ffffffffffffffffffffffffffffffffffffffff161480610c775750610c7681610c7161280e565b612106565b5b610cb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cad90614860565b60405180910390fd5b610cc1838383612816565b505050565b610cce61280e565b73ffffffffffffffffffffffffffffffffffffffff16610cec6117dc565b73ffffffffffffffffffffffffffffffffffffffff1614610d42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3990614938565b60405180910390fd5b600b60009054906101000a900460ff1615610d5c57600080fd5b80600a9080519060200190610d72929190613de8565b506001600b60006101000a81548160ff02191690831515021790555050565b60008054905090565b610da58383836128c8565b505050565b6000610db583611521565b8210610df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ded906149a4565b60405180910390fd5b6000610e00610d91565b905060008060005b83811015610f66576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610efa57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f525786841415610f43578195505050505050610fa2565b8380610f4e906149f3565b9450505b508080610f5e906149f3565b915050610e08565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9990614a88565b60405180910390fd5b92915050565b610fb061280e565b73ffffffffffffffffffffffffffffffffffffffff16610fce6117dc565b73ffffffffffffffffffffffffffffffffffffffff1614611024576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101b90614938565b60405180910390fd5b601060149054906101000a900460ff1615601060146101000a81548160ff021916908315150217905550565b600d5481565b61105e61280e565b73ffffffffffffffffffffffffffffffffffffffff1661107c6117dc565b73ffffffffffffffffffffffffffffffffffffffff16146110d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c990614938565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561111d573d6000803e3d6000fd5b5050565b61113c83838360405180602001604052806000815250611fc0565b505050565b600f5481565b61114f61280e565b73ffffffffffffffffffffffffffffffffffffffff1661116d6117dc565b73ffffffffffffffffffffffffffffffffffffffff16146111c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ba90614938565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611219919061412b565b602060405180830381865afa158015611236573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125a9190614abd565b6040518363ffffffff1660e01b8152600401611277929190613f1f565b6020604051808303816000875af1158015611296573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ba9190614aff565b5050565b60006112c8610d91565b8210611309576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130090614b78565b60405180910390fd5b819050919050565b61131961280e565b73ffffffffffffffffffffffffffffffffffffffff166113376117dc565b73ffffffffffffffffffffffffffffffffffffffff161461138d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138490614938565b60405180910390fd5b61139681612e81565b50565b601060149054906101000a900460ff1681565b60006113b782612e9b565b600001519050919050565b600a80546113cf906147e2565b80601f01602080910402602001604051908101604052809291908181526020018280546113fb906147e2565b80156114485780601f1061141d57610100808354040283529160200191611448565b820191906000526020600020905b81548152906001019060200180831161142b57829003601f168201915b505050505081565b600c5481565b600e5481565b60606003805461146b906147e2565b80601f0160208091040260200160405190810160405280929190818152602001828054611497906147e2565b80156114e45780601f106114b9576101008083540402835291602001916114e4565b820191906000526020600020905b8154815290600101906020018083116114c757829003601f168201915b5050505050905090565b60008282604051602001611503929190614be0565b60405160208183030381529060405280519060200120905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611592576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158990614c58565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b61161261280e565b73ffffffffffffffffffffffffffffffffffffffff166116306117dc565b73ffffffffffffffffffffffffffffffffffffffff1614611686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167d90614938565b60405180910390fd5b611690600061309e565b565b61169a61280e565b73ffffffffffffffffffffffffffffffffffffffff166116b86117dc565b73ffffffffffffffffffffffffffffffffffffffff161461170e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170590614938565b60405180910390fd5b6000600381111561172257611721614491565b5b81600381111561173557611734614491565b5b141561174057600080fd5b6002600381111561175457611753614491565b5b601060159054906101000a900460ff16600381111561177657611775614491565b5b14156117af57600160038111156117905761178f614491565b5b8160038111156117a3576117a2614491565b5b14156117ae57600080fd5b5b80601060156101000a81548160ff021916908360038111156117d4576117d3614491565b5b021790555050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611815906147e2565b80601f0160208091040260200160405190810160405280929190818152602001828054611841906147e2565b801561188e5780601f106118635761010080835404028352916020019161188e565b820191906000526020600020905b81548152906001019060200180831161187157829003601f168201915b5050505050905090565b601060159054906101000a900460ff1681565b6118b361280e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611921576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191890614860565b60405180910390fd5b806007600061192e61280e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119db61280e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a209190613ffc565b60405180910390a35050565b60016003811115611a4057611a3f614491565b5b601060159054906101000a900460ff166003811115611a6257611a61614491565b5b148015611a7c5750601060149054906101000a900460ff16155b611abb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab290614cc4565b60405180910390fd5b600d5481611ac7610d91565b611ad19190614ce4565b1115611b12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0990614d86565b60405180910390fd5b83611b1d33306114ee565b14611b5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5490614df2565b60405180910390fd5b611bab8484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050613164565b611bea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be190614e5e565b60405180910390fd5b600f5481601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c389190614ce4565b1115611c79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7090614eca565b60405180910390fd5b600081600e54611c899190614eea565b905060006103e8601983611c9d9190614eea565b611ca79190614f73565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff161415611dcc5734821115611d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5790614860565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611dc6573d6000803e3d6000fd5b50611f20565b60007f000000000000000000000000000000000000000000000000000000000000000090508073ffffffffffffffffffffffffffffffffffffffff166323b872dd337f0000000000000000000000000000000000000000000000000000000000000000856040518463ffffffff1660e01b8152600401611e4e93929190615003565b6020604051808303816000875af1158015611e6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e919190614aff565b508073ffffffffffffffffffffffffffffffffffffffff166323b872dd33308587611ebc919061503a565b6040518463ffffffff1660e01b8152600401611eda9392919061506e565b6020604051808303816000875af1158015611ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f1d9190614aff565b50505b82601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611f6b9190614ce4565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611fb833846131d9565b505050505050565b611fcb8484846128c8565b611fd7848484846131f7565b612016576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200d906150f1565b60405180910390fd5b50505050565b60116020528060005260406000206000915090505481565b606061203f82612801565b61207e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612075906150f1565b60405180910390fd5b60006003805461208d906147e2565b9050116120a957604051806020016040528060008152506120d5565b60036120b48361337f565b6040516020016120c59291906151e1565b6040516020818303038152906040525b9050919050565b60085481565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600260038111156121ae576121ad614491565b5b601060159054906101000a900460ff1660038111156121d0576121cf614491565b5b1480156121ea5750601060149054906101000a900460ff16155b612229576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222090614cc4565b60405180910390fd5b600d5481612235610d91565b61223f9190614ce4565b1115612280576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227790614d86565b60405180910390fd5b600f5481601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122ce9190614ce4565b111561230f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230690614eca565b60405180910390fd5b600081600c5461231f9190614eea565b905060006103e86019836123339190614eea565b61233d9190614f73565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16141561246f573483600c546123c29190614eea565b1115612403576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fa90614860565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015612469573d6000803e3d6000fd5b506125c5565b60007f000000000000000000000000000000000000000000000000000000000000000090508073ffffffffffffffffffffffffffffffffffffffff166323b872dd337f0000000000000000000000000000000000000000000000000000000000000000856040518463ffffffff1660e01b81526004016124f193929190615003565b6020604051808303816000875af1158015612510573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125349190614aff565b508073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330600c54886125619190614eea565b6040518463ffffffff1660e01b815260040161257f9392919061506e565b6020604051808303816000875af115801561259e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125c29190614aff565b50505b82601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126109190614ce4565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061265d33846131d9565b600d54612668610d91565b141561269a576003601060156101000a81548160ff0219169083600381111561269457612693614491565b5b02179055505b505050565b6126a761280e565b73ffffffffffffffffffffffffffffffffffffffff166126c56117dc565b73ffffffffffffffffffffffffffffffffffffffff161461271b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271290614938565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561278b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278290615277565b60405180910390fd5b6127948161309e565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006128d382612e9b565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166128fa61280e565b73ffffffffffffffffffffffffffffffffffffffff161480612956575061291f61280e565b73ffffffffffffffffffffffffffffffffffffffff1661293e84610b28565b73ffffffffffffffffffffffffffffffffffffffff16145b806129725750612971826000015161296c61280e565b612106565b5b9050806129b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ab90614860565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1d906148cc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612a96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8d90614c58565b60405180910390fd5b612aa385858560016134e0565b612ab36000848460000151612816565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612b2191906152b3565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612bc591906152e7565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050506000600184612ccb9190614ce4565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612e1157612d4181612801565b15612e10576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e7986868660016134e6565b505050505050565b8060039080519060200190612e97929190613de8565b5050565b612ea3613e6e565b612eac82612801565b612eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ee290615379565b60405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000008310612f4f5760017f000000000000000000000000000000000000000000000000000000000000000084612f42919061503a565b612f4c9190614ce4565b90505b60008390505b81811061305d576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461304957809350505050613099565b50808061305590615399565b915050612f55565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613090906148cc565b60405180910390fd5b919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061318182613173856134ec565b61351c90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b6131f3828260405180602001604052806000815250613543565b5050565b60006132188473ffffffffffffffffffffffffffffffffffffffff16613a22565b15613372578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261324161280e565b8786866040518563ffffffff1660e01b81526004016132639493929190615418565b6020604051808303816000875af192505050801561329f57506040513d601f19601f8201168201806040525081019061329c9190615479565b60015b613322573d80600081146132cf576040519150601f19603f3d011682016040523d82523d6000602084013e6132d4565b606091505b5060008151141561331a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613311906150f1565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613377565b600190505b949350505050565b606060008214156133c7576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506134db565b600082905060005b600082146133f95780806133e2906149f3565b915050600a826133f29190614f73565b91506133cf565b60008167ffffffffffffffff811115613415576134146141bc565b5b6040519080825280601f01601f1916602001820160405280156134475781602001600182028036833780820191505090505b5090505b600085146134d457600182613460919061503a565b9150600a8561346f91906154a6565b603061347b9190614ce4565b60f81b818381518110613491576134906154d7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856134cd9190614f73565b945061344b565b8093505050505b919050565b50505050565b50505050565b6000816040516020016134ff9190615573565b604051602081830303815290604052805190602001209050919050565b600080600061352b8585613a35565b9150915061353881613ab8565b819250505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156135b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135b090614c58565b60405180910390fd5b6135c281612801565b15613602576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135f990614860565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000831115613665576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365c90614d86565b60405180910390fd5b61367260008583866134e0565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815250509050604051806040016040528085836000015161376f91906152e7565b6fffffffffffffffffffffffffffffffff16815260200185836020015161379691906152e7565b6fffffffffffffffffffffffffffffffff16815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b85811015613a0557818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46139a560008884886131f7565b6139e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139db906150f1565b60405180910390fd5b81806139ef906149f3565b92505080806139fd906149f3565b915050613934565b5080600081905550613a1a60008785886134e6565b505050505050565b600080823b905060008111915050919050565b600080604183511415613a775760008060006020860151925060408601519150606086015160001a9050613a6b87828585613c8d565b94509450505050613ab1565b604083511415613aa8576000806020850151915060408501519050613a9d868383613d9a565b935093505050613ab1565b60006002915091505b9250929050565b60006004811115613acc57613acb614491565b5b816004811115613adf57613ade614491565b5b1415613aea57613c8a565b60016004811115613afe57613afd614491565b5b816004811115613b1157613b10614491565b5b1415613b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b49906155e5565b60405180910390fd5b60026004811115613b6657613b65614491565b5b816004811115613b7957613b78614491565b5b1415613bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bb190615651565b60405180910390fd5b60036004811115613bce57613bcd614491565b5b816004811115613be157613be0614491565b5b1415613c22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c19906156e3565b60405180910390fd5b600480811115613c3557613c34614491565b5b816004811115613c4857613c47614491565b5b1415613c89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c8090615775565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613cc8576000600391509150613d91565b601b8560ff1614158015613ce05750601c8560ff1614155b15613cf2576000600491509150613d91565b600060018787878760405160008152602001604052604051613d1794939291906157b1565b6020604051602081039080840390855afa158015613d39573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613d8857600060019250925050613d91565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613dda87828885613c8d565b935093505050935093915050565b828054613df4906147e2565b90600052602060002090601f016020900481019282613e165760008555613e5d565b82601f10613e2f57805160ff1916838001178555613e5d565b82800160010185558215613e5d579182015b82811115613e5c578251825591602001919060010190613e41565b5b509050613e6a9190613ea8565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613ec1576000816000905550600101613ea9565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613ef082613ec5565b9050919050565b613f0081613ee5565b82525050565b6000819050919050565b613f1981613f06565b82525050565b6000604082019050613f346000830185613ef7565b613f416020830184613f10565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613f9181613f5c565b8114613f9c57600080fd5b50565b600081359050613fae81613f88565b92915050565b600060208284031215613fca57613fc9613f52565b5b6000613fd884828501613f9f565b91505092915050565b60008115159050919050565b613ff681613fe1565b82525050565b60006020820190506140116000830184613fed565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015614051578082015181840152602081019050614036565b83811115614060576000848401525b50505050565b6000601f19601f8301169050919050565b600061408282614017565b61408c8185614022565b935061409c818560208601614033565b6140a581614066565b840191505092915050565b600060208201905081810360008301526140ca8184614077565b905092915050565b6140db81613f06565b81146140e657600080fd5b50565b6000813590506140f8816140d2565b92915050565b60006020828403121561411457614113613f52565b5b6000614122848285016140e9565b91505092915050565b60006020820190506141406000830184613ef7565b92915050565b61414f81613ee5565b811461415a57600080fd5b50565b60008135905061416c81614146565b92915050565b6000806040838503121561418957614188613f52565b5b60006141978582860161415d565b92505060206141a8858286016140e9565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6141f482614066565b810181811067ffffffffffffffff82111715614213576142126141bc565b5b80604052505050565b6000614226613f48565b905061423282826141eb565b919050565b600067ffffffffffffffff821115614252576142516141bc565b5b61425b82614066565b9050602081019050919050565b82818337600083830152505050565b600061428a61428584614237565b61421c565b9050828152602081018484840111156142a6576142a56141b7565b5b6142b1848285614268565b509392505050565b600082601f8301126142ce576142cd6141b2565b5b81356142de848260208601614277565b91505092915050565b6000602082840312156142fd576142fc613f52565b5b600082013567ffffffffffffffff81111561431b5761431a613f57565b5b614327848285016142b9565b91505092915050565b60006020820190506143456000830184613f10565b92915050565b60008060006060848603121561436457614363613f52565b5b60006143728682870161415d565b93505060206143838682870161415d565b9250506040614394868287016140e9565b9150509250925092565b6000602082840312156143b4576143b3613f52565b5b60006143c28482850161415d565b91505092915050565b600080604083850312156143e2576143e1613f52565b5b60006143f08582860161415d565b92505060206144018582860161415d565b9150509250929050565b6000819050919050565b61441e8161440b565b82525050565b60006020820190506144396000830184614415565b92915050565b6004811061444c57600080fd5b50565b60008135905061445e8161443f565b92915050565b60006020828403121561447a57614479613f52565b5b60006144888482850161444f565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600481106144d1576144d0614491565b5b50565b60008190506144e2826144c0565b919050565b60006144f2826144d4565b9050919050565b614502816144e7565b82525050565b600060208201905061451d60008301846144f9565b92915050565b61452c81613fe1565b811461453757600080fd5b50565b60008135905061454981614523565b92915050565b6000806040838503121561456657614565613f52565b5b60006145748582860161415d565b92505060206145858582860161453a565b9150509250929050565b6145988161440b565b81146145a357600080fd5b50565b6000813590506145b58161458f565b92915050565b600080fd5b600080fd5b60008083601f8401126145db576145da6141b2565b5b8235905067ffffffffffffffff8111156145f8576145f76145bb565b5b602083019150836001820283011115614614576146136145c0565b5b9250929050565b6000806000806060858703121561463557614634613f52565b5b6000614643878288016145a6565b945050602085013567ffffffffffffffff81111561466457614663613f57565b5b614670878288016145c5565b93509350506040614683878288016140e9565b91505092959194509250565b600067ffffffffffffffff8211156146aa576146a96141bc565b5b6146b382614066565b9050602081019050919050565b60006146d36146ce8461468f565b61421c565b9050828152602081018484840111156146ef576146ee6141b7565b5b6146fa848285614268565b509392505050565b600082601f830112614717576147166141b2565b5b81356147278482602086016146c0565b91505092915050565b6000806000806080858703121561474a57614749613f52565b5b60006147588782880161415d565b94505060206147698782880161415d565b935050604061477a878288016140e9565b925050606085013567ffffffffffffffff81111561479b5761479a613f57565b5b6147a787828801614702565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806147fa57607f821691505b6020821081141561480e5761480d6147b3565b5b50919050565b7f6100000000000000000000000000000000000000000000000000000000000000600082015250565b600061484a600183614022565b915061485582614814565b602082019050919050565b600060208201905081810360008301526148798161483d565b9050919050565b7f6f00000000000000000000000000000000000000000000000000000000000000600082015250565b60006148b6600183614022565b91506148c182614880565b602082019050919050565b600060208201905081810360008301526148e5816148a9565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614922602083614022565b915061492d826148ec565b602082019050919050565b6000602082019050818103600083015261495181614915565b9050919050565b7f6200000000000000000000000000000000000000000000000000000000000000600082015250565b600061498e600183614022565b915061499982614958565b602082019050919050565b600060208201905081810360008301526149bd81614981565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006149fe82613f06565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614a3157614a306149c4565b5b600182019050919050565b7f7500000000000000000000000000000000000000000000000000000000000000600082015250565b6000614a72600183614022565b9150614a7d82614a3c565b602082019050919050565b60006020820190508181036000830152614aa181614a65565b9050919050565b600081519050614ab7816140d2565b92915050565b600060208284031215614ad357614ad2613f52565b5b6000614ae184828501614aa8565b91505092915050565b600081519050614af981614523565b92915050565b600060208284031215614b1557614b14613f52565b5b6000614b2384828501614aea565b91505092915050565b7f6700000000000000000000000000000000000000000000000000000000000000600082015250565b6000614b62600183614022565b9150614b6d82614b2c565b602082019050919050565b60006020820190508181036000830152614b9181614b55565b9050919050565b60008160601b9050919050565b6000614bb082614b98565b9050919050565b6000614bc282614ba5565b9050919050565b614bda614bd582613ee5565b614bb7565b82525050565b6000614bec8285614bc9565b601482019150614bfc8284614bc9565b6014820191508190509392505050565b7f3000000000000000000000000000000000000000000000000000000000000000600082015250565b6000614c42600183614022565b9150614c4d82614c0c565b602082019050919050565b60006020820190508181036000830152614c7181614c35565b9050919050565b7f7300000000000000000000000000000000000000000000000000000000000000600082015250565b6000614cae600183614022565b9150614cb982614c78565b602082019050919050565b60006020820190508181036000830152614cdd81614ca1565b9050919050565b6000614cef82613f06565b9150614cfa83613f06565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d2f57614d2e6149c4565b5b828201905092915050565b7f6d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614d70600183614022565b9150614d7b82614d3a565b602082019050919050565b60006020820190508181036000830152614d9f81614d63565b9050919050565b7f6900000000000000000000000000000000000000000000000000000000000000600082015250565b6000614ddc600183614022565b9150614de782614da6565b602082019050919050565b60006020820190508181036000830152614e0b81614dcf565b9050919050565b7f6600000000000000000000000000000000000000000000000000000000000000600082015250565b6000614e48600183614022565b9150614e5382614e12565b602082019050919050565b60006020820190508181036000830152614e7781614e3b565b9050919050565b7f6c00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614eb4600183614022565b9150614ebf82614e7e565b602082019050919050565b60006020820190508181036000830152614ee381614ea7565b9050919050565b6000614ef582613f06565b9150614f0083613f06565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f3957614f386149c4565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614f7e82613f06565b9150614f8983613f06565b925082614f9957614f98614f44565b5b828204905092915050565b6000819050919050565b6000614fc9614fc4614fbf84613ec5565b614fa4565b613ec5565b9050919050565b6000614fdb82614fae565b9050919050565b6000614fed82614fd0565b9050919050565b614ffd81614fe2565b82525050565b60006060820190506150186000830186613ef7565b6150256020830185614ff4565b6150326040830184613f10565b949350505050565b600061504582613f06565b915061505083613f06565b925082821015615063576150626149c4565b5b828203905092915050565b60006060820190506150836000830186613ef7565b6150906020830185613ef7565b61509d6040830184613f10565b949350505050565b7f7a00000000000000000000000000000000000000000000000000000000000000600082015250565b60006150db600183614022565b91506150e6826150a5565b602082019050919050565b6000602082019050818103600083015261510a816150ce565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461513e816147e2565b6151488186615111565b945060018216600081146151635760018114615174576151a7565b60ff198316865281860193506151a7565b61517d8561511c565b60005b8381101561519f57815481890152600182019150602081019050615180565b838801955050505b50505092915050565b60006151bb82614017565b6151c58185615111565b93506151d5818560208601614033565b80840191505092915050565b60006151ed8285615131565b91506151f982846151b0565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615261602683614022565b915061526c82615205565b604082019050919050565b6000602082019050818103600083015261529081615254565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b60006152be82615297565b91506152c983615297565b9250828210156152dc576152db6149c4565b5b828203905092915050565b60006152f282615297565b91506152fd83615297565b9250826fffffffffffffffffffffffffffffffff03821115615322576153216149c4565b5b828201905092915050565b7f7400000000000000000000000000000000000000000000000000000000000000600082015250565b6000615363600183614022565b915061536e8261532d565b602082019050919050565b6000602082019050818103600083015261539281615356565b9050919050565b60006153a482613f06565b915060008214156153b8576153b76149c4565b5b600182039050919050565b600081519050919050565b600082825260208201905092915050565b60006153ea826153c3565b6153f481856153ce565b9350615404818560208601614033565b61540d81614066565b840191505092915050565b600060808201905061542d6000830187613ef7565b61543a6020830186613ef7565b6154476040830185613f10565b818103606083015261545981846153df565b905095945050505050565b60008151905061547381613f88565b92915050565b60006020828403121561548f5761548e613f52565b5b600061549d84828501615464565b91505092915050565b60006154b182613f06565b91506154bc83613f06565b9250826154cc576154cb614f44565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b600061553c601c83615111565b915061554782615506565b601c82019050919050565b6000819050919050565b61556d6155688261440b565b615552565b82525050565b600061557e8261552f565b915061558a828461555c565b60208201915081905092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006155cf601883614022565b91506155da82615599565b602082019050919050565b600060208201905081810360008301526155fe816155c2565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b600061563b601f83614022565b915061564682615605565b602082019050919050565b6000602082019050818103600083015261566a8161562e565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006156cd602283614022565b91506156d882615671565b604082019050919050565b600060208201905081810360008301526156fc816156c0565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061575f602283614022565b915061576a82615703565b604082019050919050565b6000602082019050818103600083015261578e81615752565b9050919050565b600060ff82169050919050565b6157ab81615795565b82525050565b60006080820190506157c66000830187614415565b6157d360208301866157a2565b6157e06040830185614415565b6157ed6060830184614415565b9594505050505056fea264697066735822122066b5206862fdd39ef169d88f1037d09b6a2a0f0009026e33559a4f9ef0b56ccc64736f6c634300080a0033000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000002386f26fc10000000000000000000000000000000000000000000000000000002386f26fc10000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000e9a347e4bfbe5a219f3497b1ca3ac8568a99ed6c0000000000000000000000009a88d47ebb4038e9d8479a9535fcca0d3f8ba73b000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000c417669757320416e696d6165000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034156410000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102345760003560e01c80636817c76c1161012e578063a22cb465116100ab578063d7224ba01161006f578063d7224ba014610874578063e5a6b10f1461089f578063e985e9c5146108ca578063efd0cbf914610907578063f2fde38b1461092357610274565b8063a22cb4651461078c578063a9cbd06d146107b5578063b88d4fde146107d1578063b9bd2801146107fa578063c87b56dd1461083757610274565b8063715018a6116100f2578063715018a6146106cb5780637cac2602146106e25780638da5cb5b1461070b57806395d89b41146107365780639da3f8fd1461076157610274565b80636817c76c146105d057806368855b64146105fb5780636c0360eb146106265780636c82054b1461065157806370a082311461068e57610274565b8063386b7691116101bc5780634f6ccce7116101805780634f6ccce7146104d757806355f804b3146105145780635c975abb1461053d5780636352211e146105685780636373a6b1146105a557610274565b8063386b7691146104185780633ccfd60b1461044357806342842e0e1461045a57806344fead9e1461048357806349df728c146104ae57610274565b80631096952311610203578063109695231461034757806318160ddd1461037057806323b872dd1461039b5780632f745c59146103c4578063333171bb1461040157610274565b806301ffc9a71461027957806306fdde03146102b6578063081812fc146102e1578063095ea7b31461031e57610274565b36610274577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874333460405161026a929190613f1f565b60405180910390a1005b600080fd5b34801561028557600080fd5b506102a0600480360381019061029b9190613fb4565b61094c565b6040516102ad9190613ffc565b60405180910390f35b3480156102c257600080fd5b506102cb610a96565b6040516102d891906140b0565b60405180910390f35b3480156102ed57600080fd5b50610308600480360381019061030391906140fe565b610b28565b604051610315919061412b565b60405180910390f35b34801561032a57600080fd5b5061034560048036038101906103409190614172565b610bad565b005b34801561035357600080fd5b5061036e600480360381019061036991906142e7565b610cc6565b005b34801561037c57600080fd5b50610385610d91565b6040516103929190614330565b60405180910390f35b3480156103a757600080fd5b506103c260048036038101906103bd919061434b565b610d9a565b005b3480156103d057600080fd5b506103eb60048036038101906103e69190614172565b610daa565b6040516103f89190614330565b60405180910390f35b34801561040d57600080fd5b50610416610fa8565b005b34801561042457600080fd5b5061042d611050565b60405161043a9190614330565b60405180910390f35b34801561044f57600080fd5b50610458611056565b005b34801561046657600080fd5b50610481600480360381019061047c919061434b565b611121565b005b34801561048f57600080fd5b50610498611141565b6040516104a59190614330565b60405180910390f35b3480156104ba57600080fd5b506104d560048036038101906104d0919061439e565b611147565b005b3480156104e357600080fd5b506104fe60048036038101906104f991906140fe565b6112be565b60405161050b9190614330565b60405180910390f35b34801561052057600080fd5b5061053b600480360381019061053691906142e7565b611311565b005b34801561054957600080fd5b50610552611399565b60405161055f9190613ffc565b60405180910390f35b34801561057457600080fd5b5061058f600480360381019061058a91906140fe565b6113ac565b60405161059c919061412b565b60405180910390f35b3480156105b157600080fd5b506105ba6113c2565b6040516105c791906140b0565b60405180910390f35b3480156105dc57600080fd5b506105e5611450565b6040516105f29190614330565b60405180910390f35b34801561060757600080fd5b50610610611456565b60405161061d9190614330565b60405180910390f35b34801561063257600080fd5b5061063b61145c565b60405161064891906140b0565b60405180910390f35b34801561065d57600080fd5b50610678600480360381019061067391906143cb565b6114ee565b6040516106859190614424565b60405180910390f35b34801561069a57600080fd5b506106b560048036038101906106b0919061439e565b611521565b6040516106c29190614330565b60405180910390f35b3480156106d757600080fd5b506106e061160a565b005b3480156106ee57600080fd5b5061070960048036038101906107049190614464565b611692565b005b34801561071757600080fd5b506107206117dc565b60405161072d919061412b565b60405180910390f35b34801561074257600080fd5b5061074b611806565b60405161075891906140b0565b60405180910390f35b34801561076d57600080fd5b50610776611898565b6040516107839190614508565b60405180910390f35b34801561079857600080fd5b506107b360048036038101906107ae919061454f565b6118ab565b005b6107cf60048036038101906107ca919061461b565b611a2c565b005b3480156107dd57600080fd5b506107f860048036038101906107f39190614730565b611fc0565b005b34801561080657600080fd5b50610821600480360381019061081c919061439e565b61201c565b60405161082e9190614330565b60405180910390f35b34801561084357600080fd5b5061085e600480360381019061085991906140fe565b612034565b60405161086b91906140b0565b60405180910390f35b34801561088057600080fd5b506108896120dc565b6040516108969190614330565b60405180910390f35b3480156108ab57600080fd5b506108b46120e2565b6040516108c1919061412b565b60405180910390f35b3480156108d657600080fd5b506108f160048036038101906108ec91906143cb565b612106565b6040516108fe9190613ffc565b60405180910390f35b610921600480360381019061091c91906140fe565b61219a565b005b34801561092f57600080fd5b5061094a6004803603810190610945919061439e565b61269f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a1757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a7f57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a8f5750610a8e82612797565b5b9050919050565b606060018054610aa5906147e2565b80601f0160208091040260200160405190810160405280929190818152602001828054610ad1906147e2565b8015610b1e5780601f10610af357610100808354040283529160200191610b1e565b820191906000526020600020905b815481529060010190602001808311610b0157829003601f168201915b5050505050905090565b6000610b3382612801565b610b72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6990614860565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bb8826113ac565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c20906148cc565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c4861280e565b73ffffffffffffffffffffffffffffffffffffffff161480610c775750610c7681610c7161280e565b612106565b5b610cb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cad90614860565b60405180910390fd5b610cc1838383612816565b505050565b610cce61280e565b73ffffffffffffffffffffffffffffffffffffffff16610cec6117dc565b73ffffffffffffffffffffffffffffffffffffffff1614610d42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3990614938565b60405180910390fd5b600b60009054906101000a900460ff1615610d5c57600080fd5b80600a9080519060200190610d72929190613de8565b506001600b60006101000a81548160ff02191690831515021790555050565b60008054905090565b610da58383836128c8565b505050565b6000610db583611521565b8210610df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ded906149a4565b60405180910390fd5b6000610e00610d91565b905060008060005b83811015610f66576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610efa57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f525786841415610f43578195505050505050610fa2565b8380610f4e906149f3565b9450505b508080610f5e906149f3565b915050610e08565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9990614a88565b60405180910390fd5b92915050565b610fb061280e565b73ffffffffffffffffffffffffffffffffffffffff16610fce6117dc565b73ffffffffffffffffffffffffffffffffffffffff1614611024576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101b90614938565b60405180910390fd5b601060149054906101000a900460ff1615601060146101000a81548160ff021916908315150217905550565b600d5481565b61105e61280e565b73ffffffffffffffffffffffffffffffffffffffff1661107c6117dc565b73ffffffffffffffffffffffffffffffffffffffff16146110d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c990614938565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561111d573d6000803e3d6000fd5b5050565b61113c83838360405180602001604052806000815250611fc0565b505050565b600f5481565b61114f61280e565b73ffffffffffffffffffffffffffffffffffffffff1661116d6117dc565b73ffffffffffffffffffffffffffffffffffffffff16146111c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ba90614938565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611219919061412b565b602060405180830381865afa158015611236573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125a9190614abd565b6040518363ffffffff1660e01b8152600401611277929190613f1f565b6020604051808303816000875af1158015611296573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ba9190614aff565b5050565b60006112c8610d91565b8210611309576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130090614b78565b60405180910390fd5b819050919050565b61131961280e565b73ffffffffffffffffffffffffffffffffffffffff166113376117dc565b73ffffffffffffffffffffffffffffffffffffffff161461138d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138490614938565b60405180910390fd5b61139681612e81565b50565b601060149054906101000a900460ff1681565b60006113b782612e9b565b600001519050919050565b600a80546113cf906147e2565b80601f01602080910402602001604051908101604052809291908181526020018280546113fb906147e2565b80156114485780601f1061141d57610100808354040283529160200191611448565b820191906000526020600020905b81548152906001019060200180831161142b57829003601f168201915b505050505081565b600c5481565b600e5481565b60606003805461146b906147e2565b80601f0160208091040260200160405190810160405280929190818152602001828054611497906147e2565b80156114e45780601f106114b9576101008083540402835291602001916114e4565b820191906000526020600020905b8154815290600101906020018083116114c757829003601f168201915b5050505050905090565b60008282604051602001611503929190614be0565b60405160208183030381529060405280519060200120905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611592576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158990614c58565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b61161261280e565b73ffffffffffffffffffffffffffffffffffffffff166116306117dc565b73ffffffffffffffffffffffffffffffffffffffff1614611686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167d90614938565b60405180910390fd5b611690600061309e565b565b61169a61280e565b73ffffffffffffffffffffffffffffffffffffffff166116b86117dc565b73ffffffffffffffffffffffffffffffffffffffff161461170e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170590614938565b60405180910390fd5b6000600381111561172257611721614491565b5b81600381111561173557611734614491565b5b141561174057600080fd5b6002600381111561175457611753614491565b5b601060159054906101000a900460ff16600381111561177657611775614491565b5b14156117af57600160038111156117905761178f614491565b5b8160038111156117a3576117a2614491565b5b14156117ae57600080fd5b5b80601060156101000a81548160ff021916908360038111156117d4576117d3614491565b5b021790555050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611815906147e2565b80601f0160208091040260200160405190810160405280929190818152602001828054611841906147e2565b801561188e5780601f106118635761010080835404028352916020019161188e565b820191906000526020600020905b81548152906001019060200180831161187157829003601f168201915b5050505050905090565b601060159054906101000a900460ff1681565b6118b361280e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611921576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191890614860565b60405180910390fd5b806007600061192e61280e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119db61280e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a209190613ffc565b60405180910390a35050565b60016003811115611a4057611a3f614491565b5b601060159054906101000a900460ff166003811115611a6257611a61614491565b5b148015611a7c5750601060149054906101000a900460ff16155b611abb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab290614cc4565b60405180910390fd5b600d5481611ac7610d91565b611ad19190614ce4565b1115611b12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0990614d86565b60405180910390fd5b83611b1d33306114ee565b14611b5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5490614df2565b60405180910390fd5b611bab8484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050613164565b611bea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be190614e5e565b60405180910390fd5b600f5481601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c389190614ce4565b1115611c79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7090614eca565b60405180910390fd5b600081600e54611c899190614eea565b905060006103e8601983611c9d9190614eea565b611ca79190614f73565b90507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff161415611dcc5734821115611d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5790614860565b60405180910390fd5b7f0000000000000000000000009a88d47ebb4038e9d8479a9535fcca0d3f8ba73b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611dc6573d6000803e3d6000fd5b50611f20565b60007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc290508073ffffffffffffffffffffffffffffffffffffffff166323b872dd337f0000000000000000000000009a88d47ebb4038e9d8479a9535fcca0d3f8ba73b856040518463ffffffff1660e01b8152600401611e4e93929190615003565b6020604051808303816000875af1158015611e6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e919190614aff565b508073ffffffffffffffffffffffffffffffffffffffff166323b872dd33308587611ebc919061503a565b6040518463ffffffff1660e01b8152600401611eda9392919061506e565b6020604051808303816000875af1158015611ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f1d9190614aff565b50505b82601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611f6b9190614ce4565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611fb833846131d9565b505050505050565b611fcb8484846128c8565b611fd7848484846131f7565b612016576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200d906150f1565b60405180910390fd5b50505050565b60116020528060005260406000206000915090505481565b606061203f82612801565b61207e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612075906150f1565b60405180910390fd5b60006003805461208d906147e2565b9050116120a957604051806020016040528060008152506120d5565b60036120b48361337f565b6040516020016120c59291906151e1565b6040516020818303038152906040525b9050919050565b60085481565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600260038111156121ae576121ad614491565b5b601060159054906101000a900460ff1660038111156121d0576121cf614491565b5b1480156121ea5750601060149054906101000a900460ff16155b612229576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222090614cc4565b60405180910390fd5b600d5481612235610d91565b61223f9190614ce4565b1115612280576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227790614d86565b60405180910390fd5b600f5481601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122ce9190614ce4565b111561230f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230690614eca565b60405180910390fd5b600081600c5461231f9190614eea565b905060006103e86019836123339190614eea565b61233d9190614f73565b90507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff16141561246f573483600c546123c29190614eea565b1115612403576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fa90614860565b60405180910390fd5b7f0000000000000000000000009a88d47ebb4038e9d8479a9535fcca0d3f8ba73b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015612469573d6000803e3d6000fd5b506125c5565b60007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc290508073ffffffffffffffffffffffffffffffffffffffff166323b872dd337f0000000000000000000000009a88d47ebb4038e9d8479a9535fcca0d3f8ba73b856040518463ffffffff1660e01b81526004016124f193929190615003565b6020604051808303816000875af1158015612510573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125349190614aff565b508073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330600c54886125619190614eea565b6040518463ffffffff1660e01b815260040161257f9392919061506e565b6020604051808303816000875af115801561259e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125c29190614aff565b50505b82601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126109190614ce4565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061265d33846131d9565b600d54612668610d91565b141561269a576003601060156101000a81548160ff0219169083600381111561269457612693614491565b5b02179055505b505050565b6126a761280e565b73ffffffffffffffffffffffffffffffffffffffff166126c56117dc565b73ffffffffffffffffffffffffffffffffffffffff161461271b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271290614938565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561278b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278290615277565b60405180910390fd5b6127948161309e565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006128d382612e9b565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166128fa61280e565b73ffffffffffffffffffffffffffffffffffffffff161480612956575061291f61280e565b73ffffffffffffffffffffffffffffffffffffffff1661293e84610b28565b73ffffffffffffffffffffffffffffffffffffffff16145b806129725750612971826000015161296c61280e565b612106565b5b9050806129b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ab90614860565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1d906148cc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612a96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8d90614c58565b60405180910390fd5b612aa385858560016134e0565b612ab36000848460000151612816565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612b2191906152b3565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612bc591906152e7565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050506000600184612ccb9190614ce4565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612e1157612d4181612801565b15612e10576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e7986868660016134e6565b505050505050565b8060039080519060200190612e97929190613de8565b5050565b612ea3613e6e565b612eac82612801565b612eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ee290615379565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000a8310612f4f5760017f000000000000000000000000000000000000000000000000000000000000000a84612f42919061503a565b612f4c9190614ce4565b90505b60008390505b81811061305d576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461304957809350505050613099565b50808061305590615399565b915050612f55565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613090906148cc565b60405180910390fd5b919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061318182613173856134ec565b61351c90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b6131f3828260405180602001604052806000815250613543565b5050565b60006132188473ffffffffffffffffffffffffffffffffffffffff16613a22565b15613372578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261324161280e565b8786866040518563ffffffff1660e01b81526004016132639493929190615418565b6020604051808303816000875af192505050801561329f57506040513d601f19601f8201168201806040525081019061329c9190615479565b60015b613322573d80600081146132cf576040519150601f19603f3d011682016040523d82523d6000602084013e6132d4565b606091505b5060008151141561331a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613311906150f1565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613377565b600190505b949350505050565b606060008214156133c7576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506134db565b600082905060005b600082146133f95780806133e2906149f3565b915050600a826133f29190614f73565b91506133cf565b60008167ffffffffffffffff811115613415576134146141bc565b5b6040519080825280601f01601f1916602001820160405280156134475781602001600182028036833780820191505090505b5090505b600085146134d457600182613460919061503a565b9150600a8561346f91906154a6565b603061347b9190614ce4565b60f81b818381518110613491576134906154d7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856134cd9190614f73565b945061344b565b8093505050505b919050565b50505050565b50505050565b6000816040516020016134ff9190615573565b604051602081830303815290604052805190602001209050919050565b600080600061352b8585613a35565b9150915061353881613ab8565b819250505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156135b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135b090614c58565b60405180910390fd5b6135c281612801565b15613602576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135f990614860565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000a831115613665576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365c90614d86565b60405180910390fd5b61367260008583866134e0565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815250509050604051806040016040528085836000015161376f91906152e7565b6fffffffffffffffffffffffffffffffff16815260200185836020015161379691906152e7565b6fffffffffffffffffffffffffffffffff16815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b85811015613a0557818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46139a560008884886131f7565b6139e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139db906150f1565b60405180910390fd5b81806139ef906149f3565b92505080806139fd906149f3565b915050613934565b5080600081905550613a1a60008785886134e6565b505050505050565b600080823b905060008111915050919050565b600080604183511415613a775760008060006020860151925060408601519150606086015160001a9050613a6b87828585613c8d565b94509450505050613ab1565b604083511415613aa8576000806020850151915060408501519050613a9d868383613d9a565b935093505050613ab1565b60006002915091505b9250929050565b60006004811115613acc57613acb614491565b5b816004811115613adf57613ade614491565b5b1415613aea57613c8a565b60016004811115613afe57613afd614491565b5b816004811115613b1157613b10614491565b5b1415613b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b49906155e5565b60405180910390fd5b60026004811115613b6657613b65614491565b5b816004811115613b7957613b78614491565b5b1415613bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bb190615651565b60405180910390fd5b60036004811115613bce57613bcd614491565b5b816004811115613be157613be0614491565b5b1415613c22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c19906156e3565b60405180910390fd5b600480811115613c3557613c34614491565b5b816004811115613c4857613c47614491565b5b1415613c89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c8090615775565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613cc8576000600391509150613d91565b601b8560ff1614158015613ce05750601c8560ff1614155b15613cf2576000600491509150613d91565b600060018787878760405160008152602001604052604051613d1794939291906157b1565b6020604051602081039080840390855afa158015613d39573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613d8857600060019250925050613d91565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613dda87828885613c8d565b935093505050935093915050565b828054613df4906147e2565b90600052602060002090601f016020900481019282613e165760008555613e5d565b82601f10613e2f57805160ff1916838001178555613e5d565b82800160010185558215613e5d579182015b82811115613e5c578251825591602001919060010190613e41565b5b509050613e6a9190613ea8565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613ec1576000816000905550600101613ea9565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613ef082613ec5565b9050919050565b613f0081613ee5565b82525050565b6000819050919050565b613f1981613f06565b82525050565b6000604082019050613f346000830185613ef7565b613f416020830184613f10565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613f9181613f5c565b8114613f9c57600080fd5b50565b600081359050613fae81613f88565b92915050565b600060208284031215613fca57613fc9613f52565b5b6000613fd884828501613f9f565b91505092915050565b60008115159050919050565b613ff681613fe1565b82525050565b60006020820190506140116000830184613fed565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015614051578082015181840152602081019050614036565b83811115614060576000848401525b50505050565b6000601f19601f8301169050919050565b600061408282614017565b61408c8185614022565b935061409c818560208601614033565b6140a581614066565b840191505092915050565b600060208201905081810360008301526140ca8184614077565b905092915050565b6140db81613f06565b81146140e657600080fd5b50565b6000813590506140f8816140d2565b92915050565b60006020828403121561411457614113613f52565b5b6000614122848285016140e9565b91505092915050565b60006020820190506141406000830184613ef7565b92915050565b61414f81613ee5565b811461415a57600080fd5b50565b60008135905061416c81614146565b92915050565b6000806040838503121561418957614188613f52565b5b60006141978582860161415d565b92505060206141a8858286016140e9565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6141f482614066565b810181811067ffffffffffffffff82111715614213576142126141bc565b5b80604052505050565b6000614226613f48565b905061423282826141eb565b919050565b600067ffffffffffffffff821115614252576142516141bc565b5b61425b82614066565b9050602081019050919050565b82818337600083830152505050565b600061428a61428584614237565b61421c565b9050828152602081018484840111156142a6576142a56141b7565b5b6142b1848285614268565b509392505050565b600082601f8301126142ce576142cd6141b2565b5b81356142de848260208601614277565b91505092915050565b6000602082840312156142fd576142fc613f52565b5b600082013567ffffffffffffffff81111561431b5761431a613f57565b5b614327848285016142b9565b91505092915050565b60006020820190506143456000830184613f10565b92915050565b60008060006060848603121561436457614363613f52565b5b60006143728682870161415d565b93505060206143838682870161415d565b9250506040614394868287016140e9565b9150509250925092565b6000602082840312156143b4576143b3613f52565b5b60006143c28482850161415d565b91505092915050565b600080604083850312156143e2576143e1613f52565b5b60006143f08582860161415d565b92505060206144018582860161415d565b9150509250929050565b6000819050919050565b61441e8161440b565b82525050565b60006020820190506144396000830184614415565b92915050565b6004811061444c57600080fd5b50565b60008135905061445e8161443f565b92915050565b60006020828403121561447a57614479613f52565b5b60006144888482850161444f565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600481106144d1576144d0614491565b5b50565b60008190506144e2826144c0565b919050565b60006144f2826144d4565b9050919050565b614502816144e7565b82525050565b600060208201905061451d60008301846144f9565b92915050565b61452c81613fe1565b811461453757600080fd5b50565b60008135905061454981614523565b92915050565b6000806040838503121561456657614565613f52565b5b60006145748582860161415d565b92505060206145858582860161453a565b9150509250929050565b6145988161440b565b81146145a357600080fd5b50565b6000813590506145b58161458f565b92915050565b600080fd5b600080fd5b60008083601f8401126145db576145da6141b2565b5b8235905067ffffffffffffffff8111156145f8576145f76145bb565b5b602083019150836001820283011115614614576146136145c0565b5b9250929050565b6000806000806060858703121561463557614634613f52565b5b6000614643878288016145a6565b945050602085013567ffffffffffffffff81111561466457614663613f57565b5b614670878288016145c5565b93509350506040614683878288016140e9565b91505092959194509250565b600067ffffffffffffffff8211156146aa576146a96141bc565b5b6146b382614066565b9050602081019050919050565b60006146d36146ce8461468f565b61421c565b9050828152602081018484840111156146ef576146ee6141b7565b5b6146fa848285614268565b509392505050565b600082601f830112614717576147166141b2565b5b81356147278482602086016146c0565b91505092915050565b6000806000806080858703121561474a57614749613f52565b5b60006147588782880161415d565b94505060206147698782880161415d565b935050604061477a878288016140e9565b925050606085013567ffffffffffffffff81111561479b5761479a613f57565b5b6147a787828801614702565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806147fa57607f821691505b6020821081141561480e5761480d6147b3565b5b50919050565b7f6100000000000000000000000000000000000000000000000000000000000000600082015250565b600061484a600183614022565b915061485582614814565b602082019050919050565b600060208201905081810360008301526148798161483d565b9050919050565b7f6f00000000000000000000000000000000000000000000000000000000000000600082015250565b60006148b6600183614022565b91506148c182614880565b602082019050919050565b600060208201905081810360008301526148e5816148a9565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614922602083614022565b915061492d826148ec565b602082019050919050565b6000602082019050818103600083015261495181614915565b9050919050565b7f6200000000000000000000000000000000000000000000000000000000000000600082015250565b600061498e600183614022565b915061499982614958565b602082019050919050565b600060208201905081810360008301526149bd81614981565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006149fe82613f06565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614a3157614a306149c4565b5b600182019050919050565b7f7500000000000000000000000000000000000000000000000000000000000000600082015250565b6000614a72600183614022565b9150614a7d82614a3c565b602082019050919050565b60006020820190508181036000830152614aa181614a65565b9050919050565b600081519050614ab7816140d2565b92915050565b600060208284031215614ad357614ad2613f52565b5b6000614ae184828501614aa8565b91505092915050565b600081519050614af981614523565b92915050565b600060208284031215614b1557614b14613f52565b5b6000614b2384828501614aea565b91505092915050565b7f6700000000000000000000000000000000000000000000000000000000000000600082015250565b6000614b62600183614022565b9150614b6d82614b2c565b602082019050919050565b60006020820190508181036000830152614b9181614b55565b9050919050565b60008160601b9050919050565b6000614bb082614b98565b9050919050565b6000614bc282614ba5565b9050919050565b614bda614bd582613ee5565b614bb7565b82525050565b6000614bec8285614bc9565b601482019150614bfc8284614bc9565b6014820191508190509392505050565b7f3000000000000000000000000000000000000000000000000000000000000000600082015250565b6000614c42600183614022565b9150614c4d82614c0c565b602082019050919050565b60006020820190508181036000830152614c7181614c35565b9050919050565b7f7300000000000000000000000000000000000000000000000000000000000000600082015250565b6000614cae600183614022565b9150614cb982614c78565b602082019050919050565b60006020820190508181036000830152614cdd81614ca1565b9050919050565b6000614cef82613f06565b9150614cfa83613f06565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d2f57614d2e6149c4565b5b828201905092915050565b7f6d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614d70600183614022565b9150614d7b82614d3a565b602082019050919050565b60006020820190508181036000830152614d9f81614d63565b9050919050565b7f6900000000000000000000000000000000000000000000000000000000000000600082015250565b6000614ddc600183614022565b9150614de782614da6565b602082019050919050565b60006020820190508181036000830152614e0b81614dcf565b9050919050565b7f6600000000000000000000000000000000000000000000000000000000000000600082015250565b6000614e48600183614022565b9150614e5382614e12565b602082019050919050565b60006020820190508181036000830152614e7781614e3b565b9050919050565b7f6c00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614eb4600183614022565b9150614ebf82614e7e565b602082019050919050565b60006020820190508181036000830152614ee381614ea7565b9050919050565b6000614ef582613f06565b9150614f0083613f06565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f3957614f386149c4565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614f7e82613f06565b9150614f8983613f06565b925082614f9957614f98614f44565b5b828204905092915050565b6000819050919050565b6000614fc9614fc4614fbf84613ec5565b614fa4565b613ec5565b9050919050565b6000614fdb82614fae565b9050919050565b6000614fed82614fd0565b9050919050565b614ffd81614fe2565b82525050565b60006060820190506150186000830186613ef7565b6150256020830185614ff4565b6150326040830184613f10565b949350505050565b600061504582613f06565b915061505083613f06565b925082821015615063576150626149c4565b5b828203905092915050565b60006060820190506150836000830186613ef7565b6150906020830185613ef7565b61509d6040830184613f10565b949350505050565b7f7a00000000000000000000000000000000000000000000000000000000000000600082015250565b60006150db600183614022565b91506150e6826150a5565b602082019050919050565b6000602082019050818103600083015261510a816150ce565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461513e816147e2565b6151488186615111565b945060018216600081146151635760018114615174576151a7565b60ff198316865281860193506151a7565b61517d8561511c565b60005b8381101561519f57815481890152600182019150602081019050615180565b838801955050505b50505092915050565b60006151bb82614017565b6151c58185615111565b93506151d5818560208601614033565b80840191505092915050565b60006151ed8285615131565b91506151f982846151b0565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615261602683614022565b915061526c82615205565b604082019050919050565b6000602082019050818103600083015261529081615254565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b60006152be82615297565b91506152c983615297565b9250828210156152dc576152db6149c4565b5b828203905092915050565b60006152f282615297565b91506152fd83615297565b9250826fffffffffffffffffffffffffffffffff03821115615322576153216149c4565b5b828201905092915050565b7f7400000000000000000000000000000000000000000000000000000000000000600082015250565b6000615363600183614022565b915061536e8261532d565b602082019050919050565b6000602082019050818103600083015261539281615356565b9050919050565b60006153a482613f06565b915060008214156153b8576153b76149c4565b5b600182039050919050565b600081519050919050565b600082825260208201905092915050565b60006153ea826153c3565b6153f481856153ce565b9350615404818560208601614033565b61540d81614066565b840191505092915050565b600060808201905061542d6000830187613ef7565b61543a6020830186613ef7565b6154476040830185613f10565b818103606083015261545981846153df565b905095945050505050565b60008151905061547381613f88565b92915050565b60006020828403121561548f5761548e613f52565b5b600061549d84828501615464565b91505092915050565b60006154b182613f06565b91506154bc83613f06565b9250826154cc576154cb614f44565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b600061553c601c83615111565b915061554782615506565b601c82019050919050565b6000819050919050565b61556d6155688261440b565b615552565b82525050565b600061557e8261552f565b915061558a828461555c565b60208201915081905092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006155cf601883614022565b91506155da82615599565b602082019050919050565b600060208201905081810360008301526155fe816155c2565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b600061563b601f83614022565b915061564682615605565b602082019050919050565b6000602082019050818103600083015261566a8161562e565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006156cd602283614022565b91506156d882615671565b604082019050919050565b600060208201905081810360008301526156fc816156c0565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061575f602283614022565b915061576a82615703565b604082019050919050565b6000602082019050818103600083015261578e81615752565b9050919050565b600060ff82169050919050565b6157ab81615795565b82525050565b60006080820190506157c66000830187614415565b6157d360208301866157a2565b6157e06040830185614415565b6157ed6060830184614415565b9594505050505056fea264697066735822122066b5206862fdd39ef169d88f1037d09b6a2a0f0009026e33559a4f9ef0b56ccc64736f6c634300080a0033

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

000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000002386f26fc10000000000000000000000000000000000000000000000000000002386f26fc10000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000e9a347e4bfbe5a219f3497b1ca3ac8568a99ed6c0000000000000000000000009a88d47ebb4038e9d8479a9535fcca0d3f8ba73b000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000c417669757320416e696d6165000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034156410000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Avius Animae
Arg [1] : _symbol (string): AVA
Arg [2] : _maxPossibleSupply (uint256): 10000
Arg [3] : _mintPrice (uint256): 10000000000000000
Arg [4] : _allowListMintPrice (uint256): 10000000000000000
Arg [5] : _maxAllowedMints (uint256): 10
Arg [6] : _signerAddress (address): 0xe9A347e4bFbe5A219F3497B1CA3Ac8568a99ED6c
Arg [7] : _omakasea (address): 0x9A88d47EBb4038e9d8479A9535FCCa0d3F8Ba73B
Arg [8] : _currency (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [9] : _wrappedNativeCoinAddress (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [3] : 000000000000000000000000000000000000000000000000002386f26fc10000
Arg [4] : 000000000000000000000000000000000000000000000000002386f26fc10000
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [6] : 000000000000000000000000e9a347e4bfbe5a219f3497b1ca3ac8568a99ed6c
Arg [7] : 0000000000000000000000009a88d47ebb4038e9d8479a9535fcca0d3f8ba73b
Arg [8] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [9] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [10] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [11] : 417669757320416e696d61650000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [13] : 4156410000000000000000000000000000000000000000000000000000000000


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

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