tx · Huvco4c6qNWa9qLjemU9WGz56d4EcNTiDGDQM9Px1L2s

3NApHaksvsb9ZLCMrFNmz4AnUpV5EEytdG6:  -0.01000000 Waves

2021.06.09 16:55 [1562905] smart account 3NApHaksvsb9ZLCMrFNmz4AnUpV5EEytdG6 > SELF 0.00000000 Waves

{ "type": 13, "id": "Huvco4c6qNWa9qLjemU9WGz56d4EcNTiDGDQM9Px1L2s", "fee": 1000000, "feeAssetId": null, "timestamp": 1623246945591, "version": 2, "chainId": 84, "sender": "3NApHaksvsb9ZLCMrFNmz4AnUpV5EEytdG6", "senderPublicKey": "G6gPQLsHXcXB4mNCeRfD2nra9dBGiPpeXEKYz1oWTzZ1", "proofs": [ "3nTmYMqLvk8CXWMuPjzJsTLZPtJZvCaMTBG1eCChXBBVFZ1eqsgbRq9XkVUqCEn2MvGoD8GznqiNeC1unNttAnR6" ], "script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAQEAAAATZ2V0RGF0YUZyb21DdXN0b21lcgAAAAIAAAADYWRyAAAAA2tleQQAAAAEZGF0YQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAANhZHIFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAgAAAAAFAAAABGRhdGEAAAABAAAAAWkBAAAABktvb3BTQwAAAAAEAAAACWx3QWRyZXNzZQkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5BAAAAAtrb29wQWRyZXNzZQkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQkAAZsAAAABAgAAACMzTkJwdExMN2hKZU5FdlRWeEhCcVZ0VzFjeVoySG5Rd1E5VgQAAAAKc2VhcmNoS2V5MQIAAAA0Tm1pbi1KYWhyXzIwMTkvMjAyMF9BdXNicmluZ3VuZ3N0ZWNobmlrLUhGLWFuZ2VwYXNzdAQAAAAK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F0YVRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24GBo1iQdQ=", "height": 1562905, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2DdH2ZgfZKqcqsv8TeNpVre6it6h7L4SEsKehajT4gB6 Next: Cqaqx5E1v54D6UR2u3vnFDub3yJMuaa9Rv69MYoo7Fub Diff:
OldNewDifferences
3535 else if ((parseIntValue(lwData2) >= parseIntValue(koopData2)))
3636 then [StringEntry("testOutput", "Vergleich nur des 2. Wertes war erfolgreich"), ScriptTransfer(lwAdresse, 1000000, i.feeAssetId)]
3737 else throw("Werte sind alle Unterschliedlich!")
38- else throw(((("Koop ist unterschiedlich, checkLW=" + checkLw) + "| checkKoop=") + checkKoop))
38+ else throw((((("Koop ist unterschiedlich, checkLW=" + checkLw) + "| checkKoop=") + checkKoop) + " test "))
3939 }
4040
4141
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func getDataFromCustomer (adr,key) = {
55 let data = match getString(adr, key) {
66 case a: String =>
77 a
88 case _ =>
99 ""
1010 }
1111 data
1212 }
1313
1414
1515 @Callable(i)
1616 func KoopSC () = {
1717 let lwAdresse = addressFromPublicKey(i.callerPublicKey)
1818 let koopAdresse = addressFromPublicKey(toBytes("3NBptLL7hJeNEvTVxHBqVtW1cyZ2HnQwQ9V"))
1919 let searchKey1 = "Nmin-Jahr_2019/2020_Ausbringungstechnik-HF-angepasst"
2020 let searchKey2 = "Nmin-Jahr_2019/2020_NO3_30-60"
2121 let koopVergleich = "Nmin-Jahr_2019/2020_Kooperationsname"
2222 let lwData1 = getDataFromCustomer(lwAdresse, searchKey1)
2323 let koopData1 = getDataFromCustomer(koopAdresse, searchKey1)
2424 let lwData2 = getDataFromCustomer(lwAdresse, searchKey2)
2525 let koopData2 = getDataFromCustomer(koopAdresse, searchKey2)
2626 let checkLw = getDataFromCustomer(lwAdresse, koopVergleich)
2727 let checkKoop = getDataFromCustomer(koopAdresse, koopVergleich)
2828 let index = 0
2929 let auszahlung = [0]
3030 if ((checkLw == checkKoop))
3131 then if ((lwData1 == koopData1))
3232 then if ((parseIntValue(lwData2) >= parseIntValue(koopData2)))
3333 then [StringEntry("testOutput", "Vergleiche 2 Stringwerte aus 2 Accounts"), ScriptTransfer(lwAdresse, 2000000, i.feeAssetId)]
3434 else [StringEntry("testOutput", "Vergleich nur des 1. Wertes war erfolgreich"), ScriptTransfer(lwAdresse, 1000000, i.feeAssetId)]
3535 else if ((parseIntValue(lwData2) >= parseIntValue(koopData2)))
3636 then [StringEntry("testOutput", "Vergleich nur des 2. Wertes war erfolgreich"), ScriptTransfer(lwAdresse, 1000000, i.feeAssetId)]
3737 else throw("Werte sind alle Unterschliedlich!")
38- else throw(((("Koop ist unterschiedlich, checkLW=" + checkLw) + "| checkKoop=") + checkKoop))
38+ else throw((((("Koop ist unterschiedlich, checkLW=" + checkLw) + "| checkKoop=") + checkKoop) + " test "))
3939 }
4040
4141
4242 @Verifier(tx)
4343 func verify () = match tx {
4444 case _: DataTransaction =>
4545 true
4646 case _: SetScriptTransaction =>
4747 true
4848 case _ =>
4949 true
5050 }
5151

github/deemru/w8io/026f985 
26.34 ms