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:
OldNewDifferences
77 func default () = $Tuple2(nil, invoke(Address(base58'3Myb6G8DkdBb8YcZzhrky65HrmiNuac3kvS'), "default", nil, nil))
88
99
10+@Verifier(t)
11+func verify () = match t {
12+ case i: InvokeScriptTransaction =>
13+ if (if (if (if ((i.dApp == Alias("swap")))
14+ then (i.payments == nil)
15+ else false)
16+ then (i.feeAssetId == unit)
17+ else false)
18+ then (i.fee == 500000)
19+ else false)
20+ then true
21+ else sigVerify(t.bodyBytes, t.proofs[0], t.senderPublicKey)
22+ case _ =>
23+ sigVerify(t.bodyBytes, t.proofs[0], t.senderPublicKey)
24+}
25+
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func default () = $Tuple2(nil, invoke(Address(base58'3Myb6G8DkdBb8YcZzhrky65HrmiNuac3kvS'), "default", nil, nil))
88
99
10+@Verifier(t)
11+func verify () = match t {
12+ case i: InvokeScriptTransaction =>
13+ if (if (if (if ((i.dApp == Alias("swap")))
14+ then (i.payments == nil)
15+ else false)
16+ then (i.feeAssetId == unit)
17+ else false)
18+ then (i.fee == 500000)
19+ else false)
20+ then true
21+ else sigVerify(t.bodyBytes, t.proofs[0], t.senderPublicKey)
22+ case _ =>
23+ sigVerify(t.bodyBytes, t.proofs[0], t.senderPublicKey)
24+}
25+

github/deemru/w8io/026f985 
33.76 ms