You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Classes right now are just data objects with some decoration. Ideally, they would be able to take the current consolidated state, and throw errors if an illegal op is attempted.
constc=newConsolidator(/** hydrated adapter **/);c->consolidate();constmyNFT=newSafeNFT(data,c);myNFT->send(myAddress,"//Bob");// Throw New Error("Unable to send NFT, sender does not own it");
The text was updated successfully, but these errors were encountered:
Classes right now are just data objects with some decoration. Ideally, they would be able to take the current consolidated state, and throw errors if an illegal op is attempted.
The text was updated successfully, but these errors were encountered: