Skip to content

Releases: PWNDAO/MultiToken

MultiToken v1.1.0

04 Apr 11:14
Compare
Choose a tag to compare

Changes

  • function safeTransferFrom is used for transferring ERC721 tokens (previously transferFrom)

New functions

  • isValid - checks that internal rules applies for asset:
    • ERC20 id has to be 0
    • ERC721 amount has to be 1
    • amount has to be >0 for any category
  • isSameAs - check that given struct are representing the same asset (could vary in amount)

MultiToken v1.0.3

14 Feb 16:52
Compare
Choose a tag to compare

This patch release fixes compilation error by adding checks for unsupported category.