Skip to content

v1.2.0 - Better getColors

Latest
Compare
Choose a tag to compare
@troggy troggy released this 12 Sep 11:34
· 2 commits to master since this release
v1.2.0
a3ef083

Changed

  • BREAKING CHANGE: getColors() RPC helper now returns all the colors instead of only erc20 (#6)

Added

  • getColors RPC helper now supports ERC721 and ERC1948 (#6):
    // erc20 + erc721 + erc1948
    plasma.getColors()
    
    // erc721
    plasma.getColors('erc20')
    
    // erc721
    plasma.getColors('erc721')
    
    // erc1948
    plasma.getColors('erc1948')
    

Accompanies [email protected]