tx · 7SQPBaDu3JqVP59txBkrTsxF7hdgassENUg1nchU4WSP
3NC1Tyae1M2XPN89pbyoXWy7nbgcQaQhBGs: -0.01000000 Waves
2023.05.19 13:32 [2584716] smart account 3NC1Tyae1M2XPN89pbyoXWy7nbgcQaQhBGs > SELF 0.00000000 Waves
{
"type": 13,
"id": "7SQPBaDu3JqVP59txBkrTsxF7hdgassENUg1nchU4WSP",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1684492373916,
"version": 1,
"sender": "3NC1Tyae1M2XPN89pbyoXWy7nbgcQaQhBGs",
"senderPublicKey": "8wnBHZrpmiT8BFRyV1fU9U6t7mqvz6MGbj3Z2SYVYxtx",
"proofs": [
"5bfT1v6Dh7YsEhEMRodhRs5XhXF5dR1SN5EGr1KRjDCoetHQ8yCzPJAsTFHuC6G8rbfiMcJz4ocNqT23zv1CKCPy"
],
"script": "base64:BgIECAISAAABAWkBB2RlZmF1bHQACQCUCgIFA25pbAkA/AcECQEHQWRkcmVzcwEBGgFUahnCr/NyCw2/ASpqbFSBugLwKuXPsA7HAgdkZWZhdWx0BQNuaWwFA25pbAEBdAEGdmVyaWZ5AAQHJG1hdGNoMAUBdAMJAAECBQckbWF0Y2gwAhdJbnZva2VTY3JpcHRUcmFuc2FjdGlvbgQBaQUHJG1hdGNoMAMDAwMJAAACCAUBaQRkQXBwCQEFQWxpYXMBAgRzd2FwCQAAAggFAWkIcGF5bWVudHMFA25pbAcJAAACCAUBaQpmZWVBc3NldElkBQR1bml0BwkAAAIIBQFpA2ZlZQCgwh4HBgkA9AMDCAUBdAlib2R5Qnl0ZXMJAJEDAggFAXQGcHJvb2ZzAAAIBQF0D3NlbmRlclB1YmxpY0tleQkA9AMDCAUBdAlib2R5Qnl0ZXMJAJEDAggFAXQGcHJvb2ZzAAAIBQF0D3NlbmRlclB1YmxpY0tleUjQtko=",
"chainId": 84,
"height": 2584716,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: CUiqsnbg1F8K2Ur6zXhsHrsyW6h3Fdmg11Wtw1UMcLMP
Next: BQaobBcfS3aXnZhERApBEeUbgFdYDtzJRW7dLQVuJL58
Diff:
Old | New | | Differences |
---|
7 | 7 | | func default () = $Tuple2(nil, invoke(Address(base58'3Myb6G8DkdBb8YcZzhrky65HrmiNuac3kvS'), "default", nil, nil)) |
---|
8 | 8 | | |
---|
9 | 9 | | |
---|
| 10 | + | @Verifier(b) |
---|
| 11 | + | func c () = { |
---|
| 12 | + | let d = b |
---|
| 13 | + | if ($isInstanceOf(d, "InvokeScriptTransaction")) |
---|
| 14 | + | then { |
---|
| 15 | + | let a = d |
---|
| 16 | + | if (if (if (if ((a.dApp == Alias("swap"))) |
---|
| 17 | + | then (a.payments == nil) |
---|
| 18 | + | else false) |
---|
| 19 | + | then (a.feeAssetId == unit) |
---|
| 20 | + | else false) |
---|
| 21 | + | then (a.fee == 500000) |
---|
| 22 | + | else false) |
---|
| 23 | + | then true |
---|
| 24 | + | else sigVerify(b.bodyBytes, b.proofs[0], b.senderPublicKey) |
---|
| 25 | + | } |
---|
| 26 | + | else sigVerify(b.bodyBytes, b.proofs[0], b.senderPublicKey) |
---|
| 27 | + | } |
---|
| 28 | + | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(a) |
---|
7 | 7 | | func default () = $Tuple2(nil, invoke(Address(base58'3Myb6G8DkdBb8YcZzhrky65HrmiNuac3kvS'), "default", nil, nil)) |
---|
8 | 8 | | |
---|
9 | 9 | | |
---|
| 10 | + | @Verifier(b) |
---|
| 11 | + | func c () = { |
---|
| 12 | + | let d = b |
---|
| 13 | + | if ($isInstanceOf(d, "InvokeScriptTransaction")) |
---|
| 14 | + | then { |
---|
| 15 | + | let a = d |
---|
| 16 | + | if (if (if (if ((a.dApp == Alias("swap"))) |
---|
| 17 | + | then (a.payments == nil) |
---|
| 18 | + | else false) |
---|
| 19 | + | then (a.feeAssetId == unit) |
---|
| 20 | + | else false) |
---|
| 21 | + | then (a.fee == 500000) |
---|
| 22 | + | else false) |
---|
| 23 | + | then true |
---|
| 24 | + | else sigVerify(b.bodyBytes, b.proofs[0], b.senderPublicKey) |
---|
| 25 | + | } |
---|
| 26 | + | else sigVerify(b.bodyBytes, b.proofs[0], b.senderPublicKey) |
---|
| 27 | + | } |
---|
| 28 | + | |
---|