Skip to content

Version 0.4.2 - Everything can have a soul

Pre-release
Pre-release
Compare
Choose a tag to compare
@toledoroy toledoroy released this 11 Jul 01:18
· 39 commits to main since this release
91f172c

Summary

  • Renamed 'Incident' to 'Reaction'

  • Souls can now be assigned and minted by Contracts

Added Functionality

Soul Types

Soul minting (& Game Creation) emits an event with the type of the soul

Type is the symbol of the contract, "CONTRACT" if there's no symbol and empty "" if not a contract

/// Soul Type Change
event SoulType(uint256 indexed tokenId, string soulType);

Get Soul type

types(tokenId);