ETH Price: $3,363.17 (-2.36%)
Gas: 2 Gwei

Token

TribePass (TribePass)
 

Overview

Max Total Supply

572 TribePass

Holders

437

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 TribePass
0x08466abb24050bb1e4c0221530184e32cea3673d
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
tribepass

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-01-14
*/

// File: TribePass.sol


pragma solidity ^0.8.0;

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

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

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

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

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


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;
    }
}


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);
}


pragma solidity ^0.8.0;

/**
 * @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,
        uint indexed tokenId
    );

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(
        address indexed owner,
        address indexed approved,
        uint 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 (uint balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint 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,
        uint 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,
        uint 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, uint tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint 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,
        uint tokenId,
        bytes calldata data
    ) external;
}


pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

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


pragma solidity ^0.8.0;

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

    /**
     * @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, uint index)
    external
    view
    returns (uint 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(uint index) external view returns (uint);
}


pragma solidity ^0.8.0;

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


pragma solidity ^0.8.0;

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

    /**
     * @dev Converts a `uint` to its ASCII `string` decimal representation.
     */
    function toString(uint 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";
        }
        uint temp = value;
        uint digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

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

    /**
     * @dev Converts a `uint` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint value, uint length)
    internal
    pure
    returns (string memory)
    {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint 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);
    }
}


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.

        uint 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, uint 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,
        uint 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-uint-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint 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);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private 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);
            }
        }
    }
}


pragma solidity ^0.8.0;

/**
 * @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(uint tokenId) external view returns (string memory);
}


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,
        uint tokenId,
        bytes calldata data
    ) external returns (bytes4);
}



pragma solidity ^0.8.0;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

    // Mapping from token ID to approved address
    mapping(uint => 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 (uint)
    {
        require(
            owner != address(0),
            "ERC721: balance query for the zero address"
        );
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint 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(uint 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, uint 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(uint 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,
        uint 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,
        uint tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint 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,
        uint 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(uint 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, uint 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, uint tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint 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, uint 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(uint 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,
        uint 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, uint 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 uint 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,
        uint tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try
            IERC721Receiver(to).onERC721Received(
                _msgSender(),
                from,
                tokenId,
                _data
            )
            returns (bytes4 retval) {
                return retval == IERC721Receiver(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert(
                    "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,
        uint tokenId
    ) internal virtual {}
}



pragma solidity ^0.8.0;

/**
 * @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(uint => uint)) private _ownedTokens;

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

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

    // Mapping from token id to position in the allTokens array
    mapping(uint => uint) 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, uint index)
    public
    view
    virtual
    override
    returns (uint)
    {
        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 (uint) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint index)
    public
    view
    virtual
    override
    returns (uint)
    {
        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,
        uint 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 uint ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint tokenId) private {
        uint 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 uint ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint 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 uint ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint 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).

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

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint 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 uint ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint 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).

        uint lastTokenIndex = _allTokens.length - 1;
        uint 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)
        uint 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();
    }
}

pragma solidity ^0.8.0;

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

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

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

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

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

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


    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {

        if (uint(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

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

        return (signer, RecoverError.NoError);
    }


    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {

        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

pragma solidity ^0.8.0;

/**
 * Authors: Saber Cuban and Dylan Massoud
 */

contract tribepass is ERC721Enumerable, Ownable {
    using Strings for uint;
    using ECDSA for bytes32;

    uint public tribepass_PRESALE = 53; //presale
    uint public tribepass_WALLET_PRESALE_LIMIT = 2; //tribepassperwalletInWholeDuration
    uint public tribepass_WALLET_PUBLICSALE_LIMIT = 2; //tribepassperwalletInWholeDuration
    uint public tribepass_MAX_COUNT = 999; //maxSupply
    uint public totalTokensSoldInPresale;
    uint public preSaleAmountMinted;

    uint public tribepass_MAINSALE_PRICE = 0.1 ether; //priceInMainSale
    uint public tribepass_PRESALE_PRICE = 0.1 ether; //priceInPreSale
    mapping (address => uint) public saleListPurchase;
    mapping (address => uint) public presalerListPurchases;

    //todo : we need to change this baseURI once metadata is ready
    string private _tokenBaseURI = "https://gateway.pinata.cloud/ipfs/";
    string private constant Sig_WORD = "private";
    address private _signerAddress = 0x956231B802D9494296acdE7B3Ce3890c8b0438b8;
    bool public presaleLive;
    bool public saleLive;
    bool public locked;

    modifier notLocked {
        require(!locked, "Contract metadata methods are locked");
        _;
    }

    constructor() ERC721("TribePass", "TribePass") {}


    function settribepass_MAX_COUNT(uint _maxCount) external onlyOwner{
        tribepass_MAX_COUNT = _maxCount;
    }

    function settribepass_PRESALE(uint _presale) external onlyOwner{
        tribepass_PRESALE = _presale;
    }

    function settribepass_WALLET_PRESALE_LIMIT(uint _presaleLimit) external onlyOwner{
        tribepass_WALLET_PRESALE_LIMIT = _presaleLimit;
    }

    function settribepass_WALLET_PUBLICSALE_LIMIT(uint _publicSaleLimit) external onlyOwner{
        tribepass_WALLET_PUBLICSALE_LIMIT = _publicSaleLimit;
    }

    function settribepass_MAINSALE_PRICE(uint _mainSalePrice) external onlyOwner{
        tribepass_MAINSALE_PRICE = _mainSalePrice;
    }

    function settribepass_PRESALE_PRICE(uint _presalePrice) external onlyOwner{
        tribepass_PRESALE_PRICE = _presalePrice;
    }


    function matchAddresSigner(bytes memory signature) private view returns(bool) {
        bytes32 hash = keccak256(abi.encodePacked(
                "\x19Ethereum Signed Message:\n32",
                keccak256(abi.encodePacked(msg.sender, Sig_WORD)))
        );
        return _signerAddress == hash.recover(signature);
    }

    function gift(address[] calldata receivers) external onlyOwner {
        require(totalSupply() + receivers.length <= tribepass_MAX_COUNT, "EXCEED_MAX");
        for (uint i = 0; i < receivers.length; i++) {
            _safeMint(receivers[i], totalSupply() + 1);
        }
    }

    function buy(uint tokenQuantity) external payable {
        require (saleLive, "SALE_CLOSED");
        require (tokenQuantity <= tribepass_WALLET_PUBLICSALE_LIMIT);
        require (saleListPurchase[msg.sender] + tokenQuantity <= tribepass_WALLET_PUBLICSALE_LIMIT, "MAX MINT COMPLETE");
        require (totalSupply() + tokenQuantity <= (tribepass_MAX_COUNT - preSaleAmountMinted), "EXCEED_MAX");
        require (tribepass_MAINSALE_PRICE * tokenQuantity <= msg.value, "INSUFFICIENT_ETH");
        saleListPurchase[msg.sender] += tokenQuantity;
        for (uint i = 0; i < tokenQuantity; i++) {
            _safeMint(msg.sender, totalSupply() + 1);
        }
    }

    function founderMint(uint tokenQuantity) external onlyOwner {
        require(totalSupply() + tokenQuantity <= tribepass_MAX_COUNT, "EXCEED_MAX");
        for(uint i = 0; i < tokenQuantity; i++) {
        _safeMint(msg.sender, totalSupply() + 1);
        }
    }

    function tokensOfOwner(address _owner) public view returns (uint256[] memory){
        uint256 count = balanceOf(_owner);
        uint256[] memory result = new uint256[](count);
        for (uint256 index = 0; index < count; index++) {
            result[index] = tokenOfOwnerByIndex(_owner, index);
        }
        return result;
    }

    function presaleBuy( bytes memory signature, uint tokenQuantity) external payable{
        require (presaleLive, "PRESALE_CLOSED");//tribepass_WALLET_PRESALE_LIMIT
        require(matchAddresSigner(signature), "DIRECT_MINT_DISALLOWED");
        require(preSaleAmountMinted + tokenQuantity <= tribepass_PRESALE, "EXCEED_PRIVATE");
        require(presalerListPurchases[msg.sender] + tokenQuantity <= tribepass_WALLET_PRESALE_LIMIT, "EXCEED_ALLOC");
        require(tribepass_MAINSALE_PRICE * tokenQuantity <= msg.value, "INSUFFICIENT_ETH");
        presalerListPurchases[msg.sender] += tokenQuantity;
        preSaleAmountMinted += tokenQuantity;
        for(uint i = 0; i < tokenQuantity; i++) {
            _safeMint(msg.sender, totalSupply() + 1);
        }
    }

    function withdraw() external {
        uint balance = address(this).balance;
        require(balance > 0);
        payable(owner()).transfer(address(this).balance);
    }

    function presalePurchasedCount(address addr) external view returns (uint) {
        return presalerListPurchases[addr];
    }

    function lockMetadata(bool _assertion) external onlyOwner {
        locked = _assertion;
    }


    function togglePresaleStatus() external onlyOwner {
        presaleLive = !presaleLive;
    }

    function toggleSaleStatus() external onlyOwner {
        saleLive = !saleLive;
    }


    function setSignerAddress(address addr) external onlyOwner {
        _signerAddress = addr;
    }

    function setBaseURI(string calldata URI) external onlyOwner notLocked {
        _tokenBaseURI = URI;
    }

    function tokenURI(uint tokenId) public view override(ERC721) returns (string memory) {
        require(_exists(tokenId), "Cannot query non-existent token");

        return string(abi.encodePacked(_tokenBaseURI, tokenId.toString()));
    }

}

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":"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":"tokenQuantity","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenQuantity","type":"uint256"}],"name":"founderMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"}],"name":"gift","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":"bool","name":"_assertion","type":"bool"}],"name":"lockMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"locked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleAmountMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"tokenQuantity","type":"uint256"}],"name":"presaleBuy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presaleLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"presalePurchasedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presalerListPurchases","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"saleListPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"address","name":"addr","type":"address"}],"name":"setSignerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mainSalePrice","type":"uint256"}],"name":"settribepass_MAINSALE_PRICE","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxCount","type":"uint256"}],"name":"settribepass_MAX_COUNT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_presale","type":"uint256"}],"name":"settribepass_PRESALE","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_presalePrice","type":"uint256"}],"name":"settribepass_PRESALE_PRICE","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_presaleLimit","type":"uint256"}],"name":"settribepass_WALLET_PRESALE_LIMIT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicSaleLimit","type":"uint256"}],"name":"settribepass_WALLET_PUBLICSALE_LIMIT","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":[],"name":"togglePresaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokensSoldInPresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tribepass_MAINSALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tribepass_MAX_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tribepass_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tribepass_PRESALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tribepass_WALLET_PRESALE_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tribepass_WALLET_PUBLICSALE_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6035600b556002600c819055600d556103e7600e5567016345785d8a0000601181905560125560e06040526022608081815290620031dd60a03980516200004f9160159160209091019062000157565b50601680546001600160a01b03191673956231b802d9494296acde7b3ce3890c8b0438b81790553480156200008357600080fd5b5060408051808201825260098082526854726962655061737360b81b602080840182815285518087019096529285528401528151919291620000c89160009162000157565b508051620000de90600190602084019062000157565b505050620000fb620000f56200010160201b60201c565b62000105565b6200023a565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200016590620001fd565b90600052602060002090601f016020900481019282620001895760008555620001d4565b82601f10620001a457805160ff1916838001178555620001d4565b82800160010185558215620001d4579182015b82811115620001d4578251825591602001919060010190620001b7565b50620001e2929150620001e6565b5090565b5b80821115620001e25760008155600101620001e7565b600181811c908216806200021257607f821691505b602082108114156200023457634e487b7160e01b600052602260045260246000fd5b50919050565b612f93806200024a6000396000f3fe6080604052600436106102c95760003560e01c80637eba58b911610175578063b1144f36116100dc578063d96a094a11610095578063e985e9c51161006f578063e985e9c514610868578063f2fde38b146108b1578063f42202e8146108d1578063fd917b07146108f157600080fd5b8063d96a094a14610814578063e081b78114610827578063e163e2351461084857600080fd5b8063b1144f361461075a578063b88d4fde14610770578063bea89d5c14610790578063c7574288146107a6578063c87b56dd146107d3578063cf309012146107f357600080fd5b80639bd76bd51161012e5780639bd76bd5146106975780639bf80316146106b75780639d2f848b146106e4578063a22cb46514610704578063a2fc23f514610724578063af5183161461074457600080fd5b80637eba58b9146105e057806383a9e049146106005780638462151c14610621578063868c3ba11461064e5780638da5cb5b1461066457806395d89b411461068257600080fd5b806342842e0e116102345780636d29e32f116101ed578063715018a6116101c7578063715018a6146105805780637a2082d8146105955780637bffb4ce146105ab5780637e80fc4e146105c057600080fd5b80636d29e32f14610534578063702377181461054a57806370a082311461056057600080fd5b806342842e0e1461045e5780634e6d04fb1461047e5780634f6ccce71461049e57806355f804b3146104be5780635ce7af1f146104de5780636352211e1461051457600080fd5b8063163e1e6111610286578063163e1e61146103b457806318160ddd146103d45780631c35a282146103f357806323b872dd146104095780632f745c59146104295780633ccfd60b1461044957600080fd5b806301ffc9a7146102ce578063046dc16614610303578063049c5c491461032557806306fdde031461033a578063081812fc1461035c578063095ea7b314610394575b600080fd5b3480156102da57600080fd5b506102ee6102e9366004612a1c565b610904565b60405190151581526020015b60405180910390f35b34801561030f57600080fd5b5061032361031e36600461283f565b61092f565b005b34801561033157600080fd5b50610323610984565b34801561034657600080fd5b5061034f6109cf565b6040516102fa9190612cbc565b34801561036857600080fd5b5061037c610377366004612afb565b610a61565b6040516001600160a01b0390911681526020016102fa565b3480156103a057600080fd5b506103236103af366004612962565b610af6565b3480156103c057600080fd5b506103236103cf36600461298c565b610c0c565b3480156103e057600080fd5b506008545b6040519081526020016102fa565b3480156103ff57600080fd5b506103e5600e5481565b34801561041557600080fd5b50610323610424366004612894565b610cc6565b34801561043557600080fd5b506103e5610444366004612962565b610cf7565b34801561045557600080fd5b50610323610d8d565b34801561046a57600080fd5b50610323610479366004612894565b610dd5565b34801561048a57600080fd5b50610323610499366004612afb565b610df0565b3480156104aa57600080fd5b506103e56104b9366004612afb565b610e1f565b3480156104ca57600080fd5b506103236104d9366004612a9b565b610eb2565b3480156104ea57600080fd5b506103e56104f936600461283f565b6001600160a01b031660009081526014602052604090205490565b34801561052057600080fd5b5061037c61052f366004612afb565b610f4e565b34801561054057600080fd5b506103e5600f5481565b34801561055657600080fd5b506103e560105481565b34801561056c57600080fd5b506103e561057b36600461283f565b610fc5565b34801561058c57600080fd5b5061032361104c565b3480156105a157600080fd5b506103e560115481565b3480156105b757600080fd5b50610323611082565b3480156105cc57600080fd5b506103236105db366004612a01565b6110cd565b3480156105ec57600080fd5b506103236105fb366004612afb565b611115565b34801561060c57600080fd5b506016546102ee90600160a01b900460ff1681565b34801561062d57600080fd5b5061064161063c36600461283f565b611144565b6040516102fa9190612c78565b34801561065a57600080fd5b506103e5600b5481565b34801561067057600080fd5b50600a546001600160a01b031661037c565b34801561068e57600080fd5b5061034f6111e6565b3480156106a357600080fd5b506103236106b2366004612afb565b6111f5565b3480156106c357600080fd5b506103e56106d236600461283f565b60146020526000908152604090205481565b3480156106f057600080fd5b506103236106ff366004612afb565b611224565b34801561071057600080fd5b5061032361071f366004612938565b611253565b34801561073057600080fd5b5061032361073f366004612afb565b611318565b34801561075057600080fd5b506103e560125481565b34801561076657600080fd5b506103e5600c5481565b34801561077c57600080fd5b5061032361078b3660046128d0565b611347565b34801561079c57600080fd5b506103e5600d5481565b3480156107b257600080fd5b506103e56107c136600461283f565b60136020526000908152604090205481565b3480156107df57600080fd5b5061034f6107ee366004612afb565b61137f565b3480156107ff57600080fd5b506016546102ee90600160b01b900460ff1681565b610323610822366004612afb565b611418565b34801561083357600080fd5b506016546102ee90600160a81b900460ff1681565b34801561085457600080fd5b50610323610863366004612afb565b6115af565b34801561087457600080fd5b506102ee610883366004612861565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156108bd57600080fd5b506103236108cc36600461283f565b6115de565b3480156108dd57600080fd5b506103236108ec366004612afb565b611679565b6103236108ff366004612a56565b611702565b60006001600160e01b0319821663780e9d6360e01b14806109295750610929826118fd565b92915050565b600a546001600160a01b031633146109625760405162461bcd60e51b815260040161095990612d21565b60405180910390fd5b601680546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b031633146109ae5760405162461bcd60e51b815260040161095990612d21565b6016805460ff60a81b198116600160a81b9182900460ff1615909102179055565b6060600080546109de90612e59565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0a90612e59565b8015610a575780601f10610a2c57610100808354040283529160200191610a57565b820191906000526020600020905b815481529060010190602001808311610a3a57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610ada5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610959565b506000908152600460205260409020546001600160a01b031690565b6000610b0182610f4e565b9050806001600160a01b0316836001600160a01b03161415610b6f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610959565b336001600160a01b0382161480610b8b5750610b8b8133610883565b610bfd5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610959565b610c07838361194d565b505050565b600a546001600160a01b03163314610c365760405162461bcd60e51b815260040161095990612d21565b600e5481610c4360085490565b610c4d9190612dcb565b1115610c6b5760405162461bcd60e51b815260040161095990612d56565b60005b81811015610c0757610cb4838383818110610c8b57610c8b612f1b565b9050602002016020810190610ca0919061283f565b6008545b610caf906001612dcb565b6119bb565b80610cbe81612e94565b915050610c6e565b610cd033826119d5565b610cec5760405162461bcd60e51b815260040161095990612d7a565b610c07838383611acc565b6000610d0283610fc5565b8210610d645760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610959565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b4780610d9857600080fd5b600a546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610dd1573d6000803e3d6000fd5b5050565b610c0783838360405180602001604052806000815250611347565b600a546001600160a01b03163314610e1a5760405162461bcd60e51b815260040161095990612d21565b600b55565b6000610e2a60085490565b8210610e8d5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610959565b60088281548110610ea057610ea0612f1b565b90600052602060002001549050919050565b600a546001600160a01b03163314610edc5760405162461bcd60e51b815260040161095990612d21565b601654600160b01b900460ff1615610f425760405162461bcd60e51b8152602060048201526024808201527f436f6e7472616374206d65746164617461206d6574686f647320617265206c6f60448201526318dad95960e21b6064820152608401610959565b610c07601583836126ed565b6000818152600260205260408120546001600160a01b0316806109295760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610959565b60006001600160a01b0382166110305760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610959565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146110765760405162461bcd60e51b815260040161095990612d21565b6110806000611c77565b565b600a546001600160a01b031633146110ac5760405162461bcd60e51b815260040161095990612d21565b6016805460ff60a01b198116600160a01b9182900460ff1615909102179055565b600a546001600160a01b031633146110f75760405162461bcd60e51b815260040161095990612d21565b60168054911515600160b01b0260ff60b01b19909216919091179055565b600a546001600160a01b0316331461113f5760405162461bcd60e51b815260040161095990612d21565b601255565b6060600061115183610fc5565b905060008167ffffffffffffffff81111561116e5761116e612f31565b604051908082528060200260200182016040528015611197578160200160208202803683370190505b50905060005b828110156111de576111af8582610cf7565b8282815181106111c1576111c1612f1b565b6020908102919091010152806111d681612e94565b91505061119d565b509392505050565b6060600180546109de90612e59565b600a546001600160a01b0316331461121f5760405162461bcd60e51b815260040161095990612d21565b600d55565b600a546001600160a01b0316331461124e5760405162461bcd60e51b815260040161095990612d21565b600e55565b6001600160a01b0382163314156112ac5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610959565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b031633146113425760405162461bcd60e51b815260040161095990612d21565b601155565b61135133836119d5565b61136d5760405162461bcd60e51b815260040161095990612d7a565b61137984848484611cc9565b50505050565b6000818152600260205260409020546060906001600160a01b03166113e65760405162461bcd60e51b815260206004820152601f60248201527f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e006044820152606401610959565b60156113f183611cfc565b604051602001611402929190612b94565b6040516020818303038152906040529050919050565b601654600160a81b900460ff1661145f5760405162461bcd60e51b815260206004820152600b60248201526a14d0531157d0d313d4d15160aa1b6044820152606401610959565b600d5481111561146e57600080fd5b600d543360009081526013602052604090205461148c908390612dcb565b11156114ce5760405162461bcd60e51b81526020600482015260116024820152704d4158204d494e5420434f4d504c45544560781b6044820152606401610959565b601054600e546114de9190612e16565b816114e860085490565b6114f29190612dcb565b11156115105760405162461bcd60e51b815260040161095990612d56565b348160115461151f9190612df7565b11156115605760405162461bcd60e51b815260206004820152601060248201526f0929ca6aa8c8c9286928a9ca8be8aa8960831b6044820152606401610959565b336000908152601360205260408120805483929061157f908490612dcb565b90915550600090505b81811015610dd15761159d33610ca460085490565b806115a781612e94565b915050611588565b600a546001600160a01b031633146115d95760405162461bcd60e51b815260040161095990612d21565b600c55565b600a546001600160a01b031633146116085760405162461bcd60e51b815260040161095990612d21565b6001600160a01b03811661166d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610959565b61167681611c77565b50565b600a546001600160a01b031633146116a35760405162461bcd60e51b815260040161095990612d21565b600e54816116b060085490565b6116ba9190612dcb565b11156116d85760405162461bcd60e51b815260040161095990612d56565b60005b81811015610dd1576116f033610ca460085490565b806116fa81612e94565b9150506116db565b601654600160a01b900460ff1661174c5760405162461bcd60e51b815260206004820152600e60248201526d14149154d0531157d0d313d4d15160921b6044820152606401610959565b61175582611dfa565b61179a5760405162461bcd60e51b81526020600482015260166024820152751112549150d517d352539517d11254d0531313d5d15160521b6044820152606401610959565b600b54816010546117ab9190612dcb565b11156117ea5760405162461bcd60e51b815260206004820152600e60248201526d4558434545445f5052495641544560901b6044820152606401610959565b600c5433600090815260146020526040902054611808908390612dcb565b11156118455760405162461bcd60e51b815260206004820152600c60248201526b4558434545445f414c4c4f4360a01b6044820152606401610959565b34816011546118549190612df7565b11156118955760405162461bcd60e51b815260206004820152601060248201526f0929ca6aa8c8c9286928a9ca8be8aa8960831b6044820152606401610959565b33600090815260146020526040812080548392906118b4908490612dcb565b9250508190555080601060008282546118cd9190612dcb565b90915550600090505b81811015610c07576118eb33610ca460085490565b806118f581612e94565b9150506118d6565b60006001600160e01b031982166380ac58cd60e01b148061192e57506001600160e01b03198216635b5e139f60e01b145b8061092957506301ffc9a760e01b6001600160e01b0319831614610929565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061198282610f4e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b610dd1828260405180602001604052806000815250611eb4565b6000818152600260205260408120546001600160a01b0316611a4e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610959565b6000611a5983610f4e565b9050806001600160a01b0316846001600160a01b03161480611a945750836001600160a01b0316611a8984610a61565b6001600160a01b0316145b80611ac457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611adf82610f4e565b6001600160a01b031614611b475760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610959565b6001600160a01b038216611ba95760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610959565b611bb4838383611ee7565b611bbf60008261194d565b6001600160a01b0383166000908152600360205260408120805460019290611be8908490612e16565b90915550506001600160a01b0382166000908152600360205260408120805460019290611c16908490612dcb565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611cd4848484611acc565b611ce084848484611f9f565b6113795760405162461bcd60e51b815260040161095990612ccf565b606081611d205750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611d4a5780611d3481612e94565b9150611d439050600a83612de3565b9150611d24565b60008167ffffffffffffffff811115611d6557611d65612f31565b6040519080825280601f01601f191660200182016040528015611d8f576020820181803683370190505b5090505b8415611ac457611da4600183612e16565b9150611db1600a86612eaf565b611dbc906030612dcb565b60f81b818381518110611dd157611dd1612f1b565b60200101906001600160f81b031916908160001a905350611df3600a86612de3565b9450611d93565b60008033604051806040016040528060078152602001667072697661746560c81b815250604051602001611e2f929190612b5c565b60408051601f198184030181529082905280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000091830191909152603c820152605c0160408051601f1981840301815291905280516020909101209050611e9c81846120ac565b6016546001600160a01b039081169116149392505050565b611ebe83836120c8565b611ecb6000848484611f9f565b610c075760405162461bcd60e51b815260040161095990612ccf565b6001600160a01b038316611f4257611f3d81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611f65565b816001600160a01b0316836001600160a01b031614611f6557611f658382612216565b6001600160a01b038216611f7c57610c07816122b3565b826001600160a01b0316826001600160a01b031614610c0757610c078282612362565b60006001600160a01b0384163b156120a157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611fe3903390899088908890600401612c3b565b602060405180830381600087803b158015611ffd57600080fd5b505af192505050801561202d575060408051601f3d908101601f1916820190925261202a91810190612a39565b60015b612087573d80801561205b576040519150601f19603f3d011682016040523d82523d6000602084013e612060565b606091505b50805161207f5760405162461bcd60e51b815260040161095990612ccf565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ac4565b506001949350505050565b60008060006120bb85856123a6565b915091506111de81612416565b6001600160a01b03821661211e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610959565b6000818152600260205260409020546001600160a01b0316156121835760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610959565b61218f60008383611ee7565b6001600160a01b03821660009081526003602052604081208054600192906121b8908490612dcb565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000600161222384610fc5565b61222d9190612e16565b600083815260076020526040902054909150808214612280576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906122c590600190612e16565b600083815260096020526040812054600880549394509092849081106122ed576122ed612f1b565b90600052602060002001549050806008838154811061230e5761230e612f1b565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061234657612346612f05565b6001900381819060005260206000200160009055905550505050565b600061236d83610fc5565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6000808251604114156123dd5760208301516040840151606085015160001a6123d1878285856125d1565b9450945050505061240f565b82516040141561240757602083015160408401516123fc8683836126be565b93509350505061240f565b506000905060025b9250929050565b600081600481111561242a5761242a612eef565b14156124335750565b600181600481111561244757612447612eef565b14156124955760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610959565b60028160048111156124a9576124a9612eef565b14156124f75760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610959565b600381600481111561250b5761250b612eef565b14156125645760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610959565b600481600481111561257857612578612eef565b14156116765760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610959565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561260857506000905060036126b5565b8460ff16601b1415801561262057508460ff16601c14155b1561263157506000905060046126b5565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612685573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166126ae576000600192509250506126b5565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b016126df878288856125d1565b935093505050935093915050565b8280546126f990612e59565b90600052602060002090601f01602090048101928261271b5760008555612761565b82601f106127345782800160ff19823516178555612761565b82800160010185558215612761579182015b82811115612761578235825591602001919060010190612746565b5061276d929150612771565b5090565b5b8082111561276d5760008155600101612772565b80356001600160a01b038116811461279d57600080fd5b919050565b8035801515811461279d57600080fd5b600082601f8301126127c357600080fd5b813567ffffffffffffffff808211156127de576127de612f31565b604051601f8301601f19908116603f0116810190828211818310171561280657612806612f31565b8160405283815286602085880101111561281f57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60006020828403121561285157600080fd5b61285a82612786565b9392505050565b6000806040838503121561287457600080fd5b61287d83612786565b915061288b60208401612786565b90509250929050565b6000806000606084860312156128a957600080fd5b6128b284612786565b92506128c060208501612786565b9150604084013590509250925092565b600080600080608085870312156128e657600080fd5b6128ef85612786565b93506128fd60208601612786565b925060408501359150606085013567ffffffffffffffff81111561292057600080fd5b61292c878288016127b2565b91505092959194509250565b6000806040838503121561294b57600080fd5b61295483612786565b915061288b602084016127a2565b6000806040838503121561297557600080fd5b61297e83612786565b946020939093013593505050565b6000806020838503121561299f57600080fd5b823567ffffffffffffffff808211156129b757600080fd5b818501915085601f8301126129cb57600080fd5b8135818111156129da57600080fd5b8660208260051b85010111156129ef57600080fd5b60209290920196919550909350505050565b600060208284031215612a1357600080fd5b61285a826127a2565b600060208284031215612a2e57600080fd5b813561285a81612f47565b600060208284031215612a4b57600080fd5b815161285a81612f47565b60008060408385031215612a6957600080fd5b823567ffffffffffffffff811115612a8057600080fd5b612a8c858286016127b2565b95602094909401359450505050565b60008060208385031215612aae57600080fd5b823567ffffffffffffffff80821115612ac657600080fd5b818501915085601f830112612ada57600080fd5b813581811115612ae957600080fd5b8660208285010111156129ef57600080fd5b600060208284031215612b0d57600080fd5b5035919050565b60008151808452612b2c816020860160208601612e2d565b601f01601f19169290920160200192915050565b60008151612b52818560208601612e2d565b9290920192915050565b6bffffffffffffffffffffffff198360601b16815260008251612b86816014850160208701612e2d565b919091016014019392505050565b600080845481600182811c915080831680612bb057607f831692505b6020808410821415612bd057634e487b7160e01b86526022600452602486fd5b818015612be45760018114612bf557612c22565b60ff19861689528489019650612c22565b60008b81526020902060005b86811015612c1a5781548b820152908501908301612c01565b505084890196505b505050505050612c328185612b40565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c6e90830184612b14565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612cb057835183529284019291840191600101612c94565b50909695505050505050565b60208152600061285a6020830184612b14565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600a908201526908ab0868a8a88be9a82b60b31b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612dde57612dde612ec3565b500190565b600082612df257612df2612ed9565b500490565b6000816000190483118215151615612e1157612e11612ec3565b500290565b600082821015612e2857612e28612ec3565b500390565b60005b83811015612e48578181015183820152602001612e30565b838111156113795750506000910152565b600181811c90821680612e6d57607f821691505b60208210811415612e8e57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612ea857612ea8612ec3565b5060010190565b600082612ebe57612ebe612ed9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461167657600080fdfea2646970667358221220b4f092bbfcd56252c4b3ed65802976672c6710ddbc25470d16516f164b6c184864736f6c6343000807003368747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f

Deployed Bytecode

0x6080604052600436106102c95760003560e01c80637eba58b911610175578063b1144f36116100dc578063d96a094a11610095578063e985e9c51161006f578063e985e9c514610868578063f2fde38b146108b1578063f42202e8146108d1578063fd917b07146108f157600080fd5b8063d96a094a14610814578063e081b78114610827578063e163e2351461084857600080fd5b8063b1144f361461075a578063b88d4fde14610770578063bea89d5c14610790578063c7574288146107a6578063c87b56dd146107d3578063cf309012146107f357600080fd5b80639bd76bd51161012e5780639bd76bd5146106975780639bf80316146106b75780639d2f848b146106e4578063a22cb46514610704578063a2fc23f514610724578063af5183161461074457600080fd5b80637eba58b9146105e057806383a9e049146106005780638462151c14610621578063868c3ba11461064e5780638da5cb5b1461066457806395d89b411461068257600080fd5b806342842e0e116102345780636d29e32f116101ed578063715018a6116101c7578063715018a6146105805780637a2082d8146105955780637bffb4ce146105ab5780637e80fc4e146105c057600080fd5b80636d29e32f14610534578063702377181461054a57806370a082311461056057600080fd5b806342842e0e1461045e5780634e6d04fb1461047e5780634f6ccce71461049e57806355f804b3146104be5780635ce7af1f146104de5780636352211e1461051457600080fd5b8063163e1e6111610286578063163e1e61146103b457806318160ddd146103d45780631c35a282146103f357806323b872dd146104095780632f745c59146104295780633ccfd60b1461044957600080fd5b806301ffc9a7146102ce578063046dc16614610303578063049c5c491461032557806306fdde031461033a578063081812fc1461035c578063095ea7b314610394575b600080fd5b3480156102da57600080fd5b506102ee6102e9366004612a1c565b610904565b60405190151581526020015b60405180910390f35b34801561030f57600080fd5b5061032361031e36600461283f565b61092f565b005b34801561033157600080fd5b50610323610984565b34801561034657600080fd5b5061034f6109cf565b6040516102fa9190612cbc565b34801561036857600080fd5b5061037c610377366004612afb565b610a61565b6040516001600160a01b0390911681526020016102fa565b3480156103a057600080fd5b506103236103af366004612962565b610af6565b3480156103c057600080fd5b506103236103cf36600461298c565b610c0c565b3480156103e057600080fd5b506008545b6040519081526020016102fa565b3480156103ff57600080fd5b506103e5600e5481565b34801561041557600080fd5b50610323610424366004612894565b610cc6565b34801561043557600080fd5b506103e5610444366004612962565b610cf7565b34801561045557600080fd5b50610323610d8d565b34801561046a57600080fd5b50610323610479366004612894565b610dd5565b34801561048a57600080fd5b50610323610499366004612afb565b610df0565b3480156104aa57600080fd5b506103e56104b9366004612afb565b610e1f565b3480156104ca57600080fd5b506103236104d9366004612a9b565b610eb2565b3480156104ea57600080fd5b506103e56104f936600461283f565b6001600160a01b031660009081526014602052604090205490565b34801561052057600080fd5b5061037c61052f366004612afb565b610f4e565b34801561054057600080fd5b506103e5600f5481565b34801561055657600080fd5b506103e560105481565b34801561056c57600080fd5b506103e561057b36600461283f565b610fc5565b34801561058c57600080fd5b5061032361104c565b3480156105a157600080fd5b506103e560115481565b3480156105b757600080fd5b50610323611082565b3480156105cc57600080fd5b506103236105db366004612a01565b6110cd565b3480156105ec57600080fd5b506103236105fb366004612afb565b611115565b34801561060c57600080fd5b506016546102ee90600160a01b900460ff1681565b34801561062d57600080fd5b5061064161063c36600461283f565b611144565b6040516102fa9190612c78565b34801561065a57600080fd5b506103e5600b5481565b34801561067057600080fd5b50600a546001600160a01b031661037c565b34801561068e57600080fd5b5061034f6111e6565b3480156106a357600080fd5b506103236106b2366004612afb565b6111f5565b3480156106c357600080fd5b506103e56106d236600461283f565b60146020526000908152604090205481565b3480156106f057600080fd5b506103236106ff366004612afb565b611224565b34801561071057600080fd5b5061032361071f366004612938565b611253565b34801561073057600080fd5b5061032361073f366004612afb565b611318565b34801561075057600080fd5b506103e560125481565b34801561076657600080fd5b506103e5600c5481565b34801561077c57600080fd5b5061032361078b3660046128d0565b611347565b34801561079c57600080fd5b506103e5600d5481565b3480156107b257600080fd5b506103e56107c136600461283f565b60136020526000908152604090205481565b3480156107df57600080fd5b5061034f6107ee366004612afb565b61137f565b3480156107ff57600080fd5b506016546102ee90600160b01b900460ff1681565b610323610822366004612afb565b611418565b34801561083357600080fd5b506016546102ee90600160a81b900460ff1681565b34801561085457600080fd5b50610323610863366004612afb565b6115af565b34801561087457600080fd5b506102ee610883366004612861565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156108bd57600080fd5b506103236108cc36600461283f565b6115de565b3480156108dd57600080fd5b506103236108ec366004612afb565b611679565b6103236108ff366004612a56565b611702565b60006001600160e01b0319821663780e9d6360e01b14806109295750610929826118fd565b92915050565b600a546001600160a01b031633146109625760405162461bcd60e51b815260040161095990612d21565b60405180910390fd5b601680546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b031633146109ae5760405162461bcd60e51b815260040161095990612d21565b6016805460ff60a81b198116600160a81b9182900460ff1615909102179055565b6060600080546109de90612e59565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0a90612e59565b8015610a575780601f10610a2c57610100808354040283529160200191610a57565b820191906000526020600020905b815481529060010190602001808311610a3a57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610ada5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610959565b506000908152600460205260409020546001600160a01b031690565b6000610b0182610f4e565b9050806001600160a01b0316836001600160a01b03161415610b6f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610959565b336001600160a01b0382161480610b8b5750610b8b8133610883565b610bfd5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610959565b610c07838361194d565b505050565b600a546001600160a01b03163314610c365760405162461bcd60e51b815260040161095990612d21565b600e5481610c4360085490565b610c4d9190612dcb565b1115610c6b5760405162461bcd60e51b815260040161095990612d56565b60005b81811015610c0757610cb4838383818110610c8b57610c8b612f1b565b9050602002016020810190610ca0919061283f565b6008545b610caf906001612dcb565b6119bb565b80610cbe81612e94565b915050610c6e565b610cd033826119d5565b610cec5760405162461bcd60e51b815260040161095990612d7a565b610c07838383611acc565b6000610d0283610fc5565b8210610d645760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610959565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b4780610d9857600080fd5b600a546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610dd1573d6000803e3d6000fd5b5050565b610c0783838360405180602001604052806000815250611347565b600a546001600160a01b03163314610e1a5760405162461bcd60e51b815260040161095990612d21565b600b55565b6000610e2a60085490565b8210610e8d5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610959565b60088281548110610ea057610ea0612f1b565b90600052602060002001549050919050565b600a546001600160a01b03163314610edc5760405162461bcd60e51b815260040161095990612d21565b601654600160b01b900460ff1615610f425760405162461bcd60e51b8152602060048201526024808201527f436f6e7472616374206d65746164617461206d6574686f647320617265206c6f60448201526318dad95960e21b6064820152608401610959565b610c07601583836126ed565b6000818152600260205260408120546001600160a01b0316806109295760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610959565b60006001600160a01b0382166110305760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610959565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146110765760405162461bcd60e51b815260040161095990612d21565b6110806000611c77565b565b600a546001600160a01b031633146110ac5760405162461bcd60e51b815260040161095990612d21565b6016805460ff60a01b198116600160a01b9182900460ff1615909102179055565b600a546001600160a01b031633146110f75760405162461bcd60e51b815260040161095990612d21565b60168054911515600160b01b0260ff60b01b19909216919091179055565b600a546001600160a01b0316331461113f5760405162461bcd60e51b815260040161095990612d21565b601255565b6060600061115183610fc5565b905060008167ffffffffffffffff81111561116e5761116e612f31565b604051908082528060200260200182016040528015611197578160200160208202803683370190505b50905060005b828110156111de576111af8582610cf7565b8282815181106111c1576111c1612f1b565b6020908102919091010152806111d681612e94565b91505061119d565b509392505050565b6060600180546109de90612e59565b600a546001600160a01b0316331461121f5760405162461bcd60e51b815260040161095990612d21565b600d55565b600a546001600160a01b0316331461124e5760405162461bcd60e51b815260040161095990612d21565b600e55565b6001600160a01b0382163314156112ac5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610959565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b031633146113425760405162461bcd60e51b815260040161095990612d21565b601155565b61135133836119d5565b61136d5760405162461bcd60e51b815260040161095990612d7a565b61137984848484611cc9565b50505050565b6000818152600260205260409020546060906001600160a01b03166113e65760405162461bcd60e51b815260206004820152601f60248201527f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e006044820152606401610959565b60156113f183611cfc565b604051602001611402929190612b94565b6040516020818303038152906040529050919050565b601654600160a81b900460ff1661145f5760405162461bcd60e51b815260206004820152600b60248201526a14d0531157d0d313d4d15160aa1b6044820152606401610959565b600d5481111561146e57600080fd5b600d543360009081526013602052604090205461148c908390612dcb565b11156114ce5760405162461bcd60e51b81526020600482015260116024820152704d4158204d494e5420434f4d504c45544560781b6044820152606401610959565b601054600e546114de9190612e16565b816114e860085490565b6114f29190612dcb565b11156115105760405162461bcd60e51b815260040161095990612d56565b348160115461151f9190612df7565b11156115605760405162461bcd60e51b815260206004820152601060248201526f0929ca6aa8c8c9286928a9ca8be8aa8960831b6044820152606401610959565b336000908152601360205260408120805483929061157f908490612dcb565b90915550600090505b81811015610dd15761159d33610ca460085490565b806115a781612e94565b915050611588565b600a546001600160a01b031633146115d95760405162461bcd60e51b815260040161095990612d21565b600c55565b600a546001600160a01b031633146116085760405162461bcd60e51b815260040161095990612d21565b6001600160a01b03811661166d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610959565b61167681611c77565b50565b600a546001600160a01b031633146116a35760405162461bcd60e51b815260040161095990612d21565b600e54816116b060085490565b6116ba9190612dcb565b11156116d85760405162461bcd60e51b815260040161095990612d56565b60005b81811015610dd1576116f033610ca460085490565b806116fa81612e94565b9150506116db565b601654600160a01b900460ff1661174c5760405162461bcd60e51b815260206004820152600e60248201526d14149154d0531157d0d313d4d15160921b6044820152606401610959565b61175582611dfa565b61179a5760405162461bcd60e51b81526020600482015260166024820152751112549150d517d352539517d11254d0531313d5d15160521b6044820152606401610959565b600b54816010546117ab9190612dcb565b11156117ea5760405162461bcd60e51b815260206004820152600e60248201526d4558434545445f5052495641544560901b6044820152606401610959565b600c5433600090815260146020526040902054611808908390612dcb565b11156118455760405162461bcd60e51b815260206004820152600c60248201526b4558434545445f414c4c4f4360a01b6044820152606401610959565b34816011546118549190612df7565b11156118955760405162461bcd60e51b815260206004820152601060248201526f0929ca6aa8c8c9286928a9ca8be8aa8960831b6044820152606401610959565b33600090815260146020526040812080548392906118b4908490612dcb565b9250508190555080601060008282546118cd9190612dcb565b90915550600090505b81811015610c07576118eb33610ca460085490565b806118f581612e94565b9150506118d6565b60006001600160e01b031982166380ac58cd60e01b148061192e57506001600160e01b03198216635b5e139f60e01b145b8061092957506301ffc9a760e01b6001600160e01b0319831614610929565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061198282610f4e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b610dd1828260405180602001604052806000815250611eb4565b6000818152600260205260408120546001600160a01b0316611a4e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610959565b6000611a5983610f4e565b9050806001600160a01b0316846001600160a01b03161480611a945750836001600160a01b0316611a8984610a61565b6001600160a01b0316145b80611ac457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611adf82610f4e565b6001600160a01b031614611b475760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610959565b6001600160a01b038216611ba95760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610959565b611bb4838383611ee7565b611bbf60008261194d565b6001600160a01b0383166000908152600360205260408120805460019290611be8908490612e16565b90915550506001600160a01b0382166000908152600360205260408120805460019290611c16908490612dcb565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611cd4848484611acc565b611ce084848484611f9f565b6113795760405162461bcd60e51b815260040161095990612ccf565b606081611d205750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611d4a5780611d3481612e94565b9150611d439050600a83612de3565b9150611d24565b60008167ffffffffffffffff811115611d6557611d65612f31565b6040519080825280601f01601f191660200182016040528015611d8f576020820181803683370190505b5090505b8415611ac457611da4600183612e16565b9150611db1600a86612eaf565b611dbc906030612dcb565b60f81b818381518110611dd157611dd1612f1b565b60200101906001600160f81b031916908160001a905350611df3600a86612de3565b9450611d93565b60008033604051806040016040528060078152602001667072697661746560c81b815250604051602001611e2f929190612b5c565b60408051601f198184030181529082905280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000091830191909152603c820152605c0160408051601f1981840301815291905280516020909101209050611e9c81846120ac565b6016546001600160a01b039081169116149392505050565b611ebe83836120c8565b611ecb6000848484611f9f565b610c075760405162461bcd60e51b815260040161095990612ccf565b6001600160a01b038316611f4257611f3d81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611f65565b816001600160a01b0316836001600160a01b031614611f6557611f658382612216565b6001600160a01b038216611f7c57610c07816122b3565b826001600160a01b0316826001600160a01b031614610c0757610c078282612362565b60006001600160a01b0384163b156120a157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611fe3903390899088908890600401612c3b565b602060405180830381600087803b158015611ffd57600080fd5b505af192505050801561202d575060408051601f3d908101601f1916820190925261202a91810190612a39565b60015b612087573d80801561205b576040519150601f19603f3d011682016040523d82523d6000602084013e612060565b606091505b50805161207f5760405162461bcd60e51b815260040161095990612ccf565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ac4565b506001949350505050565b60008060006120bb85856123a6565b915091506111de81612416565b6001600160a01b03821661211e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610959565b6000818152600260205260409020546001600160a01b0316156121835760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610959565b61218f60008383611ee7565b6001600160a01b03821660009081526003602052604081208054600192906121b8908490612dcb565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000600161222384610fc5565b61222d9190612e16565b600083815260076020526040902054909150808214612280576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906122c590600190612e16565b600083815260096020526040812054600880549394509092849081106122ed576122ed612f1b565b90600052602060002001549050806008838154811061230e5761230e612f1b565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061234657612346612f05565b6001900381819060005260206000200160009055905550505050565b600061236d83610fc5565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6000808251604114156123dd5760208301516040840151606085015160001a6123d1878285856125d1565b9450945050505061240f565b82516040141561240757602083015160408401516123fc8683836126be565b93509350505061240f565b506000905060025b9250929050565b600081600481111561242a5761242a612eef565b14156124335750565b600181600481111561244757612447612eef565b14156124955760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610959565b60028160048111156124a9576124a9612eef565b14156124f75760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610959565b600381600481111561250b5761250b612eef565b14156125645760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610959565b600481600481111561257857612578612eef565b14156116765760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610959565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561260857506000905060036126b5565b8460ff16601b1415801561262057508460ff16601c14155b1561263157506000905060046126b5565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612685573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166126ae576000600192509250506126b5565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b016126df878288856125d1565b935093505050935093915050565b8280546126f990612e59565b90600052602060002090601f01602090048101928261271b5760008555612761565b82601f106127345782800160ff19823516178555612761565b82800160010185558215612761579182015b82811115612761578235825591602001919060010190612746565b5061276d929150612771565b5090565b5b8082111561276d5760008155600101612772565b80356001600160a01b038116811461279d57600080fd5b919050565b8035801515811461279d57600080fd5b600082601f8301126127c357600080fd5b813567ffffffffffffffff808211156127de576127de612f31565b604051601f8301601f19908116603f0116810190828211818310171561280657612806612f31565b8160405283815286602085880101111561281f57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60006020828403121561285157600080fd5b61285a82612786565b9392505050565b6000806040838503121561287457600080fd5b61287d83612786565b915061288b60208401612786565b90509250929050565b6000806000606084860312156128a957600080fd5b6128b284612786565b92506128c060208501612786565b9150604084013590509250925092565b600080600080608085870312156128e657600080fd5b6128ef85612786565b93506128fd60208601612786565b925060408501359150606085013567ffffffffffffffff81111561292057600080fd5b61292c878288016127b2565b91505092959194509250565b6000806040838503121561294b57600080fd5b61295483612786565b915061288b602084016127a2565b6000806040838503121561297557600080fd5b61297e83612786565b946020939093013593505050565b6000806020838503121561299f57600080fd5b823567ffffffffffffffff808211156129b757600080fd5b818501915085601f8301126129cb57600080fd5b8135818111156129da57600080fd5b8660208260051b85010111156129ef57600080fd5b60209290920196919550909350505050565b600060208284031215612a1357600080fd5b61285a826127a2565b600060208284031215612a2e57600080fd5b813561285a81612f47565b600060208284031215612a4b57600080fd5b815161285a81612f47565b60008060408385031215612a6957600080fd5b823567ffffffffffffffff811115612a8057600080fd5b612a8c858286016127b2565b95602094909401359450505050565b60008060208385031215612aae57600080fd5b823567ffffffffffffffff80821115612ac657600080fd5b818501915085601f830112612ada57600080fd5b813581811115612ae957600080fd5b8660208285010111156129ef57600080fd5b600060208284031215612b0d57600080fd5b5035919050565b60008151808452612b2c816020860160208601612e2d565b601f01601f19169290920160200192915050565b60008151612b52818560208601612e2d565b9290920192915050565b6bffffffffffffffffffffffff198360601b16815260008251612b86816014850160208701612e2d565b919091016014019392505050565b600080845481600182811c915080831680612bb057607f831692505b6020808410821415612bd057634e487b7160e01b86526022600452602486fd5b818015612be45760018114612bf557612c22565b60ff19861689528489019650612c22565b60008b81526020902060005b86811015612c1a5781548b820152908501908301612c01565b505084890196505b505050505050612c328185612b40565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c6e90830184612b14565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612cb057835183529284019291840191600101612c94565b50909695505050505050565b60208152600061285a6020830184612b14565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600a908201526908ab0868a8a88be9a82b60b31b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612dde57612dde612ec3565b500190565b600082612df257612df2612ed9565b500490565b6000816000190483118215151615612e1157612e11612ec3565b500290565b600082821015612e2857612e28612ec3565b500390565b60005b83811015612e48578181015183820152602001612e30565b838111156113795750506000910152565b600181811c90821680612e6d57607f821691505b60208210811415612e8e57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612ea857612ea8612ec3565b5060010190565b600082612ebe57612ebe612ed9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461167657600080fdfea2646970667358221220b4f092bbfcd56252c4b3ed65802976672c6710ddbc25470d16516f164b6c184864736f6c63430008070033

Deployed Bytecode Sourcemap

51795:5947:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38412:272;;;;;;;;;;-1:-1:-1;38412:272:0;;;;;:::i;:::-;;:::i;:::-;;;9334:14:1;;9327:22;9309:41;;9297:2;9282:18;38412:272:0;;;;;;;;57271:99;;;;;;;;;;-1:-1:-1;57271:99:0;;;;;:::i;:::-;;:::i;:::-;;57175:86;;;;;;;;;;;;;:::i;25871:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;27518:285::-;;;;;;;;;;-1:-1:-1;27518:285:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7995:32:1;;;7977:51;;7965:2;7950:18;27518:285:0;7831:203:1;27044:408:0;;;;;;;;;;-1:-1:-1;27044:408:0;;;;;:::i;:::-;;:::i;54263:283::-;;;;;;;;;;-1:-1:-1;54263:283:0;;;;;:::i;:::-;;:::i;39161:110::-;;;;;;;;;;-1:-1:-1;39246:10:0;:17;39161:110;;;21957:25:1;;;21945:2;21930:18;39161:110:0;21811:177:1;52143:37:0;;;;;;;;;;;;;;;;28522:373;;;;;;;;;;-1:-1:-1;28522:373:0;;;;;:::i;:::-;;:::i;38768:317::-;;;;;;;;;;-1:-1:-1;38768:317:0;;;;;:::i;:::-;;:::i;56649:174::-;;;;;;;;;;;;;:::i;28966:182::-;;;;;;;;;;-1:-1:-1;28966:182:0;;;;;:::i;:::-;;:::i;53201:110::-;;;;;;;;;;-1:-1:-1;53201:110:0;;;;;:::i;:::-;;:::i;39348:294::-;;;;;;;;;;-1:-1:-1;39348:294:0;;;;;:::i;:::-;;:::i;57378:108::-;;;;;;;;;;-1:-1:-1;57378:108:0;;;;;:::i;:::-;;:::i;56831:127::-;;;;;;;;;;-1:-1:-1;56831:127:0;;;;;:::i;:::-;-1:-1:-1;;;;;56923:27:0;56899:4;56923:27;;;:21;:27;;;;;;;56831:127;25501:303;;;;;;;;;;-1:-1:-1;25501:303:0;;;;;:::i;:::-;;:::i;52199:36::-;;;;;;;;;;;;;;;;52242:31;;;;;;;;;;;;;;;;25167:272;;;;;;;;;;-1:-1:-1;25167:272:0;;;;;:::i;:::-;;:::i;9329:94::-;;;;;;;;;;;;;:::i;52282:48::-;;;;;;;;;;;;;;;;57072:95;;;;;;;;;;;;;:::i;56966:96::-;;;;;;;;;;-1:-1:-1;56966:96:0;;;;;:::i;:::-;;:::i;53783:132::-;;;;;;;;;;-1:-1:-1;53783:132:0;;;;;:::i;:::-;;:::i;52820:23::-;;;;;;;;;;-1:-1:-1;52820:23:0;;;;-1:-1:-1;;;52820:23:0;;;;;;55512:345;;;;;;;;;;-1:-1:-1;55512:345:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;51911:34::-;;;;;;;;;;;;;;;;8678:87;;;;;;;;;;-1:-1:-1;8751:6:0;;-1:-1:-1;;;;;8751:6:0;8678:87;;26040:104;;;;;;;;;;;;;:::i;53473:158::-;;;;;;;;;;-1:-1:-1;53473:158:0;;;;;:::i;:::-;;:::i;52482:54::-;;;;;;;;;;-1:-1:-1;52482:54:0;;;;;:::i;:::-;;;;;;;;;;;;;;53077:116;;;;;;;;;;-1:-1:-1;53077:116:0;;;;;:::i;:::-;;:::i;27875:315::-;;;;;;;;;;-1:-1:-1;27875:315:0;;;;;:::i;:::-;;:::i;53639:136::-;;;;;;;;;;-1:-1:-1;53639:136:0;;;;;:::i;:::-;;:::i;52355:47::-;;;;;;;;;;;;;;;;51962:46;;;;;;;;;;;;;;;;29219:362;;;;;;;;;;-1:-1:-1;29219:362:0;;;;;:::i;:::-;;:::i;52051:49::-;;;;;;;;;;;;;;;;52426;;;;;;;;;;-1:-1:-1;52426:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;57494:243;;;;;;;;;;-1:-1:-1;57494:243:0;;;;;:::i;:::-;;:::i;52877:18::-;;;;;;;;;;-1:-1:-1;52877:18:0;;;;-1:-1:-1;;;52877:18:0;;;;;;54554:675;;;;;;:::i;:::-;;:::i;52850:20::-;;;;;;;;;;-1:-1:-1;52850:20:0;;;;-1:-1:-1;;;52850:20:0;;;;;;53319:146;;;;;;;;;;-1:-1:-1;53319:146:0;;;;;:::i;:::-;;:::i;28261:194::-;;;;;;;;;;-1:-1:-1;28261:194:0;;;;;:::i;:::-;-1:-1:-1;;;;;28412:25:0;;;28383:4;28412:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;28261:194;9578:229;;;;;;;;;;-1:-1:-1;9578:229:0;;;;;:::i;:::-;;:::i;55237:267::-;;;;;;;;;;-1:-1:-1;55237:267:0;;;;;:::i;:::-;;:::i;55865:776::-;;;;;;:::i;:::-;;:::i;38412:272::-;38539:4;-1:-1:-1;;;;;;38577:50:0;;-1:-1:-1;;;38577:50:0;;:99;;;38640:36;38664:11;38640:23;:36::i;:::-;38561:115;38412:272;-1:-1:-1;;38412:272:0:o;57271:99::-;8751:6;;-1:-1:-1;;;;;8751:6:0;1960:10;8898:23;8890:68;;;;-1:-1:-1;;;8890:68:0;;;;;;;:::i;:::-;;;;;;;;;57341:14:::1;:21:::0;;-1:-1:-1;;;;;;57341:21:0::1;-1:-1:-1::0;;;;;57341:21:0;;;::::1;::::0;;;::::1;::::0;;57271:99::o;57175:86::-;8751:6;;-1:-1:-1;;;;;8751:6:0;1960:10;8898:23;8890:68;;;;-1:-1:-1;;;8890:68:0;;;;;;;:::i;:::-;57245:8:::1;::::0;;-1:-1:-1;;;;57233:20:0;::::1;-1:-1:-1::0;;;57245:8:0;;;::::1;;;57244:9;57233:20:::0;;::::1;;::::0;;57175:86::o;25871:100::-;25925:13;25958:5;25951:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25871:100;:::o;27518:285::-;27616:7;31211:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31211:16:0;27641:110;;;;-1:-1:-1;;;27641:110:0;;17117:2:1;27641:110:0;;;17099:21:1;17156:2;17136:18;;;17129:30;17195:34;17175:18;;;17168:62;-1:-1:-1;;;17246:18:1;;;17239:42;17298:19;;27641:110:0;16915:408:1;27641:110:0;-1:-1:-1;27771:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;27771:24:0;;27518:285::o;27044:408::-;27122:13;27138:23;27153:7;27138:14;:23::i;:::-;27122:39;;27186:5;-1:-1:-1;;;;;27180:11:0;:2;-1:-1:-1;;;;;27180:11:0;;;27172:57;;;;-1:-1:-1;;;27172:57:0;;19066:2:1;27172:57:0;;;19048:21:1;19105:2;19085:18;;;19078:30;19144:34;19124:18;;;19117:62;-1:-1:-1;;;19195:18:1;;;19188:31;19236:19;;27172:57:0;18864:397:1;27172:57:0;1960:10;-1:-1:-1;;;;;27264:21:0;;;;:62;;-1:-1:-1;27289:37:0;27306:5;1960:10;28261:194;:::i;27289:37::-;27242:168;;;;-1:-1:-1;;;27242:168:0;;15107:2:1;27242:168:0;;;15089:21:1;15146:2;15126:18;;;15119:30;15185:34;15165:18;;;15158:62;15256:26;15236:18;;;15229:54;15300:19;;27242:168:0;14905:420:1;27242:168:0;27423:21;27432:2;27436:7;27423:8;:21::i;:::-;27111:341;27044:408;;:::o;54263:283::-;8751:6;;-1:-1:-1;;;;;8751:6:0;1960:10;8898:23;8890:68;;;;-1:-1:-1;;;8890:68:0;;;;;;;:::i;:::-;54381:19:::1;::::0;54361:9;54345:13:::1;39246:10:::0;:17;;39161:110;54345:13:::1;:32;;;;:::i;:::-;:55;;54337:78;;;;-1:-1:-1::0;;;54337:78:0::1;;;;;;;:::i;:::-;54431:6;54426:113;54443:20:::0;;::::1;54426:113;;;54485:42;54495:9;;54505:1;54495:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;39246:10:::0;:17;54509:13:::1;:17;::::0;54525:1:::1;54509:17;:::i;:::-;54485:9;:42::i;:::-;54465:3:::0;::::1;::::0;::::1;:::i;:::-;;;;54426:113;;28522:373:::0;28728:41;1960:10;28761:7;28728:18;:41::i;:::-;28706:140;;;;-1:-1:-1;;;28706:140:0;;;;;;;:::i;:::-;28859:28;28869:4;28875:2;28879:7;28859:9;:28::i;38768:317::-;38887:4;38939:23;38956:5;38939:16;:23::i;:::-;38931:5;:31;38909:124;;;;-1:-1:-1;;;38909:124:0;;11597:2:1;38909:124:0;;;11579:21:1;11636:2;11616:18;;;11609:30;11675:34;11655:18;;;11648:62;-1:-1:-1;;;11726:18:1;;;11719:41;11777:19;;38909:124:0;11395:407:1;38909:124:0;-1:-1:-1;;;;;;39051:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;38768:317::o;56649:174::-;56704:21;56744:11;56736:20;;;;;;8751:6;;56767:48;;-1:-1:-1;;;;;8751:6:0;;;;56793:21;56767:48;;;;;;;;;56793:21;8751:6;56767:48;;;;;;;;;;;;;;;;;;;;;56678:145;56649:174::o;28966:182::-;29101:39;29118:4;29124:2;29128:7;29101:39;;;;;;;;;;;;:16;:39::i;53201:110::-;8751:6;;-1:-1:-1;;;;;8751:6:0;1960:10;8898:23;8890:68;;;;-1:-1:-1;;;8890:68:0;;;;;;;:::i;:::-;53275:17:::1;:28:::0;53201:110::o;39348:294::-;39445:4;39497:30;39246:10;:17;;39161:110;39497:30;39489:5;:38;39467:132;;;;-1:-1:-1;;;39467:132:0;;20225:2:1;39467:132:0;;;20207:21:1;20264:2;20244:18;;;20237:30;20303:34;20283:18;;;20276:62;-1:-1:-1;;;20354:18:1;;;20347:42;20406:19;;39467:132:0;20023:408:1;39467:132:0;39617:10;39628:5;39617:17;;;;;;;;:::i;:::-;;;;;;;;;39610:24;;39348:294;;;:::o;57378:108::-;8751:6;;-1:-1:-1;;;;;8751:6:0;1960:10;8898:23;8890:68;;;;-1:-1:-1;;;8890:68:0;;;;;;;:::i;:::-;52943:6:::1;::::0;-1:-1:-1;;;52943:6:0;::::1;;;52942:7;52934:56;;;::::0;-1:-1:-1;;;52934:56:0;;18301:2:1;52934:56:0::1;::::0;::::1;18283:21:1::0;18340:2;18320:18;;;18313:30;18379:34;18359:18;;;18352:62;-1:-1:-1;;;18430:18:1;;;18423:34;18474:19;;52934:56:0::1;18099:400:1::0;52934:56:0::1;57459:19:::2;:13;57475:3:::0;;57459:19:::2;:::i;25501:303::-:0;25595:7;25636:16;;;:7;:16;;;;;;-1:-1:-1;;;;;25636:16:0;25685:19;25663:110;;;;-1:-1:-1;;;25663:110:0;;15943:2:1;25663:110:0;;;15925:21:1;15982:2;15962:18;;;15955:30;16021:34;16001:18;;;15994:62;-1:-1:-1;;;16072:18:1;;;16065:39;16121:19;;25663:110:0;15741:405:1;25167:272:0;25264:4;-1:-1:-1;;;;;25308:19:0;;25286:111;;;;-1:-1:-1;;;25286:111:0;;15532:2:1;25286:111:0;;;15514:21:1;15571:2;15551:18;;;15544:30;15610:34;15590:18;;;15583:62;-1:-1:-1;;;15661:18:1;;;15654:40;15711:19;;25286:111:0;15330:406:1;25286:111:0;-1:-1:-1;;;;;;25415:16:0;;;;;:9;:16;;;;;;;25167:272::o;9329:94::-;8751:6;;-1:-1:-1;;;;;8751:6:0;1960:10;8898:23;8890:68;;;;-1:-1:-1;;;8890:68:0;;;;;;;:::i;:::-;9394:21:::1;9412:1;9394:9;:21::i;:::-;9329:94::o:0;57072:95::-;8751:6;;-1:-1:-1;;;;;8751:6:0;1960:10;8898:23;8890:68;;;;-1:-1:-1;;;8890:68:0;;;;;;;:::i;:::-;57148:11:::1;::::0;;-1:-1:-1;;;;57133:26:0;::::1;-1:-1:-1::0;;;57148:11:0;;;::::1;;;57147:12;57133:26:::0;;::::1;;::::0;;57072:95::o;56966:96::-;8751:6;;-1:-1:-1;;;;;8751:6:0;1960:10;8898:23;8890:68;;;;-1:-1:-1;;;8890:68:0;;;;;;;:::i;:::-;57035:6:::1;:19:::0;;;::::1;;-1:-1:-1::0;;;57035:19:0::1;-1:-1:-1::0;;;;57035:19:0;;::::1;::::0;;;::::1;::::0;;56966:96::o;53783:132::-;8751:6;;-1:-1:-1;;;;;8751:6:0;1960:10;8898:23;8890:68;;;;-1:-1:-1;;;8890:68:0;;;;;;;:::i;:::-;53868:23:::1;:39:::0;53783:132::o;55512:345::-;55572:16;55600:13;55616:17;55626:6;55616:9;:17::i;:::-;55600:33;;55644:23;55684:5;55670:20;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55670:20:0;;55644:46;;55706:13;55701:125;55733:5;55725;:13;55701:125;;;55780:34;55800:6;55808:5;55780:19;:34::i;:::-;55764:6;55771:5;55764:13;;;;;;;;:::i;:::-;;;;;;;;;;:50;55740:7;;;;:::i;:::-;;;;55701:125;;;-1:-1:-1;55843:6:0;55512:345;-1:-1:-1;;;55512:345:0:o;26040:104::-;26096:13;26129:7;26122:14;;;;;:::i;53473:158::-;8751:6;;-1:-1:-1;;;;;8751:6:0;1960:10;8898:23;8890:68;;;;-1:-1:-1;;;8890:68:0;;;;;;;:::i;:::-;53571:33:::1;:52:::0;53473:158::o;53077:116::-;8751:6;;-1:-1:-1;;;;;8751:6:0;1960:10;8898:23;8890:68;;;;-1:-1:-1;;;8890:68:0;;;;;;;:::i;:::-;53154:19:::1;:31:::0;53077:116::o;27875:315::-;-1:-1:-1;;;;;27998:24:0;;1960:10;27998:24;;27990:62;;;;-1:-1:-1;;;27990:62:0;;13597:2:1;27990:62:0;;;13579:21:1;13636:2;13616:18;;;13609:30;13675:27;13655:18;;;13648:55;13720:18;;27990:62:0;13395:349:1;27990:62:0;1960:10;28065:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;28065:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;28065:53:0;;;;;;;;;;28134:48;;9309:41:1;;;28065:42:0;;1960:10;28134:48;;9282:18:1;28134:48:0;;;;;;;27875:315;;:::o;53639:136::-;8751:6;;-1:-1:-1;;;;;8751:6:0;1960:10;8898:23;8890:68;;;;-1:-1:-1;;;8890:68:0;;;;;;;:::i;:::-;53726:24:::1;:41:::0;53639:136::o;29219:362::-;29405:41;1960:10;29438:7;29405:18;:41::i;:::-;29383:140;;;;-1:-1:-1;;;29383:140:0;;;;;;;:::i;:::-;29534:39;29548:4;29554:2;29558:7;29567:5;29534:13;:39::i;:::-;29219:362;;;;:::o;57494:243::-;31187:4;31211:16;;;:7;:16;;;;;;57564:13;;-1:-1:-1;;;;;31211:16:0;57590:60;;;;-1:-1:-1;;;57590:60:0;;18706:2:1;57590:60:0;;;18688:21:1;18745:2;18725:18;;;18718:30;18784:33;18764:18;;;18757:61;18835:18;;57590:60:0;18504:355:1;57590:60:0;57694:13;57709:18;:7;:16;:18::i;:::-;57677:51;;;;;;;;;:::i;:::-;;;;;;;;;;;;;57663:66;;57494:243;;;:::o;54554:675::-;54624:8;;-1:-1:-1;;;54624:8:0;;;;54615:33;;;;-1:-1:-1;;;54615:33:0;;14354:2:1;54615:33:0;;;14336:21:1;14393:2;14373:18;;;14366:30;-1:-1:-1;;;14412:18:1;;;14405:41;14463:18;;54615:33:0;14152:335:1;54615:33:0;54685;;54668:13;:50;;54659:60;;;;;;54787:33;;54756:10;54739:28;;;;:16;:28;;;;;;:44;;54770:13;;54739:44;:::i;:::-;:81;;54730:112;;;;-1:-1:-1;;;54730:112:0;;21667:2:1;54730:112:0;;;21649:21:1;21706:2;21686:18;;;21679:30;-1:-1:-1;;;21725:18:1;;;21718:47;21782:18;;54730:112:0;21465:341:1;54730:112:0;54918:19;;54896;;:41;;;;:::i;:::-;54878:13;54862;39246:10;:17;;39161:110;54862:13;:29;;;;:::i;:::-;:76;;54853:100;;;;-1:-1:-1;;;54853:100:0;;;;;;;:::i;:::-;55017:9;55000:13;54973:24;;:40;;;;:::i;:::-;:53;;54964:83;;;;-1:-1:-1;;;54964:83:0;;21322:2:1;54964:83:0;;;21304:21:1;21361:2;21341:18;;;21334:30;-1:-1:-1;;;21380:18:1;;;21373:46;21436:18;;54964:83:0;21120:340:1;54964:83:0;55075:10;55058:28;;;;:16;:28;;;;;:45;;55090:13;;55058:28;:45;;55090:13;;55058:45;:::i;:::-;;;;-1:-1:-1;55119:6:0;;-1:-1:-1;55114:108:0;55135:13;55131:1;:17;55114:108;;;55170:40;55180:10;55192:13;39246:10;:17;;39161:110;55170:40;55150:3;;;;:::i;:::-;;;;55114:108;;53319:146;8751:6;;-1:-1:-1;;;;;8751:6:0;1960:10;8898:23;8890:68;;;;-1:-1:-1;;;8890:68:0;;;;;;;:::i;:::-;53411:30:::1;:46:::0;53319:146::o;9578:229::-;8751:6;;-1:-1:-1;;;;;8751:6:0;1960:10;8898:23;8890:68;;;;-1:-1:-1;;;8890:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;9681:22:0;::::1;9659:110;;;::::0;-1:-1:-1;;;9659:110:0;;12428:2:1;9659:110:0::1;::::0;::::1;12410:21:1::0;12467:2;12447:18;;;12440:30;12506:34;12486:18;;;12479:62;-1:-1:-1;;;12557:18:1;;;12550:36;12603:19;;9659:110:0::1;12226:402:1::0;9659:110:0::1;9780:19;9790:8;9780:9;:19::i;:::-;9578:229:::0;:::o;55237:267::-;8751:6;;-1:-1:-1;;;;;8751:6:0;1960:10;8898:23;8890:68;;;;-1:-1:-1;;;8890:68:0;;;;;;;:::i;:::-;55349:19:::1;;55332:13;55316;39246:10:::0;:17;;39161:110;55316:13:::1;:29;;;;:::i;:::-;:52;;55308:75;;;;-1:-1:-1::0;;;55308:75:0::1;;;;;;;:::i;:::-;55398:6;55394:103;55414:13;55410:1;:17;55394:103;;;55445:40;55455:10;55467:13;39246:10:::0;:17;;39161:110;55445:40:::1;55429:3:::0;::::1;::::0;::::1;:::i;:::-;;;;55394:103;;55865:776:::0;55966:11;;-1:-1:-1;;;55966:11:0;;;;55957:39;;;;-1:-1:-1;;;55957:39:0;;10543:2:1;55957:39:0;;;10525:21:1;10582:2;10562:18;;;10555:30;-1:-1:-1;;;10601:18:1;;;10594:44;10655:18;;55957:39:0;10341:338:1;55957:39:0;56047:28;56065:9;56047:17;:28::i;:::-;56039:63;;;;-1:-1:-1;;;56039:63:0;;10886:2:1;56039:63:0;;;10868:21:1;10925:2;10905:18;;;10898:30;-1:-1:-1;;;10944:18:1;;;10937:52;11006:18;;56039:63:0;10684:346:1;56039:63:0;56160:17;;56143:13;56121:19;;:35;;;;:::i;:::-;:56;;56113:83;;;;-1:-1:-1;;;56113:83:0;;20638:2:1;56113:83:0;;;20620:21:1;20677:2;20657:18;;;20650:30;-1:-1:-1;;;20696:18:1;;;20689:44;20750:18;;56113:83:0;20436:338:1;56113:83:0;56268:30;;56237:10;56215:33;;;;:21;:33;;;;;;:49;;56251:13;;56215:49;:::i;:::-;:83;;56207:108;;;;-1:-1:-1;;;56207:108:0;;20981:2:1;56207:108:0;;;20963:21:1;21020:2;21000:18;;;20993:30;-1:-1:-1;;;21039:18:1;;;21032:42;21091:18;;56207:108:0;20779:336:1;56207:108:0;56378:9;56361:13;56334:24;;:40;;;;:::i;:::-;:53;;56326:82;;;;-1:-1:-1;;;56326:82:0;;21322:2:1;56326:82:0;;;21304:21:1;21361:2;21341:18;;;21334:30;-1:-1:-1;;;21380:18:1;;;21373:46;21436:18;;56326:82:0;21120:340:1;56326:82:0;56441:10;56419:33;;;;:21;:33;;;;;:50;;56456:13;;56419:33;:50;;56456:13;;56419:50;:::i;:::-;;;;;;;;56503:13;56480:19;;:36;;;;;;;:::i;:::-;;;;-1:-1:-1;56531:6:0;;-1:-1:-1;56527:107:0;56547:13;56543:1;:17;56527:107;;;56582:40;56592:10;56604:13;39246:10;:17;;39161:110;56582:40;56562:3;;;;:::i;:::-;;;;56527:107;;24780:323;24907:4;-1:-1:-1;;;;;;24945:40:0;;-1:-1:-1;;;24945:40:0;;:101;;-1:-1:-1;;;;;;;24998:48:0;;-1:-1:-1;;;24998:48:0;24945:101;:150;;;-1:-1:-1;;;;;;;;;;11766:40:0;;;25059:36;11627:187;35200:171;35272:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;35272:29:0;-1:-1:-1;;;;;35272:29:0;;;;;;;;:24;;35326:23;35272:24;35326:14;:23::i;:::-;-1:-1:-1;;;;;35317:46:0;;;;;;;;;;;35200:171;;:::o;32183:107::-;32256:26;32266:2;32270:7;32256:26;;;;;;;;;;;;:9;:26::i;31416:425::-;31526:4;31211:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31211:16:0;31548:110;;;;-1:-1:-1;;;31548:110:0;;14694:2:1;31548:110:0;;;14676:21:1;14733:2;14713:18;;;14706:30;14772:34;14752:18;;;14745:62;-1:-1:-1;;;14823:18:1;;;14816:42;14875:19;;31548:110:0;14492:408:1;31548:110:0;31669:13;31685:23;31700:7;31685:14;:23::i;:::-;31669:39;;31738:5;-1:-1:-1;;;;;31727:16:0;:7;-1:-1:-1;;;;;31727:16:0;;:60;;;;31780:7;-1:-1:-1;;;;;31756:31:0;:20;31768:7;31756:11;:20::i;:::-;-1:-1:-1;;;;;31756:31:0;;31727:60;:105;;;-1:-1:-1;;;;;;28412:25:0;;;28383:4;28412:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;31800:32;31719:114;31416:425;-1:-1:-1;;;;31416:425:0:o;34470:612::-;34640:4;-1:-1:-1;;;;;34613:31:0;:23;34628:7;34613:14;:23::i;:::-;-1:-1:-1;;;;;34613:31:0;;34591:122;;;;-1:-1:-1;;;34591:122:0;;17891:2:1;34591:122:0;;;17873:21:1;17930:2;17910:18;;;17903:30;17969:34;17949:18;;;17942:62;-1:-1:-1;;;18020:18:1;;;18013:39;18069:19;;34591:122:0;17689:405:1;34591:122:0;-1:-1:-1;;;;;34732:16:0;;34724:65;;;;-1:-1:-1;;;34724:65:0;;13192:2:1;34724:65:0;;;13174:21:1;13231:2;13211:18;;;13204:30;13270:34;13250:18;;;13243:62;-1:-1:-1;;;13321:18:1;;;13314:34;13365:19;;34724:65:0;12990:400:1;34724:65:0;34802:39;34823:4;34829:2;34833:7;34802:20;:39::i;:::-;34906:29;34923:1;34927:7;34906:8;:29::i;:::-;-1:-1:-1;;;;;34948:15:0;;;;;;:9;:15;;;;;:20;;34967:1;;34948:15;:20;;34967:1;;34948:20;:::i;:::-;;;;-1:-1:-1;;;;;;;34979:13:0;;;;;;:9;:13;;;;;:18;;34996:1;;34979:13;:18;;34996:1;;34979:18;:::i;:::-;;;;-1:-1:-1;;35008:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;35008:21:0;-1:-1:-1;;;;;35008:21:0;;;;;;;;;35047:27;;35008:16;;35047:27;;;;;;;34470:612;;;:::o;9815:173::-;9890:6;;;-1:-1:-1;;;;;9907:17:0;;;-1:-1:-1;;;;;;9907:17:0;;;;;;;9940:40;;9890:6;;;9907:17;9890:6;;9940:40;;9871:16;;9940:40;9860:128;9815:173;:::o;30463:349::-;30617:28;30627:4;30633:2;30637:7;30617:9;:28::i;:::-;30678:48;30701:4;30707:2;30711:7;30720:5;30678:22;:48::i;:::-;30656:148;;;;-1:-1:-1;;;30656:148:0;;;;;;;:::i;12073:711::-;12126:13;12347:10;12343:53;;-1:-1:-1;;12374:10:0;;;;;;;;;;;;-1:-1:-1;;;12374:10:0;;;;;12073:711::o;12343:53::-;12418:5;12406:9;12456:78;12463:9;;12456:78;;12489:8;;;;:::i;:::-;;-1:-1:-1;12512:10:0;;-1:-1:-1;12520:2:0;12512:10;;:::i;:::-;;;12456:78;;;12544:19;12576:6;12566:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12566:17:0;;12544:39;;12594:151;12601:10;;12594:151;;12628:11;12638:1;12628:11;;:::i;:::-;;-1:-1:-1;12694:10:0;12702:2;12694:5;:10;:::i;:::-;12684:21;;:2;:21;:::i;:::-;12671:36;;12654:6;12661;12654:14;;;;;;;;:::i;:::-;;;;:53;-1:-1:-1;;;;;12654:53:0;;;;;;;;-1:-1:-1;12722:11:0;12731:2;12722:11;;:::i;:::-;;;12594:151;;53925:330;53997:4;54014:12;54154:10;54166:8;;;;;;;;;;;;;-1:-1:-1;;;54166:8:0;;;54137:38;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;54137:38:0;;;;;;;;;;54127:49;;54137:38;54127:49;;;;7688:66:1;54039:138:0;;;7676:79:1;;;;7771:12;;;7764:28;7808:12;;54039:138:0;;;-1:-1:-1;;54039:138:0;;;;;;;;;54029:159;;54039:138;54029:159;;;;;-1:-1:-1;54224:23:0;54029:159;54237:9;54224:12;:23::i;:::-;54206:14;;-1:-1:-1;;;;;54206:14:0;;;:41;;;;53925:330;-1:-1:-1;;;53925:330:0:o;32514:318::-;32641:18;32647:2;32651:7;32641:5;:18::i;:::-;32692:54;32723:1;32727:2;32731:7;32740:5;32692:22;:54::i;:::-;32670:154;;;;-1:-1:-1;;;32670:154:0;;;;;;;:::i;40255:586::-;-1:-1:-1;;;;;40458:18:0;;40454:187;;40493:40;40525:7;41653:10;:17;;41626:24;;;;:15;:24;;;;;:44;;;41681:24;;;;;;;;;;;;41552:161;40493:40;40454:187;;;40563:2;-1:-1:-1;;;;;40555:10:0;:4;-1:-1:-1;;;;;40555:10:0;;40551:90;;40582:47;40615:4;40621:7;40582:32;:47::i;:::-;-1:-1:-1;;;;;40655:16:0;;40651:183;;40688:45;40725:7;40688:36;:45::i;40651:183::-;40761:4;-1:-1:-1;;;;;40755:10:0;:2;-1:-1:-1;;;;;40755:10:0;;40751:83;;40782:40;40810:2;40814:7;40782:27;:40::i;35933:953::-;36085:4;-1:-1:-1;;;;;36106:13:0;;14846:20;14894:8;36102:777;;36155:155;;-1:-1:-1;;;36155:155:0;;-1:-1:-1;;;;;36155:36:0;;;;;:155;;1960:10;;36241:4;;36264:7;;36290:5;;36155:155;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36155:155:0;;;;;;;;-1:-1:-1;;36155:155:0;;;;;;;;;;;;:::i;:::-;;;36138:686;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36497:13:0;;36493:316;;36540:104;;-1:-1:-1;;;36540:104:0;;;;;;;:::i;36493:316::-;36759:6;36753:13;36744:6;36740:2;36736:15;36729:38;36138:686;-1:-1:-1;;;;;;36374:55:0;-1:-1:-1;;;36374:55:0;;-1:-1:-1;36367:62:0;;36102:777;-1:-1:-1;36863:4:0;35933:953;;;;;;:::o;48955:231::-;49033:7;49054:17;49073:18;49095:27;49106:4;49112:9;49095:10;:27::i;:::-;49053:69;;;;49133:18;49145:5;49133:11;:18::i;33168:379::-;-1:-1:-1;;;;;33245:16:0;;33237:61;;;;-1:-1:-1;;;33237:61:0;;16756:2:1;33237:61:0;;;16738:21:1;;;16775:18;;;16768:30;16834:34;16814:18;;;16807:62;16886:18;;33237:61:0;16554:356:1;33237:61:0;31187:4;31211:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31211:16:0;:30;33309:58;;;;-1:-1:-1;;;33309:58:0;;12835:2:1;33309:58:0;;;12817:21:1;12874:2;12854:18;;;12847:30;12913;12893:18;;;12886:58;12961:18;;33309:58:0;12633:352:1;33309:58:0;33380:45;33409:1;33413:2;33417:7;33380:20;:45::i;:::-;-1:-1:-1;;;;;33438:13:0;;;;;;:9;:13;;;;;:18;;33455:1;;33438:13;:18;;33455:1;;33438:18;:::i;:::-;;;;-1:-1:-1;;33467:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;33467:21:0;-1:-1:-1;;;;;33467:21:0;;;;;;;;33506:33;;33467:16;;;33506:33;;33467:16;;33506:33;33168:379;;:::o;42337:986::-;42610:19;42657:1;42632:22;42649:4;42632:16;:22::i;:::-;:26;;;;:::i;:::-;42669:15;42687:26;;;:17;:26;;;;;;42610:48;;-1:-1:-1;42820:28:0;;;42816:325;;-1:-1:-1;;;;;42884:18:0;;42865:16;42884:18;;;:12;:18;;;;;;;;:34;;;;;;;;;42935:30;;;;;;:44;;;43052:30;;:17;:30;;;;;:43;;;42816:325;-1:-1:-1;43237:26:0;;;;:17;:26;;;;;;;;43230:33;;;-1:-1:-1;;;;;43281:18:0;;;;;:12;:18;;;;;:34;;;;;;;43274:41;42337:986::o;43615:1067::-;43887:10;:17;43865:19;;43887:21;;43907:1;;43887:21;:::i;:::-;43919:15;43937:24;;;:15;:24;;;;;;44307:10;:26;;43865:43;;-1:-1:-1;43937:24:0;;43865:43;;44307:26;;;;;;:::i;:::-;;;;;;;;;44288:45;;44371:11;44346:10;44357;44346:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;44451:28;;;:15;:28;;;;;;;:41;;;44623:24;;;;;44616:31;44658:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;43683:999;;;43615:1067;:::o;41139:215::-;41221:11;41235:20;41252:2;41235:16;:20::i;:::-;-1:-1:-1;;;;;41266:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;41311:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;41139:215:0:o;46845:1308::-;46926:7;46935:12;47160:9;:16;47180:2;47160:22;47156:990;;;47456:4;47441:20;;47435:27;47506:4;47491:20;;47485:27;47564:4;47549:20;;47543:27;47199:9;47535:36;47607:25;47618:4;47535:36;47435:27;47485;47607:10;:25::i;:::-;47600:32;;;;;;;;;47156:990;47654:9;:16;47674:2;47654:22;47650:496;;;47929:4;47914:20;;47908:27;47980:4;47965:20;;47959:27;48022:23;48033:4;47908:27;47959;48022:10;:23::i;:::-;48015:30;;;;;;;;47650:496;-1:-1:-1;48094:1:0;;-1:-1:-1;48098:35:0;47650:496;46845:1308;;;;;:::o;45116:643::-;45194:20;45185:5;:29;;;;;;;;:::i;:::-;;45181:571;;;45116:643;:::o;45181:571::-;45292:29;45283:5;:38;;;;;;;;:::i;:::-;;45279:473;;;45338:34;;-1:-1:-1;;;45338:34:0;;10190:2:1;45338:34:0;;;10172:21:1;10229:2;10209:18;;;10202:30;10268:26;10248:18;;;10241:54;10312:18;;45338:34:0;9988:348:1;45279:473:0;45403:35;45394:5;:44;;;;;;;;:::i;:::-;;45390:362;;;45455:41;;-1:-1:-1;;;45455:41:0;;11237:2:1;45455:41:0;;;11219:21:1;11276:2;11256:18;;;11249:30;11315:33;11295:18;;;11288:61;11366:18;;45455:41:0;11035:355:1;45390:362:0;45527:30;45518:5;:39;;;;;;;;:::i;:::-;;45514:238;;;45574:44;;-1:-1:-1;;;45574:44:0;;13951:2:1;45574:44:0;;;13933:21:1;13990:2;13970:18;;;13963:30;14029:34;14009:18;;;14002:62;-1:-1:-1;;;14080:18:1;;;14073:32;14122:19;;45574:44:0;13749:398:1;45514:238:0;45649:30;45640:5;:39;;;;;;;;:::i;:::-;;45636:116;;;45696:44;;-1:-1:-1;;;45696:44:0;;16353:2:1;45696:44:0;;;16335:21:1;16392:2;16372:18;;;16365:30;16431:34;16411:18;;;16404:62;-1:-1:-1;;;16482:18:1;;;16475:32;16524:19;;45696:44:0;16151:398:1;50282:748:0;50413:7;;50463:66;50453:76;;50449:160;;;-1:-1:-1;50562:1:0;;-1:-1:-1;50566:30:0;50546:51;;50449:160;50623:1;:7;;50628:2;50623:7;;:18;;;;;50634:1;:7;;50639:2;50634:7;;50623:18;50619:102;;;-1:-1:-1;50674:1:0;;-1:-1:-1;50678:30:0;50658:51;;50619:102;50835:24;;;50818:14;50835:24;;;;;;;;;9588:25:1;;;9661:4;9649:17;;9629:18;;;9622:45;;;;9683:18;;;9676:34;;;9726:18;;;9719:34;;;50835:24:0;;9560:19:1;;50835:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;50835:24:0;;-1:-1:-1;;50835:24:0;;;-1:-1:-1;;;;;;;50874:20:0;;50870:103;;50927:1;50931:29;50911:50;;;;;;;50870:103;50993:6;-1:-1:-1;51001:20:0;;-1:-1:-1;50282:748:0;;;;;;;;:::o;49449:391::-;49563:7;;-1:-1:-1;;;;;49664:75:0;;49766:3;49762:12;;;49776:2;49758:21;49807:25;49818:4;49758:21;49827:1;49664:75;49807:10;:25::i;:::-;49800:32;;;;;;49449:391;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:160::-;257:20;;313:13;;306:21;296:32;;286:60;;342:1;339;332:12;357:718;399:5;452:3;445:4;437:6;433:17;429:27;419:55;;470:1;467;460:12;419:55;506:6;493:20;532:18;569:2;565;562:10;559:36;;;575:18;;:::i;:::-;650:2;644:9;618:2;704:13;;-1:-1:-1;;700:22:1;;;724:2;696:31;692:40;680:53;;;748:18;;;768:22;;;745:46;742:72;;;794:18;;:::i;:::-;834:10;830:2;823:22;869:2;861:6;854:18;915:3;908:4;903:2;895:6;891:15;887:26;884:35;881:55;;;932:1;929;922:12;881:55;996:2;989:4;981:6;977:17;970:4;962:6;958:17;945:54;1043:1;1036:4;1031:2;1023:6;1019:15;1015:26;1008:37;1063:6;1054:15;;;;;;357:718;;;;:::o;1080:186::-;1139:6;1192:2;1180:9;1171:7;1167:23;1163:32;1160:52;;;1208:1;1205;1198:12;1160:52;1231:29;1250:9;1231:29;:::i;:::-;1221:39;1080:186;-1:-1:-1;;;1080:186:1:o;1271:260::-;1339:6;1347;1400:2;1388:9;1379:7;1375:23;1371:32;1368:52;;;1416:1;1413;1406:12;1368:52;1439:29;1458:9;1439:29;:::i;:::-;1429:39;;1487:38;1521:2;1510:9;1506:18;1487:38;:::i;:::-;1477:48;;1271:260;;;;;:::o;1536:328::-;1613:6;1621;1629;1682:2;1670:9;1661:7;1657:23;1653:32;1650:52;;;1698:1;1695;1688:12;1650:52;1721:29;1740:9;1721:29;:::i;:::-;1711:39;;1769:38;1803:2;1792:9;1788:18;1769:38;:::i;:::-;1759:48;;1854:2;1843:9;1839:18;1826:32;1816:42;;1536:328;;;;;:::o;1869:537::-;1964:6;1972;1980;1988;2041:3;2029:9;2020:7;2016:23;2012:33;2009:53;;;2058:1;2055;2048:12;2009:53;2081:29;2100:9;2081:29;:::i;:::-;2071:39;;2129:38;2163:2;2152:9;2148:18;2129:38;:::i;:::-;2119:48;;2214:2;2203:9;2199:18;2186:32;2176:42;;2269:2;2258:9;2254:18;2241:32;2296:18;2288:6;2285:30;2282:50;;;2328:1;2325;2318:12;2282:50;2351:49;2392:7;2383:6;2372:9;2368:22;2351:49;:::i;:::-;2341:59;;;1869:537;;;;;;;:::o;2411:254::-;2476:6;2484;2537:2;2525:9;2516:7;2512:23;2508:32;2505:52;;;2553:1;2550;2543:12;2505:52;2576:29;2595:9;2576:29;:::i;:::-;2566:39;;2624:35;2655:2;2644:9;2640:18;2624:35;:::i;2670:254::-;2738:6;2746;2799:2;2787:9;2778:7;2774:23;2770:32;2767:52;;;2815:1;2812;2805:12;2767:52;2838:29;2857:9;2838:29;:::i;:::-;2828:39;2914:2;2899:18;;;;2886:32;;-1:-1:-1;;;2670:254:1:o;2929:615::-;3015:6;3023;3076:2;3064:9;3055:7;3051:23;3047:32;3044:52;;;3092:1;3089;3082:12;3044:52;3132:9;3119:23;3161:18;3202:2;3194:6;3191:14;3188:34;;;3218:1;3215;3208:12;3188:34;3256:6;3245:9;3241:22;3231:32;;3301:7;3294:4;3290:2;3286:13;3282:27;3272:55;;3323:1;3320;3313:12;3272:55;3363:2;3350:16;3389:2;3381:6;3378:14;3375:34;;;3405:1;3402;3395:12;3375:34;3458:7;3453:2;3443:6;3440:1;3436:14;3432:2;3428:23;3424:32;3421:45;3418:65;;;3479:1;3476;3469:12;3418:65;3510:2;3502:11;;;;;3532:6;;-1:-1:-1;2929:615:1;;-1:-1:-1;;;;2929:615:1:o;3549:180::-;3605:6;3658:2;3646:9;3637:7;3633:23;3629:32;3626:52;;;3674:1;3671;3664:12;3626:52;3697:26;3713:9;3697:26;:::i;3734:245::-;3792:6;3845:2;3833:9;3824:7;3820:23;3816:32;3813:52;;;3861:1;3858;3851:12;3813:52;3900:9;3887:23;3919:30;3943:5;3919:30;:::i;3984:249::-;4053:6;4106:2;4094:9;4085:7;4081:23;4077:32;4074:52;;;4122:1;4119;4112:12;4074:52;4154:9;4148:16;4173:30;4197:5;4173:30;:::i;4238:388::-;4315:6;4323;4376:2;4364:9;4355:7;4351:23;4347:32;4344:52;;;4392:1;4389;4382:12;4344:52;4432:9;4419:23;4465:18;4457:6;4454:30;4451:50;;;4497:1;4494;4487:12;4451:50;4520:49;4561:7;4552:6;4541:9;4537:22;4520:49;:::i;:::-;4510:59;4616:2;4601:18;;;;4588:32;;-1:-1:-1;;;;4238:388:1:o;4631:592::-;4702:6;4710;4763:2;4751:9;4742:7;4738:23;4734:32;4731:52;;;4779:1;4776;4769:12;4731:52;4819:9;4806:23;4848:18;4889:2;4881:6;4878:14;4875:34;;;4905:1;4902;4895:12;4875:34;4943:6;4932:9;4928:22;4918:32;;4988:7;4981:4;4977:2;4973:13;4969:27;4959:55;;5010:1;5007;5000:12;4959:55;5050:2;5037:16;5076:2;5068:6;5065:14;5062:34;;;5092:1;5089;5082:12;5062:34;5137:7;5132:2;5123:6;5119:2;5115:15;5111:24;5108:37;5105:57;;;5158:1;5155;5148:12;5228:180;5287:6;5340:2;5328:9;5319:7;5315:23;5311:32;5308:52;;;5356:1;5353;5346:12;5308:52;-1:-1:-1;5379:23:1;;5228:180;-1:-1:-1;5228:180:1:o;5413:257::-;5454:3;5492:5;5486:12;5519:6;5514:3;5507:19;5535:63;5591:6;5584:4;5579:3;5575:14;5568:4;5561:5;5557:16;5535:63;:::i;:::-;5652:2;5631:15;-1:-1:-1;;5627:29:1;5618:39;;;;5659:4;5614:50;;5413:257;-1:-1:-1;;5413:257:1:o;5675:185::-;5717:3;5755:5;5749:12;5770:52;5815:6;5810:3;5803:4;5796:5;5792:16;5770:52;:::i;:::-;5838:16;;;;;5675:185;-1:-1:-1;;5675:185:1:o;5865:397::-;6079:26;6075:31;6066:6;6062:2;6058:15;6054:53;6049:3;6042:66;6024:3;6137:6;6131:13;6153:62;6208:6;6203:2;6198:3;6194:12;6187:4;6179:6;6175:17;6153:62;:::i;:::-;6235:16;;;;6253:2;6231:25;;5865:397;-1:-1:-1;;;5865:397:1:o;6267:1174::-;6443:3;6472:1;6505:6;6499:13;6535:3;6557:1;6585:9;6581:2;6577:18;6567:28;;6645:2;6634:9;6630:18;6667;6657:61;;6711:4;6703:6;6699:17;6689:27;;6657:61;6737:2;6785;6777:6;6774:14;6754:18;6751:38;6748:165;;;-1:-1:-1;;;6812:33:1;;6868:4;6865:1;6858:15;6898:4;6819:3;6886:17;6748:165;6929:18;6956:104;;;;7074:1;7069:320;;;;6922:467;;6956:104;-1:-1:-1;;6989:24:1;;6977:37;;7034:16;;;;-1:-1:-1;6956:104:1;;7069:320;22066:1;22059:14;;;22103:4;22090:18;;7164:1;7178:165;7192:6;7189:1;7186:13;7178:165;;;7270:14;;7257:11;;;7250:35;7313:16;;;;7207:10;;7178:165;;;7182:3;;7372:6;7367:3;7363:16;7356:23;;6922:467;;;;;;;7405:30;7431:3;7423:6;7405:30;:::i;:::-;7398:37;6267:1174;-1:-1:-1;;;;;6267:1174:1:o;8039:488::-;-1:-1:-1;;;;;8308:15:1;;;8290:34;;8360:15;;8355:2;8340:18;;8333:43;8407:2;8392:18;;8385:34;;;8455:3;8450:2;8435:18;;8428:31;;;8233:4;;8476:45;;8501:19;;8493:6;8476:45;:::i;:::-;8468:53;8039:488;-1:-1:-1;;;;;;8039:488:1:o;8532:632::-;8703:2;8755:21;;;8825:13;;8728:18;;;8847:22;;;8674:4;;8703:2;8926:15;;;;8900:2;8885:18;;;8674:4;8969:169;8983:6;8980:1;8977:13;8969:169;;;9044:13;;9032:26;;9113:15;;;;9078:12;;;;9005:1;8998:9;8969:169;;;-1:-1:-1;9155:3:1;;8532:632;-1:-1:-1;;;;;;8532:632:1:o;9764:219::-;9913:2;9902:9;9895:21;9876:4;9933:44;9973:2;9962:9;9958:18;9950:6;9933:44;:::i;11807:414::-;12009:2;11991:21;;;12048:2;12028:18;;;12021:30;12087:34;12082:2;12067:18;;12060:62;-1:-1:-1;;;12153:2:1;12138:18;;12131:48;12211:3;12196:19;;11807:414::o;17328:356::-;17530:2;17512:21;;;17549:18;;;17542:30;17608:34;17603:2;17588:18;;17581:62;17675:2;17660:18;;17328:356::o;19266:334::-;19468:2;19450:21;;;19507:2;19487:18;;;19480:30;-1:-1:-1;;;19541:2:1;19526:18;;19519:40;19591:2;19576:18;;19266:334::o;19605:413::-;19807:2;19789:21;;;19846:2;19826:18;;;19819:30;19885:34;19880:2;19865:18;;19858:62;-1:-1:-1;;;19951:2:1;19936:18;;19929:47;20008:3;19993:19;;19605:413::o;22119:128::-;22159:3;22190:1;22186:6;22183:1;22180:13;22177:39;;;22196:18;;:::i;:::-;-1:-1:-1;22232:9:1;;22119:128::o;22252:120::-;22292:1;22318;22308:35;;22323:18;;:::i;:::-;-1:-1:-1;22357:9:1;;22252:120::o;22377:168::-;22417:7;22483:1;22479;22475:6;22471:14;22468:1;22465:21;22460:1;22453:9;22446:17;22442:45;22439:71;;;22490:18;;:::i;:::-;-1:-1:-1;22530:9:1;;22377:168::o;22550:125::-;22590:4;22618:1;22615;22612:8;22609:34;;;22623:18;;:::i;:::-;-1:-1:-1;22660:9:1;;22550:125::o;22680:258::-;22752:1;22762:113;22776:6;22773:1;22770:13;22762:113;;;22852:11;;;22846:18;22833:11;;;22826:39;22798:2;22791:10;22762:113;;;22893:6;22890:1;22887:13;22884:48;;;-1:-1:-1;;22928:1:1;22910:16;;22903:27;22680:258::o;22943:380::-;23022:1;23018:12;;;;23065;;;23086:61;;23140:4;23132:6;23128:17;23118:27;;23086:61;23193:2;23185:6;23182:14;23162:18;23159:38;23156:161;;;23239:10;23234:3;23230:20;23227:1;23220:31;23274:4;23271:1;23264:15;23302:4;23299:1;23292:15;23156:161;;22943:380;;;:::o;23328:135::-;23367:3;-1:-1:-1;;23388:17:1;;23385:43;;;23408:18;;:::i;:::-;-1:-1:-1;23455:1:1;23444:13;;23328:135::o;23468:112::-;23500:1;23526;23516:35;;23531:18;;:::i;:::-;-1:-1:-1;23565:9:1;;23468:112::o;23585:127::-;23646:10;23641:3;23637:20;23634:1;23627:31;23677:4;23674:1;23667:15;23701:4;23698:1;23691:15;23717:127;23778:10;23773:3;23769:20;23766:1;23759:31;23809:4;23806:1;23799:15;23833:4;23830:1;23823:15;23849:127;23910:10;23905:3;23901:20;23898:1;23891:31;23941:4;23938:1;23931:15;23965:4;23962:1;23955:15;23981:127;24042:10;24037:3;24033:20;24030:1;24023:31;24073:4;24070:1;24063:15;24097:4;24094:1;24087:15;24113:127;24174:10;24169:3;24165:20;24162:1;24155:31;24205:4;24202:1;24195:15;24229:4;24226:1;24219:15;24245:127;24306:10;24301:3;24297:20;24294:1;24287:31;24337:4;24334:1;24327:15;24361:4;24358:1;24351:15;24377:131;-1:-1:-1;;;;;;24451:32:1;;24441:43;;24431:71;;24498:1;24495;24488:12

Swarm Source

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