ETH Price: $2,520.07 (-5.24%)

Token

LAND Token (LAND)
 

Overview

Max Total Supply

1,000,000,000 LAND

Holders

232

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0 LAND

Value
$0.00
0xcb03fec846675fadde405585138c563d0097da51
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:
LandDAO

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : LandDAO.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";

contract LandDAO is ERC20, ERC20Permit, Ownable {
    using ECDSA for bytes32;

    IERC721 public immutable dlsNft;
    uint256 public immutable startDate;
    address public immutable messageSigner;
    uint256 public constant landOwnersSupply = 90_000_000e18;
    uint256 public landOwnersSpent;
    mapping(string => uint256) public supplyData;
    mapping(uint256 => bool) public dlsNftOwnerClaimed;
    mapping(address => uint8) public landOwnerClaimed;
    bool public claimEnabled;
    bool public allowlistEnabled;
    bool public unclaimedTokensTransferred;

    // CONSTRUCTOR
    constructor(string memory name_, string memory symbol_, address dlsNftAddress) ERC20(name_, symbol_) ERC20Permit(name_) {
        dlsNft = IERC721(dlsNftAddress);
        startDate = block.timestamp;
        messageSigner = msg.sender;
        _mint(address(this), 1e27);
        supplyData["poolRewards"] = 340_000_000e18;
        supplyData["singleStakingRewards"] = 30_000_000e18;
        supplyData["liquidityPoolRewards"] = 70_000_000e18;
        supplyData["dlsDao"] = 90_000_000e18;
        supplyData["liquidityManagement"] = 20_000_000e18;
        supplyData["treasury"] = 100_000_000e18;
        supplyData["team"] = 120_000_000e18;
        supplyData["strategicSale"] = 50_000_000e18;
    }

    function sendTokens(string memory supplyName, address contractAddress) external onlyOwner {
        require(contractAddress != address(0), "LandDao: Should sent to someone");
        uint256 supply = supplyData[supplyName];
        require(supply > 0, "LandDao: not eligible");
        _transfer(address(this), contractAddress, supply);
        supplyData[supplyName] = 0;
    }

    function claim(uint256 amount, bytes memory signature, bytes memory allowlistSignature, uint256[] memory tokenIds) external {
        if (!claimEnabled) {
            require(allowlistEnabled, "LandDao: you can not claim yet");
            require(allowlistSignature.length > 0, "LandDao: you can not claim yet unless you provide allowlist data");
            bytes32 message = bytes32(uint256(uint160(msg.sender)));
            bytes32 hash = keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", message));
            address signatureAddress = hash.recover(allowlistSignature);
            require(signatureAddress == messageSigner, "LandDAO: invalid whitelist signature");
        }
        if (amount > 0) {
            claimLandOwner(amount, signature);
        }
        if (tokenIds.length > 0) {
            claimNftOwner(tokenIds);
        }
    }

    // Land Owners logic
    function claimLandOwner(uint256 amount, bytes memory signature) internal {
        bytes32 message = bytes32((uint256(uint160(msg.sender)) << 96) + amount);
        bytes32 hash = keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", message));
        address signatureAddress = hash.recover(signature);
        require(signatureAddress == messageSigner, "LandDAO: invalid landowner signature");
        uint256 _halfDate = startDate + 60 days;
        uint256 _endDate = _halfDate + 120 days;
        require(block.timestamp <= _endDate, "LandDAO: date out of range");
        uint8 claimed = landOwnerClaimed[msg.sender];
        require(claimed < 2, "LandDAO: already claimed");
        if (block.timestamp < _halfDate) {
            require(claimed == 0, "LandDAO: already claimed");
            claimed = 1;
            amount = amount / 2;
        } else {
            if (claimed == 1) {
                amount = amount / 2;
            }
            claimed = 2;
        }
        require(landOwnersSpent + amount <= landOwnersSupply, "LandDAO: not allowed to overspend supply");
        landOwnerClaimed[msg.sender] = claimed;
        landOwnersSpent += amount;
        _transfer(address(this), msg.sender, amount);
    }

    function transferringUnclaimedTokens(address treasuryManager) public onlyOwner {
        require(block.timestamp > startDate + 180 days, "LandDAO: landowners claim not finished yet");
        require(!unclaimedTokensTransferred);
        unclaimedTokensTransferred = true;
        _transfer(address(this), treasuryManager, landOwnersSupply - landOwnersSpent);
    }

    // DLS NFT Logic
    function claimNftOwner(uint256[] memory tokenIds) internal {
        for (uint256 i = 0; i < tokenIds.length; i++) {
            uint256 tokenId = tokenIds[i];
            require(!dlsNftOwnerClaimed[tokenId], "LandDAO: tokens for NFT already claimed");
            require(dlsNft.ownerOf(tokenId) == msg.sender, "LandDAO: NFT belongs to different address");
            dlsNftOwnerClaimed[tokenId] = true;
        }
        uint256 amount = 9_000e18 * tokenIds.length;
        _transfer(address(this), msg.sender, amount);
    }

    function setClaimEnabled(bool claimEnabled_) external onlyOwner {
        claimEnabled = claimEnabled_;
    }

    function setAllowlistEnabled(bool allowlistEnabled_) external onlyOwner {
        allowlistEnabled = allowlistEnabled_;
    }
}

File 2 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

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() {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

File 3 of 14 : draft-ERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-ERC20Permit.sol)

pragma solidity ^0.8.0;

import "./draft-IERC20Permit.sol";
import "../ERC20.sol";
import "../../../utils/cryptography/draft-EIP712.sol";
import "../../../utils/cryptography/ECDSA.sol";
import "../../../utils/Counters.sol";

/**
 * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * _Available since v3.4._
 */
abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 {
    using Counters for Counters.Counter;

    mapping(address => Counters.Counter) private _nonces;

    // solhint-disable-next-line var-name-mixedcase
    bytes32 private immutable _PERMIT_TYPEHASH =
        keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");

    /**
     * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`.
     *
     * It's a good idea to use the same `name` that is defined as the ERC20 token name.
     */
    constructor(string memory name) EIP712(name, "1") {}

    /**
     * @dev See {IERC20Permit-permit}.
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual override {
        require(block.timestamp <= deadline, "ERC20Permit: expired deadline");

        bytes32 structHash = keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline));

        bytes32 hash = _hashTypedDataV4(structHash);

        address signer = ECDSA.recover(hash, v, r, s);
        require(signer == owner, "ERC20Permit: invalid signature");

        _approve(owner, spender, value);
    }

    /**
     * @dev See {IERC20Permit-nonces}.
     */
    function nonces(address owner) public view virtual override returns (uint256) {
        return _nonces[owner].current();
    }

    /**
     * @dev See {IERC20Permit-DOMAIN_SEPARATOR}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view override returns (bytes32) {
        return _domainSeparatorV4();
    }

    /**
     * @dev "Consume a nonce": return the current value and increment.
     *
     * _Available since v4.1._
     */
    function _useNonce(address owner) internal virtual returns (uint256 current) {
        Counters.Counter storage nonce = _nonces[owner];
        current = nonce.current();
        nonce.increment();
    }
}

File 4 of 14 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

File 5 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

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 6 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 7 of 14 : draft-IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 8 of 14 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol)

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 Contracts guidelines: functions revert
 * instead 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:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, 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}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, 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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, 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) {
        address owner = _msgSender();
        _approve(owner, spender, _allowances[owner][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) {
        address owner = _msgSender();
        uint256 currentAllowance = _allowances[owner][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, 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:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, 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 Spend `amount` form the allowance of `owner` toward `spender`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - 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 9 of 14 : draft-EIP712.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol)

pragma solidity ^0.8.0;

import "./ECDSA.sol";

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * _Available since v3.4._
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;
    address private immutable _CACHED_THIS;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;

    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256(
            "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
        );
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _CACHED_THIS = address(this);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(
        bytes32 typeHash,
        bytes32 nameHash,
        bytes32 versionHash
    ) private view returns (bytes32) {
        return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}

File 10 of 14 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 11 of 14 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        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 12 of 14 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

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 13 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

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 14 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"dlsNftAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","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":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowlistEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"bytes","name":"allowlistSignature","type":"bytes"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dlsNft","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"dlsNftOwnerClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"landOwnerClaimed","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"landOwnersSpent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"landOwnersSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"messageSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"supplyName","type":"string"},{"internalType":"address","name":"contractAddress","type":"address"}],"name":"sendTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"allowlistEnabled_","type":"bool"}],"name":"setAllowlistEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"claimEnabled_","type":"bool"}],"name":"setClaimEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"supplyData","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"treasuryManager","type":"address"}],"name":"transferringUnclaimedTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unclaimedTokensTransferred","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

6101c06040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610140908152503480156200003a57600080fd5b50604051620052d8380380620052d883398181016040528101906200006091906200077b565b82806040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525085858160039080519060200190620000b292919062000642565b508060049080519060200190620000cb92919062000642565b50505060008280519060200120905060008280519060200120905060007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f90508260e081815250508161010081815250504660a0818152505062000137818484620003b560201b60201c565b608081815250503073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1660601b81525050806101208181525050505050505050620001a462000198620003f160201b60201c565b620003f960201b60201c565b8073ffffffffffffffffffffffffffffffffffffffff166101608173ffffffffffffffffffffffffffffffffffffffff1660601b815250504261018081815250503373ffffffffffffffffffffffffffffffffffffffff166101a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250506200023b306b033b2e3c9fd0803ce8000000620004bf60201b60201c565b6b01193dcceea82b99d40000006008604051620002589062000995565b9081526020016040518091039020819055506a18d0bf423c03d8de00000060086040516200028690620009c3565b9081526020016040518091039020819055506a39e7139a8c08fa060000006008604051620002b49062000a36565b9081526020016040518091039020819055506a4a723dc6b40b8a9a0000006008604051620002e290620009f1565b9081526020016040518091039020819055506a108b2a2c2802909400000060086040516200031090620009ac565b9081526020016040518091039020819055506a52b7d2dcc80cd2e400000060086040516200033e9062000a08565b9081526020016040518091039020819055506a6342fd08f00f637800000060086040516200036c9062000a1f565b9081526020016040518091039020819055506a295be96e6406697200000060086040516200039a90620009da565b90815260200160405180910390208190555050505062000ed4565b60008383834630604051602001620003d295949392919062000a4d565b6040516020818303038152906040528051906020012090509392505050565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000532576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005299062000aaa565b60405180910390fd5b62000546600083836200063860201b60201c565b80600260008282546200055a919062000b64565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620005b1919062000b64565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000618919062000acc565b60405180910390a362000634600083836200063d60201b60201c565b5050565b505050565b505050565b828054620006509062000c3f565b90600052602060002090601f016020900481019282620006745760008555620006c0565b82601f106200068f57805160ff1916838001178555620006c0565b82800160010185558215620006c0579182015b82811115620006bf578251825591602001919060010190620006a2565b5b509050620006cf9190620006d3565b5090565b5b80821115620006ee576000816000905550600101620006d4565b5090565b600062000709620007038462000b12565b62000ae9565b9050828152602081018484840111156200072257600080fd5b6200072f84828562000c09565b509392505050565b600081519050620007488162000eba565b92915050565b600082601f8301126200076057600080fd5b815162000772848260208601620006f2565b91505092915050565b6000806000606084860312156200079157600080fd5b600084015167ffffffffffffffff811115620007ac57600080fd5b620007ba868287016200074e565b935050602084015167ffffffffffffffff811115620007d857600080fd5b620007e6868287016200074e565b9250506040620007f98682870162000737565b9150509250925092565b6200080e8162000bc1565b82525050565b6200081f8162000bd5565b82525050565b600062000834600b8362000b59565b9150620008418262000d49565b600b82019050919050565b60006200085b60138362000b59565b9150620008688262000d72565b601382019050919050565b60006200088260148362000b59565b91506200088f8262000d9b565b601482019050919050565b6000620008a9600d8362000b59565b9150620008b68262000dc4565b600d82019050919050565b6000620008d060068362000b59565b9150620008dd8262000ded565b600682019050919050565b6000620008f760088362000b59565b9150620009048262000e16565b600882019050919050565b60006200091e60048362000b59565b91506200092b8262000e3f565b600482019050919050565b60006200094560148362000b59565b9150620009528262000e68565b601482019050919050565b60006200096c601f8362000b48565b9150620009798262000e91565b602082019050919050565b6200098f8162000bff565b82525050565b6000620009a28262000825565b9150819050919050565b6000620009b9826200084c565b9150819050919050565b6000620009d08262000873565b9150819050919050565b6000620009e7826200089a565b9150819050919050565b6000620009fe82620008c1565b9150819050919050565b600062000a1582620008e8565b9150819050919050565b600062000a2c826200090f565b9150819050919050565b600062000a438262000936565b9150819050919050565b600060a08201905062000a64600083018862000814565b62000a73602083018762000814565b62000a82604083018662000814565b62000a91606083018562000984565b62000aa0608083018462000803565b9695505050505050565b6000602082019050818103600083015262000ac5816200095d565b9050919050565b600060208201905062000ae3600083018462000984565b92915050565b600062000af562000b08565b905062000b03828262000c75565b919050565b6000604051905090565b600067ffffffffffffffff82111562000b305762000b2f62000d09565b5b62000b3b8262000d38565b9050602081019050919050565b600082825260208201905092915050565b600081905092915050565b600062000b718262000bff565b915062000b7e8362000bff565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000bb65762000bb562000cab565b5b828201905092915050565b600062000bce8262000bdf565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000c2957808201518184015260208101905062000c0c565b8381111562000c39576000848401525b50505050565b6000600282049050600182168062000c5857607f821691505b6020821081141562000c6f5762000c6e62000cda565b5b50919050565b62000c808262000d38565b810181811067ffffffffffffffff8211171562000ca25762000ca162000d09565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f706f6f6c52657761726473000000000000000000000000000000000000000000600082015250565b7f6c69717569646974794d616e6167656d656e7400000000000000000000000000600082015250565b7f73696e676c655374616b696e6752657761726473000000000000000000000000600082015250565b7f73747261746567696353616c6500000000000000000000000000000000000000600082015250565b7f646c7344616f0000000000000000000000000000000000000000000000000000600082015250565b7f7472656173757279000000000000000000000000000000000000000000000000600082015250565b7f7465616d00000000000000000000000000000000000000000000000000000000600082015250565b7f6c6971756964697479506f6f6c52657761726473000000000000000000000000600082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b62000ec58162000bc1565b811462000ed157600080fd5b50565b60805160a05160c05160601c60e0516101005161012051610140516101605160601c610180516101a05160601c61435c62000f7c60003960008181610716015281816112f40152611cd301526000818161075d015281816108690152611d67015260008181610b3d01526120b201526000610fd001526000611a5801526000611a9a01526000611a79015260006119ae01526000611a0401526000611a2d015261435c6000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c80637ecebe001161011a578063a457c2d7116100ad578063d7644ba21161007c578063d7644ba2146105ce578063dd62ed3e146105ea578063de1e93ed1461061a578063eb8071db14610636578063f2fde38b14610666576101fb565b8063a457c2d714610522578063a9059cbb14610552578063c70b783014610582578063d505accf146105b2576101fb565b80639315c57e116100e95780639315c57e146104ac57806394c8e4ff146104c857806395d89b41146104e65780639faa3c3f14610504576101fb565b80637ecebe0014610424578063832d3b61146104545780638da5cb5b1461047257806392929a0914610490576101fb565b8063313ce5671161019257806367e292591161016157806367e292591461039c5780636b1c9962146103ba57806370a08231146103ea578063715018a61461041a576101fb565b8063313ce56714610314578063339a6003146103325780633644e5151461034e578063395093511461036c576101fb565b80630e313724116101ce5780630e3137241461028a57806318160ddd146102a857806323b872dd146102c65780632866ed21146102f6576101fb565b806306fdde0314610200578063080387b41461021e578063095ea7b31461023c5780630b97bc861461026c575b600080fd5b610208610682565b60405161021591906133bf565b60405180910390f35b610226610714565b604051610233919061325a565b60405180910390f35b61025660048036038101906102519190612b46565b610738565b6040516102639190613275565b60405180910390f35b61027461075b565b6040516102819190613741565b60405180910390f35b61029261077f565b60405161029f9190613275565b60405180910390f35b6102b0610792565b6040516102bd9190613741565b60405180910390f35b6102e060048036038101906102db9190612a59565b61079c565b6040516102ed9190613275565b60405180910390f35b6102fe6107cb565b60405161030b9190613275565b60405180910390f35b61031c6107de565b604051610329919061375c565b60405180910390f35b61034c600480360381019061034791906129cb565b6107e7565b005b61035661092e565b6040516103639190613290565b60405180910390f35b61038660048036038101906103819190612b46565b61093d565b6040516103939190613275565b60405180910390f35b6103a46109e7565b6040516103b19190613741565b60405180910390f35b6103d460048036038101906103cf9190612bab565b6109ed565b6040516103e19190613741565b60405180910390f35b61040460048036038101906103ff91906129cb565b610a1b565b6040516104119190613741565b60405180910390f35b610422610a63565b005b61043e600480360381019061043991906129cb565b610aeb565b60405161044b9190613741565b60405180910390f35b61045c610b3b565b60405161046991906133a4565b60405180910390f35b61047a610b5f565b604051610487919061325a565b60405180910390f35b6104aa60048036038101906104a59190612b82565b610b89565b005b6104c660048036038101906104c19190612bec565b610c22565b005b6104d0610da8565b6040516104dd9190613275565b60405180910390f35b6104ee610dbb565b6040516104fb91906133bf565b60405180910390f35b61050c610e4d565b6040516105199190613741565b60405180910390f35b61053c60048036038101906105379190612b46565b610e5c565b6040516105499190613275565b60405180910390f35b61056c60048036038101906105679190612b46565b610f46565b6040516105799190613275565b60405180910390f35b61059c600480360381019061059791906129cb565b610f69565b6040516105a9919061375c565b60405180910390f35b6105cc60048036038101906105c79190612aa8565b610f89565b005b6105e860048036038101906105e39190612b82565b6110cb565b005b61060460048036038101906105ff9190612a1d565b611164565b6040516106119190613741565b60405180910390f35b610634600480360381019061062f9190612c69565b6111eb565b005b610650600480360381019061064b9190612c40565b6113b2565b60405161065d9190613275565b60405180910390f35b610680600480360381019061067b91906129cb565b6113d2565b005b60606003805461069190613a2b565b80601f01602080910402602001604051908101604052809291908181526020018280546106bd90613a2b565b801561070a5780601f106106df5761010080835404028352916020019161070a565b820191906000526020600020905b8154815290600101906020018083116106ed57829003601f168201915b5050505050905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000806107436114ca565b90506107508185856114d2565b600191505092915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600b60029054906101000a900460ff1681565b6000600254905090565b6000806107a76114ca565b90506107b485828561169d565b6107bf858585611729565b60019150509392505050565b600b60009054906101000a900460ff1681565b60006012905090565b6107ef6114ca565b73ffffffffffffffffffffffffffffffffffffffff1661080d610b5f565b73ffffffffffffffffffffffffffffffffffffffff1614610863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085a90613601565b60405180910390fd5b62ed4e007f00000000000000000000000000000000000000000000000000000000000000006108929190613851565b42116108d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ca90613441565b60405180910390fd5b600b60029054906101000a900460ff16156108ed57600080fd5b6001600b60026101000a81548160ff02191690831515021790555061092b30826007546a4a723dc6b40b8a9a0000006109269190613932565b611729565b50565b60006109386119aa565b905090565b6000806109486114ca565b90506109dc818585600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546109d79190613851565b6114d2565b600191505092915050565b60075481565b6008818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610a6b6114ca565b73ffffffffffffffffffffffffffffffffffffffff16610a89610b5f565b73ffffffffffffffffffffffffffffffffffffffff1614610adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad690613601565b60405180910390fd5b610ae96000611ac4565b565b6000610b34600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611b8a565b9050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610b916114ca565b73ffffffffffffffffffffffffffffffffffffffff16610baf610b5f565b73ffffffffffffffffffffffffffffffffffffffff1614610c05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfc90613601565b60405180910390fd5b80600b60006101000a81548160ff02191690831515021790555050565b610c2a6114ca565b73ffffffffffffffffffffffffffffffffffffffff16610c48610b5f565b73ffffffffffffffffffffffffffffffffffffffff1614610c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9590613601565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d05906136e1565b60405180910390fd5b6000600883604051610d2091906131e6565b908152602001604051809103902054905060008111610d74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6b90613561565b60405180910390fd5b610d7f308383611729565b6000600884604051610d9191906131e6565b908152602001604051809103902081905550505050565b600b60019054906101000a900460ff1681565b606060048054610dca90613a2b565b80601f0160208091040260200160405190810160405280929190818152602001828054610df690613a2b565b8015610e435780601f10610e1857610100808354040283529160200191610e43565b820191906000526020600020905b815481529060010190602001808311610e2657829003601f168201915b5050505050905090565b6a4a723dc6b40b8a9a00000081565b600080610e676114ca565b90506000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015610f2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2490613701565b60405180910390fd5b610f3a82868684036114d2565b60019250505092915050565b600080610f516114ca565b9050610f5e818585611729565b600191505092915050565b600a6020528060005260406000206000915054906101000a900460ff1681565b83421115610fcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc3906134e1565b60405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000000888888610ffb8c611b98565b89604051602001611011969594939291906132ab565b604051602081830303815290604052805190602001209050600061103482611bf6565b9050600061104482878787611c10565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ab906135e1565b60405180910390fd5b6110bf8a8a8a6114d2565b50505050505050505050565b6110d36114ca565b73ffffffffffffffffffffffffffffffffffffffff166110f1610b5f565b73ffffffffffffffffffffffffffffffffffffffff1614611147576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113e90613601565b60405180910390fd5b80600b60016101000a81548160ff02191690831515021790555050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600b60009054906101000a900460ff1661138457600b60019054906101000a900460ff1661124e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611245906136c1565b60405180910390fd5b6000825111611292576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611289906136a1565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1660001b90506000816040516020016112c391906131fd565b60405160208183030381529060405280519060200120905060006112f08583611c3b90919063ffffffff16565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611380576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137790613541565b60405180910390fd5b5050505b6000841115611398576113978484611c62565b5b6000815111156113ac576113ab81611fe7565b5b50505050565b60096020528060005260406000206000915054906101000a900460ff1681565b6113da6114ca565b73ffffffffffffffffffffffffffffffffffffffff166113f8610b5f565b73ffffffffffffffffffffffffffffffffffffffff161461144e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144590613601565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b590613461565b60405180910390fd5b6114c781611ac4565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611542576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153990613681565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a990613481565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516116909190613741565b60405180910390a3505050565b60006116a98484611164565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146117235781811015611715576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170c906134c1565b60405180910390fd5b61172284848484036114d2565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611799576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179090613621565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180090613401565b60405180910390fd5b61181483838361221a565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561189a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189190613501565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461192d9190613851565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516119919190613741565b60405180910390a36119a484848461221f565b50505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16148015611a2657507f000000000000000000000000000000000000000000000000000000000000000046145b15611a53577f00000000000000000000000000000000000000000000000000000000000000009050611ac1565b611abe7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000612224565b90505b90565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b600080600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611be581611b8a565b9150611bf08161225e565b50919050565b6000611c09611c036119aa565b83612274565b9050919050565b6000806000611c21878787876122a7565b91509150611c2e816123b4565b8192505050949350505050565b6000806000611c4a8585612705565b91509150611c57816123b4565b819250505092915050565b60008260603373ffffffffffffffffffffffffffffffffffffffff16901b611c8a9190613851565b60001b9050600081604051602001611ca291906131fd565b6040516020818303038152906040528051906020012090506000611ccf8483611c3b90919063ffffffff16565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611d5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5690613661565b60405180910390fd5b6000624f1a007f0000000000000000000000000000000000000000000000000000000000000000611d909190613851565b90506000629e340082611da39190613851565b905080421115611de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddf90613721565b60405180910390fd5b6000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905060028160ff1610611e7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e76906135a1565b60405180910390fd5b82421015611ee55760008160ff1614611ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec4906135a1565b60405180910390fd5b60019050600288611ede91906138a7565b9750611f06565b60018160ff161415611f0157600288611efe91906138a7565b97505b600290505b6a4a723dc6b40b8a9a00000088600754611f209190613851565b1115611f61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5890613581565b60405180910390fd5b80600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055508760076000828254611fcb9190613851565b92505081905550611fdd30338a611729565b5050505050505050565b60005b81518110156121ef57600082828151811061202e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506009600082815260200190815260200160002060009054906101000a900460ff1615612099576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209090613641565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016121099190613741565b60206040518083038186803b15801561212157600080fd5b505afa158015612135573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061215991906129f4565b73ffffffffffffffffffffffffffffffffffffffff16146121af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a6906134a1565b60405180910390fd5b60016009600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505080806121e790613a8e565b915050611fea565b50600081516901e7e4171bf4d3a0000061220991906138d8565b9050612216303383611729565b5050565b505050565b505050565b6000838383463060405160200161223f95949392919061330c565b6040516020818303038152906040528051906020012090509392505050565b6001816000016000828254019250508190555050565b60008282604051602001612289929190613223565b60405160208183030381529060405280519060200120905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156122e25760006003915091506123ab565b601b8560ff16141580156122fa5750601c8560ff1614155b1561230c5760006004915091506123ab565b600060018787878760405160008152602001604052604051612331949392919061335f565b6020604051602081039080840390855afa158015612353573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123a2576000600192509250506123ab565b80600092509250505b94509492505050565b600060048111156123ee577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612427577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561243257612702565b6001600481111561246c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156124a5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156124e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124dd906133e1565b60405180910390fd5b60026004811115612520577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612559577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561259a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259190613421565b60405180910390fd5b600360048111156125d4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561260d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561264e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264590613521565b60405180910390fd5b600480811115612687577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156126c0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612701576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f8906135c1565b60405180910390fd5b5b50565b6000806041835114156127475760008060006020860151925060408601519150606086015160001a905061273b878285856122a7565b94509450505050612781565b60408351141561277857600080602085015191506040850151905061276d868383612788565b935093505050612781565b60006002915091505b9250929050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6127cb9190613851565b90506127d9878288856122a7565b935093505050935093915050565b60006127fa6127f58461379c565b613777565b9050808382526020820190508285602086028201111561281957600080fd5b60005b85811015612849578161282f88826129a1565b84526020840193506020830192505060018101905061281c565b5050509392505050565b6000612866612861846137c8565b613777565b90508281526020810184848401111561287e57600080fd5b6128898482856139e9565b509392505050565b60006128a461289f846137f9565b613777565b9050828152602081018484840111156128bc57600080fd5b6128c78482856139e9565b509392505050565b6000813590506128de816142b3565b92915050565b6000815190506128f3816142b3565b92915050565b600082601f83011261290a57600080fd5b813561291a8482602086016127e7565b91505092915050565b600081359050612932816142ca565b92915050565b600081359050612947816142e1565b92915050565b600082601f83011261295e57600080fd5b813561296e848260208601612853565b91505092915050565b600082601f83011261298857600080fd5b8135612998848260208601612891565b91505092915050565b6000813590506129b0816142f8565b92915050565b6000813590506129c58161430f565b92915050565b6000602082840312156129dd57600080fd5b60006129eb848285016128cf565b91505092915050565b600060208284031215612a0657600080fd5b6000612a14848285016128e4565b91505092915050565b60008060408385031215612a3057600080fd5b6000612a3e858286016128cf565b9250506020612a4f858286016128cf565b9150509250929050565b600080600060608486031215612a6e57600080fd5b6000612a7c868287016128cf565b9350506020612a8d868287016128cf565b9250506040612a9e868287016129a1565b9150509250925092565b600080600080600080600060e0888a031215612ac357600080fd5b6000612ad18a828b016128cf565b9750506020612ae28a828b016128cf565b9650506040612af38a828b016129a1565b9550506060612b048a828b016129a1565b9450506080612b158a828b016129b6565b93505060a0612b268a828b01612938565b92505060c0612b378a828b01612938565b91505092959891949750929550565b60008060408385031215612b5957600080fd5b6000612b67858286016128cf565b9250506020612b78858286016129a1565b9150509250929050565b600060208284031215612b9457600080fd5b6000612ba284828501612923565b91505092915050565b600060208284031215612bbd57600080fd5b600082013567ffffffffffffffff811115612bd757600080fd5b612be384828501612977565b91505092915050565b60008060408385031215612bff57600080fd5b600083013567ffffffffffffffff811115612c1957600080fd5b612c2585828601612977565b9250506020612c36858286016128cf565b9150509250929050565b600060208284031215612c5257600080fd5b6000612c60848285016129a1565b91505092915050565b60008060008060808587031215612c7f57600080fd5b6000612c8d878288016129a1565b945050602085013567ffffffffffffffff811115612caa57600080fd5b612cb68782880161294d565b935050604085013567ffffffffffffffff811115612cd357600080fd5b612cdf8782880161294d565b925050606085013567ffffffffffffffff811115612cfc57600080fd5b612d08878288016128f9565b91505092959194509250565b612d1d81613966565b82525050565b612d2c81613978565b82525050565b612d3b81613984565b82525050565b612d52612d4d82613984565b613ad7565b82525050565b612d61816139c5565b82525050565b6000612d728261382a565b612d7c8185613835565b9350612d8c8185602086016139f8565b612d9581613b9d565b840191505092915050565b6000612dab8261382a565b612db58185613846565b9350612dc58185602086016139f8565b80840191505092915050565b6000612dde601883613835565b9150612de982613bae565b602082019050919050565b6000612e01602383613835565b9150612e0c82613bd7565b604082019050919050565b6000612e24601f83613835565b9150612e2f82613c26565b602082019050919050565b6000612e47601c83613846565b9150612e5282613c4f565b601c82019050919050565b6000612e6a602a83613835565b9150612e7582613c78565b604082019050919050565b6000612e8d602683613835565b9150612e9882613cc7565b604082019050919050565b6000612eb0602283613835565b9150612ebb82613d16565b604082019050919050565b6000612ed3600283613846565b9150612ede82613d65565b600282019050919050565b6000612ef6602983613835565b9150612f0182613d8e565b604082019050919050565b6000612f19601d83613835565b9150612f2482613ddd565b602082019050919050565b6000612f3c601d83613835565b9150612f4782613e06565b602082019050919050565b6000612f5f602683613835565b9150612f6a82613e2f565b604082019050919050565b6000612f82602283613835565b9150612f8d82613e7e565b604082019050919050565b6000612fa5602483613835565b9150612fb082613ecd565b604082019050919050565b6000612fc8601583613835565b9150612fd382613f1c565b602082019050919050565b6000612feb602883613835565b9150612ff682613f45565b604082019050919050565b600061300e601883613835565b915061301982613f94565b602082019050919050565b6000613031602283613835565b915061303c82613fbd565b604082019050919050565b6000613054601e83613835565b915061305f8261400c565b602082019050919050565b6000613077602083613835565b915061308282614035565b602082019050919050565b600061309a602583613835565b91506130a58261405e565b604082019050919050565b60006130bd602783613835565b91506130c8826140ad565b604082019050919050565b60006130e0602483613835565b91506130eb826140fc565b604082019050919050565b6000613103602483613835565b915061310e8261414b565b604082019050919050565b6000613126604083613835565b91506131318261419a565b604082019050919050565b6000613149601e83613835565b9150613154826141e9565b602082019050919050565b600061316c601f83613835565b915061317782614212565b602082019050919050565b600061318f602583613835565b915061319a8261423b565b604082019050919050565b60006131b2601a83613835565b91506131bd8261428a565b602082019050919050565b6131d1816139ae565b82525050565b6131e0816139b8565b82525050565b60006131f28284612da0565b915081905092915050565b600061320882612e3a565b91506132148284612d41565b60208201915081905092915050565b600061322e82612ec6565b915061323a8285612d41565b60208201915061324a8284612d41565b6020820191508190509392505050565b600060208201905061326f6000830184612d14565b92915050565b600060208201905061328a6000830184612d23565b92915050565b60006020820190506132a56000830184612d32565b92915050565b600060c0820190506132c06000830189612d32565b6132cd6020830188612d14565b6132da6040830187612d14565b6132e760608301866131c8565b6132f460808301856131c8565b61330160a08301846131c8565b979650505050505050565b600060a0820190506133216000830188612d32565b61332e6020830187612d32565b61333b6040830186612d32565b61334860608301856131c8565b6133556080830184612d14565b9695505050505050565b60006080820190506133746000830187612d32565b61338160208301866131d7565b61338e6040830185612d32565b61339b6060830184612d32565b95945050505050565b60006020820190506133b96000830184612d58565b92915050565b600060208201905081810360008301526133d98184612d67565b905092915050565b600060208201905081810360008301526133fa81612dd1565b9050919050565b6000602082019050818103600083015261341a81612df4565b9050919050565b6000602082019050818103600083015261343a81612e17565b9050919050565b6000602082019050818103600083015261345a81612e5d565b9050919050565b6000602082019050818103600083015261347a81612e80565b9050919050565b6000602082019050818103600083015261349a81612ea3565b9050919050565b600060208201905081810360008301526134ba81612ee9565b9050919050565b600060208201905081810360008301526134da81612f0c565b9050919050565b600060208201905081810360008301526134fa81612f2f565b9050919050565b6000602082019050818103600083015261351a81612f52565b9050919050565b6000602082019050818103600083015261353a81612f75565b9050919050565b6000602082019050818103600083015261355a81612f98565b9050919050565b6000602082019050818103600083015261357a81612fbb565b9050919050565b6000602082019050818103600083015261359a81612fde565b9050919050565b600060208201905081810360008301526135ba81613001565b9050919050565b600060208201905081810360008301526135da81613024565b9050919050565b600060208201905081810360008301526135fa81613047565b9050919050565b6000602082019050818103600083015261361a8161306a565b9050919050565b6000602082019050818103600083015261363a8161308d565b9050919050565b6000602082019050818103600083015261365a816130b0565b9050919050565b6000602082019050818103600083015261367a816130d3565b9050919050565b6000602082019050818103600083015261369a816130f6565b9050919050565b600060208201905081810360008301526136ba81613119565b9050919050565b600060208201905081810360008301526136da8161313c565b9050919050565b600060208201905081810360008301526136fa8161315f565b9050919050565b6000602082019050818103600083015261371a81613182565b9050919050565b6000602082019050818103600083015261373a816131a5565b9050919050565b600060208201905061375660008301846131c8565b92915050565b600060208201905061377160008301846131d7565b92915050565b6000613781613792565b905061378d8282613a5d565b919050565b6000604051905090565b600067ffffffffffffffff8211156137b7576137b6613b6e565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156137e3576137e2613b6e565b5b6137ec82613b9d565b9050602081019050919050565b600067ffffffffffffffff82111561381457613813613b6e565b5b61381d82613b9d565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600061385c826139ae565b9150613867836139ae565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561389c5761389b613ae1565b5b828201905092915050565b60006138b2826139ae565b91506138bd836139ae565b9250826138cd576138cc613b10565b5b828204905092915050565b60006138e3826139ae565b91506138ee836139ae565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561392757613926613ae1565b5b828202905092915050565b600061393d826139ae565b9150613948836139ae565b92508282101561395b5761395a613ae1565b5b828203905092915050565b60006139718261398e565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006139d0826139d7565b9050919050565b60006139e28261398e565b9050919050565b82818337600083830152505050565b60005b83811015613a165780820151818401526020810190506139fb565b83811115613a25576000848401525b50505050565b60006002820490506001821680613a4357607f821691505b60208210811415613a5757613a56613b3f565b5b50919050565b613a6682613b9d565b810181811067ffffffffffffffff82111715613a8557613a84613b6e565b5b80604052505050565b6000613a99826139ae565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613acc57613acb613ae1565b5b600182019050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4c616e6444414f3a206c616e646f776e65727320636c61696d206e6f7420666960008201527f6e69736865642079657400000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f4c616e6444414f3a204e46542062656c6f6e677320746f20646966666572656e60008201527f7420616464726573730000000000000000000000000000000000000000000000602082015250565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b7f45524332305065726d69743a206578706972656420646561646c696e65000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4c616e6444414f3a20696e76616c69642077686974656c697374207369676e6160008201527f7475726500000000000000000000000000000000000000000000000000000000602082015250565b7f4c616e6444616f3a206e6f7420656c696769626c650000000000000000000000600082015250565b7f4c616e6444414f3a206e6f7420616c6c6f77656420746f206f7665727370656e60008201527f6420737570706c79000000000000000000000000000000000000000000000000602082015250565b7f4c616e6444414f3a20616c726561647920636c61696d65640000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332305065726d69743a20696e76616c6964207369676e61747572650000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f4c616e6444414f3a20746f6b656e7320666f72204e465420616c72656164792060008201527f636c61696d656400000000000000000000000000000000000000000000000000602082015250565b7f4c616e6444414f3a20696e76616c6964206c616e646f776e6572207369676e6160008201527f7475726500000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4c616e6444616f3a20796f752063616e206e6f7420636c61696d20796574207560008201527f6e6c65737320796f752070726f7669646520616c6c6f776c6973742064617461602082015250565b7f4c616e6444616f3a20796f752063616e206e6f7420636c61696d207965740000600082015250565b7f4c616e6444616f3a2053686f756c642073656e7420746f20736f6d656f6e6500600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f4c616e6444414f3a2064617465206f7574206f662072616e6765000000000000600082015250565b6142bc81613966565b81146142c757600080fd5b50565b6142d381613978565b81146142de57600080fd5b50565b6142ea81613984565b81146142f557600080fd5b50565b614301816139ae565b811461430c57600080fd5b50565b614318816139b8565b811461432357600080fd5b5056fea2646970667358221220a3bc95a5b7404d844ad9dedc20a6a5747fb1748a894067acbde8ed71208de7da64736f6c63430008040033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000003f33eea734b01ec9e9bd1b44a3eb80c36ba585be000000000000000000000000000000000000000000000000000000000000000a4c414e4420546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044c414e4400000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c80637ecebe001161011a578063a457c2d7116100ad578063d7644ba21161007c578063d7644ba2146105ce578063dd62ed3e146105ea578063de1e93ed1461061a578063eb8071db14610636578063f2fde38b14610666576101fb565b8063a457c2d714610522578063a9059cbb14610552578063c70b783014610582578063d505accf146105b2576101fb565b80639315c57e116100e95780639315c57e146104ac57806394c8e4ff146104c857806395d89b41146104e65780639faa3c3f14610504576101fb565b80637ecebe0014610424578063832d3b61146104545780638da5cb5b1461047257806392929a0914610490576101fb565b8063313ce5671161019257806367e292591161016157806367e292591461039c5780636b1c9962146103ba57806370a08231146103ea578063715018a61461041a576101fb565b8063313ce56714610314578063339a6003146103325780633644e5151461034e578063395093511461036c576101fb565b80630e313724116101ce5780630e3137241461028a57806318160ddd146102a857806323b872dd146102c65780632866ed21146102f6576101fb565b806306fdde0314610200578063080387b41461021e578063095ea7b31461023c5780630b97bc861461026c575b600080fd5b610208610682565b60405161021591906133bf565b60405180910390f35b610226610714565b604051610233919061325a565b60405180910390f35b61025660048036038101906102519190612b46565b610738565b6040516102639190613275565b60405180910390f35b61027461075b565b6040516102819190613741565b60405180910390f35b61029261077f565b60405161029f9190613275565b60405180910390f35b6102b0610792565b6040516102bd9190613741565b60405180910390f35b6102e060048036038101906102db9190612a59565b61079c565b6040516102ed9190613275565b60405180910390f35b6102fe6107cb565b60405161030b9190613275565b60405180910390f35b61031c6107de565b604051610329919061375c565b60405180910390f35b61034c600480360381019061034791906129cb565b6107e7565b005b61035661092e565b6040516103639190613290565b60405180910390f35b61038660048036038101906103819190612b46565b61093d565b6040516103939190613275565b60405180910390f35b6103a46109e7565b6040516103b19190613741565b60405180910390f35b6103d460048036038101906103cf9190612bab565b6109ed565b6040516103e19190613741565b60405180910390f35b61040460048036038101906103ff91906129cb565b610a1b565b6040516104119190613741565b60405180910390f35b610422610a63565b005b61043e600480360381019061043991906129cb565b610aeb565b60405161044b9190613741565b60405180910390f35b61045c610b3b565b60405161046991906133a4565b60405180910390f35b61047a610b5f565b604051610487919061325a565b60405180910390f35b6104aa60048036038101906104a59190612b82565b610b89565b005b6104c660048036038101906104c19190612bec565b610c22565b005b6104d0610da8565b6040516104dd9190613275565b60405180910390f35b6104ee610dbb565b6040516104fb91906133bf565b60405180910390f35b61050c610e4d565b6040516105199190613741565b60405180910390f35b61053c60048036038101906105379190612b46565b610e5c565b6040516105499190613275565b60405180910390f35b61056c60048036038101906105679190612b46565b610f46565b6040516105799190613275565b60405180910390f35b61059c600480360381019061059791906129cb565b610f69565b6040516105a9919061375c565b60405180910390f35b6105cc60048036038101906105c79190612aa8565b610f89565b005b6105e860048036038101906105e39190612b82565b6110cb565b005b61060460048036038101906105ff9190612a1d565b611164565b6040516106119190613741565b60405180910390f35b610634600480360381019061062f9190612c69565b6111eb565b005b610650600480360381019061064b9190612c40565b6113b2565b60405161065d9190613275565b60405180910390f35b610680600480360381019061067b91906129cb565b6113d2565b005b60606003805461069190613a2b565b80601f01602080910402602001604051908101604052809291908181526020018280546106bd90613a2b565b801561070a5780601f106106df5761010080835404028352916020019161070a565b820191906000526020600020905b8154815290600101906020018083116106ed57829003601f168201915b5050505050905090565b7f0000000000000000000000003846b833d04a4fea133afdc899746f1ffd108b0281565b6000806107436114ca565b90506107508185856114d2565b600191505092915050565b7f000000000000000000000000000000000000000000000000000000006244992881565b600b60029054906101000a900460ff1681565b6000600254905090565b6000806107a76114ca565b90506107b485828561169d565b6107bf858585611729565b60019150509392505050565b600b60009054906101000a900460ff1681565b60006012905090565b6107ef6114ca565b73ffffffffffffffffffffffffffffffffffffffff1661080d610b5f565b73ffffffffffffffffffffffffffffffffffffffff1614610863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085a90613601565b60405180910390fd5b62ed4e007f00000000000000000000000000000000000000000000000000000000624499286108929190613851565b42116108d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ca90613441565b60405180910390fd5b600b60029054906101000a900460ff16156108ed57600080fd5b6001600b60026101000a81548160ff02191690831515021790555061092b30826007546a4a723dc6b40b8a9a0000006109269190613932565b611729565b50565b60006109386119aa565b905090565b6000806109486114ca565b90506109dc818585600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546109d79190613851565b6114d2565b600191505092915050565b60075481565b6008818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610a6b6114ca565b73ffffffffffffffffffffffffffffffffffffffff16610a89610b5f565b73ffffffffffffffffffffffffffffffffffffffff1614610adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad690613601565b60405180910390fd5b610ae96000611ac4565b565b6000610b34600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611b8a565b9050919050565b7f0000000000000000000000003f33eea734b01ec9e9bd1b44a3eb80c36ba585be81565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610b916114ca565b73ffffffffffffffffffffffffffffffffffffffff16610baf610b5f565b73ffffffffffffffffffffffffffffffffffffffff1614610c05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfc90613601565b60405180910390fd5b80600b60006101000a81548160ff02191690831515021790555050565b610c2a6114ca565b73ffffffffffffffffffffffffffffffffffffffff16610c48610b5f565b73ffffffffffffffffffffffffffffffffffffffff1614610c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9590613601565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d05906136e1565b60405180910390fd5b6000600883604051610d2091906131e6565b908152602001604051809103902054905060008111610d74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6b90613561565b60405180910390fd5b610d7f308383611729565b6000600884604051610d9191906131e6565b908152602001604051809103902081905550505050565b600b60019054906101000a900460ff1681565b606060048054610dca90613a2b565b80601f0160208091040260200160405190810160405280929190818152602001828054610df690613a2b565b8015610e435780601f10610e1857610100808354040283529160200191610e43565b820191906000526020600020905b815481529060010190602001808311610e2657829003601f168201915b5050505050905090565b6a4a723dc6b40b8a9a00000081565b600080610e676114ca565b90506000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015610f2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2490613701565b60405180910390fd5b610f3a82868684036114d2565b60019250505092915050565b600080610f516114ca565b9050610f5e818585611729565b600191505092915050565b600a6020528060005260406000206000915054906101000a900460ff1681565b83421115610fcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc3906134e1565b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610ffb8c611b98565b89604051602001611011969594939291906132ab565b604051602081830303815290604052805190602001209050600061103482611bf6565b9050600061104482878787611c10565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ab906135e1565b60405180910390fd5b6110bf8a8a8a6114d2565b50505050505050505050565b6110d36114ca565b73ffffffffffffffffffffffffffffffffffffffff166110f1610b5f565b73ffffffffffffffffffffffffffffffffffffffff1614611147576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113e90613601565b60405180910390fd5b80600b60016101000a81548160ff02191690831515021790555050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600b60009054906101000a900460ff1661138457600b60019054906101000a900460ff1661124e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611245906136c1565b60405180910390fd5b6000825111611292576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611289906136a1565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1660001b90506000816040516020016112c391906131fd565b60405160208183030381529060405280519060200120905060006112f08583611c3b90919063ffffffff16565b90507f0000000000000000000000003846b833d04a4fea133afdc899746f1ffd108b0273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611380576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137790613541565b60405180910390fd5b5050505b6000841115611398576113978484611c62565b5b6000815111156113ac576113ab81611fe7565b5b50505050565b60096020528060005260406000206000915054906101000a900460ff1681565b6113da6114ca565b73ffffffffffffffffffffffffffffffffffffffff166113f8610b5f565b73ffffffffffffffffffffffffffffffffffffffff161461144e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144590613601565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b590613461565b60405180910390fd5b6114c781611ac4565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611542576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153990613681565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a990613481565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516116909190613741565b60405180910390a3505050565b60006116a98484611164565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146117235781811015611715576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170c906134c1565b60405180910390fd5b61172284848484036114d2565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611799576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179090613621565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180090613401565b60405180910390fd5b61181483838361221a565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561189a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189190613501565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461192d9190613851565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516119919190613741565b60405180910390a36119a484848461221f565b50505050565b60007f00000000000000000000000054aa569005332e4d6f91e27c55307aaef607c0e273ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16148015611a2657507f000000000000000000000000000000000000000000000000000000000000000146145b15611a53577f1514752c1808805debe2d7ee24dc9fc09f5b07c83833382782326f6503a52fab9050611ac1565b611abe7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f083b1c2a6783a4a831bd0be0f752568ab2dab5839ab74f8cd7e2a15bb76921ac7fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6612224565b90505b90565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b600080600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611be581611b8a565b9150611bf08161225e565b50919050565b6000611c09611c036119aa565b83612274565b9050919050565b6000806000611c21878787876122a7565b91509150611c2e816123b4565b8192505050949350505050565b6000806000611c4a8585612705565b91509150611c57816123b4565b819250505092915050565b60008260603373ffffffffffffffffffffffffffffffffffffffff16901b611c8a9190613851565b60001b9050600081604051602001611ca291906131fd565b6040516020818303038152906040528051906020012090506000611ccf8483611c3b90919063ffffffff16565b90507f0000000000000000000000003846b833d04a4fea133afdc899746f1ffd108b0273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611d5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5690613661565b60405180910390fd5b6000624f1a007f0000000000000000000000000000000000000000000000000000000062449928611d909190613851565b90506000629e340082611da39190613851565b905080421115611de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddf90613721565b60405180910390fd5b6000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905060028160ff1610611e7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e76906135a1565b60405180910390fd5b82421015611ee55760008160ff1614611ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec4906135a1565b60405180910390fd5b60019050600288611ede91906138a7565b9750611f06565b60018160ff161415611f0157600288611efe91906138a7565b97505b600290505b6a4a723dc6b40b8a9a00000088600754611f209190613851565b1115611f61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5890613581565b60405180910390fd5b80600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055508760076000828254611fcb9190613851565b92505081905550611fdd30338a611729565b5050505050505050565b60005b81518110156121ef57600082828151811061202e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506009600082815260200190815260200160002060009054906101000a900460ff1615612099576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209090613641565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167f0000000000000000000000003f33eea734b01ec9e9bd1b44a3eb80c36ba585be73ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016121099190613741565b60206040518083038186803b15801561212157600080fd5b505afa158015612135573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061215991906129f4565b73ffffffffffffffffffffffffffffffffffffffff16146121af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a6906134a1565b60405180910390fd5b60016009600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505080806121e790613a8e565b915050611fea565b50600081516901e7e4171bf4d3a0000061220991906138d8565b9050612216303383611729565b5050565b505050565b505050565b6000838383463060405160200161223f95949392919061330c565b6040516020818303038152906040528051906020012090509392505050565b6001816000016000828254019250508190555050565b60008282604051602001612289929190613223565b60405160208183030381529060405280519060200120905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156122e25760006003915091506123ab565b601b8560ff16141580156122fa5750601c8560ff1614155b1561230c5760006004915091506123ab565b600060018787878760405160008152602001604052604051612331949392919061335f565b6020604051602081039080840390855afa158015612353573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123a2576000600192509250506123ab565b80600092509250505b94509492505050565b600060048111156123ee577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612427577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561243257612702565b6001600481111561246c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156124a5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156124e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124dd906133e1565b60405180910390fd5b60026004811115612520577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612559577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561259a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259190613421565b60405180910390fd5b600360048111156125d4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561260d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561264e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264590613521565b60405180910390fd5b600480811115612687577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156126c0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612701576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f8906135c1565b60405180910390fd5b5b50565b6000806041835114156127475760008060006020860151925060408601519150606086015160001a905061273b878285856122a7565b94509450505050612781565b60408351141561277857600080602085015191506040850151905061276d868383612788565b935093505050612781565b60006002915091505b9250929050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6127cb9190613851565b90506127d9878288856122a7565b935093505050935093915050565b60006127fa6127f58461379c565b613777565b9050808382526020820190508285602086028201111561281957600080fd5b60005b85811015612849578161282f88826129a1565b84526020840193506020830192505060018101905061281c565b5050509392505050565b6000612866612861846137c8565b613777565b90508281526020810184848401111561287e57600080fd5b6128898482856139e9565b509392505050565b60006128a461289f846137f9565b613777565b9050828152602081018484840111156128bc57600080fd5b6128c78482856139e9565b509392505050565b6000813590506128de816142b3565b92915050565b6000815190506128f3816142b3565b92915050565b600082601f83011261290a57600080fd5b813561291a8482602086016127e7565b91505092915050565b600081359050612932816142ca565b92915050565b600081359050612947816142e1565b92915050565b600082601f83011261295e57600080fd5b813561296e848260208601612853565b91505092915050565b600082601f83011261298857600080fd5b8135612998848260208601612891565b91505092915050565b6000813590506129b0816142f8565b92915050565b6000813590506129c58161430f565b92915050565b6000602082840312156129dd57600080fd5b60006129eb848285016128cf565b91505092915050565b600060208284031215612a0657600080fd5b6000612a14848285016128e4565b91505092915050565b60008060408385031215612a3057600080fd5b6000612a3e858286016128cf565b9250506020612a4f858286016128cf565b9150509250929050565b600080600060608486031215612a6e57600080fd5b6000612a7c868287016128cf565b9350506020612a8d868287016128cf565b9250506040612a9e868287016129a1565b9150509250925092565b600080600080600080600060e0888a031215612ac357600080fd5b6000612ad18a828b016128cf565b9750506020612ae28a828b016128cf565b9650506040612af38a828b016129a1565b9550506060612b048a828b016129a1565b9450506080612b158a828b016129b6565b93505060a0612b268a828b01612938565b92505060c0612b378a828b01612938565b91505092959891949750929550565b60008060408385031215612b5957600080fd5b6000612b67858286016128cf565b9250506020612b78858286016129a1565b9150509250929050565b600060208284031215612b9457600080fd5b6000612ba284828501612923565b91505092915050565b600060208284031215612bbd57600080fd5b600082013567ffffffffffffffff811115612bd757600080fd5b612be384828501612977565b91505092915050565b60008060408385031215612bff57600080fd5b600083013567ffffffffffffffff811115612c1957600080fd5b612c2585828601612977565b9250506020612c36858286016128cf565b9150509250929050565b600060208284031215612c5257600080fd5b6000612c60848285016129a1565b91505092915050565b60008060008060808587031215612c7f57600080fd5b6000612c8d878288016129a1565b945050602085013567ffffffffffffffff811115612caa57600080fd5b612cb68782880161294d565b935050604085013567ffffffffffffffff811115612cd357600080fd5b612cdf8782880161294d565b925050606085013567ffffffffffffffff811115612cfc57600080fd5b612d08878288016128f9565b91505092959194509250565b612d1d81613966565b82525050565b612d2c81613978565b82525050565b612d3b81613984565b82525050565b612d52612d4d82613984565b613ad7565b82525050565b612d61816139c5565b82525050565b6000612d728261382a565b612d7c8185613835565b9350612d8c8185602086016139f8565b612d9581613b9d565b840191505092915050565b6000612dab8261382a565b612db58185613846565b9350612dc58185602086016139f8565b80840191505092915050565b6000612dde601883613835565b9150612de982613bae565b602082019050919050565b6000612e01602383613835565b9150612e0c82613bd7565b604082019050919050565b6000612e24601f83613835565b9150612e2f82613c26565b602082019050919050565b6000612e47601c83613846565b9150612e5282613c4f565b601c82019050919050565b6000612e6a602a83613835565b9150612e7582613c78565b604082019050919050565b6000612e8d602683613835565b9150612e9882613cc7565b604082019050919050565b6000612eb0602283613835565b9150612ebb82613d16565b604082019050919050565b6000612ed3600283613846565b9150612ede82613d65565b600282019050919050565b6000612ef6602983613835565b9150612f0182613d8e565b604082019050919050565b6000612f19601d83613835565b9150612f2482613ddd565b602082019050919050565b6000612f3c601d83613835565b9150612f4782613e06565b602082019050919050565b6000612f5f602683613835565b9150612f6a82613e2f565b604082019050919050565b6000612f82602283613835565b9150612f8d82613e7e565b604082019050919050565b6000612fa5602483613835565b9150612fb082613ecd565b604082019050919050565b6000612fc8601583613835565b9150612fd382613f1c565b602082019050919050565b6000612feb602883613835565b9150612ff682613f45565b604082019050919050565b600061300e601883613835565b915061301982613f94565b602082019050919050565b6000613031602283613835565b915061303c82613fbd565b604082019050919050565b6000613054601e83613835565b915061305f8261400c565b602082019050919050565b6000613077602083613835565b915061308282614035565b602082019050919050565b600061309a602583613835565b91506130a58261405e565b604082019050919050565b60006130bd602783613835565b91506130c8826140ad565b604082019050919050565b60006130e0602483613835565b91506130eb826140fc565b604082019050919050565b6000613103602483613835565b915061310e8261414b565b604082019050919050565b6000613126604083613835565b91506131318261419a565b604082019050919050565b6000613149601e83613835565b9150613154826141e9565b602082019050919050565b600061316c601f83613835565b915061317782614212565b602082019050919050565b600061318f602583613835565b915061319a8261423b565b604082019050919050565b60006131b2601a83613835565b91506131bd8261428a565b602082019050919050565b6131d1816139ae565b82525050565b6131e0816139b8565b82525050565b60006131f28284612da0565b915081905092915050565b600061320882612e3a565b91506132148284612d41565b60208201915081905092915050565b600061322e82612ec6565b915061323a8285612d41565b60208201915061324a8284612d41565b6020820191508190509392505050565b600060208201905061326f6000830184612d14565b92915050565b600060208201905061328a6000830184612d23565b92915050565b60006020820190506132a56000830184612d32565b92915050565b600060c0820190506132c06000830189612d32565b6132cd6020830188612d14565b6132da6040830187612d14565b6132e760608301866131c8565b6132f460808301856131c8565b61330160a08301846131c8565b979650505050505050565b600060a0820190506133216000830188612d32565b61332e6020830187612d32565b61333b6040830186612d32565b61334860608301856131c8565b6133556080830184612d14565b9695505050505050565b60006080820190506133746000830187612d32565b61338160208301866131d7565b61338e6040830185612d32565b61339b6060830184612d32565b95945050505050565b60006020820190506133b96000830184612d58565b92915050565b600060208201905081810360008301526133d98184612d67565b905092915050565b600060208201905081810360008301526133fa81612dd1565b9050919050565b6000602082019050818103600083015261341a81612df4565b9050919050565b6000602082019050818103600083015261343a81612e17565b9050919050565b6000602082019050818103600083015261345a81612e5d565b9050919050565b6000602082019050818103600083015261347a81612e80565b9050919050565b6000602082019050818103600083015261349a81612ea3565b9050919050565b600060208201905081810360008301526134ba81612ee9565b9050919050565b600060208201905081810360008301526134da81612f0c565b9050919050565b600060208201905081810360008301526134fa81612f2f565b9050919050565b6000602082019050818103600083015261351a81612f52565b9050919050565b6000602082019050818103600083015261353a81612f75565b9050919050565b6000602082019050818103600083015261355a81612f98565b9050919050565b6000602082019050818103600083015261357a81612fbb565b9050919050565b6000602082019050818103600083015261359a81612fde565b9050919050565b600060208201905081810360008301526135ba81613001565b9050919050565b600060208201905081810360008301526135da81613024565b9050919050565b600060208201905081810360008301526135fa81613047565b9050919050565b6000602082019050818103600083015261361a8161306a565b9050919050565b6000602082019050818103600083015261363a8161308d565b9050919050565b6000602082019050818103600083015261365a816130b0565b9050919050565b6000602082019050818103600083015261367a816130d3565b9050919050565b6000602082019050818103600083015261369a816130f6565b9050919050565b600060208201905081810360008301526136ba81613119565b9050919050565b600060208201905081810360008301526136da8161313c565b9050919050565b600060208201905081810360008301526136fa8161315f565b9050919050565b6000602082019050818103600083015261371a81613182565b9050919050565b6000602082019050818103600083015261373a816131a5565b9050919050565b600060208201905061375660008301846131c8565b92915050565b600060208201905061377160008301846131d7565b92915050565b6000613781613792565b905061378d8282613a5d565b919050565b6000604051905090565b600067ffffffffffffffff8211156137b7576137b6613b6e565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156137e3576137e2613b6e565b5b6137ec82613b9d565b9050602081019050919050565b600067ffffffffffffffff82111561381457613813613b6e565b5b61381d82613b9d565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600061385c826139ae565b9150613867836139ae565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561389c5761389b613ae1565b5b828201905092915050565b60006138b2826139ae565b91506138bd836139ae565b9250826138cd576138cc613b10565b5b828204905092915050565b60006138e3826139ae565b91506138ee836139ae565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561392757613926613ae1565b5b828202905092915050565b600061393d826139ae565b9150613948836139ae565b92508282101561395b5761395a613ae1565b5b828203905092915050565b60006139718261398e565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006139d0826139d7565b9050919050565b60006139e28261398e565b9050919050565b82818337600083830152505050565b60005b83811015613a165780820151818401526020810190506139fb565b83811115613a25576000848401525b50505050565b60006002820490506001821680613a4357607f821691505b60208210811415613a5757613a56613b3f565b5b50919050565b613a6682613b9d565b810181811067ffffffffffffffff82111715613a8557613a84613b6e565b5b80604052505050565b6000613a99826139ae565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613acc57613acb613ae1565b5b600182019050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4c616e6444414f3a206c616e646f776e65727320636c61696d206e6f7420666960008201527f6e69736865642079657400000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f4c616e6444414f3a204e46542062656c6f6e677320746f20646966666572656e60008201527f7420616464726573730000000000000000000000000000000000000000000000602082015250565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b7f45524332305065726d69743a206578706972656420646561646c696e65000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4c616e6444414f3a20696e76616c69642077686974656c697374207369676e6160008201527f7475726500000000000000000000000000000000000000000000000000000000602082015250565b7f4c616e6444616f3a206e6f7420656c696769626c650000000000000000000000600082015250565b7f4c616e6444414f3a206e6f7420616c6c6f77656420746f206f7665727370656e60008201527f6420737570706c79000000000000000000000000000000000000000000000000602082015250565b7f4c616e6444414f3a20616c726561647920636c61696d65640000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332305065726d69743a20696e76616c6964207369676e61747572650000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f4c616e6444414f3a20746f6b656e7320666f72204e465420616c72656164792060008201527f636c61696d656400000000000000000000000000000000000000000000000000602082015250565b7f4c616e6444414f3a20696e76616c6964206c616e646f776e6572207369676e6160008201527f7475726500000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4c616e6444616f3a20796f752063616e206e6f7420636c61696d20796574207560008201527f6e6c65737320796f752070726f7669646520616c6c6f776c6973742064617461602082015250565b7f4c616e6444616f3a20796f752063616e206e6f7420636c61696d207965740000600082015250565b7f4c616e6444616f3a2053686f756c642073656e7420746f20736f6d656f6e6500600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f4c616e6444414f3a2064617465206f7574206f662072616e6765000000000000600082015250565b6142bc81613966565b81146142c757600080fd5b50565b6142d381613978565b81146142de57600080fd5b50565b6142ea81613984565b81146142f557600080fd5b50565b614301816139ae565b811461430c57600080fd5b50565b614318816139b8565b811461432357600080fd5b5056fea2646970667358221220a3bc95a5b7404d844ad9dedc20a6a5747fb1748a894067acbde8ed71208de7da64736f6c63430008040033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000003f33eea734b01ec9e9bd1b44a3eb80c36ba585be000000000000000000000000000000000000000000000000000000000000000a4c414e4420546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044c414e4400000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): LAND Token
Arg [1] : symbol_ (string): LAND
Arg [2] : dlsNftAddress (address): 0x3f33EEA734B01Ec9e9bd1b44A3eb80c36ba585BE

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000003f33eea734b01ec9e9bd1b44a3eb80c36ba585be
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [4] : 4c414e4420546f6b656e00000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 4c414e4400000000000000000000000000000000000000000000000000000000


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.