ETH Price: $3,121.88 (-0.58%)

Token

Teddy Gang 404 (GANG)
 

Overview

Max Total Supply

3,000 GANG

Holders

0

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

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion, Unlicense license

Contract Source Code (Solidity)

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

/*
Teddy Gang 404
$GANG 

Teddy Gang from the 404, Atlanta's hardest gang on the blockchain.

TG: https://t.me/Teddygang404
Web: http://teddygang404.xyz/
Twitter: https://twitter.com/Teddygang404

*/
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.20;

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

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

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

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

// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)

pragma solidity ^0.8.20;

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

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

/// @notice ERC404
///         A gas-efficient, mixed ERC20 / ERC721 implementation
///         with native liquidity and fractionalization.
///
///         This is an experimental standard designed to integrate
///         with pre-existing ERC20 / ERC721 support as smoothly as
///         possible.
///
/// @dev    In order to support full functionality of ERC20 and ERC721
///         supply assumptions are made that slightly constraint usage.
///         Ensure decimals are sufficiently large (standard 18 recommended)
///         as ids are effectively encoded in the lowest range of amounts.
///
///         NFTs are spent on ERC20 functions in a FILO queue, this is by
///         design.
///
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;

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

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

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

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

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

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

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

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

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

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

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

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

    /// @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 (minted > max_mint && _burnedTokenIds.length > 0) {
            uint256 lastIndex = _burnedTokenIds.length - 1;
            id = _burnedTokenIds[lastIndex];
            _burnedTokenIds.pop();
        }

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

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

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

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

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

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

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

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

interface IERC20 {
    function decimals() external view returns (uint8);

    function symbol() external view returns (string memory);

    function name() external view returns (string memory);

    function totalSupply() external view returns (uint256);

    function balanceOf(address account) external view returns (uint256);

    function transfer(address recipient, uint256 amount)
        external
        returns (bool);

    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    function approve(address spender, uint256 amount) external returns (bool);

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
}

pragma solidity ^0.8.0;

contract GANG is ERC404 {
    string public dataURI = "http://teddygang404.xyz/";
    string public baseTokenURI;
    string public baseExtension = ".json";
    string public preRevealURI = "https://gateway.pinata.cloud/ipfs/QmY4v4adceVcZguXRkbcqpc7wx77doRpSQ4W4TvuJjhiVy";

    bool public isRevealed = false;

    constructor() ERC404("Teddy Gang 404", "GANG", 18, 3000, msg.sender) {
        balanceOf[msg.sender] = 3000 * 10**18;
    }

    function reveal() public onlyOwner {
        isRevealed = true;
    }

    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 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        string memory currentBaseURI = dataURI;
        return
            isRevealed
                ? (
                    bytes(currentBaseURI).length > 0
                        ? string(
                            abi.encodePacked(
                                currentBaseURI,
                                Strings.toString(tokenId),
                                baseExtension
                            )
                        )
                        : ""
                )
                : preRevealURI;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"uint256","name":"","type":"uint256"}],"name":"_burnedTokenIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amountOrId","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"max_mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preRevealURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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"}]

610100604052601860c09081527f687474703a2f2f746564647967616e673430342e78797a2f000000000000000060e052600e906200003f908262000287565b50604080518082019091526005815264173539b7b760d91b60208201526010906200006b908262000287565b506040518060800160405280605081526020016200234f6050913960119062000095908262000287565b506012805460ff19169055348015620000ad57600080fd5b50604080518082018252600e81526d151959191e4811d85b99c80d0c0d60921b6020808301919091528251808401909352600483526347414e4760e01b90830152906012610bb833808062000115576040516349e27cff60e01b815260040160405180910390fd5b600080546001600160a01b0319166001600160a01b03831690811782556040519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060016200016c868262000287565b506005829055600262000180858262000287565b5060ff831660808190526200019790600a62000468565b620001a3908362000480565b60a0525050336000908152600d60209081526040808320805460ff191660011790556006909152902068a2a15d09519be000009055506200049a915050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200020d57607f821691505b6020821081036200022e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200028257600081815260208120601f850160051c810160208610156200025d5750805b601f850160051c820191505b818110156200027e5782815560010162000269565b5050505b505050565b81516001600160401b03811115620002a357620002a3620001e2565b620002bb81620002b48454620001f8565b8462000234565b602080601f831160018114620002f35760008415620002da5750858301515b600019600386901b1c1916600185901b1785556200027e565b600085815260208120601f198616915b82811015620003245788860151825594840194600190910190840162000303565b5085821015620003435787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620003aa5781600019048211156200038e576200038e62000353565b808516156200039c57918102915b93841c93908002906200036e565b509250929050565b600082620003c35750600162000462565b81620003d25750600062000462565b8160018114620003eb5760028114620003f65762000416565b600191505062000462565b60ff8411156200040a576200040a62000353565b50506001821b62000462565b5060208310610133831016604e8410600b84101617156200043b575081810a62000462565b62000447838362000369565b80600019048211156200045e576200045e62000353565b0290505b92915050565b60006200047960ff841683620003b2565b9392505050565b808202811582820484141762000462576200046262000353565b60805160a051611e88620004c760003960006102870152600081816102ec01526110c90152611e886000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c806379b6ed361161011a578063c6682862116100ad578063dd62ed3e1161007c578063dd62ed3e14610468578063e0df5b6f14610493578063e985e9c5146104a6578063f28ca1dd146104d4578063f2fde38b146104dc57600080fd5b8063c66828621461043c578063c87b56dd14610444578063d547cfb714610457578063d7c64e7f1461045f57600080fd5b8063a22cb465116100e9578063a22cb465146103fb578063a475b5dd1461040e578063a9059cbb14610416578063b88d4fde1461042957600080fd5b806379b6ed36146103b55780638da5cb5b146103bd57806395d89b41146103d05780639b19251a146103d857600080fd5b806342842e0e1161019257806354214f691161016157806354214f691461036257806356bb8cb61461036f5780636352211e1461038257806370a082311461039557600080fd5b806342842e0e146103205780634f02c42014610333578063504334c21461033c57806353d6fd591461034f57600080fd5b806318d217c3116101ce57806318d217c3146102b757806323b872dd146102cc5780632b968958146102df578063313ce567146102e757600080fd5b806306fdde0314610200578063081812fc1461021e578063095ea7b31461025f57806318160ddd14610282575b600080fd5b6102086104ef565b6040516102159190611737565b60405180910390f35b61024761022c36600461176a565b6008602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610215565b61027261026d36600461179a565b61057d565b6040519015158152602001610215565b6102a97f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610215565b6102ca6102c5366004611867565b6106ce565b005b6102ca6102da3660046118a4565b610708565b6102ca610a91565b61030e7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610215565b6102ca61032e3660046118a4565b610af7565b6102a960045481565b6102ca61034a3660046118e0565b610bcc565b6102ca61035d366004611944565b610c00565b6012546102729060ff1681565b6102a961037d36600461176a565b610c55565b61024761039036600461176a565b610c76565b6102a96103a3366004611980565b60066020526000908152604090205481565b610208610cb1565b600054610247906001600160a01b031681565b610208610cbe565b6102726103e6366004611980565b600d6020526000908152604090205460ff1681565b6102ca610409366004611944565b610ccb565b6102ca610d37565b61027261042436600461179a565b610d70565b6102ca61043736600461199b565b610d84565b610208610e47565b61020861045236600461176a565b610e54565b610208610fd6565b6102a960055481565b6102a9610476366004611a36565b600760209081526000928352604080842090915290825290205481565b6102ca6104a1366004611867565b610fe3565b6102726104b4366004611a36565b600960209081526000928352604080842090915290825290205460ff1681565b610208611019565b6102ca6104ea366004611980565b611026565b600180546104fc90611a69565b80601f016020809104026020016040519081016040528092919081815260200182805461052890611a69565b80156105755780601f1061054a57610100808354040283529160200191610575565b820191906000526020600020905b81548152906001019060200180831161055857829003601f168201915b505050505081565b600060045482111580156105915750600082115b15610668576000828152600a60205260409020546001600160a01b03163381148015906105e257506001600160a01b038116600090815260096020908152604080832033845290915290205460ff16155b156105ff576040516282b42960e81b815260040160405180910390fd5b60008381526008602090815260409182902080546001600160a01b0319166001600160a01b038881169182179092559251868152908416917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3506106c4565b3360008181526007602090815260408083206001600160a01b03881680855290835292819020869055518581529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35b5060015b92915050565b6000546001600160a01b031633146106f8576040516282b42960e81b815260040160405180910390fd5b600e6107048282611af1565b5050565b6004548111610a22576000818152600a60205260409020546001600160a01b0384811691161461074b57604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b03821661077257604051634e46966960e11b815260040160405180910390fd5b336001600160a01b038416148015906107af57506001600160a01b038316600090815260096020908152604080832033845290915290205460ff16155b80156107d257506000818152600860205260409020546001600160a01b03163314155b156107ef576040516282b42960e81b815260040160405180910390fd5b6107f76110c2565b6001600160a01b0384166000908152600660205260408120805490919061081f908490611bc7565b9091555061082d90506110c2565b6001600160a01b0380841660008181526006602090815260408083208054909601909555858252600a815284822080546001600160a01b031990811690941790556008815284822080549093169092559186168252600b9052908120805461089790600190611bc7565b815481106108a7576108a7611bda565b60009182526020808320909101546001600160a01b0387168352600b82526040808420868552600c909352909220548154929350839281106108eb576108eb611bda565b60009182526020808320909101929092556001600160a01b0386168152600b9091526040902080548061092057610920611bf0565b600082815260208082208301600019908101839055909201909255838252600c8152604080832054848452818420556001600160a01b038616808452600b835290832080546001818101835582865293852001869055925290546109849190611bc7565b6000838152600c602052604080822092909255905183916001600160a01b0380871692908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4826001600160a01b0316846001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487610a0b6110c2565b60405190815260200160405180910390a350505050565b6001600160a01b03831660009081526007602090815260408083203384529091529020546000198114610a7e57610a598282611bc7565b6001600160a01b03851660009081526007602090815260408083203384529091529020555b610a898484846110f4565b50505b505050565b6000546001600160a01b03163314610abb576040516282b42960e81b815260040160405180910390fd5b600080546001600160a01b031916815560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3565b610b02838383610708565b6001600160a01b0382163b15801590610bae5750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610b7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba19190611c06565b6001600160e01b03191614155b15610a8c57604051633da6393160e01b815260040160405180910390fd5b6000546001600160a01b03163314610bf6576040516282b42960e81b815260040160405180910390fd5b61070482826112b6565b6000546001600160a01b03163314610c2a576040516282b42960e81b815260040160405180910390fd5b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b60038181548110610c6557600080fd5b600091825260209091200154905081565b6000818152600a60205260409020546001600160a01b031680610cac5760405163c5723b5160e01b815260040160405180910390fd5b919050565b601180546104fc90611a69565b600280546104fc90611a69565b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b03163314610d61576040516282b42960e81b815260040160405180910390fd5b6012805460ff19166001179055565b6000610d7d3384846110f4565b9392505050565b610d8f858585610708565b6001600160a01b0384163b15801590610e295750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610dd99033908a90899089908990600401611c30565b6020604051808303816000875af1158015610df8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1c9190611c06565b6001600160e01b03191614155b15610a8957604051633da6393160e01b815260040160405180910390fd5b601080546104fc90611a69565b60606000600e8054610e6590611a69565b80601f0160208091040260200160405190810160405280929190818152602001828054610e9190611a69565b8015610ede5780601f10610eb357610100808354040283529160200191610ede565b820191906000526020600020905b815481529060010190602001808311610ec157829003601f168201915b50506012549394505060ff9092169150610f8490505760118054610f0190611a69565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2d90611a69565b8015610f7a5780601f10610f4f57610100808354040283529160200191610f7a565b820191906000526020600020905b815481529060010190602001808311610f5d57829003601f168201915b5050505050610d7d565b6000815111610fa25760405180602001604052806000815250610d7d565b80610fac846112cf565b6010604051602001610fc093929190611c84565b6040516020818303038152906040529392505050565b600f80546104fc90611a69565b6000546001600160a01b0316331461100d576040516282b42960e81b815260040160405180910390fd5b600f6107048282611af1565b600e80546104fc90611a69565b6000546001600160a01b03163314611050576040516282b42960e81b815260040160405180910390fd5b6001600160a01b038116611077576040516349e27cff60e01b815260040160405180910390fd5b600080546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b60006110ef7f0000000000000000000000000000000000000000000000000000000000000000600a611e08565b905090565b6000806110ff6110c2565b6001600160a01b038087166000818152600660205260408082208054948a168352908220549282529394509192909186919061113b8386611bc7565b90915550506001600160a01b03808716600090815260066020908152604080832080548a019055928a168252600d9052205460ff166111d7576001600160a01b038716600090815260066020526040812054611198908590611e17565b6111a28585611e17565b6111ac9190611bc7565b905060005b818110156111d4576111c289611362565b806111cc81611e39565b9150506111b1565b50505b6001600160a01b0386166000908152600d602052604090205460ff1661125c5760006112038483611e17565b6001600160a01b038816600090815260066020526040902054611227908690611e17565b6112319190611bc7565b905060005b8181101561125957611247886114bc565b8061125181611e39565b915050611236565b50505b856001600160a01b0316876001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487876040516112a191815260200190565b60405180910390a35060019695505050505050565b60016112c28382611af1565b506002610a8c8282611af1565b606060006112dc8361163b565b600101905060008167ffffffffffffffff8111156112fc576112fc6117c4565b6040519080825280601f01601f191660200182016040528015611326576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461133057509392505050565b6001600160a01b03811661138957604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0381166000908152600b6020526040812080546113af90600190611bc7565b815481106113bf576113bf611bda565b90600052602060002001549050600b6000836001600160a01b03166001600160a01b0316815260200190815260200160002080548061140057611400611bf0565b600082815260208082208301600019908101839055909201909255828252600c81526040808320839055600a825280832080546001600160a01b031990811690915560089092528083208054909216909155600380546001810182559083527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b01839055518291906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b0381166114e357604051634e46966960e11b815260040160405180910390fd5b600480546001019081905560055481118015611500575060035415155b156115625760035460009061151790600190611bc7565b90506003818154811061152c5761152c611bda565b90600052602060002001549150600380548061154a5761154a611bf0565b60019003818190600052602060002001600090559055505b6000818152600a60205260409020546001600160a01b0316156115985760405163119b4fd360e11b815260040160405180910390fd5b6000818152600a6020908152604080832080546001600160a01b0319166001600160a01b038716908117909155808452600b835290832080546001818101835582865293852001859055925290546115f09190611bc7565b6000828152600c602052604080822092909255905182916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061167a5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106116a6576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106116c457662386f26fc10000830492506010015b6305f5e10083106116dc576305f5e100830492506008015b61271083106116f057612710830492506004015b60648310611702576064830492506002015b600a83106106c85760010192915050565b60005b8381101561172e578181015183820152602001611716565b50506000910152565b6020815260008251806020840152611756816040850160208701611713565b601f01601f19169190910160400192915050565b60006020828403121561177c57600080fd5b5035919050565b80356001600160a01b0381168114610cac57600080fd5b600080604083850312156117ad57600080fd5b6117b683611783565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126117eb57600080fd5b813567ffffffffffffffff80821115611806576118066117c4565b604051601f8301601f19908116603f0116810190828211818310171561182e5761182e6117c4565b8160405283815286602085880101111561184757600080fd5b836020870160208301376000602085830101528094505050505092915050565b60006020828403121561187957600080fd5b813567ffffffffffffffff81111561189057600080fd5b61189c848285016117da565b949350505050565b6000806000606084860312156118b957600080fd5b6118c284611783565b92506118d060208501611783565b9150604084013590509250925092565b600080604083850312156118f357600080fd5b823567ffffffffffffffff8082111561190b57600080fd5b611917868387016117da565b9350602085013591508082111561192d57600080fd5b5061193a858286016117da565b9150509250929050565b6000806040838503121561195757600080fd5b61196083611783565b91506020830135801515811461197557600080fd5b809150509250929050565b60006020828403121561199257600080fd5b610d7d82611783565b6000806000806000608086880312156119b357600080fd5b6119bc86611783565b94506119ca60208701611783565b935060408601359250606086013567ffffffffffffffff808211156119ee57600080fd5b818801915088601f830112611a0257600080fd5b813581811115611a1157600080fd5b896020828501011115611a2357600080fd5b9699959850939650602001949392505050565b60008060408385031215611a4957600080fd5b611a5283611783565b9150611a6060208401611783565b90509250929050565b600181811c90821680611a7d57607f821691505b602082108103611a9d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610a8c57600081815260208120601f850160051c81016020861015611aca5750805b601f850160051c820191505b81811015611ae957828155600101611ad6565b505050505050565b815167ffffffffffffffff811115611b0b57611b0b6117c4565b611b1f81611b198454611a69565b84611aa3565b602080601f831160018114611b545760008415611b3c5750858301515b600019600386901b1c1916600185901b178555611ae9565b600085815260208120601f198616915b82811015611b8357888601518255948401946001909101908401611b64565b5085821015611ba15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b818103818111156106c8576106c8611bb1565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b600060208284031215611c1857600080fd5b81516001600160e01b031981168114610d7d57600080fd5b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b600084516020611c978285838a01611713565b855191840191611caa8184848a01611713565b8554920191600090611cbb81611a69565b60018281168015611cd35760018114611ce857611d14565b60ff1984168752821515830287019450611d14565b896000528560002060005b84811015611d0c57815489820152908301908701611cf3565b505082870194505b50929a9950505050505050505050565b600181815b80851115611d5f578160001904821115611d4557611d45611bb1565b80851615611d5257918102915b93841c9390800290611d29565b509250929050565b600082611d76575060016106c8565b81611d83575060006106c8565b8160018114611d995760028114611da357611dbf565b60019150506106c8565b60ff841115611db457611db4611bb1565b50506001821b6106c8565b5060208310610133831016604e8410600b8410161715611de2575081810a6106c8565b611dec8383611d24565b8060001904821115611e0057611e00611bb1565b029392505050565b6000610d7d60ff841683611d67565b600082611e3457634e487b7160e01b600052601260045260246000fd5b500490565b600060018201611e4b57611e4b611bb1565b506001019056fea2646970667358221220b4efc4ef54e606ad7459142a7d05d35afdf624a50bfeb3554b3fb3984c8ea14064736f6c6343000814003368747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d593476346164636556635a677558526b62637170633777783737646f527053513457345476754a6a68695679

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c806379b6ed361161011a578063c6682862116100ad578063dd62ed3e1161007c578063dd62ed3e14610468578063e0df5b6f14610493578063e985e9c5146104a6578063f28ca1dd146104d4578063f2fde38b146104dc57600080fd5b8063c66828621461043c578063c87b56dd14610444578063d547cfb714610457578063d7c64e7f1461045f57600080fd5b8063a22cb465116100e9578063a22cb465146103fb578063a475b5dd1461040e578063a9059cbb14610416578063b88d4fde1461042957600080fd5b806379b6ed36146103b55780638da5cb5b146103bd57806395d89b41146103d05780639b19251a146103d857600080fd5b806342842e0e1161019257806354214f691161016157806354214f691461036257806356bb8cb61461036f5780636352211e1461038257806370a082311461039557600080fd5b806342842e0e146103205780634f02c42014610333578063504334c21461033c57806353d6fd591461034f57600080fd5b806318d217c3116101ce57806318d217c3146102b757806323b872dd146102cc5780632b968958146102df578063313ce567146102e757600080fd5b806306fdde0314610200578063081812fc1461021e578063095ea7b31461025f57806318160ddd14610282575b600080fd5b6102086104ef565b6040516102159190611737565b60405180910390f35b61024761022c36600461176a565b6008602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610215565b61027261026d36600461179a565b61057d565b6040519015158152602001610215565b6102a97f0000000000000000000000000000000000000000000000a2a15d09519be0000081565b604051908152602001610215565b6102ca6102c5366004611867565b6106ce565b005b6102ca6102da3660046118a4565b610708565b6102ca610a91565b61030e7f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff9091168152602001610215565b6102ca61032e3660046118a4565b610af7565b6102a960045481565b6102ca61034a3660046118e0565b610bcc565b6102ca61035d366004611944565b610c00565b6012546102729060ff1681565b6102a961037d36600461176a565b610c55565b61024761039036600461176a565b610c76565b6102a96103a3366004611980565b60066020526000908152604090205481565b610208610cb1565b600054610247906001600160a01b031681565b610208610cbe565b6102726103e6366004611980565b600d6020526000908152604090205460ff1681565b6102ca610409366004611944565b610ccb565b6102ca610d37565b61027261042436600461179a565b610d70565b6102ca61043736600461199b565b610d84565b610208610e47565b61020861045236600461176a565b610e54565b610208610fd6565b6102a960055481565b6102a9610476366004611a36565b600760209081526000928352604080842090915290825290205481565b6102ca6104a1366004611867565b610fe3565b6102726104b4366004611a36565b600960209081526000928352604080842090915290825290205460ff1681565b610208611019565b6102ca6104ea366004611980565b611026565b600180546104fc90611a69565b80601f016020809104026020016040519081016040528092919081815260200182805461052890611a69565b80156105755780601f1061054a57610100808354040283529160200191610575565b820191906000526020600020905b81548152906001019060200180831161055857829003601f168201915b505050505081565b600060045482111580156105915750600082115b15610668576000828152600a60205260409020546001600160a01b03163381148015906105e257506001600160a01b038116600090815260096020908152604080832033845290915290205460ff16155b156105ff576040516282b42960e81b815260040160405180910390fd5b60008381526008602090815260409182902080546001600160a01b0319166001600160a01b038881169182179092559251868152908416917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3506106c4565b3360008181526007602090815260408083206001600160a01b03881680855290835292819020869055518581529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35b5060015b92915050565b6000546001600160a01b031633146106f8576040516282b42960e81b815260040160405180910390fd5b600e6107048282611af1565b5050565b6004548111610a22576000818152600a60205260409020546001600160a01b0384811691161461074b57604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b03821661077257604051634e46966960e11b815260040160405180910390fd5b336001600160a01b038416148015906107af57506001600160a01b038316600090815260096020908152604080832033845290915290205460ff16155b80156107d257506000818152600860205260409020546001600160a01b03163314155b156107ef576040516282b42960e81b815260040160405180910390fd5b6107f76110c2565b6001600160a01b0384166000908152600660205260408120805490919061081f908490611bc7565b9091555061082d90506110c2565b6001600160a01b0380841660008181526006602090815260408083208054909601909555858252600a815284822080546001600160a01b031990811690941790556008815284822080549093169092559186168252600b9052908120805461089790600190611bc7565b815481106108a7576108a7611bda565b60009182526020808320909101546001600160a01b0387168352600b82526040808420868552600c909352909220548154929350839281106108eb576108eb611bda565b60009182526020808320909101929092556001600160a01b0386168152600b9091526040902080548061092057610920611bf0565b600082815260208082208301600019908101839055909201909255838252600c8152604080832054848452818420556001600160a01b038616808452600b835290832080546001818101835582865293852001869055925290546109849190611bc7565b6000838152600c602052604080822092909255905183916001600160a01b0380871692908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4826001600160a01b0316846001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487610a0b6110c2565b60405190815260200160405180910390a350505050565b6001600160a01b03831660009081526007602090815260408083203384529091529020546000198114610a7e57610a598282611bc7565b6001600160a01b03851660009081526007602090815260408083203384529091529020555b610a898484846110f4565b50505b505050565b6000546001600160a01b03163314610abb576040516282b42960e81b815260040160405180910390fd5b600080546001600160a01b031916815560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3565b610b02838383610708565b6001600160a01b0382163b15801590610bae5750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610b7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba19190611c06565b6001600160e01b03191614155b15610a8c57604051633da6393160e01b815260040160405180910390fd5b6000546001600160a01b03163314610bf6576040516282b42960e81b815260040160405180910390fd5b61070482826112b6565b6000546001600160a01b03163314610c2a576040516282b42960e81b815260040160405180910390fd5b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b60038181548110610c6557600080fd5b600091825260209091200154905081565b6000818152600a60205260409020546001600160a01b031680610cac5760405163c5723b5160e01b815260040160405180910390fd5b919050565b601180546104fc90611a69565b600280546104fc90611a69565b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b03163314610d61576040516282b42960e81b815260040160405180910390fd5b6012805460ff19166001179055565b6000610d7d3384846110f4565b9392505050565b610d8f858585610708565b6001600160a01b0384163b15801590610e295750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610dd99033908a90899089908990600401611c30565b6020604051808303816000875af1158015610df8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1c9190611c06565b6001600160e01b03191614155b15610a8957604051633da6393160e01b815260040160405180910390fd5b601080546104fc90611a69565b60606000600e8054610e6590611a69565b80601f0160208091040260200160405190810160405280929190818152602001828054610e9190611a69565b8015610ede5780601f10610eb357610100808354040283529160200191610ede565b820191906000526020600020905b815481529060010190602001808311610ec157829003601f168201915b50506012549394505060ff9092169150610f8490505760118054610f0190611a69565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2d90611a69565b8015610f7a5780601f10610f4f57610100808354040283529160200191610f7a565b820191906000526020600020905b815481529060010190602001808311610f5d57829003601f168201915b5050505050610d7d565b6000815111610fa25760405180602001604052806000815250610d7d565b80610fac846112cf565b6010604051602001610fc093929190611c84565b6040516020818303038152906040529392505050565b600f80546104fc90611a69565b6000546001600160a01b0316331461100d576040516282b42960e81b815260040160405180910390fd5b600f6107048282611af1565b600e80546104fc90611a69565b6000546001600160a01b03163314611050576040516282b42960e81b815260040160405180910390fd5b6001600160a01b038116611077576040516349e27cff60e01b815260040160405180910390fd5b600080546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b60006110ef7f0000000000000000000000000000000000000000000000000000000000000012600a611e08565b905090565b6000806110ff6110c2565b6001600160a01b038087166000818152600660205260408082208054948a168352908220549282529394509192909186919061113b8386611bc7565b90915550506001600160a01b03808716600090815260066020908152604080832080548a019055928a168252600d9052205460ff166111d7576001600160a01b038716600090815260066020526040812054611198908590611e17565b6111a28585611e17565b6111ac9190611bc7565b905060005b818110156111d4576111c289611362565b806111cc81611e39565b9150506111b1565b50505b6001600160a01b0386166000908152600d602052604090205460ff1661125c5760006112038483611e17565b6001600160a01b038816600090815260066020526040902054611227908690611e17565b6112319190611bc7565b905060005b8181101561125957611247886114bc565b8061125181611e39565b915050611236565b50505b856001600160a01b0316876001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487876040516112a191815260200190565b60405180910390a35060019695505050505050565b60016112c28382611af1565b506002610a8c8282611af1565b606060006112dc8361163b565b600101905060008167ffffffffffffffff8111156112fc576112fc6117c4565b6040519080825280601f01601f191660200182016040528015611326576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461133057509392505050565b6001600160a01b03811661138957604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0381166000908152600b6020526040812080546113af90600190611bc7565b815481106113bf576113bf611bda565b90600052602060002001549050600b6000836001600160a01b03166001600160a01b0316815260200190815260200160002080548061140057611400611bf0565b600082815260208082208301600019908101839055909201909255828252600c81526040808320839055600a825280832080546001600160a01b031990811690915560089092528083208054909216909155600380546001810182559083527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b01839055518291906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b0381166114e357604051634e46966960e11b815260040160405180910390fd5b600480546001019081905560055481118015611500575060035415155b156115625760035460009061151790600190611bc7565b90506003818154811061152c5761152c611bda565b90600052602060002001549150600380548061154a5761154a611bf0565b60019003818190600052602060002001600090559055505b6000818152600a60205260409020546001600160a01b0316156115985760405163119b4fd360e11b815260040160405180910390fd5b6000818152600a6020908152604080832080546001600160a01b0319166001600160a01b038716908117909155808452600b835290832080546001818101835582865293852001859055925290546115f09190611bc7565b6000828152600c602052604080822092909255905182916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061167a5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106116a6576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106116c457662386f26fc10000830492506010015b6305f5e10083106116dc576305f5e100830492506008015b61271083106116f057612710830492506004015b60648310611702576064830492506002015b600a83106106c85760010192915050565b60005b8381101561172e578181015183820152602001611716565b50506000910152565b6020815260008251806020840152611756816040850160208701611713565b601f01601f19169190910160400192915050565b60006020828403121561177c57600080fd5b5035919050565b80356001600160a01b0381168114610cac57600080fd5b600080604083850312156117ad57600080fd5b6117b683611783565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126117eb57600080fd5b813567ffffffffffffffff80821115611806576118066117c4565b604051601f8301601f19908116603f0116810190828211818310171561182e5761182e6117c4565b8160405283815286602085880101111561184757600080fd5b836020870160208301376000602085830101528094505050505092915050565b60006020828403121561187957600080fd5b813567ffffffffffffffff81111561189057600080fd5b61189c848285016117da565b949350505050565b6000806000606084860312156118b957600080fd5b6118c284611783565b92506118d060208501611783565b9150604084013590509250925092565b600080604083850312156118f357600080fd5b823567ffffffffffffffff8082111561190b57600080fd5b611917868387016117da565b9350602085013591508082111561192d57600080fd5b5061193a858286016117da565b9150509250929050565b6000806040838503121561195757600080fd5b61196083611783565b91506020830135801515811461197557600080fd5b809150509250929050565b60006020828403121561199257600080fd5b610d7d82611783565b6000806000806000608086880312156119b357600080fd5b6119bc86611783565b94506119ca60208701611783565b935060408601359250606086013567ffffffffffffffff808211156119ee57600080fd5b818801915088601f830112611a0257600080fd5b813581811115611a1157600080fd5b896020828501011115611a2357600080fd5b9699959850939650602001949392505050565b60008060408385031215611a4957600080fd5b611a5283611783565b9150611a6060208401611783565b90509250929050565b600181811c90821680611a7d57607f821691505b602082108103611a9d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610a8c57600081815260208120601f850160051c81016020861015611aca5750805b601f850160051c820191505b81811015611ae957828155600101611ad6565b505050505050565b815167ffffffffffffffff811115611b0b57611b0b6117c4565b611b1f81611b198454611a69565b84611aa3565b602080601f831160018114611b545760008415611b3c5750858301515b600019600386901b1c1916600185901b178555611ae9565b600085815260208120601f198616915b82811015611b8357888601518255948401946001909101908401611b64565b5085821015611ba15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b818103818111156106c8576106c8611bb1565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b600060208284031215611c1857600080fd5b81516001600160e01b031981168114610d7d57600080fd5b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b600084516020611c978285838a01611713565b855191840191611caa8184848a01611713565b8554920191600090611cbb81611a69565b60018281168015611cd35760018114611ce857611d14565b60ff1984168752821515830287019450611d14565b896000528560002060005b84811015611d0c57815489820152908301908701611cf3565b505082870194505b50929a9950505050505050505050565b600181815b80851115611d5f578160001904821115611d4557611d45611bb1565b80851615611d5257918102915b93841c9390800290611d29565b509250929050565b600082611d76575060016106c8565b81611d83575060006106c8565b8160018114611d995760028114611da357611dbf565b60019150506106c8565b60ff841115611db457611db4611bb1565b50506001821b6106c8565b5060208310610133831016604e8410600b8410161715611de2575081810a6106c8565b611dec8383611d24565b8060001904821115611e0057611e00611bb1565b029392505050565b6000610d7d60ff841683611d67565b600082611e3457634e487b7160e01b600052601260045260246000fd5b500490565b600060018201611e4b57611e4b611bb1565b506001019056fea2646970667358221220b4efc4ef54e606ad7459142a7d05d35afdf624a50bfeb3554b3fb3984c8ea14064736f6c63430008140033

Deployed Bytecode Sourcemap

33988:1611:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23529:18;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;24439:46;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;24439:46:0;;;;;;-1:-1:-1;;;;;1019:32:1;;;1001:51;;989:2;974:18;24439:46:0;855:203:1;26347:649:0;;;;;;:::i;:::-;;:::i;:::-;;;1665:14:1;;1658:22;1640:41;;1628:2;1613:18;26347:649:0;1500:187:1;23765:36:0;;;;;;;;1838:25:1;;;1826:2;1811:18;23765:36:0;1692:177:1;34524:98:0;;;;;;:::i;:::-;;:::i;:::-;;27403:1716;;;;;;:::i;:::-;;:::i;21526:151::-;;;:::i;23665:31::-;;;;;;;;3562:4:1;3550:17;;;3532:36;;3520:2;3505:18;23665:31:0;3390:184:1;29422:405:0;;;;;;:::i;:::-;;:::i;23977:21::-;;;;;;34744:156;;;;;;:::i;:::-;;:::i;25676:111::-;;;;;;:::i;:::-;;:::i;34273:30::-;;;;;;;;;23846:32;;;;;;:::i;:::-;;:::i;25859:193::-;;;;;;:::i;:::-;;:::i;24205:44::-;;;;;;:::i;:::-;;;;;;;;;;;;;;34153:111;;;:::i;20967:20::-;;;;;-1:-1:-1;;;;;20967:20:0;;;23583;;;:::i;25050:41::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;27047:207;;;;;;:::i;:::-;;:::i;34445:71::-;;;:::i;29178:167::-;;;;;;:::i;:::-;;:::i;29922:437::-;;;;;;:::i;:::-;;:::i;34109:37::-;;;:::i;34908:688::-;;;;;;:::i;:::-;;:::i;34076:26::-;;;:::i;24097:23::-;;;;;;24319:64;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;34630:106;;;;;;:::i;:::-;;:::i;24550:68::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;34019:50;;;:::i;21299:219::-;;;;;;:::i;:::-;;:::i;23529:18::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;26347:649::-;26452:4;26492:6;;26478:10;:20;;:38;;;;;26515:1;26502:10;:14;26478:38;26474:491;;;26533:13;26549:20;;;:8;:20;;;;;;-1:-1:-1;;;;;26549:20:0;26590:10;:19;;;;;:59;;-1:-1:-1;;;;;;26614:23:0;;;;;;:16;:23;;;;;;;;26638:10;26614:35;;;;;;;;;;26613:36;26590:59;26586:121;;;26677:14;;-1:-1:-1;;;26677:14:0;;;;;;;;;;;26586:121;26723:23;;;;:11;:23;;;;;;;;;:33;;-1:-1:-1;;;;;;26723:33:0;-1:-1:-1;;;;;26723:33:0;;;;;;;;;26778:36;;1838:25:1;;;26778:36:0;;;;;;1811:18:1;26778:36:0;;;;;;;26518:308;26474:491;;;26857:10;26847:21;;;;:9;:21;;;;;;;;-1:-1:-1;;;;;26847:30:0;;;;;;;;;;;;:43;;;26912:41;1838:25:1;;;26847:30:0;;26857:10;26912:41;;1811:18:1;26912:41:0;;;;;;;26474:491;-1:-1:-1;26984:4:0;26347:649;;;;;:::o;34524:98::-;21054:5;;-1:-1:-1;;;;;21054:5:0;21040:10;:19;21036:46;;21068:14;;-1:-1:-1;;;21068:14:0;;;;;;;;;;;21036:46;34596:7:::1;:18;34606:8:::0;34596:7;:18:::1;:::i;:::-;;34524:98:::0;:::o;27403:1716::-;27549:6;;27535:10;:20;27531:1581;;27584:20;;;;:8;:20;;;;;;-1:-1:-1;;;;;27576:28:0;;;27584:20;;27576:28;27572:91;;27632:15;;-1:-1:-1;;;27632:15:0;;;;;;;;;;;27572:91;-1:-1:-1;;;;;27683:16:0;;27679:82;;27727:18;;-1:-1:-1;;;27727:18:0;;;;;;;;;;;27679:82;27799:10;-1:-1:-1;;;;;27799:18:0;;;;;;:74;;-1:-1:-1;;;;;;27839:22:0;;;;;;:16;:22;;;;;;;;27862:10;27839:34;;;;;;;;;;27838:35;27799:74;:132;;;;-1:-1:-1;27908:23:0;;;;:11;:23;;;;;;-1:-1:-1;;;;;27908:23:0;27894:10;:37;;27799:132;27777:226;;;27973:14;;-1:-1:-1;;;27973:14:0;;;;;;;;;;;27777:226;28038:10;:8;:10::i;:::-;-1:-1:-1;;;;;28019:15:0;;;;;;:9;:15;;;;;:29;;:15;;;:29;;;;;:::i;:::-;;;;-1:-1:-1;28111:10:0;;-1:-1:-1;28111:8:0;:10::i;:::-;-1:-1:-1;;;;;28094:13:0;;;;;;;:9;:13;;;;;;;;:27;;;;;;;;28153:20;;;:8;:20;;;;;:25;;-1:-1:-1;;;;;;28153:25:0;;;;;;;;28200:11;:23;;;;;28193:30;;;;;;;;28301:12;;;;;:6;:12;;;;;28314:19;;:23;;-1:-1:-1;;28314:23:0;:::i;:::-;28301:37;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;28353:12:0;;;;:6;:12;;;;;;28366:23;;;:11;:23;;;;;;;28353:37;;28301;;-1:-1:-1;28301:37:0;;28353;;;;;;:::i;:::-;;;;;;;;;;;;:49;;;;-1:-1:-1;;;;;28437:12:0;;;;:6;:12;;;;;;:18;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;28437:18:0;;;;;;;;;;;;28541:23;;;:11;:23;;;;;;;28516:22;;;;;;:48;-1:-1:-1;;;;;28618:10:0;;;;;:6;:10;;;;;:27;;28437:18;28618:27;;;;;;;;;;;;;;;28728:10;;:17;;:21;;28437:18;28728:21;:::i;:::-;28702:23;;;;:11;:23;;;;;;:47;;;;28771:30;;28714:10;;-1:-1:-1;;;;;28771:30:0;;;;;;;;;;;28841:2;-1:-1:-1;;;;;28821:35:0;28835:4;-1:-1:-1;;;;;28821:35:0;;28845:10;:8;:10::i;:::-;28821:35;;1838:25:1;;;1826:2;1811:18;28821:35:0;;;;;;;27557:1311;27403:1716;;;:::o;27531:1581::-;-1:-1:-1;;;;;28907:15:0;;28889;28907;;;:9;:15;;;;;;;;28923:10;28907:27;;;;;;;;-1:-1:-1;;28955:28:0;;28951:101;;29032:20;29042:10;29032:7;:20;:::i;:::-;-1:-1:-1;;;;;29002:15:0;;;;;;:9;:15;;;;;;;;29018:10;29002:27;;;;;;;:50;28951:101;29069:31;29079:4;29085:2;29089:10;29069:9;:31::i;:::-;;28874:238;27531:1581;27403:1716;;;:::o;21526:151::-;21054:5;;-1:-1:-1;;;;;21054:5:0;21040:10;:19;21036:46;;21068:14;;-1:-1:-1;;;21068:14:0;;;;;;;;;;;21036:46;21605:1:::1;21589:18:::0;;-1:-1:-1;;;;;;21589:18:0::1;::::0;;21625:44:::1;::::0;21646:10:::1;::::0;21625:44:::1;::::0;21605:1;;21625:44:::1;21526:151::o:0;29422:405::-;29546:26;29559:4;29565:2;29569;29546:12;:26::i;:::-;-1:-1:-1;;;;;29603:14:0;;;:19;;;;:154;;-1:-1:-1;29639:61:0;;-1:-1:-1;;;29639:61:0;;;29675:10;29639:61;;;9171:34:1;-1:-1:-1;;;;;9241:15:1;;;9221:18;;;9214:43;9273:18;;;9266:34;;;9336:3;9316:18;;;9309:31;-1:-1:-1;9356:19:1;;;9349:30;29717:40:0;;29639:35;;;;29717:40;;9396:19:1;;29639:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;29639:118:0;;;29603:154;29585:235;;;29791:17;;-1:-1:-1;;;29791:17:0;;;;;;;;;;;34744:156;21054:5;;-1:-1:-1;;;;;21054:5:0;21040:10;:19;21036:46;;21068:14;;-1:-1:-1;;;21068:14:0;;;;;;;;;;;21036:46;34862:30:::1;34877:5;34884:7;34862:14;:30::i;25676:111::-:0;21054:5;;-1:-1:-1;;;;;21054:5:0;21040:10;:19;21036:46;;21068:14;;-1:-1:-1;;;21068:14:0;;;;;;;;;;;21036:46;-1:-1:-1;;;;;25754:17:0;;;::::1;;::::0;;;:9:::1;:17;::::0;;;;:25;;-1:-1:-1;;25754:25:0::1;::::0;::::1;;::::0;;;::::1;::::0;;25676:111::o;23846:32::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23846:32:0;:::o;25859:193::-;25917:13;25951:12;;;:8;:12;;;;;;-1:-1:-1;;;;;25951:12:0;;25976:69;;26023:10;;-1:-1:-1;;;26023:10:0;;;;;;;;;;;25976:69;25859:193;;;:::o;34153:111::-;;;;;;;:::i;23583:20::-;;;;;;;:::i;27047:207::-;27150:10;27133:28;;;;:16;:28;;;;;;;;-1:-1:-1;;;;;27133:38:0;;;;;;;;;;;;:49;;-1:-1:-1;;27133:49:0;;;;;;;;;;27200:46;;1640:41:1;;;27133:38:0;;27150:10;27200:46;;1613:18:1;27200:46:0;;;;;;;27047:207;;:::o;34445:71::-;21054:5;;-1:-1:-1;;;;;21054:5:0;21040:10;:19;21036:46;;21068:14;;-1:-1:-1;;;21068:14:0;;;;;;;;;;;21036:46;34491:10:::1;:17:::0;;-1:-1:-1;;34491:17:0::1;34504:4;34491:17;::::0;;34445:71::o;29178:167::-;29275:4;29304:33;29314:10;29326:2;29330:6;29304:9;:33::i;:::-;29297:40;29178:167;-1:-1:-1;;;29178:167:0:o;29922:437::-;30076:26;30089:4;30095:2;30099;30076:12;:26::i;:::-;-1:-1:-1;;;;;30133:14:0;;;:19;;;;:156;;-1:-1:-1;30169:63:0;;-1:-1:-1;;;30169:63:0;;;30249:40;-1:-1:-1;;;;;30169:35:0;;;30249:40;;30169:63;;30205:10;;30217:4;;30223:2;;30227:4;;;;30169:63;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;30169:120:0;;;30133:156;30115:237;;;30323:17;;-1:-1:-1;;;30323:17:0;;;;;;;;;;;34109:37;;;;;;;:::i;34908:688::-;35026:13;35057:28;35088:7;35057:38;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;35126:10:0;;35057:38;;-1:-1:-1;;35126:10:0;;;;;-1:-1:-1;35126:462:0;;-1:-1:-1;35126:462:0;35576:12;35126:462;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35210:1;35185:14;35179:28;:32;:358;;;;;;;;;;;;;;;;;35327:14;35376:25;35393:7;35376:16;:25::i;:::-;35436:13;35276:204;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;35106:482;34908:688;-1:-1:-1;;;34908:688:0:o;34076:26::-;;;;;;;:::i;34630:106::-;21054:5;;-1:-1:-1;;;;;21054:5:0;21040:10;:19;21036:46;;21068:14;;-1:-1:-1;;;21068:14:0;;;;;;;;;;;21036:46;34704:12:::1;:24;34719:9:::0;34704:12;:24:::1;:::i;34019:50::-:0;;;;;;;:::i;21299:219::-;21054:5;;-1:-1:-1;;;;;21054:5:0;21040:10;:19;21036:46;;21068:14;;-1:-1:-1;;;21068:14:0;;;;;;;;;;;21036:46;-1:-1:-1;;;;;21382:20:0;::::1;21378:47;;21411:14;;-1:-1:-1::0;;;21411:14:0::1;;;;;;;;;;;21378:47;21438:5;:14:::0;;-1:-1:-1;;;;;;21438:14:0::1;-1:-1:-1::0;;;;;21438:14:0;::::1;::::0;;::::1;::::0;;21470:40:::1;::::0;21438:14;;21491:10:::1;::::0;21470:40:::1;::::0;21438:5;21470:40:::1;21299:219:::0;:::o;31559:90::-;31602:7;31629:12;31633:8;31629:2;:12;:::i;:::-;31622:19;;31559:90;:::o;30427:1093::-;30540:4;30557:12;30572:10;:8;:10::i;:::-;-1:-1:-1;;;;;30623:15:0;;;30593:27;30623:15;;;:9;:15;;;;;;;;30681:13;;;;;;;;;30707:15;;;30557:25;;-1:-1:-1;30623:15:0;;30681:13;;30726:6;;30623:15;30707:25;30726:6;30623:15;30707:25;:::i;:::-;;;;-1:-1:-1;;;;;;;30770:13:0;;;;;;;:9;:13;;;;;;;;:23;;;;;;30878:15;;;;;:9;:15;;;;;;30873:251;;-1:-1:-1;;;;;30984:15:0;;30910:22;30984:15;;;:9;:15;;;;;;:22;;31002:4;;30984:22;:::i;:::-;30936:26;30958:4;30936:19;:26;:::i;:::-;30935:72;;;;:::i;:::-;30910:97;;31027:9;31022:91;31046:14;31042:1;:18;31022:91;;;31086:11;31092:4;31086:5;:11::i;:::-;31062:3;;;;:::i;:::-;;;;31022:91;;;;30895:229;30873:251;-1:-1:-1;;;;;31200:13:0;;;;;;:9;:13;;;;;;;;31195:247;;31230:22;31298:28;31322:4;31298:21;:28;:::i;:::-;-1:-1:-1;;;;;31256:13:0;;;;;;:9;:13;;;;;;:20;;31272:4;;31256:20;:::i;:::-;31255:72;;;;:::i;:::-;31230:97;;31347:9;31342:89;31366:14;31362:1;:18;31342:89;;;31406:9;31412:2;31406:5;:9::i;:::-;31382:3;;;;:::i;:::-;;;;31342:89;;;;31215:227;31195:247;31479:2;-1:-1:-1;;;;;31459:31:0;31473:4;-1:-1:-1;;;;;31459:31:0;;31483:6;31459:31;;;;1838:25:1;;1826:2;1811:18;;1692:177;31459:31:0;;;;;;;;-1:-1:-1;31508:4:0;;30427:1093;-1:-1:-1;;;;;;30427:1093:0:o;32819:149::-;32921:4;:12;32928:5;32921:4;:12;:::i;:::-;-1:-1:-1;32944:6:0;:16;32953:7;32944:6;:16;:::i;18049:718::-;18105:13;18156:14;18173:17;18184:5;18173:10;:17::i;:::-;18193:1;18173:21;18156:38;;18209:20;18243:6;18232:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18232:18:0;-1:-1:-1;18209:41:0;-1:-1:-1;18374:28:0;;;18390:2;18374:28;18431:290;-1:-1:-1;;18463:5:0;-1:-1:-1;;;18600:2:0;18589:14;;18584:32;18463:5;18571:46;18663:2;18654:11;;;-1:-1:-1;18684:21:0;18431:290;18684:21;-1:-1:-1;18742:6:0;18049:718;-1:-1:-1;;;18049:718:0:o;32359:452::-;-1:-1:-1;;;;;32420:18:0;;32416:73;;32462:15;;-1:-1:-1;;;32462:15:0;;;;;;;;;;;32416:73;-1:-1:-1;;;;;32514:12:0;;32501:10;32514:12;;;:6;:12;;;;;32527:19;;:23;;32549:1;;32527:23;:::i;:::-;32514:37;;;;;;;;:::i;:::-;;;;;;;;;32501:50;;32562:6;:12;32569:4;-1:-1:-1;;;;;32562:12:0;-1:-1:-1;;;;;32562:12:0;;;;;;;;;;;;:18;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;32562:18:0;;;;;;;;;;;;32598:15;;;:11;:15;;;;;;32591:22;;;32631:8;:12;;;;;32624:19;;-1:-1:-1;;;;;;32624:19:0;;;;;;32661:11;:15;;;;;;32654:22;;;;;;;;32731:15;:24;;32562:18;32731:24;;;;;;;;;;;;32773:30;32610:2;;32562:18;-1:-1:-1;;;;;32773:30:0;;;;;32562:18;;32773:30;32405:406;32359:452;:::o;31657:694::-;-1:-1:-1;;;;;31716:16:0;;31712:74;;31756:18;;-1:-1:-1;;;31756:18:0;;;;;;;;;;;31712:74;31823:6;:8;;;;;;;;31900;;31891:17;;:47;;;;-1:-1:-1;31912:15:0;:22;:26;;31891:47;31887:208;;;31975:15;:22;31955:17;;31975:26;;32000:1;;31975:26;:::i;:::-;31955:46;;32021:15;32037:9;32021:26;;;;;;;;:::i;:::-;;;;;;;;;32016:31;;32062:15;:21;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;31940:155;31887:208;32135:1;32111:12;;;:8;:12;;;;;;-1:-1:-1;;;;;32111:12:0;:26;32107:81;;32161:15;;-1:-1:-1;;;32161:15:0;;;;;;;;;;;32107:81;32200:12;;;;:8;:12;;;;;;;;:17;;-1:-1:-1;;;;;;32200:17:0;-1:-1:-1;;;;;32200:17:0;;;;;;;;32228:10;;;:6;:10;;;;;:19;;-1:-1:-1;32228:19:0;;;;;;;;;;;;;;;32276:10;;:17;;:21;;-1:-1:-1;32276:21:0;:::i;:::-;32258:15;;;;:11;:15;;;;;;:39;;;;32315:28;;32270:2;;-1:-1:-1;;;;;32315:28:0;;;;;32258:15;;32315:28;31701:650;31657:694;:::o;13043:922::-;13096:7;;-1:-1:-1;;;13174:15:0;;13170:102;;-1:-1:-1;;;13210:15:0;;;-1:-1:-1;13254:2:0;13244:12;13170:102;13299:6;13290:5;:15;13286:102;;13335:6;13326:15;;;-1:-1:-1;13370:2:0;13360:12;13286:102;13415:6;13406:5;:15;13402:102;;13451:6;13442:15;;;-1:-1:-1;13486:2:0;13476:12;13402:102;13531:5;13522;:14;13518:99;;13566:5;13557:14;;;-1:-1:-1;13600:1:0;13590:11;13518:99;13644:5;13635;:14;13631:99;;13679:5;13670:14;;;-1:-1:-1;13713:1:0;13703:11;13631:99;13757:5;13748;:14;13744:99;;13792:5;13783:14;;;-1:-1:-1;13826:1:0;13816:11;13744:99;13870:5;13861;:14;13857:66;;13906:1;13896:11;13951:6;13043:922;-1:-1:-1;;13043:922: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:545::-;6361:2;6356:3;6353:11;6350:448;;;6397:1;6422:5;6418:2;6411:17;6467:4;6463:2;6453:19;6537:2;6525:10;6521:19;6518:1;6514:27;6508:4;6504:38;6573:4;6561:10;6558:20;6555:47;;;-1:-1:-1;6596:4:1;6555:47;6651:2;6646:3;6642:12;6639:1;6635:20;6629:4;6625:31;6615:41;;6706:82;6724:2;6717:5;6714:13;6706:82;;;6769:17;;;6750:1;6739:13;6706:82;;;6710:3;;;6259:545;;;:::o;6980:1352::-;7106:3;7100:10;7133:18;7125:6;7122:30;7119:56;;;7155:18;;:::i;:::-;7184:97;7274:6;7234:38;7266:4;7260:11;7234:38;:::i;:::-;7228:4;7184:97;:::i;:::-;7336:4;;7400:2;7389:14;;7417:1;7412:663;;;;8119:1;8136:6;8133:89;;;-1:-1:-1;8188:19:1;;;8182:26;8133:89;-1:-1:-1;;6937:1:1;6933:11;;;6929:24;6925:29;6915:40;6961:1;6957:11;;;6912:57;8235:81;;7382:944;;7412:663;6206:1;6199:14;;;6243:4;6230:18;;-1:-1:-1;;7448:20:1;;;7566:236;7580:7;7577:1;7574:14;7566:236;;;7669:19;;;7663:26;7648:42;;7761:27;;;;7729:1;7717:14;;;;7596:19;;7566:236;;;7570:3;7830:6;7821:7;7818:19;7815:201;;;7891:19;;;7885:26;-1:-1:-1;;7974:1:1;7970:14;;;7986:3;7966:24;7962:37;7958:42;7943:58;7928:74;;7815:201;-1:-1:-1;;;;;8062:1:1;8046:14;;;8042:22;8029:36;;-1:-1:-1;6980:1352:1:o;8337:127::-;8398:10;8393:3;8389:20;8386:1;8379:31;8429:4;8426:1;8419:15;8453:4;8450:1;8443:15;8469:128;8536:9;;;8557:11;;;8554:37;;;8571:18;;:::i;8602:127::-;8663:10;8658:3;8654:20;8651:1;8644:31;8694:4;8691:1;8684:15;8718:4;8715:1;8708:15;8734:127;8795:10;8790:3;8786:20;8783:1;8776:31;8826:4;8823:1;8816:15;8850:4;8847:1;8840:15;9426:290;9495:6;9548:2;9536:9;9527:7;9523:23;9519:32;9516:52;;;9564:1;9561;9554:12;9516:52;9590:16;;-1:-1:-1;;;;;;9635:32:1;;9625:43;;9615:71;;9682:1;9679;9672:12;9721:662;-1:-1:-1;;;;;10000:15:1;;;9982:34;;10052:15;;10047:2;10032:18;;10025:43;10099:2;10084:18;;10077:34;;;10147:3;10142:2;10127:18;;10120:31;;;10167:19;;10160:35;;;9925:4;10188:6;10238;9962:3;10217:19;;10204:49;10303:1;10297:3;10288:6;10277:9;10273:22;10269:32;10262:43;10373:3;10366:2;10362:7;10357:2;10349:6;10345:15;10341:29;10330:9;10326:45;10322:55;10314:63;;9721:662;;;;;;;;:::o;10388:1256::-;10612:3;10650:6;10644:13;10676:4;10689:64;10746:6;10741:3;10736:2;10728:6;10724:15;10689:64;:::i;:::-;10816:13;;10775:16;;;;10838:68;10816:13;10775:16;10873:15;;;10838:68;:::i;:::-;10995:13;;10928:20;;;10968:1;;11033:36;10995:13;11033:36;:::i;:::-;11088:1;11105:18;;;11132:141;;;;11287:1;11282:337;;;;11098:521;;11132:141;-1:-1:-1;;11167:24:1;;11153:39;;11244:16;;11237:24;11223:39;;11212:51;;;-1:-1:-1;11132:141:1;;11282:337;11313:6;11310:1;11303:17;11361:2;11358:1;11348:16;11386:1;11400:169;11414:8;11411:1;11408:15;11400:169;;;11496:14;;11481:13;;;11474:37;11539:16;;;;11431:10;;11400:169;;;11404:3;;11600:8;11593:5;11589:20;11582:27;;11098:521;-1:-1:-1;11635:3:1;;10388:1256;-1:-1:-1;;;;;;;;;;10388:1256:1:o;11649:422::-;11738:1;11781:5;11738:1;11795:270;11816:7;11806:8;11803:21;11795:270;;;11875:4;11871:1;11867:6;11863:17;11857:4;11854:27;11851:53;;;11884:18;;:::i;:::-;11934:7;11924:8;11920:22;11917:55;;;11954:16;;;;11917:55;12033:22;;;;11993:15;;;;11795:270;;;11799:3;11649:422;;;;;:::o;12076:806::-;12125:5;12155:8;12145:80;;-1:-1:-1;12196:1:1;12210:5;;12145:80;12244:4;12234:76;;-1:-1:-1;12281:1:1;12295:5;;12234:76;12326:4;12344:1;12339:59;;;;12412:1;12407:130;;;;12319:218;;12339:59;12369:1;12360:10;;12383:5;;;12407:130;12444:3;12434:8;12431:17;12428:43;;;12451:18;;:::i;:::-;-1:-1:-1;;12507:1:1;12493:16;;12522:5;;12319:218;;12621:2;12611:8;12608:16;12602:3;12596:4;12593:13;12589:36;12583:2;12573:8;12570:16;12565:2;12559:4;12556:12;12552:35;12549:77;12546:159;;;-1:-1:-1;12658:19:1;;;12690:5;;12546:159;12737:34;12762:8;12756:4;12737:34;:::i;:::-;12807:6;12803:1;12799:6;12795:19;12786:7;12783:32;12780:58;;;12818:18;;:::i;:::-;12856:20;;12076:806;-1:-1:-1;;;12076:806:1:o;12887:140::-;12945:5;12974:47;13015:4;13005:8;13001:19;12995:4;12974:47;:::i;13164:217::-;13204:1;13230;13220:132;;13274:10;13269:3;13265:20;13262:1;13255:31;13309:4;13306:1;13299:15;13337:4;13334:1;13327:15;13220:132;-1:-1:-1;13366:9:1;;13164:217::o;13386:135::-;13425:3;13446:17;;;13443:43;;13466:18;;:::i;:::-;-1:-1:-1;13513:1:1;13502:13;;13386:135::o

Swarm Source

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