tx · C4TDchFtyZWBDvbk5sxLWrJXq4MZsy4oEUisLodHPnct

3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb:  -1.00000000 Waves

2019.03.16 13:20 [538589] smart asset 3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb > SELF 0.00000000 ZAraa

{ "type": 15, "id": "C4TDchFtyZWBDvbk5sxLWrJXq4MZsy4oEUisLodHPnct", "fee": 100000000, "feeAssetId": null, "timestamp": 1552731700084, "version": 1, "sender": "3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb", "senderPublicKey": "6XtTAMMi9snEs1mN1TBpR3npxA2R16FMxneyWXMZdMdf", "proofs": [ "2g8Hg1yRF2zGXhAf8vFe4YYYvGD6fhbTchxbxtHYirePEoJCvHTQ4t9ifyL4bsffooBDePCx7i9w6yPhhhZzXNFa" ], "assetId": "6uTUhCBEKUcWVxKz8sHJ2oh616PmmGPMFV1cr2Hx9Ggu", "script": "base64:AgQAAAAGaXNzdWVyCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUn3ENnb2h8+cM5MoAZuZG+9HctthQtzPqBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAEAAAABHNlbGwJAAH0AAAAAwgIBQAAAAJ0eAAAAAlzZWxsT3JkZXIAAAAJYm9keUJ5dGVzCQABkQAAAAIICAUAAAACdHgAAAAJc2VsbE9yZGVyAAAABnByb29mcwAAAAAAAAAAAAgIBQAAAAJ0eAAAAAlzZWxsT3JkZXIAAAAPc2VuZGVyUHVibGljS2V5BAAAAANidXkJAAH0AAAAAwgIBQAAAAJ0eAAAAAhidXlPcmRlcgAAAAlib2R5Qnl0ZXMJAAGRAAAAAggIBQAAAAJ0eAAAAAhidXlPcmRlcgAAAAZwcm9vZnMAAAAAAAAAAAAICAUAAAACdHgAAAAIYnV5T3JkZXIAAAAPc2V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AUAAAAHJG1hdGNoMAMJAAAAAAAAAggFAAAAAnR4AAAABnNlbmRlcgUAAAAGaXNzdWVyBgkAAAIAAAABAgAAADZZb3UgY2Fubm90IHNlbmQgdGhpcyBhc3NldCB2aWEgTWFzc1RyYW5zZmVyVHJhbnNhY3Rpb24DCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDADCQAAAAAAAAIIBQAAAAJ0eAAAAAZzZW5kZXIFAAAABmlzc3VlcgYJAAACAAAAAQIAAAAaWW91IGNhbm5vdCBidXJuIHRoaXMgYXNzZXQDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABJSZWlzc3VlVHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAGVNldEFzc2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwBgfGiUAK", "chainId": 84, "height": 538589, "spentComplexity": 0 } View: original | compacted Prev: 641o4zdPCoFPhke4XdUjeeZZLRr3UdAiaReUfpKtMnQv Next: FaFGqjsKfvrqH1njQXS9T8uxZvYV2vD1jZuJpFJHCiqu Diff:
OldNewDifferences
2626 else false)
2727 then true
2828 else if (sell)
29- then if ((tx.sellOrder.amount > 60))
29+ then if ((tx.sellOrder.amount > 10000000))
3030 then true
3131 else throw("Min sell ammount = 60")
3232 else false
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 2 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let issuer = Address(base58'3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb')
44 match tx {
55 case tx: ExchangeTransaction =>
66 let sell = sigVerify(tx.sellOrder.bodyBytes, tx.sellOrder.proofs[0], tx.sellOrder.senderPublicKey)
77 let buy = sigVerify(tx.buyOrder.bodyBytes, tx.buyOrder.proofs[0], tx.buyOrder.senderPublicKey)
88 let sellOrderSender = toBase58String(tx.sellOrder.sender.bytes)
99 let buyOrderSender = toBase58String(tx.sellOrder.sender.bytes)
1010 let sellOrderSenderCategory = getString(issuer, sellOrderSender)
1111 let buyOrderSenderCategory = getString(issuer, buyOrderSender)
1212 if (if (if (buy)
1313 then if (if (isDefined(buyOrderSenderCategory))
1414 then (extract(sellOrderSenderCategory) == "ambassador")
1515 else false)
1616 then true
1717 else throw("Only whitelist can buy this asset")
1818 else false)
1919 then true
2020 else if (sell)
2121 then if (if (isDefined(sellOrderSenderCategory))
2222 then (extract(sellOrderSenderCategory) == "ambassador")
2323 else false)
2424 then true
2525 else throw("Only whitelist can sell this asset")
2626 else false)
2727 then true
2828 else if (sell)
29- then if ((tx.sellOrder.amount > 60))
29+ then if ((tx.sellOrder.amount > 10000000))
3030 then true
3131 else throw("Min sell ammount = 60")
3232 else false
3333 case tx: MassTransferTransaction =>
3434 if ((tx.sender == issuer))
3535 then true
3636 else throw("You cannot send this asset via MassTransferTransaction")
3737 case tx: BurnTransaction =>
3838 if ((tx.sender == issuer))
3939 then true
4040 else throw("You cannot burn this asset")
4141 case tx: ReissueTransaction|SetAssetScriptTransaction =>
4242 true
4343 case _ =>
4444 false
4545 }

github/deemru/w8io/026f985 
49.01 ms