tx · EhpDrnXrkFy5dvZsiYzoRBxFuxQbvgdiLq5vVZxCyTzG

3NApHaksvsb9ZLCMrFNmz4AnUpV5EEytdG6:  -0.01000000 Waves

2021.06.10 08:32 [1563865] smart account 3NApHaksvsb9ZLCMrFNmz4AnUpV5EEytdG6 > SELF 0.00000000 Waves

{ "type": 13, "id": "EhpDrnXrkFy5dvZsiYzoRBxFuxQbvgdiLq5vVZxCyTzG", "fee": 1000000, "feeAssetId": null, "timestamp": 1623303205940, "version": 2, "chainId": 84, "sender": "3NApHaksvsb9ZLCMrFNmz4AnUpV5EEytdG6", "senderPublicKey": "G6gPQLsHXcXB4mNCeRfD2nra9dBGiPpeXEKYz1oWTzZ1", "proofs": [ "2ZyGQfay3AdvzDUAm4RUYyujB6gjsJ9njsyp8tYUWAQN1A1sWUGRk3vSYvc4PJgamK7xLPFW4Z9Du2tkmYoCXkma" ], "script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAQEAAAATZ2V0RGF0YUZyb21DdXN0b21lcgAAAAIAAAADYWRyAAAAA2tleQQAAAAEZGF0YQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAANhZHIFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAgAAAAAFAAAABGRhdGEAAAABAAAAAWkBAAAABktvb3BTQwAAAAAEAAAACWx3QWRyZXNzZQkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5BAAAAAtrb29wQWRyZXNzZQkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQEAAAAgNzM7g+ft1rsIwSSa48oebLgh9isOFkcEWda8ieIeiDIEAAAACnNlYXJjaEtleTECAAAANE5taW4tSmFocl8yMDE5LzIwMjBfQXVzYnJpbmd1bmdzdGVjaG5pay1IRi1hbmdlcGFzc3QEAAAACnNlYXJjaEtleTICAAAAHU5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IGF1cyAyIEFjY291bnRzCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAACWx3QWRyZXNzZQAAAAAAAB6EgAgFAAAAAWkAAAAKZmVlQXNzZXRJZAUAAAADbmlsCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAACnRlc3RPdXRwdXQCAAAAK1ZlcmdsZWljaCBudXIgZGVzIDEuIFdlcnRlcyB3YXIgZXJmb2xncmVpY2gJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAAJbHdBZHJlc3NlAAAAAAAAD0JACAUAAAABaQAAAApmZWVBc3NldElkBQAAAANuaWwDCQAAZwAAAAIJAQAAAA1wYXJzZUludFZhbHVlAAAAAQUAAAAHbHdEYXRhMgkBAAAADXBhcnNlSW50VmFsdWUAAAABBQAAAAlrb29wRGF0YTIJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAKdGVzdE91dHB1dAIAAAArVmVyZ2xlaWNoIG51ciBkZXMgMi4gV2VydGVzIHdhciBlcmZvbGdyZWljaAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAAlsd0FkcmVzc2UAAAAAAAAPQkAIBQAAAAFpAAAACmZlZUFzc2V0SWQFAAAAA25pbAkAAAIAAAABAgAAACFXZXJ0ZSBzaW5kIGFsbGUgVW50ZXJzY2hsaWVkbGljaCEJAAACAAAAAQIAAAAYS29vcCBpc3QgdW50ZXJzY2hpZWRsaWNoAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBgblBZD5", "height": 1563865, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: APAAB99FCzu6TwBwqDDZevac921gvfH9FkA9iGtxV6Mb Next: BkL6rt2azUHxQB1GLThbaZndXkTPjie61sj8jLtERYap Diff:
OldNewDifferences
1515 @Callable(i)
1616 func KoopSC () = {
1717 let lwAdresse = addressFromPublicKey(i.callerPublicKey)
18- let koopAdresse = addressFromPublicKey(toBytes("4iUjYybNCz33sFqfvqUfnimcf8Ur4xGRAdFWQbpntrEu"))
18+ let koopAdresse = addressFromPublicKey(base58'4iUjYybNCz33sFqfvqUfnimcf8Ur4xGRAdFWQbpntrEu')
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"
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)
18- let koopAdresse = addressFromPublicKey(toBytes("4iUjYybNCz33sFqfvqUfnimcf8Ur4xGRAdFWQbpntrEu"))
18+ let koopAdresse = addressFromPublicKey(base58'4iUjYybNCz33sFqfvqUfnimcf8Ur4xGRAdFWQbpntrEu')
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!")
3838 else throw("Koop ist unterschiedlich")
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/169f3d6 
23.51 ms