tx · 8hwAi2SuC1dbpnMbgXiWCBJmkgZJGrtbQbgCbjLDQwtZ 3MuRdCv4XdVyJ2ZyWeLQ9UDyetccqfBKnAf: -0.01000000 Waves 2022.06.06 13:53 [2084390] smart account 3MuRdCv4XdVyJ2ZyWeLQ9UDyetccqfBKnAf > SELF 0.00000000 Waves
{ "type": 13, "id": "8hwAi2SuC1dbpnMbgXiWCBJmkgZJGrtbQbgCbjLDQwtZ", "fee": 1000000, "feeAssetId": null, "timestamp": 1654512808307, "version": 2, "chainId": 84, "sender": "3MuRdCv4XdVyJ2ZyWeLQ9UDyetccqfBKnAf", "senderPublicKey": "DNrvfzSkN9uzs7ZfhrVHJikeAjHUuM4Lb7Tt3NztwSzP", "proofs": [ "4thC7YRMLbarGFo4FRbN5Gjs4oxC4ktApu8opSC82QG6yAMxgsc8pvdSiwPctMxUCbjcyjgJAizi8PEeNg9U6yuZ" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAQEAAAAHZ2V0RGF0YQAAAAIAAAADYWRyAAAAA2tleQQAAAAEZGF0YQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAANhZHIFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAgAAAAAFAAAABGRhdGEAAAABAAAAAWkBAAAABnN0YXR1cwAAAAEAAAAJdGltZXN0YW1wBAAAAA1jYWxsZXJBZGRyZXNzCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAACXB1YmxpY0tleQkAAlgAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkEAAAAEXBvc2l0aW9uSGFzaFZhbHVlCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAAlwdWJsaWNLZXkCAAAACV8wX1ByZWlzXwUAAAAJdGltZXN0YW1wAgAAAAVfaGFzaAQAAAAFcHJpY2UJAQAAAAdnZXREYXRhAAAAAgkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQEAAAAaAVR8k0GtjypXv5oVOvuYkeL+QoYLJRCIiKcCAAAAG1MxODAzMTJfNTE3MDA5MDI5N18wMDFfaGFzaAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAJcHVibGljS2V5AgAAAAxfc3RhdHVzQ29kZV8FAAAACXRpbWVzdGFtcAIAAAAHc3VjY2VzcwkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAJcHVibGljS2V5AgAAAAxfc3RhdHVzVGV4dF8FAAAACXRpbWVzdGFtcAIAAAAZQWxsZXMgUm9nZXIgaW4gS2FtYm9kc2NoYQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAARoYXNoBQAAABFwb3NpdGlvbkhhc2hWYWx1ZQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAAlwcmljZUhhc2gFAAAABXByaWNlBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAAB71m53o=", "height": 2084390, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | func getData (adr,key) = { | |
5 | + | let data = match getString(adr, key) { | |
6 | + | case a: String => | |
7 | + | a | |
8 | + | case _ => | |
9 | + | "" | |
10 | + | } | |
11 | + | data | |
12 | + | } | |
13 | + | ||
14 | + | ||
15 | + | @Callable(i) | |
16 | + | func status (timestamp) = { | |
17 | + | let callerAddress = toBase58String(i.caller.bytes) | |
18 | + | let publicKey = toBase58String(i.callerPublicKey) | |
19 | + | let positionHashValue = (((publicKey + "_0_Preis_") + timestamp) + "_hash") | |
20 | + | let price = getData(addressFromPublicKey(base58'3N1GmyGkFnyV1nasw8wiHz2w2mDboqVYKgr'), "S180312_5170090297_001_hash") | |
21 | + | [StringEntry(((publicKey + "_statusCode_") + timestamp), "success"), StringEntry(((publicKey + "_statusText_") + timestamp), "Alles Roger in Kambodscha"), StringEntry("hash", positionHashValue), StringEntry("priceHash", price)] | |
22 | + | } | |
23 | + | ||
24 | + | ||
25 | + | @Verifier(tx) | |
26 | + | func verify () = false | |
27 | + |
github/deemru/w8io/169f3d6 15.03 ms ◑