Skip to content

0xPabloLI/marshmallow-v1

Repository files navigation

marshmallow-v1

Smart contracts for the Marshmallow V1

Deployed contracts

Contracts&Miner use

  1. Production:

  2. Staging

Functions

  • ERC712_VERSION
  • addMinter
  • addWhitelistAdmin
  • balanceOf
  • balanceOfBatch
  • burn
  • burnBatch
  • contractURI
  • create
  • creators
  • executeMetaTransaction
  • getChainId
  • getDomainSeperator
  • getNonce
  • isApprovedForAll
  • isMinter
  • isWhitelistAdmin
  • maxSupply
  • mint
  • name
  • owner
  • removeMinter
  • removeWhitelistAdmin
  • renounceMinter
  • renounceOwnership
  • renounceWhitelistAdmin
  • safeBatchTransferFrom
  • safeTransferFrom
  • setApprovalForAll
  • setTokenURI
  • supportsInterface
  • symbol
  • tokenMaxSupply
  • tokenSupply
  • transferOwnership
  • uri

Main functions

create(postId, 20, 10, 'https://ipfs.io/ipfs/bafkreiewkeucchypjyuru67goraapvs2tuyntcs7nbktklicz2a223oea4', 0x0): create NFT token in contract, return tokenId

mint(account.address, 2, 10, 0x0): mint NFT for user, tokenId 2, quantity 10

safeBatchTransferFrom(fromAddress, toAddress, [tokenId1, tokenId2], [tokenAmount1, tokenAmount2], 0x0)

setTokenURI(tokenId, 'https://ipfs.io/ipfs/bafkreiewkeucchypjyuru67goraapvs2tuyntcs7nbktklicz2a223oea4'): set token uri

About

Smart contracts for the Marshmallow V1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published