tx · 43J7GB86TDF7zSb1Vtm65V19HfnedVDvFGUHLjvGeV4R

3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh:  -0.02900000 Waves

2024.11.29 22:07 [3393117] smart account 3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh > SELF 0.00000000 Waves

{ "type": 13, "id": "43J7GB86TDF7zSb1Vtm65V19HfnedVDvFGUHLjvGeV4R", "fee": 2900000, "feeAssetId": null, "timestamp": 1732907280158, "version": 2, "chainId": 84, "sender": "3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh", "senderPublicKey": "3QtfC1XbLZXdeawMDeSERy9vvjUmj1XYd2GFmrvx7pWQ", "proofs": [ "3mWYuHzktQd1TxCC3Za5HQgWw2cHVQs9REBAFx7wPBtWjsC1N5mkbKdcxEuF7wpMcv21VBqTncrVSR6eJh6PKYke" ], "script": "base64:BgJHCAISABIECgIICBIDCgEEEgMKAQESABIAEgMKAQESABIECgIIARIAEgMKAQgSAwoBCBIECgIIARIDCgEIEgASAwoBCBIAEgB3AANTRVACAl9fAAVNVUxUNgDAhD0ABU1VTFQ3AICt4gQABU1VTFQ4AIDC1y8ABk1VTFQxNACAgOmDsd4WAApEQVlfTUlMTElTAIC4mSkAFVVTRFQyQUNSRVNfTVVMVElQTElFUgAKABNPTkVfUEVSQ0VOVF9ESVZJU09SAGQABWNoYWluCQDJAQIJAMoBAggFBHRoaXMFYnl0ZXMAAQABAAtXRUVLX0JMT0NLUwQHJG1hdGNoMAUFY2hhaW4DCQAAAgEBVwUHJG1hdGNoMADgTgMJAAACAQFUBQckbWF0Y2gwALQBCQACAQINVW5rbm93biBjaGFpbgALdXNkdEFzc2V0SWQEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDABIITaerIIAz9O0bvKju6Lk7zJgt0LXfoHlqjUI/moD/+5AwkAAAIBAVQFByRtYXRjaDABIFWx2J9yh4Lv5eNbjawFq2XemkOhLxa7BfMat4el8cUYCQACAQINVW5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FjdGlvbnMDCQAAAgUGYnVybmVkAAAFA25pbAkAzAgCCQEMSW50ZWdlckVudHJ5AgURa2V5TmZ0VG90YWxCdXJuZWQJAGQCCQELdmFsdWVPckVsc2UCCQCfCAEFEWtleU5mdFRvdGFsQnVybmVkAAAFBmJ1cm5lZAUDbmlsCQCUCgIJAM0IAgkAzggCCQDOCAIJAM4IAgkAzggCBQ9pc3N1ZU5mdEFjdGlvbnMFC2J1cm5BY3Rpb25zBRJidXJuQ291bnRlckFjdGlvbnMFDXByb2xvZ0FjdGlvbnMFDWNoYW5nZUFjdGlvbnMJAQ5TY3JpcHRUcmFuc2ZlcgMJARFAZXh0ck5hdGl2ZSgxMDYyKQEJARFAZXh0ck5hdGl2ZSgxMDUzKQIFC3dsZ0NvbnRyYWN0BQt0ZWFtQWRkcktleQUHZm9yVGVhbQUKd2xnQXNzZXRJZAkAlAoCBQpuZnRBc3NldElkBQl3bGdSZW1haW4BaQEMb3Blbk5mdENoZXN0AAMJAQIhPQIIBQFpBmNhbGxlcgUEdGhpcwkAAgECEVBlcm1pc3Npb24gZGVuaWVkCQCUCgIFA25pbAAAAFKfzrY=", "height": 3393117, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AgbM6Gs7awitt6iAHrrbSm2ESUEDiH41AJo2PQox3KYD Next: DRbgyKttbgMX9YSwKLuiMDjVoHtH4tnpjuAQbUrwditJ Diff:
OldNewDifferences
88 let MULT7 = 10000000
99
1010 let MULT8 = 100000000
11+
12+let MULT14 = 100000000000000
1113
1214 let DAY_MILLIS = 86400000
1315
890892 let prologActions = prolog(i)
891893 if ((3 > size(i.payments)))
892894 then throw("Min one WLGOLD and 2 NFT payments allowed")
893- else if ((size(i.payments) > 6))
894- then throw("Max one WLGOLD and 5 NFT payments allowed")
895+ else if ((size(i.payments) > 10))
896+ then throw("Max one WLGOLD and 9 NFT payments allowed")
895897 else {
896898 let addr = toString(i.caller)
897899 func addUp (acc,pmt) = {
916918 }
917919 }
918920
919- let $t02603026245 = {
921+ let $t02603126247 = {
920922 let $l = i.payments
921923 let $s = size($l)
922924 let $acc0 = $Tuple4(0, 0, nil, -1)
926928
927929 func $f0_2 ($a,$i) = if (($i >= $s))
928930 then $a
929- else throw("List size exceeds 6")
931+ else throw("List size exceeds 10")
930932
931- $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
933+ $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)
932934 }
933- let wlgFee = $t02603026245._1
934- let totalBonus = $t02603026245._2
935- let burnActions = $t02603026245._3
936- let rarityIdx = $t02603026245._4
935+ let wlgFee = $t02603126247._1
936+ let totalBonus = $t02603126247._2
937+ let burnActions = $t02603126247._3
938+ let rarityIdx = $t02603126247._4
937939 let newRarityIdx = if ((rarityIdx == idxRarityC))
938940 then if ((rarityThresholds[idxThresholdC] > totalBonus))
939941 then idxRarityC
955957 else if ((rarityIdx == idxRarityP))
956958 then throw("You can't exchange NFTs of this rarity")
957959 else throw("Unknown rarity")
958- let minWlgFee = fraction(totalBonus, MULT6, getWlgPrice(0))
960+ let minWlgFee = fraction(totalBonus, MULT14, getWlgPrice(0))
959961 let change = (wlgFee - minWlgFee)
960962 let forTeam = (minWlgFee / 2)
961963 let wlgRemain = asInt(invoke(wlgContract, "burnWlgold", [(minWlgFee - forTeam)], nil))
965967 let changeActions = if ((change > 0))
966968 then [ScriptTransfer(i.caller, change, wlgAssetId)]
967969 else nil
968- let $t02778127942 = issueNftCustom(idxNamePickaxe, newRarityIdx, idxCollDig, newRarityIdx, totalBonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
969- let issueNftActions = $t02778127942._1
970- let nftAssetId = $t02778127942._2
970+ let $t02778427945 = issueNftCustom(idxNamePickaxe, newRarityIdx, idxCollDig, newRarityIdx, totalBonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
971+ let issueNftActions = $t02778427945._1
972+ let nftAssetId = $t02778427945._2
971973 let burned = size(burnActions)
972974 let burnCounterActions = if ((burned == 0))
973975 then nil
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
11+
12+let MULT14 = 100000000000000
1113
1214 let DAY_MILLIS = 86400000
1315
1416 let USDT2ACRES_MULTIPLIER = 10
1517
1618 let ONE_PERCENT_DIVISOR = 100
1719
1820 let chain = take(drop(this.bytes, 1), 1)
1921
2022 let WEEK_BLOCKS = match chain {
2123 case _ =>
2224 if ((base58'2W' == $match0))
2325 then 10080
2426 else if ((base58'2T' == $match0))
2527 then 180
2628 else throw("Unknown chain")
2729 }
2830
2931 let usdtAssetId = match chain {
3032 case _ =>
3133 if ((base58'2W' == $match0))
3234 then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi'
3335 else if ((base58'2T' == $match0))
3436 then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63'
3537 else throw("Unknown chain")
3638 }
3739
3840 let defaultRest2AddressStr = match chain {
3941 case _ =>
4042 if ((base58'2W' == $match0))
4143 then "3PFwYta8biEz31zpeFe5DJK8wE5trSpQVF8"
4244 else if ((base58'2T' == $match0))
4345 then "3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv"
4446 else throw("Unknown chain")
4547 }
4648
4749 let arbitrageDelay = match chain {
4850 case _ =>
4951 if ((base58'2W' == $match0))
5052 then DAY_MILLIS
5153 else if ((base58'2T' == $match0))
5254 then 60000
5355 else throw("Unknown chain")
5456 }
5557
5658 let oldStakingContractStr = match chain {
5759 case _ =>
5860 if ((base58'2W' == $match0))
5961 then "3PLncXtS1U83D6cQbFD3H8rBHPLgzxSFKZ1"
6062 else if ((base58'2T' == $match0))
6163 then "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm"
6264 else throw("Unknown chain")
6365 }
6466
6567 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
6668
6769
6870 let IdxCfgAcres2Dapp = 1
6971
7072 let IdxCfgWlgDapp = 2
7173
7274 let IdxCfgInvestFundDapp = 5
7375
7476 func keyRestCfg () = "%s__restConfig"
7577
7678
7779 func keyRest2Address () = "%s__rest2Addr"
7880
7981
8082 func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP)
8183
8284
8385 func getContractAddressOrFail (rest2Cfg,idx) = valueOrErrorMessage(addressFromString(rest2Cfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx)))
8486
8587
8688 let rest2Contract = addressFromStringValue(valueOrElse(getString(this, keyRest2Address()), defaultRest2AddressStr))
8789
8890 let rest2Cfg = readRestCfgOrFail(rest2Contract)
8991
9092 let acres2Contract = getContractAddressOrFail(rest2Cfg, IdxCfgAcres2Dapp)
9193
9294 let wlgContract = getContractAddressOrFail(rest2Cfg, IdxCfgWlgDapp)
9395
9496 let investFundContract = getContractAddressOrFail(rest2Cfg, IdxCfgInvestFundDapp)
9597
9698 let oldAcresContractKey = "oldAcresContract"
9799
98100 func keyBlocked () = "contractsBlocked"
99101
100102
101103 func keyLastWeekTxIdByUser (addr) = ("lastWeekTxIdByUser_" + addr)
102104
103105
104106 func keyCurWeekTxIdByUser (addr) = ("curWeekTxIdByUser_" + addr)
105107
106108
107109 let wlgAssetIdKey = "wlg_assetId"
108110
109111 let wlgAssetId = valueOrErrorMessage(getBinary(wlgContract, wlgAssetIdKey), "WLGOLD is not issued yet")
110112
111113 let acresIssuedAmountKey = "acresIssuedAmount"
112114
113115 let acresAssetIdKey = "acresAssetId"
114116
115117 let acresAssetId = valueOrErrorMessage(getBinary(acres2Contract, acresAssetIdKey), "ACRES is not issued yet")
116118
117119 func keyAcresStakedTimeByUser (addr) = ("acresStakedTimeByUser_" + addr)
118120
119121
120122 func keyStakedLandsByOwner (ownerAddr) = ("stakedLandsByOwner_" + ownerAddr)
121123
122124
123125 func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr)
124126
125127
126128 func keyStakedTimeByAssetIdAndOwner (assetId,addr) = ((("st_" + assetId) + "_") + addr)
127129
128130
129131 func keyStakedNFTsByOwner (ownerAddr) = ("stakedNFTsByOwner_" + ownerAddr)
130132
131133
132134 func asInt (v) = match v {
133135 case n: Int =>
134136 n
135137 case _ =>
136138 throw("fail to cast into Int")
137139 }
138140
139141
140142 func asTuple5Ints (val) = match val {
141143 case t: (Int, Int, Int, Int, Int) =>
142144 t
143145 case _ =>
144146 throw("fail to cast into (Int, Int, Int, Int, Int)")
145147 }
146148
147149
148150 func asTuple4Ints (val) = match val {
149151 case t: (Int, Int, Int, Int) =>
150152 t
151153 case _ =>
152154 throw("fail to cast into (Int, Int, Int, Int)")
153155 }
154156
155157
156158 func asTuple3Ints (val) = match val {
157159 case t: (Int, Int, Int) =>
158160 t
159161 case _ =>
160162 throw("fail to cast into (Int, Int, Int)")
161163 }
162164
163165
164166 func asTuple2Ints (val) = match val {
165167 case t: (Int, Int) =>
166168 t
167169 case _ =>
168170 throw("fail to cast into (Int, Int)")
169171 }
170172
171173
172174 func fixedPoint (val,decimals) = {
173175 let tenPow = pow(10, 0, decimals, 0, 0, DOWN)
174176 let lowPart = toString((val % tenPow))
175177 let zeroes = drop(toString(tenPow), (1 + size(lowPart)))
176178 (((toString((val / tenPow)) + ".") + zeroes) + lowPart)
177179 }
178180
179181
180182 let M6_ = 1000000
181183
182184 let M8_ = 100000000
183185
184186 let wlgIssuedAmtKey = "wlg_issuedAmount"
185187
186188 let zbIssuedAmtKey = "zbill_issuedAmount"
187189
188190 func keyAcresStakedAmtByUser (addr) = ("acresStakedAmountByUser_" + addr)
189191
190192
191193 func keyFarmingPowerByUser (addr) = ("farmingPowerByUser_" + addr)
192194
193195
194196 let acresStakdTotalKey = "acresStakedAmountTotal"
195197
196198 let totalFarmingPowerKey = "totalFarmingPower"
197199
198200 let MAX_WL_NFTS = 3
199201
200202 let MAX_ARK_NFTS = 1
201203
202204 let ARK_NFT_BONUS = 5000
203205
204206 let MAX_NFTS_STAKED_BY_USER = 4
205207
206208 let keyNftTotalIssued = "nftTotalIssued"
207209
208210 let keyNftTotalBurned = "nftTotalBurned"
209211
210212 let keyWlNftTotalStaked = "WlNftTotalStaked"
211213
212214 let keyArkNftTotalStaked = "ArkNftTotalStaked"
213215
214216 func keyNftNumberByAssetId (assetId) = ("nftNumberByAssetId_" + assetId)
215217
216218
217219 func keyUserWlNftNumber (addr) = ("userWlNftNumber_" + addr)
218220
219221
220222 func keyUserArkNftNumber (addr) = ("userArkNftNumber_" + addr)
221223
222224
223225 func keyUserFullBonus (addr) = ("userFullBonus_" + addr)
224226
225227
226228 let levelAcres = [0, 10, 20, 40, 80, 150, 250, 400, 700, 1000]
227229
228230 func getLevelByAcres (acres) = {
229231 let acr = ((acres + 99999999) / M8_)
230232 func checker (acc,item) = if ((item >= acr))
231233 then acc
232234 else (acc + 1)
233235
234236 let $l = levelAcres
235237 let $s = size($l)
236238 let $acc0 = 0
237239 func $f0_1 ($a,$i) = if (($i >= $s))
238240 then $a
239241 else checker($a, $l[$i])
240242
241243 func $f0_2 ($a,$i) = if (($i >= $s))
242244 then $a
243245 else throw("List size exceeds 10")
244246
245247 $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)
246248 }
247249
248250
249251 func getFarmingPowerByAcres (acres) = ((acres * 20) * (getLevelByAcres(acres) + 4))
250252
251253
252254 func getFarmingPowerByAcresAndBonus (acres,bonus6) = {
253255 let notBonused = getFarmingPowerByAcres(acres)
254256 $Tuple2(fraction(notBonused, (M6_ + bonus6), M6_), notBonused)
255257 }
256258
257259
258260 let teamAddrKey = "teamAddr"
259261
260262 func keyLastWlgTradeTimeByUser (addr) = ("lastArbTimeUser_" + addr)
261263
262264
263265 let keyLastAcresSellTime = "lastAcresSellTime"
264266
265267 let keyLastLimitLeft = "lastLimitLeft"
266268
267269 let names = ["Gold shovel", "Pickaxe"]
268270
269271 let descriptions = ["Reward for early birds", "Increases FarmPower"]
270272
271273 let idxDescrShovel = 0
272274
273275 let idxDescrPickaxe = 1
274276
275277 let rarityThresholds = [5, 10, 20]
276278
277279 let idxThresholdC = 0
278280
279281 let idxThresholdU = 1
280282
281283 let idxThresholdL = 2
282284
283285 let namez = ["SHOVEL", "PICKAXE"]
284286
285287 let idxNameShovel = 0
286288
287289 let idxNamePickaxe = 1
288290
289291 let contentKeyz = ["contentPickaxeC", "contentPickaxeU", "contentPickaxeL", "contentPickaxeE", "contentShovelP"]
290292
291293 let idxKeyC = 0
292294
293295 let idxKeyP = 4
294296
295297 let rarityNames = ["Common", "Uncommon", "Legendary", "Epic", "Promo"]
296298
297299 let idxRarityC = 0
298300
299301 let idxRarityU = 1
300302
301303 let idxRarityL = 2
302304
303305 let idxRarityE = 3
304306
305307 let idxRarityP = 4
306308
307309 let collectionz = ["Digging tools"]
308310
309311 let idxCollDig = 0
310312
311313 let bonusTypez = ["FarmPower"]
312314
313315 let idxBonusTypeFp = 0
314316
315317 func prolog (i) = if (if ((i.originCaller != rest2Contract))
316318 then valueOrElse(getBoolean(keyBlocked()), false)
317319 else false)
318320 then throw("Contracts are under maintenance")
319321 else {
320322 let addr = toString(i.originCaller)
321323 let week = (height / WEEK_BLOCKS)
322324 let lastWeekKey = keyLastWeekTxIdByUser(addr)
323325 let lastWeekTxIdByUser = getString(lastWeekKey)
324326 let txId = toBase58String(i.transactionId)
325327 let wtx = ((toString(week) + "_") + txId)
326328 let curWeekKey = keyCurWeekTxIdByUser(addr)
327329 if (isDefined(lastWeekTxIdByUser))
328330 then {
329331 let lastWeekTx = split(value(lastWeekTxIdByUser), "_")
330332 if ((lastWeekTx[0] == toString(week)))
331333 then [StringEntry(lastWeekKey, wtx), StringEntry(curWeekKey, wtx)]
332334 else if ((lastWeekTx[0] == toString((week - 1))))
333335 then [StringEntry(curWeekKey, wtx)]
334336 else {
335337 let curWeekTxIdByUser = getStringValue(curWeekKey)
336338 let curWeekTx = split(curWeekTxIdByUser, "_")
337339 if ((curWeekTx[0] == toString(week)))
338340 then [StringEntry(curWeekKey, wtx)]
339341 else [StringEntry(lastWeekKey, curWeekTxIdByUser), StringEntry(curWeekKey, wtx)]
340342 }
341343 }
342344 else [StringEntry(lastWeekKey, wtx), StringEntry(curWeekKey, wtx)]
343345 }
344346
345347
346348 func createNftDescrCustom (contKey,nftSerial,collection,name,descr,rarity,bonus,bonusType) = (((((((((((((((((((((((("{\"url\": \"https://waveslands.com\", " + "\"contentKey\": \"") + contKey) + "\", ") + "\"number\": ") + toString(nftSerial)) + ", ") + "\"collection\": \"") + collection) + "\", ") + "\"name\": \"") + name) + "\", ") + "\"description\": \"") + descr) + "\", ") + "\"rare\": \"") + rarity) + "\", ") + "\"bonus\": ") + toString(bonus)) + ", ") + "\"bonusType\": \"") + bonusType) + "\"}")
347349
348350
349351 func issueNftCustom (nameIdx,contKeyIdx,collIdx,rarityIdx,bonusPerc,descrIdx,bonusTypeIdx,addr) = {
350352 let nftSerial = valueOrElse(getInteger(keyNftTotalIssued), 0)
351353 let rarity = rarityNames[rarityIdx]
352354 let name = (((namez[nameIdx] + "-") + take(rarity, 1)) + toString(bonusPerc))
353355 let issue = Issue(name, createNftDescrCustom(contentKeyz[contKeyIdx], nftSerial, collectionz[collIdx], names[nameIdx], descriptions[descrIdx], rarityNames[rarityIdx], bonusPerc, bonusTypez[bonusTypeIdx]), 1, 0, false)
354356 let nftAssetId = calculateAssetId(issue)
355357 $Tuple2([issue, IntegerEntry(keyNftTotalIssued, (nftSerial + 1)), IntegerEntry(keyNftNumberByAssetId(toBase58String(nftAssetId)), nftSerial), ScriptTransfer(addr, 1, nftAssetId)], nftAssetId)
356358 }
357359
358360
359361 func stakeUnstakeAcresInternal (amt,address,bonusDelta) = if (if ((amt == 0))
360362 then (bonusDelta == 0)
361363 else false)
362364 then throw("Nothing to do")
363365 else {
364366 let wlgResult = invoke(wlgContract, "onStakeUnstakeLand", [address], nil)
365367 if ((wlgResult == wlgResult))
366368 then {
367369 let now = lastBlock.timestamp
368370 let timeKey = keyAcresStakedTimeByUser(address)
369371 let amountKey = keyAcresStakedAmtByUser(address)
370372 let oldAcresAmount = valueOrElse(getInteger(amountKey), 0)
371373 if (if ((0 > amt))
372374 then (0 > (oldAcresAmount + amt))
373375 else false)
374376 then throw(((("You have only " + fixedPoint(oldAcresAmount, 8)) + " ACRES staked, tried to unstake ") + fixedPoint(-(amt), 8)))
375377 else {
376378 let newAcresAmount = (oldAcresAmount + amt)
377379 let oldTotal = valueOrElse(getInteger(acresStakdTotalKey), 0)
378380 let userFpKey = keyFarmingPowerByUser(address)
379381 let oldFp = valueOrElse(getInteger(userFpKey), 0)
380382 let bonusKey = keyUserFullBonus(address)
381383 let oldBonus = valueOrElse(getInteger(acres2Contract, bonusKey), 0)
382384 if (if ((0 > bonusDelta))
383385 then (0 > (oldBonus + bonusDelta))
384386 else false)
385387 then throw((((("You have only " + fixedPoint(oldBonus, 4)) + "% bonus, and tried to unstake ") + fixedPoint(-(bonusDelta), 4)) + "%"))
386388 else {
387389 let $t068386937 = getFarmingPowerByAcresAndBonus(newAcresAmount, (oldBonus + bonusDelta))
388390 let newBonusedFp = $t068386937._1
389391 let ignored = $t068386937._2
390392 let oldTotalFp = valueOrElse(getInteger(totalFarmingPowerKey), 0)
391393 let acresActions = if ((amt == 0))
392394 then nil
393395 else [IntegerEntry(amountKey, newAcresAmount), IntegerEntry(acresStakdTotalKey, (oldTotal + amt))]
394396 $Tuple2(((((acresActions :+ IntegerEntry(timeKey, lastBlock.timestamp)) :+ IntegerEntry(userFpKey, newBonusedFp)) :+ IntegerEntry(totalFarmingPowerKey, ((oldTotalFp + newBonusedFp) - oldFp))) :+ IntegerEntry(bonusKey, (oldBonus + bonusDelta))), wlgResult)
395397 }
396398 }
397399 }
398400 else throw("Strict value is not equal to itself.")
399401 }
400402
401403
402404 func getWlgPrice (usdtBalanceCorrection) = {
403405 let issuedAmount = valueOrErrorMessage(getInteger(wlgContract, wlgIssuedAmtKey), "WLGOLD is not issued yet")
404406 let wlgUsd = assetBalance(wlgContract, usdtAssetId)
405407 let acres2Usd = (assetBalance(acres2Contract, usdtAssetId) - usdtBalanceCorrection)
406408 let investFundTotal = (assetBalance(investFundContract, usdtAssetId) + valueOrElse(getInteger(investFundContract, zbIssuedAmtKey), 0))
407409 let totalFundsUsd = ((acres2Usd + wlgUsd) + investFundTotal)
408410 fraction(totalFundsUsd, MULT8, issuedAmount)
409411 }
410412
411413
412414 func getSwapLimitAcres () = {
413415 let wlgUsd = assetBalance(wlgContract, usdtAssetId)
414416 let acres2Usd = assetBalance(this, usdtAssetId)
415417 let investFundTotal = (assetBalance(investFundContract, usdtAssetId) + valueOrElse(getInteger(investFundContract, zbIssuedAmtKey), 0))
416418 let defaultLimit = (((acres2Usd + wlgUsd) + investFundTotal) / ONE_PERCENT_DIVISOR)
417419 let lastLimitLeft = valueOrElse(getInteger(keyLastLimitLeft), defaultLimit)
418420 let lastTime = valueOrElse(getInteger(keyLastAcresSellTime), 0)
419421 let now = lastBlock.timestamp
420422 let currentLimit = (lastLimitLeft + fraction(defaultLimit, (now - lastTime), DAY_MILLIS))
421423 let limitLeftUsdt = min([currentLimit, defaultLimit])
422424 $Tuple2(IntegerEntry(keyLastAcresSellTime, now), limitLeftUsdt)
423425 }
424426
425427
426428 let arkOracle = addressFromStringValue("3PJgZ6AK1WVCpdCmEZpesHmaKvrQDdXG5og")
427429
428430 let incubator = valueOrElse(getString(arkOracle, "static_incubatorAddress"), "")
429431
430432 let breeder = valueOrElse(getString(arkOracle, "static_breederAddress"), "")
431433
432434 let turtleIncubator = valueOrElse(getString(arkOracle, "static_turtleIncubatorAddress"), "")
433435
434436 let turtleBreeder = valueOrElse(getString(arkOracle, "static_turtleBreederAddress"), "")
435437
436438 let canineIncubator = valueOrElse(getString(arkOracle, "static_canineIncubatorAddress"), "")
437439
438440 let canineBreeder = valueOrElse(getString(arkOracle, "static_canineBreederAddress"), "")
439441
440442 let felineIncubator = valueOrElse(getString(arkOracle, "static_felineIncubatorAddress"), "")
441443
442444 let felineBreeder = valueOrElse(getString(arkOracle, "static_felineBreederAddress"), "")
443445
444446 let mutantBreeder = valueOrElse(getString(arkOracle, "static_mutantIncubatorAddress"), "")
445447
446448 func isArkimalIssued (nfo) = {
447449 let issuer = toString(nfo.issuer)
448450 if (if (if (if (if (if (if (if (if (if ((chain == base58'2T'))
449451 then (issuer == oldStakingContractStr)
450452 else false)
451453 then true
452454 else (issuer == incubator))
453455 then true
454456 else (issuer == breeder))
455457 then true
456458 else (issuer == turtleIncubator))
457459 then true
458460 else (issuer == turtleBreeder))
459461 then true
460462 else (issuer == canineIncubator))
461463 then true
462464 else (issuer == canineBreeder))
463465 then true
464466 else (issuer == felineIncubator))
465467 then true
466468 else (issuer == felineBreeder))
467469 then nfo.name
468470 else if ((issuer == mutantBreeder))
469471 then nfo.description
470472 else ""
471473 }
472474
473475
474476 func bonusByDescription (descr) = if (!(contains(descr, "\"bonusType\": \"FarmPower\"")))
475477 then throw(("NFT is not supported: " + descr))
476478 else {
477479 let bonusStr = split_4C(split_4C(descr, "\"bonus\":")[1], ",")[0]
478480 parseIntValue(drop(bonusStr, (valueOrElse(lastIndexOf(bonusStr, " "), -1) + 1)))
479481 }
480482
481483
482484 func rarityIdxByDescriprion (descr) = if (!(contains(descr, "\"rare\"")))
483485 then throw(("NFT is not supported: " + descr))
484486 else {
485487 let rarityStr = split_4C(split_4C(split_4C(descr, "\"rare\"")[1], ",")[0], "\"")[1]
486488 value(indexOf(rarityNames, rarityStr))
487489 }
488490
489491
490492 func stakeNftInternal (addr,assetIdStr,bonus6,userNumKey,totalNumKey,limit) = {
491493 let nftNumber = valueOrElse(getInteger(userNumKey), 0)
492494 if ((nftNumber >= limit))
493495 then throw((("You can stake max " + toString(limit)) + " of such NFTs"))
494496 else {
495497 let $t01175711833 = stakeUnstakeAcresInternal(0, addr, bonus6)
496498 let actions = $t01175711833._1
497499 let wlgClaimedAmount = $t01175711833._2
498500 $Tuple2((((actions :+ IntegerEntry(userNumKey, (nftNumber + 1))) :+ IntegerEntry(totalNumKey, (valueOrElse(getInteger(totalNumKey), 0) + 1))) :+ IntegerEntry(keyStakedTimeByAssetIdAndOwner(assetIdStr, addr), lastBlock.timestamp)), wlgClaimedAmount)
499501 }
500502 }
501503
502504
503505 @Callable(i)
504506 func saveLastTx () = if (!(containsElement([wlgContract], i.caller)))
505507 then throw("Access denied")
506508 else $Tuple2(prolog(i), 42)
507509
508510
509511
510512 @Callable(i)
511513 func constructorV1 (rest2Addr,oldAcrContract) = if ((i.caller != this))
512514 then throw("Permission denied")
513515 else {
514516 let oldAcrContAddr = addressFromStringValue(oldAcrContract)
515517 [IntegerEntry(acresIssuedAmountKey, getIntegerValue(oldAcrContAddr, acresIssuedAmountKey)), BinaryEntry(acresAssetIdKey, getBinaryValue(oldAcrContAddr, acresAssetIdKey)), StringEntry(keyRest2Address(), rest2Addr), StringEntry(oldAcresContractKey, oldAcrContract)]
516518 }
517519
518520
519521
520522 @Callable(i)
521523 func setBlocked (isBlocked) = if ((i.caller != this))
522524 then throw("permission denied")
523525 else [BooleanEntry(keyBlocked(), isBlocked)]
524526
525527
526528
527529 @Callable(i)
528530 func unstakeAcres (amount) = {
529531 let prologActions = prolog(i)
530532 if ((0 >= amount))
531533 then throw("Amount should be positive")
532534 else {
533535 let address = toString(i.caller)
534536 if ((size(i.payments) != 0))
535537 then throw("No payments required")
536538 else {
537539 let arbReleaseTime = (valueOrElse(getInteger(wlgContract, keyLastWlgTradeTimeByUser(address)), 0) + arbitrageDelay)
538540 if ((arbReleaseTime > lastBlock.timestamp))
539541 then throw(("You traded some WLGOLD, cannot unstake until " + toString(arbReleaseTime)))
540542 else {
541543 let $t01340713487 = stakeUnstakeAcresInternal(-(amount), address, 0)
542544 let actions = $t01340713487._1
543545 let wlgClaimedAmount = $t01340713487._2
544546 $Tuple2(((actions :+ ScriptTransfer(i.caller, amount, acresAssetId)) ++ prologActions), wlgClaimedAmount)
545547 }
546548 }
547549 }
548550 }
549551
550552
551553
552554 @Callable(i)
553555 func stakeAcres () = {
554556 let prologActions = prolog(i)
555557 let address = toString(i.caller)
556558 if ((size(i.payments) != 1))
557559 then throw("exactly 1 payment must be attached")
558560 else {
559561 let pmt = i.payments[0]
560562 let amt = pmt.amount
561563 if (if (!(isDefined(pmt.assetId)))
562564 then true
563565 else (value(pmt.assetId) != acresAssetId))
564566 then throw("ACRES payments only!")
565567 else {
566568 let $t01393814014 = stakeUnstakeAcresInternal(amt, address, 0)
567569 let actions = $t01393814014._1
568570 let wlgClaimedAmount = $t01393814014._2
569571 $Tuple2((actions ++ prologActions), wlgClaimedAmount)
570572 }
571573 }
572574 }
573575
574576
575577
576578 @Callable(i)
577579 func buyAcres () = {
578580 let prologActions = prolog(i)
579581 if ((size(i.payments) != 1))
580582 then throw("exactly 1 payment must be attached")
581583 else {
582584 let pmt = i.payments[0]
583585 let usdtAmount = pmt.amount
584586 if (if (!(isDefined(pmt.assetId)))
585587 then true
586588 else (value(pmt.assetId) != usdtAssetId))
587589 then throw("USDT payments only!")
588590 else if ((MULT6 > usdtAmount))
589591 then throw((("Min payment should be " + fixedPoint(MULT6, 6)) + " USDT"))
590592 else {
591593 let acresAmount = (usdtAmount * USDT2ACRES_MULTIPLIER)
592594 let wlgAmount = fraction(usdtAmount, MULT8, getWlgPrice(usdtAmount))
593595 let oldAcresAddress = addressFromStringValue(getStringValue(oldAcresContractKey))
594596 let req = invoke(oldAcresAddress, "requestAcresCallback", [acresAmount], nil)
595597 if ((req == req))
596598 then {
597599 let wlgRemain = asInt(invoke(wlgContract, "burnWlgold", [wlgAmount], nil))
598600 $Tuple2(([ScriptTransfer(i.caller, acresAmount, acresAssetId)] ++ prologActions), wlgRemain)
599601 }
600602 else throw("Strict value is not equal to itself.")
601603 }
602604 }
603605 }
604606
605607
606608
607609 @Callable(i)
608610 func buyAcresREADONLY (usdtAmount) = {
609611 let acresAmount = (usdtAmount * USDT2ACRES_MULTIPLIER)
610612 let wlgToBurn = fraction(usdtAmount, MULT8, getWlgPrice(usdtAmount))
611613 $Tuple2(nil, [acresAmount, MULT6, acresAmount, wlgToBurn])
612614 }
613615
614616
615617
616618 @Callable(i)
617619 func sellAcres () = {
618620 let prologActions = prolog(i)
619621 if ((size(i.payments) != 1))
620622 then throw("exactly 1 payment must be attached")
621623 else {
622624 let pmt = i.payments[0]
623625 let acresAmount = pmt.amount
624626 if (if (!(isDefined(pmt.assetId)))
625627 then true
626628 else (value(pmt.assetId) != acresAssetId))
627629 then throw("ACRES payments only!")
628630 else if ((MULT7 > acresAmount))
629631 then throw((("Min payment should be " + fixedPoint(MULT7, 8)) + " ACRES"))
630632 else {
631633 let addr = toString(i.caller)
632634 let $t01587115919 = getSwapLimitAcres()
633635 let limitAction = $t01587115919._1
634636 let maxUsdt = $t01587115919._2
635637 let maxAcres = (maxUsdt * USDT2ACRES_MULTIPLIER)
636638 if ((acresAmount > maxAcres))
637639 then throw((("You can sell max " + fixedPoint(maxAcres, 8)) + " ACRES"))
638640 else {
639641 let usdtAmount = ((acresAmount / USDT2ACRES_MULTIPLIER) / 2)
640642 $Tuple2(([limitAction, IntegerEntry(keyLastLimitLeft, (maxUsdt - usdtAmount)), ScriptTransfer(i.caller, usdtAmount, usdtAssetId)] ++ prologActions), usdtAmount)
641643 }
642644 }
643645 }
644646 }
645647
646648
647649
648650 @Callable(i)
649651 func sellAcresREADONLY (address,acresAmount) = {
650652 let $t01641516463 = getSwapLimitAcres()
651653 let limitAction = $t01641516463._1
652654 let maxUsdt = $t01641516463._2
653655 let usdtAmount = ((acresAmount / USDT2ACRES_MULTIPLIER) / 2)
654656 $Tuple2(nil, [usdtAmount, MULT7, (maxUsdt * USDT2ACRES_MULTIPLIER), 0])
655657 }
656658
657659
658660
659661 @Callable(i)
660662 func convertOldStakes () = if ((i.caller != this))
661663 then throw("Temporarily disabled")
662664 else {
663665 let address = toString(i.caller)
664666 if ((size(i.payments) != 0))
665667 then throw("No payments required")
666668 else {
667669 let oldAcresAddress = addressFromStringValue(getStringValue(oldAcresContractKey))
668670 let amount = valueOrElse(getInteger(oldAcresAddress, keyAcresStakedAmtByUser(address)), 0)
669671 let gotAcres0 = if ((amount > 0))
670672 then asTuple2Ints(invoke(oldAcresAddress, "unstakeAcresCallback", [amount, address], nil))
671673 else $Tuple2(0, 0)
672674 let oldStakingAddress = addressFromStringValue(oldStakingContractStr)
673675 let landsStr = getString(oldStakingAddress, keyStakedLandsByOwner(address))
674676 let landsResult = if (isDefined(landsStr))
675677 then {
676678 let lands = split_51C(value(landsStr), "_")
677679 func oneLand (acc,landAssetId) = if ((landAssetId == ""))
678680 then throw("landAssetId is required")
679681 else {
680682 let r = asTuple5Ints(invoke(oldStakingAddress, "unstakeLandCallback", [landAssetId, address], nil))
681683 $Tuple4((acc._1 + r._1), (acc._2 + r._2), (acc._3 + r._3), (acc._4 + r._4))
682684 }
683685
684686 let rr = {
685687 let $l = lands
686688 let $s = size($l)
687689 let $acc0 = $Tuple4(0, 0, 0, 0)
688690 func $f0_1 ($a,$i) = if (($i >= $s))
689691 then $a
690692 else oneLand($a, $l[$i])
691693
692694 func $f0_2 ($a,$i) = if (($i >= $s))
693695 then $a
694696 else throw("List size exceeds 100")
695697
696698 $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)
697699 }
698700 let finalize = invoke(oldStakingAddress, "unstakeLandsFinalizeCallback", [address], nil)
699701 if ((finalize == finalize))
700702 then {
701703 let req = invoke(oldAcresAddress, "requestAcresCallback", [(((rr._1 + rr._2) + rr._3) + rr._4)], nil)
702704 if ((req == req))
703705 then {
704706 let $t01833218470 = issueNftCustom(idxNameShovel, idxKeyP, idxCollDig, idxRarityP, 3, idxDescrShovel, idxBonusTypeFp, i.caller)
705707 let nftActions = $t01833218470._1
706708 let nftAssetId = $t01833218470._2
707709 $Tuple5(rr._1, rr._2, rr._3, rr._4, nftActions)
708710 }
709711 else throw("Strict value is not equal to itself.")
710712 }
711713 else throw("Strict value is not equal to itself.")
712714 }
713715 else $Tuple5(0, 0, 0, 0, nil)
714716 let duckAssetId = valueOrElse(getString(oldStakingAddress, keyStakedDuckByOwner(address)), "")
715717 let duckResult = if ((duckAssetId != ""))
716718 then asTuple3Ints(invoke(oldStakingAddress, "unstakeDuckCallback", [duckAssetId, address], nil))
717719 else $Tuple3(0, 0, 0)
718720 let x = stakeUnstakeAcresInternal((((((((gotAcres0._1 + landsResult._1) + landsResult._2) + landsResult._3) + landsResult._4) + duckResult._1) + duckResult._2) + duckResult._3), address, 0)
719721 $Tuple2((landsResult._5 ++ x._1), x._2)
720722 }
721723 }
722724
723725
724726
725727 @Callable(i)
726728 func unstakeLandsREADONLY (address) = {
727729 let oldStakingAddress = addressFromStringValue(oldStakingContractStr)
728730 let landsStr = getString(oldStakingAddress, keyStakedLandsByOwner(address))
729731 let landsResult = if (isDefined(landsStr))
730732 then {
731733 let lands = split_51C(value(landsStr), "_")
732734 func oneLand (acc,landAssetId) = if ((landAssetId == ""))
733735 then throw("landAssetId is required")
734736 else {
735737 let r = asTuple4Ints(invoke(oldStakingAddress, "unstakeLandREADONLY", [landAssetId, address], nil))
736738 $Tuple4((acc._1 + r._1), (acc._2 + r._2), (acc._3 + r._3), (acc._4 + r._4))
737739 }
738740
739741 let $l = lands
740742 let $s = size($l)
741743 let $acc0 = $Tuple4(0, 0, 0, 0)
742744 func $f0_1 ($a,$i) = if (($i >= $s))
743745 then $a
744746 else oneLand($a, $l[$i])
745747
746748 func $f0_2 ($a,$i) = if (($i >= $s))
747749 then $a
748750 else throw("List size exceeds 100")
749751
750752 $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)
751753 }
752754 else $Tuple4(0, 0, 0, 0)
753755 $Tuple2(nil, landsResult)
754756 }
755757
756758
757759
758760 @Callable(i)
759761 func stakeAcresCallback (addr) = if ((i.caller != addressFromStringValue(oldStakingContractStr)))
760762 then throw("Permission denied")
761763 else stakeUnstakeAcresInternal(i.payments[0].amount, addr, 0)
762764
763765
764766
765767 @Callable(i)
766768 func simulateStakeAcresREADONLY (address,addedAmount) = {
767769 let amountKey = keyAcresStakedAmtByUser(address)
768770 let newAcresAmount = (valueOrElse(getInteger(amountKey), 0) + addedAmount)
769771 let oldTotal = valueOrElse(getInteger(acresStakdTotalKey), 0)
770772 let userFpKey = keyFarmingPowerByUser(address)
771773 let oldFp = valueOrElse(getInteger(userFpKey), 0)
772774 let userBonus = valueOrElse(getInteger(acres2Contract, keyUserFullBonus(address)), 0)
773775 let $t02063520722 = getFarmingPowerByAcresAndBonus(newAcresAmount, userBonus)
774776 let newBonusedFp = $t02063520722._1
775777 let ignored = $t02063520722._2
776778 let oldTotalFp = valueOrElse(getInteger(totalFarmingPowerKey), 0)
777779 let newTotalFp = ((oldTotalFp + newBonusedFp) - oldFp)
778780 $Tuple2(nil, [oldFp, newBonusedFp, oldTotalFp, newTotalFp])
779781 }
780782
781783
782784
783785 @Callable(i)
784786 func issuePickC1 (forAddress) = if ((i.caller != wlgContract))
785787 then throw("Permission denied")
786788 else issueNftCustom(idxNamePickaxe, idxKeyC, idxCollDig, idxRarityC, 1, idxDescrPickaxe, idxBonusTypeFp, addressFromStringValue(forAddress))
787789
788790
789791
790792 @Callable(i)
791793 func stakeNFT () = {
792794 let prologActions = prolog(i)
793795 if ((size(i.payments) != 1))
794796 then throw("Exactly one payment required")
795797 else {
796798 let pmt = value(i.payments[0])
797799 if ((pmt.amount != 1))
798800 then throw("NFT token should be attached as payment")
799801 else {
800802 let assetId = value(pmt.assetId)
801803 let asset = value(assetInfo(assetId))
802804 let assetIdStr = toBase58String(assetId)
803805 let addr = toString(i.caller)
804806 let nftsKey = keyStakedNFTsByOwner(addr)
805807 let nftsStr = getString(nftsKey)
806808 let nfts = if (isDefined(nftsStr))
807809 then split_4C(value(nftsStr), "_")
808810 else nil
809811 if (containsElement(nfts, assetIdStr))
810812 then throw(("Your staked NFTs already contain " + assetIdStr))
811813 else if ((size(nfts) >= MAX_NFTS_STAKED_BY_USER))
812814 then throw((("Your already staked max (" + toString(MAX_NFTS_STAKED_BY_USER)) + ") NFTs"))
813815 else {
814816 let listAction = StringEntry(nftsKey, makeString_2C((nfts :+ assetIdStr), "_"))
815817 if ((asset.issuer == this))
816818 then {
817819 let $t02213122321 = stakeNftInternal(addr, assetIdStr, (bonusByDescription(value(asset.description)) * 10000), keyUserWlNftNumber(addr), keyWlNftTotalStaked, MAX_WL_NFTS)
818820 let actions = $t02213122321._1
819821 let wlgClaimedAmount = $t02213122321._2
820822 $Tuple2(((prologActions ++ actions) :+ listAction), wlgClaimedAmount)
821823 }
822824 else if ((isArkimalIssued(asset) == ""))
823825 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
824826 else {
825827 let $t02250222653 = stakeNftInternal(addr, assetIdStr, ARK_NFT_BONUS, keyUserArkNftNumber(addr), keyArkNftTotalStaked, MAX_ARK_NFTS)
826828 let actions = $t02250222653._1
827829 let wlgClaimedAmount = $t02250222653._2
828830 $Tuple2(((prologActions ++ actions) :+ listAction), wlgClaimedAmount)
829831 }
830832 }
831833 }
832834 }
833835 }
834836
835837
836838
837839 @Callable(i)
838840 func unstakeNFT (assetIdStr) = {
839841 let prologActions = prolog(i)
840842 if ((size(i.payments) != 0))
841843 then throw("No payments required")
842844 else {
843845 let assetId = fromBase58String(assetIdStr)
844846 let addr = toString(i.caller)
845847 let asset = value(assetInfo(assetId))
846848 let timeKey = keyStakedTimeByAssetIdAndOwner(assetIdStr, addr)
847849 if (!(isDefined(getInteger(timeKey))))
848850 then throw((("NFT " + asset.name) + " is not staked by you"))
849851 else {
850852 let nftsKey = keyStakedNFTsByOwner(addr)
851853 let nfts = split_4C(valueOrElse(getString(nftsKey), ""), "_")
852854 let idx = indexOf(nfts, assetIdStr)
853855 if (!(isDefined(idx)))
854856 then throw(("Your staked NFTs don't contain " + assetIdStr))
855857 else {
856858 let listAction = if ((size(nfts) > 1))
857859 then StringEntry(nftsKey, makeString_2C(removeByIndex(nfts, value(idx)), "_"))
858860 else DeleteEntry(nftsKey)
859861 let isWL = (asset.issuer == this)
860862 if (isWL)
861863 then {
862864 let wlNftNumber = valueOrElse(getInteger(keyUserWlNftNumber(addr)), 0)
863865 let bonusVal = (bonusByDescription(value(asset.description)) * 10000)
864866 let $t02381823897 = stakeUnstakeAcresInternal(0, addr, -(bonusVal))
865867 let actions = $t02381823897._1
866868 let wlgClaimedAmount = $t02381823897._2
867869 $Tuple2(((((((actions :+ listAction) :+ IntegerEntry(keyUserWlNftNumber(addr), (wlNftNumber - 1))) :+ IntegerEntry(keyWlNftTotalStaked, max([0, (valueOrElse(getInteger(keyWlNftTotalStaked), 0) - 1)]))) :+ DeleteEntry(keyStakedTimeByAssetIdAndOwner(toBase58String(assetId), addr))) :+ ScriptTransfer(i.caller, 1, assetId)) ++ prologActions), wlgClaimedAmount)
868870 }
869871 else {
870872 let arkimalName = isArkimalIssued(asset)
871873 if ((arkimalName == ""))
872874 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
873875 else {
874876 let arkNftNumber = valueOrElse(getInteger(keyUserArkNftNumber(addr)), 0)
875877 let $t02455724641 = stakeUnstakeAcresInternal(0, addr, -(ARK_NFT_BONUS))
876878 let actions = $t02455724641._1
877879 let wlgClaimedAmount = $t02455724641._2
878880 $Tuple2((((((actions :+ listAction) :+ IntegerEntry(keyUserArkNftNumber(addr), (arkNftNumber - 1))) :+ DeleteEntry(keyStakedTimeByAssetIdAndOwner(toBase58String(assetId), addr))) :+ ScriptTransfer(i.caller, 1, assetId)) ++ prologActions), wlgClaimedAmount)
879881 }
880882 }
881883 }
882884 }
883885 }
884886 }
885887
886888
887889
888890 @Callable(i)
889891 func exchangeNFTs () = {
890892 let prologActions = prolog(i)
891893 if ((3 > size(i.payments)))
892894 then throw("Min one WLGOLD and 2 NFT payments allowed")
893- else if ((size(i.payments) > 6))
894- then throw("Max one WLGOLD and 5 NFT payments allowed")
895+ else if ((size(i.payments) > 10))
896+ then throw("Max one WLGOLD and 9 NFT payments allowed")
895897 else {
896898 let addr = toString(i.caller)
897899 func addUp (acc,pmt) = {
898900 let assetId = valueOrErrorMessage(pmt.assetId, "WAVES payments not allowed")
899901 if ((assetId == wlgAssetId))
900902 then $Tuple4((acc._1 + pmt.amount), acc._2, acc._3, acc._4)
901903 else {
902904 let asset = value(assetInfo(assetId))
903905 if ((asset.issuer != this))
904906 then throw("Only WL-issued NFTs allowed")
905907 else {
906908 let rarityIx = rarityIdxByDescriprion(value(asset.description))
907909 if (if ((acc._4 > 0))
908910 then (rarityIx != acc._4)
909911 else false)
910912 then throw("You can exchange only NFTs of the same rarity")
911913 else {
912914 let bonusPerc = bonusByDescription(value(asset.description))
913915 $Tuple4(acc._1, (acc._2 + bonusPerc), (acc._3 :+ Burn(assetId, 1)), rarityIx)
914916 }
915917 }
916918 }
917919 }
918920
919- let $t02603026245 = {
921+ let $t02603126247 = {
920922 let $l = i.payments
921923 let $s = size($l)
922924 let $acc0 = $Tuple4(0, 0, nil, -1)
923925 func $f0_1 ($a,$i) = if (($i >= $s))
924926 then $a
925927 else addUp($a, $l[$i])
926928
927929 func $f0_2 ($a,$i) = if (($i >= $s))
928930 then $a
929- else throw("List size exceeds 6")
931+ else throw("List size exceeds 10")
930932
931- $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
933+ $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)
932934 }
933- let wlgFee = $t02603026245._1
934- let totalBonus = $t02603026245._2
935- let burnActions = $t02603026245._3
936- let rarityIdx = $t02603026245._4
935+ let wlgFee = $t02603126247._1
936+ let totalBonus = $t02603126247._2
937+ let burnActions = $t02603126247._3
938+ let rarityIdx = $t02603126247._4
937939 let newRarityIdx = if ((rarityIdx == idxRarityC))
938940 then if ((rarityThresholds[idxThresholdC] > totalBonus))
939941 then idxRarityC
940942 else if ((rarityThresholds[idxThresholdU] > totalBonus))
941943 then idxRarityU
942944 else throw((("You can advance only one level of rarity, max total bonus " + toString(rarityThresholds[idxThresholdU])) + "%"))
943945 else if ((rarityIdx == idxRarityU))
944946 then if ((rarityThresholds[idxThresholdU] > totalBonus))
945947 then idxRarityU
946948 else if ((rarityThresholds[idxThresholdL] > totalBonus))
947949 then idxRarityL
948950 else throw((("You can advance only one level of rarity, max total bonus " + toString(rarityThresholds[idxThresholdL])) + "%"))
949951 else if ((rarityIdx == idxRarityL))
950952 then if ((rarityThresholds[idxThresholdL] > totalBonus))
951953 then idxRarityL
952954 else idxRarityE
953955 else if ((rarityIdx == idxRarityE))
954956 then idxRarityE
955957 else if ((rarityIdx == idxRarityP))
956958 then throw("You can't exchange NFTs of this rarity")
957959 else throw("Unknown rarity")
958- let minWlgFee = fraction(totalBonus, MULT6, getWlgPrice(0))
960+ let minWlgFee = fraction(totalBonus, MULT14, getWlgPrice(0))
959961 let change = (wlgFee - minWlgFee)
960962 let forTeam = (minWlgFee / 2)
961963 let wlgRemain = asInt(invoke(wlgContract, "burnWlgold", [(minWlgFee - forTeam)], nil))
962964 if ((0 > change))
963965 then throw((("You need to attach " + fixedPoint(minWlgFee, 8)) + " WLGOLD as fee"))
964966 else {
965967 let changeActions = if ((change > 0))
966968 then [ScriptTransfer(i.caller, change, wlgAssetId)]
967969 else nil
968- let $t02778127942 = issueNftCustom(idxNamePickaxe, newRarityIdx, idxCollDig, newRarityIdx, totalBonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
969- let issueNftActions = $t02778127942._1
970- let nftAssetId = $t02778127942._2
970+ let $t02778427945 = issueNftCustom(idxNamePickaxe, newRarityIdx, idxCollDig, newRarityIdx, totalBonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
971+ let issueNftActions = $t02778427945._1
972+ let nftAssetId = $t02778427945._2
971973 let burned = size(burnActions)
972974 let burnCounterActions = if ((burned == 0))
973975 then nil
974976 else [IntegerEntry(keyNftTotalBurned, (valueOrElse(getInteger(keyNftTotalBurned), 0) + burned))]
975977 $Tuple2((((((issueNftActions ++ burnActions) ++ burnCounterActions) ++ prologActions) ++ changeActions) :+ ScriptTransfer(addressFromStringValue(getStringValue(wlgContract, teamAddrKey)), forTeam, wlgAssetId)), $Tuple2(nftAssetId, wlgRemain))
976978 }
977979 }
978980 }
979981
980982
981983
982984 @Callable(i)
983985 func openNftChest () = if ((i.caller != this))
984986 then throw("Permission denied")
985987 else $Tuple2(nil, 0)
986988
987989

github/deemru/w8io/026f985 
111.96 ms