tx · 6DMN3YWjw2nEPob1TqKyawh3x6dBR98oarHVJNaJEBAp

3N9Sgptqbbc9whta6iLeeQENfHd833G9hQE:  -1.00400000 Waves

2019.07.04 11:49 [570459] smart asset 3N9Sgptqbbc9whta6iLeeQENfHd833G9hQE > SELF 0.00000 PASS

{ "type": 15, "id": "6DMN3YWjw2nEPob1TqKyawh3x6dBR98oarHVJNaJEBAp", "fee": 100400000, "feeAssetId": null, "timestamp": 1562230182038, "version": 1, "sender": "3N9Sgptqbbc9whta6iLeeQENfHd833G9hQE", "senderPublicKey": "5gUuv1jjtePpX8rffb1RvQ6FvX2oJ2rNshfF9Dt2NUES", "proofs": [ "3isfeq5w2hvUYeWwkQbCkqttpNTswwK7ykaGQ6dYfTwVUJzGahbEGW19YyG8oxXSip3cstQqz1k5qToXvxn2cw5Y" ], "assetId": "7XcWcjbUJuD5Xrc7bhEwVvA7VoDFraH6TXSnFqd6Py29", "script": "base64:AwQAAAAOb3duZXJQdWJsaWNLZXkBAAAAIEWL9bYTPmjYp+f8WUAtz6DaJ6KrIAyb2bOoFYKH1nAPBAAAAANLWUMJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTWNCDJr/AdVJ/HdBovhu37oPuYKPc8PVMEAAAAC1Bhc3NBc3NldElkAQAAACBg/bKkSalvO39oSPndnvUn1DFYSTpsagMRseVLRWFZYgoBAAAABWNoZWNrAAAAAQAAAAdhZGRyZXNzBAAAAA5zZW5kZXJBY2NlcHRlZAkABBsAAAACBQAAAANLWUMJAAJYAAAAAQgFAAAAB2FkZHJlc3MAAAAFYnl0ZXMDCQEAAAAJaXNEZWZpbmVkAAAAAQUAAAAOc2VuZGVyQWNjZXB0ZWQJAQAAAAdleHRyYWN0AAAAAQUAAAAOc2VuZGVyQWNjZXB0ZWQHBAAAAAckbWF0Y2gwBQAAAAJ0eAMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAGVNldEFzc2V0U2NyaXB0VHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAElJlaXNzdWVUcmFuc2FjdGlvbgQAAAABcwUAAAAHJG1hdGNoMAYDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAQAAAADa2V5CQACWAAAAAEICAUAAAACdHgAAAAGc2VuZGVyAAAABWJ5dGVzCQEAAAARQGV4dHJOYXRpdmUoMTA1MSkAAAACBQAAAANLWUMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAABZQUAAAAHJG1hdGNoMAQAAAALYW1vdW50QXNzZXQICAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAAthbW91bnRBc3NldAMJAAAAAAAAAgUAAAALYW1vdW50QXNzZXQFAAAAC1Bhc3NBc3NldElkCQEAAAAFY2hlY2sAAAABCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAABnNlbmRlcgYHnHt0pg==", "chainId": 84, "height": 570459, "spentComplexity": 0 } View: original | compacted Prev: 9tUJV3gbgLWGXUtYB6R5DDStB8wjN2ab3JwEkLFxnLMw Next: yo4Sr4CNvzfEbRSXpMJBNSD7CS37bbW4X2jquHWVJhC Diff:
OldNewDifferences
33 let ownerPublicKey = base58'5gUuv1jjtePpX8rffb1RvQ6FvX2oJ2rNshfF9Dt2NUES'
44 let KYC = Address(base58'3N9Sgptqbbc9whta6iLeeQENfHd833G9hQE')
55 let PassAssetId = base58'7XcWcjbUJuD5Xrc7bhEwVvA7VoDFraH6TXSnFqd6Py29'
6-func check (address) = extract(getBoolean(KYC, toBase58String(address.bytes)))
6+func check (address) = {
7+ let senderAccepted = getBoolean(KYC, toBase58String(address.bytes))
8+ if (isDefined(senderAccepted))
9+ then extract(senderAccepted)
10+ else false
11+ }
712
813 match tx {
914 case s: SetAssetScriptTransaction|ReissueTransaction =>
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'
6-func check (address) = extract(getBoolean(KYC, toBase58String(address.bytes)))
6+func check (address) = {
7+ let senderAccepted = getBoolean(KYC, toBase58String(address.bytes))
8+ if (isDefined(senderAccepted))
9+ then extract(senderAccepted)
10+ else false
11+ }
712
813 match tx {
914 case s: SetAssetScriptTransaction|ReissueTransaction =>
1015 true
1116 case t: MassTransferTransaction|TransferTransaction =>
1217 let key = toBase58String(tx.sender.bytes)
1318 getBooleanValue(KYC, key)
1419 case e: ExchangeTransaction =>
1520 let amountAsset = e.sellOrder.assetPair.amountAsset
1621 if ((amountAsset == PassAssetId))
1722 then check(e.sellOrder.sender)
1823 else true
1924 case _ =>
2025 false
2126 }

github/deemru/w8io/026f985 
24.04 ms