tx · 29DHVjpK6WqrGyFhzLeHQCxEEWbzJzzkp8s9aRfRM1nt

3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh:  -0.01600000 Waves

2024.10.25 19:13 [3342591] smart account 3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh > SELF 0.00000000 Waves

{ "type": 13, "id": "29DHVjpK6WqrGyFhzLeHQCxEEWbzJzzkp8s9aRfRM1nt", "fee": 1600000, "feeAssetId": null, "timestamp": 1729872791824, "version": 2, "chainId": 84, "sender": "3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh", "senderPublicKey": "3QtfC1XbLZXdeawMDeSERy9vvjUmj1XYd2GFmrvx7pWQ", "proofs": [ "65D1Zn82YdXbapznJAvuXp9LXNSYWxTDs3QS1fb5dcgh8uREZuXiiyZMsxaurssHCpmnWxFLktH8WGqFkkzMsF5v" ], "script": "base64:BgI7CAISBAoCCAgSBAoCCAESAwoBBBIDCgEBEgASABIDCgEBEgASBAoCCAESABIDCgEIEgMKAQgSBAoCCAE3AANTRVACAl9fAAVNVUxUNgDAhD0ABU1VTFQ3AICt4gQABU1VTFQ4AIDC1y8ACkRBWV9NSUxMSVMAgLiZKQAVVVNEVDJBQ1JFU19NVUxUSVBMSUVSAAoAE0FDUkVTX0xJTUlUX0RJVklTT1IACgAFY2hhaW4JAMkBAgkAygECCAUEdGhpcwVieXRlcwABAAEAC3VzZHRBc3NldElkBAckbWF0Y2gwBQVjaGFpbgMJAAACAQFXBQckbWF0Y2gwASCE2nqyCAM/TtG7yo7ui5O8yYLdC136B5ao1CP5qA//uQMJAAACAQFUBQckbWF0Y2gwASBVsdifcoeC7+XjW42sBatl3ppDoS8WuwXzGreHpfHFGAkAAgECDVVua25vd24gY2hhaW4AFmRlZmF1bHRSZXN0MkFkZHJlc3NTdHIEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDACIzNQRndZdGE4YmlFejMxenBlRmU1REpLOHdFNXRyU3BRVkY4AwkAA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ZHIBaQEac2ltdWxhdGVTdGFrZUFjcmVzUkVBRE9OTFkCB2FkZHJlc3MLYWRkZWRBbW91bnQECWFtb3VudEtleQkBF2tleUFjcmVzU3Rha2VkQW10QnlVc2VyAQUHYWRkcmVzcwQObmV3QWNyZXNBbW91bnQJAGQCCQELdmFsdWVPckVsc2UCCQCfCAEFCWFtb3VudEtleQAABQthZGRlZEFtb3VudAQIb2xkVG90YWwJAQt2YWx1ZU9yRWxzZQIJAJ8IAQUSYWNyZXNTdGFrZFRvdGFsS2V5AAAECXVzZXJGcEtleQkBFWtleUZhcm1pbmdQb3dlckJ5VXNlcgEFB2FkZHJlc3MEBW9sZEZwCQELdmFsdWVPckVsc2UCCQCfCAEFCXVzZXJGcEtleQAABAVuZXdGcAkBFmdldEZhcm1pbmdQb3dlckJ5QWNyZXMBBQ5uZXdBY3Jlc0Ftb3VudAQKb2xkVG90YWxGcAkBC3ZhbHVlT3JFbHNlAgkAnwgBBRR0b3RhbEZhcm1pbmdQb3dlcktleQAABApuZXdUb3RhbEZwCQBkAgkAZQIFCm9sZFRvdGFsRnAFBW9sZEZwBQVuZXdGcAkAlAoCBQNuaWwJAMwIAgUFb2xkRnAJAMwIAgUFbmV3RnAJAMwIAgUKb2xkVG90YWxGcAkAzAgCBQpuZXdUb3RhbEZwBQNuaWwAOYWQ4A==", "height": 3342591, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GVi6WuHrgeKrY4qHr1Frevp3Z3jbVwSibLHicxWo4DHK Next: 9VbFXUAxkJK5AKkMxcBzGVnxGQsmcdVQBT7USN2rqoos Diff:
OldNewDifferences
366366 else {
367367 let acresAmount = (usdtAmount * USDT2ACRES_MULTIPLIER)
368368 let wlgToBurn = fraction(usdtAmount, MULT8, getWlgPrice(usdtAmount))
369- $Tuple2(nil, [acresAmount, wlgToBurn])
369+ $Tuple2(nil, [acresAmount, acresAmount, wlgToBurn])
370370 }
371371
372372
406406 else {
407407 let maxAcres = getSwapLimitAcres(address)
408408 let usdtAmount = ((acresAmount / USDT2ACRES_MULTIPLIER) / 2)
409- $Tuple2(nil, [usdtAmount, maxAcres])
409+ $Tuple2(nil, [usdtAmount, maxAcres, 0])
410410 }
411411
412412
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let SEP = "__"
55
66 let MULT6 = 1000000
77
88 let MULT7 = 10000000
99
1010 let MULT8 = 100000000
1111
1212 let DAY_MILLIS = 86400000
1313
1414 let USDT2ACRES_MULTIPLIER = 10
1515
1616 let ACRES_LIMIT_DIVISOR = 10
1717
1818 let chain = take(drop(this.bytes, 1), 1)
1919
2020 let usdtAssetId = match chain {
2121 case _ =>
2222 if ((base58'2W' == $match0))
2323 then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi'
2424 else if ((base58'2T' == $match0))
2525 then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63'
2626 else throw("Unknown chain")
2727 }
2828
2929 let defaultRest2AddressStr = match chain {
3030 case _ =>
3131 if ((base58'2W' == $match0))
3232 then "3PFwYta8biEz31zpeFe5DJK8wE5trSpQVF8"
3333 else if ((base58'2T' == $match0))
3434 then "3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv"
3535 else throw("Unknown chain")
3636 }
3737
3838 let arbitrageDelay = match chain {
3939 case _ =>
4040 if ((base58'2W' == $match0))
4141 then DAY_MILLIS
4242 else if ((base58'2T' == $match0))
4343 then 60000
4444 else throw("Unknown chain")
4545 }
4646
4747 let oldStakingContractStr = match chain {
4848 case _ =>
4949 if ((base58'2W' == $match0))
5050 then "3PLncXtS1U83D6cQbFD3H8rBHPLgzxSFKZ1"
5151 else if ((base58'2T' == $match0))
5252 then "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm"
5353 else throw("Unknown chain")
5454 }
5555
5656 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
5757
5858
5959 let IdxCfgAcres2Dapp = 1
6060
6161 let IdxCfgWlgDapp = 2
6262
6363 let IdxCfgInvestFundDapp = 5
6464
6565 func keyRestCfg () = "%s__restConfig"
6666
6767
6868 func keyRest2Address () = "%s__rest2Addr"
6969
7070
7171 func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP)
7272
7373
7474 func getContractAddressOrFail (rest2Cfg,idx) = valueOrErrorMessage(addressFromString(rest2Cfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx)))
7575
7676
7777 let rest2Contract = addressFromStringValue(valueOrElse(getString(this, keyRest2Address()), defaultRest2AddressStr))
7878
7979 let rest2Cfg = readRestCfgOrFail(rest2Contract)
8080
8181 let acres2Contract = getContractAddressOrFail(rest2Cfg, IdxCfgAcres2Dapp)
8282
8383 let wlgContract = getContractAddressOrFail(rest2Cfg, IdxCfgWlgDapp)
8484
8585 let investFundContract = getContractAddressOrFail(rest2Cfg, IdxCfgInvestFundDapp)
8686
8787 let oldAcresContractKey = "oldAcresContract"
8888
8989 func keyBlocked () = "contractsBlocked"
9090
9191
9292 func keyLastTxIdByUser (addr) = ("lastTxIdByUser_" + addr)
9393
9494
9595 let acresIssuedAmountKey = "acresIssuedAmount"
9696
9797 let acresAssetIdKey = "acresAssetId"
9898
9999 let acresAssetId = valueOrErrorMessage(getBinary(acres2Contract, acresAssetIdKey), "ACRES is not issued yet")
100100
101101 func keyAcresStakedTimeByUser (addr) = ("acresStakedTimeByUser_" + addr)
102102
103103
104104 func keyStakedLandsByOwner (ownerAddr) = ("stakedLandsByOwner_" + ownerAddr)
105105
106106
107107 func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr)
108108
109109
110110 func asInt (v) = match v {
111111 case n: Int =>
112112 n
113113 case _ =>
114114 throw("fail to cast into Int")
115115 }
116116
117117
118118 func asTuple5Ints (val) = match val {
119119 case t: (Int, Int, Int, Int, Int) =>
120120 t
121121 case _ =>
122122 throw("fail to cast into (Int, Int, Int, Int, Int)")
123123 }
124124
125125
126126 func asTuple4Ints (val) = match val {
127127 case t: (Int, Int, Int, Int) =>
128128 t
129129 case _ =>
130130 throw("fail to cast into (Int, Int, Int, Int)")
131131 }
132132
133133
134134 func asTuple3Ints (val) = match val {
135135 case t: (Int, Int, Int) =>
136136 t
137137 case _ =>
138138 throw("fail to cast into (Int, Int, Int)")
139139 }
140140
141141
142142 func asTuple2Ints (val) = match val {
143143 case t: (Int, Int) =>
144144 t
145145 case _ =>
146146 throw("fail to cast into (Int, Int)")
147147 }
148148
149149
150150 func fixedPoint (val,decimals) = {
151151 let tenPow = pow(10, 0, decimals, 0, 0, DOWN)
152152 let lowPart = toString((val % tenPow))
153153 let zeroes = drop(toString(tenPow), (1 + size(lowPart)))
154154 (((toString((val / tenPow)) + ".") + zeroes) + lowPart)
155155 }
156156
157157
158158 let M8_ = 100000000
159159
160160 let wlgIssuedAmtKey = "wlg_issuedAmount"
161161
162162 let zbIssuedAmtKey = "zbill_issuedAmount"
163163
164164 func keyAcresStakedAmtByUser (addr) = ("acresStakedAmountByUser_" + addr)
165165
166166
167167 func keyFarmingPowerByUser (addr) = ("farmingPowerByUser_" + addr)
168168
169169
170170 let acresStakdTotalKey = "acresStakedAmountTotal"
171171
172172 let totalFarmingPowerKey = "totalFarmingPower"
173173
174174 let levelAcres = [0, 10, 20, 40, 80, 150, 250, 400, 700, 1000]
175175
176176 func getLevelByAcres (acres) = {
177177 let acr = ((acres + 99999999) / M8_)
178178 func checker (acc,item) = if ((item >= acr))
179179 then acc
180180 else (acc + 1)
181181
182182 let $l = levelAcres
183183 let $s = size($l)
184184 let $acc0 = 0
185185 func $f0_1 ($a,$i) = if (($i >= $s))
186186 then $a
187187 else checker($a, $l[$i])
188188
189189 func $f0_2 ($a,$i) = if (($i >= $s))
190190 then $a
191191 else throw("List size exceeds 10")
192192
193193 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
194194 }
195195
196196
197197 func getFarmingPowerByAcres (acres) = ((acres * 20) * (getLevelByAcres(acres) + 4))
198198
199199
200200 func prolog (i) = if (if ((i.originCaller != rest2Contract))
201201 then valueOrElse(getBoolean(keyBlocked()), false)
202202 else false)
203203 then throw("Contracts are under maintenance")
204204 else [StringEntry(keyLastTxIdByUser(toString(i.originCaller)), toBase58String(i.transactionId))]
205205
206206
207207 func stakeAcresInternal (amt,address) = {
208208 let wlgResult = invoke(wlgContract, "onStakeUnstakeLand", [address], nil)
209209 if ((wlgResult == wlgResult))
210210 then {
211211 let now = lastBlock.timestamp
212212 let timeKey = keyAcresStakedTimeByUser(address)
213213 let amountKey = keyAcresStakedAmtByUser(address)
214214 let newAcresAmount = (valueOrElse(getInteger(amountKey), 0) + amt)
215215 let oldTotal = valueOrElse(getInteger(acresStakdTotalKey), 0)
216216 let userFpKey = keyFarmingPowerByUser(address)
217217 let oldFp = valueOrElse(getInteger(userFpKey), 0)
218218 let newFp = getFarmingPowerByAcres(newAcresAmount)
219219 let oldTotalFp = valueOrElse(getInteger(totalFarmingPowerKey), 0)
220220 $Tuple2([IntegerEntry(timeKey, lastBlock.timestamp), IntegerEntry(amountKey, newAcresAmount), IntegerEntry(acresStakdTotalKey, (oldTotal + amt)), IntegerEntry(userFpKey, newFp), IntegerEntry(totalFarmingPowerKey, ((oldTotalFp - oldFp) + newFp))], wlgResult)
221221 }
222222 else throw("Strict value is not equal to itself.")
223223 }
224224
225225
226226 func getWlgPrice (usdtBalanceCorrection) = {
227227 let issuedAmount = valueOrErrorMessage(getInteger(wlgContract, wlgIssuedAmtKey), "WLGOLD is not issued yet")
228228 let wlgUsd = assetBalance(wlgContract, usdtAssetId)
229229 let acres2Usd = (assetBalance(acres2Contract, usdtAssetId) - usdtBalanceCorrection)
230230 let investFundTotal = (assetBalance(investFundContract, usdtAssetId) + valueOrElse(getInteger(investFundContract, zbIssuedAmtKey), 0))
231231 let totalFundsUsd = ((acres2Usd + wlgUsd) + investFundTotal)
232232 fraction(totalFundsUsd, MULT8, issuedAmount)
233233 }
234234
235235
236236 func keyLastAcresSellTimeByUser (addr) = ("lastAcresSellTimeUser_" + addr)
237237
238238
239239 func getSwapLimitAcres (addr) = {
240240 let lastTime = valueOrElse(getInteger(keyLastAcresSellTimeByUser(addr)), 0)
241241 let now = lastBlock.timestamp
242242 if ((arbitrageDelay > (now - lastTime)))
243243 then throw((("Arbitrages are possible once a " + toString((arbitrageDelay / 60000))) + "min"))
244244 else {
245245 let wlgUsd = assetBalance(wlgContract, usdtAssetId)
246246 let acres2Usd = assetBalance(this, usdtAssetId)
247247 let investFundTotal = (assetBalance(investFundContract, usdtAssetId) + valueOrElse(getInteger(investFundContract, zbIssuedAmtKey), 0))
248248 (((acres2Usd + wlgUsd) + investFundTotal) / ACRES_LIMIT_DIVISOR)
249249 }
250250 }
251251
252252
253253 @Callable(i)
254254 func constructorV1 (rest2Addr,oldAcrContract) = if ((i.caller != this))
255255 then throw("Permission denied")
256256 else {
257257 let oldAcrContAddr = addressFromStringValue(oldAcrContract)
258258 [IntegerEntry(acresIssuedAmountKey, getIntegerValue(oldAcrContAddr, acresIssuedAmountKey)), BinaryEntry(acresAssetIdKey, getBinaryValue(oldAcrContAddr, acresAssetIdKey)), StringEntry(keyRest2Address(), rest2Addr), StringEntry(oldAcresContractKey, oldAcrContract)]
259259 }
260260
261261
262262
263263 @Callable(i)
264264 func saveInteger (key,amount) = if ((i.caller != this))
265265 then throw("saveInteger is not public method")
266266 else [IntegerEntry(key, amount)]
267267
268268
269269
270270 @Callable(i)
271271 func setBlocked (isBlocked) = if ((i.caller != this))
272272 then throw("permission denied")
273273 else [BooleanEntry(keyBlocked(), isBlocked)]
274274
275275
276276
277277 @Callable(i)
278278 func unstakeAcres (amount) = {
279279 let prologActions = prolog(i)
280280 if ((0 >= amount))
281281 then throw("Amount should be positive")
282282 else {
283283 let address = toString(i.caller)
284284 if ((size(i.payments) != 0))
285285 then throw("No payments required")
286286 else {
287287 let timeKey = keyAcresStakedTimeByUser(address)
288288 let amountKey = keyAcresStakedAmtByUser(address)
289289 let oldAcresAmount = valueOrElse(getInteger(amountKey), 0)
290290 if ((amount > oldAcresAmount))
291291 then throw(((("You have only " + fixedPoint(oldAcresAmount, 8)) + " ACRES staked, tried to unstake ") + fixedPoint(amount, 8)))
292292 else {
293293 let oldTotal = valueOrElse(getInteger(acresStakdTotalKey), 0)
294294 let wlgResult = invoke(wlgContract, "onStakeUnstakeLand", [address], nil)
295295 let newAcresAmount = (oldAcresAmount - amount)
296296 let userFpKey = keyFarmingPowerByUser(address)
297297 let oldFp = valueOrElse(getInteger(userFpKey), 0)
298298 let newFp = getFarmingPowerByAcres(newAcresAmount)
299299 let oldTotalFp = valueOrElse(getInteger(totalFarmingPowerKey), 0)
300300 $Tuple2(([IntegerEntry(timeKey, lastBlock.timestamp), IntegerEntry(amountKey, (oldAcresAmount - amount)), IntegerEntry(acresStakdTotalKey, (oldTotal - amount)), IntegerEntry(userFpKey, newFp), IntegerEntry(totalFarmingPowerKey, ((oldTotalFp - oldFp) + newFp)), ScriptTransfer(i.caller, amount, acresAssetId)] ++ prologActions), wlgResult)
301301 }
302302 }
303303 }
304304 }
305305
306306
307307
308308 @Callable(i)
309309 func stakeAcres () = {
310310 let prologActions = prolog(i)
311311 let address = toString(i.caller)
312312 if ((size(i.payments) != 1))
313313 then throw("exactly 1 payment must be attached")
314314 else {
315315 let pmt = i.payments[0]
316316 let amt = pmt.amount
317317 if (if (!(isDefined(pmt.assetId)))
318318 then true
319319 else (value(pmt.assetId) != acresAssetId))
320320 then throw("ACRES payments only!")
321321 else {
322322 let $t051735239 = stakeAcresInternal(amt, address)
323323 let actions = $t051735239._1
324324 let wlgClaimedAmount = $t051735239._2
325325 $Tuple2((actions ++ prologActions), wlgClaimedAmount)
326326 }
327327 }
328328 }
329329
330330
331331
332332 @Callable(i)
333333 func buyAcres () = {
334334 let prologActions = prolog(i)
335335 if ((size(i.payments) != 1))
336336 then throw("exactly 1 payment must be attached")
337337 else {
338338 let pmt = i.payments[0]
339339 let usdtAmount = pmt.amount
340340 if (if (!(isDefined(pmt.assetId)))
341341 then true
342342 else (value(pmt.assetId) != usdtAssetId))
343343 then throw("USDT payments only!")
344344 else if ((MULT6 > usdtAmount))
345345 then throw((("Min payment should be " + fixedPoint(MULT6, 6)) + " USDT"))
346346 else {
347347 let acresAmount = (usdtAmount * USDT2ACRES_MULTIPLIER)
348348 let wlgAmount = fraction(usdtAmount, MULT8, getWlgPrice(usdtAmount))
349349 let oldAcresAddress = addressFromStringValue(getStringValue(oldAcresContractKey))
350350 let req = invoke(oldAcresAddress, "requestAcresCallback", [acresAmount], nil)
351351 if ((req == req))
352352 then {
353353 let wlgRemain = asInt(invoke(wlgContract, "burnWlgold", [wlgAmount], nil))
354354 $Tuple2(([ScriptTransfer(i.caller, acresAmount, acresAssetId)] ++ prologActions), wlgRemain)
355355 }
356356 else throw("Strict value is not equal to itself.")
357357 }
358358 }
359359 }
360360
361361
362362
363363 @Callable(i)
364364 func buyAcresREADONLY (usdtAmount) = if ((MULT6 > usdtAmount))
365365 then throw((("Min payment should be " + fixedPoint(MULT6, 6)) + " USDT"))
366366 else {
367367 let acresAmount = (usdtAmount * USDT2ACRES_MULTIPLIER)
368368 let wlgToBurn = fraction(usdtAmount, MULT8, getWlgPrice(usdtAmount))
369- $Tuple2(nil, [acresAmount, wlgToBurn])
369+ $Tuple2(nil, [acresAmount, acresAmount, wlgToBurn])
370370 }
371371
372372
373373
374374 @Callable(i)
375375 func sellAcres () = {
376376 let prologActions = prolog(i)
377377 if ((size(i.payments) != 1))
378378 then throw("exactly 1 payment must be attached")
379379 else {
380380 let pmt = i.payments[0]
381381 let acresAmount = pmt.amount
382382 if (if (!(isDefined(pmt.assetId)))
383383 then true
384384 else (value(pmt.assetId) != acresAssetId))
385385 then throw("ACRES payments only!")
386386 else if ((MULT7 > acresAmount))
387387 then throw((("Min payment should be " + fixedPoint(MULT7, 8)) + " ACRES"))
388388 else {
389389 let addr = toString(i.caller)
390390 let maxAcres = getSwapLimitAcres(addr)
391391 if ((acresAmount > maxAcres))
392392 then throw((("You can sell max " + fixedPoint(maxAcres, 8)) + " ACRES"))
393393 else {
394394 let usdtAmount = ((acresAmount / USDT2ACRES_MULTIPLIER) / 2)
395395 $Tuple2(([IntegerEntry(keyLastAcresSellTimeByUser(addr), lastBlock.timestamp), ScriptTransfer(i.caller, usdtAmount, usdtAssetId)] ++ prologActions), usdtAmount)
396396 }
397397 }
398398 }
399399 }
400400
401401
402402
403403 @Callable(i)
404404 func sellAcresREADONLY (address,acresAmount) = if ((MULT7 > acresAmount))
405405 then throw((("Min payment should be " + fixedPoint(MULT7, 8)) + " ACRES"))
406406 else {
407407 let maxAcres = getSwapLimitAcres(address)
408408 let usdtAmount = ((acresAmount / USDT2ACRES_MULTIPLIER) / 2)
409- $Tuple2(nil, [usdtAmount, maxAcres])
409+ $Tuple2(nil, [usdtAmount, maxAcres, 0])
410410 }
411411
412412
413413
414414 @Callable(i)
415415 func convertOldStakes () = {
416416 let address = toString(i.caller)
417417 if ((size(i.payments) != 0))
418418 then throw("No payments required")
419419 else {
420420 let oldAcresAddress = addressFromStringValue(getStringValue(oldAcresContractKey))
421421 let amount = valueOrElse(getInteger(oldAcresAddress, keyAcresStakedAmtByUser(address)), 0)
422422 let gotAcres0 = if ((amount > 0))
423423 then asTuple2Ints(invoke(oldAcresAddress, "unstakeAcresCallback", [amount, address], nil))
424424 else $Tuple2(0, 0)
425425 let oldStakingAddress = addressFromStringValue(oldStakingContractStr)
426426 let landsStr = getString(oldStakingAddress, keyStakedLandsByOwner(address))
427427 let landsResult = if (isDefined(landsStr))
428428 then {
429429 let lands = split_51C(value(landsStr), "_")
430430 func oneLand (acc,landAssetId) = if ((landAssetId == ""))
431431 then throw("landAssetId is required")
432432 else {
433433 let r = asTuple5Ints(invoke(oldStakingAddress, "unstakeLandCallback", [landAssetId, address], nil))
434434 $Tuple4((acc._1 + r._1), (acc._2 + r._2), (acc._3 + r._3), (acc._4 + r._4))
435435 }
436436
437437 let rr = {
438438 let $l = lands
439439 let $s = size($l)
440440 let $acc0 = $Tuple4(0, 0, 0, 0)
441441 func $f0_1 ($a,$i) = if (($i >= $s))
442442 then $a
443443 else oneLand($a, $l[$i])
444444
445445 func $f0_2 ($a,$i) = if (($i >= $s))
446446 then $a
447447 else throw("List size exceeds 100")
448448
449449 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 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)
450450 }
451451 let finalize = invoke(oldStakingAddress, "unstakeLandsFinalizeCallback", [address], nil)
452452 if ((finalize == finalize))
453453 then {
454454 let req = invoke(oldAcresAddress, "requestAcresCallback", [(((rr._1 + rr._2) + rr._3) + rr._4)], nil)
455455 if ((req == req))
456456 then {
457457 let issue = Issue("FPOWER10", "FarmingPower +10% NFT for WavesLands game", 1, 0, false)
458458 $Tuple5(rr._1, rr._2, rr._3, rr._4, [issue, ScriptTransfer(i.caller, 1, calculateAssetId(issue))])
459459 }
460460 else throw("Strict value is not equal to itself.")
461461 }
462462 else throw("Strict value is not equal to itself.")
463463 }
464464 else $Tuple5(0, 0, 0, 0, nil)
465465 let duckAssetId = valueOrElse(getString(oldStakingAddress, keyStakedDuckByOwner(address)), "")
466466 let duckResult = if ((duckAssetId != ""))
467467 then asTuple3Ints(invoke(oldStakingAddress, "unstakeDuckCallback", [duckAssetId, address], nil))
468468 else $Tuple3(0, 0, 0)
469469 let x = stakeAcresInternal((((((((gotAcres0._1 + landsResult._1) + landsResult._2) + landsResult._3) + landsResult._4) + duckResult._1) + duckResult._2) + duckResult._3), address)
470470 $Tuple2((landsResult._5 ++ x._1), x._2)
471471 }
472472 }
473473
474474
475475
476476 @Callable(i)
477477 func unstakeLandsREADONLY (address) = {
478478 let oldStakingAddress = addressFromStringValue(oldStakingContractStr)
479479 let landsStr = getString(oldStakingAddress, keyStakedLandsByOwner(address))
480480 let landsResult = if (isDefined(landsStr))
481481 then {
482482 let lands = split_51C(value(landsStr), "_")
483483 func oneLand (acc,landAssetId) = if ((landAssetId == ""))
484484 then throw("landAssetId is required")
485485 else {
486486 let r = asTuple4Ints(invoke(oldStakingAddress, "unstakeLandREADONLY", [landAssetId, address], nil))
487487 $Tuple4((acc._1 + r._1), (acc._2 + r._2), (acc._3 + r._3), (acc._4 + r._4))
488488 }
489489
490490 let $l = lands
491491 let $s = size($l)
492492 let $acc0 = $Tuple4(0, 0, 0, 0)
493493 func $f0_1 ($a,$i) = if (($i >= $s))
494494 then $a
495495 else oneLand($a, $l[$i])
496496
497497 func $f0_2 ($a,$i) = if (($i >= $s))
498498 then $a
499499 else throw("List size exceeds 100")
500500
501501 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 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)
502502 }
503503 else $Tuple4(0, 0, 0, 0)
504504 $Tuple2(nil, landsResult)
505505 }
506506
507507
508508
509509 @Callable(i)
510510 func stakeAcresCallback (addr) = if ((i.caller != addressFromStringValue(oldStakingContractStr)))
511511 then throw("Permission denied")
512512 else stakeAcresInternal(i.payments[0].amount, addr)
513513
514514
515515
516516 @Callable(i)
517517 func simulateStakeAcresREADONLY (address,addedAmount) = {
518518 let amountKey = keyAcresStakedAmtByUser(address)
519519 let newAcresAmount = (valueOrElse(getInteger(amountKey), 0) + addedAmount)
520520 let oldTotal = valueOrElse(getInteger(acresStakdTotalKey), 0)
521521 let userFpKey = keyFarmingPowerByUser(address)
522522 let oldFp = valueOrElse(getInteger(userFpKey), 0)
523523 let newFp = getFarmingPowerByAcres(newAcresAmount)
524524 let oldTotalFp = valueOrElse(getInteger(totalFarmingPowerKey), 0)
525525 let newTotalFp = ((oldTotalFp - oldFp) + newFp)
526526 $Tuple2(nil, [oldFp, newFp, oldTotalFp, newTotalFp])
527527 }
528528
529529

github/deemru/w8io/026f985 
65.36 ms