tx · 6csyRHykhTHwkEVvRH573VLHdhuuuFSQkC8wsP9bxiUv

3N7HtrKeFFLz5oy6PfGv1Lg3GwPk4gCPdGy:  -0.01200000 Waves

2023.07.05 22:18 [2653022] smart account 3N7HtrKeFFLz5oy6PfGv1Lg3GwPk4gCPdGy > SELF 0.00000000 Waves

{ "type": 13, "id": "6csyRHykhTHwkEVvRH573VLHdhuuuFSQkC8wsP9bxiUv", "fee": 1200000, "feeAssetId": null, "timestamp": 1688584827534, "version": 2, "chainId": 84, "sender": "3N7HtrKeFFLz5oy6PfGv1Lg3GwPk4gCPdGy", "senderPublicKey": "FsR18761ZAsUqsTd7TK3XmR6bhihs1UXVmpHYxz5JzQ1", "proofs": [ "61BpgGMw3DuH7QryfRRJ7DuviaaHCCyLgHCaYviELRNnLCyRumMdLsF668WHtxdpmajfJWzKMmRV7geaYxT28i3a" ], "script": "base64:BgIgCAISBgoECAgICBIDCgEBEgMKAQESABIDCgEIEgMKAQhHAQprZXlCbG9ja2VkAAIQY29udHJhY3RzQmxvY2tlZAALSWR4RWZmVG90YWwAAAAKSWR4RWZmVXNlcgABAAVjaGFpbgkAyQECCQDKAQIIBQR0aGlzBWJ5dGVzAAEAAQALdXNkdEFzc2V0SWQEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDABIITaerIIAz9O0bvKju6Lk7zJgt0LXfoHlqjUI/moD/+5AwkAAAIBAVQFByRtYXRjaDABIFWx2J9yh4Lv5eNbjawFq2XemkOhLxa7BfMat4el8cUYCQACAQINVW5rbm93biBjaGFpbgAVZGVmYXVsdFJlc3RBZGRyZXNzU3RyBAckbWF0Y2gwBQVjaGFpbgMJAAACAQFXBQckbWF0Y2gwAiMzUFFDdXZGYnZoNExrUFVucm5VMXozam5iQTFwOW0zV05odgMJAAACAQFUBQckbWF0Y2gwAiMzTXVta0dHenRDS0FYcFdEcXhrZGRvZnFYU1VicVFrdlNKeQkAAgECDVVua25vd24gY2hhaW4ADmFyYml0cmFnZURlbG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gUSd2xnSXNzdWVkQW1vdW50S2V5CQBlAgUMY3VyV2xnQW1vdW50BQZidXJuZWQJAMwIAgkBDEludGVnZXJFbnRyeQIJARRrZXlMYXN0QXJiVGltZUJ5VXNlcgEFBGFkZHIIBQlsYXN0QmxvY2sJdGltZXN0YW1wCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMJARFAZXh0ck5hdGl2ZSgxMDYyKQEJAQV2YWx1ZQEJAKIIAQUNcHJvZml0QWRkcktleQUMcHJvZml0QW1vdW50BQt1c2R0QXNzZXRJZAkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDBQZjYWxsZXIFB3VzZHRBbXQFC3VzZHRBc3NldElkBQNuaWwFDHByb2xvZ1Jlc3VsdAFpAQVjbGFpbQAEDHByb2xvZ1Jlc3VsdAkBBnByb2xvZwAEB2FjdGlvbnMICQENY2xhaW1JbnRlcm5hbAEJAKUIAQgFAWkGY2FsbGVyAl8xCQCUCgIFB2FjdGlvbnMFDHByb2xvZ1Jlc3VsdAFpAQtvblN0YWtlTGFuZAEEYWRkcgMJAQIhPQIIBQFpBmNhbGxlcgUPc3Rha2luZ0NvbnRyYWN0CQACAQIRUGVybWlzc2lvbiBkZW5pZWQJAQ1jbGFpbUludGVybmFsAQUEYWRkcgFpAQ1vblVuc3Rha2VMYW5kAQRhZGRyAwkBAiE9AggFAWkGY2FsbGVyBQ9zdGFraW5nQ29udHJhY3QJAAIBAhFQZXJtaXNzaW9uIGRlbmllZAkBDWNsYWltSW50ZXJuYWwBBQRhZGRyAOeqKPY=", "height": 2653022, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HfWA1qkGy3M7f9EkekCsFJRPjZPD3P6P3wVDAkygCXaJ Next: 9vVcraNaAcbrA8GaUbMps37NyWrXPZUgjBiRDx7N37Vf Diff:
OldNewDifferences
232232
233233 let aU = "lastClaimedTime_marketing"
234234
235-let aV = "lastClaimedTime_team"
235+let aV = "marketingAmountLeft"
236236
237-let aW = "lastClaimedTime_activities"
237+let aW = "lastClaimedTime_team"
238238
239-func aX (aY) = ("lastClaimedTimeUser_" + aY)
239+let aX = "lastClaimedTime_activities"
240+
241+func aY (aZ) = ("lastClaimedTimeUser_" + aZ)
240242
241243
242-func aZ (aY) = ("lastArbTimeUser_" + aY)
244+func ba (aZ) = ("lastArbTimeUser_" + aZ)
243245
244246
245-let ba = "stakersAmountLeft"
247+let bb = "stakersAmountLeft"
246248
247-let bb = "stakersAmountPaidTotal"
249+let bc = "stakersAmountPaidTotal"
248250
249-func bc (aY) = ("stakersAmountPaidUser_" + aY)
251+func bd (aZ) = ("stakersAmountPaidUser_" + aZ)
250252
251253
252-func bd () = if (valueOrElse(getBoolean(G, a()), false))
254+func be () = if (valueOrElse(getBoolean(G, a()), false))
253255 then throw("Contracts are under maintenance")
254256 else U(invoke(G, "saveLastTx", nil, nil))
255257
256258
257-func be (aY) = {
258- let bf = valueOrElse(getInteger(aZ(aY)), 0)
259- let bg = lastBlock.timestamp
260- if ((h > (bg - bf)))
259+func bf (aZ) = {
260+ let bg = valueOrElse(getInteger(ba(aZ)), 0)
261+ let bh = lastBlock.timestamp
262+ if ((h > (bh - bg)))
261263 then throw((("Arbitrages are possible once a " + toString((h / 60000))) + "min"))
262264 else {
263- let bh = Z(aY)[c]
264- let bi = pow(bh, 0, aP, 8, 8, CEILING)
265- fraction(aO, bi, k)
265+ let bi = Z(aZ)[c]
266+ let bj = pow(bi, 0, aP, 8, 8, CEILING)
267+ fraction(aO, bj, k)
266268 }
267269 }
268270
269271
270-func bj (aY) = {
271- let bk = addressFromStringValue(aY)
272- let bg = lastBlock.timestamp
273- let bl = valueOrErrorMessage(getInteger(aQ), "Not initialized")
274- let bm = valueOrElse(getInteger(aU), bl)
275- let bn = addressFromStringValue(value(getString(aR)))
276- let bo = fraction(fraction(aG, aH, j), (bg - bm), aL)
277- let bp = valueOrElse(getInteger(aV), bl)
278- let bq = addressFromStringValue(value(getString(aS)))
279- let br = fraction(fraction(aG, aI, j), (bg - bp), (3 * aL))
280- let bs = valueOrElse(getInteger(aW), bl)
281- let bt = fraction(fraction(aG, aJ, j), (bg - bs), (3 * aL))
282- let bu = ((bg - bl) / aM)
283- if ((bu > (aN / 2)))
272+func bk (aZ) = {
273+ let bl = addressFromStringValue(aZ)
274+ let bh = lastBlock.timestamp
275+ let bm = valueOrErrorMessage(getInteger(aQ), "Not initialized")
276+ let bn = valueOrElse(getInteger(aV), 0)
277+ let bo = valueOrElse(getInteger(aU), bm)
278+ let bp = addressFromStringValue(value(getString(aR)))
279+ let bq = min([fraction(fraction(aG, aH, j), (bh - bo), aL), bn])
280+ let br = valueOrElse(getInteger(aW), bm)
281+ let bs = addressFromStringValue(value(getString(aS)))
282+ let bt = fraction(fraction(aG, aI, j), (bh - br), (3 * aL))
283+ let bu = valueOrElse(getInteger(aX), bm)
284+ let bv = fraction(fraction(aG, aJ, j), (bh - bu), (3 * aL))
285+ let bw = ((bh - bm) / aM)
286+ if ((bw > (aN / 2)))
284287 then throw("Please modify contract for next 1.5 years, according to stats")
285288 else {
286- let bv = Z(aY)
287- let bw = bv[b]
288- let bx = valueOrElse(getInteger(ba), 0)
289- let by = fraction(bx, (2 * bw), (bw + (max([100000, bw]) * (aN - bu))))
290- let bz = aX(aY)
291- let bA = valueOrElse(getInteger(bz), bl)
292- let bB = fraction(fraction(by, bv[c], bw), (bg - bA), (3 * aL))
293- let bC = bc(aY)
294- $Tuple2([ScriptTransfer(bn, bo, Q), ScriptTransfer(bq, br, Q), ScriptTransfer(F, bt, Q), ScriptTransfer(bk, bB, Q), IntegerEntry(bC, (valueOrElse(getInteger(bC), 0) + bB)), IntegerEntry(bb, (valueOrElse(getInteger(bb), 0) + bB)), IntegerEntry(ba, (bx - bB)), IntegerEntry(aU, bg), IntegerEntry(aV, bg), IntegerEntry(aW, bg), IntegerEntry(bz, bg)], bB)
289+ let bx = Z(aZ)
290+ let by = bx[b]
291+ let bz = valueOrElse(getInteger(bb), 0)
292+ let bA = fraction(bz, (2 * by), (by + (max([100000, by]) * (aN - bw))))
293+ let bB = aY(aZ)
294+ let bC = valueOrElse(getInteger(bB), bm)
295+ let bD = fraction(fraction(bA, bx[c], by), (bh - bC), (3 * aL))
296+ let bE = bd(aZ)
297+ $Tuple2([ScriptTransfer(bp, bq, Q), ScriptTransfer(bs, bt, Q), ScriptTransfer(F, bv, Q), ScriptTransfer(bl, bD, Q), IntegerEntry(bE, (valueOrElse(getInteger(bE), 0) + bD)), IntegerEntry(bc, (valueOrElse(getInteger(bc), 0) + bD)), IntegerEntry(bb, (bz - bD)), IntegerEntry(aV, (bn - bq)), IntegerEntry(aU, bh), IntegerEntry(aW, bh), IntegerEntry(aX, bh), IntegerEntry(bB, bh)], bD)
295298 }
296299 }
297300
298301
299-@Callable(bD)
300-func constructorV1 (bE,bn,bq,bF) = if ((bD.caller != this))
302+@Callable(bF)
303+func constructorV1 (bG,bp,bs,bH) = if ((bF.caller != this))
301304 then throw("Permission denied")
302305 else if (isDefined(getBinary(P)))
303306 then throw("Already initialized")
304307 else {
305308 let aw = aG
306- let bG = Issue("WLGOLD", "WavesLands Gold investment token", aw, 8, true, unit, 0)
307- let bH = calculateAssetId(bG)
308-[bG, IntegerEntry(aQ, lastBlock.timestamp), IntegerEntry(O, aw), IntegerEntry(bb, 0), IntegerEntry(ba, fraction(aG, aK, j)), BinaryEntry(P, bH), StringEntry(z(), bE), StringEntry(aR, bn), StringEntry(aS, bq), StringEntry(aT, bF)]
309+ let bI = Issue("WLGOLD", "WavesLands Gold investment token", aw, 8, true, unit, 0)
310+ let bJ = calculateAssetId(bI)
311+[bI, IntegerEntry(aQ, lastBlock.timestamp), IntegerEntry(O, aw), IntegerEntry(bc, 0), IntegerEntry(bb, fraction(aG, aK, j)), BinaryEntry(P, bJ), StringEntry(z(), bG), StringEntry(aR, bp), StringEntry(aS, bs), StringEntry(aT, bH)]
309312 }
310313
311314
312315
313-@Callable(bD)
314-func buyWlg (bI) = {
315- let bJ = bd()
316- if ((size(bD.payments) != 1))
316+@Callable(bF)
317+func buyWlg (bK) = {
318+ let bL = be()
319+ if ((size(bF.payments) != 1))
317320 then throw("exactly 1 payment must be attached")
318321 else {
319- let bK = bD.payments[0]
320- let bL = bK.amount
321- let bM = valueOrErrorMessage(bK.assetId, "WAVES can't be used as payment")
322- if ((bM != e))
322+ let bM = bF.payments[0]
323+ let bN = bM.amount
324+ let bO = valueOrErrorMessage(bM.assetId, "WAVES can't be used as payment")
325+ if ((bO != e))
323326 then throw("USDT payments only!")
324327 else {
325- let bk = bD.caller
326- let aY = toString(bk)
327- let bN = be(aY)
328- if ((bL > bN))
329- then throw((("You can spend max " + aC(bN, 6)) + " USDT"))
330- else if ((q > bL))
328+ let bl = bF.caller
329+ let aZ = toString(bl)
330+ let bP = bf(aZ)
331+ if ((bN > bP))
332+ then throw((("You can spend max " + aC(bP, 6)) + " USDT"))
333+ else if ((q > bN))
331334 then throw((("You can trade min " + aC(q, 6)) + " USDT"))
332335 else {
333- let bO = av()
334- let bP = bO[R]
335- let bQ = (bO[T] - bL)
336- let bR = fraction(bQ, k, bP)
337- let bS = fraction(bR, 6, 5)
338- let bT = fraction(bL, k, bS)
339- if ((bI > bT))
336+ let bQ = av()
337+ let bR = bQ[R]
338+ let bS = (bQ[T] - bN)
339+ let bT = fraction(bS, k, bR)
340+ let bU = fraction(bT, 6, 5)
341+ let bV = fraction(bN, k, bU)
342+ if ((bK > bV))
340343 then throw("Price changed during operation, please try again")
341344 else {
342- let bU = (bL / 6)
343- let bV = (bL - bU)
344- let bW = fraction(bP, bV, bQ)
345- $Tuple2([Reissue(Q, bW, true), IntegerEntry(O, (bP + bW)), IntegerEntry(aZ(aY), lastBlock.timestamp), ScriptTransfer(addressFromStringValue(value(getString(aT))), bU, e), ScriptTransfer(bk, bT, Q)], bJ)
345+ let bW = (bN / 6)
346+ let bX = (bN - bW)
347+ let bY = fraction(bR, bX, bS)
348+ $Tuple2([Reissue(Q, bY, true), IntegerEntry(O, (bR + bY)), IntegerEntry(ba(aZ), lastBlock.timestamp), ScriptTransfer(addressFromStringValue(value(getString(aT))), bW, e), ScriptTransfer(bl, bV, Q)], bL)
346349 }
347350 }
348351 }
351354
352355
353356
354-@Callable(bD)
355-func sellWlg (bI) = {
356- let bJ = bd()
357- if ((size(bD.payments) != 1))
357+@Callable(bF)
358+func sellWlg (bK) = {
359+ let bL = be()
360+ if ((size(bF.payments) != 1))
358361 then throw("exactly 1 payment must be attached")
359362 else {
360- let bK = bD.payments[0]
361- let bX = bK.amount
362- let bM = valueOrErrorMessage(bK.assetId, "WAVES can't be used as payment")
363- if ((bM != Q))
363+ let bM = bF.payments[0]
364+ let bZ = bM.amount
365+ let bO = valueOrErrorMessage(bM.assetId, "WAVES can't be used as payment")
366+ if ((bO != Q))
364367 then throw("WLGOLD payments only!")
365368 else {
366- let bk = bD.caller
367- let aY = toString(bk)
368- let bN = be(aY)
369- let bO = av()
370- let bP = bO[R]
371- let bY = fraction(bO[S], 4, 5)
372- let bL = fraction(bX, bY, k)
373- if ((bL > bN))
374- then throw((("You can get max " + aC(bN, 6)) + " USDT"))
375- else if ((q > bL))
369+ let bl = bF.caller
370+ let aZ = toString(bl)
371+ let bP = bf(aZ)
372+ let bQ = av()
373+ let bR = bQ[R]
374+ let ca = fraction(bQ[S], 4, 5)
375+ let bN = fraction(bZ, ca, k)
376+ if ((bN > bP))
377+ then throw((("You can get max " + aC(bP, 6)) + " USDT"))
378+ else if ((q > bN))
376379 then throw((("You can trade min " + aC(q, 6)) + " USDT"))
377- else if ((bI > bL))
380+ else if ((bK > bN))
378381 then throw("Price changed during operation, please try again")
379382 else {
380- let bU = (bL / 4)
381- let bZ = fraction((bL + bU), bP, bO[T])
382- $Tuple2([Burn(Q, bZ), IntegerEntry(O, (bP - bZ)), IntegerEntry(aZ(aY), lastBlock.timestamp), ScriptTransfer(addressFromStringValue(value(getString(aT))), bU, e), ScriptTransfer(bk, bL, e)], bJ)
383+ let bW = (bN / 4)
384+ let cb = fraction((bN + bW), bR, bQ[T])
385+ $Tuple2([Burn(Q, cb), IntegerEntry(O, (bR - cb)), IntegerEntry(ba(aZ), lastBlock.timestamp), ScriptTransfer(addressFromStringValue(value(getString(aT))), bW, e), ScriptTransfer(bl, bN, e)], bL)
383386 }
384387 }
385388 }
387390
388391
389392
390-@Callable(bD)
393+@Callable(bF)
391394 func claim () = {
392- let bJ = bd()
393- let ca = bj(toString(bD.caller))._1
394- $Tuple2(ca, bJ)
395+ let bL = be()
396+ let cc = bk(toString(bF.caller))._1
397+ $Tuple2(cc, bL)
395398 }
396399
397400
398401
399-@Callable(bD)
400-func onStakeLand (aY) = if ((bD.caller != G))
402+@Callable(bF)
403+func onStakeLand (aZ) = if ((bF.caller != G))
401404 then throw("Permission denied")
402- else bj(aY)
405+ else bk(aZ)
403406
404407
405408
406-@Callable(bD)
407-func onUnstakeLand (aY) = if ((bD.caller != G))
409+@Callable(bF)
410+func onUnstakeLand (aZ) = if ((bF.caller != G))
408411 then throw("Permission denied")
409- else bj(aY)
412+ else bk(aZ)
410413
411414
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a () = "contractsBlocked"
55
66
77 let b = 0
88
99 let c = 1
1010
1111 let d = take(drop(this.bytes, 1), 1)
1212
1313 let e = {
1414 let f = d
1515 if ((base58'2W' == f))
1616 then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi'
1717 else if ((base58'2T' == f))
1818 then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63'
1919 else throw("Unknown chain")
2020 }
2121
2222 let g = {
2323 let f = d
2424 if ((base58'2W' == f))
2525 then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv"
2626 else if ((base58'2T' == f))
2727 then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy"
2828 else throw("Unknown chain")
2929 }
3030
3131 let h = {
3232 let f = d
3333 if ((base58'2W' == f))
3434 then 600000
3535 else if ((base58'2T' == f))
3636 then 60000
3737 else throw("Unknown chain")
3838 }
3939
4040 let i = "__"
4141
4242 let j = 1000000
4343
4444 let k = 100000000
4545
4646 let l = 25
4747
4848 let m = 100
4949
5050 let n = 225
5151
5252 let o = 400
5353
5454 let p = 625
5555
5656 let q = 100000
5757
5858 func r (s,t) = valueOrErrorMessage(getString(s, t), makeString(["mandatory ", toString(s), ".", t, " is not defined"], ""))
5959
6060
6161 let u = 1
6262
6363 let v = 2
6464
6565 let w = 4
6666
6767 let x = 5
6868
6969 func y () = "%s__restConfig"
7070
7171
7272 func z () = "%s__restAddr"
7373
7474
7575 func A (B) = split_4C(r(B, y()), i)
7676
7777
7878 func C (D,E) = valueOrErrorMessage(addressFromString(D[E]), ("Rest cfg doesn't contain address at index " + toString(E)))
7979
8080
8181 let F = addressFromStringValue(valueOrElse(getString(this, z()), g))
8282
8383 let D = A(F)
8484
8585 let G = C(D, u)
8686
8787 let H = C(D, v)
8888
8989 let I = C(D, w)
9090
9191 let J = C(D, x)
9292
9393 let K = 1
9494
9595 func L () = "resTypesProportions"
9696
9797
9898 func M (N) = ("stakedLandsByOwner_" + N)
9999
100100
101101 let O = "wlg_issuedAmount"
102102
103103 let P = "wlg_assetId"
104104
105105 let Q = valueOrErrorMessage(getBinary(I, P), "Not initialized yet")
106106
107107 let R = 0
108108
109109 let S = 1
110110
111111 let T = 2
112112
113113 func U (V) = {
114114 let f = V
115115 if ($isInstanceOf(f, "Int"))
116116 then {
117117 let W = f
118118 W
119119 }
120120 else throw("fail to cast into Int")
121121 }
122122
123123
124124 func X (Y) = {
125125 let f = Y
126126 if (("S" == f))
127127 then l
128128 else if (("M" == f))
129129 then m
130130 else if (("L" == f))
131131 then n
132132 else if (("XL" == f))
133133 then o
134134 else if (("XXL" == f))
135135 then p
136136 else throw("Unknown land size")
137137 }
138138
139139
140140 func Z (aa) = {
141141 let ab = split(valueOrElse(getString(G, L()), "0_0_0_0_0_0"), "_")
142142 func ac (ad,ae) = (ad + parseIntValue(ae))
143143
144144 let af = {
145145 let ag = ab
146146 let ah = size(ag)
147147 let ai = 0
148148 func aj (ak,al) = if ((al >= ah))
149149 then ak
150150 else ac(ak, ag[al])
151151
152152 func am (ak,al) = if ((al >= ah))
153153 then ak
154154 else throw("List size exceeds 6")
155155
156156 am(aj(aj(aj(aj(aj(aj(ai, 0), 1), 2), 3), 4), 5), 6)
157157 }
158158 let an = if ((aa == ""))
159159 then 0
160160 else {
161161 let ao = getString(G, M(aa))
162162 let ap = if (isDefined(ao))
163163 then split_51C(value(ao), "_")
164164 else nil
165165 func aq (ad,ar) = {
166166 let as = value(assetInfo(fromBase58String(ar)))
167167 let Y = split(as.description, "_")[K]
168168 (ad + X(Y))
169169 }
170170
171171 let ag = ap
172172 let ah = size(ag)
173173 let ai = 0
174174 func at (ak,al) = if ((al >= ah))
175175 then ak
176176 else aq(ak, ag[al])
177177
178178 func au (ak,al) = if ((al >= ah))
179179 then ak
180180 else throw("List size exceeds 100")
181181
182182 au(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(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), 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)
183183 }
184184 [af, an]
185185 }
186186
187187
188188 func av () = {
189189 let aw = valueOrErrorMessage(getInteger(I, O), "WLGOLD is not issued yet")
190190 let ax = assetBalance(H, e)
191191 let ay = assetBalance(F, e)
192192 let az = assetBalance(I, e)
193193 let aA = assetBalance(J, e)
194194 let aB = ((ax + ay) + az)
195195 [aw, fraction(aB, k, aw), aB, ax, ay, az, aA]
196196 }
197197
198198
199199 func aC (aD,aE) = {
200200 let aF = pow(10, 0, aE, 0, 0, DOWN)
201201 ((toString((aD / aF)) + ".") + toString((aD % aF)))
202202 }
203203
204204
205205 let aG = 100000000000000
206206
207207 let aH = 100000
208208
209209 let aI = 200000
210210
211211 let aJ = 100000
212212
213213 let aK = 400000
214214
215215 let aL = 31557600000
216216
217217 let aM = 604800000
218218
219219 let aN = 156
220220
221221 let aO = 100000000
222222
223223 let aP = 50000000
224224
225225 let aQ = "wlg_issueTime"
226226
227227 let aR = "marketingAddr"
228228
229229 let aS = "teamAddr"
230230
231231 let aT = "profitAddr"
232232
233233 let aU = "lastClaimedTime_marketing"
234234
235-let aV = "lastClaimedTime_team"
235+let aV = "marketingAmountLeft"
236236
237-let aW = "lastClaimedTime_activities"
237+let aW = "lastClaimedTime_team"
238238
239-func aX (aY) = ("lastClaimedTimeUser_" + aY)
239+let aX = "lastClaimedTime_activities"
240+
241+func aY (aZ) = ("lastClaimedTimeUser_" + aZ)
240242
241243
242-func aZ (aY) = ("lastArbTimeUser_" + aY)
244+func ba (aZ) = ("lastArbTimeUser_" + aZ)
243245
244246
245-let ba = "stakersAmountLeft"
247+let bb = "stakersAmountLeft"
246248
247-let bb = "stakersAmountPaidTotal"
249+let bc = "stakersAmountPaidTotal"
248250
249-func bc (aY) = ("stakersAmountPaidUser_" + aY)
251+func bd (aZ) = ("stakersAmountPaidUser_" + aZ)
250252
251253
252-func bd () = if (valueOrElse(getBoolean(G, a()), false))
254+func be () = if (valueOrElse(getBoolean(G, a()), false))
253255 then throw("Contracts are under maintenance")
254256 else U(invoke(G, "saveLastTx", nil, nil))
255257
256258
257-func be (aY) = {
258- let bf = valueOrElse(getInteger(aZ(aY)), 0)
259- let bg = lastBlock.timestamp
260- if ((h > (bg - bf)))
259+func bf (aZ) = {
260+ let bg = valueOrElse(getInteger(ba(aZ)), 0)
261+ let bh = lastBlock.timestamp
262+ if ((h > (bh - bg)))
261263 then throw((("Arbitrages are possible once a " + toString((h / 60000))) + "min"))
262264 else {
263- let bh = Z(aY)[c]
264- let bi = pow(bh, 0, aP, 8, 8, CEILING)
265- fraction(aO, bi, k)
265+ let bi = Z(aZ)[c]
266+ let bj = pow(bi, 0, aP, 8, 8, CEILING)
267+ fraction(aO, bj, k)
266268 }
267269 }
268270
269271
270-func bj (aY) = {
271- let bk = addressFromStringValue(aY)
272- let bg = lastBlock.timestamp
273- let bl = valueOrErrorMessage(getInteger(aQ), "Not initialized")
274- let bm = valueOrElse(getInteger(aU), bl)
275- let bn = addressFromStringValue(value(getString(aR)))
276- let bo = fraction(fraction(aG, aH, j), (bg - bm), aL)
277- let bp = valueOrElse(getInteger(aV), bl)
278- let bq = addressFromStringValue(value(getString(aS)))
279- let br = fraction(fraction(aG, aI, j), (bg - bp), (3 * aL))
280- let bs = valueOrElse(getInteger(aW), bl)
281- let bt = fraction(fraction(aG, aJ, j), (bg - bs), (3 * aL))
282- let bu = ((bg - bl) / aM)
283- if ((bu > (aN / 2)))
272+func bk (aZ) = {
273+ let bl = addressFromStringValue(aZ)
274+ let bh = lastBlock.timestamp
275+ let bm = valueOrErrorMessage(getInteger(aQ), "Not initialized")
276+ let bn = valueOrElse(getInteger(aV), 0)
277+ let bo = valueOrElse(getInteger(aU), bm)
278+ let bp = addressFromStringValue(value(getString(aR)))
279+ let bq = min([fraction(fraction(aG, aH, j), (bh - bo), aL), bn])
280+ let br = valueOrElse(getInteger(aW), bm)
281+ let bs = addressFromStringValue(value(getString(aS)))
282+ let bt = fraction(fraction(aG, aI, j), (bh - br), (3 * aL))
283+ let bu = valueOrElse(getInteger(aX), bm)
284+ let bv = fraction(fraction(aG, aJ, j), (bh - bu), (3 * aL))
285+ let bw = ((bh - bm) / aM)
286+ if ((bw > (aN / 2)))
284287 then throw("Please modify contract for next 1.5 years, according to stats")
285288 else {
286- let bv = Z(aY)
287- let bw = bv[b]
288- let bx = valueOrElse(getInteger(ba), 0)
289- let by = fraction(bx, (2 * bw), (bw + (max([100000, bw]) * (aN - bu))))
290- let bz = aX(aY)
291- let bA = valueOrElse(getInteger(bz), bl)
292- let bB = fraction(fraction(by, bv[c], bw), (bg - bA), (3 * aL))
293- let bC = bc(aY)
294- $Tuple2([ScriptTransfer(bn, bo, Q), ScriptTransfer(bq, br, Q), ScriptTransfer(F, bt, Q), ScriptTransfer(bk, bB, Q), IntegerEntry(bC, (valueOrElse(getInteger(bC), 0) + bB)), IntegerEntry(bb, (valueOrElse(getInteger(bb), 0) + bB)), IntegerEntry(ba, (bx - bB)), IntegerEntry(aU, bg), IntegerEntry(aV, bg), IntegerEntry(aW, bg), IntegerEntry(bz, bg)], bB)
289+ let bx = Z(aZ)
290+ let by = bx[b]
291+ let bz = valueOrElse(getInteger(bb), 0)
292+ let bA = fraction(bz, (2 * by), (by + (max([100000, by]) * (aN - bw))))
293+ let bB = aY(aZ)
294+ let bC = valueOrElse(getInteger(bB), bm)
295+ let bD = fraction(fraction(bA, bx[c], by), (bh - bC), (3 * aL))
296+ let bE = bd(aZ)
297+ $Tuple2([ScriptTransfer(bp, bq, Q), ScriptTransfer(bs, bt, Q), ScriptTransfer(F, bv, Q), ScriptTransfer(bl, bD, Q), IntegerEntry(bE, (valueOrElse(getInteger(bE), 0) + bD)), IntegerEntry(bc, (valueOrElse(getInteger(bc), 0) + bD)), IntegerEntry(bb, (bz - bD)), IntegerEntry(aV, (bn - bq)), IntegerEntry(aU, bh), IntegerEntry(aW, bh), IntegerEntry(aX, bh), IntegerEntry(bB, bh)], bD)
295298 }
296299 }
297300
298301
299-@Callable(bD)
300-func constructorV1 (bE,bn,bq,bF) = if ((bD.caller != this))
302+@Callable(bF)
303+func constructorV1 (bG,bp,bs,bH) = if ((bF.caller != this))
301304 then throw("Permission denied")
302305 else if (isDefined(getBinary(P)))
303306 then throw("Already initialized")
304307 else {
305308 let aw = aG
306- let bG = Issue("WLGOLD", "WavesLands Gold investment token", aw, 8, true, unit, 0)
307- let bH = calculateAssetId(bG)
308-[bG, IntegerEntry(aQ, lastBlock.timestamp), IntegerEntry(O, aw), IntegerEntry(bb, 0), IntegerEntry(ba, fraction(aG, aK, j)), BinaryEntry(P, bH), StringEntry(z(), bE), StringEntry(aR, bn), StringEntry(aS, bq), StringEntry(aT, bF)]
309+ let bI = Issue("WLGOLD", "WavesLands Gold investment token", aw, 8, true, unit, 0)
310+ let bJ = calculateAssetId(bI)
311+[bI, IntegerEntry(aQ, lastBlock.timestamp), IntegerEntry(O, aw), IntegerEntry(bc, 0), IntegerEntry(bb, fraction(aG, aK, j)), BinaryEntry(P, bJ), StringEntry(z(), bG), StringEntry(aR, bp), StringEntry(aS, bs), StringEntry(aT, bH)]
309312 }
310313
311314
312315
313-@Callable(bD)
314-func buyWlg (bI) = {
315- let bJ = bd()
316- if ((size(bD.payments) != 1))
316+@Callable(bF)
317+func buyWlg (bK) = {
318+ let bL = be()
319+ if ((size(bF.payments) != 1))
317320 then throw("exactly 1 payment must be attached")
318321 else {
319- let bK = bD.payments[0]
320- let bL = bK.amount
321- let bM = valueOrErrorMessage(bK.assetId, "WAVES can't be used as payment")
322- if ((bM != e))
322+ let bM = bF.payments[0]
323+ let bN = bM.amount
324+ let bO = valueOrErrorMessage(bM.assetId, "WAVES can't be used as payment")
325+ if ((bO != e))
323326 then throw("USDT payments only!")
324327 else {
325- let bk = bD.caller
326- let aY = toString(bk)
327- let bN = be(aY)
328- if ((bL > bN))
329- then throw((("You can spend max " + aC(bN, 6)) + " USDT"))
330- else if ((q > bL))
328+ let bl = bF.caller
329+ let aZ = toString(bl)
330+ let bP = bf(aZ)
331+ if ((bN > bP))
332+ then throw((("You can spend max " + aC(bP, 6)) + " USDT"))
333+ else if ((q > bN))
331334 then throw((("You can trade min " + aC(q, 6)) + " USDT"))
332335 else {
333- let bO = av()
334- let bP = bO[R]
335- let bQ = (bO[T] - bL)
336- let bR = fraction(bQ, k, bP)
337- let bS = fraction(bR, 6, 5)
338- let bT = fraction(bL, k, bS)
339- if ((bI > bT))
336+ let bQ = av()
337+ let bR = bQ[R]
338+ let bS = (bQ[T] - bN)
339+ let bT = fraction(bS, k, bR)
340+ let bU = fraction(bT, 6, 5)
341+ let bV = fraction(bN, k, bU)
342+ if ((bK > bV))
340343 then throw("Price changed during operation, please try again")
341344 else {
342- let bU = (bL / 6)
343- let bV = (bL - bU)
344- let bW = fraction(bP, bV, bQ)
345- $Tuple2([Reissue(Q, bW, true), IntegerEntry(O, (bP + bW)), IntegerEntry(aZ(aY), lastBlock.timestamp), ScriptTransfer(addressFromStringValue(value(getString(aT))), bU, e), ScriptTransfer(bk, bT, Q)], bJ)
345+ let bW = (bN / 6)
346+ let bX = (bN - bW)
347+ let bY = fraction(bR, bX, bS)
348+ $Tuple2([Reissue(Q, bY, true), IntegerEntry(O, (bR + bY)), IntegerEntry(ba(aZ), lastBlock.timestamp), ScriptTransfer(addressFromStringValue(value(getString(aT))), bW, e), ScriptTransfer(bl, bV, Q)], bL)
346349 }
347350 }
348351 }
349352 }
350353 }
351354
352355
353356
354-@Callable(bD)
355-func sellWlg (bI) = {
356- let bJ = bd()
357- if ((size(bD.payments) != 1))
357+@Callable(bF)
358+func sellWlg (bK) = {
359+ let bL = be()
360+ if ((size(bF.payments) != 1))
358361 then throw("exactly 1 payment must be attached")
359362 else {
360- let bK = bD.payments[0]
361- let bX = bK.amount
362- let bM = valueOrErrorMessage(bK.assetId, "WAVES can't be used as payment")
363- if ((bM != Q))
363+ let bM = bF.payments[0]
364+ let bZ = bM.amount
365+ let bO = valueOrErrorMessage(bM.assetId, "WAVES can't be used as payment")
366+ if ((bO != Q))
364367 then throw("WLGOLD payments only!")
365368 else {
366- let bk = bD.caller
367- let aY = toString(bk)
368- let bN = be(aY)
369- let bO = av()
370- let bP = bO[R]
371- let bY = fraction(bO[S], 4, 5)
372- let bL = fraction(bX, bY, k)
373- if ((bL > bN))
374- then throw((("You can get max " + aC(bN, 6)) + " USDT"))
375- else if ((q > bL))
369+ let bl = bF.caller
370+ let aZ = toString(bl)
371+ let bP = bf(aZ)
372+ let bQ = av()
373+ let bR = bQ[R]
374+ let ca = fraction(bQ[S], 4, 5)
375+ let bN = fraction(bZ, ca, k)
376+ if ((bN > bP))
377+ then throw((("You can get max " + aC(bP, 6)) + " USDT"))
378+ else if ((q > bN))
376379 then throw((("You can trade min " + aC(q, 6)) + " USDT"))
377- else if ((bI > bL))
380+ else if ((bK > bN))
378381 then throw("Price changed during operation, please try again")
379382 else {
380- let bU = (bL / 4)
381- let bZ = fraction((bL + bU), bP, bO[T])
382- $Tuple2([Burn(Q, bZ), IntegerEntry(O, (bP - bZ)), IntegerEntry(aZ(aY), lastBlock.timestamp), ScriptTransfer(addressFromStringValue(value(getString(aT))), bU, e), ScriptTransfer(bk, bL, e)], bJ)
383+ let bW = (bN / 4)
384+ let cb = fraction((bN + bW), bR, bQ[T])
385+ $Tuple2([Burn(Q, cb), IntegerEntry(O, (bR - cb)), IntegerEntry(ba(aZ), lastBlock.timestamp), ScriptTransfer(addressFromStringValue(value(getString(aT))), bW, e), ScriptTransfer(bl, bN, e)], bL)
383386 }
384387 }
385388 }
386389 }
387390
388391
389392
390-@Callable(bD)
393+@Callable(bF)
391394 func claim () = {
392- let bJ = bd()
393- let ca = bj(toString(bD.caller))._1
394- $Tuple2(ca, bJ)
395+ let bL = be()
396+ let cc = bk(toString(bF.caller))._1
397+ $Tuple2(cc, bL)
395398 }
396399
397400
398401
399-@Callable(bD)
400-func onStakeLand (aY) = if ((bD.caller != G))
402+@Callable(bF)
403+func onStakeLand (aZ) = if ((bF.caller != G))
401404 then throw("Permission denied")
402- else bj(aY)
405+ else bk(aZ)
403406
404407
405408
406-@Callable(bD)
407-func onUnstakeLand (aY) = if ((bD.caller != G))
409+@Callable(bF)
410+func onUnstakeLand (aZ) = if ((bF.caller != G))
408411 then throw("Permission denied")
409- else bj(aY)
412+ else bk(aZ)
410413
411414

github/deemru/w8io/026f985 
98.12 ms