tx · GKJCQ9BfBUMFhumw1HZKnGKYs3b8Lzu6Aj699q8xzPPH

3MygQawG2gPjoej8wX2cqkxmg7KXAPP6xar:  -1.00000000 Waves

2020.09.03 18:49 [1161415] smart asset 3MygQawG2gPjoej8wX2cqkxmg7KXAPP6xar > SELF 0.00000000 Test200

{ "type": 15, "id": "GKJCQ9BfBUMFhumw1HZKnGKYs3b8Lzu6Aj699q8xzPPH", "fee": 100000000, "feeAssetId": null, "timestamp": 1599148166915, "version": 1, "sender": "3MygQawG2gPjoej8wX2cqkxmg7KXAPP6xar", "senderPublicKey": "BUxg9XtvamV81CZCqrQzi8BxCizU41dpSqoqt5mW56XS", "proofs": [ "418x9DaUjdvp14raC7neRtq9pZfKUeq4RHP2GoT9eoxwWLcG88mNEdWufQ2VmRGsmFqdGRPNZ9STsyjnYMAbMtsk" ], "assetId": "ELifKEtwTDt6TVLYYWJKNoCKuNJxzFTDcR5YC8YBWh2e", "script": "base64:AwQAAAALZEFwcEFkZHJlc3MJAQAAABFhZGRyZXNzRnJvbVN0cmluZwAAAAECAAAAIzNNeWdRYXdHMmdQam9lajh3WDJjcWt4bWc3S1hBUFA2eGFyBAAAAAdhZG1pblBLAQAAACCbvoDDAKlv8SHnGnzbjcmS7cF3EYTHum5V5rS3JwBICQQAAAADdGltCQAAaQAAAAIIBQAAAAlsYXN0QmxvY2sAAAAJdGltZXN0YW1wAAAAAAAAAAPoBAAAAAdzcG9uc29yAQAAACBBa8XAYqVvmo8A0b+Cee545P2vz+BaMZNc8EyMlYJWlQQAAAAHJG1hdGNoMAUAAAACdHgDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAGVNldEFzc2V0U2NyaXB0VHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDAC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AJc2VsbE9yZGVyAAAACW9yZGVyVHlwZQUAAAAEU2VsbAMJAABmAAAAAgAAAAAAAvrwfwgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAVwcmljZQkAAAIAAAABCQABLAAAAAIJAAEsAAAAAgIAAAADIyMjCQABpAAAAAEFAAAAA3RpbQIAAAADIyMjBgkAAAIAAAABAgAAABZTb21ldGhpbmcgYmFkIGhhcHBlbmVkByIXsTs=", "chainId": 84, "height": 1161415, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4wUuVxm1iPjU6rWXWFWW2JhfW4hPErdJt87kKpzP2p6X Next: 8aAw6Si7SDzBxMpJgvb7ogwVLVZEE2K4efB3UySpSKtG Diff:
OldNewDifferences
99 (tx.sender == dAppAddress)
1010 case t: TransferTransaction =>
1111 if ((t.feeAssetId != sponsor))
12- then throw("You have to pay 5 WAVES to burn this token")
12+ then throw("### Для отправки используйте спонсорский токен AYDIK (ID - sdfsfsdfsdfsdfsdfsdfsdgwetsedgdgdfgd) ###")
1313 else true
1414 case e: ExchangeTransaction =>
1515 let admin = (e.sellOrder.sender == addressFromPublicKey(adminPK))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let dAppAddress = addressFromString("3MygQawG2gPjoej8wX2cqkxmg7KXAPP6xar")
44 let adminPK = base58'BUxg9XtvamV81CZCqrQzi8BxCizU41dpSqoqt5mW56XS'
55 let tim = (lastBlock.timestamp / 1000)
66 let sponsor = base58'5QNpGE1TbLFPcKiKcNpnShmJWx9DH2UUtGNWgf8TVDaC'
77 match tx {
88 case tx: MassTransferTransaction|BurnTransaction|SetAssetScriptTransaction|ReissueTransaction =>
99 (tx.sender == dAppAddress)
1010 case t: TransferTransaction =>
1111 if ((t.feeAssetId != sponsor))
12- then throw("You have to pay 5 WAVES to burn this token")
12+ then throw("### Для отправки используйте спонсорский токен AYDIK (ID - sdfsfsdfsdfsdfsdfsdfsdgwetsedgdgdfgd) ###")
1313 else true
1414 case e: ExchangeTransaction =>
1515 let admin = (e.sellOrder.sender == addressFromPublicKey(adminPK))
1616 if (admin)
1717 then true
1818 else if (isDefined(e.sellOrder.assetPair.priceAsset))
1919 then throw((("###" + toString(tim)) + "###"))
2020 else if ((e.buyOrder.orderType == Buy))
2121 then if ((94999999 > e.buyOrder.price))
2222 then throw((("###" + toString(tim)) + "###"))
2323 else true
2424 else if ((e.sellOrder.orderType == Sell))
2525 then if ((49999999 > e.sellOrder.price))
2626 then throw((("###" + toString(tim)) + "###"))
2727 else true
2828 else throw("Something bad happened")
2929 case _ =>
3030 false
3131 }

github/deemru/w8io/169f3d6 
31.98 ms