tx · BDpSiMNHDrRiRLy5WSFQ4988LHK8MPT7gCNLPugQC41n
3N9fd5Eo9BngWyUCzYRuBNhQvYTeqKzEH16: -0.04000000 Waves
2020.09.24 19:12 [1191609] smart account 3N9fd5Eo9BngWyUCzYRuBNhQvYTeqKzEH16 > SELF 0.00000000 Waves
{
"type": 13,
"id": "BDpSiMNHDrRiRLy5WSFQ4988LHK8MPT7gCNLPugQC41n",
"fee": 4000000,
"feeAssetId": null,
"timestamp": 1600963951496,
"version": 2,
"chainId": 84,
"sender": "3N9fd5Eo9BngWyUCzYRuBNhQvYTeqKzEH16",
"senderPublicKey": "5UwbcyHURH1J3EKpAxtCDuQMcEEhFqe6Hm5DXV5UMu7u",
"proofs": [
"3cuxKLHGC5fJtcUZA3M26uJLHRYravr3DFq1wQzVMaAQP4RFwWuC9HszfrP7iQN3Bwk54fYTZpLQmVRihiiYprJi"
],
"script": "base64:AAIEAAAAAAAAAAoIAhIECgIBARIAAAAAAgAAAAALbXlwdWJsaWNrZXkBAAAAIEKXKZcWm8ZroWw2Cu6o7ASQ+/gPHWPgTLEAY1sJ+g0wAQAAABlnZXRBYndhc3Nlck1lbmdlSHlkcmF1bGlrAAAAAQAAAAlQdWJsaWNLZXkEAAAABFdlcnQEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAAJUHVibGljS2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAAGAAAAAgAAAAFpAQAAAAhkaXZpc2lvbgAAAAIAAAABYQAAAAFiBAAAAAFjCQAAawAAAAMFAAAAAWEFAAAAAWIAAAAAAAAAAfQEAAAABnJlc3VsdAkAAaQAAAABBQAAAAFjCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAADm5ldyBmcmFjdGlvbiA6BQAAAAZyZXN1bHQFAAAAA25pbAAAAAFpAQAAAAxnZXRNeU1lc3NhZ2UAAAAABAAAAApjdXJyZW50S2V5CQABLAAAAAIJAAJYAAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5AgAAAAVfdGVzdAQAAAADbXNnBAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAABHRoaXMFAAAACmN1cnJlbnRLZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQAAAAAAAAAAAAQAAAAHJG1hdGNoMAUAAAADbXNnAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAXQFAAAAByRtYXRjaDAJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAJbXlNZXNzYWdlCQABLAAAAAICAAAADXJlZmVyZW5jZSBpcyAFAAAAAXQFAAAAA25pbAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAAlteU1lc3NhZ2UJAAEsAAAAAgIAAAAFbm9uZSAJAAJYAAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwBgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAC215cHVibGlja2V50RgW8g==",
"height": 1191609,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: Cj37SRgLmpc3Cd4gxDwYJUpmsweug62ivKf3bDJWwUL8
Next: BQrtKotsWaGhURgWEwEs8DNndFczEwaaZLxeVi5MLCyV
Diff:
Old | New | | Differences |
---|
18 | 18 | | func division (a,b) = { |
---|
19 | 19 | | let c = fraction(a, b, 500) |
---|
20 | 20 | | let result = toString(c) |
---|
21 | | - | [StringEntry("fraction :", result)] |
---|
| 21 | + | [StringEntry("new fraction :", result)] |
---|
22 | 22 | | } |
---|
23 | 23 | | |
---|
24 | 24 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let mypublickey = base58'5UwbcyHURH1J3EKpAxtCDuQMcEEhFqe6Hm5DXV5UMu7u' |
---|
5 | 5 | | |
---|
6 | 6 | | func getAbwasserMengeHydraulik (PublicKey) = { |
---|
7 | 7 | | let Wert = match getString(this, PublicKey) { |
---|
8 | 8 | | case a: String => |
---|
9 | 9 | | a |
---|
10 | 10 | | case _ => |
---|
11 | 11 | | 0 |
---|
12 | 12 | | } |
---|
13 | 13 | | true |
---|
14 | 14 | | } |
---|
15 | 15 | | |
---|
16 | 16 | | |
---|
17 | 17 | | @Callable(i) |
---|
18 | 18 | | func division (a,b) = { |
---|
19 | 19 | | let c = fraction(a, b, 500) |
---|
20 | 20 | | let result = toString(c) |
---|
21 | | - | [StringEntry("fraction :", result)] |
---|
| 21 | + | [StringEntry("new fraction :", result)] |
---|
22 | 22 | | } |
---|
23 | 23 | | |
---|
24 | 24 | | |
---|
25 | 25 | | |
---|
26 | 26 | | @Callable(i) |
---|
27 | 27 | | func getMyMessage () = { |
---|
28 | 28 | | let currentKey = (toBase58String(i.callerPublicKey) + "_test") |
---|
29 | 29 | | let msg = match getString(this, currentKey) { |
---|
30 | 30 | | case a: String => |
---|
31 | 31 | | a |
---|
32 | 32 | | case _ => |
---|
33 | 33 | | 0 |
---|
34 | 34 | | } |
---|
35 | 35 | | match msg { |
---|
36 | 36 | | case t: String => |
---|
37 | 37 | | [StringEntry("myMessage", ("reference is " + t))] |
---|
38 | 38 | | case _ => |
---|
39 | 39 | | [StringEntry("myMessage", ("none " + toBase58String(i.callerPublicKey)))] |
---|
40 | 40 | | } |
---|
41 | 41 | | } |
---|
42 | 42 | | |
---|
43 | 43 | | |
---|
44 | 44 | | @Verifier(tx) |
---|
45 | 45 | | func verify () = match tx { |
---|
46 | 46 | | case tx: SetScriptTransaction => |
---|
47 | 47 | | true |
---|
48 | 48 | | case _ => |
---|
49 | 49 | | sigVerify(tx.bodyBytes, tx.proofs[0], mypublickey) |
---|
50 | 50 | | } |
---|
51 | 51 | | |
---|