ETH Price: $3,032.02 (+3.94%)

ERC404 PAD (404PAD)
 

Overview

TokenID

3955

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

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-02-05
*/

//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

abstract contract Ownable {
    event OwnershipTransferred(address indexed user, address indexed newOwner);

    error Unauthorized();
    error InvalidOwner();

    address public owner;

    modifier onlyOwner() virtual {
        if (msg.sender != owner) revert Unauthorized();

        _;
    }

    constructor(address _owner) {
        if (_owner == address(0)) revert InvalidOwner();

        owner = _owner;

        emit OwnershipTransferred(address(0), _owner);
    }

    function transferOwnership(address _owner) public virtual onlyOwner {
        if (_owner == address(0)) revert InvalidOwner();

        owner = _owner;

        emit OwnershipTransferred(msg.sender, _owner);
    }

    function revokeOwnership() public virtual onlyOwner {
        owner = address(0);

        emit OwnershipTransferred(msg.sender, address(0));
    }
}

abstract contract ERC721Receiver {
    function onERC721Received(
        address,
        address,
        uint256,
        bytes calldata
    ) external virtual returns (bytes4) {
        return ERC721Receiver.onERC721Received.selector;
    }
}

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

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

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

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

    // Constructor
    constructor(
        string memory _name,
        string memory _symbol,
        uint8 _decimals,
        uint256 _totalNativeSupply,
        address _owner
    ) Ownable(_owner) {
        name = _name;
        symbol = _symbol;
        decimals = _decimals;
        totalSupply = _totalNativeSupply * (10 ** decimals);
    }

    /// @notice Initialization function to set pairs / etc
    ///         saving gas by avoiding mint / burn on unnecessary targets
    function setWhitelist(address target, bool state) public onlyOwner {
        whitelist[target] = state;
    }

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

            balanceOf[from] -= _getUnit();

            unchecked {
                balanceOf[to] += _getUnit();
            }

            _ownerOf[amountOrId] = to;
            delete getApproved[amountOrId];

            // update _owned for sender
            uint256 updatedId = _owned[from][_owned[from].length - 1];
            _owned[from][_ownedIndex[amountOrId]] = updatedId;
            // pop
            _owned[from].pop();
            // update index for the moved id
            _ownedIndex[updatedId] = _ownedIndex[amountOrId];
            // push token to to owned
            _owned[to].push(amountOrId);
            // update index for to owned
            _ownedIndex[amountOrId] = _owned[to].length - 1;

            emit Transfer(from, to, amountOrId);
            emit ERC20Transfer(from, to, _getUnit());
        } 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 &&
            ERC721Receiver(to).onERC721Received(msg.sender, from, id, "") !=
            ERC721Receiver.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 &&
            ERC721Receiver(to).onERC721Received(msg.sender, from, id, data) !=
            ERC721Receiver.onERC721Received.selector
        ) {
            revert UnsafeRecipient();
        }
    }

    /// @notice Internal function for fractional transfers
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal returns (bool) {
        uint256 unit = _getUnit();
        uint256 balanceBeforeSender = balanceOf[from];
        uint256 balanceBeforeReceiver = balanceOf[to];

        balanceOf[from] -= amount;

        unchecked {
            balanceOf[to] += amount;
        }

        // 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);
        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 (_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];

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

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

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

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

contract ERC404PAD is ERC404 {
    string public dataURI;
    string public baseTokenURI;

    constructor(
        address _owner
    ) ERC404("ERC404 PAD", "404PAD", 18, 10000, _owner) {
        balanceOf[_owner] = 10000 * 10 ** 18;
    }

    function setDataURI(string memory _dataURI) public onlyOwner {
        dataURI = _dataURI;
    }

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

    function setNameSymbol(
        string memory _name,
        string memory _symbol
    ) public onlyOwner {
        _setNameSymbol(_name, _symbol);
    }

    function tokenURI(uint256 id) public view override returns (string memory) {
        if (bytes(baseTokenURI).length > 0) {
            return string.concat(baseTokenURI, Strings.toString(id));
        } else {
            uint8 seed = uint8(bytes1(keccak256(abi.encodePacked(id))));
            string memory image;
            string memory color;

            if (seed <= 75) {
                image = "brown.gif";
                color = "Brown";
            } else if (seed <= 130) {
                image = "green.gif";
                color = "Green";
            } else if (seed <= 175) {
                image = "yellow.gif";
                color = "Yellow";
            } else if (seed <= 200) {
                image = "Blue.gif";
                color = "Blue";
            } else if (seed <= 230) {
                image = "Red.gif";
                color = "Red";
            } else if (seed <= 245) {
                image = "WhiteGreen.gif";
                color = "WhiteGreen";
            } else if (seed <= 255) {
                image = "neon.gif";
                color = "Neon";
            }

            string memory jsonPreImage = string.concat(
                string.concat(
                    string.concat('{"name": "404PAD #', Strings.toString(id)),
                    '","description":"A collection of 10,000 Replicants enabled by ERC404, an experimental token standard.","external_url":"https://erc404pad.com","image":"'
                ),
                string.concat(dataURI, image)
            );
            string memory jsonPostImage = string.concat(
                '","attributes":[{"trait_type":"Color","value":"',
                color
            );
            string memory jsonPostTraits = '"}]}';

            return
                string.concat(
                    "data:application/json;utf8,",
                    string.concat(
                        string.concat(jsonPreImage, jsonPostImage),
                        jsonPostTraits
                    )
                );
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyExists","type":"error"},{"inputs":[],"name":"InvalidOwner","type":"error"},{"inputs":[],"name":"InvalidRecipient","type":"error"},{"inputs":[],"name":"InvalidSender","type":"error"},{"inputs":[],"name":"NotFound","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":"user","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":"","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":"dataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"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":[],"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":"revokeOwnership","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":"string","name":"_dataURI","type":"string"}],"name":"setDataURI","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":"target","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":"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":"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":"_owner","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"}]

60c060405234801562000010575f80fd5b506040516200249e3803806200249e83398101604081905262000033916200015d565b604080518082018252600a815269115490cd0c0d0814105160b21b602080830191909152825180840190935260068352650d0c0d14105160d21b9083015290601261271084806001600160a01b038116620000a1576040516349e27cff60e01b815260040160405180910390fd5b5f80546001600160a01b0319166001600160a01b03831690811782556040519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001620000f786826200022a565b5060026200010685826200022a565b5060ff831660808190526200011d90600a62000405565b62000129908362000415565b60a0525050506001600160a01b039092165f90815260046020526040902069021e19e0c9bab24000009055506200042f9050565b5f602082840312156200016e575f80fd5b81516001600160a01b038116811462000185575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620001b557607f821691505b602082108103620001d457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200022557805f5260205f20601f840160051c81016020851015620002015750805b601f840160051c820191505b8181101562000222575f81556001016200020d565b50505b505050565b81516001600160401b038111156200024657620002466200018c565b6200025e81620002578454620001a0565b84620001da565b602080601f83116001811462000294575f84156200027c5750858301515b5f19600386901b1c1916600185901b178555620002ee565b5f85815260208120601f198616915b82811015620002c457888601518255948401946001909101908401620002a3565b5085821015620002e257878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156200034a57815f19048211156200032e576200032e620002f6565b808516156200033c57918102915b93841c93908002906200030f565b509250929050565b5f826200036257506001620003ff565b816200037057505f620003ff565b81600181146200038957600281146200039457620003b4565b6001915050620003ff565b60ff841115620003a857620003a8620002f6565b50506001821b620003ff565b5060208310610133831016604e8410600b8410161715620003d9575081810a620003ff565b620003e583836200030a565b805f1904821115620003fb57620003fb620002f6565b0290505b92915050565b5f6200018560ff84168362000352565b8082028115828204841417620003ff57620003ff620002f6565b60805160a051612046620004585f395f61022b01525f818161029001526111fd01526120465ff3fe608060405234801561000f575f80fd5b50600436106101a1575f3560e01c806370a08231116100f3578063c87b56dd11610093578063e0df5b6f1161006e578063e0df5b6f146103f2578063e985e9c514610405578063f28ca1dd14610432578063f2fde38b1461043a575f80fd5b8063c87b56dd146103ad578063d547cfb7146103c0578063dd62ed3e146103c8575f80fd5b80639b19251a116100ce5780639b19251a14610352578063a22cb46514610374578063a9059cbb14610387578063b88d4fde1461039a575f80fd5b806370a08231146103195780638da5cb5b1461033857806395d89b411461034a575f80fd5b80632b9689581161015e5780634f02c420116101395780634f02c420146102d7578063504334c2146102e057806353d6fd59146102f35780636352211e14610306575f80fd5b80632b96895814610283578063313ce5671461028b57806342842e0e146102c4575f80fd5b806306fdde03146101a5578063081812fc146101c3578063095ea7b31461020357806318160ddd1461022657806318d217c31461025b57806323b872dd14610270575b5f80fd5b6101ad61044d565b6040516101ba9190611798565b60405180910390f35b6101eb6101d13660046117ca565b60066020525f90815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101ba565b6102166102113660046117f7565b6104d9565b60405190151581526020016101ba565b61024d7f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016101ba565b61026e6102693660046118bc565b610624565b005b61026e61027e3660046118f6565b61065d565b61026e6109d9565b6102b27f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016101ba565b61026e6102d23660046118f6565b610a3d565b61024d60035481565b61026e6102ee36600461192f565b610b0e565b61026e61030136600461198f565b610b41565b6101eb6103143660046117ca565b610b94565b61024d6103273660046119c8565b60046020525f908152604090205481565b5f546101eb906001600160a01b031681565b6101ad610bce565b6102166103603660046119c8565b600b6020525f908152604090205460ff1681565b61026e61038236600461198f565b610bdb565b6102166103953660046117f7565b610c46565b61026e6103a83660046119e1565b610c59565b6101ad6103bb3660046117ca565b610d19565b6101ad61110e565b61024d6103d6366004611a74565b600560209081525f928352604080842090915290825290205481565b61026e6104003660046118bc565b61111b565b610216610413366004611a74565b600760209081525f928352604080842090915290825290205460ff1681565b6101ad611150565b61026e6104483660046119c8565b61115d565b6001805461045a90611aa5565b80601f016020809104026020016040519081016040528092919081815260200182805461048690611aa5565b80156104d15780601f106104a8576101008083540402835291602001916104d1565b820191905f5260205f20905b8154815290600101906020018083116104b457829003601f168201915b505050505081565b5f60035482111580156104eb57505f82115b156105bf575f828152600860205260409020546001600160a01b031633811480159061053a57506001600160a01b0381165f90815260076020908152604080832033845290915290205460ff16155b15610557576040516282b42960e81b815260040160405180910390fd5b5f8381526006602090815260409182902080546001600160a01b0319166001600160a01b038881169182179092559251868152908416917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35061061a565b335f8181526005602090815260408083206001600160a01b03881680855290835292819020869055518581529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35b5060015b92915050565b5f546001600160a01b0316331461064d576040516282b42960e81b815260040160405180910390fd5b600c6106598282611b21565b5050565b600354811161096d575f818152600860205260409020546001600160a01b0384811691161461069f57604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0382166106c657604051634e46966960e11b815260040160405180910390fd5b336001600160a01b0384161480159061070257506001600160a01b0383165f90815260076020908152604080832033845290915290205460ff16155b801561072457505f818152600660205260409020546001600160a01b03163314155b15610741576040516282b42960e81b815260040160405180910390fd5b6107496111f7565b6001600160a01b0384165f9081526004602052604081208054909190610770908490611bf5565b9091555061077e90506111f7565b6001600160a01b038084165f81815260046020908152604080832080549096019095558582526008815284822080546001600160a01b0319908116909417905560068152848220805490931690925591861682526009905290812080546107e790600190611bf5565b815481106107f7576107f7611c08565b5f9182526020808320909101546001600160a01b0387168352600982526040808420868552600a9093529092205481549293508392811061083a5761083a611c08565b5f9182526020808320909101929092556001600160a01b038616815260099091526040902080548061086e5761086e611c1c565b5f828152602080822083015f19908101839055909201909255838252600a8152604080832054848452818420556001600160a01b0386168084526009835290832080546001818101835582865293852001869055925290546108d09190611bf5565b5f838152600a602052604080822092909255905183916001600160a01b0380871692908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4826001600160a01b0316846001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e0314876109566111f7565b60405190815260200160405180910390a350505050565b6001600160a01b0383165f9081526005602090815260408083203384529091529020545f1981146109c6576109a28282611bf5565b6001600160a01b0385165f9081526005602090815260408083203384529091529020555b6109d1848484611228565b50505b505050565b5f546001600160a01b03163314610a02576040516282b42960e81b815260040160405180910390fd5b5f80546001600160a01b031916815560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3565b610a4883838361065d565b6001600160a01b0382163b15801590610af05750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401525f608484015290919084169063150b7a029060a4016020604051808303815f875af1158015610abf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ae39190611c30565b6001600160e01b03191614155b156109d457604051633da6393160e01b815260040160405180910390fd5b5f546001600160a01b03163314610b37576040516282b42960e81b815260040160405180910390fd5b61065982826113cd565b5f546001600160a01b03163314610b6a576040516282b42960e81b815260040160405180910390fd5b6001600160a01b03919091165f908152600b60205260409020805460ff1916911515919091179055565b5f818152600860205260409020546001600160a01b031680610bc95760405163c5723b5160e01b815260040160405180910390fd5b919050565b6002805461045a90611aa5565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b5f610c52338484611228565b9392505050565b610c6485858561065d565b6001600160a01b0384163b15801590610cfb5750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610cae9033908a90899089908990600401611c57565b6020604051808303815f875af1158015610cca573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cee9190611c30565b6001600160e01b03191614155b156109d157604051633da6393160e01b815260040160405180910390fd5b60605f600d8054610d2990611aa5565b90501115610d6357600d610d3c836113e6565b604051602001610d4d929190611ca9565b6040516020818303038152906040529050919050565b5f82604051602001610d7791815260200190565b6040516020818303038152906040528051906020012060f81c9050606080604b8360ff1611610de95760405180604001604052806009815260200168313937bbb71733b4b360b91b815250915060405180604001604052806005815260200164213937bbb760d91b8152509050610fe1565b60828360ff1611610e3d576040518060400160405280600981526020016833b932b2b71733b4b360b91b81525091506040518060400160405280600581526020016423b932b2b760d91b8152509050610fe1565b60af8360ff1611610e93576040518060400160405280600a8152602001693cb2b63637bb9733b4b360b11b81525091506040518060400160405280600681526020016559656c6c6f7760d01b8152509050610fe1565b60c88360ff1611610ee5576040518060400160405280600881526020016721363ab29733b4b360c11b815250915060405180604001604052806004815260200163426c756560e01b8152509050610fe1565b60e68360ff1611610f3557604051806040016040528060078152602001662932b21733b4b360c91b81525091506040518060400160405280600381526020016214995960ea1b8152509050610fe1565b60f58360ff1611610f93576040518060400160405280600e81526020016d2bb434ba32a3b932b2b71733b4b360911b81525091506040518060400160405280600a8152602001692bb434ba32a3b932b2b760b11b8152509050610fe1565b60ff8360ff1611610fe157604051806040016040528060088152602001673732b7b71733b4b360c11b8152509150604051806040016040528060048152602001632732b7b760e11b81525090505b5f610feb866113e6565b604051602001610ffb9190611d2c565b60408051601f198184030181529082905261101891602001611d66565b604051602081830303815290604052600c8460405160200161103b929190611ca9565b60408051601f19818403018152908290526110599291602001611e3e565b60405160208183030381529060405290505f8260405160200161107c9190611e63565b60408051601f1981840301815282820182526004835263227d5d7d60e01b60208481019190915291519093506110b6918591859101611e3e565b60408051601f19818403018152908290526110d5918390602001611e3e565b60408051601f19818403018152908290526110f291602001611ebf565b6040516020818303038152906040529650505050505050919050565b600d805461045a90611aa5565b5f546001600160a01b03163314611144576040516282b42960e81b815260040160405180910390fd5b600d6106598282611b21565b600c805461045a90611aa5565b5f546001600160a01b03163314611186576040516282b42960e81b815260040160405180910390fd5b6001600160a01b0381166111ad576040516349e27cff60e01b815260040160405180910390fd5b5f80546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b5f6112237f0000000000000000000000000000000000000000000000000000000000000000600a611fe3565b905090565b5f806112326111f7565b6001600160a01b038087165f818152600460205260408082208054948a168352908220549282529394509192909186919061126d8386611bf5565b90915550506001600160a01b038087165f90815260046020908152604080832080548a019055928a168252600b9052205460ff166112fc576001600160a01b0387165f908152600460205260408120546112c8908590611ff1565b6112d28585611ff1565b6112dc9190611bf5565b90505f5b818110156112f9576112f189611476565b6001016112e0565b50505b6001600160a01b0386165f908152600b602052604090205460ff16611373575f6113268483611ff1565b6001600160a01b0388165f90815260046020526040902054611349908690611ff1565b6113539190611bf5565b90505f5b818110156113705761136888611597565b600101611357565b50505b856001600160a01b0316876001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487876040516113b891815260200190565b60405180910390a35060019695505050505050565b60016113d98382611b21565b5060026109d48282611b21565b60605f6113f28361169f565b60010190505f8167ffffffffffffffff8111156114115761141161181f565b6040519080825280601f01601f19166020018201604052801561143b576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461144557509392505050565b6001600160a01b03811661149d57604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0381165f90815260096020526040812080546114c290600190611bf5565b815481106114d2576114d2611c08565b905f5260205f200154905060095f836001600160a01b03166001600160a01b031681526020019081526020015f2080548061150f5761150f611c1c565b5f828152602080822083015f19908101839055909201909255828252600a815260408083208390556008825280832080546001600160a01b031990811690915560069092528083208054909216909155518291906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b0381166115be57604051634e46966960e11b815260040160405180910390fd5b60038054600101908190555f818152600860205260409020546001600160a01b0316156115fe5760405163119b4fd360e11b815260040160405180910390fd5b5f81815260086020908152604080832080546001600160a01b0319166001600160a01b0387169081179091558084526009835290832080546001818101835582865293852001859055925290546116559190611bf5565b5f828152600a602052604080822092909255905182916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106116dd5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611709576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061172757662386f26fc10000830492506010015b6305f5e100831061173f576305f5e100830492506008015b612710831061175357612710830492506004015b60648310611765576064830492506002015b600a831061061e5760010192915050565b5f5b83811015611790578181015183820152602001611778565b50505f910152565b602081525f82518060208401526117b6816040850160208701611776565b601f01601f19169190910160400192915050565b5f602082840312156117da575f80fd5b5035919050565b80356001600160a01b0381168114610bc9575f80fd5b5f8060408385031215611808575f80fd5b611811836117e1565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611842575f80fd5b813567ffffffffffffffff8082111561185d5761185d61181f565b604051601f8301601f19908116603f011681019082821181831017156118855761188561181f565b8160405283815286602085880101111561189d575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f602082840312156118cc575f80fd5b813567ffffffffffffffff8111156118e2575f80fd5b6118ee84828501611833565b949350505050565b5f805f60608486031215611908575f80fd5b611911846117e1565b925061191f602085016117e1565b9150604084013590509250925092565b5f8060408385031215611940575f80fd5b823567ffffffffffffffff80821115611957575f80fd5b61196386838701611833565b93506020850135915080821115611978575f80fd5b5061198585828601611833565b9150509250929050565b5f80604083850312156119a0575f80fd5b6119a9836117e1565b9150602083013580151581146119bd575f80fd5b809150509250929050565b5f602082840312156119d8575f80fd5b610c52826117e1565b5f805f805f608086880312156119f5575f80fd5b6119fe866117e1565b9450611a0c602087016117e1565b935060408601359250606086013567ffffffffffffffff80821115611a2f575f80fd5b818801915088601f830112611a42575f80fd5b813581811115611a50575f80fd5b896020828501011115611a61575f80fd5b9699959850939650602001949392505050565b5f8060408385031215611a85575f80fd5b611a8e836117e1565b9150611a9c602084016117e1565b90509250929050565b600181811c90821680611ab957607f821691505b602082108103611ad757634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156109d457805f5260205f20601f840160051c81016020851015611b025750805b601f840160051c820191505b818110156109d1575f8155600101611b0e565b815167ffffffffffffffff811115611b3b57611b3b61181f565b611b4f81611b498454611aa5565b84611add565b602080601f831160018114611b82575f8415611b6b5750858301515b5f19600386901b1c1916600185901b178555611bd9565b5f85815260208120601f198616915b82811015611bb057888601518255948401946001909101908401611b91565b5085821015611bcd57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561061e5761061e611be1565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52603160045260245ffd5b5f60208284031215611c40575f80fd5b81516001600160e01b031981168114610c52575f80fd5b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290525f828460a08401375f60a0848401015260a0601f19601f85011683010190509695505050505050565b5f808454611cb681611aa5565b60018281168015611cce5760018114611ce357611d0f565b60ff1984168752821515830287019450611d0f565b885f526020805f205f5b85811015611d065781548a820152908401908201611ced565b50505082870194505b505050508351611d23818360208801611776565b01949350505050565b717b226e616d65223a2022343034504144202360701b815281515f90611d59816012850160208701611776565b9190910160120192915050565b5f8251611d77818460208701611776565b7f222c226465736372697074696f6e223a224120636f6c6c656374696f6e206f669201918252507f2031302c303030205265706c6963616e747320656e61626c656420627920455260208201527f433430342c20616e206578706572696d656e74616c20746f6b656e207374616e60408201527f646172642e222c2265787465726e616c5f75726c223a2268747470733a2f2f6560608201527f72633430347061642e636f6d222c22696d616765223a220000000000000000006080820152609701919050565b5f8351611e4f818460208801611776565b835190830190611d23818360208801611776565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a224381526e37b637b91116113b30b63ab2911d1160891b60208201525f8251611eb281602f850160208701611776565b91909101602f0192915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c000000000081525f8251611ef681601b850160208701611776565b91909101601b0192915050565b600181815b80851115611f3d57815f1904821115611f2357611f23611be1565b80851615611f3057918102915b93841c9390800290611f08565b509250929050565b5f82611f535750600161061e565b81611f5f57505f61061e565b8160018114611f755760028114611f7f57611f9b565b600191505061061e565b60ff841115611f9057611f90611be1565b50506001821b61061e565b5060208310610133831016604e8410600b8410161715611fbe575081810a61061e565b611fc88383611f03565b805f1904821115611fdb57611fdb611be1565b029392505050565b5f610c5260ff841683611f45565b5f8261200b57634e487b7160e01b5f52601260045260245ffd5b50049056fea2646970667358221220da4d1e682de058ec5b09c32a3c01d17347a8e536eec5eaae7db7cf0bc54b570564736f6c6343000818003300000000000000000000000025e101a21cadd9aef71d93264d0f4c91a959c37c

Deployed Bytecode

0x608060405234801561000f575f80fd5b50600436106101a1575f3560e01c806370a08231116100f3578063c87b56dd11610093578063e0df5b6f1161006e578063e0df5b6f146103f2578063e985e9c514610405578063f28ca1dd14610432578063f2fde38b1461043a575f80fd5b8063c87b56dd146103ad578063d547cfb7146103c0578063dd62ed3e146103c8575f80fd5b80639b19251a116100ce5780639b19251a14610352578063a22cb46514610374578063a9059cbb14610387578063b88d4fde1461039a575f80fd5b806370a08231146103195780638da5cb5b1461033857806395d89b411461034a575f80fd5b80632b9689581161015e5780634f02c420116101395780634f02c420146102d7578063504334c2146102e057806353d6fd59146102f35780636352211e14610306575f80fd5b80632b96895814610283578063313ce5671461028b57806342842e0e146102c4575f80fd5b806306fdde03146101a5578063081812fc146101c3578063095ea7b31461020357806318160ddd1461022657806318d217c31461025b57806323b872dd14610270575b5f80fd5b6101ad61044d565b6040516101ba9190611798565b60405180910390f35b6101eb6101d13660046117ca565b60066020525f90815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101ba565b6102166102113660046117f7565b6104d9565b60405190151581526020016101ba565b61024d7f00000000000000000000000000000000000000000000021e19e0c9bab240000081565b6040519081526020016101ba565b61026e6102693660046118bc565b610624565b005b61026e61027e3660046118f6565b61065d565b61026e6109d9565b6102b27f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff90911681526020016101ba565b61026e6102d23660046118f6565b610a3d565b61024d60035481565b61026e6102ee36600461192f565b610b0e565b61026e61030136600461198f565b610b41565b6101eb6103143660046117ca565b610b94565b61024d6103273660046119c8565b60046020525f908152604090205481565b5f546101eb906001600160a01b031681565b6101ad610bce565b6102166103603660046119c8565b600b6020525f908152604090205460ff1681565b61026e61038236600461198f565b610bdb565b6102166103953660046117f7565b610c46565b61026e6103a83660046119e1565b610c59565b6101ad6103bb3660046117ca565b610d19565b6101ad61110e565b61024d6103d6366004611a74565b600560209081525f928352604080842090915290825290205481565b61026e6104003660046118bc565b61111b565b610216610413366004611a74565b600760209081525f928352604080842090915290825290205460ff1681565b6101ad611150565b61026e6104483660046119c8565b61115d565b6001805461045a90611aa5565b80601f016020809104026020016040519081016040528092919081815260200182805461048690611aa5565b80156104d15780601f106104a8576101008083540402835291602001916104d1565b820191905f5260205f20905b8154815290600101906020018083116104b457829003601f168201915b505050505081565b5f60035482111580156104eb57505f82115b156105bf575f828152600860205260409020546001600160a01b031633811480159061053a57506001600160a01b0381165f90815260076020908152604080832033845290915290205460ff16155b15610557576040516282b42960e81b815260040160405180910390fd5b5f8381526006602090815260409182902080546001600160a01b0319166001600160a01b038881169182179092559251868152908416917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35061061a565b335f8181526005602090815260408083206001600160a01b03881680855290835292819020869055518581529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35b5060015b92915050565b5f546001600160a01b0316331461064d576040516282b42960e81b815260040160405180910390fd5b600c6106598282611b21565b5050565b600354811161096d575f818152600860205260409020546001600160a01b0384811691161461069f57604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0382166106c657604051634e46966960e11b815260040160405180910390fd5b336001600160a01b0384161480159061070257506001600160a01b0383165f90815260076020908152604080832033845290915290205460ff16155b801561072457505f818152600660205260409020546001600160a01b03163314155b15610741576040516282b42960e81b815260040160405180910390fd5b6107496111f7565b6001600160a01b0384165f9081526004602052604081208054909190610770908490611bf5565b9091555061077e90506111f7565b6001600160a01b038084165f81815260046020908152604080832080549096019095558582526008815284822080546001600160a01b0319908116909417905560068152848220805490931690925591861682526009905290812080546107e790600190611bf5565b815481106107f7576107f7611c08565b5f9182526020808320909101546001600160a01b0387168352600982526040808420868552600a9093529092205481549293508392811061083a5761083a611c08565b5f9182526020808320909101929092556001600160a01b038616815260099091526040902080548061086e5761086e611c1c565b5f828152602080822083015f19908101839055909201909255838252600a8152604080832054848452818420556001600160a01b0386168084526009835290832080546001818101835582865293852001869055925290546108d09190611bf5565b5f838152600a602052604080822092909255905183916001600160a01b0380871692908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4826001600160a01b0316846001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e0314876109566111f7565b60405190815260200160405180910390a350505050565b6001600160a01b0383165f9081526005602090815260408083203384529091529020545f1981146109c6576109a28282611bf5565b6001600160a01b0385165f9081526005602090815260408083203384529091529020555b6109d1848484611228565b50505b505050565b5f546001600160a01b03163314610a02576040516282b42960e81b815260040160405180910390fd5b5f80546001600160a01b031916815560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3565b610a4883838361065d565b6001600160a01b0382163b15801590610af05750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401525f608484015290919084169063150b7a029060a4016020604051808303815f875af1158015610abf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ae39190611c30565b6001600160e01b03191614155b156109d457604051633da6393160e01b815260040160405180910390fd5b5f546001600160a01b03163314610b37576040516282b42960e81b815260040160405180910390fd5b61065982826113cd565b5f546001600160a01b03163314610b6a576040516282b42960e81b815260040160405180910390fd5b6001600160a01b03919091165f908152600b60205260409020805460ff1916911515919091179055565b5f818152600860205260409020546001600160a01b031680610bc95760405163c5723b5160e01b815260040160405180910390fd5b919050565b6002805461045a90611aa5565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b5f610c52338484611228565b9392505050565b610c6485858561065d565b6001600160a01b0384163b15801590610cfb5750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610cae9033908a90899089908990600401611c57565b6020604051808303815f875af1158015610cca573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cee9190611c30565b6001600160e01b03191614155b156109d157604051633da6393160e01b815260040160405180910390fd5b60605f600d8054610d2990611aa5565b90501115610d6357600d610d3c836113e6565b604051602001610d4d929190611ca9565b6040516020818303038152906040529050919050565b5f82604051602001610d7791815260200190565b6040516020818303038152906040528051906020012060f81c9050606080604b8360ff1611610de95760405180604001604052806009815260200168313937bbb71733b4b360b91b815250915060405180604001604052806005815260200164213937bbb760d91b8152509050610fe1565b60828360ff1611610e3d576040518060400160405280600981526020016833b932b2b71733b4b360b91b81525091506040518060400160405280600581526020016423b932b2b760d91b8152509050610fe1565b60af8360ff1611610e93576040518060400160405280600a8152602001693cb2b63637bb9733b4b360b11b81525091506040518060400160405280600681526020016559656c6c6f7760d01b8152509050610fe1565b60c88360ff1611610ee5576040518060400160405280600881526020016721363ab29733b4b360c11b815250915060405180604001604052806004815260200163426c756560e01b8152509050610fe1565b60e68360ff1611610f3557604051806040016040528060078152602001662932b21733b4b360c91b81525091506040518060400160405280600381526020016214995960ea1b8152509050610fe1565b60f58360ff1611610f93576040518060400160405280600e81526020016d2bb434ba32a3b932b2b71733b4b360911b81525091506040518060400160405280600a8152602001692bb434ba32a3b932b2b760b11b8152509050610fe1565b60ff8360ff1611610fe157604051806040016040528060088152602001673732b7b71733b4b360c11b8152509150604051806040016040528060048152602001632732b7b760e11b81525090505b5f610feb866113e6565b604051602001610ffb9190611d2c565b60408051601f198184030181529082905261101891602001611d66565b604051602081830303815290604052600c8460405160200161103b929190611ca9565b60408051601f19818403018152908290526110599291602001611e3e565b60405160208183030381529060405290505f8260405160200161107c9190611e63565b60408051601f1981840301815282820182526004835263227d5d7d60e01b60208481019190915291519093506110b6918591859101611e3e565b60408051601f19818403018152908290526110d5918390602001611e3e565b60408051601f19818403018152908290526110f291602001611ebf565b6040516020818303038152906040529650505050505050919050565b600d805461045a90611aa5565b5f546001600160a01b03163314611144576040516282b42960e81b815260040160405180910390fd5b600d6106598282611b21565b600c805461045a90611aa5565b5f546001600160a01b03163314611186576040516282b42960e81b815260040160405180910390fd5b6001600160a01b0381166111ad576040516349e27cff60e01b815260040160405180910390fd5b5f80546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b5f6112237f0000000000000000000000000000000000000000000000000000000000000012600a611fe3565b905090565b5f806112326111f7565b6001600160a01b038087165f818152600460205260408082208054948a168352908220549282529394509192909186919061126d8386611bf5565b90915550506001600160a01b038087165f90815260046020908152604080832080548a019055928a168252600b9052205460ff166112fc576001600160a01b0387165f908152600460205260408120546112c8908590611ff1565b6112d28585611ff1565b6112dc9190611bf5565b90505f5b818110156112f9576112f189611476565b6001016112e0565b50505b6001600160a01b0386165f908152600b602052604090205460ff16611373575f6113268483611ff1565b6001600160a01b0388165f90815260046020526040902054611349908690611ff1565b6113539190611bf5565b90505f5b818110156113705761136888611597565b600101611357565b50505b856001600160a01b0316876001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487876040516113b891815260200190565b60405180910390a35060019695505050505050565b60016113d98382611b21565b5060026109d48282611b21565b60605f6113f28361169f565b60010190505f8167ffffffffffffffff8111156114115761141161181f565b6040519080825280601f01601f19166020018201604052801561143b576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461144557509392505050565b6001600160a01b03811661149d57604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0381165f90815260096020526040812080546114c290600190611bf5565b815481106114d2576114d2611c08565b905f5260205f200154905060095f836001600160a01b03166001600160a01b031681526020019081526020015f2080548061150f5761150f611c1c565b5f828152602080822083015f19908101839055909201909255828252600a815260408083208390556008825280832080546001600160a01b031990811690915560069092528083208054909216909155518291906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b0381166115be57604051634e46966960e11b815260040160405180910390fd5b60038054600101908190555f818152600860205260409020546001600160a01b0316156115fe5760405163119b4fd360e11b815260040160405180910390fd5b5f81815260086020908152604080832080546001600160a01b0319166001600160a01b0387169081179091558084526009835290832080546001818101835582865293852001859055925290546116559190611bf5565b5f828152600a602052604080822092909255905182916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106116dd5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611709576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061172757662386f26fc10000830492506010015b6305f5e100831061173f576305f5e100830492506008015b612710831061175357612710830492506004015b60648310611765576064830492506002015b600a831061061e5760010192915050565b5f5b83811015611790578181015183820152602001611778565b50505f910152565b602081525f82518060208401526117b6816040850160208701611776565b601f01601f19169190910160400192915050565b5f602082840312156117da575f80fd5b5035919050565b80356001600160a01b0381168114610bc9575f80fd5b5f8060408385031215611808575f80fd5b611811836117e1565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611842575f80fd5b813567ffffffffffffffff8082111561185d5761185d61181f565b604051601f8301601f19908116603f011681019082821181831017156118855761188561181f565b8160405283815286602085880101111561189d575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f602082840312156118cc575f80fd5b813567ffffffffffffffff8111156118e2575f80fd5b6118ee84828501611833565b949350505050565b5f805f60608486031215611908575f80fd5b611911846117e1565b925061191f602085016117e1565b9150604084013590509250925092565b5f8060408385031215611940575f80fd5b823567ffffffffffffffff80821115611957575f80fd5b61196386838701611833565b93506020850135915080821115611978575f80fd5b5061198585828601611833565b9150509250929050565b5f80604083850312156119a0575f80fd5b6119a9836117e1565b9150602083013580151581146119bd575f80fd5b809150509250929050565b5f602082840312156119d8575f80fd5b610c52826117e1565b5f805f805f608086880312156119f5575f80fd5b6119fe866117e1565b9450611a0c602087016117e1565b935060408601359250606086013567ffffffffffffffff80821115611a2f575f80fd5b818801915088601f830112611a42575f80fd5b813581811115611a50575f80fd5b896020828501011115611a61575f80fd5b9699959850939650602001949392505050565b5f8060408385031215611a85575f80fd5b611a8e836117e1565b9150611a9c602084016117e1565b90509250929050565b600181811c90821680611ab957607f821691505b602082108103611ad757634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156109d457805f5260205f20601f840160051c81016020851015611b025750805b601f840160051c820191505b818110156109d1575f8155600101611b0e565b815167ffffffffffffffff811115611b3b57611b3b61181f565b611b4f81611b498454611aa5565b84611add565b602080601f831160018114611b82575f8415611b6b5750858301515b5f19600386901b1c1916600185901b178555611bd9565b5f85815260208120601f198616915b82811015611bb057888601518255948401946001909101908401611b91565b5085821015611bcd57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561061e5761061e611be1565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52603160045260245ffd5b5f60208284031215611c40575f80fd5b81516001600160e01b031981168114610c52575f80fd5b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290525f828460a08401375f60a0848401015260a0601f19601f85011683010190509695505050505050565b5f808454611cb681611aa5565b60018281168015611cce5760018114611ce357611d0f565b60ff1984168752821515830287019450611d0f565b885f526020805f205f5b85811015611d065781548a820152908401908201611ced565b50505082870194505b505050508351611d23818360208801611776565b01949350505050565b717b226e616d65223a2022343034504144202360701b815281515f90611d59816012850160208701611776565b9190910160120192915050565b5f8251611d77818460208701611776565b7f222c226465736372697074696f6e223a224120636f6c6c656374696f6e206f669201918252507f2031302c303030205265706c6963616e747320656e61626c656420627920455260208201527f433430342c20616e206578706572696d656e74616c20746f6b656e207374616e60408201527f646172642e222c2265787465726e616c5f75726c223a2268747470733a2f2f6560608201527f72633430347061642e636f6d222c22696d616765223a220000000000000000006080820152609701919050565b5f8351611e4f818460208801611776565b835190830190611d23818360208801611776565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a224381526e37b637b91116113b30b63ab2911d1160891b60208201525f8251611eb281602f850160208701611776565b91909101602f0192915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c000000000081525f8251611ef681601b850160208701611776565b91909101601b0192915050565b600181815b80851115611f3d57815f1904821115611f2357611f23611be1565b80851615611f3057918102915b93841c9390800290611f08565b509250929050565b5f82611f535750600161061e565b81611f5f57505f61061e565b8160018114611f755760028114611f7f57611f9b565b600191505061061e565b60ff841115611f9057611f90611be1565b50506001821b61061e565b5060208310610133831016604e8410600b8410161715611fbe575081810a61061e565b611fc88383611f03565b805f1904821115611fdb57611fdb611be1565b029392505050565b5f610c5260ff841683611f45565b5f8261200b57634e487b7160e01b5f52601260045260245ffd5b50049056fea2646970667358221220da4d1e682de058ec5b09c32a3c01d17347a8e536eec5eaae7db7cf0bc54b570564736f6c63430008180033

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

00000000000000000000000025e101a21cadd9aef71d93264d0f4c91a959c37c

-----Decoded View---------------
Arg [0] : _owner (address): 0x25E101a21cADD9aeF71d93264d0f4C91a959c37c

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000025e101a21cadd9aef71d93264d0f4c91a959c37c


Deployed Bytecode Sourcemap

30413:2747:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2081:18;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2792:46;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;2792:46:0;;;;;;-1:-1:-1;;;;;1019:32:1;;;1001:51;;989:2;974:18;2792:46:0;855:203:1;4623:642:0;;;;;;:::i;:::-;;:::i;:::-;;;1665:14:1;;1658:22;1640:41;;1628:2;1613:18;4623:642:0;1500:187:1;2317:36:0;;;;;;;;1838:25:1;;;1826:2;1811:18;2317:36:0;1692:177:1;30669:98:0;;;;;;:::i;:::-;;:::i;:::-;;5672:1716;;;;;;:::i;:::-;;:::i;797:151::-;;;:::i;2217:31::-;;;;;;;;3562:4:1;3550:17;;;3532:36;;3520:2;3505:18;2217:31:0;3390:184:1;7684:405:0;;;;;;:::i;:::-;;:::i;2452:21::-;;;;;;30889:158;;;;;;:::i;:::-;;:::i;3952:111::-;;;;;;:::i;:::-;;:::i;4135:193::-;;;;;;:::i;:::-;;:::i;2558:44::-;;;;;;:::i;:::-;;;;;;;;;;;;;;238:20;;;;;-1:-1:-1;;;;;238:20:0;;;2135;;;:::i;3403:41::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;5316:207;;;;;;:::i;:::-;;:::i;7447:160::-;;;;;;:::i;:::-;;:::i;8184:437::-;;;;;;:::i;:::-;;:::i;31055:2102::-;;;;;;:::i;:::-;;:::i;30477:26::-;;;:::i;2672:64::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;30775:106;;;;;;:::i;:::-;;:::i;2903:68::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;30449:21;;;:::i;570:219::-;;;;;;:::i;:::-;;:::i;2081:18::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4623:642::-;4726:4;4761:6;;4747:10;:20;;:38;;;;;4784:1;4771:10;:14;4747:38;4743:491;;;4802:13;4818:20;;;:8;:20;;;;;;-1:-1:-1;;;;;4818:20:0;4859:10;:19;;;;;:59;;-1:-1:-1;;;;;;4883:23:0;;;;;;:16;:23;;;;;;;;4907:10;4883:35;;;;;;;;;;4882:36;4859:59;4855:121;;;4946:14;;-1:-1:-1;;;4946:14:0;;;;;;;;;;;4855:121;4992:23;;;;:11;:23;;;;;;;;;:33;;-1:-1:-1;;;;;;4992:33:0;-1:-1:-1;;;;;4992:33:0;;;;;;;;;5047:36;;1838:25:1;;;5047:36:0;;;;;;1811:18:1;5047:36:0;;;;;;;4787:308;4743:491;;;5126:10;5116:21;;;;:9;:21;;;;;;;;-1:-1:-1;;;;;5116:30:0;;;;;;;;;;;;:43;;;5181:41;1838:25:1;;;5116:30:0;;5126:10;5181:41;;1811:18:1;5181:41:0;;;;;;;4743:491;-1:-1:-1;5253:4:0;4623:642;;;;;:::o;30669:98::-;325:5;;-1:-1:-1;;;;;325:5:0;311:10;:19;307:46;;339:14;;-1:-1:-1;;;339:14:0;;;;;;;;;;;307:46;30741:7:::1;:18;30751:8:::0;30741:7;:18:::1;:::i;:::-;;30669:98:::0;:::o;5672:1716::-;5818:6;;5804:10;:20;5800:1581;;5853:20;;;;:8;:20;;;;;;-1:-1:-1;;;;;5845:28:0;;;5853:20;;5845:28;5841:91;;5901:15;;-1:-1:-1;;;5901:15:0;;;;;;;;;;;5841:91;-1:-1:-1;;;;;5952:16:0;;5948:82;;5996:18;;-1:-1:-1;;;5996:18:0;;;;;;;;;;;5948:82;6068:10;-1:-1:-1;;;;;6068:18:0;;;;;;:74;;-1:-1:-1;;;;;;6108:22:0;;;;;;:16;:22;;;;;;;;6131:10;6108:34;;;;;;;;;;6107:35;6068:74;:132;;;;-1:-1:-1;6177:23:0;;;;:11;:23;;;;;;-1:-1:-1;;;;;6177:23:0;6163:10;:37;;6068:132;6046:226;;;6242:14;;-1:-1:-1;;;6242:14:0;;;;;;;;;;;6046:226;6307:10;:8;:10::i;:::-;-1:-1:-1;;;;;6288:15:0;;;;;;:9;:15;;;;;:29;;:15;;;:29;;;;;:::i;:::-;;;;-1:-1:-1;6380:10:0;;-1:-1:-1;6380:8:0;:10::i;:::-;-1:-1:-1;;;;;6363:13:0;;;;;;;:9;:13;;;;;;;;:27;;;;;;;;6422:20;;;:8;:20;;;;;:25;;-1:-1:-1;;;;;;6422:25:0;;;;;;;;6469:11;:23;;;;;6462:30;;;;;;;;6570:12;;;;;:6;:12;;;;;6583:19;;:23;;-1:-1:-1;;6583:23:0;:::i;:::-;6570:37;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;6622:12:0;;;;:6;:12;;;;;;6635:23;;;:11;:23;;;;;;;6622:37;;6570;;-1:-1:-1;6570:37:0;;6622;;;;;;:::i;:::-;;;;;;;;;;;;:49;;;;-1:-1:-1;;;;;6706:12:0;;;;:6;:12;;;;;;:18;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;6706:18:0;;;;;;;;;;;;6810:23;;;:11;:23;;;;;;;6785:22;;;;;;:48;-1:-1:-1;;;;;6887:10:0;;;;;:6;:10;;;;;:27;;6706:18;6887:27;;;;;;;;;;;;;;;6997:10;;:17;;:21;;6706:18;6997:21;:::i;:::-;6971:23;;;;:11;:23;;;;;;:47;;;;7040:30;;6983:10;;-1:-1:-1;;;;;7040:30:0;;;;;;;;;;;7110:2;-1:-1:-1;;;;;7090:35:0;7104:4;-1:-1:-1;;;;;7090:35:0;;7114:10;:8;:10::i;:::-;7090:35;;1838:25:1;;;1826:2;1811:18;7090:35:0;;;;;;;5826:1311;5672:1716;;;:::o;5800:1581::-;-1:-1:-1;;;;;7176:15:0;;7158;7176;;;:9;:15;;;;;;;;7192:10;7176:27;;;;;;;;-1:-1:-1;;7224:28:0;;7220:101;;7301:20;7311:10;7301:7;:20;:::i;:::-;-1:-1:-1;;;;;7271:15:0;;;;;;:9;:15;;;;;;;;7287:10;7271:27;;;;;;;:50;7220:101;7338:31;7348:4;7354:2;7358:10;7338:9;:31::i;:::-;;7143:238;5800:1581;5672:1716;;;:::o;797:151::-;325:5;;-1:-1:-1;;;;;325:5:0;311:10;:19;307:46;;339:14;;-1:-1:-1;;;339:14:0;;;;;;;;;;;307:46;876:1:::1;860:18:::0;;-1:-1:-1;;;;;;860:18:0::1;::::0;;896:44:::1;::::0;917:10:::1;::::0;896:44:::1;::::0;876:1;;896:44:::1;797:151::o:0;7684:405::-;7808:26;7821:4;7827:2;7831;7808:12;:26::i;:::-;-1:-1:-1;;;;;7865:14:0;;;:19;;;;:154;;-1:-1:-1;7901:61:0;;-1:-1:-1;;;7901:61:0;;;7937:10;7901:61;;;9137:34:1;-1:-1:-1;;;;;9207:15:1;;;9187:18;;;9180:43;9239:18;;;9232:34;;;9302:3;9282:18;;;9275:31;-1:-1:-1;9322:19:1;;;9315:30;7979:40:0;;7901:35;;;;7979:40;;9362:19:1;;7901:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;7901:118:0;;;7865:154;7847:235;;;8053:17;;-1:-1:-1;;;8053:17:0;;;;;;;;;;;30889:158;325:5;;-1:-1:-1;;;;;325:5:0;311:10;:19;307:46;;339:14;;-1:-1:-1;;;339:14:0;;;;;;;;;;;307:46;31009:30:::1;31024:5;31031:7;31009:14;:30::i;3952:111::-:0;325:5;;-1:-1:-1;;;;;325:5:0;311:10;:19;307:46;;339:14;;-1:-1:-1;;;339:14:0;;;;;;;;;;;307:46;-1:-1:-1;;;;;4030:17:0;;;::::1;;::::0;;;:9:::1;:17;::::0;;;;:25;;-1:-1:-1;;4030:25:0::1;::::0;::::1;;::::0;;;::::1;::::0;;3952:111::o;4135:193::-;4193:13;4227:12;;;:8;:12;;;;;;-1:-1:-1;;;;;4227:12:0;;4252:69;;4299:10;;-1:-1:-1;;;4299:10:0;;;;;;;;;;;4252:69;4135:193;;;:::o;2135:20::-;;;;;;;:::i;5316:207::-;5419:10;5402:28;;;;:16;:28;;;;;;;;-1:-1:-1;;;;;5402:38:0;;;;;;;;;;;;:49;;-1:-1:-1;;5402:49:0;;;;;;;;;;5469:46;;1640:41:1;;;5402:38:0;;5419:10;5469:46;;1613:18:1;5469:46:0;;;;;;;5316:207;;:::o;7447:160::-;7542:4;7566:33;7576:10;7588:2;7592:6;7566:9;:33::i;:::-;7559:40;7447:160;-1:-1:-1;;;7447:160:0:o;8184:437::-;8338:26;8351:4;8357:2;8361;8338:12;:26::i;:::-;-1:-1:-1;;;;;8395:14:0;;;:19;;;;:156;;-1:-1:-1;8431:63:0;;-1:-1:-1;;;8431:63:0;;;8511:40;-1:-1:-1;;;;;8431:35:0;;;8511:40;;8431:63;;8467:10;;8479:4;;8485:2;;8489:4;;;;8431:63;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;8431:120:0;;;8395:156;8377:237;;;8585:17;;-1:-1:-1;;;8585:17:0;;;;;;;;;;;31055:2102;31115:13;31174:1;31151:12;31145:26;;;;;:::i;:::-;;;:30;31141:2009;;;31213:12;31227:20;31244:2;31227:16;:20::i;:::-;31199:49;;;;;;;;;:::i;:::-;;;;;;;;;;;;;31192:56;;31055:2102;;;:::o;31141:2009::-;31281:10;31334:2;31317:20;;;;;;11509:19:1;;11553:2;11544:12;;11380:182;31317:20:0;;;;;;;;;;;;;31307:31;;;;;;31294:46;;31281:59;;31355:19;31389;31437:2;31429:4;:10;;;31425:774;;31460:19;;;;;;;;;;;;;-1:-1:-1;;;31460:19:0;;;;;31498:15;;;;;;;;;;;;;-1:-1:-1;;;31498:15:0;;;;;31425:774;;;31547:3;31539:4;:11;;;31535:664;;31571:19;;;;;;;;;;;;;-1:-1:-1;;;31571:19:0;;;;;31609:15;;;;;;;;;;;;;-1:-1:-1;;;31609:15:0;;;;;31535:664;;;31658:3;31650:4;:11;;;31646:553;;31682:20;;;;;;;;;;;;;-1:-1:-1;;;31682:20:0;;;;;31721:16;;;;;;;;;;;;;-1:-1:-1;;;31721:16:0;;;;;31646:553;;;31771:3;31763:4;:11;;;31759:440;;31795:18;;;;;;;;;;;;;-1:-1:-1;;;31795:18:0;;;;;31832:14;;;;;;;;;;;;;-1:-1:-1;;;31832:14:0;;;;;31759:440;;;31880:3;31872:4;:11;;;31868:331;;31904:17;;;;;;;;;;;;;-1:-1:-1;;;31904:17:0;;;;;31940:13;;;;;;;;;;;;;-1:-1:-1;;;31940:13:0;;;;;31868:331;;;31987:3;31979:4;:11;;;31975:224;;32011:24;;;;;;;;;;;;;-1:-1:-1;;;32011:24:0;;;;;32054:20;;;;;;;;;;;;;-1:-1:-1;;;32054:20:0;;;;;31975:224;;;32108:3;32100:4;:11;;;32096:103;;32132:18;;;;;;;;;;;;;-1:-1:-1;;;32132:18:0;;;;;32169:14;;;;;;;;;;;;;-1:-1:-1;;;32169:14:0;;;;;32096:103;32215:26;32348:20;32365:2;32348:16;:20::i;:::-;32312:57;;;;;;;;:::i;:::-;;;;-1:-1:-1;;32312:57:0;;;;;;;;;;32276:288;;32312:57;32276:288;;:::i;:::-;;;;;;;;;;;;;32597:7;32606:5;32583:29;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;32583:29:0;;;;;;;;;;32244:383;;;32583:29;32244:383;;:::i;:::-;;;;;;;;;;;;;32215:412;;32642:27;32772:5;32672:120;;;;;;;;:::i;:::-;;;;-1:-1:-1;;32672:120:0;;;;;;32807:37;;;;;;;;-1:-1:-1;;;32672:120:0;32807:37;;;;;;;33013:42;;32672:120;;-1:-1:-1;33013:42:0;;33027:12;;32672:120;;33013:42;;:::i;:::-;;;;-1:-1:-1;;33013:42:0;;;;;;;;;;32973:146;;33082:14;;33013:42;32973:146;;:::i;:::-;;;;-1:-1:-1;;32973:146:0;;;;;;;;;;32885:253;;32973:146;32885:253;;:::i;:::-;;;;;;;;;;;;;32861:277;;;;;;;;31055:2102;;;:::o;30477:26::-;;;;;;;:::i;30775:106::-;325:5;;-1:-1:-1;;;;;325:5:0;311:10;:19;307:46;;339:14;;-1:-1:-1;;;339:14:0;;;;;;;;;;;307:46;30849:12:::1;:24;30864:9:::0;30849:12;:24:::1;:::i;30449:21::-:0;;;;;;;:::i;570:219::-;325:5;;-1:-1:-1;;;;;325:5:0;311:10;:19;307:46;;339:14;;-1:-1:-1;;;339:14:0;;;;;;;;;;;307:46;-1:-1:-1;;;;;653:20:0;::::1;649:47;;682:14;;-1:-1:-1::0;;;682:14:0::1;;;;;;;;;;;649:47;709:5;:14:::0;;-1:-1:-1;;;;;;709:14:0::1;-1:-1:-1::0;;;;;709:14:0;::::1;::::0;;::::1;::::0;;741:40:::1;::::0;709:14;;762:10:::1;::::0;741:40:::1;::::0;709:5;741:40:::1;570:219:::0;:::o;9821:92::-;9864:7;9891:14;9897:8;9891:2;:14;:::i;:::-;9884:21;;9821:92;:::o;8689:1093::-;8802:4;8819:12;8834:10;:8;:10::i;:::-;-1:-1:-1;;;;;8885:15:0;;;8855:27;8885:15;;;:9;:15;;;;;;;;8943:13;;;;;;;;;8969:15;;;8819:25;;-1:-1:-1;8885:15:0;;8943:13;;8988:6;;8885:15;8969:25;8988:6;8885:15;8969:25;:::i;:::-;;;;-1:-1:-1;;;;;;;9032:13:0;;;;;;;:9;:13;;;;;;;;:23;;;;;;9140:15;;;;;:9;:15;;;;;;9135:251;;-1:-1:-1;;;;;9246:15:0;;9172:22;9246:15;;;:9;:15;;;;;;:22;;9264:4;;9246:22;:::i;:::-;9198:26;9220:4;9198:19;:26;:::i;:::-;9197:72;;;;:::i;:::-;9172:97;;9289:9;9284:91;9308:14;9304:1;:18;9284:91;;;9348:11;9354:4;9348:5;:11::i;:::-;9324:3;;9284:91;;;;9157:229;9135:251;-1:-1:-1;;;;;9462:13:0;;;;;;:9;:13;;;;;;;;9457:247;;9492:22;9560:28;9584:4;9560:21;:28;:::i;:::-;-1:-1:-1;;;;;9518:13:0;;;;;;:9;:13;;;;;;:20;;9534:4;;9518:20;:::i;:::-;9517:72;;;;:::i;:::-;9492:97;;9609:9;9604:89;9628:14;9624:1;:18;9604:89;;;9668:9;9674:2;9668:5;:9::i;:::-;9644:3;;9604:89;;;;9477:227;9457:247;9741:2;-1:-1:-1;;;;;9721:31:0;9735:4;-1:-1:-1;;;;;9721:31:0;;9745:6;9721:31;;;;1838:25:1;;1826:2;1811:18;;1692:177;9721:31:0;;;;;;;;-1:-1:-1;9770:4:0;;8689:1093;-1:-1:-1;;;;;;8689:1093:0:o;10784:160::-;10897:4;:12;10904:5;10897:4;:12;:::i;:::-;-1:-1:-1;10920:6:0;:16;10929:7;10920:6;:16;:::i;27878:718::-;27934:13;27985:14;28002:17;28013:5;28002:10;:17::i;:::-;28022:1;28002:21;27985:38;;28038:20;28072:6;28061:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28061:18:0;-1:-1:-1;28038:41:0;-1:-1:-1;28203:28:0;;;28219:2;28203:28;28260:290;-1:-1:-1;;28292:5:0;-1:-1:-1;;;28429:2:0;28418:14;;28413:32;28292:5;28400:46;28492:2;28483:11;;;-1:-1:-1;28513:21:0;28260:290;28513:21;-1:-1:-1;28571:6:0;27878:718;-1:-1:-1;;;27878:718:0:o;10403:373::-;-1:-1:-1;;;;;10464:18:0;;10460:73;;10506:15;;-1:-1:-1;;;10506:15:0;;;;;;;;;;;10460:73;-1:-1:-1;;;;;10558:12:0;;10545:10;10558:12;;;:6;:12;;;;;10571:19;;:23;;10593:1;;10571:23;:::i;:::-;10558:37;;;;;;;;:::i;:::-;;;;;;;;;10545:50;;10606:6;:12;10613:4;-1:-1:-1;;;;;10606:12:0;-1:-1:-1;;;;;10606:12:0;;;;;;;;;;;;:18;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;10606:18:0;;;;;;;;;;;;10642:15;;;:11;:15;;;;;;10635:22;;;10675:8;:12;;;;;10668:19;;-1:-1:-1;;;;;;10668:19:0;;;;;;10705:11;:15;;;;;;10698:22;;;;;;;;10738:30;10654:2;;10606:18;-1:-1:-1;;;;;10738:30:0;;;;;10606:18;;10738:30;10449:327;10403:373;:::o;9921:474::-;-1:-1:-1;;;;;9980:16:0;;9976:74;;10020:18;;-1:-1:-1;;;10020:18:0;;;;;;;;;;;9976:74;10087:6;:8;;;;;;;;:6;10155:12;;;:8;:12;;;;;;-1:-1:-1;;;;;10155:12:0;:26;10151:81;;10205:15;;-1:-1:-1;;;10205:15:0;;;;;;;;;;;10151:81;10244:12;;;;:8;:12;;;;;;;;:17;;-1:-1:-1;;;;;;10244:17:0;-1:-1:-1;;;;;10244:17:0;;;;;;;;10272:10;;;:6;:10;;;;;:19;;-1:-1:-1;10272:19:0;;;;;;;;;;;;;;;10320:10;;:17;;:21;;-1:-1:-1;10320:21:0;:::i;:::-;10302:15;;;;:11;:15;;;;;;:39;;;;10359:28;;10314:2;;-1:-1:-1;;;;;10359:28:0;;;;;10302:15;;10359:28;9965:430;9921:474;:::o;23274:948::-;23327:7;;-1:-1:-1;;;23405:17:0;;23401:106;;-1:-1:-1;;;23443:17:0;;;-1:-1:-1;23489:2:0;23479:12;23401:106;23534:8;23525:5;:17;23521:106;;23572:8;23563:17;;;-1:-1:-1;23609:2:0;23599:12;23521:106;23654:8;23645:5;:17;23641:106;;23692:8;23683:17;;;-1:-1:-1;23729:2:0;23719:12;23641:106;23774:7;23765:5;:16;23761:103;;23811:7;23802:16;;;-1:-1:-1;23847:1:0;23837:11;23761:103;23891:7;23882:5;:16;23878:103;;23928:7;23919:16;;;-1:-1:-1;23964:1:0;23954:11;23878:103;24008:7;23999:5;:16;23995:103;;24045:7;24036:16;;;-1:-1:-1;24081:1:0;24071:11;23995:103;24125:7;24116:5;:16;24112:68;;24163:1;24153:11;24208:6;23274:948;-1:-1:-1;;23274:948:0:o;14:250:1:-;99:1;109:113;123:6;120:1;117:13;109:113;;;199:11;;;193:18;180:11;;;173:39;145:2;138:10;109:113;;;-1:-1:-1;;256:1:1;238:16;;231:27;14:250::o;269:396::-;418:2;407:9;400:21;381:4;450:6;444:13;493:6;488:2;477:9;473:18;466:34;509:79;581:6;576:2;565:9;561:18;556:2;548:6;544:15;509:79;:::i;:::-;649:2;628:15;-1:-1:-1;;624:29:1;609:45;;;;656:2;605:54;;269:396;-1:-1:-1;;269:396:1:o;670:180::-;729:6;782:2;770:9;761:7;757:23;753:32;750:52;;;798:1;795;788:12;750:52;-1:-1:-1;821:23:1;;670:180;-1:-1:-1;670:180:1:o;1063:173::-;1131:20;;-1:-1:-1;;;;;1180:31:1;;1170:42;;1160:70;;1226:1;1223;1216:12;1241:254;1309:6;1317;1370:2;1358:9;1349:7;1345:23;1341:32;1338:52;;;1386:1;1383;1376:12;1338:52;1409:29;1428:9;1409:29;:::i;:::-;1399:39;1485:2;1470:18;;;;1457:32;;-1:-1:-1;;;1241:254:1:o;1874:127::-;1935:10;1930:3;1926:20;1923:1;1916:31;1966:4;1963:1;1956:15;1990:4;1987:1;1980:15;2006:719;2049:5;2102:3;2095:4;2087:6;2083:17;2079:27;2069:55;;2120:1;2117;2110:12;2069:55;2156:6;2143:20;2182:18;2219:2;2215;2212:10;2209:36;;;2225:18;;:::i;:::-;2300:2;2294:9;2268:2;2354:13;;-1:-1:-1;;2350:22:1;;;2374:2;2346:31;2342:40;2330:53;;;2398:18;;;2418:22;;;2395:46;2392:72;;;2444:18;;:::i;:::-;2484:10;2480:2;2473:22;2519:2;2511:6;2504:18;2565:3;2558:4;2553:2;2545:6;2541:15;2537:26;2534:35;2531:55;;;2582:1;2579;2572:12;2531:55;2646:2;2639:4;2631:6;2627:17;2620:4;2612:6;2608:17;2595:54;2693:1;2686:4;2681:2;2673:6;2669:15;2665:26;2658:37;2713:6;2704:15;;;;;;2006:719;;;;:::o;2730:322::-;2799:6;2852:2;2840:9;2831:7;2827:23;2823:32;2820:52;;;2868:1;2865;2858:12;2820:52;2908:9;2895:23;2941:18;2933:6;2930:30;2927:50;;;2973:1;2970;2963:12;2927:50;2996;3038:7;3029:6;3018:9;3014:22;2996:50;:::i;:::-;2986:60;2730:322;-1:-1:-1;;;;2730:322:1:o;3057:328::-;3134:6;3142;3150;3203:2;3191:9;3182:7;3178:23;3174:32;3171:52;;;3219:1;3216;3209:12;3171:52;3242:29;3261:9;3242:29;:::i;:::-;3232:39;;3290:38;3324:2;3313:9;3309:18;3290:38;:::i;:::-;3280:48;;3375:2;3364:9;3360:18;3347:32;3337:42;;3057:328;;;;;:::o;3579:543::-;3667:6;3675;3728:2;3716:9;3707:7;3703:23;3699:32;3696:52;;;3744:1;3741;3734:12;3696:52;3784:9;3771:23;3813:18;3854:2;3846:6;3843:14;3840:34;;;3870:1;3867;3860:12;3840:34;3893:50;3935:7;3926:6;3915:9;3911:22;3893:50;:::i;:::-;3883:60;;3996:2;3985:9;3981:18;3968:32;3952:48;;4025:2;4015:8;4012:16;4009:36;;;4041:1;4038;4031:12;4009:36;;4064:52;4108:7;4097:8;4086:9;4082:24;4064:52;:::i;:::-;4054:62;;;3579:543;;;;;:::o;4127:347::-;4192:6;4200;4253:2;4241:9;4232:7;4228:23;4224:32;4221:52;;;4269:1;4266;4259:12;4221:52;4292:29;4311:9;4292:29;:::i;:::-;4282:39;;4371:2;4360:9;4356:18;4343:32;4418:5;4411:13;4404:21;4397:5;4394:32;4384:60;;4440:1;4437;4430:12;4384:60;4463:5;4453:15;;;4127:347;;;;;:::o;4479:186::-;4538:6;4591:2;4579:9;4570:7;4566:23;4562:32;4559:52;;;4607:1;4604;4597:12;4559:52;4630:29;4649:9;4630:29;:::i;4670:808::-;4767:6;4775;4783;4791;4799;4852:3;4840:9;4831:7;4827:23;4823:33;4820:53;;;4869:1;4866;4859:12;4820:53;4892:29;4911:9;4892:29;:::i;:::-;4882:39;;4940:38;4974:2;4963:9;4959:18;4940:38;:::i;:::-;4930:48;;5025:2;5014:9;5010:18;4997:32;4987:42;;5080:2;5069:9;5065:18;5052:32;5103:18;5144:2;5136:6;5133:14;5130:34;;;5160:1;5157;5150:12;5130:34;5198:6;5187:9;5183:22;5173:32;;5243:7;5236:4;5232:2;5228:13;5224:27;5214:55;;5265:1;5262;5255:12;5214:55;5305:2;5292:16;5331:2;5323:6;5320:14;5317:34;;;5347:1;5344;5337:12;5317:34;5392:7;5387:2;5378:6;5374:2;5370:15;5366:24;5363:37;5360:57;;;5413:1;5410;5403:12;5360:57;4670:808;;;;-1:-1:-1;4670:808:1;;-1:-1:-1;5444:2:1;5436:11;;5466:6;4670:808;-1:-1:-1;;;4670:808:1:o;5483:260::-;5551:6;5559;5612:2;5600:9;5591:7;5587:23;5583:32;5580:52;;;5628:1;5625;5618:12;5580:52;5651:29;5670:9;5651:29;:::i;:::-;5641:39;;5699:38;5733:2;5722:9;5718:18;5699:38;:::i;:::-;5689:48;;5483:260;;;;;:::o;5748:380::-;5827:1;5823:12;;;;5870;;;5891:61;;5945:4;5937:6;5933:17;5923:27;;5891:61;5998:2;5990:6;5987:14;5967:18;5964:38;5961:161;;6044:10;6039:3;6035:20;6032:1;6025:31;6079:4;6076:1;6069:15;6107:4;6104:1;6097:15;5961:161;;5748:380;;;:::o;6259:518::-;6361:2;6356:3;6353:11;6350:421;;;6397:5;6394:1;6387:16;6441:4;6438:1;6428:18;6511:2;6499:10;6495:19;6492:1;6488:27;6482:4;6478:38;6547:4;6535:10;6532:20;6529:47;;;-1:-1:-1;6570:4:1;6529:47;6625:2;6620:3;6616:12;6613:1;6609:20;6603:4;6599:31;6589:41;;6680:81;6698:2;6691:5;6688:13;6680:81;;;6757:1;6743:16;;6724:1;6713:13;6680:81;;6953:1345;7079:3;7073:10;7106:18;7098:6;7095:30;7092:56;;;7128:18;;:::i;:::-;7157:97;7247:6;7207:38;7239:4;7233:11;7207:38;:::i;:::-;7201:4;7157:97;:::i;:::-;7309:4;;7366:2;7355:14;;7383:1;7378:663;;;;8085:1;8102:6;8099:89;;;-1:-1:-1;8154:19:1;;;8148:26;8099:89;-1:-1:-1;;6910:1:1;6906:11;;;6902:24;6898:29;6888:40;6934:1;6930:11;;;6885:57;8201:81;;7348:944;;7378:663;6206:1;6199:14;;;6243:4;6230:18;;-1:-1:-1;;7414:20:1;;;7532:236;7546:7;7543:1;7540:14;7532:236;;;7635:19;;;7629:26;7614:42;;7727:27;;;;7695:1;7683:14;;;;7562:19;;7532:236;;;7536:3;7796:6;7787:7;7784:19;7781:201;;;7857:19;;;7851:26;-1:-1:-1;;7940:1:1;7936:14;;;7952:3;7932:24;7928:37;7924:42;7909:58;7894:74;;7781:201;;;8028:1;8019:6;8016:1;8012:14;8008:22;8002:4;7995:36;7348:944;;;;;6953:1345;;:::o;8303:127::-;8364:10;8359:3;8355:20;8352:1;8345:31;8395:4;8392:1;8385:15;8419:4;8416:1;8409:15;8435:128;8502:9;;;8523:11;;;8520:37;;;8537:18;;:::i;8568:127::-;8629:10;8624:3;8620:20;8617:1;8610:31;8660:4;8657:1;8650:15;8684:4;8681:1;8674:15;8700:127;8761:10;8756:3;8752:20;8749:1;8742:31;8792:4;8789:1;8782:15;8816:4;8813:1;8806:15;9392:290;9461:6;9514:2;9502:9;9493:7;9489:23;9485:32;9482:52;;;9530:1;9527;9520:12;9482:52;9556:16;;-1:-1:-1;;;;;;9601:32:1;;9591:43;;9581:71;;9648:1;9645;9638:12;9687:662;-1:-1:-1;;;;;9966:15:1;;;9948:34;;10018:15;;10013:2;9998:18;;9991:43;10065:2;10050:18;;10043:34;;;10113:3;10108:2;10093:18;;10086:31;;;10133:19;;10126:35;;;9891:4;10154:6;10204;9928:3;10183:19;;10170:49;10269:1;10263:3;10254:6;10243:9;10239:22;10235:32;10228:43;10339:3;10332:2;10328:7;10323:2;10315:6;10311:15;10307:29;10296:9;10292:45;10288:55;10280:63;;9687:662;;;;;;;;:::o;10354:1021::-;10530:3;10559:1;10592:6;10586:13;10622:36;10648:9;10622:36;:::i;:::-;10677:1;10694:17;;;10720:133;;;;10867:1;10862:358;;;;10687:533;;10720:133;-1:-1:-1;;10753:24:1;;10741:37;;10826:14;;10819:22;10807:35;;10798:45;;;-1:-1:-1;10720:133:1;;10862:358;10893:6;10890:1;10883:17;10923:4;10968;10965:1;10955:18;10995:1;11009:165;11023:6;11020:1;11017:13;11009:165;;;11101:14;;11088:11;;;11081:35;11144:16;;;;11038:10;;11009:165;;;11013:3;;;11203:6;11198:3;11194:16;11187:23;;10687:533;;;;;11251:6;11245:13;11267:68;11326:8;11321:3;11314:4;11306:6;11302:17;11267:68;:::i;:::-;11351:18;;10354:1021;-1:-1:-1;;;;10354:1021:1:o;11567:468::-;-1:-1:-1;;;11807:61:1;;11891:13;;11789:3;;11913:75;11891:13;11976:2;11967:12;;11960:4;11948:17;;11913:75;:::i;:::-;12008:16;;;;12026:2;12004:25;;11567:468;-1:-1:-1;;11567:468:1:o;12040:852::-;12272:3;12310:6;12304:13;12326:66;12385:6;12380:3;12373:4;12365:6;12361:17;12326:66;:::i;:::-;12453;12414:16;;12439:81;;;-1:-1:-1;12554:34:1;12547:4;12536:16;;12529:60;12621:34;12616:2;12605:14;;12598:58;12688:66;12683:2;12672:14;;12665:90;12788:66;12782:3;12771:15;;12764:91;12882:3;12871:15;;12040:852;-1:-1:-1;12040:852:1:o;12897:496::-;13076:3;13114:6;13108:13;13130:66;13189:6;13184:3;13177:4;13169:6;13165:17;13130:66;:::i;:::-;13259:13;;13218:16;;;;13281:70;13259:13;13218:16;13328:4;13316:17;;13281:70;:::i;13398:567::-;13660:66;13655:3;13648:79;13766:32;13761:3;13757:42;13752:2;13747:3;13743:12;13736:64;13630:3;13829:6;13823:13;13845:73;13911:6;13906:2;13901:3;13897:12;13892:2;13884:6;13880:15;13845:73;:::i;:::-;13938:16;;;;13956:2;13934:25;;13398:567;-1:-1:-1;;13398:567:1:o;13970:449::-;14222:29;14217:3;14210:42;14192:3;14281:6;14275:13;14297:75;14365:6;14360:2;14355:3;14351:12;14344:4;14336:6;14332:17;14297:75;:::i;:::-;14392:16;;;;14410:2;14388:25;;13970:449;-1:-1:-1;;13970:449:1:o;14424:416::-;14513:1;14550:5;14513:1;14564:270;14585:7;14575:8;14572:21;14564:270;;;14644:4;14640:1;14636:6;14632:17;14626:4;14623:27;14620:53;;;14653:18;;:::i;:::-;14703:7;14693:8;14689:22;14686:55;;;14723:16;;;;14686:55;14802:22;;;;14762:15;;;;14564:270;;;14568:3;14424:416;;;;;:::o;14845:806::-;14894:5;14924:8;14914:80;;-1:-1:-1;14965:1:1;14979:5;;14914:80;15013:4;15003:76;;-1:-1:-1;15050:1:1;15064:5;;15003:76;15095:4;15113:1;15108:59;;;;15181:1;15176:130;;;;15088:218;;15108:59;15138:1;15129:10;;15152:5;;;15176:130;15213:3;15203:8;15200:17;15197:43;;;15220:18;;:::i;:::-;-1:-1:-1;;15276:1:1;15262:16;;15291:5;;15088:218;;15390:2;15380:8;15377:16;15371:3;15365:4;15362:13;15358:36;15352:2;15342:8;15339:16;15334:2;15328:4;15325:12;15321:35;15318:77;15315:159;;;-1:-1:-1;15427:19:1;;;15459:5;;15315:159;15506:34;15531:8;15525:4;15506:34;:::i;:::-;15576:6;15572:1;15568:6;15564:19;15555:7;15552:32;15549:58;;;15587:18;;:::i;:::-;15625:20;;14845:806;-1:-1:-1;;;14845:806:1:o;15656:140::-;15714:5;15743:47;15784:4;15774:8;15770:19;15764:4;15743:47;:::i;15933:217::-;15973:1;15999;15989:132;;16043:10;16038:3;16034:20;16031:1;16024:31;16078:4;16075:1;16068:15;16106:4;16103:1;16096:15;15989:132;-1:-1:-1;16135:9:1;;15933:217::o

Swarm Source

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