tx · AGRGsAKcvvQVtvdAaFGh9wgHq2a2pUJx9yQWFZ2QSdAn

3MxWnia78EWAUh9wDwLoCrDnnagawxMKufB:  -0.00100000 Waves

2023.09.01 02:16 [2735501] smart account 3MxWnia78EWAUh9wDwLoCrDnnagawxMKufB > SELF 0.00000000 Waves

{ "type": 13, "id": "AGRGsAKcvvQVtvdAaFGh9wgHq2a2pUJx9yQWFZ2QSdAn", "fee": 100000, "feeAssetId": null, "timestamp": 1693523808328, "version": 2, "chainId": 84, "sender": "3MxWnia78EWAUh9wDwLoCrDnnagawxMKufB", "senderPublicKey": "CBYyJYjLr6QcUATF9taECtyAsBYe79dCi3xEsvxxMCaa", "proofs": [ "FJyKetvttALjn1p9Lx6LWubeeCAUfTGeZSK8RBVeyh72ZtD5kLVtirkisPo1gSHbcMgoKqCHLqJRttvkBY6UFCc" ], "script": "base64:BgIGCAISABIAAgADZmVlAGQABnNjYWxlNQCgjQYCAWkBDmNhbGxiYWNrUmV0dXJuAAQGYW1vdW50CQEFdmFsdWUBCAkAkQMCCAUBaQhwYXltZW50cwAABmFtb3VudAQHYXNzZXRJZAgJAJEDAggFAWkIcGF5bWVudHMAAAdhc3NldElkBAlmZWVBbW91bnQJAGsDBQZhbW91bnQFA2ZlZQUGc2NhbGU1BA1hbW91bnRUb1JlcGF5CQBkAgUGYW1vdW50BQlmZWVBbW91bnQJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwgFAWkGY2FsbGVyBQ1hbW91bnRUb1JlcGF5BQdhc3NldElkCQDMCAIJAQxJbnRlZ2VyRW50cnkCAgdyZXBheWVkBQ1hbW91bnRUb1JlcGF5BQNuaWwBaQEQY2FsbGJhY2tOb1JldHVybgAEBmFtb3VudAkBBXZhbHVlAQgJAJEDAggFAWkIcGF5bWVudHMAAAZhbW91bnQEB2Fzc2V0SWQICQCRAwIIBQFpCHBheW1lbnRzAAAHYXNzZXRJZAQJZmVlQW1vdW50CQBrAwUGYW1vdW50BQNmZWUFBnNjYWxlNQQNYW1vdW50VG9SZXBheQkAZAIFBmFtb3VudAUJZmVlQW1vdW50CQDMCAIJAQxJbnRlZ2VyRW50cnkCAgtub3RfcmVwYXllZAUNYW1vdW50VG9SZXBheQUDbmlsAHEv5B4=", "height": 2735501, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 9Jj8TZ2Xo1LsE2g5B56xfAQHNShg6VjGxc6J2CwPASkJ Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 6 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let a = 100
5+
6+let b = 100000
7+
8+@Callable(c)
9+func callbackReturn () = {
10+ let d = value(c.payments[0].amount)
11+ let e = c.payments[0].assetId
12+ let f = fraction(d, a, b)
13+ let g = (d + f)
14+[ScriptTransfer(c.caller, g, e), IntegerEntry("repayed", g)]
15+ }
16+
17+
18+
19+@Callable(c)
20+func callbackNoReturn () = {
21+ let d = value(c.payments[0].amount)
22+ let e = c.payments[0].assetId
23+ let f = fraction(d, a, b)
24+ let g = (d + f)
25+[IntegerEntry("not_repayed", g)]
26+ }
27+
28+

github/deemru/w8io/169f3d6 
14.04 ms