ETH Price: $2,667.37 (+0.50%)
Gas: 17 Gwei

Token

Unit Collection (Unit)
 

Overview

Max Total Supply

710 Unit

Holders

131

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 Unit
0x6e4e3b52986e46b4d656c49b8c18c742e311e354
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:
UnitNFTCollection

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 2000 runs

Other Settings:
default evmVersion, MIT license
File 1 of 24 : UnitNFTCollection.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

/*
    The Unit Collection is the final step of the absolute unit game and was a revolutionary new way to launch a
    PFP NFT collection on the Ethereum blockchain.
*/
contract UnitNFTCollection is ERC721Enumerable, Ownable, ReentrancyGuard {
    string private _baseTokenURI;
    mapping(address => uint256) private unitEligibleAddresses;
    address[] private absUnitEligibleAddresses;
    address private theAbsoluteUnit;
    uint256 private endClaimingDateAndTime;
    bool private initialized;

    modifier onlyClaimingPeriod() {
        require(endClaimingDateAndTime > block.timestamp, "Claiming period is over");
        _;
    }

    constructor() ERC721("Unit Collection", "Unit") {}

    function initialize(
        string memory baseURI,
        address _owner,
        address[] memory _unitEligibleAddresses,
        uint256[] memory _unitCounts,
        address[] memory _absUnitEligibleAddresses,
        address _theAbsoluteUnit,
        uint256 _endClaimingDateAndTime
    ) external nonReentrant onlyOwner {
        require(initialized == false, "wut??");
        initialized = true;
        setBaseURI(baseURI);
        theAbsoluteUnit = _theAbsoluteUnit;
        endClaimingDateAndTime = _endClaimingDateAndTime;
        absUnitEligibleAddresses = _absUnitEligibleAddresses;
        for (uint256 i = 0; i < _unitEligibleAddresses.length; i++) {
            address eligibleAddress = _unitEligibleAddresses[i];
            uint256 count = _unitCounts[i];
            unitEligibleAddresses[eligibleAddress] = count;
        }
        transferOwnership(_owner);
    }

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

    function setBaseURI(string memory baseURI_) public onlyOwner {
        _baseTokenURI = baseURI_;
    }

    function setEndClaimingPeriod(uint256 _endClaimingDateAndTime) external onlyOwner {
        endClaimingDateAndTime = _endClaimingDateAndTime;
    }

    function claimUnits(uint256 count) external nonReentrant onlyClaimingPeriod {
        require(unitEligibleAddresses[msg.sender] > 0, "You are not eligible to claim");
        uint256 currentSupply = totalSupply();

        for (uint256 i = 0; i < count && unitEligibleAddresses[msg.sender] > 0; i++) {
            unitEligibleAddresses[msg.sender] -= 1;
            _mint(msg.sender, currentSupply + i);
        }
    }

    function claimTheAbsUnit() external nonReentrant onlyClaimingPeriod {
        require(theAbsoluteUnit == msg.sender, "You are not eligible to claim");
        theAbsoluteUnit = address(0);
        _mint(msg.sender, 1001);
    }

    function claimPastAbsUnitHolders() external nonReentrant onlyClaimingPeriod {
        uint256 index;
        for (uint256 i = 0; i < absUnitEligibleAddresses.length; i++) {
            if (absUnitEligibleAddresses[i] == msg.sender) {
                absUnitEligibleAddresses[i] = address(0);
                index = i + 1;
                break;
            }
        }
        require(index > 0, "You are not eligible to claim");
        _mint(msg.sender, 1001 + index);
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (endClaimingDateAndTime > block.timestamp) {
            return "https://absunit.co/assets/nft-placeholder.json";
        } else {
            string memory uri = super.tokenURI(tokenId);
            return string(abi.encodePacked(uri, ".json"));
        }
    }
}

File 2 of 24 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token");

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

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

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

File 3 of 24 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 4 of 24 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 5 of 24 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 6 of 24 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

File 7 of 24 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver(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,
        uint256 tokenId
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 24 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 10 of 24 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 11 of 24 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 12 of 24 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 13 of 24 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 14 of 24 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 15 of 24 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 16 of 24 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 17 of 24 : ERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `account`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(account != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][account] += amount;
        emit TransferSingle(operator, address(0), account, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), account, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `account`
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 accountBalance = _balances[id][account];
        require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][account] = accountBalance - amount;
        }

        emit TransferSingle(operator, account, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 accountBalance = _balances[id][account];
            require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][account] = accountBalance - amount;
            }
        }

        emit TransferBatch(operator, account, address(0), ids, amounts);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver(to).onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver(to).onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 18 of 24 : IERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

File 19 of 24 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @param operator The address which initiated the batch transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param ids An array containing ids of each token being transferred (order and length must match values array)
        @param values An array containing amounts of each token being transferred (order and length must match ids array)
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 20 of 24 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 21 of 24 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 22 of 24 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 23 of 24 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 24 of 24 : ERC1155Supply.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of ERC1155 that adds tracking of total supply per id.
 *
 * Useful for scenarios where Fungible and Non-fungible tokens have to be
 * clearly identified. Note: While a totalSupply of 1 might mean the
 * corresponding is an NFT, there is no guarantees that no other token with the
 * same id are not going to be minted.
 */
abstract contract ERC1155Supply is ERC1155 {
    mapping(uint256 => uint256) private _totalSupply;

    /**
     * @dev Total amount of tokens in with a given id.
     */
    function totalSupply(uint256 id) public view virtual returns (uint256) {
        return _totalSupply[id];
    }

    /**
     * @dev Indicates weither any token exist with a given id, or not.
     */
    function exists(uint256 id) public view virtual returns (bool) {
        return ERC1155Supply.totalSupply(id) > 0;
    }

    /**
     * @dev See {ERC1155-_mint}.
     */
    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual override {
        super._mint(account, id, amount, data);
        _totalSupply[id] += amount;
    }

    /**
     * @dev See {ERC1155-_mintBatch}.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._mintBatch(to, ids, amounts, data);
        for (uint256 i = 0; i < ids.length; ++i) {
            _totalSupply[ids[i]] += amounts[i];
        }
    }

    /**
     * @dev See {ERC1155-_burn}.
     */
    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal virtual override {
        super._burn(account, id, amount);
        _totalSupply[id] -= amount;
    }

    /**
     * @dev See {ERC1155-_burnBatch}.
     */
    function _burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual override {
        super._burnBatch(account, ids, amounts);
        for (uint256 i = 0; i < ids.length; ++i) {
            _totalSupply[ids[i]] -= amounts[i];
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 2000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

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":[],"name":"claimPastAbsUnitHolders","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimTheAbsUnit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"claimUnits","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":"string","name":"baseURI","type":"string"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address[]","name":"_unitEligibleAddresses","type":"address[]"},{"internalType":"uint256[]","name":"_unitCounts","type":"uint256[]"},{"internalType":"address[]","name":"_absUnitEligibleAddresses","type":"address[]"},{"internalType":"address","name":"_theAbsoluteUnit","type":"address"},{"internalType":"uint256","name":"_endClaimingDateAndTime","type":"uint256"}],"name":"initialize","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":[],"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_endClaimingDateAndTime","type":"uint256"}],"name":"setEndClaimingPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604080518082018252600f81526e2ab734ba1021b7b63632b1ba34b7b760891b602080830191825283518085019094526004845263155b9a5d60e21b9084015281519192916200006591600091620000f9565b5080516200007b906001906020840190620000f9565b5050506200009862000092620000a360201b60201c565b620000a7565b6001600b55620001dc565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000107906200019f565b90600052602060002090601f0160209004810192826200012b576000855562000176565b82601f106200014657805160ff191683800117855562000176565b8280016001018555821562000176579182015b828111156200017657825182559160200191906001019062000159565b506200018492915062000188565b5090565b5b8082111562000184576000815560010162000189565b600181811c90821680620001b457607f821691505b60208210811415620001d657634e487b7160e01b600052602260045260246000fd5b50919050565b61292880620001ec6000396000f3fe608060405234801561001057600080fd5b50600436106101a35760003560e01c80636da23cc4116100ee578063a22cb46511610097578063cf808a1c11610071578063cf808a1c14610339578063e985e9c51461034c578063f2fde38b14610388578063fa3f4bd61461039b57600080fd5b8063a22cb46514610300578063b88d4fde14610313578063c87b56dd1461032657600080fd5b8063838e0c69116100c8578063838e0c69146102df5780638da5cb5b146102e757806395d89b41146102f857600080fd5b80636da23cc4146102bc57806370a08231146102c4578063715018a6146102d757600080fd5b80632f745c59116101505780634f6ccce71161012a5780634f6ccce71461028357806355f804b3146102965780636352211e146102a957600080fd5b80632f745c591461024a5780633a1f27a51461025d57806342842e0e1461027057600080fd5b8063095ea7b311610181578063095ea7b31461021057806318160ddd1461022557806323b872dd1461023757600080fd5b806301ffc9a7146101a857806306fdde03146101d0578063081812fc146101e5575b600080fd5b6101bb6101b63660046124c7565b6103ae565b60405190151581526020015b60405180910390f35b6101d861040a565b6040516101c791906126f5565b6101f86101f3366004612605565b61049c565b6040516001600160a01b0390911681526020016101c7565b61022361021e36600461249e565b610547565b005b6008545b6040519081526020016101c7565b6102236102453660046123b0565b610679565b61022961025836600461249e565b610700565b61022361026b366004612532565b6107a8565b61022361027e3660046123b0565b6109b2565b610229610291366004612605565b6109cd565b6102236102a43660046124ff565b610a7f565b6101f86102b7366004612605565b610af0565b610223610b7b565b6102296102d2366004612364565b610d63565b610223610dfd565b610223610e63565b600a546001600160a01b03166101f8565b6101d8610f96565b61022361030e366004612464565b610fa5565b6102236103213660046123eb565b61106a565b6101d8610334366004612605565b6110f8565b610223610347366004612605565b61115d565b6101bb61035a36600461237e565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610223610396366004612364565b6112e4565b6102236103a9366004612605565b6113c6565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610404575061040482611425565b92915050565b606060008054610419906127cc565b80601f0160208091040260200160405190810160405280929190818152602001828054610445906127cc565b80156104925780601f1061046757610100808354040283529160200191610492565b820191906000526020600020905b81548152906001019060200180831161047557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661052b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061055282610af0565b9050806001600160a01b0316836001600160a01b031614156105dc5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610522565b336001600160a01b03821614806105f857506105f8813361035a565b61066a5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610522565b6106748383611508565b505050565b6106833382611583565b6106f55760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610522565b61067483838361168b565b600061070b83610d63565b821061077f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610522565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6002600b5414156107fb5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610522565b6002600b55600a546001600160a01b0316331461085a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610522565b60115460ff16156108ad5760405162461bcd60e51b815260206004820152600560248201527f7775743f3f0000000000000000000000000000000000000000000000000000006044820152606401610522565b6011805460ff191660011790556108c387610a7f565b600f805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384161790556010819055825161090390600e906020860190612108565b5060005b855181101561099a57600086828151811061093257634e487b7160e01b600052603260045260246000fd5b60200260200101519050600086838151811061095e57634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b039093166000908152600d9091526040902091909155508061099281612807565b915050610907565b506109a4866112e4565b50506001600b555050505050565b6106748383836040518060200160405280600081525061106a565b60006109d860085490565b8210610a4c5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610522565b60088281548110610a6d57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b03163314610ad95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610522565b8051610aec90600c90602084019061217a565b5050565b6000818152600260205260408120546001600160a01b0316806104045760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610522565b6002600b541415610bce5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610522565b6002600b556010544210610c245760405162461bcd60e51b815260206004820152601760248201527f436c61696d696e6720706572696f64206973206f7665720000000000000000006044820152606401610522565b6000805b600e54811015610cf557336001600160a01b0316600e8281548110610c5d57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610ce3576000600e8281548110610c9b57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055610cdc81600161275d565b9150610cf5565b80610ced81612807565b915050610c28565b5060008111610d465760405162461bcd60e51b815260206004820152601d60248201527f596f7520617265206e6f7420656c696769626c6520746f20636c61696d0000006044820152606401610522565b610d5b33610d56836103e961275d565b611870565b506001600b55565b60006001600160a01b038216610de15760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610522565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610e575760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610522565b610e6160006119cb565b565b6002600b541415610eb65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610522565b6002600b556010544210610f0c5760405162461bcd60e51b815260206004820152601760248201527f436c61696d696e6720706572696f64206973206f7665720000000000000000006044820152606401610522565b600f546001600160a01b03163314610f665760405162461bcd60e51b815260206004820152601d60248201527f596f7520617265206e6f7420656c696769626c6520746f20636c61696d0000006044820152606401610522565b600f805473ffffffffffffffffffffffffffffffffffffffff19169055610f8f336103e9611870565b6001600b55565b606060018054610419906127cc565b6001600160a01b038216331415610ffe5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610522565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110743383611583565b6110e65760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610522565b6110f284848484611a2a565b50505050565b6060426010541115611123576040518060600160405280602e81526020016128c5602e913992915050565b600061112e83611ab3565b9050806040516020016111419190612678565b604051602081830303815290604052915050919050565b919050565b6002600b5414156111b05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610522565b6002600b5560105442106112065760405162461bcd60e51b815260206004820152601760248201527f436c61696d696e6720706572696f64206973206f7665720000000000000000006044820152606401610522565b336000908152600d60205260409020546112625760405162461bcd60e51b815260206004820152601d60248201527f596f7520617265206e6f7420656c696769626c6520746f20636c61696d0000006044820152606401610522565b600061126d60085490565b905060005b828110801561128f5750336000908152600d602052604090205415155b156112da57336000908152600d602052604081208054600192906112b4908490612789565b909155506112c8905033610d56838561275d565b806112d281612807565b915050611272565b50506001600b5550565b600a546001600160a01b0316331461133e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610522565b6001600160a01b0381166113ba5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610522565b6113c3816119cb565b50565b600a546001600160a01b031633146114205760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610522565b601055565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806114b857507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061040457507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610404565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155819061154a82610af0565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661160d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610522565b600061161883610af0565b9050806001600160a01b0316846001600160a01b031614806116535750836001600160a01b03166116488461049c565b6001600160a01b0316145b8061168357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661169e82610af0565b6001600160a01b03161461171a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610522565b6001600160a01b0382166117955760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610522565b6117a0838383611b8c565b6117ab600082611508565b6001600160a01b03831660009081526003602052604081208054600192906117d4908490612789565b90915550506001600160a01b038216600090815260036020526040812080546001929061180290849061275d565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0382166118c65760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610522565b6000818152600260205260409020546001600160a01b03161561192b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610522565b61193760008383611b8c565b6001600160a01b038216600090815260036020526040812080546001929061196090849061275d565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600a80546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611a3584848461168b565b611a4184848484611c44565b6110f25760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610522565b6000818152600260205260409020546060906001600160a01b0316611b405760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610522565b6000611b4a611df1565b90506000815111611b6a5760405180602001604052806000815250611b85565b80611b7484611e00565b604051602001611141929190612649565b9392505050565b6001600160a01b038316611be757611be281600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611c0a565b816001600160a01b0316836001600160a01b031614611c0a57611c0a8382611f4e565b6001600160a01b038216611c215761067481611feb565b826001600160a01b0316826001600160a01b0316146106745761067482826120c4565b60006001600160a01b0384163b15611de6576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290611ca19033908990889088906004016126b9565b602060405180830381600087803b158015611cbb57600080fd5b505af1925050508015611ceb575060408051601f3d908101601f19168201909252611ce8918101906124e3565b60015b611d9b573d808015611d19576040519150601f19603f3d011682016040523d82523d6000602084013e611d1e565b606091505b508051611d935760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610522565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611683565b506001949350505050565b6060600c8054610419906127cc565b606081611e4057505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611e6a5780611e5481612807565b9150611e639050600a83612775565b9150611e44565b60008167ffffffffffffffff811115611e9357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611ebd576020820181803683370190505b5090505b841561168357611ed2600183612789565b9150611edf600a86612840565b611eea90603061275d565b60f81b818381518110611f0d57634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611f47600a86612775565b9450611ec1565b60006001611f5b84610d63565b611f659190612789565b600083815260076020526040902054909150808214611fb8576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611ffd90600190612789565b6000838152600960205260408120546008805493945090928490811061203357634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061206257634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806120a857634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006120cf83610d63565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b82805482825590600052602060002090810192821561216a579160200282015b8281111561216a578251825473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03909116178255602090920191600190910190612128565b506121769291506121ee565b5090565b828054612186906127cc565b90600052602060002090601f0160209004810192826121a8576000855561216a565b82601f106121c157805160ff191683800117855561216a565b8280016001018555821561216a579182015b8281111561216a5782518255916020019190600101906121d3565b5b8082111561217657600081556001016121ef565b600067ffffffffffffffff83111561221d5761221d612880565b6122306020601f19601f86011601612708565b905082815283838301111561224457600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461115857600080fd5b600082601f830112612282578081fd5b8135602061229761229283612739565b612708565b80838252828201915082860187848660051b89010111156122b6578586fd5b855b858110156122db576122c98261225b565b845292840192908401906001016122b8565b5090979650505050505050565b600082601f8301126122f8578081fd5b8135602061230861229283612739565b80838252828201915082860187848660051b8901011115612327578586fd5b855b858110156122db57813584529284019290840190600101612329565b600082601f830112612355578081fd5b611b8583833560208501612203565b600060208284031215612375578081fd5b611b858261225b565b60008060408385031215612390578081fd5b6123998361225b565b91506123a76020840161225b565b90509250929050565b6000806000606084860312156123c4578081fd5b6123cd8461225b565b92506123db6020850161225b565b9150604084013590509250925092565b60008060008060808587031215612400578081fd5b6124098561225b565b93506124176020860161225b565b925060408501359150606085013567ffffffffffffffff811115612439578182fd5b8501601f81018713612449578182fd5b61245887823560208401612203565b91505092959194509250565b60008060408385031215612476578182fd5b61247f8361225b565b915060208301358015158114612493578182fd5b809150509250929050565b600080604083850312156124b0578182fd5b6124b98361225b565b946020939093013593505050565b6000602082840312156124d8578081fd5b8135611b8581612896565b6000602082840312156124f4578081fd5b8151611b8581612896565b600060208284031215612510578081fd5b813567ffffffffffffffff811115612526578182fd5b61168384828501612345565b600080600080600080600060e0888a03121561254c578283fd5b873567ffffffffffffffff80821115612563578485fd5b61256f8b838c01612345565b985061257d60208b0161225b565b975060408a0135915080821115612592578485fd5b61259e8b838c01612272565b965060608a01359150808211156125b3578485fd5b6125bf8b838c016122e8565b955060808a01359150808211156125d4578485fd5b506125e18a828b01612272565b9350506125f060a0890161225b565b915060c0880135905092959891949750929550565b600060208284031215612616578081fd5b5035919050565b600081518084526126358160208601602086016127a0565b601f01601f19169290920160200192915050565b6000835161265b8184602088016127a0565b83519083019061266f8183602088016127a0565b01949350505050565b6000825161268a8184602087016127a0565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000920191825250600501919050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526126eb608083018461261d565b9695505050505050565b602081526000611b85602083018461261d565b604051601f8201601f1916810167ffffffffffffffff8111828210171561273157612731612880565b604052919050565b600067ffffffffffffffff82111561275357612753612880565b5060051b60200190565b6000821982111561277057612770612854565b500190565b6000826127845761278461286a565b500490565b60008282101561279b5761279b612854565b500390565b60005b838110156127bb5781810151838201526020016127a3565b838111156110f25750506000910152565b600181811c908216806127e057607f821691505b6020821081141561280157634e487b7160e01b600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561283957612839612854565b5060010190565b60008261284f5761284f61286a565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b7fffffffff00000000000000000000000000000000000000000000000000000000811681146113c357600080fdfe68747470733a2f2f616273756e69742e636f2f6173736574732f6e66742d706c616365686f6c6465722e6a736f6ea26469706673582212205a6ef972aa11dcb819a449e787836b6ad26f145d145da12a64907174a6dc7d9964736f6c63430008040033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a35760003560e01c80636da23cc4116100ee578063a22cb46511610097578063cf808a1c11610071578063cf808a1c14610339578063e985e9c51461034c578063f2fde38b14610388578063fa3f4bd61461039b57600080fd5b8063a22cb46514610300578063b88d4fde14610313578063c87b56dd1461032657600080fd5b8063838e0c69116100c8578063838e0c69146102df5780638da5cb5b146102e757806395d89b41146102f857600080fd5b80636da23cc4146102bc57806370a08231146102c4578063715018a6146102d757600080fd5b80632f745c59116101505780634f6ccce71161012a5780634f6ccce71461028357806355f804b3146102965780636352211e146102a957600080fd5b80632f745c591461024a5780633a1f27a51461025d57806342842e0e1461027057600080fd5b8063095ea7b311610181578063095ea7b31461021057806318160ddd1461022557806323b872dd1461023757600080fd5b806301ffc9a7146101a857806306fdde03146101d0578063081812fc146101e5575b600080fd5b6101bb6101b63660046124c7565b6103ae565b60405190151581526020015b60405180910390f35b6101d861040a565b6040516101c791906126f5565b6101f86101f3366004612605565b61049c565b6040516001600160a01b0390911681526020016101c7565b61022361021e36600461249e565b610547565b005b6008545b6040519081526020016101c7565b6102236102453660046123b0565b610679565b61022961025836600461249e565b610700565b61022361026b366004612532565b6107a8565b61022361027e3660046123b0565b6109b2565b610229610291366004612605565b6109cd565b6102236102a43660046124ff565b610a7f565b6101f86102b7366004612605565b610af0565b610223610b7b565b6102296102d2366004612364565b610d63565b610223610dfd565b610223610e63565b600a546001600160a01b03166101f8565b6101d8610f96565b61022361030e366004612464565b610fa5565b6102236103213660046123eb565b61106a565b6101d8610334366004612605565b6110f8565b610223610347366004612605565b61115d565b6101bb61035a36600461237e565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610223610396366004612364565b6112e4565b6102236103a9366004612605565b6113c6565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610404575061040482611425565b92915050565b606060008054610419906127cc565b80601f0160208091040260200160405190810160405280929190818152602001828054610445906127cc565b80156104925780601f1061046757610100808354040283529160200191610492565b820191906000526020600020905b81548152906001019060200180831161047557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661052b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061055282610af0565b9050806001600160a01b0316836001600160a01b031614156105dc5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610522565b336001600160a01b03821614806105f857506105f8813361035a565b61066a5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610522565b6106748383611508565b505050565b6106833382611583565b6106f55760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610522565b61067483838361168b565b600061070b83610d63565b821061077f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610522565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6002600b5414156107fb5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610522565b6002600b55600a546001600160a01b0316331461085a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610522565b60115460ff16156108ad5760405162461bcd60e51b815260206004820152600560248201527f7775743f3f0000000000000000000000000000000000000000000000000000006044820152606401610522565b6011805460ff191660011790556108c387610a7f565b600f805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384161790556010819055825161090390600e906020860190612108565b5060005b855181101561099a57600086828151811061093257634e487b7160e01b600052603260045260246000fd5b60200260200101519050600086838151811061095e57634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b039093166000908152600d9091526040902091909155508061099281612807565b915050610907565b506109a4866112e4565b50506001600b555050505050565b6106748383836040518060200160405280600081525061106a565b60006109d860085490565b8210610a4c5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610522565b60088281548110610a6d57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b03163314610ad95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610522565b8051610aec90600c90602084019061217a565b5050565b6000818152600260205260408120546001600160a01b0316806104045760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610522565b6002600b541415610bce5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610522565b6002600b556010544210610c245760405162461bcd60e51b815260206004820152601760248201527f436c61696d696e6720706572696f64206973206f7665720000000000000000006044820152606401610522565b6000805b600e54811015610cf557336001600160a01b0316600e8281548110610c5d57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610ce3576000600e8281548110610c9b57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055610cdc81600161275d565b9150610cf5565b80610ced81612807565b915050610c28565b5060008111610d465760405162461bcd60e51b815260206004820152601d60248201527f596f7520617265206e6f7420656c696769626c6520746f20636c61696d0000006044820152606401610522565b610d5b33610d56836103e961275d565b611870565b506001600b55565b60006001600160a01b038216610de15760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610522565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610e575760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610522565b610e6160006119cb565b565b6002600b541415610eb65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610522565b6002600b556010544210610f0c5760405162461bcd60e51b815260206004820152601760248201527f436c61696d696e6720706572696f64206973206f7665720000000000000000006044820152606401610522565b600f546001600160a01b03163314610f665760405162461bcd60e51b815260206004820152601d60248201527f596f7520617265206e6f7420656c696769626c6520746f20636c61696d0000006044820152606401610522565b600f805473ffffffffffffffffffffffffffffffffffffffff19169055610f8f336103e9611870565b6001600b55565b606060018054610419906127cc565b6001600160a01b038216331415610ffe5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610522565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110743383611583565b6110e65760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610522565b6110f284848484611a2a565b50505050565b6060426010541115611123576040518060600160405280602e81526020016128c5602e913992915050565b600061112e83611ab3565b9050806040516020016111419190612678565b604051602081830303815290604052915050919050565b919050565b6002600b5414156111b05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610522565b6002600b5560105442106112065760405162461bcd60e51b815260206004820152601760248201527f436c61696d696e6720706572696f64206973206f7665720000000000000000006044820152606401610522565b336000908152600d60205260409020546112625760405162461bcd60e51b815260206004820152601d60248201527f596f7520617265206e6f7420656c696769626c6520746f20636c61696d0000006044820152606401610522565b600061126d60085490565b905060005b828110801561128f5750336000908152600d602052604090205415155b156112da57336000908152600d602052604081208054600192906112b4908490612789565b909155506112c8905033610d56838561275d565b806112d281612807565b915050611272565b50506001600b5550565b600a546001600160a01b0316331461133e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610522565b6001600160a01b0381166113ba5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610522565b6113c3816119cb565b50565b600a546001600160a01b031633146114205760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610522565b601055565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806114b857507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061040457507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610404565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155819061154a82610af0565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661160d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610522565b600061161883610af0565b9050806001600160a01b0316846001600160a01b031614806116535750836001600160a01b03166116488461049c565b6001600160a01b0316145b8061168357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661169e82610af0565b6001600160a01b03161461171a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610522565b6001600160a01b0382166117955760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610522565b6117a0838383611b8c565b6117ab600082611508565b6001600160a01b03831660009081526003602052604081208054600192906117d4908490612789565b90915550506001600160a01b038216600090815260036020526040812080546001929061180290849061275d565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0382166118c65760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610522565b6000818152600260205260409020546001600160a01b03161561192b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610522565b61193760008383611b8c565b6001600160a01b038216600090815260036020526040812080546001929061196090849061275d565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600a80546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611a3584848461168b565b611a4184848484611c44565b6110f25760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610522565b6000818152600260205260409020546060906001600160a01b0316611b405760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610522565b6000611b4a611df1565b90506000815111611b6a5760405180602001604052806000815250611b85565b80611b7484611e00565b604051602001611141929190612649565b9392505050565b6001600160a01b038316611be757611be281600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611c0a565b816001600160a01b0316836001600160a01b031614611c0a57611c0a8382611f4e565b6001600160a01b038216611c215761067481611feb565b826001600160a01b0316826001600160a01b0316146106745761067482826120c4565b60006001600160a01b0384163b15611de6576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290611ca19033908990889088906004016126b9565b602060405180830381600087803b158015611cbb57600080fd5b505af1925050508015611ceb575060408051601f3d908101601f19168201909252611ce8918101906124e3565b60015b611d9b573d808015611d19576040519150601f19603f3d011682016040523d82523d6000602084013e611d1e565b606091505b508051611d935760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610522565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611683565b506001949350505050565b6060600c8054610419906127cc565b606081611e4057505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611e6a5780611e5481612807565b9150611e639050600a83612775565b9150611e44565b60008167ffffffffffffffff811115611e9357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611ebd576020820181803683370190505b5090505b841561168357611ed2600183612789565b9150611edf600a86612840565b611eea90603061275d565b60f81b818381518110611f0d57634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611f47600a86612775565b9450611ec1565b60006001611f5b84610d63565b611f659190612789565b600083815260076020526040902054909150808214611fb8576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611ffd90600190612789565b6000838152600960205260408120546008805493945090928490811061203357634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061206257634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806120a857634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006120cf83610d63565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b82805482825590600052602060002090810192821561216a579160200282015b8281111561216a578251825473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03909116178255602090920191600190910190612128565b506121769291506121ee565b5090565b828054612186906127cc565b90600052602060002090601f0160209004810192826121a8576000855561216a565b82601f106121c157805160ff191683800117855561216a565b8280016001018555821561216a579182015b8281111561216a5782518255916020019190600101906121d3565b5b8082111561217657600081556001016121ef565b600067ffffffffffffffff83111561221d5761221d612880565b6122306020601f19601f86011601612708565b905082815283838301111561224457600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461115857600080fd5b600082601f830112612282578081fd5b8135602061229761229283612739565b612708565b80838252828201915082860187848660051b89010111156122b6578586fd5b855b858110156122db576122c98261225b565b845292840192908401906001016122b8565b5090979650505050505050565b600082601f8301126122f8578081fd5b8135602061230861229283612739565b80838252828201915082860187848660051b8901011115612327578586fd5b855b858110156122db57813584529284019290840190600101612329565b600082601f830112612355578081fd5b611b8583833560208501612203565b600060208284031215612375578081fd5b611b858261225b565b60008060408385031215612390578081fd5b6123998361225b565b91506123a76020840161225b565b90509250929050565b6000806000606084860312156123c4578081fd5b6123cd8461225b565b92506123db6020850161225b565b9150604084013590509250925092565b60008060008060808587031215612400578081fd5b6124098561225b565b93506124176020860161225b565b925060408501359150606085013567ffffffffffffffff811115612439578182fd5b8501601f81018713612449578182fd5b61245887823560208401612203565b91505092959194509250565b60008060408385031215612476578182fd5b61247f8361225b565b915060208301358015158114612493578182fd5b809150509250929050565b600080604083850312156124b0578182fd5b6124b98361225b565b946020939093013593505050565b6000602082840312156124d8578081fd5b8135611b8581612896565b6000602082840312156124f4578081fd5b8151611b8581612896565b600060208284031215612510578081fd5b813567ffffffffffffffff811115612526578182fd5b61168384828501612345565b600080600080600080600060e0888a03121561254c578283fd5b873567ffffffffffffffff80821115612563578485fd5b61256f8b838c01612345565b985061257d60208b0161225b565b975060408a0135915080821115612592578485fd5b61259e8b838c01612272565b965060608a01359150808211156125b3578485fd5b6125bf8b838c016122e8565b955060808a01359150808211156125d4578485fd5b506125e18a828b01612272565b9350506125f060a0890161225b565b915060c0880135905092959891949750929550565b600060208284031215612616578081fd5b5035919050565b600081518084526126358160208601602086016127a0565b601f01601f19169290920160200192915050565b6000835161265b8184602088016127a0565b83519083019061266f8183602088016127a0565b01949350505050565b6000825161268a8184602087016127a0565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000920191825250600501919050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526126eb608083018461261d565b9695505050505050565b602081526000611b85602083018461261d565b604051601f8201601f1916810167ffffffffffffffff8111828210171561273157612731612880565b604052919050565b600067ffffffffffffffff82111561275357612753612880565b5060051b60200190565b6000821982111561277057612770612854565b500190565b6000826127845761278461286a565b500490565b60008282101561279b5761279b612854565b500390565b60005b838110156127bb5781810151838201526020016127a3565b838111156110f25750506000910152565b600181811c908216806127e057607f821691505b6020821081141561280157634e487b7160e01b600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561283957612839612854565b5060010190565b60008261284f5761284f61286a565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b7fffffffff00000000000000000000000000000000000000000000000000000000811681146113c357600080fdfe68747470733a2f2f616273756e69742e636f2f6173736574732f6e66742d706c616365686f6c6465722e6a736f6ea26469706673582212205a6ef972aa11dcb819a449e787836b6ad26f145d145da12a64907174a6dc7d9964736f6c63430008040033

Deployed Bytecode Sourcemap

422:3302:23:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;910:222:14;;;;;;:::i;:::-;;:::i;:::-;;;9000:14:24;;8993:22;8975:41;;8963:2;8948:18;910:222:14;;;;;;;;2414:98:11;;;:::i;:::-;;;;;;;:::i;3925:217::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;8252:55:24;;;8234:74;;8222:2;8207:18;3925:217:11;8189:125:24;3463:401:11;;;;;;:::i;:::-;;:::i;:::-;;1535:111:14;1622:10;:17;1535:111;;;18007:25:24;;;17995:2;17980:18;1535:111:14;17962:76:24;4789:330:11;;;;;;:::i;:::-;;:::i;1211:253:14:-;;;;;;:::i;:::-;;:::i;954:887:23:-;;;;;;:::i;:::-;;:::i;5185:179:11:-;;;;;;:::i;:::-;;:::i;1718:230:14:-;;;;;;:::i;:::-;;:::i;1957:102:23:-;;;;;;:::i;:::-;;:::i;2117:235:11:-;;;;;;:::i;:::-;;:::i;2876:477:23:-;;;:::i;1855:205:11:-;;;;;;:::i;:::-;;:::i;1605:92:0:-;;;:::i;2643:227:23:-;;;:::i;973:85:0:-;1045:6;;-1:-1:-1;;;;;1045:6:0;973:85;;2576:102:11;;;:::i;4209:290::-;;;;;;:::i;:::-;;:::i;5430:320::-;;;;;;:::i;:::-;;:::i;3359:363:23:-;;;;;;:::i;:::-;;:::i;2218:419::-;;;;;;:::i;:::-;;:::i;4565:162:11:-;;;;;;:::i;:::-;-1:-1:-1;;;;;4685:25:11;;;4662:4;4685:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4565:162;1846:189:0;;;;;;:::i;:::-;;:::i;2065:147:23:-;;;;;;:::i;:::-;;:::i;910:222:14:-;1012:4;1035:50;;;1050:35;1035:50;;:90;;;1089:36;1113:11;1089:23;:36::i;:::-;1028:97;910:222;-1:-1:-1;;910:222:14:o;2414:98:11:-;2468:13;2500:5;2493:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2414:98;:::o;3925:217::-;4001:7;7310:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7310:16:11;4020:73;;;;-1:-1:-1;;;4020:73:11;;14179:2:24;4020:73:11;;;14161:21:24;14218:2;14198:18;;;14191:30;14257:34;14237:18;;;14230:62;14328:14;14308:18;;;14301:42;14360:19;;4020:73:11;;;;;;;;;-1:-1:-1;4111:24:11;;;;:15;:24;;;;;;-1:-1:-1;;;;;4111:24:11;;3925:217::o;3463:401::-;3543:13;3559:23;3574:7;3559:14;:23::i;:::-;3543:39;;3606:5;-1:-1:-1;;;;;3600:11:11;:2;-1:-1:-1;;;;;3600:11:11;;;3592:57;;;;-1:-1:-1;;;3592:57:11;;15779:2:24;3592:57:11;;;15761:21:24;15818:2;15798:18;;;15791:30;15857:34;15837:18;;;15830:62;15928:3;15908:18;;;15901:31;15949:19;;3592:57:11;15751:223:24;3592:57:11;665:10:19;-1:-1:-1;;;;;3681:21:11;;;;:62;;-1:-1:-1;3706:37:11;3723:5;665:10:19;4565:162:11;:::i;3706:37::-;3660:165;;;;-1:-1:-1;;;3660:165:11;;12220:2:24;3660:165:11;;;12202:21:24;12259:2;12239:18;;;12232:30;12298:34;12278:18;;;12271:62;12369:26;12349:18;;;12342:54;12413:19;;3660:165:11;12192:246:24;3660:165:11;3836:21;3845:2;3849:7;3836:8;:21::i;:::-;3463:401;;;:::o;4789:330::-;4978:41;665:10:19;5011:7:11;4978:18;:41::i;:::-;4970:103;;;;-1:-1:-1;;;4970:103:11;;16539:2:24;4970:103:11;;;16521:21:24;16578:2;16558:18;;;16551:30;16617:34;16597:18;;;16590:62;16688:19;16668:18;;;16661:47;16725:19;;4970:103:11;16511:239:24;4970:103:11;5084:28;5094:4;5100:2;5104:7;5084:9;:28::i;1211:253:14:-;1308:7;1343:23;1360:5;1343:16;:23::i;:::-;1335:5;:31;1327:87;;;;-1:-1:-1;;;1327:87:14;;9453:2:24;1327:87:14;;;9435:21:24;9492:2;9472:18;;;9465:30;9531:34;9511:18;;;9504:62;9602:13;9582:18;;;9575:41;9633:19;;1327:87:14;9425:233:24;1327:87:14;-1:-1:-1;;;;;;1431:19:14;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;1211:253::o;954:887:23:-;1680:1:1;2259:7;;:19;;2251:63;;;;-1:-1:-1;;;2251:63:1;;17703:2:24;2251:63:1;;;17685:21:24;17742:2;17722:18;;;17715:30;17781:33;17761:18;;;17754:61;17832:18;;2251:63:1;17675:181:24;2251:63:1;1680:1;2389:7;:18;1045:6:0;;-1:-1:-1;;;;;1045:6:0;665:10:19;1185:23:0::1;1177:68;;;::::0;-1:-1:-1;;;1177:68:0;;14592:2:24;1177:68:0::1;::::0;::::1;14574:21:24::0;;;14611:18;;;14604:30;14670:34;14650:18;;;14643:62;14722:18;;1177:68:0::1;14564:182:24::0;1177:68:0::1;1299:11:23::2;::::0;::::2;;:20;1291:38;;;::::0;-1:-1:-1;;;1291:38:23;;17370:2:24;1291:38:23::2;::::0;::::2;17352:21:24::0;17409:1;17389:18;;;17382:29;17447:7;17427:18;;;17420:35;17472:18;;1291:38:23::2;17342:154:24::0;1291:38:23::2;1339:11;:18:::0;;-1:-1:-1;;1339:18:23::2;1353:4;1339:18;::::0;;1367:19:::2;1378:7:::0;1367:10:::2;:19::i;:::-;1396:15;:34:::0;;-1:-1:-1;;1396:34:23::2;-1:-1:-1::0;;;;;1396:34:23;::::2;;::::0;;1440:22:::2;:48:::0;;;1498:52;;::::2;::::0;:24:::2;::::0;:52:::2;::::0;::::2;::::0;::::2;:::i;:::-;;1565:9;1560:240;1584:22;:29;1580:1;:33;1560:240;;;1634:23;1660:22;1683:1;1660:25;;;;;;-1:-1:-1::0;;;1660:25:23::2;;;;;;;;;;;;;;;1634:51;;1699:13;1715:11;1727:1;1715:14;;;;;;-1:-1:-1::0;;;1715:14:23::2;;;;;;;;;;::::0;;::::2;::::0;;;;;;;-1:-1:-1;;;;;1743:38:23;;::::2;;::::0;;;:21:::2;:38:::0;;;;;;:46;;;;-1:-1:-1;1615:3:23;::::2;::::0;::::2;:::i;:::-;;;;1560:240;;;;1809:25;1827:6;1809:17;:25::i;:::-;-1:-1:-1::0;;1637:1:1;2562:7;:22;-1:-1:-1;;;;;954:887:23:o;5185:179:11:-;5318:39;5335:4;5341:2;5345:7;5318:39;;;;;;;;;;;;:16;:39::i;1718:230:14:-;1793:7;1828:30;1622:10;:17;;1535:111;1828:30;1820:5;:38;1812:95;;;;-1:-1:-1;;;1812:95:14;;16957:2:24;1812:95:14;;;16939:21:24;16996:2;16976:18;;;16969:30;17035:34;17015:18;;;17008:62;17106:14;17086:18;;;17079:42;17138:19;;1812:95:14;16929:234:24;1812:95:14;1924:10;1935:5;1924:17;;;;;;-1:-1:-1;;;1924:17:14;;;;;;;;;;;;;;;;;1917:24;;1718:230;;;:::o;1957:102:23:-;1045:6:0;;-1:-1:-1;;;;;1045:6:0;665:10:19;1185:23:0;1177:68;;;;-1:-1:-1;;;1177:68:0;;14592:2:24;1177:68:0;;;14574:21:24;;;14611:18;;;14604:30;14670:34;14650:18;;;14643:62;14722:18;;1177:68:0;14564:182:24;1177:68:0;2028:24:23;;::::1;::::0;:13:::1;::::0;:24:::1;::::0;::::1;::::0;::::1;:::i;:::-;;1957:102:::0;:::o;2117:235:11:-;2189:7;2224:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2224:16:11;2258:19;2250:73;;;;-1:-1:-1;;;2250:73:11;;13056:2:24;2250:73:11;;;13038:21:24;13095:2;13075:18;;;13068:30;13134:34;13114:18;;;13107:62;13205:11;13185:18;;;13178:39;13234:19;;2250:73:11;13028:231:24;2876:477:23;1680:1:1;2259:7;;:19;;2251:63;;;;-1:-1:-1;;;2251:63:1;;17703:2:24;2251:63:1;;;17685:21:24;17742:2;17722:18;;;17715:30;17781:33;17761:18;;;17754:61;17832:18;;2251:63:1;17675:181:24;2251:63:1;1680:1;2389:7;:18;806:22:23::1;::::0;831:15:::1;-1:-1:-1::0;798:76:23::1;;;::::0;-1:-1:-1;;;798:76:23;;13466:2:24;798:76:23::1;::::0;::::1;13448:21:24::0;13505:2;13485:18;;;13478:30;13544:25;13524:18;;;13517:53;13587:18;;798:76:23::1;13438:173:24::0;798:76:23::1;2962:13:::2;::::0;2985:260:::2;3009:24;:31:::0;3005:35;::::2;2985:260;;;3096:10;-1:-1:-1::0;;;;;3065:41:23::2;:24;3090:1;3065:27;;;;;;-1:-1:-1::0;;;3065:27:23::2;;;;;;;;;;::::0;;;::::2;::::0;;;::::2;::::0;-1:-1:-1;;;;;3065:27:23::2;:41;3061:174;;;3164:1;3126:24;3151:1;3126:27;;;;;;-1:-1:-1::0;;;3126:27:23::2;;;;;;;;;;::::0;;;::::2;::::0;;;::::2;:40:::0;;-1:-1:-1;;3126:40:23::2;-1:-1:-1::0;;;;;3126:40:23;;;::::2;::::0;;;::::2;::::0;;3192:5:::2;:1:::0;-1:-1:-1;3192:5:23::2;:::i;:::-;3184:13;;3215:5;;3061:174;3042:3:::0;::::2;::::0;::::2;:::i;:::-;;;;2985:260;;;;3270:1;3262:5;:9;3254:51;;;::::0;-1:-1:-1;;;3254:51:23;;16181:2:24;3254:51:23::2;::::0;::::2;16163:21:24::0;16220:2;16200:18;;;16193:30;16259:31;16239:18;;;16232:59;16308:18;;3254:51:23::2;16153:179:24::0;3254:51:23::2;3315:31;3321:10;3333:12;3340:5:::0;3333:4:::2;:12;:::i;:::-;3315:5;:31::i;:::-;-1:-1:-1::0;1637:1:1;2562:7;:22;2876:477:23:o;1855:205:11:-;1927:7;-1:-1:-1;;;;;1954:19:11;;1946:74;;;;-1:-1:-1;;;1946:74:11;;12645:2:24;1946:74:11;;;12627:21:24;12684:2;12664:18;;;12657:30;12723:34;12703:18;;;12696:62;12794:12;12774:18;;;12767:40;12824:19;;1946:74:11;12617:232:24;1946:74:11;-1:-1:-1;;;;;;2037:16:11;;;;;:9;:16;;;;;;;1855:205::o;1605:92:0:-;1045:6;;-1:-1:-1;;;;;1045:6:0;665:10:19;1185:23:0;1177:68;;;;-1:-1:-1;;;1177:68:0;;14592:2:24;1177:68:0;;;14574:21:24;;;14611:18;;;14604:30;14670:34;14650:18;;;14643:62;14722:18;;1177:68:0;14564:182:24;1177:68:0;1669:21:::1;1687:1;1669:9;:21::i;:::-;1605:92::o:0;2643:227:23:-;1680:1:1;2259:7;;:19;;2251:63;;;;-1:-1:-1;;;2251:63:1;;17703:2:24;2251:63:1;;;17685:21:24;17742:2;17722:18;;;17715:30;17781:33;17761:18;;;17754:61;17832:18;;2251:63:1;17675:181:24;2251:63:1;1680:1;2389:7;:18;806:22:23::1;::::0;831:15:::1;-1:-1:-1::0;798:76:23::1;;;::::0;-1:-1:-1;;;798:76:23;;13466:2:24;798:76:23::1;::::0;::::1;13448:21:24::0;13505:2;13485:18;;;13478:30;13544:25;13524:18;;;13517:53;13587:18;;798:76:23::1;13438:173:24::0;798:76:23::1;2729:15:::2;::::0;-1:-1:-1;;;;;2729:15:23::2;2748:10;2729:29;2721:71;;;::::0;-1:-1:-1;;;2721:71:23;;16181:2:24;2721:71:23::2;::::0;::::2;16163:21:24::0;16220:2;16200:18;;;16193:30;16259:31;16239:18;;;16232:59;16308:18;;2721:71:23::2;16153:179:24::0;2721:71:23::2;2802:15;:28:::0;;-1:-1:-1;;2802:28:23::2;::::0;;2840:23:::2;2846:10;2858:4;2840:5;:23::i;:::-;1637:1:1::0;2562:7;:22;2643:227:23:o;2576:102:11:-;2632:13;2664:7;2657:14;;;;;:::i;4209:290::-;-1:-1:-1;;;;;4311:24:11;;665:10:19;4311:24:11;;4303:62;;;;-1:-1:-1;;;4303:62:11;;11453:2:24;4303:62:11;;;11435:21:24;11492:2;11472:18;;;11465:30;11531:27;11511:18;;;11504:55;11576:18;;4303:62:11;11425:175:24;4303:62:11;665:10:19;4376:32:11;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;4376:42:11;;;;;;;;;;;;:53;;-1:-1:-1;;4376:53:11;;;;;;;;;;4444:48;;8975:41:24;;;4376:42:11;;665:10:19;4444:48:11;;8948:18:24;4444:48:11;;;;;;;4209:290;;:::o;5430:320::-;5599:41;665:10:19;5632:7:11;5599:18;:41::i;:::-;5591:103;;;;-1:-1:-1;;;5591:103:11;;16539:2:24;5591:103:11;;;16521:21:24;16578:2;16558:18;;;16551:30;16617:34;16597:18;;;16590:62;16688:19;16668:18;;;16661:47;16725:19;;5591:103:11;16511:239:24;5591:103:11;5704:39;5718:4;5724:2;5728:7;5737:5;5704:13;:39::i;:::-;5430:320;;;;:::o;3359:363:23:-;3432:13;3486:15;3461:22;;:40;3457:259;;;3517:55;;;;;;;;;;;;;;;;;;3359:363;-1:-1:-1;;3359:363:23:o;3457:259::-;3603:17;3623:23;3638:7;3623:14;:23::i;:::-;3603:43;;3691:3;3674:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;3660:45;;;3359:363;;;:::o;3457:259::-;3359:363;;;:::o;2218:419::-;1680:1:1;2259:7;;:19;;2251:63;;;;-1:-1:-1;;;2251:63:1;;17703:2:24;2251:63:1;;;17685:21:24;17742:2;17722:18;;;17715:30;17781:33;17761:18;;;17754:61;17832:18;;2251:63:1;17675:181:24;2251:63:1;1680:1;2389:7;:18;806:22:23::1;::::0;831:15:::1;-1:-1:-1::0;798:76:23::1;;;::::0;-1:-1:-1;;;798:76:23;;13466:2:24;798:76:23::1;::::0;::::1;13448:21:24::0;13505:2;13485:18;;;13478:30;13544:25;13524:18;;;13517:53;13587:18;;798:76:23::1;13438:173:24::0;798:76:23::1;2334:10:::2;2348:1;2312:33:::0;;;:21:::2;:33;::::0;;;;;2304:79:::2;;;::::0;-1:-1:-1;;;2304:79:23;;16181:2:24;2304:79:23::2;::::0;::::2;16163:21:24::0;16220:2;16200:18;;;16193:30;16259:31;16239:18;;;16232:59;16308:18;;2304:79:23::2;16153:179:24::0;2304:79:23::2;2393:21;2417:13;1622:10:14::0;:17;;1535:111;2417:13:23::2;2393:37;;2446:9;2441:190;2465:5;2461:1;:9;:50;;;;-1:-1:-1::0;2496:10:23::2;2510:1;2474:33:::0;;;:21:::2;:33;::::0;;;;;:37;;2461:50:::2;2441:190;;;2554:10;2532:33;::::0;;;:21:::2;:33;::::0;;;;:38;;2569:1:::2;::::0;2532:33;:38:::2;::::0;2569:1;;2532:38:::2;:::i;:::-;::::0;;;-1:-1:-1;2584:36:23::2;::::0;-1:-1:-1;2590:10:23::2;2602:17;2618:1:::0;2602:13;:17:::2;:::i;2584:36::-;2513:3:::0;::::2;::::0;::::2;:::i;:::-;;;;2441:190;;;-1:-1:-1::0;;1637:1:1;2562:7;:22;-1:-1:-1;2218:419:23:o;1846:189:0:-;1045:6;;-1:-1:-1;;;;;1045:6:0;665:10:19;1185:23:0;1177:68;;;;-1:-1:-1;;;1177:68:0;;14592:2:24;1177:68:0;;;14574:21:24;;;14611:18;;;14604:30;14670:34;14650:18;;;14643:62;14722:18;;1177:68:0;14564:182:24;1177:68:0;-1:-1:-1;;;;;1934:22:0;::::1;1926:73;;;::::0;-1:-1:-1;;;1926:73:0;;10284:2:24;1926:73:0::1;::::0;::::1;10266:21:24::0;10323:2;10303:18;;;10296:30;10362:34;10342:18;;;10335:62;10433:8;10413:18;;;10406:36;10459:19;;1926:73:0::1;10256:228:24::0;1926:73:0::1;2009:19;2019:8;2009:9;:19::i;:::-;1846:189:::0;:::o;2065:147:23:-;1045:6:0;;-1:-1:-1;;;;;1045:6:0;665:10:19;1185:23:0;1177:68;;;;-1:-1:-1;;;1177:68:0;;14592:2:24;1177:68:0;;;14574:21:24;;;14611:18;;;14604:30;14670:34;14650:18;;;14643:62;14722:18;;1177:68:0;14564:182:24;1177:68:0;2157:22:23::1;:48:::0;2065:147::o;1496:300:11:-;1598:4;1633:40;;;1648:25;1633:40;;:104;;-1:-1:-1;1689:48:11;;;1704:33;1689:48;1633:104;:156;;;-1:-1:-1;886:25:21;871:40;;;;1753:36:11;763:155:21;11073:171:11;11147:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;11147:29:11;-1:-1:-1;;;;;11147:29:11;;;;;;;;:24;;11200:23;11147:24;11200:14;:23::i;:::-;-1:-1:-1;;;;;11191:46:11;;;;;;;;;;;11073:171;;:::o;7505:344::-;7598:4;7310:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7310:16:11;7614:73;;;;-1:-1:-1;;;7614:73:11;;11807:2:24;7614:73:11;;;11789:21:24;11846:2;11826:18;;;11819:30;11885:34;11865:18;;;11858:62;11956:14;11936:18;;;11929:42;11988:19;;7614:73:11;11779:234:24;7614:73:11;7697:13;7713:23;7728:7;7713:14;:23::i;:::-;7697:39;;7765:5;-1:-1:-1;;;;;7754:16:11;:7;-1:-1:-1;;;;;7754:16:11;;:51;;;;7798:7;-1:-1:-1;;;;;7774:31:11;:20;7786:7;7774:11;:20::i;:::-;-1:-1:-1;;;;;7774:31:11;;7754:51;:87;;;-1:-1:-1;;;;;;4685:25:11;;;4662:4;4685:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7809:32;7746:96;7505:344;-1:-1:-1;;;;7505:344:11:o;10402:560::-;10556:4;-1:-1:-1;;;;;10529:31:11;:23;10544:7;10529:14;:23::i;:::-;-1:-1:-1;;;;;10529:31:11;;10521:85;;;;-1:-1:-1;;;10521:85:11;;14953:2:24;10521:85:11;;;14935:21:24;14992:2;14972:18;;;14965:30;15031:34;15011:18;;;15004:62;15102:11;15082:18;;;15075:39;15131:19;;10521:85:11;14925:231:24;10521:85:11;-1:-1:-1;;;;;10624:16:11;;10616:65;;;;-1:-1:-1;;;10616:65:11;;11048:2:24;10616:65:11;;;11030:21:24;11087:2;11067:18;;;11060:30;11126:34;11106:18;;;11099:62;11197:6;11177:18;;;11170:34;11221:19;;10616:65:11;11020:226:24;10616:65:11;10692:39;10713:4;10719:2;10723:7;10692:20;:39::i;:::-;10793:29;10810:1;10814:7;10793:8;:29::i;:::-;-1:-1:-1;;;;;10833:15:11;;;;;;:9;:15;;;;;:20;;10852:1;;10833:15;:20;;10852:1;;10833:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10863:13:11;;;;;;:9;:13;;;;;:18;;10880:1;;10863:13;:18;;10880:1;;10863:18;:::i;:::-;;;;-1:-1:-1;;10891:16:11;;;;:7;:16;;;;;;:21;;-1:-1:-1;;10891:21:11;-1:-1:-1;;;;;10891:21:11;;;;;;;;;10928:27;;10891:16;;10928:27;;;;;;;10402:560;;;:::o;9141:372::-;-1:-1:-1;;;;;9220:16:11;;9212:61;;;;-1:-1:-1;;;9212:61:11;;13818:2:24;9212:61:11;;;13800:21:24;;;13837:18;;;13830:30;13896:34;13876:18;;;13869:62;13948:18;;9212:61:11;13790:182:24;9212:61:11;7287:4;7310:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7310:16:11;:30;9283:58;;;;-1:-1:-1;;;9283:58:11;;10691:2:24;9283:58:11;;;10673:21:24;10730:2;10710:18;;;10703:30;10769;10749:18;;;10742:58;10817:18;;9283:58:11;10663:178:24;9283:58:11;9352:45;9381:1;9385:2;9389:7;9352:20;:45::i;:::-;-1:-1:-1;;;;;9408:13:11;;;;;;:9;:13;;;;;:18;;9425:1;;9408:13;:18;;9425:1;;9408:18;:::i;:::-;;;;-1:-1:-1;;9436:16:11;;;;:7;:16;;;;;;:21;;-1:-1:-1;;9436:21:11;-1:-1:-1;;;;;9436:21:11;;;;;;;;9473:33;;9436:16;;;9473:33;;9436:16;;9473:33;9141:372;;:::o;2041:169:0:-;2115:6;;;-1:-1:-1;;;;;2131:17:0;;;-1:-1:-1;;2131:17:0;;;;;;;2163:40;;2115:6;;;2131:17;2115:6;;2163:40;;2096:16;;2163:40;2041:169;;:::o;6612:307:11:-;6763:28;6773:4;6779:2;6783:7;6763:9;:28::i;:::-;6809:48;6832:4;6838:2;6842:7;6851:5;6809:22;:48::i;:::-;6801:111;;;;-1:-1:-1;;;6801:111:11;;9865:2:24;6801:111:11;;;9847:21:24;9904:2;9884:18;;;9877:30;9943:34;9923:18;;;9916:62;10014:20;9994:18;;;9987:48;10052:19;;6801:111:11;9837:240:24;2744:329:11;7287:4;7310:16;;;:7;:16;;;;;;2817:13;;-1:-1:-1;;;;;7310:16:11;2842:76;;;;-1:-1:-1;;;2842:76:11;;15363:2:24;2842:76:11;;;15345:21:24;15402:2;15382:18;;;15375:30;15441:34;15421:18;;;15414:62;15512:17;15492:18;;;15485:45;15547:19;;2842:76:11;15335:237:24;2842:76:11;2929:21;2953:10;:8;:10::i;:::-;2929:34;;3004:1;2986:7;2980:21;:25;:86;;;;;;;;;;;;;;;;;3032:7;3041:18;:7;:16;:18::i;:::-;3015:45;;;;;;;;;:::i;2980:86::-;2973:93;2744:329;-1:-1:-1;;;2744:329:11:o;2544:572:14:-;-1:-1:-1;;;;;2743:18:14;;2739:183;;2777:40;2809:7;3925:10;:17;;3898:24;;;;:15;:24;;;;;:44;;;3952:24;;;;;;;;;;;;3822:161;2777:40;2739:183;;;2846:2;-1:-1:-1;;;;;2838:10:14;:4;-1:-1:-1;;;;;2838:10:14;;2834:88;;2864:47;2897:4;2903:7;2864:32;:47::i;:::-;-1:-1:-1;;;;;2935:16:14;;2931:179;;2967:45;3004:7;2967:36;:45::i;2931:179::-;3039:4;-1:-1:-1;;;;;3033:10:14;:2;-1:-1:-1;;;;;3033:10:14;;3029:81;;3059:40;3087:2;3091:7;3059:27;:40::i;11797:782:11:-;11947:4;-1:-1:-1;;;;;11967:13:11;;1034:20:18;1080:8;11963:610:11;;12002:72;;;;;-1:-1:-1;;;;;12002:36:11;;;;;:72;;665:10:19;;12053:4:11;;12059:7;;12068:5;;12002:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12002:72:11;;;;;;;;-1:-1:-1;;12002:72:11;;;;;;;;;;;;:::i;:::-;;;11998:523;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12245:13:11;;12241:266;;12287:60;;-1:-1:-1;;;12287:60:11;;9865:2:24;12287:60:11;;;9847:21:24;9904:2;9884:18;;;9877:30;9943:34;9923:18;;;9916:62;10014:20;9994:18;;;9987:48;10052:19;;12287:60:11;9837:240:24;12241:266:11;12459:6;12453:13;12444:6;12440:2;12436:15;12429:38;11998:523;12124:55;;12134:45;12124:55;;-1:-1:-1;12117:62:11;;11963:610;-1:-1:-1;12558:4:11;11797:782;;;;;;:::o;1847:104:23:-;1899:13;1931;1924:20;;;;;:::i;275:703:20:-;331:13;548:10;544:51;;-1:-1:-1;;574:10:20;;;;;;;;;;;;;;;;;;275:703::o;544:51::-;619:5;604:12;658:75;665:9;;658:75;;690:8;;;;:::i;:::-;;-1:-1:-1;712:10:20;;-1:-1:-1;720:2:20;712:10;;:::i;:::-;;;658:75;;;742:19;774:6;764:17;;;;;;-1:-1:-1;;;764:17:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;764:17:20;;742:39;;791:150;798:10;;791:150;;824:11;834:1;824:11;;:::i;:::-;;-1:-1:-1;892:10:20;900:2;892:5;:10;:::i;:::-;879:24;;:2;:24;:::i;:::-;866:39;;849:6;856;849:14;;;;;;-1:-1:-1;;;849:14:20;;;;;;;;;;;;:56;;;;;;;;;;-1:-1:-1;919:11:20;928:2;919:11;;:::i;:::-;;;791:150;;4600:970:14;4862:22;4912:1;4887:22;4904:4;4887:16;:22::i;:::-;:26;;;;:::i;:::-;4923:18;4944:26;;;:17;:26;;;;;;4862:51;;-1:-1:-1;5074:28:14;;;5070:323;;-1:-1:-1;;;;;5140:18:14;;5118:19;5140:18;;;:12;:18;;;;;;;;:34;;;;;;;;;5189:30;;;;;;:44;;;5305:30;;:17;:30;;;;;:43;;;5070:323;-1:-1:-1;5486:26:14;;;;:17;:26;;;;;;;;5479:33;;;-1:-1:-1;;;;;5529:18:14;;;;;:12;:18;;;;;:34;;;;;;;5522:41;4600:970::o;5858:1061::-;6132:10;:17;6107:22;;6132:21;;6152:1;;6132:21;:::i;:::-;6163:18;6184:24;;;:15;:24;;;;;;6552:10;:26;;6107:46;;-1:-1:-1;6184:24:14;;6107:46;;6552:26;;;;-1:-1:-1;;;6552:26:14;;;;;;;;;;;;;;;;;6530:48;;6614:11;6589:10;6600;6589:22;;;;;;-1:-1:-1;;;6589:22:14;;;;;;;;;;;;;;;;;;;;:36;;;;6693:28;;;:15;:28;;;;;;;:41;;;6862:24;;;;;6855:31;6896:10;:16;;;;;-1:-1:-1;;;6896:16:14;;;;;;;;;;;;;;;;;;;;;;;;;;5858:1061;;;;:::o;3410:217::-;3494:14;3511:20;3528:2;3511:16;:20::i;:::-;-1:-1:-1;;;;;3541:16:14;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;3585:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;3410:217:14:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:465:24;78:5;112:18;104:6;101:30;98:2;;;134:18;;:::i;:::-;172:116;282:4;-1:-1:-1;;208:2:24;200:6;196:15;192:88;188:99;172:116;:::i;:::-;163:125;;311:6;304:5;297:21;351:3;342:6;337:3;333:16;330:25;327:2;;;368:1;365;358:12;327:2;417:6;412:3;405:4;398:5;394:16;381:43;471:1;464:4;455:6;448:5;444:18;440:29;433:40;88:391;;;;;:::o;484:196::-;552:20;;-1:-1:-1;;;;;601:54:24;;591:65;;581:2;;670:1;667;660:12;685:699;739:5;792:3;785:4;777:6;773:17;769:27;759:2;;814:5;807;800:20;759:2;854:6;841:20;880:4;904:60;920:43;960:2;920:43;:::i;:::-;904:60;:::i;:::-;986:3;1010:2;1005:3;998:15;1038:2;1033:3;1029:12;1022:19;;1073:2;1065:6;1061:15;1125:3;1120:2;1114;1111:1;1107:10;1099:6;1095:23;1091:32;1088:41;1085:2;;;1146:5;1139;1132:20;1085:2;1172:5;1186:169;1200:2;1197:1;1194:9;1186:169;;;1257:23;1276:3;1257:23;:::i;:::-;1245:36;;1301:12;;;;1333;;;;1218:1;1211:9;1186:169;;;-1:-1:-1;1373:5:24;;749:635;-1:-1:-1;;;;;;;749:635:24:o;1389:693::-;1443:5;1496:3;1489:4;1481:6;1477:17;1473:27;1463:2;;1518:5;1511;1504:20;1463:2;1558:6;1545:20;1584:4;1608:60;1624:43;1664:2;1624:43;:::i;1608:60::-;1690:3;1714:2;1709:3;1702:15;1742:2;1737:3;1733:12;1726:19;;1777:2;1769:6;1765:15;1829:3;1824:2;1818;1815:1;1811:10;1803:6;1799:23;1795:32;1792:41;1789:2;;;1850:5;1843;1836:20;1789:2;1876:5;1890:163;1904:2;1901:1;1898:9;1890:163;;;1961:17;;1949:30;;1999:12;;;;2031;;;;1922:1;1915:9;1890:163;;2087:229;2130:5;2183:3;2176:4;2168:6;2164:17;2160:27;2150:2;;2205:5;2198;2191:20;2150:2;2231:79;2306:3;2297:6;2284:20;2277:4;2269:6;2265:17;2231:79;:::i;2321:196::-;2380:6;2433:2;2421:9;2412:7;2408:23;2404:32;2401:2;;;2454:6;2446;2439:22;2401:2;2482:29;2501:9;2482:29;:::i;2522:270::-;2590:6;2598;2651:2;2639:9;2630:7;2626:23;2622:32;2619:2;;;2672:6;2664;2657:22;2619:2;2700:29;2719:9;2700:29;:::i;:::-;2690:39;;2748:38;2782:2;2771:9;2767:18;2748:38;:::i;:::-;2738:48;;2609:183;;;;;:::o;2797:338::-;2874:6;2882;2890;2943:2;2931:9;2922:7;2918:23;2914:32;2911:2;;;2964:6;2956;2949:22;2911:2;2992:29;3011:9;2992:29;:::i;:::-;2982:39;;3040:38;3074:2;3063:9;3059:18;3040:38;:::i;:::-;3030:48;;3125:2;3114:9;3110:18;3097:32;3087:42;;2901:234;;;;;:::o;3140:696::-;3235:6;3243;3251;3259;3312:3;3300:9;3291:7;3287:23;3283:33;3280:2;;;3334:6;3326;3319:22;3280:2;3362:29;3381:9;3362:29;:::i;:::-;3352:39;;3410:38;3444:2;3433:9;3429:18;3410:38;:::i;:::-;3400:48;;3495:2;3484:9;3480:18;3467:32;3457:42;;3550:2;3539:9;3535:18;3522:32;3577:18;3569:6;3566:30;3563:2;;;3614:6;3606;3599:22;3563:2;3642:22;;3695:4;3687:13;;3683:27;-1:-1:-1;3673:2:24;;3729:6;3721;3714:22;3673:2;3757:73;3822:7;3817:2;3804:16;3799:2;3795;3791:11;3757:73;:::i;:::-;3747:83;;;3270:566;;;;;;;:::o;3841:367::-;3906:6;3914;3967:2;3955:9;3946:7;3942:23;3938:32;3935:2;;;3988:6;3980;3973:22;3935:2;4016:29;4035:9;4016:29;:::i;:::-;4006:39;;4095:2;4084:9;4080:18;4067:32;4142:5;4135:13;4128:21;4121:5;4118:32;4108:2;;4169:6;4161;4154:22;4108:2;4197:5;4187:15;;;3925:283;;;;;:::o;4213:264::-;4281:6;4289;4342:2;4330:9;4321:7;4317:23;4313:32;4310:2;;;4363:6;4355;4348:22;4310:2;4391:29;4410:9;4391:29;:::i;:::-;4381:39;4467:2;4452:18;;;;4439:32;;-1:-1:-1;;;4300:177:24:o;4482:255::-;4540:6;4593:2;4581:9;4572:7;4568:23;4564:32;4561:2;;;4614:6;4606;4599:22;4561:2;4658:9;4645:23;4677:30;4701:5;4677:30;:::i;4742:259::-;4811:6;4864:2;4852:9;4843:7;4839:23;4835:32;4832:2;;;4885:6;4877;4870:22;4832:2;4922:9;4916:16;4941:30;4965:5;4941:30;:::i;5006:342::-;5075:6;5128:2;5116:9;5107:7;5103:23;5099:32;5096:2;;;5149:6;5141;5134:22;5096:2;5194:9;5181:23;5227:18;5219:6;5216:30;5213:2;;;5264:6;5256;5249:22;5213:2;5292:50;5334:7;5325:6;5314:9;5310:22;5292:50;:::i;5353:1291::-;5551:6;5559;5567;5575;5583;5591;5599;5652:3;5640:9;5631:7;5627:23;5623:33;5620:2;;;5674:6;5666;5659:22;5620:2;5719:9;5706:23;5748:18;5789:2;5781:6;5778:14;5775:2;;;5810:6;5802;5795:22;5775:2;5838:50;5880:7;5871:6;5860:9;5856:22;5838:50;:::i;:::-;5828:60;;5907:38;5941:2;5930:9;5926:18;5907:38;:::i;:::-;5897:48;;5998:2;5987:9;5983:18;5970:32;5954:48;;6027:2;6017:8;6014:16;6011:2;;;6048:6;6040;6033:22;6011:2;6076:63;6131:7;6120:8;6109:9;6105:24;6076:63;:::i;:::-;6066:73;;6192:2;6181:9;6177:18;6164:32;6148:48;;6221:2;6211:8;6208:16;6205:2;;;6242:6;6234;6227:22;6205:2;6270:63;6325:7;6314:8;6303:9;6299:24;6270:63;:::i;:::-;6260:73;;6386:3;6375:9;6371:19;6358:33;6342:49;;6416:2;6406:8;6403:16;6400:2;;;6437:6;6429;6422:22;6400:2;;6465:63;6520:7;6509:8;6498:9;6494:24;6465:63;:::i;:::-;6455:73;;;6547:39;6581:3;6570:9;6566:19;6547:39;:::i;:::-;6537:49;;6633:3;6622:9;6618:19;6605:33;6595:43;;5610:1034;;;;;;;;;;:::o;6649:190::-;6708:6;6761:2;6749:9;6740:7;6736:23;6732:32;6729:2;;;6782:6;6774;6767:22;6729:2;-1:-1:-1;6810:23:24;;6719:120;-1:-1:-1;6719:120:24:o;6844:316::-;6885:3;6923:5;6917:12;6950:6;6945:3;6938:19;6966:63;7022:6;7015:4;7010:3;7006:14;6999:4;6992:5;6988:16;6966:63;:::i;:::-;7074:2;7062:15;-1:-1:-1;;7058:88:24;7049:98;;;;7149:4;7045:109;;6893:267;-1:-1:-1;;6893:267:24:o;7165:470::-;7344:3;7382:6;7376:13;7398:53;7444:6;7439:3;7432:4;7424:6;7420:17;7398:53;:::i;:::-;7514:13;;7473:16;;;;7536:57;7514:13;7473:16;7570:4;7558:17;;7536:57;:::i;:::-;7609:20;;7352:283;-1:-1:-1;;;;7352:283:24:o;7640:443::-;7872:3;7910:6;7904:13;7926:53;7972:6;7967:3;7960:4;7952:6;7948:17;7926:53;:::i;:::-;8040:7;8001:16;;8026:22;;;-1:-1:-1;8075:1:24;8064:13;;7880:203;-1:-1:-1;7880:203:24:o;8319:511::-;8513:4;-1:-1:-1;;;;;8623:2:24;8615:6;8611:15;8600:9;8593:34;8675:2;8667:6;8663:15;8658:2;8647:9;8643:18;8636:43;;8715:6;8710:2;8699:9;8695:18;8688:34;8758:3;8753:2;8742:9;8738:18;8731:31;8779:45;8819:3;8808:9;8804:19;8796:6;8779:45;:::i;:::-;8771:53;8522:308;-1:-1:-1;;;;;;8522:308:24:o;9027:219::-;9176:2;9165:9;9158:21;9139:4;9196:44;9236:2;9225:9;9221:18;9213:6;9196:44;:::i;18043:334::-;18114:2;18108:9;18170:2;18160:13;;-1:-1:-1;;18156:86:24;18144:99;;18273:18;18258:34;;18294:22;;;18255:62;18252:2;;;18320:18;;:::i;:::-;18356:2;18349:22;18088:289;;-1:-1:-1;18088:289:24:o;18382:183::-;18442:4;18475:18;18467:6;18464:30;18461:2;;;18497:18;;:::i;:::-;-1:-1:-1;18542:1:24;18538:14;18554:4;18534:25;;18451:114::o;18570:128::-;18610:3;18641:1;18637:6;18634:1;18631:13;18628:2;;;18647:18;;:::i;:::-;-1:-1:-1;18683:9:24;;18618:80::o;18703:120::-;18743:1;18769;18759:2;;18774:18;;:::i;:::-;-1:-1:-1;18808:9:24;;18749:74::o;18828:125::-;18868:4;18896:1;18893;18890:8;18887:2;;;18901:18;;:::i;:::-;-1:-1:-1;18938:9:24;;18877:76::o;18958:258::-;19030:1;19040:113;19054:6;19051:1;19048:13;19040:113;;;19130:11;;;19124:18;19111:11;;;19104:39;19076:2;19069:10;19040:113;;;19171:6;19168:1;19165:13;19162:2;;;-1:-1:-1;;19206:1:24;19188:16;;19181:27;19011:205::o;19221:437::-;19300:1;19296:12;;;;19343;;;19364:2;;19418:4;19410:6;19406:17;19396:27;;19364:2;19471;19463:6;19460:14;19440:18;19437:38;19434:2;;;-1:-1:-1;;;19505:1:24;19498:88;19609:4;19606:1;19599:15;19637:4;19634:1;19627:15;19434:2;;19276:382;;;:::o;19663:195::-;19702:3;19733:66;19726:5;19723:77;19720:2;;;19803:18;;:::i;:::-;-1:-1:-1;19850:1:24;19839:13;;19710:148::o;19863:112::-;19895:1;19921;19911:2;;19926:18;;:::i;:::-;-1:-1:-1;19960:9:24;;19901:74::o;19980:184::-;-1:-1:-1;;;20029:1:24;20022:88;20129:4;20126:1;20119:15;20153:4;20150:1;20143:15;20169:184;-1:-1:-1;;;20218:1:24;20211:88;20318:4;20315:1;20308:15;20342:4;20339:1;20332:15;20358:184;-1:-1:-1;;;20407:1:24;20400:88;20507:4;20504:1;20497:15;20531:4;20528:1;20521:15;20547:177;20632:66;20625:5;20621:78;20614:5;20611:89;20601:2;;20714:1;20711;20704:12

Swarm Source

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