tx · 8eSJCWgEJfRnCYctmbGMCRkmqG78RysEbLFcwPJsKuQE

3N8y4wxX3JC4TdrCJBXX16SjWf6X256hrep:  -0.05700000 Waves

2023.10.09 01:16 [2790248] smart account 3N8y4wxX3JC4TdrCJBXX16SjWf6X256hrep > SELF 0.00000000 Waves

{ "type": 13, "id": "8eSJCWgEJfRnCYctmbGMCRkmqG78RysEbLFcwPJsKuQE", "fee": 5700000, "feeAssetId": null, "timestamp": 1696803421734, "version": 2, "chainId": 84, "sender": "3N8y4wxX3JC4TdrCJBXX16SjWf6X256hrep", "senderPublicKey": "7v5L7QkXxfkirALdyqmox38QCsa9jtfAtgUfHTh34eWq", "proofs": [ "2Xd95K16bbkJDtSDNa8Ns2b25pn9emxzx7y9dno5sWDGvxE7dWu1qyeoYQij4TT6NdhavpSo5TjpiuvHxgVF5oHh" ], "script": "base64:BgKGAQgCEgQKAggYEgMKAQgSBAoCERESBAoCCAESAwoBARIFCgMREQgSBgoEEREICBIECgIRERIFCgMREQgSBgoEEREICBIDCgEREgMKARESBAoCEQgSBAoCAQESBAoCCAgSBQoDCAgIEgQKAggIEgUKAwgICBIDCgEREgMKAQgSAwoBARIDCgEIZwAHeHBUcmFkZQCQTgAHeHBDcmFmdACQTgAKeHBTZWxsVG9FcwCQTgAGeHBTaG9wAJBOAApMQU5EUFJFRklYAgRMQU5EAAZOVU1SRVMABgAPREVGQVVMVExPQ0FUSU9OAg9BZnJpY2FfRl9BZnJpY2EAEFJFU09VUkNFUFJJQ0VNSU4A1bUCAA1FU01BWFBBQ0tBR0VTAAoACUVTQlVZQ09FRgAEABVNSU5fVVNEVF9GRUVfREVMSVZFUlkA0IYDABdNSU5fVVNEVF9GRUVfREVMSVZFUlkxNQD4yQQAFVVTRFQyQUNSRVNfTVVMVElQTElFUgAKAAhyZXNUeXBlcwkAzAgCAgNPaWwJAMwIAgIDT3JlCQDMCAICBFdvb2QJAMwIAgIEU2FuZAkAzAgCAgRDbGF5CQDMCAICB09yZ2FuaWM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lAoCCQDMCAIJAQxJbnRlZ2VyRW50cnkCBRFkZWxpdmVyeUxvY2tlZEtleQUJbmV3QW1vdW50BQNuaWwFCW5ld0Ftb3VudAFpARJzZW5kRGVsaXZlcnlSZXdhcmQBBGFkZHIDCQECIT0CCAUBaQZjYWxsZXIFD3N0YWtpbmdDb250cmFjdAkAAgECEVBlcm1pc3Npb24gZGVuaWVkBAlmdW5kVG90YWwJAQt2YWx1ZU9yRWxzZQIJAJ8IAQUPZGVsaXZlcnlGdW5kS2V5AAAEC2xvY2tlZFRvdGFsCQELdmFsdWVPckVsc2UCCQCfCAEFEWRlbGl2ZXJ5TG9ja2VkS2V5AAAEC2FjcmVzQW1vdW50CQBoAgUVTUlOX1VTRFRfRkVFX0RFTElWRVJZBRVVU0RUMkFDUkVTX01VTFRJUExJRVIEC2FjcmVzUmVzdWx0CQD8BwQFDWFjcmVzQ29udHJhY3QCCXNlbmRBY3JlcwkAzAgCBQRhZGRyCQDMCAIFC2FjcmVzQW1vdW50BQNuaWwFA25pbAkAlAoCCQDMCAIJAQxJbnRlZ2VyRW50cnkCBQ9kZWxpdmVyeUZ1bmRLZXkJAGUCBQlmdW5kVG90YWwFFU1JTl9VU0RUX0ZFRV9ERUxJVkVSWQkAzAgCCQEMSW50ZWdlckVudHJ5AgURZGVsaXZlcnlMb2NrZWRLZXkJAGUCBQtsb2NrZWRUb3RhbAUVTUlOX1VTRFRfRkVFX0RFTElWRVJZBQNuaWwFC2FjcmVzUmVzdWx0AGaSC64=", "height": 2790248, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CFCvr7Be2F22wqM8hoaisFpj9fxdubE8Kyu98mxqVrAB Next: 7ULUxtdwr4y9e2TFrzHWyK3ibTrU538Y1pBkwpGNRwpy Diff:
OldNewDifferences
2424 let MIN_USDT_FEE_DELIVERY = 50000
2525
2626 let MIN_USDT_FEE_DELIVERY15 = 75000
27+
28+let USDT2ACRES_MULTIPLIER = 10
2729
2830 let resTypes = ["Oil", "Ore", "Wood", "Sand", "Clay", "Organic"]
2931
15971599 else {
15981600 let fundTotal = valueOrElse(getInteger(deliveryFundKey), 0)
15991601 let lockedTotal = valueOrElse(getInteger(deliveryLockedKey), 0)
1600- $Tuple2([ScriptTransfer(addressFromStringValue(addr), MIN_USDT_FEE_DELIVERY, usdtAssetId), IntegerEntry(deliveryFundKey, (fundTotal - MIN_USDT_FEE_DELIVERY)), IntegerEntry(deliveryLockedKey, (lockedTotal - MIN_USDT_FEE_DELIVERY))], MIN_USDT_FEE_DELIVERY)
1602+ let acresAmount = (MIN_USDT_FEE_DELIVERY * USDT2ACRES_MULTIPLIER)
1603+ let acresResult = invoke(acresContract, "sendAcres", [addr, acresAmount], nil)
1604+ $Tuple2([IntegerEntry(deliveryFundKey, (fundTotal - MIN_USDT_FEE_DELIVERY)), IntegerEntry(deliveryLockedKey, (lockedTotal - MIN_USDT_FEE_DELIVERY))], acresResult)
16011605 }
16021606
16031607
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let xpTrade = 10000
55
66 let xpCraft = 10000
77
88 let xpSellToEs = 10000
99
1010 let xpShop = 10000
1111
1212 let LANDPREFIX = "LAND"
1313
1414 let NUMRES = 6
1515
1616 let DEFAULTLOCATION = "Africa_F_Africa"
1717
1818 let RESOURCEPRICEMIN = 39637
1919
2020 let ESMAXPACKAGES = 10
2121
2222 let ESBUYCOEF = 4
2323
2424 let MIN_USDT_FEE_DELIVERY = 50000
2525
2626 let MIN_USDT_FEE_DELIVERY15 = 75000
27+
28+let USDT2ACRES_MULTIPLIER = 10
2729
2830 let resTypes = ["Oil", "Ore", "Wood", "Sand", "Clay", "Organic"]
2931
3032 let matTypes = ["Fuel", "Metal", "Plank", "Glass", "Plastic", "Protein"]
3133
3234 let prodTypes = ["First Aid Kit L1", "First Aid Kit L2", "First Aid Kit L3", "Backpack L1", "Backpack L2", "Backpack L3", "Food Ration L1", "Food Ration L2", "Food Ration L3", "Jet Pack L1", "Jet Pack L2", "Jet Pack L3", "Shield L1", "Shield L2", "Shield L3", "Mine L1", "Mine L2", "Mine L3", "Trap L1", "Trap L2", "Trap L3"]
3335
3436 let continents = ["Americas", "Europe", "Asia", "Africa", "Oceania"]
3537
3638 let COEFF2MAT = 10000000
3739
3840 let productionMatrix = ["8_8_8_17_17_42_12_0_30_0,0,0,0,0,0,0_", "8_8_8_17_17_42_24_0_60_0,0,5,2,0,0,0_", "8_8_8_17_17_42_36_0_120_0,0,10,4,0,0,0_", "8_19_19_8_27_19_26_1_20_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_52_1_40_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_78_1_80_0,0,0,0,0,0,0_001", "8_8_8_8_8_60_13_2_2_0,0,0,0,0,0,0_011", "8_8_8_8_8_60_26_2_4_0,0,0,0,0,0,0_011", "8_8_8_8_8_60_39_2_8_0,0,0,0,0,0,0_011", "30_30_3_17_17_3_30_3_30_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_60_3_50_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_90_3_70_0,0,0,0,0,0,0_111", "18_18_10_18_18_18_11_4_10_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_22_4_20_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_33_4_30_0,0,0,0,0,0,0_201", "4_13_22_4_35_22_23_0_50,1,0_0,0,0,0,0,0,0_", "4_13_22_4_35_22_46_0_50,1,1_0,2,5,0,0,0,0_", "4_13_22_4_35_22_69_0_50,2,1_0,5,10,0,0,0,0_", "5_25_40_5_10_15_20_1_30,1,1_0,0,0,0,0,0,0_", "5_25_40_5_10_15_40_1_30,1,2_2,1,3,0,0,0,0_", "5_25_40_5_10_15_60_1_30,1,3_5,2,8,0,0,0,0_"]
3941
4042 let rIdxCoeff = 6
4143
4244 let rIdxContinent = 7
4345
4446 let RECIPESIZE = 11
4547
4648 let PRODUCTPKGSIZE = 10
4749
4850 let whIdxLevels = 0
4951
5052 let whIdxRes = 1
5153
5254 let whIdxMat = 2
5355
5456 let whIdxProd = 3
5557
5658 let whIdxLOFT = 4
5759
5860 let volLocked = 0
5961
6062 let volTotal = 3
6163
6264 let bpIdxLevel = 0
6365
6466 let bpIdxRes = 1
6567
6668 let bpIdxMat = 2
6769
6870 let bpIdxProd = 3
6971
7072 let locIdxContinent = 0
7173
7274 let locIdxType = 1
7375
7476 let locIdxId = 2
7577
7678 func keyLandAssetIdToOwner (assetId) = ("no_" + assetId)
7779
7880
7981 func keyStakedTimeByAssetId (assetId) = ("st_" + assetId)
8082
8183
8284 func keyAddressRefBy (addr) = ("accRefBy_" + addr)
8385
8486
8587 func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr)
8688
8789
8890 func keyBackpackByDuck (duckAssetId) = ("backPack_" + duckAssetId)
8991
9092
9193 func keyDuckLocation (duckAssetId) = ("duckLocation_" + duckAssetId)
9294
9395
9496 func keyOrderByLand (landAssetId) = ("landOrder_" + landAssetId)
9597
9698
9799 func keyEsWarehouse () = "emergencyWarehouseProducts"
98100
99101
100102 let deliveryFundKey = "deliveryFund"
101103
102104 let deliveryLockedKey = "deliveryLocked"
103105
104106 func getRecipeMaterials (recipe) = (parseIntValue(recipe[rIdxCoeff]) * COEFF2MAT)
105107
106108
107109 let KS_ALLOW_DELIVERY = true
108110
109111 let chain = take(drop(this.bytes, 1), 1)
110112
111113 let usdtAssetId = match chain {
112114 case _ =>
113115 if ((base58'2W' == $match0))
114116 then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi'
115117 else if ((base58'2T' == $match0))
116118 then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63'
117119 else throw("Unknown chain")
118120 }
119121
120122 let defaultRestAddressStr = match chain {
121123 case _ =>
122124 if ((base58'2W' == $match0))
123125 then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv"
124126 else if ((base58'2T' == $match0))
125127 then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy"
126128 else throw("Unknown chain")
127129 }
128130
129131 let SEP = "__"
130132
131133 let MULT5 = 100000
132134
133135 let MULT6 = 1000000
134136
135137 let MULT8 = 100000000
136138
137139 let MULT10 = 10000000000
138140
139141 let MINSHOPPAYMENT = 100000
140142
141143 let ITER6 = [0, 1, 2, 3, 4, 5]
142144
143145 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
144146
145147
146148 let IdxCfgStakingDapp = 1
147149
148150 let IdxCfgInvestFundDapp = 6
149151
150152 let IdxCfgAcresDapp = 8
151153
152154 func keyRestCfg () = "%s__restConfig"
153155
154156
155157 func keyRestAddress () = "%s__restAddr"
156158
157159
158160 func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP)
159161
160162
161163 func getContractAddressOrFail (restCfg,idx) = valueOrErrorMessage(addressFromString(restCfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx)))
162164
163165
164166 let restContract = addressFromStringValue(valueOrElse(getString(this, keyRestAddress()), defaultRestAddressStr))
165167
166168 let restCfg = readRestCfgOrFail(restContract)
167169
168170 let stakingContract = getContractAddressOrFail(restCfg, IdxCfgStakingDapp)
169171
170172 let investFundContract = getContractAddressOrFail(restCfg, IdxCfgInvestFundDapp)
171173
172174 let acresContract = getContractAddressOrFail(restCfg, IdxCfgAcresDapp)
173175
174176 func asString (v) = match v {
175177 case s: String =>
176178 s
177179 case _ =>
178180 throw("fail to cast into String")
179181 }
180182
181183
182184 func asInt (v) = match v {
183185 case n: Int =>
184186 n
185187 case _ =>
186188 throw("fail to cast into Int")
187189 }
188190
189191
190192 func keyBlocked () = "contractsBlocked"
191193
192194
193195 func fixedPoint (val,decimals) = {
194196 let tenPow = pow(10, 0, decimals, 0, 0, DOWN)
195197 let lowPart = toString((val % tenPow))
196198 let zeroes = drop(toString(tenPow), (1 + size(lowPart)))
197199 (((toString((val / tenPow)) + ".") + zeroes) + lowPart)
198200 }
199201
200202
201203 let FACTORYMAXWAREHOUSE = 10000000000
202204
203205 let SELLMULTIPLIER = 200
204206
205207 let BUYMULTIPLIER = 300
206208
207209 let AUCTIONFEE = 10000
208210
209211 let DELIVERY_FEE = 10000
210212
211213 let DELIVERY_FEE15 = 15000
212214
213215 func keyFactoryWarehouseByIdAndType (factoryId,resType) = ((("factoryWhByContinentAndRes_" + factoryId) + "_") + toString(resType))
214216
215217
216218 let ordIdxRes = 0
217219
218220 let ordIdxMat = 1
219221
220222 let ordIdxProd = 2
221223
222224 func getOrder (ordKey) = {
223225 let p = split(valueOrElse(getString(ordKey), "0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:"), ":")
224226 [if ((size(split(p[ordIdxRes], "_")) == NUMRES))
225227 then p[ordIdxRes]
226228 else "0@0_0@0_0@0_0@0_0@0_0@0", if ((size(split(p[ordIdxMat], "_")) == NUMRES))
227229 then p[ordIdxMat]
228230 else "0@0_0@0_0@0_0@0_0@0_0@0", p[ordIdxProd]]
229231 }
230232
231233
232234 func toVolume (amount,pkgSize,isProduct) = if (isProduct)
233235 then {
234236 let pkgs = if ((amount >= 0))
235237 then (((amount + pkgSize) - 1) / pkgSize)
236238 else -((((-(amount) + pkgSize) - 1) / pkgSize))
237239 (pkgs * MULT8)
238240 }
239241 else amount
240242
241243
242244 func sellInternal (locId,resType,amount,minPrice) = {
243245 let whKey = keyFactoryWarehouseByIdAndType(locId, resType)
244246 let w0 = valueOrElse(getInteger(whKey), 0)
245247 let r0 = if ((w0 > FACTORYMAXWAREHOUSE))
246248 then 0
247249 else if (((w0 + amount) > FACTORYMAXWAREHOUSE))
248250 then (FACTORYMAXWAREHOUSE - w0)
249251 else amount
250252 let usdtReceived = (fraction(r0, ((SELLMULTIPLIER * RESOURCEPRICEMIN) - fraction(((100 * w0) + (50 * r0)), RESOURCEPRICEMIN, FACTORYMAXWAREHOUSE)), MULT10) + fraction((amount - r0), RESOURCEPRICEMIN, MULT8))
251253 let min99 = (minPrice - (minPrice / 100))
252254 if (((min99 * amount) > (usdtReceived * MULT8)))
253255 then throw((((((((((("Actual price = " + toString(usdtReceived)) + " / ") + toString(amount)) + " < minPrice = ") + toString(minPrice)) + ", (") + locId) + ", ") + resTypes[resType]) + ")"))
254256 else $Tuple2(IntegerEntry(whKey, (w0 + amount)), usdtReceived)
255257 }
256258
257259
258260 func buyInternal (locId,matType,amount,maxPrice) = {
259261 let whKey = keyFactoryWarehouseByIdAndType(locId, matType)
260262 let w0 = valueOrElse(getInteger(whKey), 0)
261263 let m1 = if ((w0 > FACTORYMAXWAREHOUSE))
262264 then min([amount, (w0 - FACTORYMAXWAREHOUSE)])
263265 else 0
264266 let m0 = min([w0, (amount - m1)])
265267 let m = (m0 + m1)
266268 let w0min = min([w0, FACTORYMAXWAREHOUSE])
267269 let usdtSpent = (fraction(m0, ((BUYMULTIPLIER * RESOURCEPRICEMIN) - fraction(((100 * w0min) - (50 * m0)), RESOURCEPRICEMIN, FACTORYMAXWAREHOUSE)), MULT10) + fraction(m1, (2 * RESOURCEPRICEMIN), MULT8))
268270 let max101 = (maxPrice + (maxPrice / 100))
269271 if (((usdtSpent * MULT8) > (max101 * m)))
270272 then throw((((((((((("Actual price = " + toString(usdtSpent)) + " / ") + toString(m)) + " > maxPrice = ") + toString(maxPrice)) + ", (") + locId) + ", ") + matTypes[matType]) + ")"))
271273 else $Tuple3(IntegerEntry(whKey, (w0 - m)), usdtSpent, m)
272274 }
273275
274276
275277 func getBackpack (bpKey) = {
276278 let p = split_4C(valueOrElse(getString(stakingContract, bpKey), "0:0_0_0_0_0_0:0_0_0_0_0_0:"), ":")
277279 [toString(valueOrElse(parseInt(p[bpIdxLevel]), 0)), if ((size(split(p[bpIdxRes], "_")) == NUMRES))
278280 then p[bpIdxRes]
279281 else "0_0_0_0_0_0", if ((size(split(p[bpIdxMat], "_")) == NUMRES))
280282 then p[bpIdxMat]
281283 else "0_0_0_0_0_0", p[bpIdxProd]]
282284 }
283285
284286
285287 func checkBlocked () = if (valueOrElse(getBoolean(stakingContract, keyBlocked()), false))
286288 then throw("Contracts are under maintenance")
287289 else unit
288290
289291
290292 func prolog () = asInt(invoke(stakingContract, "saveLastTx", nil, nil))
291293
292294
293295 func setCommon (acc,ignoredIterator) = {
294296 let j = acc._1
295297 let item = if ((size(acc._10) > j))
296298 then acc._10[j]
297299 else "0@0"
298300 let isProd = acc._8
299301 let itemParts = split(item, "@")
300302 if ((size(itemParts) != 2))
301303 then throw("Incorrect order format, should be amount@price")
302304 else {
303305 let newOrdAm = parseIntValue(itemParts[0])
304306 let newOrdPr = parseIntValue(itemParts[1])
305307 let newOrdUsd = if (isProd)
306308 then (newOrdAm * newOrdPr)
307309 else fraction(newOrdAm, newOrdPr, MULT8)
308310 let newOrdVol = toVolume(newOrdAm, PRODUCTPKGSIZE, isProd)
309311 let whInit = if ((size(acc._6) > j))
310312 then parseIntValue(acc._6[j])
311313 else 0
312314 let curOrdParts = split(if ((size(acc._7) > j))
313315 then acc._7[j]
314316 else "0@0", "@")
315317 let curOrdAm = parseIntValue(curOrdParts[0])
316318 let curOrdPr = parseIntValue(curOrdParts[1])
317319 if (if ((0 > curOrdPr))
318320 then true
319321 else (0 > newOrdPr))
320322 then throw("Price can't be negative")
321323 else {
322324 let curOrdUsd = if (isProd)
323325 then (curOrdAm * curOrdPr)
324326 else fraction(curOrdAm, curOrdPr, MULT8)
325327 if ((newOrdAm == 0))
326328 then if ((curOrdAm > 0))
327329 then $Tuple10((j + 1), (acc._2 :+ toString(whInit)), acc._3, acc._4, (acc._5 - curOrdUsd), acc._6, acc._7, isProd, (acc._9 + toVolume(whInit, PRODUCTPKGSIZE, isProd)), acc._10)
328330 else $Tuple10((j + 1), (acc._2 :+ toString((whInit - curOrdAm))), acc._3, acc._4, acc._5, acc._6, acc._7, isProd, (acc._9 + toVolume((whInit - curOrdAm), PRODUCTPKGSIZE, isProd)), acc._10)
329331 else if ((newOrdAm > 0))
330332 then if ((0 > curOrdAm))
331333 then $Tuple10((j + 1), (acc._2 :+ toString((whInit - curOrdAm))), (acc._3 + newOrdVol), acc._4, (acc._5 + newOrdUsd), acc._6, acc._7, isProd, toVolume((whInit - curOrdAm), PRODUCTPKGSIZE, isProd), acc._10)
332334 else $Tuple10((j + 1), (acc._2 :+ toString(whInit)), (acc._3 + newOrdVol), acc._4, ((acc._5 + newOrdUsd) - curOrdUsd), acc._6, acc._7, isProd, toVolume(whInit, PRODUCTPKGSIZE, isProd), acc._10)
333335 else if ((0 > curOrdAm))
334336 then {
335337 let amDiff = (curOrdAm - newOrdAm)
336338 if ((0 > (whInit - amDiff)))
337339 then throw((((("Attempt to take " + toString(amDiff)) + " from warehouse, but only ") + toString(whInit)) + " available"))
338340 else $Tuple10((j + 1), (acc._2 :+ toString((whInit - amDiff))), acc._3, (acc._4 - newOrdVol), acc._5, acc._6, acc._7, isProd, toVolume((whInit - amDiff), PRODUCTPKGSIZE, isProd), acc._10)
339341 }
340342 else if ((0 > (whInit + newOrdAm)))
341343 then throw((((("Attempt to take " + toString(-(newOrdAm))) + " from warehouse, but only ") + toString(whInit)) + " available"))
342344 else $Tuple10((j + 1), (acc._2 :+ toString((whInit + newOrdAm))), acc._3, (acc._4 - newOrdVol), (acc._5 - curOrdUsd), acc._6, acc._7, isProd, toVolume((whInit + newOrdAm), PRODUCTPKGSIZE, isProd), acc._10)
343345 }
344346 }
345347 }
346348
347349
348350 func setInternal (currentWh,currentOrd,newOrd) = {
349351 let currWhRes = split(currentWh[whIdxRes], "_")
350352 let currWhMat = split(currentWh[whIdxMat], "_")
351353 let currWhProd = if ((currentWh[whIdxProd] == ""))
352354 then nil
353355 else split_4C(currentWh[whIdxProd], "_")
354356 let currentOrdRes = split(currentOrd[ordIdxRes], "_")
355357 let currentOrdMat = split(currentOrd[ordIdxMat], "_")
356358 let currentOrdProd = if ((currentOrd[ordIdxProd] == ""))
357359 then nil
358360 else split_4C(currentOrd[ordIdxProd], "_")
359361 if ((size(newOrd) != 3))
360362 then throw("newOrderStr should contain exactly 2 ':' separators")
361363 else {
362364 let resParts = split(newOrd[0], "_")
363365 let matParts = split(newOrd[1], "_")
364366 let prodParts = if ((newOrd[2] == ""))
365367 then nil
366368 else split_4C(newOrd[2], "_")
367369 if ((size(resParts) != NUMRES))
368370 then throw("All 6 resources should be passed")
369371 else if ((size(matParts) != NUMRES))
370372 then throw("All 6 materials should be passed")
371373 else {
372374 let r = {
373375 let $l = resTypes
374376 let $s = size($l)
375377 let $acc0 = $Tuple10(0, nil, 0, 0, 0, currWhRes, currentOrdRes, false, 0, resParts)
376378 func $f0_1 ($a,$i) = if (($i >= $s))
377379 then $a
378380 else setCommon($a, $l[$i])
379381
380382 func $f0_2 ($a,$i) = if (($i >= $s))
381383 then $a
382384 else throw("List size exceeds 6")
383385
384386 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
385387 }
386388 let m = {
387389 let $l = matTypes
388390 let $s = size($l)
389391 let $acc0 = $Tuple10(0, nil, r._3, r._4, r._5, currWhMat, currentOrdMat, false, r._9, matParts)
390392 func $f1_1 ($a,$i) = if (($i >= $s))
391393 then $a
392394 else setCommon($a, $l[$i])
393395
394396 func $f1_2 ($a,$i) = if (($i >= $s))
395397 then $a
396398 else throw("List size exceeds 6")
397399
398400 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6)
399401 }
400402 let p = {
401403 let $l = prodTypes
402404 let $s = size($l)
403405 let $acc0 = $Tuple10(0, nil, m._3, m._4, m._5, currWhProd, currentOrdProd, true, m._9, prodParts)
404406 func $f2_1 ($a,$i) = if (($i >= $s))
405407 then $a
406408 else setCommon($a, $l[$i])
407409
408410 func $f2_2 ($a,$i) = if (($i >= $s))
409411 then $a
410412 else throw("List size exceeds 50")
411413
412414 $f2_2($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_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)
413415 }
414416 $Tuple7(r._2, m._2, p._2, p._3, p._4, p._5, p._9)
415417 }
416418 }
417419 }
418420
419421
420422 func acceptCommon (acc,bpOrdItem) = {
421423 let j = acc._7
422424 let isProd = acc._12
423425 let bpOrdParts = split(bpOrdItem, "@")
424426 if ((size(bpOrdParts) != 2))
425427 then throw("Incorrect order format, should be amount@price")
426428 else {
427429 let bpOrdAm = parseIntValue(bpOrdParts[0])
428430 let bpOrdPr = parseIntValue(bpOrdParts[1])
429431 if ((0 > bpOrdPr))
430432 then throw("Price can't be negative")
431433 else {
432434 let bpOrdUsd = if (isProd)
433435 then (bpOrdAm * bpOrdPr)
434436 else fraction(bpOrdAm, bpOrdPr, MULT8)
435437 let bpInit = if ((size(acc._8) > j))
436438 then parseIntValue(acc._8[j])
437439 else 0
438440 let whInit = if ((size(acc._9) > j))
439441 then parseIntValue(acc._9[j])
440442 else 0
441443 let whOrdInit = if ((size(acc._10) > j))
442444 then acc._10[j]
443445 else "0@0"
444446 let whOrdParts = split(whOrdInit, "@")
445447 let whOrdAm = parseIntValue(whOrdParts[0])
446448 let whOrdPr = parseIntValue(whOrdParts[1])
447449 if (if ((bpOrdAm != 0))
448450 then (bpOrdPr != whOrdPr)
449451 else false)
450452 then throw(((((("Prices of " + acc._11[j]) + " don't match! WH price=") + toString(whOrdPr)) + ", your price=") + toString(bpOrdPr)))
451453 else {
452454 let whOrdUsd = if (isProd)
453455 then (whOrdAm * whOrdPr)
454456 else fraction(whOrdAm, whOrdPr, MULT8)
455457 let deltaVol = toVolume(bpOrdAm, PRODUCTPKGSIZE, isProd)
456458 if ((bpOrdAm == 0))
457459 then $Tuple13((acc._1 :+ toString(whInit)), (acc._2 :+ whOrdInit), (acc._3 :+ toString(bpInit)), acc._4, acc._5, acc._6, (acc._7 + 1), acc._8, acc._9, acc._10, acc._11, isProd, acc._13)
458460 else if ((bpOrdAm > 0))
459461 then if ((0 > whOrdAm))
460462 then if ((bpOrdAm > -(whOrdAm)))
461463 then throw(((((("Attempt to buy " + toString(bpOrdAm)) + " of ") + acc._11[j]) + ", but warehouse only sells ") + toString(-(whOrdAm))))
462464 else $Tuple13((acc._1 :+ toString(whInit)), (acc._2 :+ ((toString((whOrdAm + bpOrdAm)) + "@") + toString(whOrdPr))), (acc._3 :+ toString((bpInit + bpOrdAm))), (acc._4 + deltaVol), acc._5, (acc._6 + bpOrdUsd), (acc._7 + 1), acc._8, acc._9, acc._10, acc._11, isProd, (acc._13 + (if (isProd)
463465 then (bpOrdAm * MULT8)
464466 else bpOrdAm)))
465467 else throw((("Attempt to buy " + acc._11[j]) + " while warehouse doesn't sell it"))
466468 else if ((whOrdAm > 0))
467469 then if ((-(bpOrdAm) > whOrdAm))
468470 then throw(((((("Attempt to sell " + toString(-(bpOrdAm))) + " of ") + acc._11[j]) + ", but warehouse only buys ") + toString(whOrdAm)))
469471 else if ((-(bpOrdAm) > bpInit))
470472 then throw(((((("Attempt to sell " + toString(-(bpOrdAm))) + ", but you only have ") + toString(bpInit)) + " of ") + acc._11[j]))
471473 else $Tuple13((acc._1 :+ toString((whInit - bpOrdAm))), (acc._2 :+ ((toString((whOrdAm + bpOrdAm)) + "@") + toString(whOrdPr))), (acc._3 :+ toString((bpInit + bpOrdAm))), (acc._4 - deltaVol), (acc._5 - bpOrdUsd), acc._6, (acc._7 + 1), acc._8, acc._9, acc._10, acc._11, isProd, (acc._13 - (if (isProd)
472474 then (bpOrdAm * MULT8)
473475 else bpOrdAm)))
474476 else throw((("Attempt to sell " + acc._11[j]) + " while warehouse doesn't buy it"))
475477 }
476478 }
477479 }
478480 }
479481
480482
481483 func sellResourcesCommon (resList,factoryLocId,amounts,minPrices) = {
482484 func adder (acc,j) = if ((amounts[j] > parseIntValue(resList[j])))
483485 then throw(((((("You have " + resList[j]) + " of ") + resTypes[j]) + ", but tried to sell ") + toString(amounts[j])))
484486 else if ((0 > amounts[j]))
485487 then throw(((("You tried to sell negative amount of " + resTypes[j]) + ": ") + toString(amounts[j])))
486488 else if ((amounts[j] > 0))
487489 then {
488490 let b = sellInternal(factoryLocId, j, amounts[j], minPrices[j])
489491 $Tuple4((acc._1 :+ b._1), (acc._2 :+ toString((parseIntValue(resList[j]) - amounts[j]))), (acc._3 + b._2), (acc._4 + amounts[j]))
490492 }
491493 else $Tuple4(acc._1, (acc._2 :+ resList[j]), acc._3, acc._4)
492494
493495 let $l = ITER6
494496 let $s = size($l)
495497 let $acc0 = $Tuple4(nil, nil, 0, 0)
496498 func $f0_1 ($a,$i) = if (($i >= $s))
497499 then $a
498500 else adder($a, $l[$i])
499501
500502 func $f0_2 ($a,$i) = if (($i >= $s))
501503 then $a
502504 else throw("List size exceeds 6")
503505
504506 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
505507 }
506508
507509
508510 func buyMaterialsCommon (matList,factoryLocId,amounts,maxPrices) = {
509511 func mUpdater (acc,j) = if ((0 > amounts[j]))
510512 then throw(((("You tried to buy negative amount of " + matTypes[j]) + ": ") + toString(amounts[j])))
511513 else if ((amounts[j] > 0))
512514 then {
513515 let b = buyInternal(factoryLocId, j, amounts[j], maxPrices[j])
514516 $Tuple4((acc._1 :+ b._1), (acc._2 :+ toString((parseIntValue(matList[j]) + b._3))), (acc._3 + b._2), (acc._4 + amounts[j]))
515517 }
516518 else $Tuple4(acc._1, (acc._2 :+ matList[j]), acc._3, acc._4)
517519
518520 let $l = ITER6
519521 let $s = size($l)
520522 let $acc0 = $Tuple4(nil, nil, 0, 0)
521523 func $f0_1 ($a,$i) = if (($i >= $s))
522524 then $a
523525 else mUpdater($a, $l[$i])
524526
525527 func $f0_2 ($a,$i) = if (($i >= $s))
526528 then $a
527529 else throw("List size exceeds 6")
528530
529531 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
530532 }
531533
532534
533535 func exchangeResourcesCommon (resList,matList,amounts) = {
534536 func exchanger (acc,j) = {
535537 let amj = amounts[j]
536538 if ((amj > parseIntValue(resList[j])))
537539 then throw(((((("You have " + resList[j]) + " of ") + resTypes[j]) + ", but tried to exchange ") + toString(amj)))
538540 else if ((0 > amj))
539541 then throw(((("You tried to exchange negative amount of " + resTypes[j]) + ": ") + toString(amj)))
540542 else if ((amj > 0))
541543 then $Tuple4((acc._1 :+ toString((parseIntValue(resList[j]) - amj))), (acc._2 :+ toString((parseIntValue(matList[j]) + amj))), (acc._3 + fraction(amj, RESOURCEPRICEMIN, MULT8)), (acc._4 + amj))
542544 else $Tuple4((acc._1 :+ resList[j]), (acc._2 :+ matList[j]), acc._3, acc._4)
543545 }
544546
545547 let $l = ITER6
546548 let $s = size($l)
547549 let $acc0 = $Tuple4(nil, nil, 0, 0)
548550 func $f0_1 ($a,$i) = if (($i >= $s))
549551 then $a
550552 else exchanger($a, $l[$i])
551553
552554 func $f0_2 ($a,$i) = if (($i >= $s))
553555 then $a
554556 else throw("List size exceeds 6")
555557
556558 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
557559 }
558560
559561
560562 func shop2userActions (usdWh2BpSaldo,callerAddr,receivedFee) = if ((usdWh2BpSaldo > 0))
561563 then {
562564 let usdWh2BpFee = fraction(usdWh2BpSaldo, AUCTIONFEE, MULT6)
563565 if ((receivedFee >= (usdWh2BpSaldo - (3 * usdWh2BpFee))))
564566 then throw(("This trade does not cover delivery cost of " + fixedPoint(receivedFee, 6)))
565567 else {
566568 let refByKey = keyAddressRefBy(callerAddr)
567569 let refBy = getString(stakingContract, refByKey)
568570 let caller = addressFromStringValue(callerAddr)
569571 (((if (isDefined(refBy))
570572 then [ScriptTransfer(addressFromStringValue(value(refBy)), usdWh2BpFee, usdtAssetId)]
571573 else nil) :+ ScriptTransfer(caller, ((usdWh2BpSaldo - (3 * usdWh2BpFee)) - receivedFee), usdtAssetId)) :+ ScriptTransfer(restContract, usdWh2BpFee, usdtAssetId))
572574 }
573575 }
574576 else nil
575577
576578
577579 func user2shopActions (usdBp2WhSaldo,pmts,shopLandOwner,spentFee) = if ((usdBp2WhSaldo > 0))
578580 then if ((size(pmts) != 1))
579581 then throw("exactly 1 payment must be attached")
580582 else {
581583 let pmt = pmts[0]
582584 let amt = pmt.amount
583585 if (if (!(isDefined(pmt.assetId)))
584586 then true
585587 else (value(pmt.assetId) != usdtAssetId))
586588 then throw("USDT payments only!")
587589 else {
588590 let usdtSpentWithFee = (usdBp2WhSaldo + spentFee)
589591 if ((amt != usdtSpentWithFee))
590592 then throw((((((("Insufficient payment! Attached=" + fixedPoint(amt, 6)) + ", required=") + fixedPoint(usdBp2WhSaldo, 6)) + "+") + fixedPoint(spentFee, 6)) + "(delivery fee)"))
591593 else if ((MINSHOPPAYMENT > usdBp2WhSaldo))
592594 then throw(("Min shop trade is " + fixedPoint(MINSHOPPAYMENT, 6)))
593595 else {
594596 let usdBp2WhFee = fraction(usdBp2WhSaldo, AUCTIONFEE, MULT6)
595597 let refByKey = keyAddressRefBy(shopLandOwner)
596598 let refBy = getString(stakingContract, refByKey)
597599 (((if (isDefined(refBy))
598600 then [ScriptTransfer(addressFromStringValue(value(refBy)), usdBp2WhFee, usdtAssetId)]
599601 else nil) :+ ScriptTransfer(addressFromStringValue(shopLandOwner), (usdBp2WhSaldo - (3 * usdBp2WhFee)), usdtAssetId)) :+ ScriptTransfer(restContract, usdBp2WhFee, usdtAssetId))
600602 }
601603 }
602604 }
603605 else if ((size(pmts) != 0))
604606 then throw("No payments needed")
605607 else nil
606608
607609
608610 func acceptShopOrderCommon (shopLandAssetId,callerAddr,bpOrderStr,bpResList,bpMatList,bpProdList) = {
609611 let landAsset = value(assetInfo(fromBase58String(shopLandAssetId)))
610612 if (!(isDefined(getInteger(stakingContract, keyStakedTimeByAssetId(shopLandAssetId)))))
611613 then throw((("NFT " + landAsset.name) + " is not staked"))
612614 else {
613615 let shopLandOwner = valueOrErrorMessage(getString(stakingContract, keyLandAssetIdToOwner(shopLandAssetId)), (("NFT " + landAsset.name) + " is orphaned"))
614616 if ((shopLandOwner == callerAddr))
615617 then throw("You cannot trade with yourself")
616618 else {
617619 let bpOrderParts = split_4C(bpOrderStr, ":")
618620 if ((size(bpOrderParts) != 3))
619621 then throw("bpOrderStr should contain exactly 2 ':' separators")
620622 else {
621623 let bpOrdRes = split(bpOrderParts[0], "_")
622624 let bpOrdMat = split(bpOrderParts[1], "_")
623625 let bpOrdProd = if ((bpOrderParts[2] == ""))
624626 then nil
625627 else split_4C(bpOrderParts[2], "_")
626628 if ((size(bpOrdRes) != NUMRES))
627629 then throw("All 6 resources should be passed")
628630 else if ((size(bpOrdMat) != NUMRES))
629631 then throw("All 6 materials should be passed")
630632 else {
631633 let wh = asString(invoke(stakingContract, "getWarehouseREADONLY", [shopLandAssetId], nil))
632634 let currentWh = split_4C(wh, ":")
633635 let currWhRes = split(currentWh[whIdxRes], "_")
634636 let currWhMat = split(currentWh[whIdxMat], "_")
635637 let currWhProd = if ((currentWh[whIdxProd] == ""))
636638 then nil
637639 else split_4C(currentWh[whIdxProd], "_")
638640 let currWhLockedVol = parseIntValue(split(currentWh[whIdxLOFT], "_")[volLocked])
639641 let ordKey = keyOrderByLand(shopLandAssetId)
640642 let whOrd = getOrder(ordKey)
641643 let whOrdRes = split(whOrd[ordIdxRes], "_")
642644 let whOrdMat = split(whOrd[ordIdxMat], "_")
643645 let whOrdProd = if ((whOrd[ordIdxProd] == ""))
644646 then nil
645647 else split_4C(whOrd[ordIdxProd], "_")
646648 let r = {
647649 let $l = bpOrdRes
648650 let $s = size($l)
649651 let $acc0 = $Tuple13(nil, nil, nil, 0, 0, 0, 0, bpResList, currWhRes, whOrdRes, resTypes, false, 0)
650652 func $f0_1 ($a,$i) = if (($i >= $s))
651653 then $a
652654 else acceptCommon($a, $l[$i])
653655
654656 func $f0_2 ($a,$i) = if (($i >= $s))
655657 then $a
656658 else throw("List size exceeds 6")
657659
658660 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
659661 }
660662 let m = {
661663 let $l = bpOrdMat
662664 let $s = size($l)
663665 let $acc0 = $Tuple13(nil, nil, nil, r._4, r._5, r._6, 0, bpMatList, currWhMat, whOrdMat, matTypes, false, r._13)
664666 func $f1_1 ($a,$i) = if (($i >= $s))
665667 then $a
666668 else acceptCommon($a, $l[$i])
667669
668670 func $f1_2 ($a,$i) = if (($i >= $s))
669671 then $a
670672 else throw("List size exceeds 6")
671673
672674 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6)
673675 }
674676 let p = if ((size(bpOrdProd) != 0))
675677 then {
676678 let $l = bpOrdProd
677679 let $s = size($l)
678680 let $acc0 = $Tuple13(nil, nil, nil, m._4, m._5, m._6, 0, bpProdList, currWhProd, whOrdProd, prodTypes, true, m._13)
679681 func $f2_1 ($a,$i) = if (($i >= $s))
680682 then $a
681683 else acceptCommon($a, $l[$i])
682684
683685 func $f2_2 ($a,$i) = if (($i >= $s))
684686 then $a
685687 else throw("List size exceeds 50")
686688
687689 $f2_2($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_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)
688690 }
689691 else $Tuple13(currWhProd, whOrdProd, bpProdList, m._4, m._5, m._6, 0, bpProdList, currWhProd, whOrdProd, prodTypes, true, m._13)
690692 let volSaldo = p._4
691693 let newLockedVol = if ((0 > (currWhLockedVol - volSaldo)))
692694 then 0
693695 else (currWhLockedVol - volSaldo)
694696 let whStr = makeString_2C([currentWh[whIdxLevels], makeString(r._1, "_"), makeString(m._1, "_"), makeString_2C(p._1, "_"), toString(newLockedVol)], ":")
695697 let newWhOrdStr = makeString_2C([makeString(r._2, "_"), makeString(m._2, "_"), makeString_2C(p._2, "_")], ":")
696698 let whSave = asString(invoke(stakingContract, "saveWarehouse", [whStr, shopLandAssetId], nil))
697699 let accStatsResult = asInt(invoke(stakingContract, "updateAccStats", [shopLandOwner, fraction(xpShop, p._13, MULT8)], nil))
698700 $Tuple10(StringEntry(ordKey, newWhOrdStr), r._3, m._3, p._3, p._5, p._6, p._13, shopLandOwner, whSave, accStatsResult)
699701 }
700702 }
701703 }
702704 }
703705 }
704706
705707
706708 func sellResourcesWorldInternal (amount) = {
707709 let oneRes = (amount / 30)
708710 let oneFactoryAmounts = [oneRes, oneRes, oneRes, oneRes, oneRes, oneRes]
709711 let s = toString(oneRes)
710712 let resList = [s, s, s, s, s, s]
711713 let minPrices = [0, 0, 0, 0, 0, 0]
712714 func oneFactory (acc,continent) = {
713715 let x = sellResourcesCommon(resList, continent, oneFactoryAmounts, minPrices)
714716 $Tuple3((acc._1 ++ x._1), (acc._2 + x._3), (acc._3 + x._4))
715717 }
716718
717719 let $t02526125351 = {
718720 let $l = continents
719721 let $s = size($l)
720722 let $acc0 = $Tuple3(nil, 0, 0)
721723 func $f0_1 ($a,$i) = if (($i >= $s))
722724 then $a
723725 else oneFactory($a, $l[$i])
724726
725727 func $f0_2 ($a,$i) = if (($i >= $s))
726728 then $a
727729 else throw("List size exceeds 5")
728730
729731 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
730732 }
731733 let factoryActions = $t02526125351._1
732734 let usdtReceived = $t02526125351._2
733735 let totalRes = $t02526125351._3
734736 let fee = fraction(usdtReceived, DELIVERY_FEE, MULT6)
735737 let activitiesAmount = (usdtReceived / 100)
736738 let usdtLeft = ((usdtReceived - activitiesAmount) - fee)
737739 $Tuple5(factoryActions, usdtLeft, fee, activitiesAmount, totalRes)
738740 }
739741
740742
741743 @Callable(i)
742744 func recalcLockedVolumeREADONLY (landAssetId,wh) = {
743745 let currentOrd = getOrder(keyOrderByLand(landAssetId))
744746 let z = setInternal(wh, currentOrd, currentOrd)
745747 $Tuple2(nil, (z._4 + z._5))
746748 }
747749
748750
749751
750752 @Callable(i)
751753 func constructorV1 (restAddr) = if ((i.caller != this))
752754 then throw("Permission denied")
753755 else [StringEntry(keyRestAddress(), restAddr)]
754756
755757
756758
757759 @Callable(i)
758760 func sellResources (amounts,minPrices) = {
759761 let prologResult = prolog()
760762 let duckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
761763 if ((size(i.payments) != 0))
762764 then throw("sellResources doesn't require any payments")
763765 else {
764766 let curLocation = split(valueOrElse(getString(stakingContract, keyDuckLocation(duckAssetId)), DEFAULTLOCATION), "_")
765767 if ((curLocation[locIdxType] != "F"))
766768 then throw(("Duck location type should be Factory, but is " + curLocation[locIdxType]))
767769 else {
768770 let currentPack = getBackpack(keyBackpackByDuck(duckAssetId))
769771 let resList = split(currentPack[bpIdxRes], "_")
770772 let $t02680326929 = sellResourcesCommon(resList, curLocation[locIdxId], amounts, minPrices)
771773 let factoryActions = $t02680326929._1
772774 let newRes = $t02680326929._2
773775 let usdtReceived = $t02680326929._3
774776 let totalRes = $t02680326929._4
775777 let activitiesAmount = (usdtReceived / 100)
776778 let newPack = makeString_2C([currentPack[bpIdxLevel], makeString(newRes, "_"), currentPack[bpIdxMat], currentPack[bpIdxProd]], ":")
777779 let backpackResult = asString(invoke(stakingContract, "updateBackpack", [duckAssetId, newPack], nil))
778780 let statsResult = asInt(invoke(stakingContract, "updateDuckStats", [duckAssetId, fraction(xpTrade, totalRes, MULT8)], nil))
779781 $Tuple2(((factoryActions :+ ScriptTransfer(i.caller, (usdtReceived - activitiesAmount), usdtAssetId)) :+ ScriptTransfer(restContract, activitiesAmount, usdtAssetId)), $Tuple3(backpackResult, prologResult, statsResult))
780782 }
781783 }
782784 }
783785
784786
785787
786788 @Callable(i)
787789 func sellResourcesWorld (addr,amount) = if ((i.caller != acresContract))
788790 then throw("Permission denied")
789791 else {
790792 let $t02772127878 = sellResourcesWorldInternal(amount)
791793 let factoryActions = $t02772127878._1
792794 let usdtLeft = $t02772127878._2
793795 let fee = $t02772127878._3
794796 let activitiesAmount = $t02772127878._4
795797 let totalRes = $t02772127878._5
796798 if ((0 >= usdtLeft))
797799 then throw(("This trade does not cover delivery cost of " + fixedPoint(fee, 6)))
798800 else {
799801 let statsResult = asInt(invoke(stakingContract, "updateAccStats", [addr, fraction(xpTrade, totalRes, MULT8)], nil))
800802 $Tuple2((((factoryActions :+ IntegerEntry(deliveryFundKey, (valueOrElse(getInteger(deliveryFundKey), 0) + fee))) :+ ScriptTransfer(restContract, activitiesAmount, usdtAssetId)) :+ ScriptTransfer(investFundContract, usdtLeft, usdtAssetId)), $Tuple2(usdtLeft, statsResult))
801803 }
802804 }
803805
804806
805807
806808 @Callable(i)
807809 func sellResourcesWorldREADONLY (amount) = {
808810 let usdtLeft = sellResourcesWorldInternal(amount)._2
809811 $Tuple2(nil, usdtLeft)
810812 }
811813
812814
813815
814816 @Callable(i)
815817 func sellResourcesDuckDelivery (amounts,minPrices,factoryContinent) = if (!(KS_ALLOW_DELIVERY))
816818 then throw("Delivery feature is turned off!")
817819 else {
818820 let prologResult = prolog()
819821 let duckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
820822 if ((size(i.payments) != 0))
821823 then throw("sellResources doesn't require any payments")
822824 else {
823825 let currentPack = getBackpack(keyBackpackByDuck(duckAssetId))
824826 let resList = split(currentPack[bpIdxRes], "_")
825827 let $t02911129232 = sellResourcesCommon(resList, factoryContinent, amounts, minPrices)
826828 let factoryActions = $t02911129232._1
827829 let newRes = $t02911129232._2
828830 let usdtReceived = $t02911129232._3
829831 let totalRes = $t02911129232._4
830832 let newPack = makeString_2C([currentPack[bpIdxLevel], makeString(newRes, "_"), currentPack[bpIdxMat], currentPack[bpIdxProd]], ":")
831833 let backpackResult = asString(invoke(stakingContract, "updateBackpack", [duckAssetId, newPack], nil))
832834 let statsResult = asInt(invoke(stakingContract, "updateDuckStats", [duckAssetId, fraction(xpTrade, totalRes, MULT8)], nil))
833835 let feePart = fraction(usdtReceived, DELIVERY_FEE, MULT6)
834836 let fee = if ((MIN_USDT_FEE_DELIVERY > feePart))
835837 then MIN_USDT_FEE_DELIVERY
836838 else feePart
837839 let activitiesAmount = (usdtReceived / 100)
838840 if ((fee >= (usdtReceived - activitiesAmount)))
839841 then throw(("This trade does not cover delivery cost of " + fixedPoint(fee, 6)))
840842 else {
841843 let fundTotal = valueOrElse(getInteger(deliveryFundKey), 0)
842844 $Tuple2((((factoryActions :+ ScriptTransfer(i.caller, ((usdtReceived - activitiesAmount) - fee), usdtAssetId)) :+ IntegerEntry(deliveryFundKey, (fundTotal + fee))) :+ ScriptTransfer(restContract, activitiesAmount, usdtAssetId)), $Tuple3(backpackResult, prologResult, statsResult))
843845 }
844846 }
845847 }
846848
847849
848850
849851 @Callable(i)
850852 func sellResourcesLandDelivery (amounts,minPrices,landAssetId,factoryContinent) = if (!(KS_ALLOW_DELIVERY))
851853 then throw("Delivery feature is turned off!")
852854 else {
853855 let prologResult = prolog()
854856 if ((size(i.payments) != 0))
855857 then throw("sellResources doesn't require any payments")
856858 else {
857859 let user = i.caller
858860 let addr = toString(user)
859861 let asset = value(assetInfo(fromBase58String(landAssetId)))
860862 if (!(isDefined(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)))))
861863 then throw((("NFT " + asset.name) + " is not staked"))
862864 else {
863865 let owner = valueOrErrorMessage(getString(stakingContract, keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
864866 if ((owner != addr))
865867 then throw((LANDPREFIX + " is not yours"))
866868 else {
867869 let wh = asString(invoke(stakingContract, "getWarehouseREADONLY", [landAssetId], nil))
868870 let currentWh = split_4C(wh, ":")
869871 let resList = split(currentWh[whIdxRes], "_")
870872 let $t03125931380 = sellResourcesCommon(resList, factoryContinent, amounts, minPrices)
871873 let factoryActions = $t03125931380._1
872874 let newRes = $t03125931380._2
873875 let usdtReceived = $t03125931380._3
874876 let totalRes = $t03125931380._4
875877 let whStr = makeString_2C([currentWh[whIdxLevels], makeString(newRes, "_"), currentWh[whIdxMat], currentWh[whIdxProd], currentWh[whIdxLOFT]], ":")
876878 let whSave = asString(invoke(stakingContract, "saveWarehouse", [whStr, landAssetId], nil))
877879 let statsResult = asInt(invoke(stakingContract, "updateAccStats", [addr, fraction(xpTrade, totalRes, MULT8)], nil))
878880 let feePart = fraction(usdtReceived, DELIVERY_FEE, MULT6)
879881 let fee = if ((MIN_USDT_FEE_DELIVERY > feePart))
880882 then MIN_USDT_FEE_DELIVERY
881883 else feePart
882884 let activitiesAmount = (usdtReceived / 100)
883885 if ((fee >= (usdtReceived - activitiesAmount)))
884886 then throw(("This trade does not cover delivery cost of " + fixedPoint(fee, 6)))
885887 else {
886888 let fundTotal = valueOrElse(getInteger(deliveryFundKey), 0)
887889 $Tuple2((((factoryActions :+ ScriptTransfer(i.caller, ((usdtReceived - activitiesAmount) - fee), usdtAssetId)) :+ IntegerEntry(deliveryFundKey, (fundTotal + fee))) :+ ScriptTransfer(restContract, activitiesAmount, usdtAssetId)), $Tuple3(whSave, prologResult, statsResult))
888890 }
889891 }
890892 }
891893 }
892894 }
893895
894896
895897
896898 @Callable(i)
897899 func buyMaterials (amounts,maxPrices) = {
898900 let prologResult = prolog()
899901 let duckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
900902 if ((size(i.payments) != 1))
901903 then throw("exactly 1 payment must be attached")
902904 else {
903905 let pmt = i.payments[0]
904906 let amt = pmt.amount
905907 if (if (!(isDefined(pmt.assetId)))
906908 then true
907909 else (value(pmt.assetId) != usdtAssetId))
908910 then throw("USDT payments only!")
909911 else {
910912 let curLocation = split(valueOrElse(getString(stakingContract, keyDuckLocation(duckAssetId)), DEFAULTLOCATION), "_")
911913 if ((curLocation[locIdxType] != "F"))
912914 then throw(("Duck location type should be Factory, but is " + curLocation[locIdxType]))
913915 else {
914916 let currentPack = getBackpack(keyBackpackByDuck(duckAssetId))
915917 let matList = split(currentPack[bpIdxMat], "_")
916918 let $t03324033362 = buyMaterialsCommon(matList, curLocation[locIdxId], amounts, maxPrices)
917919 let factoryActions = $t03324033362._1
918920 let newMat = $t03324033362._2
919921 let usdtSpent = $t03324033362._3
920922 let totalMat = $t03324033362._4
921923 if ((usdtSpent > amt))
922924 then throw(((("Insufficient payment! Attached=" + fixedPoint(amt, 6)) + ", required=") + fixedPoint(usdtSpent, 6)))
923925 else {
924926 let newPack = makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], makeString(newMat, "_"), currentPack[bpIdxProd]], ":")
925927 let backpackResult = asString(invoke(stakingContract, "updateBackpack", [duckAssetId, newPack], nil))
926928 let rest = if (((amt - usdtSpent) > 0))
927929 then [ScriptTransfer(i.caller, (amt - usdtSpent), usdtAssetId)]
928930 else nil
929931 let activitiesAmount = (usdtSpent / 100)
930932 let statsResult = asInt(invoke(stakingContract, "updateDuckStats", [duckAssetId, fraction(xpTrade, totalMat, MULT8)], nil))
931933 $Tuple2(((factoryActions ++ rest) :+ ScriptTransfer(restContract, activitiesAmount, usdtAssetId)), $Tuple3(backpackResult, prologResult, statsResult))
932934 }
933935 }
934936 }
935937 }
936938 }
937939
938940
939941
940942 @Callable(i)
941943 func buyMaterialsDuckDelivery (amounts,maxPrices,factoryContinent) = if (!(KS_ALLOW_DELIVERY))
942944 then throw("Delivery feature is turned off!")
943945 else {
944946 let prologResult = prolog()
945947 let duckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
946948 if ((size(i.payments) != 1))
947949 then throw("exactly 1 payment must be attached")
948950 else {
949951 let pmt = i.payments[0]
950952 let amt = pmt.amount
951953 if (if (!(isDefined(pmt.assetId)))
952954 then true
953955 else (value(pmt.assetId) != usdtAssetId))
954956 then throw("USDT payments only!")
955957 else {
956958 let currentPack = getBackpack(keyBackpackByDuck(duckAssetId))
957959 let matList = split(currentPack[bpIdxMat], "_")
958960 let $t03488034997 = buyMaterialsCommon(matList, factoryContinent, amounts, maxPrices)
959961 let factoryActions = $t03488034997._1
960962 let newMat = $t03488034997._2
961963 let usdtSpent = $t03488034997._3
962964 let totalMat = $t03488034997._4
963965 let newPack = makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], makeString(newMat, "_"), currentPack[bpIdxProd]], ":")
964966 let backpackResult = asString(invoke(stakingContract, "updateBackpack", [duckAssetId, newPack], nil))
965967 let statsResult = asInt(invoke(stakingContract, "updateDuckStats", [duckAssetId, fraction(xpTrade, totalMat, MULT8)], nil))
966968 let feePart = fraction(usdtSpent, DELIVERY_FEE, MULT6)
967969 let fee = if ((MIN_USDT_FEE_DELIVERY > feePart))
968970 then MIN_USDT_FEE_DELIVERY
969971 else feePart
970972 let usdtSpentWithFee = (usdtSpent + fee)
971973 if ((usdtSpentWithFee > amt))
972974 then throw((((((("Insufficient payment! Attached=" + fixedPoint(amt, 6)) + ", required=") + fixedPoint(usdtSpent, 6)) + "+") + fixedPoint(fee, 6)) + "(delivery fee)"))
973975 else {
974976 let rest = if (((amt - usdtSpentWithFee) > 0))
975977 then [ScriptTransfer(i.caller, (amt - usdtSpentWithFee), usdtAssetId)]
976978 else nil
977979 let activitiesAmount = (usdtSpent / 100)
978980 let fundTotal = valueOrElse(getInteger(deliveryFundKey), 0)
979981 $Tuple2((((factoryActions ++ rest) :+ ScriptTransfer(restContract, activitiesAmount, usdtAssetId)) :+ IntegerEntry(deliveryFundKey, (fundTotal + fee))), $Tuple3(backpackResult, prologResult, statsResult))
980982 }
981983 }
982984 }
983985 }
984986
985987
986988
987989 @Callable(i)
988990 func buyMaterialsLandDelivery (amounts,maxPrices,landAssetId,factoryContinent) = if (!(KS_ALLOW_DELIVERY))
989991 then throw("Delivery feature is turned off!")
990992 else {
991993 let prologResult = prolog()
992994 if ((size(i.payments) != 1))
993995 then throw("exactly 1 payment must be attached")
994996 else {
995997 let pmt = i.payments[0]
996998 let amt = pmt.amount
997999 if (if (!(isDefined(pmt.assetId)))
9981000 then true
9991001 else (value(pmt.assetId) != usdtAssetId))
10001002 then throw("USDT payments only!")
10011003 else {
10021004 let user = i.caller
10031005 let addr = toString(user)
10041006 let asset = value(assetInfo(fromBase58String(landAssetId)))
10051007 if (!(isDefined(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)))))
10061008 then throw((("NFT " + asset.name) + " is not staked"))
10071009 else {
10081010 let owner = valueOrErrorMessage(getString(stakingContract, keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
10091011 if ((owner != addr))
10101012 then throw((LANDPREFIX + " is not yours"))
10111013 else {
10121014 let wh = asString(invoke(stakingContract, "getWarehouseREADONLY", [landAssetId], nil))
10131015 let currentWh = split_4C(wh, ":")
10141016 let matList = split(currentWh[whIdxMat], "_")
10151017 let $t03727537392 = buyMaterialsCommon(matList, factoryContinent, amounts, maxPrices)
10161018 let factoryActions = $t03727537392._1
10171019 let newMat = $t03727537392._2
10181020 let usdtSpent = $t03727537392._3
10191021 let totalMat = $t03727537392._4
10201022 let whStr = makeString_2C([currentWh[whIdxLevels], currentWh[whIdxRes], makeString(newMat, "_"), currentWh[whIdxProd], currentWh[whIdxLOFT]], ":")
10211023 let whSave = asString(invoke(stakingContract, "saveWarehouse", [whStr, landAssetId], nil))
10221024 let statsResult = asInt(invoke(stakingContract, "updateAccStats", [addr, fraction(xpTrade, totalMat, MULT8)], nil))
10231025 let feePart = fraction(usdtSpent, DELIVERY_FEE, MULT6)
10241026 let fee = if ((MIN_USDT_FEE_DELIVERY > feePart))
10251027 then MIN_USDT_FEE_DELIVERY
10261028 else feePart
10271029 let usdtSpentWithFee = (usdtSpent + fee)
10281030 if ((usdtSpentWithFee > amt))
10291031 then throw((((((("Insufficient payment! Attached=" + fixedPoint(amt, 6)) + ", required=") + fixedPoint(usdtSpent, 6)) + "+") + fixedPoint(fee, 6)) + "(delivery fee)"))
10301032 else {
10311033 let rest = if (((amt - usdtSpentWithFee) > 0))
10321034 then [ScriptTransfer(i.caller, (amt - usdtSpentWithFee), usdtAssetId)]
10331035 else nil
10341036 let activitiesAmount = (usdtSpent / 100)
10351037 let fundTotal = valueOrElse(getInteger(deliveryFundKey), 0)
10361038 $Tuple2((((factoryActions ++ rest) :+ ScriptTransfer(restContract, activitiesAmount, usdtAssetId)) :+ IntegerEntry(deliveryFundKey, (fundTotal + fee))), $Tuple3(whSave, prologResult, statsResult))
10371039 }
10381040 }
10391041 }
10401042 }
10411043 }
10421044 }
10431045
10441046
10451047
10461048 @Callable(i)
10471049 func exchangeResources (amounts) = {
10481050 let prologResult = prolog()
10491051 let duckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
10501052 if ((size(i.payments) != 1))
10511053 then throw("exactly 1 payment must be attached")
10521054 else {
10531055 let pmt = i.payments[0]
10541056 let amt = pmt.amount
10551057 if (if (!(isDefined(pmt.assetId)))
10561058 then true
10571059 else (value(pmt.assetId) != usdtAssetId))
10581060 then throw("USDT payments only!")
10591061 else {
10601062 let curLocation = split(valueOrElse(getString(stakingContract, keyDuckLocation(duckAssetId)), DEFAULTLOCATION), "_")
10611063 if ((curLocation[locIdxType] != "F"))
10621064 then throw(("Duck location type should be Factory, but is " + curLocation[locIdxType]))
10631065 else {
10641066 let currentPack = getBackpack(keyBackpackByDuck(duckAssetId))
10651067 let resList = split(currentPack[bpIdxRes], "_")
10661068 let matList = split(currentPack[bpIdxMat], "_")
10671069 let $t03950639612 = exchangeResourcesCommon(resList, matList, amounts)
10681070 let newRes = $t03950639612._1
10691071 let newMat = $t03950639612._2
10701072 let usdtSpent = $t03950639612._3
10711073 let totalAmountConverted = $t03950639612._4
10721074 if ((usdtSpent > amt))
10731075 then throw(((("Insufficient payment! Attached=" + fixedPoint(amt, 6)) + ", required=") + fixedPoint(usdtSpent, 6)))
10741076 else {
10751077 let newPack = makeString([currentPack[bpIdxLevel], makeString(newRes, "_"), makeString(newMat, "_"), currentPack[bpIdxProd]], ":")
10761078 let backpackResult = asString(invoke(stakingContract, "updateBackpack", [duckAssetId, newPack], nil))
10771079 let rest = if (((amt - usdtSpent) > 0))
10781080 then [ScriptTransfer(i.caller, (amt - usdtSpent), usdtAssetId)]
10791081 else nil
10801082 let activitiesAmount = (usdtSpent / 100)
10811083 let statsResult = asInt(invoke(stakingContract, "updateDuckStats", [duckAssetId, fraction(xpTrade, totalAmountConverted, MULT8)], nil))
10821084 $Tuple2((rest :+ ScriptTransfer(restContract, activitiesAmount, usdtAssetId)), $Tuple3(backpackResult, prologResult, statsResult))
10831085 }
10841086 }
10851087 }
10861088 }
10871089 }
10881090
10891091
10901092
10911093 @Callable(i)
10921094 func exchangeResourcesDuckDelivery (amounts) = if (!(KS_ALLOW_DELIVERY))
10931095 then throw("Delivery feature is turned off!")
10941096 else {
10951097 let prologResult = prolog()
10961098 let duckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
10971099 if ((size(i.payments) != 1))
10981100 then throw("exactly 1 payment must be attached")
10991101 else {
11001102 let pmt = i.payments[0]
11011103 let amt = pmt.amount
11021104 if (if (!(isDefined(pmt.assetId)))
11031105 then true
11041106 else (value(pmt.assetId) != usdtAssetId))
11051107 then throw("USDT payments only!")
11061108 else {
11071109 let currentPack = getBackpack(keyBackpackByDuck(duckAssetId))
11081110 let resList = split(currentPack[bpIdxRes], "_")
11091111 let matList = split(currentPack[bpIdxMat], "_")
11101112 let $t04112441230 = exchangeResourcesCommon(resList, matList, amounts)
11111113 let newRes = $t04112441230._1
11121114 let newMat = $t04112441230._2
11131115 let usdtSpent = $t04112441230._3
11141116 let totalAmountConverted = $t04112441230._4
11151117 let feePart = fraction(usdtSpent, DELIVERY_FEE15, MULT6)
11161118 let fee = if ((MIN_USDT_FEE_DELIVERY15 > feePart))
11171119 then MIN_USDT_FEE_DELIVERY15
11181120 else feePart
11191121 let usdtSpentWithFee = (usdtSpent + fee)
11201122 if ((usdtSpentWithFee > amt))
11211123 then throw((((((("Insufficient payment! Attached=" + fixedPoint(amt, 6)) + ", required=") + fixedPoint(usdtSpent, 6)) + "+") + fixedPoint(fee, 6)) + "(delivery fee)"))
11221124 else {
11231125 let newPack = makeString([currentPack[bpIdxLevel], makeString(newRes, "_"), makeString(newMat, "_"), currentPack[bpIdxProd]], ":")
11241126 let backpackResult = asString(invoke(stakingContract, "updateBackpack", [duckAssetId, newPack], nil))
11251127 let rest = if (((amt - usdtSpentWithFee) > 0))
11261128 then [ScriptTransfer(i.caller, (amt - usdtSpentWithFee), usdtAssetId)]
11271129 else nil
11281130 let activitiesAmount = (usdtSpent / 100)
11291131 let statsResult = asInt(invoke(stakingContract, "updateDuckStats", [duckAssetId, fraction(xpTrade, totalAmountConverted, MULT8)], nil))
11301132 let fundTotal = valueOrElse(getInteger(deliveryFundKey), 0)
11311133 $Tuple2(((rest :+ ScriptTransfer(restContract, activitiesAmount, usdtAssetId)) :+ IntegerEntry(deliveryFundKey, (fundTotal + fee))), $Tuple3(backpackResult, prologResult, statsResult))
11321134 }
11331135 }
11341136 }
11351137 }
11361138
11371139
11381140
11391141 @Callable(i)
11401142 func exchangeResourcesLandDelivery (amounts,landAssetId) = if (!(KS_ALLOW_DELIVERY))
11411143 then throw("Delivery feature is turned off!")
11421144 else {
11431145 let prologResult = prolog()
11441146 if ((size(i.payments) != 1))
11451147 then throw("exactly 1 payment must be attached")
11461148 else {
11471149 let pmt = i.payments[0]
11481150 let amt = pmt.amount
11491151 if (if (!(isDefined(pmt.assetId)))
11501152 then true
11511153 else (value(pmt.assetId) != usdtAssetId))
11521154 then throw("USDT payments only!")
11531155 else {
11541156 let user = i.caller
11551157 let addr = toString(user)
11561158 let asset = value(assetInfo(fromBase58String(landAssetId)))
11571159 if (!(isDefined(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)))))
11581160 then throw((("NFT " + asset.name) + " is not staked"))
11591161 else {
11601162 let owner = valueOrErrorMessage(getString(stakingContract, keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
11611163 if ((owner != addr))
11621164 then throw((LANDPREFIX + " is not yours"))
11631165 else {
11641166 let wh = asString(invoke(stakingContract, "getWarehouseREADONLY", [landAssetId], nil))
11651167 let currentWh = split_4C(wh, ":")
11661168 let resList = split(currentWh[whIdxRes], "_")
11671169 let matList = split(currentWh[whIdxMat], "_")
11681170 let $t04353043636 = exchangeResourcesCommon(resList, matList, amounts)
11691171 let newRes = $t04353043636._1
11701172 let newMat = $t04353043636._2
11711173 let usdtSpent = $t04353043636._3
11721174 let totalAmountConverted = $t04353043636._4
11731175 let whStr = makeString_2C([currentWh[whIdxLevels], makeString(newRes, "_"), makeString(newMat, "_"), currentWh[whIdxProd], currentWh[whIdxLOFT]], ":")
11741176 let whSave = asString(invoke(stakingContract, "saveWarehouse", [whStr, landAssetId], nil))
11751177 let statsResult = asInt(invoke(stakingContract, "updateAccStats", [addr, fraction(xpTrade, totalAmountConverted, MULT8)], nil))
11761178 let feePart = fraction(usdtSpent, DELIVERY_FEE15, MULT6)
11771179 let fee = if ((MIN_USDT_FEE_DELIVERY15 > feePart))
11781180 then MIN_USDT_FEE_DELIVERY15
11791181 else feePart
11801182 let usdtSpentWithFee = (usdtSpent + fee)
11811183 if ((usdtSpentWithFee > amt))
11821184 then throw((((((("Insufficient payment! Attached=" + fixedPoint(amt, 6)) + ", required=") + fixedPoint(usdtSpent, 6)) + "+") + fixedPoint(fee, 6)) + "(delivery fee)"))
11831185 else {
11841186 let rest = if (((amt - usdtSpentWithFee) > 0))
11851187 then [ScriptTransfer(i.caller, (amt - usdtSpentWithFee), usdtAssetId)]
11861188 else nil
11871189 let activitiesAmount = (usdtSpent / 100)
11881190 let fundTotal = valueOrElse(getInteger(deliveryFundKey), 0)
11891191 $Tuple2(((rest :+ ScriptTransfer(restContract, activitiesAmount, usdtAssetId)) :+ IntegerEntry(deliveryFundKey, (fundTotal + fee))), $Tuple3(whSave, prologResult, statsResult))
11901192 }
11911193 }
11921194 }
11931195 }
11941196 }
11951197 }
11961198
11971199
11981200
11991201 @Callable(i)
12001202 func craftGoods (productIdx,quantity) = {
12011203 let prologResult = prolog()
12021204 if ((size(i.payments) != 1))
12031205 then throw("exactly 1 payment must be attached")
12041206 else {
12051207 let pmt = i.payments[0]
12061208 let amt = pmt.amount
12071209 let pmtAssetId = valueOrErrorMessage(pmt.assetId, "WAVES can't be used as payment")
12081210 if ((pmtAssetId != usdtAssetId))
12091211 then throw("USDT payments only!")
12101212 else if ((amt != MULT6))
12111213 then throw("exactly 1 USDT must be attached as payment")
12121214 else if ((0 >= quantity))
12131215 then throw("Quantity should be positive")
12141216 else {
12151217 let duckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
12161218 let curLocation = split(valueOrElse(getString(stakingContract, keyDuckLocation(duckAssetId)), DEFAULTLOCATION), "_")
12171219 if ((curLocation[locIdxType] != "M"))
12181220 then throw(("Duck location type should be Manufactory, but is " + curLocation[locIdxType]))
12191221 else {
12201222 let cont = curLocation[locIdxContinent]
12211223 let currentPack = getBackpack(keyBackpackByDuck(duckAssetId))
12221224 let matList = split(currentPack[bpIdxMat], "_")
12231225 if (if ((0 > productIdx))
12241226 then true
12251227 else (productIdx >= size(productionMatrix)))
12261228 then throw(("Unknown product idx=" + toString(productIdx)))
12271229 else {
12281230 let recipe = split(productionMatrix[productIdx], "_")
12291231 if ((size(recipe) != RECIPESIZE))
12301232 then throw(("Fatal: unknown recipe: " + productionMatrix[productIdx]))
12311233 else {
12321234 let productContIdx = parseIntValue(recipe[rIdxContinent])
12331235 if ((continents[productContIdx] != cont))
12341236 then throw(((("This product is available in " + continents[productContIdx]) + ", but you are in ") + cont))
12351237 else {
12361238 let prodList = if ((currentPack[bpIdxProd] == ""))
12371239 then nil
12381240 else split_4C(currentPack[bpIdxProd], "_")
12391241 func filler (acc,ignoredItem) = {
12401242 let n = acc._2
12411243 let xs = if ((size(prodList) > n))
12421244 then prodList[n]
12431245 else "0"
12441246 let x = parseIntValue(xs)
12451247 let amount = (quantity * PRODUCTPKGSIZE)
12461248 let y = if ((n == productIdx))
12471249 then toString((x + amount))
12481250 else xs
12491251 $Tuple2((acc._1 :+ y), (n + 1))
12501252 }
12511253
12521254 let bpProd = ( let $l = productionMatrix
12531255 let $s = size($l)
12541256 let $acc0 = $Tuple2(nil, 0)
12551257 func $f0_1 ($a,$i) = if (($i >= $s))
12561258 then $a
12571259 else filler($a, $l[$i])
12581260
12591261 func $f0_2 ($a,$i) = if (($i >= $s))
12601262 then $a
12611263 else throw("List size exceeds 50")
12621264
12631265 $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($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))._1
12641266 func producer (acc,j) = {
12651267 let needMat = (((parseIntValue(recipe[j]) * MULT5) * quantity) * parseIntValue(recipe[rIdxCoeff]))
12661268 let haveMat = parseIntValue(matList[j])
12671269 if ((needMat > haveMat))
12681270 then throw(((((((("You have " + fixedPoint(haveMat, 8)) + " of ") + matTypes[j]) + ", but recipe requires ") + fixedPoint(needMat, 8)) + " for quantity ") + toString(quantity)))
12691271 else if ((needMat > 0))
12701272 then $Tuple2((acc._1 :+ toString((haveMat - needMat))), (acc._2 + needMat))
12711273 else $Tuple2((acc._1 :+ matList[j]), acc._2)
12721274 }
12731275
12741276 let merged = {
12751277 let $l = ITER6
12761278 let $s = size($l)
12771279 let $acc0 = $Tuple2(nil, 0)
12781280 func $f1_1 ($a,$i) = if (($i >= $s))
12791281 then $a
12801282 else producer($a, $l[$i])
12811283
12821284 func $f1_2 ($a,$i) = if (($i >= $s))
12831285 then $a
12841286 else throw("List size exceeds 6")
12851287
12861288 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6)
12871289 }
12881290 let newPack = makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], makeString(merged._1, "_"), makeString_2C(bpProd, "_")], ":")
12891291 let result = asString(invoke(stakingContract, "updateBackpack", [duckAssetId, newPack], nil))
12901292 let statsResult = asInt(invoke(stakingContract, "updateDuckStats", [duckAssetId, fraction(xpCraft, merged._2, MULT8)], nil))
12911293 $Tuple2(nil, $Tuple3(result, prologResult, statsResult))
12921294 }
12931295 }
12941296 }
12951297 }
12961298 }
12971299 }
12981300 }
12991301
13001302
13011303
13021304 @Callable(i)
13031305 func setWarehouseOrder (newOrderStr,landAssetId) = {
13041306 let user = i.originCaller
13051307 let addr = toString(user)
13061308 let result = if ((user != restContract))
13071309 then checkBlocked()
13081310 else false
13091311 let asset = value(assetInfo(fromBase58String(landAssetId)))
13101312 if (!(isDefined(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)))))
13111313 then throw((("NFT " + asset.name) + " is not staked"))
13121314 else {
13131315 let owner = valueOrErrorMessage(getString(stakingContract, keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
13141316 if (if ((user != restContract))
13151317 then (owner != addr)
13161318 else false)
13171319 then throw((LANDPREFIX + " is not yours"))
13181320 else {
13191321 let newOrder = split_4C(newOrderStr, ":")
13201322 let wh = asString(invoke(stakingContract, "getWarehouseREADONLY", [landAssetId], nil))
13211323 let currentWh = split_4C(wh, ":")
13221324 let loft = split(currentWh[whIdxLOFT], "_")
13231325 let whTotal = parseIntValue(loft[volTotal])
13241326 let ordKey = keyOrderByLand(landAssetId)
13251327 let currentOrd = getOrder(ordKey)
13261328 let z = setInternal(currentWh, currentOrd, newOrder)
13271329 let buyVolSaldo = z._4
13281330 let sellVolSaldo = z._5
13291331 let whOccupied = z._7
13301332 let whLocked = (buyVolSaldo + sellVolSaldo)
13311333 let whFree = ((whTotal - whOccupied) - whLocked)
13321334 if ((0 > whFree))
13331335 then throw((((((("Attempt to reserve " + toString(buyVolSaldo)) + " space for buy orders, and ") + toString(sellVolSaldo)) + " space for sell orders (and occupied=") + toString(whOccupied)) + "), leads to negative free space"))
13341336 else {
13351337 let whStr = makeString_2C([currentWh[whIdxLevels], makeString(z._1, "_"), makeString(z._2, "_"), makeString_2C(z._3, "_"), toString(whLocked)], ":")
13361338 let whSave = asString(invoke(stakingContract, "saveWarehouse", [whStr, landAssetId], nil))
13371339 let usdSaldo = z._6
13381340 let actions = if ((usdSaldo > 0))
13391341 then if ((size(i.payments) != 1))
13401342 then throw("exactly 1 payment must be attached")
13411343 else {
13421344 let pmt = i.payments[0]
13431345 let amt = pmt.amount
13441346 let pmtAssetId = valueOrErrorMessage(pmt.assetId, "WAVES can't be used as payment")
13451347 if ((pmtAssetId != usdtAssetId))
13461348 then throw("USDT payments only!")
13471349 else if ((amt != usdSaldo))
13481350 then throw(("Payment needed is " + toString(usdSaldo)))
13491351 else [StringEntry(ordKey, newOrderStr)]
13501352 }
13511353 else if ((usdSaldo == 0))
13521354 then if ((size(i.payments) != 0))
13531355 then throw("No payments needed")
13541356 else [StringEntry(ordKey, newOrderStr)]
13551357 else if ((size(i.payments) != 0))
13561358 then throw("No payments needed")
13571359 else [ScriptTransfer(addressFromStringValue(owner), -(usdSaldo), usdtAssetId), StringEntry(ordKey, newOrderStr)]
13581360 $Tuple2(actions, $Tuple2(result, whSave))
13591361 }
13601362 }
13611363 }
13621364 }
13631365
13641366
13651367
13661368 @Callable(i)
13671369 func acceptWarehouseOrder (bpOrderStr,shopLandAssetId,duckAssetId) = {
13681370 let prologResult = prolog()
13691371 let caller = i.originCaller
13701372 let callerAddr = toString(caller)
13711373 let stakedDuckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(callerAddr)), "You don't have a duck staked")
13721374 let curLocation = valueOrElse(getString(stakingContract, keyDuckLocation(stakedDuckAssetId)), DEFAULTLOCATION)
13731375 let loc = split(value(curLocation), "_")
13741376 if ((loc[locIdxType] != "L"))
13751377 then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L"))
13761378 else if ((stakedDuckAssetId != duckAssetId))
13771379 then throw(((("Your staked duck is " + stakedDuckAssetId) + ", but passed ") + duckAssetId))
13781380 else {
13791381 let bpKey = keyBackpackByDuck(duckAssetId)
13801382 let currentPack = getBackpack(bpKey)
13811383 let bpResList = split(currentPack[bpIdxRes], "_")
13821384 let bpMatList = split(currentPack[bpIdxMat], "_")
13831385 let bpProdList = if ((currentPack[bpIdxProd] == ""))
13841386 then nil
13851387 else split_4C(currentPack[bpIdxProd], "_")
13861388 let $t05314853388 = acceptShopOrderCommon(shopLandAssetId, callerAddr, bpOrderStr, bpResList, bpMatList, bpProdList)
13871389 let shopAction = $t05314853388._1
13881390 let newUserRes = $t05314853388._2
13891391 let newUserMat = $t05314853388._3
13901392 let newUserProd = $t05314853388._4
13911393 let usdWh2BpSaldo = $t05314853388._5
13921394 let usdBp2WhSaldo = $t05314853388._6
13931395 let xpAmount = $t05314853388._7
13941396 let shopLandOwner = $t05314853388._8
13951397 let shopWhSave = $t05314853388._9
13961398 let accStatsResult = $t05314853388._10
13971399 let actions1 = [shopAction, shop2userActions(usdWh2BpSaldo, callerAddr, 0)]
13981400 let actions2 = user2shopActions(usdBp2WhSaldo, i.payments, shopLandOwner, 0)
13991401 let newBpStr = makeString_2C([currentPack[bpIdxLevel], makeString(newUserRes, "_"), makeString(newUserMat, "_"), makeString_2C(newUserProd, "_")], ":")
14001402 let bpSave = asString(invoke(stakingContract, "updateBackpack", [duckAssetId, newBpStr], nil))
14011403 let duckStatsResult = asInt(invoke(stakingContract, "updateDuckStats", [duckAssetId, fraction(xpShop, xpAmount, MULT8)], nil))
14021404 $Tuple2((actions1 ++ actions2), $Tuple5(prologResult, shopWhSave, bpSave, duckStatsResult, accStatsResult))
14031405 }
14041406 }
14051407
14061408
14071409
14081410 @Callable(i)
14091411 func acceptShopOrderDuckDelivery (orderStr,shopLandAssetId) = if (!(KS_ALLOW_DELIVERY))
14101412 then throw("Delivery feature is turned off!")
14111413 else {
14121414 let prologResult = prolog()
14131415 let caller = i.originCaller
14141416 let callerAddr = toString(caller)
14151417 let duckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(callerAddr)), "You don't have a duck staked")
14161418 let bpKey = keyBackpackByDuck(duckAssetId)
14171419 let currentPack = getBackpack(bpKey)
14181420 let bpResList = split(currentPack[bpIdxRes], "_")
14191421 let bpMatList = split(currentPack[bpIdxMat], "_")
14201422 let bpProdList = if ((currentPack[bpIdxProd] == ""))
14211423 then nil
14221424 else split_4C(currentPack[bpIdxProd], "_")
14231425 let $t05482755065 = acceptShopOrderCommon(shopLandAssetId, callerAddr, orderStr, bpResList, bpMatList, bpProdList)
14241426 let shopAction = $t05482755065._1
14251427 let newUserRes = $t05482755065._2
14261428 let newUserMat = $t05482755065._3
14271429 let newUserProd = $t05482755065._4
14281430 let usdWh2BpSaldo = $t05482755065._5
14291431 let usdBp2WhSaldo = $t05482755065._6
14301432 let xpAmount = $t05482755065._7
14311433 let shopLandOwner = $t05482755065._8
14321434 let shopWhSave = $t05482755065._9
14331435 let accStatsResult = $t05482755065._10
14341436 let deliveryFeePart = fraction((usdBp2WhSaldo + usdWh2BpSaldo), DELIVERY_FEE, MULT6)
14351437 let deliveryFee = if ((MIN_USDT_FEE_DELIVERY > deliveryFeePart))
14361438 then MIN_USDT_FEE_DELIVERY
14371439 else deliveryFeePart
14381440 let spentFee = fraction(deliveryFee, usdBp2WhSaldo, (usdBp2WhSaldo + usdWh2BpSaldo))
14391441 let receivedFee = (deliveryFee - spentFee)
14401442 let fundTotal = valueOrElse(getInteger(deliveryFundKey), 0)
14411443 let actions1 = [shopAction, shop2userActions(usdWh2BpSaldo, callerAddr, receivedFee)]
14421444 let actions2 = user2shopActions(usdBp2WhSaldo, i.payments, shopLandOwner, spentFee)
14431445 let newBpStr = makeString_2C([currentPack[bpIdxLevel], makeString(newUserRes, "_"), makeString(newUserMat, "_"), makeString_2C(newUserProd, "_")], ":")
14441446 let bpSave = asString(invoke(stakingContract, "updateBackpack", [duckAssetId, newBpStr], nil))
14451447 let duckStatsResult = asInt(invoke(stakingContract, "updateDuckStats", [duckAssetId, fraction(xpShop, xpAmount, MULT8)], nil))
14461448 $Tuple2(((actions1 ++ actions2) :+ IntegerEntry(deliveryFundKey, (fundTotal + deliveryFee))), $Tuple5(prologResult, shopWhSave, bpSave, duckStatsResult, accStatsResult))
14471449 }
14481450
14491451
14501452
14511453 @Callable(i)
14521454 func acceptShopOrderLandDelivery (orderStr,shopLandAssetId,myLandAssetId) = if (!(KS_ALLOW_DELIVERY))
14531455 then throw("Delivery feature is turned off!")
14541456 else {
14551457 let prologResult = prolog()
14561458 let caller = i.originCaller
14571459 let callerAddr = toString(caller)
14581460 let asset = value(assetInfo(fromBase58String(myLandAssetId)))
14591461 if (!(isDefined(getInteger(stakingContract, keyStakedTimeByAssetId(myLandAssetId)))))
14601462 then throw((("NFT " + asset.name) + " is not staked"))
14611463 else {
14621464 let owner = valueOrErrorMessage(getString(stakingContract, keyLandAssetIdToOwner(myLandAssetId)), (("NFT " + asset.name) + " is orphaned"))
14631465 if ((owner != callerAddr))
14641466 then throw((LANDPREFIX + " is not yours"))
14651467 else {
14661468 let wh = asString(invoke(stakingContract, "getWarehouseREADONLY", [myLandAssetId], nil))
14671469 let currentWh = split_4C(wh, ":")
14681470 let resList = split(currentWh[whIdxRes], "_")
14691471 let matList = split(currentWh[whIdxMat], "_")
14701472 let prodList = if ((currentWh[whIdxProd] == ""))
14711473 then nil
14721474 else split(currentWh[whIdxProd], "_")
14731475 let $t05730457536 = acceptShopOrderCommon(shopLandAssetId, callerAddr, orderStr, resList, matList, prodList)
14741476 let shopAction = $t05730457536._1
14751477 let newUserRes = $t05730457536._2
14761478 let newUserMat = $t05730457536._3
14771479 let newUserProd = $t05730457536._4
14781480 let usdWh2BpSaldo = $t05730457536._5
14791481 let usdBp2WhSaldo = $t05730457536._6
14801482 let xpAmount = $t05730457536._7
14811483 let shopLandOwner = $t05730457536._8
14821484 let shopWhSave = $t05730457536._9
14831485 let accStatsResult = $t05730457536._10
14841486 let deliveryFeePart = fraction((usdBp2WhSaldo + usdWh2BpSaldo), DELIVERY_FEE, MULT6)
14851487 let deliveryFee = if ((MIN_USDT_FEE_DELIVERY > deliveryFeePart))
14861488 then MIN_USDT_FEE_DELIVERY
14871489 else deliveryFeePart
14881490 let spentFee = fraction(deliveryFee, usdBp2WhSaldo, (usdBp2WhSaldo + usdWh2BpSaldo))
14891491 let receivedFee = (deliveryFee - spentFee)
14901492 let fundTotal = valueOrElse(getInteger(deliveryFundKey), 0)
14911493 let actions1 = [shopAction, shop2userActions(usdWh2BpSaldo, callerAddr, receivedFee)]
14921494 let actions2 = user2shopActions(usdBp2WhSaldo, i.payments, shopLandOwner, spentFee)
14931495 let whStr = makeString_2C([currentWh[whIdxLevels], makeString(newUserRes, "_"), makeString(newUserMat, "_"), makeString(newUserProd, "_"), currentWh[whIdxLOFT]], ":")
14941496 let whSave = asString(invoke(stakingContract, "saveWarehouse", [whStr, myLandAssetId], nil))
14951497 let statsResult = asInt(invoke(stakingContract, "updateAccStats", [callerAddr, fraction(xpShop, xpAmount, MULT8)], nil))
14961498 $Tuple2(((actions1 ++ actions2) :+ IntegerEntry(deliveryFundKey, (fundTotal + deliveryFee))), $Tuple5(prologResult, shopWhSave, whSave, statsResult, accStatsResult))
14971499 }
14981500 }
14991501 }
15001502
15011503
15021504
15031505 @Callable(i)
15041506 func sellProductsToES (amounts) = {
15051507 let prologResult = prolog()
15061508 if ((size(i.payments) != 0))
15071509 then throw("No payments needed")
15081510 else {
15091511 let duckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
15101512 let curLocation = split(valueOrElse(getString(stakingContract, keyDuckLocation(duckAssetId)), DEFAULTLOCATION), "_")
15111513 if ((curLocation[locIdxType] != "A"))
15121514 then throw(("Duck location type should be Airport, but is " + curLocation[locIdxType]))
15131515 else {
15141516 let currentPack = getBackpack(keyBackpackByDuck(duckAssetId))
15151517 let prodList = if ((currentPack[bpIdxProd] == ""))
15161518 then nil
15171519 else split_4C(currentPack[bpIdxProd], "_")
15181520 let esKey = keyEsWarehouse()
15191521 let existStr = getString(esKey)
15201522 let existAmounts = if (isDefined(existStr))
15211523 then split_4C(value(existStr), "_")
15221524 else nil
15231525 func moveProd (acc,recipeStr) = {
15241526 let j = acc._1
15251527 let quantity = if ((size(amounts) > j))
15261528 then amounts[j]
15271529 else 0
15281530 if ((0 > quantity))
15291531 then throw("Quantity cannot be negative")
15301532 else {
15311533 let recipe = split(recipeStr, "_")
15321534 if ((size(recipe) != RECIPESIZE))
15331535 then throw(("Fatal: unknown recipe: " + recipeStr))
15341536 else {
15351537 let maxAmount = (ESMAXPACKAGES * PRODUCTPKGSIZE)
15361538 let existAmount = if ((size(existAmounts) > j))
15371539 then parseIntValue(existAmounts[j])
15381540 else 0
15391541 let canBuy = (maxAmount - existAmount)
15401542 if ((quantity > canBuy))
15411543 then throw(((("Warehouse can buy only " + toString(canBuy)) + " of ") + prodTypes[j]))
15421544 else {
15431545 let totalMat = getRecipeMaterials(recipe)
15441546 let unitPrice = fraction((totalMat * ESBUYCOEF), RESOURCEPRICEMIN, (MULT8 * PRODUCTPKGSIZE))
15451547 let bpProdAmount = if ((size(prodList) > j))
15461548 then parseIntValue(prodList[j])
15471549 else 0
15481550 if ((quantity > bpProdAmount))
15491551 then throw(((("You have only " + toString(bpProdAmount)) + " of ") + prodTypes[j]))
15501552 else $Tuple5((j + 1), (acc._2 + (unitPrice * quantity)), (acc._3 :+ toString((bpProdAmount - quantity))), (acc._4 :+ toString((existAmount + quantity))), (acc._5 + (totalMat * quantity)))
15511553 }
15521554 }
15531555 }
15541556 }
15551557
15561558 let merged = {
15571559 let $l = productionMatrix
15581560 let $s = size($l)
15591561 let $acc0 = $Tuple5(0, 0, nil, nil, 0)
15601562 func $f0_1 ($a,$i) = if (($i >= $s))
15611563 then $a
15621564 else moveProd($a, $l[$i])
15631565
15641566 func $f0_2 ($a,$i) = if (($i >= $s))
15651567 then $a
15661568 else throw("List size exceeds 50")
15671569
15681570 $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($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)
15691571 }
15701572 let newBpStr = makeString_2C([currentPack[bpIdxLevel], currentPack[bpIdxRes], currentPack[bpIdxMat], makeString_2C(merged._3, "_")], ":")
15711573 let bpSave = asString(invoke(stakingContract, "updateBackpack", [duckAssetId, newBpStr], nil))
15721574 let statsResult = asInt(invoke(stakingContract, "updateDuckStats", [duckAssetId, fraction(xpSellToEs, merged._5, (MULT8 * 10))], nil))
15731575 $Tuple2([StringEntry(esKey, makeString_2C(merged._4, "_")), ScriptTransfer(i.caller, merged._2, usdtAssetId)], $Tuple3(bpSave, prologResult, statsResult))
15741576 }
15751577 }
15761578 }
15771579
15781580
15791581
15801582 @Callable(i)
15811583 func updateEsStorage (newStorage) = if ((i.caller != stakingContract))
15821584 then throw("Permission denied")
15831585 else $Tuple2([StringEntry(keyEsWarehouse(), newStorage)], newStorage)
15841586
15851587
15861588
15871589 @Callable(i)
15881590 func updateDeliveryLocked (newAmount) = if ((i.caller != stakingContract))
15891591 then throw("Permission denied")
15901592 else $Tuple2([IntegerEntry(deliveryLockedKey, newAmount)], newAmount)
15911593
15921594
15931595
15941596 @Callable(i)
15951597 func sendDeliveryReward (addr) = if ((i.caller != stakingContract))
15961598 then throw("Permission denied")
15971599 else {
15981600 let fundTotal = valueOrElse(getInteger(deliveryFundKey), 0)
15991601 let lockedTotal = valueOrElse(getInteger(deliveryLockedKey), 0)
1600- $Tuple2([ScriptTransfer(addressFromStringValue(addr), MIN_USDT_FEE_DELIVERY, usdtAssetId), IntegerEntry(deliveryFundKey, (fundTotal - MIN_USDT_FEE_DELIVERY)), IntegerEntry(deliveryLockedKey, (lockedTotal - MIN_USDT_FEE_DELIVERY))], MIN_USDT_FEE_DELIVERY)
1602+ let acresAmount = (MIN_USDT_FEE_DELIVERY * USDT2ACRES_MULTIPLIER)
1603+ let acresResult = invoke(acresContract, "sendAcres", [addr, acresAmount], nil)
1604+ $Tuple2([IntegerEntry(deliveryFundKey, (fundTotal - MIN_USDT_FEE_DELIVERY)), IntegerEntry(deliveryLockedKey, (lockedTotal - MIN_USDT_FEE_DELIVERY))], acresResult)
16011605 }
16021606
16031607

github/deemru/w8io/169f3d6 
169.14 ms