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