ETH Price: $3,274.23 (-2.43%)

Token

GoonzSchoolPhotos (CGSP)
 

Overview

Max Total Supply

0 CGSP

Holders

4,354

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 CGSP
0x21eD3053700B5f52c27f286136950867e942B58B
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:
GoonzSchoolPhotos

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 800 runs

Other Settings:
default evmVersion
File 1 of 9 : GoonzSchoolPhotos.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./MultisigOwnable.sol";

contract GoonzSchoolPhotos is ERC165, IERC721, IERC721Metadata, MultisigOwnable {
    using Strings for uint256;

    string private _name;
    string private _symbol;
    IERC721 immutable public ogGoonzNFT;
    IERC721 immutable public portalGoonzNFT;
    address public portalGoonz;
    string public baseURI;

    // EIP2309 Events
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed fromAddress, address indexed toAddress);

    constructor(string memory name_, string memory symbol_, address _ogGoonz, address _portalGoonz, string memory baseURI_) {
        _name = name_;
        _symbol = symbol_;
        ogGoonzNFT = IERC721(_ogGoonz);
        portalGoonzNFT = IERC721(_portalGoonz);
        portalGoonz = _portalGoonz;
        baseURI = baseURI_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) external view virtual override returns (uint256) {
        uint256 balance = ogGoonzNFT.balanceOf(owner);
        balance += portalGoonzNFT.balanceOf(owner);
        return balance;
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address owner) {
        address owner = ogGoonzNFT.ownerOf(tokenId);
        if (owner == portalGoonz) {
            return portalGoonzNFT.ownerOf(tokenId);
        }
        return owner;
    }
    
    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), ".json")) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return baseURI;
    }

    function setBaseURI(string memory newuri) external onlyRealOwner {
        baseURI = newuri;
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        revert("Companion tokens can not be transferred");
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        revert("Companion tokens can not be transferred");
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        revert("Companion tokens can not be transferred");
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return false;
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        revert("Companion tokens can not be transferred");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        revert("Companion tokens can not be transferred");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        revert("Companion tokens can not be manually transferred");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     */
    function exists(uint256 tokenId) public view returns (bool) {
        return ownerOf(tokenId) != address(0);
    }

    function claim(uint256[] calldata tokenIds) external {
        for (uint256 i = 0; i < tokenIds.length; i++) {
            require(exists(tokenIds[i]), "Token doesn't exist");
            emit Transfer(address(0), ownerOf(tokenIds[i]), tokenIds[i]);
        }
    }

    function initializeToOwners(uint256 start_, uint256 end_) external onlyRealOwner {
        for (uint256 i = start_; i <= end_; i++) {
            emit Transfer(address(0), ownerOf(i), i);
        }
    }

    function initializeBulkSimple(uint256 start_, uint256 end_) external onlyRealOwner {
        emit ConsecutiveTransfer(start_, end_, address(0), address(this));
    }

    function initializeBulk(uint256 start_, uint256 end_, uint256 batchSize) external onlyRealOwner {
        initializeBulkTo(start_, end_, batchSize, address(this));
    }
    
    function initializeBulkTo(uint256 start_, uint256 end_, uint256 batchSize, address to_) public onlyRealOwner  {
        require(end_ > start_, "ending token id must be larger than the starting token id");
        require(end_ - start_ + 1 >= batchSize, "the range of tokens must be bigger than the desired batch size");
        uint256 numOfBatches = (end_ - start_ + 1) / batchSize;
        uint256 lastBatchSize = (end_ - start_ + 1) % batchSize;
        for (uint256 i = 0; i < numOfBatches; i++) {
            emit ConsecutiveTransfer(start_ + batchSize * i, start_ + batchSize * (i+1) - 1, address(0), to_);
        }

        if (lastBatchSize > 0) {
            emit ConsecutiveTransfer(end_ - lastBatchSize + 1, end_, address(0), to_);
        }
    }
}

File 2 of 9 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 3 of 9 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 4 of 9 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 5 of 9 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

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

File 6 of 9 : MultisigOwnable.sol
//SPDX-License-Identifier: CC0
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";

/*
Opensea only allows EOAs to make changes to collections,
which makes it impossible to use multisigs to secure these NFT contracts
since when you want to make changes you need to transfer ownership to an EOA, who can rug.

This contract establishes a second owner that can change the EOA owner,
this way a multisig can give ownership to an EOA and later claim it back.
*/
abstract contract MultisigOwnable is Ownable {
    address public realOwner;

    constructor() {
        realOwner = msg.sender;
    }

    modifier onlyRealOwner() {
        require(realOwner == msg.sender, "MultisigOwnable: caller is not the real owner");
        _;
    }

    function transferRealOwnership(address newRealOwner) public onlyRealOwner {
        realOwner = newRealOwner;
    }

    function transferLowerOwnership(address newOwner) public onlyRealOwner {
        _transferOwnership(newOwner);
    }
}

File 7 of 9 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 8 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 9 of 9 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"_ogGoonz","type":"address"},{"internalType":"address","name":"_portalGoonz","type":"address"},{"internalType":"string","name":"baseURI_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"fromAddress","type":"address"},{"indexed":true,"internalType":"address","name":"toAddress","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","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":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"start_","type":"uint256"},{"internalType":"uint256","name":"end_","type":"uint256"},{"internalType":"uint256","name":"batchSize","type":"uint256"}],"name":"initializeBulk","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"start_","type":"uint256"},{"internalType":"uint256","name":"end_","type":"uint256"}],"name":"initializeBulkSimple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"start_","type":"uint256"},{"internalType":"uint256","name":"end_","type":"uint256"},{"internalType":"uint256","name":"batchSize","type":"uint256"},{"internalType":"address","name":"to_","type":"address"}],"name":"initializeBulkTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"start_","type":"uint256"},{"internalType":"uint256","name":"end_","type":"uint256"}],"name":"initializeToOwners","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogGoonzNFT","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"portalGoonz","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"portalGoonzNFT","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"realOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","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":"tokenId","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":"newuri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","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":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferLowerOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRealOwner","type":"address"}],"name":"transferRealOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040523480156200001157600080fd5b5060405162001eee38038062001eee8339810160408190526200003491620002a6565b6200003f33620000c6565b600180546001600160a01b0319163317905584516200006690600290602088019062000116565b5083516200007c90600390602087019062000116565b506001600160a01b03808416608052821660a0819052600480546001600160a01b03191690911790558051620000ba90600590602084019062000116565b5050505050506200039a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b82805462000124906200035d565b90600052602060002090601f01602090048101928262000148576000855562000193565b82601f106200016357805160ff191683800117855562000193565b8280016001018555821562000193579182015b828111156200019357825182559160200191906001019062000176565b50620001a1929150620001a5565b5090565b5b80821115620001a15760008155600101620001a6565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001e457600080fd5b81516001600160401b0380821115620002015762000201620001bc565b604051601f8301601f19908116603f011681019082821181831017156200022c576200022c620001bc565b816040528381526020925086838588010111156200024957600080fd5b600091505b838210156200026d57858201830151818301840152908201906200024e565b838211156200027f5760008385830101525b9695505050505050565b80516001600160a01b0381168114620002a157600080fd5b919050565b600080600080600060a08688031215620002bf57600080fd5b85516001600160401b0380821115620002d757600080fd5b620002e589838a01620001d2565b96506020880151915080821115620002fc57600080fd5b6200030a89838a01620001d2565b95506200031a6040890162000289565b94506200032a6060890162000289565b935060808801519150808211156200034157600080fd5b506200035088828901620001d2565b9150509295509295909350565b600181811c908216806200037257607f821691505b602082108114156200039457634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a051611b12620003dc600039600081816103d201528181610b1e0152610dfe01526000818161038501528181610a750152610d620152611b126000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c806370a0823111610104578063af221961116100a2578063e985e9c511610071578063e985e9c5146103f4578063f2fde38b1461040a578063f3c8ce111461041d578063fe3d4c141461043057600080fd5b8063af22196114610380578063b88d4fde146103a7578063c87b56dd146103ba578063d09b15b1146103cd57600080fd5b80638da5cb5b116100de5780638da5cb5b1461034657806395d89b4114610357578063a1c3aa6d1461035f578063a22cb4651461037257600080fd5b806370a082311461030a578063715018a61461032b57806385c25fa51461033357600080fd5b80632cff67701161017c57806355f804b31161014b57806355f804b3146102c95780636352211e146102dc5780636ba4c138146102ef5780636c0360eb1461030257600080fd5b80632cff67701461029057806342842e0e146102825780634f558e79146102a3578063529d2557146102b657600080fd5b8063095ea7b3116101b8578063095ea7b31461024757806309af3f9a1461025c5780631df270f31461026f57806323b872dd1461028257600080fd5b806301ffc9a7146101df57806306fdde0314610207578063081812fc1461021c575b600080fd5b6101f26101ed366004611537565b610443565b60405190151581526020015b60405180910390f35b61020f610495565b6040516101fe9190611591565b61022f61022a3660046115c4565b610527565b6040516001600160a01b0390911681526020016101fe565b61025a6102553660046115f2565b610587565b005b61025a61026a36600461161e565b6105df565b60015461022f906001600160a01b031681565b61025a61025536600461163b565b61025a61029e36600461161e565b61065b565b6101f26102b13660046115c4565b6106fa565b61025a6102c436600461167c565b610717565b61025a6102d7366004611749565b6109cb565b61022f6102ea3660046115c4565b610a52565b61025a6102fd366004611792565b610ba7565b61020f610cb0565b61031d61031836600461161e565b610d3e565b6040519081526020016101fe565b61025a610e84565b60045461022f906001600160a01b031681565b6000546001600160a01b031661022f565b61020f610eea565b61025a61036d366004611807565b610ef9565b61025a610255366004611833565b61022f7f000000000000000000000000000000000000000000000000000000000000000081565b61025a6103b5366004611871565b610f75565b61020f6103c83660046115c4565b610fe3565b61022f7f000000000000000000000000000000000000000000000000000000000000000081565b6101f26104023660046118f1565b600092915050565b61025a61041836600461161e565b6110bb565b61025a61042b36600461191f565b611191565b61025a61043e36600461191f565b611266565b60006001600160e01b031982166380ac58cd60e01b148061047457506001600160e01b03198216635b5e139f60e01b145b8061048f57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546104a490611941565b80601f01602080910402602001604051908101604052809291908181526020018280546104d090611941565b801561051d5780601f106104f25761010080835404028352916020019161051d565b820191906000526020600020905b81548152906001019060200180831161050057829003601f168201915b5050505050905090565b60405162461bcd60e51b815260206004820152602760248201527f436f6d70616e696f6e20746f6b656e732063616e206e6f74206265207472616e6044820152661cd9995c9c995960ca1b60648201526000906084015b60405180910390fd5b60405162461bcd60e51b815260206004820152602760248201527f436f6d70616e696f6e20746f6b656e732063616e206e6f74206265207472616e6044820152661cd9995c9c995960ca1b606482015260840161057e565b6001546001600160a01b0316331461064f5760405162461bcd60e51b815260206004820152602d60248201527f4d756c74697369674f776e61626c653a2063616c6c6572206973206e6f74207460448201526c3432903932b0b61037bbb732b960991b606482015260840161057e565b61065881611314565b50565b6001546001600160a01b031633146106cb5760405162461bcd60e51b815260206004820152602d60248201527f4d756c74697369674f776e61626c653a2063616c6c6572206973206e6f74207460448201526c3432903932b0b61037bbb732b960991b606482015260840161057e565b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60008061070683610a52565b6001600160a01b0316141592915050565b6001546001600160a01b031633146107875760405162461bcd60e51b815260206004820152602d60248201527f4d756c74697369674f776e61626c653a2063616c6c6572206973206e6f74207460448201526c3432903932b0b61037bbb732b960991b606482015260840161057e565b8383116107fc5760405162461bcd60e51b815260206004820152603960248201527f656e64696e6720746f6b656e206964206d757374206265206c6172676572207460448201527f68616e20746865207374617274696e6720746f6b656e20696400000000000000606482015260840161057e565b816108078585611992565b6108129060016119a9565b10156108865760405162461bcd60e51b815260206004820152603e60248201527f7468652072616e6765206f6620746f6b656e73206d757374206265206269676760448201527f6572207468616e2074686520646573697265642062617463682073697a650000606482015260840161057e565b6000826108938686611992565b61089e9060016119a9565b6108a891906119d7565b90506000836108b78787611992565b6108c29060016119a9565b6108cc91906119eb565b905060005b82811015610967576001600160a01b03841660006108ef83886119ff565b6108f9908a6119a9565b7fdeaa91b6123d068f5821d0fb0678463d1a8a6079fe8af5de3ce5e896dcf9133d600161092686826119a9565b610930908b6119ff565b61093a908d6119a9565b6109449190611992565b60405190815260200160405180910390a48061095f81611a1e565b9150506108d1565b5080156109c3576001600160a01b03831660006109848388611992565b61098f9060016119a9565b6040518881527fdeaa91b6123d068f5821d0fb0678463d1a8a6079fe8af5de3ce5e896dcf9133d9060200160405180910390a45b505050505050565b6001546001600160a01b03163314610a3b5760405162461bcd60e51b815260206004820152602d60248201527f4d756c74697369674f776e61626c653a2063616c6c6572206973206e6f74207460448201526c3432903932b0b61037bbb732b960991b606482015260840161057e565b8051610a4e90600590602084019061149e565b5050565b6040516331a9108f60e11b81526004810182905260009081906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690636352211e9060240160206040518083038186803b158015610ab757600080fd5b505afa158015610acb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aef9190611a39565b6004549091506001600160a01b038083169116141561048f576040516331a9108f60e11b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e9060240160206040518083038186803b158015610b6857600080fd5b505afa158015610b7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba09190611a39565b9392505050565b60005b81811015610cab57610bd3838383818110610bc757610bc7611a56565b905060200201356106fa565b610c1f5760405162461bcd60e51b815260206004820152601360248201527f546f6b656e20646f65736e277420657869737400000000000000000000000000604482015260640161057e565b828282818110610c3157610c31611a56565b90506020020135610c59848484818110610c4d57610c4d611a56565b90506020020135610a52565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480610ca381611a1e565b915050610baa565b505050565b60058054610cbd90611941565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce990611941565b8015610d365780601f10610d0b57610100808354040283529160200191610d36565b820191906000526020600020905b815481529060010190602001808311610d1957829003601f168201915b505050505081565b6040516370a0823160e01b81526001600160a01b03828116600483015260009182917f000000000000000000000000000000000000000000000000000000000000000016906370a082319060240160206040518083038186803b158015610da457600080fd5b505afa158015610db8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ddc9190611a6c565b6040516370a0823160e01b81526001600160a01b0385811660048301529192507f0000000000000000000000000000000000000000000000000000000000000000909116906370a082319060240160206040518083038186803b158015610e4257600080fd5b505afa158015610e56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7a9190611a6c565b610ba090826119a9565b6000546001600160a01b03163314610ede5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161057e565b610ee86000611314565b565b6060600380546104a490611941565b6001546001600160a01b03163314610f695760405162461bcd60e51b815260206004820152602d60248201527f4d756c74697369674f776e61626c653a2063616c6c6572206973206e6f74207460448201526c3432903932b0b61037bbb732b960991b606482015260840161057e565b610cab83838330610717565b60405162461bcd60e51b815260206004820152603060248201527f436f6d70616e696f6e20746f6b656e732063616e206e6f74206265206d616e7560448201527f616c6c79207472616e7366657272656400000000000000000000000000000000606482015260840161057e565b6060610fee826106fa565b6110605760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161057e565b600061106a611371565b9050600081511161108a5760405180602001604052806000815250610ba0565b8061109484611380565b6040516020016110a5929190611a85565b6040516020818303038152906040529392505050565b6000546001600160a01b031633146111155760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161057e565b6001600160a01b03811661064f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161057e565b6001546001600160a01b031633146112015760405162461bcd60e51b815260206004820152602d60248201527f4d756c74697369674f776e61626c653a2063616c6c6572206973206e6f74207460448201526c3432903932b0b61037bbb732b960991b606482015260840161057e565b815b818111610cab578061121482610a52565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48061125e81611a1e565b915050611203565b6001546001600160a01b031633146112d65760405162461bcd60e51b815260206004820152602d60248201527f4d756c74697369674f776e61626c653a2063616c6c6572206973206e6f74207460448201526c3432903932b0b61037bbb732b960991b606482015260840161057e565b604051818152309060009084907fdeaa91b6123d068f5821d0fb0678463d1a8a6079fe8af5de3ce5e896dcf9133d9060200160405180910390a45050565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6060600580546104a490611941565b6060816113a45750506040805180820190915260018152600360fc1b602082015290565b8160005b81156113ce57806113b881611a1e565b91506113c79050600a836119d7565b91506113a8565b60008167ffffffffffffffff8111156113e9576113e96116bd565b6040519080825280601f01601f191660200182016040528015611413576020820181803683370190505b5090505b841561149657611428600183611992565b9150611435600a866119eb565b6114409060306119a9565b60f81b81838151811061145557611455611a56565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061148f600a866119d7565b9450611417565b949350505050565b8280546114aa90611941565b90600052602060002090601f0160209004810192826114cc5760008555611512565b82601f106114e557805160ff1916838001178555611512565b82800160010185558215611512579182015b828111156115125782518255916020019190600101906114f7565b5061151e929150611522565b5090565b5b8082111561151e5760008155600101611523565b60006020828403121561154957600080fd5b81356001600160e01b031981168114610ba057600080fd5b60005b8381101561157c578181015183820152602001611564565b8381111561158b576000848401525b50505050565b60208152600082518060208401526115b0816040850160208701611561565b601f01601f19169190910160400192915050565b6000602082840312156115d657600080fd5b5035919050565b6001600160a01b038116811461065857600080fd5b6000806040838503121561160557600080fd5b8235611610816115dd565b946020939093013593505050565b60006020828403121561163057600080fd5b8135610ba0816115dd565b60008060006060848603121561165057600080fd5b833561165b816115dd565b9250602084013561166b816115dd565b929592945050506040919091013590565b6000806000806080858703121561169257600080fd5b84359350602085013592506040850135915060608501356116b2816115dd565b939692955090935050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156116ee576116ee6116bd565b604051601f8501601f19908116603f01168101908282118183101715611716576117166116bd565b8160405280935085815286868601111561172f57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561175b57600080fd5b813567ffffffffffffffff81111561177257600080fd5b8201601f8101841361178357600080fd5b611496848235602084016116d3565b600080602083850312156117a557600080fd5b823567ffffffffffffffff808211156117bd57600080fd5b818501915085601f8301126117d157600080fd5b8135818111156117e057600080fd5b8660208260051b85010111156117f557600080fd5b60209290920196919550909350505050565b60008060006060848603121561181c57600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561184657600080fd5b8235611851816115dd565b91506020830135801515811461186657600080fd5b809150509250929050565b6000806000806080858703121561188757600080fd5b8435611892816115dd565b935060208501356118a2816115dd565b925060408501359150606085013567ffffffffffffffff8111156118c557600080fd5b8501601f810187136118d657600080fd5b6118e5878235602084016116d3565b91505092959194509250565b6000806040838503121561190457600080fd5b823561190f816115dd565b91506020830135611866816115dd565b6000806040838503121561193257600080fd5b50508035926020909101359150565b600181811c9082168061195557607f821691505b6020821081141561197657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156119a4576119a461197c565b500390565b600082198211156119bc576119bc61197c565b500190565b634e487b7160e01b600052601260045260246000fd5b6000826119e6576119e66119c1565b500490565b6000826119fa576119fa6119c1565b500690565b6000816000190483118215151615611a1957611a1961197c565b500290565b6000600019821415611a3257611a3261197c565b5060010190565b600060208284031215611a4b57600080fd5b8151610ba0816115dd565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611a7e57600080fd5b5051919050565b60008351611a97818460208801611561565b835190830190611aab818360208801611561565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000910190815260050194935050505056fea2646970667358221220cd7aed1f0190dea7878eed3ce44293aa4783bdf0705f15cf31d52e8441bb1d9264736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000322f6f11a94cfb1b5b6e95e059d8deb2bf17d6a000000000000000000000000ef87529ca9c67a849bd7013837fc42d4de92ca8200000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000011476f6f6e7a5363686f6f6c50686f746f73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000443475350000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d594a6b765645644544445048316270766d787a6a6147745a48675773724372455a58643653337234787543612f00000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101da5760003560e01c806370a0823111610104578063af221961116100a2578063e985e9c511610071578063e985e9c5146103f4578063f2fde38b1461040a578063f3c8ce111461041d578063fe3d4c141461043057600080fd5b8063af22196114610380578063b88d4fde146103a7578063c87b56dd146103ba578063d09b15b1146103cd57600080fd5b80638da5cb5b116100de5780638da5cb5b1461034657806395d89b4114610357578063a1c3aa6d1461035f578063a22cb4651461037257600080fd5b806370a082311461030a578063715018a61461032b57806385c25fa51461033357600080fd5b80632cff67701161017c57806355f804b31161014b57806355f804b3146102c95780636352211e146102dc5780636ba4c138146102ef5780636c0360eb1461030257600080fd5b80632cff67701461029057806342842e0e146102825780634f558e79146102a3578063529d2557146102b657600080fd5b8063095ea7b3116101b8578063095ea7b31461024757806309af3f9a1461025c5780631df270f31461026f57806323b872dd1461028257600080fd5b806301ffc9a7146101df57806306fdde0314610207578063081812fc1461021c575b600080fd5b6101f26101ed366004611537565b610443565b60405190151581526020015b60405180910390f35b61020f610495565b6040516101fe9190611591565b61022f61022a3660046115c4565b610527565b6040516001600160a01b0390911681526020016101fe565b61025a6102553660046115f2565b610587565b005b61025a61026a36600461161e565b6105df565b60015461022f906001600160a01b031681565b61025a61025536600461163b565b61025a61029e36600461161e565b61065b565b6101f26102b13660046115c4565b6106fa565b61025a6102c436600461167c565b610717565b61025a6102d7366004611749565b6109cb565b61022f6102ea3660046115c4565b610a52565b61025a6102fd366004611792565b610ba7565b61020f610cb0565b61031d61031836600461161e565b610d3e565b6040519081526020016101fe565b61025a610e84565b60045461022f906001600160a01b031681565b6000546001600160a01b031661022f565b61020f610eea565b61025a61036d366004611807565b610ef9565b61025a610255366004611833565b61022f7f0000000000000000000000000322f6f11a94cfb1b5b6e95e059d8deb2bf17d6a81565b61025a6103b5366004611871565b610f75565b61020f6103c83660046115c4565b610fe3565b61022f7f000000000000000000000000ef87529ca9c67a849bd7013837fc42d4de92ca8281565b6101f26104023660046118f1565b600092915050565b61025a61041836600461161e565b6110bb565b61025a61042b36600461191f565b611191565b61025a61043e36600461191f565b611266565b60006001600160e01b031982166380ac58cd60e01b148061047457506001600160e01b03198216635b5e139f60e01b145b8061048f57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546104a490611941565b80601f01602080910402602001604051908101604052809291908181526020018280546104d090611941565b801561051d5780601f106104f25761010080835404028352916020019161051d565b820191906000526020600020905b81548152906001019060200180831161050057829003601f168201915b5050505050905090565b60405162461bcd60e51b815260206004820152602760248201527f436f6d70616e696f6e20746f6b656e732063616e206e6f74206265207472616e6044820152661cd9995c9c995960ca1b60648201526000906084015b60405180910390fd5b60405162461bcd60e51b815260206004820152602760248201527f436f6d70616e696f6e20746f6b656e732063616e206e6f74206265207472616e6044820152661cd9995c9c995960ca1b606482015260840161057e565b6001546001600160a01b0316331461064f5760405162461bcd60e51b815260206004820152602d60248201527f4d756c74697369674f776e61626c653a2063616c6c6572206973206e6f74207460448201526c3432903932b0b61037bbb732b960991b606482015260840161057e565b61065881611314565b50565b6001546001600160a01b031633146106cb5760405162461bcd60e51b815260206004820152602d60248201527f4d756c74697369674f776e61626c653a2063616c6c6572206973206e6f74207460448201526c3432903932b0b61037bbb732b960991b606482015260840161057e565b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60008061070683610a52565b6001600160a01b0316141592915050565b6001546001600160a01b031633146107875760405162461bcd60e51b815260206004820152602d60248201527f4d756c74697369674f776e61626c653a2063616c6c6572206973206e6f74207460448201526c3432903932b0b61037bbb732b960991b606482015260840161057e565b8383116107fc5760405162461bcd60e51b815260206004820152603960248201527f656e64696e6720746f6b656e206964206d757374206265206c6172676572207460448201527f68616e20746865207374617274696e6720746f6b656e20696400000000000000606482015260840161057e565b816108078585611992565b6108129060016119a9565b10156108865760405162461bcd60e51b815260206004820152603e60248201527f7468652072616e6765206f6620746f6b656e73206d757374206265206269676760448201527f6572207468616e2074686520646573697265642062617463682073697a650000606482015260840161057e565b6000826108938686611992565b61089e9060016119a9565b6108a891906119d7565b90506000836108b78787611992565b6108c29060016119a9565b6108cc91906119eb565b905060005b82811015610967576001600160a01b03841660006108ef83886119ff565b6108f9908a6119a9565b7fdeaa91b6123d068f5821d0fb0678463d1a8a6079fe8af5de3ce5e896dcf9133d600161092686826119a9565b610930908b6119ff565b61093a908d6119a9565b6109449190611992565b60405190815260200160405180910390a48061095f81611a1e565b9150506108d1565b5080156109c3576001600160a01b03831660006109848388611992565b61098f9060016119a9565b6040518881527fdeaa91b6123d068f5821d0fb0678463d1a8a6079fe8af5de3ce5e896dcf9133d9060200160405180910390a45b505050505050565b6001546001600160a01b03163314610a3b5760405162461bcd60e51b815260206004820152602d60248201527f4d756c74697369674f776e61626c653a2063616c6c6572206973206e6f74207460448201526c3432903932b0b61037bbb732b960991b606482015260840161057e565b8051610a4e90600590602084019061149e565b5050565b6040516331a9108f60e11b81526004810182905260009081906001600160a01b037f0000000000000000000000000322f6f11a94cfb1b5b6e95e059d8deb2bf17d6a1690636352211e9060240160206040518083038186803b158015610ab757600080fd5b505afa158015610acb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aef9190611a39565b6004549091506001600160a01b038083169116141561048f576040516331a9108f60e11b8152600481018490527f000000000000000000000000ef87529ca9c67a849bd7013837fc42d4de92ca826001600160a01b031690636352211e9060240160206040518083038186803b158015610b6857600080fd5b505afa158015610b7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba09190611a39565b9392505050565b60005b81811015610cab57610bd3838383818110610bc757610bc7611a56565b905060200201356106fa565b610c1f5760405162461bcd60e51b815260206004820152601360248201527f546f6b656e20646f65736e277420657869737400000000000000000000000000604482015260640161057e565b828282818110610c3157610c31611a56565b90506020020135610c59848484818110610c4d57610c4d611a56565b90506020020135610a52565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480610ca381611a1e565b915050610baa565b505050565b60058054610cbd90611941565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce990611941565b8015610d365780601f10610d0b57610100808354040283529160200191610d36565b820191906000526020600020905b815481529060010190602001808311610d1957829003601f168201915b505050505081565b6040516370a0823160e01b81526001600160a01b03828116600483015260009182917f0000000000000000000000000322f6f11a94cfb1b5b6e95e059d8deb2bf17d6a16906370a082319060240160206040518083038186803b158015610da457600080fd5b505afa158015610db8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ddc9190611a6c565b6040516370a0823160e01b81526001600160a01b0385811660048301529192507f000000000000000000000000ef87529ca9c67a849bd7013837fc42d4de92ca82909116906370a082319060240160206040518083038186803b158015610e4257600080fd5b505afa158015610e56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7a9190611a6c565b610ba090826119a9565b6000546001600160a01b03163314610ede5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161057e565b610ee86000611314565b565b6060600380546104a490611941565b6001546001600160a01b03163314610f695760405162461bcd60e51b815260206004820152602d60248201527f4d756c74697369674f776e61626c653a2063616c6c6572206973206e6f74207460448201526c3432903932b0b61037bbb732b960991b606482015260840161057e565b610cab83838330610717565b60405162461bcd60e51b815260206004820152603060248201527f436f6d70616e696f6e20746f6b656e732063616e206e6f74206265206d616e7560448201527f616c6c79207472616e7366657272656400000000000000000000000000000000606482015260840161057e565b6060610fee826106fa565b6110605760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161057e565b600061106a611371565b9050600081511161108a5760405180602001604052806000815250610ba0565b8061109484611380565b6040516020016110a5929190611a85565b6040516020818303038152906040529392505050565b6000546001600160a01b031633146111155760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161057e565b6001600160a01b03811661064f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161057e565b6001546001600160a01b031633146112015760405162461bcd60e51b815260206004820152602d60248201527f4d756c74697369674f776e61626c653a2063616c6c6572206973206e6f74207460448201526c3432903932b0b61037bbb732b960991b606482015260840161057e565b815b818111610cab578061121482610a52565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48061125e81611a1e565b915050611203565b6001546001600160a01b031633146112d65760405162461bcd60e51b815260206004820152602d60248201527f4d756c74697369674f776e61626c653a2063616c6c6572206973206e6f74207460448201526c3432903932b0b61037bbb732b960991b606482015260840161057e565b604051818152309060009084907fdeaa91b6123d068f5821d0fb0678463d1a8a6079fe8af5de3ce5e896dcf9133d9060200160405180910390a45050565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6060600580546104a490611941565b6060816113a45750506040805180820190915260018152600360fc1b602082015290565b8160005b81156113ce57806113b881611a1e565b91506113c79050600a836119d7565b91506113a8565b60008167ffffffffffffffff8111156113e9576113e96116bd565b6040519080825280601f01601f191660200182016040528015611413576020820181803683370190505b5090505b841561149657611428600183611992565b9150611435600a866119eb565b6114409060306119a9565b60f81b81838151811061145557611455611a56565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061148f600a866119d7565b9450611417565b949350505050565b8280546114aa90611941565b90600052602060002090601f0160209004810192826114cc5760008555611512565b82601f106114e557805160ff1916838001178555611512565b82800160010185558215611512579182015b828111156115125782518255916020019190600101906114f7565b5061151e929150611522565b5090565b5b8082111561151e5760008155600101611523565b60006020828403121561154957600080fd5b81356001600160e01b031981168114610ba057600080fd5b60005b8381101561157c578181015183820152602001611564565b8381111561158b576000848401525b50505050565b60208152600082518060208401526115b0816040850160208701611561565b601f01601f19169190910160400192915050565b6000602082840312156115d657600080fd5b5035919050565b6001600160a01b038116811461065857600080fd5b6000806040838503121561160557600080fd5b8235611610816115dd565b946020939093013593505050565b60006020828403121561163057600080fd5b8135610ba0816115dd565b60008060006060848603121561165057600080fd5b833561165b816115dd565b9250602084013561166b816115dd565b929592945050506040919091013590565b6000806000806080858703121561169257600080fd5b84359350602085013592506040850135915060608501356116b2816115dd565b939692955090935050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156116ee576116ee6116bd565b604051601f8501601f19908116603f01168101908282118183101715611716576117166116bd565b8160405280935085815286868601111561172f57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561175b57600080fd5b813567ffffffffffffffff81111561177257600080fd5b8201601f8101841361178357600080fd5b611496848235602084016116d3565b600080602083850312156117a557600080fd5b823567ffffffffffffffff808211156117bd57600080fd5b818501915085601f8301126117d157600080fd5b8135818111156117e057600080fd5b8660208260051b85010111156117f557600080fd5b60209290920196919550909350505050565b60008060006060848603121561181c57600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561184657600080fd5b8235611851816115dd565b91506020830135801515811461186657600080fd5b809150509250929050565b6000806000806080858703121561188757600080fd5b8435611892816115dd565b935060208501356118a2816115dd565b925060408501359150606085013567ffffffffffffffff8111156118c557600080fd5b8501601f810187136118d657600080fd5b6118e5878235602084016116d3565b91505092959194509250565b6000806040838503121561190457600080fd5b823561190f816115dd565b91506020830135611866816115dd565b6000806040838503121561193257600080fd5b50508035926020909101359150565b600181811c9082168061195557607f821691505b6020821081141561197657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156119a4576119a461197c565b500390565b600082198211156119bc576119bc61197c565b500190565b634e487b7160e01b600052601260045260246000fd5b6000826119e6576119e66119c1565b500490565b6000826119fa576119fa6119c1565b500690565b6000816000190483118215151615611a1957611a1961197c565b500290565b6000600019821415611a3257611a3261197c565b5060010190565b600060208284031215611a4b57600080fd5b8151610ba0816115dd565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611a7e57600080fd5b5051919050565b60008351611a97818460208801611561565b835190830190611aab818360208801611561565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000910190815260050194935050505056fea2646970667358221220cd7aed1f0190dea7878eed3ce44293aa4783bdf0705f15cf31d52e8441bb1d9264736f6c63430008090033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000322f6f11a94cfb1b5b6e95e059d8deb2bf17d6a000000000000000000000000ef87529ca9c67a849bd7013837fc42d4de92ca8200000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000011476f6f6e7a5363686f6f6c50686f746f73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000443475350000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d594a6b765645644544445048316270766d787a6a6147745a48675773724372455a58643653337234787543612f00000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): GoonzSchoolPhotos
Arg [1] : symbol_ (string): CGSP
Arg [2] : _ogGoonz (address): 0x0322F6f11A94CFB1b5B6E95E059d8DEB2bf17D6A
Arg [3] : _portalGoonz (address): 0xeF87529Ca9c67a849bD7013837fC42d4DE92ca82
Arg [4] : baseURI_ (string): ipfs://QmYJkvVEdEDDPH1bpvmxzjaGtZHgWsrCrEZXd6S3r4xuCa/

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000322f6f11a94cfb1b5b6e95e059d8deb2bf17d6a
Arg [3] : 000000000000000000000000ef87529ca9c67a849bd7013837fc42d4de92ca82
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [6] : 476f6f6e7a5363686f6f6c50686f746f73000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 4347535000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [10] : 697066733a2f2f516d594a6b765645644544445048316270766d787a6a614774
Arg [11] : 5a48675773724372455a58643653337234787543612f00000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ 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.