tx · yyCtBFidqWNTZyWgvmiZMpBaTWdWEM4MrdKK5Xh5JBo
3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx: -1.00000000 Waves
2019.02.20 19:04 [503729] smart asset 3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx > SELF 0.00000000 WTFG
{
"type": 15,
"id": "yyCtBFidqWNTZyWgvmiZMpBaTWdWEM4MrdKK5Xh5JBo",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1550678705166,
"version": 1,
"sender": "3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx",
"senderPublicKey": "2hBxjELYxmCKQXARcQYckmzypjNkRLnL4tZSQp6XHhWg",
"proofs": [
"5Ud1KkgmVqXu74s4LLtgSBoY5vgajT8dZfBKhApCcaaf2Pm5JTRnWrEuGQty1HTHCrs21VAMcpWafvJvKrnnoKAP"
],
"assetId": "EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg",
"script": "base64:AQQAAAAGcHJpY2V2AAAAAAAF9eEBBAAAAAhwcmljZW1pbgAAAAAAC+vCAQQAAAAEUGFpcgkBAAAACUFzc2V0UGFpcgAAAAIFAAAABHVuaXQBAAAAIM2MeFvSXndO3rFdGs9f2vkJp1+jY/rXzNkl+WiQ+gpnBAAAABNtaW5pbXVtV2F2ZXNCYWxhbmNlAAAAAAA7msoABAAAAAlJc3NldG5hbWUBAAAAIM2MeFvSXndO3rFdGs9f2vkJp1+jY/rXzNkl+WiQ+gpnBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAABZQUAAAAHJG1hdGNoMAQAAAAZY3VycmVudFNlbmRlcldhdmVzQmFsYW5jZQkBAAAADHdhdmVzQmFsYW5jZQAAAAEIBQAAAAFlAAAABnNlbmRlcgMJAAAAAAAAAggIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAZzZW5kZXIICAUAAAABZQAAAAhidXlPcmRlcgAAAAZzZW5kZXIGBwMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAGVNldEFzc2V0U2NyaXB0VHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAARtYXNzBQAAAAckbWF0Y2gwBAAAAAt0cmFuc2FjdGlvbgkAA+gAAAABCQEAAAAHZXh0cmFjdAAAAAEIBQAAAARtYXNzAAAAB2Fzc2V0SWQEAAAAByRtYXRjaDEFAAAAC3RyYW5zYWN0aW9uAwkAAAEAAAACBQAAAAckbWF0Y2gxAgAAABBJc3N1ZVRyYW5zYWN0aW9uBAAAAAdpc3N1ZVR4BQAAAAckbWF0Y2gxCQAAAAAAAAIIBQAAAARtYXNzAAAAD3NlbmRlclB1YmxpY0tleQgFAAAAB2lzc3VlVHgAAAAPc2VuZGVyUHVibGljS2V5CQAAAgAAAAECAAAAEUJhZCBpc3N1ZSB0eCB0eXBlCQAAAgAAAAECAAAAIFlvdSBvbmx5IGNhbiB0cmFuc2ZlciB0aGlzIHRva2Vu4NKNqQ==",
"chainId": 84,
"height": 503729,
"spentComplexity": 0
}
View: original | compacted
Prev: 54wtzg9JSjhtmTiTx5dVHmHY1XMBqgtUdsyeo3hpkZaK
Next: 26qPBsjczyC7PPKvrUB6gARNF7aogqNoNshG6JMPc4ii
Diff:
Old | New | | Differences |
---|
8 | 8 | | match tx { |
---|
9 | 9 | | case e: ExchangeTransaction => |
---|
10 | 10 | | let currentSenderWavesBalance = wavesBalance(e.sender) |
---|
11 | | - | if ((e.sellOrder.sender == e.sellOrder.sender)) |
---|
| 11 | + | if ((e.sellOrder.sender == e.buyOrder.sender)) |
---|
12 | 12 | | then true |
---|
13 | | - | else if ((e.buyOrder.sender == e.buyOrder.sender)) |
---|
14 | | - | then false |
---|
15 | | - | else true |
---|
| 13 | + | else false |
---|
16 | 14 | | case mass: SetAssetScriptTransaction|MassTransferTransaction => |
---|
17 | 15 | | let transaction = transactionById(extract(mass.assetId)) |
---|
18 | 16 | | match transaction { |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let pricev = 100000001 |
---|
4 | 4 | | let pricemin = 200000001 |
---|
5 | 5 | | let Pair = AssetPair(unit, base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg') |
---|
6 | 6 | | let minimumWavesBalance = 1000000000 |
---|
7 | 7 | | let Issetname = base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg' |
---|
8 | 8 | | match tx { |
---|
9 | 9 | | case e: ExchangeTransaction => |
---|
10 | 10 | | let currentSenderWavesBalance = wavesBalance(e.sender) |
---|
11 | | - | if ((e.sellOrder.sender == e.sellOrder.sender)) |
---|
| 11 | + | if ((e.sellOrder.sender == e.buyOrder.sender)) |
---|
12 | 12 | | then true |
---|
13 | | - | else if ((e.buyOrder.sender == e.buyOrder.sender)) |
---|
14 | | - | then false |
---|
15 | | - | else true |
---|
| 13 | + | else false |
---|
16 | 14 | | case mass: SetAssetScriptTransaction|MassTransferTransaction => |
---|
17 | 15 | | let transaction = transactionById(extract(mass.assetId)) |
---|
18 | 16 | | match transaction { |
---|
19 | 17 | | case issueTx: IssueTransaction => |
---|
20 | 18 | | (mass.senderPublicKey == issueTx.senderPublicKey) |
---|
21 | 19 | | case _ => |
---|
22 | 20 | | throw("Bad issue tx type") |
---|
23 | 21 | | } |
---|
24 | 22 | | case _ => |
---|
25 | 23 | | throw("You only can transfer this token") |
---|
26 | 24 | | } |
---|