tx · BQrtKotsWaGhURgWEwEs8DNndFczEwaaZLxeVi5MLCyV

3N9fd5Eo9BngWyUCzYRuBNhQvYTeqKzEH16:  -0.04000000 Waves

2020.09.24 20:04 [1191665] smart account 3N9fd5Eo9BngWyUCzYRuBNhQvYTeqKzEH16 > SELF 0.00000000 Waves

{ "type": 13, "id": "BQrtKotsWaGhURgWEwEs8DNndFczEwaaZLxeVi5MLCyV", "fee": 4000000, "feeAssetId": null, "timestamp": 1600967126807, "version": 2, "chainId": 84, "sender": "3N9fd5Eo9BngWyUCzYRuBNhQvYTeqKzEH16", "senderPublicKey": "5UwbcyHURH1J3EKpAxtCDuQMcEEhFqe6Hm5DXV5UMu7u", "proofs": [ "3GWquTz5ndBCH6142VUtRJoD3ajDYvCTLdemHVfTRqjXGZ4ooBiuWLaN2RiY9Lrj8Fs1oxgwq2YaW5H8hs2BpHSC" ], "script": "base64:AAIEAAAAAAAAAAoIAhIECgIBARIAAAAAAgAAAAALbXlwdWJsaWNrZXkBAAAAIEKXKZcWm8ZroWw2Cu6o7ASQ+/gPHWPgTLEAY1sJ+g0wAQAAABlnZXRBYndhc3Nlck1lbmdlSHlkcmF1bGlrAAAAAQAAAAlQdWJsaWNLZXkEAAAABFdlcnQEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAAJUHVibGljS2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAAGAAAAAgAAAAFpAQAAAAhkaXZpc2lvbgAAAAIAAAABYQAAAAFiBAAAAAFjCQAAaQAAAAIJAABoAAAAAgkAAGgAAAACBQAAAAFhBQAAAAFiAAAAAAAAAABkAAAAAAAAAAH0BAAAAAZyZXN1bHQJAAGkAAAAAQUAAAABYwkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAA5uZXcgZnJhY3Rpb24gOgUAAAAGcmVzdWx0BQAAAANuaWwAAAABaQEAAAAMZ2V0TXlNZXNzYWdlAAAAAAQAAAAKY3VycmVudEtleQkAASwAAAACCQACWAAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQIAAAAFX3Rlc3QEAAAAA21zZwQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAR0aGlzBQAAAApjdXJyZW50S2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAAEAAAAByRtYXRjaDAFAAAAA21zZwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAF0BQAAAAckbWF0Y2gwCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAACW15TWVzc2FnZQkAASwAAAACAgAAAA1yZWZlcmVuY2UgaXMgBQAAAAF0BQAAAANuaWwJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAJbXlNZXNzYWdlCQABLAAAAAICAAAABW5vbmUgCQACWAAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAtteXB1YmxpY2tlec0uarQ=", "height": 1191665, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BDpSiMNHDrRiRLy5WSFQ4988LHK8MPT7gCNLPugQC41n Next: 2CqBRwhHoh2rb1bfPBp9BgTGUZZVAcfFMvg8STU3oC3s Diff:
OldNewDifferences
1616
1717 @Callable(i)
1818 func division (a,b) = {
19- let c = fraction(a, b, 500)
19+ let c = (((a * b) * 100) / 500)
2020 let result = toString(c)
2121 [StringEntry("new fraction :", result)]
2222 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let mypublickey = base58'5UwbcyHURH1J3EKpAxtCDuQMcEEhFqe6Hm5DXV5UMu7u'
55
66 func getAbwasserMengeHydraulik (PublicKey) = {
77 let Wert = match getString(this, PublicKey) {
88 case a: String =>
99 a
1010 case _ =>
1111 0
1212 }
1313 true
1414 }
1515
1616
1717 @Callable(i)
1818 func division (a,b) = {
19- let c = fraction(a, b, 500)
19+ let c = (((a * b) * 100) / 500)
2020 let result = toString(c)
2121 [StringEntry("new fraction :", result)]
2222 }
2323
2424
2525
2626 @Callable(i)
2727 func getMyMessage () = {
2828 let currentKey = (toBase58String(i.callerPublicKey) + "_test")
2929 let msg = match getString(this, currentKey) {
3030 case a: String =>
3131 a
3232 case _ =>
3333 0
3434 }
3535 match msg {
3636 case t: String =>
3737 [StringEntry("myMessage", ("reference is " + t))]
3838 case _ =>
3939 [StringEntry("myMessage", ("none " + toBase58String(i.callerPublicKey)))]
4040 }
4141 }
4242
4343
4444 @Verifier(tx)
4545 func verify () = match tx {
4646 case tx: SetScriptTransaction =>
4747 true
4848 case _ =>
4949 sigVerify(tx.bodyBytes, tx.proofs[0], mypublickey)
5050 }
5151

github/deemru/w8io/026f985 
32.36 ms