ETH Price: $3,352.01 (+2.73%)
 

Overview

TokenID

626

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

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:
VOYA

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 10 : VOYA.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import {ERC404} from "./ERC404.sol";
import {OnlyEOA} from "./OnlyEOA.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract VOYA is ERC404, OnlyEOA {
    string public baseTokenURI;

    constructor(
        address owner_,
        address feeWallet_,
        address[6] memory starts_
    ) ERC404("UnknownVoyage", "VOYA", 18, 4500, owner_, feeWallet_) {
        balanceOf[starts_[0]] += 500 ether;
        balanceOf[starts_[1]] += 675 ether;
        balanceOf[starts_[2]] += 100 ether;
        balanceOf[starts_[3]] += 200 ether;
        balanceOf[starts_[4]] += 200 ether;
        balanceOf[starts_[5]] += 2825 ether;
        for (uint i = 0; i < starts_.length; i++) {
            whitelist[starts_[i]] = true;
        }
    }

    function setNameSymbol(
        string memory name_,
        string memory symbol_
    ) public onlyOwner {
        _setNameSymbol(name_, symbol_);
    }

    function setTokenURI(string memory tokenURI_) public onlyOwner {
        baseTokenURI = tokenURI_;
    }

    function tokenURI(uint256 id) public view override returns (string memory) {
        return string.concat(baseTokenURI, Strings.toString(id));
    }
}

File 2 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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 10 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.20;

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

File 4 of 10 : ERC721Holder.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/utils/ERC721Holder.sol)

pragma solidity ^0.8.20;

import {IERC721Receiver} from "../IERC721Receiver.sol";

/**
 * @dev Implementation of the {IERC721Receiver} interface.
 *
 * Accepts all token transfers.
 * Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or
 * {IERC721-setApprovalForAll}.
 */
abstract contract ERC721Holder is IERC721Receiver {
    /**
     * @dev See {IERC721Receiver-onERC721Received}.
     *
     * Always returns `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(address, address, uint256, bytes memory) public virtual returns (bytes4) {
        return this.onERC721Received.selector;
    }
}

File 5 of 10 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

File 6 of 10 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or
     * denominator == 0.
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by
     * Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.
            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.

            uint256 twos = denominator & (0 - denominator);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also
            // works in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded
     * towards zero.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

File 7 of 10 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

File 8 of 10 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)

pragma solidity ^0.8.20;

import {Math} from "./math/Math.sol";
import {SignedMath} from "./math/SignedMath.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant HEX_DIGITS = "0123456789abcdef";
    uint8 private constant ADDRESS_LENGTH = 20;

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        uint256 localValue = value;
        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_DIGITS[localValue & 0xf];
            localValue >>= 4;
        }
        if (localValue != 0) {
            revert StringsInsufficientHexLength(value, length);
        }
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal
     * representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

File 9 of 10 : ERC404.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol";


abstract contract ERC404 is Ownable {
    // Events
    event ERC20Transfer(
        address indexed from,
        address indexed to,
        uint256 amount
    );
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 amount
    );
    event Transfer(
        address indexed from,
        address indexed to,
        uint256 indexed id
    );
    event ERC721Approval(
        address indexed owner,
        address indexed spender,
        uint256 indexed id
    );
    event ApprovalForAll(
        address indexed owner,
        address indexed operator,
        bool approved
    );

    // Errors
    error NotFound();
    error AlreadyExists();
    error InvalidRecipient();
    error InvalidSender();
    error UnsafeRecipient();
    error Unauthorized();
    error Banned();
    error ERC721OutOfBoundsIndex(address owner, uint index);

    // Metadata
    /// @dev Token name
    string public name;

    /// @dev Token symbol
    string public symbol;

    /// @dev Decimals for fractional representation
    uint8 public immutable decimals;

    /// @dev Total supply in fractionalized representation
    uint256 public immutable totalSupply;

    // @ERC404+ Array of burnt IDs
    uint256[] public _burnedTokenIds;

    /// @dev Current mint counter, monotonically increasing to ensure accurate ownership
    uint256 public minted;

    /// @dev Current mint counter, monotonically increasing to ensure accurate ownership
    uint256 public max_mint;

    // Mappings
    /// @dev Balance of user in fractional representation
    mapping(address => uint256) public balanceOf;

    /// @dev Allowance of user in fractional representation
    mapping(address => mapping(address => uint256)) public allowance;

    /// @dev Approval in native representaion
    mapping(uint256 => address) public getApproved;

    /// @dev Approval for all in native representation
    mapping(address => mapping(address => bool)) public isApprovedForAll;

    /// @dev Owner of id in native representation
    mapping(uint256 => address) internal _ownerOf;

    /// @dev Array of owned ids in native representation
    mapping(address => uint256[]) internal _owned;

    /// @dev Tracks indices for the _owned mapping
    mapping(uint256 => uint256) internal _ownedIndex;

    /// @dev Addresses whitelisted from minting / burning for gas savings (pairs, routers, etc)
    mapping(address => bool) public whitelist;

    mapping(address => bool) public transferBlacklist;

    mapping(address => bool) public feeWhitelist;

    uint public feeBuy = 0;
    uint public feeSell = 0;
    uint public feeTransfer = 0;
    uint public feeDeno = 100;

    address public feeWallet;

    mapping(address => bool) public markets;

    // Constructor
    constructor(
        string memory _name,
        string memory _symbol,
        uint8 _decimals,
        uint256 _totalNativeSupply,
        address _owner,
        address _feeWallet
    ) Ownable(_owner) {
        name = _name;
        symbol = _symbol;
        decimals = _decimals;
        totalSupply = _totalNativeSupply * (10 ** decimals);
        max_mint = _totalNativeSupply;
        whitelist[msg.sender] = true;
        feeWallet = _feeWallet;
    }


    /// @notice Function to find owner of a given native token
    function ownerOf(uint256 id) public view virtual returns (address owner) {
        owner = _ownerOf[id];

        if (owner == address(0)) {
            revert NotFound();
        }
    }

    /// @notice tokenURI must be implemented by child contract
    function tokenURI(uint256 id) public view virtual returns (string memory);

    /// @notice Function for token approvals
    /// @dev This function assumes id / native if amount less than or equal to current max id
    function approve(
        address spender,
        uint256 amountOrId
    ) public virtual returns (bool) {
        if (amountOrId <= minted && amountOrId > 0) {
            address owner = _ownerOf[amountOrId];

            if (msg.sender != owner && !isApprovedForAll[owner][msg.sender]) {
                revert Unauthorized();
            }

            getApproved[amountOrId] = spender;

            emit Approval(owner, spender, amountOrId);
        } else {
            allowance[msg.sender][spender] = amountOrId;

            emit Approval(msg.sender, spender, amountOrId);
        }

        return true;
    }

    /// @notice Function native approvals
    function setApprovalForAll(address operator, bool approved) public virtual {
        isApprovedForAll[msg.sender][operator] = approved;

        emit ApprovalForAll(msg.sender, operator, approved);
    }

    /// @notice Function for mixed transfers
    /// @dev This function assumes id / native if amount less than or equal to current max id
    function transferFrom(
        address from,
        address to,
        uint256 amountOrId
    ) public virtual {
        if (transferBlacklist[from]) {
            revert Banned();
        }

        if (amountOrId <= minted) {
            if (from != _ownerOf[amountOrId]) {
                revert InvalidSender();
            }

            if (to == address(0)) {
                revert InvalidRecipient();
            }

            if (
                msg.sender != from &&
                !isApprovedForAll[from][msg.sender] &&
                msg.sender != getApproved[amountOrId]
            ) {
                revert Unauthorized();
            }

            uint unit = _getUnit();
            balanceOf[from] -= unit;

            uint256 balanceBeforeReceiver = balanceOf[to];
            uint fee = _getFee(unit, from, to);
            unchecked {
                balanceOf[to] += unit - fee;
                balanceOf[feeWallet] += fee;
            }

            delete getApproved[amountOrId];
            // update _owned for sender
            uint256 updatedId = _owned[from][_owned[from].length - 1];
            _owned[from][_ownedIndex[amountOrId]] = updatedId;
            _owned[from].pop();
            _ownedIndex[updatedId] = _ownedIndex[amountOrId];
            if ((balanceOf[to] / unit) == (balanceBeforeReceiver / unit)) {
                delete _ownedIndex[amountOrId];
                delete _ownerOf[amountOrId];
                emit Transfer(from, address(0), amountOrId);
            } else {
                _owned[to].push(amountOrId);
                _ownedIndex[amountOrId] = _owned[to].length - 1;
                _ownerOf[amountOrId] = to;
                emit Transfer(from, to, amountOrId);
            }
            emit ERC20Transfer(from, to, unit - fee);
            emit ERC20Transfer(from, feeWallet, fee);
        } else {
            uint256 allowed = allowance[from][msg.sender];

            if (allowed != type(uint256).max)
                allowance[from][msg.sender] = allowed - amountOrId;

            _transfer(from, to, amountOrId);
        }
    }

    /// @notice Function for fractional transfers
    function transfer(
        address to,
        uint256 amount
    ) public virtual returns (bool) {
        return _transfer(msg.sender, to, amount);
    }

    /// @notice Function for native transfers with contract support
    function safeTransferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual {
        transferFrom(from, to, id);

        if (
            to.code.length != 0 &&
            ERC721Holder(to).onERC721Received(msg.sender, from, id, "") !=
            ERC721Holder.onERC721Received.selector
        ) {
            revert UnsafeRecipient();
        }
    }

    /// @notice Function for native transfers with contract support and callback data
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        bytes calldata data
    ) public virtual {
        transferFrom(from, to, id);

        if (
            to.code.length != 0 &&
            ERC721Holder(to).onERC721Received(msg.sender, from, id, data) !=
            ERC721Holder.onERC721Received.selector
        ) {
            revert UnsafeRecipient();
        }
    }

    /// @notice Internal function for fractional transfers
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal returns (bool) {
        if (transferBlacklist[from]) {
            revert Banned();
        }

        uint256 unit = _getUnit();
        uint256 balanceBeforeSender = balanceOf[from];
        uint256 balanceBeforeReceiver = balanceOf[to];

        balanceOf[from] -= amount;

        uint fee = _getFee(amount, from, to);
        unchecked {
            balanceOf[to] += amount - fee;
            balanceOf[feeWallet] += fee;
        }

        // Skip burn for certain addresses to save gas
        if (!whitelist[from]) {
            uint256 tokens_to_burn = (balanceBeforeSender / unit) -
                (balanceOf[from] / unit);
            for (uint256 i = 0; i < tokens_to_burn; i++) {
                _burn(from);
            }
        }

        // Skip minting for certain addresses to save gas
        if (!whitelist[to]) {
            uint256 tokens_to_mint = (balanceOf[to] / unit) -
                (balanceBeforeReceiver / unit);
            for (uint256 i = 0; i < tokens_to_mint; i++) {
                _mint(to);
            }
        }

        emit ERC20Transfer(from, to, amount - fee);
        emit ERC20Transfer(from, feeWallet, fee);
        return true;
    }

    // Internal utility logic
    function _getUnit() internal view returns (uint256) {
        return 10 ** decimals;
    }

    function _mint(address to) internal virtual {
        if (to == address(0)) {
            revert InvalidRecipient();
        }

        unchecked {
            minted++;
        }

        uint256 id = minted;

        if(minted > max_mint && _burnedTokenIds.length > 0){
            uint256 lastIndex = _burnedTokenIds.length - 1;
            id = _burnedTokenIds[lastIndex];
            _burnedTokenIds.pop();
        }

        if (_ownerOf[id] != address(0)) {
            revert AlreadyExists();
        }

        _ownerOf[id] = to;
        _owned[to].push(id);
        _ownedIndex[id] = _owned[to].length - 1;

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

    function _burn(address from) internal virtual {
        if (from == address(0)) {
            revert InvalidSender();
        }

        uint256 id = _owned[from][_owned[from].length - 1];
        _owned[from].pop();
        delete _ownedIndex[id];
        delete _ownerOf[id];
        delete getApproved[id];

        // push ID inside of burnt array
        _burnedTokenIds.push(id);

        emit Transfer(from, address(0), id);
    }

    function _setNameSymbol(
        string memory _name,
        string memory _symbol
    ) internal {
        name = _name;
        symbol = _symbol;
    }

    function NFTBalanceOf(address owner) public view returns (uint256) {
        return _owned[owner].length;
    }

    function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256) {
        if (index >= NFTBalanceOf(owner)) {
            revert ERC721OutOfBoundsIndex(owner, index);
        }
        return _owned[owner][index];
    }

    function setWhitelist(address[] calldata targets, bool state) public onlyOwner {
        for (uint i = 0; i < targets.length; i++) {
            whitelist[targets[i]] = state;
        }
    }

    function setTransferBlacklist(address[] calldata targets, bool state) public onlyOwner {
        for (uint i = 0; i < targets.length; i++) {
            transferBlacklist[targets[i]] = state;
        }
    }

    function setFeeWhitelist(address[] calldata targets, bool state) public onlyOwner {
        for (uint i = 0; i < targets.length; i++) {
            feeWhitelist[targets[i]] = state;
        }
    }

    function setFee(uint feeBuy_, uint feeSell_, uint feeTransfer_, uint feeDeno_) public onlyOwner {
        require(feeBuy_ < feeDeno_ && feeSell_ < feeDeno_ && feeTransfer_ < feeDeno_, "Invalid fee");
        feeBuy = feeBuy_;
        feeSell = feeSell_;
        feeTransfer = feeTransfer_;
        feeDeno = feeDeno_;
    }

    function setFeeWallet (address feeWallet_) public onlyOwner {
        feeWallet = feeWallet_;
    }

    function setMarkets(address[] calldata targets, bool state) public onlyOwner {
        for (uint i = 0; i < targets.length; i++) {
            markets[targets[i]] = state;
        }
    }

    function _getFee(uint amount, address from, address to) internal view returns (uint) {
        if (feeWhitelist[from] || feeWhitelist[to]) {
            return 0;
        }
        if (markets[from]) {
            return amount * feeBuy / feeDeno;
        } else if (markets[to]) {
            return amount * feeSell / feeDeno;
        } else {
            return amount * feeTransfer / feeDeno;
        }
    }
}

File 10 of 10 : OnlyEOA.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

contract OnlyEOA {
    modifier notContract() {
        require(msg.sender == tx.origin, "proxy contract not allowed");
        _;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"feeWallet_","type":"address"},{"internalType":"address[6]","name":"starts_","type":"address[6]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyExists","type":"error"},{"inputs":[],"name":"Banned","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"ERC721OutOfBoundsIndex","type":"error"},{"inputs":[],"name":"InvalidRecipient","type":"error"},{"inputs":[],"name":"InvalidSender","type":"error"},{"inputs":[],"name":"NotFound","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"inputs":[],"name":"UnsafeRecipient","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"ERC721Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"NFTBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_burnedTokenIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amountOrId","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeDeno","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeTransfer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"feeWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"markets","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"max_mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"feeBuy_","type":"uint256"},{"internalType":"uint256","name":"feeSell_","type":"uint256"},{"internalType":"uint256","name":"feeTransfer_","type":"uint256"},{"internalType":"uint256","name":"feeDeno_","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"feeWallet_","type":"address"}],"name":"setFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"bool","name":"state","type":"bool"}],"name":"setFeeWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"bool","name":"state","type":"bool"}],"name":"setMarkets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"}],"name":"setNameSymbol","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"tokenURI_","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"bool","name":"state","type":"bool"}],"name":"setTransferBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"bool","name":"state","type":"bool"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"","type":"address"}],"name":"transferBlacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amountOrId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60c060405260006010556000601155600060125560646013553480156200002557600080fd5b5060405162002a7038038062002a708339810160408190526200004891620003a0565b604080518082018252600d81526c556e6b6e6f776e566f7961676560981b60208083019190915282518084019093526004835263564f594160e01b908301529060126111948686816001600160a01b038116620000bf57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b620000ca816200031d565b506001620000d98782620004e9565b506002620000e88682620004e9565b5060ff84166080819052620000ff90600a620006ca565b6200010b9084620006e2565b60a05260059290925550336000908152600d60209081526040808320805460ff19166001179055601480546001600160a01b039586166001600160a01b031990911617905587519093168252600690529081208054681b1ae4d6e2ef50000095509093509091506200017f90849062000712565b90915550506020808201516001600160a01b03166000908152600690915260408120805468249781bbb25cac00009290620001bc90849062000712565b90915550506040808201516001600160a01b031660009081526006602052908120805468056bc75e2d631000009290620001f890849062000712565b909155505060608101516001600160a01b031660009081526006602052604081208054680ad78ebc5ac620000092906200023490849062000712565b909155505060808101516001600160a01b031660009081526006602052604081208054680ad78ebc5ac620000092906200027090849062000712565b909155505060a08101516001600160a01b031660009081526006602052604081208054689924c024822e8400009290620002ac90849062000712565b90915550600090505b600681101562000313576001600d6000848460068110620002da57620002da620006fc565b602090810291909101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055600101620002b5565b5050505062000728565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200038557600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b6000806000610100808587031215620003b857600080fd5b620003c3856200036d565b93506020620003d5602087016200036d565b935086605f870112620003e757600080fd5b60405160c081016001600160401b03811182821017156200040c576200040c6200038a565b6040529186019180888411156200042257600080fd5b604088015b8481101562000449576200043b816200036d565b825290830190830162000427565b50508093505050509250925092565b600181811c908216806200046d57607f821691505b6020821081036200048e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620004e4576000816000526020600020601f850160051c81016020861015620004bf5750805b601f850160051c820191505b81811015620004e057828155600101620004cb565b5050505b505050565b81516001600160401b038111156200050557620005056200038a565b6200051d8162000516845462000458565b8462000494565b602080601f8311600181146200055557600084156200053c5750858301515b600019600386901b1c1916600185901b178555620004e0565b600085815260208120601f198616915b82811015620005865788860151825594840194600190910190840162000565565b5085821015620005a55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200060c578160001904821115620005f057620005f0620005b5565b80851615620005fe57918102915b93841c9390800290620005d0565b509250929050565b6000826200062557506001620006c4565b816200063457506000620006c4565b81600181146200064d5760028114620006585762000678565b6001915050620006c4565b60ff8411156200066c576200066c620005b5565b50506001821b620006c4565b5060208310610133831016604e8410600b84101617156200069d575081810a620006c4565b620006a98383620005cb565b8060001904821115620006c057620006c0620005b5565b0290505b92915050565b6000620006db60ff84168362000614565b9392505050565b8082028115828204841417620006c457620006c4620005b5565b634e487b7160e01b600052603260045260246000fd5b80820180821115620006c457620006c4620005b5565b60805160a05161231b6200075560003960006102ea01526000818161036c015261131f015261231b6000f3fe608060405234801561001057600080fd5b506004361061025e5760003560e01c80638e8f294b11610146578063c87b56dd116100c3578063dd62ed3e11610087578063dd62ed3e146105b0578063e0df5b6f146105db578063e985e9c5146105ee578063f25f4b561461061c578063f2fde38b1461062f578063f4cb4ed01461064257600080fd5b8063c87b56dd14610556578063d408f65714610569578063d547cfb71461058c578063d7c64e7f14610594578063d9693b3c1461059d57600080fd5b8063a2a957bb1161010a578063a2a957bb14610501578063a70afb7414610514578063a9059cbb14610527578063b88d4fde1461053a578063c5b0fe9d1461054d57600080fd5b80638e8f294b1461048d57806390d49b9d146104b057806395d89b41146104c35780639b19251a146104cb578063a22cb465146104ee57600080fd5b80633c271a05116101df5780635ff4f876116101a35780635ff4f876146103f55780636352211e1461041e5780636614b24e1461043157806370a0823114610454578063715018a6146104745780638da5cb5b1461047c57600080fd5b80633c271a05146103a057806342842e0e146103b35780634f02c420146103c6578063504334c2146103cf57806356bb8cb6146103e257600080fd5b806323b872dd1161022657806323b872dd1461032f5780632f667ea4146103425780632f745c591461034b5780632f9735b11461035e578063313ce5671461036757600080fd5b806306fdde0314610263578063081812fc14610281578063095ea7b3146102c257806318160ddd146102e55780631f823f201461031a575b600080fd5b61026b61064b565b6040516102789190611aef565b60405180910390f35b6102aa61028f366004611b22565b6008602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610278565b6102d56102d0366004611b52565b6106d9565b6040519015158152602001610278565b61030c7f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610278565b61032d610328366004611b8c565b61082a565b005b61032d61033d366004611c10565b61089f565b61030c60125481565b61030c610359366004611b52565b610d3b565b61030c60135481565b61038e7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610278565b61032d6103ae366004611b8c565b610dc7565b61032d6103c1366004611c10565b610e36565b61030c60045481565b61032d6103dd366004611cef565b610f0b565b61030c6103f0366004611b22565b610f21565b61030c610403366004611d53565b6001600160a01b03166000908152600b602052604090205490565b6102aa61042c366004611b22565b610f42565b6102d561043f366004611d53565b600e6020526000908152604090205460ff1681565b61030c610462366004611d53565b60066020526000908152604090205481565b61032d610f7d565b6000546001600160a01b03166102aa565b6102d561049b366004611d53565b60156020526000908152604090205460ff1681565b61032d6104be366004611d53565b610f91565b61026b610fbb565b6102d56104d9366004611d53565b600d6020526000908152604090205460ff1681565b61032d6104fc366004611d6e565b610fc8565b61032d61050f366004611da1565b611034565b61032d610522366004611b8c565b6110a3565b6102d5610535366004611b52565b611112565b61032d610548366004611dd3565b611126565b61030c60105481565b61026b610564366004611b22565b6111e9565b6102d5610577366004611d53565b600f6020526000908152604090205460ff1681565b61026b61121d565b61030c60055481565b61032d6105ab366004611b8c565b61122a565b61030c6105be366004611e6e565b600760209081526000928352604080842090915290825290205481565b61032d6105e9366004611e98565b611299565b6102d56105fc366004611e6e565b600960209081526000928352604080842090915290825290205460ff1681565b6014546102aa906001600160a01b031681565b61032d61063d366004611d53565b6112ad565b61030c60115481565b6001805461065890611ed5565b80601f016020809104026020016040519081016040528092919081815260200182805461068490611ed5565b80156106d15780601f106106a6576101008083540402835291602001916106d1565b820191906000526020600020905b8154815290600101906020018083116106b457829003601f168201915b505050505081565b600060045482111580156106ed5750600082115b156107c4576000828152600a60205260409020546001600160a01b031633811480159061073e57506001600160a01b038116600090815260096020908152604080832033845290915290205460ff16155b1561075b576040516282b42960e81b815260040160405180910390fd5b60008381526008602090815260409182902080546001600160a01b0319166001600160a01b038881169182179092559251868152908416917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350610820565b3360008181526007602090815260408083206001600160a01b03881680855290835292819020869055518581529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35b5060015b92915050565b6108326112eb565b60005b828110156108995781600e600086868581811061085457610854611f0f565b90506020020160208101906108699190611d53565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101610835565b50505050565b6001600160a01b0383166000908152600e602052604090205460ff16156108d957604051637064572b60e01b815260040160405180910390fd5b6004548111610ccc576000818152600a60205260409020546001600160a01b0384811691161461091c57604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b03821661094357604051634e46966960e11b815260040160405180910390fd5b336001600160a01b0384161480159061098057506001600160a01b038316600090815260096020908152604080832033845290915290205460ff16155b80156109a357506000818152600860205260409020546001600160a01b03163314155b156109c0576040516282b42960e81b815260040160405180910390fd5b60006109ca611318565b6001600160a01b0385166000908152600660205260408120805492935083929091906109f7908490611f3b565b90915550506001600160a01b03831660009081526006602052604081205490610a2183878761134a565b6001600160a01b0380871660009081526006602090815260408083208054868a03019055601454841683528083208054860190558883526008825280832080546001600160a01b0319169055928a168252600b905290812080549293509091610a8c90600190611f3b565b81548110610a9c57610a9c611f0f565b60009182526020808320909101546001600160a01b038a168352600b82526040808420898552600c90935290922054815492935083928110610ae057610ae0611f0f565b60009182526020808320909101929092556001600160a01b0389168152600b90915260409020805480610b1557610b15611f4e565b600082815260208082208301600019908101839055909201909255868252600c9052604080822054838352912055610b4d8484611f64565b6001600160a01b038716600090815260066020526040902054610b71908690611f64565b03610bc7576000858152600c60209081526040808320839055600a90915280822080546001600160a01b0319169055518691906001600160a01b038a16906000805160206122c6833981519152908390a4610c58565b6001600160a01b0386166000818152600b60209081526040822080546001818101835582855292842001899055929091529054610c049190611f3b565b6000868152600c6020908152604080832093909355600a905281812080546001600160a01b0319166001600160a01b038a81169182179092559251889392918b16916000805160206122c683398151915291a45b6001600160a01b038087169088166000805160206122a6833981519152610c7f8588611f3b565b60405190815260200160405180910390a36014546040518381526001600160a01b03918216918916906000805160206122a68339815191529060200160405180910390a350505050505050565b6001600160a01b03831660009081526007602090815260408083203384529091529020546000198114610d2857610d038282611f3b565b6001600160a01b03851660009081526007602090815260408083203384529091529020555b610d33848484611419565b50505b505050565b6001600160a01b0382166000908152600b60205260408120548210610d8a5760405163295f44f760e21b81526001600160a01b0384166004820152602481018390526044015b60405180910390fd5b6001600160a01b0383166000908152600b60205260409020805483908110610db457610db4611f0f565b9060005260206000200154905092915050565b610dcf6112eb565b60005b828110156108995781600d6000868685818110610df157610df1611f0f565b9050602002016020810190610e069190611d53565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101610dd2565b610e4183838361089f565b6001600160a01b0382163b15801590610eed5750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610ebc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee09190611f86565b6001600160e01b03191614155b15610d3657604051633da6393160e01b815260040160405180910390fd5b610f136112eb565b610f1d8282611642565b5050565b60038181548110610f3157600080fd5b600091825260209091200154905081565b6000818152600a60205260409020546001600160a01b031680610f785760405163c5723b5160e01b815260040160405180910390fd5b919050565b610f856112eb565b610f8f600061165b565b565b610f996112eb565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b6002805461065890611ed5565b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61103c6112eb565b808410801561104a57508083105b801561105557508082105b61108f5760405162461bcd60e51b815260206004820152600b60248201526a496e76616c69642066656560a81b6044820152606401610d81565b601093909355601191909155601255601355565b6110ab6112eb565b60005b828110156108995781600f60008686858181106110cd576110cd611f0f565b90506020020160208101906110e29190611d53565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790556001016110ae565b600061111f338484611419565b9392505050565b61113185858561089f565b6001600160a01b0384163b158015906111cb5750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a029061117b9033908a90899089908990600401611fb0565b6020604051808303816000875af115801561119a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111be9190611f86565b6001600160e01b03191614155b15610d3357604051633da6393160e01b815260040160405180910390fd5b606060166111f6836116ab565b604051602001611207929190612004565b6040516020818303038152906040529050919050565b6016805461065890611ed5565b6112326112eb565b60005b8281101561089957816015600086868581811061125457611254611f0f565b90506020020160208101906112699190611d53565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101611235565b6112a16112eb565b6016610f1d82826120db565b6112b56112eb565b6001600160a01b0381166112df57604051631e4fbdf760e01b815260006004820152602401610d81565b6112e88161165b565b50565b6000546001600160a01b03163314610f8f5760405163118cdaa760e01b8152336004820152602401610d81565b60006113457f0000000000000000000000000000000000000000000000000000000000000000600a61227f565b905090565b6001600160a01b0382166000908152600f602052604081205460ff168061138957506001600160a01b0382166000908152600f602052604090205460ff165b156113965750600061111f565b6001600160a01b03831660009081526015602052604090205460ff16156113d8576013546010546113c7908661228e565b6113d19190611f64565b905061111f565b6001600160a01b03821660009081526015602052604090205460ff1615611409576013546011546113c7908661228e565b6013546012546113c7908661228e565b6001600160a01b0383166000908152600e602052604081205460ff161561145357604051637064572b60e01b815260040160405180910390fd5b600061145d611318565b6001600160a01b038087166000818152600660205260408082208054948a16835290822054928252939450919290918691906114998386611f3b565b90915550600090506114ac86898961134a565b6001600160a01b0380891660009081526006602090815260408083208054868d0301905560145484168352808320805486019055928c168252600d9052205490915060ff1661154e576001600160a01b038816600090815260066020526040812054611519908690611f64565b6115238686611f64565b61152d9190611f3b565b905060005b8181101561154b576115438a61173e565b600101611532565b50505b6001600160a01b0387166000908152600d602052604090205460ff166115c957600061157a8584611f64565b6001600160a01b03891660009081526006602052604090205461159e908790611f64565b6115a89190611f3b565b905060005b818110156115c6576115be89611886565b6001016115ad565b50505b6001600160a01b038088169089166000805160206122a68339815191526115f0848a611f3b565b60405190815260200160405180910390a36014546040518281526001600160a01b03918216918a16906000805160206122a68339815191529060200160405180910390a3506001979650505050505050565b600161164e83826120db565b506002610d3682826120db565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b606060006116b8836119f3565b600101905060008167ffffffffffffffff8111156116d8576116d8611c4c565b6040519080825280601f01601f191660200182016040528015611702576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461170c57509392505050565b6001600160a01b03811661176557604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0381166000908152600b60205260408120805461178b90600190611f3b565b8154811061179b5761179b611f0f565b90600052602060002001549050600b6000836001600160a01b03166001600160a01b031681526020019081526020016000208054806117dc576117dc611f4e565b600082815260208082208301600019908101839055909201909255828252600c81526040808320839055600a825280832080546001600160a01b031990811690915560089092528083208054909216909155600380546001810182559083527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b01839055518291906001600160a01b038516906000805160206122c6833981519152908390a45050565b6001600160a01b0381166118ad57604051634e46966960e11b815260040160405180910390fd5b6004805460010190819055600554811180156118ca575060035415155b1561192c576003546000906118e190600190611f3b565b9050600381815481106118f6576118f6611f0f565b90600052602060002001549150600380548061191457611914611f4e565b60019003818190600052602060002001600090559055505b6000818152600a60205260409020546001600160a01b0316156119625760405163119b4fd360e11b815260040160405180910390fd5b6000818152600a6020908152604080832080546001600160a01b0319166001600160a01b038716908117909155808452600b835290832080546001818101835582865293852001859055925290546119ba9190611f3b565b6000828152600c602052604080822092909255905182916001600160a01b038516916000805160206122c6833981519152908290a45050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611a325772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611a5e576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611a7c57662386f26fc10000830492506010015b6305f5e1008310611a94576305f5e100830492506008015b6127108310611aa857612710830492506004015b60648310611aba576064830492506002015b600a83106108245760010192915050565b60005b83811015611ae6578181015183820152602001611ace565b50506000910152565b6020815260008251806020840152611b0e816040850160208701611acb565b601f01601f19169190910160400192915050565b600060208284031215611b3457600080fd5b5035919050565b80356001600160a01b0381168114610f7857600080fd5b60008060408385031215611b6557600080fd5b611b6e83611b3b565b946020939093013593505050565b80358015158114610f7857600080fd5b600080600060408486031215611ba157600080fd5b833567ffffffffffffffff80821115611bb957600080fd5b818601915086601f830112611bcd57600080fd5b813581811115611bdc57600080fd5b8760208260051b8501011115611bf157600080fd5b602092830195509350611c079186019050611b7c565b90509250925092565b600080600060608486031215611c2557600080fd5b611c2e84611b3b565b9250611c3c60208501611b3b565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600082601f830112611c7357600080fd5b813567ffffffffffffffff80821115611c8e57611c8e611c4c565b604051601f8301601f19908116603f01168101908282118183101715611cb657611cb6611c4c565b81604052838152866020858801011115611ccf57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060408385031215611d0257600080fd5b823567ffffffffffffffff80821115611d1a57600080fd5b611d2686838701611c62565b93506020850135915080821115611d3c57600080fd5b50611d4985828601611c62565b9150509250929050565b600060208284031215611d6557600080fd5b61111f82611b3b565b60008060408385031215611d8157600080fd5b611d8a83611b3b565b9150611d9860208401611b7c565b90509250929050565b60008060008060808587031215611db757600080fd5b5050823594602084013594506040840135936060013592509050565b600080600080600060808688031215611deb57600080fd5b611df486611b3b565b9450611e0260208701611b3b565b935060408601359250606086013567ffffffffffffffff80821115611e2657600080fd5b818801915088601f830112611e3a57600080fd5b813581811115611e4957600080fd5b896020828501011115611e5b57600080fd5b9699959850939650602001949392505050565b60008060408385031215611e8157600080fd5b611e8a83611b3b565b9150611d9860208401611b3b565b600060208284031215611eaa57600080fd5b813567ffffffffffffffff811115611ec157600080fd5b611ecd84828501611c62565b949350505050565b600181811c90821680611ee957607f821691505b602082108103611f0957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8181038181111561082457610824611f25565b634e487b7160e01b600052603160045260246000fd5b600082611f8157634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611f9857600080fd5b81516001600160e01b03198116811461111f57600080fd5b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b600080845461201281611ed5565b6001828116801561202a576001811461203f5761206e565b60ff198416875282151583028701945061206e565b8860005260208060002060005b858110156120655781548a82015290840190820161204c565b50505082870194505b505050508351612082818360208801611acb565b01949350505050565b601f821115610d36576000816000526020600020601f850160051c810160208610156120b45750805b601f850160051c820191505b818110156120d3578281556001016120c0565b505050505050565b815167ffffffffffffffff8111156120f5576120f5611c4c565b612109816121038454611ed5565b8461208b565b602080601f83116001811461213e57600084156121265750858301515b600019600386901b1c1916600185901b1785556120d3565b600085815260208120601f198616915b8281101561216d5788860151825594840194600190910190840161214e565b508582101561218b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600181815b808511156121d65781600019048211156121bc576121bc611f25565b808516156121c957918102915b93841c93908002906121a0565b509250929050565b6000826121ed57506001610824565b816121fa57506000610824565b8160018114612210576002811461221a57612236565b6001915050610824565b60ff84111561222b5761222b611f25565b50506001821b610824565b5060208310610133831016604e8410600b8410161715612259575081810a610824565b612263838361219b565b806000190482111561227757612277611f25565b029392505050565b600061111f60ff8416836121de565b808202811582820484141761082457610824611f2556fee59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212209039a3950691f612d9e49863f84ab52952dd2d5eab04dfde46dbaa9010504e3c64736f6c6343000818003300000000000000000000000040425998105c941c83c8d861f66a9186129c0acb000000000000000000000000da133411fe26b500b802d15e339f7c67d697932a0000000000000000000000008762bc2089b51593c54d1662265366cfd6c3931f000000000000000000000000f6fac5e5ba7e9d82ef3d5dccffc3bf3b6b80d7e2000000000000000000000000bae9b23fb48b6707cd539b9a5f3351cc9f3873e00000000000000000000000006eeabf63ff469965858bf72413274dae6c8bdcae000000000000000000000000620e2f1419b4e627503486b6f61ff36f624f7d5e000000000000000000000000f62d7b944bb86bf90d4243165522e420ab976140

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061025e5760003560e01c80638e8f294b11610146578063c87b56dd116100c3578063dd62ed3e11610087578063dd62ed3e146105b0578063e0df5b6f146105db578063e985e9c5146105ee578063f25f4b561461061c578063f2fde38b1461062f578063f4cb4ed01461064257600080fd5b8063c87b56dd14610556578063d408f65714610569578063d547cfb71461058c578063d7c64e7f14610594578063d9693b3c1461059d57600080fd5b8063a2a957bb1161010a578063a2a957bb14610501578063a70afb7414610514578063a9059cbb14610527578063b88d4fde1461053a578063c5b0fe9d1461054d57600080fd5b80638e8f294b1461048d57806390d49b9d146104b057806395d89b41146104c35780639b19251a146104cb578063a22cb465146104ee57600080fd5b80633c271a05116101df5780635ff4f876116101a35780635ff4f876146103f55780636352211e1461041e5780636614b24e1461043157806370a0823114610454578063715018a6146104745780638da5cb5b1461047c57600080fd5b80633c271a05146103a057806342842e0e146103b35780634f02c420146103c6578063504334c2146103cf57806356bb8cb6146103e257600080fd5b806323b872dd1161022657806323b872dd1461032f5780632f667ea4146103425780632f745c591461034b5780632f9735b11461035e578063313ce5671461036757600080fd5b806306fdde0314610263578063081812fc14610281578063095ea7b3146102c257806318160ddd146102e55780631f823f201461031a575b600080fd5b61026b61064b565b6040516102789190611aef565b60405180910390f35b6102aa61028f366004611b22565b6008602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610278565b6102d56102d0366004611b52565b6106d9565b6040519015158152602001610278565b61030c7f0000000000000000000000000000000000000000000000f3f20b8dfa69d0000081565b604051908152602001610278565b61032d610328366004611b8c565b61082a565b005b61032d61033d366004611c10565b61089f565b61030c60125481565b61030c610359366004611b52565b610d3b565b61030c60135481565b61038e7f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff9091168152602001610278565b61032d6103ae366004611b8c565b610dc7565b61032d6103c1366004611c10565b610e36565b61030c60045481565b61032d6103dd366004611cef565b610f0b565b61030c6103f0366004611b22565b610f21565b61030c610403366004611d53565b6001600160a01b03166000908152600b602052604090205490565b6102aa61042c366004611b22565b610f42565b6102d561043f366004611d53565b600e6020526000908152604090205460ff1681565b61030c610462366004611d53565b60066020526000908152604090205481565b61032d610f7d565b6000546001600160a01b03166102aa565b6102d561049b366004611d53565b60156020526000908152604090205460ff1681565b61032d6104be366004611d53565b610f91565b61026b610fbb565b6102d56104d9366004611d53565b600d6020526000908152604090205460ff1681565b61032d6104fc366004611d6e565b610fc8565b61032d61050f366004611da1565b611034565b61032d610522366004611b8c565b6110a3565b6102d5610535366004611b52565b611112565b61032d610548366004611dd3565b611126565b61030c60105481565b61026b610564366004611b22565b6111e9565b6102d5610577366004611d53565b600f6020526000908152604090205460ff1681565b61026b61121d565b61030c60055481565b61032d6105ab366004611b8c565b61122a565b61030c6105be366004611e6e565b600760209081526000928352604080842090915290825290205481565b61032d6105e9366004611e98565b611299565b6102d56105fc366004611e6e565b600960209081526000928352604080842090915290825290205460ff1681565b6014546102aa906001600160a01b031681565b61032d61063d366004611d53565b6112ad565b61030c60115481565b6001805461065890611ed5565b80601f016020809104026020016040519081016040528092919081815260200182805461068490611ed5565b80156106d15780601f106106a6576101008083540402835291602001916106d1565b820191906000526020600020905b8154815290600101906020018083116106b457829003601f168201915b505050505081565b600060045482111580156106ed5750600082115b156107c4576000828152600a60205260409020546001600160a01b031633811480159061073e57506001600160a01b038116600090815260096020908152604080832033845290915290205460ff16155b1561075b576040516282b42960e81b815260040160405180910390fd5b60008381526008602090815260409182902080546001600160a01b0319166001600160a01b038881169182179092559251868152908416917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350610820565b3360008181526007602090815260408083206001600160a01b03881680855290835292819020869055518581529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35b5060015b92915050565b6108326112eb565b60005b828110156108995781600e600086868581811061085457610854611f0f565b90506020020160208101906108699190611d53565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101610835565b50505050565b6001600160a01b0383166000908152600e602052604090205460ff16156108d957604051637064572b60e01b815260040160405180910390fd5b6004548111610ccc576000818152600a60205260409020546001600160a01b0384811691161461091c57604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b03821661094357604051634e46966960e11b815260040160405180910390fd5b336001600160a01b0384161480159061098057506001600160a01b038316600090815260096020908152604080832033845290915290205460ff16155b80156109a357506000818152600860205260409020546001600160a01b03163314155b156109c0576040516282b42960e81b815260040160405180910390fd5b60006109ca611318565b6001600160a01b0385166000908152600660205260408120805492935083929091906109f7908490611f3b565b90915550506001600160a01b03831660009081526006602052604081205490610a2183878761134a565b6001600160a01b0380871660009081526006602090815260408083208054868a03019055601454841683528083208054860190558883526008825280832080546001600160a01b0319169055928a168252600b905290812080549293509091610a8c90600190611f3b565b81548110610a9c57610a9c611f0f565b60009182526020808320909101546001600160a01b038a168352600b82526040808420898552600c90935290922054815492935083928110610ae057610ae0611f0f565b60009182526020808320909101929092556001600160a01b0389168152600b90915260409020805480610b1557610b15611f4e565b600082815260208082208301600019908101839055909201909255868252600c9052604080822054838352912055610b4d8484611f64565b6001600160a01b038716600090815260066020526040902054610b71908690611f64565b03610bc7576000858152600c60209081526040808320839055600a90915280822080546001600160a01b0319169055518691906001600160a01b038a16906000805160206122c6833981519152908390a4610c58565b6001600160a01b0386166000818152600b60209081526040822080546001818101835582855292842001899055929091529054610c049190611f3b565b6000868152600c6020908152604080832093909355600a905281812080546001600160a01b0319166001600160a01b038a81169182179092559251889392918b16916000805160206122c683398151915291a45b6001600160a01b038087169088166000805160206122a6833981519152610c7f8588611f3b565b60405190815260200160405180910390a36014546040518381526001600160a01b03918216918916906000805160206122a68339815191529060200160405180910390a350505050505050565b6001600160a01b03831660009081526007602090815260408083203384529091529020546000198114610d2857610d038282611f3b565b6001600160a01b03851660009081526007602090815260408083203384529091529020555b610d33848484611419565b50505b505050565b6001600160a01b0382166000908152600b60205260408120548210610d8a5760405163295f44f760e21b81526001600160a01b0384166004820152602481018390526044015b60405180910390fd5b6001600160a01b0383166000908152600b60205260409020805483908110610db457610db4611f0f565b9060005260206000200154905092915050565b610dcf6112eb565b60005b828110156108995781600d6000868685818110610df157610df1611f0f565b9050602002016020810190610e069190611d53565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101610dd2565b610e4183838361089f565b6001600160a01b0382163b15801590610eed5750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610ebc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee09190611f86565b6001600160e01b03191614155b15610d3657604051633da6393160e01b815260040160405180910390fd5b610f136112eb565b610f1d8282611642565b5050565b60038181548110610f3157600080fd5b600091825260209091200154905081565b6000818152600a60205260409020546001600160a01b031680610f785760405163c5723b5160e01b815260040160405180910390fd5b919050565b610f856112eb565b610f8f600061165b565b565b610f996112eb565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b6002805461065890611ed5565b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61103c6112eb565b808410801561104a57508083105b801561105557508082105b61108f5760405162461bcd60e51b815260206004820152600b60248201526a496e76616c69642066656560a81b6044820152606401610d81565b601093909355601191909155601255601355565b6110ab6112eb565b60005b828110156108995781600f60008686858181106110cd576110cd611f0f565b90506020020160208101906110e29190611d53565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790556001016110ae565b600061111f338484611419565b9392505050565b61113185858561089f565b6001600160a01b0384163b158015906111cb5750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a029061117b9033908a90899089908990600401611fb0565b6020604051808303816000875af115801561119a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111be9190611f86565b6001600160e01b03191614155b15610d3357604051633da6393160e01b815260040160405180910390fd5b606060166111f6836116ab565b604051602001611207929190612004565b6040516020818303038152906040529050919050565b6016805461065890611ed5565b6112326112eb565b60005b8281101561089957816015600086868581811061125457611254611f0f565b90506020020160208101906112699190611d53565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101611235565b6112a16112eb565b6016610f1d82826120db565b6112b56112eb565b6001600160a01b0381166112df57604051631e4fbdf760e01b815260006004820152602401610d81565b6112e88161165b565b50565b6000546001600160a01b03163314610f8f5760405163118cdaa760e01b8152336004820152602401610d81565b60006113457f0000000000000000000000000000000000000000000000000000000000000012600a61227f565b905090565b6001600160a01b0382166000908152600f602052604081205460ff168061138957506001600160a01b0382166000908152600f602052604090205460ff165b156113965750600061111f565b6001600160a01b03831660009081526015602052604090205460ff16156113d8576013546010546113c7908661228e565b6113d19190611f64565b905061111f565b6001600160a01b03821660009081526015602052604090205460ff1615611409576013546011546113c7908661228e565b6013546012546113c7908661228e565b6001600160a01b0383166000908152600e602052604081205460ff161561145357604051637064572b60e01b815260040160405180910390fd5b600061145d611318565b6001600160a01b038087166000818152600660205260408082208054948a16835290822054928252939450919290918691906114998386611f3b565b90915550600090506114ac86898961134a565b6001600160a01b0380891660009081526006602090815260408083208054868d0301905560145484168352808320805486019055928c168252600d9052205490915060ff1661154e576001600160a01b038816600090815260066020526040812054611519908690611f64565b6115238686611f64565b61152d9190611f3b565b905060005b8181101561154b576115438a61173e565b600101611532565b50505b6001600160a01b0387166000908152600d602052604090205460ff166115c957600061157a8584611f64565b6001600160a01b03891660009081526006602052604090205461159e908790611f64565b6115a89190611f3b565b905060005b818110156115c6576115be89611886565b6001016115ad565b50505b6001600160a01b038088169089166000805160206122a68339815191526115f0848a611f3b565b60405190815260200160405180910390a36014546040518281526001600160a01b03918216918a16906000805160206122a68339815191529060200160405180910390a3506001979650505050505050565b600161164e83826120db565b506002610d3682826120db565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b606060006116b8836119f3565b600101905060008167ffffffffffffffff8111156116d8576116d8611c4c565b6040519080825280601f01601f191660200182016040528015611702576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461170c57509392505050565b6001600160a01b03811661176557604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0381166000908152600b60205260408120805461178b90600190611f3b565b8154811061179b5761179b611f0f565b90600052602060002001549050600b6000836001600160a01b03166001600160a01b031681526020019081526020016000208054806117dc576117dc611f4e565b600082815260208082208301600019908101839055909201909255828252600c81526040808320839055600a825280832080546001600160a01b031990811690915560089092528083208054909216909155600380546001810182559083527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b01839055518291906001600160a01b038516906000805160206122c6833981519152908390a45050565b6001600160a01b0381166118ad57604051634e46966960e11b815260040160405180910390fd5b6004805460010190819055600554811180156118ca575060035415155b1561192c576003546000906118e190600190611f3b565b9050600381815481106118f6576118f6611f0f565b90600052602060002001549150600380548061191457611914611f4e565b60019003818190600052602060002001600090559055505b6000818152600a60205260409020546001600160a01b0316156119625760405163119b4fd360e11b815260040160405180910390fd5b6000818152600a6020908152604080832080546001600160a01b0319166001600160a01b038716908117909155808452600b835290832080546001818101835582865293852001859055925290546119ba9190611f3b565b6000828152600c602052604080822092909255905182916001600160a01b038516916000805160206122c6833981519152908290a45050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611a325772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611a5e576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611a7c57662386f26fc10000830492506010015b6305f5e1008310611a94576305f5e100830492506008015b6127108310611aa857612710830492506004015b60648310611aba576064830492506002015b600a83106108245760010192915050565b60005b83811015611ae6578181015183820152602001611ace565b50506000910152565b6020815260008251806020840152611b0e816040850160208701611acb565b601f01601f19169190910160400192915050565b600060208284031215611b3457600080fd5b5035919050565b80356001600160a01b0381168114610f7857600080fd5b60008060408385031215611b6557600080fd5b611b6e83611b3b565b946020939093013593505050565b80358015158114610f7857600080fd5b600080600060408486031215611ba157600080fd5b833567ffffffffffffffff80821115611bb957600080fd5b818601915086601f830112611bcd57600080fd5b813581811115611bdc57600080fd5b8760208260051b8501011115611bf157600080fd5b602092830195509350611c079186019050611b7c565b90509250925092565b600080600060608486031215611c2557600080fd5b611c2e84611b3b565b9250611c3c60208501611b3b565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600082601f830112611c7357600080fd5b813567ffffffffffffffff80821115611c8e57611c8e611c4c565b604051601f8301601f19908116603f01168101908282118183101715611cb657611cb6611c4c565b81604052838152866020858801011115611ccf57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060408385031215611d0257600080fd5b823567ffffffffffffffff80821115611d1a57600080fd5b611d2686838701611c62565b93506020850135915080821115611d3c57600080fd5b50611d4985828601611c62565b9150509250929050565b600060208284031215611d6557600080fd5b61111f82611b3b565b60008060408385031215611d8157600080fd5b611d8a83611b3b565b9150611d9860208401611b7c565b90509250929050565b60008060008060808587031215611db757600080fd5b5050823594602084013594506040840135936060013592509050565b600080600080600060808688031215611deb57600080fd5b611df486611b3b565b9450611e0260208701611b3b565b935060408601359250606086013567ffffffffffffffff80821115611e2657600080fd5b818801915088601f830112611e3a57600080fd5b813581811115611e4957600080fd5b896020828501011115611e5b57600080fd5b9699959850939650602001949392505050565b60008060408385031215611e8157600080fd5b611e8a83611b3b565b9150611d9860208401611b3b565b600060208284031215611eaa57600080fd5b813567ffffffffffffffff811115611ec157600080fd5b611ecd84828501611c62565b949350505050565b600181811c90821680611ee957607f821691505b602082108103611f0957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8181038181111561082457610824611f25565b634e487b7160e01b600052603160045260246000fd5b600082611f8157634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611f9857600080fd5b81516001600160e01b03198116811461111f57600080fd5b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b600080845461201281611ed5565b6001828116801561202a576001811461203f5761206e565b60ff198416875282151583028701945061206e565b8860005260208060002060005b858110156120655781548a82015290840190820161204c565b50505082870194505b505050508351612082818360208801611acb565b01949350505050565b601f821115610d36576000816000526020600020601f850160051c810160208610156120b45750805b601f850160051c820191505b818110156120d3578281556001016120c0565b505050505050565b815167ffffffffffffffff8111156120f5576120f5611c4c565b612109816121038454611ed5565b8461208b565b602080601f83116001811461213e57600084156121265750858301515b600019600386901b1c1916600185901b1785556120d3565b600085815260208120601f198616915b8281101561216d5788860151825594840194600190910190840161214e565b508582101561218b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600181815b808511156121d65781600019048211156121bc576121bc611f25565b808516156121c957918102915b93841c93908002906121a0565b509250929050565b6000826121ed57506001610824565b816121fa57506000610824565b8160018114612210576002811461221a57612236565b6001915050610824565b60ff84111561222b5761222b611f25565b50506001821b610824565b5060208310610133831016604e8410600b8410161715612259575081810a610824565b612263838361219b565b806000190482111561227757612277611f25565b029392505050565b600061111f60ff8416836121de565b808202811582820484141761082457610824611f2556fee59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212209039a3950691f612d9e49863f84ab52952dd2d5eab04dfde46dbaa9010504e3c64736f6c63430008180033

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

00000000000000000000000040425998105c941c83c8d861f66a9186129c0acb000000000000000000000000da133411fe26b500b802d15e339f7c67d697932a0000000000000000000000008762bc2089b51593c54d1662265366cfd6c3931f000000000000000000000000f6fac5e5ba7e9d82ef3d5dccffc3bf3b6b80d7e2000000000000000000000000bae9b23fb48b6707cd539b9a5f3351cc9f3873e00000000000000000000000006eeabf63ff469965858bf72413274dae6c8bdcae000000000000000000000000620e2f1419b4e627503486b6f61ff36f624f7d5e000000000000000000000000f62d7b944bb86bf90d4243165522e420ab976140

-----Decoded View---------------
Arg [0] : owner_ (address): 0x40425998105c941c83C8D861f66a9186129c0aCb
Arg [1] : feeWallet_ (address): 0xDa133411fE26B500b802d15e339F7c67D697932a
Arg [2] : starts_ (address[6]): 0x8762BC2089b51593c54d1662265366CFD6c3931F,0xf6FAC5E5bA7e9D82EF3d5DccffC3bF3B6b80D7E2,0xBaE9B23fB48b6707CD539B9A5F3351cc9f3873e0,0x6eeABF63ff469965858Bf72413274dAE6c8BdCAE,0x620e2F1419B4e627503486b6f61FF36F624f7D5E,0xf62d7b944bB86BF90d4243165522E420aB976140

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 00000000000000000000000040425998105c941c83c8d861f66a9186129c0acb
Arg [1] : 000000000000000000000000da133411fe26b500b802d15e339f7c67d697932a
Arg [2] : 0000000000000000000000008762bc2089b51593c54d1662265366cfd6c3931f
Arg [3] : 000000000000000000000000f6fac5e5ba7e9d82ef3d5dccffc3bf3b6b80d7e2
Arg [4] : 000000000000000000000000bae9b23fb48b6707cd539b9a5f3351cc9f3873e0
Arg [5] : 0000000000000000000000006eeabf63ff469965858bf72413274dae6c8bdcae
Arg [6] : 000000000000000000000000620e2f1419b4e627503486b6f61ff36f624f7d5e
Arg [7] : 000000000000000000000000f62d7b944bb86bf90d4243165522e420ab976140


Loading...
Loading
Loading...
Loading
[ 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.