it should resolve under the hood for the user (doing instance checks and extracting out the subclasses from SmartContract. Similar to what i did for useClaimNFT or useClaimCondition in this PR.
Let's start with just the NFT hooks for now, and expand to the rest
Starting the change to make all our relevant hooks also accept a
SmartContract
as the input contract.Ideal API:
it should resolve under the hood for the user (doing instance checks and extracting out the subclasses from SmartContract. Similar to what i did for
useClaimNFT
oruseClaimCondition
in this PR.Let's start with just the NFT hooks for now, and expand to the rest