ETH Price: $3,496.45 (+2.58%)

Token

Carbon (CARBON)
 

Overview

Max Total Supply

200 CARBON

Holders

0

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0 CARBON

Value
$0.00
0xd31987036d2b8af03a2e82d1de1485dc926a6f30
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:
Carbon

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 5 : carbon.sol
//SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.8.20;

import "./ERC404/ERC404.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

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

    constructor(
        address _owner
    ) ERC404("Carbon", "CARBON", 18, 200, _owner) {
        balanceOf[_owner] = 200 * 10 ** 18;
    }

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

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

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

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

            if (seed <= 100) {
                image = "entity1.gif";
                shape = "Cube";
            } else if (seed <= 160) {
                image = "entity2.gif";
                shape = "Diamond";
            } else if (seed <= 210) {
                image = "entity3.gif";
                shape = "Sphere";
            } else if (seed <= 240) {
                image = "entity4.gif";
                shape = "Triangle";
            } else if (seed <= 255) {
                image = "entity5.gif";
                shape = "Torus";
            }

            string memory jsonPreImage = string.concat(
                string.concat(
                    string.concat('{"name": "Carbon #', Strings.toString(id)),
                    '","description":"A convergence of 10,000 entities enabled by ERC404, a pioneering token standard, revolutionizing digital collectibility.","external_url":"https://carboneth.net","image":"'
                ),
                string.concat(dataURI, image)
            );
            string memory jsonPostImage = string.concat(
                '","attributes":[{"trait_type":"Shape","value":"',
                shape
            );
            string memory jsonPostTraits = '"}]}';

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

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

pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.20;

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

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

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

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

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

pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

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

File 5 of 5 : ERC404.sol
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

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

    error Unauthorized();
    error InvalidOwner();

    address public owner;

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

        _;
    }

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

        owner = _owner;

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

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

        owner = _owner;

        emit OwnershipTransferred(msg.sender, _owner);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

    /// @dev Transactions limits
    bool public applyTxLimit;
    uint256 public txLimit;
    
    /// @dev Users Buy & Sell limits
    uint256 public buyLimit;
    mapping(address => uint256) public userBuyLimit;

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

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

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

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

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

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

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

            getApproved[amountOrId] = spender;

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

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

        return true;
    }

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

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

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

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

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

            balanceOf[from] -= _getUnit();

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

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

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

            emit Transfer(from, to, amountOrId);
            emit ERC20Transfer(from, to, _getUnit());
        } else {
            uint256 allowed = allowance[from][msg.sender];

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

            _transfer(from, to, amountOrId);
        }
    }

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

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

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

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

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

    /// @notice Set true or false the transaction limit
    function startLimit() external onlyOwner{
        applyTxLimit = true;
    }

    function stopLimit() external onlyOwner{
        applyTxLimit = false;
    }

    /// @notice Configuration of the transaction limit
    function setLimit(uint256 _txLimitToSet) public onlyOwner{
        txLimit = _txLimitToSet * 10 ** decimals;
    }

    /// @notice Set the user buy limit
    function setUserBuyLimit(uint256 _buyLimit) public onlyOwner{
        buyLimit = _buyLimit * 10 ** decimals;
    }

    /// @notice Internal function for fractional transfers
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal returns (bool) {
        if(applyTxLimit && !whitelist[from]) {
            require(amount < txLimit, "Transaction limit exceed !");
        }
        if (!whitelist[to]) {
            require(userBuyLimit[to] + amount <= buyLimit, "Buy limit exceed !");
            userBuyLimit[to] += amount;
        }

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

    // Burn and mint functions
    function investSupply(uint256 supply) external onlyOwner {
        balanceOf[owner] = supply * (10 ** decimals);
        emit ERC20Transfer(address(0), owner, supply * (10 ** decimals));
    }

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

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

        unchecked {
            minted++;
        }

        uint256 id = minted;

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyExists","type":"error"},{"inputs":[],"name":"InvalidOwner","type":"error"},{"inputs":[],"name":"InvalidRecipient","type":"error"},{"inputs":[],"name":"InvalidSender","type":"error"},{"inputs":[],"name":"NotFound","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"inputs":[],"name":"UnsafeRecipient","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"ERC721Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"applyTxLimit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amountOrId","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"supply","type":"uint256"}],"name":"investSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"revokeOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_dataURI","type":"string"}],"name":"setDataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_txLimitToSet","type":"uint256"}],"name":"setLimit","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":"uint256","name":"_buyLimit","type":"uint256"}],"name":"setUserBuyLimit","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":"startLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amountOrId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"txLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userBuyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60c06040523480156200001157600080fd5b50604051620029be380380620029be833981016040819052620000349162000169565b6040518060400160405280600681526020016521b0b93137b760d11b8152506040518060400160405280600681526020016521a0a92127a760d11b815250601260c8848060006001600160a01b0316816001600160a01b031603620000ac576040516349e27cff60e01b815260040160405180910390fd5b600080546001600160a01b0319166001600160a01b03831690811782556040519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600162000103868262000240565b50600262000112858262000240565b5060ff831660808190526200012990600a62000421565b62000135908362000432565b60a0525050506001600160a01b039092166000908152600460205260409020680ad78ebc5ac62000009055506200044c9050565b6000602082840312156200017c57600080fd5b81516001600160a01b03811681146200019457600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001c657607f821691505b602082108103620001e757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200023b57600081815260208120601f850160051c81016020861015620002165750805b601f850160051c820191505b81811015620002375782815560010162000222565b5050505b505050565b81516001600160401b038111156200025c576200025c6200019b565b62000274816200026d8454620001b1565b84620001ed565b602080601f831160018114620002ac5760008415620002935750858301515b600019600386901b1c1916600185901b17855562000237565b600085815260208120601f198616915b82811015620002dd57888601518255948401946001909101908401620002bc565b5085821015620002fc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620003635781600019048211156200034757620003476200030c565b808516156200035557918102915b93841c939080029062000327565b509250929050565b6000826200037c575060016200041b565b816200038b575060006200041b565b8160018114620003a45760028114620003af57620003cf565b60019150506200041b565b60ff841115620003c357620003c36200030c565b50506001821b6200041b565b5060208310610133831016604e8410600b8410161715620003f4575081810a6200041b565b62000400838362000322565b80600019048211156200041757620004176200030c565b0290505b92915050565b60006200019460ff8416836200036b565b80820281158282048414176200041b576200041b6200030c565b60805160a0516125296200049560003960006102a801526000818161034801528181610b6101528181610c2c01528181610ca60152818161139401526114bd01526125296000f3fe608060405234801561001057600080fd5b506004361061021c5760003560e01c80636caae83211610125578063c87b56dd116100ad578063dd62ed3e1161007c578063dd62ed3e146104d0578063e0df5b6f146104fb578063e985e9c51461050e578063f28ca1dd1461053c578063f2fde38b1461054457600080fd5b8063c87b56dd14610482578063cb76985714610495578063d547cfb7146104a8578063d9cf506c146104b057600080fd5b806395d89b41116100f457806395d89b411461041e5780639b19251a14610426578063a22cb46514610449578063a9059cbb1461045c578063b88d4fde1461046f57600080fd5b80636caae832146103da57806370a08231146103e35780638adc4c73146104035780638da5cb5b1461040b57600080fd5b80632b968958116101a85780634f02c420116101775780634f02c4201461038f578063504334c21461039857806353d6fd59146103ab578063589210d9146103be5780636352211e146103c757600080fd5b80632b968958146103285780633056aa0c14610330578063313ce5671461034357806342842e0e1461037c57600080fd5b806318354352116101ef57806318354352146102d857806318d217c3146102e25780631e70b6df146102f557806323b872dd1461030257806327ea6f2b1461031557600080fd5b806306fdde0314610221578063081812fc1461023f578063095ea7b31461028057806318160ddd146102a3575b600080fd5b610229610557565b6040516102369190611bc5565b60405180910390f35b61026861024d366004611bf8565b6006602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610236565b61029361028e366004611c28565b6105e5565b6040519015158152602001610236565b6102ca7f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610236565b6102e0610736565b005b6102e06102f0366004611cf5565b61076f565b600c546102939060ff1681565b6102e0610310366004611d32565b6107a9565b6102e0610323366004611bf8565b610b32565b6102e0610b97565b6102e061033e366004611bf8565b610bfd565b61036a7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610236565b6102e061038a366004611d32565b610cea565b6102ca60035481565b6102e06103a6366004611d6e565b610dbf565b6102e06103b9366004611dd2565b610df3565b6102ca600e5481565b6102686103d5366004611bf8565b610e48565b6102ca600d5481565b6102ca6103f1366004611e0e565b60046020526000908152604090205481565b6102e0610e83565b600054610268906001600160a01b031681565b610229610eb9565b610293610434366004611e0e565b600b6020526000908152604090205460ff1681565b6102e0610457366004611dd2565b610ec6565b61029361046a366004611c28565b610f32565b6102e061047d366004611e29565b610f46565b610229610490366004611bf8565b611009565b6102e06104a3366004611bf8565b611365565b6102296113ca565b6102ca6104be366004611e0e565b600f6020526000908152604090205481565b6102ca6104de366004611ec4565b600560209081526000928352604080842090915290825290205481565b6102e0610509366004611cf5565b6113d7565b61029361051c366004611ec4565b600760209081526000928352604080842090915290825290205460ff1681565b61022961140d565b6102e0610552366004611e0e565b61141a565b6001805461056490611ef7565b80601f016020809104026020016040519081016040528092919081815260200182805461059090611ef7565b80156105dd5780601f106105b2576101008083540402835291602001916105dd565b820191906000526020600020905b8154815290600101906020018083116105c057829003601f168201915b505050505081565b600060035482111580156105f95750600082115b156106d0576000828152600860205260409020546001600160a01b031633811480159061064a57506001600160a01b038116600090815260076020908152604080832033845290915290205460ff16155b15610667576040516282b42960e81b815260040160405180910390fd5b60008381526006602090815260409182902080546001600160a01b0319166001600160a01b038881169182179092559251868152908416917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35061072c565b3360008181526005602090815260408083206001600160a01b03881680855290835292819020869055518581529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35b5060015b92915050565b6000546001600160a01b03163314610760576040516282b42960e81b815260040160405180910390fd5b600c805460ff19166001179055565b6000546001600160a01b03163314610799576040516282b42960e81b815260040160405180910390fd5b60106107a58282611f7f565b5050565b6003548111610ac3576000818152600860205260409020546001600160a01b038481169116146107ec57604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b03821661081357604051634e46966960e11b815260040160405180910390fd5b336001600160a01b0384161480159061085057506001600160a01b038316600090815260076020908152604080832033845290915290205460ff16155b801561087357506000818152600660205260409020546001600160a01b03163314155b15610890576040516282b42960e81b815260040160405180910390fd5b6108986114b6565b6001600160a01b038416600090815260046020526040812080549091906108c0908490612055565b909155506108ce90506114b6565b6001600160a01b03808416600081815260046020908152604080832080549096019095558582526008815284822080546001600160a01b03199081169094179055600681528482208054909316909255918616825260099052908120805461093890600190612055565b8154811061094857610948612068565b60009182526020808320909101546001600160a01b0387168352600982526040808420868552600a9093529092205481549293508392811061098c5761098c612068565b60009182526020808320909101929092556001600160a01b03861681526009909152604090208054806109c1576109c161207e565b600082815260208082208301600019908101839055909201909255838252600a8152604080832054848452818420556001600160a01b038616808452600983529083208054600181810183558286529385200186905592529054610a259190612055565b6000838152600a602052604080822092909255905183916001600160a01b0380871692908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4826001600160a01b0316846001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487610aac6114b6565b60405190815260200160405180910390a350505050565b6001600160a01b03831660009081526005602090815260408083203384529091529020546000198114610b1f57610afa8282612055565b6001600160a01b03851660009081526005602090815260408083203384529091529020555b610b2a8484846114e8565b50505b505050565b6000546001600160a01b03163314610b5c576040516282b42960e81b815260040160405180910390fd5b610b877f0000000000000000000000000000000000000000000000000000000000000000600a612178565b610b919082612187565b600d5550565b6000546001600160a01b03163314610bc1576040516282b42960e81b815260040160405180910390fd5b600080546001600160a01b031916815560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3565b6000546001600160a01b03163314610c27576040516282b42960e81b815260040160405180910390fd5b610c527f0000000000000000000000000000000000000000000000000000000000000000600a612178565b610c5c9082612187565b600080546001600160a01b039081168252600460205260408220929092558054909116907fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487610ccc7f0000000000000000000000000000000000000000000000000000000000000000600a612178565b610cd69085612187565b60405190815260200160405180910390a350565b610cf58383836107a9565b6001600160a01b0382163b15801590610da15750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610d70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d94919061219e565b6001600160e01b03191614155b15610b2d57604051633da6393160e01b815260040160405180910390fd5b6000546001600160a01b03163314610de9576040516282b42960e81b815260040160405180910390fd5b6107a582826117ea565b6000546001600160a01b03163314610e1d576040516282b42960e81b815260040160405180910390fd5b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b6000818152600860205260409020546001600160a01b031680610e7e5760405163c5723b5160e01b815260040160405180910390fd5b919050565b6000546001600160a01b03163314610ead576040516282b42960e81b815260040160405180910390fd5b600c805460ff19169055565b6002805461056490611ef7565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000610f3f3384846114e8565b9392505050565b610f518585856107a9565b6001600160a01b0384163b15801590610feb5750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610f9b9033908a908990899089906004016121c8565b6020604051808303816000875af1158015610fba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fde919061219e565b6001600160e01b03191614155b15610b2a57604051633da6393160e01b815260040160405180910390fd5b606060006011805461101a90611ef7565b9050111561105457601161102d83611803565b60405160200161103e92919061221c565b6040516020818303038152906040529050919050565b60008260405160200161106991815260200190565b6040516020818303038152906040528051906020012060f81c905060608060648360ff16116110dc576040518060400160405280600b81526020016a32b73a34ba3c989733b4b360a91b8152509150604051806040016040528060048152602001634375626560e01b8152509050611236565b60a08360ff1611611134576040518060400160405280600b81526020016a32b73a34ba3c991733b4b360a91b815250915060405180604001604052806007815260200166111a585b5bdb9960ca1b8152509050611236565b60d28360ff161161118b576040518060400160405280600b81526020016a32b73a34ba3c999733b4b360a91b81525091506040518060400160405280600681526020016553706865726560d01b8152509050611236565b60f08360ff16116111e4576040518060400160405280600b81526020016a32b73a34ba3c9a1733b4b360a91b815250915060405180604001604052806008815260200167547269616e676c6560c01b8152509050611236565b60ff8360ff1611611236576040518060400160405280600b81526020016a32b73a34ba3c9a9733b4b360a91b815250915060405180604001604052806005815260200164546f72757360d81b81525090505b600061124186611803565b60405160200161125191906122a3565b60408051601f198184030181529082905261126e916020016122de565b60405160208183030381529060405260108460405160200161129192919061221c565b60408051601f19818403018152908290526112af92916020016123dd565b60405160208183030381529060405290506000826040516020016112d39190612403565b60408051601f1981840301815282820182526004835263227d5d7d60e01b602084810191909152915190935061130d9185918591016123dd565b60408051601f198184030181529082905261132c9183906020016123dd565b60408051601f198184030181529082905261134991602001612460565b6040516020818303038152906040529650505050505050919050565b6000546001600160a01b0316331461138f576040516282b42960e81b815260040160405180910390fd5b6113ba7f0000000000000000000000000000000000000000000000000000000000000000600a612178565b6113c49082612187565b600e5550565b6011805461056490611ef7565b6000546001600160a01b03163314611401576040516282b42960e81b815260040160405180910390fd5b60116107a58282611f7f565b6010805461056490611ef7565b6000546001600160a01b03163314611444576040516282b42960e81b815260040160405180910390fd5b6001600160a01b03811661146b576040516349e27cff60e01b815260040160405180910390fd5b600080546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b60006114e37f0000000000000000000000000000000000000000000000000000000000000000600a612178565b905090565b600c5460009060ff16801561151657506001600160a01b0384166000908152600b602052604090205460ff16155b1561157157600d5482106115715760405162461bcd60e51b815260206004820152601a60248201527f5472616e73616374696f6e206c696d697420657863656564202100000000000060448201526064015b60405180910390fd5b6001600160a01b0383166000908152600b602052604090205460ff1661162957600e546001600160a01b0384166000908152600f60205260409020546115b89084906124a5565b11156115fb5760405162461bcd60e51b8152602060048201526012602482015271427579206c696d697420657863656564202160701b6044820152606401611568565b6001600160a01b0383166000908152600f6020526040812080548492906116239084906124a5565b90915550505b60006116336114b6565b6001600160a01b038087166000818152600460205260408082208054948a168352908220549282529394509192909186919061166f8386612055565b90915550506001600160a01b03808716600090815260046020908152604080832080548a019055928a168252600b9052205460ff1661170b576001600160a01b0387166000908152600460205260408120546116cc9085906124b8565b6116d685856124b8565b6116e09190612055565b905060005b81811015611708576116f689611896565b80611700816124da565b9150506116e5565b50505b6001600160a01b0386166000908152600b602052604090205460ff1661179057600061173784836124b8565b6001600160a01b03881660009081526004602052604090205461175b9086906124b8565b6117659190612055565b905060005b8181101561178d5761177b886119be565b80611785816124da565b91505061176a565b50505b856001600160a01b0316876001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487876040516117d591815260200190565b60405180910390a35060019695505050505050565b60016117f68382611f7f565b506002610b2d8282611f7f565b6060600061181083611ac9565b600101905060008167ffffffffffffffff81111561183057611830611c52565b6040519080825280601f01601f19166020018201604052801561185a576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461186457509392505050565b6001600160a01b0381166118bd57604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b038116600090815260096020526040812080546118e390600190612055565b815481106118f3576118f3612068565b9060005260206000200154905060096000836001600160a01b03166001600160a01b031681526020019081526020016000208054806119345761193461207e565b600082815260208082208301600019908101839055909201909255828252600a815260408083208390556008825280832080546001600160a01b031990811690915560069092528083208054909216909155518291906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b0381166119e557604051634e46966960e11b815260040160405180910390fd5b60038054600101908190556000818152600860205260409020546001600160a01b031615611a265760405163119b4fd360e11b815260040160405180910390fd5b600081815260086020908152604080832080546001600160a01b0319166001600160a01b038716908117909155808452600983529083208054600181810183558286529385200185905592529054611a7e9190612055565b6000828152600a602052604080822092909255905182916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611b085772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611b34576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611b5257662386f26fc10000830492506010015b6305f5e1008310611b6a576305f5e100830492506008015b6127108310611b7e57612710830492506004015b60648310611b90576064830492506002015b600a83106107305760010192915050565b60005b83811015611bbc578181015183820152602001611ba4565b50506000910152565b6020815260008251806020840152611be4816040850160208701611ba1565b601f01601f19169190910160400192915050565b600060208284031215611c0a57600080fd5b5035919050565b80356001600160a01b0381168114610e7e57600080fd5b60008060408385031215611c3b57600080fd5b611c4483611c11565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112611c7957600080fd5b813567ffffffffffffffff80821115611c9457611c94611c52565b604051601f8301601f19908116603f01168101908282118183101715611cbc57611cbc611c52565b81604052838152866020858801011115611cd557600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060208284031215611d0757600080fd5b813567ffffffffffffffff811115611d1e57600080fd5b611d2a84828501611c68565b949350505050565b600080600060608486031215611d4757600080fd5b611d5084611c11565b9250611d5e60208501611c11565b9150604084013590509250925092565b60008060408385031215611d8157600080fd5b823567ffffffffffffffff80821115611d9957600080fd5b611da586838701611c68565b93506020850135915080821115611dbb57600080fd5b50611dc885828601611c68565b9150509250929050565b60008060408385031215611de557600080fd5b611dee83611c11565b915060208301358015158114611e0357600080fd5b809150509250929050565b600060208284031215611e2057600080fd5b610f3f82611c11565b600080600080600060808688031215611e4157600080fd5b611e4a86611c11565b9450611e5860208701611c11565b935060408601359250606086013567ffffffffffffffff80821115611e7c57600080fd5b818801915088601f830112611e9057600080fd5b813581811115611e9f57600080fd5b896020828501011115611eb157600080fd5b9699959850939650602001949392505050565b60008060408385031215611ed757600080fd5b611ee083611c11565b9150611eee60208401611c11565b90509250929050565b600181811c90821680611f0b57607f821691505b602082108103611f2b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610b2d57600081815260208120601f850160051c81016020861015611f585750805b601f850160051c820191505b81811015611f7757828155600101611f64565b505050505050565b815167ffffffffffffffff811115611f9957611f99611c52565b611fad81611fa78454611ef7565b84611f31565b602080601f831160018114611fe25760008415611fca5750858301515b600019600386901b1c1916600185901b178555611f77565b600085815260208120601f198616915b8281101561201157888601518255948401946001909101908401611ff2565b508582101561202f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b818103818111156107305761073061203f565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b600181815b808511156120cf5781600019048211156120b5576120b561203f565b808516156120c257918102915b93841c9390800290612099565b509250929050565b6000826120e657506001610730565b816120f357506000610730565b816001811461210957600281146121135761212f565b6001915050610730565b60ff8411156121245761212461203f565b50506001821b610730565b5060208310610133831016604e8410600b8410161715612152575081810a610730565b61215c8383612094565b80600019048211156121705761217061203f565b029392505050565b6000610f3f60ff8416836120d7565b80820281158282048414176107305761073061203f565b6000602082840312156121b057600080fd5b81516001600160e01b031981168114610f3f57600080fd5b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b600080845461222a81611ef7565b60018281168015612242576001811461225757612286565b60ff1984168752821515830287019450612286565b8860005260208060002060005b8581101561227d5781548a820152908401908201612264565b50505082870194505b50505050835161229a818360208801611ba1565b01949350505050565b717b226e616d65223a2022436172626f6e202360701b815281516000906122d1816012850160208701611ba1565b9190910160120192915050565b600082516122f0818460208701611ba1565b7f222c226465736372697074696f6e223a224120636f6e76657267656e6365206f9201918252507f662031302c30303020656e74697469657320656e61626c65642062792045524360208201527f3430342c20612070696f6e656572696e6720746f6b656e207374616e6461726460408201527f2c207265766f6c7574696f6e697a696e67206469676974616c20636f6c6c656360608201527f746962696c6974792e222c2265787465726e616c5f75726c223a22687474707360808201527f3a2f2f636172626f6e6574682e6e6574222c22696d616765223a22000000000060a082015260bb01919050565b600083516123ef818460208801611ba1565b83519083019061229a818360208801611ba1565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a225381526e3430b8329116113b30b63ab2911d1160891b60208201526000825161245381602f850160208701611ba1565b91909101602f0192915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c000000000081526000825161249881601b850160208701611ba1565b91909101601b0192915050565b808201808211156107305761073061203f565b6000826124d557634e487b7160e01b600052601260045260246000fd5b500490565b6000600182016124ec576124ec61203f565b506001019056fea26469706673582212202cf28574162fe1c5076eed904dad92ec753e473315e35fe21b7e1a2cbabe644a64736f6c634300081400330000000000000000000000003cf6011455c18f39031086bede98e6f98c43845e

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061021c5760003560e01c80636caae83211610125578063c87b56dd116100ad578063dd62ed3e1161007c578063dd62ed3e146104d0578063e0df5b6f146104fb578063e985e9c51461050e578063f28ca1dd1461053c578063f2fde38b1461054457600080fd5b8063c87b56dd14610482578063cb76985714610495578063d547cfb7146104a8578063d9cf506c146104b057600080fd5b806395d89b41116100f457806395d89b411461041e5780639b19251a14610426578063a22cb46514610449578063a9059cbb1461045c578063b88d4fde1461046f57600080fd5b80636caae832146103da57806370a08231146103e35780638adc4c73146104035780638da5cb5b1461040b57600080fd5b80632b968958116101a85780634f02c420116101775780634f02c4201461038f578063504334c21461039857806353d6fd59146103ab578063589210d9146103be5780636352211e146103c757600080fd5b80632b968958146103285780633056aa0c14610330578063313ce5671461034357806342842e0e1461037c57600080fd5b806318354352116101ef57806318354352146102d857806318d217c3146102e25780631e70b6df146102f557806323b872dd1461030257806327ea6f2b1461031557600080fd5b806306fdde0314610221578063081812fc1461023f578063095ea7b31461028057806318160ddd146102a3575b600080fd5b610229610557565b6040516102369190611bc5565b60405180910390f35b61026861024d366004611bf8565b6006602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610236565b61029361028e366004611c28565b6105e5565b6040519015158152602001610236565b6102ca7f00000000000000000000000000000000000000000000000ad78ebc5ac620000081565b604051908152602001610236565b6102e0610736565b005b6102e06102f0366004611cf5565b61076f565b600c546102939060ff1681565b6102e0610310366004611d32565b6107a9565b6102e0610323366004611bf8565b610b32565b6102e0610b97565b6102e061033e366004611bf8565b610bfd565b61036a7f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff9091168152602001610236565b6102e061038a366004611d32565b610cea565b6102ca60035481565b6102e06103a6366004611d6e565b610dbf565b6102e06103b9366004611dd2565b610df3565b6102ca600e5481565b6102686103d5366004611bf8565b610e48565b6102ca600d5481565b6102ca6103f1366004611e0e565b60046020526000908152604090205481565b6102e0610e83565b600054610268906001600160a01b031681565b610229610eb9565b610293610434366004611e0e565b600b6020526000908152604090205460ff1681565b6102e0610457366004611dd2565b610ec6565b61029361046a366004611c28565b610f32565b6102e061047d366004611e29565b610f46565b610229610490366004611bf8565b611009565b6102e06104a3366004611bf8565b611365565b6102296113ca565b6102ca6104be366004611e0e565b600f6020526000908152604090205481565b6102ca6104de366004611ec4565b600560209081526000928352604080842090915290825290205481565b6102e0610509366004611cf5565b6113d7565b61029361051c366004611ec4565b600760209081526000928352604080842090915290825290205460ff1681565b61022961140d565b6102e0610552366004611e0e565b61141a565b6001805461056490611ef7565b80601f016020809104026020016040519081016040528092919081815260200182805461059090611ef7565b80156105dd5780601f106105b2576101008083540402835291602001916105dd565b820191906000526020600020905b8154815290600101906020018083116105c057829003601f168201915b505050505081565b600060035482111580156105f95750600082115b156106d0576000828152600860205260409020546001600160a01b031633811480159061064a57506001600160a01b038116600090815260076020908152604080832033845290915290205460ff16155b15610667576040516282b42960e81b815260040160405180910390fd5b60008381526006602090815260409182902080546001600160a01b0319166001600160a01b038881169182179092559251868152908416917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35061072c565b3360008181526005602090815260408083206001600160a01b03881680855290835292819020869055518581529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35b5060015b92915050565b6000546001600160a01b03163314610760576040516282b42960e81b815260040160405180910390fd5b600c805460ff19166001179055565b6000546001600160a01b03163314610799576040516282b42960e81b815260040160405180910390fd5b60106107a58282611f7f565b5050565b6003548111610ac3576000818152600860205260409020546001600160a01b038481169116146107ec57604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b03821661081357604051634e46966960e11b815260040160405180910390fd5b336001600160a01b0384161480159061085057506001600160a01b038316600090815260076020908152604080832033845290915290205460ff16155b801561087357506000818152600660205260409020546001600160a01b03163314155b15610890576040516282b42960e81b815260040160405180910390fd5b6108986114b6565b6001600160a01b038416600090815260046020526040812080549091906108c0908490612055565b909155506108ce90506114b6565b6001600160a01b03808416600081815260046020908152604080832080549096019095558582526008815284822080546001600160a01b03199081169094179055600681528482208054909316909255918616825260099052908120805461093890600190612055565b8154811061094857610948612068565b60009182526020808320909101546001600160a01b0387168352600982526040808420868552600a9093529092205481549293508392811061098c5761098c612068565b60009182526020808320909101929092556001600160a01b03861681526009909152604090208054806109c1576109c161207e565b600082815260208082208301600019908101839055909201909255838252600a8152604080832054848452818420556001600160a01b038616808452600983529083208054600181810183558286529385200186905592529054610a259190612055565b6000838152600a602052604080822092909255905183916001600160a01b0380871692908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4826001600160a01b0316846001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487610aac6114b6565b60405190815260200160405180910390a350505050565b6001600160a01b03831660009081526005602090815260408083203384529091529020546000198114610b1f57610afa8282612055565b6001600160a01b03851660009081526005602090815260408083203384529091529020555b610b2a8484846114e8565b50505b505050565b6000546001600160a01b03163314610b5c576040516282b42960e81b815260040160405180910390fd5b610b877f0000000000000000000000000000000000000000000000000000000000000012600a612178565b610b919082612187565b600d5550565b6000546001600160a01b03163314610bc1576040516282b42960e81b815260040160405180910390fd5b600080546001600160a01b031916815560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3565b6000546001600160a01b03163314610c27576040516282b42960e81b815260040160405180910390fd5b610c527f0000000000000000000000000000000000000000000000000000000000000012600a612178565b610c5c9082612187565b600080546001600160a01b039081168252600460205260408220929092558054909116907fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487610ccc7f0000000000000000000000000000000000000000000000000000000000000012600a612178565b610cd69085612187565b60405190815260200160405180910390a350565b610cf58383836107a9565b6001600160a01b0382163b15801590610da15750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610d70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d94919061219e565b6001600160e01b03191614155b15610b2d57604051633da6393160e01b815260040160405180910390fd5b6000546001600160a01b03163314610de9576040516282b42960e81b815260040160405180910390fd5b6107a582826117ea565b6000546001600160a01b03163314610e1d576040516282b42960e81b815260040160405180910390fd5b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b6000818152600860205260409020546001600160a01b031680610e7e5760405163c5723b5160e01b815260040160405180910390fd5b919050565b6000546001600160a01b03163314610ead576040516282b42960e81b815260040160405180910390fd5b600c805460ff19169055565b6002805461056490611ef7565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000610f3f3384846114e8565b9392505050565b610f518585856107a9565b6001600160a01b0384163b15801590610feb5750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610f9b9033908a908990899089906004016121c8565b6020604051808303816000875af1158015610fba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fde919061219e565b6001600160e01b03191614155b15610b2a57604051633da6393160e01b815260040160405180910390fd5b606060006011805461101a90611ef7565b9050111561105457601161102d83611803565b60405160200161103e92919061221c565b6040516020818303038152906040529050919050565b60008260405160200161106991815260200190565b6040516020818303038152906040528051906020012060f81c905060608060648360ff16116110dc576040518060400160405280600b81526020016a32b73a34ba3c989733b4b360a91b8152509150604051806040016040528060048152602001634375626560e01b8152509050611236565b60a08360ff1611611134576040518060400160405280600b81526020016a32b73a34ba3c991733b4b360a91b815250915060405180604001604052806007815260200166111a585b5bdb9960ca1b8152509050611236565b60d28360ff161161118b576040518060400160405280600b81526020016a32b73a34ba3c999733b4b360a91b81525091506040518060400160405280600681526020016553706865726560d01b8152509050611236565b60f08360ff16116111e4576040518060400160405280600b81526020016a32b73a34ba3c9a1733b4b360a91b815250915060405180604001604052806008815260200167547269616e676c6560c01b8152509050611236565b60ff8360ff1611611236576040518060400160405280600b81526020016a32b73a34ba3c9a9733b4b360a91b815250915060405180604001604052806005815260200164546f72757360d81b81525090505b600061124186611803565b60405160200161125191906122a3565b60408051601f198184030181529082905261126e916020016122de565b60405160208183030381529060405260108460405160200161129192919061221c565b60408051601f19818403018152908290526112af92916020016123dd565b60405160208183030381529060405290506000826040516020016112d39190612403565b60408051601f1981840301815282820182526004835263227d5d7d60e01b602084810191909152915190935061130d9185918591016123dd565b60408051601f198184030181529082905261132c9183906020016123dd565b60408051601f198184030181529082905261134991602001612460565b6040516020818303038152906040529650505050505050919050565b6000546001600160a01b0316331461138f576040516282b42960e81b815260040160405180910390fd5b6113ba7f0000000000000000000000000000000000000000000000000000000000000012600a612178565b6113c49082612187565b600e5550565b6011805461056490611ef7565b6000546001600160a01b03163314611401576040516282b42960e81b815260040160405180910390fd5b60116107a58282611f7f565b6010805461056490611ef7565b6000546001600160a01b03163314611444576040516282b42960e81b815260040160405180910390fd5b6001600160a01b03811661146b576040516349e27cff60e01b815260040160405180910390fd5b600080546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b60006114e37f0000000000000000000000000000000000000000000000000000000000000012600a612178565b905090565b600c5460009060ff16801561151657506001600160a01b0384166000908152600b602052604090205460ff16155b1561157157600d5482106115715760405162461bcd60e51b815260206004820152601a60248201527f5472616e73616374696f6e206c696d697420657863656564202100000000000060448201526064015b60405180910390fd5b6001600160a01b0383166000908152600b602052604090205460ff1661162957600e546001600160a01b0384166000908152600f60205260409020546115b89084906124a5565b11156115fb5760405162461bcd60e51b8152602060048201526012602482015271427579206c696d697420657863656564202160701b6044820152606401611568565b6001600160a01b0383166000908152600f6020526040812080548492906116239084906124a5565b90915550505b60006116336114b6565b6001600160a01b038087166000818152600460205260408082208054948a168352908220549282529394509192909186919061166f8386612055565b90915550506001600160a01b03808716600090815260046020908152604080832080548a019055928a168252600b9052205460ff1661170b576001600160a01b0387166000908152600460205260408120546116cc9085906124b8565b6116d685856124b8565b6116e09190612055565b905060005b81811015611708576116f689611896565b80611700816124da565b9150506116e5565b50505b6001600160a01b0386166000908152600b602052604090205460ff1661179057600061173784836124b8565b6001600160a01b03881660009081526004602052604090205461175b9086906124b8565b6117659190612055565b905060005b8181101561178d5761177b886119be565b80611785816124da565b91505061176a565b50505b856001600160a01b0316876001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487876040516117d591815260200190565b60405180910390a35060019695505050505050565b60016117f68382611f7f565b506002610b2d8282611f7f565b6060600061181083611ac9565b600101905060008167ffffffffffffffff81111561183057611830611c52565b6040519080825280601f01601f19166020018201604052801561185a576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461186457509392505050565b6001600160a01b0381166118bd57604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b038116600090815260096020526040812080546118e390600190612055565b815481106118f3576118f3612068565b9060005260206000200154905060096000836001600160a01b03166001600160a01b031681526020019081526020016000208054806119345761193461207e565b600082815260208082208301600019908101839055909201909255828252600a815260408083208390556008825280832080546001600160a01b031990811690915560069092528083208054909216909155518291906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b0381166119e557604051634e46966960e11b815260040160405180910390fd5b60038054600101908190556000818152600860205260409020546001600160a01b031615611a265760405163119b4fd360e11b815260040160405180910390fd5b600081815260086020908152604080832080546001600160a01b0319166001600160a01b038716908117909155808452600983529083208054600181810183558286529385200185905592529054611a7e9190612055565b6000828152600a602052604080822092909255905182916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611b085772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611b34576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611b5257662386f26fc10000830492506010015b6305f5e1008310611b6a576305f5e100830492506008015b6127108310611b7e57612710830492506004015b60648310611b90576064830492506002015b600a83106107305760010192915050565b60005b83811015611bbc578181015183820152602001611ba4565b50506000910152565b6020815260008251806020840152611be4816040850160208701611ba1565b601f01601f19169190910160400192915050565b600060208284031215611c0a57600080fd5b5035919050565b80356001600160a01b0381168114610e7e57600080fd5b60008060408385031215611c3b57600080fd5b611c4483611c11565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112611c7957600080fd5b813567ffffffffffffffff80821115611c9457611c94611c52565b604051601f8301601f19908116603f01168101908282118183101715611cbc57611cbc611c52565b81604052838152866020858801011115611cd557600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060208284031215611d0757600080fd5b813567ffffffffffffffff811115611d1e57600080fd5b611d2a84828501611c68565b949350505050565b600080600060608486031215611d4757600080fd5b611d5084611c11565b9250611d5e60208501611c11565b9150604084013590509250925092565b60008060408385031215611d8157600080fd5b823567ffffffffffffffff80821115611d9957600080fd5b611da586838701611c68565b93506020850135915080821115611dbb57600080fd5b50611dc885828601611c68565b9150509250929050565b60008060408385031215611de557600080fd5b611dee83611c11565b915060208301358015158114611e0357600080fd5b809150509250929050565b600060208284031215611e2057600080fd5b610f3f82611c11565b600080600080600060808688031215611e4157600080fd5b611e4a86611c11565b9450611e5860208701611c11565b935060408601359250606086013567ffffffffffffffff80821115611e7c57600080fd5b818801915088601f830112611e9057600080fd5b813581811115611e9f57600080fd5b896020828501011115611eb157600080fd5b9699959850939650602001949392505050565b60008060408385031215611ed757600080fd5b611ee083611c11565b9150611eee60208401611c11565b90509250929050565b600181811c90821680611f0b57607f821691505b602082108103611f2b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610b2d57600081815260208120601f850160051c81016020861015611f585750805b601f850160051c820191505b81811015611f7757828155600101611f64565b505050505050565b815167ffffffffffffffff811115611f9957611f99611c52565b611fad81611fa78454611ef7565b84611f31565b602080601f831160018114611fe25760008415611fca5750858301515b600019600386901b1c1916600185901b178555611f77565b600085815260208120601f198616915b8281101561201157888601518255948401946001909101908401611ff2565b508582101561202f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b818103818111156107305761073061203f565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b600181815b808511156120cf5781600019048211156120b5576120b561203f565b808516156120c257918102915b93841c9390800290612099565b509250929050565b6000826120e657506001610730565b816120f357506000610730565b816001811461210957600281146121135761212f565b6001915050610730565b60ff8411156121245761212461203f565b50506001821b610730565b5060208310610133831016604e8410600b8410161715612152575081810a610730565b61215c8383612094565b80600019048211156121705761217061203f565b029392505050565b6000610f3f60ff8416836120d7565b80820281158282048414176107305761073061203f565b6000602082840312156121b057600080fd5b81516001600160e01b031981168114610f3f57600080fd5b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b600080845461222a81611ef7565b60018281168015612242576001811461225757612286565b60ff1984168752821515830287019450612286565b8860005260208060002060005b8581101561227d5781548a820152908401908201612264565b50505082870194505b50505050835161229a818360208801611ba1565b01949350505050565b717b226e616d65223a2022436172626f6e202360701b815281516000906122d1816012850160208701611ba1565b9190910160120192915050565b600082516122f0818460208701611ba1565b7f222c226465736372697074696f6e223a224120636f6e76657267656e6365206f9201918252507f662031302c30303020656e74697469657320656e61626c65642062792045524360208201527f3430342c20612070696f6e656572696e6720746f6b656e207374616e6461726460408201527f2c207265766f6c7574696f6e697a696e67206469676974616c20636f6c6c656360608201527f746962696c6974792e222c2265787465726e616c5f75726c223a22687474707360808201527f3a2f2f636172626f6e6574682e6e6574222c22696d616765223a22000000000060a082015260bb01919050565b600083516123ef818460208801611ba1565b83519083019061229a818360208801611ba1565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a225381526e3430b8329116113b30b63ab2911d1160891b60208201526000825161245381602f850160208701611ba1565b91909101602f0192915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c000000000081526000825161249881601b850160208701611ba1565b91909101601b0192915050565b808201808211156107305761073061203f565b6000826124d557634e487b7160e01b600052601260045260246000fd5b500490565b6000600182016124ec576124ec61203f565b506001019056fea26469706673582212202cf28574162fe1c5076eed904dad92ec753e473315e35fe21b7e1a2cbabe644a64736f6c63430008140033

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

0000000000000000000000003cf6011455c18f39031086bede98e6f98c43845e

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

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000003cf6011455c18f39031086bede98e6f98c43845e


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.