tx · 5Kaz1HXdndaC78xcQUjvWQqGDmASGwNcYpRpCjGyktu9

3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx:  -1.00000000 Waves

2019.02.21 23:40 [505511] smart asset 3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx > SELF 0.00000000 WTFG

{ "type": 15, "id": "5Kaz1HXdndaC78xcQUjvWQqGDmASGwNcYpRpCjGyktu9", "fee": 100000000, "feeAssetId": null, "timestamp": 1550781662425, "version": 1, "sender": "3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx", "senderPublicKey": "2hBxjELYxmCKQXARcQYckmzypjNkRLnL4tZSQp6XHhWg", "proofs": [ "67e6QVPHhZmkUthnTP8TBCgxft3mm6i4KpZ1HE2Ntm5U2HGgXVYWe7sNHWGAAe6PTGNjRqhdT3AfSgMpxptk7L3a" ], "assetId": "EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg", "script": "base64:AQQAAAATbWluaW11bVdhdmVzQmFsYW5jZQAAAAAAWWgvAAQAAAAFcHJpY2UAAAAAAAvrwgEEAAAADmFkbWluUHVibGljS2V5AQAAABoBVELQ/DEmG2cVX3BF+geY7VLWSC9ksc87jQQAAAAFQlRDSWQBAAAAIM2MeFvSXndO3rFdGs9f2vkJp1+jY/rXzNkl+WiQ+gpnBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAABZQUAAAAHJG1hdGNoMAQAAAAEc2VsbAkAAfQAAAADCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWJvZHlCeXRlcwkAAZEAAAACCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAABnByb29mcwAAAAAAAAAAAAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAA9zZW5kZXJQdWJsaWNLZXkDBQAAAARzZWxsBAAAAAZwZXJtaXQJAAH0AAAAAwgIBQAAAAFlAAAAC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X4UvEeL6Eh7nQ3r4A Next: 7prxCdkCkcNZvzQ9nUBXAsAk16iuemU87zCYN5VUCPC9 Diff:
OldNewDifferences
1414 then throw("To sell a token you need to buy 5 IRIS")
1515 else if ((price > e.sellOrder.price))
1616 then throw("You cannot sell for less than 2.00000001")
17- else true
17+ else if (permit)
18+ then true
19+ else true
1820 }
1921 else true
2022 case mass: SetAssetScriptTransaction|MassTransferTransaction =>
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let minimumWavesBalance = 1500000000
44 let price = 200000001
55 let adminPublicKey = base58'3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx'
66 let BTCId = base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg'
77 match tx {
88 case e: ExchangeTransaction =>
99 let sell = sigVerify(e.sellOrder.bodyBytes, e.sellOrder.proofs[0], e.sellOrder.senderPublicKey)
1010 if (sell)
1111 then {
1212 let permit = sigVerify(e.sellOrder.bodyBytes, e.sellOrder.proofs[0], adminPublicKey)
1313 if ((minimumWavesBalance > e.sellOrder.amount))
1414 then throw("To sell a token you need to buy 5 IRIS")
1515 else if ((price > e.sellOrder.price))
1616 then throw("You cannot sell for less than 2.00000001")
17- else true
17+ else if (permit)
18+ then true
19+ else true
1820 }
1921 else true
2022 case mass: SetAssetScriptTransaction|MassTransferTransaction =>
2123 let transaction = transactionById(extract(mass.assetId))
2224 match transaction {
2325 case issueTx: IssueTransaction =>
2426 (mass.senderPublicKey == issueTx.senderPublicKey)
2527 case _ =>
2628 throw("Bad issue tx type")
2729 }
2830 case _ =>
2931 throw("you cannot transfer this token")
3032 }

github/deemru/w8io/026f985 
27.43 ms