NFT(ERC-721) Contract

Address

Address : (Address is different for each collection)

on Klaytn Blockchain Main-net

Summary

An NFT contract defines an NFT mapped to a collection. Otherworld's NFTs are issued at the request of a minting contract based on the offering data generated in the offering contract.

  • Defines a 'name'.

  • Defines a 'symbol'.

  • Defines the maximum supply.

  • Defines the mint-able state.

  • Defines the token-transferable state.

  • Issues 'NFT'.

    • Defines the token ID.

    • Defines the token URI.

Data

Base

Name
Type

Name

String

Symbol

String

Max Supply

Uint

Mint Enabled

Boolean

Paused

Boolean

Base Token URI

String

Created Timestamp

Uint

NFT

Name
Type

ID

Uint

Token URI

String

NFT Metadata (IPFS URL)

Name
Type

Name

String

Description EN

String

Description KR

String

Description JP

String

License

String

External URL

String

Image

String

Background Color

String

Animation URL

String

Youtube URL

String

Attributes

String

Event

Transfer

Name
Type

From

Address

To

Address

Token ID

Uint

Approval

Name
Type

Owner

Address

Approved

Address

Token ID

Uint

Approval For All

Name
Type

Owner

Address

Operator

Address

Approved

Boolean

Paused

Name
Type

Account

Address

Unpaused

Name
Type

Account

Address

Burned

Name
Type

Account

Address

Interface

interface IOWNFT {
    function mintOfOffering(address _to, uint256 _amount)
        external
        returns (bool);

    function mintOfAdmin(address _to, uint256 _amount) external;

    function pause() external;

    function unpause() external;

    function setMaxSupply(uint256 _maxSupply) external;

    function setBaseTokenURI(string calldata _baseURI) external;

    function setMintEnabled(bool _mintEnabled) external;

    function getMaxSupply() external view returns (uint256);

    function getTotalMinting() external view returns (uint256);

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

    function getMintEnabled() external view returns (bool);

    function getPaused() external view returns (bool);

    function setTokenRoyalty(
        uint256 tokenId,
        address recipient,
        uint96 fraction
    ) external;

    function setDefaultRoyalty(address recipient, uint96 fraction) external;

    function getDefaultRoyalty()
        external
        view
        returns (ERC2981.RoyaltyInfo memory);

    function deleteDefaultRoyalty() external;
}

Last updated