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 |
---|
21 | 21 | | func division (f,h) = { |
---|
22 | 22 | | let i = fraction(f, h, 500) |
---|
23 | 23 | | let j = toString(i) |
---|
24 | | - | [StringEntry("fraction :", j)] |
---|
| 24 | + | [StringEntry("new fraction :", j)] |
---|
25 | 25 | | } |
---|
26 | 26 | | |
---|
27 | 27 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = base58'5UwbcyHURH1J3EKpAxtCDuQMcEEhFqe6Hm5DXV5UMu7u' |
---|
5 | 5 | | |
---|
6 | 6 | | func b (c) = { |
---|
7 | 7 | | let d = { |
---|
8 | 8 | | let e = getString(this, c) |
---|
9 | 9 | | if ($isInstanceOf(e, "String")) |
---|
10 | 10 | | then { |
---|
11 | 11 | | let f = e |
---|
12 | 12 | | f |
---|
13 | 13 | | } |
---|
14 | 14 | | else 0 |
---|
15 | 15 | | } |
---|
16 | 16 | | true |
---|
17 | 17 | | } |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|
20 | 20 | | @Callable(g) |
---|
21 | 21 | | func division (f,h) = { |
---|
22 | 22 | | let i = fraction(f, h, 500) |
---|
23 | 23 | | let j = toString(i) |
---|
24 | | - | [StringEntry("fraction :", j)] |
---|
| 24 | + | [StringEntry("new fraction :", j)] |
---|
25 | 25 | | } |
---|
26 | 26 | | |
---|
27 | 27 | | |
---|
28 | 28 | | |
---|
29 | 29 | | @Callable(g) |
---|
30 | 30 | | func getMyMessage () = { |
---|
31 | 31 | | let k = (toBase58String(g.callerPublicKey) + "_test") |
---|
32 | 32 | | let l = { |
---|
33 | 33 | | let e = getString(this, k) |
---|
34 | 34 | | if ($isInstanceOf(e, "String")) |
---|
35 | 35 | | then { |
---|
36 | 36 | | let f = e |
---|
37 | 37 | | f |
---|
38 | 38 | | } |
---|
39 | 39 | | else 0 |
---|
40 | 40 | | } |
---|
41 | 41 | | let e = l |
---|
42 | 42 | | if ($isInstanceOf(e, "String")) |
---|
43 | 43 | | then { |
---|
44 | 44 | | let m = e |
---|
45 | 45 | | [StringEntry("myMessage", ("reference is " + m))] |
---|
46 | 46 | | } |
---|
47 | 47 | | else [StringEntry("myMessage", ("none " + toBase58String(g.callerPublicKey)))] |
---|
48 | 48 | | } |
---|
49 | 49 | | |
---|
50 | 50 | | |
---|
51 | 51 | | @Verifier(n) |
---|
52 | 52 | | func o () = { |
---|
53 | 53 | | let e = n |
---|
54 | 54 | | if ($isInstanceOf(e, "SetScriptTransaction")) |
---|
55 | 55 | | then { |
---|
56 | 56 | | let n = e |
---|
57 | 57 | | true |
---|
58 | 58 | | } |
---|
59 | 59 | | else sigVerify(n.bodyBytes, n.proofs[0], a) |
---|
60 | 60 | | } |
---|
61 | 61 | | |
---|