6 | | - | case e: MassTransferTransaction => |
---|
7 | | - | if ((e.sender == god)) |
---|
8 | | - | then true |
---|
9 | | - | else { |
---|
10 | | - | let er = "Silver much heave for transfer" |
---|
11 | | - | throw(er) |
---|
12 | | - | } |
---|
13 | | - | case e: SetAssetScriptTransaction => |
---|
14 | | - | if ((e.sender == god)) |
---|
15 | | - | then true |
---|
16 | | - | else false |
---|
17 | | - | case e: BurnTransaction => |
---|
18 | | - | if ((e.sender == god)) |
---|
19 | | - | then true |
---|
20 | | - | else { |
---|
21 | | - | let er = "You try to burn silver. Really?" |
---|
22 | | - | throw(er) |
---|
23 | | - | } |
---|
24 | | - | case e: TransferTransaction => |
---|
25 | | - | if ((e.sender == god)) |
---|
26 | | - | then true |
---|
27 | | - | else { |
---|
28 | | - | let er = "Silver much heave for transfer" |
---|
29 | | - | throw(er) |
---|
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 (exp >= (e.sellOrder.expiration - e.sellOrder.timestamp)) |
---|
41 | | - | else { |
---|
42 | | - | let er1 = "!READ!------------->MAXIMAL ORDER TIME FOR SILVER IS 1 DAY------>MINIMAL AMOUNT FOR TRADE IS 10 SILVER!" |
---|
43 | | - | throw(er1) |
---|
44 | | - | }) |
---|
45 | | - | then (exp >= (e.buyOrder.expiration - e.buyOrder.timestamp)) |
---|
46 | | - | else { |
---|
47 | | - | let er1 = "!READ!------------->MAXIMAL ORDER TIME FOR SILVER IS 1 DAY------>MINIMAL AMOUNT FOR TRADE IS 10 SILVER!" |
---|
48 | | - | throw(er1) |
---|
49 | | - | } |
---|