tx · EQz868NF4j1Wek94sqHYqCX7WxkpMkxkgQEemTx5oN6r

3Mt5iKEfiATrrSsi5VhxmAPRtESbd2Zzimg:  -0.01000000 Waves

2022.12.13 01:17 [2357697] smart account 3Mt5iKEfiATrrSsi5VhxmAPRtESbd2Zzimg > SELF 0.00000000 Waves

{ "type": 13, "id": "EQz868NF4j1Wek94sqHYqCX7WxkpMkxkgQEemTx5oN6r", "fee": 1000000, "feeAssetId": null, "timestamp": 1670883526759, "version": 2, "chainId": 84, "sender": "3Mt5iKEfiATrrSsi5VhxmAPRtESbd2Zzimg", "senderPublicKey": "9BT2z4pwSFbgMzyDSXcHsZoPkPzcs29Fz2WqggQWH4qX", "proofs": [ "3TCvv3pxKzcjvs7UL68aczxdQtxDnNK9nJ51StMy4U9uZDTTDRG6kR7UXYDrpeFy9AyqrimMMxKVsbR4TNoo7Eq5" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAwAAAAAEdXNkTgEAAAAAAAAAAAxleGNoYW5nZVJhdGUAAAAAAAAAAAUAAAAABnN0YWtlcgkBAAAAB0FkZHJlc3MAAAABAQAAAAAAAAABAAAAAWkBAAAAAWMAAAAAAwkBAAAAAiE9AAAAAggJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAHYXNzZXRJZAUAAAAEdW5pdAkAAAIAAAABAgAAABB1bmV4cGVjdGVkIGFzc2V0CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcggJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAGYW1vdW50CAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAAAAAdhc3NldElkBQAAAANuaWwAAAAAMz6NZg==", "height": 2357697, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BgKFvQ2xG3aLVSCBrKUtg233SvArdmecTs9cvwngHmke Next: 87UzGjp1oUSMKu2JFeopswsUzsVo7ZqecqNkVshtgBRA Diff:
OldNewDifferences
1010 @Callable(i)
1111 func c () = if ((i.payments[0].assetId != unit))
1212 then throw("unexpected asset")
13- else {
14- let r = invoke(staker, "cancelStake", [(i.payments[0].amount * exchangeRate)], nil)
15- if ((r == r))
16- then [ScriptTransfer(i.caller, (i.payments[0].amount * exchangeRate), usdN)]
17- else throw("Strict value is not equal to itself.")
18- }
13+ else [ScriptTransfer(i.caller, i.payments[0].amount, i.payments[0].assetId)]
1914
2015
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)
1111 func c () = if ((i.payments[0].assetId != unit))
1212 then throw("unexpected asset")
13- else {
14- let r = invoke(staker, "cancelStake", [(i.payments[0].amount * exchangeRate)], nil)
15- if ((r == r))
16- then [ScriptTransfer(i.caller, (i.payments[0].amount * exchangeRate), usdN)]
17- else throw("Strict value is not equal to itself.")
18- }
13+ else [ScriptTransfer(i.caller, i.payments[0].amount, i.payments[0].assetId)]
1914
2015

github/deemru/w8io/169f3d6 
39.35 ms