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
1616
1717 @Callable(i)
1818 func division (a,b) = {
19- let c = ((a * b) / 500)
19+ let c = fraction(a, b, 500)
2020 let result = toString(c)
2121 [StringEntry("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 = ((a * b) / 500)
19+ let c = fraction(a, b, 500)
2020 let result = toString(c)
2121 [StringEntry("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 
30.66 ms