tx · DkFTb83XRLvRZa9o7sPFqwMzy3ph4ddnyMdZxjxdjUSs 3MwL5afsAvUTAfaj2bpfgaNGAs2tCpaZEGw: -1.00000000 Waves 2018.12.07 13:09 [394089] smart account 3MwL5afsAvUTAfaj2bpfgaNGAs2tCpaZEGw > SELF 0.00000000 Waves
{ "type": 13, "id": "DkFTb83XRLvRZa9o7sPFqwMzy3ph4ddnyMdZxjxdjUSs", "fee": 100000000, "feeAssetId": null, "timestamp": 1544177370000, "version": 1, "sender": "3MwL5afsAvUTAfaj2bpfgaNGAs2tCpaZEGw", "senderPublicKey": "F5xUkZtTJzQX3HBfL7sF3Qga5btttPpm1MdU8htHtvay", "proofs": [ "4iFw7ZLiFsD97EsqEFzekUuzkCvkmHqouK7dznwQT7a4nyaaAkkL17449B7Rif2AZ7abcSE3ujo1tosJLAgfFiVu" ], "script": "base64:AQQAAAAQdHJhbnNhY3Rpb25zTGlzdAkBAAAAB0FkZHJlc3MAAAABAQAAABoBVJ3YT8k4BCzp0xTtchLW02vqb4YZWIC0ngQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwAwMDAwMEAAAABWluZGV4CQAAZAAAAAIJAABqAAAAAgkAAGQAAAACCAgFAAAAAnR4AAAACXNlbGxPcmRlcgAAAAl0aW1lc3RhbXAAAAAAAAAAAAEAAAAAAAAAAAoAAAAAAAAAAAEEAAAAAmlkCQACWQAAAAEJAQAAAAdleHRyYWN0AAAAAQkABB0AAAACBQAAABB0cmFuc2FjdGlvbnNMaXN0CQABpAAAAAEFAAAABWluZGV4BAAAAAF0CQAD6AAAAAEFAAAAAmlkBAAAAAckbWF0Y2gxBQAAAAF0AwkAAAEAAAACBQAAAAckbWF0Y2gxAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMQMDCQAAZgAAAAII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QAAAAJdHJhbnNmZXJzAAAAAAAAAAAHAAAABmFtb3VudAcHBwZ36eqt", "chainId": 84, "height": 394089, "spentComplexity": 0 } View: original | compacted Prev: 2D8goD6Pg6wD3PBpxBoHKDWgy2htqUEnYSDbvVCws9mX Next: AzqeACDA4NXpPiapahJ5bBoSM7nmVU84t32HqXojQbGj Diff:
Old | New | Differences | |
---|---|---|---|
3 | 3 | let transactionsList = Address(base58'3N4JgzdqAzHT281W1ypGyHELXJKGfVPTfQZ') | |
4 | 4 | match tx { | |
5 | 5 | case tx: ExchangeTransaction => | |
6 | - | let index = ((tx.sellOrder.timestamp % 10) + 1) | |
7 | - | let id = fromBase58String(extract(getString(transactionsList, toString(index)))) | |
8 | - | let t = transactionById(id) | |
9 | - | match t { | |
10 | - | case t: MassTransferTransaction => | |
11 | - | if (if ((t.transferCount > 1)) | |
12 | - | then (t.transfers[0].amount > 100) | |
13 | - | else false) | |
14 | - | then (5000 >= t.transfers[7].amount) | |
15 | - | else false | |
16 | - | case _ => | |
17 | - | false | |
18 | - | } | |
6 | + | if (if (if (if (if ({ | |
7 | + | let index = (((tx.sellOrder.timestamp + 1) % 10) + 1) | |
8 | + | let id = fromBase58String(extract(getString(transactionsList, toString(index)))) | |
9 | + | let t = transactionById(id) | |
10 | + | match t { | |
11 | + | case t: MassTransferTransaction => | |
12 | + | if (if ((t.transferCount > 1)) | |
13 | + | then (t.transfers[0].amount > 100) | |
14 | + | else false) | |
15 | + | then (5000 >= t.transfers[7].amount) | |
16 | + | else false | |
17 | + | case _ => | |
18 | + | false | |
19 | + | } | |
20 | + | }) | |
21 | + | then { | |
22 | + | let index = (((tx.sellOrder.timestamp + 2) % 10) + 1) | |
23 | + | let id = fromBase58String(extract(getString(transactionsList, toString(index)))) | |
24 | + | let t = transactionById(id) | |
25 | + | match t { | |
26 | + | case t: MassTransferTransaction => | |
27 | + | if (if ((t.transferCount > 1)) | |
28 | + | then (t.transfers[0].amount > 100) | |
29 | + | else false) | |
30 | + | then (5000 >= t.transfers[7].amount) | |
31 | + | else false | |
32 | + | case _ => | |
33 | + | false | |
34 | + | } | |
35 | + | } | |
36 | + | else false) | |
37 | + | then { | |
38 | + | let index = (((tx.sellOrder.timestamp + 3) % 10) + 1) | |
39 | + | let id = fromBase58String(extract(getString(transactionsList, toString(index)))) | |
40 | + | let t = transactionById(id) | |
41 | + | match t { | |
42 | + | case t: MassTransferTransaction => | |
43 | + | if (if ((t.transferCount > 1)) | |
44 | + | then (t.transfers[0].amount > 100) | |
45 | + | else false) | |
46 | + | then (5000 >= t.transfers[7].amount) | |
47 | + | else false | |
48 | + | case _ => | |
49 | + | false | |
50 | + | } | |
51 | + | } | |
52 | + | else false) | |
53 | + | then { | |
54 | + | let index = (((tx.sellOrder.timestamp + 4) % 10) + 1) | |
55 | + | let id = fromBase58String(extract(getString(transactionsList, toString(index)))) | |
56 | + | let t = transactionById(id) | |
57 | + | match t { | |
58 | + | case t: MassTransferTransaction => | |
59 | + | if (if ((t.transferCount > 1)) | |
60 | + | then (t.transfers[0].amount > 100) | |
61 | + | else false) | |
62 | + | then (5000 >= t.transfers[7].amount) | |
63 | + | else false | |
64 | + | case _ => | |
65 | + | false | |
66 | + | } | |
67 | + | } | |
68 | + | else false) | |
69 | + | then { | |
70 | + | let index = (((tx.sellOrder.timestamp + 5) % 10) + 1) | |
71 | + | let id = fromBase58String(extract(getString(transactionsList, toString(index)))) | |
72 | + | let t = transactionById(id) | |
73 | + | match t { | |
74 | + | case t: MassTransferTransaction => | |
75 | + | if (if ((t.transferCount > 1)) | |
76 | + | then (t.transfers[0].amount > 100) | |
77 | + | else false) | |
78 | + | then (5000 >= t.transfers[7].amount) | |
79 | + | else false | |
80 | + | case _ => | |
81 | + | false | |
82 | + | } | |
83 | + | } | |
84 | + | else false) | |
85 | + | then { | |
86 | + | let index = (((tx.sellOrder.timestamp + 6) % 10) + 1) | |
87 | + | let id = fromBase58String(extract(getString(transactionsList, toString(index)))) | |
88 | + | let t = transactionById(id) | |
89 | + | match t { | |
90 | + | case t: MassTransferTransaction => | |
91 | + | if (if ((t.transferCount > 1)) | |
92 | + | then (t.transfers[0].amount > 100) | |
93 | + | else false) | |
94 | + | then (5000 >= t.transfers[7].amount) | |
95 | + | else false | |
96 | + | case _ => | |
97 | + | false | |
98 | + | } | |
99 | + | } | |
100 | + | else false | |
19 | 101 | case _ => | |
20 | 102 | true | |
21 | 103 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 1 #-} | |
2 | 2 | {-# CONTENT_TYPE EXPRESSION #-} | |
3 | 3 | let transactionsList = Address(base58'3N4JgzdqAzHT281W1ypGyHELXJKGfVPTfQZ') | |
4 | 4 | match tx { | |
5 | 5 | case tx: ExchangeTransaction => | |
6 | - | let index = ((tx.sellOrder.timestamp % 10) + 1) | |
7 | - | let id = fromBase58String(extract(getString(transactionsList, toString(index)))) | |
8 | - | let t = transactionById(id) | |
9 | - | match t { | |
10 | - | case t: MassTransferTransaction => | |
11 | - | if (if ((t.transferCount > 1)) | |
12 | - | then (t.transfers[0].amount > 100) | |
13 | - | else false) | |
14 | - | then (5000 >= t.transfers[7].amount) | |
15 | - | else false | |
16 | - | case _ => | |
17 | - | false | |
18 | - | } | |
6 | + | if (if (if (if (if ({ | |
7 | + | let index = (((tx.sellOrder.timestamp + 1) % 10) + 1) | |
8 | + | let id = fromBase58String(extract(getString(transactionsList, toString(index)))) | |
9 | + | let t = transactionById(id) | |
10 | + | match t { | |
11 | + | case t: MassTransferTransaction => | |
12 | + | if (if ((t.transferCount > 1)) | |
13 | + | then (t.transfers[0].amount > 100) | |
14 | + | else false) | |
15 | + | then (5000 >= t.transfers[7].amount) | |
16 | + | else false | |
17 | + | case _ => | |
18 | + | false | |
19 | + | } | |
20 | + | }) | |
21 | + | then { | |
22 | + | let index = (((tx.sellOrder.timestamp + 2) % 10) + 1) | |
23 | + | let id = fromBase58String(extract(getString(transactionsList, toString(index)))) | |
24 | + | let t = transactionById(id) | |
25 | + | match t { | |
26 | + | case t: MassTransferTransaction => | |
27 | + | if (if ((t.transferCount > 1)) | |
28 | + | then (t.transfers[0].amount > 100) | |
29 | + | else false) | |
30 | + | then (5000 >= t.transfers[7].amount) | |
31 | + | else false | |
32 | + | case _ => | |
33 | + | false | |
34 | + | } | |
35 | + | } | |
36 | + | else false) | |
37 | + | then { | |
38 | + | let index = (((tx.sellOrder.timestamp + 3) % 10) + 1) | |
39 | + | let id = fromBase58String(extract(getString(transactionsList, toString(index)))) | |
40 | + | let t = transactionById(id) | |
41 | + | match t { | |
42 | + | case t: MassTransferTransaction => | |
43 | + | if (if ((t.transferCount > 1)) | |
44 | + | then (t.transfers[0].amount > 100) | |
45 | + | else false) | |
46 | + | then (5000 >= t.transfers[7].amount) | |
47 | + | else false | |
48 | + | case _ => | |
49 | + | false | |
50 | + | } | |
51 | + | } | |
52 | + | else false) | |
53 | + | then { | |
54 | + | let index = (((tx.sellOrder.timestamp + 4) % 10) + 1) | |
55 | + | let id = fromBase58String(extract(getString(transactionsList, toString(index)))) | |
56 | + | let t = transactionById(id) | |
57 | + | match t { | |
58 | + | case t: MassTransferTransaction => | |
59 | + | if (if ((t.transferCount > 1)) | |
60 | + | then (t.transfers[0].amount > 100) | |
61 | + | else false) | |
62 | + | then (5000 >= t.transfers[7].amount) | |
63 | + | else false | |
64 | + | case _ => | |
65 | + | false | |
66 | + | } | |
67 | + | } | |
68 | + | else false) | |
69 | + | then { | |
70 | + | let index = (((tx.sellOrder.timestamp + 5) % 10) + 1) | |
71 | + | let id = fromBase58String(extract(getString(transactionsList, toString(index)))) | |
72 | + | let t = transactionById(id) | |
73 | + | match t { | |
74 | + | case t: MassTransferTransaction => | |
75 | + | if (if ((t.transferCount > 1)) | |
76 | + | then (t.transfers[0].amount > 100) | |
77 | + | else false) | |
78 | + | then (5000 >= t.transfers[7].amount) | |
79 | + | else false | |
80 | + | case _ => | |
81 | + | false | |
82 | + | } | |
83 | + | } | |
84 | + | else false) | |
85 | + | then { | |
86 | + | let index = (((tx.sellOrder.timestamp + 6) % 10) + 1) | |
87 | + | let id = fromBase58String(extract(getString(transactionsList, toString(index)))) | |
88 | + | let t = transactionById(id) | |
89 | + | match t { | |
90 | + | case t: MassTransferTransaction => | |
91 | + | if (if ((t.transferCount > 1)) | |
92 | + | then (t.transfers[0].amount > 100) | |
93 | + | else false) | |
94 | + | then (5000 >= t.transfers[7].amount) | |
95 | + | else false | |
96 | + | case _ => | |
97 | + | false | |
98 | + | } | |
99 | + | } | |
100 | + | else false | |
19 | 101 | case _ => | |
20 | 102 | true | |
21 | 103 | } |
github/deemru/w8io/026f985 35.13 ms ◑