tx · yo4Sr4CNvzfEbRSXpMJBNSD7CS37bbW4X2jquHWVJhC

3N9Sgptqbbc9whta6iLeeQENfHd833G9hQE:  -1.00400000 Waves

2019.07.04 11:51 [570460] smart asset 3N9Sgptqbbc9whta6iLeeQENfHd833G9hQE > SELF 0.00000 PASS

{ "type": 15, "id": "yo4Sr4CNvzfEbRSXpMJBNSD7CS37bbW4X2jquHWVJhC", "fee": 100400000, "feeAssetId": null, "timestamp": 1562230303364, "version": 1, "sender": "3N9Sgptqbbc9whta6iLeeQENfHd833G9hQE", "senderPublicKey": "5gUuv1jjtePpX8rffb1RvQ6FvX2oJ2rNshfF9Dt2NUES", "proofs": [ "44DwyCrh2ptfjcQWEwLnTvqLvmLrvKLBHbRg4LpuuJR4tkF71BzgMVimyj6TraEtsRyZAGKkjafCULxdutvJs14R" ], "assetId": "7XcWcjbUJuD5Xrc7bhEwVvA7VoDFraH6TXSnFqd6Py29", "script": "base64:AwQAAAAOb3duZXJQdWJsaWNLZXkBAAAAIEWL9bYTPmjYp+f8WUAtz6DaJ6KrIAyb2bOoFYKH1nAPBAAAAANLWUMJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTWNCDJr/AdVJ/HdBovhu37oPuYKPc8PVMEAAAAC1Bhc3NBc3NldElkAQAAACBg/bKkSalvO39oSPndnvUn1DFYSTpsagMRseVLRWFZYgoBAAAABWNoZWNrAAAAAQAAAAdhZGRyZXNzBAAAAA5zZW5kZXJBY2NlcHRlZAkABBsAAAACBQAAAANLWUMJAAJYAAAAAQgFAAAAB2FkZHJlc3MAAAAFYnl0ZXMDCQEAAAAJaXNEZWZpbmVkAAAAAQUAAAAOc2VuZGVyQWNjZXB0ZWQJAQAAAAdleHRyYWN0AAAAAQUAAAAOc2VuZGVyQWNjZXB0ZWQHBAAAAAckbWF0Y2gwBQAAAAJ0eAMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAGVNldEFzc2V0U2NyaXB0VHJhbnNhY3Rpb24GCQAAAQAAAAIFA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XNzQXNzZXRJZAkBAAAABWNoZWNrAAAAAQgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAZzZW5kZXIGBwMJAAAAAAAAAgUAAAAKcHJpY2VBc3NldAUAAAALUGFzc0Fzc2V0SWQJAQAAAAVjaGVjawAAAAEICAUAAAABZQAAAAhidXlPcmRlcgAAAAZzZW5kZXIGBwdy98JH", "chainId": 84, "height": 570460, "spentComplexity": 0 } View: original | compacted Prev: 6DMN3YWjw2nEPob1TqKyawh3x6dBR98oarHVJNaJEBAp Next: 7HndnUo4r4edQDa6scege6mrUouGD7dkEh97QXF8w9uK Diff:
OldNewDifferences
1717 let key = toBase58String(tx.sender.bytes)
1818 getBooleanValue(KYC, key)
1919 case e: ExchangeTransaction =>
20+ let sellMatcherFeeAsset = e.sellOrder.matcherFeeAssetId
21+ let buyMatcherFeeAsset = e.buyOrder.matcherFeeAssetId
2022 let amountAsset = e.sellOrder.assetPair.amountAsset
21- if ((amountAsset == PassAssetId))
23+ let priceAsset = e.sellOrder.assetPair.priceAsset
24+ if (if (if (if ((sellMatcherFeeAsset == PassAssetId))
2225 then check(e.sellOrder.sender)
23- else true
26+ else true)
27+ then if ((buyMatcherFeeAsset == PassAssetId))
28+ then check(e.buyOrder.sender)
29+ else true
30+ else false)
31+ then if ((amountAsset == PassAssetId))
32+ then check(e.sellOrder.sender)
33+ else true
34+ else false)
35+ then if ((priceAsset == PassAssetId))
36+ then check(e.buyOrder.sender)
37+ else true
38+ else false
2439 case _ =>
2540 false
2641 }
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 func check (address) = {
77 let senderAccepted = getBoolean(KYC, toBase58String(address.bytes))
88 if (isDefined(senderAccepted))
99 then extract(senderAccepted)
1010 else false
1111 }
1212
1313 match tx {
1414 case s: SetAssetScriptTransaction|ReissueTransaction =>
1515 true
1616 case t: MassTransferTransaction|TransferTransaction =>
1717 let key = toBase58String(tx.sender.bytes)
1818 getBooleanValue(KYC, key)
1919 case e: ExchangeTransaction =>
20+ let sellMatcherFeeAsset = e.sellOrder.matcherFeeAssetId
21+ let buyMatcherFeeAsset = e.buyOrder.matcherFeeAssetId
2022 let amountAsset = e.sellOrder.assetPair.amountAsset
21- if ((amountAsset == PassAssetId))
23+ let priceAsset = e.sellOrder.assetPair.priceAsset
24+ if (if (if (if ((sellMatcherFeeAsset == PassAssetId))
2225 then check(e.sellOrder.sender)
23- else true
26+ else true)
27+ then if ((buyMatcherFeeAsset == PassAssetId))
28+ then check(e.buyOrder.sender)
29+ else true
30+ else false)
31+ then if ((amountAsset == PassAssetId))
32+ then check(e.sellOrder.sender)
33+ else true
34+ else false)
35+ then if ((priceAsset == PassAssetId))
36+ then check(e.buyOrder.sender)
37+ else true
38+ else false
2439 case _ =>
2540 false
2641 }

github/deemru/w8io/026f985 
20.23 ms