tx · HqDg4o1pAr1aMVzrguahFoB3CRzfzoj9qZgea98MecXL 3NApHaksvsb9ZLCMrFNmz4AnUpV5EEytdG6: -0.01000000 Waves 2021.06.09 16:40 [1562890] smart account 3NApHaksvsb9ZLCMrFNmz4AnUpV5EEytdG6 > SELF 0.00000000 Waves
{ "type": 13, "id": "HqDg4o1pAr1aMVzrguahFoB3CRzfzoj9qZgea98MecXL", "fee": 1000000, "feeAssetId": null, "timestamp": 1623246007946, "version": 2, "chainId": 84, "sender": "3NApHaksvsb9ZLCMrFNmz4AnUpV5EEytdG6", "senderPublicKey": "G6gPQLsHXcXB4mNCeRfD2nra9dBGiPpeXEKYz1oWTzZ1", "proofs": [ "k5fnQymjcZ4pcMstB2HQVND4S6CMjcKWep1f7gLArZMV6mudwQbKsxatgd2Dxw9seBNmHm2V9kB4f1AsMEmsTHB" ], "script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAQEAAAATZ2V0RGF0YUZyb21DdXN0b21lcgAAAAIAAAADYWRyAAAAA2tleQQAAAAEZGF0YQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAANhZHIFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAgAAAAAFAAAABGRhdGEAAAABAAAAAWkBAAAAB2NoZWNrQlQAAAAABAAAAAlsd0FkcmVzc2UJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQQAAAALa29vcEFkcmVzc2UJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEJAAGbAAAAAQIAAAAjM05CcHRMTDdoSmVORXZUVnhIQnFWdFcxY3laMkhuUXdROVYEAAAACnNlYXJjaEtleTECAAAANE5taW4tSmFocl8yMDE5LzIwMjBfQXVzYnJpbmd1bmdzdGVjaG5pay1IRi1hbmdlcGFzc3QEAAAACnNlYXJjaEtleTICAAAAHU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lIGF1cyAyIEFjY291bnRzCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAACWx3QWRyZXNzZQAAAAAAAB6EgAgFAAAAAWkAAAAKZmVlQXNzZXRJZAUAAAADbmlsCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAACnRlc3RPdXRwdXQCAAAAK1ZlcmdsZWljaCBudXIgZGVzIDEuIFdlcnRlcyB3YXIgZXJmb2xncmVpY2gJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAAJbHdBZHJlc3NlAAAAAAAAD0JACAUAAAABaQAAAApmZWVBc3NldElkBQAAAANuaWwDCQAAZwAAAAIJAQAAAA1wYXJzZUludFZhbHVlAAAAAQUAAAAHbHdEYXRhMgkBAAAADXBhcnNlSW50VmFsdWUAAAABBQAAAAlrb29wRGF0YTIJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAKdGVzdE91dHB1dAIAAAArVmVyZ2xlaWNoIG51ciBkZXMgMi4gV2VydGVzIHdhciBlcmZvbGdyZWljaAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAAlsd0FkcmVzc2UAAAAAAAAPQkAIBQAAAAFpAAAACmZlZUFzc2V0SWQFAAAAA25pbAkAAAIAAAABAgAAACFXZXJ0ZSBzaW5kIGFsbGUgVW50ZXJzY2hsaWVkbGljaCEJAAACAAAAAQIAAAAYS29vcCBpc3QgdW50ZXJzY2hpZWRsaWNoAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBga/pN00", "height": 1562890, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: J5yqVFodXFy31ADijQDZrDswNrXDNAUKLrfGGr9xhA9m Next: Fzj1RYqDG9n1ZzWAXYqoiizHDEw6uU1fNGcHg8QcjvS Diff:
Old | New | Differences | |
---|---|---|---|
20 | 20 | let h = addressFromPublicKey(g.callerPublicKey) | |
21 | 21 | let i = addressFromPublicKey(toBytes("3NBptLL7hJeNEvTVxHBqVtW1cyZ2HnQwQ9V")) | |
22 | 22 | let j = "Nmin-Jahr_2019/2020_Ausbringungstechnik-HF-angepasst" | |
23 | - | let k = "Nmin-Jahr_2019/2020_Kooperationsname" | |
24 | - | let l = a(h, j) | |
25 | - | let m = a(i, j) | |
26 | - | let n = a(h, k) | |
27 | - | let o = a(i, k) | |
28 | - | let p = 0 | |
29 | - | let q = [0] | |
30 | - | if (if ((n == o)) | |
31 | - | then (l == m) | |
32 | - | else false) | |
33 | - | then [StringEntry("testOutput", "Vergleiche Stringwerte aus 2 Accounts"), ScriptTransfer(h, 1000000, g.feeAssetId)] | |
34 | - | else throw("vergleich der Daten aus 2 Accs hat nicht geklappt") | |
23 | + | let k = "Nmin-Jahr_2019/2020_NO3_30-60" | |
24 | + | let l = "Nmin-Jahr_2019/2020_Kooperationsname" | |
25 | + | let m = a(h, j) | |
26 | + | let n = a(i, j) | |
27 | + | let o = a(h, k) | |
28 | + | let p = a(i, k) | |
29 | + | let q = a(h, l) | |
30 | + | let r = a(i, l) | |
31 | + | let s = 0 | |
32 | + | let t = [0] | |
33 | + | if ((q == r)) | |
34 | + | then if ((m == n)) | |
35 | + | then if ((parseIntValue(o) >= parseIntValue(p))) | |
36 | + | then [StringEntry("testOutput", "Vergleiche 2 Stringwerte aus 2 Accounts"), ScriptTransfer(h, 2000000, g.feeAssetId)] | |
37 | + | else [StringEntry("testOutput", "Vergleich nur des 1. Wertes war erfolgreich"), ScriptTransfer(h, 1000000, g.feeAssetId)] | |
38 | + | else if ((parseIntValue(o) >= parseIntValue(p))) | |
39 | + | then [StringEntry("testOutput", "Vergleich nur des 2. Wertes war erfolgreich"), ScriptTransfer(h, 1000000, g.feeAssetId)] | |
40 | + | else throw("Werte sind alle Unterschliedlich!") | |
41 | + | else throw("Koop ist unterschiedlich") | |
35 | 42 | } | |
36 | 43 | ||
37 | 44 | ||
38 | - | @Verifier( | |
39 | - | func | |
40 | - | let e = | |
45 | + | @Verifier(u) | |
46 | + | func v () = { | |
47 | + | let e = u | |
41 | 48 | if ($isInstanceOf(e, "DataTransaction")) | |
42 | 49 | then true | |
43 | 50 | else if ($isInstanceOf(e, "SetScriptTransaction")) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func a (b,c) = { | |
5 | 5 | let d = { | |
6 | 6 | let e = getString(b, c) | |
7 | 7 | if ($isInstanceOf(e, "String")) | |
8 | 8 | then { | |
9 | 9 | let f = e | |
10 | 10 | f | |
11 | 11 | } | |
12 | 12 | else "" | |
13 | 13 | } | |
14 | 14 | d | |
15 | 15 | } | |
16 | 16 | ||
17 | 17 | ||
18 | 18 | @Callable(g) | |
19 | 19 | func checkBT () = { | |
20 | 20 | let h = addressFromPublicKey(g.callerPublicKey) | |
21 | 21 | let i = addressFromPublicKey(toBytes("3NBptLL7hJeNEvTVxHBqVtW1cyZ2HnQwQ9V")) | |
22 | 22 | let j = "Nmin-Jahr_2019/2020_Ausbringungstechnik-HF-angepasst" | |
23 | - | let k = "Nmin-Jahr_2019/2020_Kooperationsname" | |
24 | - | let l = a(h, j) | |
25 | - | let m = a(i, j) | |
26 | - | let n = a(h, k) | |
27 | - | let o = a(i, k) | |
28 | - | let p = 0 | |
29 | - | let q = [0] | |
30 | - | if (if ((n == o)) | |
31 | - | then (l == m) | |
32 | - | else false) | |
33 | - | then [StringEntry("testOutput", "Vergleiche Stringwerte aus 2 Accounts"), ScriptTransfer(h, 1000000, g.feeAssetId)] | |
34 | - | else throw("vergleich der Daten aus 2 Accs hat nicht geklappt") | |
23 | + | let k = "Nmin-Jahr_2019/2020_NO3_30-60" | |
24 | + | let l = "Nmin-Jahr_2019/2020_Kooperationsname" | |
25 | + | let m = a(h, j) | |
26 | + | let n = a(i, j) | |
27 | + | let o = a(h, k) | |
28 | + | let p = a(i, k) | |
29 | + | let q = a(h, l) | |
30 | + | let r = a(i, l) | |
31 | + | let s = 0 | |
32 | + | let t = [0] | |
33 | + | if ((q == r)) | |
34 | + | then if ((m == n)) | |
35 | + | then if ((parseIntValue(o) >= parseIntValue(p))) | |
36 | + | then [StringEntry("testOutput", "Vergleiche 2 Stringwerte aus 2 Accounts"), ScriptTransfer(h, 2000000, g.feeAssetId)] | |
37 | + | else [StringEntry("testOutput", "Vergleich nur des 1. Wertes war erfolgreich"), ScriptTransfer(h, 1000000, g.feeAssetId)] | |
38 | + | else if ((parseIntValue(o) >= parseIntValue(p))) | |
39 | + | then [StringEntry("testOutput", "Vergleich nur des 2. Wertes war erfolgreich"), ScriptTransfer(h, 1000000, g.feeAssetId)] | |
40 | + | else throw("Werte sind alle Unterschliedlich!") | |
41 | + | else throw("Koop ist unterschiedlich") | |
35 | 42 | } | |
36 | 43 | ||
37 | 44 | ||
38 | - | @Verifier( | |
39 | - | func | |
40 | - | let e = | |
45 | + | @Verifier(u) | |
46 | + | func v () = { | |
47 | + | let e = u | |
41 | 48 | if ($isInstanceOf(e, "DataTransaction")) | |
42 | 49 | then true | |
43 | 50 | else if ($isInstanceOf(e, "SetScriptTransaction")) | |
44 | 51 | then true | |
45 | 52 | else true | |
46 | 53 | } | |
47 | 54 |
github/deemru/w8io/026f985 23.70 ms ◑