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