tx · CwA1qphfQteYF1QsUFRVwCwB1RowwroJmQph5oHL244t 3N8soKHghgagZ5LP5esQ2qpCNt2VdBnEK6g: -1.00000000 Waves 2019.02.18 05:51 [500014] smart asset 3N8soKHghgagZ5LP5esQ2qpCNt2VdBnEK6g > SELF 0.00000000 r5546
{ "type": 15, "id": "CwA1qphfQteYF1QsUFRVwCwB1RowwroJmQph5oHL244t", "fee": 100000000, "feeAssetId": null, "timestamp": 1550458267800, "version": 1, "sender": "3N8soKHghgagZ5LP5esQ2qpCNt2VdBnEK6g", "senderPublicKey": "EvMbAPKXogLKf5Y1WV7Kh9cQD6Q5zRRGigfhCtY85SAj", "proofs": [ "4tJwpRjX61UzWzJcJpwzrZeonKTJ33xbrm4QPiDyRHPAGkHDNp4LK8jHcVTo8JrSP4baLUZkqwZCCUKLxVkSNucS" ], "assetId": "Hx1JZ9zBZNkVCthxPBJurrHFKvr46X5y6zLgPpEP7yAJ", "script": "base64:AQQAAAADZXhwCQAAaAAAAAIJAABoAAAAAgAAAAAAAAAFqgAAAAAAAAAAPAAAAAAAAAAD6AQAAAADZ29kCQEAAAARYWRkcmVzc0Zyb21TdHJpbmcAAAABAgAAACMzTjhzb0tIZ2hnYWdaNUxQNWVzUTJxcENOdDJWZEJuRUs2ZwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwAwkAAAAAAAACCAUAAAABZQAAAAZzZW5kZXIFAAAAA2dvZAYEAAAAAmVyAgAAAB5TaWx2ZXIgbXVjaCBoZWF2ZSBmb3IgdHJhbnNmZXIJAAACAAAAAQUAAAACZXIDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAGVNldEFzc2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDADCQAAAAAAAAIIBQAAAAFlAAAABnNlbmRlcgUAAAADZ29kBgcDCQAAA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AAFlAAAACGJ1eU9yZGVyAAAACmV4cGlyYXRpb24ICAUAAAABZQAAAAhidXlPcmRlcgAAAAl0aW1lc3RhbXAGCQAAAAAAAAIIBQAAAAFlAAAABnNlbmRlcgUAAAADZ29kBAAAAANlcjECAAAAOSFSRUFEIS0tLS0tLT0tLS0tLT5NSU5JTUFMIE9SREVSIFRJTUUgRk9SIFNJTFZFUiBJUyAxIERBWQkAAAIAAAABBQAAAANlcjEHrRCnag==", "chainId": 84, "height": 500014, "spentComplexity": 0 } View: original | compacted Prev: 5fafm2qecidFdQqCKfs1Dot9Ka64Jw5XgSAGGmTbJzQH Next: HMavwaWxAgzXVjYVPrdMxqhbMgcUAPM8NEzuXG32ZzkJ Diff:
Old | New | Differences | |
---|---|---|---|
29 | 29 | throw(er) | |
30 | 30 | } | |
31 | 31 | case e: ExchangeTransaction => | |
32 | - | if ((e. | |
33 | - | then | |
34 | - | else | |
35 | - | | |
36 | - | | |
37 | - | | |
38 | - | | |
39 | - | | |
40 | - | | |
41 | - | | |
42 | - | | |
43 | - | | |
44 | - | | |
45 | - | | |
46 | - | | |
47 | - | | |
48 | - | ||
49 | - | ||
50 | - | ||
51 | - | ||
32 | + | if (if (if ((e.price >= 100000000)) | |
33 | + | then !(isDefined(e.sellOrder.assetPair.priceAsset)) | |
34 | + | else { | |
35 | + | let er = "!READ!----------->MINIMAL PRICE FOR SILVER IS 1 WAVES" | |
36 | + | throw(er) | |
37 | + | }) | |
38 | + | then if ((exp >= (e.sellOrder.expiration - e.sellOrder.timestamp))) | |
39 | + | then true | |
40 | + | else (e.sender == god) | |
41 | + | else { | |
42 | + | let er1 = "!READ!----------->MINIMAL ORDER TIME FOR SILVER IS 1 DAY" | |
43 | + | throw(er1) | |
44 | + | }) | |
45 | + | then if ((exp >= (e.buyOrder.expiration - e.buyOrder.timestamp))) | |
46 | + | then true | |
47 | + | else (e.sender == god) | |
48 | + | else { | |
49 | + | let er1 = "!READ!------=----->MINIMAL ORDER TIME FOR SILVER IS 1 DAY" | |
50 | + | throw(er1) | |
51 | + | } | |
52 | 52 | case _ => | |
53 | 53 | false | |
54 | 54 | } |
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 | - | if ((e. | |
33 | - | then | |
34 | - | else | |
35 | - | | |
36 | - | | |
37 | - | | |
38 | - | | |
39 | - | | |
40 | - | | |
41 | - | | |
42 | - | | |
43 | - | | |
44 | - | | |
45 | - | | |
46 | - | | |
47 | - | | |
48 | - | ||
49 | - | ||
50 | - | ||
51 | - | ||
32 | + | if (if (if ((e.price >= 100000000)) | |
33 | + | then !(isDefined(e.sellOrder.assetPair.priceAsset)) | |
34 | + | else { | |
35 | + | let er = "!READ!----------->MINIMAL PRICE FOR SILVER IS 1 WAVES" | |
36 | + | throw(er) | |
37 | + | }) | |
38 | + | then if ((exp >= (e.sellOrder.expiration - e.sellOrder.timestamp))) | |
39 | + | then true | |
40 | + | else (e.sender == god) | |
41 | + | else { | |
42 | + | let er1 = "!READ!----------->MINIMAL ORDER TIME FOR SILVER IS 1 DAY" | |
43 | + | throw(er1) | |
44 | + | }) | |
45 | + | then if ((exp >= (e.buyOrder.expiration - e.buyOrder.timestamp))) | |
46 | + | then true | |
47 | + | else (e.sender == god) | |
48 | + | else { | |
49 | + | let er1 = "!READ!------=----->MINIMAL ORDER TIME FOR SILVER IS 1 DAY" | |
50 | + | throw(er1) | |
51 | + | } | |
52 | 52 | case _ => | |
53 | 53 | false | |
54 | 54 | } |
github/deemru/w8io/026f985 64.20 ms ◑