tx · 79wZYcVn81QQALbTWxnHCJ5HWeUVvuXnkARCbBvskht4
3NC1Tyae1M2XPN89pbyoXWy7nbgcQaQhBGs: -0.01000000 Waves
2023.05.19 14:35 [2584787] smart account 3NC1Tyae1M2XPN89pbyoXWy7nbgcQaQhBGs > SELF 0.00000000 Waves
{
"type": 13,
"id": "79wZYcVn81QQALbTWxnHCJ5HWeUVvuXnkARCbBvskht4",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1684496156540,
"version": 1,
"sender": "3NC1Tyae1M2XPN89pbyoXWy7nbgcQaQhBGs",
"senderPublicKey": "8wnBHZrpmiT8BFRyV1fU9U6t7mqvz6MGbj3Z2SYVYxtx",
"proofs": [
"2RNmmRwWGGLVe77znD32qW5kRHbXnKoKCLZiRcyzK5JkmfLto8NiNxYPUqnwCZ1uW26K6tpNnbBEdQST11pvRbSn"
],
"script": "base64:BgIECAISAAABAWkBB2RlZmF1bHQACQCUCgIFA25pbAkA/AcECQEHQWRkcmVzcwEBGgFUahnCr/NyCw2/ASpqbFSBugLwKuXPsA7HAgdkZWZhdWx0BQNuaWwFA25pbAEBdAEGdmVyaWZ5AAQHJG1hdGNoMAUBdAMJAAECBQckbWF0Y2gwAhdJbnZva2VTY3JpcHRUcmFuc2FjdGlvbgQBaQUHJG1hdGNoMAMDAwMJAAACCAUBaQRkQXBwCQEFQWxpYXMBAgRzd2FwCQAAAggFAWkIcGF5bWVudHMFA25pbAcJAAACCAUBaQpmZWVBc3NldElkBQR1bml0BwkAAAIIBQFpA2ZlZQCgwh4HBgkA9AMDCAUBdAlib2R5Qnl0ZXMJAJEDAggFAXQGcHJvb2ZzAAAIBQF0D3NlbmRlclB1YmxpY0tleQkA9AMDCAUBdAlib2R5Qnl0ZXMJAJEDAggFAXQGcHJvb2ZzAAAIBQF0D3NlbmRlclB1YmxpY0tleUjQtko=",
"chainId": 84,
"height": 2584787,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: BQaobBcfS3aXnZhERApBEeUbgFdYDtzJRW7dLQVuJL58
Next: BLQDoSmHafQ1WbKx1WcyNTjfbxMMkSbTkh532K4gX9fa
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func default () = nil |
---|
| 7 | + | func default () = $Tuple2(nil, invoke(Address(base58'3Myb6G8DkdBb8YcZzhrky65HrmiNuac3kvS'), "default", nil, nil)) |
---|
8 | 8 | | |
---|
9 | 9 | | |
---|
10 | 10 | | @Verifier(t) |
---|
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(i) |
---|
7 | | - | func default () = nil |
---|
| 7 | + | func default () = $Tuple2(nil, invoke(Address(base58'3Myb6G8DkdBb8YcZzhrky65HrmiNuac3kvS'), "default", nil, nil)) |
---|
8 | 8 | | |
---|
9 | 9 | | |
---|
10 | 10 | | @Verifier(t) |
---|
11 | 11 | | func verify () = match t { |
---|
12 | 12 | | case i: InvokeScriptTransaction => |
---|
13 | 13 | | if (if (if (if ((i.dApp == Alias("swap"))) |
---|
14 | 14 | | then (i.payments == nil) |
---|
15 | 15 | | else false) |
---|
16 | 16 | | then (i.feeAssetId == unit) |
---|
17 | 17 | | else false) |
---|
18 | 18 | | then (i.fee == 500000) |
---|
19 | 19 | | else false) |
---|
20 | 20 | | then true |
---|
21 | 21 | | else sigVerify(t.bodyBytes, t.proofs[0], t.senderPublicKey) |
---|
22 | 22 | | case _ => |
---|
23 | 23 | | sigVerify(t.bodyBytes, t.proofs[0], t.senderPublicKey) |
---|
24 | 24 | | } |
---|
25 | 25 | | |
---|