tx · E71M9Mx8MS8KH4rxmnusALEAkR8X4UvEeL6Eh7nQ3r4A

3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx:  -1.00000000 Waves

2019.02.21 23:37 [505507] smart asset 3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx > SELF 0.00000000 WTFG

{ "type": 15, "id": "E71M9Mx8MS8KH4rxmnusALEAkR8X4UvEeL6Eh7nQ3r4A", "fee": 100000000, "feeAssetId": null, "timestamp": 1550781482546, "version": 1, "sender": "3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx", "senderPublicKey": "2hBxjELYxmCKQXARcQYckmzypjNkRLnL4tZSQp6XHhWg", "proofs": [ "6VhG2fYBtYUUVxPxLAXqThSMNvXbF7CxgqvBN8SFcDNLp5THnNMLL1MgDiC3BTAxh6MXtWicXQu1AzEtCZwi3SF" ], "assetId": "EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg", "script": "base64:AQQAAAATbWluaW11bVdhdmVzQmFsYW5jZQAAAAAAWWgvAAQAAAAFcHJpY2UAAAAAAAvrwgEEAAAADmFkbWluUHVibGljS2V5AQAAABoBVELQ/DEmG2cVX3BF+geY7VLWSC9ksc87jQQAAAAFQlRDSWQBAAAAIM2MeFvSXndO3rFdGs9f2vkJp1+jY/rXzNkl+WiQ+gpnBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAABZQUAAAAHJG1hdGNoMAQAAAAEc2VsbAkAAfQAAAADCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWJvZHlCeXRlcwkAAZEAAAACCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAABnByb29mcwAAAAAAAAAAAAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAA9zZW5kZXJQdWJsaWNLZXkDBQAAAARzZWxsBAAAAAZwZXJtaXQJAAH0AAAAAwgIBQAAAAFlA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: 5Kaz1HXdndaC78xcQUjvWQqGDmASGwNcYpRpCjGyktu9 Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let minimumWavesBalance = 1500000000
4-let price = 100000001
5-let pricemin = 200000001
4+let price = 200000001
65 let adminPublicKey = base58'3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx'
76 let BTCId = base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg'
87 match tx {
1211 then {
1312 let permit = sigVerify(e.sellOrder.bodyBytes, e.sellOrder.proofs[0], adminPublicKey)
1413 if ((minimumWavesBalance > e.sellOrder.amount))
15- then throw("you cannot sell less than 15 tokens")
14+ then throw("To sell a token you need to buy 5 IRIS")
1615 else if ((price > e.sellOrder.price))
17- then throw("you cannot sell for less than 1.00000001")
16+ then throw("You cannot sell for less than 2.00000001")
1817 else true
1918 }
2019 else true
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let minimumWavesBalance = 1500000000
4-let price = 100000001
5-let pricemin = 200000001
4+let price = 200000001
65 let adminPublicKey = base58'3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx'
76 let BTCId = base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg'
87 match tx {
98 case e: ExchangeTransaction =>
109 let sell = sigVerify(e.sellOrder.bodyBytes, e.sellOrder.proofs[0], e.sellOrder.senderPublicKey)
1110 if (sell)
1211 then {
1312 let permit = sigVerify(e.sellOrder.bodyBytes, e.sellOrder.proofs[0], adminPublicKey)
1413 if ((minimumWavesBalance > e.sellOrder.amount))
15- then throw("you cannot sell less than 15 tokens")
14+ then throw("To sell a token you need to buy 5 IRIS")
1615 else if ((price > e.sellOrder.price))
17- then throw("you cannot sell for less than 1.00000001")
16+ then throw("You cannot sell for less than 2.00000001")
1817 else true
1918 }
2019 else true
2120 case mass: SetAssetScriptTransaction|MassTransferTransaction =>
2221 let transaction = transactionById(extract(mass.assetId))
2322 match transaction {
2423 case issueTx: IssueTransaction =>
2524 (mass.senderPublicKey == issueTx.senderPublicKey)
2625 case _ =>
2726 throw("Bad issue tx type")
2827 }
2928 case _ =>
3029 throw("you cannot transfer this token")
3130 }

github/deemru/w8io/169f3d6 
32.90 ms