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
While Sway/VM accepts it, forwarding a 0 amount to a contract call when using BaseInvocationScope is not possible.
This limitation exists because coinQuantityfy is used and it rounds any value below 1 up to 1.
However, contract logic can still utilize a 0 amount for specific validations, as all payable Sway functions require a forwarded amount to be provided.
The text was updated successfully, but these errors were encountered:
While Sway/VM accepts it, forwarding a
0
amount to a contract call when usingBaseInvocationScope
is not possible.This limitation exists because coinQuantityfy is used and it rounds any value below
1
up to1
.However, contract logic can still utilize a
0
amount for specific validations, as all payable Sway functions require a forwarded amount to be provided.The text was updated successfully, but these errors were encountered: