MOE Docs
  • Intro
  • MOE ERC20 Token
    • Specifications
    • Read Contract
    • Write Contract
    • Burned Uniswap LP Token
    • CEX Listing Reserve
  • MOE TRADING CARD
    • Specifications
    • Read Contract
    • Write Contract
    • jsonId
    • JSON Templates
  • OTAKU HERO CONTRACT
    • Specifications
    • Read Contract
    • Write Contract
    • Deprecated
  • PUBLIC API
    • MOE Public API
  • DAO
    • Specifications
    • Wrapped MOE Token
    • Timelock Controller
    • Governor
    • Tally
Powered by GitBook
On this page
  • balanceOf
  • fee
  • getApproved
  • isApprovedForAll
  • moeErc20Address
  • name
  • nftInfo
  • ownerOf
  • supportsInterface
  • symbol
  • tokenMoe
  • tokenIsOriginal
  • tokenIsSecondaryCreation
  • tokenJsonId
  • tokenOriginalCreator
  • tokenURI
  1. MOE TRADING CARD

Read Contract

balanceOf

  • owner(address)

  • uint256

fee

This returns the amount of MOE required to mint an MOE Trading Card NFT.

  • uint256

  • It alwasy returns 10*18(1 MOE)

getApproved

  • tokenId(uint256)

  • address

isApprovedForAll

  • owner(address)

  • operator(address)

  • bool

moeErc20Address

This is the address of the linked MOE token.

  • address

name

  • string

  • It always returns "MOE TRADING CARD"

nftInfo

This returns the custom data specific to the MOE Trading Card.

  • tokenId(uint256)

  • uri(string): JSON metadata uri

  • originalCreator(string): original creator

  • jsonId(bytes4): JSON ID

  • isSecondaryCreation(bool): secondary creation

ownerOf

  • tokenId(uint256)

  • address

supportsInterface

  • interfaceId(bytes4)

  • bool

symbol

  • string

  • It always returns "MOETC"

tokenMoe

  • tokenId(uint256)

  • uint256

tokenIsOriginal

This function signifies whether the token has been issued by the copyright holder. However, this does not assure copyright verification. Users must verify the authenticity themselves through evidence in the metadata to confirm its originality.

  • tokenId(uint256)

  • bool

tokenIsSecondaryCreation

This returns the secondary creation status of the NFT with an given index of tokenId.

  • tokenId(uint256)

  • bool

tokenJsonId

This returns the jsonId of the NFT with an given index of tokenId.

  • tokenId(uint256)

  • bytes4

tokenOriginalCreator

This returns the origianl creator of the NFT with an given index of tokenId.

  • tokenId(uint256)

  • string

tokenURI

  • tokenId(uint256)

  • string

This returns the total amount of MOE tokens used as NFT issuance fees.

PreviousSpecificationsNextWrite Contract

Last updated 1 year ago