tx · 9jaxWw5r1YVZiMEZ9T9ymSaLLD9zC3TXW63Z8Wt5bnD2
3N2fQyLpGVGFA7bBuya4k1KEJ4HAQ3uPPeb: -0.01000000 Waves
2023.05.19 20:09 [2585134] smart account 3N2fQyLpGVGFA7bBuya4k1KEJ4HAQ3uPPeb > SELF 0.00000000 Waves
{
"type": 13,
"id": "9jaxWw5r1YVZiMEZ9T9ymSaLLD9zC3TXW63Z8Wt5bnD2",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1684516193852,
"version": 2,
"chainId": 84,
"sender": "3N2fQyLpGVGFA7bBuya4k1KEJ4HAQ3uPPeb",
"senderPublicKey": "GdwTAyJVhiQAjh3wBktHyKVNze2yykhKKWfiArxQQCtj",
"proofs": [
"2eKGhejt74Ezp4ropwWbPkQCThv2tJyaLYBkF8LwM3MhdtovoNMCgATMgCVcWw51cP5urhCqqdYbeh5u9ZJqc833"
],
"script": "base64:BgIECAISAAABAWkBB2RlZmF1bHQACQCUCgIFA25pbAkA/AcECQEHQWRkcmVzcwEBGgFUahnCr/NyCw2/ASpqbFSBugLwKuXPsA7HAgdkZWZhdWx0BQNuaWwFA25pbAEBdAEGdmVyaWZ5AAQHJG1hdGNoMAUBdAMJAAECBQckbWF0Y2gwAhdJbnZva2VTY3JpcHRUcmFuc2FjdGlvbgQBaQUHJG1hdGNoMAMDAwMJAAACCAUBaQRkQXBwCQEFQWxpYXMBAgR3aGF0CQAAAggFAWkIcGF5bWVudHMFA25pbAcJAAACCAUBaQpmZWVBc3NldElkBQR1bml0BwkAAAIIBQFpA2ZlZQCgwh4HBgkA9AMDCAUBdAlib2R5Qnl0ZXMJAJEDAggFAXQGcHJvb2ZzAAAIBQF0D3NlbmRlclB1YmxpY0tleQkA9AMDCAUBdAlib2R5Qnl0ZXMJAJEDAggFAXQGcHJvb2ZzAAAIBQF0D3NlbmRlclB1YmxpY0tleZz/qKE=",
"height": 2585134,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 9VTRsGQ5D61cbzC33c9PojQPmTn8eayd2RqdmqkzSwFm
Next: none
Diff:
Old | New | | Differences |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
| 6 | + | @Callable(i) |
---|
| 7 | + | func default () = $Tuple2(nil, invoke(Address(base58'3Myb6G8DkdBb8YcZzhrky65HrmiNuac3kvS'), "default", nil, nil)) |
---|
| 8 | + | |
---|
6 | 9 | | |
---|
7 | 10 | | @Verifier(t) |
---|
8 | 11 | | func verify () = match t { |
---|
9 | 12 | | case i: InvokeScriptTransaction => |
---|
10 | | - | if (if (if (if ((i.dApp == Alias("swap"))) |
---|
| 13 | + | if (if (if (if ((i.dApp == Alias("what"))) |
---|
11 | 14 | | then (i.payments == nil) |
---|
12 | 15 | | else false) |
---|
13 | 16 | | then (i.feeAssetId == unit) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
| 6 | + | @Callable(i) |
---|
| 7 | + | func default () = $Tuple2(nil, invoke(Address(base58'3Myb6G8DkdBb8YcZzhrky65HrmiNuac3kvS'), "default", nil, nil)) |
---|
| 8 | + | |
---|
6 | 9 | | |
---|
7 | 10 | | @Verifier(t) |
---|
8 | 11 | | func verify () = match t { |
---|
9 | 12 | | case i: InvokeScriptTransaction => |
---|
10 | | - | if (if (if (if ((i.dApp == Alias("swap"))) |
---|
| 13 | + | if (if (if (if ((i.dApp == Alias("what"))) |
---|
11 | 14 | | then (i.payments == nil) |
---|
12 | 15 | | else false) |
---|
13 | 16 | | then (i.feeAssetId == unit) |
---|
14 | 17 | | else false) |
---|
15 | 18 | | then (i.fee == 500000) |
---|
16 | 19 | | else false) |
---|
17 | 20 | | then true |
---|
18 | 21 | | else sigVerify(t.bodyBytes, t.proofs[0], t.senderPublicKey) |
---|
19 | 22 | | case _ => |
---|
20 | 23 | | sigVerify(t.bodyBytes, t.proofs[0], t.senderPublicKey) |
---|
21 | 24 | | } |
---|
22 | 25 | | |
---|