tx · 9VTRsGQ5D61cbzC33c9PojQPmTn8eayd2RqdmqkzSwFm
3N2fQyLpGVGFA7bBuya4k1KEJ4HAQ3uPPeb: -0.01000000 Waves
2023.05.19 19:55 [2585123] smart account 3N2fQyLpGVGFA7bBuya4k1KEJ4HAQ3uPPeb > SELF 0.00000000 Waves
{
"type": 13,
"id": "9VTRsGQ5D61cbzC33c9PojQPmTn8eayd2RqdmqkzSwFm",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1684515375702,
"version": 2,
"chainId": 84,
"sender": "3N2fQyLpGVGFA7bBuya4k1KEJ4HAQ3uPPeb",
"senderPublicKey": "GdwTAyJVhiQAjh3wBktHyKVNze2yykhKKWfiArxQQCtj",
"proofs": [
"4wfjbAnXXRMSPpwgnjZnCE4VE3Y91mTDoXYt2USkrhDRBfkVxPv4rffKhm9XY9GWKdA5TSxcz1uQRd3aUXGjhfum"
],
"script": "base64:BgICCAIAAAEBdAEGdmVyaWZ5AAQHJG1hdGNoMAUBdAMJAAECBQckbWF0Y2gwAhdJbnZva2VTY3JpcHRUcmFuc2FjdGlvbgQBaQUHJG1hdGNoMAMDAwMJAAACCAUBaQRkQXBwCQEFQWxpYXMBAgRzd2FwCQAAAggFAWkIcGF5bWVudHMFA25pbAcJAAACCAUBaQpmZWVBc3NldElkBQR1bml0BwkAAAIIBQFpA2ZlZQCgwh4HBgkA9AMDCAUBdAlib2R5Qnl0ZXMJAJEDAggFAXQGcHJvb2ZzAAAIBQF0D3NlbmRlclB1YmxpY0tleQkA9AMDCAUBdAlib2R5Qnl0ZXMJAJEDAggFAXQGcHJvb2ZzAAAIBQF0D3NlbmRlclB1YmxpY0tleSy0nlI=",
"height": 2585123,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: 9jaxWw5r1YVZiMEZ9T9ymSaLLD9zC3TXW63Z8Wt5bnD2
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 6 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | |
---|
| 5 | + | |
---|
| 6 | + | |
---|
| 7 | + | @Verifier(a) |
---|
| 8 | + | func b () = { |
---|
| 9 | + | let c = a |
---|
| 10 | + | if ($isInstanceOf(c, "InvokeScriptTransaction")) |
---|
| 11 | + | then { |
---|
| 12 | + | let d = c |
---|
| 13 | + | if (if (if (if ((d.dApp == Alias("swap"))) |
---|
| 14 | + | then (d.payments == nil) |
---|
| 15 | + | else false) |
---|
| 16 | + | then (d.feeAssetId == unit) |
---|
| 17 | + | else false) |
---|
| 18 | + | then (d.fee == 500000) |
---|
| 19 | + | else false) |
---|
| 20 | + | then true |
---|
| 21 | + | else sigVerify(a.bodyBytes, a.proofs[0], a.senderPublicKey) |
---|
| 22 | + | } |
---|
| 23 | + | else sigVerify(a.bodyBytes, a.proofs[0], a.senderPublicKey) |
---|
| 24 | + | } |
---|
| 25 | + | |
---|