tx · Ahxab9SswMdm24fP1JLXCADFUEhd2onMK7XvzAHYEoaZ

3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy:  -0.01800000 Waves

2023.06.07 22:03 [2612642] smart account 3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy > SELF 0.00000000 Waves

{ "type": 13, "id": "Ahxab9SswMdm24fP1JLXCADFUEhd2onMK7XvzAHYEoaZ", "fee": 1800000, "feeAssetId": null, "timestamp": 1686164619286, "version": 2, "chainId": 84, "sender": "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy", "senderPublicKey": "C3PaRKeL8AUKbwUqdniMQtThgcTh5DYHV1777Hkxy7rp", "proofs": [ "4xcXPpH47BM6EZzMrXHc5Yzp67nzR7HvUtTFGNPrF5ePijFEYpufKjGarcTTd79TWjck2Huk4egaS33qr6cRZYEM" ], "script": "base64:BgJACAISAwoBGBIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBGBIDCgEIEgMKARgSAwoBGBIDCgEYEgMKAQgSAEYABWNoYWluCQDJAQIJAMoBAggFBHRoaXMFYnl0ZXMAAQABAAt1c2R0QXNzZXRJZAQHJG1hdGNoMAUFY2hhaW4DCQAAAgEBVwUHJG1hdGNoMAEghNp6sggDP07Ru8qO7ouTvMmC3Qtd+geWqNQj+agP/7kDCQAAAgEBVAUHJG1hdGNoMAEgVbHYn3KHgu/l41uNrAWrZd6aQ6EvFrsF8xq3h6XxxRgJAAIBAg1Vbmtub3duIGNoYWluABVkZWZhdWx0UmVzdEFkZHJlc3NTdHIEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDACIzNQUUN1dkZidmg0TGtQVW5yblUxejNqbmJBMXA5bTNXTmh2AwkAAAIBAVQFByRtYXRjaDACIzNNdW1rR0d6dENLQVhwV0RxeGtkZG9mcVhTVWJxUWt2U0p5CQACAQINVW5rbm93biBjaGFpbgARSW5mcmFVcGdyYWRlQ29zdFMEByRtYXRjaDAFBWNoYWluAwkAAAI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BAZyZXN1bHQJAKwCAgIcJXMlc19fZW1lcmdlbmN5U2VydmljZURhdGFfXwUBcwkAlAoCBQNuaWwFBnJlc3VsdADpx0Tx", "height": 2612642, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Do714kwTAiETwg575wS3t5gWByraDb8Q49SbXbUpmkvM Next: 6S3RgLgoCvibn8UKxg6X6SJkDLiwMZtVxMR7Syk46prF Diff:
OldNewDifferences
3434
3535 let g = 1000000
3636
37-let h = 10000000
37+let h = "PRESALE"
3838
39-let i = 100000000
39+let i = 6
4040
41-let j = 10000000000
41+let j = 25
4242
43-let k = "LAND"
43+let k = 100
4444
45-let l = "DUCK"
45+let l = 225
4646
47-let m = "PRESALE"
47+let m = 400
4848
49-let n = 6
49+let n = 625
5050
51-let o = 25
51+let o = 3456000
5252
53-let p = 100
53+let p = 86400000
5454
55-let q = 225
55+let q = 10000000000
5656
57-let r = 400
57+let r = 39637
5858
59-let s = 625
59+let s = 3
6060
61-let t = 3456000
61+let t = 4
6262
63-let u = 86400000
63+let u = 10
6464
65-let v = 10000000000
65+let v = ["1_1_1_2_2_5_1_10_0", "2_2_2_4_4_10_1_10_0", "3_3_3_6_6_15_1_10_0", "2_5_5_2_7_5_2_100_1", "4_10_10_4_14_10_2_100_1", "6_15_15_6_21_15_2_100_1", "1_1_1_1_1_8_1_10_2", "2_2_2_2_2_16_1_10_2", "3_3_3_3_3_24_1_10_2", "9_9_1_5_5_1_5_100_3", "18_18_2_10_10_2_5_100_3", "27_27_3_15_15_3_5_100_3", "2_2_1_2_2_2_1_10_4", "4_4_2_4_4_4_1_10_4", "6_6_3_6_6_6_1_10_4"]
6666
67-let w = "Africa_F_Africa"
67+let w = 7
6868
69-let x = 39637
69+let x = 0
7070
71-let y = 3
71+let y = 1
7272
73-let z = 4
73+let z = 2
7474
75-let A = 10
75+let A = 3
7676
77-let B = ["Oil", "Ore", "Wood", "Sand", "Clay", "Organic"]
78-
79-let C = ["Fuel", "Metal", "Plank", "Glass", "Plastic", "Protein"]
80-
81-let D = ["First Aid Kit L1", "First Aid Kit L2", "First Aid Kit L3", "Backpack L1", "Backpack L2", "Backpack L3", "Food Ration L1", "Food Ration L2", "Food Ration L3", "Jet Pack L1", "Jet Pack L2", "Jet Pack L3", "Shield L1", "Shield L2", "Shield L3"]
82-
83-let E = ["Asia", "Europe", "Americas", "Oceania", "Africa"]
84-
85-let F = ["1_1_1_2_2_5_1_10_0", "2_2_2_4_4_10_1_10_0", "3_3_3_6_6_15_1_10_0", "2_5_5_2_7_5_2_100_1", "4_10_10_4_14_10_2_100_1", "6_15_15_6_21_15_2_100_1", "1_1_1_1_1_8_1_10_2", "2_2_2_2_2_16_1_10_2", "3_3_3_3_3_24_1_10_2", "9_9_1_5_5_1_5_100_3", "18_18_2_10_10_2_5_100_3", "27_27_3_15_15_3_5_100_3", "2_2_1_2_2_2_1_10_4", "4_4_2_4_4_4_1_10_4", "6_6_3_6_6_6_1_10_4"]
86-
87-let G = 0
88-
89-let H = 1
90-
91-let I = 2
92-
93-let J = 3
94-
95-let K = 4
96-
97-let L = 0
98-
99-let M = 1
100-
101-let N = 2
102-
103-let O = 3
104-
105-let P = 4
106-
107-let Q = 5
108-
109-let R = 6
110-
111-let S = 7
112-
113-let T = 8
114-
115-let U = 0
116-
117-let V = 1
118-
119-let W = 2
120-
121-let X = 3
122-
123-let Y = 0
124-
125-let Z = 1
126-
127-let aa = 2
128-
129-let ab = 3
130-
131-let ac = 4
132-
133-let ad = 0
134-
135-let ae = 1
136-
137-let af = 2
138-
139-let ag = 3
140-
141-let ah = 0
142-
143-let ai = 1
144-
145-let aj = 2
146-
147-let ak = 3
148-
149-func al (am) = parseIntValue(split(F[am], "_")[S])
77+func B (C,D) = valueOrErrorMessage(getString(C, D), makeString(["mandatory ", toString(C), ".", D, " is not defined"], ""))
15078
15179
152-func an (ao,ap) = valueOrErrorMessage(getString(ao, ap), makeString(["mandatory ", toString(ao), ".", ap, " is not defined"], ""))
80+let E = 1
81+
82+let F = 2
83+
84+func G () = "%s__restConfig"
15385
15486
155-func aq (ap,ar) = valueOrElse(getInteger(this, ap), ar)
87+func H () = "%s__restAddr"
15688
15789
158-let as = 1
159-
160-let at = 2
161-
162-let au = 3
163-
164-let av = 4
165-
166-func aw () = "%s__restConfig"
90+func I (J) = split_4C(B(J, G()), f)
16791
16892
169-func ax () = "%s__restAddr"
93+func K (L,M) = valueOrErrorMessage(addressFromString(L[M]), ("Rest cfg doesn't contain address at index " + toString(M)))
17094
17195
172-func ay (az) = split_4C(an(az, aw()), f)
96+let N = addressFromStringValue(valueOrElse(getString(this, H()), d))
97+
98+let L = I(N)
99+
100+let O = K(L, E)
101+
102+let P = K(L, F)
103+
104+func Q (R) = ("lastTxIdByUser_" + R)
173105
174106
175-func aA (aB,aC) = valueOrErrorMessage(addressFromString(aB[aC]), ("Rest cfg doesn't contain address at index " + toString(aC)))
107+func S (T) = ("nftOwner_" + T)
176108
177109
178-let aD = addressFromStringValue(valueOrElse(getString(this, ax()), d))
179-
180-let aB = ay(aD)
181-
182-let aE = aA(aB, as)
183-
184-let aF = aA(aB, at)
185-
186-let aG = aA(aB, au)
187-
188-let aH = aA(aB, av)
189-
190-func aI (aJ) = ("lastTxIdByUser_" + aJ)
110+func U (T) = ("landCustomNameByAssetId_" + T)
191111
192112
193-func aK (aL) = ("nftOwner_" + aL)
113+func V (T) = ("stakedTime_" + T)
194114
195115
196-func aM (aL) = ("landCustomNameByAssetId_" + aL)
116+func W (T) = ("infraLevel_" + T)
197117
198118
199-func aN (aL) = ("stakedTime_" + aL)
119+func X (Y,T) = makeString(["landArtStatus", Y, T], "_")
200120
201121
202-func aO (aL) = ("infraLevel_" + aL)
122+func Z (aa) = ("wareHouse_" + aa)
203123
204124
205-func aP (aQ,aL) = makeString(["landArtStatus", aQ, aL], "_")
125+func ab (ac) = ("stakedLandsByOwner_" + ac)
206126
207127
208-func aR (aS,aL,aT) = ((((("stakedTimeByTypeAssetIdAndOwner_" + aS) + "_") + aL) + "_") + aT)
128+func ad (T) = ("duckCustomNameByAssetId_" + T)
209129
210130
211-func aU (aV) = ("wareHouse_" + aV)
131+func ae (R) = ("accountCustomNameByAddr_" + R)
212132
213133
214-func aW (aT) = ("stakedLandsByOwner_" + aT)
134+func af (R) = ("accRefBy_" + R)
215135
216136
217-func aX (aL) = ("duckCustomNameByAssetId_" + aL)
137+func ag (R) = ("accReferrals_" + R)
218138
219139
220-func aY (aJ) = ("accountCustomNameByAddr_" + aJ)
140+func ah (T) = ("duckOwner_" + T)
221141
222142
223-func aZ (aJ) = ("accRefBy_" + aJ)
143+func ai (ac) = ("stakedDuckByOwner_" + ac)
224144
225145
226-func ba (aJ) = ("accReferrals_" + aJ)
146+func aj (ak) = ("duckLocation_" + ak)
227147
228148
229-func bb (aL) = ("duckOwner_" + aL)
149+func al (ak) = ("duckHealth_" + ak)
230150
231151
232-func bc (aT) = ("stakedDuckByOwner_" + aT)
152+func am () = "contractsBlocked"
233153
234154
235-func bd (be) = ("backPack_" + be)
155+func an (aa) = ("landOrder_" + aa)
236156
237157
238-func bf (be) = ("duckLocation_" + be)
158+func ao (ap) = ("dutyWhByProd_" + toString(ap))
239159
240160
241-func bg (be) = ("duckHealth_" + be)
242-
243-
244-func bh () = "resTypesProportions"
245-
246-
247-func bi () = "contractsBlocked"
248-
249-
250-func bj (bk) = ("%s%s__userGwlReleaseTime__" + bk)
251-
252-
253-func bl (aV) = ("landOrder_" + aV)
254-
255-
256-func bm (bn) = ("dutyWhByProd_" + toString(bn))
257-
258-
259-let bo = 0
260-
261-let bp = 1
262-
263-let bq = 2
264-
265-func br (bs) = {
266- let c = bs
161+func aq (ar) = {
162+ let c = ar
267163 if ($isInstanceOf(c, "String"))
268164 then {
269- let bt = c
270- bt
165+ let as = c
166+ as
271167 }
272168 else throw("fail to cast into String")
273169 }
274170
275171
276-func bu (bs) = {
277- let c = bs
278- if ($isInstanceOf(c, "Int"))
279- then {
280- let bv = c
281- bv
282- }
283- else throw("fail to cast into Int")
284- }
285-
286-
287-func bw (bs) = {
288- let c = bs
289- if ($isInstanceOf(c, "List[Any]"))
290- then {
291- let bx = c
292- bx
293- }
294- else throw("fail to cast into List[Any]")
295- }
296-
297-
298-func by (bs) = {
299- let c = bs
172+func at (ar) = {
173+ let c = ar
300174 if ($isInstanceOf(c, "Boolean"))
301175 then {
302- let bt = c
303- bt
176+ let as = c
177+ as
304178 }
305179 else throw("fail to cast into Boolean")
306180 }
307181
308182
309-func bz (bA) = {
310- let c = bA
183+func au (av) = {
184+ let c = av
311185 if (("S" == c))
312- then o
186+ then j
313187 else if (("M" == c))
314- then p
188+ then k
315189 else if (("L" == c))
316- then q
190+ then l
317191 else if (("XL" == c))
318- then r
192+ then m
319193 else if (("XXL" == c))
320- then s
194+ then n
321195 else throw("Unknown land size")
322196 }
323197
324198
325-let bB = 0
199+let aw = 500000
326200
327-let bC = 1
328-
329-func bD (bE) = {
330- let bF = split(valueOrElse(getString(aE, bh()), "0_0_0_0_0_0"), "_")
331- func bG (bH,bI) = (bH + parseIntValue(bI))
332-
333- let bJ = {
334- let bK = bF
335- let bL = size(bK)
336- let bM = 0
337- func bN (bO,bP) = if ((bP >= bL))
338- then bO
339- else bG(bO, bK[bP])
340-
341- func bQ (bO,bP) = if ((bP >= bL))
342- then bO
343- else throw("List size exceeds 6")
344-
345- bQ(bN(bN(bN(bN(bN(bN(bM, 0), 1), 2), 3), 4), 5), 6)
346- }
347- let bR = if ((bE == ""))
348- then 0
349- else {
350- let bS = getString(aE, aW(bE))
351- let bT = if (isDefined(bS))
352- then split_51C(value(bS), "_")
353- else nil
354- func bU (bH,aV) = {
355- let bV = value(assetInfo(fromBase58String(aV)))
356- let bA = split(bV.description, "_")[V]
357- (bH + bz(bA))
358- }
359-
360- let bK = bT
361- let bL = size(bK)
362- let bM = 0
363- func bW (bO,bP) = if ((bP >= bL))
364- then bO
365- else bU(bO, bK[bP])
366-
367- func bX (bO,bP) = if ((bP >= bL))
368- then bO
369- else throw("List size exceeds 100")
370-
371- bX(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bM, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
372- }
373-[bJ, bR]
374- }
375-
376-
377-let bY = 500000
378-
379-func bZ (ca) = {
380- let c = ca
201+func ax (ay) = {
202+ let c = ay
381203 if ($isInstanceOf(c, "List[Any]"))
382204 then {
383- let cb = c
384- if ((size(cb) != n))
385- then throw(("Array size is " + toString(size(cb))))
205+ let az = c
206+ if ((size(az) != i))
207+ then throw(("Array size is " + toString(size(az))))
386208 else {
387- func cc (bH,bI) = {
388- let cd = bI
389- if ($isInstanceOf(cd, "Int"))
209+ func aA (aB,aC) = {
210+ let aD = aC
211+ if ($isInstanceOf(aD, "Int"))
390212 then {
391- let ce = cd
392- (bH :+ toString(ce))
213+ let aE = aD
214+ (aB :+ toString(aE))
393215 }
394216 else throw("List type is not Int")
395217 }
396218
397- let cf = {
398- let bK = cb
399- let bL = size(bK)
400- let bM = nil
401- func bN (bO,bP) = if ((bP >= bL))
402- then bO
403- else cc(bO, bK[bP])
219+ let aF = {
220+ let aG = az
221+ let aH = size(aG)
222+ let aI = nil
223+ func aJ (aK,aL) = if ((aL >= aH))
224+ then aK
225+ else aA(aK, aG[aL])
404226
405- func bQ (bO,bP) = if ((bP >= bL))
406- then bO
227+ func aM (aK,aL) = if ((aL >= aH))
228+ then aK
407229 else throw("List size exceeds 6")
408230
409- bQ(bN(bN(bN(bN(bN(bN(bM, 0), 1), 2), 3), 4), 5), 6)
231+ aM(aJ(aJ(aJ(aJ(aJ(aJ(aI, 0), 1), 2), 3), 4), 5), 6)
410232 }
411- makeString(cf, "_")
233+ makeString(aF, "_")
412234 }
413235 }
414236 else throw("fail to cast into List")
415237 }
416238
417239
418-func cg (ca) = {
419- let c = ca
240+func aN (ay) = {
241+ let c = ay
420242 if ($isInstanceOf(c, "(List[Any], List[Any])"))
421243 then {
422- let ch = c
423- $Tuple2(bZ(ch._1), bZ(ch._2))
244+ let aO = c
245+ $Tuple2(ax(aO._1), ax(aO._2))
424246 }
425247 else throw("fail to cast into (List, List)")
426248 }
427249
428250
429-func ci (cj) = {
430- let aJ = addressFromString(cj)
431- let ck = if (isDefined(aJ))
432- then wavesBalance(value(aJ))
251+func aP (aQ) = {
252+ let R = addressFromString(aQ)
253+ let aR = if (isDefined(R))
254+ then wavesBalance(value(R))
433255 else BalanceDetails(0, 0, 0, 0)
434- let cl = if (isDefined(aJ))
435- then assetBalance(value(aJ), b)
256+ let aS = if (isDefined(R))
257+ then assetBalance(value(R), b)
436258 else 0
437- let cm = valueOrElse(getString(aE, aY(cj)), cj)
438- let cn = valueOrElse(getString(aE, aZ(cj)), "")
439- let co = valueOrElse(getString(aE, ba(cj)), "")
440- let cp = valueOrElse(getString(aE, aI(cj)), "")
441-[("%s%s__customName__" + cm), ("%s%s__referredBy__" + cn), ("%s%s__referrals__" + co), ("%s%s__lastTxId__" + cp), ("%s%s%d__wavesBalance__" + toString(ck.available)), ("%s%s%d__usdtBalance__" + toString(cl))]
259+ let aT = valueOrElse(getString(O, ae(aQ)), aQ)
260+ let aU = valueOrElse(getString(O, af(aQ)), "")
261+ let aV = valueOrElse(getString(O, ag(aQ)), "")
262+ let aW = valueOrElse(getString(O, Q(aQ)), "")
263+[("%s%s__customName__" + aT), ("%s%s__referredBy__" + aU), ("%s%s__referrals__" + aV), ("%s%s__lastTxId__" + aW), ("%s%s%d__wavesBalance__" + toString(aR.available)), ("%s%s%d__usdtBalance__" + toString(aS))]
442264 }
443265
444266
445-func cq (aV,cr) = {
446- let cs = valueOrElse(getInteger(aE, aO(aV)), 0)
447- let ct = valueOrElse(getInteger(aE, aP(m, aV)), 0)
448- let cu = (cs / 6)
449- let cv = (cs / 7)
450- $Tuple3(cs, ct, ((t + fraction(t, ((cs + cu) + (2 * cv)), 5)) + fraction(t, ct, (cr * 5))))
267+func aX (aa,aY) = {
268+ let aZ = valueOrElse(getInteger(O, W(aa)), 0)
269+ let ba = valueOrElse(getInteger(O, X(h, aa)), 0)
270+ let bb = (aZ / 6)
271+ let bc = (aZ / 7)
272+ $Tuple3(aZ, ba, ((o + fraction(o, ((aZ + bb) + (2 * bc)), 5)) + fraction(o, ba, (aY * 5))))
451273 }
452274
453275
454-func cw (cx) = {
455- let cy = split(cx, "_")
456- ((v * (parseIntValue(cy[1]) + 1)) * parseIntValue(cy[0]))
276+func bd (be) = {
277+ let bf = split(be, "_")
278+ ((q * (parseIntValue(bf[1]) + 1)) * parseIntValue(bf[0]))
457279 }
458280
459281
460-func cz (cA,cB,cs) = {
461- let cx = ((toString(cB) + "_") + toString(cs))
462- let cC = toString(cw(cx))
463- let cD = valueOrElse(getString(aE, cA), ((((cx + ":0_0_0_0_0_0:0_0_0_0_0_0::0_0_") + cC) + "_") + cC))
464- split(cD, ":")
282+func bg (bh,bi,aZ) = {
283+ let be = ((toString(bi) + "_") + toString(aZ))
284+ let bj = toString(bd(be))
285+ let bk = valueOrElse(getString(O, bh), ((((be + ":0_0_0_0_0_0:0_0_0_0_0_0::0_0_") + bj) + "_") + bj))
286+ split(bk, ":")
465287 }
466288
467289
468-func cE (be) = $Tuple5(valueOrElse(getInteger(aE, aN(be)), -1), value(assetInfo(fromBase58String(be))).name, valueOrElse(getString(aE, bf(be)), ""), valueOrElse(getInteger(aE, bg(be)), -1), br(invoke(aE, "getBackpackREADONLY", [be], nil)))
290+func bl (ak) = $Tuple5(valueOrElse(getInteger(O, V(ak)), -1), value(assetInfo(fromBase58String(ak))).name, valueOrElse(getString(O, aj(ak)), ""), valueOrElse(getInteger(O, al(ak)), -1), aq(invoke(O, "getBackpackREADONLY", [ak], nil)))
469291
470292
471-func cF (be,cG,cH) = {
472- let cm = valueOrElse(getString(aE, aX(be)), cH._2)
473-[("%s%s__assetId__" + be), ("%s%s__owner__" + cG), ("%s%s__customName__" + cm), ("%s%d__stakedTime__" + toString(cH._1)), ("%s%s__name__" + cH._2), ("%s%s__location__" + cH._3), ("%s%d__health__" + toString(cH._4)), ("%s%s__backPack__" + cH._5)]
293+func bm (ak,bn,bo) = {
294+ let aT = valueOrElse(getString(O, ad(ak)), bo._2)
295+[("%s%s__assetId__" + ak), ("%s%s__owner__" + bn), ("%s%s__customName__" + aT), ("%s%d__stakedTime__" + toString(bo._1)), ("%s%s__name__" + bo._2), ("%s%s__location__" + bo._3), ("%s%d__health__" + toString(bo._4)), ("%s%s__backPack__" + bo._5)]
474296 }
475297
476298
477-func cI (aV,cG,cJ) = if ((aV == ""))
299+func bp (aa,bn,bq) = if ((aa == ""))
478300 then throw("landAssetId is required")
479301 else {
480- let cK = value(assetInfo(fromBase58String(aV)))
481- let cL = split(cK.description, "_")
482- let cM = if ((cK.quantity > 0))
483- then cL[U]
484- else ("-" + cL[U])
485- let cr = bz(cL[V])
486- let cN = cq(aV, cr)
487- let cO = (lastBlock.timestamp - cJ)
488- let cP = if ((cJ > 0))
489- then fraction(cO, (cN._3 * cr), u)
302+ let br = value(assetInfo(fromBase58String(aa)))
303+ let bs = split(br.description, "_")
304+ let bt = if ((br.quantity > 0))
305+ then bs[x]
306+ else ("-" + bs[x])
307+ let aY = au(bs[y])
308+ let bu = aX(aa, aY)
309+ let bv = (lastBlock.timestamp - bq)
310+ let bw = if ((bq > 0))
311+ then fraction(bv, (bu._3 * aY), p)
490312 else 0
491- let cQ = fraction(e, (cr * (cN._1 + 1)), o)
492- let cR = if ((cJ > 0))
493- then cg(invoke(aE, "splitByGlobalAndLocalWeightsREADONLY", [cQ, cP, cL[W]], nil))
494- else $Tuple2(bZ(invoke(aE, "splitByGlobalWeightsREADONLY", [cQ], nil)), "")
495- let cm = valueOrElse(getString(aE, aM(aV)), ((cL[X] + "-") + cL[U]))
496-[("%s%s__assetId__" + aV), ("%s%s__owner__" + cG), ("%s%s__customName__" + cm), ("%s%d__stakedTime__" + toString(cJ)), ("%s%s__description__" + makeString([cM, cL[V], cL[W], cL[X]], "_")), ("%s%d__infraLevel__" + toString(cN._1)), ("%s%s__availResByType__" + cR._2), ("%s%d__availResTotal__" + toString(cP)), ("%s%s__needMaterial__" + cR._1), makeString(["%s%s", "landArtefacts", ("PRESALE:" + toString(cN._2))], f), ("%s%s__warehouse__" + makeString(cz(aU(aV), (cr / o), cN._1), ":")), ("%s%s__landOrder__" + valueOrElse(getString(aF, bl(aV)), "0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:"))]
313+ let bx = fraction(e, (aY * (bu._1 + 1)), j)
314+ let by = if ((bq > 0))
315+ then aN(invoke(O, "splitByGlobalAndLocalWeightsREADONLY", [bx, bw, bs[z]], nil))
316+ else $Tuple2(ax(invoke(O, "splitByGlobalWeightsREADONLY", [bx], nil)), "")
317+ let aT = valueOrElse(getString(O, U(aa)), ((bs[A] + "-") + bs[x]))
318+[("%s%s__assetId__" + aa), ("%s%s__owner__" + bn), ("%s%s__customName__" + aT), ("%s%d__stakedTime__" + toString(bq)), ("%s%s__description__" + makeString([bt, bs[y], bs[z], bs[A]], "_")), ("%s%d__infraLevel__" + toString(bu._1)), ("%s%s__availResByType__" + by._2), ("%s%d__availResTotal__" + toString(bw)), ("%s%s__needMaterial__" + by._1), makeString(["%s%s", "landArtefacts", ("PRESALE:" + toString(bu._2))], f), ("%s%s__warehouse__" + makeString(bg(Z(aa), (aY / j), bu._1), ":")), ("%s%s__landOrder__" + valueOrElse(getString(P, an(aa)), "0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:"))]
497319 }
498320
499321
500-func cS (aV,cG) = if ((aV == ""))
322+func bz (aa,bn) = if ((aa == ""))
501323 then throw("landAssetId is required")
502324 else {
503- let cK = value(assetInfo(fromBase58String(aV)))
504- let cL = split(cK.description, "_")
505- let cr = bz(cL[V])
506- let cN = cq(aV, cr)
507-[("%s%s__assetId__" + aV), ("%s%s__owner__" + cG), ("%s%s__warehouse__" + makeString(cz(aU(aV), (cr / o), cN._1), ":")), ("%s%s__landOrder__" + valueOrElse(getString(aF, bl(aV)), "0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:"))]
325+ let br = value(assetInfo(fromBase58String(aa)))
326+ let bs = split(br.description, "_")
327+ let aY = au(bs[y])
328+ let bu = aX(aa, aY)
329+[("%s%s__assetId__" + aa), ("%s%s__owner__" + bn), ("%s%s__warehouse__" + makeString(bg(Z(aa), (aY / j), bu._1), ":")), ("%s%s__landOrder__" + valueOrElse(getString(P, an(aa)), "0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:"))]
508330 }
509331
510332
511-@Callable(cT)
512-func constructorV1 (cU) = if ((cT.caller != this))
333+@Callable(bA)
334+func constructorV1 (bB) = if ((bA.caller != this))
513335 then throw("permissions denied")
514336 else {
515- func cV (bH,cW) = (bH + "%s")
337+ func bC (aB,bD) = (aB + "%s")
516338
517- let cX = {
518- let bK = cU
519- let bL = size(bK)
520- let bM = ""
521- func bN (bO,bP) = if ((bP >= bL))
522- then bO
523- else cV(bO, bK[bP])
339+ let bE = {
340+ let aG = bB
341+ let aH = size(aG)
342+ let aI = ""
343+ func aJ (aK,aL) = if ((aL >= aH))
344+ then aK
345+ else bC(aK, aG[aL])
524346
525- func bQ (bO,bP) = if ((bP >= bL))
526- then bO
347+ func aM (aK,aL) = if ((aL >= aH))
348+ then aK
527349 else throw("List size exceeds 10")
528350
529- bQ(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bM, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
351+ aM(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aI, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
530352 }
531-[StringEntry(aw(), makeString(cX :: cU, f)), StringEntry(ax(), toString(this))]
353+[StringEntry(G(), makeString(bE :: bB, f)), StringEntry(H(), toString(this))]
532354 }
533355
534356
535357
536-@Callable(cT)
537-func walletInfoREADONLY (cj) = $Tuple2(nil, ci(cj))
358+@Callable(bA)
359+func walletInfoREADONLY (aQ) = $Tuple2(nil, aP(aQ))
538360
539361
540362
541-@Callable(cT)
542-func duckByOwnerInfoREADONLY (cY) = {
543- let cZ = getString(aE, bc(cY))
544- $Tuple2(nil, if (if (isDefined(addressFromString(cY)))
545- then isDefined(cZ)
363+@Callable(bA)
364+func duckByOwnerInfoREADONLY (bF) = {
365+ let bG = getString(O, ai(bF))
366+ $Tuple2(nil, if (if (isDefined(addressFromString(bF)))
367+ then isDefined(bG)
546368 else false)
547369 then {
548- let be = value(cZ)
549- cF(be, cY, cE(be))
370+ let ak = value(bG)
371+ bm(ak, bF, bl(ak))
550372 }
551- else cF("", cY, $Tuple5(-1, "", "", -1, "")))
373+ else bm("", bF, $Tuple5(-1, "", "", -1, "")))
552374 }
553375
554376
555377
556-@Callable(cT)
557-func duckByAssetIdInfoREADONLY (be) = {
558- let cG = getString(aE, bb(be))
559- let cH = cE(be)
560- $Tuple2(nil, cF(be, if (isDefined(cG))
561- then value(cG)
562- else "", cE(be)))
378+@Callable(bA)
379+func duckByAssetIdInfoREADONLY (ak) = {
380+ let bn = getString(O, ah(ak))
381+ let bo = bl(ak)
382+ $Tuple2(nil, bm(ak, if (isDefined(bn))
383+ then value(bn)
384+ else "", bl(ak)))
563385 }
564386
565387
566388
567-@Callable(cT)
568-func landByAssetIdInfoREADONLY (aV) = if ((aV == ""))
389+@Callable(bA)
390+func landByAssetIdInfoREADONLY (aa) = if ((aa == ""))
569391 then throw("landAssetId is required")
570392 else {
571- let cJ = valueOrElse(getInteger(aE, aN(aV)), -1)
572- let cG = if ((cJ > 0))
573- then value(getString(aE, aK(aV)))
393+ let bq = valueOrElse(getInteger(O, V(aa)), -1)
394+ let bn = if ((bq > 0))
395+ then value(getString(O, S(aa)))
574396 else ""
575- $Tuple2(nil, cI(aV, cG, cJ))
397+ $Tuple2(nil, bp(aa, bn, bq))
576398 }
577399
578400
579401
580-@Callable(cT)
581-func stakedLandsByOwnerInfoREADONLY (da) = if ((da == ""))
402+@Callable(bA)
403+func stakedLandsByOwnerInfoREADONLY (bH) = if ((bH == ""))
582404 then throw("landOwnerAddress is required")
583405 else {
584- let bS = getString(aE, aW(da))
585- let bT = if (isDefined(bS))
586- then split_51C(value(bS), "_")
406+ let bI = getString(O, ab(bH))
407+ let bJ = if (isDefined(bI))
408+ then split_51C(value(bI), "_")
587409 else nil
588- func bU (bH,aV) = if ((aV == ""))
410+ func bK (aB,aa) = if ((aa == ""))
589411 then throw("landAssetId is required")
590412 else {
591- let cJ = valueOrElse(getInteger(aE, aN(aV)), -1)
592- (bH :+ cI(aV, da, cJ))
413+ let bq = valueOrElse(getInteger(O, V(aa)), -1)
414+ (aB :+ bp(aa, bH, bq))
593415 }
594416
595- let cf = {
596- let bK = bT
597- let bL = size(bK)
598- let bM = nil
599- func bN (bO,bP) = if ((bP >= bL))
600- then bO
601- else bU(bO, bK[bP])
417+ let aF = {
418+ let aG = bJ
419+ let aH = size(aG)
420+ let aI = nil
421+ func aJ (aK,aL) = if ((aL >= aH))
422+ then aK
423+ else bK(aK, aG[aL])
602424
603- func bQ (bO,bP) = if ((bP >= bL))
604- then bO
425+ func aM (aK,aL) = if ((aL >= aH))
426+ then aK
605427 else throw("List size exceeds 40")
606428
607- bQ(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bM, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40)
429+ aM(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aI, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40)
608430 }
609- $Tuple2(nil, cf)
431+ $Tuple2(nil, aF)
610432 }
611433
612434
613435
614-@Callable(cT)
615-func landsByIdsInfoREADONLY (db) = {
616- func bU (bH,aV) = if ((aV == ""))
436+@Callable(bA)
437+func landsByIdsInfoREADONLY (bL) = {
438+ func bK (aB,aa) = if ((aa == ""))
617439 then throw("landAssetId is required")
618440 else {
619- let cJ = valueOrElse(getInteger(aE, aN(aV)), -1)
620- let cG = if ((cJ > 0))
621- then value(getString(aE, aK(aV)))
441+ let bq = valueOrElse(getInteger(O, V(aa)), -1)
442+ let bn = if ((bq > 0))
443+ then value(getString(O, S(aa)))
622444 else ""
623- (bH :+ cI(aV, cG, cJ))
445+ (aB :+ bp(aa, bn, bq))
624446 }
625447
626- let cf = {
627- let bK = db
628- let bL = size(bK)
629- let bM = nil
630- func bN (bO,bP) = if ((bP >= bL))
631- then bO
632- else bU(bO, bK[bP])
448+ let aF = {
449+ let aG = bL
450+ let aH = size(aG)
451+ let aI = nil
452+ func aJ (aK,aL) = if ((aL >= aH))
453+ then aK
454+ else bK(aK, aG[aL])
633455
634- func bQ (bO,bP) = if ((bP >= bL))
635- then bO
456+ func aM (aK,aL) = if ((aL >= aH))
457+ then aK
636458 else throw("List size exceeds 40")
637459
638- bQ(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bM, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40)
460+ aM(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aI, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40)
639461 }
640- $Tuple2(nil, cf)
462+ $Tuple2(nil, aF)
641463 }
642464
643465
644466
645-@Callable(cT)
646-func warehouseOrderByAssetIdInfoREADONLY (aV) = if ((aV == ""))
467+@Callable(bA)
468+func warehouseOrderByAssetIdInfoREADONLY (aa) = if ((aa == ""))
647469 then throw("landAssetId is required")
648470 else {
649- let cJ = valueOrElse(getInteger(aE, aN(aV)), -1)
650- let cG = if ((cJ > 0))
651- then value(getString(aE, aK(aV)))
471+ let bq = valueOrElse(getInteger(O, V(aa)), -1)
472+ let bn = if ((bq > 0))
473+ then value(getString(O, S(aa)))
652474 else ""
653- $Tuple2(nil, cS(aV, cG))
475+ $Tuple2(nil, bz(aa, bn))
654476 }
655477
656478
657479
658-@Callable(cT)
659-func ordersByLandIdsInfoREADONLY (db) = {
660- func bU (bH,aV) = if ((aV == ""))
480+@Callable(bA)
481+func ordersByLandIdsInfoREADONLY (bL) = {
482+ func bK (aB,aa) = if ((aa == ""))
661483 then throw("landAssetId is required")
662484 else {
663- let cJ = valueOrElse(getInteger(aE, aN(aV)), -1)
664- let cG = if ((cJ > 0))
665- then value(getString(aE, aK(aV)))
485+ let bq = valueOrElse(getInteger(O, V(aa)), -1)
486+ let bn = if ((bq > 0))
487+ then value(getString(O, S(aa)))
666488 else ""
667- (bH :+ cS(aV, cG))
489+ (aB :+ bz(aa, bn))
668490 }
669491
670- let cf = {
671- let bK = db
672- let bL = size(bK)
673- let bM = nil
674- func bN (bO,bP) = if ((bP >= bL))
675- then bO
676- else bU(bO, bK[bP])
492+ let aF = {
493+ let aG = bL
494+ let aH = size(aG)
495+ let aI = nil
496+ func aJ (aK,aL) = if ((aL >= aH))
497+ then aK
498+ else bK(aK, aG[aL])
677499
678- func bQ (bO,bP) = if ((bP >= bL))
679- then bO
500+ func aM (aK,aL) = if ((aL >= aH))
501+ then aK
680502 else throw("List size exceeds 40")
681503
682- bQ(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bM, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40)
504+ aM(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aI, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40)
683505 }
684- $Tuple2(nil, cf)
506+ $Tuple2(nil, aF)
685507 }
686508
687509
688510
689-@Callable(cT)
690-func cancelWarehouseOrders (db) = if ((cT.caller != this))
511+@Callable(bA)
512+func cancelWarehouseOrders (bL) = if ((bA.caller != this))
691513 then throw("permission denied")
692514 else {
693- let dc = getBoolean(aE, bi())
694- if (if (!(isDefined(dc)))
515+ let bM = getBoolean(O, am())
516+ if (if (!(isDefined(bM)))
695517 then true
696- else (value(dc) == false))
518+ else (value(bM) == false))
697519 then throw("Contracts should be blocked before canceling orders")
698520 else {
699- func bU (cK,aV) = if ((aV == ""))
521+ func bK (br,aa) = if ((aa == ""))
700522 then throw("landAssetId is required")
701523 else {
702- let dd = by(invoke(aF, "setWarehouseOrder", ["0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:", aV], nil))
703- if (if (cK)
524+ let bN = at(invoke(P, "setWarehouseOrder", ["0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:", aa], nil))
525+ if (if (br)
704526 then true
705- else dd)
706- then !(if (cK)
707- then dd
527+ else bN)
528+ then !(if (br)
529+ then bN
708530 else false)
709531 else false
710532 }
711533
712- let cf = {
713- let bK = db
714- let bL = size(bK)
715- let bM = false
716- func bN (bO,bP) = if ((bP >= bL))
717- then bO
718- else bU(bO, bK[bP])
534+ let aF = {
535+ let aG = bL
536+ let aH = size(aG)
537+ let aI = false
538+ func aJ (aK,aL) = if ((aL >= aH))
539+ then aK
540+ else bK(aK, aG[aL])
719541
720- func bQ (bO,bP) = if ((bP >= bL))
721- then bO
542+ func aM (aK,aL) = if ((aL >= aH))
543+ then aK
722544 else throw("List size exceeds 30")
723545
724- bQ(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bM, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30)
546+ aM(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aI, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30)
725547 }
726- $Tuple2(nil, cf)
548+ $Tuple2(nil, aF)
727549 }
728550 }
729551
730552
731553
732-@Callable(cT)
733-func fixWarehouseFormats (db) = if ((cT.caller != this))
554+@Callable(bA)
555+func fixWarehouseFormats (bL) = if ((bA.caller != this))
734556 then throw("permission denied")
735557 else {
736- func bU (bH,aV) = if ((aV == ""))
558+ func bK (aB,aa) = if ((aa == ""))
737559 then throw("landAssetId is required")
738- else (bH + size(br(invoke(aE, "fixWarehouseFormat", [aV], nil))))
560+ else (aB + size(aq(invoke(O, "fixWarehouseFormat", [aa], nil))))
739561
740- let cf = {
741- let bK = db
742- let bL = size(bK)
743- let bM = 0
744- func bN (bO,bP) = if ((bP >= bL))
745- then bO
746- else bU(bO, bK[bP])
562+ let aF = {
563+ let aG = bL
564+ let aH = size(aG)
565+ let aI = 0
566+ func aJ (aK,aL) = if ((aL >= aH))
567+ then aK
568+ else bK(aK, aG[aL])
747569
748- func bQ (bO,bP) = if ((bP >= bL))
749- then bO
570+ func aM (aK,aL) = if ((aL >= aH))
571+ then aK
750572 else throw("List size exceeds 25")
751573
752- bQ(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bM, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25)
574+ aM(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aI, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25)
753575 }
754- $Tuple2(nil, cf)
576+ $Tuple2(nil, aF)
755577 }
756578
757579
758580
759-@Callable(cT)
760-func sendUsdtPrize (cY) = if ((cT.caller != aE))
581+@Callable(bA)
582+func sendUsdtPrize (bF) = if ((bA.caller != O))
761583 then throw("permission denied")
762584 else {
763- let de = fraction(assetBalance(this, b), bY, g)
764- $Tuple2([ScriptTransfer(addressFromStringValue(cY), de, b)], de)
585+ let bO = fraction(assetBalance(this, b), aw, g)
586+ $Tuple2([ScriptTransfer(addressFromStringValue(bF), bO, b)], bO)
765587 }
766588
767589
768590
769-@Callable(cT)
591+@Callable(bA)
770592 func getEmergencyServiceDataREADONLY () = {
771- func df (bH,dg) = {
772- let bv = bH._2
773- let dh = split(dg, "_")
774- let di = parseIntValue(dh[S])
775- let dj = if ((bv == 0))
776- then (y * di)
593+ func bP (aB,bQ) = {
594+ let bR = aB._2
595+ let bS = split(bQ, "_")
596+ let bT = parseIntValue(bS[w])
597+ let bU = if ((bR == 0))
598+ then (s * bT)
777599 else 0
778- let dk = valueOrElse(getInteger(aF, bm(bv)), 0)
779- func dl (dm,dn) = (dm + parseIntValue(dh[dn]))
600+ let bV = valueOrElse(getInteger(P, ao(bR)), 0)
601+ func bW (bX,bY) = (bX + parseIntValue(bS[bY]))
780602
781- let do = {
782- let bK = [0, 1, 2, 3, 4, 5]
783- let bL = size(bK)
784- let bM = 0
785- func bN (bO,bP) = if ((bP >= bL))
786- then bO
787- else dl(bO, bK[bP])
603+ let bZ = {
604+ let aG = [0, 1, 2, 3, 4, 5]
605+ let aH = size(aG)
606+ let aI = 0
607+ func aJ (aK,aL) = if ((aL >= aH))
608+ then aK
609+ else bW(aK, aG[aL])
788610
789- func bQ (bO,bP) = if ((bP >= bL))
790- then bO
611+ func aM (aK,aL) = if ((aL >= aH))
612+ then aK
791613 else throw("List size exceeds 6")
792614
793- bQ(bN(bN(bN(bN(bN(bN(bM, 0), 1), 2), 3), 4), 5), 6)
615+ aM(aJ(aJ(aJ(aJ(aJ(aJ(aI, 0), 1), 2), 3), 4), 5), 6)
794616 }
795- let dp = fraction((do * z), x, (di * 10))
796- let dq = fraction((do * A), x, (di * 10))
797- let dr = makeString([toString(dj), toString(dk), toString(dp), toString(dq)], "_")
798- $Tuple2((bH._1 :+ dr), (bv + 1))
617+ let ca = fraction((bZ * t), r, (bT * 10))
618+ let cb = fraction((bZ * u), r, (bT * 10))
619+ let cc = makeString([toString(bU), toString(bV), toString(ca), toString(cb)], "_")
620+ $Tuple2((aB._1 :+ cc), (bR + 1))
799621 }
800622
801- let bt = makeString_2C(( let bK = F
802- let bL = size(bK)
803- let bM = $Tuple2(nil, 0)
804- func bN (bO,bP) = if ((bP >= bL))
805- then bO
806- else df(bO, bK[bP])
623+ let as = makeString_2C(( let aG = v
624+ let aH = size(aG)
625+ let aI = $Tuple2(nil, 0)
626+ func aJ (aK,aL) = if ((aL >= aH))
627+ then aK
628+ else bP(aK, aG[aL])
807629
808- func bQ (bO,bP) = if ((bP >= bL))
809- then bO
630+ func aM (aK,aL) = if ((aL >= aH))
631+ then aK
810632 else throw("List size exceeds 50")
811633
812- bQ(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bM, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50))._1, ":")
813- let ds = ("%s%s__emergencyServiceData__" + bt)
814- $Tuple2(nil, ds)
634+ aM(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aI, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50))._1, ":")
635+ let cd = ("%s%s__emergencyServiceData__" + as)
636+ $Tuple2(nil, cd)
815637 }
816638
817639
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = take(drop(this.bytes, 1), 1)
55
66 let b = {
77 let c = a
88 if ((base58'2W' == c))
99 then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi'
1010 else if ((base58'2T' == c))
1111 then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63'
1212 else throw("Unknown chain")
1313 }
1414
1515 let d = {
1616 let c = a
1717 if ((base58'2W' == c))
1818 then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv"
1919 else if ((base58'2T' == c))
2020 then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy"
2121 else throw("Unknown chain")
2222 }
2323
2424 let e = {
2525 let c = a
2626 if ((base58'2W' == c))
2727 then 10000000000
2828 else if ((base58'2T' == c))
2929 then 100000000
3030 else throw("Unknown chain")
3131 }
3232
3333 let f = "__"
3434
3535 let g = 1000000
3636
37-let h = 10000000
37+let h = "PRESALE"
3838
39-let i = 100000000
39+let i = 6
4040
41-let j = 10000000000
41+let j = 25
4242
43-let k = "LAND"
43+let k = 100
4444
45-let l = "DUCK"
45+let l = 225
4646
47-let m = "PRESALE"
47+let m = 400
4848
49-let n = 6
49+let n = 625
5050
51-let o = 25
51+let o = 3456000
5252
53-let p = 100
53+let p = 86400000
5454
55-let q = 225
55+let q = 10000000000
5656
57-let r = 400
57+let r = 39637
5858
59-let s = 625
59+let s = 3
6060
61-let t = 3456000
61+let t = 4
6262
63-let u = 86400000
63+let u = 10
6464
65-let v = 10000000000
65+let v = ["1_1_1_2_2_5_1_10_0", "2_2_2_4_4_10_1_10_0", "3_3_3_6_6_15_1_10_0", "2_5_5_2_7_5_2_100_1", "4_10_10_4_14_10_2_100_1", "6_15_15_6_21_15_2_100_1", "1_1_1_1_1_8_1_10_2", "2_2_2_2_2_16_1_10_2", "3_3_3_3_3_24_1_10_2", "9_9_1_5_5_1_5_100_3", "18_18_2_10_10_2_5_100_3", "27_27_3_15_15_3_5_100_3", "2_2_1_2_2_2_1_10_4", "4_4_2_4_4_4_1_10_4", "6_6_3_6_6_6_1_10_4"]
6666
67-let w = "Africa_F_Africa"
67+let w = 7
6868
69-let x = 39637
69+let x = 0
7070
71-let y = 3
71+let y = 1
7272
73-let z = 4
73+let z = 2
7474
75-let A = 10
75+let A = 3
7676
77-let B = ["Oil", "Ore", "Wood", "Sand", "Clay", "Organic"]
78-
79-let C = ["Fuel", "Metal", "Plank", "Glass", "Plastic", "Protein"]
80-
81-let D = ["First Aid Kit L1", "First Aid Kit L2", "First Aid Kit L3", "Backpack L1", "Backpack L2", "Backpack L3", "Food Ration L1", "Food Ration L2", "Food Ration L3", "Jet Pack L1", "Jet Pack L2", "Jet Pack L3", "Shield L1", "Shield L2", "Shield L3"]
82-
83-let E = ["Asia", "Europe", "Americas", "Oceania", "Africa"]
84-
85-let F = ["1_1_1_2_2_5_1_10_0", "2_2_2_4_4_10_1_10_0", "3_3_3_6_6_15_1_10_0", "2_5_5_2_7_5_2_100_1", "4_10_10_4_14_10_2_100_1", "6_15_15_6_21_15_2_100_1", "1_1_1_1_1_8_1_10_2", "2_2_2_2_2_16_1_10_2", "3_3_3_3_3_24_1_10_2", "9_9_1_5_5_1_5_100_3", "18_18_2_10_10_2_5_100_3", "27_27_3_15_15_3_5_100_3", "2_2_1_2_2_2_1_10_4", "4_4_2_4_4_4_1_10_4", "6_6_3_6_6_6_1_10_4"]
86-
87-let G = 0
88-
89-let H = 1
90-
91-let I = 2
92-
93-let J = 3
94-
95-let K = 4
96-
97-let L = 0
98-
99-let M = 1
100-
101-let N = 2
102-
103-let O = 3
104-
105-let P = 4
106-
107-let Q = 5
108-
109-let R = 6
110-
111-let S = 7
112-
113-let T = 8
114-
115-let U = 0
116-
117-let V = 1
118-
119-let W = 2
120-
121-let X = 3
122-
123-let Y = 0
124-
125-let Z = 1
126-
127-let aa = 2
128-
129-let ab = 3
130-
131-let ac = 4
132-
133-let ad = 0
134-
135-let ae = 1
136-
137-let af = 2
138-
139-let ag = 3
140-
141-let ah = 0
142-
143-let ai = 1
144-
145-let aj = 2
146-
147-let ak = 3
148-
149-func al (am) = parseIntValue(split(F[am], "_")[S])
77+func B (C,D) = valueOrErrorMessage(getString(C, D), makeString(["mandatory ", toString(C), ".", D, " is not defined"], ""))
15078
15179
152-func an (ao,ap) = valueOrErrorMessage(getString(ao, ap), makeString(["mandatory ", toString(ao), ".", ap, " is not defined"], ""))
80+let E = 1
81+
82+let F = 2
83+
84+func G () = "%s__restConfig"
15385
15486
155-func aq (ap,ar) = valueOrElse(getInteger(this, ap), ar)
87+func H () = "%s__restAddr"
15688
15789
158-let as = 1
159-
160-let at = 2
161-
162-let au = 3
163-
164-let av = 4
165-
166-func aw () = "%s__restConfig"
90+func I (J) = split_4C(B(J, G()), f)
16791
16892
169-func ax () = "%s__restAddr"
93+func K (L,M) = valueOrErrorMessage(addressFromString(L[M]), ("Rest cfg doesn't contain address at index " + toString(M)))
17094
17195
172-func ay (az) = split_4C(an(az, aw()), f)
96+let N = addressFromStringValue(valueOrElse(getString(this, H()), d))
97+
98+let L = I(N)
99+
100+let O = K(L, E)
101+
102+let P = K(L, F)
103+
104+func Q (R) = ("lastTxIdByUser_" + R)
173105
174106
175-func aA (aB,aC) = valueOrErrorMessage(addressFromString(aB[aC]), ("Rest cfg doesn't contain address at index " + toString(aC)))
107+func S (T) = ("nftOwner_" + T)
176108
177109
178-let aD = addressFromStringValue(valueOrElse(getString(this, ax()), d))
179-
180-let aB = ay(aD)
181-
182-let aE = aA(aB, as)
183-
184-let aF = aA(aB, at)
185-
186-let aG = aA(aB, au)
187-
188-let aH = aA(aB, av)
189-
190-func aI (aJ) = ("lastTxIdByUser_" + aJ)
110+func U (T) = ("landCustomNameByAssetId_" + T)
191111
192112
193-func aK (aL) = ("nftOwner_" + aL)
113+func V (T) = ("stakedTime_" + T)
194114
195115
196-func aM (aL) = ("landCustomNameByAssetId_" + aL)
116+func W (T) = ("infraLevel_" + T)
197117
198118
199-func aN (aL) = ("stakedTime_" + aL)
119+func X (Y,T) = makeString(["landArtStatus", Y, T], "_")
200120
201121
202-func aO (aL) = ("infraLevel_" + aL)
122+func Z (aa) = ("wareHouse_" + aa)
203123
204124
205-func aP (aQ,aL) = makeString(["landArtStatus", aQ, aL], "_")
125+func ab (ac) = ("stakedLandsByOwner_" + ac)
206126
207127
208-func aR (aS,aL,aT) = ((((("stakedTimeByTypeAssetIdAndOwner_" + aS) + "_") + aL) + "_") + aT)
128+func ad (T) = ("duckCustomNameByAssetId_" + T)
209129
210130
211-func aU (aV) = ("wareHouse_" + aV)
131+func ae (R) = ("accountCustomNameByAddr_" + R)
212132
213133
214-func aW (aT) = ("stakedLandsByOwner_" + aT)
134+func af (R) = ("accRefBy_" + R)
215135
216136
217-func aX (aL) = ("duckCustomNameByAssetId_" + aL)
137+func ag (R) = ("accReferrals_" + R)
218138
219139
220-func aY (aJ) = ("accountCustomNameByAddr_" + aJ)
140+func ah (T) = ("duckOwner_" + T)
221141
222142
223-func aZ (aJ) = ("accRefBy_" + aJ)
143+func ai (ac) = ("stakedDuckByOwner_" + ac)
224144
225145
226-func ba (aJ) = ("accReferrals_" + aJ)
146+func aj (ak) = ("duckLocation_" + ak)
227147
228148
229-func bb (aL) = ("duckOwner_" + aL)
149+func al (ak) = ("duckHealth_" + ak)
230150
231151
232-func bc (aT) = ("stakedDuckByOwner_" + aT)
152+func am () = "contractsBlocked"
233153
234154
235-func bd (be) = ("backPack_" + be)
155+func an (aa) = ("landOrder_" + aa)
236156
237157
238-func bf (be) = ("duckLocation_" + be)
158+func ao (ap) = ("dutyWhByProd_" + toString(ap))
239159
240160
241-func bg (be) = ("duckHealth_" + be)
242-
243-
244-func bh () = "resTypesProportions"
245-
246-
247-func bi () = "contractsBlocked"
248-
249-
250-func bj (bk) = ("%s%s__userGwlReleaseTime__" + bk)
251-
252-
253-func bl (aV) = ("landOrder_" + aV)
254-
255-
256-func bm (bn) = ("dutyWhByProd_" + toString(bn))
257-
258-
259-let bo = 0
260-
261-let bp = 1
262-
263-let bq = 2
264-
265-func br (bs) = {
266- let c = bs
161+func aq (ar) = {
162+ let c = ar
267163 if ($isInstanceOf(c, "String"))
268164 then {
269- let bt = c
270- bt
165+ let as = c
166+ as
271167 }
272168 else throw("fail to cast into String")
273169 }
274170
275171
276-func bu (bs) = {
277- let c = bs
278- if ($isInstanceOf(c, "Int"))
279- then {
280- let bv = c
281- bv
282- }
283- else throw("fail to cast into Int")
284- }
285-
286-
287-func bw (bs) = {
288- let c = bs
289- if ($isInstanceOf(c, "List[Any]"))
290- then {
291- let bx = c
292- bx
293- }
294- else throw("fail to cast into List[Any]")
295- }
296-
297-
298-func by (bs) = {
299- let c = bs
172+func at (ar) = {
173+ let c = ar
300174 if ($isInstanceOf(c, "Boolean"))
301175 then {
302- let bt = c
303- bt
176+ let as = c
177+ as
304178 }
305179 else throw("fail to cast into Boolean")
306180 }
307181
308182
309-func bz (bA) = {
310- let c = bA
183+func au (av) = {
184+ let c = av
311185 if (("S" == c))
312- then o
186+ then j
313187 else if (("M" == c))
314- then p
188+ then k
315189 else if (("L" == c))
316- then q
190+ then l
317191 else if (("XL" == c))
318- then r
192+ then m
319193 else if (("XXL" == c))
320- then s
194+ then n
321195 else throw("Unknown land size")
322196 }
323197
324198
325-let bB = 0
199+let aw = 500000
326200
327-let bC = 1
328-
329-func bD (bE) = {
330- let bF = split(valueOrElse(getString(aE, bh()), "0_0_0_0_0_0"), "_")
331- func bG (bH,bI) = (bH + parseIntValue(bI))
332-
333- let bJ = {
334- let bK = bF
335- let bL = size(bK)
336- let bM = 0
337- func bN (bO,bP) = if ((bP >= bL))
338- then bO
339- else bG(bO, bK[bP])
340-
341- func bQ (bO,bP) = if ((bP >= bL))
342- then bO
343- else throw("List size exceeds 6")
344-
345- bQ(bN(bN(bN(bN(bN(bN(bM, 0), 1), 2), 3), 4), 5), 6)
346- }
347- let bR = if ((bE == ""))
348- then 0
349- else {
350- let bS = getString(aE, aW(bE))
351- let bT = if (isDefined(bS))
352- then split_51C(value(bS), "_")
353- else nil
354- func bU (bH,aV) = {
355- let bV = value(assetInfo(fromBase58String(aV)))
356- let bA = split(bV.description, "_")[V]
357- (bH + bz(bA))
358- }
359-
360- let bK = bT
361- let bL = size(bK)
362- let bM = 0
363- func bW (bO,bP) = if ((bP >= bL))
364- then bO
365- else bU(bO, bK[bP])
366-
367- func bX (bO,bP) = if ((bP >= bL))
368- then bO
369- else throw("List size exceeds 100")
370-
371- bX(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bM, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
372- }
373-[bJ, bR]
374- }
375-
376-
377-let bY = 500000
378-
379-func bZ (ca) = {
380- let c = ca
201+func ax (ay) = {
202+ let c = ay
381203 if ($isInstanceOf(c, "List[Any]"))
382204 then {
383- let cb = c
384- if ((size(cb) != n))
385- then throw(("Array size is " + toString(size(cb))))
205+ let az = c
206+ if ((size(az) != i))
207+ then throw(("Array size is " + toString(size(az))))
386208 else {
387- func cc (bH,bI) = {
388- let cd = bI
389- if ($isInstanceOf(cd, "Int"))
209+ func aA (aB,aC) = {
210+ let aD = aC
211+ if ($isInstanceOf(aD, "Int"))
390212 then {
391- let ce = cd
392- (bH :+ toString(ce))
213+ let aE = aD
214+ (aB :+ toString(aE))
393215 }
394216 else throw("List type is not Int")
395217 }
396218
397- let cf = {
398- let bK = cb
399- let bL = size(bK)
400- let bM = nil
401- func bN (bO,bP) = if ((bP >= bL))
402- then bO
403- else cc(bO, bK[bP])
219+ let aF = {
220+ let aG = az
221+ let aH = size(aG)
222+ let aI = nil
223+ func aJ (aK,aL) = if ((aL >= aH))
224+ then aK
225+ else aA(aK, aG[aL])
404226
405- func bQ (bO,bP) = if ((bP >= bL))
406- then bO
227+ func aM (aK,aL) = if ((aL >= aH))
228+ then aK
407229 else throw("List size exceeds 6")
408230
409- bQ(bN(bN(bN(bN(bN(bN(bM, 0), 1), 2), 3), 4), 5), 6)
231+ aM(aJ(aJ(aJ(aJ(aJ(aJ(aI, 0), 1), 2), 3), 4), 5), 6)
410232 }
411- makeString(cf, "_")
233+ makeString(aF, "_")
412234 }
413235 }
414236 else throw("fail to cast into List")
415237 }
416238
417239
418-func cg (ca) = {
419- let c = ca
240+func aN (ay) = {
241+ let c = ay
420242 if ($isInstanceOf(c, "(List[Any], List[Any])"))
421243 then {
422- let ch = c
423- $Tuple2(bZ(ch._1), bZ(ch._2))
244+ let aO = c
245+ $Tuple2(ax(aO._1), ax(aO._2))
424246 }
425247 else throw("fail to cast into (List, List)")
426248 }
427249
428250
429-func ci (cj) = {
430- let aJ = addressFromString(cj)
431- let ck = if (isDefined(aJ))
432- then wavesBalance(value(aJ))
251+func aP (aQ) = {
252+ let R = addressFromString(aQ)
253+ let aR = if (isDefined(R))
254+ then wavesBalance(value(R))
433255 else BalanceDetails(0, 0, 0, 0)
434- let cl = if (isDefined(aJ))
435- then assetBalance(value(aJ), b)
256+ let aS = if (isDefined(R))
257+ then assetBalance(value(R), b)
436258 else 0
437- let cm = valueOrElse(getString(aE, aY(cj)), cj)
438- let cn = valueOrElse(getString(aE, aZ(cj)), "")
439- let co = valueOrElse(getString(aE, ba(cj)), "")
440- let cp = valueOrElse(getString(aE, aI(cj)), "")
441-[("%s%s__customName__" + cm), ("%s%s__referredBy__" + cn), ("%s%s__referrals__" + co), ("%s%s__lastTxId__" + cp), ("%s%s%d__wavesBalance__" + toString(ck.available)), ("%s%s%d__usdtBalance__" + toString(cl))]
259+ let aT = valueOrElse(getString(O, ae(aQ)), aQ)
260+ let aU = valueOrElse(getString(O, af(aQ)), "")
261+ let aV = valueOrElse(getString(O, ag(aQ)), "")
262+ let aW = valueOrElse(getString(O, Q(aQ)), "")
263+[("%s%s__customName__" + aT), ("%s%s__referredBy__" + aU), ("%s%s__referrals__" + aV), ("%s%s__lastTxId__" + aW), ("%s%s%d__wavesBalance__" + toString(aR.available)), ("%s%s%d__usdtBalance__" + toString(aS))]
442264 }
443265
444266
445-func cq (aV,cr) = {
446- let cs = valueOrElse(getInteger(aE, aO(aV)), 0)
447- let ct = valueOrElse(getInteger(aE, aP(m, aV)), 0)
448- let cu = (cs / 6)
449- let cv = (cs / 7)
450- $Tuple3(cs, ct, ((t + fraction(t, ((cs + cu) + (2 * cv)), 5)) + fraction(t, ct, (cr * 5))))
267+func aX (aa,aY) = {
268+ let aZ = valueOrElse(getInteger(O, W(aa)), 0)
269+ let ba = valueOrElse(getInteger(O, X(h, aa)), 0)
270+ let bb = (aZ / 6)
271+ let bc = (aZ / 7)
272+ $Tuple3(aZ, ba, ((o + fraction(o, ((aZ + bb) + (2 * bc)), 5)) + fraction(o, ba, (aY * 5))))
451273 }
452274
453275
454-func cw (cx) = {
455- let cy = split(cx, "_")
456- ((v * (parseIntValue(cy[1]) + 1)) * parseIntValue(cy[0]))
276+func bd (be) = {
277+ let bf = split(be, "_")
278+ ((q * (parseIntValue(bf[1]) + 1)) * parseIntValue(bf[0]))
457279 }
458280
459281
460-func cz (cA,cB,cs) = {
461- let cx = ((toString(cB) + "_") + toString(cs))
462- let cC = toString(cw(cx))
463- let cD = valueOrElse(getString(aE, cA), ((((cx + ":0_0_0_0_0_0:0_0_0_0_0_0::0_0_") + cC) + "_") + cC))
464- split(cD, ":")
282+func bg (bh,bi,aZ) = {
283+ let be = ((toString(bi) + "_") + toString(aZ))
284+ let bj = toString(bd(be))
285+ let bk = valueOrElse(getString(O, bh), ((((be + ":0_0_0_0_0_0:0_0_0_0_0_0::0_0_") + bj) + "_") + bj))
286+ split(bk, ":")
465287 }
466288
467289
468-func cE (be) = $Tuple5(valueOrElse(getInteger(aE, aN(be)), -1), value(assetInfo(fromBase58String(be))).name, valueOrElse(getString(aE, bf(be)), ""), valueOrElse(getInteger(aE, bg(be)), -1), br(invoke(aE, "getBackpackREADONLY", [be], nil)))
290+func bl (ak) = $Tuple5(valueOrElse(getInteger(O, V(ak)), -1), value(assetInfo(fromBase58String(ak))).name, valueOrElse(getString(O, aj(ak)), ""), valueOrElse(getInteger(O, al(ak)), -1), aq(invoke(O, "getBackpackREADONLY", [ak], nil)))
469291
470292
471-func cF (be,cG,cH) = {
472- let cm = valueOrElse(getString(aE, aX(be)), cH._2)
473-[("%s%s__assetId__" + be), ("%s%s__owner__" + cG), ("%s%s__customName__" + cm), ("%s%d__stakedTime__" + toString(cH._1)), ("%s%s__name__" + cH._2), ("%s%s__location__" + cH._3), ("%s%d__health__" + toString(cH._4)), ("%s%s__backPack__" + cH._5)]
293+func bm (ak,bn,bo) = {
294+ let aT = valueOrElse(getString(O, ad(ak)), bo._2)
295+[("%s%s__assetId__" + ak), ("%s%s__owner__" + bn), ("%s%s__customName__" + aT), ("%s%d__stakedTime__" + toString(bo._1)), ("%s%s__name__" + bo._2), ("%s%s__location__" + bo._3), ("%s%d__health__" + toString(bo._4)), ("%s%s__backPack__" + bo._5)]
474296 }
475297
476298
477-func cI (aV,cG,cJ) = if ((aV == ""))
299+func bp (aa,bn,bq) = if ((aa == ""))
478300 then throw("landAssetId is required")
479301 else {
480- let cK = value(assetInfo(fromBase58String(aV)))
481- let cL = split(cK.description, "_")
482- let cM = if ((cK.quantity > 0))
483- then cL[U]
484- else ("-" + cL[U])
485- let cr = bz(cL[V])
486- let cN = cq(aV, cr)
487- let cO = (lastBlock.timestamp - cJ)
488- let cP = if ((cJ > 0))
489- then fraction(cO, (cN._3 * cr), u)
302+ let br = value(assetInfo(fromBase58String(aa)))
303+ let bs = split(br.description, "_")
304+ let bt = if ((br.quantity > 0))
305+ then bs[x]
306+ else ("-" + bs[x])
307+ let aY = au(bs[y])
308+ let bu = aX(aa, aY)
309+ let bv = (lastBlock.timestamp - bq)
310+ let bw = if ((bq > 0))
311+ then fraction(bv, (bu._3 * aY), p)
490312 else 0
491- let cQ = fraction(e, (cr * (cN._1 + 1)), o)
492- let cR = if ((cJ > 0))
493- then cg(invoke(aE, "splitByGlobalAndLocalWeightsREADONLY", [cQ, cP, cL[W]], nil))
494- else $Tuple2(bZ(invoke(aE, "splitByGlobalWeightsREADONLY", [cQ], nil)), "")
495- let cm = valueOrElse(getString(aE, aM(aV)), ((cL[X] + "-") + cL[U]))
496-[("%s%s__assetId__" + aV), ("%s%s__owner__" + cG), ("%s%s__customName__" + cm), ("%s%d__stakedTime__" + toString(cJ)), ("%s%s__description__" + makeString([cM, cL[V], cL[W], cL[X]], "_")), ("%s%d__infraLevel__" + toString(cN._1)), ("%s%s__availResByType__" + cR._2), ("%s%d__availResTotal__" + toString(cP)), ("%s%s__needMaterial__" + cR._1), makeString(["%s%s", "landArtefacts", ("PRESALE:" + toString(cN._2))], f), ("%s%s__warehouse__" + makeString(cz(aU(aV), (cr / o), cN._1), ":")), ("%s%s__landOrder__" + valueOrElse(getString(aF, bl(aV)), "0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:"))]
313+ let bx = fraction(e, (aY * (bu._1 + 1)), j)
314+ let by = if ((bq > 0))
315+ then aN(invoke(O, "splitByGlobalAndLocalWeightsREADONLY", [bx, bw, bs[z]], nil))
316+ else $Tuple2(ax(invoke(O, "splitByGlobalWeightsREADONLY", [bx], nil)), "")
317+ let aT = valueOrElse(getString(O, U(aa)), ((bs[A] + "-") + bs[x]))
318+[("%s%s__assetId__" + aa), ("%s%s__owner__" + bn), ("%s%s__customName__" + aT), ("%s%d__stakedTime__" + toString(bq)), ("%s%s__description__" + makeString([bt, bs[y], bs[z], bs[A]], "_")), ("%s%d__infraLevel__" + toString(bu._1)), ("%s%s__availResByType__" + by._2), ("%s%d__availResTotal__" + toString(bw)), ("%s%s__needMaterial__" + by._1), makeString(["%s%s", "landArtefacts", ("PRESALE:" + toString(bu._2))], f), ("%s%s__warehouse__" + makeString(bg(Z(aa), (aY / j), bu._1), ":")), ("%s%s__landOrder__" + valueOrElse(getString(P, an(aa)), "0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:"))]
497319 }
498320
499321
500-func cS (aV,cG) = if ((aV == ""))
322+func bz (aa,bn) = if ((aa == ""))
501323 then throw("landAssetId is required")
502324 else {
503- let cK = value(assetInfo(fromBase58String(aV)))
504- let cL = split(cK.description, "_")
505- let cr = bz(cL[V])
506- let cN = cq(aV, cr)
507-[("%s%s__assetId__" + aV), ("%s%s__owner__" + cG), ("%s%s__warehouse__" + makeString(cz(aU(aV), (cr / o), cN._1), ":")), ("%s%s__landOrder__" + valueOrElse(getString(aF, bl(aV)), "0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:"))]
325+ let br = value(assetInfo(fromBase58String(aa)))
326+ let bs = split(br.description, "_")
327+ let aY = au(bs[y])
328+ let bu = aX(aa, aY)
329+[("%s%s__assetId__" + aa), ("%s%s__owner__" + bn), ("%s%s__warehouse__" + makeString(bg(Z(aa), (aY / j), bu._1), ":")), ("%s%s__landOrder__" + valueOrElse(getString(P, an(aa)), "0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:"))]
508330 }
509331
510332
511-@Callable(cT)
512-func constructorV1 (cU) = if ((cT.caller != this))
333+@Callable(bA)
334+func constructorV1 (bB) = if ((bA.caller != this))
513335 then throw("permissions denied")
514336 else {
515- func cV (bH,cW) = (bH + "%s")
337+ func bC (aB,bD) = (aB + "%s")
516338
517- let cX = {
518- let bK = cU
519- let bL = size(bK)
520- let bM = ""
521- func bN (bO,bP) = if ((bP >= bL))
522- then bO
523- else cV(bO, bK[bP])
339+ let bE = {
340+ let aG = bB
341+ let aH = size(aG)
342+ let aI = ""
343+ func aJ (aK,aL) = if ((aL >= aH))
344+ then aK
345+ else bC(aK, aG[aL])
524346
525- func bQ (bO,bP) = if ((bP >= bL))
526- then bO
347+ func aM (aK,aL) = if ((aL >= aH))
348+ then aK
527349 else throw("List size exceeds 10")
528350
529- bQ(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bM, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
351+ aM(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aI, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
530352 }
531-[StringEntry(aw(), makeString(cX :: cU, f)), StringEntry(ax(), toString(this))]
353+[StringEntry(G(), makeString(bE :: bB, f)), StringEntry(H(), toString(this))]
532354 }
533355
534356
535357
536-@Callable(cT)
537-func walletInfoREADONLY (cj) = $Tuple2(nil, ci(cj))
358+@Callable(bA)
359+func walletInfoREADONLY (aQ) = $Tuple2(nil, aP(aQ))
538360
539361
540362
541-@Callable(cT)
542-func duckByOwnerInfoREADONLY (cY) = {
543- let cZ = getString(aE, bc(cY))
544- $Tuple2(nil, if (if (isDefined(addressFromString(cY)))
545- then isDefined(cZ)
363+@Callable(bA)
364+func duckByOwnerInfoREADONLY (bF) = {
365+ let bG = getString(O, ai(bF))
366+ $Tuple2(nil, if (if (isDefined(addressFromString(bF)))
367+ then isDefined(bG)
546368 else false)
547369 then {
548- let be = value(cZ)
549- cF(be, cY, cE(be))
370+ let ak = value(bG)
371+ bm(ak, bF, bl(ak))
550372 }
551- else cF("", cY, $Tuple5(-1, "", "", -1, "")))
373+ else bm("", bF, $Tuple5(-1, "", "", -1, "")))
552374 }
553375
554376
555377
556-@Callable(cT)
557-func duckByAssetIdInfoREADONLY (be) = {
558- let cG = getString(aE, bb(be))
559- let cH = cE(be)
560- $Tuple2(nil, cF(be, if (isDefined(cG))
561- then value(cG)
562- else "", cE(be)))
378+@Callable(bA)
379+func duckByAssetIdInfoREADONLY (ak) = {
380+ let bn = getString(O, ah(ak))
381+ let bo = bl(ak)
382+ $Tuple2(nil, bm(ak, if (isDefined(bn))
383+ then value(bn)
384+ else "", bl(ak)))
563385 }
564386
565387
566388
567-@Callable(cT)
568-func landByAssetIdInfoREADONLY (aV) = if ((aV == ""))
389+@Callable(bA)
390+func landByAssetIdInfoREADONLY (aa) = if ((aa == ""))
569391 then throw("landAssetId is required")
570392 else {
571- let cJ = valueOrElse(getInteger(aE, aN(aV)), -1)
572- let cG = if ((cJ > 0))
573- then value(getString(aE, aK(aV)))
393+ let bq = valueOrElse(getInteger(O, V(aa)), -1)
394+ let bn = if ((bq > 0))
395+ then value(getString(O, S(aa)))
574396 else ""
575- $Tuple2(nil, cI(aV, cG, cJ))
397+ $Tuple2(nil, bp(aa, bn, bq))
576398 }
577399
578400
579401
580-@Callable(cT)
581-func stakedLandsByOwnerInfoREADONLY (da) = if ((da == ""))
402+@Callable(bA)
403+func stakedLandsByOwnerInfoREADONLY (bH) = if ((bH == ""))
582404 then throw("landOwnerAddress is required")
583405 else {
584- let bS = getString(aE, aW(da))
585- let bT = if (isDefined(bS))
586- then split_51C(value(bS), "_")
406+ let bI = getString(O, ab(bH))
407+ let bJ = if (isDefined(bI))
408+ then split_51C(value(bI), "_")
587409 else nil
588- func bU (bH,aV) = if ((aV == ""))
410+ func bK (aB,aa) = if ((aa == ""))
589411 then throw("landAssetId is required")
590412 else {
591- let cJ = valueOrElse(getInteger(aE, aN(aV)), -1)
592- (bH :+ cI(aV, da, cJ))
413+ let bq = valueOrElse(getInteger(O, V(aa)), -1)
414+ (aB :+ bp(aa, bH, bq))
593415 }
594416
595- let cf = {
596- let bK = bT
597- let bL = size(bK)
598- let bM = nil
599- func bN (bO,bP) = if ((bP >= bL))
600- then bO
601- else bU(bO, bK[bP])
417+ let aF = {
418+ let aG = bJ
419+ let aH = size(aG)
420+ let aI = nil
421+ func aJ (aK,aL) = if ((aL >= aH))
422+ then aK
423+ else bK(aK, aG[aL])
602424
603- func bQ (bO,bP) = if ((bP >= bL))
604- then bO
425+ func aM (aK,aL) = if ((aL >= aH))
426+ then aK
605427 else throw("List size exceeds 40")
606428
607- bQ(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bM, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40)
429+ aM(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aI, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40)
608430 }
609- $Tuple2(nil, cf)
431+ $Tuple2(nil, aF)
610432 }
611433
612434
613435
614-@Callable(cT)
615-func landsByIdsInfoREADONLY (db) = {
616- func bU (bH,aV) = if ((aV == ""))
436+@Callable(bA)
437+func landsByIdsInfoREADONLY (bL) = {
438+ func bK (aB,aa) = if ((aa == ""))
617439 then throw("landAssetId is required")
618440 else {
619- let cJ = valueOrElse(getInteger(aE, aN(aV)), -1)
620- let cG = if ((cJ > 0))
621- then value(getString(aE, aK(aV)))
441+ let bq = valueOrElse(getInteger(O, V(aa)), -1)
442+ let bn = if ((bq > 0))
443+ then value(getString(O, S(aa)))
622444 else ""
623- (bH :+ cI(aV, cG, cJ))
445+ (aB :+ bp(aa, bn, bq))
624446 }
625447
626- let cf = {
627- let bK = db
628- let bL = size(bK)
629- let bM = nil
630- func bN (bO,bP) = if ((bP >= bL))
631- then bO
632- else bU(bO, bK[bP])
448+ let aF = {
449+ let aG = bL
450+ let aH = size(aG)
451+ let aI = nil
452+ func aJ (aK,aL) = if ((aL >= aH))
453+ then aK
454+ else bK(aK, aG[aL])
633455
634- func bQ (bO,bP) = if ((bP >= bL))
635- then bO
456+ func aM (aK,aL) = if ((aL >= aH))
457+ then aK
636458 else throw("List size exceeds 40")
637459
638- bQ(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bM, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40)
460+ aM(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aI, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40)
639461 }
640- $Tuple2(nil, cf)
462+ $Tuple2(nil, aF)
641463 }
642464
643465
644466
645-@Callable(cT)
646-func warehouseOrderByAssetIdInfoREADONLY (aV) = if ((aV == ""))
467+@Callable(bA)
468+func warehouseOrderByAssetIdInfoREADONLY (aa) = if ((aa == ""))
647469 then throw("landAssetId is required")
648470 else {
649- let cJ = valueOrElse(getInteger(aE, aN(aV)), -1)
650- let cG = if ((cJ > 0))
651- then value(getString(aE, aK(aV)))
471+ let bq = valueOrElse(getInteger(O, V(aa)), -1)
472+ let bn = if ((bq > 0))
473+ then value(getString(O, S(aa)))
652474 else ""
653- $Tuple2(nil, cS(aV, cG))
475+ $Tuple2(nil, bz(aa, bn))
654476 }
655477
656478
657479
658-@Callable(cT)
659-func ordersByLandIdsInfoREADONLY (db) = {
660- func bU (bH,aV) = if ((aV == ""))
480+@Callable(bA)
481+func ordersByLandIdsInfoREADONLY (bL) = {
482+ func bK (aB,aa) = if ((aa == ""))
661483 then throw("landAssetId is required")
662484 else {
663- let cJ = valueOrElse(getInteger(aE, aN(aV)), -1)
664- let cG = if ((cJ > 0))
665- then value(getString(aE, aK(aV)))
485+ let bq = valueOrElse(getInteger(O, V(aa)), -1)
486+ let bn = if ((bq > 0))
487+ then value(getString(O, S(aa)))
666488 else ""
667- (bH :+ cS(aV, cG))
489+ (aB :+ bz(aa, bn))
668490 }
669491
670- let cf = {
671- let bK = db
672- let bL = size(bK)
673- let bM = nil
674- func bN (bO,bP) = if ((bP >= bL))
675- then bO
676- else bU(bO, bK[bP])
492+ let aF = {
493+ let aG = bL
494+ let aH = size(aG)
495+ let aI = nil
496+ func aJ (aK,aL) = if ((aL >= aH))
497+ then aK
498+ else bK(aK, aG[aL])
677499
678- func bQ (bO,bP) = if ((bP >= bL))
679- then bO
500+ func aM (aK,aL) = if ((aL >= aH))
501+ then aK
680502 else throw("List size exceeds 40")
681503
682- bQ(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bM, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40)
504+ aM(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aI, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40)
683505 }
684- $Tuple2(nil, cf)
506+ $Tuple2(nil, aF)
685507 }
686508
687509
688510
689-@Callable(cT)
690-func cancelWarehouseOrders (db) = if ((cT.caller != this))
511+@Callable(bA)
512+func cancelWarehouseOrders (bL) = if ((bA.caller != this))
691513 then throw("permission denied")
692514 else {
693- let dc = getBoolean(aE, bi())
694- if (if (!(isDefined(dc)))
515+ let bM = getBoolean(O, am())
516+ if (if (!(isDefined(bM)))
695517 then true
696- else (value(dc) == false))
518+ else (value(bM) == false))
697519 then throw("Contracts should be blocked before canceling orders")
698520 else {
699- func bU (cK,aV) = if ((aV == ""))
521+ func bK (br,aa) = if ((aa == ""))
700522 then throw("landAssetId is required")
701523 else {
702- let dd = by(invoke(aF, "setWarehouseOrder", ["0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:", aV], nil))
703- if (if (cK)
524+ let bN = at(invoke(P, "setWarehouseOrder", ["0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:", aa], nil))
525+ if (if (br)
704526 then true
705- else dd)
706- then !(if (cK)
707- then dd
527+ else bN)
528+ then !(if (br)
529+ then bN
708530 else false)
709531 else false
710532 }
711533
712- let cf = {
713- let bK = db
714- let bL = size(bK)
715- let bM = false
716- func bN (bO,bP) = if ((bP >= bL))
717- then bO
718- else bU(bO, bK[bP])
534+ let aF = {
535+ let aG = bL
536+ let aH = size(aG)
537+ let aI = false
538+ func aJ (aK,aL) = if ((aL >= aH))
539+ then aK
540+ else bK(aK, aG[aL])
719541
720- func bQ (bO,bP) = if ((bP >= bL))
721- then bO
542+ func aM (aK,aL) = if ((aL >= aH))
543+ then aK
722544 else throw("List size exceeds 30")
723545
724- bQ(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bM, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30)
546+ aM(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aI, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30)
725547 }
726- $Tuple2(nil, cf)
548+ $Tuple2(nil, aF)
727549 }
728550 }
729551
730552
731553
732-@Callable(cT)
733-func fixWarehouseFormats (db) = if ((cT.caller != this))
554+@Callable(bA)
555+func fixWarehouseFormats (bL) = if ((bA.caller != this))
734556 then throw("permission denied")
735557 else {
736- func bU (bH,aV) = if ((aV == ""))
558+ func bK (aB,aa) = if ((aa == ""))
737559 then throw("landAssetId is required")
738- else (bH + size(br(invoke(aE, "fixWarehouseFormat", [aV], nil))))
560+ else (aB + size(aq(invoke(O, "fixWarehouseFormat", [aa], nil))))
739561
740- let cf = {
741- let bK = db
742- let bL = size(bK)
743- let bM = 0
744- func bN (bO,bP) = if ((bP >= bL))
745- then bO
746- else bU(bO, bK[bP])
562+ let aF = {
563+ let aG = bL
564+ let aH = size(aG)
565+ let aI = 0
566+ func aJ (aK,aL) = if ((aL >= aH))
567+ then aK
568+ else bK(aK, aG[aL])
747569
748- func bQ (bO,bP) = if ((bP >= bL))
749- then bO
570+ func aM (aK,aL) = if ((aL >= aH))
571+ then aK
750572 else throw("List size exceeds 25")
751573
752- bQ(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bM, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25)
574+ aM(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aI, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25)
753575 }
754- $Tuple2(nil, cf)
576+ $Tuple2(nil, aF)
755577 }
756578
757579
758580
759-@Callable(cT)
760-func sendUsdtPrize (cY) = if ((cT.caller != aE))
581+@Callable(bA)
582+func sendUsdtPrize (bF) = if ((bA.caller != O))
761583 then throw("permission denied")
762584 else {
763- let de = fraction(assetBalance(this, b), bY, g)
764- $Tuple2([ScriptTransfer(addressFromStringValue(cY), de, b)], de)
585+ let bO = fraction(assetBalance(this, b), aw, g)
586+ $Tuple2([ScriptTransfer(addressFromStringValue(bF), bO, b)], bO)
765587 }
766588
767589
768590
769-@Callable(cT)
591+@Callable(bA)
770592 func getEmergencyServiceDataREADONLY () = {
771- func df (bH,dg) = {
772- let bv = bH._2
773- let dh = split(dg, "_")
774- let di = parseIntValue(dh[S])
775- let dj = if ((bv == 0))
776- then (y * di)
593+ func bP (aB,bQ) = {
594+ let bR = aB._2
595+ let bS = split(bQ, "_")
596+ let bT = parseIntValue(bS[w])
597+ let bU = if ((bR == 0))
598+ then (s * bT)
777599 else 0
778- let dk = valueOrElse(getInteger(aF, bm(bv)), 0)
779- func dl (dm,dn) = (dm + parseIntValue(dh[dn]))
600+ let bV = valueOrElse(getInteger(P, ao(bR)), 0)
601+ func bW (bX,bY) = (bX + parseIntValue(bS[bY]))
780602
781- let do = {
782- let bK = [0, 1, 2, 3, 4, 5]
783- let bL = size(bK)
784- let bM = 0
785- func bN (bO,bP) = if ((bP >= bL))
786- then bO
787- else dl(bO, bK[bP])
603+ let bZ = {
604+ let aG = [0, 1, 2, 3, 4, 5]
605+ let aH = size(aG)
606+ let aI = 0
607+ func aJ (aK,aL) = if ((aL >= aH))
608+ then aK
609+ else bW(aK, aG[aL])
788610
789- func bQ (bO,bP) = if ((bP >= bL))
790- then bO
611+ func aM (aK,aL) = if ((aL >= aH))
612+ then aK
791613 else throw("List size exceeds 6")
792614
793- bQ(bN(bN(bN(bN(bN(bN(bM, 0), 1), 2), 3), 4), 5), 6)
615+ aM(aJ(aJ(aJ(aJ(aJ(aJ(aI, 0), 1), 2), 3), 4), 5), 6)
794616 }
795- let dp = fraction((do * z), x, (di * 10))
796- let dq = fraction((do * A), x, (di * 10))
797- let dr = makeString([toString(dj), toString(dk), toString(dp), toString(dq)], "_")
798- $Tuple2((bH._1 :+ dr), (bv + 1))
617+ let ca = fraction((bZ * t), r, (bT * 10))
618+ let cb = fraction((bZ * u), r, (bT * 10))
619+ let cc = makeString([toString(bU), toString(bV), toString(ca), toString(cb)], "_")
620+ $Tuple2((aB._1 :+ cc), (bR + 1))
799621 }
800622
801- let bt = makeString_2C(( let bK = F
802- let bL = size(bK)
803- let bM = $Tuple2(nil, 0)
804- func bN (bO,bP) = if ((bP >= bL))
805- then bO
806- else df(bO, bK[bP])
623+ let as = makeString_2C(( let aG = v
624+ let aH = size(aG)
625+ let aI = $Tuple2(nil, 0)
626+ func aJ (aK,aL) = if ((aL >= aH))
627+ then aK
628+ else bP(aK, aG[aL])
807629
808- func bQ (bO,bP) = if ((bP >= bL))
809- then bO
630+ func aM (aK,aL) = if ((aL >= aH))
631+ then aK
810632 else throw("List size exceeds 50")
811633
812- bQ(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bN(bM, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50))._1, ":")
813- let ds = ("%s%s__emergencyServiceData__" + bt)
814- $Tuple2(nil, ds)
634+ aM(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aJ(aI, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50))._1, ":")
635+ let cd = ("%s%s__emergencyServiceData__" + as)
636+ $Tuple2(nil, cd)
815637 }
816638
817639

github/deemru/w8io/169f3d6 
303.68 ms