tx · 9Jj8TZ2Xo1LsE2g5B56xfAQHNShg6VjGxc6J2CwPASkJ

3MxWnia78EWAUh9wDwLoCrDnnagawxMKufB:  -0.00100000 Waves

2023.09.01 02:51 [2735543] smart account 3MxWnia78EWAUh9wDwLoCrDnnagawxMKufB > SELF 0.00000000 Waves

{ "type": 13, "id": "9Jj8TZ2Xo1LsE2g5B56xfAQHNShg6VjGxc6J2CwPASkJ", "fee": 100000, "feeAssetId": null, "timestamp": 1693525928220, "version": 2, "chainId": 84, "sender": "3MxWnia78EWAUh9wDwLoCrDnnagawxMKufB", "senderPublicKey": "CBYyJYjLr6QcUATF9taECtyAsBYe79dCi3xEsvxxMCaa", "proofs": [ "2eyAhzKMjMriaEUC5XdGCiRABr8AcakAo3jENXRNHBPktbwokj5VBExY2xADRSsiqETHAp1bQoFVekVfhQajAZCZ" ], "script": "base64:BgIICAISABIAEgACAANmZWUAZAAGc2NhbGU1AKCNBgMBaQEOY2FsbGJhY2tSZXR1cm4ABAZhbW91bnQJAQV2YWx1ZQEICQCRAwIIBQFpCHBheW1lbnRzAAAGYW1vdW50BAdhc3NldElkCAkAkQMCCAUBaQhwYXltZW50cwAAB2Fzc2V0SWQECWZlZUFtb3VudAkAawMFBmFtb3VudAUDZmVlBQZzY2FsZTUEDWFtb3VudFRvUmVwYXkJAGQCBQZhbW91bnQFCWZlZUFtb3VudAkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCAUBaQZjYWxsZXIFDWFtb3VudFRvUmVwYXkFB2Fzc2V0SWQJAMwIAgkBDEludGVnZXJFbnRyeQICB3JlcGF5ZWQFDWFtb3VudFRvUmVwYXkFA25pbAFpARBjYWxsYmFja05vUmV0dXJuAAQGYW1vdW50CQEFdmFsdWUBCAkAkQMCCAUBaQhwYXltZW50cwAABmFtb3VudAQHYXNzZXRJZAgJAJEDAggFAWkIcGF5bWVudHMAAAdhc3NldElkBAlmZWVBbW91bnQJAGsDBQZhbW91bnQFA2ZlZQUGc2NhbGU1BA1hbW91bnRUb1JlcGF5CQBkAgUGYW1vdW50BQlmZWVBbW91bnQJAMwIAgkBDEludGVnZXJFbnRyeQICC25vdF9yZXBheWVkBQ1hbW91bnRUb1JlcGF5BQNuaWwBaQESY2FsbGJhY2tQYXJ0UmV0dXJuAAQGYW1vdW50CQEFdmFsdWUBCAkAkQMCCAUBaQhwYXltZW50cwAABmFtb3VudAQHYXNzZXRJZAgJAJEDAggFAWkIcGF5bWVudHMAAAdhc3NldElkBAlmZWVBbW91bnQJAGsDBQZhbW91bnQFA2ZlZQUGc2NhbGU1BA1hbW91bnRUb1JlcGF5CQBkAgUGYW1vdW50BQlmZWVBbW91bnQJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwgFAWkGY2FsbGVyCQBpAgUNYW1vdW50VG9SZXBheQACBQdhc3NldElkCQDMCAIJAQxJbnRlZ2VyRW50cnkCAgtub3RfcmVwYXllZAUNYW1vdW50VG9SZXBheQUDbmlsAP25qhc=", "height": 2735543, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AGRGsAKcvvQVtvdAaFGh9wgHq2a2pUJx9yQWFZ2QSdAn Next: none Diff:
OldNewDifferences
2626 }
2727
2828
29+
30+@Callable(c)
31+func callbackPartReturn () = {
32+ let d = value(c.payments[0].amount)
33+ let e = c.payments[0].assetId
34+ let f = fraction(d, a, b)
35+ let g = (d + f)
36+[ScriptTransfer(c.caller, (g / 2), e), IntegerEntry("not_repayed", g)]
37+ }
38+
39+
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 100
55
66 let b = 100000
77
88 @Callable(c)
99 func callbackReturn () = {
1010 let d = value(c.payments[0].amount)
1111 let e = c.payments[0].assetId
1212 let f = fraction(d, a, b)
1313 let g = (d + f)
1414 [ScriptTransfer(c.caller, g, e), IntegerEntry("repayed", g)]
1515 }
1616
1717
1818
1919 @Callable(c)
2020 func callbackNoReturn () = {
2121 let d = value(c.payments[0].amount)
2222 let e = c.payments[0].assetId
2323 let f = fraction(d, a, b)
2424 let g = (d + f)
2525 [IntegerEntry("not_repayed", g)]
2626 }
2727
2828
29+
30+@Callable(c)
31+func callbackPartReturn () = {
32+ let d = value(c.payments[0].amount)
33+ let e = c.payments[0].assetId
34+ let f = fraction(d, a, b)
35+ let g = (d + f)
36+[ScriptTransfer(c.caller, (g / 2), e), IntegerEntry("not_repayed", g)]
37+ }
38+
39+

github/deemru/w8io/169f3d6 
35.60 ms