tx · Eiwuq2fuJg8hkqH9Cd2Gxf5nMQ2LnUKQmUpSsYMAmzym 3N8hPqfD5nA99RLwaC7dyXtaXVwdJJaJLc6: -0.00100000 Waves 2022.06.28 18:42 [2116479] smart account 3N8hPqfD5nA99RLwaC7dyXtaXVwdJJaJLc6 > SELF 0.00000000 Waves
{ "type": 13, "id": "Eiwuq2fuJg8hkqH9Cd2Gxf5nMQ2LnUKQmUpSsYMAmzym", "fee": 100000, "feeAssetId": null, "timestamp": 1656431044939, "version": 2, "chainId": 84, "sender": "3N8hPqfD5nA99RLwaC7dyXtaXVwdJJaJLc6", "senderPublicKey": "Gm3Ff6mYooyvFkhvBqAvuGsRwDLoDHQt57oMXyVEqdwB", "proofs": [ "5ddEinzy4ncYLxMhzmw4irED3MQu7MSoGfgxyKiz4SZBabmHtDWPuA8ixWzv8V4hwjoEPNgz8Y629PrC4t39GANm" ], "script": "base64:BQQAAAAPc2VuZGVyUHVibGljS2V5AQAAABoBVLVTyQXfa42NXHO/DYL2LB5DKHz5dhGoZwQAAAAEYXhhaQEAAAAgkuT9xAe3o/TGMH8rDGYzdqSfqA0hb04+afXY3ky0HdAEAAAABHVzZG4BAAAAIA/yHBKs5MQ8muxGGqslqLDsugcrRsxtiHLwteKSSQG0CgEAAAAKdmFsaWRhdGlvbgAAAAEAAAABZQMDCQAAAAAAAAIICAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAJYXNzZXRQYWlyAAAAC2Ftb3VudEFzc2V0BQAAAARheGFpCQAAAAAAAAIICAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQFAAAABHVzZG4HAwMJAAAAAAAAAggICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAAC2Ftb3VudEFzc2V0BQAAAARheGFpCQAAAAAAAAIICAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0BQAAAAR1c2RuBwYHBwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDAJAQAAAAp2YWxpZGF0aW9uAAAAAQUAAAABZQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAD3NlbmRlclB1YmxpY0tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAWEFAAAAByRtYXRjaDAHCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAPc2VuZGVyUHVibGljS2V5V/Qo2A==", "height": 2116479, "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 senderPublicKey = base58'3N6SrT9EbHnsfabVmtgSDwPXw8tAVuZAcvJ' | |
4 | + | let axai = base58'AtR3c6X6q21VGFdtu73PspcCw1pERV4csVS97LHZBbSF' | |
5 | + | let usdn = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT' | |
6 | + | func validation (e) = if (if ((e.buyOrder.assetPair.amountAsset == axai)) | |
7 | + | then (e.buyOrder.assetPair.priceAsset == usdn) | |
8 | + | else false) | |
9 | + | then if (if ((e.sellOrder.assetPair.amountAsset == axai)) | |
10 | + | then (e.sellOrder.assetPair.priceAsset == usdn) | |
11 | + | else false) | |
12 | + | then true | |
13 | + | else false | |
14 | + | else false | |
15 | + | ||
16 | + | match tx { | |
17 | + | case e: ExchangeTransaction => | |
18 | + | validation(e) | |
19 | + | case t: TransferTransaction => | |
20 | + | sigVerify(tx.bodyBytes, tx.proofs[0], senderPublicKey) | |
21 | + | case a: SetScriptTransaction => | |
22 | + | false | |
23 | + | case _ => | |
24 | + | sigVerify(tx.bodyBytes, tx.proofs[0], senderPublicKey) | |
25 | + | } |
github/deemru/w8io/169f3d6 29.33 ms ◑