tx · 3wQ8pjGoxB995d3EYL98dkcif5V53i2GoLKQSw62f6sH

3N8y4wxX3JC4TdrCJBXX16SjWf6X256hrep:  -0.03200000 Waves

2023.05.30 03:25 [2599984] smart account 3N8y4wxX3JC4TdrCJBXX16SjWf6X256hrep > SELF 0.00000000 Waves

{ "type": 13, "id": "3wQ8pjGoxB995d3EYL98dkcif5V53i2GoLKQSw62f6sH", "fee": 3200000, "feeAssetId": null, "timestamp": 1685406353907, "version": 2, "chainId": 84, "sender": "3N8y4wxX3JC4TdrCJBXX16SjWf6X256hrep", "senderPublicKey": "7v5L7QkXxfkirALdyqmox38QCsa9jtfAtgUfHTh34eWq", "proofs": [ "454DboysMj2kqbR16tptSn5GBdWcofVQfAw4xMhnfTztGEAcpCSiqUeKYeueuP1GUBGLXncLNk9vhEQ5GBofFiZw" ], "script": "base64:BgIxCAISBAoCCBgSAwoBCBIECgIRERIECgIRERIDCgEREgQKAgEBEgQKAggIEgUKAwgICFkAA1NFUAICX18ABU1VTFQ2AMCEPQAFTVVMVDcAgK3iBAAFTVVMVDgAgMLXLwAGTVVMVDEwAIDIr6AlAAVjaGFpbgkAyQECCQDKAQIIBQR0aGlzBWJ5dGVzAAEAAQALdXNkdEFzc2V0SWQEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDABIITaerIIAz9O0bvKju6Lk7zJgt0LXfoHlqjUI/moD/+5AwkAAAIBAVQFByRtYXRjaDABIFWx2J9yh4Lv5eNbjawFq2XemkOhLxa7BfMat4el8cUYCQACAQINVW5rbm93biBjaGFpbgAVZGVmYXVsdFJlc3RBZGRyZXNzU3RyBAckbWF0Y2gwBQVjaGFpbgMJAAACAQFXBQckbWF0Y2gwAiMzUFFDdXZGYnZoNExrUFVucm5VMXozam5iQTFwOW0zV05odgMJAAACAQFUBQckbWF0Y2gwAiMzTXVta0dHenRDS0FYcFdEcXhrZGRvZnFYU1VicVFrdlNKeQkAAgECDVVua25vd24gY2hhaW4BD2dldFN0cmluZ09y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MAAAkAAgECEk5vIHBheW1lbnRzIG5lZWRlZAUIYWN0aW9uczEJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4Azc6S8Q==", "height": 2599984, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: B8vJvYsJ28VXeNALv6AxiAaYbAdG7YL6RNst99G9qEAY Next: 9idqNa8EzcRooxoadRjadZNMYUuB1PMRVf8nvPdT6BgE Diff:
OldNewDifferences
771771 let currentWh = split_4C(wh, ":")
772772 let loft = split(currentWh[whIdxLOFT], "_")
773773 let whOccupied = parseIntValue(loft[volOccupied])
774- let whFree = parseIntValue(loft[volFree])
774+ let whTotal = parseIntValue(loft[volTotal])
775775 let ordKey = keyOrderByLand(landAssetId)
776776 let currentOrd = getOrder(ordKey)
777777 let z = setInternal(currentWh, currentOrd, cargoParts)
778778 let buyVolSaldo = z._4
779779 let sellVolSaldo = z._5
780+ let whLocked = (buyVolSaldo + sellVolSaldo)
781+ let whFree = ((whTotal - whOccupied) - whLocked)
780782 if ((buyVolSaldo > whFree))
781783 then throw((((("Attempt to reserve " + toString(buyVolSaldo)) + " space for buy orders, but only ") + toString(whFree)) + " warehouse empty space left"))
782784 else if ((sellVolSaldo > whOccupied))
783785 then throw((((("Attempt to lock " + toString(sellVolSaldo)) + " space for sell orders, but only ") + toString(whOccupied)) + " warehouse space occupied"))
784786 else {
785- let whStr = makeString_2C([currentWh[whIdxLevels], makeString(z._1, "_"), makeString(z._2, "_"), makeString(z._3, "_"), toString((buyVolSaldo + sellVolSaldo))], ":")
787+ let whStr = makeString_2C([currentWh[whIdxLevels], makeString(z._1, "_"), makeString(z._2, "_"), makeString(z._3, "_"), toString(whLocked)], ":")
786788 let whSave = invoke(stakingContract, "saveWarehouse", [whStr, landAssetId], nil)
787789 if ((whSave == whSave))
788790 then {
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let SEP = "__"
55
66 let MULT6 = 1000000
77
88 let MULT7 = 10000000
99
1010 let MULT8 = 100000000
1111
1212 let MULT10 = 10000000000
1313
1414 let chain = take(drop(this.bytes, 1), 1)
1515
1616 let usdtAssetId = match chain {
1717 case _ =>
1818 if ((base58'2W' == $match0))
1919 then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi'
2020 else if ((base58'2T' == $match0))
2121 then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63'
2222 else throw("Unknown chain")
2323 }
2424
2525 let defaultRestAddressStr = match chain {
2626 case _ =>
2727 if ((base58'2W' == $match0))
2828 then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv"
2929 else if ((base58'2T' == $match0))
3030 then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy"
3131 else throw("Unknown chain")
3232 }
3333
3434 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
3535
3636
3737 func getIntOrElse (key,defaultVal) = valueOrElse(getInteger(this, key), defaultVal)
3838
3939
4040 let IdxCfgStakingDapp = 1
4141
4242 let IdxCfgEconomyDapp = 2
4343
4444 let IdxCfgGovernanceDapp = 3
4545
4646 func keyRestCfg () = "%s__restConfig"
4747
4848
4949 func keyRestAddress () = "%s__restAddr"
5050
5151
5252 func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP)
5353
5454
5555 func getContractAddressOrFail (restCfg,idx) = valueOrErrorMessage(addressFromString(restCfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx)))
5656
5757
5858 let restContract = addressFromStringValue(valueOrElse(getString(this, keyRestAddress()), defaultRestAddressStr))
5959
6060 let restCfg = readRestCfgOrFail(restContract)
6161
6262 let stakingContract = getContractAddressOrFail(restCfg, IdxCfgStakingDapp)
6363
6464 let DEFAULTLOCATION = "Africa_F_Africa"
6565
6666 let NUMRES = 6
6767
6868 let FACTORYMAXWAREHOUSE = 10000000000
6969
7070 let RESOURCEPRICEMIN = 39637
7171
7272 let MINPAYMENT = 10000
7373
7474 let SELLMULTIPLIER = 200
7575
7676 let BUYMULTIPLIER = 300
7777
7878 let LANDPREFIX = "LAND"
7979
8080 let DUCKPREFIX = "DUCK"
8181
8282 let WHMULTIPLIER = 10000000000
8383
8484 let AUCTIONFEE = 10000
8585
8686 let MINSHOPPAYMENT = 100000
8787
8888 let resTypes = ["Oil", "Ore", "Wood", "Sand", "Clay", "Organic"]
8989
9090 let matTypes = ["Fuel", "Metal", "Plank", "Glass", "Plastic", "Protein"]
9191
9292 let prodTypes = ["First Aid Kit", "Backpack", "Food Ration", "Jet Pack", "Shield"]
9393
9494 let continents = ["Americas", "Europe", "Asia", "Africa", "Oceania"]
9595
9696 let productionMatrix = ["1_1_1_2_2_5_1_10_0", "2_2_2_4_4_10_1_10_0", "3_3_3_6_6_15_1_10_0", "2_5_5_2_7_5_2_100_1", "4_10_10_4_14_10_2_100_1", "6_15_15_6_21_15_2_100_1", "1_1_1_1_1_8_1_10_2", "2_2_2_2_2_16_1_10_2", "3_3_3_3_3_24_1_10_2", "9_9_1_5_5_1_5_100_3", "18_18_2_10_10_2_5_100_3", "27_27_3_15_15_3_5_100_3", "2_2_1_2_2_2_1_10_4", "4_4_2_4_4_4_1_10_4", "6_6_3_6_6_6_1_10_4"]
9797
9898 let contIdxAmericas = 0
9999
100100 let contIdxEurope = 1
101101
102102 let contIdxAsia = 2
103103
104104 let contIdxAfrica = 3
105105
106106 let contIdxOceania = 4
107107
108108 let recipeIdxFuel = 0
109109
110110 let recipeIdxMetal = 1
111111
112112 let recipeIdxPlank = 2
113113
114114 let recipeIdxGlass = 3
115115
116116 let recipeIdxPlastic = 4
117117
118118 let recipeIdxProtein = 5
119119
120120 let recipeIdxWeight = 6
121121
122122 let recipeIdxPacksize = 7
123123
124124 let recipeIdxContinent = 8
125125
126126 func keyFactoryWarehouseByIdAndType (factoryId,resType) = ((("factoryWhByContinentAndRes_" + factoryId) + "_") + toString(resType))
127127
128128
129129 func keyOrderByLand (landAssetId) = ("landOrder_" + landAssetId)
130130
131131
132132 func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr)
133133
134134
135135 func keyBackpackByDuck (duckAssetId) = ("backPack_" + duckAssetId)
136136
137137
138138 func keyDuckLocation (duckAssetId) = ("duckLocation_" + duckAssetId)
139139
140140
141141 func keyBlocked () = "contractsBlocked"
142142
143143
144144 func keyLandAssetIdToOwner (assetId) = ("nftOwner_" + assetId)
145145
146146
147147 func keyStakedTimeByAssetId (assetId) = ("stakedTime_" + assetId)
148148
149149
150150 func keyAddressRefBy (addr) = ("accRefBy_" + addr)
151151
152152
153153 let locIdxContinent = 0
154154
155155 let locIdxType = 1
156156
157157 let locIdxId = 2
158158
159159 let bpIdxLevel = 0
160160
161161 let bpIdxRes = 1
162162
163163 let bpIdxMat = 2
164164
165165 let bpIdxProd = 3
166166
167167 let whIdxLevels = 0
168168
169169 let whIdxRes = 1
170170
171171 let whIdxMat = 2
172172
173173 let whIdxProd = 3
174174
175175 let whIdxLOFT = 4
176176
177177 let volLocked = 0
178178
179179 let volOccupied = 1
180180
181181 let volFree = 2
182182
183183 let volTotal = 3
184184
185185 let ordIdxRes = 0
186186
187187 let ordIdxMat = 1
188188
189189 let ordIdxProd = 2
190190
191191 func asString (v) = match v {
192192 case s: String =>
193193 s
194194 case _ =>
195195 throw("fail to cast into String")
196196 }
197197
198198
199199 func getOrder (ordKey) = {
200200 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:"), ":")
201201 [if ((size(split(p[ordIdxRes], "_")) == NUMRES))
202202 then p[ordIdxRes]
203203 else "0@0_0@0_0@0_0@0_0@0_0@0", if ((size(split(p[ordIdxMat], "_")) == NUMRES))
204204 then p[ordIdxMat]
205205 else "0@0_0@0_0@0_0@0_0@0_0@0", p[ordIdxProd]]
206206 }
207207
208208
209209 func toVolume (amount,pkgSize,isProduct) = if (isProduct)
210210 then {
211211 let pkgs = if ((amount >= 0))
212212 then (((amount + pkgSize) - 1) / pkgSize)
213213 else -((((-(amount) + pkgSize) - 1) / pkgSize))
214214 (pkgs * MULT8)
215215 }
216216 else amount
217217
218218
219219 func sellInternal (locId,resType,amount,minPrice) = {
220220 let whKey = keyFactoryWarehouseByIdAndType(locId, resType)
221221 let w0 = valueOrElse(getInteger(whKey), 0)
222222 let r0 = if ((w0 > FACTORYMAXWAREHOUSE))
223223 then 0
224224 else if (((w0 + amount) > FACTORYMAXWAREHOUSE))
225225 then (FACTORYMAXWAREHOUSE - w0)
226226 else amount
227227 let usdtReceived = (fraction(r0, ((SELLMULTIPLIER * RESOURCEPRICEMIN) - fraction(((100 * w0) + (50 * r0)), RESOURCEPRICEMIN, FACTORYMAXWAREHOUSE)), MULT10) + fraction((amount - r0), RESOURCEPRICEMIN, MULT8))
228228 let min99 = (minPrice - (minPrice / 100))
229229 if (((min99 * amount) > (usdtReceived * MULT8)))
230230 then throw((((((((((("Actual price = " + toString(usdtReceived)) + " / ") + toString(amount)) + " < minPrice = ") + toString(minPrice)) + ", (") + locId) + ", ") + resTypes[resType]) + ")"))
231231 else $Tuple2(IntegerEntry(whKey, (w0 + amount)), usdtReceived)
232232 }
233233
234234
235235 func buyInternal (locId,matType,amount,maxPrice) = {
236236 let whKey = keyFactoryWarehouseByIdAndType(locId, matType)
237237 let w0 = valueOrElse(getInteger(whKey), 0)
238238 let m1 = if ((w0 > FACTORYMAXWAREHOUSE))
239239 then min([amount, (w0 - FACTORYMAXWAREHOUSE)])
240240 else 0
241241 let m0 = min([w0, (amount - m1)])
242242 let m = (m0 + m1)
243243 let usdtSpent = (fraction(m0, ((BUYMULTIPLIER * RESOURCEPRICEMIN) - fraction(((100 * w0) - (50 * m0)), RESOURCEPRICEMIN, FACTORYMAXWAREHOUSE)), MULT10) + fraction(m1, (2 * RESOURCEPRICEMIN), MULT8))
244244 let max101 = (maxPrice + (maxPrice / 100))
245245 if (((usdtSpent * MULT8) > (max101 * m)))
246246 then throw((((((((((("Actual price = " + toString(usdtSpent)) + " / ") + toString(m)) + " > maxPrice = ") + toString(maxPrice)) + ", (") + locId) + ", ") + matTypes[matType]) + ")"))
247247 else $Tuple3(IntegerEntry(whKey, (w0 - m)), usdtSpent, m)
248248 }
249249
250250
251251 func getBackpack (bpKey) = {
252252 let p = split(valueOrElse(getString(stakingContract, bpKey), "0:0_0_0_0_0_0:0_0_0_0_0_0:"), ":")
253253 [toString(valueOrElse(parseInt(p[bpIdxLevel]), 0)), if ((size(split(p[bpIdxRes], "_")) == NUMRES))
254254 then p[bpIdxRes]
255255 else "0_0_0_0_0_0", if ((size(split(p[bpIdxMat], "_")) == NUMRES))
256256 then p[bpIdxMat]
257257 else "0_0_0_0_0_0", p[bpIdxProd]]
258258 }
259259
260260
261261 func checkBlocked () = if (valueOrElse(getBoolean(stakingContract, keyBlocked()), false))
262262 then throw("Contracts are under maintenance")
263263 else unit
264264
265265
266266 func setCommon (acc,item) = {
267267 let j = acc._1
268268 let isProd = acc._8
269269 let pkgSize = if (isProd)
270270 then parseIntValue(split(productionMatrix[j], "_")[recipeIdxPacksize])
271271 else 0
272272 let itemParts = split(item, "@")
273273 if ((size(itemParts) != 2))
274274 then throw("Incorrect order format, should be amount@price")
275275 else {
276276 let newOrdAm = parseIntValue(itemParts[0])
277277 let newOrdPr = parseIntValue(itemParts[1])
278278 let newOrdUsd = fraction(newOrdAm, newOrdPr, MULT8)
279279 let newOrdVol = toVolume(newOrdAm, pkgSize, isProd)
280280 let whInit = if ((size(acc._6) > j))
281281 then parseIntValue(acc._6[j])
282282 else 0
283283 let curOrdParts = split(if ((size(acc._7) > j))
284284 then acc._7[j]
285285 else "0@0", "@")
286286 let curOrdAm = parseIntValue(curOrdParts[0])
287287 let curOrdPr = parseIntValue(curOrdParts[1])
288288 if (if ((0 > curOrdPr))
289289 then true
290290 else (0 > newOrdPr))
291291 then throw("Price can't be negative")
292292 else {
293293 let curOrdUsd = fraction(curOrdAm, curOrdPr, MULT8)
294294 let curOrdVol = toVolume(curOrdAm, pkgSize, isProd)
295295 if ((newOrdAm == 0))
296296 then if ((curOrdAm > 0))
297297 then $Tuple8((j + 1), (acc._2 :+ toString(whInit)), acc._3, acc._4, (acc._5 - curOrdUsd), acc._6, acc._7, isProd)
298298 else $Tuple8((j + 1), (acc._2 :+ toString((whInit - curOrdAm))), acc._3, acc._4, acc._5, acc._6, acc._7, isProd)
299299 else if ((newOrdAm > 0))
300300 then if ((0 > curOrdAm))
301301 then $Tuple8((j + 1), (acc._2 :+ toString((whInit - curOrdAm))), (acc._3 + newOrdVol), acc._4, (acc._5 + newOrdUsd), acc._6, acc._7, isProd)
302302 else $Tuple8((j + 1), (acc._2 :+ toString(whInit)), (acc._3 + newOrdVol), acc._4, ((acc._5 + newOrdUsd) - curOrdUsd), acc._6, acc._7, isProd)
303303 else if ((0 > curOrdAm))
304304 then {
305305 let amDiff = (curOrdAm - newOrdAm)
306306 if ((0 > (whInit - amDiff)))
307307 then throw((((("Attempt to take " + toString(amDiff)) + " from warehouse, but only ") + toString(whInit)) + " available"))
308308 else $Tuple8((j + 1), (acc._2 :+ toString((whInit - amDiff))), acc._3, (acc._4 - newOrdVol), acc._5, acc._6, acc._7, isProd)
309309 }
310310 else if ((0 > (whInit + newOrdAm)))
311311 then throw((((("Attempt to take " + toString(-(newOrdAm))) + " from warehouse, but only ") + toString(whInit)) + " available"))
312312 else $Tuple8((j + 1), (acc._2 :+ toString((whInit + newOrdAm))), acc._3, (acc._4 - newOrdVol), (acc._5 - curOrdUsd), acc._6, acc._7, isProd)
313313 }
314314 }
315315 }
316316
317317
318318 func setInternal (currentWh,currentOrd,newOrd) = {
319319 let currWhRes = split(currentWh[whIdxRes], "_")
320320 let currWhMat = split(currentWh[whIdxMat], "_")
321321 let currWhProd = if ((currentWh[whIdxProd] == ""))
322322 then nil
323323 else split(currentWh[whIdxProd], "_")
324324 let currentOrdRes = split(currentOrd[ordIdxRes], "_")
325325 let currentOrdMat = split(currentOrd[ordIdxMat], "_")
326326 let currentOrdProd = if ((currentOrd[ordIdxProd] == ""))
327327 then nil
328328 else split(currentOrd[ordIdxProd], "_")
329329 if ((size(newOrd) != 3))
330330 then throw("cargoListStr should contain exactly 2 ':' separators")
331331 else {
332332 let resParts = split(newOrd[0], "_")
333333 let matParts = split(newOrd[1], "_")
334334 let prodParts = if ((newOrd[2] == ""))
335335 then nil
336336 else split(newOrd[2], "_")
337337 if ((size(resParts) != NUMRES))
338338 then throw("All 6 resources should be passed")
339339 else if ((size(matParts) != NUMRES))
340340 then throw("All 6 materials should be passed")
341341 else {
342342 let r = {
343343 let $l = resParts
344344 let $s = size($l)
345345 let $acc0 = $Tuple8(0, nil, 0, 0, 0, currWhRes, currentOrdRes, false)
346346 func $f0_1 ($a,$i) = if (($i >= $s))
347347 then $a
348348 else setCommon($a, $l[$i])
349349
350350 func $f0_2 ($a,$i) = if (($i >= $s))
351351 then $a
352352 else throw("List size exceeds 6")
353353
354354 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
355355 }
356356 let m = {
357357 let $l = matParts
358358 let $s = size($l)
359359 let $acc0 = $Tuple8(0, nil, r._3, r._4, r._5, currWhMat, currentOrdMat, false)
360360 func $f1_1 ($a,$i) = if (($i >= $s))
361361 then $a
362362 else setCommon($a, $l[$i])
363363
364364 func $f1_2 ($a,$i) = if (($i >= $s))
365365 then $a
366366 else throw("List size exceeds 6")
367367
368368 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6)
369369 }
370370 let p = if ((size(prodParts) != 0))
371371 then {
372372 let $l = prodParts
373373 let $s = size($l)
374374 let $acc0 = $Tuple8(0, nil, m._3, m._4, m._5, currWhProd, currentOrdProd, true)
375375 func $f2_1 ($a,$i) = if (($i >= $s))
376376 then $a
377377 else setCommon($a, $l[$i])
378378
379379 func $f2_2 ($a,$i) = if (($i >= $s))
380380 then $a
381381 else throw("List size exceeds 50")
382382
383383 $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)
384384 }
385385 else $Tuple8(0, currWhProd, m._3, m._4, m._5, currWhProd, currentOrdProd, true)
386386 $Tuple6(r._2, m._2, p._2, p._3, p._4, p._5)
387387 }
388388 }
389389 }
390390
391391
392392 func acceptCommon (acc,bpOrdItem) = {
393393 let j = acc._7
394394 let isProd = acc._12
395395 let pkgSize = if (isProd)
396396 then parseIntValue(split(productionMatrix[j], "_")[recipeIdxPacksize])
397397 else 0
398398 let bpOrdParts = split(bpOrdItem, "@")
399399 if ((size(bpOrdParts) != 2))
400400 then throw("Incorrect order format, should be amount@price")
401401 else {
402402 let bpOrdAm = parseIntValue(bpOrdParts[0])
403403 let bpOrdPr = parseIntValue(bpOrdParts[1])
404404 if ((0 > bpOrdPr))
405405 then throw("Price can't be negative")
406406 else {
407407 let bpOrdUsd = fraction(bpOrdAm, bpOrdPr, MULT8)
408408 let bpInit = if ((size(acc._8) > j))
409409 then parseIntValue(acc._8[j])
410410 else 0
411411 let whInit = if ((size(acc._9) > j))
412412 then parseIntValue(acc._9[j])
413413 else 0
414414 let whOrdParts = split(acc._10[j], "@")
415415 let whOrdAm = parseIntValue(whOrdParts[0])
416416 let whOrdPr = parseIntValue(whOrdParts[1])
417417 if (if ((bpOrdAm != 0))
418418 then (bpOrdPr != whOrdPr)
419419 else false)
420420 then throw(((((("Prices of " + acc._11[j]) + " don't match! WH price=") + toString(whOrdPr)) + ", your price=") + toString(bpOrdPr)))
421421 else {
422422 let whOrdUsd = fraction(whOrdAm, whOrdPr, MULT8)
423423 let deltaVol = toVolume(bpOrdAm, pkgSize, isProd)
424424 if ((bpOrdAm == 0))
425425 then $Tuple12((acc._1 :+ toString(whInit)), (acc._2 :+ acc._10[j]), (acc._3 :+ toString(bpInit)), acc._4, acc._5, acc._6, (acc._7 + 1), acc._8, acc._9, acc._10, acc._11, isProd)
426426 else if ((bpOrdAm > 0))
427427 then if ((0 > whOrdAm))
428428 then if ((bpOrdAm > -(whOrdAm)))
429429 then throw(((((("Attempt to buy " + toString(bpOrdAm)) + " of ") + acc._11[j]) + ", but warehouse only sells ") + toString(-(whOrdAm))))
430430 else $Tuple12((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)
431431 else throw((("Attempt to buy " + acc._11[j]) + " while warehouse doesn't sell it"))
432432 else if ((whOrdAm > 0))
433433 then if ((-(bpOrdAm) > whOrdAm))
434434 then throw(((((("Attempt to sell " + toString(-(bpOrdAm))) + " of ") + acc._11[j]) + ", but warehouse only buys ") + toString(whOrdAm)))
435435 else if ((-(bpOrdAm) > bpInit))
436436 then throw(((((("Attempt to sell " + toString(-(bpOrdAm))) + ", but you only have ") + toString(bpInit)) + " of ") + acc._11[j]))
437437 else $Tuple12((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)
438438 else throw((("Attempt to sell " + acc._11[j]) + " while warehouse doesn't buy it"))
439439 }
440440 }
441441 }
442442 }
443443
444444
445445 @Callable(i)
446446 func recalcLockedVolumeREADONLY (landAssetId,wh) = {
447447 let currentOrd = getOrder(keyOrderByLand(landAssetId))
448448 let z = setInternal(wh, currentOrd, currentOrd)
449449 $Tuple2(nil, (z._4 + z._5))
450450 }
451451
452452
453453
454454 @Callable(i)
455455 func constructorV1 (restAddr) = if ((i.caller != this))
456456 then throw("Permission denied")
457457 else [StringEntry(keyRestAddress(), restAddr)]
458458
459459
460460
461461 @Callable(i)
462462 func sellResources (amounts,minPrices) = {
463463 let blocked = checkBlocked()
464464 if ((blocked == blocked))
465465 then {
466466 let duckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
467467 if ((size(i.payments) != 0))
468468 then throw("sellResources doesn't require any payments")
469469 else {
470470 let curLocation = split(valueOrElse(getString(stakingContract, keyDuckLocation(duckAssetId)), DEFAULTLOCATION), "_")
471471 if ((curLocation[locIdxType] != "F"))
472472 then throw(("Duck location type should be Factory, but is " + curLocation[locIdxType]))
473473 else {
474474 let locId = curLocation[locIdxId]
475475 let currentPack = getBackpack(keyBackpackByDuck(duckAssetId))
476476 let resList = split(currentPack[bpIdxRes], "_")
477477 func adder (acc,j) = if ((amounts[j] > parseIntValue(resList[j])))
478478 then throw(((((("You have " + resList[j]) + " of ") + resTypes[j]) + ", but tried to sell ") + toString(amounts[j])))
479479 else if ((0 > amounts[j]))
480480 then throw(((("You tried to sell negative amount of " + resTypes[j]) + ": ") + toString(amounts[j])))
481481 else if ((amounts[j] > 0))
482482 then {
483483 let b = sellInternal(locId, j, amounts[j], minPrices[j])
484484 $Tuple3((acc._1 :+ b._1), (acc._2 :+ toString((parseIntValue(resList[j]) - amounts[j]))), (acc._3 + b._2))
485485 }
486486 else $Tuple3(acc._1, (acc._2 :+ resList[j]), acc._3)
487487
488488 let merged = {
489489 let $l = [0, 1, 2, 3, 4, 5]
490490 let $s = size($l)
491491 let $acc0 = $Tuple3(nil, nil, 0)
492492 func $f0_1 ($a,$i) = if (($i >= $s))
493493 then $a
494494 else adder($a, $l[$i])
495495
496496 func $f0_2 ($a,$i) = if (($i >= $s))
497497 then $a
498498 else throw("List size exceeds 6")
499499
500500 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
501501 }
502502 let newPack = makeString([currentPack[bpIdxLevel], makeString(merged._2, "_"), currentPack[bpIdxMat], currentPack[bpIdxProd]], ":")
503503 let result = asString(invoke(stakingContract, "updateBackpack", [duckAssetId, newPack], nil))
504504 $Tuple2((merged._1 :+ ScriptTransfer(i.caller, merged._3, usdtAssetId)), result)
505505 }
506506 }
507507 }
508508 else throw("Strict value is not equal to itself.")
509509 }
510510
511511
512512
513513 @Callable(i)
514514 func buyMaterials (amounts,maxPrices) = {
515515 let blocked = checkBlocked()
516516 if ((blocked == blocked))
517517 then {
518518 let duckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
519519 if ((size(i.payments) != 1))
520520 then throw("exactly 1 payment must be attached")
521521 else {
522522 let pmt = i.payments[0]
523523 let amt = pmt.amount
524524 let pmtAssetId = valueOrErrorMessage(pmt.assetId, "WAVES can't be used as payment")
525525 if ((pmtAssetId != usdtAssetId))
526526 then throw("USDT payments only!")
527527 else {
528528 let curLocation = split(valueOrElse(getString(stakingContract, keyDuckLocation(duckAssetId)), DEFAULTLOCATION), "_")
529529 if ((curLocation[locIdxType] != "F"))
530530 then throw(("Duck location type should be Factory, but is " + curLocation[locIdxType]))
531531 else {
532532 let locId = curLocation[locIdxId]
533533 let currentPack = getBackpack(keyBackpackByDuck(duckAssetId))
534534 let matList = split(currentPack[bpIdxMat], "_")
535535 func mUpdater (acc,j) = if ((0 > amounts[j]))
536536 then throw(((("You tried to buy negative amount of " + matTypes[j]) + ": ") + toString(amounts[j])))
537537 else if ((amounts[j] > 0))
538538 then {
539539 let b = buyInternal(locId, j, amounts[j], maxPrices[j])
540540 $Tuple3((acc._1 :+ b._1), (acc._2 :+ toString((parseIntValue(matList[j]) + b._3))), (acc._3 + b._2))
541541 }
542542 else $Tuple3(acc._1, (acc._2 :+ matList[j]), acc._3)
543543
544544 let merged = {
545545 let $l = [0, 1, 2, 3, 4, 5]
546546 let $s = size($l)
547547 let $acc0 = $Tuple3(nil, nil, 0)
548548 func $f0_1 ($a,$i) = if (($i >= $s))
549549 then $a
550550 else mUpdater($a, $l[$i])
551551
552552 func $f0_2 ($a,$i) = if (($i >= $s))
553553 then $a
554554 else throw("List size exceeds 6")
555555
556556 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
557557 }
558558 if ((merged._3 > amt))
559559 then throw(((("Insufficient payment! Attached=" + toString(amt)) + ", required=") + toString(merged._3)))
560560 else {
561561 let newPack = makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], makeString(merged._2, "_"), currentPack[bpIdxProd]], ":")
562562 let result = asString(invoke(stakingContract, "updateBackpack", [duckAssetId, newPack], nil))
563563 let rest = if (((amt - merged._3) > 0))
564564 then [ScriptTransfer(i.caller, (amt - merged._3), usdtAssetId)]
565565 else nil
566566 let activitiesAmount = (merged._3 / 100)
567567 $Tuple2(((merged._1 ++ rest) :+ ScriptTransfer(restContract, activitiesAmount, usdtAssetId)), result)
568568 }
569569 }
570570 }
571571 }
572572 }
573573 else throw("Strict value is not equal to itself.")
574574 }
575575
576576
577577
578578 @Callable(i)
579579 func exchangeResources (amounts) = {
580580 let blocked = checkBlocked()
581581 if ((blocked == blocked))
582582 then {
583583 let duckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
584584 if ((size(i.payments) != 1))
585585 then throw("exactly 1 payment must be attached")
586586 else {
587587 let pmt = i.payments[0]
588588 let amt = pmt.amount
589589 let pmtAssetId = valueOrErrorMessage(pmt.assetId, "WAVES can't be used as payment")
590590 if ((pmtAssetId != usdtAssetId))
591591 then throw("USDT payments only!")
592592 else {
593593 let curLocation = split(valueOrElse(getString(stakingContract, keyDuckLocation(duckAssetId)), DEFAULTLOCATION), "_")
594594 if ((curLocation[locIdxType] != "F"))
595595 then throw(("Duck location type should be Factory, but is " + curLocation[locIdxType]))
596596 else {
597597 let locId = curLocation[locIdxId]
598598 let currentPack = getBackpack(keyBackpackByDuck(duckAssetId))
599599 let resList = split(currentPack[bpIdxRes], "_")
600600 let matList = split(currentPack[bpIdxMat], "_")
601601 func exchanger (acc,j) = {
602602 let whKey = keyFactoryWarehouseByIdAndType(locId, j)
603603 let w0 = valueOrElse(getInteger(whKey), 0)
604604 let amj = amounts[j]
605605 if ((amj > parseIntValue(resList[j])))
606606 then throw(((((("You have " + resList[j]) + " of ") + resTypes[j]) + ", but tried to exchange ") + toString(amj)))
607607 else if ((0 > amj))
608608 then throw(((("You tried to exchange negative amount of " + resTypes[j]) + ": ") + toString(amj)))
609609 else if ((amj > 0))
610610 then $Tuple4((acc._1 :+ toString((parseIntValue(resList[j]) - amj))), (acc._2 :+ toString((parseIntValue(matList[j]) + amj))), (acc._3 + fraction(amj, RESOURCEPRICEMIN, MULT8)), (acc._4 :+ IntegerEntry(whKey, w0)))
611611 else $Tuple4((acc._1 :+ resList[j]), (acc._2 :+ matList[j]), acc._3, acc._4)
612612 }
613613
614614 let merged = {
615615 let $l = [0, 1, 2, 3, 4, 5]
616616 let $s = size($l)
617617 let $acc0 = $Tuple4(nil, nil, 0, nil)
618618 func $f0_1 ($a,$i) = if (($i >= $s))
619619 then $a
620620 else exchanger($a, $l[$i])
621621
622622 func $f0_2 ($a,$i) = if (($i >= $s))
623623 then $a
624624 else throw("List size exceeds 6")
625625
626626 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
627627 }
628628 if ((merged._3 > amt))
629629 then throw(((("Insufficient payment! Attached=" + toString(amt)) + ", required=") + toString(merged._3)))
630630 else {
631631 let newPack = makeString([currentPack[bpIdxLevel], makeString(merged._1, "_"), makeString(merged._2, "_"), currentPack[bpIdxProd]], ":")
632632 let result = asString(invoke(stakingContract, "updateBackpack", [duckAssetId, newPack], nil))
633633 let rest = if (((amt - merged._3) > 0))
634634 then [ScriptTransfer(i.caller, (amt - merged._3), usdtAssetId)]
635635 else nil
636636 let activitiesAmount = (merged._3 / 100)
637637 $Tuple2(((rest ++ merged._4) :+ ScriptTransfer(restContract, activitiesAmount, usdtAssetId)), result)
638638 }
639639 }
640640 }
641641 }
642642 }
643643 else throw("Strict value is not equal to itself.")
644644 }
645645
646646
647647
648648 @Callable(i)
649649 func craftGoods (productIdx,quantity) = {
650650 let blocked = checkBlocked()
651651 if ((blocked == blocked))
652652 then if ((size(i.payments) != 1))
653653 then throw("exactly 1 payment must be attached")
654654 else {
655655 let pmt = i.payments[0]
656656 let amt = pmt.amount
657657 let pmtAssetId = valueOrErrorMessage(pmt.assetId, "WAVES can't be used as payment")
658658 if ((pmtAssetId != usdtAssetId))
659659 then throw("USDT payments only!")
660660 else if ((amt != MULT6))
661661 then throw("exactly 1 USDT must be attached as payment")
662662 else if ((0 >= quantity))
663663 then throw("Quantity should be positive")
664664 else {
665665 let duckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
666666 let curLocation = split(valueOrElse(getString(stakingContract, keyDuckLocation(duckAssetId)), DEFAULTLOCATION), "_")
667667 if ((curLocation[locIdxType] != "M"))
668668 then throw(("Duck location type should be Manufactory, but is " + curLocation[locIdxType]))
669669 else {
670670 let cont = curLocation[locIdxContinent]
671671 let currentPack = getBackpack(keyBackpackByDuck(duckAssetId))
672672 let matList = split(currentPack[bpIdxMat], "_")
673673 if (if ((0 > productIdx))
674674 then true
675675 else (productIdx >= size(productionMatrix)))
676676 then throw(("Unknown product idx=" + toString(productIdx)))
677677 else {
678678 let recipe = split(productionMatrix[productIdx], "_")
679679 if ((size(recipe) != (NUMRES + 3)))
680680 then throw(("Fatal: unknown recipe: " + productionMatrix[productIdx]))
681681 else {
682682 let productContIdx = parseIntValue(recipe[recipeIdxContinent])
683683 if ((continents[productContIdx] != cont))
684684 then throw(((("This product is available in " + continents[productContIdx]) + ", but you are in ") + cont))
685685 else {
686686 let prodList = if ((currentPack[bpIdxProd] == ""))
687687 then nil
688688 else split(currentPack[bpIdxProd], "_")
689689 func filler (acc,ignoredItem) = {
690690 let n = acc._2
691691 let xs = if ((size(prodList) > n))
692692 then prodList[n]
693693 else "0"
694694 let x = parseIntValue(xs)
695695 let amount = (quantity * parseIntValue(recipe[recipeIdxPacksize]))
696696 let y = if ((n == productIdx))
697697 then toString((x + amount))
698698 else xs
699699 $Tuple2((acc._1 :+ y), (n + 1))
700700 }
701701
702702 let bpProd = ( let $l = productionMatrix
703703 let $s = size($l)
704704 let $acc0 = $Tuple2(nil, 0)
705705 func $f0_1 ($a,$i) = if (($i >= $s))
706706 then $a
707707 else filler($a, $l[$i])
708708
709709 func $f0_2 ($a,$i) = if (($i >= $s))
710710 then $a
711711 else throw("List size exceeds 50")
712712
713713 $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
714714 func producer (acc,j) = {
715715 let needMat = ((parseIntValue(recipe[j]) * MULT7) * quantity)
716716 let haveMat = parseIntValue(matList[j])
717717 if ((needMat > haveMat))
718718 then throw(((((((("You have " + matList[j]) + " of ") + matTypes[j]) + ", but recipe requires ") + toString(needMat)) + " for quantity ") + toString(quantity)))
719719 else if ((needMat > 0))
720720 then (acc :+ toString((haveMat - needMat)))
721721 else (acc :+ matList[j])
722722 }
723723
724724 let merged = {
725725 let $l = [0, 1, 2, 3, 4, 5]
726726 let $s = size($l)
727727 let $acc0 = nil
728728 func $f1_1 ($a,$i) = if (($i >= $s))
729729 then $a
730730 else producer($a, $l[$i])
731731
732732 func $f1_2 ($a,$i) = if (($i >= $s))
733733 then $a
734734 else throw("List size exceeds 6")
735735
736736 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6)
737737 }
738738 let newPack = makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], makeString(merged, "_"), makeString(bpProd, "_")], ":")
739739 let result = asString(invoke(stakingContract, "updateBackpack", [duckAssetId, newPack], nil))
740740 $Tuple2(nil, result)
741741 }
742742 }
743743 }
744744 }
745745 }
746746 }
747747 else throw("Strict value is not equal to itself.")
748748 }
749749
750750
751751
752752 @Callable(i)
753753 func setWarehouseOrder (cargoListStr,landAssetId) = {
754754 let user = i.originCaller
755755 let addr = toString(user)
756756 let result = if ((user != restContract))
757757 then checkBlocked()
758758 else false
759759 let asset = value(assetInfo(fromBase58String(landAssetId)))
760760 if (!(isDefined(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)))))
761761 then throw((("NFT " + asset.name) + " is not staked"))
762762 else {
763763 let owner = valueOrErrorMessage(getString(stakingContract, keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
764764 if (if ((user != restContract))
765765 then (owner != addr)
766766 else false)
767767 then throw((LANDPREFIX + " is not yours"))
768768 else {
769769 let cargoParts = split_4C(cargoListStr, ":")
770770 let wh = asString(invoke(stakingContract, "getWarehouseREADONLY", [landAssetId], nil))
771771 let currentWh = split_4C(wh, ":")
772772 let loft = split(currentWh[whIdxLOFT], "_")
773773 let whOccupied = parseIntValue(loft[volOccupied])
774- let whFree = parseIntValue(loft[volFree])
774+ let whTotal = parseIntValue(loft[volTotal])
775775 let ordKey = keyOrderByLand(landAssetId)
776776 let currentOrd = getOrder(ordKey)
777777 let z = setInternal(currentWh, currentOrd, cargoParts)
778778 let buyVolSaldo = z._4
779779 let sellVolSaldo = z._5
780+ let whLocked = (buyVolSaldo + sellVolSaldo)
781+ let whFree = ((whTotal - whOccupied) - whLocked)
780782 if ((buyVolSaldo > whFree))
781783 then throw((((("Attempt to reserve " + toString(buyVolSaldo)) + " space for buy orders, but only ") + toString(whFree)) + " warehouse empty space left"))
782784 else if ((sellVolSaldo > whOccupied))
783785 then throw((((("Attempt to lock " + toString(sellVolSaldo)) + " space for sell orders, but only ") + toString(whOccupied)) + " warehouse space occupied"))
784786 else {
785- let whStr = makeString_2C([currentWh[whIdxLevels], makeString(z._1, "_"), makeString(z._2, "_"), makeString(z._3, "_"), toString((buyVolSaldo + sellVolSaldo))], ":")
787+ let whStr = makeString_2C([currentWh[whIdxLevels], makeString(z._1, "_"), makeString(z._2, "_"), makeString(z._3, "_"), toString(whLocked)], ":")
786788 let whSave = invoke(stakingContract, "saveWarehouse", [whStr, landAssetId], nil)
787789 if ((whSave == whSave))
788790 then {
789791 let usdSaldo = z._6
790792 let actions = if ((usdSaldo > 0))
791793 then if ((size(i.payments) != 1))
792794 then throw("exactly 1 payment must be attached")
793795 else {
794796 let pmt = i.payments[0]
795797 let amt = pmt.amount
796798 let pmtAssetId = valueOrErrorMessage(pmt.assetId, "WAVES can't be used as payment")
797799 if ((pmtAssetId != usdtAssetId))
798800 then throw("USDT payments only!")
799801 else if ((amt != usdSaldo))
800802 then throw(("Payment needed is " + toString(usdSaldo)))
801803 else [StringEntry(ordKey, cargoListStr)]
802804 }
803805 else if ((usdSaldo == 0))
804806 then if ((size(i.payments) != 0))
805807 then throw("No payments needed")
806808 else [StringEntry(ordKey, cargoListStr)]
807809 else if ((size(i.payments) != 0))
808810 then throw("No payments needed")
809811 else [ScriptTransfer(addressFromStringValue(owner), -(usdSaldo), usdtAssetId), StringEntry(ordKey, cargoListStr)]
810812 $Tuple2(actions, result)
811813 }
812814 else throw("Strict value is not equal to itself.")
813815 }
814816 }
815817 }
816818 }
817819
818820
819821
820822 @Callable(i)
821823 func acceptWarehouseOrder (bpOrderStr,landAssetId,duckAssetId) = {
822824 let blocked = checkBlocked()
823825 if ((blocked == blocked))
824826 then {
825827 let caller = i.originCaller
826828 let callerAddr = toString(caller)
827829 let stakedDuckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(callerAddr)), "You don't have a duck staked")
828830 let curLocation = valueOrElse(getString(stakingContract, keyDuckLocation(stakedDuckAssetId)), DEFAULTLOCATION)
829831 let loc = split(value(curLocation), "_")
830832 if ((loc[locIdxType] != "L"))
831833 then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L"))
832834 else if ((stakedDuckAssetId != duckAssetId))
833835 then throw(((("Your staked duck is " + stakedDuckAssetId) + ", but passed ") + duckAssetId))
834836 else {
835837 let landAsset = value(assetInfo(fromBase58String(landAssetId)))
836838 if (!(isDefined(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)))))
837839 then throw((("NFT " + landAsset.name) + " is not staked"))
838840 else {
839841 let landOwner = valueOrErrorMessage(getString(stakingContract, keyLandAssetIdToOwner(landAssetId)), (("NFT " + landAsset.name) + " is orphaned"))
840842 if ((landOwner == callerAddr))
841843 then throw("You cannot trade with yourself")
842844 else {
843845 let bpOrderParts = split_4C(bpOrderStr, ":")
844846 if ((size(bpOrderParts) != 3))
845847 then throw("bpOrderStr should contain exactly 2 ':' separators")
846848 else {
847849 let bpOrdRes = split(bpOrderParts[0], "_")
848850 let bpOrdMat = split(bpOrderParts[1], "_")
849851 let bpOrdProd = if ((bpOrderParts[2] == ""))
850852 then nil
851853 else split(bpOrderParts[2], "_")
852854 if ((size(bpOrdRes) != NUMRES))
853855 then throw("All 6 resources should be passed")
854856 else if ((size(bpOrdMat) != NUMRES))
855857 then throw("All 6 materials should be passed")
856858 else {
857859 let wh = asString(invoke(stakingContract, "getWarehouseREADONLY", [landAssetId], nil))
858860 let currentWh = split_4C(wh, ":")
859861 let currWhRes = split(currentWh[whIdxRes], "_")
860862 let currWhMat = split(currentWh[whIdxMat], "_")
861863 let currWhProd = if ((currentWh[whIdxProd] == ""))
862864 then nil
863865 else split(currentWh[whIdxProd], "_")
864866 let currWhLockedVol = parseIntValue(split(currentWh[whIdxLOFT], "_")[volLocked])
865867 let bpKey = keyBackpackByDuck(duckAssetId)
866868 let currentPack = getBackpack(bpKey)
867869 let bpResList = split(currentPack[bpIdxRes], "_")
868870 let bpMatList = split(currentPack[bpIdxMat], "_")
869871 let bpProdList = if ((currentPack[bpIdxProd] == ""))
870872 then nil
871873 else split(currentPack[bpIdxProd], "_")
872874 let ordKey = keyOrderByLand(landAssetId)
873875 let whOrd = getOrder(ordKey)
874876 let whOrdRes = split(whOrd[ordIdxRes], "_")
875877 let whOrdMat = split(whOrd[ordIdxMat], "_")
876878 let whOrdProd = if ((whOrd[ordIdxProd] == ""))
877879 then nil
878880 else split(whOrd[ordIdxProd], "_")
879881 let r = {
880882 let $l = bpOrdRes
881883 let $s = size($l)
882884 let $acc0 = $Tuple12(nil, nil, nil, 0, 0, 0, 0, bpResList, currWhRes, whOrdRes, resTypes, false)
883885 func $f0_1 ($a,$i) = if (($i >= $s))
884886 then $a
885887 else acceptCommon($a, $l[$i])
886888
887889 func $f0_2 ($a,$i) = if (($i >= $s))
888890 then $a
889891 else throw("List size exceeds 6")
890892
891893 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
892894 }
893895 let m = {
894896 let $l = bpOrdMat
895897 let $s = size($l)
896898 let $acc0 = $Tuple12(nil, nil, nil, r._4, r._5, r._6, 0, bpMatList, currWhMat, whOrdMat, matTypes, false)
897899 func $f1_1 ($a,$i) = if (($i >= $s))
898900 then $a
899901 else acceptCommon($a, $l[$i])
900902
901903 func $f1_2 ($a,$i) = if (($i >= $s))
902904 then $a
903905 else throw("List size exceeds 6")
904906
905907 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6)
906908 }
907909 let p = if ((size(bpOrdProd) != 0))
908910 then {
909911 let $l = bpOrdProd
910912 let $s = size($l)
911913 let $acc0 = $Tuple12(nil, nil, nil, m._4, m._5, m._6, 0, bpProdList, currWhProd, whOrdProd, prodTypes, true)
912914 func $f2_1 ($a,$i) = if (($i >= $s))
913915 then $a
914916 else acceptCommon($a, $l[$i])
915917
916918 func $f2_2 ($a,$i) = if (($i >= $s))
917919 then $a
918920 else throw("List size exceeds 50")
919921
920922 $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)
921923 }
922924 else $Tuple12(currWhProd, whOrdProd, bpProdList, m._4, m._5, m._6, 0, bpProdList, currWhProd, whOrdProd, prodTypes, true)
923925 let volSaldo = p._4
924926 let newLockedVol = if ((0 > (currWhLockedVol - volSaldo)))
925927 then 0
926928 else (currWhLockedVol - volSaldo)
927929 let whStr = makeString_2C([currentWh[whIdxLevels], makeString(r._1, "_"), makeString(m._1, "_"), makeString(p._1, "_"), toString(newLockedVol)], ":")
928930 let newWhOrdStr = makeString_2C([makeString(r._2, "_"), makeString(m._2, "_"), makeString(p._2, "_")], ":")
929931 let newBpStr = makeString_2C([currentPack[bpIdxLevel], makeString(r._3, "_"), makeString(m._3, "_"), makeString(p._3, "_")], ":")
930932 let whSave = invoke(stakingContract, "saveWarehouse", [whStr, landAssetId], nil)
931933 if ((whSave == whSave))
932934 then {
933935 let bpSave = invoke(stakingContract, "updateBackpack", [duckAssetId, newBpStr], nil)
934936 if ((bpSave == bpSave))
935937 then {
936938 let actions = [StringEntry(ordKey, newWhOrdStr)]
937939 let usdWh2BpSaldo = p._5
938940 let actions1 = if ((usdWh2BpSaldo > 0))
939941 then {
940942 let usdWh2BpFee = fraction(p._5, AUCTIONFEE, MULT6)
941943 let refByKey = keyAddressRefBy(callerAddr)
942944 let refBy = getString(stakingContract, refByKey)
943945 if (isDefined(refBy))
944946 then (((actions :+ ScriptTransfer(caller, (p._5 - (3 * usdWh2BpFee)), usdtAssetId)) :+ ScriptTransfer(restContract, usdWh2BpFee, usdtAssetId)) :+ ScriptTransfer(addressFromStringValue(value(refBy)), usdWh2BpFee, usdtAssetId))
945947 else ((actions :+ ScriptTransfer(caller, (p._5 - (3 * usdWh2BpFee)), usdtAssetId)) :+ ScriptTransfer(restContract, usdWh2BpFee, usdtAssetId))
946948 }
947949 else actions
948950 let usdBp2WhSaldo = p._6
949951 if ((usdBp2WhSaldo > 0))
950952 then if ((size(i.payments) != 1))
951953 then throw("exactly 1 payment must be attached")
952954 else {
953955 let pmt = i.payments[0]
954956 let amt = pmt.amount
955957 let pmtAssetId = valueOrErrorMessage(pmt.assetId, "WAVES can't be used as payment")
956958 if ((pmtAssetId != usdtAssetId))
957959 then throw("USDT payments only!")
958960 else if ((amt != usdBp2WhSaldo))
959961 then throw(("Payment needed is " + toString(usdBp2WhSaldo)))
960962 else if ((MINSHOPPAYMENT > amt))
961963 then throw(("Payment should be at least " + toString(MINSHOPPAYMENT)))
962964 else {
963965 let usdBp2WhFee = fraction(p._6, AUCTIONFEE, MULT6)
964966 let refByKey = keyAddressRefBy(landOwner)
965967 let refBy = getString(stakingContract, refByKey)
966968 if (isDefined(refBy))
967969 then (((actions1 :+ ScriptTransfer(addressFromStringValue(landOwner), (p._6 - (3 * usdBp2WhFee)), usdtAssetId)) :+ ScriptTransfer(restContract, usdBp2WhFee, usdtAssetId)) :+ ScriptTransfer(addressFromStringValue(value(refBy)), usdBp2WhFee, usdtAssetId))
968970 else ((actions1 :+ ScriptTransfer(addressFromStringValue(landOwner), (p._6 - (3 * usdBp2WhFee)), usdtAssetId)) :+ ScriptTransfer(restContract, usdBp2WhFee, usdtAssetId))
969971 }
970972 }
971973 else if ((size(i.payments) != 0))
972974 then throw("No payments needed")
973975 else actions1
974976 }
975977 else throw("Strict value is not equal to itself.")
976978 }
977979 else throw("Strict value is not equal to itself.")
978980 }
979981 }
980982 }
981983 }
982984 }
983985 }
984986 else throw("Strict value is not equal to itself.")
985987 }
986988
987989

github/deemru/w8io/026f985 
112.22 ms