tx · 6vv8YwYhwBUM2CT6p7RHVdVs6JH5KDXxvrAFjpSZaseE

3N7dQeENwSgKPp9Ki4aEHhRWWKVjn1DE9Qg:  -0.00800000 Waves

2023.09.23 17:41 [2768161] smart account 3N7dQeENwSgKPp9Ki4aEHhRWWKVjn1DE9Qg > SELF 0.00000000 Waves

{ "type": 13, "id": "6vv8YwYhwBUM2CT6p7RHVdVs6JH5KDXxvrAFjpSZaseE", "fee": 800000, "feeAssetId": null, "timestamp": 1695480109850, "version": 2, "chainId": 84, "sender": "3N7dQeENwSgKPp9Ki4aEHhRWWKVjn1DE9Qg", "senderPublicKey": "5BN6FQeKuMm2XJYToUZvbBX4UELGpE3Z47P4q6sP46PG", "proofs": [ "4mCyoC8hynmnpTGxye9SmyghAxyCNdfUXxCwSZZaBkiePNBLC9XEV5RvbDbw9wBARbNdcLFJi16neGkrVkTZWaFm" ], "script": "base64:BgIdCAISBAoCCAESABIDCgEBEgASAwoBARIAEgMKAQgqAAhNSUxMSU9ONgCAgOmDsd4WAAlEQVlNSUxMSVMAgLiZKQEaa2V5QWNyZXNTdGFrZWRBbW91bnRCeVVzZXIBBGFkZHIJAKwCAgIYYWNyZXNTdGFrZWRBbW91bnRCeVVzZXJfBQRhZGRyABNhY3Jlc1N0YWtlZFRvdGFsS2V5AhZhY3Jlc1N0YWtlZEFtb3VudFRvdGFsAAp4cE5ld1NMYW5kAMCWsQIAD0RBSUxZUkVTQllQSUVDRQCA+NIBABVVU0RUMkFDUkVTX01VTFRJUExJRVIACgAFY2hhaW4JAMkBAgkAygECCAUEdGhpcwVieXRlcwABAAEAC3VzZHRBc3NldElkBAckbWF0Y2gwBQVjaGFpbgMJAAACAQFXBQckbWF0Y2gwASCE2nqyCAM/TtG7yo7ui5O8yYLdC136B5ao1CP5qA//uQMJAAACAQFUBQckbWF0Y2gwASBVsdifcoeC7+XjW42sBatl3ppDoS8WuwXzGreHpfHFGAkAAgECDVVua25vd24gY2hhaW4AFWRlZmF1bHRSZXN0QWR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lS2V5AAAJAJQKAgkAzAgCCQEMSW50ZWdlckVudHJ5AgUHdGltZUtleQgFCWxhc3RCbG9jawl0aW1lc3RhbXAJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwgFAWkGY2FsbGVyBQxjbGFpbWVkQWNyZXMFDGFjcmVzQXNzZXRJZAUDbmlsCQCUCgIFDHByb2xvZ1Jlc3VsdAUJd2xnUmVzdWx0AWkBEmNsYWltQWNyZXNSRUFET05MWQEHYWRkcmVzcwQHdGltZUtleQkBGGtleUFjcmVzU3Rha2VkVGltZUJ5VXNlcgEFB2FkZHJlc3MECWFtb3VudEtleQkBGmtleUFjcmVzU3Rha2VkQW1vdW50QnlVc2VyAQUHYWRkcmVzcwQLYWNyZXNBbW91bnQJAQt2YWx1ZU9yRWxzZQIJAJ8IAQUJYW1vdW50S2V5AAAECGxhc3RUaW1lCQELdmFsdWVPckVsc2UCCQCfCAEFB3RpbWVLZXkAAAQMY2xhaW1lZEFjcmVzCQESY2xhaW1BY3Jlc0ludGVybmFsAwUHYWRkcmVzcwULYWNyZXNBbW91bnQFCGxhc3RUaW1lCQCUCgIFA25pbAkAzAgCBQxjbGFpbWVkQWNyZXMJAMwIAgUIbGFzdFRpbWUFA25pbADEe/co", "height": 2768161, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GQv1JNJiP1C3iFkFy3yAbwmEnzLgjdjuvX83zYyJzLES Next: 6wtoAm8MX5XaLQzjHAbe1kRpigouPL7kdNGMC2QPTLUr Diff:
OldNewDifferences
106106
107107
108108 func T (U) = {
109- let V = split(valueOrElse(getString(E, N()), "0_0_0_0_0_0"), "_")
110- func W (X,Y) = (X + parseIntValue(Y))
111-
112- let Z = {
113- let aa = V
114- let ab = size(aa)
115- let ac = 0
116- func ad (ae,af) = if ((af >= ab))
117- then ae
118- else W(ae, aa[af])
119-
120- func ag (ae,af) = if ((af >= ab))
121- then ae
122- else throw("List size exceeds 6")
123-
124- ag(ad(ad(ad(ad(ad(ad(ac, 0), 1), 2), 3), 4), 5), 6)
125- }
126- let ah = valueOrElse(getInteger(E, O(U)), 0)
127-[Z, ah]
109+ let k = U
110+ if ($isInstanceOf(k, "(Int, Int)"))
111+ then {
112+ let V = k
113+ V
114+ }
115+ else throw("fail to cast into (Int, Int)")
128116 }
129117
130118
131-func ai (aj,ak) = {
132- let al = pow(10, 0, ak, 0, 0, DOWN)
133- let am = toString((aj % al))
134- let an = drop(toString(al), (1 + size(am)))
135- (((toString((aj / al)) + ".") + an) + am)
119+func W (X) = {
120+ let Y = split(valueOrElse(getString(E, N()), "0_0_0_0_0_0"), "_")
121+ func Z (aa,ab) = (aa + parseIntValue(ab))
122+
123+ let ac = {
124+ let ad = Y
125+ let ae = size(ad)
126+ let af = 0
127+ func ag (ah,ai) = if ((ai >= ae))
128+ then ah
129+ else Z(ah, ad[ai])
130+
131+ func aj (ah,ai) = if ((ai >= ae))
132+ then ah
133+ else throw("List size exceeds 6")
134+
135+ aj(ag(ag(ag(ag(ag(ag(af, 0), 1), 2), 3), 4), 5), 6)
136+ }
137+ let ak = valueOrElse(getInteger(E, O(X)), 0)
138+[ac, ak]
136139 }
137140
138141
139-func ao (aj) = {
140- let k = aj
141- if ($isInstanceOf(k, "(Int, Int)"))
142- then {
143- let ap = k
144- ap
145- }
146- else throw("fail to cast into (Int, Int)")
142+func al (U,am) = {
143+ let an = pow(10, 0, am, 0, 0, DOWN)
144+ let ao = toString((U % an))
145+ let ap = drop(toString(an), (1 + size(ao)))
146+ (((toString((U / an)) + ".") + ap) + ao)
147147 }
148148
149149
168168 let aw = Q(invoke(F, "sellResourcesWorldREADONLY", [av], nil))
169169 let ax = if ((0 >= aw))
170170 then 0
171- else ao(invoke(F, "sellResourcesWorld", [d, av], nil))._1
171+ else T(invoke(F, "sellResourcesWorld", [d, av], nil))._1
172172 (ax * h)
173173 }
174174 }
180180 else if (isDefined(getBinary(J)))
181181 then throw("Already initialized")
182182 else {
183- let aC = (T("")[M] + aB)
183+ let aC = (W("")[M] + aB)
184184 let aD = (a - (aC * o))
185185 let aE = Issue("ACRES", "WavesLands land acres investment token", aD, 8, false, unit, 0)
186186 let aF = calculateAssetId(aE)
232232 let aK = c(q)
233233 let aL = valueOrElse(getInteger(aK), 0)
234234 if ((aP > aL))
235- then throw(((("You have only " + ai(aL, 8)) + " ACRES staked, tried to unstake ") + ai(aP, 8)))
235+ then throw(((("You have only " + al(aL, 8)) + " ACRES staked, tried to unstake ") + al(aP, 8)))
236236 else {
237237 let aM = valueOrElse(getInteger(e), 0)
238238 let aN = invoke(G, "onStakeUnstakeLand", [q], nil)
259259 else (value(aH.assetId) != j))
260260 then throw("USDT payments only!")
261261 else if ((n > aI))
262- then throw((("Min payment should be " + ai(n, 6)) + " USDT"))
262+ then throw((("Min payment should be " + al(n, 6)) + " USDT"))
263263 else {
264264 let as = (aI * h)
265265 let aQ = Q(invoke(E, "updateAccStats", [q, fraction(f, as, (25 * o))], nil))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 100000000000000
55
66 let b = 86400000
77
88 func c (d) = ("acresStakedAmountByUser_" + d)
99
1010
1111 let e = "acresStakedAmountTotal"
1212
1313 let f = 5000000
1414
1515 let g = 3456000
1616
1717 let h = 10
1818
1919 let i = take(drop(this.bytes, 1), 1)
2020
2121 let j = {
2222 let k = i
2323 if ((base58'2W' == k))
2424 then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi'
2525 else if ((base58'2T' == k))
2626 then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63'
2727 else throw("Unknown chain")
2828 }
2929
3030 let l = {
3131 let k = i
3232 if ((base58'2W' == k))
3333 then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv"
3434 else if ((base58'2T' == k))
3535 then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy"
3636 else throw("Unknown chain")
3737 }
3838
3939 let m = "__"
4040
4141 let n = 1000000
4242
4343 let o = 100000000
4444
4545 func p (q,r) = valueOrErrorMessage(getString(q, r), makeString(["mandatory ", toString(q), ".", r, " is not defined"], ""))
4646
4747
4848 let s = 1
4949
5050 let t = 2
5151
5252 let u = 4
5353
5454 let v = 8
5555
5656 func w () = "%s__restConfig"
5757
5858
5959 func x () = "%s__restAddr"
6060
6161
6262 func y (z) = split_4C(p(z, w()), m)
6363
6464
6565 func A (B,C) = valueOrErrorMessage(addressFromString(B[C]), ("Rest cfg doesn't contain address at index " + toString(C)))
6666
6767
6868 let D = addressFromStringValue(valueOrElse(getString(this, x()), l))
6969
7070 let B = y(D)
7171
7272 let E = A(B, s)
7373
7474 let F = A(B, t)
7575
7676 let G = A(B, u)
7777
7878 let H = A(B, v)
7979
8080 let I = "acresIssuedAmount"
8181
8282 let J = "acresAssetId"
8383
8484 let K = valueOrErrorMessage(getBinary(H, J), "ACRES is not issued yet")
8585
8686 func L (d) = ("acresStakedTimeByUser_" + d)
8787
8888
8989 let M = 0
9090
9191 func N () = "resTypesProportions"
9292
9393
9494 func O (P) = ("stakedPiecesByOwner_" + P)
9595
9696
9797 func Q (R) = {
9898 let k = R
9999 if ($isInstanceOf(k, "Int"))
100100 then {
101101 let S = k
102102 S
103103 }
104104 else throw("fail to cast into Int")
105105 }
106106
107107
108108 func T (U) = {
109- let V = split(valueOrElse(getString(E, N()), "0_0_0_0_0_0"), "_")
110- func W (X,Y) = (X + parseIntValue(Y))
111-
112- let Z = {
113- let aa = V
114- let ab = size(aa)
115- let ac = 0
116- func ad (ae,af) = if ((af >= ab))
117- then ae
118- else W(ae, aa[af])
119-
120- func ag (ae,af) = if ((af >= ab))
121- then ae
122- else throw("List size exceeds 6")
123-
124- ag(ad(ad(ad(ad(ad(ad(ac, 0), 1), 2), 3), 4), 5), 6)
125- }
126- let ah = valueOrElse(getInteger(E, O(U)), 0)
127-[Z, ah]
109+ let k = U
110+ if ($isInstanceOf(k, "(Int, Int)"))
111+ then {
112+ let V = k
113+ V
114+ }
115+ else throw("fail to cast into (Int, Int)")
128116 }
129117
130118
131-func ai (aj,ak) = {
132- let al = pow(10, 0, ak, 0, 0, DOWN)
133- let am = toString((aj % al))
134- let an = drop(toString(al), (1 + size(am)))
135- (((toString((aj / al)) + ".") + an) + am)
119+func W (X) = {
120+ let Y = split(valueOrElse(getString(E, N()), "0_0_0_0_0_0"), "_")
121+ func Z (aa,ab) = (aa + parseIntValue(ab))
122+
123+ let ac = {
124+ let ad = Y
125+ let ae = size(ad)
126+ let af = 0
127+ func ag (ah,ai) = if ((ai >= ae))
128+ then ah
129+ else Z(ah, ad[ai])
130+
131+ func aj (ah,ai) = if ((ai >= ae))
132+ then ah
133+ else throw("List size exceeds 6")
134+
135+ aj(ag(ag(ag(ag(ag(ag(af, 0), 1), 2), 3), 4), 5), 6)
136+ }
137+ let ak = valueOrElse(getInteger(E, O(X)), 0)
138+[ac, ak]
136139 }
137140
138141
139-func ao (aj) = {
140- let k = aj
141- if ($isInstanceOf(k, "(Int, Int)"))
142- then {
143- let ap = k
144- ap
145- }
146- else throw("fail to cast into (Int, Int)")
142+func al (U,am) = {
143+ let an = pow(10, 0, am, 0, 0, DOWN)
144+ let ao = toString((U % an))
145+ let ap = drop(toString(an), (1 + size(ao)))
146+ (((toString((U / an)) + ".") + ap) + ao)
147147 }
148148
149149
150150 func aq () = Q(invoke(E, "saveLastTx", nil, nil))
151151
152152
153153 func ar (d,as,at) = {
154154 let au = (lastBlock.timestamp - at)
155155 let av = fraction(au, (g * as), (b * o))
156156 let aw = Q(invoke(F, "sellResourcesWorldREADONLY", [av], nil))
157157 let ax = max([0, aw])
158158 (ax * h)
159159 }
160160
161161
162162 func ay (d,as,at) = {
163163 let au = (lastBlock.timestamp - at)
164164 if ((0 > au))
165165 then throw(((("Saved timestamp is in future, saved = " + toString(at)) + ", current = ") + toString(lastBlock.timestamp)))
166166 else {
167167 let av = fraction(au, (g * as), (b * o))
168168 let aw = Q(invoke(F, "sellResourcesWorldREADONLY", [av], nil))
169169 let ax = if ((0 >= aw))
170170 then 0
171- else ao(invoke(F, "sellResourcesWorld", [d, av], nil))._1
171+ else T(invoke(F, "sellResourcesWorld", [d, av], nil))._1
172172 (ax * h)
173173 }
174174 }
175175
176176
177177 @Callable(az)
178178 func constructorV1 (aA,aB) = if ((az.caller != this))
179179 then throw("Permission denied")
180180 else if (isDefined(getBinary(J)))
181181 then throw("Already initialized")
182182 else {
183- let aC = (T("")[M] + aB)
183+ let aC = (W("")[M] + aB)
184184 let aD = (a - (aC * o))
185185 let aE = Issue("ACRES", "WavesLands land acres investment token", aD, 8, false, unit, 0)
186186 let aF = calculateAssetId(aE)
187187 [aE, IntegerEntry(I, aD), BinaryEntry(J, aF), StringEntry(x(), aA)]
188188 }
189189
190190
191191
192192 @Callable(az)
193193 func stakeAcres () = {
194194 let aG = aq()
195195 let q = toString(az.caller)
196196 if ((size(az.payments) != 1))
197197 then throw("exactly 1 payment must be attached")
198198 else {
199199 let aH = az.payments[0]
200200 let aI = aH.amount
201201 if (if (!(isDefined(aH.assetId)))
202202 then true
203203 else (value(aH.assetId) != K))
204204 then throw("ACRES payments only!")
205205 else {
206206 let aJ = L(q)
207207 let aK = c(q)
208208 let aL = valueOrElse(getInteger(aK), 0)
209209 let aM = valueOrElse(getInteger(e), 0)
210210 let aN = invoke(G, "onStakeUnstakeLand", [q], nil)
211211 let aO = ay(q, aL, valueOrElse(getInteger(aJ), 0))
212212 $Tuple2(((((if ((aO == 0))
213213 then nil
214214 else [ScriptTransfer(az.caller, aO, K)]) :+ IntegerEntry(aJ, lastBlock.timestamp)) :+ IntegerEntry(aK, (aL + aI))) :+ IntegerEntry(e, (aM + aI))), $Tuple2(aG, aN))
215215 }
216216 }
217217 }
218218
219219
220220
221221 @Callable(az)
222222 func unstakeAcres (aP) = {
223223 let aG = aq()
224224 if ((0 >= aP))
225225 then throw("Amount should be positive")
226226 else {
227227 let q = toString(az.caller)
228228 if ((size(az.payments) != 0))
229229 then throw("No payments required")
230230 else {
231231 let aJ = L(q)
232232 let aK = c(q)
233233 let aL = valueOrElse(getInteger(aK), 0)
234234 if ((aP > aL))
235- then throw(((("You have only " + ai(aL, 8)) + " ACRES staked, tried to unstake ") + ai(aP, 8)))
235+ then throw(((("You have only " + al(aL, 8)) + " ACRES staked, tried to unstake ") + al(aP, 8)))
236236 else {
237237 let aM = valueOrElse(getInteger(e), 0)
238238 let aN = invoke(G, "onStakeUnstakeLand", [q], nil)
239239 let aO = ay(q, aL, valueOrElse(getInteger(aJ), 0))
240240 $Tuple2([IntegerEntry(aJ, lastBlock.timestamp), IntegerEntry(aK, (aL - aP)), IntegerEntry(e, (aM - aP)), ScriptTransfer(az.caller, (aP + aO), K)], $Tuple2(aG, aN))
241241 }
242242 }
243243 }
244244 }
245245
246246
247247
248248 @Callable(az)
249249 func buyAcres () = {
250250 let aG = aq()
251251 let q = toString(az.caller)
252252 if ((size(az.payments) != 1))
253253 then throw("exactly 1 payment must be attached")
254254 else {
255255 let aH = az.payments[0]
256256 let aI = aH.amount
257257 if (if (!(isDefined(aH.assetId)))
258258 then true
259259 else (value(aH.assetId) != j))
260260 then throw("USDT payments only!")
261261 else if ((n > aI))
262- then throw((("Min payment should be " + ai(n, 6)) + " USDT"))
262+ then throw((("Min payment should be " + al(n, 6)) + " USDT"))
263263 else {
264264 let as = (aI * h)
265265 let aQ = Q(invoke(E, "updateAccStats", [q, fraction(f, as, (25 * o))], nil))
266266 $Tuple2([ScriptTransfer(F, aI, j), ScriptTransfer(az.caller, as, K)], $Tuple2(aG, aQ))
267267 }
268268 }
269269 }
270270
271271
272272
273273 @Callable(az)
274274 func burnAcres (aP) = if ((az.caller != E))
275275 then throw("Permission denied")
276276 else $Tuple2([Burn(K, aP)], aP)
277277
278278
279279
280280 @Callable(az)
281281 func claimAcres () = {
282282 let aG = aq()
283283 let q = toString(az.caller)
284284 if ((size(az.payments) != 0))
285285 then throw("No payments required")
286286 else {
287287 let aJ = L(q)
288288 let aK = c(q)
289289 let as = valueOrElse(getInteger(aK), 0)
290290 let aN = invoke(G, "onStakeUnstakeLand", [q], nil)
291291 let aO = ay(q, as, valueOrElse(getInteger(aJ), 0))
292292 $Tuple2([IntegerEntry(aJ, lastBlock.timestamp), ScriptTransfer(az.caller, aO, K)], $Tuple2(aG, aN))
293293 }
294294 }
295295
296296
297297
298298 @Callable(az)
299299 func claimAcresREADONLY (q) = {
300300 let aJ = L(q)
301301 let aK = c(q)
302302 let as = valueOrElse(getInteger(aK), 0)
303303 let aR = valueOrElse(getInteger(aJ), 0)
304304 let aO = ar(q, as, aR)
305305 $Tuple2(nil, [aO, aR])
306306 }
307307
308308

github/deemru/w8io/026f985 
40.24 ms