tx · Ey5EVjB9FSPR8FyYskDB8E3XfEkGicYRqh6W4AtgBDTt 3N3BeDt6kZBiVJdZz8a1BrbRS6xcKhxarEn: -0.00200000 Waves 2022.07.07 15:36 [2129282] smart account 3N3BeDt6kZBiVJdZz8a1BrbRS6xcKhxarEn > SELF 0.00000000 Waves
{ "type": 13, "id": "Ey5EVjB9FSPR8FyYskDB8E3XfEkGicYRqh6W4AtgBDTt", "fee": 200000, "feeAssetId": null, "timestamp": 1657197371482, "version": 2, "chainId": 84, "sender": "3N3BeDt6kZBiVJdZz8a1BrbRS6xcKhxarEn", "senderPublicKey": "ADD3BHZTFyY1RLxUXUjV9823BTj7sVJN5pNpPC3R888o", "proofs": [ "T9EF3jfVkJkWUFR9tSgxYdUSqvHJSsyMhcsQEG3oHUPtrDGVSWuB18SvJSsCanmmuMXiY7cdyKVqncvMt9FNmeF" ], "script": "base64:BQQAAAAOYWRkcmVzc1JlY2VpdmUJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTXCh8/6kbGhh9JjyA5IBZCtwM/PGAEKMQEAAAABGF4YWkBAAAAIJLk/cQHt6P0xjB/KwxmM3akn6gNIW9OPmn12N5MtB3QBAAAAAR1c2RuAQAAACAP8hwSrOTEPJrsRhqrJaiw7LoHK0bMbYhy8LXikkkBtAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABU9yZGVyBAAAAAVvcmRlcgUAAAAHJG1hdGNoMAMJAAAAAAAAAggFAAAABW9yZGVyAAAACW9yZGVyVHlwZQUAAAADQnV5AwMJAAAAAAAAAggIBQAAAAVvcmRlcgAAAAlhc3NldFBhaXIAAAALYW1vdW50QXNzZXQFAAAABGF4YWkDCQAAAAAAAAIICAUAAAAFb3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQFAAAABHVzZG4GCQAAAAAAAAIICAUAAAAFb3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQFAAAABHVuaX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AfQAAAADCAUAAAABZQAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAWUAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAABZQAAAA9zZW5kZXJQdWJsaWNLZXkHAwMJAAAAAAAAAggICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAAC2Ftb3VudEFzc2V0BQAAAARheGFpAwkAAAAAAAACCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAUAAAAEdXNkbgYJAAAAAAAAAggICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQFAAAABHVuaXQHCQAB9AAAAAMIBQAAAAFlAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAABZQAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAFlAAAAD3NlbmRlclB1YmxpY0tleQcJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5Js4n/Q==", "height": 2129282, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# CONTENT_TYPE EXPRESSION #-} | |
3 | + | let addressReceive = Address(base58'3N9X7BTWBUSk6KXAGKbHsxeHfSgMaAEYVdd') | |
4 | + | let axai = base58'AtR3c6X6q21VGFdtu73PspcCw1pERV4csVS97LHZBbSF' | |
5 | + | let usdn = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT' | |
6 | + | match tx { | |
7 | + | case order: Order => | |
8 | + | if ((order.orderType == Buy)) | |
9 | + | then if (if ((order.assetPair.amountAsset == axai)) | |
10 | + | then if ((order.assetPair.priceAsset == usdn)) | |
11 | + | then true | |
12 | + | else (order.assetPair.priceAsset == unit) | |
13 | + | else false) | |
14 | + | then sigVerify(order.bodyBytes, order.proofs[0], order.senderPublicKey) | |
15 | + | else false | |
16 | + | else if (if ((order.assetPair.amountAsset == axai)) | |
17 | + | then if ((order.assetPair.priceAsset == usdn)) | |
18 | + | then true | |
19 | + | else (order.assetPair.priceAsset == unit) | |
20 | + | else false) | |
21 | + | then sigVerify(order.bodyBytes, order.proofs[0], order.senderPublicKey) | |
22 | + | else false | |
23 | + | case tt: TransferTransaction => | |
24 | + | (tt.recipient == addressReceive) | |
25 | + | case e: ExchangeTransaction => | |
26 | + | if ((e.buyOrder.orderType == Buy)) | |
27 | + | then if (if ((e.buyOrder.assetPair.amountAsset == axai)) | |
28 | + | then if ((e.buyOrder.assetPair.priceAsset == usdn)) | |
29 | + | then true | |
30 | + | else (e.buyOrder.assetPair.priceAsset == unit) | |
31 | + | else false) | |
32 | + | then sigVerify(e.bodyBytes, e.proofs[0], e.senderPublicKey) | |
33 | + | else false | |
34 | + | else if (if ((e.sellOrder.assetPair.amountAsset == axai)) | |
35 | + | then if ((e.sellOrder.assetPair.priceAsset == usdn)) | |
36 | + | then true | |
37 | + | else (e.sellOrder.assetPair.priceAsset == unit) | |
38 | + | else false) | |
39 | + | then sigVerify(e.bodyBytes, e.proofs[0], e.senderPublicKey) | |
40 | + | else false | |
41 | + | case _ => | |
42 | + | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
43 | + | } |
github/deemru/w8io/169f3d6 15.48 ms ◑