Convert getHtsStorageAt
into a method to support persistent state
#178
Labels
feature
Enhancing an existing feature driven by business requirements. Typically backwards compatible.
PR #173 introduces a stateful mechanism to deal with
tokenURI
occupying more than one slot. This state is global, which lacks flexibility and could cause issues and confusion (given the state is not explicit) for consumers of the package.To solve this problem, we should convert the
getHtsStorageAt
function into a class method and move the persistent state into the new class. This way, the state is now explicit, avoiding any surprise to the user.The text was updated successfully, but these errors were encountered: