tx · 5py5ayMJpU5UCtDZxqVjDpAFUiJ6LrfgkpKoxxdS2NXg
3Mq4h4zSRfzW5SeSW3iNmxWeTEDhHDY8tue: -0.01400000 Waves
2021.08.27 18:09 [1676910] smart account 3Mq4h4zSRfzW5SeSW3iNmxWeTEDhHDY8tue > SELF 0.00000000 Waves
{
"type": 13,
"id": "5py5ayMJpU5UCtDZxqVjDpAFUiJ6LrfgkpKoxxdS2NXg",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1630076965790,
"version": 2,
"chainId": 84,
"sender": "3Mq4h4zSRfzW5SeSW3iNmxWeTEDhHDY8tue",
"senderPublicKey": "3tzmQZDQbQbwZJn8Jggg8dDkHC6UXcwsGgpUXFx1jhAT",
"proofs": [
"4KVgBb3dYYtWNr4tX7fSt39moEgtxUgf6XNL3xxhTbcCeBS1uXgeXnQgVSQ5AE1RLckAdoUGPCfCDuRzAfiEx6Wx"
],
"script": "base64:AAIFAAAAAAAAAFcIAhoLCgJhMRIFYWRtaW4aCQoCYTISA2RleBoICgJhMxICdHgaDAoCYTQSBnZlcmlmeRoNCgJhNRIHJG1hdGNoMBoJCgJhNhIDdHR4GgkKAmE3EgNpbnYAAAACAAAAAAJhMQkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQIAAAAjM045N0c5OGJQRjVnaG5aMWlNbVE3dE1INk1Cc05ablMyNzIAAAAAAmEyCQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABAgAAACMzTkREM2lmQUMxN2NMenh1WXFzZ1hEUlk5RFRRNUJxbXZ3TAAAAAAAAAABAAAAAmEzAQAAAAJhNAAAAAAEAAAAAmE1BQAAAAJhMwMJAAABAAAAAgUAAAACYTUCAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAmE2BQAAAAJhNQMJAAAAAAAAAggFAAAAAmE2AAAACXJlY2lwaWVudAUAAAACYTEJAAnEAAAAAwgFAAAAAmE2AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACYTYAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACYTYAAAAPc2VuZGVyUHVibGljS2V5BwMJAAABAAAAAgUAAAACYTUCAAAAF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBAAAAAJhNwUAAAACYTUDCQAAAAAAAAIIBQAAAAJhNwAAAARkQXBwBQAAAAJhMgkACcQAAAADCAUAAAACYTcAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJhNwAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJhNwAAAA9zZW5kZXJQdWJsaWNLZXkHBwgiyH8=",
"height": 1676910,
"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 | + | let admin = addressFromStringValue("3N97G98bPF5ghnZ1iMmQ7tMH6MBsNZnS272") |
---|
| 5 | + | |
---|
| 6 | + | let dex = addressFromStringValue("3NDD3ifAC17cLzxuYqsgXDRY9DTQ5BqmvwL") |
---|
| 7 | + | |
---|
| 8 | + | |
---|
| 9 | + | @Verifier(tx) |
---|
| 10 | + | func verify () = match tx { |
---|
| 11 | + | case ttx: TransferTransaction => |
---|
| 12 | + | if ((ttx.recipient == admin)) |
---|
| 13 | + | then sigVerify_8Kb(ttx.bodyBytes, ttx.proofs[0], ttx.senderPublicKey) |
---|
| 14 | + | else false |
---|
| 15 | + | case inv: InvokeScriptTransaction => |
---|
| 16 | + | if ((inv.dApp == dex)) |
---|
| 17 | + | then sigVerify_8Kb(inv.bodyBytes, inv.proofs[0], inv.senderPublicKey) |
---|
| 18 | + | else false |
---|
| 19 | + | case _ => |
---|
| 20 | + | false |
---|
| 21 | + | } |
---|
| 22 | + | |
---|