tx · Bm1AyfDZM4ybm3BsCtasFco4B3s9oNzzn1QVLH5unDmq 3N1sZf6LwdDRNs771oeHbbF81qcBf4eZiZm: -0.00500000 Waves 2022.06.28 20:15 [2116579] smart account 3N1sZf6LwdDRNs771oeHbbF81qcBf4eZiZm > SELF 0.00000000 Waves
{ "type": 13, "id": "Bm1AyfDZM4ybm3BsCtasFco4B3s9oNzzn1QVLH5unDmq", "fee": 500000, "feeAssetId": null, "timestamp": 1656436597736, "version": 2, "chainId": 84, "sender": "3N1sZf6LwdDRNs771oeHbbF81qcBf4eZiZm", "senderPublicKey": "CQF6ZSqazTCYHL2ndMS1oqRSD1DdZR1BGV3FtFcVxcqX", "proofs": [ "4byRGBdNGpZgb5ft2Jz9TCB7aqt8SfwjraE1FRgEmQyFxAAEhMBbp3DC7NSS6vBvdadciZA4rCQ6JwwJoH9Vo9up" ], "script": "base64:BQQAAAAOYWRkcmVzc1JlY2VpdmUJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTXCh8/6kbGhh9JjyA5IBZCtwM/PGAEKMQEAAAABGF4YWkBAAAAIJLk/cQHt6P0xjB/KwxmM3akn6gNIW9OPmn12N5MtB3QBAAAAAR1c2RuAQAAACAP8hwSrOTEPJrsRhqrJaiw7LoHK0bMbYhy8LXikkkBtAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDADCQAAAAAAAAIICAUAAAABZQAAAAhidXlPcmRlcgAAAAlvcmRlclR5cGUFAAAAA0J1eQMDCQAAAAAAAAIICAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAJYXNzZXRQYWlyAAAAC2Ftb3VudEFzc2V0BQAAAARheGFpCQAAAAAAAAIICAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQFAAAABHVzZG4HCQAB9AAAAAMIBQAAAAFlAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAABZQAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAFlAAAAD3NlbmRlclB1YmxpY0tleQcDAwkAAAAAAAACCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAALYW1vdW50QXNzZXQFAAAABGF4YWkJAAAAAAAAAggICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQFAAAABHVzZG4HCQAB9AAAAAMIBQAAAAFlAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAABZQAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAFlAAAAD3NlbmRlclB1YmxpY0tleQcDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAnR0BQAAAAckbWF0Y2gwCQAAAAAAAAIIBQAAAAJ0dAAAAAlyZWNpcGllbnQFAAAADmFkZHJlc3NSZWNlaXZlCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleeC3fLY=", "height": 2116579, "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 e: ExchangeTransaction => | |
8 | + | if ((e.buyOrder.orderType == Buy)) | |
9 | + | then if (if ((e.buyOrder.assetPair.amountAsset == axai)) | |
10 | + | then (e.buyOrder.assetPair.priceAsset == usdn) | |
11 | + | else false) | |
12 | + | then sigVerify(e.bodyBytes, e.proofs[0], e.senderPublicKey) | |
13 | + | else false | |
14 | + | else if (if ((e.sellOrder.assetPair.amountAsset == axai)) | |
15 | + | then (e.sellOrder.assetPair.priceAsset == usdn) | |
16 | + | else false) | |
17 | + | then sigVerify(e.bodyBytes, e.proofs[0], e.senderPublicKey) | |
18 | + | else false | |
19 | + | case tt: TransferTransaction => | |
20 | + | (tt.recipient == addressReceive) | |
21 | + | case _ => | |
22 | + | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
23 | + | } |
github/deemru/w8io/169f3d6 16.36 ms ◑