tx · 94tAx5f9SP4U2iburbHxFX9i2g784acV53b8uzg7R8FQ
3N8soKHghgagZ5LP5esQ2qpCNt2VdBnEK6g: -1.00000000 Waves
2019.02.20 08:24 [503038] smart asset 3N8soKHghgagZ5LP5esQ2qpCNt2VdBnEK6g > SELF 0.00000000 r5546
{
"type": 15,
"id": "94tAx5f9SP4U2iburbHxFX9i2g784acV53b8uzg7R8FQ",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1550640315100,
"version": 1,
"sender": "3N8soKHghgagZ5LP5esQ2qpCNt2VdBnEK6g",
"senderPublicKey": "EvMbAPKXogLKf5Y1WV7Kh9cQD6Q5zRRGigfhCtY85SAj",
"proofs": [
"3V9k5jYchhXU3qraJgV6jJvXAraE2L5Fverjj1ePkdRN6SdbqNUSqPkMspQdBmXnshpnriVrmx4RaipNiW4HEccC"
],
"assetId": "Hx1JZ9zBZNkVCthxPBJurrHFKvr46X5y6zLgPpEP7yAJ",
"script": "base64:AQQAAAADZXhwCQAAaAAAAAIJAABoAAAAAgAAAAAAAAAFqgAAAAAAAAAAPAAAAAAAAAAD6AQAAAADZ29kCQEAAAARYWRkcmVzc0Zyb21TdHJpbmcAAAABAgAAACMzTjhzb0tIZ2hnYWdaNUxQNWVzUTJxcENOdDJWZEJuRUs2ZwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwAwkAAAAAAAACCAUAAAABZQAAAAZzZW5kZXIFAAAAA2dvZAYEAAAAAmVyAgAAAB5TaWx2ZXIgbXVjaCBoZWF2ZSBmb3IgdHJhbnNmZXIJAAACAAAAAQUAAAACZXIDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAGVNldEFzc2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDADCQAAAAAAAAIIBQAAAAFlAAAABnNlbmRlcgUAAAADZ29kBgcDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgQAAAABZQUAAAAHJG1hdGNoMAMJAAAAAAAAAggFAAAAAWUAAAAGc2VuZGVyBQAAAANnb2QGBAAAAAJlcgIAAAAfWW91IHRyeSB0byBidXJuIHNpbHZlci4gUmVhbGx5PwkAAAIAAAABBQAAAAJlcgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABZQUAAAAHJG1hdGNoMAMJAAAAAAAAAggFAAAAAWUAAAAGc2VuZGVyBQAAAANnb2QGBAAAAAJlcgIAAAAeU2lsdmVyIG11Y2ggaGVhdmUgZm9yIHRyYW5zZmVyCQAAAgAAAAEFAAAAAmVyB8bYsDI=",
"chainId": 84,
"height": 503038,
"spentComplexity": 0
}
View: original | compacted
Prev: GxfnJ2AKVJfJdum6iC2yF9WRp4jWN4wTCWiJGVbfswhB
Next: 6usYjVfWqbLedkikCsHGpA9QBmmTqWeRZAChBDJ3MPdf
Diff:
Old | New | | Differences |
---|
28 | 28 | | let er = "Silver much heave for transfer" |
---|
29 | 29 | | throw(er) |
---|
30 | 30 | | } |
---|
31 | | - | case e: ExchangeTransaction => |
---|
32 | | - | if (if (if (if ((e.price >= 100000000)) |
---|
33 | | - | then (e.sellOrder.amount >= 1000000000) |
---|
34 | | - | else false) |
---|
35 | | - | then !(isDefined(e.sellOrder.assetPair.priceAsset)) |
---|
36 | | - | else { |
---|
37 | | - | let er = "!READ!------------>MINIMAL PRICE FOR SILVER IS 1 WAVES----->MINIMAL AMOUNT FOR TRADE IS 10 SILVER!" |
---|
38 | | - | throw(er) |
---|
39 | | - | }) |
---|
40 | | - | then if ((exp >= (e.sellOrder.expiration - e.sellOrder.timestamp))) |
---|
41 | | - | then true |
---|
42 | | - | else (e.sender == god) |
---|
43 | | - | else { |
---|
44 | | - | let er1 = "!READ!------------>MINIMAL ORDER TIME FOR SILVER IS 1 DAY----->MINIMAL AMOUNT FOR SELL IS 13 SILVER!" |
---|
45 | | - | throw(er1) |
---|
46 | | - | }) |
---|
47 | | - | then if ((exp >= (e.buyOrder.expiration - e.buyOrder.timestamp))) |
---|
48 | | - | then true |
---|
49 | | - | else (e.sender == god) |
---|
50 | | - | else { |
---|
51 | | - | let er1 = "!READ!------------>MINIMAL ORDER TIME FOR SILVER IS 1 DAY----->MINIMAL AMOUNT FOR SELL IS 13 SILVER!" |
---|
52 | | - | throw(er1) |
---|
53 | | - | } |
---|
54 | 31 | | case _ => |
---|
55 | | - | true |
---|
| 32 | + | false |
---|
56 | 33 | | } |
---|
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 | | - | case e: ExchangeTransaction => |
---|
32 | | - | if (if (if (if ((e.price >= 100000000)) |
---|
33 | | - | then (e.sellOrder.amount >= 1000000000) |
---|
34 | | - | else false) |
---|
35 | | - | then !(isDefined(e.sellOrder.assetPair.priceAsset)) |
---|
36 | | - | else { |
---|
37 | | - | let er = "!READ!------------>MINIMAL PRICE FOR SILVER IS 1 WAVES----->MINIMAL AMOUNT FOR TRADE IS 10 SILVER!" |
---|
38 | | - | throw(er) |
---|
39 | | - | }) |
---|
40 | | - | then if ((exp >= (e.sellOrder.expiration - e.sellOrder.timestamp))) |
---|
41 | | - | then true |
---|
42 | | - | else (e.sender == god) |
---|
43 | | - | else { |
---|
44 | | - | let er1 = "!READ!------------>MINIMAL ORDER TIME FOR SILVER IS 1 DAY----->MINIMAL AMOUNT FOR SELL IS 13 SILVER!" |
---|
45 | | - | throw(er1) |
---|
46 | | - | }) |
---|
47 | | - | then if ((exp >= (e.buyOrder.expiration - e.buyOrder.timestamp))) |
---|
48 | | - | then true |
---|
49 | | - | else (e.sender == god) |
---|
50 | | - | else { |
---|
51 | | - | let er1 = "!READ!------------>MINIMAL ORDER TIME FOR SILVER IS 1 DAY----->MINIMAL AMOUNT FOR SELL IS 13 SILVER!" |
---|
52 | | - | throw(er1) |
---|
53 | | - | } |
---|
54 | 31 | | case _ => |
---|
55 | | - | true |
---|
| 32 | + | false |
---|
56 | 33 | | } |
---|