tx · BgKFvQ2xG3aLVSCBrKUtg233SvArdmecTs9cvwngHmke

3Mt5iKEfiATrrSsi5VhxmAPRtESbd2Zzimg:  -0.01000000 Waves

2022.12.13 01:16 [2357696] smart account 3Mt5iKEfiATrrSsi5VhxmAPRtESbd2Zzimg > SELF 0.00000000 Waves

{ "type": 13, "id": "BgKFvQ2xG3aLVSCBrKUtg233SvArdmecTs9cvwngHmke", "fee": 1000000, "feeAssetId": null, "timestamp": 1670883427534, "version": 2, "chainId": 84, "sender": "3Mt5iKEfiATrrSsi5VhxmAPRtESbd2Zzimg", "senderPublicKey": "9BT2z4pwSFbgMzyDSXcHsZoPkPzcs29Fz2WqggQWH4qX", "proofs": [ "43i9us5K1oWPx4CEsRMFp8qxTi8afXi5Jby4h1TzRQSHLHftShx1e3BuoFKxEodvZ7YYsSyhy8vpkdxFWAG3cU1B" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAwAAAAAEdXNkTgEAAAAAAAAAAAxleGNoYW5nZVJhdGUAAAAAAAAAAAUAAAAABnN0YWtlcgkBAAAAB0FkZHJlc3MAAAABAQAAAAAAAAABAAAAAWkBAAAAAWMAAAAAAwkBAAAAAiE9AAAAAggJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAHYXNzZXRJZAUAAAAEdW5pdAkAAAIAAAABAgAAABB1bmV4cGVjdGVkIGFzc2V0BAAAAAFyCQAD/AAAAAQFAAAABnN0YWtlcgIAAAALY2FuY2VsU3Rha2UJAARMAAAAAgkAAGgAAAACCAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAAAAAZhbW91bnQFAAAADGV4Y2hhbmdlUmF0ZQUAAAADbmlsBQAAAANuaWwDCQAAAAAAAAIFAAAAAXIFAAAAAXIJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyCQAAaAAAAAIICQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAAAAAABmFtb3VudAUAAAAMZXhjaGFuZ2VSYXRlBQAAAAR1c2ROBQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAHf0W6Y=", "height": 2357696, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2LhUteRbZZEaFsZg5gvGBasXaMYgC4pkctUBeJJCjQUR Next: EQz868NF4j1Wek94sqHYqCX7WxkpMkxkgQEemTx5oN6r Diff:
OldNewDifferences
88 let staker = Address(base58'')
99
1010 @Callable(i)
11-func b () = if ((i.payments[0].assetId != unit))
11+func c () = if ((i.payments[0].assetId != unit))
1212 then throw("unexpected asset")
1313 else {
1414 let r = invoke(staker, "cancelStake", [(i.payments[0].amount * exchangeRate)], nil)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let usdN = base58''
55
66 let exchangeRate = 5
77
88 let staker = Address(base58'')
99
1010 @Callable(i)
11-func b () = if ((i.payments[0].assetId != unit))
11+func c () = if ((i.payments[0].assetId != unit))
1212 then throw("unexpected asset")
1313 else {
1414 let r = invoke(staker, "cancelStake", [(i.payments[0].amount * exchangeRate)], nil)
1515 if ((r == r))
1616 then [ScriptTransfer(i.caller, (i.payments[0].amount * exchangeRate), usdN)]
1717 else throw("Strict value is not equal to itself.")
1818 }
1919
2020

github/deemru/w8io/169f3d6 
24.51 ms