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
Currently, the user has to figure out the spending purpose of its script by hand.
Technically, we could introduce two seperate functions "validate_spending" and "validate_minting", which will automatically be executed in case of either a minting or a sepnding purpose.
This could also be realized as a stdlib function where the user can pass in the two functions as arguments.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently, the user has to figure out the spending purpose of its script by hand.
Technically, we could introduce two seperate functions "validate_spending" and "validate_minting", which will automatically be executed in case of either a minting or a sepnding purpose.
This could also be realized as a stdlib function where the user can pass in the two functions as arguments.
Beta Was this translation helpful? Give feedback.
All reactions