tx · 65yQjLfY2F2qyXZd5pJ2WwzQWXP3xbpymvYHgJUHTX36
3Mz7a57rADDtRecm7MDRaqUgHMCcGJ2acKf: -0.05000000 Waves
2022.11.30 14:30 [2339781] smart account 3Mz7a57rADDtRecm7MDRaqUgHMCcGJ2acKf > SELF 0.00000000 Waves
{
"type": 13,
"id": "65yQjLfY2F2qyXZd5pJ2WwzQWXP3xbpymvYHgJUHTX36",
"fee": 5000000,
"feeAssetId": null,
"timestamp": 1669807932651,
"version": 2,
"chainId": 84,
"sender": "3Mz7a57rADDtRecm7MDRaqUgHMCcGJ2acKf",
"senderPublicKey": "6UfqzdFKp882zVyUTkmsrHe8n7qWMPhoVhBHkh18kmWH",
"proofs": [
"2G49bngyqCdwF9zmzbpPjiptBM3uYxfkB4E7vnvWfdeNhosHuXD6VMip1WWAWdeg3f27fvQV7H8ZgLNUtd2M2K5N"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAHZGVmYXVsdAAAAAAEAAAAC3VzZG5Bc3NldElkAQAAACD3dur394PKZdtuE+4CO89YKZWpwdGN8kvabNgdYoDI3gQAAAABeQkAA/wAAAAECQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABAgAAACMzTXVDb2ZUa2ptdjM5N2RFdVJYRTNwWnhUYjR6RFdhOTZ1bwIAAAAQaW5jcmVhc2VQb3NpdGlvbgkABEwAAAACAAAAAAAAAAACCQAETAAAAAIAAAAAAAAPQkAJAARMAAAAAgAAAAAAADT12wkABEwAAAACAgAAAApIeWZzY1JvWDRhBQAAAANuaWwJAARMAAAAAgkBAAAAD0F0dGFjaGVkUGF5bWVudAAAAAIFAAAAC3VzZG5Bc3NldElkCQAAaAAAAAIAAAAAAAAAAAoAAAAAAAAPQkAFAAAAA25pbAMJAAAAAAAAAgUAAAABeQUAAAABeQUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdJbnZva2VTY3JpcHRUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAJAAAAAAAAAggFAAAAAnR4AAAABGRBcHAFAAAABHRoaXMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V51jVXdw==",
"height": 2339781,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: FP856jTofu3WqJdhWqUgyFbJ4Pt6JeQ4qxPZEJLRzBdb
Next: 7UC4fdB6E3CsBGv9p771fT3LcSyhU59sn4KkSZx62jmy
Diff:
Old | New | | Differences |
---|
16 | 16 | | @Verifier(tx) |
---|
17 | 17 | | func verify () = match tx { |
---|
18 | 18 | | case tx: InvokeScriptTransaction => |
---|
19 | | - | true |
---|
| 19 | + | (tx.dApp == this) |
---|
20 | 20 | | case _ => |
---|
21 | 21 | | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
22 | 22 | | } |
---|
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 | 17 | | func verify () = match tx { |
---|
18 | 18 | | case tx: InvokeScriptTransaction => |
---|
19 | | - | true |
---|
| 19 | + | (tx.dApp == this) |
---|
20 | 20 | | case _ => |
---|
21 | 21 | | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
22 | 22 | | } |
---|
23 | 23 | | |
---|