tx · AuEfrewxgt3rXhtCg1pDwvebZAK5oA6AXscJsQf92sTT

3N7dQeENwSgKPp9Ki4aEHhRWWKVjn1DE9Qg:  -0.00900000 Waves

2023.10.09 22:17 [2791501] smart account 3N7dQeENwSgKPp9Ki4aEHhRWWKVjn1DE9Qg > SELF 0.00000000 Waves

{ "type": 13, "id": "AuEfrewxgt3rXhtCg1pDwvebZAK5oA6AXscJsQf92sTT", "fee": 900000, "feeAssetId": null, "timestamp": 1696879061310, "version": 2, "chainId": 84, "sender": "3N7dQeENwSgKPp9Ki4aEHhRWWKVjn1DE9Qg", "senderPublicKey": "5BN6FQeKuMm2XJYToUZvbBX4UELGpE3Z47P4q6sP46PG", "proofs": [ "3ya9idZ5dNC1E4cRtJjtbX8V2tmiooym7Dt4BwZ2c5S5cPmyzD7g7YZhp4h339JCj4eRyQuACoCMuNZ42BYUgU82" ], "script": "base64:BgIjCAISBAoCCAESABIDCgEBEgASBAoCCAESAwoBARIAEgMKAQgqAAhNSUxMSU9ONgCAgOmDsd4WAAlEQVlNSUxMSVMAgLiZKQEaa2V5QWNyZXNTdGFrZWRBbW91bnRCeVVzZXIBBGFkZHIJAKwCAgIYYWNyZXNTdGFrZWRBbW91bnRCeVVzZXJfBQRhZGRyABNhY3Jlc1N0YWtlZFRvdGFsS2V5AhZhY3Jlc1N0YWtlZEFtb3VudFRvdGFsAAp4cE5ld1NMYW5kAMCWsQIAD0RBSUxZUkVTQllQSUVDRQCA+NIBABVVU0RUMkFDUkVTX01VTFRJUExJRVIACgAFY2hhaW4JAMkBAgkAygECCAUEdGhpcwVieXRlcwABAAEAC3VzZHRBc3NldElkBAckbWF0Y2gwBQVjaGFpbgMJAAACAQFXBQckbWF0Y2gwASCE2nqyCAM/TtG7yo7ui5O8yYLdC136B5ao1CP5qA//uQMJAAACAQFUBQckbWF0Y2gwASBVsdifcoeC7+XjW42sBatl3ppDoS8WuwXzGreHpfHFGAkAAgECDVVua25vd24gY2hhaW4AFWRlZmF1bHRSZXN0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BQhsYXN0VGltZQkAlAoCBQNuaWwJAMwIAgUMY2xhaW1lZEFjcmVzCQDMCAIFCGxhc3RUaW1lBQNuaWwA3W+Xyw==", "height": 2791501, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: B1d16LfBaJixeBHQmk8HZtQYtDKg6njRuwixFtqerjxP Next: FLHBoSXCwbhy7eiFPzemXD69etqWXeVrEKPxyNEpejoi Diff:
OldNewDifferences
271271
272272
273273 @Callable(az)
274-func sendAcres (d,aP) = if ((az.caller != E))
274+func sendAcres (d,aP) = if ((az.caller != F))
275275 then throw("Permission denied")
276276 else $Tuple2([ScriptTransfer(addressFromStringValue(d), aP, K)], aP)
277277
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) = {
109109 let k = U
110110 if ($isInstanceOf(k, "(Int, Int)"))
111111 then {
112112 let V = k
113113 V
114114 }
115115 else throw("fail to cast into (Int, Int)")
116116 }
117117
118118
119119 func W (X) = {
120120 let Y = split(valueOrElse(getString(E, N()), "0_0_0_0_0_0"), "_")
121121 func Z (aa,ab) = (aa + parseIntValue(ab))
122122
123123 let ac = {
124124 let ad = Y
125125 let ae = size(ad)
126126 let af = 0
127127 func ag (ah,ai) = if ((ai >= ae))
128128 then ah
129129 else Z(ah, ad[ai])
130130
131131 func aj (ah,ai) = if ((ai >= ae))
132132 then ah
133133 else throw("List size exceeds 6")
134134
135135 aj(ag(ag(ag(ag(ag(ag(af, 0), 1), 2), 3), 4), 5), 6)
136136 }
137137 let ak = valueOrElse(getInteger(E, O(X)), 0)
138138 [ac, ak]
139139 }
140140
141141
142142 func al (U,am) = {
143143 let an = pow(10, 0, am, 0, 0, DOWN)
144144 let ao = toString((U % an))
145145 let ap = drop(toString(an), (1 + size(ao)))
146146 (((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
171171 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 {
183183 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))
235235 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))
262262 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)
274-func sendAcres (d,aP) = if ((az.caller != E))
274+func sendAcres (d,aP) = if ((az.caller != F))
275275 then throw("Permission denied")
276276 else $Tuple2([ScriptTransfer(addressFromStringValue(d), aP, K)], aP)
277277
278278
279279
280280 @Callable(az)
281281 func burnAcres (aP) = if ((az.caller != E))
282282 then throw("Permission denied")
283283 else {
284284 let aR = (valueOrElse(getInteger(I), 0) - aP)
285285 if ((0 > aR))
286286 then throw("Attempt to burn more ACRES, than exists")
287287 else $Tuple2([Burn(K, aP), IntegerEntry(I, aR)], aP)
288288 }
289289
290290
291291
292292 @Callable(az)
293293 func claimAcres () = {
294294 let aG = aq()
295295 let q = toString(az.caller)
296296 if ((size(az.payments) != 0))
297297 then throw("No payments required")
298298 else {
299299 let aJ = L(q)
300300 let aK = c(q)
301301 let as = valueOrElse(getInteger(aK), 0)
302302 let aN = invoke(G, "onStakeUnstakeLand", [q], nil)
303303 let aO = ay(q, as, valueOrElse(getInteger(aJ), 0))
304304 $Tuple2([IntegerEntry(aJ, lastBlock.timestamp), ScriptTransfer(az.caller, aO, K)], $Tuple2(aG, aN))
305305 }
306306 }
307307
308308
309309
310310 @Callable(az)
311311 func claimAcresREADONLY (q) = {
312312 let aJ = L(q)
313313 let aK = c(q)
314314 let as = valueOrElse(getInteger(aK), 0)
315315 let aS = valueOrElse(getInteger(aJ), 0)
316316 let aO = ar(q, as, aS)
317317 $Tuple2(nil, [aO, aS])
318318 }
319319
320320

github/deemru/w8io/026f985 
38.82 ms