tx · BmToRxYteMXERxVfMHUigzdwqBS3mmrsx6xoYFsfen8n
3N8soKHghgagZ5LP5esQ2qpCNt2VdBnEK6g: -1.00000000 Waves
2019.02.20 08:41 [503053] smart asset 3N8soKHghgagZ5LP5esQ2qpCNt2VdBnEK6g > SELF 0.00000000 r5546
{
"type": 15,
"id": "BmToRxYteMXERxVfMHUigzdwqBS3mmrsx6xoYFsfen8n",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1550641270900,
"version": 1,
"sender": "3N8soKHghgagZ5LP5esQ2qpCNt2VdBnEK6g",
"senderPublicKey": "EvMbAPKXogLKf5Y1WV7Kh9cQD6Q5zRRGigfhCtY85SAj",
"proofs": [
"26k1yYXv7eg5LL8TBu1VFCLqSiLKqEakPtJ1krvQuxcXXU4rdmuArnN51aJXVyuj7XCiiyqSGSS9Gc555tAZRAAK"
],
"assetId": "Hx1JZ9zBZNkVCthxPBJurrHFKvr46X5y6zLgPpEP7yAJ",
"script": "base64:AQQAAAADZXhwCQAAaAAAAAIJAABoAAAAAgAAAAAAAAAFqgAAAAAAAAAAPAAAAAAAAAAD6AQAAAADZ29kCQEAAAARYWRkcmVzc0Zyb21TdHJpbmcAAAABAgAAACMzTjhzb0tIZ2hnYWdaNUxQNWVzUTJxcENOdDJWZEJuRUs2ZwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwAwkAAAAAAAACCAUAAAABZQAAAAZzZW5kZXIFAAAAA2dvZAYEAAAAAmVyAgAAAB5TaWx2ZXIgbXVjaCBoZWF2ZSBmb3IgdHJhbnNmZXIJAAACAAAAAQUAAAACZXIDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAGVNldEFzc2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDADCQAAAAAAAAIIBQAAAAFlAAAABnNlbmRlcgUAAAAD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BAAAAANlcjECAAAAaCFSRUFEIS0tLS0tLS0tLS0tLS0+TUFYSU1BTCBPUkRFUiBUSU1FIEZPUiBTSUxWRVIgSVMgMSBEQVktLS0tLS0tPk1JTklNQUwgQU1PVU5UIEZPUiBUUkFERSBJUyAxMCBTSUxWRVIhCQAAAgAAAAEFAAAAA2VyMQMJAABnAAAAAgUAAAADZXhwCQAAZQAAAAIICAUAAAABZQAAAAhidXlPcmRlcgAAAApleHBpcmF0aW9uCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAJdGltZXN0YW1wBgkAAAAAAAACCAUAAAABZQAAAAZzZW5kZXIFAAAAA2dvZAQAAAADZXIxAgAAAGghUkVBRCEtLS0tLS0tLS0tLS0tPk1BWElNQUwgT1JERVIgVElNRSBGT1IgU0lMVkVSIElTIDEgREFZLS0tLS0tLT5NSU5JTUFMIEFNT1VOVCBGT1IgVFJBREUgSVMgMTAgU0lMVkVSIQkAAAIAAAABBQAAAANlcjEHxhicpA==",
"chainId": 84,
"height": 503053,
"spentComplexity": 0
}
View: original | compacted
Prev: 9UfvgKvN6UH4NE8HLjnPA589C9WBinW4rQLXHk6ZRfiH
Next: 3muGeQirLw7CsUfyD4Drcc1o17RBieVdDiMWqjAP1hL6
Diff:
Old | New | | Differences |
---|
34 | 34 | | else false) |
---|
35 | 35 | | then !(isDefined(e.sellOrder.assetPair.priceAsset)) |
---|
36 | 36 | | else { |
---|
37 | | - | let er = "!READ!------------->MINIMAL PRICE FOR SILVER IS 1 WAVES------>MINIMAL AMOUNT FOR TRADE IS 10 SILVER!" |
---|
| 37 | + | let er = "!READ!------------->MINIMAL PRICE FOR SILVER IS 1 WAVES--------->MINIMAL AMOUNT FOR TRADE IS 10 SILVER!" |
---|
38 | 38 | | throw(er) |
---|
39 | 39 | | }) |
---|
40 | 40 | | then if ((exp >= (e.sellOrder.expiration - e.sellOrder.timestamp))) |
---|
41 | 41 | | then true |
---|
42 | 42 | | else (e.sender == god) |
---|
43 | 43 | | else { |
---|
44 | | - | let er1 = "!READ!------------->MINIMAL ORDER TIME FOR SILVER IS 1 DAY------>MINIMAL AMOUNT FOR SELL IS 13 SILVER!" |
---|
| 44 | + | let er1 = "!READ!------------->MAXIMAL ORDER TIME FOR SILVER IS 1 DAY------->MINIMAL AMOUNT FOR TRADE IS 10 SILVER!" |
---|
45 | 45 | | throw(er1) |
---|
46 | 46 | | }) |
---|
47 | 47 | | then if ((exp >= (e.buyOrder.expiration - e.buyOrder.timestamp))) |
---|
48 | 48 | | then true |
---|
49 | 49 | | else (e.sender == god) |
---|
50 | 50 | | else { |
---|
51 | | - | let er1 = "!READ!------------->MINIMAL ORDER TIME FOR SILVER IS 1 DAY------>MINIMAL AMOUNT FOR SELL IS 13 SILVER!" |
---|
| 51 | + | let er1 = "!READ!------------->MAXIMAL ORDER TIME FOR SILVER IS 1 DAY------->MINIMAL AMOUNT FOR TRADE IS 10 SILVER!" |
---|
52 | 52 | | throw(er1) |
---|
53 | 53 | | } |
---|
54 | 54 | | case _ => |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let exp = ((1450 * 60) * 1000) |
---|
4 | 4 | | let god = addressFromString("3N8soKHghgagZ5LP5esQ2qpCNt2VdBnEK6g") |
---|
5 | 5 | | match tx { |
---|
6 | 6 | | case e: MassTransferTransaction => |
---|
7 | 7 | | if ((e.sender == god)) |
---|
8 | 8 | | then true |
---|
9 | 9 | | else { |
---|
10 | 10 | | let er = "Silver much heave for transfer" |
---|
11 | 11 | | throw(er) |
---|
12 | 12 | | } |
---|
13 | 13 | | case e: SetAssetScriptTransaction => |
---|
14 | 14 | | if ((e.sender == god)) |
---|
15 | 15 | | then true |
---|
16 | 16 | | else false |
---|
17 | 17 | | case e: BurnTransaction => |
---|
18 | 18 | | if ((e.sender == god)) |
---|
19 | 19 | | then true |
---|
20 | 20 | | else { |
---|
21 | 21 | | let er = "You try to burn silver. Really?" |
---|
22 | 22 | | throw(er) |
---|
23 | 23 | | } |
---|
24 | 24 | | case e: TransferTransaction => |
---|
25 | 25 | | if ((e.sender == god)) |
---|
26 | 26 | | then true |
---|
27 | 27 | | else { |
---|
28 | 28 | | let er = "Silver much heave for transfer" |
---|
29 | 29 | | throw(er) |
---|
30 | 30 | | } |
---|
31 | 31 | | case e: ExchangeTransaction => |
---|
32 | 32 | | if (if (if (if ((e.price >= 100000000)) |
---|
33 | 33 | | then (e.sellOrder.amount >= 1000000000) |
---|
34 | 34 | | else false) |
---|
35 | 35 | | then !(isDefined(e.sellOrder.assetPair.priceAsset)) |
---|
36 | 36 | | else { |
---|
37 | | - | let er = "!READ!------------->MINIMAL PRICE FOR SILVER IS 1 WAVES------>MINIMAL AMOUNT FOR TRADE IS 10 SILVER!" |
---|
| 37 | + | let er = "!READ!------------->MINIMAL PRICE FOR SILVER IS 1 WAVES--------->MINIMAL AMOUNT FOR TRADE IS 10 SILVER!" |
---|
38 | 38 | | throw(er) |
---|
39 | 39 | | }) |
---|
40 | 40 | | then if ((exp >= (e.sellOrder.expiration - e.sellOrder.timestamp))) |
---|
41 | 41 | | then true |
---|
42 | 42 | | else (e.sender == god) |
---|
43 | 43 | | else { |
---|
44 | | - | let er1 = "!READ!------------->MINIMAL ORDER TIME FOR SILVER IS 1 DAY------>MINIMAL AMOUNT FOR SELL IS 13 SILVER!" |
---|
| 44 | + | let er1 = "!READ!------------->MAXIMAL ORDER TIME FOR SILVER IS 1 DAY------->MINIMAL AMOUNT FOR TRADE IS 10 SILVER!" |
---|
45 | 45 | | throw(er1) |
---|
46 | 46 | | }) |
---|
47 | 47 | | then if ((exp >= (e.buyOrder.expiration - e.buyOrder.timestamp))) |
---|
48 | 48 | | then true |
---|
49 | 49 | | else (e.sender == god) |
---|
50 | 50 | | else { |
---|
51 | | - | let er1 = "!READ!------------->MINIMAL ORDER TIME FOR SILVER IS 1 DAY------>MINIMAL AMOUNT FOR SELL IS 13 SILVER!" |
---|
| 51 | + | let er1 = "!READ!------------->MAXIMAL ORDER TIME FOR SILVER IS 1 DAY------->MINIMAL AMOUNT FOR TRADE IS 10 SILVER!" |
---|
52 | 52 | | throw(er1) |
---|
53 | 53 | | } |
---|
54 | 54 | | case _ => |
---|
55 | 55 | | false |
---|
56 | 56 | | } |
---|