tx · FP856jTofu3WqJdhWqUgyFbJ4Pt6JeQ4qxPZEJLRzBdb
3Mz7a57rADDtRecm7MDRaqUgHMCcGJ2acKf: -0.05000000 Waves
2022.11.30 14:11 [2339762] smart account 3Mz7a57rADDtRecm7MDRaqUgHMCcGJ2acKf > SELF 0.00000000 Waves
{
"type": 13,
"id": "FP856jTofu3WqJdhWqUgyFbJ4Pt6JeQ4qxPZEJLRzBdb",
"fee": 5000000,
"feeAssetId": null,
"timestamp": 1669806695279,
"version": 2,
"chainId": 84,
"sender": "3Mz7a57rADDtRecm7MDRaqUgHMCcGJ2acKf",
"senderPublicKey": "6UfqzdFKp882zVyUTkmsrHe8n7qWMPhoVhBHkh18kmWH",
"proofs": [
"5hL7urP7e4ziajPmNUwGpSPyaTUR2W9SC6yBBiA6LTaAzuBSLN7fmTDBuEnSoH9SQyPkaXdLku6euuYmUCMfLBea"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAHZGVmYXVsdAAAAAAEAAAAC3VzZG5Bc3NldElkAQAAACD3dur394PKZdtuE+4CO89YKZWpwdGN8kvabNgdYoDI3gQAAAABeQkAA/wAAAAECQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABAgAAACMzTXVDb2ZUa2ptdjM5N2RFdVJYRTNwWnhUYjR6RFdhOTZ1bwIAAAAQaW5jcmVhc2VQb3NpdGlvbgkABEwAAAACAAAAAAAAAAACCQAETAAAAAIAAAAAAAAPQkAJAARMAAAAAgAAAAAAADT12wkABEwAAAACAgAAAApIeWZzY1JvWDRhBQAAAANuaWwJAARMAAAAAgkBAAAAD0F0dGFjaGVkUGF5bWVudAAAAAIFAAAAC3VzZG5Bc3NldElkCQAAaAAAAAIAAAAAAAAAAAoAAAAAAAAPQkAFAAAAA25pbAMJAAAAAAAAAgUAAAABeQUAAAABeQUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdJbnZva2VTY3JpcHRUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAGCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleRC6KEw=",
"height": 2339762,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 8AqvX5kLydDMgJ7L3bhG5AKzC7zQbhBqkT43vtyn9QyV
Next: 65yQjLfY2F2qyXZd5pJ2WwzQWXP3xbpymvYHgJUHTX36
Diff:
Old | New | | Differences |
---|
14 | 14 | | |
---|
15 | 15 | | |
---|
16 | 16 | | @Verifier(tx) |
---|
17 | | - | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
| 17 | + | func verify () = match tx { |
---|
| 18 | + | case tx: InvokeScriptTransaction => |
---|
| 19 | + | true |
---|
| 20 | + | case _ => |
---|
| 21 | + | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
| 22 | + | } |
---|
18 | 23 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func default () = { |
---|
8 | 8 | | let usdnAssetId = base58'HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ' |
---|
9 | 9 | | let y = invoke(addressFromStringValue("3MuCofTkjmv397dEuRXE3pZxTb4zDWa96uo"), "increasePosition", [2, 1000000, 3470811, "HyfscRoX4a"], [AttachedPayment(usdnAssetId, (10 * 1000000))]) |
---|
10 | 10 | | if ((y == y)) |
---|
11 | 11 | | then nil |
---|
12 | 12 | | else throw("Strict value is not equal to itself.") |
---|
13 | 13 | | } |
---|
14 | 14 | | |
---|
15 | 15 | | |
---|
16 | 16 | | @Verifier(tx) |
---|
17 | | - | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
| 17 | + | func verify () = match tx { |
---|
| 18 | + | case tx: InvokeScriptTransaction => |
---|
| 19 | + | true |
---|
| 20 | + | case _ => |
---|
| 21 | + | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
| 22 | + | } |
---|
18 | 23 | | |
---|