tx · 94xCo6x6XXFswbVn9tDfg2WMXnoMLnF6mCm7viv3hryk
3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx: -1.00000000 Waves
2019.02.20 20:41 [503863] smart asset 3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx > SELF 0.00000000 WTFG
{
"type": 15,
"id": "94xCo6x6XXFswbVn9tDfg2WMXnoMLnF6mCm7viv3hryk",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1550684513054,
"version": 1,
"sender": "3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx",
"senderPublicKey": "2hBxjELYxmCKQXARcQYckmzypjNkRLnL4tZSQp6XHhWg",
"proofs": [
"3haMi9uYWdjaDfiJFSENPXocZ97gfNBZjRCKrceM3TiA2PXY897sAsp4jyo1fTCGMotECcD6Xs4PKNSZShzm42j4"
],
"assetId": "EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg",
"script": "base64:AQQAAAAGcHJpY2V2AAAAAAA7msoABAAAAAhwcmljZW1pbgAAAAAAAAAAAAQAAAATbWluaW11bVdhdmVzQmFsYW5jZQAAAAAAO5rKAAQAAAAJSXNzZXRuYW1lAQAAACDNjHhb0l53Tt6xXRrPX9r5Cadfo2P618zZJflokPoKZwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDAEAAAABFBhaXIJAQAAAAlBc3NldFBhaXIAAAACBQAAAAR1bml0AQAAACDNjHhb0l53Tt6xXRrPX9r5Cadfo2P618zZJflokPoKZwQAAAAEcGFpcggIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIEAAAABXBhaXJzCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAJYXNzZXRQYWlyAwkAAGYAAAACCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAABXByaWNlBQAAAAZwcmljZXYGAwkAAGYAAAACCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAGYW1vdW50BQAAAAZwcmljZXYHBwMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAGVNldEFzc2V0U2NyaXB0VHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAARtYXNzBQAAAAckbWF0Y2gwBAAAAAt0cmFuc2FjdGlvbgkAA+gAAAABCQEAAAAHZXh0cmFjdAAAAAEIBQAAAARtYXNzAAAAB2Fzc2V0SWQEAAAAByRtYXRjaDEFAAAAC3RyYW5zYWN0aW9uAwkAAAEAAAACBQAAAAckbWF0Y2gxAgAAABBJc3N1ZVRyYW5zYWN0aW9uBAAAAAdpc3N1ZVR4BQAAAAckbWF0Y2gxCQAAAAAAAAIIBQAAAARtYXNzAAAAD3NlbmRlclB1YmxpY0tleQgFAAAAB2lzc3VlVHgAAAAPc2VuZGVyUHVibGljS2V5CQAAAgAAAAECAAAAEUJhZCBpc3N1ZSB0eCB0eXBlCQAAAgAAAAECAAAAIFlvdSBvbmx5IGNhbiB0cmFuc2ZlciB0aGlzIHRva2VuQ7fIww==",
"chainId": 84,
"height": 503863,
"spentComplexity": 0
}
View: original | compacted
Prev: HfwoB7n57uUGGyVAmEcaU57bWJ94krzwdanxR1tdmrXB
Next: 5UgeHz9YZ3oe1srGiLoxmbdh7v3heRotbmcUiU843pNx
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | | - | let pricev = 0 |
---|
| 3 | + | let pricev = 1000000000 |
---|
4 | 4 | | let pricemin = 0 |
---|
5 | 5 | | let minimumWavesBalance = 1000000000 |
---|
6 | 6 | | let Issetname = base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg' |
---|
|
11 | 11 | | let pairs = e.buyOrder.assetPair |
---|
12 | 12 | | if ((e.sellOrder.price > pricev)) |
---|
13 | 13 | | then true |
---|
14 | | - | else if ((e.buyOrder.amount > pricemin)) |
---|
| 14 | + | else if ((e.buyOrder.amount > pricev)) |
---|
15 | 15 | | then false |
---|
16 | 16 | | else false |
---|
17 | 17 | | case mass: SetAssetScriptTransaction|MassTransferTransaction => |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | | - | let pricev = 0 |
---|
| 3 | + | let pricev = 1000000000 |
---|
4 | 4 | | let pricemin = 0 |
---|
5 | 5 | | let minimumWavesBalance = 1000000000 |
---|
6 | 6 | | let Issetname = base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg' |
---|
7 | 7 | | match tx { |
---|
8 | 8 | | case e: ExchangeTransaction => |
---|
9 | 9 | | let Pair = AssetPair(unit, base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg') |
---|
10 | 10 | | let pair = e.sellOrder.assetPair |
---|
11 | 11 | | let pairs = e.buyOrder.assetPair |
---|
12 | 12 | | if ((e.sellOrder.price > pricev)) |
---|
13 | 13 | | then true |
---|
14 | | - | else if ((e.buyOrder.amount > pricemin)) |
---|
| 14 | + | else if ((e.buyOrder.amount > pricev)) |
---|
15 | 15 | | then false |
---|
16 | 16 | | else false |
---|
17 | 17 | | case mass: SetAssetScriptTransaction|MassTransferTransaction => |
---|
18 | 18 | | let transaction = transactionById(extract(mass.assetId)) |
---|
19 | 19 | | match transaction { |
---|
20 | 20 | | case issueTx: IssueTransaction => |
---|
21 | 21 | | (mass.senderPublicKey == issueTx.senderPublicKey) |
---|
22 | 22 | | case _ => |
---|
23 | 23 | | throw("Bad issue tx type") |
---|
24 | 24 | | } |
---|
25 | 25 | | case _ => |
---|
26 | 26 | | throw("You only can transfer this token") |
---|
27 | 27 | | } |
---|