tx · H7MWmKWuAf2bMybdSaNVEzcEwQ5jQe1uUyu2hhsNSHTs 3NCpyPuNzUaB7LFS4KBzwzWVnXmjur582oy: -0.01000000 Waves 2019.07.01 07:35 [566017] smart account 3NCpyPuNzUaB7LFS4KBzwzWVnXmjur582oy > SELF 0.00000000 Waves
{ "type": 13, "id": "H7MWmKWuAf2bMybdSaNVEzcEwQ5jQe1uUyu2hhsNSHTs", "fee": 1000000, "feeAssetId": null, "timestamp": 1561966506402, "version": 1, "sender": "3NCpyPuNzUaB7LFS4KBzwzWVnXmjur582oy", "senderPublicKey": "57EFni8M1XesEurFh3c4jnpLExP2PCPd5TRrwMjePAT4", "proofs": [ "sdExDdo5FLYqacVs9osoyYNJRWJLGTRuof5ccFy6PtsLNNBstXv4vww6PZYjk76kc6vYnqvk4jXd1hHk1j42ooG" ], "script": "base64:AwQAAAAPdHJhZGVyUHVibGljS2V5AQAAACCBpbTZgYbXOF2R/9sYPGnT0mB66bUYoSp22rdMFj3IEQQAAAAOb3duZXJQdWJsaWNLZXkBAAAAID0HOFHYXYpCB2C8RjDY8m3ndBlb8WihoYLw1tvHVwgrBAAAAAthbW91bnRBc3NldAEAAAAg8cb6xRuScHLmBWbFioetE9WGLNVVfcb5i0bY3S5dOIQEAAAAEG1hdGNoZXJQdWJsaWNLZXkBAAAAIGRDQuXcp/doeH4AWAJKWAvM8pffT3ZEKdvTPqW98d8CBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAFT3JkZXIEAAAAAW8FAAAAByRtYXRjaDAEAAAAEWlzV2F2ZXNQcmljZUFzc2V0CQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgFAAAAAW8AAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQEAAAACXJpZ2h0UGFpcgMJAAAAAAAAAggIBQAAAAFvAAAACWFzc2V0UGFpcgAAAAthbW91bnRBc3NldAUAAAALYW1vdW50QXNzZXQFAAAAEWlzV2F2ZXNQcmljZUFzc2V0BwMDAwkAAfQAAAADCAUAAAABbwAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAW8AAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA90cmFkZXJQdWJsaWNLZXkFAAAACXJpZ2h0UGFpcgcJAABmAAAAAgkAAGgAAAACAAAAAAAAAAB4AAAAAAAAAAPoCQAAZQAAAAIIBQAAAAFvAAAACmV4cGlyYXRpb24IBQAAAAFvAAAACXRpbWVzdGFtcAcJAAAAAAAAAggFAAAAAW8AAAAQbWF0Y2hlclB1YmxpY0tleQUAAAAQbWF0Y2hlclB1YmxpY0tleQcDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAABdAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAXQAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA5vd25lclB1YmxpY0tleQdYx++Z", "chainId": 84, "height": 566017, "spentComplexity": 0 } View: original | compacted Prev: none Next: 6dnNBBbMm2y69KBMoNrQAtiLjtNa9HWc6Eo1hM8DdeZx Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 3 #-} | |
2 | + | {-# CONTENT_TYPE EXPRESSION #-} | |
3 | + | let traderPublicKey = base58'9j69PY62YXTQrc4X5RKJ2KWc7DsYFC4mGcKUvChtq8Pi' | |
4 | + | let ownerPublicKey = base58'57EFni8M1XesEurFh3c4jnpLExP2PCPd5TRrwMjePAT4' | |
5 | + | let amountAsset = base58'HGoEZAsEQpbA3DJyV9J3X1JCTTBuwUB6PE19g1kUYXsH' | |
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 28.79 ms ◑