Created
May 14, 2021 09:17
-
-
Save vlzhr/a5d0f325e1877093bb60377915dfc6fa to your computer and use it in GitHub Desktop.
RIDE code snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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