tx · 43vddJdDAdbCGrz1m6AgU7kKQoNNKZMKay7Zx8i5Z8Cq 3N9Sgptqbbc9whta6iLeeQENfHd833G9hQE: -1.00400000 Waves 2019.06.24 10:58 [555895] smart asset 3N9Sgptqbbc9whta6iLeeQENfHd833G9hQE > SELF 0.00000 PASS
{ "type": 15, "id": "43vddJdDAdbCGrz1m6AgU7kKQoNNKZMKay7Zx8i5Z8Cq", "fee": 100400000, "feeAssetId": null, "timestamp": 1561363151882, "version": 1, "sender": "3N9Sgptqbbc9whta6iLeeQENfHd833G9hQE", "senderPublicKey": "5gUuv1jjtePpX8rffb1RvQ6FvX2oJ2rNshfF9Dt2NUES", "proofs": [ "4h3cJ5omDE2zNUygoxvtqRFoD99X4L8DzCxfJVwbe974eJw57PMS8CHchV1aiu2vRdCLTxNS29TxNfWDrWAysy5N" ], "assetId": "7XcWcjbUJuD5Xrc7bhEwVvA7VoDFraH6TXSnFqd6Py29", "script": "base64:AwQAAAADS1lDCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFU1jQgya/wHVSfx3QaL4bt+6D7mCj3PD1TBAAAAAtQYXNzQXNzZXRJZAEAAAAgYP2ypEmpbzt/aEj53Z71J9QxWEk6bGoDEbHlS0VhWWIEAAAAByRtYXRjaDAFAAAAAnR4AwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAZU2V0QXNzZXRTY3JpcHRUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAASUmVpc3N1ZVRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwBgMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwBAAAAANrZXkJAAJYAAAAAQgIBQAAAAJ0eAAAAAZzZW5kZXIAAAAFYnl0ZXMJAQAAABFAZXh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BleHRyTmF0aXZlKDEwNTEpAAAAAgUAAAADS1lDCQACWAAAAAEICAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAGc2VuZGVyAAAABWJ5dGVzBgcHKNm+5A==", "chainId": 84, "height": 555895, "spentComplexity": 0 } View: original | compacted Prev: 8o9i6j5NBsneG94Pq2krTKTmdXxpNx9QtP1xTqG3xnp3 Next: As3DykV4q2DktVNnQMXoL1FutupFpu8bAMkaJaL3BaoM Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# CONTENT_TYPE EXPRESSION #-} | |
3 | 3 | let KYC = Address(base58'3N9Sgptqbbc9whta6iLeeQENfHd833G9hQE') | |
4 | 4 | let PassAssetId = base58'7XcWcjbUJuD5Xrc7bhEwVvA7VoDFraH6TXSnFqd6Py29' | |
5 | 5 | match tx { | |
6 | 6 | case t: SetAssetScriptTransaction|ReissueTransaction => | |
7 | 7 | true | |
8 | 8 | case t: MassTransferTransaction|TransferTransaction => | |
9 | 9 | let key = toBase58String(tx.sender.bytes) | |
10 | 10 | getBooleanValue(KYC, key) | |
11 | 11 | case e: ExchangeTransaction => | |
12 | 12 | let sellMatcherFeeAsset = e.sellOrder.matcherFeeAssetId | |
13 | 13 | let buyMatcherFeeAsset = e.buyOrder.matcherFeeAssetId | |
14 | 14 | let amountAsset = e.sellOrder.assetPair.amountAsset | |
15 | 15 | let priceAsset = e.sellOrder.assetPair.priceAsset | |
16 | 16 | if (if (if (if ((sellMatcherFeeAsset == PassAssetId)) | |
17 | 17 | then getBooleanValue(KYC, toBase58String(e.sellOrder.sender.bytes)) | |
18 | 18 | else true) | |
19 | 19 | then if ((buyMatcherFeeAsset == PassAssetId)) | |
20 | 20 | then getBooleanValue(KYC, toBase58String(e.buyOrder.sender.bytes)) | |
21 | 21 | else true | |
22 | 22 | else false) | |
23 | 23 | then if ((amountAsset == PassAssetId)) | |
24 | 24 | then getBooleanValue(KYC, toBase58String(e.sellOrder.sender.bytes)) | |
25 | 25 | else true | |
26 | 26 | else false) | |
27 | 27 | then if ((priceAsset == PassAssetId)) | |
28 | 28 | then getBooleanValue(KYC, toBase58String(e.buyOrder.sender.bytes)) | |
29 | 29 | else true | |
30 | 30 | else false | |
31 | 31 | case _ => | |
32 | 32 | false | |
33 | 33 | } |
github/deemru/w8io/026f985 18.59 ms ◑