Skip to content

Instantly share code, notes, and snippets.

@vlzhr
Created May 14, 2021 09:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vlzhr/a5d0f325e1877093bb60377915dfc6fa to your computer and use it in GitHub Desktop.
Save vlzhr/a5d0f325e1877093bb60377915dfc6fa to your computer and use it in GitHub Desktop.
RIDE code snippet
func foo() = {
...
strict balanceBefore = wavesBalance(this).regular
strict z = invoke(dapp2,bar,args,[AttachedPayment(unit,100000000)])
strict balanceAfter = wavesBalance(this).regular
if(balanceAfter < balanceBefore) then ... else...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment