ETH Price: $3,468.59 (+2.39%)
Gas: 15 Gwei

Token

OG Motorcycle Keys (OGMK)
 

Overview

Max Total Supply

570 OGMK

Holders

509

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 OGMK
0xc6e4fcc5818e92d54101abb1e2f8bd601fa1198f
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

*Mysterious motorcycle Keys appear on the Blockchain.* The rumors say that the Outlaw Gal who holds the Key will reap endless benefits beyond what's expected. https://discord.gg/ogmc

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
OGMK

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 11 of 15: OGMK.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 "./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 OGMK is ERC721Enumerable, IPremintKeys, IWalletOfOwner, Ownable, ReentrancyGuard {
    using Strings for uint256;
    
    bool public saleLive = true;

    uint256 public tokenIdSilver = 0;
    uint256 public tokenIdGold = 566;
    
    uint256 public constant maxTokensSilver = 566;
    uint256 public constant maxTokensGold = 100;
    
    uint256 public counterGold = 0;
    uint256 public counterSilver = 0;
    
    uint256 public counterGoldReserved = 0;
    uint256 private _tokenIdGoldReserved = 656;
    uint256 private _goldReserved = 10;
    uint256 private constant _reservedPerMint = 100;
    
    mapping(address => uint256) public ownersGold;
    mapping(address => uint256) public ownersSilver;
    
    string private _baseTokenURI;
    string private _contractURI;
    
    constructor() ERC721("OG Motorcycle Keys", "OGMK")  {
    }
    
    //attention! doesn't check the limits!
    function addToGoldList(address[] memory _targetAddreses) external onlyOwner{
        for(uint256 i; i < _targetAddreses.length; i++){
            address targetAddress = _targetAddreses[i];
            require(targetAddress != address(0),        "NULL_ADDRESS");
            require(ownersGold[targetAddress] == 0,     "DUPLICATE_ADDRESS");
            ownersGold[targetAddress] = 1;
        }
    }
    
    //attention! doesn't check the limits!
    function addToSilverList(address[] memory _targetAddreses) external onlyOwner{
        for(uint256 i; i < _targetAddreses.length; i++){
            address targetAddress = _targetAddreses[i];
            require(targetAddress != address(0),        "NULL_ADDRESS");
            require(ownersSilver[targetAddress] == 0,   "DUPLICATE_ADDRESS");
            ownersSilver[targetAddress] = 1;
        }
    }
    
    function removeFromGoldList(address[] memory _targetAddreses) external onlyOwner{
        for(uint256 i; i < _targetAddreses.length; i++){
            address targetAddress = _targetAddreses[i];
            require(targetAddress != address(0),        "NULL_ADDRESS");
            ownersGold[targetAddress] = 0;
        }
    }
    
    function removeFromSilverList(address[] memory _targetAddreses) external onlyOwner{
        for(uint256 i; i < _targetAddreses.length; i++){
            address targetAddress = _targetAddreses[i];
            require(targetAddress != address(0),        "NULL_ADDRESS");
            ownersSilver[targetAddress] = 0;
        }
    }
    
    function getGoldListAddressValue(address _targetAddreses) external view returns(uint256){
        return ownersGold[_targetAddreses];
    }
    
    function getSilverListAddressValue(address _targetAddreses) external view returns(uint256){
        return ownersSilver[_targetAddreses];
    }
    
    function mintPremintKey(uint256 _keyType) public nonReentrant{
        require(saleLive,                                          "SALE_PAUSED" );
        require(_keyType == 1 || _keyType == 2,                    "KEYTYPE_INVALID");
        require(totalSupply() < maxTokensSilver + maxTokensGold,   "OUT_OF_STOCK");  
        if (_keyType == 1){
            require(ownersSilver[msg.sender] == 1,                 "NO_RIGHTS_FOR_SILVER");
            ownersSilver[msg.sender] = 2;
            counterSilver++;
            require(counterSilver <= maxTokensSilver,              "EXCEED_SILVER");
            _mintSilverKey(msg.sender);
        }
        if (_keyType == 2){
            require(ownersGold[msg.sender] == 1,                   "NO_RIGHTS_FOR_GOLD");
            ownersGold[msg.sender] = 2;
            counterGold++;
            require(counterGold <= maxTokensGold - _goldReserved,  "EXCEED_GOLD");
            _mintGoldKey(msg.sender);
        }
    }
    
    function _mintSilverKey(address _destinationAddress) private{
        tokenIdSilver++;
        require(!_exists(tokenIdSilver), "TOKEN_EXISTS");
        _safeMint(_destinationAddress, tokenIdSilver);
    }
    
    function _mintGoldKey(address _destinationAddress) private{
        tokenIdGold++;
        require(!_exists(tokenIdGold), "TOKEN_EXISTS");
        _safeMint(_destinationAddress, tokenIdGold);
    }
    
    function getPremintKeyType(uint256 _keyId) public pure virtual override returns(uint256) {
        //silver 1-566 = 566    return 1
        //gold 567-666 = 100    return 2
        if (_keyId >= 1 && _keyId <= 566){
            return 1;
        }
        if (_keyId >= 567 && _keyId <= 666){
            return 2;
        }
        return 0;
    }
    
    function walletOfOwner(address _owner) external view virtual override returns(uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);
        if (tokenCount == 0) {
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            for(uint256 i; i < tokenCount; i++){
                result[i] = tokenOfOwnerByIndex(_owner, i);
            }
            return result;
        }
    }
    
    function giveAway(address _targetAddreses, uint256 _amount) external onlyOwner{
        require(_amount <= _goldReserved,          "EXCEED_GOLD_RESERVED");
        _goldReserved -= _amount;
        counterGoldReserved += _amount;
    
        for(uint256 i; i < _amount; i++){
            _tokenIdGoldReserved += 1;
            require(!_exists(_tokenIdGoldReserved), "TOKEN_EXISTS");
            _safeMint(_targetAddreses, _tokenIdGoldReserved);
        }
    }
    
    function mintLeftTokens(uint256 _numSilver, uint256 _numGold) external onlyOwner{
        require(_numSilver + _numGold <= _reservedPerMint,      "EXCEED_KEY_PER_MINT");

        uint256 maxToMintSilver = counterSilver + _numSilver;
        uint256 maxToMintGold = counterGold + _numGold;
        
        require(maxToMintSilver <= maxTokensSilver,             "EXCEED_SILVER");
        require(maxToMintGold <= maxTokensGold-_goldReserved,   "EXCEED_GOLD");

        while (counterSilver < maxToMintSilver) {
            counterSilver++;
            _mintSilverKey(msg.sender);
        }
        
        while (counterGold < maxToMintGold) {
            counterGold++;
            _mintGoldKey(msg.sender);
        }
    }
    
    function burn(uint256 _tokenId) public virtual {
        require(_isApprovedOrOwner(msg.sender, _tokenId), "NOT_OWNER_NOR_APPROVED");
        _burn(_tokenId);
    }
    
    function exists(uint256 _tokenId) external view virtual override returns (bool) {
        return _exists(_tokenId);
    }
    
    function isApprovedOrOwner(address _spender, uint256 _tokenId) external view virtual override returns (bool) {
        return _isApprovedOrOwner(_spender, _tokenId);
    }
    
    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

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

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

File 1 of 15: 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 15: 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 15: 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 15: 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 15: 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 15: 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 7 of 15: 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 8 of 15: 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 9 of 15: IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";

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

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

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

File 10 of 15: 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 12 of 15: 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 13 of 15: 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 14 of 15: 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 15 of 15: 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":[],"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":[{"internalType":"address[]","name":"_targetAddreses","type":"address[]"}],"name":"addToGoldList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_targetAddreses","type":"address[]"}],"name":"addToSilverList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":[],"name":"counterGold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"counterGoldReserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"counterSilver","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"_targetAddreses","type":"address"}],"name":"getGoldListAddressValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_keyId","type":"uint256"}],"name":"getPremintKeyType","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"_targetAddreses","type":"address"}],"name":"getSilverListAddressValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_targetAddreses","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":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"isApprovedOrOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensGold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensSilver","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numSilver","type":"uint256"},{"internalType":"uint256","name":"_numGold","type":"uint256"}],"name":"mintLeftTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_keyType","type":"uint256"}],"name":"mintPremintKey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"ownersGold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"ownersSilver","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_targetAddreses","type":"address[]"}],"name":"removeFromGoldList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_targetAddreses","type":"address[]"}],"name":"removeFromSilverList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_value","type":"bool"}],"name":"setSaleLiveStatus","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":[],"name":"tokenIdGold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenIdSilver","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":"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"}]

6080604052600c805460ff191660011790556000600d819055610236600e55600f8190556010819055601155610290601255600a6013553480156200004357600080fd5b5060408051808201825260128152714f47204d6f746f726379636c65204b65797360701b6020808301918252835180850190945260048452634f474d4b60e01b9084015281519192916200009a916000916200012e565b508051620000b09060019060208401906200012e565b505050620000cd620000c7620000d860201b60201c565b620000dc565b6001600b5562000211565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200013c90620001d4565b90600052602060002090601f016020900481019282620001605760008555620001ab565b82601f106200017b57805160ff1916838001178555620001ab565b82800160010185558215620001ab579182015b82811115620001ab5782518255916020019190600101906200018e565b50620001b9929150620001bd565b5090565b5b80821115620001b95760008155600101620001be565b600181811c90821680620001e957607f821691505b602082108114156200020b57634e487b7160e01b600052602260045260246000fd5b50919050565b612d4980620002216000396000f3fe608060405234801561001057600080fd5b50600436106102a05760003560e01c80634f558e7911610167578063a635718c116100ce578063e081b78111610087578063e081b781146105e0578063e8a3d485146105ed578063e985e9c5146105f5578063f2fde38b14610631578063f9999e7214610644578063fc9726cf1461065757600080fd5b8063a635718c14610583578063b6fa998814610596578063b88d4fde1461059f578063c87b56dd146105b2578063ca800144146105c5578063dcf87563146105d857600080fd5b8063715018a611610120578063715018a6146105335780638da5cb5b1461053b578063938e3d7b1461054c57806395d89b411461055f578063a22cb46514610567578063a3aa15981461057a57600080fd5b80634f558e79146104cb5780634f6ccce7146104de57806355f804b3146104f15780636352211e1461050457806368f2b8881461051757806370a082311461052057600080fd5b806323b872dd1161020b57806342842e0e116101c457806342842e0e1461043657806342966c6814610449578063430c20811461045c578063438b63001461046f57806348461ef51461048f5780634a0ea89f146104a257600080fd5b806323b872dd146103d95780632711805d146103ec5780632f745c59146103f557806335ad68901461040857806337f83e861461041b5780633ccfd60b1461042e57600080fd5b8063143e9ba41161025d578063143e9ba41461037957806316730bbc1461038c57806316d7f17e1461039f57806318160ddd146103bf57806319fab2a0146103c757806320e4d666146103d057600080fd5b806301ffc9a7146102a55780630457b852146102cd57806306fdde03146102fb578063081812fc14610310578063095ea7b31461033b5780630cfac89f14610350575b600080fd5b6102b86102b3366004612848565b61066a565b60405190151581526020015b60405180910390f35b6102ed6102db36600461261f565b60156020526000908152604090205481565b6040519081526020016102c4565b610303610695565b6040516102c49190612a54565b61032361031e36600461293d565b610727565b6040516001600160a01b0390911681526020016102c4565b61034e61034936600461274f565b6107b4565b005b6102ed61035e36600461261f565b6001600160a01b031660009081526014602052604090205490565b61034e610387366004612779565b6108ca565b61034e61039a36600461282d565b61097f565b6102ed6103ad36600461261f565b60146020526000908152604090205481565b6008546102ed565b6102ed600e5481565b6102ed600f5481565b61034e6103e736600461266d565b6109bc565b6102ed600d5481565b6102ed61040336600461274f565b6109ed565b61034e610416366004612779565b610a83565b61034e610429366004612779565b610b91565b61034e610c9f565b61034e61044436600461266d565b610cf8565b61034e61045736600461293d565b610d13565b6102b861046a36600461274f565b610d6b565b61048261047d36600461261f565b610d7e565b6040516102c49190612a10565b61034e61049d366004612779565b610e3d565b6102ed6104b036600461261f565b6001600160a01b031660009081526015602052604090205490565b6102b86104d936600461293d565b610eee565b6102ed6104ec36600461293d565b610ef9565b61034e6104ff3660046128f4565b610f8c565b61032361051236600461293d565b610fc9565b6102ed60105481565b6102ed61052e36600461261f565b611040565b61034e6110c7565b600a546001600160a01b0316610323565b61034e61055a366004612882565b6110fd565b610303611133565b61034e610575366004612725565b611142565b6102ed61023681565b61034e610591366004612956565b611207565b6102ed60115481565b61034e6105ad3660046126a9565b611392565b6103036105c036600461293d565b6113c4565b61034e6105d336600461274f565b61148e565b6102ed606481565b600c546102b89060ff1681565b61030361159c565b6102b861060336600461263a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61034e61063f36600461261f565b6115ab565b61034e61065236600461293d565b611643565b6102ed61066536600461293d565b611927565b60006001600160e01b0319821663780e9d6360e01b148061068f575061068f82611972565b92915050565b6060600080546106a490612c2b565b80601f01602080910402602001604051908101604052809291908181526020018280546106d090612c2b565b801561071d5780601f106106f25761010080835404028352916020019161071d565b820191906000526020600020905b81548152906001019060200180831161070057829003601f168201915b5050505050905090565b6000610732826119c2565b6107985760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107bf82610fc9565b9050806001600160a01b0316836001600160a01b0316141561082d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161078f565b336001600160a01b038216148061084957506108498133610603565b6108bb5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161078f565b6108c583836119df565b505050565b600a546001600160a01b031633146108f45760405162461bcd60e51b815260040161078f90612adf565b60005b815181101561097b57600082828151811061091457610914612cd1565b6020026020010151905060006001600160a01b0316816001600160a01b031614156109515760405162461bcd60e51b815260040161078f90612a67565b6001600160a01b03166000908152601560205260408120558061097381612c60565b9150506108f7565b5050565b600a546001600160a01b031633146109a95760405162461bcd60e51b815260040161078f90612adf565b600c805460ff1916911515919091179055565b6109c63382611a4d565b6109e25760405162461bcd60e51b815260040161078f90612b14565b6108c5838383611b37565b60006109f883611040565b8210610a5a5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161078f565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610aad5760405162461bcd60e51b815260040161078f90612adf565b60005b815181101561097b576000828281518110610acd57610acd612cd1565b6020026020010151905060006001600160a01b0316816001600160a01b03161415610b0a5760405162461bcd60e51b815260040161078f90612a67565b6001600160a01b03811660009081526015602052604090205415610b645760405162461bcd60e51b81526020600482015260116024820152704455504c49434154455f4144445245535360781b604482015260640161078f565b6001600160a01b031660009081526015602052604090206001905580610b8981612c60565b915050610ab0565b600a546001600160a01b03163314610bbb5760405162461bcd60e51b815260040161078f90612adf565b60005b815181101561097b576000828281518110610bdb57610bdb612cd1565b6020026020010151905060006001600160a01b0316816001600160a01b03161415610c185760405162461bcd60e51b815260040161078f90612a67565b6001600160a01b03811660009081526014602052604090205415610c725760405162461bcd60e51b81526020600482015260116024820152704455504c49434154455f4144445245535360781b604482015260640161078f565b6001600160a01b031660009081526014602052604090206001905580610c9781612c60565b915050610bbe565b600a546001600160a01b03163314610cc95760405162461bcd60e51b815260040161078f90612adf565b60405133904780156108fc02916000818181858888f19350505050158015610cf5573d6000803e3d6000fd5b50565b6108c583838360405180602001604052806000815250611392565b610d1d3382611a4d565b610d625760405162461bcd60e51b81526020600482015260166024820152751393d517d3d5d3915497d393d497d054141493d5915160521b604482015260640161078f565b610cf581611ce2565b6000610d778383611a4d565b9392505050565b60606000610d8b83611040565b905080610dac5760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115610dc757610dc7612ce7565b604051908082528060200260200182016040528015610df0578160200160208202803683370190505b50905060005b82811015610da457610e0885826109ed565b828281518110610e1a57610e1a612cd1565b602090810291909101015280610e2f81612c60565b915050610df6565b50919050565b600a546001600160a01b03163314610e675760405162461bcd60e51b815260040161078f90612adf565b60005b815181101561097b576000828281518110610e8757610e87612cd1565b6020026020010151905060006001600160a01b0316816001600160a01b03161415610ec45760405162461bcd60e51b815260040161078f90612a67565b6001600160a01b031660009081526014602052604081205580610ee681612c60565b915050610e6a565b600061068f826119c2565b6000610f0460085490565b8210610f675760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161078f565b60088281548110610f7a57610f7a612cd1565b90600052602060002001549050919050565b600a546001600160a01b03163314610fb65760405162461bcd60e51b815260040161078f90612adf565b805161097b90601690602084019061248e565b6000818152600260205260408120546001600160a01b03168061068f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161078f565b60006001600160a01b0382166110ab5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161078f565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146110f15760405162461bcd60e51b815260040161078f90612adf565b6110fb6000611d89565b565b600a546001600160a01b031633146111275760405162461bcd60e51b815260040161078f90612adf565b6108c560178383612512565b6060600180546106a490612c2b565b6001600160a01b03821633141561119b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161078f565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b031633146112315760405162461bcd60e51b815260040161078f90612adf565b606461123d8284612bbc565b11156112815760405162461bcd60e51b8152602060048201526013602482015272115610d1515117d2d15657d4115497d3525395606a1b604482015260640161078f565b6000826010546112919190612bbc565b9050600082600f546112a39190612bbc565b90506102368211156112e75760405162461bcd60e51b815260206004820152600d60248201526c22ac21a2a2a22fa9a4a62b22a960991b604482015260640161078f565b6013546112f5906064612be8565b8111156113325760405162461bcd60e51b815260206004820152600b60248201526a115610d1515117d1d3d31160aa1b604482015260640161078f565b81601054101561135f576010805490600061134c83612c60565b919050555061135a33611ddb565b611332565b80600f54101561138c57600f805490600061137983612c60565b919050555061138733611e24565b61135f565b50505050565b61139c3383611a4d565b6113b85760405162461bcd60e51b815260040161078f90612b14565b61138c84848484611e6d565b60606113cf826119c2565b6114335760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161078f565b600061143d611ea0565b9050600081511161145d5760405180602001604052806000815250610d77565b8061146784611eaf565b6040516020016114789291906129a4565b6040516020818303038152906040529392505050565b600a546001600160a01b031633146114b85760405162461bcd60e51b815260040161078f90612adf565b6013548111156115015760405162461bcd60e51b8152602060048201526014602482015273115610d1515117d1d3d31117d49154d15495915160621b604482015260640161078f565b80601360008282546115139190612be8565b92505081905550806011600082825461152c9190612bbc565b90915550600090505b818110156108c5576001601260008282546115509190612bbc565b9091555050601254611561906119c2565b1561157e5760405162461bcd60e51b815260040161078f90612b65565b61158a83601254611fad565b8061159481612c60565b915050611535565b6060601780546106a490612c2b565b600a546001600160a01b031633146115d55760405162461bcd60e51b815260040161078f90612adf565b6001600160a01b03811661163a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161078f565b610cf581611d89565b6002600b5414156116965760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161078f565b6002600b55600c5460ff166116db5760405162461bcd60e51b815260206004820152600b60248201526a14d0531157d4105554d15160aa1b604482015260640161078f565b80600114806116ea5750806002145b6117285760405162461bcd60e51b815260206004820152600f60248201526e12d1565516541157d2539590531251608a1b604482015260640161078f565b6117356064610236612bbc565b600854106117745760405162461bcd60e51b815260206004820152600c60248201526b4f55545f4f465f53544f434b60a01b604482015260640161078f565b806001141561184657336000908152601560205260409020546001146117d35760405162461bcd60e51b81526020600482015260146024820152732727afa924a3a42a29afa327a92fa9a4a62b22a960611b604482015260640161078f565b3360009081526015602052604081206002905560108054916117f483612c60565b9190505550610236601054111561183d5760405162461bcd60e51b815260206004820152600d60248201526c22ac21a2a2a22fa9a4a62b22a960991b604482015260640161078f565b61184633611ddb565b806002141561191f57336000908152601460205260409020546001146118a35760405162461bcd60e51b81526020600482015260126024820152711393d7d49251d21514d7d193d497d1d3d31160721b604482015260640161078f565b33600090815260146020526040812060029055600f8054916118c483612c60565b90915550506013546118d7906064612be8565b600f5411156119165760405162461bcd60e51b815260206004820152600b60248201526a115610d1515117d1d3d31160aa1b604482015260640161078f565b61191f33611e24565b506001600b55565b60006001821015801561193c57506102368211155b1561194957506001919050565b610237821015801561195d575061029a8211155b1561196a57506002919050565b506000919050565b60006001600160e01b031982166380ac58cd60e01b14806119a357506001600160e01b03198216635b5e139f60e01b145b8061068f57506301ffc9a760e01b6001600160e01b031983161461068f565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611a1482610fc9565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611a58826119c2565b611ab95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161078f565b6000611ac483610fc9565b9050806001600160a01b0316846001600160a01b03161480611aff5750836001600160a01b0316611af484610727565b6001600160a01b0316145b80611b2f57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611b4a82610fc9565b6001600160a01b031614611bb25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161078f565b6001600160a01b038216611c145760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161078f565b611c1f838383611fc7565b611c2a6000826119df565b6001600160a01b0383166000908152600360205260408120805460019290611c53908490612be8565b90915550506001600160a01b0382166000908152600360205260408120805460019290611c81908490612bbc565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000611ced82610fc9565b9050611cfb81600084611fc7565b611d066000836119df565b6001600160a01b0381166000908152600360205260408120805460019290611d2f908490612be8565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600d8054906000611deb83612c60565b9190505550611dfb600d546119c2565b15611e185760405162461bcd60e51b815260040161078f90612b65565b610cf581600d54611fad565b600e8054906000611e3483612c60565b9190505550611e44600e546119c2565b15611e615760405162461bcd60e51b815260040161078f90612b65565b610cf581600e54611fad565b611e78848484611b37565b611e848484848461207f565b61138c5760405162461bcd60e51b815260040161078f90612a8d565b6060601680546106a490612c2b565b606081611ed35750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611efd5780611ee781612c60565b9150611ef69050600a83612bd4565b9150611ed7565b60008167ffffffffffffffff811115611f1857611f18612ce7565b6040519080825280601f01601f191660200182016040528015611f42576020820181803683370190505b5090505b8415611b2f57611f57600183612be8565b9150611f64600a86612c7b565b611f6f906030612bbc565b60f81b818381518110611f8457611f84612cd1565b60200101906001600160f81b031916908160001a905350611fa6600a86612bd4565b9450611f46565b61097b82826040518060200160405280600081525061218c565b6001600160a01b0383166120225761201d81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612045565b816001600160a01b0316836001600160a01b0316146120455761204583826121bf565b6001600160a01b03821661205c576108c58161225c565b826001600160a01b0316826001600160a01b0316146108c5576108c5828261230b565b60006001600160a01b0384163b1561218157604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120c39033908990889088906004016129d3565b602060405180830381600087803b1580156120dd57600080fd5b505af192505050801561210d575060408051601f3d908101601f1916820190925261210a91810190612865565b60015b612167573d80801561213b576040519150601f19603f3d011682016040523d82523d6000602084013e612140565b606091505b50805161215f5760405162461bcd60e51b815260040161078f90612a8d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b2f565b506001949350505050565b612196838361234f565b6121a3600084848461207f565b6108c55760405162461bcd60e51b815260040161078f90612a8d565b600060016121cc84611040565b6121d69190612be8565b600083815260076020526040902054909150808214612229576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061226e90600190612be8565b6000838152600960205260408120546008805493945090928490811061229657612296612cd1565b9060005260206000200154905080600883815481106122b7576122b7612cd1565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806122ef576122ef612cbb565b6001900381819060005260206000200160009055905550505050565b600061231683611040565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166123a55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161078f565b6123ae816119c2565b156123fb5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161078f565b61240760008383611fc7565b6001600160a01b0382166000908152600360205260408120805460019290612430908490612bbc565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461249a90612c2b565b90600052602060002090601f0160209004810192826124bc5760008555612502565b82601f106124d557805160ff1916838001178555612502565b82800160010185558215612502579182015b828111156125025782518255916020019190600101906124e7565b5061250e929150612586565b5090565b82805461251e90612c2b565b90600052602060002090601f0160209004810192826125405760008555612502565b82601f106125595782800160ff19823516178555612502565b82800160010185558215612502579182015b8281111561250257823582559160200191906001019061256b565b5b8082111561250e5760008155600101612587565b600067ffffffffffffffff8311156125b5576125b5612ce7565b6125c8601f8401601f1916602001612b8b565b90508281528383830111156125dc57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461260a57600080fd5b919050565b8035801515811461260a57600080fd5b60006020828403121561263157600080fd5b610d77826125f3565b6000806040838503121561264d57600080fd5b612656836125f3565b9150612664602084016125f3565b90509250929050565b60008060006060848603121561268257600080fd5b61268b846125f3565b9250612699602085016125f3565b9150604084013590509250925092565b600080600080608085870312156126bf57600080fd5b6126c8856125f3565b93506126d6602086016125f3565b925060408501359150606085013567ffffffffffffffff8111156126f957600080fd5b8501601f8101871361270a57600080fd5b6127198782356020840161259b565b91505092959194509250565b6000806040838503121561273857600080fd5b612741836125f3565b91506126646020840161260f565b6000806040838503121561276257600080fd5b61276b836125f3565b946020939093013593505050565b6000602080838503121561278c57600080fd5b823567ffffffffffffffff808211156127a457600080fd5b818501915085601f8301126127b857600080fd5b8135818111156127ca576127ca612ce7565b8060051b91506127db848301612b8b565b8181528481019084860184860187018a10156127f657600080fd5b600095505b838610156128205761280c816125f3565b8352600195909501949186019186016127fb565b5098975050505050505050565b60006020828403121561283f57600080fd5b610d778261260f565b60006020828403121561285a57600080fd5b8135610d7781612cfd565b60006020828403121561287757600080fd5b8151610d7781612cfd565b6000806020838503121561289557600080fd5b823567ffffffffffffffff808211156128ad57600080fd5b818501915085601f8301126128c157600080fd5b8135818111156128d057600080fd5b8660208285010111156128e257600080fd5b60209290920196919550909350505050565b60006020828403121561290657600080fd5b813567ffffffffffffffff81111561291d57600080fd5b8201601f8101841361292e57600080fd5b611b2f8482356020840161259b565b60006020828403121561294f57600080fd5b5035919050565b6000806040838503121561296957600080fd5b50508035926020909101359150565b60008151808452612990816020860160208601612bff565b601f01601f19169290920160200192915050565b600083516129b6818460208801612bff565b8351908301906129ca818360208801612bff565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612a0690830184612978565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612a4857835183529284019291840191600101612a2c565b50909695505050505050565b602081526000610d776020830184612978565b6020808252600c908201526b4e554c4c5f4144445245535360a01b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252600c908201526b544f4b454e5f45584953545360a01b604082015260600190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612bb457612bb4612ce7565b604052919050565b60008219821115612bcf57612bcf612c8f565b500190565b600082612be357612be3612ca5565b500490565b600082821015612bfa57612bfa612c8f565b500390565b60005b83811015612c1a578181015183820152602001612c02565b8381111561138c5750506000910152565b600181811c90821680612c3f57607f821691505b60208210811415610e3757634e487b7160e01b600052602260045260246000fd5b6000600019821415612c7457612c74612c8f565b5060010190565b600082612c8a57612c8a612ca5565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610cf557600080fdfea26469706673582212207348979af968dc543c03cee9ed3bb268ff533c131d3c64eaaf1d714db010f92e64736f6c63430008070033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102a05760003560e01c80634f558e7911610167578063a635718c116100ce578063e081b78111610087578063e081b781146105e0578063e8a3d485146105ed578063e985e9c5146105f5578063f2fde38b14610631578063f9999e7214610644578063fc9726cf1461065757600080fd5b8063a635718c14610583578063b6fa998814610596578063b88d4fde1461059f578063c87b56dd146105b2578063ca800144146105c5578063dcf87563146105d857600080fd5b8063715018a611610120578063715018a6146105335780638da5cb5b1461053b578063938e3d7b1461054c57806395d89b411461055f578063a22cb46514610567578063a3aa15981461057a57600080fd5b80634f558e79146104cb5780634f6ccce7146104de57806355f804b3146104f15780636352211e1461050457806368f2b8881461051757806370a082311461052057600080fd5b806323b872dd1161020b57806342842e0e116101c457806342842e0e1461043657806342966c6814610449578063430c20811461045c578063438b63001461046f57806348461ef51461048f5780634a0ea89f146104a257600080fd5b806323b872dd146103d95780632711805d146103ec5780632f745c59146103f557806335ad68901461040857806337f83e861461041b5780633ccfd60b1461042e57600080fd5b8063143e9ba41161025d578063143e9ba41461037957806316730bbc1461038c57806316d7f17e1461039f57806318160ddd146103bf57806319fab2a0146103c757806320e4d666146103d057600080fd5b806301ffc9a7146102a55780630457b852146102cd57806306fdde03146102fb578063081812fc14610310578063095ea7b31461033b5780630cfac89f14610350575b600080fd5b6102b86102b3366004612848565b61066a565b60405190151581526020015b60405180910390f35b6102ed6102db36600461261f565b60156020526000908152604090205481565b6040519081526020016102c4565b610303610695565b6040516102c49190612a54565b61032361031e36600461293d565b610727565b6040516001600160a01b0390911681526020016102c4565b61034e61034936600461274f565b6107b4565b005b6102ed61035e36600461261f565b6001600160a01b031660009081526014602052604090205490565b61034e610387366004612779565b6108ca565b61034e61039a36600461282d565b61097f565b6102ed6103ad36600461261f565b60146020526000908152604090205481565b6008546102ed565b6102ed600e5481565b6102ed600f5481565b61034e6103e736600461266d565b6109bc565b6102ed600d5481565b6102ed61040336600461274f565b6109ed565b61034e610416366004612779565b610a83565b61034e610429366004612779565b610b91565b61034e610c9f565b61034e61044436600461266d565b610cf8565b61034e61045736600461293d565b610d13565b6102b861046a36600461274f565b610d6b565b61048261047d36600461261f565b610d7e565b6040516102c49190612a10565b61034e61049d366004612779565b610e3d565b6102ed6104b036600461261f565b6001600160a01b031660009081526015602052604090205490565b6102b86104d936600461293d565b610eee565b6102ed6104ec36600461293d565b610ef9565b61034e6104ff3660046128f4565b610f8c565b61032361051236600461293d565b610fc9565b6102ed60105481565b6102ed61052e36600461261f565b611040565b61034e6110c7565b600a546001600160a01b0316610323565b61034e61055a366004612882565b6110fd565b610303611133565b61034e610575366004612725565b611142565b6102ed61023681565b61034e610591366004612956565b611207565b6102ed60115481565b61034e6105ad3660046126a9565b611392565b6103036105c036600461293d565b6113c4565b61034e6105d336600461274f565b61148e565b6102ed606481565b600c546102b89060ff1681565b61030361159c565b6102b861060336600461263a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61034e61063f36600461261f565b6115ab565b61034e61065236600461293d565b611643565b6102ed61066536600461293d565b611927565b60006001600160e01b0319821663780e9d6360e01b148061068f575061068f82611972565b92915050565b6060600080546106a490612c2b565b80601f01602080910402602001604051908101604052809291908181526020018280546106d090612c2b565b801561071d5780601f106106f25761010080835404028352916020019161071d565b820191906000526020600020905b81548152906001019060200180831161070057829003601f168201915b5050505050905090565b6000610732826119c2565b6107985760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107bf82610fc9565b9050806001600160a01b0316836001600160a01b0316141561082d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161078f565b336001600160a01b038216148061084957506108498133610603565b6108bb5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161078f565b6108c583836119df565b505050565b600a546001600160a01b031633146108f45760405162461bcd60e51b815260040161078f90612adf565b60005b815181101561097b57600082828151811061091457610914612cd1565b6020026020010151905060006001600160a01b0316816001600160a01b031614156109515760405162461bcd60e51b815260040161078f90612a67565b6001600160a01b03166000908152601560205260408120558061097381612c60565b9150506108f7565b5050565b600a546001600160a01b031633146109a95760405162461bcd60e51b815260040161078f90612adf565b600c805460ff1916911515919091179055565b6109c63382611a4d565b6109e25760405162461bcd60e51b815260040161078f90612b14565b6108c5838383611b37565b60006109f883611040565b8210610a5a5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161078f565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610aad5760405162461bcd60e51b815260040161078f90612adf565b60005b815181101561097b576000828281518110610acd57610acd612cd1565b6020026020010151905060006001600160a01b0316816001600160a01b03161415610b0a5760405162461bcd60e51b815260040161078f90612a67565b6001600160a01b03811660009081526015602052604090205415610b645760405162461bcd60e51b81526020600482015260116024820152704455504c49434154455f4144445245535360781b604482015260640161078f565b6001600160a01b031660009081526015602052604090206001905580610b8981612c60565b915050610ab0565b600a546001600160a01b03163314610bbb5760405162461bcd60e51b815260040161078f90612adf565b60005b815181101561097b576000828281518110610bdb57610bdb612cd1565b6020026020010151905060006001600160a01b0316816001600160a01b03161415610c185760405162461bcd60e51b815260040161078f90612a67565b6001600160a01b03811660009081526014602052604090205415610c725760405162461bcd60e51b81526020600482015260116024820152704455504c49434154455f4144445245535360781b604482015260640161078f565b6001600160a01b031660009081526014602052604090206001905580610c9781612c60565b915050610bbe565b600a546001600160a01b03163314610cc95760405162461bcd60e51b815260040161078f90612adf565b60405133904780156108fc02916000818181858888f19350505050158015610cf5573d6000803e3d6000fd5b50565b6108c583838360405180602001604052806000815250611392565b610d1d3382611a4d565b610d625760405162461bcd60e51b81526020600482015260166024820152751393d517d3d5d3915497d393d497d054141493d5915160521b604482015260640161078f565b610cf581611ce2565b6000610d778383611a4d565b9392505050565b60606000610d8b83611040565b905080610dac5760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115610dc757610dc7612ce7565b604051908082528060200260200182016040528015610df0578160200160208202803683370190505b50905060005b82811015610da457610e0885826109ed565b828281518110610e1a57610e1a612cd1565b602090810291909101015280610e2f81612c60565b915050610df6565b50919050565b600a546001600160a01b03163314610e675760405162461bcd60e51b815260040161078f90612adf565b60005b815181101561097b576000828281518110610e8757610e87612cd1565b6020026020010151905060006001600160a01b0316816001600160a01b03161415610ec45760405162461bcd60e51b815260040161078f90612a67565b6001600160a01b031660009081526014602052604081205580610ee681612c60565b915050610e6a565b600061068f826119c2565b6000610f0460085490565b8210610f675760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161078f565b60088281548110610f7a57610f7a612cd1565b90600052602060002001549050919050565b600a546001600160a01b03163314610fb65760405162461bcd60e51b815260040161078f90612adf565b805161097b90601690602084019061248e565b6000818152600260205260408120546001600160a01b03168061068f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161078f565b60006001600160a01b0382166110ab5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161078f565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146110f15760405162461bcd60e51b815260040161078f90612adf565b6110fb6000611d89565b565b600a546001600160a01b031633146111275760405162461bcd60e51b815260040161078f90612adf565b6108c560178383612512565b6060600180546106a490612c2b565b6001600160a01b03821633141561119b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161078f565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b031633146112315760405162461bcd60e51b815260040161078f90612adf565b606461123d8284612bbc565b11156112815760405162461bcd60e51b8152602060048201526013602482015272115610d1515117d2d15657d4115497d3525395606a1b604482015260640161078f565b6000826010546112919190612bbc565b9050600082600f546112a39190612bbc565b90506102368211156112e75760405162461bcd60e51b815260206004820152600d60248201526c22ac21a2a2a22fa9a4a62b22a960991b604482015260640161078f565b6013546112f5906064612be8565b8111156113325760405162461bcd60e51b815260206004820152600b60248201526a115610d1515117d1d3d31160aa1b604482015260640161078f565b81601054101561135f576010805490600061134c83612c60565b919050555061135a33611ddb565b611332565b80600f54101561138c57600f805490600061137983612c60565b919050555061138733611e24565b61135f565b50505050565b61139c3383611a4d565b6113b85760405162461bcd60e51b815260040161078f90612b14565b61138c84848484611e6d565b60606113cf826119c2565b6114335760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161078f565b600061143d611ea0565b9050600081511161145d5760405180602001604052806000815250610d77565b8061146784611eaf565b6040516020016114789291906129a4565b6040516020818303038152906040529392505050565b600a546001600160a01b031633146114b85760405162461bcd60e51b815260040161078f90612adf565b6013548111156115015760405162461bcd60e51b8152602060048201526014602482015273115610d1515117d1d3d31117d49154d15495915160621b604482015260640161078f565b80601360008282546115139190612be8565b92505081905550806011600082825461152c9190612bbc565b90915550600090505b818110156108c5576001601260008282546115509190612bbc565b9091555050601254611561906119c2565b1561157e5760405162461bcd60e51b815260040161078f90612b65565b61158a83601254611fad565b8061159481612c60565b915050611535565b6060601780546106a490612c2b565b600a546001600160a01b031633146115d55760405162461bcd60e51b815260040161078f90612adf565b6001600160a01b03811661163a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161078f565b610cf581611d89565b6002600b5414156116965760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161078f565b6002600b55600c5460ff166116db5760405162461bcd60e51b815260206004820152600b60248201526a14d0531157d4105554d15160aa1b604482015260640161078f565b80600114806116ea5750806002145b6117285760405162461bcd60e51b815260206004820152600f60248201526e12d1565516541157d2539590531251608a1b604482015260640161078f565b6117356064610236612bbc565b600854106117745760405162461bcd60e51b815260206004820152600c60248201526b4f55545f4f465f53544f434b60a01b604482015260640161078f565b806001141561184657336000908152601560205260409020546001146117d35760405162461bcd60e51b81526020600482015260146024820152732727afa924a3a42a29afa327a92fa9a4a62b22a960611b604482015260640161078f565b3360009081526015602052604081206002905560108054916117f483612c60565b9190505550610236601054111561183d5760405162461bcd60e51b815260206004820152600d60248201526c22ac21a2a2a22fa9a4a62b22a960991b604482015260640161078f565b61184633611ddb565b806002141561191f57336000908152601460205260409020546001146118a35760405162461bcd60e51b81526020600482015260126024820152711393d7d49251d21514d7d193d497d1d3d31160721b604482015260640161078f565b33600090815260146020526040812060029055600f8054916118c483612c60565b90915550506013546118d7906064612be8565b600f5411156119165760405162461bcd60e51b815260206004820152600b60248201526a115610d1515117d1d3d31160aa1b604482015260640161078f565b61191f33611e24565b506001600b55565b60006001821015801561193c57506102368211155b1561194957506001919050565b610237821015801561195d575061029a8211155b1561196a57506002919050565b506000919050565b60006001600160e01b031982166380ac58cd60e01b14806119a357506001600160e01b03198216635b5e139f60e01b145b8061068f57506301ffc9a760e01b6001600160e01b031983161461068f565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611a1482610fc9565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611a58826119c2565b611ab95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161078f565b6000611ac483610fc9565b9050806001600160a01b0316846001600160a01b03161480611aff5750836001600160a01b0316611af484610727565b6001600160a01b0316145b80611b2f57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611b4a82610fc9565b6001600160a01b031614611bb25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161078f565b6001600160a01b038216611c145760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161078f565b611c1f838383611fc7565b611c2a6000826119df565b6001600160a01b0383166000908152600360205260408120805460019290611c53908490612be8565b90915550506001600160a01b0382166000908152600360205260408120805460019290611c81908490612bbc565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000611ced82610fc9565b9050611cfb81600084611fc7565b611d066000836119df565b6001600160a01b0381166000908152600360205260408120805460019290611d2f908490612be8565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600d8054906000611deb83612c60565b9190505550611dfb600d546119c2565b15611e185760405162461bcd60e51b815260040161078f90612b65565b610cf581600d54611fad565b600e8054906000611e3483612c60565b9190505550611e44600e546119c2565b15611e615760405162461bcd60e51b815260040161078f90612b65565b610cf581600e54611fad565b611e78848484611b37565b611e848484848461207f565b61138c5760405162461bcd60e51b815260040161078f90612a8d565b6060601680546106a490612c2b565b606081611ed35750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611efd5780611ee781612c60565b9150611ef69050600a83612bd4565b9150611ed7565b60008167ffffffffffffffff811115611f1857611f18612ce7565b6040519080825280601f01601f191660200182016040528015611f42576020820181803683370190505b5090505b8415611b2f57611f57600183612be8565b9150611f64600a86612c7b565b611f6f906030612bbc565b60f81b818381518110611f8457611f84612cd1565b60200101906001600160f81b031916908160001a905350611fa6600a86612bd4565b9450611f46565b61097b82826040518060200160405280600081525061218c565b6001600160a01b0383166120225761201d81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612045565b816001600160a01b0316836001600160a01b0316146120455761204583826121bf565b6001600160a01b03821661205c576108c58161225c565b826001600160a01b0316826001600160a01b0316146108c5576108c5828261230b565b60006001600160a01b0384163b1561218157604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120c39033908990889088906004016129d3565b602060405180830381600087803b1580156120dd57600080fd5b505af192505050801561210d575060408051601f3d908101601f1916820190925261210a91810190612865565b60015b612167573d80801561213b576040519150601f19603f3d011682016040523d82523d6000602084013e612140565b606091505b50805161215f5760405162461bcd60e51b815260040161078f90612a8d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b2f565b506001949350505050565b612196838361234f565b6121a3600084848461207f565b6108c55760405162461bcd60e51b815260040161078f90612a8d565b600060016121cc84611040565b6121d69190612be8565b600083815260076020526040902054909150808214612229576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061226e90600190612be8565b6000838152600960205260408120546008805493945090928490811061229657612296612cd1565b9060005260206000200154905080600883815481106122b7576122b7612cd1565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806122ef576122ef612cbb565b6001900381819060005260206000200160009055905550505050565b600061231683611040565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166123a55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161078f565b6123ae816119c2565b156123fb5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161078f565b61240760008383611fc7565b6001600160a01b0382166000908152600360205260408120805460019290612430908490612bbc565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461249a90612c2b565b90600052602060002090601f0160209004810192826124bc5760008555612502565b82601f106124d557805160ff1916838001178555612502565b82800160010185558215612502579182015b828111156125025782518255916020019190600101906124e7565b5061250e929150612586565b5090565b82805461251e90612c2b565b90600052602060002090601f0160209004810192826125405760008555612502565b82601f106125595782800160ff19823516178555612502565b82800160010185558215612502579182015b8281111561250257823582559160200191906001019061256b565b5b8082111561250e5760008155600101612587565b600067ffffffffffffffff8311156125b5576125b5612ce7565b6125c8601f8401601f1916602001612b8b565b90508281528383830111156125dc57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461260a57600080fd5b919050565b8035801515811461260a57600080fd5b60006020828403121561263157600080fd5b610d77826125f3565b6000806040838503121561264d57600080fd5b612656836125f3565b9150612664602084016125f3565b90509250929050565b60008060006060848603121561268257600080fd5b61268b846125f3565b9250612699602085016125f3565b9150604084013590509250925092565b600080600080608085870312156126bf57600080fd5b6126c8856125f3565b93506126d6602086016125f3565b925060408501359150606085013567ffffffffffffffff8111156126f957600080fd5b8501601f8101871361270a57600080fd5b6127198782356020840161259b565b91505092959194509250565b6000806040838503121561273857600080fd5b612741836125f3565b91506126646020840161260f565b6000806040838503121561276257600080fd5b61276b836125f3565b946020939093013593505050565b6000602080838503121561278c57600080fd5b823567ffffffffffffffff808211156127a457600080fd5b818501915085601f8301126127b857600080fd5b8135818111156127ca576127ca612ce7565b8060051b91506127db848301612b8b565b8181528481019084860184860187018a10156127f657600080fd5b600095505b838610156128205761280c816125f3565b8352600195909501949186019186016127fb565b5098975050505050505050565b60006020828403121561283f57600080fd5b610d778261260f565b60006020828403121561285a57600080fd5b8135610d7781612cfd565b60006020828403121561287757600080fd5b8151610d7781612cfd565b6000806020838503121561289557600080fd5b823567ffffffffffffffff808211156128ad57600080fd5b818501915085601f8301126128c157600080fd5b8135818111156128d057600080fd5b8660208285010111156128e257600080fd5b60209290920196919550909350505050565b60006020828403121561290657600080fd5b813567ffffffffffffffff81111561291d57600080fd5b8201601f8101841361292e57600080fd5b611b2f8482356020840161259b565b60006020828403121561294f57600080fd5b5035919050565b6000806040838503121561296957600080fd5b50508035926020909101359150565b60008151808452612990816020860160208601612bff565b601f01601f19169290920160200192915050565b600083516129b6818460208801612bff565b8351908301906129ca818360208801612bff565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612a0690830184612978565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612a4857835183529284019291840191600101612a2c565b50909695505050505050565b602081526000610d776020830184612978565b6020808252600c908201526b4e554c4c5f4144445245535360a01b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252600c908201526b544f4b454e5f45584953545360a01b604082015260600190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612bb457612bb4612ce7565b604052919050565b60008219821115612bcf57612bcf612c8f565b500190565b600082612be357612be3612ca5565b500490565b600082821015612bfa57612bfa612c8f565b500390565b60005b83811015612c1a578181015183820152602001612c02565b8381111561138c5750506000910152565b600181811c90821680612c3f57607f821691505b60208210811415610e3757634e487b7160e01b600052602260045260246000fd5b6000600019821415612c7457612c74612c8f565b5060010190565b600082612c8a57612c8a612ca5565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610cf557600080fdfea26469706673582212207348979af968dc543c03cee9ed3bb268ff533c131d3c64eaaf1d714db010f92e64736f6c63430008070033

Deployed Bytecode Sourcemap

624:7517:10:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;909:222:4;;;;;;:::i;:::-;;:::i;:::-;;;8133:14:15;;8126:22;8108:41;;8096:2;8081:18;909:222:4;;;;;;;;1316:47:10;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;20576:25:15;;;20564:2;20549:18;1316:47:10;20430:177:15;2349:98:3;;;:::i;:::-;;;;;;;:::i;3860:217::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6794:32:15;;;6776:51;;6764:2;6749:18;3860:217:3;6630:203:15;3398:401:3;;;;;;:::i;:::-;;:::i;:::-;;3143:141:10;;;;;;:::i;:::-;-1:-1:-1;;;;;3249:27:10;3223:7;3249:27;;;:10;:27;;;;;;;3143:141;2795:336;;;;;;:::i;:::-;;:::i;7930:93::-;;;;;;:::i;:::-;;:::i;1264:45::-;;;;;;:::i;:::-;;;;;;;;;;;;;;1534:111:4;1621:10;:17;1534:111;;834:32:10;;;;;;987:30;;;;;;4724:330:3;;;;;;:::i;:::-;;:::i;795:32:10:-;;;;;;1210:253:4;;;;;;:::i;:::-;;:::i;2029:410:10:-;;;;;;:::i;:::-;;:::i;1567:406::-;;;;;;:::i;:::-;;:::i;8031:107::-;;;:::i;5120:179:3:-;;;;;;:::i;:::-;;:::i;6977:167:10:-;;;;;;:::i;:::-;;:::i;7291:173::-;;;;;;:::i;:::-;;:::i;5254:472::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2451:332::-;;;;;;:::i;:::-;;:::i;3296:145::-;;;;;;:::i;:::-;-1:-1:-1;;;;;3404:29:10;3378:7;3404:29;;;:12;:29;;;;;;;3296:145;7156:123;;;;;;:::i;:::-;;:::i;1717:230:4:-;;;;;;:::i;:::-;;:::i;7598:96:10:-;;;;;;:::i;:::-;;:::i;2052:235:3:-;;;;;;:::i;:::-;;:::i;1024:32:10:-;;;;;;1790:205:3;;;;;;:::i;:::-;;:::i;1607:101:11:-;;;:::i;975:85::-;1047:6;;-1:-1:-1;;;;;1047:6:11;975:85;;7815:103:10;;;;;;:::i;:::-;;:::i;2511:102:3:-;;;:::i;4144:290::-;;;;;;:::i;:::-;;:::i;879:45:10:-;;921:3;879:45;;6222:743;;;;;;:::i;:::-;;:::i;1069:38::-;;;;;;5365:320:3;;;;;;:::i;:::-;;:::i;2679:329::-;;;;;;:::i;:::-;;:::i;5738:472:10:-;;;;;;:::i;:::-;;:::i;931:43::-;;971:3;931:43;;759:27;;;;;;;;;7706:97;;;:::i;4500:162:3:-;;;;;;:::i;:::-;-1:-1:-1;;;;;4620:25:3;;;4597:4;4620:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4500:162;1857:198:11;;;;;;:::i;:::-;;:::i;3453:985:10:-;;;;;;:::i;:::-;;:::i;4884:358::-;;;;;;:::i;:::-;;:::i;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;3963:16;3971:7;3963;:16::i;:::-;3955:73;;;;-1:-1:-1;;;3955:73:3;;15710:2:15;3955:73:3;;;15692:21:15;15749:2;15729:18;;;15722:30;15788:34;15768:18;;;15761:62;-1:-1:-1;;;15839:18:15;;;15832:42;15891: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;;17310:2:15;3527:57:3;;;17292:21:15;17349:2;17329:18;;;17322:30;17388:34;17368:18;;;17361:62;-1:-1:-1;;;17439:18:15;;;17432:31;17480:19;;3527:57:3;17108:397:15;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;;14103:2:15;3595:165:3;;;14085:21:15;14142:2;14122:18;;;14115:30;14181:34;14161:18;;;14154:62;14252:26;14232:18;;;14225:54;14296:19;;3595:165:3;13901:420:15;3595:165:3;3771:21;3780:2;3784:7;3771:8;:21::i;:::-;3468:331;3398:401;;:::o;2795:336:10:-;1047:6:11;;-1:-1:-1;;;;;1047:6:11;666:10:1;1187:23:11;1179:68;;;;-1:-1:-1;;;1179:68:11;;;;;;;:::i;:::-;2892:9:10::1;2888:236;2907:15;:22;2903:1;:26;2888:236;;;2950:21;2974:15;2990:1;2974:18;;;;;;;;:::i;:::-;;;;;;;2950:42;;3040:1;-1:-1:-1::0;;;;;3015:27:10::1;:13;-1:-1:-1::0;;;;;3015:27:10::1;;;3007:59;;;;-1:-1:-1::0;;;3007:59:10::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;3081:27:10::1;3111:1;3081:27:::0;;;:12:::1;:27;::::0;;;;:31;2931:3;::::1;::::0;::::1;:::i;:::-;;;;2888:236;;;;2795:336:::0;:::o;7930:93::-;1047:6:11;;-1:-1:-1;;;;;1047:6:11;666:10:1;1187:23:11;1179:68;;;;-1:-1:-1;;;1179:68:11;;;;;;;:::i;:::-;7998:8:10::1;:17:::0;;-1:-1:-1;;7998:17:10::1;::::0;::::1;;::::0;;;::::1;::::0;;7930:93::o;4724:330:3:-;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;1210:253:4:-;1307:7;1342:23;1359:5;1342:16;:23::i;:::-;1334:5;:31;1326:87;;;;-1:-1:-1;;;1326:87:4;;9956:2:15;1326:87:4;;;9938:21:15;9995:2;9975:18;;;9968:30;10034:34;10014:18;;;10007:62;-1:-1:-1;;;10085:18:15;;;10078:41;10136:19;;1326:87:4;9754:407:15;1326:87:4;-1:-1:-1;;;;;;1430:19:4;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;1210:253::o;2029:410:10:-;1047:6:11;;-1:-1:-1;;;;;1047:6:11;666:10:1;1187:23:11;1179:68;;;;-1:-1:-1;;;1179:68:11;;;;;;;:::i;:::-;2121:9:10::1;2117:315;2136:15;:22;2132:1;:26;2117:315;;;2179:21;2203:15;2219:1;2203:18;;;;;;;;:::i;:::-;;;;;;;2179:42;;2269:1;-1:-1:-1::0;;;;;2244:27:10::1;:13;-1:-1:-1::0;;;;;2244:27:10::1;;;2236:59;;;;-1:-1:-1::0;;;2236:59:10::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;2318:27:10;::::1;;::::0;;;:12:::1;:27;::::0;;;;;:32;2310:64:::1;;;::::0;-1:-1:-1;;;2310:64:10;;19236:2:15;2310:64:10::1;::::0;::::1;19218:21:15::0;19275:2;19255:18;;;19248:30;-1:-1:-1;;;19294:18:15;;;19287:47;19351:18;;2310:64:10::1;19034:341:15::0;2310:64:10::1;-1:-1:-1::0;;;;;2389:27:10::1;;::::0;;;:12:::1;:27;::::0;;;;2419:1:::1;2389:31:::0;;2160:3;::::1;::::0;::::1;:::i;:::-;;;;2117:315;;1567:406:::0;1047:6:11;;-1:-1:-1;;;;;1047:6:11;666:10:1;1187:23:11;1179:68;;;;-1:-1:-1;;;1179:68:11;;;;;;;:::i;:::-;1657:9:10::1;1653:313;1672:15;:22;1668:1;:26;1653:313;;;1715:21;1739:15;1755:1;1739:18;;;;;;;;:::i;:::-;;;;;;;1715:42;;1805:1;-1:-1:-1::0;;;;;1780:27:10::1;:13;-1:-1:-1::0;;;;;1780:27:10::1;;;1772:59;;;;-1:-1:-1::0;;;1772:59:10::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;1854:25:10;::::1;;::::0;;;:10:::1;:25;::::0;;;;;:30;1846:64:::1;;;::::0;-1:-1:-1;;;1846:64:10;;19236:2:15;1846:64:10::1;::::0;::::1;19218:21:15::0;19275:2;19255:18;;;19248:30;-1:-1:-1;;;19294:18:15;;;19287:47;19351:18;;1846:64:10::1;19034:341:15::0;1846:64:10::1;-1:-1:-1::0;;;;;1925:25:10::1;;::::0;;;:10:::1;:25;::::0;;;;1953:1:::1;1925:29:::0;;1696:3;::::1;::::0;::::1;:::i;:::-;;;;1653:313;;8031:107:::0;1047:6:11;;-1:-1:-1;;;;;1047:6:11;666:10:1;1187:23:11;1179:68;;;;-1:-1:-1;;;1179:68:11;;;;;;;:::i;:::-;8079:51:10::1;::::0;8087:10:::1;::::0;8108:21:::1;8079:51:::0;::::1;;;::::0;::::1;::::0;;;8108:21;8087:10;8079:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;8031:107::o:0;5120:179:3:-;5253:39;5270:4;5276:2;5280:7;5253:39;;;;;;;;;;;;:16;:39::i;6977:167:10:-;7043:40;7062:10;7074:8;7043:18;:40::i;:::-;7035:75;;;;-1:-1:-1;;;7035:75:10;;13752:2:15;7035:75:10;;;13734:21:15;13791:2;13771:18;;;13764:30;-1:-1:-1;;;13810:18:15;;;13803:52;13872:18;;7035:75:10;13550:346:15;7035:75:10;7121:15;7127:8;7121:5;:15::i;7291:173::-;7394:4;7418:38;7437:8;7447;7418:18;:38::i;:::-;7411:45;7291:173;-1:-1:-1;;;7291:173:10:o;5254:472::-;5332:16;5361:18;5382:17;5392:6;5382:9;:17::i;:::-;5361:38;-1:-1:-1;5414:15:10;5410:309;;5453:16;;;5467:1;5453:16;;;;;;;;;;;-1:-1:-1;5446:23:10;5254:472;-1:-1:-1;;;5254:472:10:o;5410:309::-;5502:23;5542:10;5528:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5528:25:10;;5502:51;;5572:9;5568:112;5587:10;5583:1;:14;5568:112;;;5634:30;5654:6;5662:1;5634:19;:30::i;:::-;5622:6;5629:1;5622:9;;;;;;;;:::i;:::-;;;;;;;;;;:42;5599:3;;;;:::i;:::-;;;;5568:112;;5410:309;5350:376;5254:472;;;:::o;2451:332::-;1047:6:11;;-1:-1:-1;;;;;1047:6:11;666:10:1;1187:23:11;1179:68;;;;-1:-1:-1;;;1179:68:11;;;;;;;:::i;:::-;2546:9:10::1;2542:234;2561:15;:22;2557:1;:26;2542:234;;;2604:21;2628:15;2644:1;2628:18;;;;;;;;:::i;:::-;;;;;;;2604:42;;2694:1;-1:-1:-1::0;;;;;2669:27:10::1;:13;-1:-1:-1::0;;;;;2669:27:10::1;;;2661:59;;;;-1:-1:-1::0;;;2661:59:10::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;2735:25:10::1;2763:1;2735:25:::0;;;:10:::1;:25;::::0;;;;:29;2585:3;::::1;::::0;::::1;:::i;:::-;;;;2542:234;;7156:123:::0;7230:4;7254:17;7262:8;7254:7;:17::i;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;;18479:2:15;1811:95:4;;;18461:21:15;18518:2;18498:18;;;18491:30;18557:34;18537:18;;;18530:62;-1:-1:-1;;;18608:18:15;;;18601:42;18660:19;;1811:95:4;18277:408:15;1811:95:4;1923:10;1934:5;1923:17;;;;;;;;:::i;:::-;;;;;;;;;1916:24;;1717:230;;;:::o;7598:96:10:-;1047:6:11;;-1:-1:-1;;;;;1047:6:11;666:10:1;1187:23:11;1179:68;;;;-1:-1:-1;;;1179:68:11;;;;;;;:::i;:::-;7666:20:10;;::::1;::::0;:13:::1;::::0;:20:::1;::::0;::::1;::::0;::::1;:::i;2052:235:3:-:0;2124:7;2159:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2159:16:3;2193:19;2185:73;;;;-1:-1:-1;;;2185:73:3;;14939:2:15;2185:73:3;;;14921:21:15;14978:2;14958:18;;;14951:30;15017:34;14997:18;;;14990:62;-1:-1:-1;;;15068:18:15;;;15061:39;15117:19;;2185:73:3;14737:405:15;1790:205:3;1862:7;-1:-1:-1;;;;;1889:19:3;;1881:74;;;;-1:-1:-1;;;1881:74:3;;14528:2:15;1881:74:3;;;14510:21:15;14567:2;14547:18;;;14540:30;14606:34;14586:18;;;14579:62;-1:-1:-1;;;14657:18:15;;;14650:40;14707:19;;1881:74:3;14326:406:15;1881:74:3;-1:-1:-1;;;;;;1972:16:3;;;;;:9;:16;;;;;;;1790:205::o;1607:101:11:-;1047:6;;-1:-1:-1;;;;;1047:6:11;666:10:1;1187:23:11;1179:68;;;;-1:-1:-1;;;1179:68:11;;;;;;;:::i;:::-;1671:30:::1;1698:1;1671:18;:30::i;:::-;1607:101::o:0;7815:103:10:-;1047:6:11;;-1:-1:-1;;;;;1047:6:11;666:10:1;1187:23:11;1179:68;;;;-1:-1:-1;;;1179:68:11;;;;;;;:::i;:::-;7891:19:10::1;:12;7906:4:::0;;7891: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;;12296:2:15;4238:62:3;;;12278:21:15;12335:2;12315:18;;;12308:30;12374:27;12354:18;;;12347:55;12419:18;;4238:62:3;12094:349:15;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;;8108:41:15;;;4311:42:3;;666:10:1;4379:48:3;;8081:18:15;4379:48:3;;;;;;;4144:290;;:::o;6222:743:10:-;1047:6:11;;-1:-1:-1;;;;;1047:6:11;666:10:1;1187:23:11;1179:68;;;;-1:-1:-1;;;1179:68:11;;;;;;;:::i;:::-;1248:3:10::1;6321:21;6334:8:::0;6321:10;:21:::1;:::i;:::-;:41;;6313:78;;;::::0;-1:-1:-1;;;6313:78:10;;13404:2:15;6313:78:10::1;::::0;::::1;13386:21:15::0;13443:2;13423:18;;;13416:30;-1:-1:-1;;;13462:18:15;;;13455:49;13521:18;;6313:78:10::1;13202:343:15::0;6313:78:10::1;6404:23;6446:10;6430:13;;:26;;;;:::i;:::-;6404:52;;6467:21;6505:8;6491:11;;:22;;;;:::i;:::-;6467:46;;921:3;6542:15;:34;;6534:72;;;::::0;-1:-1:-1;;;6534:72:10;;8933:2:15;6534:72:10::1;::::0;::::1;8915:21:15::0;8972:2;8952:18;;;8945:30;-1:-1:-1;;;8991:18:15;;;8984:43;9044:18;;6534:72:10::1;8731:337:15::0;6534:72:10::1;6656:13;::::0;6642:27:::1;::::0;971:3:::1;6642:27;:::i;:::-;6625:13;:44;;6617:70;;;::::0;-1:-1:-1;;;6617:70:10;;11551:2:15;6617:70:10::1;::::0;::::1;11533:21:15::0;11590:2;11570:18;;;11563:30;-1:-1:-1;;;11609:18:15;;;11602:41;11660:18;;6617:70:10::1;11349:335:15::0;6617:70:10::1;6723:15;6707:13;;:31;6700:123;;;6755:13;:15:::0;;;:13:::1;:15;::::0;::::1;:::i;:::-;;;;;;6785:26;6800:10;6785:14;:26::i;:::-;6700:123;;;6864:13;6850:11;;:27;6843:115;;;6894:11;:13:::0;;;:11:::1;:13;::::0;::::1;:::i;:::-;;;;;;6922:24;6935:10;6922:12;:24::i;:::-;6843:115;;;6302:663;;6222:743:::0;;:::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;2679:329::-;2752:13;2785:16;2793:7;2785;:16::i;:::-;2777:76;;;;-1:-1:-1;;;2777:76:3;;16894:2:15;2777:76:3;;;16876:21:15;16933:2;16913:18;;;16906:30;16972:34;16952:18;;;16945:62;-1:-1:-1;;;17023:18:15;;;17016:45;17078:19;;2777:76:3;16692:411:15;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;:::-;;;;;;;;;;;;;2908:93;2679:329;-1:-1:-1;;;2679:329:3:o;5738:472:10:-;1047:6:11;;-1:-1:-1;;;;;1047:6:11;666:10:1;1187:23:11;1179:68;;;;-1:-1:-1;;;1179:68:11;;;;;;;:::i;:::-;5846:13:10::1;;5835:7;:24;;5827:66;;;::::0;-1:-1:-1;;;5827:66:10;;19582:2:15;5827:66:10::1;::::0;::::1;19564:21:15::0;19621:2;19601:18;;;19594:30;-1:-1:-1;;;19640:18:15;;;19633:50;19700:18;;5827:66:10::1;19380:344:15::0;5827:66:10::1;5921:7;5904:13;;:24;;;;;;;:::i;:::-;;;;;;;;5962:7;5939:19;;:30;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;5990:9:10::1;::::0;-1:-1:-1;5986:217:10::1;6005:7;6001:1;:11;5986:217;;;6057:1;6033:20;;:25;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;6090:20:10::1;::::0;6082:29:::1;::::0;:7:::1;:29::i;:::-;6081:30;6073:55;;;;-1:-1:-1::0;;;6073:55:10::1;;;;;;;:::i;:::-;6143:48;6153:15;6170:20;;6143:9;:48::i;:::-;6014:3:::0;::::1;::::0;::::1;:::i;:::-;;;;5986:217;;7706:97:::0;7750:13;7783:12;7776:19;;;;;:::i;1857:198:11:-;1047:6;;-1:-1:-1;;;;;1047:6:11;666:10:1;1187:23:11;1179:68;;;;-1:-1:-1;;;1179:68:11;;;;;;;:::i;:::-;-1:-1:-1;;;;;1945:22:11;::::1;1937:73;;;::::0;-1:-1:-1;;;1937:73:11;;10787:2:15;1937:73:11::1;::::0;::::1;10769:21:15::0;10826:2;10806:18;;;10799:30;10865:34;10845:18;;;10838:62;-1:-1:-1;;;10916:18:15;;;10909:36;10962:19;;1937:73:11::1;10585:402:15::0;1937:73:11::1;2020:28;2039:8;2020:18;:28::i;3453:985:10:-:0;1680:1:12;2261:7;;:19;;2253:63;;;;-1:-1:-1;;;2253:63:12;;19931:2:15;2253:63:12;;;19913:21:15;19970:2;19950:18;;;19943:30;20009:33;19989:18;;;19982:61;20060:18;;2253:63:12;19729:355:15;2253:63:12;1680:1;2391:7;:18;3533:8:10::1;::::0;::::1;;3525:74;;;::::0;-1:-1:-1;;;3525:74:10;;9616:2:15;3525:74:10::1;::::0;::::1;9598:21:15::0;9655:2;9635:18;;;9628:30;-1:-1:-1;;;9674:18:15;;;9667:41;9725:18;;3525:74:10::1;9414:335:15::0;3525:74:10::1;3618:8;3630:1;3618:13;:30;;;;3635:8;3647:1;3635:13;3618:30;3610:77;;;::::0;-1:-1:-1;;;3610:77:10;;18892:2:15;3610:77:10::1;::::0;::::1;18874:21:15::0;18931:2;18911:18;;;18904:30;-1:-1:-1;;;18950:18:15;;;18943:45;19005:18;;3610:77:10::1;18690:339:15::0;3610:77:10::1;3722:31;971:3;921;3722:31;:::i;:::-;1621:10:4::0;:17;3706:47:10::1;3698:74;;;::::0;-1:-1:-1;;;3698:74:10;;12650:2:15;3698:74:10::1;::::0;::::1;12632:21:15::0;12689:2;12669:18;;;12662:30;-1:-1:-1;;;12708:18:15;;;12701:42;12760:18;;3698:74:10::1;12448:336:15::0;3698:74:10::1;3789:8;3801:1;3789:13;3785:323;;;3839:10;3826:24;::::0;;;:12:::1;:24;::::0;;;;;3854:1:::1;3826:29;3818:78;;;::::0;-1:-1:-1;;;3818:78:10;;17712:2:15;3818:78:10::1;::::0;::::1;17694:21:15::0;17751:2;17731:18;;;17724:30;-1:-1:-1;;;17770:18:15;;;17763:50;17830:18;;3818:78:10::1;17510:344:15::0;3818:78:10::1;3924:10;3911:24;::::0;;;:12:::1;:24;::::0;;;;3938:1:::1;3911:28:::0;;3954:13:::1;:15:::0;;;::::1;::::0;::::1;:::i;:::-;;;;;;921:3;3992:13;;:32;;3984:71;;;::::0;-1:-1:-1;;;3984:71:10;;8933:2:15;3984:71:10::1;::::0;::::1;8915:21:15::0;8972:2;8952:18;;;8945:30;-1:-1:-1;;;8991:18:15;;;8984:43;9044:18;;3984:71:10::1;8731:337:15::0;3984:71:10::1;4070:26;4085:10;4070:14;:26::i;:::-;4122:8;4134:1;4122:13;4118:313;;;4170:10;4159:22;::::0;;;:10:::1;:22;::::0;;;;;4185:1:::1;4159:27;4151:76;;;::::0;-1:-1:-1;;;4151:76:10;;8586:2:15;4151:76:10::1;::::0;::::1;8568:21:15::0;8625:2;8605:18;;;8598:30;-1:-1:-1;;;8644:18:15;;;8637:48;8702:18;;4151:76:10::1;8384:342:15::0;4151:76:10::1;4253:10;4242:22;::::0;;;:10:::1;:22;::::0;;;;4267:1:::1;4242:26:::0;;4283:11:::1;:13:::0;;;::::1;::::0;::::1;:::i;:::-;::::0;;;-1:-1:-1;;4350:13:10::1;::::0;4334:29:::1;::::0;971:3:::1;4334:29;:::i;:::-;4319:11;;:44;;4311:69;;;::::0;-1:-1:-1;;;4311:69:10;;11551:2:15;4311:69:10::1;::::0;::::1;11533:21:15::0;11590:2;11570:18;;;11563:30;-1:-1:-1;;;11609:18:15;;;11602:41;11660:18;;4311:69:10::1;11349:335:15::0;4311:69:10::1;4395:24;4408:10;4395:12;:24::i;:::-;-1:-1:-1::0;1637:1:12;2564:7;:22;3453:985:10:o;4884:358::-;4964:7;5082:1;5072:6;:11;;:28;;;;;5097:3;5087:6;:13;;5072:28;5068:68;;;-1:-1:-1;5123:1:10;;4884:358;-1:-1:-1;4884:358:10:o;5068:68::-;5160:3;5150:6;:13;;:30;;;;;5177:3;5167:6;:13;;5150:30;5146:70;;;-1:-1:-1;5203:1:10;;4884:358;-1:-1:-1;4884:358:10:o;5146:70::-;-1:-1:-1;5233:1:10;;4884:358;-1:-1:-1;4884:358:10:o;1431:300:3:-;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;7157:125:3;7222:4;7245:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7245:16:3;:30;;;7157:125::o;11008:171::-;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;7557:16;7565:7;7557;:16::i;:::-;7549:73;;;;-1:-1:-1;;;7549:73:3;;12991:2:15;7549:73:3;;;12973:21:15;13030:2;13010:18;;;13003:30;13069:34;13049:18;;;13042:62;-1:-1:-1;;;13120:18:15;;;13113:42;13172:19;;7549:73:3;12789:408:15;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;;16484:2:15;10456:85:3;;;16466:21:15;16523:2;16503:18;;;16496:30;16562:34;16542:18;;;16535:62;-1:-1:-1;;;16613:18:15;;;16606:39;16662:19;;10456:85:3;16282:405:15;10456:85:3;-1:-1:-1;;;;;10559:16:3;;10551:65;;;;-1:-1:-1;;;10551:65:3;;11891:2:15;10551:65:3;;;11873:21:15;11930:2;11910:18;;;11903:30;11969:34;11949:18;;;11942:62;-1:-1:-1;;;12020:18:15;;;12013:34;12064:19;;10551:65:3;11689:400:15;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;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:11:-;2301:6;;;-1:-1:-1;;;;;2317:17:11;;;-1:-1:-1;;;;;;2317:17:11;;;;;;;2349:40;;2301:6;;;2317:17;2301:6;;2349:40;;2282:16;;2349:40;2272:124;2209:187;:::o;4450:209:10:-;4521:13;:15;;;:13;:15;;;:::i;:::-;;;;;;4556:22;4564:13;;4556:7;:22::i;:::-;4555:23;4547:48;;;;-1:-1:-1;;;4547:48:10;;;;;;;:::i;:::-;4606:45;4616:19;4637:13;;4606:9;:45::i;4671:201::-;4740:11;:13;;;:11;:13;;;:::i;:::-;;;;;;4773:20;4781:11;;4773:7;:20::i;:::-;4772:21;4764:46;;;;-1:-1:-1;;;4764:46:10;;;;;;;:::i;:::-;4821:43;4831:19;4852:11;;4821:9;:43::i;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;7476:114:10:-;7536:13;7569;7562:20;;;;;:::i;275:703:14:-;331:13;548:10;544:51;;-1:-1:-1;;574:10:14;;;;;;;;;;;;-1:-1:-1;;;574:10:14;;;;;275:703::o;544:51::-;619:5;604:12;658:75;665:9;;658:75;;690:8;;;;:::i;:::-;;-1:-1:-1;712:10:14;;-1:-1:-1;720:2:14;712:10;;:::i;:::-;;;658:75;;;742:19;774:6;764:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;764:17:14;;742:39;;791:150;798:10;;791:150;;824:11;834:1;824:11;;:::i;:::-;;-1:-1:-1;892:10:14;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:14;;;;;;;;-1:-1:-1;919:11:14;928:2;919:11;;:::i;:::-;;;791:150;;8114:108:3;8189:26;8199:2;8203:7;8189:26;;;;;;;;;;;;:9;:26::i;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;11732:778:3:-;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;8443:311::-;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;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;;15349:2:15;9147:61:3;;;15331:21:15;;;15368:18;;;15361:30;15427:34;15407:18;;;15400:62;15479:18;;9147:61:3;15147:356:15;9147:61:3;9227:16;9235:7;9227;:16::i;:::-;9226:17;9218:58;;;;-1:-1:-1;;;9218:58:3;;11194:2:15;9218:58:3;;;11176:21:15;11233:2;11213:18;;;11206:30;11272;11252:18;;;11245:58;11320:18;;9218:58:3;10992:352:15;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;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:406:15;78:5;112:18;104:6;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:15;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:15;;532:42;;522:70;;588:1;585;578:12;522:70;425:173;;;:::o;603:160::-;668:20;;724:13;;717:21;707:32;;697:60;;753:1;750;743:12;768:186;827:6;880:2;868:9;859:7;855:23;851:32;848:52;;;896:1;893;886:12;848:52;919:29;938:9;919:29;:::i;959:260::-;1027:6;1035;1088:2;1076:9;1067:7;1063:23;1059:32;1056:52;;;1104:1;1101;1094:12;1056:52;1127:29;1146:9;1127:29;:::i;:::-;1117:39;;1175:38;1209:2;1198:9;1194:18;1175:38;:::i;:::-;1165:48;;959:260;;;;;:::o;1224:328::-;1301:6;1309;1317;1370:2;1358:9;1349:7;1345:23;1341:32;1338:52;;;1386:1;1383;1376:12;1338:52;1409:29;1428:9;1409:29;:::i;:::-;1399:39;;1457:38;1491:2;1480:9;1476:18;1457:38;:::i;:::-;1447:48;;1542:2;1531:9;1527:18;1514:32;1504:42;;1224:328;;;;;:::o;1557:666::-;1652:6;1660;1668;1676;1729:3;1717:9;1708:7;1704:23;1700:33;1697:53;;;1746:1;1743;1736:12;1697:53;1769:29;1788:9;1769:29;:::i;:::-;1759:39;;1817:38;1851:2;1840:9;1836:18;1817:38;:::i;:::-;1807:48;;1902:2;1891:9;1887:18;1874:32;1864:42;;1957:2;1946:9;1942:18;1929:32;1984:18;1976:6;1973:30;1970:50;;;2016:1;2013;2006:12;1970:50;2039:22;;2092:4;2084:13;;2080:27;-1:-1:-1;2070:55:15;;2121:1;2118;2111:12;2070:55;2144:73;2209:7;2204:2;2191:16;2186:2;2182;2178:11;2144:73;:::i;:::-;2134:83;;;1557:666;;;;;;;:::o;2228:254::-;2293:6;2301;2354:2;2342:9;2333:7;2329:23;2325:32;2322:52;;;2370:1;2367;2360:12;2322:52;2393:29;2412:9;2393:29;:::i;:::-;2383:39;;2441:35;2472:2;2461:9;2457:18;2441:35;:::i;2487:254::-;2555:6;2563;2616:2;2604:9;2595:7;2591:23;2587:32;2584:52;;;2632:1;2629;2622:12;2584:52;2655:29;2674:9;2655:29;:::i;:::-;2645:39;2731:2;2716:18;;;;2703:32;;-1:-1:-1;;;2487:254:15:o;2746:963::-;2830:6;2861:2;2904;2892:9;2883:7;2879:23;2875:32;2872:52;;;2920:1;2917;2910:12;2872:52;2960:9;2947:23;2989:18;3030:2;3022:6;3019:14;3016:34;;;3046:1;3043;3036:12;3016:34;3084:6;3073:9;3069:22;3059:32;;3129:7;3122:4;3118:2;3114:13;3110:27;3100:55;;3151:1;3148;3141:12;3100:55;3187:2;3174:16;3209:2;3205;3202:10;3199:36;;;3215:18;;:::i;:::-;3261:2;3258:1;3254:10;3244:20;;3284:28;3308:2;3304;3300:11;3284:28;:::i;:::-;3346:15;;;3377:12;;;;3409:11;;;3439;;;3435:20;;3432:33;-1:-1:-1;3429:53:15;;;3478:1;3475;3468:12;3429:53;3500:1;3491:10;;3510:169;3524:2;3521:1;3518:9;3510:169;;;3581:23;3600:3;3581:23;:::i;:::-;3569:36;;3542:1;3535:9;;;;;3625:12;;;;3657;;3510:169;;;-1:-1:-1;3698:5:15;2746:963;-1:-1:-1;;;;;;;;2746:963:15:o;3714:180::-;3770:6;3823:2;3811:9;3802:7;3798:23;3794:32;3791:52;;;3839:1;3836;3829:12;3791:52;3862:26;3878:9;3862:26;:::i;3899:245::-;3957:6;4010:2;3998:9;3989:7;3985:23;3981:32;3978:52;;;4026:1;4023;4016:12;3978:52;4065:9;4052:23;4084:30;4108:5;4084:30;:::i;4149:249::-;4218:6;4271:2;4259:9;4250:7;4246:23;4242:32;4239:52;;;4287:1;4284;4277:12;4239:52;4319:9;4313:16;4338:30;4362:5;4338:30;:::i;4403:592::-;4474:6;4482;4535:2;4523:9;4514:7;4510:23;4506:32;4503:52;;;4551:1;4548;4541:12;4503:52;4591:9;4578:23;4620:18;4661:2;4653:6;4650:14;4647:34;;;4677:1;4674;4667:12;4647:34;4715:6;4704:9;4700:22;4690:32;;4760:7;4753:4;4749:2;4745:13;4741:27;4731:55;;4782:1;4779;4772:12;4731:55;4822:2;4809:16;4848:2;4840:6;4837:14;4834:34;;;4864:1;4861;4854:12;4834:34;4909:7;4904:2;4895:6;4891:2;4887:15;4883:24;4880:37;4877:57;;;4930:1;4927;4920:12;4877:57;4961:2;4953:11;;;;;4983:6;;-1:-1:-1;4403:592:15;;-1:-1:-1;;;;4403:592:15:o;5000:450::-;5069:6;5122:2;5110:9;5101:7;5097:23;5093:32;5090:52;;;5138:1;5135;5128:12;5090:52;5178:9;5165:23;5211:18;5203:6;5200:30;5197:50;;;5243:1;5240;5233:12;5197:50;5266:22;;5319:4;5311:13;;5307:27;-1:-1:-1;5297:55:15;;5348:1;5345;5338:12;5297:55;5371:73;5436:7;5431:2;5418:16;5413:2;5409;5405:11;5371:73;:::i;5455:180::-;5514:6;5567:2;5555:9;5546:7;5542:23;5538:32;5535:52;;;5583:1;5580;5573:12;5535:52;-1:-1:-1;5606:23:15;;5455:180;-1:-1:-1;5455:180:15:o;5640:248::-;5708:6;5716;5769:2;5757:9;5748:7;5744:23;5740:32;5737:52;;;5785:1;5782;5775:12;5737:52;-1:-1:-1;;5808:23:15;;;5878:2;5863:18;;;5850:32;;-1:-1:-1;5640:248:15:o;5893:257::-;5934:3;5972:5;5966:12;5999:6;5994:3;5987:19;6015:63;6071:6;6064:4;6059:3;6055:14;6048:4;6041:5;6037:16;6015:63;:::i;:::-;6132:2;6111:15;-1:-1:-1;;6107:29:15;6098:39;;;;6139:4;6094:50;;5893:257;-1:-1:-1;;5893:257:15:o;6155:470::-;6334:3;6372:6;6366:13;6388:53;6434:6;6429:3;6422:4;6414:6;6410:17;6388:53;:::i;:::-;6504:13;;6463:16;;;;6526:57;6504:13;6463:16;6560:4;6548:17;;6526:57;:::i;:::-;6599:20;;6155:470;-1:-1:-1;;;;6155:470:15:o;6838:488::-;-1:-1:-1;;;;;7107:15:15;;;7089:34;;7159:15;;7154:2;7139:18;;7132:43;7206:2;7191:18;;7184:34;;;7254:3;7249:2;7234:18;;7227:31;;;7032:4;;7275:45;;7300:19;;7292:6;7275:45;:::i;:::-;7267:53;6838:488;-1:-1:-1;;;;;;6838:488:15:o;7331:632::-;7502:2;7554:21;;;7624:13;;7527:18;;;7646:22;;;7473:4;;7502:2;7725:15;;;;7699:2;7684:18;;;7473:4;7768:169;7782:6;7779:1;7776:13;7768:169;;;7843:13;;7831:26;;7912:15;;;;7877:12;;;;7804:1;7797:9;7768:169;;;-1:-1:-1;7954:3:15;;7331:632;-1:-1:-1;;;;;;7331:632:15:o;8160:219::-;8309:2;8298:9;8291:21;8272:4;8329:44;8369:2;8358:9;8354:18;8346:6;8329:44;:::i;9073:336::-;9275:2;9257:21;;;9314:2;9294:18;;;9287:30;-1:-1:-1;;;9348:2:15;9333:18;;9326:42;9400:2;9385:18;;9073:336::o;10166:414::-;10368:2;10350:21;;;10407:2;10387:18;;;10380:30;10446:34;10441:2;10426:18;;10419:62;-1:-1:-1;;;10512:2:15;10497:18;;10490:48;10570:3;10555:19;;10166:414::o;15921:356::-;16123:2;16105:21;;;16142:18;;;16135:30;16201:34;16196:2;16181:18;;16174:62;16268:2;16253:18;;15921:356::o;17859:413::-;18061:2;18043:21;;;18100:2;18080:18;;;18073:30;18139:34;18134:2;18119:18;;18112:62;-1:-1:-1;;;18205:2:15;18190:18;;18183:47;18262:3;18247:19;;17859:413::o;20089:336::-;20291:2;20273:21;;;20330:2;20310:18;;;20303:30;-1:-1:-1;;;20364:2:15;20349:18;;20342:42;20416:2;20401:18;;20089:336::o;20612:275::-;20683:2;20677:9;20748:2;20729:13;;-1:-1:-1;;20725:27:15;20713:40;;20783:18;20768:34;;20804:22;;;20765:62;20762:88;;;20830:18;;:::i;:::-;20866:2;20859:22;20612:275;;-1:-1:-1;20612:275:15:o;20892:128::-;20932:3;20963:1;20959:6;20956:1;20953:13;20950:39;;;20969:18;;:::i;:::-;-1:-1:-1;21005:9:15;;20892:128::o;21025:120::-;21065:1;21091;21081:35;;21096:18;;:::i;:::-;-1:-1:-1;21130:9:15;;21025:120::o;21150:125::-;21190:4;21218:1;21215;21212:8;21209:34;;;21223:18;;:::i;:::-;-1:-1:-1;21260:9:15;;21150:125::o;21280:258::-;21352:1;21362:113;21376:6;21373:1;21370:13;21362:113;;;21452:11;;;21446:18;21433:11;;;21426:39;21398:2;21391:10;21362:113;;;21493:6;21490:1;21487:13;21484:48;;;-1:-1:-1;;21528:1:15;21510:16;;21503:27;21280:258::o;21543:380::-;21622:1;21618:12;;;;21665;;;21686:61;;21740:4;21732:6;21728:17;21718:27;;21686:61;21793:2;21785:6;21782:14;21762:18;21759:38;21756:161;;;21839:10;21834:3;21830:20;21827:1;21820:31;21874:4;21871:1;21864:15;21902:4;21899:1;21892:15;21928:135;21967:3;-1:-1:-1;;21988:17:15;;21985:43;;;22008:18;;:::i;:::-;-1:-1:-1;22055:1:15;22044:13;;21928:135::o;22068:112::-;22100:1;22126;22116:35;;22131:18;;:::i;:::-;-1:-1:-1;22165:9:15;;22068:112::o;22185:127::-;22246:10;22241:3;22237:20;22234:1;22227:31;22277:4;22274:1;22267:15;22301:4;22298:1;22291:15;22317:127;22378:10;22373:3;22369:20;22366:1;22359:31;22409:4;22406:1;22399:15;22433:4;22430:1;22423:15;22449:127;22510:10;22505:3;22501:20;22498:1;22491:31;22541:4;22538:1;22531:15;22565:4;22562:1;22555:15;22581:127;22642:10;22637:3;22633:20;22630:1;22623:31;22673:4;22670:1;22663:15;22697:4;22694:1;22687:15;22713:127;22774:10;22769:3;22765:20;22762:1;22755:31;22805:4;22802:1;22795:15;22829:4;22826:1;22819:15;22845:131;-1:-1:-1;;;;;;22919:32:15;;22909:43;;22899:71;;22966:1;22963;22956:12

Swarm Source

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