tx · Cj37SRgLmpc3Cd4gxDwYJUpmsweug62ivKf3bDJWwUL8

3N9fd5Eo9BngWyUCzYRuBNhQvYTeqKzEH16:  -0.04000000 Waves

2020.09.24 19:09 [1191607] smart account 3N9fd5Eo9BngWyUCzYRuBNhQvYTeqKzEH16 > SELF 0.00000000 Waves

{ "type": 13, "id": "Cj37SRgLmpc3Cd4gxDwYJUpmsweug62ivKf3bDJWwUL8", "fee": 4000000, "feeAssetId": null, "timestamp": 1600963902891, "version": 2, "chainId": 84, "sender": "3N9fd5Eo9BngWyUCzYRuBNhQvYTeqKzEH16", "senderPublicKey": "5UwbcyHURH1J3EKpAxtCDuQMcEEhFqe6Hm5DXV5UMu7u", "proofs": [ "5A6cD3ruxxJKhc3Ud5MoaMoVwUvuehgX6DKCncDhwTVxEnJKtyMdDQxyZCwMhVU43SuBrb7DmCHJTKW4sEerPWPJ" ], "script": "base64:AAIEAAAAAAAAAAoIAhIECgIBARIAAAAAAgAAAAALbXlwdWJsaWNrZXkBAAAAIEKXKZcWm8ZroWw2Cu6o7ASQ+/gPHWPgTLEAY1sJ+g0wAQAAABlnZXRBYndhc3Nlck1lbmdlSHlkcmF1bGlrAAAAAQAAAAlQdWJsaWNLZXkEAAAABFdlcnQEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAAJUHVibGljS2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAAGAAAAAgAAAAFpAQAAAAhkaXZpc2lvbgAAAAIAAAABYQAAAAFiBAAAAAFjCQAAawAAAAMFAAAAAWEFAAAAAWIAAAAAAAAAAfQEAAAABnJlc3VsdAkAAaQAAAABBQAAAAFjCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAACmZyYWN0aW9uIDoFAAAABnJlc3VsdAUAAAADbmlsAAAAAWkBAAAADGdldE15TWVzc2FnZQAAAAAEAAAACmN1cnJlbnRLZXkJAAEsAAAAAgkAAlgAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkCAAAABV90ZXN0BAAAAANtc2cEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAAKY3VycmVudEtleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAAAAAAAAAAAABAAAAAckbWF0Y2gwBQAAAANtc2cDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABdAUAAAAHJG1hdGNoMAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAAlteU1lc3NhZ2UJAAEsAAAAAgIAAAANcmVmZXJlbmNlIGlzIAUAAAABdAUAAAADbmlsCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAACW15TWVzc2FnZQkAASwAAAACAgAAAAVub25lIAkAAlgAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAGCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAALbXlwdWJsaWNrZXmqL3k9", "height": 1191607, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: C5voM3C8hiED2p9cWkJCwDXKVL7wyc2RW6pfFM7r4RwM Next: BDpSiMNHDrRiRLy5WSFQ4988LHK8MPT7gCNLPugQC41n Diff:
OldNewDifferences
1919
2020 @Callable(g)
2121 func division (f,h) = {
22- let i = ((f * h) / 500)
22+ let i = fraction(f, h, 500)
2323 let j = toString(i)
2424 [StringEntry("fraction :", j)]
2525 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'5UwbcyHURH1J3EKpAxtCDuQMcEEhFqe6Hm5DXV5UMu7u'
55
66 func b (c) = {
77 let d = {
88 let e = getString(this, c)
99 if ($isInstanceOf(e, "String"))
1010 then {
1111 let f = e
1212 f
1313 }
1414 else 0
1515 }
1616 true
1717 }
1818
1919
2020 @Callable(g)
2121 func division (f,h) = {
22- let i = ((f * h) / 500)
22+ let i = fraction(f, h, 500)
2323 let j = toString(i)
2424 [StringEntry("fraction :", j)]
2525 }
2626
2727
2828
2929 @Callable(g)
3030 func getMyMessage () = {
3131 let k = (toBase58String(g.callerPublicKey) + "_test")
3232 let l = {
3333 let e = getString(this, k)
3434 if ($isInstanceOf(e, "String"))
3535 then {
3636 let f = e
3737 f
3838 }
3939 else 0
4040 }
4141 let e = l
4242 if ($isInstanceOf(e, "String"))
4343 then {
4444 let m = e
4545 [StringEntry("myMessage", ("reference is " + m))]
4646 }
4747 else [StringEntry("myMessage", ("none " + toBase58String(g.callerPublicKey)))]
4848 }
4949
5050
5151 @Verifier(n)
5252 func o () = {
5353 let e = n
5454 if ($isInstanceOf(e, "SetScriptTransaction"))
5555 then {
5656 let n = e
5757 true
5858 }
5959 else sigVerify(n.bodyBytes, n.proofs[0], a)
6060 }
6161

github/deemru/w8io/026f985 
27.05 ms