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:AAIEAAAAAAAAAAQIAhIAAAAAAQEAAAATZ2V0RGF0YUZyb21DdXN0b21lcgAAAAIAAAADYWRyAAAAA2tleQQAAAAEZGF0YQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAANhZHIFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAgAAAAAFAAAABGRhdGEAAAABAAAAAWkBAAAAB2NoZWNrQlQAAAAABAAAAAlsd0FkcmVzc2UJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQQAAAALa29vcEFkcmVzc2UJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEJAAGbAAAAAQIAAAAjM05CcHRMTDdoSmVORXZUVnhIQnFWdFcxY3laMkhuUXdROVYEAAAACnNlYXJjaEtleTECAAAANE5taW4tSmFocl8yMDE5LzIwMjBfQXVzYnJpbmd1bmdzdGVjaG5pay1IRi1hbmdlcGFzc3QEAAAACnNlYXJjaEtleTICAAAAH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RlIGF1cyAyIEFjY291bnRzCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAACWx3QWRyZXNzZQAAAAAAAB6EgAgFAAAAAWkAAAAKZmVlQXNzZXRJZAUAAAADbmlsCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAACnRlc3RPdXRwdXQCAAAAK1ZlcmdsZWljaCBudXIgZGVzIDEuIFdlcnRlcyB3YXIgZXJmb2xncmVpY2gJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAAJbHdBZHJlc3NlAAAAAAAAD0JACAUAAAABaQAAAApmZWVBc3NldElkBQAAAANuaWwDCQAAZwAAAAIJAQAAAA1wYXJzZUludFZhbHVlAAAAAQUAAAAHbHdEYXRhMgkBAAAADXBhcnNlSW50VmFsdWUAAAABBQAAAAlrb29wRGF0YTIJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAKdGVzdE91dHB1dAIAAAArVmVyZ2xlaWNoIG51ciBkZXMgMi4gV2VydGVzIHdhciBlcmZvbGdyZWljaAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAAlsd0FkcmVzc2UAAAAAAAAPQkAIBQAAAAFpAAAACmZlZUFzc2V0SWQFAAAAA25pbAkAAAIAAAABAgAAACFXZXJ0ZSBzaW5kIGFsbGUgVW50ZXJzY2hsaWVkbGljaCEJAAACAAAAAQIAAAAYS29vcCBpc3QgdW50ZXJzY2hpZWRsaWNoAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBga/pN00", "height": 1562890, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: J5yqVFodXFy31ADijQDZrDswNrXDNAUKLrfGGr9xhA9m Next: Fzj1RYqDG9n1ZzWAXYqoiizHDEw6uU1fNGcHg8QcjvS Diff:
OldNewDifferences
2020 let h = addressFromPublicKey(g.callerPublicKey)
2121 let i = addressFromPublicKey(toBytes("3NBptLL7hJeNEvTVxHBqVtW1cyZ2HnQwQ9V"))
2222 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")
3542 }
3643
3744
38-@Verifier(r)
39-func s () = {
40- let e = r
45+@Verifier(u)
46+func v () = {
47+ let e = u
4148 if ($isInstanceOf(e, "DataTransaction"))
4249 then true
4350 else if ($isInstanceOf(e, "SetScriptTransaction"))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b,c) = {
55 let d = {
66 let e = getString(b, c)
77 if ($isInstanceOf(e, "String"))
88 then {
99 let f = e
1010 f
1111 }
1212 else ""
1313 }
1414 d
1515 }
1616
1717
1818 @Callable(g)
1919 func checkBT () = {
2020 let h = addressFromPublicKey(g.callerPublicKey)
2121 let i = addressFromPublicKey(toBytes("3NBptLL7hJeNEvTVxHBqVtW1cyZ2HnQwQ9V"))
2222 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")
3542 }
3643
3744
38-@Verifier(r)
39-func s () = {
40- let e = r
45+@Verifier(u)
46+func v () = {
47+ let e = u
4148 if ($isInstanceOf(e, "DataTransaction"))
4249 then true
4350 else if ($isInstanceOf(e, "SetScriptTransaction"))
4451 then true
4552 else true
4653 }
4754

github/deemru/w8io/026f985 
23.70 ms