ETH Price: $2,508.24 (+0.38%)

Poisoning Attack Alerts by W3A (W3A)
 

Overview

TokenID

1393

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 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:
Poisoning

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 4 : Poisoning.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.16;

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

contract Poisoning is Yul721 {
    using Strings for uint256;

    address public owner;
    uint256 private _totalSupply;

    function totalSupply() external view returns (uint256) {
        return _totalSupply;
    }

    function tokenURI(uint256 tokenId) external view returns (string memory) {
        string memory _baseURI = baseURI;
        string memory owner = Strings.toHexString(uint256(uint160(ownerOf(tokenId))), 20);
        string memory id = Strings.toString(tokenId);
        return bytes(_baseURI).length != 0 ? string(abi.encodePacked(_baseURI, owner, '?tokenId=' , id)) : '';
    }

    constructor (string memory name_, string memory symbol_, address owner_, string memory uri_) Yul721(name_, symbol_, uri_) {
        owner = owner_;
    }

    function setBaseURI(string memory uri) external {
        require(msg.sender == owner, "Caller is not the owner");
        _setBaseURI(uri);
    }

    function batchMint(address[] memory recipients) external {
        require(msg.sender == owner, "Caller is not the owner");
        uint256 id = _totalSupply;

        for(uint256 i = 0; i < recipients.length; i++) {
            _mint(recipients[i], id);
            id++;
        }

        _totalSupply = _totalSupply + recipients.length;
    }
}

File 2 of 4 : Yul721.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.16;

abstract contract Yul721 {

    string public name;
    string public symbol;
    string public baseURI;

    uint256 constant OWNER_OF_START_SLOT = 0x1000;
    uint256 constant MAX_ID = 0xFFFEFFF;


    function ownerOf(uint256 id) public view returns (address owner) {
        assembly {
            owner := sload(add(OWNER_OF_START_SLOT, id))
        }
    }

    function balanceOf(address owner) external view returns (uint256) {
        return 1;
    }


    uint256 constant GET_APPROVED_START_SLOT = 0x10000000;

    function getApproved(uint256 id) external view returns (address approved) {
        assembly {
            approved := 0x0
        }
    }

    function isApprovedForAll(address owner, address spender) external view returns (bool approvedForAll) {
        assembly {
            approvedForAll := 0x1
        }
    }

    constructor(string memory name_, string memory symbol_, string memory uri_) {
        name = name_;
        symbol = symbol_;
        baseURI = uri_;
    }

    function approve(address spender, uint256 id) external {}
    function setApprovalForAll(address operator, bool approved) external {}
    function transferFrom(address from, address to, uint256 id) external {}


    function supportsInterface(bytes4 interfaceId) external view returns (bool result) {
        assembly {
            result := or(
            // ERC165 Interface ID for ERC165
            eq(interfaceId, 0x01ffc9a7),
            or(
            // ERC165 Interface ID for ERC721
            eq(interfaceId, 0x80ac58cd),
            // ERC165 Interface ID for ERC721Metadata
            eq(interfaceId, 0x5b5e139f)
            )
            )
        }
    }

    function _setBaseURI(string memory uri_) internal returns (bool success) {
        baseURI = uri_;
        assembly {
            log2(
            0,
            0,
            0x562bf0237fa5139edc73ec903039c3a552e19ae62cc8292da62afeea43024b0a,
            uri_
            )
            success := 0x1
        }
    }


    function _mint(address to, uint256 id) internal {
        assembly {
            sstore(add(OWNER_OF_START_SLOT, id), to)
            log4(
            0,
            0,
            0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef,
            0,
            to,
            id
            )
        }
    }
}

File 3 of 4 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @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 up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (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; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

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

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            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 (rounding == Rounding.Up && 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 down.
     *
     * 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 + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * 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 + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * 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 + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * 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 10, 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 + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

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

pragma solidity ^0.8.0;

import "./math/Math.sol";

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

    /**
     * @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), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @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) {
        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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        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);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"owner_","type":"address"},{"internalType":"string","name":"uri_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"approved","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"approvedForAll","type":"bool"}],"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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"result","type":"bool"}],"stateMutability":"view","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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620011d0380380620011d0833981016040819052620000349162000157565b838382600062000045848262000299565b50600162000054838262000299565b50600262000063828262000299565b5050600380546001600160a01b0319166001600160a01b03959095169490941790935550620003659350505050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620000ba57600080fd5b81516001600160401b0380821115620000d757620000d762000092565b604051601f8301601f19908116603f0116810190828211818310171562000102576200010262000092565b816040528381526020925086838588010111156200011f57600080fd5b600091505b8382101562000143578582018301518183018401529082019062000124565b600093810190920192909252949350505050565b600080600080608085870312156200016e57600080fd5b84516001600160401b03808211156200018657600080fd5b6200019488838901620000a8565b95506020870151915080821115620001ab57600080fd5b620001b988838901620000a8565b604088015190955091506001600160a01b0382168214620001d957600080fd5b606087015191935080821115620001ef57600080fd5b50620001fe87828801620000a8565b91505092959194509250565b600181811c908216806200021f57607f821691505b6020821081036200024057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200029457600081815260208120601f850160051c810160208610156200026f5750805b601f850160051c820191505b8181101562000290578281556001016200027b565b5050505b505050565b81516001600160401b03811115620002b557620002b562000092565b620002cd81620002c684546200020a565b8462000246565b602080601f831160018114620003055760008415620002ec5750858301515b600019600386901b1c1916600185901b17855562000290565b600085815260208120601f198616915b82811015620003365788860151825594840194600190910190840162000315565b5085821015620003555787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b610e5b80620003756000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80636c0360eb11610097578063a22cb46511610066578063a22cb46514610222578063c87b56dd14610230578063d67b06c114610243578063e985e9c51461025657600080fd5b80636c0360eb146101eb57806370a08231146101f35780638da5cb5b1461020757806395d89b411461021a57600080fd5b806318160ddd116100d357806318160ddd1461019d57806323b872dd146101af57806355f804b3146101c25780636352211e146101d557600080fd5b806301ffc9a71461010557806306fdde0314610148578063081812fc1461015d578063095ea7b314610189575b600080fd5b6101336101133660046108c1565b6000635b5e139f82146380ac58cd8314176301ffc9a78314179050919050565b60405190151581526020015b60405180910390f35b61015061026c565b60405161013f919061090f565b61017161016b366004610942565b50600090565b6040516001600160a01b03909116815260200161013f565b61019b610197366004610977565b5050565b005b6004545b60405190815260200161013f565b61019b6101bd3660046109a1565b505050565b61019b6101d0366004610a24565b6102fa565b6101716101e3366004610942565b611000015490565b61015061035c565b6101a1610201366004610ab9565b50600190565b600354610171906001600160a01b031681565b610150610369565b61019b610197366004610adb565b61015061023e366004610942565b610376565b61019b610251366004610b17565b610483565b610133610264366004610bc4565b506001919050565b6000805461027990610bf7565b80601f01602080910402602001604051908101604052809291908181526020018280546102a590610bf7565b80156102f25780601f106102c7576101008083540402835291602001916102f2565b820191906000526020600020905b8154815290600101906020018083116102d557829003601f168201915b505050505081565b6003546001600160a01b031633146103535760405162461bcd60e51b815260206004820152601760248201527621b0b63632b91034b9903737ba103a34329037bbb732b960491b60448201526064015b60405180910390fd5b61019781610540565b6002805461027990610bf7565b6001805461027990610bf7565b606060006002805461038790610bf7565b80601f01602080910402602001604051908101604052809291908181526020018280546103b390610bf7565b80156104005780601f106103d557610100808354040283529160200191610400565b820191906000526020600020905b8154815290600101906020018083116103e357829003601f168201915b50505050509050600061042861041885611000015490565b6001600160a01b0316601461057d565b9050600061043585610722565b90508251600003610455576040518060200160405280600081525061047a565b82828260405160200161046a93929190610c31565b6040516020818303038152906040525b95945050505050565b6003546001600160a01b031633146104d75760405162461bcd60e51b815260206004820152601760248201527621b0b63632b91034b9903737ba103a34329037bbb732b960491b604482015260640161034a565b60045460005b8251811015610529576105098382815181106104fb576104fb610c89565b6020026020010151836107b5565b8161051381610cb5565b925050808061052190610cb5565b9150506104dd565b5081516004546105399190610cce565b6004555050565b6000600261054e8382610d2f565b50817f562bf0237fa5139edc73ec903039c3a552e19ae62cc8292da62afeea43024b0a600080a2506001919050565b6060600061058c836002610def565b610597906002610cce565b67ffffffffffffffff8111156105af576105af6109dd565b6040519080825280601f01601f1916602001820160405280156105d9576020820181803683370190505b509050600360fc1b816000815181106105f4576105f4610c89565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061062357610623610c89565b60200101906001600160f81b031916908160001a9053506000610647846002610def565b610652906001610cce565b90505b60018111156106ca576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061068657610686610c89565b1a60f81b82828151811061069c5761069c610c89565b60200101906001600160f81b031916908160001a90535060049490941c936106c381610e0e565b9050610655565b5083156107195760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161034a565b90505b92915050565b6060600061072f836107e9565b600101905060008167ffffffffffffffff81111561074f5761074f6109dd565b6040519080825280601f01601f191660200182016040528015610779576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461078357509392505050565b81816110000155808260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a45050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106108285772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310610854576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061087257662386f26fc10000830492506010015b6305f5e100831061088a576305f5e100830492506008015b612710831061089e57612710830492506004015b606483106108b0576064830492506002015b600a831061071c5760010192915050565b6000602082840312156108d357600080fd5b81356001600160e01b03198116811461071957600080fd5b60005b838110156109065781810151838201526020016108ee565b50506000910152565b602081526000825180602084015261092e8160408501602087016108eb565b601f01601f19169190910160400192915050565b60006020828403121561095457600080fd5b5035919050565b80356001600160a01b038116811461097257600080fd5b919050565b6000806040838503121561098a57600080fd5b6109938361095b565b946020939093013593505050565b6000806000606084860312156109b657600080fd5b6109bf8461095b565b92506109cd6020850161095b565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610a1c57610a1c6109dd565b604052919050565b60006020808385031215610a3757600080fd5b823567ffffffffffffffff80821115610a4f57600080fd5b818501915085601f830112610a6357600080fd5b813581811115610a7557610a756109dd565b610a87601f8201601f191685016109f3565b91508082528684828501011115610a9d57600080fd5b8084840185840137600090820190930192909252509392505050565b600060208284031215610acb57600080fd5b610ad48261095b565b9392505050565b60008060408385031215610aee57600080fd5b610af78361095b565b915060208301358015158114610b0c57600080fd5b809150509250929050565b60006020808385031215610b2a57600080fd5b823567ffffffffffffffff80821115610b4257600080fd5b818501915085601f830112610b5657600080fd5b813581811115610b6857610b686109dd565b8060051b9150610b798483016109f3565b8181529183018401918481019088841115610b9357600080fd5b938501935b83851015610bb857610ba98561095b565b82529385019390850190610b98565b98975050505050505050565b60008060408385031215610bd757600080fd5b610be08361095b565b9150610bee6020840161095b565b90509250929050565b600181811c90821680610c0b57607f821691505b602082108103610c2b57634e487b7160e01b600052602260045260246000fd5b50919050565b60008451610c438184602089016108eb565b845190830190610c578183602089016108eb565b683f746f6b656e49643d60b81b91019081528351610c7c8160098401602088016108eb565b0160090195945050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201610cc757610cc7610c9f565b5060010190565b8082018082111561071c5761071c610c9f565b601f8211156101bd57600081815260208120601f850160051c81016020861015610d085750805b601f850160051c820191505b81811015610d2757828155600101610d14565b505050505050565b815167ffffffffffffffff811115610d4957610d496109dd565b610d5d81610d578454610bf7565b84610ce1565b602080601f831160018114610d925760008415610d7a5750858301515b600019600386901b1c1916600185901b178555610d27565b600085815260208120601f198616915b82811015610dc157888601518255948401946001909101908401610da2565b5085821015610ddf5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000816000190483118215151615610e0957610e09610c9f565b500290565b600081610e1d57610e1d610c9f565b50600019019056fea264697066735822122040e589e7a0ac1505159ef061546ae4036f26d460ec651790e875e00496a2c6f064736f6c63430008100033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000b0560d9d8d12fff71cfd79bc3495bf77fcb9f3bf0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000001e506f69736f6e696e672041747461636b20416c6572747320627920573341000000000000000000000000000000000000000000000000000000000000000000035733410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e68747470733a2f2f636865636b6e66742e696f2f6170692f76322f657874656e73696f6e2f706f69736f6e696e672d61747461636b2f616464726573732f0000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101005760003560e01c80636c0360eb11610097578063a22cb46511610066578063a22cb46514610222578063c87b56dd14610230578063d67b06c114610243578063e985e9c51461025657600080fd5b80636c0360eb146101eb57806370a08231146101f35780638da5cb5b1461020757806395d89b411461021a57600080fd5b806318160ddd116100d357806318160ddd1461019d57806323b872dd146101af57806355f804b3146101c25780636352211e146101d557600080fd5b806301ffc9a71461010557806306fdde0314610148578063081812fc1461015d578063095ea7b314610189575b600080fd5b6101336101133660046108c1565b6000635b5e139f82146380ac58cd8314176301ffc9a78314179050919050565b60405190151581526020015b60405180910390f35b61015061026c565b60405161013f919061090f565b61017161016b366004610942565b50600090565b6040516001600160a01b03909116815260200161013f565b61019b610197366004610977565b5050565b005b6004545b60405190815260200161013f565b61019b6101bd3660046109a1565b505050565b61019b6101d0366004610a24565b6102fa565b6101716101e3366004610942565b611000015490565b61015061035c565b6101a1610201366004610ab9565b50600190565b600354610171906001600160a01b031681565b610150610369565b61019b610197366004610adb565b61015061023e366004610942565b610376565b61019b610251366004610b17565b610483565b610133610264366004610bc4565b506001919050565b6000805461027990610bf7565b80601f01602080910402602001604051908101604052809291908181526020018280546102a590610bf7565b80156102f25780601f106102c7576101008083540402835291602001916102f2565b820191906000526020600020905b8154815290600101906020018083116102d557829003601f168201915b505050505081565b6003546001600160a01b031633146103535760405162461bcd60e51b815260206004820152601760248201527621b0b63632b91034b9903737ba103a34329037bbb732b960491b60448201526064015b60405180910390fd5b61019781610540565b6002805461027990610bf7565b6001805461027990610bf7565b606060006002805461038790610bf7565b80601f01602080910402602001604051908101604052809291908181526020018280546103b390610bf7565b80156104005780601f106103d557610100808354040283529160200191610400565b820191906000526020600020905b8154815290600101906020018083116103e357829003601f168201915b50505050509050600061042861041885611000015490565b6001600160a01b0316601461057d565b9050600061043585610722565b90508251600003610455576040518060200160405280600081525061047a565b82828260405160200161046a93929190610c31565b6040516020818303038152906040525b95945050505050565b6003546001600160a01b031633146104d75760405162461bcd60e51b815260206004820152601760248201527621b0b63632b91034b9903737ba103a34329037bbb732b960491b604482015260640161034a565b60045460005b8251811015610529576105098382815181106104fb576104fb610c89565b6020026020010151836107b5565b8161051381610cb5565b925050808061052190610cb5565b9150506104dd565b5081516004546105399190610cce565b6004555050565b6000600261054e8382610d2f565b50817f562bf0237fa5139edc73ec903039c3a552e19ae62cc8292da62afeea43024b0a600080a2506001919050565b6060600061058c836002610def565b610597906002610cce565b67ffffffffffffffff8111156105af576105af6109dd565b6040519080825280601f01601f1916602001820160405280156105d9576020820181803683370190505b509050600360fc1b816000815181106105f4576105f4610c89565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061062357610623610c89565b60200101906001600160f81b031916908160001a9053506000610647846002610def565b610652906001610cce565b90505b60018111156106ca576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061068657610686610c89565b1a60f81b82828151811061069c5761069c610c89565b60200101906001600160f81b031916908160001a90535060049490941c936106c381610e0e565b9050610655565b5083156107195760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161034a565b90505b92915050565b6060600061072f836107e9565b600101905060008167ffffffffffffffff81111561074f5761074f6109dd565b6040519080825280601f01601f191660200182016040528015610779576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461078357509392505050565b81816110000155808260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a45050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106108285772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310610854576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061087257662386f26fc10000830492506010015b6305f5e100831061088a576305f5e100830492506008015b612710831061089e57612710830492506004015b606483106108b0576064830492506002015b600a831061071c5760010192915050565b6000602082840312156108d357600080fd5b81356001600160e01b03198116811461071957600080fd5b60005b838110156109065781810151838201526020016108ee565b50506000910152565b602081526000825180602084015261092e8160408501602087016108eb565b601f01601f19169190910160400192915050565b60006020828403121561095457600080fd5b5035919050565b80356001600160a01b038116811461097257600080fd5b919050565b6000806040838503121561098a57600080fd5b6109938361095b565b946020939093013593505050565b6000806000606084860312156109b657600080fd5b6109bf8461095b565b92506109cd6020850161095b565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610a1c57610a1c6109dd565b604052919050565b60006020808385031215610a3757600080fd5b823567ffffffffffffffff80821115610a4f57600080fd5b818501915085601f830112610a6357600080fd5b813581811115610a7557610a756109dd565b610a87601f8201601f191685016109f3565b91508082528684828501011115610a9d57600080fd5b8084840185840137600090820190930192909252509392505050565b600060208284031215610acb57600080fd5b610ad48261095b565b9392505050565b60008060408385031215610aee57600080fd5b610af78361095b565b915060208301358015158114610b0c57600080fd5b809150509250929050565b60006020808385031215610b2a57600080fd5b823567ffffffffffffffff80821115610b4257600080fd5b818501915085601f830112610b5657600080fd5b813581811115610b6857610b686109dd565b8060051b9150610b798483016109f3565b8181529183018401918481019088841115610b9357600080fd5b938501935b83851015610bb857610ba98561095b565b82529385019390850190610b98565b98975050505050505050565b60008060408385031215610bd757600080fd5b610be08361095b565b9150610bee6020840161095b565b90509250929050565b600181811c90821680610c0b57607f821691505b602082108103610c2b57634e487b7160e01b600052602260045260246000fd5b50919050565b60008451610c438184602089016108eb565b845190830190610c578183602089016108eb565b683f746f6b656e49643d60b81b91019081528351610c7c8160098401602088016108eb565b0160090195945050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201610cc757610cc7610c9f565b5060010190565b8082018082111561071c5761071c610c9f565b601f8211156101bd57600081815260208120601f850160051c81016020861015610d085750805b601f850160051c820191505b81811015610d2757828155600101610d14565b505050505050565b815167ffffffffffffffff811115610d4957610d496109dd565b610d5d81610d578454610bf7565b84610ce1565b602080601f831160018114610d925760008415610d7a5750858301515b600019600386901b1c1916600185901b178555610d27565b600085815260208120601f198616915b82811015610dc157888601518255948401946001909101908401610da2565b5085821015610ddf5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000816000190483118215151615610e0957610e09610c9f565b500290565b600081610e1d57610e1d610c9f565b50600019019056fea264697066735822122040e589e7a0ac1505159ef061546ae4036f26d460ec651790e875e00496a2c6f064736f6c63430008100033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000b0560d9d8d12fff71cfd79bc3495bf77fcb9f3bf0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000001e506f69736f6e696e672041747461636b20416c6572747320627920573341000000000000000000000000000000000000000000000000000000000000000000035733410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e68747470733a2f2f636865636b6e66742e696f2f6170692f76322f657874656e73696f6e2f706f69736f6e696e672d61747461636b2f616464726573732f0000

-----Decoded View---------------
Arg [0] : name_ (string): Poisoning Attack Alerts by W3A
Arg [1] : symbol_ (string): W3A
Arg [2] : owner_ (address): 0xB0560d9D8D12FFf71CFD79BC3495BF77fcb9f3Bf
Arg [3] : uri_ (string): https://checknft.io/api/v2/extension/poisoning-attack/address/

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000b0560d9d8d12fff71cfd79bc3495bf77fcb9f3bf
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [5] : 506f69736f6e696e672041747461636b20416c65727473206279205733410000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 5733410000000000000000000000000000000000000000000000000000000000
Arg [8] : 000000000000000000000000000000000000000000000000000000000000003e
Arg [9] : 68747470733a2f2f636865636b6e66742e696f2f6170692f76322f657874656e
Arg [10] : 73696f6e2f706f69736f6e696e672d61747461636b2f616464726573732f0000


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.