tx · 38Z2tFWLwtSQUbsMMagNj2K9duBg2CEzDwGG4x5m54aj

3Mp5JgVSHA9iziujC9Kmnf2rCN5SYFE97yC:  -0.01400000 Waves

2021.11.17 18:43 [1795231] smart account 3Mp5JgVSHA9iziujC9Kmnf2rCN5SYFE97yC > SELF 0.00000000 Waves

{ "type": 13, "id": "38Z2tFWLwtSQUbsMMagNj2K9duBg2CEzDwGG4x5m54aj", "fee": 1400000, "feeAssetId": null, "timestamp": 1637163804531, "version": 2, "chainId": 84, "sender": "3Mp5JgVSHA9iziujC9Kmnf2rCN5SYFE97yC", "senderPublicKey": "CSx1y2ADZAi6KvFZT2LoqQmX5qBxDVVGGZ6heDAGngHM", "proofs": [ "W7MN4Jk6uH8V6kNfXfV4Fk8rs4WB3vBguWoEntgp6PWotvwTzpabKDzZuQoDiWdqS19JcAkTCYsQmDmd1cxKDMq", "5vqMW9i45CNb7pKaLNtw3hb3rhcmKxEMAK3pimeoBVsocaRtCw74T5jA2sM1Lew2fndYkK46y8c9RL66VFN5JWns" ], "script": "base64:AAIFAAAAAAAAABwIAhIHCgUBERgRGBIAEgMKAQgSBAoCAQgSABIAAAAAHgAAAAAJa2V5QWN0aXZlAgAAAAZhY3RpdmUAAAAADGtleUVuZEhlaWdodAIAAAAKZW5kX2hlaWdodAAAAAAPa2V5UHJpemVzUHJpY2VzAgAAAA1wcml6ZXNfcHJpY2VzAAAAAAxrZXlQcml6ZXNJZHMCAAAACnByaXplc19pZHMAAAAAEGtleVByaXplc0Ftb3VudHMCAAAADXByaXplc19hbW91bnQAAAAADmtleUxldmVsUHJpY2VzAgAAAAxsZXZlbF9wcmljZXMAAAAAC2tleUxldmVsSWRzAgAAAAlsZXZlbF9pZHMAAAAACWtleVNXT1BpZAIAAAAHU1dPUF9pZAAAAAAOa2V5VG90YWxCdXJuZWQCAAAADHRvdGFsX2J1cm5lZAAAAAANa2V5VmVyaWZ5SGFzaAIAAAALdmVyaWZ5X2hhc2gAAAAAEWtleUZpbmFsaXpl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icationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7oCh7fHPcS1P3JKrXndGXbZ34u99ZEosar2WUSbkzb3n Next: 6qppARN7VdAA7SPQUtayCpV3EARPY6oh3nN6zn7YY5sG Diff:
OldNewDifferences
151151 let U = valueOrElse(getInteger(this, b), 0)
152152 if (!(C))
153153 then throw("DApp is inactive at this moment")
154- else if (if ((U > height))
154+ else if (if ((height > U))
155155 then true
156156 else (U == 0))
157157 then throw("Swop burning are ended or not started yet")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "active"
55
66 let b = "end_height"
77
88 let c = "prizes_prices"
99
1010 let d = "prizes_ids"
1111
1212 let e = "prizes_amount"
1313
1414 let f = "level_prices"
1515
1616 let g = "level_ids"
1717
1818 let h = "SWOP_id"
1919
2020 let i = "total_burned"
2121
2222 let j = "verify_hash"
2323
2424 let k = "finalize_height"
2525
2626 let l = "_total_burned"
2727
2828 let m = Address(base58'3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9')
2929
3030 let n = Address(base58'3MsxHxruYWoddB4HRiPBYAWtMXMtCF1V9XT')
3131
3232 let o = Address(base58'3Miw1JaBRaVjCJTepBrMt6PcL8YVmDpnKUa')
3333
3434 let p = "admin_pub_1"
3535
3636 let q = "admin_pub_2"
3737
3838 let r = "admin_pub_3"
3939
4040 func s (t) = {
4141 let u = getString(m, t)
4242 if ($isInstanceOf(u, "String"))
4343 then {
4444 let v = u
4545 fromBase58String(v)
4646 }
4747 else {
4848 let w = u
4949 throw("Admin public key is empty")
5050 }
5151 }
5252
5353
5454 let x = s(p)
5555
5656 let y = s(q)
5757
5858 let z = s(r)
5959
6060 let A = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
6161
6262 let B = fromBase58String(getStringValue(n, h))
6363
6464 let C = valueOrElse(getBoolean(this, a), true)
6565
6666 let D = valueOrElse(getInteger(this, i), 0)
6767
6868 func E (F,G) = if ((F == ""))
6969 then (F + toString(G))
7070 else ((F + ",") + toString(G))
7171
7272
7373 func H (F,G) = (F :+ parseIntValue(G))
7474
7575
7676 func I (F,G) = (F :+ (D / G))
7777
7878
7979 func J (K) = {
8080 let L = {
8181 let M = split(getStringValue(this, f), ",")
8282 let N = size(M)
8383 let O = nil
8484 func P (Q,R) = if ((R >= N))
8585 then Q
8686 else H(Q, M[R])
8787
8888 func S (Q,R) = if ((R >= N))
8989 then Q
9090 else throw("List size exceeds 5")
9191
9292 S(P(P(P(P(P(O, 0), 1), 2), 3), 4), 5)
9393 }
9494 if ((L[3] >= K))
9595 then 4
9696 else if ((L[2] >= K))
9797 then 3
9898 else if ((L[1] >= K))
9999 then 2
100100 else if ((L[0] >= K))
101101 then 1
102102 else 0
103103 }
104104
105105
106106 @Callable(T)
107107 func init (U,V,W,L,X) = if (isDefined(getInteger(this, b)))
108108 then throw("DApp is already inited")
109109 else {
110110 let Y = {
111111 let M = V
112112 let N = size(M)
113113 let O = ""
114114 func P (Q,R) = if ((R >= N))
115115 then Q
116116 else E(Q, M[R])
117117
118118 func S (Q,R) = if ((R >= N))
119119 then Q
120120 else throw("List size exceeds 5")
121121
122122 S(P(P(P(P(P(O, 0), 1), 2), 3), 4), 5)
123123 }
124124 let Z = makeString(W, ",")
125125 let aa = {
126126 let M = L
127127 let N = size(M)
128128 let O = ""
129129 func P (Q,R) = if ((R >= N))
130130 then Q
131131 else E(Q, M[R])
132132
133133 func S (Q,R) = if ((R >= N))
134134 then Q
135135 else throw("List size exceeds 5")
136136
137137 S(P(P(P(P(P(O, 0), 1), 2), 3), 4), 5)
138138 }
139139 let ab = makeString(X, ",")
140140 let ac = "0,0,0,0,0"
141141 [IntegerEntry(b, U), StringEntry(c, Y), StringEntry(d, Z), StringEntry(f, aa), StringEntry(g, ab), StringEntry(e, ac)]
142142 }
143143
144144
145145
146146 @Callable(T)
147147 func add () = {
148148 let ad = $Tuple2(T.payments[0].amount, T.payments[0].assetId)
149149 let ae = ad._1
150150 let af = ad._2
151151 let U = valueOrElse(getInteger(this, b), 0)
152152 if (!(C))
153153 then throw("DApp is inactive at this moment")
154- else if (if ((U > height))
154+ else if (if ((height > U))
155155 then true
156156 else (U == 0))
157157 then throw("Swop burning are ended or not started yet")
158158 else if ((af != B))
159159 then throw("You can add only SWOP token")
160160 else {
161161 let ag = valueOrElse(getInteger(this, (toString(this) + l)), 0)
162162 let ah = {
163163 let M = split(getStringValue(this, e), ",")
164164 let N = size(M)
165165 let O = nil
166166 func P (Q,R) = if ((R >= N))
167167 then Q
168168 else H(Q, M[R])
169169
170170 func S (Q,R) = if ((R >= N))
171171 then Q
172172 else throw("List size exceeds 5")
173173
174174 S(P(P(P(P(P(O, 0), 1), 2), 3), 4), 5)
175175 }
176176 let ai = {
177177 let M = split(getStringValue(this, c), ",")
178178 let N = size(M)
179179 let O = nil
180180 func P (Q,R) = if ((R >= N))
181181 then Q
182182 else H(Q, M[R])
183183
184184 func S (Q,R) = if ((R >= N))
185185 then Q
186186 else throw("List size exceeds 5")
187187
188188 S(P(P(P(P(P(O, 0), 1), 2), 3), 4), 5)
189189 }
190190 let aj = split(getStringValue(this, d), ",")
191191 let X = split(getStringValue(this, g), ",")
192192 let ak = {
193193 let M = ai
194194 let N = size(M)
195195 let O = nil
196196 func P (Q,R) = if ((R >= N))
197197 then Q
198198 else I(Q, M[R])
199199
200200 func S (Q,R) = if ((R >= N))
201201 then Q
202202 else throw("List size exceeds 5")
203203
204204 S(P(P(P(P(P(O, 0), 1), 2), 3), 4), 5)
205205 }
206206 let al = {
207207 let M = ak
208208 let N = size(M)
209209 let O = ""
210210 func P (Q,R) = if ((R >= N))
211211 then Q
212212 else E(Q, M[R])
213213
214214 func S (Q,R) = if ((R >= N))
215215 then Q
216216 else throw("List size exceeds 5")
217217
218218 S(P(P(P(P(P(O, 0), 1), 2), 3), 4), 5)
219219 }
220220 let am = if ((ak[0] != ah[0]))
221221 then {
222222 let an = (ak[0] - ah[0])
223223 invoke(o, "add", [aj[0], an], nil)
224224 }
225225 else 0
226226 if ((am == am))
227227 then {
228228 let ao = if ((ak[1] != ah[1]))
229229 then {
230230 let an = (ak[1] - ah[1])
231231 invoke(o, "add", [aj[1], an], nil)
232232 }
233233 else 0
234234 if ((ao == ao))
235235 then {
236236 let ap = if ((ak[2] != ah[2]))
237237 then {
238238 let an = (ak[2] - ah[2])
239239 invoke(o, "add", [aj[2], an], nil)
240240 }
241241 else 0
242242 if ((ap == ap))
243243 then {
244244 let aq = if ((ak[3] != ah[3]))
245245 then {
246246 let an = (ak[3] - ah[3])
247247 invoke(o, "add", [aj[3], an], nil)
248248 }
249249 else 0
250250 if ((aq == aq))
251251 then {
252252 let ar = if ((ak[4] != ah[4]))
253253 then {
254254 let an = (ak[4] - ah[4])
255255 invoke(o, "add", [aj[4], an], nil)
256256 }
257257 else 0
258258 if ((ar == ar))
259259 then {
260260 let as = J(ag)
261261 let at = J((ag + ae))
262262 let au = if ((as != at))
263263 then invoke(o, "add", [X[(at - 1)], 1], nil)
264264 else 0
265265 [IntegerEntry(i, (D + ae)), IntegerEntry((toString(this) + l), (ag + ae)), StringEntry(e, al)]
266266 }
267267 else throw("Strict value is not equal to itself.")
268268 }
269269 else throw("Strict value is not equal to itself.")
270270 }
271271 else throw("Strict value is not equal to itself.")
272272 }
273273 else throw("Strict value is not equal to itself.")
274274 }
275275 else throw("Strict value is not equal to itself.")
276276 }
277277 }
278278
279279
280280
281281 @Callable(T)
282282 func hashingRandom (av) = if (!(C))
283283 then throw("DApp is inactive at this moment")
284284 else if (!(containsElement([x, y, z], T.callerPublicKey)))
285285 then throw("Only admin can call this function")
286286 else [StringEntry(j, av)]
287287
288288
289289
290290 @Callable(T)
291291 func finalize (aw,ax) = {
292292 let ay = getStringValue(this, j)
293293 let az = toBase58String(sha256((toBytes(aw) + toBytes(ax))))
294294 if (!(C))
295295 then throw("DApp is inactive at this moment")
296296 else if (!(containsElement([x, y, z], T.callerPublicKey)))
297297 then throw("Only admin can call this function")
298298 else if ((az != ay))
299299 then throw("vrf Height hash not matching")
300300 else {
301301 let aA = getIntegerValue(this, i)
302302 [Burn(B, aA), IntegerEntry(k, height)]
303303 }
304304 }
305305
306306
307307
308308 @Callable(T)
309309 func shutdown () = if (!(C))
310310 then throw("DApp already inactive")
311311 else if (!(containsElement([x, y, z], T.callerPublicKey)))
312312 then throw("Only admin can call this function")
313313 else [BooleanEntry(a, false)]
314314
315315
316316
317317 @Callable(T)
318318 func activate () = if (C)
319319 then throw("DApp already active")
320320 else if (!(containsElement([x, y, z], T.callerPublicKey)))
321321 then throw("Only admin can call this function")
322322 else [BooleanEntry(a, true)]
323323
324324
325325 @Verifier(aB)
326326 func aC () = {
327327 let aD = {
328328 let aE = if (sigVerify(aB.bodyBytes, aB.proofs[0], x))
329329 then 1
330330 else 0
331331 let aF = if (sigVerify(aB.bodyBytes, aB.proofs[1], y))
332332 then 1
333333 else 0
334334 let aG = if (sigVerify(aB.bodyBytes, aB.proofs[2], z))
335335 then 1
336336 else 0
337337 (((aE + aF) + aG) >= 2)
338338 }
339339 let aH = if (if (if (sigVerify(aB.bodyBytes, aB.proofs[0], x))
340340 then true
341341 else sigVerify(aB.bodyBytes, aB.proofs[0], y))
342342 then true
343343 else sigVerify(aB.bodyBytes, aB.proofs[0], z))
344344 then true
345345 else sigVerify(aB.bodyBytes, aB.proofs[0], A)
346346 let u = aB
347347 aD
348348 }
349349

github/deemru/w8io/169f3d6 
41.81 ms