tx · 8odmb9wc9a6y7nSBkyKKqRfLKeRkMGbDYEsMDcS4dojD
3NApHaksvsb9ZLCMrFNmz4AnUpV5EEytdG6: -0.04000000 Waves
2021.04.08 15:20 [1473460] smart account 3NApHaksvsb9ZLCMrFNmz4AnUpV5EEytdG6 > SELF 0.00000000 Waves
{
"type": 13,
"id": "8odmb9wc9a6y7nSBkyKKqRfLKeRkMGbDYEsMDcS4dojD",
"fee": 4000000,
"feeAssetId": null,
"timestamp": 1617884459903,
"version": 2,
"chainId": 84,
"sender": "3NApHaksvsb9ZLCMrFNmz4AnUpV5EEytdG6",
"senderPublicKey": "G6gPQLsHXcXB4mNCeRfD2nra9dBGiPpeXEKYz1oWTzZ1",
"proofs": [
"5tvjsQE3QTY95BrsGi9sGHFAmjoh8bHPpLUkDP4QREoie5aMrA7jXc18TMg8aZrpsMB8R7kQkjwcd2QoJX7PHcZw"
],
"script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAHY2hlY2tQSAAAAAAEAAAADWt1bmRlbkFkcmVzc2UJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQQAAAAHcGhWYWx1ZQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAA1rdW5kZW5BZHJlc3NlAgAAAAADCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQIAAAAAAwkAAAAAAAACBQAAAAdwaFZhbHVlAgAAAARoYWxvCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAADWt1bmRlbkFkcmVzc2UAAAAAAAAPQkAIBQAAAAFpAAAACmZlZUFzc2V0SWQFAAAAA25pbAkAAAIAAAABAgAAABNub3RoaW5nIHRvIHNlZSBoZXJlAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBgZSWj4P",
"height": 1473460,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 4ut6wkDuTpGWkjjppM3e8pANqRs6Aojj9wF1Huirh58H
Next: FnQnSg5RcfYwrmNeiQJY3HMmVtbtD9gbLX3ZRA8EhJZZ
Diff:
Old | New | | Differences |
---|
14 | 14 | | } |
---|
15 | 15 | | if ((phValue == "halo")) |
---|
16 | 16 | | then [ScriptTransfer(kundenAdresse, 1000000, i.feeAssetId)] |
---|
17 | | - | else throw("nothing") |
---|
| 17 | + | else throw("nothing to see here") |
---|
18 | 18 | | } |
---|
19 | 19 | | |
---|
20 | 20 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func checkPH () = { |
---|
8 | 8 | | let kundenAdresse = addressFromPublicKey(i.callerPublicKey) |
---|
9 | 9 | | let phValue = match getString(kundenAdresse, "") { |
---|
10 | 10 | | case a: String => |
---|
11 | 11 | | a |
---|
12 | 12 | | case _ => |
---|
13 | 13 | | "" |
---|
14 | 14 | | } |
---|
15 | 15 | | if ((phValue == "halo")) |
---|
16 | 16 | | then [ScriptTransfer(kundenAdresse, 1000000, i.feeAssetId)] |
---|
17 | | - | else throw("nothing") |
---|
| 17 | + | else throw("nothing to see here") |
---|
18 | 18 | | } |
---|
19 | 19 | | |
---|
20 | 20 | | |
---|
21 | 21 | | @Verifier(tx) |
---|
22 | 22 | | func verify () = match tx { |
---|
23 | 23 | | case _: DataTransaction => |
---|
24 | 24 | | true |
---|
25 | 25 | | case _: SetScriptTransaction => |
---|
26 | 26 | | true |
---|
27 | 27 | | case _ => |
---|
28 | 28 | | true |
---|
29 | 29 | | } |
---|
30 | 30 | | |
---|