tx · FYMWDZXTWXDLoVJdB7o6f7vP2e8NnP2ix6y3Fs3ZsPsY

3N9Sgptqbbc9whta6iLeeQENfHd833G9hQE:  -1.00400000 Waves

2019.07.04 11:27 [570439] smart asset 3N9Sgptqbbc9whta6iLeeQENfHd833G9hQE > SELF 0.00000 PASS

{ "type": 15, "id": "FYMWDZXTWXDLoVJdB7o6f7vP2e8NnP2ix6y3Fs3ZsPsY", "fee": 100400000, "feeAssetId": null, "timestamp": 1562228856141, "version": 1, "sender": "3N9Sgptqbbc9whta6iLeeQENfHd833G9hQE", "senderPublicKey": "5gUuv1jjtePpX8rffb1RvQ6FvX2oJ2rNshfF9Dt2NUES", "proofs": [ "5FPt94cwr2VLJR79vyc4EtUimS5QnGjGkeh4j3g2ohk4mzR8Uz6CKtSnyNwQyMY9eA4jG1kdd22Nz9KRYZaJMwan" ], "assetId": "7XcWcjbUJuD5Xrc7bhEwVvA7VoDFraH6TXSnFqd6Py29", "script": "base64:AwQAAAAOb3duZXJQdWJsaWNLZXkBAAAAIEWL9bYTPmjYp+f8WUAtz6DaJ6KrIAyb2bOoFYKH1nAPBAAAAANLWUMJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTWNCDJr/AdVJ/HdBovhu37oPuYKPc8PVMEAAAAC1Bhc3NBc3NldElkAQAAACBg/bKkSalvO39oSPndnvUn1DFYSTpsagMRseVLRWFZYgQAAAAHJG1hdGNoMAUAAAACdHgDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABlTZXRBc3NldFNjcmlwdFRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABJSZWlzc3VlVHJhbnNhY3Rpb24EAAAAAXMFAAAAByRtYXRjaDAGAwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXTWFzc1RyYW5zZmVyVHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAEAAAAA2tleQkAAlgAAAABCAgFAAAAAnR4AAAABnNlbmRlcgAAAAVieXRlcwkBAAAAEUBleHRyTmF0aXZlKDEwNTEpAAAAAgUAAAADS1lDBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDAEAAAAC2Ftb3VudEFzc2V0CAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAALYW1vdW50QXNzZXQDCQAAAAAAAAIFAAAAC2Ftb3VudEFzc2V0BQAAAAtQYXNzQXNzZXRJZAkBAAAAEUBleHRyTmF0aXZlKDEwNTEpAAAAAgUAAAADS1lDCQACWAAAAAEICAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAABnNlbmRlcgAAAAVieXRlcwYHEuugVA==", "chainId": 84, "height": 570439, "spentComplexity": 0 } View: original | compacted Prev: AYZqmAHo4WC3XUcXz6CwYwTKDUBdvC5wnfgm126F6Q92 Next: HeTR599L8udrhk5b8TnUnF39oU2LLJgkoPnh4sujoNht Diff:
OldNewDifferences
1010 let key = toBase58String(tx.sender.bytes)
1111 getBooleanValue(KYC, key)
1212 case e: ExchangeTransaction =>
13- true
13+ let amountAsset = e.sellOrder.assetPair.amountAsset
14+ if ((amountAsset == PassAssetId))
15+ then getBooleanValue(KYC, toBase58String(e.sellOrder.sender.bytes))
16+ else true
1417 case _ =>
1518 false
1619 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let ownerPublicKey = base58'5gUuv1jjtePpX8rffb1RvQ6FvX2oJ2rNshfF9Dt2NUES'
44 let KYC = Address(base58'3N9Sgptqbbc9whta6iLeeQENfHd833G9hQE')
55 let PassAssetId = base58'7XcWcjbUJuD5Xrc7bhEwVvA7VoDFraH6TXSnFqd6Py29'
66 match tx {
77 case s: SetAssetScriptTransaction|ReissueTransaction =>
88 true
99 case t: MassTransferTransaction|TransferTransaction =>
1010 let key = toBase58String(tx.sender.bytes)
1111 getBooleanValue(KYC, key)
1212 case e: ExchangeTransaction =>
13- true
13+ let amountAsset = e.sellOrder.assetPair.amountAsset
14+ if ((amountAsset == PassAssetId))
15+ then getBooleanValue(KYC, toBase58String(e.sellOrder.sender.bytes))
16+ else true
1417 case _ =>
1518 false
1619 }

github/deemru/w8io/026f985 
19.29 ms