tx · Hgs6VwfmuFPHFGoZ18nqoWsbr9NbTEuXHigxf6DaG5gR 3N9xWnt4iWR4Fq85k9TobXvT2f3LMqMVw9s: -0.01000000 Waves 2019.08.29 14:56 [652467] smart account 3N9xWnt4iWR4Fq85k9TobXvT2f3LMqMVw9s > SELF 0.00000000 Waves
{ "type": 13, "id": "Hgs6VwfmuFPHFGoZ18nqoWsbr9NbTEuXHigxf6DaG5gR", "fee": 1000000, "feeAssetId": null, "timestamp": 1567072875521, "version": 1, "sender": "3N9xWnt4iWR4Fq85k9TobXvT2f3LMqMVw9s", "senderPublicKey": "tYKBbPn8S7RZXdNjMRwAYF7Jc3CGrTPRu1ojCpYp1Nn", "proofs": [ "E7AoycFWMoMyf9MsBmRn2DbaWjkXDx91Bn7mRp6Eh38wDtFy7De9S8fDJxk18aGKdG7qjLsP8XCFTnUKci7pzbu" ], "script": "base64:AgQAAAAPdHJhZGVyUHVibGljS2V5AQAAACAZYLPbuF8Dh9bfEyVYmDY6HHm0omcC5FkTzKXQqL8uVwQAAAAOb3duZXJQdWJsaWNLZXkBAAAAIHzjIITdDkfNyrm17uZWW485+wl4Qnz9euqIhvSDsOY7BAAAAAthbW91bnRBc3NldAEAAAAgnrMyjGIjjUzbvRDcwUFDz3B4TFtE4i9OsfUju+BzLy0EAAAAEG1hdGNoZXJQdWJsaWNLZXkBAAAAIGRDQuXcp/doeH4AWAJKWAvM8pffT3ZEKdvTPqW98d8CBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAFT3JkZXIEAAAAAW8FAAAAByRtYXRjaDAEAAAAEWlzV2F2ZXNQcmljZUFzc2V0CQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgFAAAAAW8AAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQEAAAACXJpZ2h0UGFpcgMJAAAAAAAAAggIBQAAAAFvAAAACWFzc2V0UGFpcgAAAAthbW91bnRBc3NldAUAAAALYW1vdW50QXNzZXQFAAAAEWlzV2F2ZXNQcmljZUFzc2V0BwMDAwkAAfQAAAADCAUAAAABbwAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAW8AAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA90cmFkZXJQdWJsaWNLZXkFAAAACXJpZ2h0UGFpcgcJAABmAAAAAgkAAGgAAAACAAAAAAAAAAB4AAAAAAAAAAPoCQAAZQAAAAIIBQAAAAFvAAAACmV4cGlyYXRpb24IBQAAAAFvAAAACXRpbWVzdGFtcAcJAAAAAAAAAggFAAAAAW8AAAAQbWF0Y2hlclB1YmxpY0tleQUAAAAQbWF0Y2hlclB1YmxpY0tleQcDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAABdAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAXQAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA5vd25lclB1YmxpY0tleQdjd4yt", "chainId": 84, "height": 652467, "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 2 #-} | |
2 | + | {-# CONTENT_TYPE EXPRESSION #-} | |
3 | + | let traderPublicKey = base58'2i4iZwWYkR4Rbh6qZU2UQEPypqJSStvJsBytUxmzpdjU' | |
4 | + | let ownerPublicKey = base58'9QWRkp5Ckxf6Xg9u2eZtsUDirQ6T6tKzBEZysvmbxSYz' | |
5 | + | let amountAsset = base58'BgVuAXX6TqWgyn8feQLaLvbz3VFkTd1LRor16Fx4f7Hv' | |
6 | + | let matcherPublicKey = base58'7kPFrHDiGw1rCm7LPszuECwWYL3dMf6iMifLRDJQZMzy' | |
7 | + | match tx { | |
8 | + | case o: Order => | |
9 | + | let isWavesPriceAsset = !(isDefined(o.assetPair.priceAsset)) | |
10 | + | let rightPair = if ((o.assetPair.amountAsset == amountAsset)) | |
11 | + | then isWavesPriceAsset | |
12 | + | else false | |
13 | + | if (if (if (sigVerify(o.bodyBytes, o.proofs[0], traderPublicKey)) | |
14 | + | then rightPair | |
15 | + | else false) | |
16 | + | then ((120 * 1000) > (o.expiration - o.timestamp)) | |
17 | + | else false) | |
18 | + | then (o.matcherPublicKey == matcherPublicKey) | |
19 | + | else false | |
20 | + | case t: TransferTransaction|SetScriptTransaction => | |
21 | + | sigVerify(t.bodyBytes, t.proofs[0], ownerPublicKey) | |
22 | + | case _ => | |
23 | + | false | |
24 | + | } |
github/deemru/w8io/169f3d6 45.36 ms ◑