ETH Price: $3,306.73 (-3.06%)
Gas: 13 Gwei

Token

Outlaw Gals MC (OGMC)
 

Overview

Max Total Supply

5,999 OGMC

Holders

1,807

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
agogojoe.eth
Balance
2 OGMC
0x13546cdb4fea70936acacd8e8a07b2117af765ca
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

As the dust settled, the throaty roar of the bikes died down to a rhythmic rumble. The squeak of a kickstand was followed by a thud, as she planted her leather boot in the dirt. She turned to face the rest of the gang before thrusting a victorious fist high in the air “We made...

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
OGMC

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 12 of 16: OGMC.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;

import "./SafeMath.sol";
import "./Strings.sol";
import "./Address.sol";
import "./Ownable.sol";
import "./ReentrancyGuard.sol";
import "./IERC1155.sol";
import "./ERC721Enumerable.sol";

interface IPremintKeys{
    function getPremintKeyType(uint256 _keyId) external pure returns(uint256);
    function exists(uint256 _tokenId) external view returns (bool);
    function isApprovedOrOwner(address _spender, uint256 _tokenId) external view returns (bool);
}

interface IWalletOfOwner {
    function walletOfOwner(address _owner) external view returns(uint256[] memory);
}

contract OGMC is ERC721Enumerable, IWalletOfOwner, Ownable, ReentrancyGuard {
    using Strings for uint256;
    
    IPremintKeys public premintKeysContract;
    IERC721 public premintKeysContractIERC721;
    
    uint256 public constant OGMC_PRICE = 70000000000000000; //0.07 ETH
    uint256 public constant OGMC_MAX = 6000;
    uint256 public constant OGMC_RESERVED = 100;
    
    uint256 public constant OGMC_PER_MINT = 10;
    uint256 public constant OGMC_LIMIT_GOLD = 3;
    uint256 public constant OGMC_LIMIT_SILVER = 2;

    uint256 public publicAmountMinted = 0;
    uint256 public reservedAmountMinted = 0;

    string private _baseTokenURI;
    string private _contractURI;
    
    mapping(uint256 => bool) public usedPremintKeys;

    string public provenanceHash;
    
    bool public presaleLive = false;
    bool public publicSaleLive = false;

    constructor(address _premintKeysContract) ERC721("Outlaw Gals MC", "OGMC")  {
        premintKeysContract = IPremintKeys(_premintKeysContract);
        premintKeysContractIERC721 = IERC721(_premintKeysContract);
    }

    function publicMint(uint256 _num) public payable nonReentrant{
        uint256 supply = OGMC_RESERVED + publicAmountMinted;
        require(publicSaleLive,                     "PUBLIC_SALE_PAUSED");
        require(_num <= OGMC_PER_MINT,              "EXCEED_PER_MINT");
        require(totalSupply() + _num <= OGMC_MAX,   "OUT_OF_STOCK");
        require(supply + _num <= OGMC_MAX,          "EXCEED_PUBLIC");
        require(msg.value == OGMC_PRICE * _num,     "ETH_INCORRECT");

        for(uint256 i = 1; i <= _num; i++){
            publicAmountMinted++;
            _safeMint( msg.sender, supply + i );
        }
    }

    function presaleMint(uint256 _num, uint256 _keyId) public payable nonReentrant{
        uint256 supply = OGMC_RESERVED + publicAmountMinted; 
        require(presaleLive,                                                "PRE_SALE_PAUSED");
        require(totalSupply() + _num <= OGMC_MAX,                           "OUT_OF_STOCK");
        require(supply + _num <= OGMC_MAX,                                  "EXCEED_PUBLIC");
        require(msg.value == OGMC_PRICE * _num,                             "ETH_INCORRECT");
        require(premintKeysContractIERC721.balanceOf(msg.sender) > 0,       "NO_KEY");
        require(premintKeysContract.isApprovedOrOwner(msg.sender, _keyId),  "NOT_OWNER_NOR_APPROVED");
        require(usedPremintKeys[_keyId] == false,                           "KEY_USED");
        
        //keyType 1 for Silver
        if (premintKeysContract.getPremintKeyType(_keyId) == 1){
            require( _num <= OGMC_LIMIT_SILVER,         "EXCEED_PER_MINT_SILVER");
            usedPremintKeys[_keyId] = true;
            for(uint256 i = 1; i <= _num; i++){
                publicAmountMinted++;
                _safeMint( msg.sender, supply + i );
            }
        }
        //keyType 2 for Gold
        if (premintKeysContract.getPremintKeyType(_keyId) == 2){
            require( _num <= OGMC_LIMIT_GOLD,           "EXCEED_PER_MINT_GOLD");
            usedPremintKeys[_keyId] = true;
            for(uint256 i = 1; i <= _num; i++){
                publicAmountMinted++;
                _safeMint( msg.sender, supply + i );
            }
        }
    }

    function giveAway(address _targetAddress, uint256 _amount) external onlyOwner {
        require(_amount + reservedAmountMinted <= OGMC_RESERVED,    "EXCEED_RESERVED");
        require(totalSupply() + _amount <= OGMC_MAX,                "OUT_OF_STOCK");
        
        for(uint256 i; i < _amount; i++){
            reservedAmountMinted++;
            _safeMint( _targetAddress, reservedAmountMinted );
        }
    }
    
    function walletOfOwner(address _owner) public view virtual override returns(uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);

        uint256[] memory tokensId = new uint256[](tokenCount);
        for(uint256 i; i < tokenCount; i++){
            tokensId[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokensId;
    }
    
    function isPremintKeyUsed(uint256 _keyId) public view returns (bool){
        return usedPremintKeys[_keyId] == true;
    }

    function burn(uint256 _tokenId) public virtual {
        require(_isApprovedOrOwner(msg.sender, _tokenId), "NOT_OWNER_NOR_APPROVED");
        _burn(_tokenId);
    }
    
    function exists(uint256 _tokenId) external view returns (bool) {
        return _exists(_tokenId);
    }

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

    function setBaseURI(string calldata _uri) public onlyOwner {
        _baseTokenURI = _uri;
    }
    
    function contractURI() public view returns (string memory) {
        return _contractURI;
    }
    
    function setContractURI(string calldata _uri) external onlyOwner {
        _contractURI = _uri;
    }

    function setProvenanceHash(string calldata _hash) external onlyOwner{
        provenanceHash = _hash;
    }

    function setPublicSaleLiveStatus(bool _val) public onlyOwner {
        publicSaleLive = _val;
    }

    function setPresaleLiveStatus(bool _val) public onlyOwner {
        presaleLive = _val;
    }
    
    function withdraw() public onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }
}

File 1 of 16: 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 2 of 16: 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 3 of 16: 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 4 of 16: ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./IERC721Metadata.sol";
import "./Address.sol";
import "./Context.sol";
import "./Strings.sol";
import "./ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // 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 Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @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), "ERC721Metadata: URI query for nonexistent token");

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

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

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

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @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`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

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

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * 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
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @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.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 5 of 16: ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 6 of 16: IERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

File 8 of 16: IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./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 9 of 16: 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 10 of 16: 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 11 of 16: 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 13 of 16: Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./Context.sol";

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

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

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

    /**
     * @dev 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 {
        _transferOwnership(address(0));
    }

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

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

File 14 of 16: ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 15 of 16: SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_premintKeysContract","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":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":"OGMC_LIMIT_GOLD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OGMC_LIMIT_SILVER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OGMC_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OGMC_PER_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OGMC_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OGMC_RESERVED","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":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_targetAddress","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"giveAway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_keyId","type":"uint256"}],"name":"isPremintKeyUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"premintKeysContract","outputs":[{"internalType":"contract IPremintKeys","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"premintKeysContractIERC721","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_num","type":"uint256"},{"internalType":"uint256","name":"_keyId","type":"uint256"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"provenanceHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicAmountMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_num","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSaleLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedAmountMinted","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_val","type":"bool"}],"name":"setPresaleLiveStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_val","type":"bool"}],"name":"setPublicSaleLiveStatus","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":[],"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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"usedPremintKeys","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600e819055600f556014805461ffff191690553480156200002657600080fd5b5060405162003027380380620030278339810160408190526200004991620001ff565b604080518082018252600e81526d4f75746c61772047616c73204d4360901b6020808301918252835180850190945260048452634f474d4360e01b9084015281519192916200009b9160009162000159565b508051620000b190600190602084019062000159565b505050620000ce620000c86200010360201b60201c565b62000107565b6001600b55600c80546001600160a01b039092166001600160a01b03199283168117909155600d80549092161790556200026e565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001679062000231565b90600052602060002090601f0160209004810192826200018b5760008555620001d6565b82601f10620001a657805160ff1916838001178555620001d6565b82800160010185558215620001d6579182015b82811115620001d6578251825591602001919060010190620001b9565b50620001e4929150620001e8565b5090565b5b80821115620001e45760008155600101620001e9565b6000602082840312156200021257600080fd5b81516001600160a01b03811681146200022a57600080fd5b9392505050565b600181811c908216806200024657607f821691505b602082108114156200026857634e487b7160e01b600052602260045260246000fd5b50919050565b612da9806200027e6000396000f3fe6080604052600436106102885760003560e01c806358dd175d1161015a578063a22cb465116100c1578063cba8cc151161007a578063cba8cc1514610776578063e48183b81461078c578063e8a3d485146107bc578063e985e9c5146107d1578063f2fde38b1461081a578063f54fee5a1461083a57600080fd5b8063a22cb465146106c1578063abb2ded9146106e1578063b88d4fde14610701578063c6ab67a314610721578063c87b56dd14610736578063ca8001441461075657600080fd5b80638da5cb5b116101135780638da5cb5b1461062d5780638f23b7d81461064b578063938e3d7b14610661578063940f1ada1461068157806395d89b411461069757806399042442146106ac57600080fd5b806358dd175d146105965780636352211e146105a957806370a08231146105c9578063715018a6146105e957806373a49bec146105fe57806383a9e0491461061357600080fd5b80632f745c59116101fe578063438b6300116101b7578063438b6300146104c95780634f558e79146104f65780634f6ccce714610516578063517abf091461053657806355f804b31461055657806358745e9a1461057657600080fd5b80632f745c591461041f57806333bd37461461043f5780633ccfd60b1461045f5780633e1724311461047457806342842e0e1461048957806342966c68146104a957600080fd5b80631096952311610250578063109695231461037357806318160ddd1461039357806320ca0b6e146103b257806323b872dd146103cd57806326d93800146103ed5780632db115441461040c57600080fd5b806301ffc9a71461028d57806306fdde03146102c2578063081812fc146102e4578063095ea7b31461031c5780630f57b9441461033e575b600080fd5b34801561029957600080fd5b506102ad6102a83660046128fc565b61084f565b60405190151581526020015b60405180910390f35b3480156102ce57600080fd5b506102d761087a565b6040516102b99190612ad8565b3480156102f057600080fd5b506103046102ff3660046129a8565b61090c565b6040516001600160a01b0390911681526020016102b9565b34801561032857600080fd5b5061033c610337366004612898565b6109a6565b005b34801561034a57600080fd5b506102ad6103593660046129a8565b60009081526012602052604090205460ff16151560011490565b34801561037f57600080fd5b5061033c61038e366004612936565b610abc565b34801561039f57600080fd5b506008545b6040519081526020016102b9565b3480156103be57600080fd5b506103a466f8b0a10e47000081565b3480156103d957600080fd5b5061033c6103e8366004612749565b610af2565b3480156103f957600080fd5b506014546102ad90610100900460ff1681565b61033c61041a3660046129a8565b610b23565b34801561042b57600080fd5b506103a461043a366004612898565b610d3c565b34801561044b57600080fd5b50600d54610304906001600160a01b031681565b34801561046b57600080fd5b5061033c610dd2565b34801561048057600080fd5b506103a4606481565b34801561049557600080fd5b5061033c6104a4366004612749565b610e2b565b3480156104b557600080fd5b5061033c6104c43660046129a8565b610e46565b3480156104d557600080fd5b506104e96104e43660046126fb565b610e9e565b6040516102b99190612a94565b34801561050257600080fd5b506102ad6105113660046129a8565b610f40565b34801561052257600080fd5b506103a46105313660046129a8565b610f5f565b34801561054257600080fd5b50600c54610304906001600160a01b031681565b34801561056257600080fd5b5061033c610571366004612936565b610ff2565b34801561058257600080fd5b5061033c6105913660046128c2565b611028565b61033c6105a43660046129da565b611065565b3480156105b557600080fd5b506103046105c43660046129a8565b611602565b3480156105d557600080fd5b506103a46105e43660046126fb565b611679565b3480156105f557600080fd5b5061033c611700565b34801561060a57600080fd5b506103a4600a81565b34801561061f57600080fd5b506014546102ad9060ff1681565b34801561063957600080fd5b50600a546001600160a01b0316610304565b34801561065757600080fd5b506103a461177081565b34801561066d57600080fd5b5061033c61067c366004612936565b611736565b34801561068d57600080fd5b506103a4600e5481565b3480156106a357600080fd5b506102d761176c565b3480156106b857600080fd5b506103a4600381565b3480156106cd57600080fd5b5061033c6106dc366004612861565b61177b565b3480156106ed57600080fd5b5061033c6106fc3660046128c2565b611840565b34801561070d57600080fd5b5061033c61071c366004612785565b611884565b34801561072d57600080fd5b506102d76118bc565b34801561074257600080fd5b506102d76107513660046129a8565b61194a565b34801561076257600080fd5b5061033c610771366004612898565b611a25565b34801561078257600080fd5b506103a4600f5481565b34801561079857600080fd5b506102ad6107a73660046129a8565b60126020526000908152604090205460ff1681565b3480156107c857600080fd5b506102d7611b12565b3480156107dd57600080fd5b506102ad6107ec366004612716565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561082657600080fd5b5061033c6108353660046126fb565b611b21565b34801561084657600080fd5b506103a4600281565b60006001600160e01b0319821663780e9d6360e01b1480610874575061087482611bb9565b92915050565b60606000805461088990612c77565b80601f01602080910402602001604051908101604052809291908181526020018280546108b590612c77565b80156109025780601f106108d757610100808354040283529160200191610902565b820191906000526020600020905b8154815290600101906020018083116108e557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661098a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006109b182611602565b9050806001600160a01b0316836001600160a01b03161415610a1f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610981565b336001600160a01b0382161480610a3b5750610a3b81336107ec565b610aad5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610981565b610ab78383611c09565b505050565b600a546001600160a01b03163314610ae65760405162461bcd60e51b815260040161098190612b63565b610ab760138383612646565b610afc3382611c77565b610b185760405162461bcd60e51b815260040161098190612b98565b610ab7838383611d6e565b6002600b541415610b765760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610981565b6002600b55600e54600090610b8c906064612be9565b601454909150610100900460ff16610bdb5760405162461bcd60e51b8152602060048201526012602482015271141550931250d7d4d0531157d4105554d15160721b6044820152606401610981565b600a821115610c1e5760405162461bcd60e51b815260206004820152600f60248201526e115610d1515117d4115497d3525395608a1b6044820152606401610981565b61177082610c2b60085490565b610c359190612be9565b1115610c535760405162461bcd60e51b815260040161098190612b3d565b611770610c608383612be9565b1115610c9e5760405162461bcd60e51b815260206004820152600d60248201526c4558434545445f5055424c494360981b6044820152606401610981565b610caf8266f8b0a10e470000612c15565b3414610ced5760405162461bcd60e51b815260206004820152600d60248201526c11551217d25390d3d4949150d5609a1b6044820152606401610981565b60015b828111610d3257600e8054906000610d0783612cb2565b90915550610d20905033610d1b8385612be9565b611f19565b80610d2a81612cb2565b915050610cf0565b50506001600b5550565b6000610d4783611679565b8210610da95760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610981565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610dfc5760405162461bcd60e51b815260040161098190612b63565b60405133904780156108fc02916000818181858888f19350505050158015610e28573d6000803e3d6000fd5b50565b610ab783838360405180602001604052806000815250611884565b610e503382611c77565b610e955760405162461bcd60e51b81526020600482015260166024820152751393d517d3d5d3915497d393d497d054141493d5915160521b6044820152606401610981565b610e2881611f37565b60606000610eab83611679565b905060008167ffffffffffffffff811115610ec857610ec8612d39565b604051908082528060200260200182016040528015610ef1578160200160208202803683370190505b50905060005b82811015610f3857610f098582610d3c565b828281518110610f1b57610f1b612d23565b602090810291909101015280610f3081612cb2565b915050610ef7565b509392505050565b6000818152600260205260408120546001600160a01b03161515610874565b6000610f6a60085490565b8210610fcd5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610981565b60088281548110610fe057610fe0612d23565b90600052602060002001549050919050565b600a546001600160a01b0316331461101c5760405162461bcd60e51b815260040161098190612b63565b610ab760108383612646565b600a546001600160a01b031633146110525760405162461bcd60e51b815260040161098190612b63565b6014805460ff1916911515919091179055565b6002600b5414156110b85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610981565b6002600b55600e546000906110ce906064612be9565b60145490915060ff166111155760405162461bcd60e51b815260206004820152600f60248201526e14149157d4d0531157d4105554d151608a1b6044820152606401610981565b6117708361112260085490565b61112c9190612be9565b111561114a5760405162461bcd60e51b815260040161098190612b3d565b6117706111578483612be9565b11156111955760405162461bcd60e51b815260206004820152600d60248201526c4558434545445f5055424c494360981b6044820152606401610981565b6111a68366f8b0a10e470000612c15565b34146111e45760405162461bcd60e51b815260206004820152600d60248201526c11551217d25390d3d4949150d5609a1b6044820152606401610981565b600d546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561122857600080fd5b505afa15801561123c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126091906129c1565b116112965760405162461bcd60e51b81526020600482015260066024820152654e4f5f4b455960d01b6044820152606401610981565b600c5460405163430c208160e01b8152336004820152602481018490526001600160a01b039091169063430c20819060440160206040518083038186803b1580156112e057600080fd5b505afa1580156112f4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131891906128df565b61135d5760405162461bcd60e51b81526020600482015260166024820152751393d517d3d5d3915497d393d497d054141493d5915160521b6044820152606401610981565b60008281526012602052604090205460ff16156113a75760405162461bcd60e51b815260206004820152600860248201526712d15657d554d15160c21b6044820152606401610981565b600c5460405163fc9726cf60e01b8152600481018490526001600160a01b039091169063fc9726cf9060240160206040518083038186803b1580156113eb57600080fd5b505afa1580156113ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142391906129c1565b600114156114d15760028311156114755760405162461bcd60e51b815260206004820152601660248201527522ac21a2a2a22fa822a92fa6a4a72a2fa9a4a62b22a960511b6044820152606401610981565b6000828152601260205260409020805460ff191660019081179091555b8381116114cf57600e80549060006114a983612cb2565b909155506114bd905033610d1b8385612be9565b806114c781612cb2565b915050611492565b505b600c5460405163fc9726cf60e01b8152600481018490526001600160a01b039091169063fc9726cf9060240160206040518083038186803b15801561151557600080fd5b505afa158015611529573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154d91906129c1565b60021415610d3257600383111561159d5760405162461bcd60e51b8152602060048201526014602482015273115610d1515117d4115497d352539517d1d3d31160621b6044820152606401610981565b6000828152601260205260409020805460ff191660019081179091555b8381116115f757600e80549060006115d183612cb2565b909155506115e5905033610d1b8385612be9565b806115ef81612cb2565b9150506115ba565b5050506001600b5550565b6000818152600260205260408120546001600160a01b0316806108745760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610981565b60006001600160a01b0382166116e45760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610981565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b0316331461172a5760405162461bcd60e51b815260040161098190612b63565b6117346000611fde565b565b600a546001600160a01b031633146117605760405162461bcd60e51b815260040161098190612b63565b610ab760118383612646565b60606001805461088990612c77565b6001600160a01b0382163314156117d45760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610981565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b0316331461186a5760405162461bcd60e51b815260040161098190612b63565b601480549115156101000261ff0019909216919091179055565b61188e3383611c77565b6118aa5760405162461bcd60e51b815260040161098190612b98565b6118b684848484612030565b50505050565b601380546118c990612c77565b80601f01602080910402602001604051908101604052809291908181526020018280546118f590612c77565b80156119425780601f1061191757610100808354040283529160200191611942565b820191906000526020600020905b81548152906001019060200180831161192557829003601f168201915b505050505081565b6000818152600260205260409020546060906001600160a01b03166119c95760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610981565b60006119d3612063565b905060008151116119f35760405180602001604052806000815250611a1e565b806119fd84612072565b604051602001611a0e929190612a28565b6040516020818303038152906040525b9392505050565b600a546001600160a01b03163314611a4f5760405162461bcd60e51b815260040161098190612b63565b6064600f5482611a5f9190612be9565b1115611a9f5760405162461bcd60e51b815260206004820152600f60248201526e115610d1515117d49154d154959151608a1b6044820152606401610981565b61177081611aac60085490565b611ab69190612be9565b1115611ad45760405162461bcd60e51b815260040161098190612b3d565b60005b81811015610ab757600f8054906000611aef83612cb2565b9190505550611b0083600f54611f19565b80611b0a81612cb2565b915050611ad7565b60606011805461088990612c77565b600a546001600160a01b03163314611b4b5760405162461bcd60e51b815260040161098190612b63565b6001600160a01b038116611bb05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610981565b610e2881611fde565b60006001600160e01b031982166380ac58cd60e01b1480611bea57506001600160e01b03198216635b5e139f60e01b145b8061087457506301ffc9a760e01b6001600160e01b0319831614610874565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c3e82611602565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611cf05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610981565b6000611cfb83611602565b9050806001600160a01b0316846001600160a01b03161480611d365750836001600160a01b0316611d2b8461090c565b6001600160a01b0316145b80611d6657506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611d8182611602565b6001600160a01b031614611de95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610981565b6001600160a01b038216611e4b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610981565b611e56838383612170565b611e61600082611c09565b6001600160a01b0383166000908152600360205260408120805460019290611e8a908490612c34565b90915550506001600160a01b0382166000908152600360205260408120805460019290611eb8908490612be9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611f33828260405180602001604052806000815250612228565b5050565b6000611f4282611602565b9050611f5081600084612170565b611f5b600083611c09565b6001600160a01b0381166000908152600360205260408120805460019290611f84908490612c34565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61203b848484611d6e565b6120478484848461225b565b6118b65760405162461bcd60e51b815260040161098190612aeb565b60606010805461088990612c77565b6060816120965750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120c057806120aa81612cb2565b91506120b99050600a83612c01565b915061209a565b60008167ffffffffffffffff8111156120db576120db612d39565b6040519080825280601f01601f191660200182016040528015612105576020820181803683370190505b5090505b8415611d665761211a600183612c34565b9150612127600a86612ccd565b612132906030612be9565b60f81b81838151811061214757612147612d23565b60200101906001600160f81b031916908160001a905350612169600a86612c01565b9450612109565b6001600160a01b0383166121cb576121c681600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6121ee565b816001600160a01b0316836001600160a01b0316146121ee576121ee8382612368565b6001600160a01b03821661220557610ab781612405565b826001600160a01b0316826001600160a01b031614610ab757610ab782826124b4565b61223283836124f8565b61223f600084848461225b565b610ab75760405162461bcd60e51b815260040161098190612aeb565b60006001600160a01b0384163b1561235d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061229f903390899088908890600401612a57565b602060405180830381600087803b1580156122b957600080fd5b505af19250505080156122e9575060408051601f3d908101601f191682019092526122e691810190612919565b60015b612343573d808015612317576040519150601f19603f3d011682016040523d82523d6000602084013e61231c565b606091505b50805161233b5760405162461bcd60e51b815260040161098190612aeb565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611d66565b506001949350505050565b6000600161237584611679565b61237f9190612c34565b6000838152600760205260409020549091508082146123d2576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061241790600190612c34565b6000838152600960205260408120546008805493945090928490811061243f5761243f612d23565b90600052602060002001549050806008838154811061246057612460612d23565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061249857612498612d0d565b6001900381819060005260206000200160009055905550505050565b60006124bf83611679565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661254e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610981565b6000818152600260205260409020546001600160a01b0316156125b35760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610981565b6125bf60008383612170565b6001600160a01b03821660009081526003602052604081208054600192906125e8908490612be9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461265290612c77565b90600052602060002090601f01602090048101928261267457600085556126ba565b82601f1061268d5782800160ff198235161785556126ba565b828001600101855582156126ba579182015b828111156126ba57823582559160200191906001019061269f565b506126c69291506126ca565b5090565b5b808211156126c657600081556001016126cb565b80356001600160a01b03811681146126f657600080fd5b919050565b60006020828403121561270d57600080fd5b611a1e826126df565b6000806040838503121561272957600080fd5b612732836126df565b9150612740602084016126df565b90509250929050565b60008060006060848603121561275e57600080fd5b612767846126df565b9250612775602085016126df565b9150604084013590509250925092565b6000806000806080858703121561279b57600080fd5b6127a4856126df565b93506127b2602086016126df565b925060408501359150606085013567ffffffffffffffff808211156127d657600080fd5b818701915087601f8301126127ea57600080fd5b8135818111156127fc576127fc612d39565b604051601f8201601f19908116603f0116810190838211818310171561282457612824612d39565b816040528281528a602084870101111561283d57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561287457600080fd5b61287d836126df565b9150602083013561288d81612d4f565b809150509250929050565b600080604083850312156128ab57600080fd5b6128b4836126df565b946020939093013593505050565b6000602082840312156128d457600080fd5b8135611a1e81612d4f565b6000602082840312156128f157600080fd5b8151611a1e81612d4f565b60006020828403121561290e57600080fd5b8135611a1e81612d5d565b60006020828403121561292b57600080fd5b8151611a1e81612d5d565b6000806020838503121561294957600080fd5b823567ffffffffffffffff8082111561296157600080fd5b818501915085601f83011261297557600080fd5b81358181111561298457600080fd5b86602082850101111561299657600080fd5b60209290920196919550909350505050565b6000602082840312156129ba57600080fd5b5035919050565b6000602082840312156129d357600080fd5b5051919050565b600080604083850312156129ed57600080fd5b50508035926020909101359150565b60008151808452612a14816020860160208601612c4b565b601f01601f19169290920160200192915050565b60008351612a3a818460208801612c4b565b835190830190612a4e818360208801612c4b565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612a8a908301846129fc565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612acc57835183529284019291840191600101612ab0565b50909695505050505050565b602081526000611a1e60208301846129fc565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252600c908201526b4f55545f4f465f53544f434b60a01b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612bfc57612bfc612ce1565b500190565b600082612c1057612c10612cf7565b500490565b6000816000190483118215151615612c2f57612c2f612ce1565b500290565b600082821015612c4657612c46612ce1565b500390565b60005b83811015612c66578181015183820152602001612c4e565b838111156118b65750506000910152565b600181811c90821680612c8b57607f821691505b60208210811415612cac57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612cc657612cc6612ce1565b5060010190565b600082612cdc57612cdc612cf7565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610e2857600080fd5b6001600160e01b031981168114610e2857600080fdfea2646970667358221220e7610d50484fcc1b3370c685e1be3560444093556c57f1c608418c361e3ce95d64736f6c63430008070033000000000000000000000000b4027608100954c4b657dd63f0e71d8841cf1226

Deployed Bytecode

0x6080604052600436106102885760003560e01c806358dd175d1161015a578063a22cb465116100c1578063cba8cc151161007a578063cba8cc1514610776578063e48183b81461078c578063e8a3d485146107bc578063e985e9c5146107d1578063f2fde38b1461081a578063f54fee5a1461083a57600080fd5b8063a22cb465146106c1578063abb2ded9146106e1578063b88d4fde14610701578063c6ab67a314610721578063c87b56dd14610736578063ca8001441461075657600080fd5b80638da5cb5b116101135780638da5cb5b1461062d5780638f23b7d81461064b578063938e3d7b14610661578063940f1ada1461068157806395d89b411461069757806399042442146106ac57600080fd5b806358dd175d146105965780636352211e146105a957806370a08231146105c9578063715018a6146105e957806373a49bec146105fe57806383a9e0491461061357600080fd5b80632f745c59116101fe578063438b6300116101b7578063438b6300146104c95780634f558e79146104f65780634f6ccce714610516578063517abf091461053657806355f804b31461055657806358745e9a1461057657600080fd5b80632f745c591461041f57806333bd37461461043f5780633ccfd60b1461045f5780633e1724311461047457806342842e0e1461048957806342966c68146104a957600080fd5b80631096952311610250578063109695231461037357806318160ddd1461039357806320ca0b6e146103b257806323b872dd146103cd57806326d93800146103ed5780632db115441461040c57600080fd5b806301ffc9a71461028d57806306fdde03146102c2578063081812fc146102e4578063095ea7b31461031c5780630f57b9441461033e575b600080fd5b34801561029957600080fd5b506102ad6102a83660046128fc565b61084f565b60405190151581526020015b60405180910390f35b3480156102ce57600080fd5b506102d761087a565b6040516102b99190612ad8565b3480156102f057600080fd5b506103046102ff3660046129a8565b61090c565b6040516001600160a01b0390911681526020016102b9565b34801561032857600080fd5b5061033c610337366004612898565b6109a6565b005b34801561034a57600080fd5b506102ad6103593660046129a8565b60009081526012602052604090205460ff16151560011490565b34801561037f57600080fd5b5061033c61038e366004612936565b610abc565b34801561039f57600080fd5b506008545b6040519081526020016102b9565b3480156103be57600080fd5b506103a466f8b0a10e47000081565b3480156103d957600080fd5b5061033c6103e8366004612749565b610af2565b3480156103f957600080fd5b506014546102ad90610100900460ff1681565b61033c61041a3660046129a8565b610b23565b34801561042b57600080fd5b506103a461043a366004612898565b610d3c565b34801561044b57600080fd5b50600d54610304906001600160a01b031681565b34801561046b57600080fd5b5061033c610dd2565b34801561048057600080fd5b506103a4606481565b34801561049557600080fd5b5061033c6104a4366004612749565b610e2b565b3480156104b557600080fd5b5061033c6104c43660046129a8565b610e46565b3480156104d557600080fd5b506104e96104e43660046126fb565b610e9e565b6040516102b99190612a94565b34801561050257600080fd5b506102ad6105113660046129a8565b610f40565b34801561052257600080fd5b506103a46105313660046129a8565b610f5f565b34801561054257600080fd5b50600c54610304906001600160a01b031681565b34801561056257600080fd5b5061033c610571366004612936565b610ff2565b34801561058257600080fd5b5061033c6105913660046128c2565b611028565b61033c6105a43660046129da565b611065565b3480156105b557600080fd5b506103046105c43660046129a8565b611602565b3480156105d557600080fd5b506103a46105e43660046126fb565b611679565b3480156105f557600080fd5b5061033c611700565b34801561060a57600080fd5b506103a4600a81565b34801561061f57600080fd5b506014546102ad9060ff1681565b34801561063957600080fd5b50600a546001600160a01b0316610304565b34801561065757600080fd5b506103a461177081565b34801561066d57600080fd5b5061033c61067c366004612936565b611736565b34801561068d57600080fd5b506103a4600e5481565b3480156106a357600080fd5b506102d761176c565b3480156106b857600080fd5b506103a4600381565b3480156106cd57600080fd5b5061033c6106dc366004612861565b61177b565b3480156106ed57600080fd5b5061033c6106fc3660046128c2565b611840565b34801561070d57600080fd5b5061033c61071c366004612785565b611884565b34801561072d57600080fd5b506102d76118bc565b34801561074257600080fd5b506102d76107513660046129a8565b61194a565b34801561076257600080fd5b5061033c610771366004612898565b611a25565b34801561078257600080fd5b506103a4600f5481565b34801561079857600080fd5b506102ad6107a73660046129a8565b60126020526000908152604090205460ff1681565b3480156107c857600080fd5b506102d7611b12565b3480156107dd57600080fd5b506102ad6107ec366004612716565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561082657600080fd5b5061033c6108353660046126fb565b611b21565b34801561084657600080fd5b506103a4600281565b60006001600160e01b0319821663780e9d6360e01b1480610874575061087482611bb9565b92915050565b60606000805461088990612c77565b80601f01602080910402602001604051908101604052809291908181526020018280546108b590612c77565b80156109025780601f106108d757610100808354040283529160200191610902565b820191906000526020600020905b8154815290600101906020018083116108e557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661098a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006109b182611602565b9050806001600160a01b0316836001600160a01b03161415610a1f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610981565b336001600160a01b0382161480610a3b5750610a3b81336107ec565b610aad5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610981565b610ab78383611c09565b505050565b600a546001600160a01b03163314610ae65760405162461bcd60e51b815260040161098190612b63565b610ab760138383612646565b610afc3382611c77565b610b185760405162461bcd60e51b815260040161098190612b98565b610ab7838383611d6e565b6002600b541415610b765760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610981565b6002600b55600e54600090610b8c906064612be9565b601454909150610100900460ff16610bdb5760405162461bcd60e51b8152602060048201526012602482015271141550931250d7d4d0531157d4105554d15160721b6044820152606401610981565b600a821115610c1e5760405162461bcd60e51b815260206004820152600f60248201526e115610d1515117d4115497d3525395608a1b6044820152606401610981565b61177082610c2b60085490565b610c359190612be9565b1115610c535760405162461bcd60e51b815260040161098190612b3d565b611770610c608383612be9565b1115610c9e5760405162461bcd60e51b815260206004820152600d60248201526c4558434545445f5055424c494360981b6044820152606401610981565b610caf8266f8b0a10e470000612c15565b3414610ced5760405162461bcd60e51b815260206004820152600d60248201526c11551217d25390d3d4949150d5609a1b6044820152606401610981565b60015b828111610d3257600e8054906000610d0783612cb2565b90915550610d20905033610d1b8385612be9565b611f19565b80610d2a81612cb2565b915050610cf0565b50506001600b5550565b6000610d4783611679565b8210610da95760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610981565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610dfc5760405162461bcd60e51b815260040161098190612b63565b60405133904780156108fc02916000818181858888f19350505050158015610e28573d6000803e3d6000fd5b50565b610ab783838360405180602001604052806000815250611884565b610e503382611c77565b610e955760405162461bcd60e51b81526020600482015260166024820152751393d517d3d5d3915497d393d497d054141493d5915160521b6044820152606401610981565b610e2881611f37565b60606000610eab83611679565b905060008167ffffffffffffffff811115610ec857610ec8612d39565b604051908082528060200260200182016040528015610ef1578160200160208202803683370190505b50905060005b82811015610f3857610f098582610d3c565b828281518110610f1b57610f1b612d23565b602090810291909101015280610f3081612cb2565b915050610ef7565b509392505050565b6000818152600260205260408120546001600160a01b03161515610874565b6000610f6a60085490565b8210610fcd5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610981565b60088281548110610fe057610fe0612d23565b90600052602060002001549050919050565b600a546001600160a01b0316331461101c5760405162461bcd60e51b815260040161098190612b63565b610ab760108383612646565b600a546001600160a01b031633146110525760405162461bcd60e51b815260040161098190612b63565b6014805460ff1916911515919091179055565b6002600b5414156110b85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610981565b6002600b55600e546000906110ce906064612be9565b60145490915060ff166111155760405162461bcd60e51b815260206004820152600f60248201526e14149157d4d0531157d4105554d151608a1b6044820152606401610981565b6117708361112260085490565b61112c9190612be9565b111561114a5760405162461bcd60e51b815260040161098190612b3d565b6117706111578483612be9565b11156111955760405162461bcd60e51b815260206004820152600d60248201526c4558434545445f5055424c494360981b6044820152606401610981565b6111a68366f8b0a10e470000612c15565b34146111e45760405162461bcd60e51b815260206004820152600d60248201526c11551217d25390d3d4949150d5609a1b6044820152606401610981565b600d546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561122857600080fd5b505afa15801561123c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126091906129c1565b116112965760405162461bcd60e51b81526020600482015260066024820152654e4f5f4b455960d01b6044820152606401610981565b600c5460405163430c208160e01b8152336004820152602481018490526001600160a01b039091169063430c20819060440160206040518083038186803b1580156112e057600080fd5b505afa1580156112f4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131891906128df565b61135d5760405162461bcd60e51b81526020600482015260166024820152751393d517d3d5d3915497d393d497d054141493d5915160521b6044820152606401610981565b60008281526012602052604090205460ff16156113a75760405162461bcd60e51b815260206004820152600860248201526712d15657d554d15160c21b6044820152606401610981565b600c5460405163fc9726cf60e01b8152600481018490526001600160a01b039091169063fc9726cf9060240160206040518083038186803b1580156113eb57600080fd5b505afa1580156113ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142391906129c1565b600114156114d15760028311156114755760405162461bcd60e51b815260206004820152601660248201527522ac21a2a2a22fa822a92fa6a4a72a2fa9a4a62b22a960511b6044820152606401610981565b6000828152601260205260409020805460ff191660019081179091555b8381116114cf57600e80549060006114a983612cb2565b909155506114bd905033610d1b8385612be9565b806114c781612cb2565b915050611492565b505b600c5460405163fc9726cf60e01b8152600481018490526001600160a01b039091169063fc9726cf9060240160206040518083038186803b15801561151557600080fd5b505afa158015611529573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154d91906129c1565b60021415610d3257600383111561159d5760405162461bcd60e51b8152602060048201526014602482015273115610d1515117d4115497d352539517d1d3d31160621b6044820152606401610981565b6000828152601260205260409020805460ff191660019081179091555b8381116115f757600e80549060006115d183612cb2565b909155506115e5905033610d1b8385612be9565b806115ef81612cb2565b9150506115ba565b5050506001600b5550565b6000818152600260205260408120546001600160a01b0316806108745760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610981565b60006001600160a01b0382166116e45760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610981565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b0316331461172a5760405162461bcd60e51b815260040161098190612b63565b6117346000611fde565b565b600a546001600160a01b031633146117605760405162461bcd60e51b815260040161098190612b63565b610ab760118383612646565b60606001805461088990612c77565b6001600160a01b0382163314156117d45760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610981565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b0316331461186a5760405162461bcd60e51b815260040161098190612b63565b601480549115156101000261ff0019909216919091179055565b61188e3383611c77565b6118aa5760405162461bcd60e51b815260040161098190612b98565b6118b684848484612030565b50505050565b601380546118c990612c77565b80601f01602080910402602001604051908101604052809291908181526020018280546118f590612c77565b80156119425780601f1061191757610100808354040283529160200191611942565b820191906000526020600020905b81548152906001019060200180831161192557829003601f168201915b505050505081565b6000818152600260205260409020546060906001600160a01b03166119c95760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610981565b60006119d3612063565b905060008151116119f35760405180602001604052806000815250611a1e565b806119fd84612072565b604051602001611a0e929190612a28565b6040516020818303038152906040525b9392505050565b600a546001600160a01b03163314611a4f5760405162461bcd60e51b815260040161098190612b63565b6064600f5482611a5f9190612be9565b1115611a9f5760405162461bcd60e51b815260206004820152600f60248201526e115610d1515117d49154d154959151608a1b6044820152606401610981565b61177081611aac60085490565b611ab69190612be9565b1115611ad45760405162461bcd60e51b815260040161098190612b3d565b60005b81811015610ab757600f8054906000611aef83612cb2565b9190505550611b0083600f54611f19565b80611b0a81612cb2565b915050611ad7565b60606011805461088990612c77565b600a546001600160a01b03163314611b4b5760405162461bcd60e51b815260040161098190612b63565b6001600160a01b038116611bb05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610981565b610e2881611fde565b60006001600160e01b031982166380ac58cd60e01b1480611bea57506001600160e01b03198216635b5e139f60e01b145b8061087457506301ffc9a760e01b6001600160e01b0319831614610874565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c3e82611602565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611cf05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610981565b6000611cfb83611602565b9050806001600160a01b0316846001600160a01b03161480611d365750836001600160a01b0316611d2b8461090c565b6001600160a01b0316145b80611d6657506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611d8182611602565b6001600160a01b031614611de95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610981565b6001600160a01b038216611e4b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610981565b611e56838383612170565b611e61600082611c09565b6001600160a01b0383166000908152600360205260408120805460019290611e8a908490612c34565b90915550506001600160a01b0382166000908152600360205260408120805460019290611eb8908490612be9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611f33828260405180602001604052806000815250612228565b5050565b6000611f4282611602565b9050611f5081600084612170565b611f5b600083611c09565b6001600160a01b0381166000908152600360205260408120805460019290611f84908490612c34565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61203b848484611d6e565b6120478484848461225b565b6118b65760405162461bcd60e51b815260040161098190612aeb565b60606010805461088990612c77565b6060816120965750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120c057806120aa81612cb2565b91506120b99050600a83612c01565b915061209a565b60008167ffffffffffffffff8111156120db576120db612d39565b6040519080825280601f01601f191660200182016040528015612105576020820181803683370190505b5090505b8415611d665761211a600183612c34565b9150612127600a86612ccd565b612132906030612be9565b60f81b81838151811061214757612147612d23565b60200101906001600160f81b031916908160001a905350612169600a86612c01565b9450612109565b6001600160a01b0383166121cb576121c681600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6121ee565b816001600160a01b0316836001600160a01b0316146121ee576121ee8382612368565b6001600160a01b03821661220557610ab781612405565b826001600160a01b0316826001600160a01b031614610ab757610ab782826124b4565b61223283836124f8565b61223f600084848461225b565b610ab75760405162461bcd60e51b815260040161098190612aeb565b60006001600160a01b0384163b1561235d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061229f903390899088908890600401612a57565b602060405180830381600087803b1580156122b957600080fd5b505af19250505080156122e9575060408051601f3d908101601f191682019092526122e691810190612919565b60015b612343573d808015612317576040519150601f19603f3d011682016040523d82523d6000602084013e61231c565b606091505b50805161233b5760405162461bcd60e51b815260040161098190612aeb565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611d66565b506001949350505050565b6000600161237584611679565b61237f9190612c34565b6000838152600760205260409020549091508082146123d2576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061241790600190612c34565b6000838152600960205260408120546008805493945090928490811061243f5761243f612d23565b90600052602060002001549050806008838154811061246057612460612d23565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061249857612498612d0d565b6001900381819060005260206000200160009055905550505050565b60006124bf83611679565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661254e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610981565b6000818152600260205260409020546001600160a01b0316156125b35760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610981565b6125bf60008383612170565b6001600160a01b03821660009081526003602052604081208054600192906125e8908490612be9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461265290612c77565b90600052602060002090601f01602090048101928261267457600085556126ba565b82601f1061268d5782800160ff198235161785556126ba565b828001600101855582156126ba579182015b828111156126ba57823582559160200191906001019061269f565b506126c69291506126ca565b5090565b5b808211156126c657600081556001016126cb565b80356001600160a01b03811681146126f657600080fd5b919050565b60006020828403121561270d57600080fd5b611a1e826126df565b6000806040838503121561272957600080fd5b612732836126df565b9150612740602084016126df565b90509250929050565b60008060006060848603121561275e57600080fd5b612767846126df565b9250612775602085016126df565b9150604084013590509250925092565b6000806000806080858703121561279b57600080fd5b6127a4856126df565b93506127b2602086016126df565b925060408501359150606085013567ffffffffffffffff808211156127d657600080fd5b818701915087601f8301126127ea57600080fd5b8135818111156127fc576127fc612d39565b604051601f8201601f19908116603f0116810190838211818310171561282457612824612d39565b816040528281528a602084870101111561283d57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561287457600080fd5b61287d836126df565b9150602083013561288d81612d4f565b809150509250929050565b600080604083850312156128ab57600080fd5b6128b4836126df565b946020939093013593505050565b6000602082840312156128d457600080fd5b8135611a1e81612d4f565b6000602082840312156128f157600080fd5b8151611a1e81612d4f565b60006020828403121561290e57600080fd5b8135611a1e81612d5d565b60006020828403121561292b57600080fd5b8151611a1e81612d5d565b6000806020838503121561294957600080fd5b823567ffffffffffffffff8082111561296157600080fd5b818501915085601f83011261297557600080fd5b81358181111561298457600080fd5b86602082850101111561299657600080fd5b60209290920196919550909350505050565b6000602082840312156129ba57600080fd5b5035919050565b6000602082840312156129d357600080fd5b5051919050565b600080604083850312156129ed57600080fd5b50508035926020909101359150565b60008151808452612a14816020860160208601612c4b565b601f01601f19169290920160200192915050565b60008351612a3a818460208801612c4b565b835190830190612a4e818360208801612c4b565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612a8a908301846129fc565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612acc57835183529284019291840191600101612ab0565b50909695505050505050565b602081526000611a1e60208301846129fc565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252600c908201526b4f55545f4f465f53544f434b60a01b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612bfc57612bfc612ce1565b500190565b600082612c1057612c10612cf7565b500490565b6000816000190483118215151615612c2f57612c2f612ce1565b500290565b600082821015612c4657612c46612ce1565b500390565b60005b83811015612c66578181015183820152602001612c4e565b838111156118b65750506000910152565b600181811c90821680612c8b57607f821691505b60208210811415612cac57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612cc657612cc6612ce1565b5060010190565b600082612cdc57612cdc612cf7565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610e2857600080fd5b6001600160e01b031981168114610e2857600080fdfea2646970667358221220e7610d50484fcc1b3370c685e1be3560444093556c57f1c608418c361e3ce95d64736f6c63430008070033

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

000000000000000000000000b4027608100954c4b657dd63f0e71d8841cf1226

-----Decoded View---------------
Arg [0] : _premintKeysContract (address): 0xB4027608100954c4b657DD63F0E71D8841cf1226

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000b4027608100954c4b657dd63f0e71d8841cf1226


Deployed Bytecode Sourcemap

650:5510:11:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;909:222:4;;;;;;;;;;-1:-1:-1;909:222:4;;;;;:::i;:::-;;:::i;:::-;;;7446:14:16;;7439:22;7421:41;;7409:2;7394:18;909:222:4;;;;;;;;2349:98:3;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;3860:217::-;;;;;;;;;;-1:-1:-1;3860:217:3;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5828:32:16;;;5810:51;;5798:2;5783:18;3860:217:3;5664:203:16;3398:401:3;;;;;;;;;;-1:-1:-1;3398:401:3;;;;;:::i;:::-;;:::i;:::-;;4839:125:11;;;;;;;;;;-1:-1:-1;4839:125:11;;;;;:::i;:::-;4902:4;4925:23;;;:15;:23;;;;;;;;:31;;:23;:31;;4839:125;5717:109;;;;;;;;;;-1:-1:-1;5717:109:11;;;;;:::i;:::-;;:::i;1534:111:4:-;;;;;;;;;;-1:-1:-1;1621:10:4;:17;1534:111;;;19988:25:16;;;19976:2;19961:18;1534:111:4;19842:177:16;871:54:11;;;;;;;;;;;;908:17;871:54;;4724:330:3;;;;;;;;;;-1:-1:-1;4724:330:3;;;;;:::i;:::-;;:::i;1500:34:11:-;;;;;;;;;;-1:-1:-1;1500:34:11;;;;;;;;;;;1771:635;;;;;;:::i;:::-;;:::i;1210:253:4:-;;;;;;;;;;-1:-1:-1;1210:253:4;;;;;:::i;:::-;;:::i;817:41:11:-;;;;;;;;;;-1:-1:-1;817:41:11;;;;-1:-1:-1;;;;;817:41:11;;;6050:107;;;;;;;;;;;;;:::i;989:43::-;;;;;;;;;;;;1029:3;989:43;;5120:179:3;;;;;;;;;;-1:-1:-1;5120:179:3;;;;;:::i;:::-;;:::i;4972:167:11:-;;;;;;;;;;-1:-1:-1;4972:167:11;;;;;:::i;:::-;;:::i;4468:359::-;;;;;;;;;;-1:-1:-1;4468:359:11;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;5151:106::-;;;;;;;;;;-1:-1:-1;5151:106:11;;;;;:::i;:::-;;:::i;1717:230:4:-;;;;;;;;;;-1:-1:-1;1717:230:4;;;;;:::i;:::-;;:::i;771:39:11:-;;;;;;;;;;-1:-1:-1;771:39:11;;;;-1:-1:-1;;;;;771:39:11;;;5387:98;;;;;;;;;;-1:-1:-1;5387:98:11;;;;;:::i;:::-;;:::i;5943:95::-;;;;;;;;;;-1:-1:-1;5943:95:11;;;;;:::i;:::-;;:::i;2414:1608::-;;;;;;:::i;:::-;;:::i;2052:235:3:-;;;;;;;;;;-1:-1:-1;2052:235:3;;;;;:::i;:::-;;:::i;1790:205::-;;;;;;;;;;-1:-1:-1;1790:205:3;;;;;:::i;:::-;;:::i;1607:101:12:-;;;;;;;;;;;;;:::i;1045:42:11:-;;;;;;;;;;;;1085:2;1045:42;;1462:31;;;;;;;;;;-1:-1:-1;1462:31:11;;;;;;;;975:85:12;;;;;;;;;;-1:-1:-1;1047:6:12;;-1:-1:-1;;;;;1047:6:12;975:85;;943:39:11;;;;;;;;;;;;978:4;943:39;;5606:103;;;;;;;;;;-1:-1:-1;5606:103:11;;;;;:::i;:::-;;:::i;1198:37::-;;;;;;;;;;;;;;;;2511:102:3;;;;;;;;;;;;;:::i;1094:43:11:-;;;;;;;;;;;;1136:1;1094:43;;4144:290:3;;;;;;;;;;-1:-1:-1;4144:290:3;;;;;:::i;:::-;;:::i;5834:101:11:-;;;;;;;;;;-1:-1:-1;5834:101:11;;;;;:::i;:::-;;:::i;5365:320:3:-;;;;;;;;;;-1:-1:-1;5365:320:3;;;;;:::i;:::-;;:::i;1421:28:11:-;;;;;;;;;;;;;:::i;2679:329:3:-;;;;;;;;;;-1:-1:-1;2679:329:3;;;;;:::i;:::-;;:::i;4030:426:11:-;;;;;;;;;;-1:-1:-1;4030:426:11;;;;;:::i;:::-;;:::i;1242:39::-;;;;;;;;;;;;;;;;1365:47;;;;;;;;;;-1:-1:-1;1365:47:11;;;;;:::i;:::-;;;;;;;;;;;;;;;;5497:97;;;;;;;;;;;;;:::i;4500:162:3:-;;;;;;;;;;-1:-1:-1;4500:162:3;;;;;:::i;:::-;-1:-1:-1;;;;;4620:25:3;;;4597:4;4620:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4500:162;1857:198:12;;;;;;;;;;-1:-1:-1;1857:198:12;;;;;:::i;:::-;;:::i;1144:45:11:-;;;;;;;;;;;;1188:1;1144:45;;909:222:4;1011:4;-1:-1:-1;;;;;;1034:50:4;;-1:-1:-1;;;1034:50:4;;:90;;;1088:36;1112:11;1088:23;:36::i;:::-;1027:97;909:222;-1:-1:-1;;909:222:4:o;2349:98:3:-;2403:13;2435:5;2428:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2349:98;:::o;3860:217::-;3936:7;7245:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7245:16:3;3955:73;;;;-1:-1:-1;;;3955:73:3;;15131:2:16;3955:73:3;;;15113:21:16;15170:2;15150:18;;;15143:30;15209:34;15189:18;;;15182:62;-1:-1:-1;;;15260:18:16;;;15253:42;15312:19;;3955:73:3;;;;;;;;;-1:-1:-1;4046:24:3;;;;:15;:24;;;;;;-1:-1:-1;;;;;4046:24:3;;3860:217::o;3398:401::-;3478:13;3494:23;3509:7;3494:14;:23::i;:::-;3478:39;;3541:5;-1:-1:-1;;;;;3535:11:3;:2;-1:-1:-1;;;;;3535:11:3;;;3527:57;;;;-1:-1:-1;;;3527:57:3;;17426:2:16;3527:57:3;;;17408:21:16;17465:2;17445:18;;;17438:30;17504:34;17484:18;;;17477:62;-1:-1:-1;;;17555:18:16;;;17548:31;17596:19;;3527:57:3;17224:397:16;3527:57:3;666:10:1;-1:-1:-1;;;;;3616:21:3;;;;:62;;-1:-1:-1;3641:37:3;3658:5;666:10:1;4500:162:3;:::i;3641:37::-;3595:165;;;;-1:-1:-1;;;3595:165:3;;12491:2:16;3595:165:3;;;12473:21:16;12530:2;12510:18;;;12503:30;12569:34;12549:18;;;12542:62;12640:26;12620:18;;;12613:54;12684:19;;3595:165:3;12289:420:16;3595:165:3;3771:21;3780:2;3784:7;3771:8;:21::i;:::-;3468:331;3398:401;;:::o;5717:109:11:-;1047:6:12;;-1:-1:-1;;;;;1047:6:12;666:10:1;1187:23:12;1179:68;;;;-1:-1:-1;;;1179:68:12;;;;;;;:::i;:::-;5796:22:11::1;:14;5813:5:::0;;5796:22:::1;:::i;4724:330:3:-:0;4913:41;666:10:1;4946:7:3;4913:18;:41::i;:::-;4905:103;;;;-1:-1:-1;;;4905:103:3;;;;;;;:::i;:::-;5019:28;5029:4;5035:2;5039:7;5019:9;:28::i;1771:635:11:-;1680:1:13;2261:7;;:19;;2253:63;;;;-1:-1:-1;;;2253:63:13;;19684:2:16;2253:63:13;;;19666:21:16;19723:2;19703:18;;;19696:30;19762:33;19742:18;;;19735:61;19813:18;;2253:63:13;19482:355:16;2253:63:13;1680:1;2391:7;:18;1876::11::1;::::0;1843:14:::1;::::0;1860:34:::1;::::0;1029:3:::1;1860:34;:::i;:::-;1913:14;::::0;1843:51;;-1:-1:-1;1913:14:11::1;::::0;::::1;;;1905:65;;;::::0;-1:-1:-1;;;1905:65:11;;14784:2:16;1905:65:11::1;::::0;::::1;14766:21:16::0;14823:2;14803:18;;;14796:30;-1:-1:-1;;;14842:18:16;;;14835:48;14900:18;;1905:65:11::1;14582:342:16::0;1905:65:11::1;1085:2;1989:4;:21;;1981:62;;;::::0;-1:-1:-1;;;1981:62:11;;13737:2:16;1981:62:11::1;::::0;::::1;13719:21:16::0;13776:2;13756:18;;;13749:30;-1:-1:-1;;;13795:18:16;;;13788:45;13850:18;;1981:62:11::1;13535:339:16::0;1981:62:11::1;978:4;2078;2062:13;1621:10:4::0;:17;;1534:111;2062:13:11::1;:20;;;;:::i;:::-;:32;;2054:59;;;;-1:-1:-1::0;;;2054:59:11::1;;;;;;;:::i;:::-;978:4;2132:13;2141:4:::0;2132:6;:13:::1;:::i;:::-;:25;;2124:60;;;::::0;-1:-1:-1;;;2124:60:11;;17828:2:16;2124:60:11::1;::::0;::::1;17810:21:16::0;17867:2;17847:18;;;17840:30;-1:-1:-1;;;17886:18:16;;;17879:43;17939:18;;2124:60:11::1;17626:337:16::0;2124:60:11::1;2216:17;2229:4:::0;908:17:::1;2216;:::i;:::-;2203:9;:30;2195:60;;;::::0;-1:-1:-1;;;2195:60:11;;14442:2:16;2195:60:11::1;::::0;::::1;14424:21:16::0;14481:2;14461:18;;;14454:30;-1:-1:-1;;;14500:18:16;;;14493:43;14553:18;;2195:60:11::1;14240:337:16::0;2195:60:11::1;2284:1;2268:131;2292:4;2287:1;:9;2268:131;;2317:18;:20:::0;;;:18:::1;:20;::::0;::::1;:::i;:::-;::::0;;;-1:-1:-1;2352:35:11::1;::::0;-1:-1:-1;2363:10:11::1;2375;2384:1:::0;2375:6;:10:::1;:::i;:::-;2352:9;:35::i;:::-;2298:3:::0;::::1;::::0;::::1;:::i;:::-;;;;2268:131;;;-1:-1:-1::0;;1637:1:13;2564:7;:22;-1:-1:-1;1771:635:11:o;1210:253:4:-;1307:7;1342:23;1359:5;1342:16;:23::i;:::-;1334:5;:31;1326:87;;;;-1:-1:-1;;;1326:87:4;;8688:2:16;1326:87:4;;;8670:21:16;8727:2;8707:18;;;8700:30;8766:34;8746:18;;;8739:62;-1:-1:-1;;;8817:18:16;;;8810:41;8868:19;;1326:87:4;8486:407:16;1326:87:4;-1:-1:-1;;;;;;1430:19:4;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;1210:253::o;6050:107:11:-;1047:6:12;;-1:-1:-1;;;;;1047:6:12;666:10:1;1187:23:12;1179:68;;;;-1:-1:-1;;;1179:68:12;;;;;;;:::i;:::-;6098:51:11::1;::::0;6106:10:::1;::::0;6127:21:::1;6098:51:::0;::::1;;;::::0;::::1;::::0;;;6127:21;6106:10;6098:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;6050:107::o:0;5120:179:3:-;5253:39;5270:4;5276:2;5280:7;5253:39;;;;;;;;;;;;:16;:39::i;4972:167:11:-;5038:40;5057:10;5069:8;5038:18;:40::i;:::-;5030:75;;;;-1:-1:-1;;;5030:75:11;;12140:2:16;5030:75:11;;;12122:21:16;12179:2;12159:18;;;12152:30;-1:-1:-1;;;12198:18:16;;;12191:52;12260:18;;5030:75:11;11938:346:16;5030:75:11;5116:15;5122:8;5116:5;:15::i;4468:359::-;4544:16;4573:18;4594:17;4604:6;4594:9;:17::i;:::-;4573:38;;4624:25;4666:10;4652:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4652:25:11;;4624:53;;4692:9;4688:106;4707:10;4703:1;:14;4688:106;;;4752:30;4772:6;4780:1;4752:19;:30::i;:::-;4738:8;4747:1;4738:11;;;;;;;;:::i;:::-;;;;;;;;;;:44;4719:3;;;;:::i;:::-;;;;4688:106;;;-1:-1:-1;4811:8:11;4468:359;-1:-1:-1;;;4468:359:11:o;5151:106::-;5208:4;7245:16:3;;;:7;:16;;;;;;-1:-1:-1;;;;;7245:16:3;:30;;5232:17:11;7157:125:3;1717:230:4;1792:7;1827:30;1621:10;:17;;1534:111;1827:30;1819:5;:38;1811:95;;;;-1:-1:-1;;;1811:95:4;;18937:2:16;1811:95:4;;;18919:21:16;18976:2;18956:18;;;18949:30;19015:34;18995:18;;;18988:62;-1:-1:-1;;;19066:18:16;;;19059:42;19118:19;;1811:95:4;18735:408:16;1811:95:4;1923:10;1934:5;1923:17;;;;;;;;:::i;:::-;;;;;;;;;1916:24;;1717:230;;;:::o;5387:98:11:-;1047:6:12;;-1:-1:-1;;;;;1047:6:12;666:10:1;1187:23:12;1179:68;;;;-1:-1:-1;;;1179:68:12;;;;;;;:::i;:::-;5457:20:11::1;:13;5473:4:::0;;5457:20:::1;:::i;5943:95::-:0;1047:6:12;;-1:-1:-1;;;;;1047:6:12;666:10:1;1187:23:12;1179:68;;;;-1:-1:-1;;;1179:68:12;;;;;;;:::i;:::-;6012:11:11::1;:18:::0;;-1:-1:-1;;6012:18:11::1;::::0;::::1;;::::0;;;::::1;::::0;;5943:95::o;2414:1608::-;1680:1:13;2261:7;;:19;;2253:63;;;;-1:-1:-1;;;2253:63:13;;19684:2:16;2253:63:13;;;19666:21:16;19723:2;19703:18;;;19696:30;19762:33;19742:18;;;19735:61;19813:18;;2253:63:13;19482:355:16;2253:63:13;1680:1;2391:7;:18;2536::11::1;::::0;2503:14:::1;::::0;2520:34:::1;::::0;1029:3:::1;2520:34;:::i;:::-;2574:11;::::0;2503:51;;-1:-1:-1;2574:11:11::1;;2566:86;;;::::0;-1:-1:-1;;;2566:86:11;;11796:2:16;2566:86:11::1;::::0;::::1;11778:21:16::0;11835:2;11815:18;;;11808:30;-1:-1:-1;;;11854:18:16;;;11847:45;11909:18;;2566:86:11::1;11594:339:16::0;2566:86:11::1;978:4;2687;2671:13;1621:10:4::0;:17;;1534:111;2671:13:11::1;:20;;;;:::i;:::-;:32;;2663:83;;;;-1:-1:-1::0;;;2663:83:11::1;;;;;;;:::i;:::-;978:4;2765:13;2774:4:::0;2765:6;:13:::1;:::i;:::-;:25;;2757:84;;;::::0;-1:-1:-1;;;2757:84:11;;17828:2:16;2757:84:11::1;::::0;::::1;17810:21:16::0;17867:2;17847:18;;;17840:30;-1:-1:-1;;;17886:18:16;;;17879:43;17939:18;;2757:84:11::1;17626:337:16::0;2757:84:11::1;2873:17;2886:4:::0;908:17:::1;2873;:::i;:::-;2860:9;:30;2852:84;;;::::0;-1:-1:-1;;;2852:84:11;;14442:2:16;2852:84:11::1;::::0;::::1;14424:21:16::0;14481:2;14461:18;;;14454:30;-1:-1:-1;;;14500:18:16;;;14493:43;14553:18;;2852:84:11::1;14240:337:16::0;2852:84:11::1;2955:26;::::0;:48:::1;::::0;-1:-1:-1;;;2955:48:11;;2992:10:::1;2955:48;::::0;::::1;5810:51:16::0;3006:1:11::1;::::0;-1:-1:-1;;;;;2955:26:11::1;::::0;:36:::1;::::0;5783:18:16;;2955:48:11::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:52;2947:77;;;::::0;-1:-1:-1;;;2947:77:11;;19350:2:16;2947:77:11::1;::::0;::::1;19332:21:16::0;19389:1;19369:18;;;19362:29;-1:-1:-1;;;19407:18:16;;;19400:36;19453:18;;2947:77:11::1;19148:329:16::0;2947:77:11::1;3043:19;::::0;:57:::1;::::0;-1:-1:-1;;;3043:57:11;;3081:10:::1;3043:57;::::0;::::1;6539:51:16::0;6606:18;;;6599:34;;;-1:-1:-1;;;;;3043:19:11;;::::1;::::0;:37:::1;::::0;6512:18:16;;3043:57:11::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3035:93;;;::::0;-1:-1:-1;;;3035:93:11;;12140:2:16;3035:93:11::1;::::0;::::1;12122:21:16::0;12179:2;12159:18;;;12152:30;-1:-1:-1;;;12198:18:16;;;12191:52;12260:18;;3035:93:11::1;11938:346:16::0;3035:93:11::1;3147:23;::::0;;;:15:::1;:23;::::0;;;;;::::1;;:32;3139:79;;;::::0;-1:-1:-1;;;3139:79:11;;8352:2:16;3139:79:11::1;::::0;::::1;8334:21:16::0;8391:1;8371:18;;;8364:29;-1:-1:-1;;;8409:18:16;;;8402:38;8457:18;;3139:79:11::1;8150:331:16::0;3139:79:11::1;3275:19;::::0;:45:::1;::::0;-1:-1:-1;;;3275:45:11;;::::1;::::0;::::1;19988:25:16::0;;;-1:-1:-1;;;;;3275:19:11;;::::1;::::0;:37:::1;::::0;19961:18:16;;3275:45:11::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3324:1;3275:50;3271:353;;;1188:1;3350:4;:25;;3341:69;;;::::0;-1:-1:-1;;;3341:69:11;;17075:2:16;3341:69:11::1;::::0;::::1;17057:21:16::0;17114:2;17094:18;;;17087:30;-1:-1:-1;;;17133:18:16;;;17126:52;17195:18;;3341:69:11::1;16873:346:16::0;3341:69:11::1;3425:23;::::0;;;:15:::1;:23;::::0;;;;:30;;-1:-1:-1;;3425:30:11::1;3451:4;3425:30:::0;;::::1;::::0;;;3470:143:::1;3494:4;3489:1;:9;3470:143;;3523:18;:20:::0;;;:18:::1;:20;::::0;::::1;:::i;:::-;::::0;;;-1:-1:-1;3562:35:11::1;::::0;-1:-1:-1;3573:10:11::1;3585;3594:1:::0;3585:6;:10:::1;:::i;3562:35::-;3500:3:::0;::::1;::::0;::::1;:::i;:::-;;;;3470:143;;;;3271:353;3668:19;::::0;:45:::1;::::0;-1:-1:-1;;;3668:45:11;;::::1;::::0;::::1;19988:25:16::0;;;-1:-1:-1;;;;;3668:19:11;;::::1;::::0;:37:::1;::::0;19961:18:16;;3668:45:11::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3717:1;3668:50;3664:351;;;1136:1;3743:4;:23;;3734:67;;;::::0;-1:-1:-1;;;3734:67:11;;18170:2:16;3734:67:11::1;::::0;::::1;18152:21:16::0;18209:2;18189:18;;;18182:30;-1:-1:-1;;;18228:18:16;;;18221:50;18288:18;;3734:67:11::1;17968:344:16::0;3734:67:11::1;3816:23;::::0;;;:15:::1;:23;::::0;;;;:30;;-1:-1:-1;;3816:30:11::1;3842:4;3816:30:::0;;::::1;::::0;;;3861:143:::1;3885:4;3880:1;:9;3861:143;;3914:18;:20:::0;;;:18:::1;:20;::::0;::::1;:::i;:::-;::::0;;;-1:-1:-1;3953:35:11::1;::::0;-1:-1:-1;3964:10:11::1;3976;3985:1:::0;3976:6;:10:::1;:::i;3953:35::-;3891:3:::0;::::1;::::0;::::1;:::i;:::-;;;;3861:143;;;;-1:-1:-1::0;;1637:1:13;2564:7;:22;-1:-1:-1;2414:1608:11:o;2052:235:3:-;2124:7;2159:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2159:16:3;2193:19;2185:73;;;;-1:-1:-1;;;2185:73:3;;13327:2:16;2185:73:3;;;13309:21:16;13366:2;13346:18;;;13339:30;13405:34;13385:18;;;13378:62;-1:-1:-1;;;13456:18:16;;;13449:39;13505:19;;2185:73:3;13125:405:16;1790:205:3;1862:7;-1:-1:-1;;;;;1889:19:3;;1881:74;;;;-1:-1:-1;;;1881:74:3;;12916:2:16;1881:74:3;;;12898:21:16;12955:2;12935:18;;;12928:30;12994:34;12974:18;;;12967:62;-1:-1:-1;;;13045:18:16;;;13038:40;13095:19;;1881:74:3;12714:406:16;1881:74:3;-1:-1:-1;;;;;;1972:16:3;;;;;:9;:16;;;;;;;1790:205::o;1607:101:12:-;1047:6;;-1:-1:-1;;;;;1047:6:12;666:10:1;1187:23:12;1179:68;;;;-1:-1:-1;;;1179:68:12;;;;;;;:::i;:::-;1671:30:::1;1698:1;1671:18;:30::i;:::-;1607:101::o:0;5606:103:11:-;1047:6:12;;-1:-1:-1;;;;;1047:6:12;666:10:1;1187:23:12;1179:68;;;;-1:-1:-1;;;1179:68:12;;;;;;;:::i;:::-;5682:19:11::1;:12;5697:4:::0;;5682:19:::1;:::i;2511:102:3:-:0;2567:13;2599:7;2592:14;;;;;:::i;4144:290::-;-1:-1:-1;;;;;4246:24:3;;666:10:1;4246:24:3;;4238:62;;;;-1:-1:-1;;;4238:62:3;;10688:2:16;4238:62:3;;;10670:21:16;10727:2;10707:18;;;10700:30;10766:27;10746:18;;;10739:55;10811:18;;4238:62:3;10486:349:16;4238:62:3;666:10:1;4311:32:3;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;4311:42:3;;;;;;;;;;;;:53;;-1:-1:-1;;4311:53:3;;;;;;;;;;4379:48;;7421:41:16;;;4311:42:3;;666:10:1;4379:48:3;;7394:18:16;4379:48:3;;;;;;;4144:290;;:::o;5834:101:11:-;1047:6:12;;-1:-1:-1;;;;;1047:6:12;666:10:1;1187:23:12;1179:68;;;;-1:-1:-1;;;1179:68:12;;;;;;;:::i;:::-;5906:14:11::1;:21:::0;;;::::1;;;;-1:-1:-1::0;;5906:21:11;;::::1;::::0;;;::::1;::::0;;5834:101::o;5365:320:3:-;5534:41;666:10:1;5567:7:3;5534:18;:41::i;:::-;5526:103;;;;-1:-1:-1;;;5526:103:3;;;;;;;:::i;:::-;5639:39;5653:4;5659:2;5663:7;5672:5;5639:13;:39::i;:::-;5365:320;;;;:::o;1421:28:11:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2679:329:3:-;7222:4;7245:16;;;:7;:16;;;;;;2752:13;;-1:-1:-1;;;;;7245:16:3;2777:76;;;;-1:-1:-1;;;2777:76:3;;16659:2:16;2777:76:3;;;16641:21:16;16698:2;16678:18;;;16671:30;16737:34;16717:18;;;16710:62;-1:-1:-1;;;16788:18:16;;;16781:45;16843:19;;2777:76:3;16457:411:16;2777:76:3;2864:21;2888:10;:8;:10::i;:::-;2864:34;;2939:1;2921:7;2915:21;:25;:86;;;;;;;;;;;;;;;;;2967:7;2976:18;:7;:16;:18::i;:::-;2950:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2915:86;2908:93;2679:329;-1:-1:-1;;;2679:329:3:o;4030:426:11:-;1047:6:12;;-1:-1:-1;;;;;1047:6:12;666:10:1;1187:23:12;1179:68;;;;-1:-1:-1;;;1179:68:12;;;;;;;:::i;:::-;1029:3:11::1;4137:20;;4127:7;:30;;;;:::i;:::-;:47;;4119:78;;;::::0;-1:-1:-1;;;4119:78:11;;15544:2:16;4119:78:11::1;::::0;::::1;15526:21:16::0;15583:2;15563:18;;;15556:30;-1:-1:-1;;;15602:18:16;;;15595:45;15657:18;;4119:78:11::1;15342:339:16::0;4119:78:11::1;978:4;4232:7;4216:13;1621:10:4::0;:17;;1534:111;4216:13:11::1;:23;;;;:::i;:::-;:35;;4208:75;;;;-1:-1:-1::0;;;4208:75:11::1;;;;;;;:::i;:::-;4308:9;4304:145;4323:7;4319:1;:11;4304:145;;;4351:20;:22:::0;;;:20:::1;:22;::::0;::::1;:::i;:::-;;;;;;4388:49;4399:14;4415:20;;4388:9;:49::i;:::-;4332:3:::0;::::1;::::0;::::1;:::i;:::-;;;;4304:145;;5497:97:::0;5541:13;5574:12;5567:19;;;;;:::i;1857:198:12:-;1047:6;;-1:-1:-1;;;;;1047:6:12;666:10:1;1187:23:12;1179:68;;;;-1:-1:-1;;;1179:68:12;;;;;;;:::i;:::-;-1:-1:-1;;;;;1945:22:12;::::1;1937:73;;;::::0;-1:-1:-1;;;1937:73:12;;9519:2:16;1937:73:12::1;::::0;::::1;9501:21:16::0;9558:2;9538:18;;;9531:30;9597:34;9577:18;;;9570:62;-1:-1:-1;;;9648:18:16;;;9641:36;9694:19;;1937:73:12::1;9317:402:16::0;1937:73:12::1;2020:28;2039:8;2020:18;:28::i;1431:300:3:-:0;1533:4;-1:-1:-1;;;;;;1568:40:3;;-1:-1:-1;;;1568:40:3;;:104;;-1:-1:-1;;;;;;;1624:48:3;;-1:-1:-1;;;1624:48:3;1568:104;:156;;;-1:-1:-1;;;;;;;;;;871:40:2;;;1688:36:3;763:155:2;11008:171:3;11082:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11082:29:3;-1:-1:-1;;;;;11082:29:3;;;;;;;;:24;;11135:23;11082:24;11135:14;:23::i;:::-;-1:-1:-1;;;;;11126:46:3;;;;;;;;;;;11008:171;;:::o;7440:344::-;7533:4;7245:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7245:16:3;7549:73;;;;-1:-1:-1;;;7549:73:3;;11383:2:16;7549:73:3;;;11365:21:16;11422:2;11402:18;;;11395:30;11461:34;11441:18;;;11434:62;-1:-1:-1;;;11512:18:16;;;11505:42;11564:19;;7549:73:3;11181:408:16;7549:73:3;7632:13;7648:23;7663:7;7648:14;:23::i;:::-;7632:39;;7700:5;-1:-1:-1;;;;;7689:16:3;:7;-1:-1:-1;;;;;7689:16:3;;:51;;;;7733:7;-1:-1:-1;;;;;7709:31:3;:20;7721:7;7709:11;:20::i;:::-;-1:-1:-1;;;;;7709:31:3;;7689:51;:87;;;-1:-1:-1;;;;;;4620:25:3;;;4597:4;4620:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7744:32;7681:96;7440:344;-1:-1:-1;;;;7440:344:3:o;10337:560::-;10491:4;-1:-1:-1;;;;;10464:31:3;:23;10479:7;10464:14;:23::i;:::-;-1:-1:-1;;;;;10464:31:3;;10456:85;;;;-1:-1:-1;;;10456:85:3;;16249:2:16;10456:85:3;;;16231:21:16;16288:2;16268:18;;;16261:30;16327:34;16307:18;;;16300:62;-1:-1:-1;;;16378:18:16;;;16371:39;16427:19;;10456:85:3;16047:405:16;10456:85:3;-1:-1:-1;;;;;10559:16:3;;10551:65;;;;-1:-1:-1;;;10551:65:3;;10283:2:16;10551:65:3;;;10265:21:16;10322:2;10302:18;;;10295:30;10361:34;10341:18;;;10334:62;-1:-1:-1;;;10412:18:16;;;10405:34;10456:19;;10551:65:3;10081:400:16;10551:65:3;10627:39;10648:4;10654:2;10658:7;10627:20;:39::i;:::-;10728:29;10745:1;10749:7;10728:8;:29::i;:::-;-1:-1:-1;;;;;10768:15:3;;;;;;:9;:15;;;;;:20;;10787:1;;10768:15;:20;;10787:1;;10768:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10798:13:3;;;;;;:9;:13;;;;;:18;;10815:1;;10798:13;:18;;10815:1;;10798:18;:::i;:::-;;;;-1:-1:-1;;10826:16:3;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10826:21:3;-1:-1:-1;;;;;10826:21:3;;;;;;;;;10863:27;;10826:16;;10863:27;;;;;;;10337:560;;;:::o;8114:108::-;8189:26;8199:2;8203:7;8189:26;;;;;;;;;;;;:9;:26::i;:::-;8114:108;;:::o;9665:348::-;9724:13;9740:23;9755:7;9740:14;:23::i;:::-;9724:39;;9774:48;9795:5;9810:1;9814:7;9774:20;:48::i;:::-;9860:29;9877:1;9881:7;9860:8;:29::i;:::-;-1:-1:-1;;;;;9900:16:3;;;;;;:9;:16;;;;;:21;;9920:1;;9900:16;:21;;9920:1;;9900:21;:::i;:::-;;;;-1:-1:-1;;9938:16:3;;;;:7;:16;;;;;;9931:23;;-1:-1:-1;;;;;;9931:23:3;;;9970:36;9946:7;;9938:16;-1:-1:-1;;;;;9970:36:3;;;;;9938:16;;9970:36;9714:299;9665:348;:::o;2209:187:12:-;2301:6;;;-1:-1:-1;;;;;2317:17:12;;;-1:-1:-1;;;;;;2317:17:12;;;;;;;2349:40;;2301:6;;;2317:17;2301:6;;2349:40;;2282:16;;2349:40;2272:124;2209:187;:::o;6547:307:3:-;6698:28;6708:4;6714:2;6718:7;6698:9;:28::i;:::-;6744:48;6767:4;6773:2;6777:7;6786:5;6744:22;:48::i;:::-;6736:111;;;;-1:-1:-1;;;6736:111:3;;;;;;;:::i;5265:114:11:-;5325:13;5358;5351:20;;;;;:::i;275:703:15:-;331:13;548:10;544:51;;-1:-1:-1;;574:10:15;;;;;;;;;;;;-1:-1:-1;;;574:10:15;;;;;275:703::o;544:51::-;619:5;604:12;658:75;665:9;;658:75;;690:8;;;;:::i;:::-;;-1:-1:-1;712:10:15;;-1:-1:-1;720:2:15;712:10;;:::i;:::-;;;658:75;;;742:19;774:6;764:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;764:17:15;;742:39;;791:150;798:10;;791:150;;824:11;834:1;824:11;;:::i;:::-;;-1:-1:-1;892:10:15;900:2;892:5;:10;:::i;:::-;879:24;;:2;:24;:::i;:::-;866:39;;849:6;856;849:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;849:56:15;;;;;;;;-1:-1:-1;919:11:15;928:2;919:11;;:::i;:::-;;;791:150;;2543:572:4;-1:-1:-1;;;;;2742:18:4;;2738:183;;2776:40;2808:7;3924:10;:17;;3897:24;;;;:15;:24;;;;;:44;;;3951:24;;;;;;;;;;;;3821:161;2776:40;2738:183;;;2845:2;-1:-1:-1;;;;;2837:10:4;:4;-1:-1:-1;;;;;2837:10:4;;2833:88;;2863:47;2896:4;2902:7;2863:32;:47::i;:::-;-1:-1:-1;;;;;2934:16:4;;2930:179;;2966:45;3003:7;2966:36;:45::i;2930:179::-;3038:4;-1:-1:-1;;;;;3032:10:4;:2;-1:-1:-1;;;;;3032:10:4;;3028:81;;3058:40;3086:2;3090:7;3058:27;:40::i;8443:311:3:-;8568:18;8574:2;8578:7;8568:5;:18::i;:::-;8617:54;8648:1;8652:2;8656:7;8665:5;8617:22;:54::i;:::-;8596:151;;;;-1:-1:-1;;;8596:151:3;;;;;;;:::i;11732:778::-;11882:4;-1:-1:-1;;;;;11902:13:3;;1034:20:0;1080:8;11898:606:3;;11937:72;;-1:-1:-1;;;11937:72:3;;-1:-1:-1;;;;;11937:36:3;;;;;:72;;666:10:1;;11988:4:3;;11994:7;;12003:5;;11937:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11937:72:3;;;;;;;;-1:-1:-1;;11937:72:3;;;;;;;;;;;;:::i;:::-;;;11933:519;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12176:13:3;;12172:266;;12218:60;;-1:-1:-1;;;12218:60:3;;;;;;;:::i;12172:266::-;12390:6;12384:13;12375:6;12371:2;12367:15;12360:38;11933:519;-1:-1:-1;;;;;;12059:51:3;-1:-1:-1;;;12059:51:3;;-1:-1:-1;12052:58:3;;11898:606;-1:-1:-1;12489:4:3;11732:778;;;;;;:::o;4599:970:4:-;4861:22;4911:1;4886:22;4903:4;4886:16;:22::i;:::-;:26;;;;:::i;:::-;4922:18;4943:26;;;:17;:26;;;;;;4861:51;;-1:-1:-1;5073:28:4;;;5069:323;;-1:-1:-1;;;;;5139:18:4;;5117:19;5139:18;;;:12;:18;;;;;;;;:34;;;;;;;;;5188:30;;;;;;:44;;;5304:30;;:17;:30;;;;;:43;;;5069:323;-1:-1:-1;5485:26:4;;;;:17;:26;;;;;;;;5478:33;;;-1:-1:-1;;;;;5528:18:4;;;;;:12;:18;;;;;:34;;;;;;;5521:41;4599:970::o;5857:1061::-;6131:10;:17;6106:22;;6131:21;;6151:1;;6131:21;:::i;:::-;6162:18;6183:24;;;:15;:24;;;;;;6551:10;:26;;6106:46;;-1:-1:-1;6183:24:4;;6106:46;;6551:26;;;;;;:::i;:::-;;;;;;;;;6529:48;;6613:11;6588:10;6599;6588:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;6692:28;;;:15;:28;;;;;;;:41;;;6861:24;;;;;6854:31;6895:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;5928:990;;;5857:1061;:::o;3409:217::-;3493:14;3510:20;3527:2;3510:16;:20::i;:::-;-1:-1:-1;;;;;3540:16:4;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;3584:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;3409:217:4:o;9076:372:3:-;-1:-1:-1;;;;;9155:16:3;;9147:61;;;;-1:-1:-1;;;9147:61:3;;14081:2:16;9147:61:3;;;14063:21:16;;;14100:18;;;14093:30;14159:34;14139:18;;;14132:62;14211:18;;9147:61:3;13879:356:16;9147:61:3;7222:4;7245:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7245:16:3;:30;9218:58;;;;-1:-1:-1;;;9218:58:3;;9926:2:16;9218:58:3;;;9908:21:16;9965:2;9945:18;;;9938:30;10004;9984:18;;;9977:58;10052:18;;9218:58:3;9724:352:16;9218:58:3;9287:45;9316:1;9320:2;9324:7;9287:20;:45::i;:::-;-1:-1:-1;;;;;9343:13:3;;;;;;:9;:13;;;;;:18;;9360:1;;9343:13;:18;;9360:1;;9343:18;:::i;:::-;;;;-1:-1:-1;;9371:16:3;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9371:21:3;-1:-1:-1;;;;;9371:21:3;;;;;;;;9408:33;;9371:16;;;9408:33;;9371:16;;9408:33;9076:372;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:16;82:20;;-1:-1:-1;;;;;131:31:16;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:186::-;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;383:260::-;451:6;459;512:2;500:9;491:7;487:23;483:32;480:52;;;528:1;525;518:12;480:52;551:29;570:9;551:29;:::i;:::-;541:39;;599:38;633:2;622:9;618:18;599:38;:::i;:::-;589:48;;383:260;;;;;:::o;648:328::-;725:6;733;741;794:2;782:9;773:7;769:23;765:32;762:52;;;810:1;807;800:12;762:52;833:29;852:9;833:29;:::i;:::-;823:39;;881:38;915:2;904:9;900:18;881:38;:::i;:::-;871:48;;966:2;955:9;951:18;938:32;928:42;;648:328;;;;;:::o;981:1138::-;1076:6;1084;1092;1100;1153:3;1141:9;1132:7;1128:23;1124:33;1121:53;;;1170:1;1167;1160:12;1121:53;1193:29;1212:9;1193:29;:::i;:::-;1183:39;;1241:38;1275:2;1264:9;1260:18;1241:38;:::i;:::-;1231:48;;1326:2;1315:9;1311:18;1298:32;1288:42;;1381:2;1370:9;1366:18;1353:32;1404:18;1445:2;1437:6;1434:14;1431:34;;;1461:1;1458;1451:12;1431:34;1499:6;1488:9;1484:22;1474:32;;1544:7;1537:4;1533:2;1529:13;1525:27;1515:55;;1566:1;1563;1556:12;1515:55;1602:2;1589:16;1624:2;1620;1617:10;1614:36;;;1630:18;;:::i;:::-;1705:2;1699:9;1673:2;1759:13;;-1:-1:-1;;1755:22:16;;;1779:2;1751:31;1747:40;1735:53;;;1803:18;;;1823:22;;;1800:46;1797:72;;;1849:18;;:::i;:::-;1889:10;1885:2;1878:22;1924:2;1916:6;1909:18;1964:7;1959:2;1954;1950;1946:11;1942:20;1939:33;1936:53;;;1985:1;1982;1975:12;1936:53;2041:2;2036;2032;2028:11;2023:2;2015:6;2011:15;1998:46;2086:1;2081:2;2076;2068:6;2064:15;2060:24;2053:35;2107:6;2097:16;;;;;;;981:1138;;;;;;;:::o;2124:315::-;2189:6;2197;2250:2;2238:9;2229:7;2225:23;2221:32;2218:52;;;2266:1;2263;2256:12;2218:52;2289:29;2308:9;2289:29;:::i;:::-;2279:39;;2368:2;2357:9;2353:18;2340:32;2381:28;2403:5;2381:28;:::i;:::-;2428:5;2418:15;;;2124:315;;;;;:::o;2444:254::-;2512:6;2520;2573:2;2561:9;2552:7;2548:23;2544:32;2541:52;;;2589:1;2586;2579:12;2541:52;2612:29;2631:9;2612:29;:::i;:::-;2602:39;2688:2;2673:18;;;;2660:32;;-1:-1:-1;;;2444:254:16:o;2703:241::-;2759:6;2812:2;2800:9;2791:7;2787:23;2783:32;2780:52;;;2828:1;2825;2818:12;2780:52;2867:9;2854:23;2886:28;2908:5;2886:28;:::i;2949:245::-;3016:6;3069:2;3057:9;3048:7;3044:23;3040:32;3037:52;;;3085:1;3082;3075:12;3037:52;3117:9;3111:16;3136:28;3158:5;3136:28;:::i;3199:245::-;3257:6;3310:2;3298:9;3289:7;3285:23;3281:32;3278:52;;;3326:1;3323;3316:12;3278:52;3365:9;3352:23;3384:30;3408:5;3384:30;:::i;3449:249::-;3518:6;3571:2;3559:9;3550:7;3546:23;3542:32;3539:52;;;3587:1;3584;3577:12;3539:52;3619:9;3613:16;3638:30;3662:5;3638:30;:::i;3703:592::-;3774:6;3782;3835:2;3823:9;3814:7;3810:23;3806:32;3803:52;;;3851:1;3848;3841:12;3803:52;3891:9;3878:23;3920:18;3961:2;3953:6;3950:14;3947:34;;;3977:1;3974;3967:12;3947:34;4015:6;4004:9;4000:22;3990:32;;4060:7;4053:4;4049:2;4045:13;4041:27;4031:55;;4082:1;4079;4072:12;4031:55;4122:2;4109:16;4148:2;4140:6;4137:14;4134:34;;;4164:1;4161;4154:12;4134:34;4209:7;4204:2;4195:6;4191:2;4187:15;4183:24;4180:37;4177:57;;;4230:1;4227;4220:12;4177:57;4261:2;4253:11;;;;;4283:6;;-1:-1:-1;3703:592:16;;-1:-1:-1;;;;3703:592:16:o;4300:180::-;4359:6;4412:2;4400:9;4391:7;4387:23;4383:32;4380:52;;;4428:1;4425;4418:12;4380:52;-1:-1:-1;4451:23:16;;4300:180;-1:-1:-1;4300:180:16:o;4485:184::-;4555:6;4608:2;4596:9;4587:7;4583:23;4579:32;4576:52;;;4624:1;4621;4614:12;4576:52;-1:-1:-1;4647:16:16;;4485:184;-1:-1:-1;4485:184:16:o;4674:248::-;4742:6;4750;4803:2;4791:9;4782:7;4778:23;4774:32;4771:52;;;4819:1;4816;4809:12;4771:52;-1:-1:-1;;4842:23:16;;;4912:2;4897:18;;;4884:32;;-1:-1:-1;4674:248:16:o;4927:257::-;4968:3;5006:5;5000:12;5033:6;5028:3;5021:19;5049:63;5105:6;5098:4;5093:3;5089:14;5082:4;5075:5;5071:16;5049:63;:::i;:::-;5166:2;5145:15;-1:-1:-1;;5141:29:16;5132:39;;;;5173:4;5128:50;;4927:257;-1:-1:-1;;4927:257:16:o;5189:470::-;5368:3;5406:6;5400:13;5422:53;5468:6;5463:3;5456:4;5448:6;5444:17;5422:53;:::i;:::-;5538:13;;5497:16;;;;5560:57;5538:13;5497:16;5594:4;5582:17;;5560:57;:::i;:::-;5633:20;;5189:470;-1:-1:-1;;;;5189:470:16:o;5872:488::-;-1:-1:-1;;;;;6141:15:16;;;6123:34;;6193:15;;6188:2;6173:18;;6166:43;6240:2;6225:18;;6218:34;;;6288:3;6283:2;6268:18;;6261:31;;;6066:4;;6309:45;;6334:19;;6326:6;6309:45;:::i;:::-;6301:53;5872:488;-1:-1:-1;;;;;;5872:488:16:o;6644:632::-;6815:2;6867:21;;;6937:13;;6840:18;;;6959:22;;;6786:4;;6815:2;7038:15;;;;7012:2;6997:18;;;6786:4;7081:169;7095:6;7092:1;7089:13;7081:169;;;7156:13;;7144:26;;7225:15;;;;7190:12;;;;7117:1;7110:9;7081:169;;;-1:-1:-1;7267:3:16;;6644:632;-1:-1:-1;;;;;;6644:632:16:o;7926:219::-;8075:2;8064:9;8057:21;8038:4;8095:44;8135:2;8124:9;8120:18;8112:6;8095:44;:::i;8898:414::-;9100:2;9082:21;;;9139:2;9119:18;;;9112:30;9178:34;9173:2;9158:18;;9151:62;-1:-1:-1;;;9244:2:16;9229:18;;9222:48;9302:3;9287:19;;8898:414::o;10840:336::-;11042:2;11024:21;;;11081:2;11061:18;;;11054:30;-1:-1:-1;;;11115:2:16;11100:18;;11093:42;11167:2;11152:18;;10840:336::o;15686:356::-;15888:2;15870:21;;;15907:18;;;15900:30;15966:34;15961:2;15946:18;;15939:62;16033:2;16018:18;;15686:356::o;18317:413::-;18519:2;18501:21;;;18558:2;18538:18;;;18531:30;18597:34;18592:2;18577:18;;18570:62;-1:-1:-1;;;18663:2:16;18648:18;;18641:47;18720:3;18705:19;;18317:413::o;20024:128::-;20064:3;20095:1;20091:6;20088:1;20085:13;20082:39;;;20101:18;;:::i;:::-;-1:-1:-1;20137:9:16;;20024:128::o;20157:120::-;20197:1;20223;20213:35;;20228:18;;:::i;:::-;-1:-1:-1;20262:9:16;;20157:120::o;20282:168::-;20322:7;20388:1;20384;20380:6;20376:14;20373:1;20370:21;20365:1;20358:9;20351:17;20347:45;20344:71;;;20395:18;;:::i;:::-;-1:-1:-1;20435:9:16;;20282:168::o;20455:125::-;20495:4;20523:1;20520;20517:8;20514:34;;;20528:18;;:::i;:::-;-1:-1:-1;20565:9:16;;20455:125::o;20585:258::-;20657:1;20667:113;20681:6;20678:1;20675:13;20667:113;;;20757:11;;;20751:18;20738:11;;;20731:39;20703:2;20696:10;20667:113;;;20798:6;20795:1;20792:13;20789:48;;;-1:-1:-1;;20833:1:16;20815:16;;20808:27;20585:258::o;20848:380::-;20927:1;20923:12;;;;20970;;;20991:61;;21045:4;21037:6;21033:17;21023:27;;20991:61;21098:2;21090:6;21087:14;21067:18;21064:38;21061:161;;;21144:10;21139:3;21135:20;21132:1;21125:31;21179:4;21176:1;21169:15;21207:4;21204:1;21197:15;21061:161;;20848:380;;;:::o;21233:135::-;21272:3;-1:-1:-1;;21293:17:16;;21290:43;;;21313:18;;:::i;:::-;-1:-1:-1;21360:1:16;21349:13;;21233:135::o;21373:112::-;21405:1;21431;21421:35;;21436:18;;:::i;:::-;-1:-1:-1;21470:9:16;;21373:112::o;21490:127::-;21551:10;21546:3;21542:20;21539:1;21532:31;21582:4;21579:1;21572:15;21606:4;21603:1;21596:15;21622:127;21683:10;21678:3;21674:20;21671:1;21664:31;21714:4;21711:1;21704:15;21738:4;21735:1;21728:15;21754:127;21815:10;21810:3;21806:20;21803:1;21796:31;21846:4;21843:1;21836:15;21870:4;21867:1;21860:15;21886:127;21947:10;21942:3;21938:20;21935:1;21928:31;21978:4;21975:1;21968:15;22002:4;21999:1;21992:15;22018:127;22079:10;22074:3;22070:20;22067:1;22060:31;22110:4;22107:1;22100:15;22134:4;22131:1;22124:15;22150:118;22236:5;22229:13;22222:21;22215:5;22212:32;22202:60;;22258:1;22255;22248:12;22273:131;-1:-1:-1;;;;;;22347:32:16;;22337:43;;22327:71;;22394:1;22391;22384:12

Swarm Source

ipfs://e7610d50484fcc1b3370c685e1be3560444093556c57f1c608418c361e3ce95d
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.