tx · FnaSDvZJ9CqkxySJfcFzA1vj6Ux1DGV9bURgun74yWz5

3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx:  -0.02000000 Waves

2020.07.14 16:58 [1087090] smart account 3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx > SELF 0.00000000 Waves

{ "type": 13, "id": "FnaSDvZJ9CqkxySJfcFzA1vj6Ux1DGV9bURgun74yWz5", "fee": 2000000, "feeAssetId": null, "timestamp": 1594735040166, "version": 1, "sender": "3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx", "senderPublicKey": "NaY7sqttWGpnVrcb6uE8xPp2VnMjT7fhv3q1TKGL9ar", "proofs": [ "2QP9bt9U1hdpbCiuypEms7dyB2m5JsRfeGVw2YQcqQcCUggFndtRYRfZpBZX9S1GNQADneKnuEcTizCSpcB3srfY", "3rksjYewHLB78N7XdusBkTQG3MrKP6FYL477Fzk8kihJ2Np4m715hpS5HWSvi8SVbFUUDqATND1Ar1XMHAKQSNFC", "36qcJzJpGTfmZZ9k1yyHCtLKs2RYW9HmR1NhYB87QZhEY2Bx8M2y3XMDYAWhrpwggP4BjVV8Sy6jepbwp4Q9ceMs" ], "script": "base64:AAIDAAAAAAAAABcIARIDCgEIEgwKCgECAQIBAgECAQISAAAAABgBAAAAFmNvbnZlcnRXYXZlc1RvTmV1dHJpbm8AAAACAAAABmFtb3VudAAAAAVwcmljZQkAAGsAAAADCQAAawAAAAMFAAAABmFtb3VudAUAAAAFcHJpY2UAAAAAAAAPQkAAAAAAAAAPQkAAAAAAAAX14QABAAAADmdldFN0cmluZ0J5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAAAAEAAAAYZ2V0TnVtYmVyQnlBZGRyZXNzQW5kS2V5AAAAAgAAAAd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AAAAQkAAZEAAAACBQAAABBwdWJLZXlBZG1pbnNMaXN0AAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEJAAJZAAAAAQkAAZEAAAACBQAAABBwdWJLZXlBZG1pbnNMaXN0AAAAAAAAAAABAAAAAAAAAAABAAAAAAAAAAAAAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIJAAJZAAAAAQkAAZEAAAACBQAAABBwdWJLZXlBZG1pbnNMaXN0AAAAAAAAAAACAAAAAAAAAAABAAAAAAAAAAAAAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAMJAAJZAAAAAQkAAZEAAAACBQAAABBwdWJLZXlBZG1pbnNMaXN0AAAAAAAAAAADAAAAAAAAAAACAAAAAAAAAAAACQAAZwAAAAIFAAAABWNvdW50AAAAAAAAAAADAfSrSg==", "chainId": 84, "height": 1087090, "spentComplexity": 0 } View: original | compacted Prev: 8Pw9hj1CRm5MpxfoV7SLVYn3bFhAceZW7gYwyAtVxViq Next: 8MMAPLgc1dx9wweySh4pAuwYek7XLArWYsFvws4y56t8 Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-func a (b,c) = fraction(fraction(b, c, 100), 1000000, 100000000)
4+func a (b,c) = fraction(fraction(b, c, 1000000), 1000000, 100000000)
55
66
77 func d (e) = {
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-func a (b,c) = fraction(fraction(b, c, 100), 1000000, 100000000)
4+func a (b,c) = fraction(fraction(b, c, 1000000), 1000000, 100000000)
55
66
77 func d (e) = {
88 let f = getString(this, e)
99 if ($isInstanceOf(f, "String"))
1010 then {
1111 let g = f
1212 g
1313 }
1414 else ""
1515 }
1616
1717
1818 func h (i,e) = {
1919 let f = getInteger(addressFromStringValue(i), e)
2020 if ($isInstanceOf(f, "Int"))
2121 then {
2222 let g = f
2323 g
2424 }
2525 else 0
2626 }
2727
2828
2929 func j (k,l) = {
3030 let f = getInteger(addressFromPublicKey(k), ("price_" + toString(l)))
3131 if ($isInstanceOf(f, "Int"))
3232 then {
3333 let g = f
3434 g
3535 }
3636 else 0
3737 }
3838
3939
4040 func m (i,e) = {
4141 let f = getString(i, e)
4242 if ($isInstanceOf(f, "String"))
4343 then {
4444 let g = f
4545 g
4646 }
4747 else ""
4848 }
4949
5050
5151 func n (o,p) = {
5252 let q = split(o, p)
5353 if ((take(q[1], 1) == ","))
5454 then (q[0] + drop(q[1], 1))
5555 else (dropRight(q[0], 1) + q[1])
5656 }
5757
5858
5959 func r (s) = split(s, ",")
6060
6161
6262 let c = {
6363 let f = getInteger(this, "price")
6464 if ($isInstanceOf(f, "Int"))
6565 then {
6666 let g = f
6767 g
6868 }
6969 else 0
7070 }
7171
7272 let t = {
7373 let f = getInteger(this, "price_index")
7474 if ($isInstanceOf(f, "Int"))
7575 then {
7676 let g = f
7777 g
7878 }
7979 else 0
8080 }
8181
8282 let u = {
8383 let f = getBoolean(this, "is_blocked")
8484 if ($isInstanceOf(f, "Boolean"))
8585 then {
8686 let g = f
8787 g
8888 }
8989 else false
9090 }
9191
9292 let v = 25
9393
9494 let w = d("oracles")
9595
9696 let x = r(w)
9797
9898 let y = 3
9999
100100 let z = addressFromPublicKey(fromBase58String("BxuvXsg8sFXf7MNECYrdsEgrMMMkWVKKhbcFdoormLWF"))
101101
102102 let A = addressFromPublicKey(fromBase58String("6PBV8fVJwLaUQbCyG7iqoKR3x1nqFRZFNeuN9qodoiTu"))
103103
104104 let B = fromBase58String("25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT")
105105
106106 let C = {
107107 let f = getInteger(z, "balance_lock_neutrino")
108108 if ($isInstanceOf(f, "Int"))
109109 then {
110110 let g = f
111111 g
112112 }
113113 else 0
114114 }
115115
116116 let D = {
117117 let f = getInteger(z, "balance_lock_waves")
118118 if ($isInstanceOf(f, "Int"))
119119 then {
120120 let g = f
121121 g
122122 }
123123 else 0
124124 }
125125
126126 let E = (wavesBalance(z) - D)
127127
128128 let F = (((C + extract(assetInfo(B)).quantity) - assetBalance(z, B)) - assetBalance(A, B))
129129
130130 let G = (F - a(E, c))
131131
132132 func H (I) = {
133133 let J = 90
134134 let K = 110
135135 let L = I[0]
136136 let M = if ((0 >= I[0]))
137137 then [0]
138138 else {
139139 let N = ((I[1] * 100) / L)
140140 let O = ((I[2] * 100) / L)
141141 let P = ((I[3] * 100) / L)
142142 let Q = ((I[4] * 100) / L)
143143 let R = if (if ((K > N))
144144 then (N > J)
145145 else false)
146146 then [1, 0]
147147 else [0]
148148 let S = if (if ((K > O))
149149 then (O > J)
150150 else false)
151151 then 2 :: R
152152 else R
153153 let T = if (if ((K > P))
154154 then (P > J)
155155 else false)
156156 then 3 :: S
157157 else S
158158 if (if ((K > Q))
159159 then (Q > J)
160160 else false)
161161 then 4 :: T
162162 else T
163163 }
164164 let U = if ((size(M) >= 3))
165165 then M
166166 else {
167167 let V = I[1]
168168 if ((0 >= V))
169169 then [1]
170170 else {
171171 let W = ((I[0] * 100) / V)
172172 let X = ((I[2] * 100) / V)
173173 let Y = ((I[3] * 100) / V)
174174 let Z = ((I[4] * 100) / V)
175175 let R = if (if ((K > W))
176176 then (W > J)
177177 else false)
178178 then [0, 1]
179179 else [1]
180180 let S = if (if ((K > X))
181181 then (X > J)
182182 else false)
183183 then 2 :: R
184184 else R
185185 let T = if (if ((K > Y))
186186 then (Y > J)
187187 else false)
188188 then 3 :: S
189189 else S
190190 if (if ((K > Z))
191191 then (Z > J)
192192 else false)
193193 then 4 :: T
194194 else T
195195 }
196196 }
197197 let aa = if ((size(U) >= 3))
198198 then U
199199 else {
200200 let ab = I[2]
201201 if ((0 >= ab))
202202 then [2]
203203 else {
204204 let ac = ((I[0] * 100) / ab)
205205 let ad = ((I[1] * 100) / ab)
206206 let ae = ((I[3] * 100) / ab)
207207 let af = ((I[4] * 100) / ab)
208208 let R = if (if ((K > ac))
209209 then (ac > J)
210210 else false)
211211 then [0, 2]
212212 else [2]
213213 let S = if (if ((K > ad))
214214 then (ad > J)
215215 else false)
216216 then 1 :: R
217217 else R
218218 let T = if (if ((K > ae))
219219 then (ae > J)
220220 else false)
221221 then 3 :: S
222222 else S
223223 if (if ((K > af))
224224 then (af > J)
225225 else false)
226226 then 4 :: T
227227 else T
228228 }
229229 }
230230 let ag = if ((size(aa) >= 3))
231231 then aa
232232 else {
233233 let ah = I[3]
234234 if ((0 >= ah))
235235 then [3]
236236 else {
237237 let ai = ((I[0] * 100) / ah)
238238 let aj = ((I[1] * 100) / ah)
239239 let ak = ((I[2] * 100) / ah)
240240 let al = ((I[4] * 100) / ah)
241241 let R = if (if ((K > ai))
242242 then (ai > J)
243243 else false)
244244 then [0, 3]
245245 else [3]
246246 let S = if (if ((K > aj))
247247 then (aj > J)
248248 else false)
249249 then 1 :: R
250250 else R
251251 let T = if (if ((K > ak))
252252 then (ak > J)
253253 else false)
254254 then 2 :: S
255255 else S
256256 if (if ((K > al))
257257 then (al > J)
258258 else false)
259259 then 4 :: T
260260 else T
261261 }
262262 }
263263 if ((size(ag) >= 3))
264264 then ag
265265 else {
266266 let am = I[4]
267267 if ((0 >= am))
268268 then [4]
269269 else {
270270 let an = ((I[0] * 100) / am)
271271 let ao = ((I[1] * 100) / am)
272272 let ap = ((I[2] * 100) / am)
273273 let aq = ((I[3] * 100) / am)
274274 let R = if (if ((K > an))
275275 then (an > J)
276276 else false)
277277 then [0, 4]
278278 else [4]
279279 let S = if (if ((K > ao))
280280 then (ao > J)
281281 else false)
282282 then 1 :: R
283283 else R
284284 let T = if (if ((K > ap))
285285 then (ap > J)
286286 else false)
287287 then 2 :: S
288288 else S
289289 if (if ((K > aq))
290290 then (aq > J)
291291 else false)
292292 then 3 :: T
293293 else T
294294 }
295295 }
296296 }
297297
298298
299299 func ar (c,l) = toBytes((((("WAVESNEUTRINOPREFIX" + "_") + toString(l)) + "_") + toString(c)))
300300
301301
302302 @Callable(as)
303303 func callEmergencyShutdown (at) = {
304304 let au = "3N65UDbSkK72XdSgH3NhvJ8HaH57x8VmoW3"
305305 let av = toString(as.caller)
306306 if ((au != av))
307307 then throw("caller must be one an emergency oracle")
308308 else WriteSet([DataEntry("is_blocked", true), DataEntry("is_blocked_caller", av), DataEntry("is_blocked_reason", at)])
309309 }
310310
311311
312312
313313 @Callable(as)
314314 func finalizeCurrentPrice (aw,ax,ay,az,aA,aB,aC,aD,aE,aF) = if (u)
315315 then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
316316 else if (({
317317 let f = getInteger(this, ("price_" + toString(height)))
318318 if ($isInstanceOf(f, "Int"))
319319 then {
320320 let g = f
321321 g
322322 }
323323 else 0
324324 } != 0))
325325 then throw("wait next block")
326326 else if ((x[(height % 5)] != toBase58String(as.callerPublicKey)))
327327 then throw(((("Out of turn finalization: " + toString(height)) + " block should be finalize by ") + x[(height % 5)]))
328328 else {
329329 let I = [if (sigVerify(ar(aw, height), ax, fromBase58String(x[0])))
330330 then aw
331331 else 0, if (sigVerify(ar(ay, height), az, fromBase58String(x[1])))
332332 then ay
333333 else 0, if (sigVerify(ar(aA, height), aB, fromBase58String(x[2])))
334334 then aA
335335 else 0, if (sigVerify(ar(aC, height), aD, fromBase58String(x[3])))
336336 then aC
337337 else 0, if (sigVerify(ar(aE, height), aF, fromBase58String(x[4])))
338338 then aE
339339 else 0]
340340 let aG = H(I)
341341 let aH = size(aG)
342342 if ((3 > aH))
343343 then throw(((((((((((((((((((((("Could not finalize price because of big variation: height=" + toString(height)) + "
344344 ") + x[0]) + "=") + toString(I[0])) + "
345345 ") + x[1]) + "=") + toString(I[1])) + "
346346 ") + x[2]) + "=") + toString(I[2])) + "
347347 ") + x[3]) + "=") + toString(I[3])) + "
348348 ") + x[4]) + "=") + toString(I[4])))
349349 else {
350350 let aI = ((I[aG[0]] + I[aG[1]]) + I[aG[2]])
351351 let aJ = if ((aH >= 4))
352352 then (aI + I[aG[3]])
353353 else aI
354354 let aK = if ((aH >= 5))
355355 then (aJ + I[aG[4]])
356356 else aJ
357357 if ((aH >= 6))
358358 then throw("Invalid pricesInRange creation")
359359 else {
360360 let aL = (aK / aH)
361361 if (if ((aL >= (c + ((c * v) / 100))))
362362 then true
363363 else ((c - ((c * v) / 100)) >= aL))
364364 then {
365365 let at = "automatic emergency shutdown because of large price variability"
366366 WriteSet([DataEntry("is_blocked", true), DataEntry("is_blocked_caller", toString(this)), DataEntry("is_blocked_reason", at), DataEntry((("black_swarm_price" + "_") + toString(height)), aL)])
367367 }
368368 else {
369369 let aM = (t + 1)
370370 WriteSet([DataEntry("price", aL), DataEntry(("price_" + toString(height)), aL), DataEntry("price_index", aM), DataEntry(("price_index_" + toString(aM)), height), DataEntry(("deficit_" + toString(height)), G), DataEntry(("neutrinoSupply_" + toString(height)), F), DataEntry(("deficit_percent_" + toString(height)), if ((F != 0))
371371 then ((G * 100) / F)
372372 else 0)])
373373 }
374374 }
375375 }
376376 }
377377
378378
379379
380380 @Callable(as)
381381 func updateReservesAndNeutrinoSupply () = {
382382 func aN (e) = {
383383 let f = getInteger(this, e)
384384 if ($isInstanceOf(f, "Int"))
385385 then {
386386 let g = f
387387 g
388388 }
389389 else 0
390390 }
391391
392392 let aO = aN("updateReservesAndNeutrinoSupplyIdx")
393393 let aP = (aO + 1)
394394 WriteSet([DataEntry("updateReservesAndNeutrinoSupplyIdx", aP), DataEntry("reserve", E), DataEntry("neutrinoSupply", F), DataEntry("deficit", G)])
395395 }
396396
397397
398398 @Verifier(aQ)
399399 func aR () = {
400400 let aS = ["GXxmZaCigPgJsT6d1cLr8nUXA65nGX8V7FuAzzrY8wQE", "3xumx4hrPpeeoo79HLGbZCgfz95L39ZFdxxwWeSUC2Pu", "D4CqtK5fBsnzRo33ZMhrM7niLseDH2uRoK6weBq2JQ3A", "5WRXFSjwcTbNfKcJs8ZqXmSSWYsSVJUtMvMqZj5hH4Nc"]
401401 let aT = ((((if (sigVerify(aQ.bodyBytes, aQ.proofs[0], fromBase58String(aS[0])))
402402 then 1
403403 else 0) + (if (sigVerify(aQ.bodyBytes, aQ.proofs[1], fromBase58String(aS[1])))
404404 then 1
405405 else 0)) + (if (sigVerify(aQ.bodyBytes, aQ.proofs[2], fromBase58String(aS[2])))
406406 then 1
407407 else 0)) + (if (sigVerify(aQ.bodyBytes, aQ.proofs[3], fromBase58String(aS[3])))
408408 then 2
409409 else 0))
410410 (aT >= 3)
411411 }
412412

github/deemru/w8io/169f3d6 
48.62 ms