tx · 8Q3j931QAsG2YDZcEDB8cDkcQRtxpEShvrobTZsNjn1q

3MpQvABYaGz83T1mCcR4iX8irMhvVVARchB:  -0.01000000 Waves

2019.11.22 16:48 [776498] smart account 3MpQvABYaGz83T1mCcR4iX8irMhvVVARchB > SELF 0.00000000 Waves

{ "type": 13, "id": "8Q3j931QAsG2YDZcEDB8cDkcQRtxpEShvrobTZsNjn1q", "fee": 1000000, "feeAssetId": null, "timestamp": 1574430531356, "version": 1, "sender": "3MpQvABYaGz83T1mCcR4iX8irMhvVVARchB", "senderPublicKey": "5xwE5h3tN4TNU8uz13josXEpivshSnQPze4KvM1pJ19g", "proofs": [ "5uf93TazqMThYntLuRdAxJgYUpG29SzhYWJCS1KPS2WYLK4XDsATL1UK2WJi721cmmgwsL8w4hy2F315zJn13ETR" ], "script": "base64:AAIDAAAAAAAAAAkIARIAEgMKAQgAAAAyAQAAAA5nZXROdW1iZXJCeUtleQAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAAAAAAAAAAAAAQAAAA5nZXRTdHJpbmdCeUtleQAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAgAAAAABAAAADGdldEJvb2xCeUtleQAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEGwAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAHQm9vbGVhbgQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQcBAAAAGGdldE51bWJlckJ5QWRkcmVzc0FuZEtleQAAAAIAAAAHYWRkcmVzcwAAAANrZXkEAAAAByRtYXRjaDAJAAQa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J5AAAAAgUAAAAUU2NyaXB0VXBkYXRlQmxvY2tLZXkDCQAAZgAAAAIFAAAAEHVwZGF0ZVZvdGVzQ291bnQFAAAAE2JmdENvZWZmaWNpZW50QWRtaW4JAABkAAAAAgUAAAAGaGVpZ2h0BQAAABRzY3JpcHRVcGRhdGVJbnRlcnZhbAUAAAARc2NyaXB0VXBkYXRlQmxvY2sFAAAAC3Jlc2V0UmVzdWx0CQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAABJCbG9ja0V4cGlyZVZvdGVLZXkDCQAAZgAAAAIFAAAABmhlaWdodAUAAAAPYmxvY2tFeHBpcmVWb3RlCQAAZAAAAAIFAAAABmhlaWdodAUAAAAMdm90ZUludGVydmFsBQAAAA9ibG9ja0V4cGlyZVZvdGUJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAQAAABVnZXRBZG1pblZvdGVBY3Rpb25LZXkAAAABBQAAAAdhY2NvdW50BQAAAAZhY3Rpb24FAAAAA25pbAAAAAAkH44Z", "chainId": 84, "height": 776498, "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
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 = "admins"
79+
80+let u = "vote_interval"
81+
82+let v = "coefficient_oracle"
83+
84+let w = "coefficient_admin"
85+
86+let x = "script_update_interval"
87+
88+let y = "price_offset"
89+
90+let z = "price"
91+
92+let A = "is_blocked"
93+
94+let B = "vote_expire_block"
95+
96+let C = "script_update_block"
97+
98+let D = "price_index"
99+
100+func E (F) = ("admin_vote_" + F)
101+
102+
103+func G (F) = ((E(F) + "_") + "action")
104+
105+
106+func H (I) = (("black_swarm_price" + "_") + toString(I))
107+
108+
109+func J (I) = ((z + "_") + toString(I))
110+
111+
112+func K (L) = ((D + "_") + toString(L))
113+
114+
115+func M (N) = ("price_" + toString(N))
116+
117+
118+let O = a(z)
119+
120+let P = a(D)
121+
122+let Q = a(B)
123+
124+let R = a(C)
125+
126+let S = a(x)
127+
128+let T = f(A)
129+
130+let U = a(v)
131+
132+let V = a(w)
133+
134+let W = a(y)
135+
136+let X = a(u)
137+
138+let Y = e(s)
139+
140+let Z = e(t)
141+
142+let aa = n(Y)
143+
144+let ab = n(Z)
145+
146+func ac (F) = e(G(F))
147+
148+
149+func ad (F,N) = g(addressFromStringValue(F), M(N))
150+
151+
152+func ae (h) = isDefined(indexOf(Y, h))
153+
154+
155+func af (h) = isDefined(indexOf(Z, h))
156+
157+
158+func ag (ah,h,ai) = h :: ah
159+
160+
161+func aj (ah,h) = ag(ah, h, p)
162+
163+
164+func ak (ah,h) = ag(ah, h, q)
165+
166+
167+func al (ah,h) = ag(ah, h, r)
168+
169+
170+@Callable(am)
171+func finalizeCurrentPrice () = {
172+ let an = [ad(aa[0], height), ad(aa[1], height), ad(aa[2], height), ad(aa[3], height), ad(aa[4], height)]
173+ let ao = if ((an[0] != 0))
174+ then 1
175+ else (0 + (if ((an[1] != 0))
176+ then 1
177+ else (0 + (if ((an[2] != 0))
178+ then 1
179+ else (0 + (if ((an[3] != 0))
180+ then 1
181+ else (0 + (if ((an[4] != 0))
182+ then 1
183+ else 0))))))))
184+ let ap = ((((an[0] + an[1]) + an[2]) + an[3]) + an[4])
185+ let aq = (ap / ao)
186+ if (T)
187+ then throw("contract is blocked")
188+ else if ((U > ao))
189+ then throw("3/5 oracles need to set a price")
190+ else if (if ((aq >= (O + ((O * W) / 100))))
191+ then true
192+ else ((O - ((O * W) / 100)) >= aq))
193+ then WriteSet([DataEntry(A, true), DataEntry(H(height), aq)])
194+ else {
195+ let ar = (P + 1)
196+ WriteSet([DataEntry(z, aq), DataEntry(J(height), aq), DataEntry(D, ar), DataEntry(K(ar), height)])
197+ }
198+ }
199+
200+
201+
202+@Callable(am)
203+func vote (ai) = {
204+ let as = toString(am.caller)
205+ let at = n(j(Z, as))
206+ let au = ac(as)
207+ let av = {
208+ let aw = at
209+ let ax = size(aw)
210+ let ay = nil
211+ if ((ax == 0))
212+ then ay
213+ else {
214+ let az = aj(ay, aw[0])
215+ if ((ax == 1))
216+ then az
217+ else {
218+ let aA = aj(az, aw[1])
219+ if ((ax == 2))
220+ then aA
221+ else {
222+ let aB = aj(aA, aw[2])
223+ if ((ax == 3))
224+ then aB
225+ else {
226+ let aC = aj(aB, aw[3])
227+ if ((ax == 4))
228+ then aC
229+ else {
230+ let aD = aj(aC, aw[4])
231+ if ((ax == 5))
232+ then aD
233+ else {
234+ let aE = aj(aD, aw[5])
235+ throw("List size exceed 5")
236+ }
237+ }
238+ }
239+ }
240+ }
241+ }
242+ }
243+ let aF = {
244+ let aG = at
245+ let aH = size(aG)
246+ let aI = nil
247+ if ((aH == 0))
248+ then aI
249+ else {
250+ let aJ = ak(aI, aG[0])
251+ if ((aH == 1))
252+ then aJ
253+ else {
254+ let aK = ak(aJ, aG[1])
255+ if ((aH == 2))
256+ then aK
257+ else {
258+ let aL = ak(aK, aG[2])
259+ if ((aH == 3))
260+ then aL
261+ else {
262+ let aM = ak(aL, aG[3])
263+ if ((aH == 4))
264+ then aM
265+ else {
266+ let aN = ak(aM, aG[4])
267+ if ((aH == 5))
268+ then aN
269+ else {
270+ let aO = ak(aN, aG[5])
271+ throw("List size exceed 5")
272+ }
273+ }
274+ }
275+ }
276+ }
277+ }
278+ }
279+ let aP = {
280+ let aQ = at
281+ let aR = size(aQ)
282+ let aS = nil
283+ if ((aR == 0))
284+ then aS
285+ else {
286+ let aT = al(aS, aQ[0])
287+ if ((aR == 1))
288+ then aT
289+ else {
290+ let aU = al(aT, aQ[1])
291+ if ((aR == 2))
292+ then aU
293+ else {
294+ let aV = al(aU, aQ[2])
295+ if ((aR == 3))
296+ then aV
297+ else {
298+ let aW = al(aV, aQ[3])
299+ if ((aR == 4))
300+ then aW
301+ else {
302+ let aX = al(aW, aQ[4])
303+ if ((aR == 5))
304+ then aX
305+ else {
306+ let aY = al(aX, aQ[5])
307+ throw("List size exceed 5")
308+ }
309+ }
310+ }
311+ }
312+ }
313+ }
314+ }
315+ let aZ = (size(av) + (if ((ai == p))
316+ then 1
317+ else 0))
318+ let ba = (size(aF) + (if ((ai == q))
319+ then 1
320+ else 0))
321+ let bb = (size(aP) + (if ((ai == r))
322+ then 1
323+ else 0))
324+ let bc = [DataEntry(B, 0), DataEntry(G(at[0]), ""), DataEntry(G(at[1]), ""), DataEntry(G(at[2]), ""), DataEntry(G(at[3]), "")]
325+ if (if ((aZ >= V))
326+ then true
327+ else (ba >= V))
328+ then WriteSet(DataEntry(A, if ((aZ >= V))
329+ then true
330+ else false) :: bc)
331+ else if ((bb > V))
332+ then WriteSet(DataEntry(C, if ((bb > V))
333+ then (height + S)
334+ else R) :: bc)
335+ else WriteSet([DataEntry(B, if ((height > Q))
336+ then (height + X)
337+ else Q), DataEntry(G(as), ai)])
338+ }
339+
340+

github/deemru/w8io/026f985 
25.41 ms