tx · CG6VUPhpexxZvZsosyhmmsDCaCz6SLpybkjJWVq8QT3G 3Mwm8B9Uv8agLfsT6DtUpMHJ9DyLniY7Tq3: -0.01000000 Waves 2020.02.10 17:38 [893303] smart account 3Mwm8B9Uv8agLfsT6DtUpMHJ9DyLniY7Tq3 > SELF 0.00000000 Waves
{ "type": 13, "id": "CG6VUPhpexxZvZsosyhmmsDCaCz6SLpybkjJWVq8QT3G", "fee": 1000000, "feeAssetId": null, "timestamp": 1581345497623, "version": 1, "sender": "3Mwm8B9Uv8agLfsT6DtUpMHJ9DyLniY7Tq3", "senderPublicKey": "HyRvzjRVRCHvu6D6gaz7hfUFfESr7DgpQmiPVizwNLkN", "proofs": [ "2Kyfss2mQvbSZ5uHR7iuf3xCyaSSzXSxve6HFkjKkQsQor4sybVqGc28ACiAPmj2ZhA4iZhkGaXk4TAENyCRB78q" ], "script": "base64:AAIDAAAAAAAAAAQIARIAAAAAIgEAAAAOZ2V0TnVtYmVyQnlLZXkAAAABAAAAA2tleQQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQAAAAAAAAAAAAEAAAAOZ2V0U3RyaW5nQnlLZXkAAAABAAAAA2tleQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQIAAAAAAQAAAAxnZXRCb29sQnlLZXkAAAABAAAAA2tleQQAAAAHJG1hdGNoMAkABBsAAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAB0Jvb2xlYW4EAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEHAQAAABhnZXROdW1iZXJCeUFkZHJlc3NBbmRLZXkAAAACAAAAB2FkZHJlc3MAAAADa2V5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AAAIFAAAABXByaWNlCQAAaQAAAAIJAABoAAAAAgUAAAAFcHJpY2UFAAAAEnBlcmNlbnRQcmljZU9mZnNldAAAAAAAAAAAZAUAAAAIbmV3UHJpY2UJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAADElzQmxvY2tlZEtleQYJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAQAAABVnZXRCbGFja1N3YXJtUHJpY2VLZXkAAAABBQAAAAZoZWlnaHQFAAAACG5ld1ByaWNlBQAAAANuaWwEAAAADW5ld1ByaWNlSW5kZXgJAABkAAAAAgUAAAAKcHJpY2VJbmRleAAAAAAAAAAAAQkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAIUHJpY2VLZXkFAAAACG5ld1ByaWNlCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQEAAAASZ2V0UHJpY2VIaXN0b3J5S2V5AAAAAQUAAAAGaGVpZ2h0BQAAAAhuZXdQcmljZQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAANUHJpY2VJbmRleEtleQUAAAANbmV3UHJpY2VJbmRleAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkBAAAAGGdldEhlaWdodFByaWNlQnlJbmRleEtleQAAAAEFAAAADW5ld1ByaWNlSW5kZXgFAAAABmhlaWdodAUAAAADbmlsAAAAAIkNEck=", "chainId": 84, "height": 893303, "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 3 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | func a (b) = { | |
5 | + | let c = getInteger(this, b) | |
6 | + | if ($isInstanceOf(c, "Int")) | |
7 | + | then { | |
8 | + | let d = c | |
9 | + | d | |
10 | + | } | |
11 | + | else 0 | |
12 | + | } | |
13 | + | ||
14 | + | ||
15 | + | func e (b) = { | |
16 | + | let c = getString(this, b) | |
17 | + | if ($isInstanceOf(c, "String")) | |
18 | + | then { | |
19 | + | let d = c | |
20 | + | d | |
21 | + | } | |
22 | + | else "" | |
23 | + | } | |
24 | + | ||
25 | + | ||
26 | + | func f (b) = { | |
27 | + | let c = getBoolean(this, b) | |
28 | + | if ($isInstanceOf(c, "Boolean")) | |
29 | + | then { | |
30 | + | let d = c | |
31 | + | d | |
32 | + | } | |
33 | + | else false | |
34 | + | } | |
35 | + | ||
36 | + | ||
37 | + | func g (h,b) = { | |
38 | + | let c = getInteger(h, b) | |
39 | + | if ($isInstanceOf(c, "Int")) | |
40 | + | then { | |
41 | + | let d = c | |
42 | + | d | |
43 | + | } | |
44 | + | else 0 | |
45 | + | } | |
46 | + | ||
47 | + | ||
48 | + | func i (h,b) = { | |
49 | + | let c = getString(h, b) | |
50 | + | if ($isInstanceOf(c, "String")) | |
51 | + | then { | |
52 | + | let d = c | |
53 | + | d | |
54 | + | } | |
55 | + | else "" | |
56 | + | } | |
57 | + | ||
58 | + | ||
59 | + | func j (k,l) = { | |
60 | + | let m = split(k, l) | |
61 | + | if ((take(m[1], 1) == ",")) | |
62 | + | then (m[0] + drop(m[1], 1)) | |
63 | + | else (dropRight(m[0], 1) + m[1]) | |
64 | + | } | |
65 | + | ||
66 | + | ||
67 | + | func n (o) = split(o, ",") | |
68 | + | ||
69 | + | ||
70 | + | let p = "block" | |
71 | + | ||
72 | + | let q = "unblock" | |
73 | + | ||
74 | + | let r = "update" | |
75 | + | ||
76 | + | let s = "oracles" | |
77 | + | ||
78 | + | let t = "price_offset" | |
79 | + | ||
80 | + | let u = "price" | |
81 | + | ||
82 | + | let v = "is_blocked" | |
83 | + | ||
84 | + | let w = "price_index" | |
85 | + | ||
86 | + | func x (y) = (("black_swarm_price" + "_") + toString(y)) | |
87 | + | ||
88 | + | ||
89 | + | func z (y) = ((u + "_") + toString(y)) | |
90 | + | ||
91 | + | ||
92 | + | func A (B) = ((w + "_") + toString(B)) | |
93 | + | ||
94 | + | ||
95 | + | func C (D) = ("price_" + toString(D)) | |
96 | + | ||
97 | + | ||
98 | + | let E = a(u) | |
99 | + | ||
100 | + | let F = a(w) | |
101 | + | ||
102 | + | let G = f(v) | |
103 | + | ||
104 | + | let H = 3 | |
105 | + | ||
106 | + | let I = a(t) | |
107 | + | ||
108 | + | let J = e(s) | |
109 | + | ||
110 | + | let K = n(J) | |
111 | + | ||
112 | + | func L (M,D) = g(addressFromStringValue(M), C(D)) | |
113 | + | ||
114 | + | ||
115 | + | func N (D) = a(z(D)) | |
116 | + | ||
117 | + | ||
118 | + | func O (h) = isDefined(indexOf(J, h)) | |
119 | + | ||
120 | + | ||
121 | + | func P (Q,h,R) = h :: Q | |
122 | + | ||
123 | + | ||
124 | + | func S (Q,h) = P(Q, h, p) | |
125 | + | ||
126 | + | ||
127 | + | func T (Q,h) = P(Q, h, q) | |
128 | + | ||
129 | + | ||
130 | + | func U (Q,h) = P(Q, h, r) | |
131 | + | ||
132 | + | ||
133 | + | func V (W) = { | |
134 | + | let X = 90 | |
135 | + | let Y = 110 | |
136 | + | let Z = W[0] | |
137 | + | let aa = if ((0 >= W[0])) | |
138 | + | then [0] | |
139 | + | else { | |
140 | + | let ab = ((W[1] * 100) / Z) | |
141 | + | let ac = ((W[2] * 100) / Z) | |
142 | + | let ad = ((W[3] * 100) / Z) | |
143 | + | let ae = ((W[4] * 100) / Z) | |
144 | + | let af = if (if ((Y > ab)) | |
145 | + | then (ab > X) | |
146 | + | else false) | |
147 | + | then [1, 0] | |
148 | + | else [0] | |
149 | + | let ag = if (if ((Y > ac)) | |
150 | + | then (ac > X) | |
151 | + | else false) | |
152 | + | then 2 :: af | |
153 | + | else af | |
154 | + | let ah = if (if ((Y > ad)) | |
155 | + | then (ad > X) | |
156 | + | else false) | |
157 | + | then 3 :: ag | |
158 | + | else ag | |
159 | + | if (if ((Y > ae)) | |
160 | + | then (ae > X) | |
161 | + | else false) | |
162 | + | then 4 :: ah | |
163 | + | else ah | |
164 | + | } | |
165 | + | let ai = if ((size(aa) >= 3)) | |
166 | + | then aa | |
167 | + | else { | |
168 | + | let aj = W[1] | |
169 | + | if ((0 >= aj)) | |
170 | + | then [1] | |
171 | + | else { | |
172 | + | let ak = ((W[0] * 100) / aj) | |
173 | + | let al = ((W[2] * 100) / aj) | |
174 | + | let am = ((W[3] * 100) / aj) | |
175 | + | let an = ((W[4] * 100) / aj) | |
176 | + | let af = if (if ((Y > ak)) | |
177 | + | then (ak > X) | |
178 | + | else false) | |
179 | + | then [0, 1] | |
180 | + | else [1] | |
181 | + | let ag = if (if ((Y > al)) | |
182 | + | then (al > X) | |
183 | + | else false) | |
184 | + | then 2 :: af | |
185 | + | else af | |
186 | + | let ah = if (if ((Y > am)) | |
187 | + | then (am > X) | |
188 | + | else false) | |
189 | + | then 3 :: ag | |
190 | + | else ag | |
191 | + | if (if ((Y > an)) | |
192 | + | then (an > X) | |
193 | + | else false) | |
194 | + | then 4 :: ah | |
195 | + | else ah | |
196 | + | } | |
197 | + | } | |
198 | + | let ao = if ((size(ai) >= 3)) | |
199 | + | then ai | |
200 | + | else { | |
201 | + | let ap = W[2] | |
202 | + | if ((0 >= ap)) | |
203 | + | then [2] | |
204 | + | else { | |
205 | + | let aq = ((W[0] * 100) / ap) | |
206 | + | let ar = ((W[1] * 100) / ap) | |
207 | + | let as = ((W[3] * 100) / ap) | |
208 | + | let at = ((W[4] * 100) / ap) | |
209 | + | let af = if (if ((Y > aq)) | |
210 | + | then (aq > X) | |
211 | + | else false) | |
212 | + | then [0, 2] | |
213 | + | else [2] | |
214 | + | let ag = if (if ((Y > ar)) | |
215 | + | then (ar > X) | |
216 | + | else false) | |
217 | + | then 1 :: af | |
218 | + | else af | |
219 | + | let ah = if (if ((Y > as)) | |
220 | + | then (as > X) | |
221 | + | else false) | |
222 | + | then 3 :: ag | |
223 | + | else ag | |
224 | + | if (if ((Y > at)) | |
225 | + | then (at > X) | |
226 | + | else false) | |
227 | + | then 4 :: ah | |
228 | + | else ah | |
229 | + | } | |
230 | + | } | |
231 | + | let au = if ((size(ao) >= 3)) | |
232 | + | then ao | |
233 | + | else { | |
234 | + | let av = W[3] | |
235 | + | if ((0 >= av)) | |
236 | + | then [3] | |
237 | + | else { | |
238 | + | let aw = ((W[0] * 100) / av) | |
239 | + | let ax = ((W[1] * 100) / av) | |
240 | + | let ay = ((W[2] * 100) / av) | |
241 | + | let az = ((W[4] * 100) / av) | |
242 | + | let af = if (if ((Y > aw)) | |
243 | + | then (aw > X) | |
244 | + | else false) | |
245 | + | then [0, 3] | |
246 | + | else [3] | |
247 | + | let ag = if (if ((Y > ax)) | |
248 | + | then (ax > X) | |
249 | + | else false) | |
250 | + | then 1 :: af | |
251 | + | else af | |
252 | + | let ah = if (if ((Y > ay)) | |
253 | + | then (ay > X) | |
254 | + | else false) | |
255 | + | then 2 :: ag | |
256 | + | else ag | |
257 | + | if (if ((Y > az)) | |
258 | + | then (az > X) | |
259 | + | else false) | |
260 | + | then 4 :: ah | |
261 | + | else ah | |
262 | + | } | |
263 | + | } | |
264 | + | if ((size(au) >= 3)) | |
265 | + | then au | |
266 | + | else { | |
267 | + | let aA = W[4] | |
268 | + | if ((0 >= aA)) | |
269 | + | then [4] | |
270 | + | else { | |
271 | + | let aB = ((W[0] * 100) / aA) | |
272 | + | let aC = ((W[1] * 100) / aA) | |
273 | + | let aD = ((W[2] * 100) / aA) | |
274 | + | let aE = ((W[3] * 100) / aA) | |
275 | + | let af = if (if ((Y > aB)) | |
276 | + | then (aB > X) | |
277 | + | else false) | |
278 | + | then [0, 4] | |
279 | + | else [4] | |
280 | + | let ag = if (if ((Y > aC)) | |
281 | + | then (aC > X) | |
282 | + | else false) | |
283 | + | then 1 :: af | |
284 | + | else af | |
285 | + | let ah = if (if ((Y > aD)) | |
286 | + | then (aD > X) | |
287 | + | else false) | |
288 | + | then 2 :: ag | |
289 | + | else ag | |
290 | + | if (if ((Y > aE)) | |
291 | + | then (aE > X) | |
292 | + | else false) | |
293 | + | then 3 :: ah | |
294 | + | else ah | |
295 | + | } | |
296 | + | } | |
297 | + | } | |
298 | + | ||
299 | + | ||
300 | + | @Callable(aF) | |
301 | + | func finalizeCurrentPrice () = { | |
302 | + | let W = [L(K[0], height), L(K[1], height), L(K[2], height), L(K[3], height), L(K[4], height)] | |
303 | + | let aG = V(W) | |
304 | + | let aH = size(aG) | |
305 | + | if ((3 > aH)) | |
306 | + | then throw("Could not finalize price because of big variation") | |
307 | + | else { | |
308 | + | let aI = ((W[aG[0]] + W[aG[1]]) + W[aG[2]]) | |
309 | + | let aJ = if ((aH >= 4)) | |
310 | + | then (aI + W[aG[3]]) | |
311 | + | else aI | |
312 | + | let aK = if ((aH >= 5)) | |
313 | + | then (aJ + W[aG[4]]) | |
314 | + | else aJ | |
315 | + | if ((aH >= 6)) | |
316 | + | then throw("Invalid pricesInRange creation") | |
317 | + | else { | |
318 | + | let aL = (aK / aH) | |
319 | + | if (G) | |
320 | + | then throw("contract is blocked") | |
321 | + | else if ((N(height) != 0)) | |
322 | + | then throw("wait next block") | |
323 | + | else if ((H > aH)) | |
324 | + | then throw((((toString(H) + "/5 oracles need to set a price (") + toString(aH)) + ")")) | |
325 | + | else if (if ((aL >= (E + ((E * I) / 100)))) | |
326 | + | then true | |
327 | + | else ((E - ((E * I) / 100)) >= aL)) | |
328 | + | then WriteSet([DataEntry(v, true), DataEntry(x(height), aL)]) | |
329 | + | else { | |
330 | + | let aM = (F + 1) | |
331 | + | WriteSet([DataEntry(u, aL), DataEntry(z(height), aL), DataEntry(w, aM), DataEntry(A(aM), height)]) | |
332 | + | } | |
333 | + | } | |
334 | + | } | |
335 | + | } | |
336 | + | ||
337 | + |
github/deemru/w8io/169f3d6 48.95 ms ◑