tx · B7JP1pK35WZBrnk2zivNjCUMwiK2WvarMyXDgy97UGgK
3NApHaksvsb9ZLCMrFNmz4AnUpV5EEytdG6: -0.01000000 Waves
2021.06.08 20:10 [1561669] smart account 3NApHaksvsb9ZLCMrFNmz4AnUpV5EEytdG6 > SELF 0.00000000 Waves
{
"type": 13,
"id": "B7JP1pK35WZBrnk2zivNjCUMwiK2WvarMyXDgy97UGgK",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1623172234190,
"version": 2,
"chainId": 84,
"sender": "3NApHaksvsb9ZLCMrFNmz4AnUpV5EEytdG6",
"senderPublicKey": "G6gPQLsHXcXB4mNCeRfD2nra9dBGiPpeXEKYz1oWTzZ1",
"proofs": [
"2CzAbFi1bYwcWoMRREAKDwptibmqn56KzbvoWBsdpLpsM9anazLuH9r6thPcMULwXqj5j4M2r4jTcD1mXSMHAetS"
],
"script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAQEAAAATZ2V0RGF0YUZyb21DdXN0b21lcgAAAAIAAAADYWRyAAAAA2tleQQAAAAEZGF0YQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAANhZHIFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAgAAAAAFAAAABGRhdGEAAAABAAAAAWkBAAAAB2NoZWNrQlQAAAAABAAAAAlsd0FkcmVzc2UJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQQAAAALa29vcEFkcmVzc2UJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEJAAGbAAAAAQIAAAAjM05CcHRMTDdoSmVORXZUVnhIQnFWdFcxY3laMkhuUXdROVYEAAAACXNlYXJjaEtleQIAAAA0Tm1pbi1KYWhyXzIwMTkvMjAyMF9BdXNicmluZ3VuZ3N0ZWNobmlrLUhGLWFuZ2VwYXNzdAQAAAANa29vcFZlcmdsZWljaAIAAAAkTm1pbi1KYWhyXzIwMTkvMjAyMF9Lb29wZXJhdGlvbnNuYW1lBAAAAAZsd0RhdGEJAQAAABNnZXREYXRhRnJvbUN1c3RvbWVyAAAAAgUAAAAJbHdBZHJlc3NlBQAAAAlzZWFyY2hLZXkEAAAACGtvb3BEYXRhCQEAAAATZ2V0RGF0YUZyb21DdXN0b21lcgAAAAIFAAAAC2tvb3BBZHJlc3NlBQAAAAlzZWFyY2hLZXkEAAAABWluZGV4AAAAAAAAAAAAAwkAAAAAAAACBQAAAAZsd0RhdGEFAAAACGtvb3BEYXRhCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAACnRlc3RPdXRwdXQCAAAAJVZlcmdsZWljaGUgU3RyaW5nd2VydGUgYXVzIDIgQWNjb3VudHMJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAAJbHdBZHJlc3NlAAAAAAAAD0JACAUAAAABaQAAAApmZWVBc3NldElkBQAAAANuaWwJAAACAAAAAQIAAAAxdmVyZ2xlaWNoIGRlciBEYXRlbiBhdXMgMiBBY2NzIGhhdCBuaWNodCBnZWtsYXBwdAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24GAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgYGnXmNdA==",
"height": 1561669,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 7okm9nmLJczhmmWFMgTLKNUdZcWkj2zJWvCGgwZH9uFe
Next: J5yqVFodXFy31ADijQDZrDswNrXDNAUKLrfGGr9xhA9m
Diff:
Old | New | | Differences |
---|
16 | 16 | | func checkBT () = { |
---|
17 | 17 | | let lwAdresse = addressFromPublicKey(i.callerPublicKey) |
---|
18 | 18 | | let koopAdresse = addressFromPublicKey(toBytes("3NBptLL7hJeNEvTVxHBqVtW1cyZ2HnQwQ9V")) |
---|
19 | | - | let searchKey = "testSCstring" |
---|
20 | | - | let searchKey2 = "testSCmulti" |
---|
| 19 | + | let searchKey = "Nmin-Jahr_2019/2020_Ausbringungstechnik-HF-angepasst" |
---|
| 20 | + | let koopVergleich = "Nmin-Jahr_2019/2020_Kooperationsname" |
---|
21 | 21 | | let lwData = getDataFromCustomer(lwAdresse, searchKey) |
---|
22 | 22 | | let koopData = getDataFromCustomer(koopAdresse, searchKey) |
---|
23 | 23 | | let index = 0 |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | func getDataFromCustomer (adr,key) = { |
---|
5 | 5 | | let data = match getString(adr, key) { |
---|
6 | 6 | | case a: String => |
---|
7 | 7 | | a |
---|
8 | 8 | | case _ => |
---|
9 | 9 | | "" |
---|
10 | 10 | | } |
---|
11 | 11 | | data |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | @Callable(i) |
---|
16 | 16 | | func checkBT () = { |
---|
17 | 17 | | let lwAdresse = addressFromPublicKey(i.callerPublicKey) |
---|
18 | 18 | | let koopAdresse = addressFromPublicKey(toBytes("3NBptLL7hJeNEvTVxHBqVtW1cyZ2HnQwQ9V")) |
---|
19 | | - | let searchKey = "testSCstring" |
---|
20 | | - | let searchKey2 = "testSCmulti" |
---|
| 19 | + | let searchKey = "Nmin-Jahr_2019/2020_Ausbringungstechnik-HF-angepasst" |
---|
| 20 | + | let koopVergleich = "Nmin-Jahr_2019/2020_Kooperationsname" |
---|
21 | 21 | | let lwData = getDataFromCustomer(lwAdresse, searchKey) |
---|
22 | 22 | | let koopData = getDataFromCustomer(koopAdresse, searchKey) |
---|
23 | 23 | | let index = 0 |
---|
24 | 24 | | if ((lwData == koopData)) |
---|
25 | 25 | | then [StringEntry("testOutput", "Vergleiche Stringwerte aus 2 Accounts"), ScriptTransfer(lwAdresse, 1000000, i.feeAssetId)] |
---|
26 | 26 | | else throw("vergleich der Daten aus 2 Accs hat nicht geklappt") |
---|
27 | 27 | | } |
---|
28 | 28 | | |
---|
29 | 29 | | |
---|
30 | 30 | | @Verifier(tx) |
---|
31 | 31 | | func verify () = match tx { |
---|
32 | 32 | | case _: DataTransaction => |
---|
33 | 33 | | true |
---|
34 | 34 | | case _: SetScriptTransaction => |
---|
35 | 35 | | true |
---|
36 | 36 | | case _ => |
---|
37 | 37 | | true |
---|
38 | 38 | | } |
---|
39 | 39 | | |
---|