tx · ExNyL3Zr8xAWERCbhpUiq7WksvzsZ3V6rxuR2F4RmgpH

3MvJDKBFzztnd7KCU78zgJ8qUuzVux4c9yw:  -0.01000000 Waves

2022.10.23 14:32 [2284987] smart account 3MvJDKBFzztnd7KCU78zgJ8qUuzVux4c9yw > SELF 0.00000000 Waves

{ "type": 13, "id": "ExNyL3Zr8xAWERCbhpUiq7WksvzsZ3V6rxuR2F4RmgpH", "fee": 1000000, "feeAssetId": null, "timestamp": 1666524852334, "version": 2, "chainId": 84, "sender": "3MvJDKBFzztnd7KCU78zgJ8qUuzVux4c9yw", "senderPublicKey": "9gVuyFNzke49pnadJxJ312ZWhYudDhdcqP5hsm5pGQw6", "proofs": [ "tH6UQ9UTwADE17VrpM9FP2xtbbDp5PjXxicqab6DzgdRbwFLKuPNnRUJAGt6tqQxBdDftBogEBQh8mESTnC67Tq" ], "script": "base64:BgIyCAISAwoBCBIDCgEIEgYKBAgBAQgSBQoDCAEIEgUKAwgIARIAEgQKAggEEgQKAggEEgAtAAl1bmRlZmluZWQCCXVuZGVmaW5lZAAJc2VwYXJhdG9yAgE7ABBjb25maWdBZGRyZXNzS2V5AgZjb25maWcAE2NvbGxlY3RvckFkZHJlc3NLZXkCEWNvbGxlY3Rvcl9hZGRyZXNzABFoaXN0b3J5QWRkcmVzc0tleQIPaGlzdG9yeV9hZGRyZXNzABJwYXltYWtlckFkZHJlc3NLZXkCEHBheW1ha2VyX2FkZHJlc3MACWFkbWluc0tleQIGYWRtaW5zAA1jb25maWdBZGRyZXNzCQERQGV4dHJOYXRpdmUoMTA2MikBCQERQGV4dHJOYXRpdmUoMTA1MykCBQR0aGlzBRBjb25maWdBZGRyZXNzS2V5ABBjb2xsZWN0b3JBZGRyZXNzCQERQGV4dHJOYXRpdmUoMTA2MikBCQERQGV4dHJOYXRpdmUoMTA1MykCBQ1jb25maWdBZGRyZXNzBRNjb2xsZWN0b3JBZGRyZXNzS2V5AA5oaXN0b3J5QWRkcmVzcwkBEUBleHRyTm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mluaXNoZWRFdmVudAkAzAgCCQELU3RyaW5nRW50cnkCCQEPZ2V0UHJldkV2ZW50S2V5AQUSZmlyc3RGaW5pc2hlZEV2ZW50BQ9sYXN0QWN0aXZlRXZlbnQFA25pbAkAzAgCCQELU3RyaW5nRW50cnkCBQ1maXJzdEV2ZW50S2V5BQpmaXJzdEV2ZW50CQDMCAIJAQtTdHJpbmdFbnRyeQIFDGxhc3RFdmVudEtleQUJbGFzdEV2ZW50BQNuaWwAwt2ucw==", "height": 2284987, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HSuraZZehPmJxi7MVzuyvyJvuzjnteD67u56tSC5kFR3 Next: 62hNWXLTe1uXx2fyH8UUaPACY8Kw2GmLdrNecuuspgxk Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "undefined"
55
66 let b = ";"
77
88 let c = "config"
99
1010 let d = "collector_address"
1111
1212 let e = "history_address"
1313
1414 let f = "paymaker_address"
1515
1616 let g = "admins"
1717
1818 let h = addressFromStringValue(getStringValue(this, c))
1919
2020 let i = addressFromStringValue(getStringValue(h, d))
2121
2222 let j = addressFromStringValue(getStringValue(h, e))
2323
2424 let k = addressFromStringValue(getStringValue(h, f))
2525
2626 func l (m) = {
2727 let n = valueOrElse(getString(h, g), "")
2828 if (if ((m == this))
2929 then true
3030 else contains(n, toString(m)))
3131 then true
3232 else false
3333 }
3434
3535
3636 func o (p) = ("checker_" + p)
3737
3838
3939 func q (p) = {
4040 let r = isDefined(getBoolean(h, o(p)))
4141 r
4242 }
4343
4444
4545 let s = base58'2eFPx8M5qwNFRbW91pzsyBKMz1FZmYMUW3BVZzTQmbFD'
4646
4747 let t = 10000000
4848
4949 let u = 5
5050
5151 let v = 100
5252
5353 let w = 3
5454
5555 let x = "first_event"
5656
5757 let y = "last_event"
5858
5959 let z = "first_finished_event"
6060
6161 let A = "last_finished_event"
6262
6363 let B = "first_active_event"
6464
6565 let C = "last_active_event"
6666
6767 func D (E) = (E + "_start_block")
6868
6969
7070 func F (E) = (E + "_end_block")
7171
7272
7373 func G (E) = (E + "_finish_at_block")
7474
7575
7676 func H (E) = (E + "_id")
7777
7878
7979 func I (E) = (E + "_status")
8080
8181
8282 func J (E) = (E + "_description")
8383
8484
8585 func K (E) = (E + "_prev_event")
8686
8787
8888 func L (E) = (E + "_next_event")
8989
9090
9191 func M (E) = (E + "_asset_id")
9292
9393
9494 func N (E) = (E + "_total_amount")
9595
9696
9797 func O (E) = (E + "_prices_group_count")
9898
9999
100100 func P (E) = (E + "_prices_list_count")
101101
102102
103103 func Q (E,R) = ((E + "_prices_list_") + toString(R))
104104
105105
106106 func S (E,T) = (((E + "_") + toString(T)) + "_bets_count")
107107
108108
109109 func U (E,V) = (((E + "_") + V) + "_price")
110110
111111
112112 func W (X) = {
113113 let Y = X
114114 if ($isInstanceOf(Y, "Int"))
115115 then {
116116 let Z = Y
117117 Z
118118 }
119119 else {
120120 let aa = Y
121121 throw("#err")
122122 }
123123 }
124124
125125
126126 func ab (X) = {
127127 let Y = X
128128 if ($isInstanceOf(Y, "String"))
129129 then {
130130 let Z = Y
131131 Z
132132 }
133133 else throw("#err")
134134 }
135135
136136
137137 func ac (ad) = {
138138 let ae = fromBase58String(ad)
139139 let Z = {
140140 let Y = assetInfo(ae)
141141 if ($isInstanceOf(Y, "Asset"))
142142 then {
143143 let af = Y
144144 $Tuple2(ad, af.decimals)
145145 }
146146 else $Tuple2("WAVES", 0)
147147 }
148148 Z
149149 }
150150
151151
152152 func ag (E) = {
153153 let ah = getStringValue(this, I(E))
154154 if (if (if ((ah == "finished"))
155155 then true
156156 else (ah == "#"))
157157 then true
158158 else (ah == "ended"))
159159 then ah
160160 else {
161161 let ai = getIntegerValue(this, G(E))
162162 let aj = getIntegerValue(this, D(E))
163163 let ak = getIntegerValue(this, F(E))
164164 if ((aj > height))
165165 then "awaiting"
166166 else if (if ((height >= aj))
167167 then (ak >= height)
168168 else false)
169169 then "active"
170170 else if (if ((height > ak))
171171 then (ai >= height)
172172 else false)
173173 then "confirmation"
174174 else if ((height > ai))
175175 then "finished"
176176 else throw("unknown status")
177177 }
178178 }
179179
180180
181181 func al (am,an,aj,ak,ai,ad) = {
182182 let E = am
183183 let ao = invoke(this, "insertToList", [E, true], nil)
184184 if ((ao == ao))
185185 then {
186186 let ap = invoke(this, "concatLists", nil, nil)
187187 if ((ap == ap))
188188 then {
189189 let aq = ac(ad)
190190 let ae = aq._1
191191 let ar = aq._2
192192 [IntegerEntry(D(E), aj), IntegerEntry(F(E), ak), IntegerEntry(G(E), ai), StringEntry(J(E), an), StringEntry(I(E), "new"), StringEntry(H(E), E), StringEntry(M(E), ae)]
193193 }
194194 else throw("Strict value is not equal to itself.")
195195 }
196196 else throw("Strict value is not equal to itself.")
197197 }
198198
199199
200200 @Callable(as)
201201 func init (at) = if ((as.caller != this))
202202 then throw("only main can do")
203203 else {
204204 let r = isDefined(getString(this, c))
205205 if (!(r))
206206 then [StringEntry(c, at)]
207207 else throw("already inited")
208208 }
209209
210210
211211
212212 @Callable(as)
213213 func appendEventer (an) = if (!(l(as.caller)))
214214 then throw("only admin can do")
215215 else {
216216 let au = invoke(h, "setEventer", [toString(this), an], nil)
217217 if ((au == au))
218218 then nil
219219 else throw("Strict value is not equal to itself.")
220220 }
221221
222222
223223
224224 @Callable(as)
225225 func fullRegisterEvent (an,aj,av,ad) = {
226226 let aw = if ((aj == 0))
227227 then height
228228 else aj
229229 let ak = (aw + av)
230230 let ai = (ak + 1440)
231231 if (!(l(as.caller)))
232232 then throw("only admin can do")
233233 else {
234234 let am = toBase58String(as.transactionId)
235235 al(am, an, aw, ak, ai, ad)
236236 }
237237 }
238238
239239
240240
241241 @Callable(as)
242242 func choice (E,T,V) = {
243243 let ah = ag(E)
244244 if ((ah == "active"))
245245 then {
246246 let ax = 10000000
247247 let ay = s
248248 if (if (if ((size(as.payments) == 1))
249249 then (as.payments[0].assetId == ay)
250250 else false)
251251 then (as.payments[0].amount == ax)
252252 else false)
253253 then {
254254 let az = invoke(this, "appendBetsList", [E, V, T], nil)
255255 if ((az == az))
256256 then {
257257 let aA = valueOrElse(getInteger(this, N(E)), 0)
258258 [IntegerEntry(N(E), (aA + as.payments[0].amount))]
259259 }
260260 else throw("Strict value is not equal to itself.")
261261 }
262262 else throw("Bad payment")
263263 }
264264 else throw("You can`t do it")
265265 }
266266
267267
268268
269269 @Callable(as)
270270 func appendBetsList (E,aB,T) = if ((as.caller != this))
271271 then throw("only main can do")
272272 else if (isDefined(getString(this, U(E, aB))))
273273 then throw("betting from this address is exists")
274274 else {
275275 let aC = valueOrElse(getInteger(this, S(E, T)), 0)
276276 if ((aC >= w))
277277 then throw("to many bets")
278278 else {
279279 let aD = valueOrElse(getInteger(this, P(E)), 1)
280280 let aE = valueOrElse(getString(this, Q(E, aD)), "")
281281 let aF = split_4C(aE, b)
282282 let aG = size(aF)
283283 let aH = if ((aC == 0))
284284 then if ((100 > aG))
285285 then if ((size(aE) == 0))
286286 then toString(T)
287287 else ((aE + b) + toString(T))
288288 else toString(T)
289289 else aE
290290 let aI = if (if ((aG >= 100))
291291 then (aC == 0)
292292 else false)
293293 then (aD + 1)
294294 else aD
295295 let aJ = (((aI - 1) / 10) + 1)
296296 [IntegerEntry(U(E, aB), T), IntegerEntry(P(E), aI), IntegerEntry(O(E), aJ), IntegerEntry(S(E, T), (aC + 1)), StringEntry(Q(E, aI), aH)]
297297 }
298298 }
299299
300300
301301
302302 @Callable(as)
303303 func resetList () = if (!(l(as.caller)))
304304 then throw("only admin can do")
305305 else [StringEntry(x, a), StringEntry(y, a), StringEntry(B, a), StringEntry(C, a), StringEntry(z, a), StringEntry(A, a)]
306306
307307
308308
309309 @Callable(as)
310310 func insertToList (E,aK) = if ((this != as.caller))
311311 then throw("only main can do")
312312 else {
313313 let aL = if (aK)
314314 then C
315315 else A
316316 let aM = if (aK)
317317 then B
318318 else z
319319 let aN = valueOrElse(getString(this, aM), a)
320320 let aO = valueOrElse(getString(this, aL), a)
321321 let aP = if ((aO == a))
322322 then aL
323323 else K(aN)
324324 [StringEntry(aM, E), StringEntry(aP, E), StringEntry(L(E), aN)]
325325 }
326326
327327
328328
329329 @Callable(as)
330330 func deleteFromList (E,aK) = if ((this != as.caller))
331331 then throw("only main can do")
332332 else {
333333 let aL = if (aK)
334334 then C
335335 else A
336336 let aM = if (aK)
337337 then B
338338 else z
339339 let aN = valueOrElse(getString(this, aM), a)
340340 let aO = valueOrElse(getString(this, aL), a)
341341 let aQ = valueOrElse(getString(this, K(E)), a)
342342 let aR = valueOrElse(getString(this, L(E)), a)
343343 let aS = if ((E == aN))
344344 then a
345345 else aQ
346346 let aT = if ((E == aO))
347347 then a
348348 else aR
349349 if (if ((aS == a))
350350 then (aT == a)
351351 else false)
352352 then [StringEntry(aM, a), StringEntry(aL, a)]
353353 else if (if ((aS != a))
354354 then (aT != a)
355355 else false)
356356 then [StringEntry(K(aT), aS), StringEntry(L(aS), aT)]
357357 else if ((aS != a))
358358 then [StringEntry(aL, aS), StringEntry(L(aS), a)]
359359 else [StringEntry(aM, aT), StringEntry(K(aT), a)]
360360 }
361361
362362
363363
364364 @Callable(as)
365365 func concatLists () = if (!(l(as.caller)))
366366 then throw("only admin can do")
367367 else {
368368 let aU = valueOrElse(getString(this, B), a)
369369 let aV = valueOrElse(getString(this, C), a)
370370 let aW = valueOrElse(getString(this, z), a)
371371 let aX = valueOrElse(getString(this, A), a)
372372 let aN = if ((aU != a))
373373 then aU
374374 else aW
375375 let aO = if ((aX != a))
376376 then aX
377377 else aV
378378 if (if ((aW != a))
379379 then (aV != a)
380380 else false)
381381 then [StringEntry(x, aN), StringEntry(y, aO), StringEntry(L(aV), aW), StringEntry(K(aW), aV)]
382382 else [StringEntry(x, aN), StringEntry(y, aO)]
383383 }
384384
385385

github/deemru/w8io/fabc49c 
40.55 ms