tx · BTNXGq8VV5w26RP2yi6n5jycwoB3NRtnbp2nrXCbB1Tb 3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm: -0.10600000 Waves 2023.09.29 22:10 [2777110] smart account 3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm > SELF 0.00000000 Waves
{ "type": 13, "id": "BTNXGq8VV5w26RP2yi6n5jycwoB3NRtnbp2nrXCbB1Tb", "fee": 10600000, "feeAssetId": null, "timestamp": 1696014650427, "version": 2, "chainId": 84, "sender": "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm", "senderPublicKey": "EVooykMNV691Venwp1dHUTBd7KWequzUcda57Wd3LQEX", "proofs": [ "SpEFY61y8eyHpg6Rn2ZyWegLhS5n675o8jLQ3uGJJojTcbVVuoy6Ancs2uroyWe8DuBTTgEk6n4E2hE38xpijWQ" ], "script": "base64:BgLhAQgCEgMKAQgSBAoCCAESAwoBBBIAEgMKAQgSABIDCgEIEgQKAgEIEgQKAgEIEgQKAgICEgUKAwEBARIAEgQKAggIEgASABIECgICAhIAEgMKAQgSBAoCCAgSAwoBGBIECgIICBIECgIICBIDCgEIEgMKARgSAwoBCBIFCgMICAgSBAoCCAgSBwoFAQEBAQESAwoBARIFCgMBAQgSAwoBCBIDCgEIEgASBAoCCAESBAoCCAESAwoBCBIECgIICBIDCgEIEgASAwoBCBIDCgEIEgMKAQgSBAoCAgISBAoCAgISAJoCAAlEQVlNSUxMSVMAgLiZKQEUa2V5TGFzdEFyYlRpbWVCeVVzZXIBBGFkZHIJAKwCAgIQbGFzdEFyYlRpbWVVc2VyXwUEYWRkcgAGU0NBTEU4AIDC1y8ADHhwTGV2ZWxTY2FsZQCAGQAPeHBMZXZlbFJlY2lwUG93AKAfABJudW1Qb2ludHNPbkxldmVsVXAAAwAOcm9iYmVyeUNvc3RNaW4AgMLXLwAUcm9iYmVyeUNvb2xkb3duQ29lZmYAkAMADHJlcXVpcmVtZW50cwkAzAgCAghTdHJlbmd0aAkAzAgCAghBY2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AUFbWF4SFAECWN1ckxvY0tleQkBD2tleUR1Y2tMb2NhdGlvbgEFC2R1Y2tBc3NldElkBAtjdXJMb2NhdGlvbgkBC3ZhbHVlT3JFbHNlAgkAoggBBQljdXJMb2NLZXkFD0RFRkFVTFRMT0NBVElPTgQQZGVsaXZlcnlMb2NhdGlvbgkArAICCQCkAwEFA25vdwIEX0RfMAkAlAoCCQDOCAIJAMwIAgkBDEludGVnZXJFbnRyeQIJAQ5rZXlTYXZlZEhlYWx0aAEFC2R1Y2tBc3NldElkBQljdXJIZWFsdGgJAMwIAgkBDEludGVnZXJFbnRyeQIFCWtleUhlYWx0aAUFbWF4SFAJAMwIAgkBC1N0cmluZ0VudHJ5AgkBEGtleVNhdmVkTG9jYXRpb24BBQtkdWNrQXNzZXRJZAULY3VyTG9jYXRpb24JAMwIAgkBC1N0cmluZ0VudHJ5AgUJY3VyTG9jS2V5BRBkZWxpdmVyeUxvY2F0aW9uBQNuaWwFDXByb2xvZ0FjdGlvbnMJAJQKAgUQZGVsaXZlcnlMb2NhdGlvbgUObmV3TG9ja2VkVG90YWwAva142A==", "height": 2777110, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6L38t3LCTKvRaoEJb5xnjrgMqYzodAwZHSbksCaiVFop Next: 5qt3H3bQa5PrSm2HA7h2CKHHjmCSbXm5d1KzrqiNg6ES Diff:
Old | New | Differences | |
---|---|---|---|
396 | 396 | ||
397 | 397 | let cs = false | |
398 | 398 | ||
399 | - | let ct = | |
399 | + | let ct = false | |
400 | 400 | ||
401 | 401 | let cu = true | |
402 | 402 | ||
2156 | 2156 | then valueOrElse(getBoolean(dH()), false) | |
2157 | 2157 | else false) | |
2158 | 2158 | then throw("Contracts are under maintenance") | |
2159 | - | else StringEntry(dI(toString(gH.originCaller)), toBase58String(gH.transactionId)) | |
2160 | - | ||
2161 | - | ||
2162 | - | @Callable(gH) | |
2163 | - | func constructorV1 (la) = if ((gH.caller != this)) | |
2159 | + | else { | |
2160 | + | let bL = toString(gH.originCaller) | |
2161 | + | let la = getString(bH(bL)) | |
2162 | + | ((if (isDefined(la)) | |
2163 | + | then { | |
2164 | + | let A = value(la) | |
2165 | + | let lb = bJ(A) | |
2166 | + | let cf = split(valueOrElse(getString(lb), aJ), "_") | |
2167 | + | let ci = parseIntValue(cf[bl]) | |
2168 | + | if (if ((cf[bm] != "D")) | |
2169 | + | then true | |
2170 | + | else (lastBlock.timestamp > (ci + aN))) | |
2171 | + | then nil | |
2172 | + | else { | |
2173 | + | let kp = z(A) | |
2174 | + | if ((parseIntValue(cf[bn]) >= 3)) | |
2175 | + | then { | |
2176 | + | let ks = invoke(db, "sendDeliveryReward", [bL], nil) | |
2177 | + | if ((ks == ks)) | |
2178 | + | then nil | |
2179 | + | else throw("Strict value is not equal to itself.") | |
2180 | + | } | |
2181 | + | else (({ | |
2182 | + | let kt = valueOrElse(getInteger(db, bO), 0) | |
2183 | + | let ku = invoke(db, "updateDeliveryLocked", [(kt - aM)], nil) | |
2184 | + | if ((ku == ku)) | |
2185 | + | then if ((0 >= getIntegerValue(kp))) | |
2186 | + | then nil | |
2187 | + | else { | |
2188 | + | let lc = invoke(this, "saveInteger", [T(A), (ci + a)], nil) | |
2189 | + | if ((lc == lc)) | |
2190 | + | then nil | |
2191 | + | else throw("Strict value is not equal to itself.") | |
2192 | + | } | |
2193 | + | else throw("Strict value is not equal to itself.") | |
2194 | + | } :+ IntegerEntry(kp, getIntegerValue(J(A)))) :+ StringEntry(lb, getStringValue(K(A)))) | |
2195 | + | } | |
2196 | + | } | |
2197 | + | else nil) :+ StringEntry(dI(bL), toBase58String(gH.transactionId))) | |
2198 | + | } | |
2199 | + | ||
2200 | + | ||
2201 | + | func ld (gH) = if (if ((gH.originCaller != da)) | |
2202 | + | then valueOrElse(getBoolean(dH()), false) | |
2203 | + | else false) | |
2204 | + | then throw("Contracts are under maintenance") | |
2205 | + | else [StringEntry(dI(toString(gH.originCaller)), toBase58String(gH.transactionId))] | |
2206 | + | ||
2207 | + | ||
2208 | + | @Callable(gH) | |
2209 | + | func constructorV1 (le) = if ((gH.caller != this)) | |
2164 | 2210 | then throw("Permission denied") | |
2165 | - | else [StringEntry(cU(), la)] | |
2166 | - | ||
2167 | - | ||
2168 | - | ||
2169 | - | @Callable(gH) | |
2170 | - | func setBlocked (lb) = if ((gH.caller != this)) | |
2211 | + | else [StringEntry(cU(), le)] | |
2212 | + | ||
2213 | + | ||
2214 | + | ||
2215 | + | @Callable(gH) | |
2216 | + | func saveInteger (cM,eF) = if ((gH.caller != this)) | |
2217 | + | then throw("saveInteger is not public method") | |
2218 | + | else [IntegerEntry(cM, eF)] | |
2219 | + | ||
2220 | + | ||
2221 | + | ||
2222 | + | @Callable(gH) | |
2223 | + | func setBlocked (lf) = if ((gH.caller != this)) | |
2171 | 2224 | then throw("permission denied") | |
2172 | - | else [BooleanEntry(dH(), | |
2225 | + | else [BooleanEntry(dH(), lf)] | |
2173 | 2226 | ||
2174 | 2227 | ||
2175 | 2228 | ||
2176 | 2229 | @Callable(gH) | |
2177 | 2230 | func stakeLand () = { | |
2178 | - | let | |
2231 | + | let lg = kZ(gH) | |
2179 | 2232 | if ((size(gH.payments) != 1)) | |
2180 | 2233 | then throw("Exactly one payment required") | |
2181 | 2234 | else { | |
2182 | - | let | |
2183 | - | let bp = value( | |
2235 | + | let lh = value(gH.payments[0]) | |
2236 | + | let bp = value(lh.assetId) | |
2184 | 2237 | let cL = toString(gH.caller) | |
2185 | - | if (( | |
2238 | + | if ((lh.amount != 1)) | |
2186 | 2239 | then throw((("NFT " + aC) + " token should be attached as payment")) | |
2187 | 2240 | else { | |
2188 | 2241 | let jp = value(assetInfo(bp)) | |
2191 | 2244 | else if (!(contains(jp.name, aC))) | |
2192 | 2245 | then throw((("Only NFT " + aC) + " tokens are accepted")) | |
2193 | 2246 | else { | |
2194 | - | let | |
2195 | - | let eq = if (contains( | |
2196 | - | then dropRight( | |
2197 | - | else if (contains( | |
2198 | - | then dropRight( | |
2199 | - | else dropRight( | |
2247 | + | let li = drop(jp.name, 4) | |
2248 | + | let eq = if (contains(li, "XXL")) | |
2249 | + | then dropRight(li, 3) | |
2250 | + | else if (contains(li, "XL")) | |
2251 | + | then dropRight(li, 2) | |
2252 | + | else dropRight(li, 1) | |
2200 | 2253 | if (!(isDefined(parseInt(eq)))) | |
2201 | 2254 | then throw(("Cannot parse land number from " + jp.name)) | |
2202 | 2255 | else { | |
2210 | 2263 | let jf = dE(jt[dh]) | |
2211 | 2264 | let hW = (jf / cE) | |
2212 | 2265 | let eY = gI(gD, hW, 1) | |
2213 | - | let | |
2214 | - | let kP = split(valueOrElse(getString( | |
2215 | - | let | |
2266 | + | let lj = dr(jt[dj]) | |
2267 | + | let kP = split(valueOrElse(getString(lj), "0_0_0_0_0_0"), "_") | |
2268 | + | let lk = makeString(gB(kP, gD, hW, 1), "_") | |
2216 | 2269 | let kL = dt(cL) | |
2217 | 2270 | let kM = getString(kL) | |
2218 | 2271 | let kI = if (isDefined(kM)) | |
2225 | 2278 | else { | |
2226 | 2279 | let hX = valueOrElse(getInteger(by(P)), 0) | |
2227 | 2280 | let kS = du(cL) | |
2228 | - | let | |
2229 | - | let | |
2230 | - | $Tuple2([IntegerEntry(jq, lastBlock.timestamp), IntegerEntry(bu(aC, P, cL), lastBlock.timestamp), StringEntry(kL, makeString_11C((kI :+ P), "_")), IntegerEntry(kS, ( | |
2281 | + | let ll = valueOrElse(getInteger(kS), 0) | |
2282 | + | let lm = invoke(dd, "onStakeUnstakeLand", [cL], nil) | |
2283 | + | $Tuple2(([IntegerEntry(jq, lastBlock.timestamp), IntegerEntry(bu(aC, P, cL), lastBlock.timestamp), StringEntry(kL, makeString_11C((kI :+ P), "_")), IntegerEntry(kS, (ll + jf)), StringEntry(bo(P), cL), StringEntry(es(eq), cL), IntegerEntry(er(P, cL), hX), StringEntry(dq(), eY), StringEntry(lj, lk)] ++ lg), lm) | |
2231 | 2284 | } | |
2232 | 2285 | } | |
2233 | 2286 | } | |
2240 | 2293 | ||
2241 | 2294 | @Callable(gH) | |
2242 | 2295 | func unstakeLand (jl) = { | |
2243 | - | let | |
2296 | + | let lg = kZ(gH) | |
2244 | 2297 | if ((size(gH.payments) != 0)) | |
2245 | 2298 | then throw("No payments required") | |
2246 | 2299 | else { | |
2253 | 2306 | let jf = dE(jt[dh]) | |
2254 | 2307 | let hW = (jf / cE) | |
2255 | 2308 | let eY = gI(gD, hW, -1) | |
2256 | - | let | |
2257 | - | let kP = split(valueOrElse(getString( | |
2258 | - | let | |
2309 | + | let lj = dr(jt[dj]) | |
2310 | + | let kP = split(valueOrElse(getString(lj), "0_0_0_0_0_0"), "_") | |
2311 | + | let lk = makeString(gB(kP, gD, hW, -1), "_") | |
2259 | 2312 | let jQ = jG(c, P, jf, ex) | |
2260 | 2313 | let kI = split_51C(valueOrElse(getString(kL), ""), "_") | |
2261 | 2314 | let cZ = indexOf(kI, P) | |
2263 | 2316 | then throw(("Your staked lands don't contain " + P)) | |
2264 | 2317 | else { | |
2265 | 2318 | let ax = lastBlock.timestamp | |
2266 | - | let | |
2267 | - | if (( | |
2268 | - | then throw(("Your gWL are taking part in voting, cannot unstake until " + toString( | |
2319 | + | let ln = valueOrElse(getInteger(dc, bK(c)), 0) | |
2320 | + | if ((ln >= ax)) | |
2321 | + | then throw(("Your gWL are taking part in voting, cannot unstake until " + toString(ln))) | |
2269 | 2322 | else { | |
2270 | - | let | |
2271 | - | if (( | |
2272 | - | then throw(("Your staked lands took part in arbitrage, cannot unstake until " + toString( | |
2323 | + | let lo = (valueOrElse(getInteger(dd, b(c)), 0) + cA) | |
2324 | + | if ((lo > ax)) | |
2325 | + | then throw(("Your staked lands took part in arbitrage, cannot unstake until " + toString(lo))) | |
2273 | 2326 | else { | |
2274 | 2327 | let kS = du(c) | |
2275 | 2328 | let kT = valueOrElse(getInteger(kS), 0) | |
2276 | - | let | |
2329 | + | let lp = if ((jf > kT)) | |
2277 | 2330 | then 0 | |
2278 | 2331 | else (kT - jf) | |
2279 | - | let | |
2280 | - | $Tuple2([ScriptTransfer(gH.caller, 1, fromBase58String(P)), DeleteEntry(br(P)), DeleteEntry(bu(aC, P, c)), StringEntry(dq(), eY), StringEntry( | |
2332 | + | let lm = invoke(dd, "onStakeUnstakeLand", [c], nil) | |
2333 | + | $Tuple2(([ScriptTransfer(gH.caller, 1, fromBase58String(P)), DeleteEntry(br(P)), DeleteEntry(bu(aC, P, c)), StringEntry(dq(), eY), StringEntry(lj, lk), StringEntry(jQ._2, makeString(jQ._3, ":")), if ((size(kI) > 1)) | |
2281 | 2334 | then StringEntry(kL, makeString_11C(removeByIndex(kI, value(cZ)), "_")) | |
2282 | - | else DeleteEntry(kL), IntegerEntry(kS, | |
2335 | + | else DeleteEntry(kL), IntegerEntry(kS, lp)] ++ lg), lm) | |
2283 | 2336 | } | |
2284 | 2337 | } | |
2285 | 2338 | } | |
2290 | 2343 | ||
2291 | 2344 | @Callable(gH) | |
2292 | 2345 | func stakeDuck () = { | |
2293 | - | let | |
2346 | + | let lg = kZ(gH) | |
2294 | 2347 | if ((size(gH.payments) != 1)) | |
2295 | 2348 | then throw("Exactly one payment required") | |
2296 | 2349 | else { | |
2297 | - | let | |
2298 | - | let bp = value( | |
2350 | + | let lh = value(gH.payments[0]) | |
2351 | + | let bp = value(lh.assetId) | |
2299 | 2352 | let cL = toString(gH.caller) | |
2300 | - | if (( | |
2353 | + | if ((lh.amount != 1)) | |
2301 | 2354 | then throw((("NFT " + aD) + " token should be attached as payment")) | |
2302 | 2355 | else { | |
2303 | 2356 | let jp = value(assetInfo(bp)) | |
2308 | 2361 | else if (!(contains(jp.name, aD))) | |
2309 | 2362 | then throw((("Only NFT " + aD) + " tokens are accepted")) | |
2310 | 2363 | else { | |
2311 | - | let | |
2312 | - | let jq = br( | |
2364 | + | let lq = toBase58String(bp) | |
2365 | + | let jq = br(lq) | |
2313 | 2366 | if (isDefined(getInteger(jq))) | |
2314 | 2367 | then throw((("NFT " + jp.name) + " is already staked")) | |
2315 | 2368 | else if (isDefined(getString(bH(cL)))) | |
2316 | 2369 | then throw(("You already staked one duck: " + jp.name)) | |
2317 | 2370 | else { | |
2318 | - | let | |
2319 | - | let cd = getString( | |
2320 | - | let hI = bI( | |
2321 | - | let | |
2322 | - | let iY = z( | |
2323 | - | let iZ = ag(valueOrElse(getInteger(D( | |
2371 | + | let lb = bJ(lq) | |
2372 | + | let cd = getString(lb) | |
2373 | + | let hI = bI(lq) | |
2374 | + | let lr = getString(hI) | |
2375 | + | let iY = z(lq) | |
2376 | + | let iZ = ag(valueOrElse(getInteger(D(lq)), 0)) | |
2324 | 2377 | let kq = valueOrElse(getInteger(iY), iZ) | |
2325 | - | ([IntegerEntry(jq, lastBlock.timestamp), IntegerEntry(bu(aD, toBase58String(bp), cL), lastBlock.timestamp), StringEntry(bG( | |
2378 | + | ([IntegerEntry(jq, lastBlock.timestamp), IntegerEntry(bu(aD, toBase58String(bp), cL), lastBlock.timestamp), StringEntry(bG(lq), cL), StringEntry(bH(cL), lq)] ++ (if (isDefined(cd)) | |
2326 | 2379 | then nil | |
2327 | - | else ([StringEntry( | |
2380 | + | else ([StringEntry(lb, aJ)] ++ (if (isDefined(lr)) | |
2328 | 2381 | then nil | |
2329 | - | else (([StringEntry(hI, "0:0_0_0_0_0_0:0_0_0_0_0_0:")] :+ IntegerEntry(iY, kq)) | |
2382 | + | else (([StringEntry(hI, "0:0_0_0_0_0_0:0_0_0_0_0_0:")] :+ IntegerEntry(iY, kq)) ++ lg))))) | |
2330 | 2383 | } | |
2331 | 2384 | } | |
2332 | 2385 | } | |
2336 | 2389 | ||
2337 | 2390 | ||
2338 | 2391 | @Callable(gH) | |
2339 | - | func unstakeDuck ( | |
2340 | - | let | |
2392 | + | func unstakeDuck (lq) = { | |
2393 | + | let lg = kZ(gH) | |
2341 | 2394 | if ((size(gH.payments) != 0)) | |
2342 | 2395 | then throw("No payments required") | |
2343 | 2396 | else { | |
2344 | - | let bp = fromBase58String( | |
2397 | + | let bp = fromBase58String(lq) | |
2345 | 2398 | let cL = toString(gH.caller) | |
2346 | 2399 | let jp = value(assetInfo(bp)) | |
2347 | - | let jq = br( | |
2400 | + | let jq = br(lq) | |
2348 | 2401 | if (!(isDefined(getInteger(jq)))) | |
2349 | 2402 | then throw((("NFT " + jp.name) + " is not staked")) | |
2350 | 2403 | else if (!(isDefined(getString(bH(cL))))) | |
2351 | 2404 | then throw((("The duck " + jp.name) + " is not staked")) | |
2352 | 2405 | else { | |
2353 | - | let js = valueOrErrorMessage(getString(bG( | |
2406 | + | let js = valueOrErrorMessage(getString(bG(lq)), (("NFT " + jp.name) + " is orphaned")) | |
2354 | 2407 | if ((js != cL)) | |
2355 | 2408 | then throw("Staked NFT is not yours") | |
2356 | - | else if (km( | |
2409 | + | else if (km(lq)) | |
2357 | 2410 | then throw("unstakeDuck_checkTournament") | |
2358 | - | else if (kn( | |
2411 | + | else if (kn(lq)) | |
2359 | 2412 | then throw("unstakeDuck_checkDelivery") | |
2360 | 2413 | else { | |
2361 | - | let iY = z( | |
2362 | - | let iZ = ag(valueOrElse(getInteger(D( | |
2414 | + | let iY = z(lq) | |
2415 | + | let iZ = ag(valueOrElse(getInteger(D(lq)), 0)) | |
2363 | 2416 | let as = valueOrElse(getInteger(iY), iZ) | |
2364 | 2417 | if ((iZ > as)) | |
2365 | 2418 | then throw((("Please heal your duck to " + toString(iZ)) + "hp before unstaking")) | |
2366 | - | else [ScriptTransfer(gH.caller, 1, bp), DeleteEntry(jq), DeleteEntry(iY), DeleteEntry(bJ( | |
2419 | + | else ([ScriptTransfer(gH.caller, 1, bp), DeleteEntry(jq), DeleteEntry(iY), DeleteEntry(bJ(lq)), DeleteEntry(bG(lq)), DeleteEntry(bu(aD, lq, cL)), DeleteEntry(bH(cL))] ++ lg) | |
2367 | 2420 | } | |
2368 | 2421 | } | |
2369 | 2422 | } | |
2372 | 2425 | ||
2373 | 2426 | ||
2374 | 2427 | @Callable(gH) | |
2375 | - | func claimRes (eF, | |
2376 | - | let | |
2428 | + | func claimRes (eF,ls) = { | |
2429 | + | let lg = kZ(gH) | |
2377 | 2430 | if ((size(gH.payments) != 0)) | |
2378 | 2431 | then throw("No payments required") | |
2379 | 2432 | else { | |
2380 | 2433 | let c = toString(gH.originCaller) | |
2381 | - | let fg = ju(c, eF, ex, | |
2434 | + | let fg = ju(c, eF, ex, ls) | |
2382 | 2435 | let A = valueOrErrorMessage(getString(bH(c)), "You don't have a duck staked") | |
2383 | - | $Tuple2(((((fg._1 ++ jW(A, fraction(U, eF, cD))._1) :+ StringEntry(fg._2, makeString(fg._3, ":"))) :+ StringEntry(fg._4, makeString(fg._5, ":"))) | |
2384 | - | } | |
2385 | - | } | |
2386 | - | ||
2387 | - | ||
2388 | - | ||
2389 | - | @Callable(gH) | |
2390 | - | func claimResToWH (eF, | |
2391 | - | let | |
2436 | + | $Tuple2(((((fg._1 ++ jW(A, fraction(U, eF, cD))._1) :+ StringEntry(fg._2, makeString(fg._3, ":"))) :+ StringEntry(fg._4, makeString(fg._5, ":"))) ++ lg), fg._3[bi]) | |
2437 | + | } | |
2438 | + | } | |
2439 | + | ||
2440 | + | ||
2441 | + | ||
2442 | + | @Callable(gH) | |
2443 | + | func claimResToWH (eF,ls) = { | |
2444 | + | let lg = kZ(gH) | |
2392 | 2445 | if ((size(gH.payments) != 0)) | |
2393 | 2446 | then throw("No payments required") | |
2394 | 2447 | else { | |
2395 | 2448 | let c = toString(gH.originCaller) | |
2396 | - | let fg = ju(c, eF, ew, | |
2397 | - | $Tuple2(((((fg._1 ++ kc(c, fraction(U, eF, cD))._1) :+ StringEntry(fg._2, makeString(fg._3, ":"))) :+ StringEntry(fg._4, makeString(fg._5, ":"))) | |
2449 | + | let fg = ju(c, eF, ew, ls) | |
2450 | + | $Tuple2(((((fg._1 ++ kc(c, fraction(U, eF, cD))._1) :+ StringEntry(fg._2, makeString(fg._3, ":"))) :+ StringEntry(fg._4, makeString(fg._5, ":"))) ++ lg), fg._5[aZ]) | |
2398 | 2451 | } | |
2399 | 2452 | } | |
2400 | 2453 | ||
2402 | 2455 | ||
2403 | 2456 | @Callable(gH) | |
2404 | 2457 | func flight (iN,iO) = { | |
2405 | - | let | |
2458 | + | let lg = ld(gH) | |
2406 | 2459 | if ((size(gH.payments) != 0)) | |
2407 | 2460 | then throw("No payments required") | |
2408 | 2461 | else { | |
2410 | 2463 | let hm = iM(bL, iN, iO) | |
2411 | 2464 | let iS = hm._1 | |
2412 | 2465 | let A = hm._2 | |
2413 | - | let | |
2414 | - | let jn = valueOrElse(getString( | |
2466 | + | let lb = bJ(A) | |
2467 | + | let jn = valueOrElse(getString(lb), aJ) | |
2415 | 2468 | let iU = hm._4 | |
2416 | 2469 | if ((iU == jn)) | |
2417 | 2470 | then throw("You can't fly to the same location") | |
2418 | 2471 | else { | |
2419 | 2472 | let cr = split(iU, "_") | |
2420 | - | let | |
2421 | - | let | |
2473 | + | let lt = (cr[bm] == "T") | |
2474 | + | let lu = (cr[bm] == "D") | |
2422 | 2475 | let gu = F(A) | |
2423 | - | let | |
2424 | - | let | |
2425 | - | let | |
2426 | - | let | |
2427 | - | let | |
2476 | + | let lv = valueOrElse(getString(gu), ",;,_,;,_,;,_,;,_,;,_,;,") | |
2477 | + | let lw = fh(lv, hm._5) | |
2478 | + | let lx = lw._1 | |
2479 | + | let ly = lw._2 | |
2480 | + | let lz = if (cm(de, jn)) | |
2428 | 2481 | then if (!(ck(iU))) | |
2429 | 2482 | then cp(jn, iU) | |
2430 | 2483 | else if ((iS > 0)) | |
2434 | 2487 | then if (!(cc(de, iU))) | |
2435 | 2488 | then throw("Your duck is taking part in the tournament") | |
2436 | 2489 | else { | |
2437 | - | let | |
2438 | - | let | |
2490 | + | let lA = parseIntValue(cr[bn]) | |
2491 | + | let lB = split(jn, "_") | |
2439 | 2492 | let ce = valueOrElse(getInteger(de, bP), 0) | |
2440 | - | if (( | |
2493 | + | if ((lA != (parseIntValue(lB[bn]) + 1))) | |
2441 | 2494 | then cp(jn, iU) | |
2442 | 2495 | else if ((iS > 0)) | |
2443 | 2496 | then { | |
2444 | - | let | |
2445 | - | let | |
2446 | - | then invoke(de, "saveDuckResult", [A, | |
2497 | + | let lC = valueOrElse(getInteger(de, bT(ce, A)), 0) | |
2498 | + | let lD = if ((lA > lC)) | |
2499 | + | then invoke(de, "saveDuckResult", [A, lA], nil) | |
2447 | 2500 | else unit | |
2448 | - | if (( | |
2501 | + | if ((lD == lD)) | |
2449 | 2502 | then $Tuple2(iU, iS) | |
2450 | 2503 | else throw("Strict value is not equal to itself.") | |
2451 | 2504 | } | |
2453 | 2506 | } | |
2454 | 2507 | else if (!(ch(jn))) | |
2455 | 2508 | then { | |
2456 | - | let | |
2457 | - | if (( | |
2458 | - | then if ( | |
2459 | - | then | |
2509 | + | let lE = dB(invoke(this, "autoExitDelivery", [A], nil)) | |
2510 | + | if ((lE == lE)) | |
2511 | + | then if (lu) | |
2512 | + | then lE | |
2460 | 2513 | else if ((iS > 0)) | |
2461 | 2514 | then $Tuple2(iU, iS) | |
2462 | - | else $Tuple2( | |
2515 | + | else $Tuple2(lE._1, 0) | |
2463 | 2516 | else throw("Strict value is not equal to itself.") | |
2464 | 2517 | } | |
2465 | - | else if (!( | |
2518 | + | else if (!(lu)) | |
2466 | 2519 | then throw("Your duck is taking part in delivery") | |
2467 | 2520 | else if (!(ch(iU))) | |
2468 | 2521 | then cp(jn, iU) | |
2469 | 2522 | else { | |
2470 | - | let | |
2471 | - | let | |
2472 | - | if (( | |
2523 | + | let lA = parseIntValue(cr[bn]) | |
2524 | + | let lB = split(jn, "_") | |
2525 | + | if ((lA != (parseIntValue(lB[bn]) + 1))) | |
2473 | 2526 | then cp(jn, iU) | |
2474 | - | else if ((iS > 0)) | |
2527 | + | else if (if ((iS > 0)) | |
2528 | + | then (3 > lA) | |
2529 | + | else false) | |
2475 | 2530 | then $Tuple2(iU, iS) | |
2476 | 2531 | else { | |
2477 | - | let | |
2478 | - | if (( | |
2479 | - | then | |
2532 | + | let lE = dB(invoke(this, "autoExitDelivery", [A], nil)) | |
2533 | + | if ((lE == lE)) | |
2534 | + | then lE | |
2480 | 2535 | else throw("Strict value is not equal to itself.") | |
2481 | 2536 | } | |
2482 | 2537 | } | |
2483 | - | let | |
2484 | - | let | |
2485 | - | $Tuple2(([StringEntry( | |
2538 | + | let lF = lz._1 | |
2539 | + | let lG = lz._2 | |
2540 | + | $Tuple2(((([StringEntry(lb, lF), StringEntry(gu, lx), IntegerEntry(z(A), iS)] ++ lg) ++ (if (ly) | |
2486 | 2541 | then [StringEntry(L(A), "0_0_0_0_0")] | |
2487 | - | else | |
2488 | - | ||
2489 | - | ||
2542 | + | else nil)) ++ jW(A, if ((iS > 0)) | |
2543 | + | then V | |
2544 | + | else W)._1), hm._3) | |
2490 | 2545 | } | |
2491 | 2546 | } | |
2492 | 2547 | } | |
2494 | 2549 | ||
2495 | 2550 | ||
2496 | 2551 | @Callable(gH) | |
2497 | - | func heal ( | |
2498 | - | let | |
2499 | - | if (if (if ((0 > | |
2552 | + | func heal (lH,lI,lJ) = { | |
2553 | + | let lg = kZ(gH) | |
2554 | + | if (if (if ((0 > lH)) | |
2500 | 2555 | then true | |
2501 | - | else (0 > | |
2556 | + | else (0 > lI)) | |
2502 | 2557 | then true | |
2503 | - | else (0 > | |
2558 | + | else (0 > lJ)) | |
2504 | 2559 | then throw("Quantity cannot be negative") | |
2505 | 2560 | else { | |
2506 | 2561 | let A = valueOrErrorMessage(getString(bH(toString(gH.caller))), "You don't have a duck staked") | |
2509 | 2564 | else if (kn(A)) | |
2510 | 2565 | then throw("heal_checkDelivery") | |
2511 | 2566 | else { | |
2512 | - | let | |
2567 | + | let lK = [lH, lI, lJ] | |
2513 | 2568 | let iY = z(A) | |
2514 | 2569 | let iZ = ag(valueOrElse(getInteger(D(A)), 0)) | |
2515 | - | let | |
2516 | - | if (( | |
2570 | + | let lL = valueOrElse(getInteger(iY), iZ) | |
2571 | + | if ((lL >= iZ)) | |
2517 | 2572 | then throw((("HP should be < " + toString(iZ)) + " to heal")) | |
2518 | 2573 | else { | |
2519 | 2574 | let hI = bI(A) | |
2520 | 2575 | let il = hH(hI) | |
2521 | - | let | |
2576 | + | let lM = if ((il[bk] == "")) | |
2522 | 2577 | then nil | |
2523 | 2578 | else split_4C(il[bk], "_") | |
2524 | - | func | |
2579 | + | func lN (eO,co) = { | |
2525 | 2580 | let dz = eO._2 | |
2526 | - | let hd = if ((size( | |
2527 | - | then parseIntValue( | |
2581 | + | let hd = if ((size(lM) > dz)) | |
2582 | + | then parseIntValue(lM[dz]) | |
2528 | 2583 | else 0 | |
2529 | 2584 | if ((3 > dz)) | |
2530 | 2585 | then { | |
2531 | - | let | |
2532 | - | if (( | |
2586 | + | let lO = lK[dz] | |
2587 | + | if ((lO > hd)) | |
2533 | 2588 | then throw(((("You have only " + toString(hd)) + " of ") + aO[dz])) | |
2534 | - | else $Tuple3((eO._1 :+ toString((hd - | |
2589 | + | else $Tuple3((eO._1 :+ toString((hd - lO))), (dz + 1), (eO._3 + (parseIntValue(split(co, "_")[aU]) * lO))) | |
2535 | 2590 | } | |
2536 | 2591 | else $Tuple3((eO._1 :+ toString(hd)), (dz + 1), eO._3) | |
2537 | 2592 | } | |
2542 | 2597 | let eS = $Tuple3(nil, 0, 0) | |
2543 | 2598 | func eT (eU,eV) = if ((eV >= eR)) | |
2544 | 2599 | then eU | |
2545 | - | else | |
2600 | + | else lN(eU, eQ[eV]) | |
2546 | 2601 | ||
2547 | 2602 | func eW (eU,eV) = if ((eV >= eR)) | |
2548 | 2603 | then eU | |
2550 | 2605 | ||
2551 | 2606 | eW(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eS, 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) | |
2552 | 2607 | } | |
2553 | - | let | |
2554 | - | $Tuple2(([IntegerEntry(iY, | |
2608 | + | let lP = min([iZ, (lL + fg._3)]) | |
2609 | + | $Tuple2((([IntegerEntry(iY, lP), StringEntry(hI, makeString_2C([il[bh], il[bi], il[bj], makeString(fg._1, "_")], ":"))] ++ lg) ++ jW(A, (ad * ((lH + lI) + lJ)))._1), lP) | |
2555 | 2610 | } | |
2556 | 2611 | } | |
2557 | 2612 | } | |
2561 | 2616 | ||
2562 | 2617 | @Callable(gH) | |
2563 | 2618 | func healES () = { | |
2564 | - | let | |
2619 | + | let lg = kZ(gH) | |
2565 | 2620 | if ((size(gH.payments) != 1)) | |
2566 | 2621 | then throw("Exactly one payment required") | |
2567 | 2622 | else { | |
2568 | - | let | |
2569 | - | if (( | |
2623 | + | let lh = value(gH.payments[0]) | |
2624 | + | if ((lh.assetId != cw)) | |
2570 | 2625 | then throw("Allowed USDT payment only!") | |
2571 | 2626 | else { | |
2572 | 2627 | let A = valueOrErrorMessage(getString(bH(toString(gH.caller))), "You don't have a duck staked") | |
2577 | 2632 | else { | |
2578 | 2633 | let iY = z(A) | |
2579 | 2634 | let iZ = ag(valueOrElse(getInteger(D(A)), 0)) | |
2580 | - | let | |
2581 | - | if (( | |
2635 | + | let lL = valueOrElse(getInteger(iY), iZ) | |
2636 | + | if ((lL > 0)) | |
2582 | 2637 | then throw("HP should be 0 to call Emergency Service") | |
2583 | 2638 | else { | |
2584 | 2639 | let hI = bI(A) | |
2585 | 2640 | let il = hH(hI) | |
2586 | - | let | |
2641 | + | let lM = if ((il[bk] == "")) | |
2587 | 2642 | then nil | |
2588 | 2643 | else split_4C(il[bk], "_") | |
2589 | - | let | |
2590 | - | then parseIntValue( | |
2644 | + | let lQ = if ((size(lM) > 0)) | |
2645 | + | then parseIntValue(lM[0]) | |
2591 | 2646 | else 0 | |
2592 | - | let | |
2593 | - | then parseIntValue( | |
2647 | + | let lR = if ((size(lM) > 1)) | |
2648 | + | then parseIntValue(lM[1]) | |
2594 | 2649 | else 0 | |
2595 | - | let | |
2596 | - | then parseIntValue( | |
2650 | + | let lS = if ((size(lM) > 2)) | |
2651 | + | then parseIntValue(lM[2]) | |
2597 | 2652 | else 0 | |
2598 | - | if (if (if (( | |
2653 | + | if (if (if ((lQ > 0)) | |
2599 | 2654 | then true | |
2600 | - | else ( | |
2655 | + | else (lR > 0)) | |
2601 | 2656 | then true | |
2602 | - | else ( | |
2657 | + | else (lS > 0)) | |
2603 | 2658 | then throw("You have to use own Medical Kit") | |
2604 | 2659 | else { | |
2605 | - | let | |
2606 | - | let | |
2607 | - | then split_4C(value( | |
2660 | + | let lT = getString(db, bM()) | |
2661 | + | let lU = if (isDefined(lT)) | |
2662 | + | then split_4C(value(lT), "_") | |
2608 | 2663 | else nil | |
2609 | - | let | |
2610 | - | then parseIntValue( | |
2664 | + | let lV = if ((size(lU) > 0)) | |
2665 | + | then parseIntValue(lU[0]) | |
2611 | 2666 | else 0 | |
2612 | - | if ((0 >= | |
2667 | + | if ((0 >= lV)) | |
2613 | 2668 | then throw("There are no Medical Kits L1 at Emergency Service storage") | |
2614 | 2669 | else { | |
2615 | - | let | |
2616 | - | let | |
2670 | + | let lP = (lL + parseIntValue(split(aS[0], "_")[aU])) | |
2671 | + | let lW = makeString([toString((lV - 1)), removeByIndex(lU, 0)], "_") | |
2617 | 2672 | let co = split(aS[0], "_") | |
2618 | - | let | |
2619 | - | let | |
2620 | - | if (( | |
2621 | - | then throw(("Payment attached should be " + toString( | |
2673 | + | let lX = cn(co) | |
2674 | + | let lY = fraction((lX * aL), aK, (cD * aX)) | |
2675 | + | if ((lh.amount != lY)) | |
2676 | + | then throw(("Payment attached should be " + toString(lY))) | |
2622 | 2677 | else { | |
2623 | - | let fg = dv(invoke(db, "updateEsStorage", [ | |
2624 | - | $Tuple2(( | |
2678 | + | let fg = dv(invoke(db, "updateEsStorage", [lW], [AttachedPayment(cw, lY)])) | |
2679 | + | $Tuple2(((lg :+ IntegerEntry(iY, lP)) ++ jW(A, X)._1), fg) | |
2625 | 2680 | } | |
2626 | 2681 | } | |
2627 | 2682 | } | |
2634 | 2689 | ||
2635 | 2690 | ||
2636 | 2691 | @Callable(gH) | |
2637 | - | func updateBackpack (A, | |
2692 | + | func updateBackpack (A,lZ) = if ((gH.caller != db)) | |
2638 | 2693 | then throw("permission denied") | |
2639 | - | else $Tuple2([StringEntry(bI(A), | |
2694 | + | else $Tuple2([StringEntry(bI(A), lZ)], lZ) | |
2640 | 2695 | ||
2641 | 2696 | ||
2642 | 2697 | ||
2643 | 2698 | @Callable(gH) | |
2644 | 2699 | func commitForRandom () = { | |
2645 | - | let | |
2646 | - | let | |
2700 | + | let lg = kZ(gH) | |
2701 | + | let ma = (height + do) | |
2647 | 2702 | let c = toString(gH.caller) | |
2648 | - | $Tuple2(([IntegerEntry(dp(c), lX)] :+ lc), lX) | |
2649 | - | } | |
2650 | - | ||
2651 | - | ||
2652 | - | ||
2653 | - | @Callable(gH) | |
2654 | - | func awardSLand (cL) = if ((gH.caller != de)) | |
2655 | - | then throw("Access denied") | |
2656 | - | else if ((size(gH.payments) != 0)) | |
2657 | - | then throw("No payments required") | |
2658 | - | else { | |
2659 | - | let fg = iF(addressFromStringValue(cL), gH.transactionId) | |
2660 | - | $Tuple2(fg._1, fg._2._1) | |
2661 | - | } | |
2703 | + | $Tuple2(([IntegerEntry(dp(c), ma)] ++ lg), ma) | |
2704 | + | } | |
2662 | 2705 | ||
2663 | 2706 | ||
2664 | 2707 | ||
2665 | 2708 | @Callable(gH) | |
2666 | 2709 | func buySLand () = { | |
2667 | - | let | |
2710 | + | let lg = kZ(gH) | |
2668 | 2711 | if ((size(gH.payments) != 1)) | |
2669 | 2712 | then throw("Exactly one payment required") | |
2670 | 2713 | else { | |
2671 | - | let | |
2672 | - | if (( | |
2714 | + | let lh = value(gH.payments[0]) | |
2715 | + | if ((lh.assetId != cw)) | |
2673 | 2716 | then throw("Allowed USDT payment only!") | |
2674 | - | else if (( | |
2717 | + | else if ((lh.amount != ed)) | |
2675 | 2718 | then throw(("Payment attached should be " + toString(ed))) | |
2676 | 2719 | else { | |
2677 | 2720 | let fg = iF(gH.caller, gH.transactionId) | |
2678 | - | let | |
2679 | - | $Tuple2((((fg._1 :+ ScriptTransfer(db, | |
2721 | + | let mb = dy(invoke(df, "burnAcres", [ee], nil)) | |
2722 | + | $Tuple2((((fg._1 :+ ScriptTransfer(db, lh.amount, cw)) ++ kc(toString(gH.caller), Z)._1) ++ lg), $Tuple2(fg._2._1, mb)) | |
2680 | 2723 | } | |
2681 | 2724 | } | |
2682 | 2725 | } | |
2685 | 2728 | ||
2686 | 2729 | @Callable(gH) | |
2687 | 2730 | func expedition (iN,iO) = { | |
2688 | - | let | |
2731 | + | let lg = kZ(gH) | |
2689 | 2732 | if ((size(gH.payments) != 0)) | |
2690 | 2733 | then throw("No payments required") | |
2691 | 2734 | else { | |
2698 | 2741 | let jN = split(il[bj], "_") | |
2699 | 2742 | let jP = makeString(fa(true, jN, ec), "_") | |
2700 | 2743 | let gu = F(A) | |
2701 | - | let | |
2702 | - | let | |
2703 | - | let | |
2704 | - | let | |
2705 | - | let | |
2706 | - | let iL = | |
2744 | + | let lv = valueOrElse(getString(gu), ",;,_,;,_,;,_,;,_,;,_,;,") | |
2745 | + | let mc = fh(lv, hm._5) | |
2746 | + | let lx = mc._1 | |
2747 | + | let ly = mc._2 | |
2748 | + | let md = iF(gH.caller, gH.transactionId) | |
2749 | + | let iL = md._2._1 | |
2707 | 2750 | let fg = if ((0 >= hm._1)) | |
2708 | - | then $Tuple3([IntegerEntry(iY, 0), StringEntry(gu, | |
2709 | - | else $Tuple3(( | |
2751 | + | then $Tuple3([IntegerEntry(iY, 0), StringEntry(gu, lx)], "", 0) | |
2752 | + | else $Tuple3((md._1 ++ (if (ly) | |
2710 | 2753 | then [StringEntry(L(A), "0_0_0_0_0")] | |
2711 | - | else ((((nil :+ StringEntry(bJ(A), makeString([ | |
2754 | + | else ((((nil :+ StringEntry(bJ(A), makeString([md._2._2, "L", iL], "_"))) :+ IntegerEntry(iY, hm._1)) :+ StringEntry(gu, lx)) :+ StringEntry(hI, makeString([il[bh], il[bi], jP, il[bk]], ":"))))), iL, hm._3) | |
2712 | 2755 | if (km(A)) | |
2713 | 2756 | then throw("expedition_checkTournament") | |
2714 | 2757 | else if (kn(A)) | |
2715 | 2758 | then throw("expedition_checkDelivery") | |
2716 | 2759 | else { | |
2717 | - | let | |
2718 | - | $Tuple2(((fg._1 ++ jW(A, Z)._1) | |
2760 | + | let mb = dy(invoke(df, "burnAcres", [ee], nil)) | |
2761 | + | $Tuple2(((fg._1 ++ jW(A, Z)._1) ++ lg), $Tuple3(fg._2, fg._3, mb)) | |
2719 | 2762 | } | |
2720 | 2763 | } | |
2721 | 2764 | } | |
2724 | 2767 | ||
2725 | 2768 | @Callable(gH) | |
2726 | 2769 | func buySLandForAcres () = { | |
2727 | - | let | |
2770 | + | let lg = kZ(gH) | |
2728 | 2771 | if ((size(gH.payments) != 1)) | |
2729 | 2772 | then throw("exactly 1 payment must be attached") | |
2730 | 2773 | else { | |
2731 | - | let | |
2732 | - | let fn = | |
2733 | - | if (if (!(isDefined( | |
2774 | + | let lh = gH.payments[0] | |
2775 | + | let fn = lh.amount | |
2776 | + | if (if (!(isDefined(lh.assetId))) | |
2734 | 2777 | then true | |
2735 | - | else (value( | |
2778 | + | else (value(lh.assetId) != dn)) | |
2736 | 2779 | then throw("ACRES payments only!") | |
2737 | 2780 | else if ((fn != ee)) | |
2738 | 2781 | then throw(("Payment attached should be " + toString(ee))) | |
2739 | 2782 | else { | |
2740 | 2783 | let fg = iF(gH.caller, gH.transactionId) | |
2741 | - | let | |
2742 | - | $Tuple2(((fg._1 ++ kc(toString(gH.caller), Z)._1) | |
2784 | + | let mb = dy(invoke(df, "burnAcres", [ee], [AttachedPayment(dn, fn)])) | |
2785 | + | $Tuple2(((fg._1 ++ kc(toString(gH.caller), Z)._1) ++ lg), $Tuple2(fg._2._1, mb)) | |
2743 | 2786 | } | |
2744 | 2787 | } | |
2745 | 2788 | } | |
2748 | 2791 | ||
2749 | 2792 | @Callable(gH) | |
2750 | 2793 | func upgradeInfra (P) = { | |
2751 | - | let | |
2794 | + | let lg = kZ(gH) | |
2752 | 2795 | if ((size(gH.payments) != 0)) | |
2753 | 2796 | then throw("No payments required") | |
2754 | 2797 | else { | |
2755 | 2798 | let fg = jH(true, gH.caller, 0, P) | |
2756 | 2799 | let A = valueOrErrorMessage(getString(bH(toString(gH.caller))), "You don't have a duck staked") | |
2757 | - | $Tuple2(((fg._1 | |
2758 | - | } | |
2759 | - | } | |
2760 | - | ||
2761 | - | ||
2762 | - | ||
2763 | - | @Callable(gH) | |
2764 | - | func activateArtifact ( | |
2765 | - | let | |
2800 | + | $Tuple2(((fg._1 ++ lg) ++ jW(A, fraction(aa, fg._3, cD))._1), fg._2) | |
2801 | + | } | |
2802 | + | } | |
2803 | + | ||
2804 | + | ||
2805 | + | ||
2806 | + | @Callable(gH) | |
2807 | + | func activateArtifact (me,mf) = { | |
2808 | + | let lg = kZ(gH) | |
2766 | 2809 | if ((size(gH.payments) != 0)) | |
2767 | 2810 | then throw("No payments required") | |
2768 | 2811 | else { | |
2769 | 2812 | let c = toString(gH.caller) | |
2770 | 2813 | let fg = { | |
2771 | - | let cx = | |
2814 | + | let cx = me | |
2772 | 2815 | if (("PRESALE" == cx)) | |
2773 | - | then kk(c, | |
2816 | + | then kk(c, mf) | |
2774 | 2817 | else if (("ONBOARD" == cx)) | |
2775 | 2818 | then kd(c) | |
2776 | 2819 | else throw("Unknown artifact") | |
2777 | 2820 | } | |
2778 | - | (fg | |
2821 | + | (fg ++ lg) | |
2779 | 2822 | } | |
2780 | 2823 | } | |
2781 | 2824 | ||
2783 | 2826 | ||
2784 | 2827 | @Callable(gH) | |
2785 | 2828 | func mergeLands (kA) = { | |
2786 | - | let | |
2829 | + | let lg = kZ(gH) | |
2787 | 2830 | if ((size(gH.payments) != 0)) | |
2788 | 2831 | then throw("No payments required") | |
2789 | 2832 | else { | |
2790 | 2833 | let fg = kY(toString(gH.caller), kA) | |
2791 | - | $Tuple2(((fg._1 | |
2792 | - | } | |
2793 | - | } | |
2794 | - | ||
2795 | - | ||
2796 | - | ||
2797 | - | @Callable(gH) | |
2798 | - | func cargoExchange ( | |
2799 | - | let | |
2834 | + | $Tuple2(((fg._1 ++ lg) ++ kc(toString(gH.caller), ab)._1), fg._2) | |
2835 | + | } | |
2836 | + | } | |
2837 | + | ||
2838 | + | ||
2839 | + | ||
2840 | + | @Callable(gH) | |
2841 | + | func cargoExchange (mg,P) = { | |
2842 | + | let lg = kZ(gH) | |
2800 | 2843 | if ((size(gH.payments) != 0)) | |
2801 | 2844 | then throw("No payments required") | |
2802 | 2845 | else { | |
2803 | - | let ik = split_4C( | |
2846 | + | let ik = split_4C(mg, ":") | |
2804 | 2847 | let c = toString(gH.originCaller) | |
2805 | 2848 | let jp = value(assetInfo(fromBase58String(P))) | |
2806 | 2849 | let jq = br(P) | |
2829 | 2872 | let id = split(hM[bc], "_") | |
2830 | 2873 | let jE = (parseIntValue(id[be]) + fg._7) | |
2831 | 2874 | let jF = (parseIntValue(id[bf]) - fg._7) | |
2832 | - | [StringEntry(hI, makeString_2C([il[bh], fg._4, fg._5, fg._6], ":")), StringEntry(hV, makeString_2C([hM[aY], fg._1, fg._2, fg._3, makeString([id[bd], toString(jE), toString(jF), id[bg]], "_")], ":")) | |
2875 | + | ([StringEntry(hI, makeString_2C([il[bh], fg._4, fg._5, fg._6], ":")), StringEntry(hV, makeString_2C([hM[aY], fg._1, fg._2, fg._3, makeString([id[bd], toString(jE), toString(jF), id[bg]], "_")], ":"))] ++ lg) | |
2833 | 2876 | } | |
2834 | 2877 | } | |
2835 | 2878 | } | |
2847 | 2890 | if ((size(ia) != 5)) | |
2848 | 2891 | then throw("warehouse string should contain 4 ':' separators") | |
2849 | 2892 | else { | |
2850 | - | let | |
2893 | + | let mh = split(ia[bc], "_")[bd] | |
2851 | 2894 | let jE = hL(ia) | |
2852 | - | let | |
2853 | - | let jF = (( | |
2854 | - | let | |
2855 | - | $Tuple2([StringEntry(hV, | |
2895 | + | let mi = hJ(ia[aY]) | |
2896 | + | let jF = ((mi - parseIntValue(mh)) - jE) | |
2897 | + | let mj = makeString_2C([ia[aY], ia[aZ], ia[ba], ia[bb], makeString([mh, toString(jE), toString(jF), toString(mi)], "_")], ":") | |
2898 | + | $Tuple2([StringEntry(hV, mj)], mj) | |
2856 | 2899 | } | |
2857 | 2900 | } | |
2858 | 2901 | ||
2867 | 2910 | let hW = (dE(split(jp.description, "_")[dh]) / cE) | |
2868 | 2911 | let hX = valueOrElse(getInteger(by(P)), 0) | |
2869 | 2912 | let ia = hU(hV, hW, hX) | |
2870 | - | let | |
2913 | + | let mh = dy(invoke(db, "recalcLockedVolumeREADONLY", [P, ia], nil)) | |
2871 | 2914 | let jE = hL(ia) | |
2872 | - | let | |
2873 | - | let jF = (( | |
2874 | - | let | |
2875 | - | $Tuple2([StringEntry(hV, | |
2915 | + | let mi = hJ(ia[aY]) | |
2916 | + | let jF = ((mi - mh) - jE) | |
2917 | + | let mj = makeString_2C([ia[aY], ia[aZ], ia[ba], ia[bb], makeString([toString(mh), toString(jE), toString(jF), toString(mi)], "_")], ":") | |
2918 | + | $Tuple2([StringEntry(hV, mj)], mj) | |
2876 | 2919 | } | |
2877 | 2920 | ||
2878 | 2921 | ||
2881 | 2924 | func fixContinentProportions (kA) = if ((gH.caller != da)) | |
2882 | 2925 | then throw("Access denied") | |
2883 | 2926 | else { | |
2884 | - | func | |
2927 | + | func mk (eO,ml) = (eO :+ valueOrElse(getString(dr(ml)), "0_0_0_0_0_0")) | |
2885 | 2928 | ||
2886 | 2929 | let gr = { | |
2887 | 2930 | let eQ = aP | |
2889 | 2932 | let eS = nil | |
2890 | 2933 | func eT (eU,eV) = if ((eV >= eR)) | |
2891 | 2934 | then eU | |
2892 | - | else | |
2935 | + | else mk(eU, eQ[eV]) | |
2893 | 2936 | ||
2894 | 2937 | func eW (eU,eV) = if ((eV >= eR)) | |
2895 | 2938 | then eU | |
2897 | 2940 | ||
2898 | 2941 | eW(eT(eT(eT(eT(eT(eS, 0), 1), 2), 3), 4), 5) | |
2899 | 2942 | } | |
2900 | - | func | |
2943 | + | func mm (eO,P) = { | |
2901 | 2944 | let jp = value(assetInfo(fromBase58String(P))) | |
2902 | 2945 | let jt = split(jp.description, "_") | |
2903 | 2946 | let hW = (dE(jt[dh]) / cE) | |
2904 | - | let | |
2947 | + | let ml = jt[dj] | |
2905 | 2948 | let gD = gJ(jt[di]) | |
2906 | - | let hl = value(indexOf(aP, | |
2949 | + | let hl = value(indexOf(aP, ml)) | |
2907 | 2950 | let kP = split(eO[hl], "_") | |
2908 | - | let | |
2909 | - | let cx = | |
2951 | + | let mn = makeString(gB(kP, gD, hW, 1), "_") | |
2952 | + | let cx = ml | |
2910 | 2953 | if (("Americas" == cx)) | |
2911 | - | then [ | |
2954 | + | then [mn, eO[1], eO[2], eO[3], eO[4]] | |
2912 | 2955 | else if (("Europe" == cx)) | |
2913 | - | then [eO[0], | |
2956 | + | then [eO[0], mn, eO[2], eO[3], eO[4]] | |
2914 | 2957 | else if (("Asia" == cx)) | |
2915 | - | then [eO[0], eO[1], | |
2958 | + | then [eO[0], eO[1], mn, eO[3], eO[4]] | |
2916 | 2959 | else if (("Africa" == cx)) | |
2917 | - | then [eO[0], eO[1], eO[2], | |
2960 | + | then [eO[0], eO[1], eO[2], mn, eO[4]] | |
2918 | 2961 | else if (("Oceania" == cx)) | |
2919 | - | then [eO[0], eO[1], eO[2], eO[3], | |
2962 | + | then [eO[0], eO[1], eO[2], eO[3], mn] | |
2920 | 2963 | else throw("wrong continent") | |
2921 | 2964 | } | |
2922 | 2965 | ||
2926 | 2969 | let eS = gr | |
2927 | 2970 | func hC (eU,eV) = if ((eV >= eR)) | |
2928 | 2971 | then eU | |
2929 | - | else | |
2972 | + | else mm(eU, eQ[eV]) | |
2930 | 2973 | ||
2931 | 2974 | func hD (eU,eV) = if ((eV >= eR)) | |
2932 | 2975 | then eU | |
2950 | 2993 | let kI = if (isDefined(kM)) | |
2951 | 2994 | then split_51C(value(kM), "_") | |
2952 | 2995 | else nil | |
2953 | - | func | |
2996 | + | func mo (eO,P) = { | |
2954 | 2997 | let jp = value(assetInfo(fromBase58String(P))) | |
2955 | 2998 | let dF = split(jp.description, "_")[dh] | |
2956 | 2999 | (eO + dE(dF)) | |
2961 | 3004 | let eS = 0 | |
2962 | 3005 | func eT (eU,eV) = if ((eV >= eR)) | |
2963 | 3006 | then eU | |
2964 | - | else | |
3007 | + | else mo(eU, eQ[eV]) | |
2965 | 3008 | ||
2966 | 3009 | func eW (eU,eV) = if ((eV >= eR)) | |
2967 | 3010 | then eU | |
2976 | 3019 | ||
2977 | 3020 | @Callable(gH) | |
2978 | 3021 | func setCustomName (bp,kK,bt) = { | |
2979 | - | let | |
3022 | + | let lg = kZ(gH) | |
2980 | 3023 | if ((size(gH.payments) != 1)) | |
2981 | 3024 | then throw("Exactly one payment required") | |
2982 | 3025 | else { | |
2983 | - | let | |
2984 | - | if (( | |
3026 | + | let lh = value(gH.payments[0]) | |
3027 | + | if ((lh.assetId != cw)) | |
2985 | 3028 | then throw("Allowed USDT payment only!") | |
2986 | - | else if (( | |
3029 | + | else if ((lh.amount != dZ)) | |
2987 | 3030 | then throw(("Payment should be " + toString(dZ))) | |
2988 | 3031 | else if (contains(kK, "__")) | |
2989 | 3032 | then throw(("Name should not contain '__': " + kK)) | |
2991 | 3034 | then throw(("Name too long, maxLength=" + toString(ea))) | |
2992 | 3035 | else { | |
2993 | 3036 | let c = toString(gH.originCaller) | |
2994 | - | let | |
3037 | + | let mp = { | |
2995 | 3038 | let cx = bt | |
2996 | 3039 | if (("ACCOUNT" == cx)) | |
2997 | 3040 | then { | |
2998 | - | let | |
2999 | - | let | |
3000 | - | if (isDefined( | |
3041 | + | let mq = eu(kK) | |
3042 | + | let mr = getString(mq) | |
3043 | + | if (isDefined(mr)) | |
3001 | 3044 | then throw(("Name already registered: " + kK)) | |
3002 | 3045 | else { | |
3003 | - | let | |
3004 | - | let | |
3005 | - | let | |
3006 | - | then [DeleteEntry(eu(value( | |
3046 | + | let ms = bB(c) | |
3047 | + | let mt = getString(ms) | |
3048 | + | let mu = if (isDefined(mt)) | |
3049 | + | then [DeleteEntry(eu(value(mt)))] | |
3007 | 3050 | else nil | |
3008 | - | ((( | |
3051 | + | (((mu :+ StringEntry(ms, kK)) :+ StringEntry(mq, c)) ++ kc(c, Y)._1) | |
3009 | 3052 | } | |
3010 | 3053 | } | |
3011 | 3054 | else if (("LAND" == cx)) | |
3019 | 3062 | if ((js != c)) | |
3020 | 3063 | then throw((aC + " is not yours")) | |
3021 | 3064 | else { | |
3022 | - | let | |
3023 | - | let | |
3024 | - | if (isDefined( | |
3065 | + | let mq = en(kK) | |
3066 | + | let mr = getString(mq) | |
3067 | + | if (isDefined(mr)) | |
3025 | 3068 | then throw(("Name already registered: " + kK)) | |
3026 | 3069 | else { | |
3027 | - | let | |
3028 | - | let | |
3029 | - | let | |
3030 | - | then [DeleteEntry(en(value( | |
3070 | + | let mv = bq(bp) | |
3071 | + | let mt = getString(mv) | |
3072 | + | let mu = if (isDefined(mt)) | |
3073 | + | then [DeleteEntry(en(value(mt)))] | |
3031 | 3074 | else nil | |
3032 | - | ((( | |
3075 | + | (((mu :+ StringEntry(mv, kK)) :+ StringEntry(mq, bp)) ++ kc(c, Y)._1) | |
3033 | 3076 | } | |
3034 | 3077 | } | |
3035 | 3078 | } | |
3047 | 3090 | if ((js != c)) | |
3048 | 3091 | then throw((aD + " is not yours")) | |
3049 | 3092 | else { | |
3050 | - | let | |
3051 | - | let | |
3052 | - | if (isDefined( | |
3093 | + | let mq = et(kK) | |
3094 | + | let mr = getString(mq) | |
3095 | + | if (isDefined(mr)) | |
3053 | 3096 | then throw(("Name already registered: " + kK)) | |
3054 | 3097 | else { | |
3055 | - | let | |
3056 | - | let | |
3057 | - | let | |
3058 | - | then [DeleteEntry(et(value( | |
3098 | + | let mv = bA(bp) | |
3099 | + | let mt = getString(mv) | |
3100 | + | let mu = if (isDefined(mt)) | |
3101 | + | then [DeleteEntry(et(value(mt)))] | |
3059 | 3102 | else nil | |
3060 | - | ((( | |
3103 | + | (((mu :+ StringEntry(mv, kK)) :+ StringEntry(mq, bp)) ++ jW(bp, Y)._1) | |
3061 | 3104 | } | |
3062 | 3105 | } | |
3063 | 3106 | } | |
3064 | 3107 | } | |
3065 | 3108 | else throw("Unknown entity type") | |
3066 | 3109 | } | |
3067 | - | $Tuple2((( | |
3110 | + | $Tuple2(((mp :+ ScriptTransfer(db, lh.amount, cw)) ++ lg), 0) | |
3068 | 3111 | } | |
3069 | 3112 | } | |
3070 | 3113 | } | |
3072 | 3115 | ||
3073 | 3116 | ||
3074 | 3117 | @Callable(gH) | |
3075 | - | func setReferrals ( | |
3118 | + | func setReferrals (mw,mx) = if ((gH.callerPublicKey != dW)) | |
3076 | 3119 | then throw("Permission denied") | |
3077 | 3120 | else { | |
3078 | - | let | |
3121 | + | let lg = kZ(gH) | |
3079 | 3122 | if ((size(gH.payments) != 0)) | |
3080 | 3123 | then throw("No payments required") | |
3081 | - | else if (!(isDefined(addressFromString( | |
3082 | - | then throw(("Invalid address: " + | |
3083 | - | else if (!(isDefined(addressFromString( | |
3084 | - | then throw(("Invalid address: " + | |
3124 | + | else if (!(isDefined(addressFromString(mw)))) | |
3125 | + | then throw(("Invalid address: " + mw)) | |
3126 | + | else if (!(isDefined(addressFromString(mx)))) | |
3127 | + | then throw(("Invalid address: " + mx)) | |
3085 | 3128 | else { | |
3086 | - | let | |
3087 | - | let | |
3088 | - | let | |
3089 | - | then split_4C(value( | |
3129 | + | let my = ev() | |
3130 | + | let mz = getString(my) | |
3131 | + | let mA = if (isDefined(mz)) | |
3132 | + | then split_4C(value(mz), "_") | |
3090 | 3133 | else nil | |
3091 | - | if (containsElement( | |
3092 | - | then throw(( | |
3134 | + | if (containsElement(mA, mx)) | |
3135 | + | then throw((mx + " is not newbie (already has referrals)")) | |
3093 | 3136 | else { | |
3094 | - | let ke = bC( | |
3137 | + | let ke = bC(mx) | |
3095 | 3138 | let kf = getString(ke) | |
3096 | 3139 | if (if (isDefined(kf)) | |
3097 | 3140 | then isDefined(addressFromString(value(kf))) | |
3098 | 3141 | else false) | |
3099 | - | then throw((( | |
3142 | + | then throw(((mx + " already has refBy: ") + value(kf))) | |
3100 | 3143 | else { | |
3101 | - | let | |
3102 | - | let | |
3103 | - | let | |
3104 | - | then split_4C(value( | |
3144 | + | let mB = bF(mw) | |
3145 | + | let mC = getString(mB) | |
3146 | + | let mD = if (isDefined(mC)) | |
3147 | + | then split_4C(value(mC), "_") | |
3105 | 3148 | else nil | |
3106 | - | if (containsElement( | |
3107 | - | then throw(((( | |
3149 | + | if (containsElement(mD, mx)) | |
3150 | + | then throw((((mw + " already contains ") + mx) + " within referrals")) | |
3108 | 3151 | else { | |
3109 | - | let | |
3110 | - | let | |
3111 | - | then value( | |
3112 | - | else makeString_2C(( | |
3113 | - | $Tuple2([StringEntry(ke, | |
3152 | + | let mE = makeString_2C((mD :+ mx), "_") | |
3153 | + | let mF = if (containsElement(mA, mw)) | |
3154 | + | then value(mz) | |
3155 | + | else makeString_2C((mA :+ mw), "_") | |
3156 | + | $Tuple2(([StringEntry(ke, mw), StringEntry(mB, mE), StringEntry(my, mF)] ++ lg), 0) | |
3114 | 3157 | } | |
3115 | 3158 | } | |
3116 | 3159 | } | |
3120 | 3163 | ||
3121 | 3164 | ||
3122 | 3165 | @Callable(gH) | |
3123 | - | func distributePoints ( | |
3124 | - | let | |
3166 | + | func distributePoints (mG,mH,mI,mJ,mK) = { | |
3167 | + | let lg = kZ(gH) | |
3125 | 3168 | if ((size(gH.payments) != 0)) | |
3126 | 3169 | then throw("No payments required") | |
3127 | 3170 | else { | |
3128 | 3171 | let c = toString(gH.originCaller) | |
3129 | 3172 | let A = valueOrErrorMessage(getString(bH(c)), "You don't have a duck staked") | |
3130 | - | let | |
3131 | - | let | |
3132 | - | let | |
3133 | - | let | |
3134 | - | let | |
3135 | - | let | |
3136 | - | if (( | |
3137 | - | then throw((("There are only " + toString( | |
3173 | + | let mL = I(c) | |
3174 | + | let mM = valueOrElse(getInteger(an, mL), 0) | |
3175 | + | let mN = E(A) | |
3176 | + | let mO = valueOrElse(getInteger(an, mN), 0) | |
3177 | + | let mP = (mM + mO) | |
3178 | + | let mQ = ((((mG + mH) + mI) + mJ) + mK) | |
3179 | + | if ((mQ > mP)) | |
3180 | + | then throw((("There are only " + toString(mP)) + " free points to distribute")) | |
3138 | 3181 | else { | |
3139 | - | let | |
3140 | - | let aq = split(valueOrElse(getString(an, | |
3141 | - | let | |
3142 | - | $Tuple2([IntegerEntry( | |
3182 | + | let mR = B(A) | |
3183 | + | let aq = split(valueOrElse(getString(an, mR), "0_0_0_0_0"), "_") | |
3184 | + | let mS = (mM - mQ) | |
3185 | + | $Tuple2(([IntegerEntry(mL, if ((0 > mS)) | |
3143 | 3186 | then 0 | |
3144 | - | else | |
3145 | - | then ( | |
3146 | - | else | |
3187 | + | else mS), IntegerEntry(mN, if ((0 > mS)) | |
3188 | + | then (mO + mS) | |
3189 | + | else mO), StringEntry(mR, makeString([toString((parseIntValue(aq[k]) + mG)), toString((parseIntValue(aq[l]) + mH)), toString((parseIntValue(aq[m]) + mI)), toString((parseIntValue(aq[n]) + mJ)), toString((parseIntValue(aq[o]) + mK))], "_"))] ++ lg), 0) | |
3147 | 3190 | } | |
3148 | 3191 | } | |
3149 | 3192 | } | |
3156 | 3199 | ||
3157 | 3200 | ||
3158 | 3201 | @Callable(gH) | |
3159 | - | func splitByGlobalAndLocalWeightsREADONLY ( | |
3202 | + | func splitByGlobalAndLocalWeightsREADONLY (mT,mU,gK) = { | |
3160 | 3203 | let gD = gJ(gK) | |
3161 | - | $Tuple2(nil, $Tuple2(eX( | |
3204 | + | $Tuple2(nil, $Tuple2(eX(mT), eI(mU, gD))) | |
3162 | 3205 | } | |
3163 | 3206 | ||
3164 | 3207 | ||
3183 | 3226 | let iG = gH.caller | |
3184 | 3227 | if (!(containsElement([dd, db, de, df], iG))) | |
3185 | 3228 | then throw("Access denied") | |
3186 | - | else $Tuple2( | |
3229 | + | else $Tuple2(kZ(gH), 42) | |
3187 | 3230 | } | |
3188 | 3231 | ||
3189 | 3232 | ||
3205 | 3248 | ||
3206 | 3249 | ||
3207 | 3250 | @Callable(gH) | |
3208 | - | func equipDuck ( | |
3209 | - | let | |
3251 | + | func equipDuck (mV) = { | |
3252 | + | let lg = kZ(gH) | |
3210 | 3253 | if ((size(gH.payments) != 0)) | |
3211 | 3254 | then throw("No payments required") | |
3212 | 3255 | else { | |
3218 | 3261 | then throw("equipDuck_checkDelivery") | |
3219 | 3262 | else { | |
3220 | 3263 | let gu = F(A) | |
3221 | - | let | |
3264 | + | let mW = split(valueOrElse(getString(gu), ",;,_,;,_,;,_,;,_,;,_,;,"), "_") | |
3222 | 3265 | let hI = bI(A) | |
3223 | 3266 | let il = hH(hI) | |
3224 | - | let | |
3225 | - | if ((size( | |
3267 | + | let lx = split(mV, "_") | |
3268 | + | if ((size(lx) != q)) | |
3226 | 3269 | then throw("Wrong equipment string") | |
3227 | 3270 | else { | |
3228 | - | let gw = gj( | |
3229 | - | let gx = split( | |
3271 | + | let gw = gj(mW, fu(il[bk]), true, nil) | |
3272 | + | let gx = split(lx[p], ";")[1] | |
3230 | 3273 | let ao = if ((gx == "")) | |
3231 | 3274 | then 0 | |
3232 | 3275 | else { | |
3251 | 3294 | } | |
3252 | 3295 | } | |
3253 | 3296 | let ge = am(this, A, ao, true) | |
3254 | - | let gA = gj( | |
3255 | - | let | |
3256 | - | $Tuple2([StringEntry(gu, | |
3297 | + | let gA = gj(lx, gw, false, ge) | |
3298 | + | let mX = fz(gA) | |
3299 | + | $Tuple2(([StringEntry(gu, mV), StringEntry(hI, makeString_2C([il[bh], il[bi], il[bj], mX], ":")), StringEntry(L(A), makeString([toString(ge[7]), toString(ge[8]), toString(ge[9]), toString(ge[10]), toString(ge[11])], "_"))] ++ lg), 0) | |
3257 | 3300 | } | |
3258 | 3301 | } | |
3259 | 3302 | } | |
3262 | 3305 | ||
3263 | 3306 | ||
3264 | 3307 | @Callable(gH) | |
3265 | - | func fortificateLand (P, | |
3266 | - | let | |
3308 | + | func fortificateLand (P,mY) = { | |
3309 | + | let lg = kZ(gH) | |
3267 | 3310 | if ((size(gH.payments) != 0)) | |
3268 | 3311 | then throw("No payments required") | |
3269 | 3312 | else { | |
3270 | 3313 | let c = toString(gH.originCaller) | |
3271 | 3314 | let A = valueOrElse(getString(bH(c)), "") | |
3272 | 3315 | let fE = am(this, A, 0, false) | |
3273 | - | let | |
3274 | - | let | |
3316 | + | let mZ = bz(P) | |
3317 | + | let na = split(valueOrElse(getString(mZ), ":0_15:0_18:0"), "_") | |
3275 | 3318 | let jp = value(assetInfo(fromBase58String(P))) | |
3276 | 3319 | let hW = (dE(split(jp.description, "_")[dh]) / cE) | |
3277 | 3320 | let hX = valueOrElse(getInteger(by(P)), 0) | |
3278 | 3321 | let hV = bx(P) | |
3279 | 3322 | let ia = hU(hV, hW, hX) | |
3280 | - | let mY = split(ia[bc], "_") | |
3281 | - | let mZ = parseIntValue(mY[be]) | |
3282 | - | let na = parseIntValue(mY[bf]) | |
3283 | - | let nb = split(mV, "_") | |
3284 | - | let nc = gq(mX, fu(ia[bb]), mZ, na, true, nil) | |
3285 | - | let gw = nc._1 | |
3286 | - | let nd = nc._2 | |
3287 | - | let ne = nc._3 | |
3288 | - | let nf = gq(nb, gw, nd, ne, false, fE) | |
3289 | - | let gA = nf._1 | |
3323 | + | let nb = split(ia[bc], "_") | |
3324 | + | let nc = parseIntValue(nb[be]) | |
3325 | + | let nd = parseIntValue(nb[bf]) | |
3326 | + | let ne = split(mY, "_") | |
3327 | + | let nf = gq(na, fu(ia[bb]), nc, nd, true, nil) | |
3328 | + | let gw = nf._1 | |
3290 | 3329 | let ng = nf._2 | |
3291 | 3330 | let nh = nf._3 | |
3292 | - | let mU = fz(gA) | |
3293 | - | let jV = makeString([mY[bd], toString(ng), toString(nh), mY[bg]], "_") | |
3294 | - | $Tuple2([StringEntry(mW, mV), StringEntry(hV, makeString_2C([ia[aY], ia[aZ], ia[ba], mU, jV], ":")), lc], 0) | |
3331 | + | let ni = gq(ne, gw, ng, nh, false, fE) | |
3332 | + | let gA = ni._1 | |
3333 | + | let nj = ni._2 | |
3334 | + | let nk = ni._3 | |
3335 | + | let mX = fz(gA) | |
3336 | + | let jV = makeString([nb[bd], toString(nj), toString(nk), nb[bg]], "_") | |
3337 | + | $Tuple2(([StringEntry(mZ, mY), StringEntry(hV, makeString_2C([ia[aY], ia[aZ], ia[ba], mX, jV], ":"))] ++ lg), 0) | |
3295 | 3338 | } | |
3296 | 3339 | } | |
3297 | 3340 | ||
3301 | 3344 | func initDuckTourAttempt (A) = if ((gH.caller != de)) | |
3302 | 3345 | then throw("Access denied") | |
3303 | 3346 | else { | |
3304 | - | let lc = kZ(gH) | |
3305 | 3347 | let iY = z(A) | |
3306 | 3348 | let iZ = ag(valueOrElse(getInteger(D(A)), 0)) | |
3307 | 3349 | let kq = valueOrElse(getInteger(iY), iZ) | |
3308 | - | let | |
3309 | - | let jn = valueOrElse(getString( | |
3350 | + | let nl = bJ(A) | |
3351 | + | let jn = valueOrElse(getString(nl), aJ) | |
3310 | 3352 | let ce = valueOrElse(getInteger(de, bP), 0) | |
3311 | - | let | |
3312 | - | $Tuple2([ | |
3353 | + | let nm = (toString(ce) + "_T_0") | |
3354 | + | $Tuple2([IntegerEntry(J(A), kq), IntegerEntry(iY, iZ), StringEntry(K(A), jn), StringEntry(nl, nm)], nm) | |
3313 | 3355 | } | |
3314 | 3356 | ||
3315 | 3357 | ||
3316 | 3358 | ||
3317 | 3359 | @Callable(gH) | |
3318 | 3360 | func breakAttempt () = { | |
3319 | - | let | |
3361 | + | let lg = kZ(gH) | |
3320 | 3362 | let A = valueOrErrorMessage(getString(bH(toString(gH.caller))), "You don't have a duck staked") | |
3321 | - | let | |
3322 | - | let jn = valueOrElse(getString( | |
3363 | + | let nl = bJ(A) | |
3364 | + | let jn = valueOrElse(getString(nl), aJ) | |
3323 | 3365 | if ((split(jn, "_")[bm] != "T")) | |
3324 | 3366 | then throw("Your duck is not in the tournament") | |
3325 | 3367 | else { | |
3326 | 3368 | let kv = getIntegerValue(J(A)) | |
3327 | 3369 | let kw = getStringValue(K(A)) | |
3328 | - | $Tuple2( | |
3370 | + | $Tuple2(((lg :+ IntegerEntry(z(A), kv)) :+ StringEntry(nl, kw)), jn) | |
3329 | 3371 | } | |
3330 | 3372 | } | |
3331 | 3373 | ||
3346 | 3388 | func exitDeliveryInternal (A) = if ((gH.caller != this)) | |
3347 | 3389 | then throw("Access denied") | |
3348 | 3390 | else { | |
3349 | - | let | |
3350 | - | $Tuple2(( | |
3391 | + | let md = ko(A) | |
3392 | + | $Tuple2((md._1 ++ md._2), false) | |
3351 | 3393 | } | |
3352 | 3394 | ||
3353 | 3395 | ||
3356 | 3398 | func autoExitDelivery (A) = if ((gH.caller != this)) | |
3357 | 3399 | then throw("Access denied") | |
3358 | 3400 | else { | |
3359 | - | let | |
3360 | - | $Tuple2( | |
3401 | + | let md = ko(A) | |
3402 | + | $Tuple2(md._1, $Tuple2(md._3, md._4)) | |
3361 | 3403 | } | |
3362 | 3404 | ||
3363 | 3405 | ||
3364 | 3406 | ||
3365 | 3407 | @Callable(gH) | |
3366 | 3408 | func prepareRobbery (iN,iO) = { | |
3367 | - | let | |
3409 | + | let lg = kZ(gH) | |
3368 | 3410 | if (!(sigVerify_8Kb(iN, iO, dW))) | |
3369 | 3411 | then throw("signature does not match") | |
3370 | 3412 | else if ((size(gH.payments) != 1)) | |
3371 | 3413 | then throw("exactly 1 payment must be attached") | |
3372 | 3414 | else { | |
3373 | - | let | |
3374 | - | let | |
3375 | - | if (if (!(isDefined( | |
3415 | + | let lh = gH.payments[0] | |
3416 | + | let nn = lh.amount | |
3417 | + | if (if (!(isDefined(lh.assetId))) | |
3376 | 3418 | then true | |
3377 | - | else (value( | |
3419 | + | else (value(lh.assetId) != dl)) | |
3378 | 3420 | then throw("WLGOLD payments only!") | |
3379 | 3421 | else { | |
3380 | 3422 | let fm = split(toUtf8String(iN), "|") | |
3382 | 3424 | then throw("Wrong message format") | |
3383 | 3425 | else { | |
3384 | 3426 | let A = fm[0] | |
3385 | - | let ay = au(this, A)._1 | |
3386 | - | if ((ay > nk)) | |
3387 | - | then throw(((("Payment " + toString(nk)) + " < required ") + toString(ay))) | |
3388 | - | else { | |
3389 | - | let nl = split(fm[1], "_") | |
3390 | - | let ax = lastBlock.timestamp | |
3391 | - | let az = valueOrElse(getInteger(R(A)), 0) | |
3392 | - | let aA = valueOrElse(getString(S(A)), "") | |
3393 | - | let aB = valueOrElse(getInteger(Q(aA)), 0) | |
3394 | - | if (if ((az != x)) | |
3395 | - | then (aB > ax) | |
3396 | - | else false) | |
3397 | - | then throw(("You already started robbing, wait till " + toString(aB))) | |
3398 | - | else { | |
3399 | - | func nm (eO,P) = { | |
3400 | - | let nn = valueOrElse(getInteger(O(P)), 0) | |
3401 | - | let no = valueOrElse(getInteger(Q(P)), 0) | |
3402 | - | if ((nn > size(u))) | |
3403 | - | then throw("Invalid state") | |
3404 | - | else if ((ax > no)) | |
3405 | - | then { | |
3406 | - | let np = valueOrElse(getInteger(br(P)), 0) | |
3407 | - | if ((0 >= np)) | |
3408 | - | then eO | |
3409 | - | else { | |
3410 | - | let go = value(assetInfo(fromBase58String(P))) | |
3411 | - | let jt = split(go.description, "_") | |
3412 | - | let jf = dE(jt[dh]) | |
3413 | - | let nq = je(P, jf) | |
3414 | - | let gN = (ax - np) | |
3415 | - | let jw = fraction(gN, (nq * jf), a) | |
3416 | - | if ((v > jw)) | |
3417 | - | then eO | |
3418 | - | else (eO :+ P) | |
3419 | - | } | |
3427 | + | if (km(A)) | |
3428 | + | then throw("prepareRobbery_checkTournament") | |
3429 | + | else if (kn(A)) | |
3430 | + | then throw("prepareRobbery_checkDelivery") | |
3431 | + | else { | |
3432 | + | let ay = au(this, A)._1 | |
3433 | + | if ((ay > nn)) | |
3434 | + | then throw(((("Payment " + toString(nn)) + " < required ") + toString(ay))) | |
3435 | + | else { | |
3436 | + | let no = split(fm[1], "_") | |
3437 | + | let ax = lastBlock.timestamp | |
3438 | + | let az = valueOrElse(getInteger(R(A)), 0) | |
3439 | + | let aA = valueOrElse(getString(S(A)), "") | |
3440 | + | let aB = valueOrElse(getInteger(Q(aA)), 0) | |
3441 | + | if (if ((az != x)) | |
3442 | + | then (aB > ax) | |
3443 | + | else false) | |
3444 | + | then throw(("You already started robbing, wait till " + toString(aB))) | |
3445 | + | else { | |
3446 | + | func np (eO,P) = { | |
3447 | + | let nq = valueOrElse(getInteger(O(P)), 0) | |
3448 | + | let nr = valueOrElse(getInteger(Q(P)), 0) | |
3449 | + | if ((nq > size(u))) | |
3450 | + | then throw("Invalid state") | |
3451 | + | else if ((ax > nr)) | |
3452 | + | then { | |
3453 | + | let ns = valueOrElse(getInteger(br(P)), 0) | |
3454 | + | if ((0 >= ns)) | |
3455 | + | then eO | |
3456 | + | else { | |
3457 | + | let go = value(assetInfo(fromBase58String(P))) | |
3458 | + | let jt = split(go.description, "_") | |
3459 | + | let jf = dE(jt[dh]) | |
3460 | + | let nt = je(P, jf) | |
3461 | + | let gN = (ax - ns) | |
3462 | + | let jw = fraction(gN, (nt * jf), a) | |
3463 | + | if ((v > jw)) | |
3464 | + | then eO | |
3465 | + | else (eO :+ P) | |
3466 | + | } | |
3467 | + | } | |
3468 | + | else eO | |
3420 | 3469 | } | |
3421 | - | else eO | |
3470 | + | ||
3471 | + | let nu = { | |
3472 | + | let eQ = no | |
3473 | + | let eR = size(eQ) | |
3474 | + | let eS = nil | |
3475 | + | func eT (eU,eV) = if ((eV >= eR)) | |
3476 | + | then eU | |
3477 | + | else np(eU, eQ[eV]) | |
3478 | + | ||
3479 | + | func eW (eU,eV) = if ((eV >= eR)) | |
3480 | + | then eU | |
3481 | + | else throw("List size exceeds 10") | |
3482 | + | ||
3483 | + | eW(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eS, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
3484 | + | } | |
3485 | + | if ((size(nu) == 0)) | |
3486 | + | then throw("No candidates for robbery") | |
3487 | + | else { | |
3488 | + | let nv = dO(size(nu), height, (iO + gH.transactionId)) | |
3489 | + | let P = nu[nv] | |
3490 | + | $Tuple2(([IntegerEntry(O(P), w), IntegerEntry(Q(P), (ax + u[w])), IntegerEntry(R(A), y), StringEntry(S(A), P)] ++ lg), P) | |
3491 | + | } | |
3492 | + | } | |
3422 | 3493 | } | |
3423 | - | ||
3424 | - | let nr = { | |
3425 | - | let eQ = nl | |
3426 | - | let eR = size(eQ) | |
3427 | - | let eS = nil | |
3428 | - | func eT (eU,eV) = if ((eV >= eR)) | |
3429 | - | then eU | |
3430 | - | else nm(eU, eQ[eV]) | |
3431 | - | ||
3432 | - | func eW (eU,eV) = if ((eV >= eR)) | |
3433 | - | then eU | |
3434 | - | else throw("List size exceeds 10") | |
3435 | - | ||
3436 | - | eW(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eS, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
3437 | - | } | |
3438 | - | if ((size(nr) == 0)) | |
3439 | - | then throw("No candidates for robbery") | |
3440 | - | else { | |
3441 | - | let ns = dO(size(nr), height, (iO + gH.transactionId)) | |
3442 | - | let P = nr[ns] | |
3443 | - | $Tuple2([IntegerEntry(O(P), w), IntegerEntry(Q(P), (ax + u[w])), IntegerEntry(R(A), y), StringEntry(S(A), P), lc], P) | |
3444 | - | } | |
3445 | - | } | |
3446 | - | } | |
3494 | + | } | |
3447 | 3495 | } | |
3448 | 3496 | } | |
3449 | 3497 | } | |
3453 | 3501 | ||
3454 | 3502 | @Callable(gH) | |
3455 | 3503 | func robLand (iN,iO) = { | |
3456 | - | let | |
3504 | + | let lg = kZ(gH) | |
3457 | 3505 | if (!(sigVerify_8Kb(iN, iO, dW))) | |
3458 | 3506 | then throw("signature does not match") | |
3459 | 3507 | else { | |
3460 | 3508 | let bL = toString(gH.caller) | |
3461 | 3509 | let A = valueOrErrorMessage(getString(bH(bL)), "You don't have a duck staked") | |
3462 | 3510 | let ax = lastBlock.timestamp | |
3463 | - | $Tuple2( | |
3511 | + | $Tuple2((lg :+ IntegerEntry(M(A), ax)), 0) | |
3464 | 3512 | } | |
3465 | 3513 | } | |
3466 | 3514 | ||
3470 | 3518 | func acceptDelivery () = if (!(cu)) | |
3471 | 3519 | then throw("Delivery feature is turned off!") | |
3472 | 3520 | else { | |
3473 | - | let | |
3521 | + | let lg = kZ(gH) | |
3474 | 3522 | let bL = toString(gH.caller) | |
3475 | 3523 | let A = valueOrErrorMessage(getString(bH(bL)), "You don't have a duck staked") | |
3476 | - | let | |
3524 | + | let nw = valueOrElse(getInteger(db, bN), 0) | |
3477 | 3525 | let kt = valueOrElse(getInteger(db, bO), 0) | |
3478 | - | if ((aM > ( | |
3479 | - | then throw(((("Delivery is not available, fund=" + dJ( | |
3526 | + | if ((aM > (nw - kt))) | |
3527 | + | then throw(((("Delivery is not available, fund=" + dJ(nw, 6)) + ", locked=") + dJ(kt, 6))) | |
3480 | 3528 | else { | |
3481 | 3529 | let ax = lastBlock.timestamp | |
3482 | - | let | |
3483 | - | if (( | |
3484 | - | then throw(("Delivery is forbidden for your duck until " + toString( | |
3530 | + | let nx = valueOrElse(getInteger(T(A)), 0) | |
3531 | + | if ((nx > ax)) | |
3532 | + | then throw(("Delivery is forbidden for your duck until " + toString(nx))) | |
3485 | 3533 | else if (km(A)) | |
3486 | 3534 | then throw("acceptDelivery_checkTournament") | |
3487 | 3535 | else if (kn(A)) | |
3488 | 3536 | then throw("acceptDelivery_checkDelivery") | |
3489 | 3537 | else { | |
3490 | - | let | |
3538 | + | let ny = dy(invoke(db, "updateDeliveryLocked", [(kt + aM)], nil)) | |
3491 | 3539 | let iY = z(A) | |
3492 | 3540 | let iZ = ag(valueOrElse(getInteger(D(A)), 0)) | |
3493 | 3541 | let kq = valueOrElse(getInteger(iY), iZ) | |
3494 | - | let | |
3495 | - | let jn = valueOrElse(getString( | |
3496 | - | let | |
3497 | - | $Tuple2([ | |
3542 | + | let nl = bJ(A) | |
3543 | + | let jn = valueOrElse(getString(nl), aJ) | |
3544 | + | let nz = (toString(ax) + "_D_0") | |
3545 | + | $Tuple2(([IntegerEntry(J(A), kq), IntegerEntry(iY, iZ), StringEntry(K(A), jn), StringEntry(nl, nz)] ++ lg), $Tuple2(nz, ny)) | |
3498 | 3546 | } | |
3499 | 3547 | } | |
3500 | 3548 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 86400000 | |
5 | 5 | ||
6 | 6 | func b (c) = ("lastArbTimeUser_" + c) | |
7 | 7 | ||
8 | 8 | ||
9 | 9 | let d = 100000000 | |
10 | 10 | ||
11 | 11 | let e = 3200 | |
12 | 12 | ||
13 | 13 | let f = 4000 | |
14 | 14 | ||
15 | 15 | let g = 3 | |
16 | 16 | ||
17 | 17 | let h = 100000000 | |
18 | 18 | ||
19 | 19 | let i = 400 | |
20 | 20 | ||
21 | 21 | let j = ["Strength", "Accuracy", "Intellect", "Endurance", "Dexterity", "Level", "Health"] | |
22 | 22 | ||
23 | 23 | let k = 0 | |
24 | 24 | ||
25 | 25 | let l = 1 | |
26 | 26 | ||
27 | 27 | let m = 2 | |
28 | 28 | ||
29 | 29 | let n = 3 | |
30 | 30 | ||
31 | 31 | let o = 4 | |
32 | 32 | ||
33 | 33 | let p = 0 | |
34 | 34 | ||
35 | 35 | let q = 6 | |
36 | 36 | ||
37 | 37 | let r = 2 | |
38 | 38 | ||
39 | 39 | let s = 2 | |
40 | 40 | ||
41 | 41 | let t = 30 | |
42 | 42 | ||
43 | 43 | let u = [0, 600000, 900000, 43200000, 21600000] | |
44 | 44 | ||
45 | 45 | let v = 20000000 | |
46 | 46 | ||
47 | 47 | let w = 1 | |
48 | 48 | ||
49 | 49 | let x = 0 | |
50 | 50 | ||
51 | 51 | let y = 1 | |
52 | 52 | ||
53 | 53 | func z (A) = ("duckHealth_" + A) | |
54 | 54 | ||
55 | 55 | ||
56 | 56 | func B (A) = ("duckChars_" + A) | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func C (A) = ("duckXP_" + A) | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func D (A) = ("duckLevel_" + A) | |
63 | 63 | ||
64 | 64 | ||
65 | 65 | func E (A) = ("duckFreePoints_" + A) | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func F (A) = ("duckEquipment_" + A) | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func G (c) = ("userXP_" + c) | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func H (c) = ("userLevel_" + c) | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func I (c) = ("userFreePoints_" + c) | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func J (A) = ("savedHealth_" + A) | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func K (A) = ("savedLocation_" + A) | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func L (A) = ("duckBuffs_" + A) | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func M (A) = ("lastRobberyTime_" + A) | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func N (A) = ("lastRobberyCost_" + A) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func O (P) = ("landRobberyState_" + P) | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func Q (P) = ("landCooldownETA_" + P) | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func R (A) = ("duckRobberyState_" + A) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func S (A) = ("lockedLandByDuck_" + A) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func T (A) = ("deliveryDelayByDuck_" + A) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | let U = 10000 | |
111 | 111 | ||
112 | 112 | let V = 10000 | |
113 | 113 | ||
114 | 114 | let W = 2000 | |
115 | 115 | ||
116 | 116 | let X = 100000 | |
117 | 117 | ||
118 | 118 | let Y = 1000000 | |
119 | 119 | ||
120 | 120 | let Z = 5000000 | |
121 | 121 | ||
122 | 122 | let aa = 10000 | |
123 | 123 | ||
124 | 124 | let ab = 1000000 | |
125 | 125 | ||
126 | 126 | let ac = 1000000 | |
127 | 127 | ||
128 | 128 | let ad = 10000 | |
129 | 129 | ||
130 | 130 | func ae (af) = fraction(e, pow(af, 4, f, 4, 4, DOWN), d) | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func ag (ah) = (100 + ah) | |
134 | 134 | ||
135 | 135 | ||
136 | 136 | func ai (aj,ak) = { | |
137 | 137 | let al = ae(ak) | |
138 | 138 | [al, (g * (al - aj))] | |
139 | 139 | } | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func am (an,A,ao,ap) = { | |
143 | 143 | let aq = split(valueOrElse(getString(an, B(A)), "0_0_0_0_0"), "_") | |
144 | 144 | let ar = valueOrElse(getInteger(an, D(A)), 0) | |
145 | 145 | let as = valueOrElse(getInteger(an, z(A)), ag(ar)) | |
146 | 146 | let at = split(valueOrElse(getString(an, L(A)), "0_0_0_0_0"), "_") | |
147 | 147 | ([parseIntValue(aq[k]), parseIntValue(aq[l]), parseIntValue(aq[m]), parseIntValue(aq[n]), parseIntValue(aq[o]), ar, as] ++ (if (ap) | |
148 | 148 | then [ao, ao, ao, ao, ao] | |
149 | 149 | else [parseIntValue(at[k]), parseIntValue(at[l]), parseIntValue(at[m]), parseIntValue(at[n]), parseIntValue(at[o])])) | |
150 | 150 | } | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func au (an,A) = { | |
154 | 154 | let av = valueOrElse(getInteger(an, N(A)), 0) | |
155 | 155 | let aw = valueOrElse(getInteger(an, M(A)), 0) | |
156 | 156 | let ax = lastBlock.timestamp | |
157 | 157 | let ay = max([h, (av - (i * (ax - aw)))]) | |
158 | 158 | let az = valueOrElse(getInteger(an, R(A)), 0) | |
159 | 159 | let aA = valueOrElse(getString(an, S(A)), "") | |
160 | 160 | let aB = valueOrElse(getInteger(an, Q(aA)), 0) | |
161 | 161 | $Tuple5(ay, aw, az, aA, aB) | |
162 | 162 | } | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | let aC = "LAND" | |
166 | 166 | ||
167 | 167 | let aD = "DUCK" | |
168 | 168 | ||
169 | 169 | let aE = "PRESALE" | |
170 | 170 | ||
171 | 171 | let aF = 6 | |
172 | 172 | ||
173 | 173 | let aG = 25 | |
174 | 174 | ||
175 | 175 | let aH = 3456000 | |
176 | 176 | ||
177 | 177 | let aI = 10000000000 | |
178 | 178 | ||
179 | 179 | let aJ = "Africa_F_Africa" | |
180 | 180 | ||
181 | 181 | let aK = 39637 | |
182 | 182 | ||
183 | 183 | let aL = 10 | |
184 | 184 | ||
185 | 185 | let aM = 50000 | |
186 | 186 | ||
187 | 187 | let aN = 600000 | |
188 | 188 | ||
189 | 189 | let aO = ["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"] | |
190 | 190 | ||
191 | 191 | let aP = ["Americas", "Europe", "Asia", "Africa", "Oceania"] | |
192 | 192 | ||
193 | 193 | let aQ = 10000000 | |
194 | 194 | ||
195 | 195 | let aR = [15, 16, 17, 18, 19, 20] | |
196 | 196 | ||
197 | 197 | let aS = ["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_"] | |
198 | 198 | ||
199 | 199 | let aT = 6 | |
200 | 200 | ||
201 | 201 | let aU = 8 | |
202 | 202 | ||
203 | 203 | let aV = 9 | |
204 | 204 | ||
205 | 205 | let aW = 10 | |
206 | 206 | ||
207 | 207 | let aX = 10 | |
208 | 208 | ||
209 | 209 | let aY = 0 | |
210 | 210 | ||
211 | 211 | let aZ = 1 | |
212 | 212 | ||
213 | 213 | let ba = 2 | |
214 | 214 | ||
215 | 215 | let bb = 3 | |
216 | 216 | ||
217 | 217 | let bc = 4 | |
218 | 218 | ||
219 | 219 | let bd = 0 | |
220 | 220 | ||
221 | 221 | let be = 1 | |
222 | 222 | ||
223 | 223 | let bf = 2 | |
224 | 224 | ||
225 | 225 | let bg = 3 | |
226 | 226 | ||
227 | 227 | let bh = 0 | |
228 | 228 | ||
229 | 229 | let bi = 1 | |
230 | 230 | ||
231 | 231 | let bj = 2 | |
232 | 232 | ||
233 | 233 | let bk = 3 | |
234 | 234 | ||
235 | 235 | let bl = 0 | |
236 | 236 | ||
237 | 237 | let bm = 1 | |
238 | 238 | ||
239 | 239 | let bn = 2 | |
240 | 240 | ||
241 | 241 | func bo (bp) = ("no_" + bp) | |
242 | 242 | ||
243 | 243 | ||
244 | 244 | func bq (bp) = ("lcna_" + bp) | |
245 | 245 | ||
246 | 246 | ||
247 | 247 | func br (bp) = ("st_" + bp) | |
248 | 248 | ||
249 | 249 | ||
250 | 250 | func bs (bt,bp) = makeString(["las", bt, bp], "_") | |
251 | 251 | ||
252 | 252 | ||
253 | 253 | func bu (bv,bp,bw) = ((((("sttao_" + bv) + "_") + bp) + "_") + bw) | |
254 | 254 | ||
255 | 255 | ||
256 | 256 | func bx (P) = ("wh_" + P) | |
257 | 257 | ||
258 | 258 | ||
259 | 259 | func by (bp) = ("infraLevel_" + bp) | |
260 | 260 | ||
261 | 261 | ||
262 | 262 | func bz (P) = ("fortifications_" + P) | |
263 | 263 | ||
264 | 264 | ||
265 | 265 | func bA (bp) = ("duckCustomNameByAssetId_" + bp) | |
266 | 266 | ||
267 | 267 | ||
268 | 268 | func bB (c) = ("accountCustomNameByAddr_" + c) | |
269 | 269 | ||
270 | 270 | ||
271 | 271 | func bC (c) = ("accRefBy_" + c) | |
272 | 272 | ||
273 | 273 | ||
274 | 274 | func bD (A) = ("onboardArtActivatedOnDuck_" + A) | |
275 | 275 | ||
276 | 276 | ||
277 | 277 | func bE (c) = ("onboardArtActivatedDuckBy_" + c) | |
278 | 278 | ||
279 | 279 | ||
280 | 280 | func bF (c) = ("accReferrals_" + c) | |
281 | 281 | ||
282 | 282 | ||
283 | 283 | func bG (bp) = ("duckOwner_" + bp) | |
284 | 284 | ||
285 | 285 | ||
286 | 286 | func bH (bw) = ("stakedDuckByOwner_" + bw) | |
287 | 287 | ||
288 | 288 | ||
289 | 289 | func bI (A) = ("backPack_" + A) | |
290 | 290 | ||
291 | 291 | ||
292 | 292 | func bJ (A) = ("duckLocation_" + A) | |
293 | 293 | ||
294 | 294 | ||
295 | 295 | func bK (bL) = ("%s%s__userGwlReleaseTime__" + bL) | |
296 | 296 | ||
297 | 297 | ||
298 | 298 | func bM () = "emergencyWarehouseProducts" | |
299 | 299 | ||
300 | 300 | ||
301 | 301 | let bN = "deliveryFund" | |
302 | 302 | ||
303 | 303 | let bO = "deliveryLocked" | |
304 | 304 | ||
305 | 305 | let bP = "%s__lastTourId" | |
306 | 306 | ||
307 | 307 | func bQ (bR) = ("%s%d__tourStaticData__" + toString(bR)) | |
308 | 308 | ||
309 | 309 | ||
310 | 310 | func bS (bR) = ("%s%d__tourDynamicData__" + toString(bR)) | |
311 | 311 | ||
312 | 312 | ||
313 | 313 | func bT (bR,A) = makeString(["%s%d%s__bestResultByTourAndDuck", toString(bR), A], "__") | |
314 | 314 | ||
315 | 315 | ||
316 | 316 | let bU = 0 | |
317 | 317 | ||
318 | 318 | let bV = 1 | |
319 | 319 | ||
320 | 320 | let bW = 6 | |
321 | 321 | ||
322 | 322 | let bX = 1 | |
323 | 323 | ||
324 | 324 | func bY (bZ,bR) = { | |
325 | 325 | let ca = split(valueOrErrorMessage(getString(bZ, bQ(bR)), (("Error reading tournament " + toString(bR)) + " data")), "__") | |
326 | 326 | let cb = split_4C(valueOrErrorMessage(getString(bZ, bS(bR)), (("Error reading tournament " + toString(bR)) + " data")), "__") | |
327 | 327 | [ca, cb] | |
328 | 328 | } | |
329 | 329 | ||
330 | 330 | ||
331 | 331 | func cc (bZ,cd) = { | |
332 | 332 | let ce = valueOrElse(getInteger(bZ, bP), 0) | |
333 | 333 | let cf = split(cd, "_") | |
334 | 334 | let ax = lastBlock.timestamp | |
335 | 335 | let cg = bY(bZ, ce) | |
336 | 336 | let ca = cg[bU] | |
337 | 337 | let cb = cg[bV] | |
338 | 338 | if (if (if ((cf[bm] == "T")) | |
339 | 339 | then (parseIntValue(cf[bl]) == ce) | |
340 | 340 | else false) | |
341 | 341 | then (cb[bX] == "INPROGRESS") | |
342 | 342 | else false) | |
343 | 343 | then (parseIntValue(ca[bW]) > ax) | |
344 | 344 | else false | |
345 | 345 | } | |
346 | 346 | ||
347 | 347 | ||
348 | 348 | func ch (cd) = { | |
349 | 349 | let cf = split(cd, "_") | |
350 | 350 | let ax = lastBlock.timestamp | |
351 | 351 | let ci = parseIntValue(cf[bl]) | |
352 | 352 | let cj = parseIntValue(cf[bn]) | |
353 | 353 | if (if ((cf[bm] == "D")) | |
354 | 354 | then (ax > (ci + aN)) | |
355 | 355 | else false) | |
356 | 356 | then (3 >= cj) | |
357 | 357 | else false | |
358 | 358 | } | |
359 | 359 | ||
360 | 360 | ||
361 | 361 | func ck (cd) = { | |
362 | 362 | let cl = split(cd, "_")[bm] | |
363 | 363 | if ((cl != "T")) | |
364 | 364 | then (cl != "D") | |
365 | 365 | else false | |
366 | 366 | } | |
367 | 367 | ||
368 | 368 | ||
369 | 369 | func cm (bZ,cd) = { | |
370 | 370 | let ce = valueOrElse(getInteger(bZ, bP), 0) | |
371 | 371 | let cf = split(cd, "_") | |
372 | 372 | let ax = lastBlock.timestamp | |
373 | 373 | let cg = bY(bZ, ce) | |
374 | 374 | let ca = cg[bU] | |
375 | 375 | let cb = cg[bV] | |
376 | 376 | let cl = cf[bm] | |
377 | 377 | if (if ((cl != "T")) | |
378 | 378 | then (cl != "D") | |
379 | 379 | else false) | |
380 | 380 | then true | |
381 | 381 | else !(if (if (if ((cf[bm] == "T")) | |
382 | 382 | then (parseIntValue(cf[bl]) == ce) | |
383 | 383 | else false) | |
384 | 384 | then (cb[bX] == "INPROGRESS") | |
385 | 385 | else false) | |
386 | 386 | then (parseIntValue(ca[bW]) > ax) | |
387 | 387 | else false) | |
388 | 388 | } | |
389 | 389 | ||
390 | 390 | ||
391 | 391 | func cn (co) = (parseIntValue(co[aT]) * aQ) | |
392 | 392 | ||
393 | 393 | ||
394 | 394 | func cp (cq,cr) = throw(((("Cheat attempt: oldLoc=" + cq) + ", newLoc=") + cr)) | |
395 | 395 | ||
396 | 396 | ||
397 | 397 | let cs = false | |
398 | 398 | ||
399 | - | let ct = | |
399 | + | let ct = false | |
400 | 400 | ||
401 | 401 | let cu = true | |
402 | 402 | ||
403 | 403 | let cv = take(drop(this.bytes, 1), 1) | |
404 | 404 | ||
405 | 405 | let cw = { | |
406 | 406 | let cx = cv | |
407 | 407 | if ((base58'2W' == cx)) | |
408 | 408 | then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi' | |
409 | 409 | else if ((base58'2T' == cx)) | |
410 | 410 | then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63' | |
411 | 411 | else throw("Unknown chain") | |
412 | 412 | } | |
413 | 413 | ||
414 | 414 | let cy = { | |
415 | 415 | let cx = cv | |
416 | 416 | if ((base58'2W' == cx)) | |
417 | 417 | then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv" | |
418 | 418 | else if ((base58'2T' == cx)) | |
419 | 419 | then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy" | |
420 | 420 | else throw("Unknown chain") | |
421 | 421 | } | |
422 | 422 | ||
423 | 423 | let cz = { | |
424 | 424 | let cx = cv | |
425 | 425 | if ((base58'2W' == cx)) | |
426 | 426 | then 10000000000 | |
427 | 427 | else if ((base58'2T' == cx)) | |
428 | 428 | then 100000000 | |
429 | 429 | else throw("Unknown chain") | |
430 | 430 | } | |
431 | 431 | ||
432 | 432 | let cA = { | |
433 | 433 | let cx = cv | |
434 | 434 | if ((base58'2W' == cx)) | |
435 | 435 | then 86400000 | |
436 | 436 | else if ((base58'2T' == cx)) | |
437 | 437 | then 60000 | |
438 | 438 | else throw("Unknown chain") | |
439 | 439 | } | |
440 | 440 | ||
441 | 441 | let cB = "__" | |
442 | 442 | ||
443 | 443 | let cC = 1000000 | |
444 | 444 | ||
445 | 445 | let cD = 100000000 | |
446 | 446 | ||
447 | 447 | let cE = 25 | |
448 | 448 | ||
449 | 449 | let cF = 100 | |
450 | 450 | ||
451 | 451 | let cG = 225 | |
452 | 452 | ||
453 | 453 | let cH = 400 | |
454 | 454 | ||
455 | 455 | let cI = 625 | |
456 | 456 | ||
457 | 457 | let cJ = [0, 1, 2, 3, 4, 5] | |
458 | 458 | ||
459 | 459 | func cK (cL,cM) = valueOrErrorMessage(getString(cL, cM), makeString(["mandatory ", toString(cL), ".", cM, " is not defined"], "")) | |
460 | 460 | ||
461 | 461 | ||
462 | 462 | let cN = 1 | |
463 | 463 | ||
464 | 464 | let cO = 2 | |
465 | 465 | ||
466 | 466 | let cP = 3 | |
467 | 467 | ||
468 | 468 | let cQ = 4 | |
469 | 469 | ||
470 | 470 | let cR = 7 | |
471 | 471 | ||
472 | 472 | let cS = 8 | |
473 | 473 | ||
474 | 474 | func cT () = "%s__restConfig" | |
475 | 475 | ||
476 | 476 | ||
477 | 477 | func cU () = "%s__restAddr" | |
478 | 478 | ||
479 | 479 | ||
480 | 480 | func cV (cW) = split_4C(cK(cW, cT()), cB) | |
481 | 481 | ||
482 | 482 | ||
483 | 483 | func cX (cY,cZ) = valueOrErrorMessage(addressFromString(cY[cZ]), ("Rest cfg doesn't contain address at index " + toString(cZ))) | |
484 | 484 | ||
485 | 485 | ||
486 | 486 | let da = addressFromStringValue(valueOrElse(getString(this, cU()), cy)) | |
487 | 487 | ||
488 | 488 | let cY = cV(da) | |
489 | 489 | ||
490 | 490 | let an = cX(cY, cN) | |
491 | 491 | ||
492 | 492 | let db = cX(cY, cO) | |
493 | 493 | ||
494 | 494 | let dc = cX(cY, cP) | |
495 | 495 | ||
496 | 496 | let dd = cX(cY, cQ) | |
497 | 497 | ||
498 | 498 | let de = cX(cY, cR) | |
499 | 499 | ||
500 | 500 | let df = cX(cY, cS) | |
501 | 501 | ||
502 | 502 | let dg = 0 | |
503 | 503 | ||
504 | 504 | let dh = 1 | |
505 | 505 | ||
506 | 506 | let di = 2 | |
507 | 507 | ||
508 | 508 | let dj = 3 | |
509 | 509 | ||
510 | 510 | let dk = "wlg_assetId" | |
511 | 511 | ||
512 | 512 | let dl = valueOrErrorMessage(getBinary(dd, dk), "WLGOLD is not issued yet") | |
513 | 513 | ||
514 | 514 | let dm = "acresAssetId" | |
515 | 515 | ||
516 | 516 | let dn = valueOrErrorMessage(getBinary(df, dm), "ACRES is not issued yet") | |
517 | 517 | ||
518 | 518 | let do = 2 | |
519 | 519 | ||
520 | 520 | func dp (cL) = ("finishBlockForAddr_" + cL) | |
521 | 521 | ||
522 | 522 | ||
523 | 523 | func dq () = "resTypesProportions" | |
524 | 524 | ||
525 | 525 | ||
526 | 526 | func dr (ds) = ("resTypesByContinent_" + ds) | |
527 | 527 | ||
528 | 528 | ||
529 | 529 | func dt (bw) = ("stakedLandsByOwner_" + bw) | |
530 | 530 | ||
531 | 531 | ||
532 | 532 | func du (bw) = ("stakedPiecesByOwner_" + bw) | |
533 | 533 | ||
534 | 534 | ||
535 | 535 | func dv (dw) = { | |
536 | 536 | let cx = dw | |
537 | 537 | if ($isInstanceOf(cx, "String")) | |
538 | 538 | then { | |
539 | 539 | let dx = cx | |
540 | 540 | dx | |
541 | 541 | } | |
542 | 542 | else throw("fail to cast into String") | |
543 | 543 | } | |
544 | 544 | ||
545 | 545 | ||
546 | 546 | func dy (dw) = { | |
547 | 547 | let cx = dw | |
548 | 548 | if ($isInstanceOf(cx, "Int")) | |
549 | 549 | then { | |
550 | 550 | let dz = cx | |
551 | 551 | dz | |
552 | 552 | } | |
553 | 553 | else throw("fail to cast into Int") | |
554 | 554 | } | |
555 | 555 | ||
556 | 556 | ||
557 | 557 | func dA (dw) = { | |
558 | 558 | let cx = dw | |
559 | 559 | if ($isInstanceOf(cx, "Boolean")) | |
560 | 560 | then { | |
561 | 561 | let dx = cx | |
562 | 562 | dx | |
563 | 563 | } | |
564 | 564 | else throw("fail to cast into Boolean") | |
565 | 565 | } | |
566 | 566 | ||
567 | 567 | ||
568 | 568 | func dB (dC) = { | |
569 | 569 | let cx = dC | |
570 | 570 | if ($isInstanceOf(cx, "(String, Int)")) | |
571 | 571 | then { | |
572 | 572 | let dD = cx | |
573 | 573 | dD | |
574 | 574 | } | |
575 | 575 | else throw("fail to cast into (String, Int)") | |
576 | 576 | } | |
577 | 577 | ||
578 | 578 | ||
579 | 579 | func dE (dF) = { | |
580 | 580 | let cx = dF | |
581 | 581 | if (("S" == cx)) | |
582 | 582 | then cE | |
583 | 583 | else if (("M" == cx)) | |
584 | 584 | then cF | |
585 | 585 | else if (("L" == cx)) | |
586 | 586 | then cG | |
587 | 587 | else if (("XL" == cx)) | |
588 | 588 | then cH | |
589 | 589 | else if (("XXL" == cx)) | |
590 | 590 | then cI | |
591 | 591 | else throw("Unknown land size") | |
592 | 592 | } | |
593 | 593 | ||
594 | 594 | ||
595 | 595 | func dG (dx) = isDefined(parseInt(dx)) | |
596 | 596 | ||
597 | 597 | ||
598 | 598 | func dH () = "contractsBlocked" | |
599 | 599 | ||
600 | 600 | ||
601 | 601 | func dI (c) = ("lastTxIdByUser_" + c) | |
602 | 602 | ||
603 | 603 | ||
604 | 604 | func dJ (dC,dK) = { | |
605 | 605 | let dL = pow(10, 0, dK, 0, 0, DOWN) | |
606 | 606 | let dM = toString((dC % dL)) | |
607 | 607 | let dN = drop(toString(dL), (1 + size(dM))) | |
608 | 608 | (((toString((dC / dL)) + ".") + dN) + dM) | |
609 | 609 | } | |
610 | 610 | ||
611 | 611 | ||
612 | 612 | func dO (dP,dQ,dR) = { | |
613 | 613 | let dS = value(blockInfoByHeight(dQ)) | |
614 | 614 | let dT = sha256((value(dS.vrf) + dR)) | |
615 | 615 | (toInt(dT) % dP) | |
616 | 616 | } | |
617 | 617 | ||
618 | 618 | ||
619 | 619 | let dU = { | |
620 | 620 | let cx = cv | |
621 | 621 | if ((base58'2W' == cx)) | |
622 | 622 | then addressFromStringValue("3PEktVux2RhchSN63DsDo4b4mz4QqzKSeDv") | |
623 | 623 | else if ((base58'2T' == cx)) | |
624 | 624 | then this | |
625 | 625 | else throw("Unknown chain") | |
626 | 626 | } | |
627 | 627 | ||
628 | 628 | let dV = { | |
629 | 629 | let cx = cv | |
630 | 630 | if ((base58'2W' == cx)) | |
631 | 631 | then addressFromStringValue("3PDVuU45H7Eh5dmtNbnRNRStGwULA7NY6Hb") | |
632 | 632 | else if ((base58'2T' == cx)) | |
633 | 633 | then this | |
634 | 634 | else throw("Unknown chain") | |
635 | 635 | } | |
636 | 636 | ||
637 | 637 | let dW = { | |
638 | 638 | let cx = cv | |
639 | 639 | if ((base58'2W' == cx)) | |
640 | 640 | then if (cs) | |
641 | 641 | then base58'CWsMtTZC5BjjoL4Q1ayW4Wwb1ehGACQB6DrKyPgotKfm' | |
642 | 642 | else base58'6LfPuKJjLgekmncBhMg2LZyMTNVzZBccXR28ySXm9uXD' | |
643 | 643 | else if ((base58'2T' == cx)) | |
644 | 644 | then base58'6LfPuKJjLgekmncBhMg2LZyMTNVzZBccXR28ySXm9uXD' | |
645 | 645 | else throw("Unknown chain") | |
646 | 646 | } | |
647 | 647 | ||
648 | 648 | let dX = base64'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==' | |
649 | 649 | ||
650 | 650 | let dY = 300000 | |
651 | 651 | ||
652 | 652 | let dZ = 5000000 | |
653 | 653 | ||
654 | 654 | let ea = 50 | |
655 | 655 | ||
656 | 656 | let eb = 10000000 | |
657 | 657 | ||
658 | 658 | let ec = { | |
659 | 659 | let cx = cv | |
660 | 660 | if ((base58'2W' == cx)) | |
661 | 661 | then 252289527462 | |
662 | 662 | else if ((base58'2T' == cx)) | |
663 | 663 | then 2522895274 | |
664 | 664 | else throw("Unknown chain") | |
665 | 665 | } | |
666 | 666 | ||
667 | 667 | let ed = { | |
668 | 668 | let cx = cv | |
669 | 669 | if ((base58'2W' == cx)) | |
670 | 670 | then 250000000 | |
671 | 671 | else if ((base58'2T' == cx)) | |
672 | 672 | then 250000000 | |
673 | 673 | else throw("Unknown chain") | |
674 | 674 | } | |
675 | 675 | ||
676 | 676 | let ee = 2500000000 | |
677 | 677 | ||
678 | 678 | let ef = toBigInt(5) | |
679 | 679 | ||
680 | 680 | let eg = toBigInt(20) | |
681 | 681 | ||
682 | 682 | let eh = toBigInt((20 * 20)) | |
683 | 683 | ||
684 | 684 | let ei = toBigInt(((20 * 20) * 20)) | |
685 | 685 | ||
686 | 686 | let ej = toBigInt((((20 * 20) * 20) * 20)) | |
687 | 687 | ||
688 | 688 | let ek = toBigInt(((((20 * 20) * 20) * 20) * 20)) | |
689 | 689 | ||
690 | 690 | let el = 500 | |
691 | 691 | ||
692 | 692 | func em () = "nextLandNum" | |
693 | 693 | ||
694 | 694 | ||
695 | 695 | func en (eo) = ("lcn_" + eo) | |
696 | 696 | ||
697 | 697 | ||
698 | 698 | func ep (eq) = ("la_" + eq) | |
699 | 699 | ||
700 | 700 | ||
701 | 701 | func er (bp,bw) = ((("ilao_" + bp) + "_") + bw) | |
702 | 702 | ||
703 | 703 | ||
704 | 704 | func es (eq) = ("lo_" + eq) | |
705 | 705 | ||
706 | 706 | ||
707 | 707 | func et (eo) = ("duckByCustomName_" + eo) | |
708 | 708 | ||
709 | 709 | ||
710 | 710 | func eu (eo) = ("accountByCustomName_" + eo) | |
711 | 711 | ||
712 | 712 | ||
713 | 713 | func ev () = "oldiesList" | |
714 | 714 | ||
715 | 715 | ||
716 | 716 | let ew = 0 | |
717 | 717 | ||
718 | 718 | let ex = 1 | |
719 | 719 | ||
720 | 720 | let ey = 2 | |
721 | 721 | ||
722 | 722 | let ez = 0 | |
723 | 723 | ||
724 | 724 | let eA = 5 | |
725 | 725 | ||
726 | 726 | let eB = 6 | |
727 | 727 | ||
728 | 728 | let eC = 7 | |
729 | 729 | ||
730 | 730 | func eD (eq,dF) = ((aC + eq) + dF) | |
731 | 731 | ||
732 | 732 | ||
733 | 733 | func eE (eF,eG) = { | |
734 | 734 | let eH = if ((eF >= 0)) | |
735 | 735 | then (((eF + eG) - 1) / eG) | |
736 | 736 | else -((((-(eF) + eG) - 1) / eG)) | |
737 | 737 | (eH * cD) | |
738 | 738 | } | |
739 | 739 | ||
740 | 740 | ||
741 | 741 | func eI (eJ,eK) = { | |
742 | 742 | let eL = (((((eK[0] + eK[1]) + eK[2]) + eK[3]) + eK[4]) + eK[5]) | |
743 | 743 | if ((0 >= eL)) | |
744 | 744 | then throw("Zero weights sum") | |
745 | 745 | else { | |
746 | 746 | let eM = fraction(eJ, cC, eL) | |
747 | 747 | func eN (eO,eP) = (eO :+ fraction(eP, eM, cC)) | |
748 | 748 | ||
749 | 749 | let eQ = eK | |
750 | 750 | let eR = size(eQ) | |
751 | 751 | let eS = nil | |
752 | 752 | func eT (eU,eV) = if ((eV >= eR)) | |
753 | 753 | then eU | |
754 | 754 | else eN(eU, eQ[eV]) | |
755 | 755 | ||
756 | 756 | func eW (eU,eV) = if ((eV >= eR)) | |
757 | 757 | then eU | |
758 | 758 | else throw("List size exceeds 6") | |
759 | 759 | ||
760 | 760 | eW(eT(eT(eT(eT(eT(eT(eS, 0), 1), 2), 3), 4), 5), 6) | |
761 | 761 | } | |
762 | 762 | } | |
763 | 763 | ||
764 | 764 | ||
765 | 765 | func eX (eJ) = { | |
766 | 766 | let eY = split(value(getString(dq())), "_") | |
767 | 767 | if ((size(eY) != aF)) | |
768 | 768 | then throw("Wrong proportions data") | |
769 | 769 | else { | |
770 | 770 | let eZ = [parseIntValue(eY[0]), parseIntValue(eY[1]), parseIntValue(eY[2]), parseIntValue(eY[3]), parseIntValue(eY[4]), parseIntValue(eY[5])] | |
771 | 771 | eI(eJ, eZ) | |
772 | 772 | } | |
773 | 773 | } | |
774 | 774 | ||
775 | 775 | ||
776 | 776 | func fa (fb,fc,fd) = { | |
777 | 777 | let fe = eX(fd) | |
778 | 778 | func ff (eO,cZ) = { | |
779 | 779 | let fg = (parseIntValue(fc[cZ]) - fe[cZ]) | |
780 | 780 | if ((0 > fg)) | |
781 | 781 | then throw(((((("Not enough material idx=" + toString(cZ)) + ", you have ") + fc[cZ]) + ", but need ") + toString(fe[cZ]))) | |
782 | 782 | else (eO :+ toString(fg)) | |
783 | 783 | } | |
784 | 784 | ||
785 | 785 | if (fb) | |
786 | 786 | then { | |
787 | 787 | let eQ = cJ | |
788 | 788 | let eR = size(eQ) | |
789 | 789 | let eS = nil | |
790 | 790 | func eT (eU,eV) = if ((eV >= eR)) | |
791 | 791 | then eU | |
792 | 792 | else ff(eU, eQ[eV]) | |
793 | 793 | ||
794 | 794 | func eW (eU,eV) = if ((eV >= eR)) | |
795 | 795 | then eU | |
796 | 796 | else throw("List size exceeds 6") | |
797 | 797 | ||
798 | 798 | eW(eT(eT(eT(eT(eT(eT(eS, 0), 1), 2), 3), 4), 5), 6) | |
799 | 799 | } | |
800 | 800 | else fc | |
801 | 801 | } | |
802 | 802 | ||
803 | 803 | ||
804 | 804 | func fh (fi,fj) = if ((fj == "")) | |
805 | 805 | then $Tuple2(fi, false) | |
806 | 806 | else { | |
807 | 807 | func fk (eO,fl) = { | |
808 | 808 | let fm = split(fl, ",") | |
809 | 809 | if ((size(fm) != 2)) | |
810 | 810 | then throw("Incorrect format, should be index,amount") | |
811 | 811 | else { | |
812 | 812 | let cZ = parseIntValue(fm[0]) | |
813 | 813 | if (if ((0 > cZ)) | |
814 | 814 | then true | |
815 | 815 | else (cZ >= size(aS))) | |
816 | 816 | then throw("Unknown product idx") | |
817 | 817 | else { | |
818 | 818 | let fn = parseIntValue(fm[1]) | |
819 | 819 | let fo = split(eO._1, (fm[0] + ":")) | |
820 | 820 | if ((size(fo) != 2)) | |
821 | 821 | then throw((("You don't have " + aO[cZ]) + " equipped")) | |
822 | 822 | else { | |
823 | 823 | let fp = fo[1] | |
824 | 824 | let fq = if (dG(take(drop(fp, 1), 1))) | |
825 | 825 | then 2 | |
826 | 826 | else 1 | |
827 | 827 | let fr = parseIntValue(take(fp, fq)) | |
828 | 828 | let fs = drop(fp, fq) | |
829 | 829 | let ft = if ((fr >= fn)) | |
830 | 830 | then (fr - fn) | |
831 | 831 | else throw(((((("You equipped " + toString(fr)) + " of ") + aO[cZ]) + ", but tried to use ") + toString(fn))) | |
832 | 832 | $Tuple2(((((fo[0] + fm[0]) + ":") + toString(ft)) + fs), if (eO._2) | |
833 | 833 | then true | |
834 | 834 | else if (if ((cZ >= 6)) | |
835 | 835 | then (8 >= cZ) | |
836 | 836 | else false) | |
837 | 837 | then (ft == 0) | |
838 | 838 | else false) | |
839 | 839 | } | |
840 | 840 | } | |
841 | 841 | } | |
842 | 842 | } | |
843 | 843 | ||
844 | 844 | let eQ = split(fj, "_") | |
845 | 845 | let eR = size(eQ) | |
846 | 846 | let eS = $Tuple2(fi, false) | |
847 | 847 | func eT (eU,eV) = if ((eV >= eR)) | |
848 | 848 | then eU | |
849 | 849 | else fk(eU, eQ[eV]) | |
850 | 850 | ||
851 | 851 | func eW (eU,eV) = if ((eV >= eR)) | |
852 | 852 | then eU | |
853 | 853 | else throw("List size exceeds 10") | |
854 | 854 | ||
855 | 855 | eW(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eS, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
856 | 856 | } | |
857 | 857 | ||
858 | 858 | ||
859 | 859 | func fu (fv) = { | |
860 | 860 | let fw = if ((fv == "")) | |
861 | 861 | then nil | |
862 | 862 | else split_4C(fv, "_") | |
863 | 863 | func fx (eO,co) = { | |
864 | 864 | let fy = (size(eO) / 8) | |
865 | 865 | let fr = if ((size(fw) > fy)) | |
866 | 866 | then parseIntValue(fw[fy]) | |
867 | 867 | else 0 | |
868 | 868 | (eO + toBytes(fr)) | |
869 | 869 | } | |
870 | 870 | ||
871 | 871 | let eQ = aS | |
872 | 872 | let eR = size(eQ) | |
873 | 873 | let eS = base58'' | |
874 | 874 | func eT (eU,eV) = if ((eV >= eR)) | |
875 | 875 | then eU | |
876 | 876 | else fx(eU, eQ[eV]) | |
877 | 877 | ||
878 | 878 | func eW (eU,eV) = if ((eV >= eR)) | |
879 | 879 | then eU | |
880 | 880 | else throw("List size exceeds 50") | |
881 | 881 | ||
882 | 882 | eW(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eS, 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) | |
883 | 883 | } | |
884 | 884 | ||
885 | 885 | ||
886 | 886 | func fz (fA) = { | |
887 | 887 | func fB (eO,co) = { | |
888 | 888 | let fy = size(eO) | |
889 | 889 | let fC = take(drop(fA, (8 * fy)), 8) | |
890 | 890 | (eO :+ toString(toInt(fC))) | |
891 | 891 | } | |
892 | 892 | ||
893 | 893 | makeString_2C({ | |
894 | 894 | let eQ = aS | |
895 | 895 | let eR = size(eQ) | |
896 | 896 | let eS = nil | |
897 | 897 | func eT (eU,eV) = if ((eV >= eR)) | |
898 | 898 | then eU | |
899 | 899 | else fB(eU, eQ[eV]) | |
900 | 900 | ||
901 | 901 | func eW (eU,eV) = if ((eV >= eR)) | |
902 | 902 | then eU | |
903 | 903 | else throw("List size exceeds 50") | |
904 | 904 | ||
905 | 905 | eW(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eS, 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) | |
906 | 906 | }, "_") | |
907 | 907 | } | |
908 | 908 | ||
909 | 909 | ||
910 | 910 | func fD (fE,fF) = { | |
911 | 911 | func fG (eO,fy) = { | |
912 | 912 | let fH = if ((size(fE) > (7 + fy))) | |
913 | 913 | then fE[(7 + fy)] | |
914 | 914 | else 0 | |
915 | 915 | if ((parseIntValue(fF[fy]) > (fE[fy] + fH))) | |
916 | 916 | then throw(("Requirement not satisfied: " + j[fy])) | |
917 | 917 | else true | |
918 | 918 | } | |
919 | 919 | ||
920 | 920 | let eQ = [0, 1, 2, 3, 4, 5, 6] | |
921 | 921 | let eR = size(eQ) | |
922 | 922 | let eS = false | |
923 | 923 | func eT (eU,eV) = if ((eV >= eR)) | |
924 | 924 | then eU | |
925 | 925 | else fG(eU, eQ[eV]) | |
926 | 926 | ||
927 | 927 | func eW (eU,eV) = if ((eV >= eR)) | |
928 | 928 | then eU | |
929 | 929 | else throw("List size exceeds 7") | |
930 | 930 | ||
931 | 931 | eW(eT(eT(eT(eT(eT(eT(eT(eS, 0), 1), 2), 3), 4), 5), 6), 7) | |
932 | 932 | } | |
933 | 933 | ||
934 | 934 | ||
935 | 935 | func fI (fJ,fw,fK,fE,fL,fM) = { | |
936 | 936 | let fm = split(fJ, ":") | |
937 | 937 | if ((size(fm) != 2)) | |
938 | 938 | then throw("Incorrect format, should be index:amount") | |
939 | 939 | else if (if (!(fK)) | |
940 | 940 | then (size(fm[0]) != 2) | |
941 | 941 | else false) | |
942 | 942 | then throw("Product idx should be 2 digits, zero padded") | |
943 | 943 | else { | |
944 | 944 | let fN = parseIntValue(fm[0]) | |
945 | 945 | let fO = parseIntValue(fm[1]) | |
946 | 946 | if (!(containsElement(aR, fN))) | |
947 | 947 | then throw((("Product '" + aO[fN]) + "' cannot be used for land defense")) | |
948 | 948 | else if ((0 > fO)) | |
949 | 949 | then throw("Count can't be negative") | |
950 | 950 | else if ((fO > t)) | |
951 | 951 | then throw(((("Can't put more than " + toString(t)) + " of ") + aO[fN])) | |
952 | 952 | else if ((fO == 0)) | |
953 | 953 | then $Tuple3(fw, fL, fM) | |
954 | 954 | else { | |
955 | 955 | let fP = take(fw, (8 * fN)) | |
956 | 956 | let fr = toInt(take(drop(fw, (8 * fN)), 8)) | |
957 | 957 | let fs = drop(fw, (8 * (fN + 1))) | |
958 | 958 | let co = split(aS[fN], "_") | |
959 | 959 | if (if (!(fK)) | |
960 | 960 | then (fO > fr) | |
961 | 961 | else false) | |
962 | 962 | then throw(((((("You have " + toString(fr)) + " of ") + aO[fN]) + ", but tried to use ") + toString(fO))) | |
963 | 963 | else { | |
964 | 964 | let ft = if (if (!(fK)) | |
965 | 965 | then fD(fE, split(co[aV], ",")) | |
966 | 966 | else false) | |
967 | 967 | then (fr - fO) | |
968 | 968 | else (fr + fO) | |
969 | 969 | let fQ = (eE(ft, aX) - eE(fr, aX)) | |
970 | 970 | $Tuple3(((fP + toBytes(ft)) + fs), (fL + fQ), (fM - fQ)) | |
971 | 971 | } | |
972 | 972 | } | |
973 | 973 | } | |
974 | 974 | } | |
975 | 975 | ||
976 | 976 | ||
977 | 977 | func fR (fJ,fw,fK,fS,fT,fU,fE) = { | |
978 | 978 | let fm = split(fJ, ":") | |
979 | 979 | if ((size(fm) != 2)) | |
980 | 980 | then throw("Incorrect format, should be index:amount") | |
981 | 981 | else if (if (!(fK)) | |
982 | 982 | then (size(fm[0]) != 2) | |
983 | 983 | else false) | |
984 | 984 | then throw("Product idx should be 2 digits, zero padded") | |
985 | 985 | else { | |
986 | 986 | let fN = parseIntValue(fm[0]) | |
987 | 987 | let fO = parseIntValue(fm[1]) | |
988 | 988 | if (if ((0 > fN)) | |
989 | 989 | then true | |
990 | 990 | else (fN >= size(aS))) | |
991 | 991 | then throw("Unknown product idx") | |
992 | 992 | else if ((0 > fO)) | |
993 | 993 | then throw("Count can't be negative") | |
994 | 994 | else if ((fO > t)) | |
995 | 995 | then throw(((("Can't put more than " + toString(t)) + " of ") + aO[fN])) | |
996 | 996 | else if ((fO == 0)) | |
997 | 997 | then $Tuple2(fw, false) | |
998 | 998 | else { | |
999 | 999 | let fP = take(fw, (8 * fN)) | |
1000 | 1000 | let fr = toInt(take(drop(fw, (8 * fN)), 8)) | |
1001 | 1001 | let fs = drop(fw, (8 * (fN + 1))) | |
1002 | 1002 | let co = split(aS[fN], "_") | |
1003 | 1003 | if (if (!(fK)) | |
1004 | 1004 | then (fO > fr) | |
1005 | 1005 | else false) | |
1006 | 1006 | then throw(((((("You have " + toString(fr)) + " of ") + aO[fN]) + ", but tried to use ") + toString(fO))) | |
1007 | 1007 | else { | |
1008 | 1008 | let fV = if (if (!(fK)) | |
1009 | 1009 | then fD(fE, split(co[aV], ",")) | |
1010 | 1010 | else false) | |
1011 | 1011 | then { | |
1012 | 1012 | let fW = co[aW] | |
1013 | 1013 | if ((fW == "")) | |
1014 | 1014 | then throw("Item cannot be equipped") | |
1015 | 1015 | else { | |
1016 | 1016 | let fX = parseIntValue(fW) | |
1017 | 1017 | let fY = (fX / 100) | |
1018 | 1018 | if ((fS != fY)) | |
1019 | 1019 | then throw("Segment incompatible") | |
1020 | 1020 | else { | |
1021 | 1021 | let fZ = ((fX % 100) / 10) | |
1022 | 1022 | if ((fT != fZ)) | |
1023 | 1023 | then throw("Slot incompatible") | |
1024 | 1024 | else { | |
1025 | 1025 | let ga = (fX % 10) | |
1026 | 1026 | if (if ((fU != 0)) | |
1027 | 1027 | then (ga > 1) | |
1028 | 1028 | else false) | |
1029 | 1029 | then throw("Big items should occupy slot 0") | |
1030 | 1030 | else (ga > 1) | |
1031 | 1031 | } | |
1032 | 1032 | } | |
1033 | 1033 | } | |
1034 | 1034 | } | |
1035 | 1035 | else false | |
1036 | 1036 | $Tuple2(((fP + toBytes((fr + (if (fK) | |
1037 | 1037 | then fO | |
1038 | 1038 | else -(fO))))) + fs), fV) | |
1039 | 1039 | } | |
1040 | 1040 | } | |
1041 | 1041 | } | |
1042 | 1042 | } | |
1043 | 1043 | ||
1044 | 1044 | ||
1045 | 1045 | func gb (gc,gd,fK,fS,fT,ge) = if ((gc != "")) | |
1046 | 1046 | then { | |
1047 | 1047 | let gf = split(gc, ",") | |
1048 | 1048 | if ((size(gf) > s)) | |
1049 | 1049 | then throw("Wrong slots format") | |
1050 | 1050 | else { | |
1051 | 1051 | let gg = gf[0] | |
1052 | 1052 | let gh = if ((size(gf) > 1)) | |
1053 | 1053 | then gf[1] | |
1054 | 1054 | else "" | |
1055 | 1055 | if (if ((gg == "")) | |
1056 | 1056 | then (gh == "") | |
1057 | 1057 | else false) | |
1058 | 1058 | then gd | |
1059 | 1059 | else { | |
1060 | 1060 | let gi = if ((gg != "")) | |
1061 | 1061 | then fR(gg, gd, fK, fS, fT, 0, ge) | |
1062 | 1062 | else $Tuple2(gd, false) | |
1063 | 1063 | if ((gh != "")) | |
1064 | 1064 | then if (gi._2) | |
1065 | 1065 | then throw("Big item already occupies slot") | |
1066 | 1066 | else fR(gh, gi._1, fK, fS, fT, 1, ge)._1 | |
1067 | 1067 | else gi._1 | |
1068 | 1068 | } | |
1069 | 1069 | } | |
1070 | 1070 | } | |
1071 | 1071 | else gd | |
1072 | 1072 | ||
1073 | 1073 | ||
1074 | 1074 | func gj (gk,gl,fK,ge) = { | |
1075 | 1075 | func fS (eO,gm) = { | |
1076 | 1076 | let fy = eO._1 | |
1077 | 1077 | let fT = split(gm, ";") | |
1078 | 1078 | if ((size(fT) != r)) | |
1079 | 1079 | then throw("Wrong segment format") | |
1080 | 1080 | else { | |
1081 | 1081 | let gn = fT[0] | |
1082 | 1082 | let go = fT[1] | |
1083 | 1083 | if (if ((gn == "")) | |
1084 | 1084 | then (go == "") | |
1085 | 1085 | else false) | |
1086 | 1086 | then $Tuple2((fy + 1), eO._2) | |
1087 | 1087 | else { | |
1088 | 1088 | let gp = gb(gn, eO._2, fK, fy, 0, ge) | |
1089 | 1089 | $Tuple2((fy + 1), gb(go, gp, fK, fy, 1, ge)) | |
1090 | 1090 | } | |
1091 | 1091 | } | |
1092 | 1092 | } | |
1093 | 1093 | ||
1094 | 1094 | ( let eQ = gk | |
1095 | 1095 | let eR = size(eQ) | |
1096 | 1096 | let eS = $Tuple2(0, gl) | |
1097 | 1097 | func eT (eU,eV) = if ((eV >= eR)) | |
1098 | 1098 | then eU | |
1099 | 1099 | else fS(eU, eQ[eV]) | |
1100 | 1100 | ||
1101 | 1101 | func eW (eU,eV) = if ((eV >= eR)) | |
1102 | 1102 | then eU | |
1103 | 1103 | else throw("List size exceeds 6") | |
1104 | 1104 | ||
1105 | 1105 | eW(eT(eT(eT(eT(eT(eT(eS, 0), 1), 2), 3), 4), 5), 6))._2 | |
1106 | 1106 | } | |
1107 | 1107 | ||
1108 | 1108 | ||
1109 | 1109 | func gq (gk,gl,fL,fM,fK,fE) = if ((3 > size(gk))) | |
1110 | 1110 | then throw("At least duck, mines and traps parts are required") | |
1111 | 1111 | else { | |
1112 | 1112 | func fS (eO,gm) = { | |
1113 | 1113 | let fy = eO._1 | |
1114 | 1114 | if ((fy == 0)) | |
1115 | 1115 | then $Tuple4((fy + 1), eO._2, eO._3, eO._4) | |
1116 | 1116 | else { | |
1117 | 1117 | let gr = fI(gm, eO._2, fK, fE, eO._3, eO._4) | |
1118 | 1118 | $Tuple4((fy + 1), gr._1, gr._2, gr._3) | |
1119 | 1119 | } | |
1120 | 1120 | } | |
1121 | 1121 | ||
1122 | 1122 | let gs = { | |
1123 | 1123 | let eQ = gk | |
1124 | 1124 | let eR = size(eQ) | |
1125 | 1125 | let eS = $Tuple4(0, gl, fL, fM) | |
1126 | 1126 | func eT (eU,eV) = if ((eV >= eR)) | |
1127 | 1127 | then eU | |
1128 | 1128 | else fS(eU, eQ[eV]) | |
1129 | 1129 | ||
1130 | 1130 | func eW (eU,eV) = if ((eV >= eR)) | |
1131 | 1131 | then eU | |
1132 | 1132 | else throw("List size exceeds 10") | |
1133 | 1133 | ||
1134 | 1134 | eW(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eS, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1135 | 1135 | } | |
1136 | 1136 | $Tuple3(gs._2, gs._3, gs._4) | |
1137 | 1137 | } | |
1138 | 1138 | ||
1139 | 1139 | ||
1140 | 1140 | func gt (A) = { | |
1141 | 1141 | let gu = F(A) | |
1142 | 1142 | let gv = split(valueOrElse(getString(gu), ",;,_,;,_,;,_,;,_,;,_,;,"), "_") | |
1143 | 1143 | let gw = gj(gv, dX, true, nil) | |
1144 | 1144 | let gx = split(gv[p], ";")[1] | |
1145 | 1145 | let ao = if ((gx == "")) | |
1146 | 1146 | then 0 | |
1147 | 1147 | else { | |
1148 | 1148 | let gy = split(gx, ",")[0] | |
1149 | 1149 | if ((gy == "")) | |
1150 | 1150 | then 0 | |
1151 | 1151 | else { | |
1152 | 1152 | let fJ = split(gy, ":") | |
1153 | 1153 | let cZ = fJ[0] | |
1154 | 1154 | let gz = fJ[1] | |
1155 | 1155 | if (if (if (if (if ((cZ == "06")) | |
1156 | 1156 | then true | |
1157 | 1157 | else (cZ == "07")) | |
1158 | 1158 | then true | |
1159 | 1159 | else (cZ == "08")) | |
1160 | 1160 | then (gz != "") | |
1161 | 1161 | else false) | |
1162 | 1162 | then (parseIntValue(gz) > 0) | |
1163 | 1163 | else false) | |
1164 | 1164 | then parseIntValue(split(aS[parseIntValue(cZ)], "_")[aU]) | |
1165 | 1165 | else 0 | |
1166 | 1166 | } | |
1167 | 1167 | } | |
1168 | 1168 | let ge = am(this, A, ao, true) | |
1169 | 1169 | let gA = gj(gv, gw, false, ge) | |
1170 | 1170 | (gA == gA) | |
1171 | 1171 | } | |
1172 | 1172 | ||
1173 | 1173 | ||
1174 | 1174 | func gB (gC,gD,gE,gF) = if ((size(gC) != aF)) | |
1175 | 1175 | then throw("Wrong proportions data") | |
1176 | 1176 | else { | |
1177 | 1177 | func gG (eO,gH) = { | |
1178 | 1178 | let fg = (parseIntValue(gC[gH]) + ((gF * gD[gH]) * gE)) | |
1179 | 1179 | if ((0 > fg)) | |
1180 | 1180 | then throw(((((((("Panic! Pieces of type=" + toString(gH)) + ", sign=") + toString(gF)) + ", terrainCounts[i]=") + toString(gD[gH])) + ", landSizeIndex=") + toString(gE))) | |
1181 | 1181 | else (eO :+ toString(fg)) | |
1182 | 1182 | } | |
1183 | 1183 | ||
1184 | 1184 | let eQ = cJ | |
1185 | 1185 | let eR = size(eQ) | |
1186 | 1186 | let eS = nil | |
1187 | 1187 | func eT (eU,eV) = if ((eV >= eR)) | |
1188 | 1188 | then eU | |
1189 | 1189 | else gG(eU, eQ[eV]) | |
1190 | 1190 | ||
1191 | 1191 | func eW (eU,eV) = if ((eV >= eR)) | |
1192 | 1192 | then eU | |
1193 | 1193 | else throw("List size exceeds 6") | |
1194 | 1194 | ||
1195 | 1195 | eW(eT(eT(eT(eT(eT(eT(eS, 0), 1), 2), 3), 4), 5), 6) | |
1196 | 1196 | } | |
1197 | 1197 | ||
1198 | 1198 | ||
1199 | 1199 | func gI (gD,gE,gF) = { | |
1200 | 1200 | let gC = split(valueOrElse(getString(dq()), "0_0_0_0_0_0"), "_") | |
1201 | 1201 | makeString(gB(gC, gD, gE, gF), "_") | |
1202 | 1202 | } | |
1203 | 1203 | ||
1204 | 1204 | ||
1205 | 1205 | func gJ (gK) = [(size(split(gK, "A")) - 1), (size(split(gK, "B")) - 1), (size(split(gK, "C")) - 1), (size(split(gK, "D")) - 1), (size(split(gK, "E")) - 1), (size(split(gK, "F")) - 1)] | |
1206 | 1206 | ||
1207 | 1207 | ||
1208 | 1208 | func gL (gM,gD,gN,gE,gO) = { | |
1209 | 1209 | func gP (eO,gH) = { | |
1210 | 1210 | let gQ = ((fraction(gN, gO, a) * gD[gH]) * gE) | |
1211 | 1211 | (eO :+ toString((parseIntValue(gM[gH]) + gQ))) | |
1212 | 1212 | } | |
1213 | 1213 | ||
1214 | 1214 | let eZ = { | |
1215 | 1215 | let eQ = cJ | |
1216 | 1216 | let eR = size(eQ) | |
1217 | 1217 | let eS = nil | |
1218 | 1218 | func eT (eU,eV) = if ((eV >= eR)) | |
1219 | 1219 | then eU | |
1220 | 1220 | else gP(eU, eQ[eV]) | |
1221 | 1221 | ||
1222 | 1222 | func eW (eU,eV) = if ((eV >= eR)) | |
1223 | 1223 | then eU | |
1224 | 1224 | else throw("List size exceeds 6") | |
1225 | 1225 | ||
1226 | 1226 | eW(eT(eT(eT(eT(eT(eT(eS, 0), 1), 2), 3), 4), 5), 6) | |
1227 | 1227 | } | |
1228 | 1228 | makeString(eZ, "_") | |
1229 | 1229 | } | |
1230 | 1230 | ||
1231 | 1231 | ||
1232 | 1232 | func gR (gD,gN,gE,gO) = { | |
1233 | 1233 | func gP (eO,gH) = { | |
1234 | 1234 | let gQ = ((fraction(gN, gO, a) * gD[gH]) * gE) | |
1235 | 1235 | $Tuple2((eO._1 :+ gQ), (eO._2 + gQ)) | |
1236 | 1236 | } | |
1237 | 1237 | ||
1238 | 1238 | let eQ = cJ | |
1239 | 1239 | let eR = size(eQ) | |
1240 | 1240 | let eS = $Tuple2(nil, 0) | |
1241 | 1241 | func eT (eU,eV) = if ((eV >= eR)) | |
1242 | 1242 | then eU | |
1243 | 1243 | else gP(eU, eQ[eV]) | |
1244 | 1244 | ||
1245 | 1245 | func eW (eU,eV) = if ((eV >= eR)) | |
1246 | 1246 | then eU | |
1247 | 1247 | else throw("List size exceeds 6") | |
1248 | 1248 | ||
1249 | 1249 | eW(eT(eT(eT(eT(eT(eT(eS, 0), 1), 2), 3), 4), 5), 6) | |
1250 | 1250 | } | |
1251 | 1251 | ||
1252 | 1252 | ||
1253 | 1253 | func gS (gT,gU,gV,gW) = { | |
1254 | 1254 | let gX = gV._1 | |
1255 | 1255 | let gY = gV._2 | |
1256 | 1256 | if ((gY == 0)) | |
1257 | 1257 | then $Tuple2(makeString(gT, "_"), makeString(gU, "_")) | |
1258 | 1258 | else if ((gW >= gY)) | |
1259 | 1259 | then { | |
1260 | 1260 | func gZ (eO,gH) = (eO :+ toString((parseIntValue(gT[gH]) + gX[gH]))) | |
1261 | 1261 | ||
1262 | 1262 | let eZ = { | |
1263 | 1263 | let eQ = cJ | |
1264 | 1264 | let eR = size(eQ) | |
1265 | 1265 | let eS = nil | |
1266 | 1266 | func eT (eU,eV) = if ((eV >= eR)) | |
1267 | 1267 | then eU | |
1268 | 1268 | else gZ(eU, eQ[eV]) | |
1269 | 1269 | ||
1270 | 1270 | func eW (eU,eV) = if ((eV >= eR)) | |
1271 | 1271 | then eU | |
1272 | 1272 | else throw("List size exceeds 6") | |
1273 | 1273 | ||
1274 | 1274 | eW(eT(eT(eT(eT(eT(eT(eS, 0), 1), 2), 3), 4), 5), 6) | |
1275 | 1275 | } | |
1276 | 1276 | $Tuple2(makeString(eZ, "_"), makeString(gU, "_")) | |
1277 | 1277 | } | |
1278 | 1278 | else { | |
1279 | 1279 | func ha (eO,gH) = { | |
1280 | 1280 | let hb = fraction(gX[gH], gW, gY) | |
1281 | 1281 | $Tuple2((eO._1 :+ toString((parseIntValue(gT[gH]) + hb))), (eO._2 :+ toString(((parseIntValue(gU[gH]) + gX[gH]) - hb)))) | |
1282 | 1282 | } | |
1283 | 1283 | ||
1284 | 1284 | let eZ = { | |
1285 | 1285 | let eQ = cJ | |
1286 | 1286 | let eR = size(eQ) | |
1287 | 1287 | let eS = $Tuple2(nil, nil) | |
1288 | 1288 | func eT (eU,eV) = if ((eV >= eR)) | |
1289 | 1289 | then eU | |
1290 | 1290 | else ha(eU, eQ[eV]) | |
1291 | 1291 | ||
1292 | 1292 | func eW (eU,eV) = if ((eV >= eR)) | |
1293 | 1293 | then eU | |
1294 | 1294 | else throw("List size exceeds 6") | |
1295 | 1295 | ||
1296 | 1296 | eW(eT(eT(eT(eT(eT(eT(eS, 0), 1), 2), 3), 4), 5), 6) | |
1297 | 1297 | } | |
1298 | 1298 | $Tuple2(makeString(eZ._1, "_"), makeString(eZ._2, "_")) | |
1299 | 1299 | } | |
1300 | 1300 | } | |
1301 | 1301 | ||
1302 | 1302 | ||
1303 | 1303 | func hc (hd) = if ((hd >= toBigInt(0))) | |
1304 | 1304 | then hd | |
1305 | 1305 | else -(hd) | |
1306 | 1306 | ||
1307 | 1307 | ||
1308 | 1308 | let he = [[6, 9, 14, 15, 16], [5, 8, 13, 14, 15], [1, 4, 9, 10, 15], [1, 6, 7, 15, 19], [4, 7, 8, 13, 18]] | |
1309 | 1309 | ||
1310 | 1310 | func hf (dz,hg) = { | |
1311 | 1311 | let hh = toInt((dz % eg)) | |
1312 | 1312 | let hi = if ((hg[0] > hh)) | |
1313 | 1313 | then "A" | |
1314 | 1314 | else if ((hg[1] > hh)) | |
1315 | 1315 | then "B" | |
1316 | 1316 | else if ((hg[2] > hh)) | |
1317 | 1317 | then "C" | |
1318 | 1318 | else if ((hg[3] > hh)) | |
1319 | 1319 | then "D" | |
1320 | 1320 | else if ((hg[4] > hh)) | |
1321 | 1321 | then "E" | |
1322 | 1322 | else "F" | |
1323 | 1323 | hi | |
1324 | 1324 | } | |
1325 | 1325 | ||
1326 | 1326 | ||
1327 | 1327 | func hj (hk,hl) = { | |
1328 | 1328 | let hm = he[hl] | |
1329 | 1329 | func hn (eO,eP) = $Tuple2((((((eO._1 + hf(eO._2, hm)) + hf((eO._2 / eg), hm)) + hf((eO._2 / eh), hm)) + hf((eO._2 / ei), hm)) + hf((eO._2 / ej), hm)), (eO._2 / ek)) | |
1330 | 1330 | ||
1331 | 1331 | let gs = { | |
1332 | 1332 | let eQ = [1, 2, 3, 4, 5] | |
1333 | 1333 | let eR = size(eQ) | |
1334 | 1334 | let eS = $Tuple2("", (hk / ef)) | |
1335 | 1335 | func eT (eU,eV) = if ((eV >= eR)) | |
1336 | 1336 | then eU | |
1337 | 1337 | else hn(eU, eQ[eV]) | |
1338 | 1338 | ||
1339 | 1339 | func eW (eU,eV) = if ((eV >= eR)) | |
1340 | 1340 | then eU | |
1341 | 1341 | else throw("List size exceeds 5") | |
1342 | 1342 | ||
1343 | 1343 | eW(eT(eT(eT(eT(eT(eS, 0), 1), 2), 3), 4), 5) | |
1344 | 1344 | } | |
1345 | 1345 | gs._1 | |
1346 | 1346 | } | |
1347 | 1347 | ||
1348 | 1348 | ||
1349 | 1349 | let ho = [7, 2, 15, 19, 8, 24, 1, 21, 16, 5, 0, 22, 20, 23, 11, 4, 18, 12, 6, 10, 3, 17, 13, 9, 14] | |
1350 | 1350 | ||
1351 | 1351 | let hp = ["A", "B", "C", "D", "E", "F"] | |
1352 | 1352 | ||
1353 | 1353 | func hq (hr,gE) = { | |
1354 | 1354 | func hs (eO,dx) = { | |
1355 | 1355 | let fy = eO._2 | |
1356 | 1356 | let ht = parseIntValue(dx) | |
1357 | 1357 | let hd = if ((ht == 0)) | |
1358 | 1358 | then 0 | |
1359 | 1359 | else if ((ht >= (4 * gE))) | |
1360 | 1360 | then (ht / gE) | |
1361 | 1361 | else if ((ht > (3 * gE))) | |
1362 | 1362 | then 3 | |
1363 | 1363 | else (((ht - 1) / gE) + 1) | |
1364 | 1364 | $Tuple3((eO._1 :+ hd), (eO._2 + 1), (eO._3 + hd)) | |
1365 | 1365 | } | |
1366 | 1366 | ||
1367 | 1367 | let gs = { | |
1368 | 1368 | let eQ = hr | |
1369 | 1369 | let eR = size(eQ) | |
1370 | 1370 | let eS = $Tuple3(nil, 0, 0) | |
1371 | 1371 | func eT (eU,eV) = if ((eV >= eR)) | |
1372 | 1372 | then eU | |
1373 | 1373 | else hs(eU, eQ[eV]) | |
1374 | 1374 | ||
1375 | 1375 | func eW (eU,eV) = if ((eV >= eR)) | |
1376 | 1376 | then eU | |
1377 | 1377 | else throw("List size exceeds 6") | |
1378 | 1378 | ||
1379 | 1379 | eW(eT(eT(eT(eT(eT(eT(eS, 0), 1), 2), 3), 4), 5), 6) | |
1380 | 1380 | } | |
1381 | 1381 | let hu = gs._1 | |
1382 | 1382 | let hv = value(indexOf(hu, max(hu))) | |
1383 | 1383 | let hw = (gs._3 - 25) | |
1384 | 1384 | func hx (eO,cZ) = { | |
1385 | 1385 | let dC = if ((cZ == hv)) | |
1386 | 1386 | then (hu[cZ] - hw) | |
1387 | 1387 | else hu[cZ] | |
1388 | 1388 | let dN = if ((dC == 0)) | |
1389 | 1389 | then nil | |
1390 | 1390 | else split(drop(toString(pow(10, 0, dC, 0, 0, DOWN)), 1), "") | |
1391 | 1391 | let fX = hp[cZ] | |
1392 | 1392 | func hy (hz,hA) = (hz :+ fX) | |
1393 | 1393 | ||
1394 | 1394 | let hB = { | |
1395 | 1395 | let eQ = dN | |
1396 | 1396 | let eR = size(eQ) | |
1397 | 1397 | let eS = nil | |
1398 | 1398 | func hC (eU,eV) = if ((eV >= eR)) | |
1399 | 1399 | then eU | |
1400 | 1400 | else hy(eU, eQ[eV]) | |
1401 | 1401 | ||
1402 | 1402 | func hD (eU,eV) = if ((eV >= eR)) | |
1403 | 1403 | then eU | |
1404 | 1404 | else throw("List size exceeds 25") | |
1405 | 1405 | ||
1406 | 1406 | hD(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(eS, 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) | |
1407 | 1407 | } | |
1408 | 1408 | (eO ++ hB) | |
1409 | 1409 | } | |
1410 | 1410 | ||
1411 | 1411 | let eZ = { | |
1412 | 1412 | let eQ = cJ | |
1413 | 1413 | let eR = size(eQ) | |
1414 | 1414 | let eS = nil | |
1415 | 1415 | func hC (eU,eV) = if ((eV >= eR)) | |
1416 | 1416 | then eU | |
1417 | 1417 | else hx(eU, eQ[eV]) | |
1418 | 1418 | ||
1419 | 1419 | func hD (eU,eV) = if ((eV >= eR)) | |
1420 | 1420 | then eU | |
1421 | 1421 | else throw("List size exceeds 6") | |
1422 | 1422 | ||
1423 | 1423 | hD(hC(hC(hC(hC(hC(hC(eS, 0), 1), 2), 3), 4), 5), 6) | |
1424 | 1424 | } | |
1425 | 1425 | func hE (eO,fy) = (eO + eZ[fy]) | |
1426 | 1426 | ||
1427 | 1427 | let eQ = ho | |
1428 | 1428 | let eR = size(eQ) | |
1429 | 1429 | let eS = "" | |
1430 | 1430 | func hF (eU,eV) = if ((eV >= eR)) | |
1431 | 1431 | then eU | |
1432 | 1432 | else hE(eU, eQ[eV]) | |
1433 | 1433 | ||
1434 | 1434 | func hG (eU,eV) = if ((eV >= eR)) | |
1435 | 1435 | then eU | |
1436 | 1436 | else throw("List size exceeds 25") | |
1437 | 1437 | ||
1438 | 1438 | hG(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(eS, 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) | |
1439 | 1439 | } | |
1440 | 1440 | ||
1441 | 1441 | ||
1442 | 1442 | func hH (hI) = { | |
1443 | 1443 | let gr = split(valueOrElse(getString(hI), "0:0_0_0_0_0_0:0_0_0_0_0_0:"), ":") | |
1444 | 1444 | [toString(valueOrElse(parseInt(gr[bh]), 0)), if ((size(split(gr[bi], "_")) == aF)) | |
1445 | 1445 | then gr[bi] | |
1446 | 1446 | else "0_0_0_0_0_0", if ((size(split(gr[bj], "_")) == aF)) | |
1447 | 1447 | then gr[bj] | |
1448 | 1448 | else "0_0_0_0_0_0", gr[bk]] | |
1449 | 1449 | } | |
1450 | 1450 | ||
1451 | 1451 | ||
1452 | 1452 | func hJ (hK) = { | |
1453 | 1453 | let fm = split(hK, "_") | |
1454 | 1454 | ((aI * (parseIntValue(fm[1]) + 1)) * parseIntValue(fm[0])) | |
1455 | 1455 | } | |
1456 | 1456 | ||
1457 | 1457 | ||
1458 | 1458 | func hL (hM) = { | |
1459 | 1459 | let hN = hM[bb] | |
1460 | 1460 | func hO (eO,hP) = (eO + parseIntValue(hP)) | |
1461 | 1461 | ||
1462 | 1462 | func hQ (eO,hP) = { | |
1463 | 1463 | let cZ = eO._1 | |
1464 | 1464 | let eH = (((parseIntValue(hP) + aX) - 1) / aX) | |
1465 | 1465 | $Tuple2((cZ + 1), (eO._2 + (eH * cD))) | |
1466 | 1466 | } | |
1467 | 1467 | ||
1468 | 1468 | let hR = { | |
1469 | 1469 | let eQ = split(hM[aZ], "_") | |
1470 | 1470 | let eR = size(eQ) | |
1471 | 1471 | let eS = 0 | |
1472 | 1472 | func eT (eU,eV) = if ((eV >= eR)) | |
1473 | 1473 | then eU | |
1474 | 1474 | else hO(eU, eQ[eV]) | |
1475 | 1475 | ||
1476 | 1476 | func eW (eU,eV) = if ((eV >= eR)) | |
1477 | 1477 | then eU | |
1478 | 1478 | else throw("List size exceeds 6") | |
1479 | 1479 | ||
1480 | 1480 | eW(eT(eT(eT(eT(eT(eT(eS, 0), 1), 2), 3), 4), 5), 6) | |
1481 | 1481 | } | |
1482 | 1482 | let hS = { | |
1483 | 1483 | let eQ = split(hM[ba], "_") | |
1484 | 1484 | let eR = size(eQ) | |
1485 | 1485 | let eS = 0 | |
1486 | 1486 | func hC (eU,eV) = if ((eV >= eR)) | |
1487 | 1487 | then eU | |
1488 | 1488 | else hO(eU, eQ[eV]) | |
1489 | 1489 | ||
1490 | 1490 | func hD (eU,eV) = if ((eV >= eR)) | |
1491 | 1491 | then eU | |
1492 | 1492 | else throw("List size exceeds 6") | |
1493 | 1493 | ||
1494 | 1494 | hD(hC(hC(hC(hC(hC(hC(eS, 0), 1), 2), 3), 4), 5), 6) | |
1495 | 1495 | } | |
1496 | 1496 | let hT = if ((hN == "")) | |
1497 | 1497 | then 0 | |
1498 | 1498 | else ( let eQ = split_4C(hN, "_") | |
1499 | 1499 | let eR = size(eQ) | |
1500 | 1500 | let eS = $Tuple2(0, 0) | |
1501 | 1501 | func hF (eU,eV) = if ((eV >= eR)) | |
1502 | 1502 | then eU | |
1503 | 1503 | else hQ(eU, eQ[eV]) | |
1504 | 1504 | ||
1505 | 1505 | func hG (eU,eV) = if ((eV >= eR)) | |
1506 | 1506 | then eU | |
1507 | 1507 | else throw("List size exceeds 50") | |
1508 | 1508 | ||
1509 | 1509 | hG(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(eS, 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))._2 | |
1510 | 1510 | ((hR + hS) + hT) | |
1511 | 1511 | } | |
1512 | 1512 | ||
1513 | 1513 | ||
1514 | 1514 | func hU (hV,hW,hX) = { | |
1515 | 1515 | let hK = ((toString(hW) + "_") + toString(hX)) | |
1516 | 1516 | let hY = hJ(hK) | |
1517 | 1517 | let hZ = valueOrElse(getString(hV), (hK + ":0_0_0_0_0_0:0_0_0_0_0_0::0")) | |
1518 | 1518 | let ia = split_4C(hZ, ":") | |
1519 | 1519 | let ib = hL(ia) | |
1520 | 1520 | let ic = if ((5 > size(ia))) | |
1521 | 1521 | then makeString(["0", toString(ib), toString((hY - ib)), toString(hY)], "_") | |
1522 | 1522 | else { | |
1523 | 1523 | let id = split(ia[bc], "_") | |
1524 | 1524 | let ie = parseIntValue(id[bd]) | |
1525 | 1525 | let if = if ((size(id) > 1)) | |
1526 | 1526 | then parseIntValue(id[be]) | |
1527 | 1527 | else ib | |
1528 | 1528 | makeString([toString(ie), toString(if), toString(((hY - ie) - if)), toString(hY)], "_") | |
1529 | 1529 | } | |
1530 | 1530 | [ia[aY], if ((size(split(ia[aZ], "_")) == aF)) | |
1531 | 1531 | then ia[aZ] | |
1532 | 1532 | else "0_0_0_0_0_0", if ((size(split(ia[ba], "_")) == aF)) | |
1533 | 1533 | then ia[ba] | |
1534 | 1534 | else "0_0_0_0_0_0", ia[bb], ic] | |
1535 | 1535 | } | |
1536 | 1536 | ||
1537 | 1537 | ||
1538 | 1538 | func ig (hM) = { | |
1539 | 1539 | let ih = hL(hM) | |
1540 | 1540 | let ii = parseIntValue(split(hM[bc], "_")[bd]) | |
1541 | 1541 | ((hJ(hM[aY]) - ih) - ii) | |
1542 | 1542 | } | |
1543 | 1543 | ||
1544 | 1544 | ||
1545 | 1545 | func ij (ik,hM,il) = if ((size(ik) != 3)) | |
1546 | 1546 | then throw("cargoListStr should contain exactly 2 ':' separators") | |
1547 | 1547 | else { | |
1548 | 1548 | let im = split(ik[0], "_") | |
1549 | 1549 | let in = split(ik[1], "_") | |
1550 | 1550 | let io = if ((ik[2] == "")) | |
1551 | 1551 | then nil | |
1552 | 1552 | else split_4C(ik[2], "_") | |
1553 | 1553 | if ((size(im) != aF)) | |
1554 | 1554 | then throw("All 6 resources should be passed") | |
1555 | 1555 | else if ((size(in) != aF)) | |
1556 | 1556 | then throw("All 6 materials should be passed") | |
1557 | 1557 | else { | |
1558 | 1558 | let gW = ig(hM) | |
1559 | 1559 | let ip = split(hM[aZ], "_") | |
1560 | 1560 | let iq = split(hM[ba], "_") | |
1561 | 1561 | let ir = if ((hM[bb] == "")) | |
1562 | 1562 | then nil | |
1563 | 1563 | else split_4C(hM[bb], "_") | |
1564 | 1564 | let gU = split(il[bi], "_") | |
1565 | 1565 | let is = split(il[bj], "_") | |
1566 | 1566 | let it = if ((il[bk] == "")) | |
1567 | 1567 | then nil | |
1568 | 1568 | else split_4C(il[bk], "_") | |
1569 | 1569 | func iu (eO,hP) = { | |
1570 | 1570 | let gH = eO._1 | |
1571 | 1571 | let iv = parseIntValue(hP) | |
1572 | 1572 | let iw = parseIntValue(ip[gH]) | |
1573 | 1573 | let ix = parseIntValue(gU[gH]) | |
1574 | 1574 | if ((iv == 0)) | |
1575 | 1575 | then $Tuple4((gH + 1), (eO._2 :+ ip[gH]), (eO._3 :+ gU[gH]), eO._4) | |
1576 | 1576 | else if ((iv > 0)) | |
1577 | 1577 | then if ((iv > ix)) | |
1578 | 1578 | then throw((((("Attempt to take " + hP) + " from backpack, but only ") + toString(ix)) + " available")) | |
1579 | 1579 | else $Tuple4((gH + 1), (eO._2 :+ toString((iw + iv))), (eO._3 :+ toString((ix - iv))), (eO._4 + iv)) | |
1580 | 1580 | else if ((-(iv) > iw)) | |
1581 | 1581 | then throw((((("Attempt to take " + toString(-(iv))) + " from warehouse, but only ") + toString(iw)) + " available")) | |
1582 | 1582 | else $Tuple4((gH + 1), (eO._2 :+ toString((iw + iv))), (eO._3 :+ toString((ix - iv))), (eO._4 + iv)) | |
1583 | 1583 | } | |
1584 | 1584 | ||
1585 | 1585 | let eZ = { | |
1586 | 1586 | let eQ = im | |
1587 | 1587 | let eR = size(eQ) | |
1588 | 1588 | let eS = $Tuple4(0, nil, nil, 0) | |
1589 | 1589 | func eT (eU,eV) = if ((eV >= eR)) | |
1590 | 1590 | then eU | |
1591 | 1591 | else iu(eU, eQ[eV]) | |
1592 | 1592 | ||
1593 | 1593 | func eW (eU,eV) = if ((eV >= eR)) | |
1594 | 1594 | then eU | |
1595 | 1595 | else throw("List size exceeds 6") | |
1596 | 1596 | ||
1597 | 1597 | eW(eT(eT(eT(eT(eT(eT(eS, 0), 1), 2), 3), 4), 5), 6) | |
1598 | 1598 | } | |
1599 | 1599 | func iy (eO,hP) = { | |
1600 | 1600 | let gH = eO._1 | |
1601 | 1601 | let iv = parseIntValue(hP) | |
1602 | 1602 | let iz = parseIntValue(iq[gH]) | |
1603 | 1603 | let iA = parseIntValue(is[gH]) | |
1604 | 1604 | if ((iv == 0)) | |
1605 | 1605 | then $Tuple4((gH + 1), (eO._2 :+ iq[gH]), (eO._3 :+ is[gH]), eO._4) | |
1606 | 1606 | else if ((iv > 0)) | |
1607 | 1607 | then if ((iv > iA)) | |
1608 | 1608 | then throw((((("Attempt to take " + hP) + " from backpack, but only ") + toString(iA)) + " available")) | |
1609 | 1609 | else $Tuple4((gH + 1), (eO._2 :+ toString((iz + iv))), (eO._3 :+ toString((iA - iv))), (eO._4 + iv)) | |
1610 | 1610 | else if ((-(iv) > iz)) | |
1611 | 1611 | then throw((((("Attempt to take " + toString(-(iv))) + " from warehouse, but only ") + toString(iz)) + " available")) | |
1612 | 1612 | else $Tuple4((gH + 1), (eO._2 :+ toString((iz + iv))), (eO._3 :+ toString((iA - iv))), (eO._4 + iv)) | |
1613 | 1613 | } | |
1614 | 1614 | ||
1615 | 1615 | let gn = { | |
1616 | 1616 | let eQ = in | |
1617 | 1617 | let eR = size(eQ) | |
1618 | 1618 | let eS = $Tuple4(0, nil, nil, eZ._4) | |
1619 | 1619 | func hC (eU,eV) = if ((eV >= eR)) | |
1620 | 1620 | then eU | |
1621 | 1621 | else iy(eU, eQ[eV]) | |
1622 | 1622 | ||
1623 | 1623 | func hD (eU,eV) = if ((eV >= eR)) | |
1624 | 1624 | then eU | |
1625 | 1625 | else throw("List size exceeds 6") | |
1626 | 1626 | ||
1627 | 1627 | hD(hC(hC(hC(hC(hC(hC(eS, 0), 1), 2), 3), 4), 5), 6) | |
1628 | 1628 | } | |
1629 | 1629 | func iB (eO,hP) = { | |
1630 | 1630 | let gH = eO._1 | |
1631 | 1631 | let iv = parseIntValue(hP) | |
1632 | 1632 | let iC = if ((size(ir) > gH)) | |
1633 | 1633 | then parseIntValue(ir[gH]) | |
1634 | 1634 | else 0 | |
1635 | 1635 | let iD = if ((size(it) > gH)) | |
1636 | 1636 | then parseIntValue(it[gH]) | |
1637 | 1637 | else 0 | |
1638 | 1638 | if ((iv == 0)) | |
1639 | 1639 | then $Tuple4((gH + 1), (eO._2 :+ toString(iC)), (eO._3 :+ toString(iD)), eO._4) | |
1640 | 1640 | else if ((iv > 0)) | |
1641 | 1641 | then if ((iv > iD)) | |
1642 | 1642 | then throw((((("Attempt to take " + hP) + " from backpack, but only ") + toString(iD)) + " available")) | |
1643 | 1643 | else { | |
1644 | 1644 | let fQ = (eE((iC + iv), aX) - eE(iC, aX)) | |
1645 | 1645 | $Tuple4((gH + 1), (eO._2 :+ toString((iC + iv))), (eO._3 :+ toString((iD - iv))), (eO._4 + fQ)) | |
1646 | 1646 | } | |
1647 | 1647 | else if ((-(iv) > iC)) | |
1648 | 1648 | then throw((((("Attempt to take " + toString(-(iv))) + " from warehouse, but only ") + toString(iC)) + " available")) | |
1649 | 1649 | else { | |
1650 | 1650 | let fQ = (eE((iC + iv), aX) - eE(iC, aX)) | |
1651 | 1651 | $Tuple4((gH + 1), (eO._2 :+ toString((iC + iv))), (eO._3 :+ toString((iD - iv))), (eO._4 + fQ)) | |
1652 | 1652 | } | |
1653 | 1653 | } | |
1654 | 1654 | ||
1655 | 1655 | let gr = if ((size(io) != 0)) | |
1656 | 1656 | then { | |
1657 | 1657 | let eQ = io | |
1658 | 1658 | let eR = size(eQ) | |
1659 | 1659 | let eS = $Tuple4(0, nil, nil, gn._4) | |
1660 | 1660 | func hF (eU,eV) = if ((eV >= eR)) | |
1661 | 1661 | then eU | |
1662 | 1662 | else iB(eU, eQ[eV]) | |
1663 | 1663 | ||
1664 | 1664 | func hG (eU,eV) = if ((eV >= eR)) | |
1665 | 1665 | then eU | |
1666 | 1666 | else throw("List size exceeds 50") | |
1667 | 1667 | ||
1668 | 1668 | hG(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(hF(eS, 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) | |
1669 | 1669 | } | |
1670 | 1670 | else $Tuple4(0, ir, it, gn._4) | |
1671 | 1671 | let iE = gr._4 | |
1672 | 1672 | if ((iE > gW)) | |
1673 | 1673 | then throw((((("Attempt to put total " + toString(iE)) + " stuff, but only ") + toString(gW)) + " warehouse space left")) | |
1674 | 1674 | else $Tuple7(makeString(eZ._2, "_"), makeString(gn._2, "_"), makeString_2C(gr._2, "_"), makeString(eZ._3, "_"), makeString(gn._3, "_"), makeString_2C(gr._3, "_"), iE) | |
1675 | 1675 | } | |
1676 | 1676 | } | |
1677 | 1677 | ||
1678 | 1678 | ||
1679 | 1679 | func iF (iG,iH) = { | |
1680 | 1680 | let bL = toString(iG) | |
1681 | 1681 | let iI = hc(toBigInt(iH)) | |
1682 | 1682 | let iJ = valueOrElse(getInteger(em()), (el + 1)) | |
1683 | 1683 | let eq = toString(iJ) | |
1684 | 1684 | let hl = toInt((iI % ef)) | |
1685 | 1685 | let gK = hj(iI, hl) | |
1686 | 1686 | let ds = aP[hl] | |
1687 | 1687 | let iK = Issue(eD(eq, "S"), makeString([eq, "S", gK, ds], "_"), 1, 0, false) | |
1688 | 1688 | let bp = calculateAssetId(iK) | |
1689 | 1689 | let iL = toBase58String(bp) | |
1690 | 1690 | $Tuple2([IntegerEntry(em(), (iJ + 1)), iK, StringEntry(ep(eq), iL), StringEntry(bo(iL), bL), StringEntry(es(eq), bL), IntegerEntry(by(iL), 0), IntegerEntry(er(iL, bL), 0), ScriptTransfer(iG, 1, bp)], $Tuple2(iL, ds)) | |
1691 | 1691 | } | |
1692 | 1692 | ||
1693 | 1693 | ||
1694 | 1694 | func iM (bL,iN,iO) = if (!(sigVerify_8Kb(iN, iO, dW))) | |
1695 | 1695 | then throw("signature does not match") | |
1696 | 1696 | else { | |
1697 | 1697 | let fm = split_4C(toUtf8String(iN), ";") | |
1698 | 1698 | let iP = split_4C(fm[0], "|") | |
1699 | 1699 | let iQ = split(iP[ez], "_") | |
1700 | 1700 | let iR = parseIntValue(iQ[0]) | |
1701 | 1701 | let iS = parseIntValue(iQ[1]) | |
1702 | 1702 | let iT = split(fm[1], ":") | |
1703 | 1703 | let iU = iT[0] | |
1704 | 1704 | let iV = parseIntValue(iP[eA]) | |
1705 | 1705 | if (if ((iV > (lastBlock.timestamp + dY))) | |
1706 | 1706 | then true | |
1707 | 1707 | else ((lastBlock.timestamp - dY) > iV)) | |
1708 | 1708 | then throw(((("signature outdated: logTime=" + toString(iV)) + ", bcTime=") + toString(lastBlock.timestamp))) | |
1709 | 1709 | else { | |
1710 | 1710 | let iW = iT[1] | |
1711 | 1711 | let iX = valueOrElse(getString(dI(bL)), "") | |
1712 | 1712 | if ((iX != iW)) | |
1713 | 1713 | then throw(((("Tx ids don't match! In state: " + iX) + ", in msg: ") + iW)) | |
1714 | 1714 | else { | |
1715 | 1715 | let A = valueOrErrorMessage(getString(bH(bL)), "You don't have a duck staked") | |
1716 | 1716 | let iY = z(A) | |
1717 | 1717 | let iZ = ag(valueOrElse(getInteger(D(A)), 0)) | |
1718 | 1718 | let ja = valueOrElse(getInteger(iY), iZ) | |
1719 | 1719 | if ((ja != iR)) | |
1720 | 1720 | then throw(((("oldHealth=" + toString(ja)) + " from state does not match one from flight log=") + toString(iR))) | |
1721 | 1721 | else if ((0 >= iR)) | |
1722 | 1722 | then throw("You can't fly with zero health") | |
1723 | 1723 | else if (!(gt(A))) | |
1724 | 1724 | then throw("Equipment incompatible") | |
1725 | 1725 | else { | |
1726 | 1726 | let jb = if ((size(iP) > eB)) | |
1727 | 1727 | then iP[eB] | |
1728 | 1728 | else "" | |
1729 | 1729 | let jc = if ((size(iP) > eC)) | |
1730 | 1730 | then iP[eC] | |
1731 | 1731 | else "" | |
1732 | 1732 | let jd = if (if ((iS > 0)) | |
1733 | 1733 | then (jb == "$") | |
1734 | 1734 | else false) | |
1735 | 1735 | then dy(invoke(da, "sendUsdtPrize", [bL], nil)) | |
1736 | 1736 | else 0 | |
1737 | 1737 | $Tuple5(iS, A, jd, iU, jc) | |
1738 | 1738 | } | |
1739 | 1739 | } | |
1740 | 1740 | } | |
1741 | 1741 | } | |
1742 | 1742 | ||
1743 | 1743 | ||
1744 | 1744 | func je (P,jf) = { | |
1745 | 1745 | let hX = valueOrElse(getInteger(by(P)), 0) | |
1746 | 1746 | let jg = valueOrElse(getInteger(bs(aE, P)), 0) | |
1747 | 1747 | let jh = (hX / 6) | |
1748 | 1748 | let ji = (hX / 7) | |
1749 | 1749 | ((aH + fraction(aH, ((hX + jh) + (2 * ji)), 5)) + fraction(aH, jg, (jf * 5))) | |
1750 | 1750 | } | |
1751 | 1751 | ||
1752 | 1752 | ||
1753 | 1753 | func jj (c,jk,jl) = { | |
1754 | 1754 | let jm = if ((jk == ew)) | |
1755 | 1755 | then $Tuple2(jl, valueOrElse(getString(bH(c)), "")) | |
1756 | 1756 | else { | |
1757 | 1757 | let A = valueOrErrorMessage(getString(bH(c)), "You don't have a duck staked") | |
1758 | 1758 | let jn = valueOrElse(getString(bJ(A)), aJ) | |
1759 | 1759 | let cf = split(value(jn), "_") | |
1760 | 1760 | if ((cf[bm] != "L")) | |
1761 | 1761 | then throw((("Duck location type is " + cf[bm]) + ", but should be L")) | |
1762 | 1762 | else $Tuple2(cf[bn], A) | |
1763 | 1763 | } | |
1764 | 1764 | let P = jm._1 | |
1765 | 1765 | let jo = jm._2 | |
1766 | 1766 | let jp = value(assetInfo(fromBase58String(P))) | |
1767 | 1767 | let jq = br(P) | |
1768 | 1768 | let jr = valueOrErrorMessage(getInteger(jq), (("Land " + jp.name) + " is not staked")) | |
1769 | 1769 | let js = valueOrErrorMessage(getString(bo(P)), (("NFT " + jp.name) + " is orphaned")) | |
1770 | 1770 | if ((js != c)) | |
1771 | 1771 | then throw((aC + " is not yours")) | |
1772 | 1772 | else { | |
1773 | 1773 | let jt = split(jp.description, "_") | |
1774 | 1774 | $Tuple4(jo, P, jt, jr) | |
1775 | 1775 | } | |
1776 | 1776 | } | |
1777 | 1777 | ||
1778 | 1778 | ||
1779 | 1779 | func ju (c,eF,jk,jl) = if ((0 > eF)) | |
1780 | 1780 | then throw("Negative amount") | |
1781 | 1781 | else { | |
1782 | 1782 | let fX = jj(c, jk, jl) | |
1783 | 1783 | let dF = fX._3[dh] | |
1784 | 1784 | let gD = gJ(fX._3[di]) | |
1785 | 1785 | let gN = (lastBlock.timestamp - fX._4) | |
1786 | 1786 | if ((0 > gN)) | |
1787 | 1787 | then throw(((("Saved timestamp is in future, saved = " + toString(fX._4)) + ", current = ") + toString(lastBlock.timestamp))) | |
1788 | 1788 | else { | |
1789 | 1789 | let jf = dE(dF) | |
1790 | 1790 | let jv = je(fX._2, jf) | |
1791 | 1791 | let jw = fraction(gN, (jv * jf), a) | |
1792 | 1792 | if ((eF > jw)) | |
1793 | 1793 | then throw(((("Not enough resources, available = " + toString(jw)) + ", requested = ") + toString(eF))) | |
1794 | 1794 | else { | |
1795 | 1795 | let jx = fraction((jw - eF), a, (jv * jf)) | |
1796 | 1796 | let jy = (lastBlock.timestamp - jx) | |
1797 | 1797 | let hW = (jf / cE) | |
1798 | 1798 | let gV = gR(gD, (gN - jx), hW, jv) | |
1799 | 1799 | let hV = bx(fX._2) | |
1800 | 1800 | let hX = valueOrElse(getInteger(by(fX._2)), 0) | |
1801 | 1801 | let hM = hU(hV, hW, hX) | |
1802 | 1802 | let id = split(hM[bc], "_") | |
1803 | 1803 | let gW = parseIntValue(id[bf]) | |
1804 | 1804 | if (if ((jk == ew)) | |
1805 | 1805 | then (eF > gW) | |
1806 | 1806 | else false) | |
1807 | 1807 | then throw((("Only " + toString(gW)) + " space left in warehouse")) | |
1808 | 1808 | else { | |
1809 | 1809 | let hI = bI(fX._1) | |
1810 | 1810 | let il = hH(hI) | |
1811 | 1811 | let gU = split(il[bi], "_") | |
1812 | 1812 | let gT = split(hM[aZ], "_") | |
1813 | 1813 | let jz = if ((jk == ew)) | |
1814 | 1814 | then $Tuple4(gL(gT, gD, (gN - jx), hW, jv), il[bi], (parseIntValue(id[be]) + gV._2), (parseIntValue(id[bf]) - gV._2)) | |
1815 | 1815 | else if ((jk == ex)) | |
1816 | 1816 | then $Tuple4(hM[aZ], gL(gU, gD, (gN - jx), hW, jv), parseIntValue(id[be]), parseIntValue(id[bf])) | |
1817 | 1817 | else { | |
1818 | 1818 | let jA = gS(gT, gU, gV, gW) | |
1819 | 1819 | let jB = min([parseIntValue(id[bf]), gV._2]) | |
1820 | 1820 | $Tuple4(jA._1, jA._2, (parseIntValue(id[be]) + jB), (parseIntValue(id[bf]) - jB)) | |
1821 | 1821 | } | |
1822 | 1822 | let jC = jz._1 | |
1823 | 1823 | let jD = jz._2 | |
1824 | 1824 | let jE = jz._3 | |
1825 | 1825 | let jF = jz._4 | |
1826 | 1826 | $Tuple5([IntegerEntry(br(fX._2), jy), IntegerEntry(bu(aC, fX._2, c), jy)], hI, [il[bh], jD, il[bj], il[bk]], hV, [hM[aY], jC, hM[ba], hM[bb], makeString([id[bd], toString(jE), toString(jF), id[bg]], "_")]) | |
1827 | 1827 | } | |
1828 | 1828 | } | |
1829 | 1829 | } | |
1830 | 1830 | } | |
1831 | 1831 | ||
1832 | 1832 | ||
1833 | 1833 | func jG (c,P,jf,jk) = { | |
1834 | 1834 | let jq = br(P) | |
1835 | 1835 | let jr = value(getInteger(jq)) | |
1836 | 1836 | let jw = (fraction((lastBlock.timestamp - jr), je(P, jf), a) * jf) | |
1837 | 1837 | ju(c, jw, jk, P) | |
1838 | 1838 | } | |
1839 | 1839 | ||
1840 | 1840 | ||
1841 | 1841 | func jH (fb,iG,jI,P) = { | |
1842 | 1842 | let c = toString(iG) | |
1843 | 1843 | let fX = jj(c, ey, P) | |
1844 | 1844 | let jf = dE(fX._3[dh]) | |
1845 | 1845 | let jJ = by(fX._2) | |
1846 | 1846 | let jK = valueOrElse(getInteger(jJ), 0) | |
1847 | 1847 | if (if (!(ct)) | |
1848 | 1848 | then (jK >= 3) | |
1849 | 1849 | else false) | |
1850 | 1850 | then throw("Currently max infrastructure level = 3") | |
1851 | 1851 | else { | |
1852 | 1852 | let jL = ((sqrt(jf, 0, 0, DOWN) / 5) + 2) | |
1853 | 1853 | let al = (jK + 1) | |
1854 | 1854 | if (if (ct) | |
1855 | 1855 | then (al > jL) | |
1856 | 1856 | else false) | |
1857 | 1857 | then throw(("Currently max infrastructure level = " + toString(jL))) | |
1858 | 1858 | else { | |
1859 | 1859 | let jM = fraction(eb, (jf * al), cE) | |
1860 | 1860 | if (if (!(fb)) | |
1861 | 1861 | then (jI != jM) | |
1862 | 1862 | else false) | |
1863 | 1863 | then throw(("Payment attached should be " + toString(jM))) | |
1864 | 1864 | else { | |
1865 | 1865 | let hI = bI(fX._1) | |
1866 | 1866 | let il = hH(hI) | |
1867 | 1867 | let jN = split(il[bj], "_") | |
1868 | 1868 | let jO = fraction(cz, (jf * al), cE) | |
1869 | 1869 | let jP = makeString(fa(fb, jN, jO), "_") | |
1870 | 1870 | let jQ = jG(c, fX._2, jf, ey) | |
1871 | 1871 | let jR = jQ._5 | |
1872 | 1872 | let jS = hJ(jR[aY]) | |
1873 | 1873 | let jT = makeString([split(jR[aY], "_")[0], toString(al)], "_") | |
1874 | 1874 | let jU = hJ(jT) | |
1875 | 1875 | let id = split(jR[bc], "_") | |
1876 | 1876 | let jV = makeString([id[bd], id[be], toString(((parseIntValue(id[bf]) + jU) - jS)), toString(jU)], "_") | |
1877 | 1877 | $Tuple3(([IntegerEntry(jJ, al), IntegerEntry(er(fX._2, c), al), StringEntry(hI, makeString([il[bh], jQ._3[bi], jP, il[bk]], ":")), StringEntry(jQ._4, makeString([jT, jR[aZ], jR[ba], jR[bb], jV], ":"))] ++ jQ._1), al, jO) | |
1878 | 1878 | } | |
1879 | 1879 | } | |
1880 | 1880 | } | |
1881 | 1881 | } | |
1882 | 1882 | ||
1883 | 1883 | ||
1884 | 1884 | func jW (A,jX) = { | |
1885 | 1885 | let jY = D(A) | |
1886 | 1886 | let jZ = C(A) | |
1887 | 1887 | let af = valueOrElse(getInteger(an, jZ), 0) | |
1888 | 1888 | let ak = (af + jX) | |
1889 | 1889 | let ka = ai(valueOrElse(getInteger(an, jY), 0), ak) | |
1890 | 1890 | let kb = E(A) | |
1891 | 1891 | $Tuple2([IntegerEntry(jY, ka[0]), IntegerEntry(jZ, ak), IntegerEntry(kb, (valueOrElse(getInteger(kb), 0) + ka[1]))], ak) | |
1892 | 1892 | } | |
1893 | 1893 | ||
1894 | 1894 | ||
1895 | 1895 | func kc (c,jX) = { | |
1896 | 1896 | let jY = H(c) | |
1897 | 1897 | let jZ = G(c) | |
1898 | 1898 | let af = valueOrElse(getInteger(an, jZ), 0) | |
1899 | 1899 | let ak = (af + jX) | |
1900 | 1900 | let ka = ai(valueOrElse(getInteger(an, jY), 0), ak) | |
1901 | 1901 | let kb = I(c) | |
1902 | 1902 | $Tuple2([IntegerEntry(jY, ka[0]), IntegerEntry(jZ, ak), IntegerEntry(kb, (valueOrElse(getInteger(kb), 0) + ka[1]))], ak) | |
1903 | 1903 | } | |
1904 | 1904 | ||
1905 | 1905 | ||
1906 | 1906 | func kd (c) = { | |
1907 | 1907 | let A = valueOrErrorMessage(getString(bH(c)), "You don't have a duck staked") | |
1908 | 1908 | let ke = bC(c) | |
1909 | 1909 | let kf = getString(ke) | |
1910 | 1910 | if (!(isDefined(kf))) | |
1911 | 1911 | then throw("You are not eligible for ONBOARD artifact") | |
1912 | 1912 | else { | |
1913 | 1913 | let kg = bE(c) | |
1914 | 1914 | let kh = getString(kg) | |
1915 | 1915 | if (isDefined(kh)) | |
1916 | 1916 | then throw(("You already used your ONBOARD artifact on duck " + value(kh))) | |
1917 | 1917 | else { | |
1918 | 1918 | let ki = bD(A) | |
1919 | 1919 | let kj = getString(ki) | |
1920 | 1920 | if (isDefined(kj)) | |
1921 | 1921 | then throw(((("The duck " + A) + " already got points from ONBOARD artifact from user ") + value(kj))) | |
1922 | 1922 | else ([StringEntry(kg, A), StringEntry(ki, c)] ++ jW(A, ac)._1) | |
1923 | 1923 | } | |
1924 | 1924 | } | |
1925 | 1925 | } | |
1926 | 1926 | ||
1927 | 1927 | ||
1928 | 1928 | func kk (c,jl) = { | |
1929 | 1929 | let fX = jj(c, ey, jl) | |
1930 | 1930 | let P = fX._2 | |
1931 | 1931 | let jf = dE(fX._3[dh]) | |
1932 | 1932 | let kl = bs(aE, P) | |
1933 | 1933 | if ((valueOrElse(getInteger(kl), 0) > 0)) | |
1934 | 1934 | then throw("Presale artifact is already activated") | |
1935 | 1935 | else if ((parseIntValue(fX._3[dg]) > el)) | |
1936 | 1936 | then throw((((aC + " ") + P) + " is not eligible for presale artifact")) | |
1937 | 1937 | else { | |
1938 | 1938 | let jQ = jG(c, P, jf, ey) | |
1939 | 1939 | (((jQ._1 :+ IntegerEntry(kl, jf)) :+ StringEntry(jQ._2, makeString(jQ._3, ":"))) :+ StringEntry(jQ._4, makeString(jQ._5, ":"))) | |
1940 | 1940 | } | |
1941 | 1941 | } | |
1942 | 1942 | ||
1943 | 1943 | ||
1944 | 1944 | func km (A) = { | |
1945 | 1945 | let ce = valueOrElse(getInteger(de, bP), 0) | |
1946 | 1946 | let jn = split(valueOrElse(getString(bJ(A)), aJ), "_") | |
1947 | 1947 | let ax = lastBlock.timestamp | |
1948 | 1948 | let cg = bY(de, ce) | |
1949 | 1949 | let ca = cg[bU] | |
1950 | 1950 | let cb = cg[bV] | |
1951 | 1951 | if ((jn[bm] != "T")) | |
1952 | 1952 | then false | |
1953 | 1953 | else if (if (if ((parseIntValue(jn[bl]) == ce)) | |
1954 | 1954 | then (cb[bX] == "INPROGRESS") | |
1955 | 1955 | else false) | |
1956 | 1956 | then (parseIntValue(ca[bW]) > ax) | |
1957 | 1957 | else false) | |
1958 | 1958 | then throw("Your duck is taking part in the tournament") | |
1959 | 1959 | else dA(invoke(this, "exitTournamentInternal", [A], nil)) | |
1960 | 1960 | } | |
1961 | 1961 | ||
1962 | 1962 | ||
1963 | 1963 | func kn (A) = { | |
1964 | 1964 | let jn = split(valueOrElse(getString(bJ(A)), aJ), "_") | |
1965 | 1965 | let ax = lastBlock.timestamp | |
1966 | 1966 | if ((jn[bm] != "D")) | |
1967 | 1967 | then false | |
1968 | 1968 | else { | |
1969 | 1969 | let ci = parseIntValue(jn[bl]) | |
1970 | 1970 | let cj = parseIntValue(jn[bn]) | |
1971 | 1971 | if (if ((ax > (ci + aN))) | |
1972 | 1972 | then (3 > cj) | |
1973 | 1973 | else false) | |
1974 | 1974 | then throw("Your duck is on delivery mission") | |
1975 | 1975 | else dA(invoke(this, "exitDeliveryInternal", [A], nil)) | |
1976 | 1976 | } | |
1977 | 1977 | } | |
1978 | 1978 | ||
1979 | 1979 | ||
1980 | 1980 | func ko (A) = { | |
1981 | 1981 | let jn = split(valueOrElse(getString(bJ(A)), aJ), "_") | |
1982 | 1982 | let ax = lastBlock.timestamp | |
1983 | 1983 | let ci = parseIntValue(jn[bl]) | |
1984 | 1984 | let cj = parseIntValue(jn[bn]) | |
1985 | 1985 | let js = valueOrErrorMessage(getString(bG(A)), "NFT duck is orphaned") | |
1986 | 1986 | let kp = z(A) | |
1987 | 1987 | let kq = getIntegerValue(kp) | |
1988 | 1988 | let kr = if ((cj >= 3)) | |
1989 | 1989 | then { | |
1990 | 1990 | let ks = invoke(db, "sendDeliveryReward", [js], nil) | |
1991 | 1991 | if ((ks == ks)) | |
1992 | 1992 | then nil | |
1993 | 1993 | else throw("Strict value is not equal to itself.") | |
1994 | 1994 | } | |
1995 | 1995 | else if ((ax > (ci + aN))) | |
1996 | 1996 | then throw("Your duck is still on delivery mission") | |
1997 | 1997 | else { | |
1998 | 1998 | let kt = valueOrElse(getInteger(db, bO), 0) | |
1999 | 1999 | let ku = invoke(db, "updateDeliveryLocked", [(kt - aM)], nil) | |
2000 | 2000 | if ((ku == ku)) | |
2001 | 2001 | then if ((0 >= kq)) | |
2002 | 2002 | then nil | |
2003 | 2003 | else [IntegerEntry(T(A), (ci + a))] | |
2004 | 2004 | else throw("Strict value is not equal to itself.") | |
2005 | 2005 | } | |
2006 | 2006 | let kv = getIntegerValue(J(A)) | |
2007 | 2007 | let kw = getStringValue(K(A)) | |
2008 | 2008 | $Tuple4(kr, [IntegerEntry(kp, kv), StringEntry(bJ(A), kw)], kw, kv) | |
2009 | 2009 | } | |
2010 | 2010 | ||
2011 | 2011 | ||
2012 | 2012 | func kx (ky,al,kz,c,kA,kB) = { | |
2013 | 2013 | let A = valueOrErrorMessage(getString(bH(c)), "You don't have a duck staked") | |
2014 | 2014 | if (km(A)) | |
2015 | 2015 | then throw("mergeInternal_checkTournament") | |
2016 | 2016 | else if (kn(A)) | |
2017 | 2017 | then throw("mergeInternal_checkDelivery") | |
2018 | 2018 | else { | |
2019 | 2019 | func kC (eO,P) = { | |
2020 | 2020 | let jp = value(assetInfo(fromBase58String(P))) | |
2021 | 2021 | let jq = br(P) | |
2022 | 2022 | let jr = valueOrErrorMessage(getInteger(jq), (("NFT " + jp.name) + " is not staked")) | |
2023 | 2023 | let js = valueOrErrorMessage(getString(bo(P)), (("NFT " + jp.name) + " is orphaned")) | |
2024 | 2024 | if ((js != c)) | |
2025 | 2025 | then throw((aC + " is not yours")) | |
2026 | 2026 | else { | |
2027 | 2027 | let jt = split(jp.description, "_") | |
2028 | 2028 | let ds = jt[dj] | |
2029 | 2029 | if (if ((eO._3 != "")) | |
2030 | 2030 | then (eO._3 != ds) | |
2031 | 2031 | else false) | |
2032 | 2032 | then throw("Lands should be on the same continent to merge") | |
2033 | 2033 | else { | |
2034 | 2034 | let dF = jt[dh] | |
2035 | 2035 | let kD = eO._1 | |
2036 | 2036 | let gH = valueOrErrorMessage(indexOf(kD, dF), "You haven't passed all the lands needed") | |
2037 | 2037 | let kE = (take(kD, gH) + drop(kD, (gH + 1))) | |
2038 | 2038 | let jf = dE(dF) | |
2039 | 2039 | let kF = (eO._2 + valueOrElse(getInteger(bs(aE, P)), 0)) | |
2040 | 2040 | let hX = valueOrElse(getInteger(by(P)), 0) | |
2041 | 2041 | let kG = { | |
2042 | 2042 | let cx = dF | |
2043 | 2043 | if (("S" == cx)) | |
2044 | 2044 | then 3 | |
2045 | 2045 | else if (("M" == cx)) | |
2046 | 2046 | then 4 | |
2047 | 2047 | else if (("L" == cx)) | |
2048 | 2048 | then 5 | |
2049 | 2049 | else if (("XL" == cx)) | |
2050 | 2050 | then 6 | |
2051 | 2051 | else throw("Only S, M, L, XL can merge") | |
2052 | 2052 | } | |
2053 | 2053 | if ((hX != kG)) | |
2054 | 2054 | then throw("All lands should be maxed to merge") | |
2055 | 2055 | else { | |
2056 | 2056 | let eq = jt[dg] | |
2057 | 2057 | let gD = gJ(jt[di]) | |
2058 | 2058 | let gN = (lastBlock.timestamp - jr) | |
2059 | 2059 | if ((0 > gN)) | |
2060 | 2060 | then throw(((("Saved timestamp is in future, saved = " + toString(jr)) + ", current = ") + toString(lastBlock.timestamp))) | |
2061 | 2061 | else { | |
2062 | 2062 | let jv = je(P, jf) | |
2063 | 2063 | let hW = (jf / cE) | |
2064 | 2064 | let jD = gL(split(eO._4, "_"), gD, gN, hW, jv) | |
2065 | 2065 | let eY = gB(eO._6, gD, hW, -1) | |
2066 | 2066 | let kH = gB(eO._10, gD, hW, -1) | |
2067 | 2067 | let hr = gB(eO._9, gD, hW, 1) | |
2068 | 2068 | let kI = eO._7 | |
2069 | 2069 | let cZ = indexOf(kI, P) | |
2070 | 2070 | if (!(isDefined(cZ))) | |
2071 | 2071 | then throw(("Your staked lands don't contain " + P)) | |
2072 | 2072 | else { | |
2073 | 2073 | let kJ = bq(P) | |
2074 | 2074 | let kK = valueOrElse(getString(kJ), "") | |
2075 | 2075 | $Tuple10(kE, kF, ds, jD, ((((((((((((eO._5 :+ DeleteEntry(br(P))) :+ DeleteEntry(bu(aC, P, c))) :+ DeleteEntry(ep(eq))) :+ DeleteEntry(bo(P))) :+ DeleteEntry(by(P))) :+ DeleteEntry(er(P, c))) :+ DeleteEntry(bs(aE, P))) :+ DeleteEntry(es(eq))) :+ DeleteEntry(bx(P))) :+ DeleteEntry(kJ)) :+ Burn(fromBase58String(P), 1)) ++ (if ((kK != "")) | |
2076 | 2076 | then [DeleteEntry(en(kK))] | |
2077 | 2077 | else nil)), eY, removeByIndex(kI, value(cZ)), (eO._8 + jf), hr, kH) | |
2078 | 2078 | } | |
2079 | 2079 | } | |
2080 | 2080 | } | |
2081 | 2081 | } | |
2082 | 2082 | } | |
2083 | 2083 | } | |
2084 | 2084 | ||
2085 | 2085 | let hI = bI(A) | |
2086 | 2086 | let il = hH(hI) | |
2087 | 2087 | let gC = split(valueOrElse(getString(dq()), "0_0_0_0_0_0"), "_") | |
2088 | 2088 | let kL = dt(c) | |
2089 | 2089 | let kM = getString(kL) | |
2090 | 2090 | let kN = if (isDefined(kM)) | |
2091 | 2091 | then split_51C(value(kM), "_") | |
2092 | 2092 | else nil | |
2093 | 2093 | let kO = split(value(assetInfo(fromBase58String(kA[0]))).description, "_")[dj] | |
2094 | 2094 | let kP = split(valueOrElse(getString(dr(kO)), "0_0_0_0_0_0"), "_") | |
2095 | 2095 | let eZ = { | |
2096 | 2096 | let eQ = kA | |
2097 | 2097 | let eR = size(eQ) | |
2098 | 2098 | let eS = $Tuple10(kz, 0, "", il[bi], nil, gC, kN, 0, split("0_0_0_0_0_0", "_"), kP) | |
2099 | 2099 | func eT (eU,eV) = if ((eV >= eR)) | |
2100 | 2100 | then eU | |
2101 | 2101 | else kC(eU, eQ[eV]) | |
2102 | 2102 | ||
2103 | 2103 | func eW (eU,eV) = if ((eV >= eR)) | |
2104 | 2104 | then eU | |
2105 | 2105 | else throw("List size exceeds 5") | |
2106 | 2106 | ||
2107 | 2107 | eW(eT(eT(eT(eT(eT(eS, 0), 1), 2), 3), 4), 5) | |
2108 | 2108 | } | |
2109 | 2109 | let ds = eZ._3 | |
2110 | 2110 | let hl = valueOrErrorMessage(indexOf(aP, ds), ("Unknown continent: " + ds)) | |
2111 | 2111 | let gK = hq(eZ._9, (dE(ky) / cE)) | |
2112 | 2112 | let iJ = valueOrElse(getInteger(em()), (el + 1)) | |
2113 | 2113 | let kQ = toString(iJ) | |
2114 | 2114 | let iK = Issue(eD(kQ, ky), makeString([kQ, ky, gK, ds], "_"), 1, 0, false) | |
2115 | 2115 | let bp = calculateAssetId(iK) | |
2116 | 2116 | let kR = toBase58String(bp) | |
2117 | 2117 | let jP = makeString(fa((kB > 0), split(il[bj], "_"), kB), "_") | |
2118 | 2118 | let kS = du(c) | |
2119 | 2119 | let kT = valueOrElse(getInteger(kS), 0) | |
2120 | 2120 | $Tuple2((((((((((((((((eZ._5 :+ (if ((size(eZ._7) > 0)) | |
2121 | 2121 | then StringEntry(kL, makeString_11C(eZ._7, "_")) | |
2122 | 2122 | else DeleteEntry(kL))) :+ IntegerEntry(kS, if ((eZ._8 > kT)) | |
2123 | 2123 | then 0 | |
2124 | 2124 | else (kT - eZ._8))) :+ IntegerEntry(em(), (iJ + 1))) :+ iK) :+ StringEntry(ep(kQ), kR)) :+ StringEntry(bo(kR), c)) :+ StringEntry(es(kQ), c)) :+ IntegerEntry(bs(aE, kR), eZ._2)) :+ IntegerEntry(by(kR), al)) :+ IntegerEntry(er(kR, c), al)) :+ StringEntry(hI, makeString([il[bh], eZ._4, jP, il[bk]], ":"))) :+ StringEntry(dq(), makeString(eZ._6, "_"))) :+ StringEntry(dr(ds), makeString(eZ._10, "_"))) :+ StringEntry(bJ(A), makeString([ds, "L", kR], "_"))) :+ ScriptTransfer(addressFromStringValue(c), 1, bp)), kR) | |
2125 | 2125 | } | |
2126 | 2126 | } | |
2127 | 2127 | ||
2128 | 2128 | ||
2129 | 2129 | func kU (c,kA) = kx("M", 3, "SSSS", c, kA, 0) | |
2130 | 2130 | ||
2131 | 2131 | ||
2132 | 2132 | func kV (c,kA) = kx("L", 4, "SMM", c, kA, (cz * 4)) | |
2133 | 2133 | ||
2134 | 2134 | ||
2135 | 2135 | func kW (c,kA) = kx("XL", 5, "SSSML", c, kA, (cz * 47)) | |
2136 | 2136 | ||
2137 | 2137 | ||
2138 | 2138 | func kX (c,kA) = kx("XXL", 6, "LXL", c, kA, (cz * 54)) | |
2139 | 2139 | ||
2140 | 2140 | ||
2141 | 2141 | func kY (c,kA) = { | |
2142 | 2142 | let cx = size(kA) | |
2143 | 2143 | if ((4 == cx)) | |
2144 | 2144 | then kU(c, kA) | |
2145 | 2145 | else if ((3 == cx)) | |
2146 | 2146 | then kV(c, kA) | |
2147 | 2147 | else if ((5 == cx)) | |
2148 | 2148 | then kW(c, kA) | |
2149 | 2149 | else if ((2 == cx)) | |
2150 | 2150 | then kX(c, kA) | |
2151 | 2151 | else throw("Unknown merge") | |
2152 | 2152 | } | |
2153 | 2153 | ||
2154 | 2154 | ||
2155 | 2155 | func kZ (gH) = if (if ((gH.originCaller != da)) | |
2156 | 2156 | then valueOrElse(getBoolean(dH()), false) | |
2157 | 2157 | else false) | |
2158 | 2158 | then throw("Contracts are under maintenance") | |
2159 | - | else StringEntry(dI(toString(gH.originCaller)), toBase58String(gH.transactionId)) | |
2160 | - | ||
2161 | - | ||
2162 | - | @Callable(gH) | |
2163 | - | func constructorV1 (la) = if ((gH.caller != this)) | |
2159 | + | else { | |
2160 | + | let bL = toString(gH.originCaller) | |
2161 | + | let la = getString(bH(bL)) | |
2162 | + | ((if (isDefined(la)) | |
2163 | + | then { | |
2164 | + | let A = value(la) | |
2165 | + | let lb = bJ(A) | |
2166 | + | let cf = split(valueOrElse(getString(lb), aJ), "_") | |
2167 | + | let ci = parseIntValue(cf[bl]) | |
2168 | + | if (if ((cf[bm] != "D")) | |
2169 | + | then true | |
2170 | + | else (lastBlock.timestamp > (ci + aN))) | |
2171 | + | then nil | |
2172 | + | else { | |
2173 | + | let kp = z(A) | |
2174 | + | if ((parseIntValue(cf[bn]) >= 3)) | |
2175 | + | then { | |
2176 | + | let ks = invoke(db, "sendDeliveryReward", [bL], nil) | |
2177 | + | if ((ks == ks)) | |
2178 | + | then nil | |
2179 | + | else throw("Strict value is not equal to itself.") | |
2180 | + | } | |
2181 | + | else (({ | |
2182 | + | let kt = valueOrElse(getInteger(db, bO), 0) | |
2183 | + | let ku = invoke(db, "updateDeliveryLocked", [(kt - aM)], nil) | |
2184 | + | if ((ku == ku)) | |
2185 | + | then if ((0 >= getIntegerValue(kp))) | |
2186 | + | then nil | |
2187 | + | else { | |
2188 | + | let lc = invoke(this, "saveInteger", [T(A), (ci + a)], nil) | |
2189 | + | if ((lc == lc)) | |
2190 | + | then nil | |
2191 | + | else throw("Strict value is not equal to itself.") | |
2192 | + | } | |
2193 | + | else throw("Strict value is not equal to itself.") | |
2194 | + | } :+ IntegerEntry(kp, getIntegerValue(J(A)))) :+ StringEntry(lb, getStringValue(K(A)))) | |
2195 | + | } | |
2196 | + | } | |
2197 | + | else nil) :+ StringEntry(dI(bL), toBase58String(gH.transactionId))) | |
2198 | + | } | |
2199 | + | ||
2200 | + | ||
2201 | + | func ld (gH) = if (if ((gH.originCaller != da)) | |
2202 | + | then valueOrElse(getBoolean(dH()), false) | |
2203 | + | else false) | |
2204 | + | then throw("Contracts are under maintenance") | |
2205 | + | else [StringEntry(dI(toString(gH.originCaller)), toBase58String(gH.transactionId))] | |
2206 | + | ||
2207 | + | ||
2208 | + | @Callable(gH) | |
2209 | + | func constructorV1 (le) = if ((gH.caller != this)) | |
2164 | 2210 | then throw("Permission denied") | |
2165 | - | else [StringEntry(cU(), la)] | |
2166 | - | ||
2167 | - | ||
2168 | - | ||
2169 | - | @Callable(gH) | |
2170 | - | func setBlocked (lb) = if ((gH.caller != this)) | |
2211 | + | else [StringEntry(cU(), le)] | |
2212 | + | ||
2213 | + | ||
2214 | + | ||
2215 | + | @Callable(gH) | |
2216 | + | func saveInteger (cM,eF) = if ((gH.caller != this)) | |
2217 | + | then throw("saveInteger is not public method") | |
2218 | + | else [IntegerEntry(cM, eF)] | |
2219 | + | ||
2220 | + | ||
2221 | + | ||
2222 | + | @Callable(gH) | |
2223 | + | func setBlocked (lf) = if ((gH.caller != this)) | |
2171 | 2224 | then throw("permission denied") | |
2172 | - | else [BooleanEntry(dH(), | |
2225 | + | else [BooleanEntry(dH(), lf)] | |
2173 | 2226 | ||
2174 | 2227 | ||
2175 | 2228 | ||
2176 | 2229 | @Callable(gH) | |
2177 | 2230 | func stakeLand () = { | |
2178 | - | let | |
2231 | + | let lg = kZ(gH) | |
2179 | 2232 | if ((size(gH.payments) != 1)) | |
2180 | 2233 | then throw("Exactly one payment required") | |
2181 | 2234 | else { | |
2182 | - | let | |
2183 | - | let bp = value( | |
2235 | + | let lh = value(gH.payments[0]) | |
2236 | + | let bp = value(lh.assetId) | |
2184 | 2237 | let cL = toString(gH.caller) | |
2185 | - | if (( | |
2238 | + | if ((lh.amount != 1)) | |
2186 | 2239 | then throw((("NFT " + aC) + " token should be attached as payment")) | |
2187 | 2240 | else { | |
2188 | 2241 | let jp = value(assetInfo(bp)) | |
2189 | 2242 | if ((jp.issuer != this)) | |
2190 | 2243 | then throw("Unknown issuer of token") | |
2191 | 2244 | else if (!(contains(jp.name, aC))) | |
2192 | 2245 | then throw((("Only NFT " + aC) + " tokens are accepted")) | |
2193 | 2246 | else { | |
2194 | - | let | |
2195 | - | let eq = if (contains( | |
2196 | - | then dropRight( | |
2197 | - | else if (contains( | |
2198 | - | then dropRight( | |
2199 | - | else dropRight( | |
2247 | + | let li = drop(jp.name, 4) | |
2248 | + | let eq = if (contains(li, "XXL")) | |
2249 | + | then dropRight(li, 3) | |
2250 | + | else if (contains(li, "XL")) | |
2251 | + | then dropRight(li, 2) | |
2252 | + | else dropRight(li, 1) | |
2200 | 2253 | if (!(isDefined(parseInt(eq)))) | |
2201 | 2254 | then throw(("Cannot parse land number from " + jp.name)) | |
2202 | 2255 | else { | |
2203 | 2256 | let P = toBase58String(bp) | |
2204 | 2257 | let jq = br(P) | |
2205 | 2258 | if (isDefined(getInteger(jq))) | |
2206 | 2259 | then throw((("NFT " + jp.name) + " is already staked")) | |
2207 | 2260 | else { | |
2208 | 2261 | let jt = split(jp.description, "_") | |
2209 | 2262 | let gD = gJ(jt[di]) | |
2210 | 2263 | let jf = dE(jt[dh]) | |
2211 | 2264 | let hW = (jf / cE) | |
2212 | 2265 | let eY = gI(gD, hW, 1) | |
2213 | - | let | |
2214 | - | let kP = split(valueOrElse(getString( | |
2215 | - | let | |
2266 | + | let lj = dr(jt[dj]) | |
2267 | + | let kP = split(valueOrElse(getString(lj), "0_0_0_0_0_0"), "_") | |
2268 | + | let lk = makeString(gB(kP, gD, hW, 1), "_") | |
2216 | 2269 | let kL = dt(cL) | |
2217 | 2270 | let kM = getString(kL) | |
2218 | 2271 | let kI = if (isDefined(kM)) | |
2219 | 2272 | then split_51C(value(kM), "_") | |
2220 | 2273 | else nil | |
2221 | 2274 | if (containsElement(kI, P)) | |
2222 | 2275 | then throw(("Your staked lands already contain " + P)) | |
2223 | 2276 | else if ((size(kI) >= aG)) | |
2224 | 2277 | then throw((("Your already staked max (" + toString(aG)) + ") lands")) | |
2225 | 2278 | else { | |
2226 | 2279 | let hX = valueOrElse(getInteger(by(P)), 0) | |
2227 | 2280 | let kS = du(cL) | |
2228 | - | let | |
2229 | - | let | |
2230 | - | $Tuple2([IntegerEntry(jq, lastBlock.timestamp), IntegerEntry(bu(aC, P, cL), lastBlock.timestamp), StringEntry(kL, makeString_11C((kI :+ P), "_")), IntegerEntry(kS, ( | |
2281 | + | let ll = valueOrElse(getInteger(kS), 0) | |
2282 | + | let lm = invoke(dd, "onStakeUnstakeLand", [cL], nil) | |
2283 | + | $Tuple2(([IntegerEntry(jq, lastBlock.timestamp), IntegerEntry(bu(aC, P, cL), lastBlock.timestamp), StringEntry(kL, makeString_11C((kI :+ P), "_")), IntegerEntry(kS, (ll + jf)), StringEntry(bo(P), cL), StringEntry(es(eq), cL), IntegerEntry(er(P, cL), hX), StringEntry(dq(), eY), StringEntry(lj, lk)] ++ lg), lm) | |
2231 | 2284 | } | |
2232 | 2285 | } | |
2233 | 2286 | } | |
2234 | 2287 | } | |
2235 | 2288 | } | |
2236 | 2289 | } | |
2237 | 2290 | } | |
2238 | 2291 | ||
2239 | 2292 | ||
2240 | 2293 | ||
2241 | 2294 | @Callable(gH) | |
2242 | 2295 | func unstakeLand (jl) = { | |
2243 | - | let | |
2296 | + | let lg = kZ(gH) | |
2244 | 2297 | if ((size(gH.payments) != 0)) | |
2245 | 2298 | then throw("No payments required") | |
2246 | 2299 | else { | |
2247 | 2300 | let c = toString(gH.caller) | |
2248 | 2301 | let fX = jj(c, ex, jl) | |
2249 | 2302 | let P = fX._2 | |
2250 | 2303 | let jt = fX._3 | |
2251 | 2304 | let kL = dt(c) | |
2252 | 2305 | let gD = gJ(jt[di]) | |
2253 | 2306 | let jf = dE(jt[dh]) | |
2254 | 2307 | let hW = (jf / cE) | |
2255 | 2308 | let eY = gI(gD, hW, -1) | |
2256 | - | let | |
2257 | - | let kP = split(valueOrElse(getString( | |
2258 | - | let | |
2309 | + | let lj = dr(jt[dj]) | |
2310 | + | let kP = split(valueOrElse(getString(lj), "0_0_0_0_0_0"), "_") | |
2311 | + | let lk = makeString(gB(kP, gD, hW, -1), "_") | |
2259 | 2312 | let jQ = jG(c, P, jf, ex) | |
2260 | 2313 | let kI = split_51C(valueOrElse(getString(kL), ""), "_") | |
2261 | 2314 | let cZ = indexOf(kI, P) | |
2262 | 2315 | if (!(isDefined(cZ))) | |
2263 | 2316 | then throw(("Your staked lands don't contain " + P)) | |
2264 | 2317 | else { | |
2265 | 2318 | let ax = lastBlock.timestamp | |
2266 | - | let | |
2267 | - | if (( | |
2268 | - | then throw(("Your gWL are taking part in voting, cannot unstake until " + toString( | |
2319 | + | let ln = valueOrElse(getInteger(dc, bK(c)), 0) | |
2320 | + | if ((ln >= ax)) | |
2321 | + | then throw(("Your gWL are taking part in voting, cannot unstake until " + toString(ln))) | |
2269 | 2322 | else { | |
2270 | - | let | |
2271 | - | if (( | |
2272 | - | then throw(("Your staked lands took part in arbitrage, cannot unstake until " + toString( | |
2323 | + | let lo = (valueOrElse(getInteger(dd, b(c)), 0) + cA) | |
2324 | + | if ((lo > ax)) | |
2325 | + | then throw(("Your staked lands took part in arbitrage, cannot unstake until " + toString(lo))) | |
2273 | 2326 | else { | |
2274 | 2327 | let kS = du(c) | |
2275 | 2328 | let kT = valueOrElse(getInteger(kS), 0) | |
2276 | - | let | |
2329 | + | let lp = if ((jf > kT)) | |
2277 | 2330 | then 0 | |
2278 | 2331 | else (kT - jf) | |
2279 | - | let | |
2280 | - | $Tuple2([ScriptTransfer(gH.caller, 1, fromBase58String(P)), DeleteEntry(br(P)), DeleteEntry(bu(aC, P, c)), StringEntry(dq(), eY), StringEntry( | |
2332 | + | let lm = invoke(dd, "onStakeUnstakeLand", [c], nil) | |
2333 | + | $Tuple2(([ScriptTransfer(gH.caller, 1, fromBase58String(P)), DeleteEntry(br(P)), DeleteEntry(bu(aC, P, c)), StringEntry(dq(), eY), StringEntry(lj, lk), StringEntry(jQ._2, makeString(jQ._3, ":")), if ((size(kI) > 1)) | |
2281 | 2334 | then StringEntry(kL, makeString_11C(removeByIndex(kI, value(cZ)), "_")) | |
2282 | - | else DeleteEntry(kL), IntegerEntry(kS, | |
2335 | + | else DeleteEntry(kL), IntegerEntry(kS, lp)] ++ lg), lm) | |
2283 | 2336 | } | |
2284 | 2337 | } | |
2285 | 2338 | } | |
2286 | 2339 | } | |
2287 | 2340 | } | |
2288 | 2341 | ||
2289 | 2342 | ||
2290 | 2343 | ||
2291 | 2344 | @Callable(gH) | |
2292 | 2345 | func stakeDuck () = { | |
2293 | - | let | |
2346 | + | let lg = kZ(gH) | |
2294 | 2347 | if ((size(gH.payments) != 1)) | |
2295 | 2348 | then throw("Exactly one payment required") | |
2296 | 2349 | else { | |
2297 | - | let | |
2298 | - | let bp = value( | |
2350 | + | let lh = value(gH.payments[0]) | |
2351 | + | let bp = value(lh.assetId) | |
2299 | 2352 | let cL = toString(gH.caller) | |
2300 | - | if (( | |
2353 | + | if ((lh.amount != 1)) | |
2301 | 2354 | then throw((("NFT " + aD) + " token should be attached as payment")) | |
2302 | 2355 | else { | |
2303 | 2356 | let jp = value(assetInfo(bp)) | |
2304 | 2357 | if (if ((jp.issuer != dU)) | |
2305 | 2358 | then (jp.issuer != dV) | |
2306 | 2359 | else false) | |
2307 | 2360 | then throw((("Unknown issuer of " + aD) + " token")) | |
2308 | 2361 | else if (!(contains(jp.name, aD))) | |
2309 | 2362 | then throw((("Only NFT " + aD) + " tokens are accepted")) | |
2310 | 2363 | else { | |
2311 | - | let | |
2312 | - | let jq = br( | |
2364 | + | let lq = toBase58String(bp) | |
2365 | + | let jq = br(lq) | |
2313 | 2366 | if (isDefined(getInteger(jq))) | |
2314 | 2367 | then throw((("NFT " + jp.name) + " is already staked")) | |
2315 | 2368 | else if (isDefined(getString(bH(cL)))) | |
2316 | 2369 | then throw(("You already staked one duck: " + jp.name)) | |
2317 | 2370 | else { | |
2318 | - | let | |
2319 | - | let cd = getString( | |
2320 | - | let hI = bI( | |
2321 | - | let | |
2322 | - | let iY = z( | |
2323 | - | let iZ = ag(valueOrElse(getInteger(D( | |
2371 | + | let lb = bJ(lq) | |
2372 | + | let cd = getString(lb) | |
2373 | + | let hI = bI(lq) | |
2374 | + | let lr = getString(hI) | |
2375 | + | let iY = z(lq) | |
2376 | + | let iZ = ag(valueOrElse(getInteger(D(lq)), 0)) | |
2324 | 2377 | let kq = valueOrElse(getInteger(iY), iZ) | |
2325 | - | ([IntegerEntry(jq, lastBlock.timestamp), IntegerEntry(bu(aD, toBase58String(bp), cL), lastBlock.timestamp), StringEntry(bG( | |
2378 | + | ([IntegerEntry(jq, lastBlock.timestamp), IntegerEntry(bu(aD, toBase58String(bp), cL), lastBlock.timestamp), StringEntry(bG(lq), cL), StringEntry(bH(cL), lq)] ++ (if (isDefined(cd)) | |
2326 | 2379 | then nil | |
2327 | - | else ([StringEntry( | |
2380 | + | else ([StringEntry(lb, aJ)] ++ (if (isDefined(lr)) | |
2328 | 2381 | then nil | |
2329 | - | else (([StringEntry(hI, "0:0_0_0_0_0_0:0_0_0_0_0_0:")] :+ IntegerEntry(iY, kq)) | |
2382 | + | else (([StringEntry(hI, "0:0_0_0_0_0_0:0_0_0_0_0_0:")] :+ IntegerEntry(iY, kq)) ++ lg))))) | |
2330 | 2383 | } | |
2331 | 2384 | } | |
2332 | 2385 | } | |
2333 | 2386 | } | |
2334 | 2387 | } | |
2335 | 2388 | ||
2336 | 2389 | ||
2337 | 2390 | ||
2338 | 2391 | @Callable(gH) | |
2339 | - | func unstakeDuck ( | |
2340 | - | let | |
2392 | + | func unstakeDuck (lq) = { | |
2393 | + | let lg = kZ(gH) | |
2341 | 2394 | if ((size(gH.payments) != 0)) | |
2342 | 2395 | then throw("No payments required") | |
2343 | 2396 | else { | |
2344 | - | let bp = fromBase58String( | |
2397 | + | let bp = fromBase58String(lq) | |
2345 | 2398 | let cL = toString(gH.caller) | |
2346 | 2399 | let jp = value(assetInfo(bp)) | |
2347 | - | let jq = br( | |
2400 | + | let jq = br(lq) | |
2348 | 2401 | if (!(isDefined(getInteger(jq)))) | |
2349 | 2402 | then throw((("NFT " + jp.name) + " is not staked")) | |
2350 | 2403 | else if (!(isDefined(getString(bH(cL))))) | |
2351 | 2404 | then throw((("The duck " + jp.name) + " is not staked")) | |
2352 | 2405 | else { | |
2353 | - | let js = valueOrErrorMessage(getString(bG( | |
2406 | + | let js = valueOrErrorMessage(getString(bG(lq)), (("NFT " + jp.name) + " is orphaned")) | |
2354 | 2407 | if ((js != cL)) | |
2355 | 2408 | then throw("Staked NFT is not yours") | |
2356 | - | else if (km( | |
2409 | + | else if (km(lq)) | |
2357 | 2410 | then throw("unstakeDuck_checkTournament") | |
2358 | - | else if (kn( | |
2411 | + | else if (kn(lq)) | |
2359 | 2412 | then throw("unstakeDuck_checkDelivery") | |
2360 | 2413 | else { | |
2361 | - | let iY = z( | |
2362 | - | let iZ = ag(valueOrElse(getInteger(D( | |
2414 | + | let iY = z(lq) | |
2415 | + | let iZ = ag(valueOrElse(getInteger(D(lq)), 0)) | |
2363 | 2416 | let as = valueOrElse(getInteger(iY), iZ) | |
2364 | 2417 | if ((iZ > as)) | |
2365 | 2418 | then throw((("Please heal your duck to " + toString(iZ)) + "hp before unstaking")) | |
2366 | - | else [ScriptTransfer(gH.caller, 1, bp), DeleteEntry(jq), DeleteEntry(iY), DeleteEntry(bJ( | |
2419 | + | else ([ScriptTransfer(gH.caller, 1, bp), DeleteEntry(jq), DeleteEntry(iY), DeleteEntry(bJ(lq)), DeleteEntry(bG(lq)), DeleteEntry(bu(aD, lq, cL)), DeleteEntry(bH(cL))] ++ lg) | |
2367 | 2420 | } | |
2368 | 2421 | } | |
2369 | 2422 | } | |
2370 | 2423 | } | |
2371 | 2424 | ||
2372 | 2425 | ||
2373 | 2426 | ||
2374 | 2427 | @Callable(gH) | |
2375 | - | func claimRes (eF, | |
2376 | - | let | |
2428 | + | func claimRes (eF,ls) = { | |
2429 | + | let lg = kZ(gH) | |
2377 | 2430 | if ((size(gH.payments) != 0)) | |
2378 | 2431 | then throw("No payments required") | |
2379 | 2432 | else { | |
2380 | 2433 | let c = toString(gH.originCaller) | |
2381 | - | let fg = ju(c, eF, ex, | |
2434 | + | let fg = ju(c, eF, ex, ls) | |
2382 | 2435 | let A = valueOrErrorMessage(getString(bH(c)), "You don't have a duck staked") | |
2383 | - | $Tuple2(((((fg._1 ++ jW(A, fraction(U, eF, cD))._1) :+ StringEntry(fg._2, makeString(fg._3, ":"))) :+ StringEntry(fg._4, makeString(fg._5, ":"))) | |
2384 | - | } | |
2385 | - | } | |
2386 | - | ||
2387 | - | ||
2388 | - | ||
2389 | - | @Callable(gH) | |
2390 | - | func claimResToWH (eF, | |
2391 | - | let | |
2436 | + | $Tuple2(((((fg._1 ++ jW(A, fraction(U, eF, cD))._1) :+ StringEntry(fg._2, makeString(fg._3, ":"))) :+ StringEntry(fg._4, makeString(fg._5, ":"))) ++ lg), fg._3[bi]) | |
2437 | + | } | |
2438 | + | } | |
2439 | + | ||
2440 | + | ||
2441 | + | ||
2442 | + | @Callable(gH) | |
2443 | + | func claimResToWH (eF,ls) = { | |
2444 | + | let lg = kZ(gH) | |
2392 | 2445 | if ((size(gH.payments) != 0)) | |
2393 | 2446 | then throw("No payments required") | |
2394 | 2447 | else { | |
2395 | 2448 | let c = toString(gH.originCaller) | |
2396 | - | let fg = ju(c, eF, ew, | |
2397 | - | $Tuple2(((((fg._1 ++ kc(c, fraction(U, eF, cD))._1) :+ StringEntry(fg._2, makeString(fg._3, ":"))) :+ StringEntry(fg._4, makeString(fg._5, ":"))) | |
2449 | + | let fg = ju(c, eF, ew, ls) | |
2450 | + | $Tuple2(((((fg._1 ++ kc(c, fraction(U, eF, cD))._1) :+ StringEntry(fg._2, makeString(fg._3, ":"))) :+ StringEntry(fg._4, makeString(fg._5, ":"))) ++ lg), fg._5[aZ]) | |
2398 | 2451 | } | |
2399 | 2452 | } | |
2400 | 2453 | ||
2401 | 2454 | ||
2402 | 2455 | ||
2403 | 2456 | @Callable(gH) | |
2404 | 2457 | func flight (iN,iO) = { | |
2405 | - | let | |
2458 | + | let lg = ld(gH) | |
2406 | 2459 | if ((size(gH.payments) != 0)) | |
2407 | 2460 | then throw("No payments required") | |
2408 | 2461 | else { | |
2409 | 2462 | let bL = toString(gH.caller) | |
2410 | 2463 | let hm = iM(bL, iN, iO) | |
2411 | 2464 | let iS = hm._1 | |
2412 | 2465 | let A = hm._2 | |
2413 | - | let | |
2414 | - | let jn = valueOrElse(getString( | |
2466 | + | let lb = bJ(A) | |
2467 | + | let jn = valueOrElse(getString(lb), aJ) | |
2415 | 2468 | let iU = hm._4 | |
2416 | 2469 | if ((iU == jn)) | |
2417 | 2470 | then throw("You can't fly to the same location") | |
2418 | 2471 | else { | |
2419 | 2472 | let cr = split(iU, "_") | |
2420 | - | let | |
2421 | - | let | |
2473 | + | let lt = (cr[bm] == "T") | |
2474 | + | let lu = (cr[bm] == "D") | |
2422 | 2475 | let gu = F(A) | |
2423 | - | let | |
2424 | - | let | |
2425 | - | let | |
2426 | - | let | |
2427 | - | let | |
2476 | + | let lv = valueOrElse(getString(gu), ",;,_,;,_,;,_,;,_,;,_,;,") | |
2477 | + | let lw = fh(lv, hm._5) | |
2478 | + | let lx = lw._1 | |
2479 | + | let ly = lw._2 | |
2480 | + | let lz = if (cm(de, jn)) | |
2428 | 2481 | then if (!(ck(iU))) | |
2429 | 2482 | then cp(jn, iU) | |
2430 | 2483 | else if ((iS > 0)) | |
2431 | 2484 | then $Tuple2(iU, iS) | |
2432 | 2485 | else $Tuple2(jn, 0) | |
2433 | 2486 | else if (cc(de, jn)) | |
2434 | 2487 | then if (!(cc(de, iU))) | |
2435 | 2488 | then throw("Your duck is taking part in the tournament") | |
2436 | 2489 | else { | |
2437 | - | let | |
2438 | - | let | |
2490 | + | let lA = parseIntValue(cr[bn]) | |
2491 | + | let lB = split(jn, "_") | |
2439 | 2492 | let ce = valueOrElse(getInteger(de, bP), 0) | |
2440 | - | if (( | |
2493 | + | if ((lA != (parseIntValue(lB[bn]) + 1))) | |
2441 | 2494 | then cp(jn, iU) | |
2442 | 2495 | else if ((iS > 0)) | |
2443 | 2496 | then { | |
2444 | - | let | |
2445 | - | let | |
2446 | - | then invoke(de, "saveDuckResult", [A, | |
2497 | + | let lC = valueOrElse(getInteger(de, bT(ce, A)), 0) | |
2498 | + | let lD = if ((lA > lC)) | |
2499 | + | then invoke(de, "saveDuckResult", [A, lA], nil) | |
2447 | 2500 | else unit | |
2448 | - | if (( | |
2501 | + | if ((lD == lD)) | |
2449 | 2502 | then $Tuple2(iU, iS) | |
2450 | 2503 | else throw("Strict value is not equal to itself.") | |
2451 | 2504 | } | |
2452 | 2505 | else $Tuple2(jn, 0) | |
2453 | 2506 | } | |
2454 | 2507 | else if (!(ch(jn))) | |
2455 | 2508 | then { | |
2456 | - | let | |
2457 | - | if (( | |
2458 | - | then if ( | |
2459 | - | then | |
2509 | + | let lE = dB(invoke(this, "autoExitDelivery", [A], nil)) | |
2510 | + | if ((lE == lE)) | |
2511 | + | then if (lu) | |
2512 | + | then lE | |
2460 | 2513 | else if ((iS > 0)) | |
2461 | 2514 | then $Tuple2(iU, iS) | |
2462 | - | else $Tuple2( | |
2515 | + | else $Tuple2(lE._1, 0) | |
2463 | 2516 | else throw("Strict value is not equal to itself.") | |
2464 | 2517 | } | |
2465 | - | else if (!( | |
2518 | + | else if (!(lu)) | |
2466 | 2519 | then throw("Your duck is taking part in delivery") | |
2467 | 2520 | else if (!(ch(iU))) | |
2468 | 2521 | then cp(jn, iU) | |
2469 | 2522 | else { | |
2470 | - | let | |
2471 | - | let | |
2472 | - | if (( | |
2523 | + | let lA = parseIntValue(cr[bn]) | |
2524 | + | let lB = split(jn, "_") | |
2525 | + | if ((lA != (parseIntValue(lB[bn]) + 1))) | |
2473 | 2526 | then cp(jn, iU) | |
2474 | - | else if ((iS > 0)) | |
2527 | + | else if (if ((iS > 0)) | |
2528 | + | then (3 > lA) | |
2529 | + | else false) | |
2475 | 2530 | then $Tuple2(iU, iS) | |
2476 | 2531 | else { | |
2477 | - | let | |
2478 | - | if (( | |
2479 | - | then | |
2532 | + | let lE = dB(invoke(this, "autoExitDelivery", [A], nil)) | |
2533 | + | if ((lE == lE)) | |
2534 | + | then lE | |
2480 | 2535 | else throw("Strict value is not equal to itself.") | |
2481 | 2536 | } | |
2482 | 2537 | } | |
2483 | - | let | |
2484 | - | let | |
2485 | - | $Tuple2(([StringEntry( | |
2538 | + | let lF = lz._1 | |
2539 | + | let lG = lz._2 | |
2540 | + | $Tuple2(((([StringEntry(lb, lF), StringEntry(gu, lx), IntegerEntry(z(A), iS)] ++ lg) ++ (if (ly) | |
2486 | 2541 | then [StringEntry(L(A), "0_0_0_0_0")] | |
2487 | - | else | |
2488 | - | ||
2489 | - | ||
2542 | + | else nil)) ++ jW(A, if ((iS > 0)) | |
2543 | + | then V | |
2544 | + | else W)._1), hm._3) | |
2490 | 2545 | } | |
2491 | 2546 | } | |
2492 | 2547 | } | |
2493 | 2548 | ||
2494 | 2549 | ||
2495 | 2550 | ||
2496 | 2551 | @Callable(gH) | |
2497 | - | func heal ( | |
2498 | - | let | |
2499 | - | if (if (if ((0 > | |
2552 | + | func heal (lH,lI,lJ) = { | |
2553 | + | let lg = kZ(gH) | |
2554 | + | if (if (if ((0 > lH)) | |
2500 | 2555 | then true | |
2501 | - | else (0 > | |
2556 | + | else (0 > lI)) | |
2502 | 2557 | then true | |
2503 | - | else (0 > | |
2558 | + | else (0 > lJ)) | |
2504 | 2559 | then throw("Quantity cannot be negative") | |
2505 | 2560 | else { | |
2506 | 2561 | let A = valueOrErrorMessage(getString(bH(toString(gH.caller))), "You don't have a duck staked") | |
2507 | 2562 | if (km(A)) | |
2508 | 2563 | then throw("heal_checkTournament") | |
2509 | 2564 | else if (kn(A)) | |
2510 | 2565 | then throw("heal_checkDelivery") | |
2511 | 2566 | else { | |
2512 | - | let | |
2567 | + | let lK = [lH, lI, lJ] | |
2513 | 2568 | let iY = z(A) | |
2514 | 2569 | let iZ = ag(valueOrElse(getInteger(D(A)), 0)) | |
2515 | - | let | |
2516 | - | if (( | |
2570 | + | let lL = valueOrElse(getInteger(iY), iZ) | |
2571 | + | if ((lL >= iZ)) | |
2517 | 2572 | then throw((("HP should be < " + toString(iZ)) + " to heal")) | |
2518 | 2573 | else { | |
2519 | 2574 | let hI = bI(A) | |
2520 | 2575 | let il = hH(hI) | |
2521 | - | let | |
2576 | + | let lM = if ((il[bk] == "")) | |
2522 | 2577 | then nil | |
2523 | 2578 | else split_4C(il[bk], "_") | |
2524 | - | func | |
2579 | + | func lN (eO,co) = { | |
2525 | 2580 | let dz = eO._2 | |
2526 | - | let hd = if ((size( | |
2527 | - | then parseIntValue( | |
2581 | + | let hd = if ((size(lM) > dz)) | |
2582 | + | then parseIntValue(lM[dz]) | |
2528 | 2583 | else 0 | |
2529 | 2584 | if ((3 > dz)) | |
2530 | 2585 | then { | |
2531 | - | let | |
2532 | - | if (( | |
2586 | + | let lO = lK[dz] | |
2587 | + | if ((lO > hd)) | |
2533 | 2588 | then throw(((("You have only " + toString(hd)) + " of ") + aO[dz])) | |
2534 | - | else $Tuple3((eO._1 :+ toString((hd - | |
2589 | + | else $Tuple3((eO._1 :+ toString((hd - lO))), (dz + 1), (eO._3 + (parseIntValue(split(co, "_")[aU]) * lO))) | |
2535 | 2590 | } | |
2536 | 2591 | else $Tuple3((eO._1 :+ toString(hd)), (dz + 1), eO._3) | |
2537 | 2592 | } | |
2538 | 2593 | ||
2539 | 2594 | let fg = { | |
2540 | 2595 | let eQ = aS | |
2541 | 2596 | let eR = size(eQ) | |
2542 | 2597 | let eS = $Tuple3(nil, 0, 0) | |
2543 | 2598 | func eT (eU,eV) = if ((eV >= eR)) | |
2544 | 2599 | then eU | |
2545 | - | else | |
2600 | + | else lN(eU, eQ[eV]) | |
2546 | 2601 | ||
2547 | 2602 | func eW (eU,eV) = if ((eV >= eR)) | |
2548 | 2603 | then eU | |
2549 | 2604 | else throw("List size exceeds 50") | |
2550 | 2605 | ||
2551 | 2606 | eW(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eS, 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) | |
2552 | 2607 | } | |
2553 | - | let | |
2554 | - | $Tuple2(([IntegerEntry(iY, | |
2608 | + | let lP = min([iZ, (lL + fg._3)]) | |
2609 | + | $Tuple2((([IntegerEntry(iY, lP), StringEntry(hI, makeString_2C([il[bh], il[bi], il[bj], makeString(fg._1, "_")], ":"))] ++ lg) ++ jW(A, (ad * ((lH + lI) + lJ)))._1), lP) | |
2555 | 2610 | } | |
2556 | 2611 | } | |
2557 | 2612 | } | |
2558 | 2613 | } | |
2559 | 2614 | ||
2560 | 2615 | ||
2561 | 2616 | ||
2562 | 2617 | @Callable(gH) | |
2563 | 2618 | func healES () = { | |
2564 | - | let | |
2619 | + | let lg = kZ(gH) | |
2565 | 2620 | if ((size(gH.payments) != 1)) | |
2566 | 2621 | then throw("Exactly one payment required") | |
2567 | 2622 | else { | |
2568 | - | let | |
2569 | - | if (( | |
2623 | + | let lh = value(gH.payments[0]) | |
2624 | + | if ((lh.assetId != cw)) | |
2570 | 2625 | then throw("Allowed USDT payment only!") | |
2571 | 2626 | else { | |
2572 | 2627 | let A = valueOrErrorMessage(getString(bH(toString(gH.caller))), "You don't have a duck staked") | |
2573 | 2628 | if (km(A)) | |
2574 | 2629 | then throw("healES_checkTournament") | |
2575 | 2630 | else if (kn(A)) | |
2576 | 2631 | then throw("healES_checkDelivery") | |
2577 | 2632 | else { | |
2578 | 2633 | let iY = z(A) | |
2579 | 2634 | let iZ = ag(valueOrElse(getInteger(D(A)), 0)) | |
2580 | - | let | |
2581 | - | if (( | |
2635 | + | let lL = valueOrElse(getInteger(iY), iZ) | |
2636 | + | if ((lL > 0)) | |
2582 | 2637 | then throw("HP should be 0 to call Emergency Service") | |
2583 | 2638 | else { | |
2584 | 2639 | let hI = bI(A) | |
2585 | 2640 | let il = hH(hI) | |
2586 | - | let | |
2641 | + | let lM = if ((il[bk] == "")) | |
2587 | 2642 | then nil | |
2588 | 2643 | else split_4C(il[bk], "_") | |
2589 | - | let | |
2590 | - | then parseIntValue( | |
2644 | + | let lQ = if ((size(lM) > 0)) | |
2645 | + | then parseIntValue(lM[0]) | |
2591 | 2646 | else 0 | |
2592 | - | let | |
2593 | - | then parseIntValue( | |
2647 | + | let lR = if ((size(lM) > 1)) | |
2648 | + | then parseIntValue(lM[1]) | |
2594 | 2649 | else 0 | |
2595 | - | let | |
2596 | - | then parseIntValue( | |
2650 | + | let lS = if ((size(lM) > 2)) | |
2651 | + | then parseIntValue(lM[2]) | |
2597 | 2652 | else 0 | |
2598 | - | if (if (if (( | |
2653 | + | if (if (if ((lQ > 0)) | |
2599 | 2654 | then true | |
2600 | - | else ( | |
2655 | + | else (lR > 0)) | |
2601 | 2656 | then true | |
2602 | - | else ( | |
2657 | + | else (lS > 0)) | |
2603 | 2658 | then throw("You have to use own Medical Kit") | |
2604 | 2659 | else { | |
2605 | - | let | |
2606 | - | let | |
2607 | - | then split_4C(value( | |
2660 | + | let lT = getString(db, bM()) | |
2661 | + | let lU = if (isDefined(lT)) | |
2662 | + | then split_4C(value(lT), "_") | |
2608 | 2663 | else nil | |
2609 | - | let | |
2610 | - | then parseIntValue( | |
2664 | + | let lV = if ((size(lU) > 0)) | |
2665 | + | then parseIntValue(lU[0]) | |
2611 | 2666 | else 0 | |
2612 | - | if ((0 >= | |
2667 | + | if ((0 >= lV)) | |
2613 | 2668 | then throw("There are no Medical Kits L1 at Emergency Service storage") | |
2614 | 2669 | else { | |
2615 | - | let | |
2616 | - | let | |
2670 | + | let lP = (lL + parseIntValue(split(aS[0], "_")[aU])) | |
2671 | + | let lW = makeString([toString((lV - 1)), removeByIndex(lU, 0)], "_") | |
2617 | 2672 | let co = split(aS[0], "_") | |
2618 | - | let | |
2619 | - | let | |
2620 | - | if (( | |
2621 | - | then throw(("Payment attached should be " + toString( | |
2673 | + | let lX = cn(co) | |
2674 | + | let lY = fraction((lX * aL), aK, (cD * aX)) | |
2675 | + | if ((lh.amount != lY)) | |
2676 | + | then throw(("Payment attached should be " + toString(lY))) | |
2622 | 2677 | else { | |
2623 | - | let fg = dv(invoke(db, "updateEsStorage", [ | |
2624 | - | $Tuple2(( | |
2678 | + | let fg = dv(invoke(db, "updateEsStorage", [lW], [AttachedPayment(cw, lY)])) | |
2679 | + | $Tuple2(((lg :+ IntegerEntry(iY, lP)) ++ jW(A, X)._1), fg) | |
2625 | 2680 | } | |
2626 | 2681 | } | |
2627 | 2682 | } | |
2628 | 2683 | } | |
2629 | 2684 | } | |
2630 | 2685 | } | |
2631 | 2686 | } | |
2632 | 2687 | } | |
2633 | 2688 | ||
2634 | 2689 | ||
2635 | 2690 | ||
2636 | 2691 | @Callable(gH) | |
2637 | - | func updateBackpack (A, | |
2692 | + | func updateBackpack (A,lZ) = if ((gH.caller != db)) | |
2638 | 2693 | then throw("permission denied") | |
2639 | - | else $Tuple2([StringEntry(bI(A), | |
2694 | + | else $Tuple2([StringEntry(bI(A), lZ)], lZ) | |
2640 | 2695 | ||
2641 | 2696 | ||
2642 | 2697 | ||
2643 | 2698 | @Callable(gH) | |
2644 | 2699 | func commitForRandom () = { | |
2645 | - | let | |
2646 | - | let | |
2700 | + | let lg = kZ(gH) | |
2701 | + | let ma = (height + do) | |
2647 | 2702 | let c = toString(gH.caller) | |
2648 | - | $Tuple2(([IntegerEntry(dp(c), lX)] :+ lc), lX) | |
2649 | - | } | |
2650 | - | ||
2651 | - | ||
2652 | - | ||
2653 | - | @Callable(gH) | |
2654 | - | func awardSLand (cL) = if ((gH.caller != de)) | |
2655 | - | then throw("Access denied") | |
2656 | - | else if ((size(gH.payments) != 0)) | |
2657 | - | then throw("No payments required") | |
2658 | - | else { | |
2659 | - | let fg = iF(addressFromStringValue(cL), gH.transactionId) | |
2660 | - | $Tuple2(fg._1, fg._2._1) | |
2661 | - | } | |
2703 | + | $Tuple2(([IntegerEntry(dp(c), ma)] ++ lg), ma) | |
2704 | + | } | |
2662 | 2705 | ||
2663 | 2706 | ||
2664 | 2707 | ||
2665 | 2708 | @Callable(gH) | |
2666 | 2709 | func buySLand () = { | |
2667 | - | let | |
2710 | + | let lg = kZ(gH) | |
2668 | 2711 | if ((size(gH.payments) != 1)) | |
2669 | 2712 | then throw("Exactly one payment required") | |
2670 | 2713 | else { | |
2671 | - | let | |
2672 | - | if (( | |
2714 | + | let lh = value(gH.payments[0]) | |
2715 | + | if ((lh.assetId != cw)) | |
2673 | 2716 | then throw("Allowed USDT payment only!") | |
2674 | - | else if (( | |
2717 | + | else if ((lh.amount != ed)) | |
2675 | 2718 | then throw(("Payment attached should be " + toString(ed))) | |
2676 | 2719 | else { | |
2677 | 2720 | let fg = iF(gH.caller, gH.transactionId) | |
2678 | - | let | |
2679 | - | $Tuple2((((fg._1 :+ ScriptTransfer(db, | |
2721 | + | let mb = dy(invoke(df, "burnAcres", [ee], nil)) | |
2722 | + | $Tuple2((((fg._1 :+ ScriptTransfer(db, lh.amount, cw)) ++ kc(toString(gH.caller), Z)._1) ++ lg), $Tuple2(fg._2._1, mb)) | |
2680 | 2723 | } | |
2681 | 2724 | } | |
2682 | 2725 | } | |
2683 | 2726 | ||
2684 | 2727 | ||
2685 | 2728 | ||
2686 | 2729 | @Callable(gH) | |
2687 | 2730 | func expedition (iN,iO) = { | |
2688 | - | let | |
2731 | + | let lg = kZ(gH) | |
2689 | 2732 | if ((size(gH.payments) != 0)) | |
2690 | 2733 | then throw("No payments required") | |
2691 | 2734 | else { | |
2692 | 2735 | let bL = toString(gH.caller) | |
2693 | 2736 | let hm = iM(bL, iN, iO) | |
2694 | 2737 | let A = hm._2 | |
2695 | 2738 | let iY = z(A) | |
2696 | 2739 | let hI = bI(A) | |
2697 | 2740 | let il = hH(hI) | |
2698 | 2741 | let jN = split(il[bj], "_") | |
2699 | 2742 | let jP = makeString(fa(true, jN, ec), "_") | |
2700 | 2743 | let gu = F(A) | |
2701 | - | let | |
2702 | - | let | |
2703 | - | let | |
2704 | - | let | |
2705 | - | let | |
2706 | - | let iL = | |
2744 | + | let lv = valueOrElse(getString(gu), ",;,_,;,_,;,_,;,_,;,_,;,") | |
2745 | + | let mc = fh(lv, hm._5) | |
2746 | + | let lx = mc._1 | |
2747 | + | let ly = mc._2 | |
2748 | + | let md = iF(gH.caller, gH.transactionId) | |
2749 | + | let iL = md._2._1 | |
2707 | 2750 | let fg = if ((0 >= hm._1)) | |
2708 | - | then $Tuple3([IntegerEntry(iY, 0), StringEntry(gu, | |
2709 | - | else $Tuple3(( | |
2751 | + | then $Tuple3([IntegerEntry(iY, 0), StringEntry(gu, lx)], "", 0) | |
2752 | + | else $Tuple3((md._1 ++ (if (ly) | |
2710 | 2753 | then [StringEntry(L(A), "0_0_0_0_0")] | |
2711 | - | else ((((nil :+ StringEntry(bJ(A), makeString([ | |
2754 | + | else ((((nil :+ StringEntry(bJ(A), makeString([md._2._2, "L", iL], "_"))) :+ IntegerEntry(iY, hm._1)) :+ StringEntry(gu, lx)) :+ StringEntry(hI, makeString([il[bh], il[bi], jP, il[bk]], ":"))))), iL, hm._3) | |
2712 | 2755 | if (km(A)) | |
2713 | 2756 | then throw("expedition_checkTournament") | |
2714 | 2757 | else if (kn(A)) | |
2715 | 2758 | then throw("expedition_checkDelivery") | |
2716 | 2759 | else { | |
2717 | - | let | |
2718 | - | $Tuple2(((fg._1 ++ jW(A, Z)._1) | |
2760 | + | let mb = dy(invoke(df, "burnAcres", [ee], nil)) | |
2761 | + | $Tuple2(((fg._1 ++ jW(A, Z)._1) ++ lg), $Tuple3(fg._2, fg._3, mb)) | |
2719 | 2762 | } | |
2720 | 2763 | } | |
2721 | 2764 | } | |
2722 | 2765 | ||
2723 | 2766 | ||
2724 | 2767 | ||
2725 | 2768 | @Callable(gH) | |
2726 | 2769 | func buySLandForAcres () = { | |
2727 | - | let | |
2770 | + | let lg = kZ(gH) | |
2728 | 2771 | if ((size(gH.payments) != 1)) | |
2729 | 2772 | then throw("exactly 1 payment must be attached") | |
2730 | 2773 | else { | |
2731 | - | let | |
2732 | - | let fn = | |
2733 | - | if (if (!(isDefined( | |
2774 | + | let lh = gH.payments[0] | |
2775 | + | let fn = lh.amount | |
2776 | + | if (if (!(isDefined(lh.assetId))) | |
2734 | 2777 | then true | |
2735 | - | else (value( | |
2778 | + | else (value(lh.assetId) != dn)) | |
2736 | 2779 | then throw("ACRES payments only!") | |
2737 | 2780 | else if ((fn != ee)) | |
2738 | 2781 | then throw(("Payment attached should be " + toString(ee))) | |
2739 | 2782 | else { | |
2740 | 2783 | let fg = iF(gH.caller, gH.transactionId) | |
2741 | - | let | |
2742 | - | $Tuple2(((fg._1 ++ kc(toString(gH.caller), Z)._1) | |
2784 | + | let mb = dy(invoke(df, "burnAcres", [ee], [AttachedPayment(dn, fn)])) | |
2785 | + | $Tuple2(((fg._1 ++ kc(toString(gH.caller), Z)._1) ++ lg), $Tuple2(fg._2._1, mb)) | |
2743 | 2786 | } | |
2744 | 2787 | } | |
2745 | 2788 | } | |
2746 | 2789 | ||
2747 | 2790 | ||
2748 | 2791 | ||
2749 | 2792 | @Callable(gH) | |
2750 | 2793 | func upgradeInfra (P) = { | |
2751 | - | let | |
2794 | + | let lg = kZ(gH) | |
2752 | 2795 | if ((size(gH.payments) != 0)) | |
2753 | 2796 | then throw("No payments required") | |
2754 | 2797 | else { | |
2755 | 2798 | let fg = jH(true, gH.caller, 0, P) | |
2756 | 2799 | let A = valueOrErrorMessage(getString(bH(toString(gH.caller))), "You don't have a duck staked") | |
2757 | - | $Tuple2(((fg._1 | |
2758 | - | } | |
2759 | - | } | |
2760 | - | ||
2761 | - | ||
2762 | - | ||
2763 | - | @Callable(gH) | |
2764 | - | func activateArtifact ( | |
2765 | - | let | |
2800 | + | $Tuple2(((fg._1 ++ lg) ++ jW(A, fraction(aa, fg._3, cD))._1), fg._2) | |
2801 | + | } | |
2802 | + | } | |
2803 | + | ||
2804 | + | ||
2805 | + | ||
2806 | + | @Callable(gH) | |
2807 | + | func activateArtifact (me,mf) = { | |
2808 | + | let lg = kZ(gH) | |
2766 | 2809 | if ((size(gH.payments) != 0)) | |
2767 | 2810 | then throw("No payments required") | |
2768 | 2811 | else { | |
2769 | 2812 | let c = toString(gH.caller) | |
2770 | 2813 | let fg = { | |
2771 | - | let cx = | |
2814 | + | let cx = me | |
2772 | 2815 | if (("PRESALE" == cx)) | |
2773 | - | then kk(c, | |
2816 | + | then kk(c, mf) | |
2774 | 2817 | else if (("ONBOARD" == cx)) | |
2775 | 2818 | then kd(c) | |
2776 | 2819 | else throw("Unknown artifact") | |
2777 | 2820 | } | |
2778 | - | (fg | |
2821 | + | (fg ++ lg) | |
2779 | 2822 | } | |
2780 | 2823 | } | |
2781 | 2824 | ||
2782 | 2825 | ||
2783 | 2826 | ||
2784 | 2827 | @Callable(gH) | |
2785 | 2828 | func mergeLands (kA) = { | |
2786 | - | let | |
2829 | + | let lg = kZ(gH) | |
2787 | 2830 | if ((size(gH.payments) != 0)) | |
2788 | 2831 | then throw("No payments required") | |
2789 | 2832 | else { | |
2790 | 2833 | let fg = kY(toString(gH.caller), kA) | |
2791 | - | $Tuple2(((fg._1 | |
2792 | - | } | |
2793 | - | } | |
2794 | - | ||
2795 | - | ||
2796 | - | ||
2797 | - | @Callable(gH) | |
2798 | - | func cargoExchange ( | |
2799 | - | let | |
2834 | + | $Tuple2(((fg._1 ++ lg) ++ kc(toString(gH.caller), ab)._1), fg._2) | |
2835 | + | } | |
2836 | + | } | |
2837 | + | ||
2838 | + | ||
2839 | + | ||
2840 | + | @Callable(gH) | |
2841 | + | func cargoExchange (mg,P) = { | |
2842 | + | let lg = kZ(gH) | |
2800 | 2843 | if ((size(gH.payments) != 0)) | |
2801 | 2844 | then throw("No payments required") | |
2802 | 2845 | else { | |
2803 | - | let ik = split_4C( | |
2846 | + | let ik = split_4C(mg, ":") | |
2804 | 2847 | let c = toString(gH.originCaller) | |
2805 | 2848 | let jp = value(assetInfo(fromBase58String(P))) | |
2806 | 2849 | let jq = br(P) | |
2807 | 2850 | if (!(isDefined(getInteger(jq)))) | |
2808 | 2851 | then throw((jp.name + " is not staked")) | |
2809 | 2852 | else { | |
2810 | 2853 | let js = valueOrErrorMessage(getString(bo(P)), (("NFT " + jp.name) + " is orphaned")) | |
2811 | 2854 | if ((js != c)) | |
2812 | 2855 | then throw((aC + " is not yours")) | |
2813 | 2856 | else { | |
2814 | 2857 | let hW = (dE(split(jp.description, "_")[dh]) / cE) | |
2815 | 2858 | let hX = valueOrElse(getInteger(by(P)), 0) | |
2816 | 2859 | let A = valueOrErrorMessage(getString(bH(c)), "You don't have a duck staked") | |
2817 | 2860 | let jn = valueOrElse(getString(bJ(A)), aJ) | |
2818 | 2861 | let cf = split(value(jn), "_") | |
2819 | 2862 | if ((cf[bm] != "L")) | |
2820 | 2863 | then throw((("Duck location type is " + cf[bm]) + ", but should be L")) | |
2821 | 2864 | else if ((cf[bn] != P)) | |
2822 | 2865 | then throw(("Duck should be on the land " + P)) | |
2823 | 2866 | else { | |
2824 | 2867 | let hV = bx(P) | |
2825 | 2868 | let hM = hU(hV, hW, hX) | |
2826 | 2869 | let hI = bI(A) | |
2827 | 2870 | let il = hH(hI) | |
2828 | 2871 | let fg = ij(ik, hM, il) | |
2829 | 2872 | let id = split(hM[bc], "_") | |
2830 | 2873 | let jE = (parseIntValue(id[be]) + fg._7) | |
2831 | 2874 | let jF = (parseIntValue(id[bf]) - fg._7) | |
2832 | - | [StringEntry(hI, makeString_2C([il[bh], fg._4, fg._5, fg._6], ":")), StringEntry(hV, makeString_2C([hM[aY], fg._1, fg._2, fg._3, makeString([id[bd], toString(jE), toString(jF), id[bg]], "_")], ":")) | |
2875 | + | ([StringEntry(hI, makeString_2C([il[bh], fg._4, fg._5, fg._6], ":")), StringEntry(hV, makeString_2C([hM[aY], fg._1, fg._2, fg._3, makeString([id[bd], toString(jE), toString(jF), id[bg]], "_")], ":"))] ++ lg) | |
2833 | 2876 | } | |
2834 | 2877 | } | |
2835 | 2878 | } | |
2836 | 2879 | } | |
2837 | 2880 | } | |
2838 | 2881 | ||
2839 | 2882 | ||
2840 | 2883 | ||
2841 | 2884 | @Callable(gH) | |
2842 | 2885 | func saveWarehouse (hZ,P) = if ((gH.caller != db)) | |
2843 | 2886 | then throw("Access denied") | |
2844 | 2887 | else { | |
2845 | 2888 | let hV = bx(P) | |
2846 | 2889 | let ia = split_4C(hZ, ":") | |
2847 | 2890 | if ((size(ia) != 5)) | |
2848 | 2891 | then throw("warehouse string should contain 4 ':' separators") | |
2849 | 2892 | else { | |
2850 | - | let | |
2893 | + | let mh = split(ia[bc], "_")[bd] | |
2851 | 2894 | let jE = hL(ia) | |
2852 | - | let | |
2853 | - | let jF = (( | |
2854 | - | let | |
2855 | - | $Tuple2([StringEntry(hV, | |
2895 | + | let mi = hJ(ia[aY]) | |
2896 | + | let jF = ((mi - parseIntValue(mh)) - jE) | |
2897 | + | let mj = makeString_2C([ia[aY], ia[aZ], ia[ba], ia[bb], makeString([mh, toString(jE), toString(jF), toString(mi)], "_")], ":") | |
2898 | + | $Tuple2([StringEntry(hV, mj)], mj) | |
2856 | 2899 | } | |
2857 | 2900 | } | |
2858 | 2901 | ||
2859 | 2902 | ||
2860 | 2903 | ||
2861 | 2904 | @Callable(gH) | |
2862 | 2905 | func fixWarehouseFormat (P) = if ((gH.caller != da)) | |
2863 | 2906 | then throw("Access denied") | |
2864 | 2907 | else { | |
2865 | 2908 | let hV = bx(P) | |
2866 | 2909 | let jp = value(assetInfo(fromBase58String(P))) | |
2867 | 2910 | let hW = (dE(split(jp.description, "_")[dh]) / cE) | |
2868 | 2911 | let hX = valueOrElse(getInteger(by(P)), 0) | |
2869 | 2912 | let ia = hU(hV, hW, hX) | |
2870 | - | let | |
2913 | + | let mh = dy(invoke(db, "recalcLockedVolumeREADONLY", [P, ia], nil)) | |
2871 | 2914 | let jE = hL(ia) | |
2872 | - | let | |
2873 | - | let jF = (( | |
2874 | - | let | |
2875 | - | $Tuple2([StringEntry(hV, | |
2915 | + | let mi = hJ(ia[aY]) | |
2916 | + | let jF = ((mi - mh) - jE) | |
2917 | + | let mj = makeString_2C([ia[aY], ia[aZ], ia[ba], ia[bb], makeString([toString(mh), toString(jE), toString(jF), toString(mi)], "_")], ":") | |
2918 | + | $Tuple2([StringEntry(hV, mj)], mj) | |
2876 | 2919 | } | |
2877 | 2920 | ||
2878 | 2921 | ||
2879 | 2922 | ||
2880 | 2923 | @Callable(gH) | |
2881 | 2924 | func fixContinentProportions (kA) = if ((gH.caller != da)) | |
2882 | 2925 | then throw("Access denied") | |
2883 | 2926 | else { | |
2884 | - | func | |
2927 | + | func mk (eO,ml) = (eO :+ valueOrElse(getString(dr(ml)), "0_0_0_0_0_0")) | |
2885 | 2928 | ||
2886 | 2929 | let gr = { | |
2887 | 2930 | let eQ = aP | |
2888 | 2931 | let eR = size(eQ) | |
2889 | 2932 | let eS = nil | |
2890 | 2933 | func eT (eU,eV) = if ((eV >= eR)) | |
2891 | 2934 | then eU | |
2892 | - | else | |
2935 | + | else mk(eU, eQ[eV]) | |
2893 | 2936 | ||
2894 | 2937 | func eW (eU,eV) = if ((eV >= eR)) | |
2895 | 2938 | then eU | |
2896 | 2939 | else throw("List size exceeds 5") | |
2897 | 2940 | ||
2898 | 2941 | eW(eT(eT(eT(eT(eT(eS, 0), 1), 2), 3), 4), 5) | |
2899 | 2942 | } | |
2900 | - | func | |
2943 | + | func mm (eO,P) = { | |
2901 | 2944 | let jp = value(assetInfo(fromBase58String(P))) | |
2902 | 2945 | let jt = split(jp.description, "_") | |
2903 | 2946 | let hW = (dE(jt[dh]) / cE) | |
2904 | - | let | |
2947 | + | let ml = jt[dj] | |
2905 | 2948 | let gD = gJ(jt[di]) | |
2906 | - | let hl = value(indexOf(aP, | |
2949 | + | let hl = value(indexOf(aP, ml)) | |
2907 | 2950 | let kP = split(eO[hl], "_") | |
2908 | - | let | |
2909 | - | let cx = | |
2951 | + | let mn = makeString(gB(kP, gD, hW, 1), "_") | |
2952 | + | let cx = ml | |
2910 | 2953 | if (("Americas" == cx)) | |
2911 | - | then [ | |
2954 | + | then [mn, eO[1], eO[2], eO[3], eO[4]] | |
2912 | 2955 | else if (("Europe" == cx)) | |
2913 | - | then [eO[0], | |
2956 | + | then [eO[0], mn, eO[2], eO[3], eO[4]] | |
2914 | 2957 | else if (("Asia" == cx)) | |
2915 | - | then [eO[0], eO[1], | |
2958 | + | then [eO[0], eO[1], mn, eO[3], eO[4]] | |
2916 | 2959 | else if (("Africa" == cx)) | |
2917 | - | then [eO[0], eO[1], eO[2], | |
2960 | + | then [eO[0], eO[1], eO[2], mn, eO[4]] | |
2918 | 2961 | else if (("Oceania" == cx)) | |
2919 | - | then [eO[0], eO[1], eO[2], eO[3], | |
2962 | + | then [eO[0], eO[1], eO[2], eO[3], mn] | |
2920 | 2963 | else throw("wrong continent") | |
2921 | 2964 | } | |
2922 | 2965 | ||
2923 | 2966 | let eZ = { | |
2924 | 2967 | let eQ = kA | |
2925 | 2968 | let eR = size(eQ) | |
2926 | 2969 | let eS = gr | |
2927 | 2970 | func hC (eU,eV) = if ((eV >= eR)) | |
2928 | 2971 | then eU | |
2929 | - | else | |
2972 | + | else mm(eU, eQ[eV]) | |
2930 | 2973 | ||
2931 | 2974 | func hD (eU,eV) = if ((eV >= eR)) | |
2932 | 2975 | then eU | |
2933 | 2976 | else throw("List size exceeds 100") | |
2934 | 2977 | ||
2935 | 2978 | hD(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(hC(eS, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
2936 | 2979 | } | |
2937 | 2980 | $Tuple2([StringEntry(dr("Americas"), eZ[0]), StringEntry(dr("Europe"), eZ[1]), StringEntry(dr("Asia"), eZ[2]), StringEntry(dr("Africa"), eZ[3]), StringEntry(dr("Oceania"), eZ[4])], 0) | |
2938 | 2981 | } | |
2939 | 2982 | ||
2940 | 2983 | ||
2941 | 2984 | ||
2942 | 2985 | @Callable(gH) | |
2943 | 2986 | func fixStakedPieces (cL) = if ((gH.caller != da)) | |
2944 | 2987 | then throw("Access denied") | |
2945 | 2988 | else { | |
2946 | 2989 | let kT = if ((cL == "")) | |
2947 | 2990 | then 0 | |
2948 | 2991 | else { | |
2949 | 2992 | let kM = getString(an, dt(cL)) | |
2950 | 2993 | let kI = if (isDefined(kM)) | |
2951 | 2994 | then split_51C(value(kM), "_") | |
2952 | 2995 | else nil | |
2953 | - | func | |
2996 | + | func mo (eO,P) = { | |
2954 | 2997 | let jp = value(assetInfo(fromBase58String(P))) | |
2955 | 2998 | let dF = split(jp.description, "_")[dh] | |
2956 | 2999 | (eO + dE(dF)) | |
2957 | 3000 | } | |
2958 | 3001 | ||
2959 | 3002 | let eQ = kI | |
2960 | 3003 | let eR = size(eQ) | |
2961 | 3004 | let eS = 0 | |
2962 | 3005 | func eT (eU,eV) = if ((eV >= eR)) | |
2963 | 3006 | then eU | |
2964 | - | else | |
3007 | + | else mo(eU, eQ[eV]) | |
2965 | 3008 | ||
2966 | 3009 | func eW (eU,eV) = if ((eV >= eR)) | |
2967 | 3010 | then eU | |
2968 | 3011 | else throw("List size exceeds 100") | |
2969 | 3012 | ||
2970 | 3013 | eW(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eS, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
2971 | 3014 | } | |
2972 | 3015 | $Tuple2([IntegerEntry(du(cL), kT)], kT) | |
2973 | 3016 | } | |
2974 | 3017 | ||
2975 | 3018 | ||
2976 | 3019 | ||
2977 | 3020 | @Callable(gH) | |
2978 | 3021 | func setCustomName (bp,kK,bt) = { | |
2979 | - | let | |
3022 | + | let lg = kZ(gH) | |
2980 | 3023 | if ((size(gH.payments) != 1)) | |
2981 | 3024 | then throw("Exactly one payment required") | |
2982 | 3025 | else { | |
2983 | - | let | |
2984 | - | if (( | |
3026 | + | let lh = value(gH.payments[0]) | |
3027 | + | if ((lh.assetId != cw)) | |
2985 | 3028 | then throw("Allowed USDT payment only!") | |
2986 | - | else if (( | |
3029 | + | else if ((lh.amount != dZ)) | |
2987 | 3030 | then throw(("Payment should be " + toString(dZ))) | |
2988 | 3031 | else if (contains(kK, "__")) | |
2989 | 3032 | then throw(("Name should not contain '__': " + kK)) | |
2990 | 3033 | else if ((size(kK) > ea)) | |
2991 | 3034 | then throw(("Name too long, maxLength=" + toString(ea))) | |
2992 | 3035 | else { | |
2993 | 3036 | let c = toString(gH.originCaller) | |
2994 | - | let | |
3037 | + | let mp = { | |
2995 | 3038 | let cx = bt | |
2996 | 3039 | if (("ACCOUNT" == cx)) | |
2997 | 3040 | then { | |
2998 | - | let | |
2999 | - | let | |
3000 | - | if (isDefined( | |
3041 | + | let mq = eu(kK) | |
3042 | + | let mr = getString(mq) | |
3043 | + | if (isDefined(mr)) | |
3001 | 3044 | then throw(("Name already registered: " + kK)) | |
3002 | 3045 | else { | |
3003 | - | let | |
3004 | - | let | |
3005 | - | let | |
3006 | - | then [DeleteEntry(eu(value( | |
3046 | + | let ms = bB(c) | |
3047 | + | let mt = getString(ms) | |
3048 | + | let mu = if (isDefined(mt)) | |
3049 | + | then [DeleteEntry(eu(value(mt)))] | |
3007 | 3050 | else nil | |
3008 | - | ((( | |
3051 | + | (((mu :+ StringEntry(ms, kK)) :+ StringEntry(mq, c)) ++ kc(c, Y)._1) | |
3009 | 3052 | } | |
3010 | 3053 | } | |
3011 | 3054 | else if (("LAND" == cx)) | |
3012 | 3055 | then { | |
3013 | 3056 | let jp = value(assetInfo(fromBase58String(bp))) | |
3014 | 3057 | let jq = br(bp) | |
3015 | 3058 | if (!(isDefined(getInteger(jq)))) | |
3016 | 3059 | then throw((jp.name + " is not staked")) | |
3017 | 3060 | else { | |
3018 | 3061 | let js = valueOrErrorMessage(getString(bo(bp)), (("NFT " + jp.name) + " is orphaned")) | |
3019 | 3062 | if ((js != c)) | |
3020 | 3063 | then throw((aC + " is not yours")) | |
3021 | 3064 | else { | |
3022 | - | let | |
3023 | - | let | |
3024 | - | if (isDefined( | |
3065 | + | let mq = en(kK) | |
3066 | + | let mr = getString(mq) | |
3067 | + | if (isDefined(mr)) | |
3025 | 3068 | then throw(("Name already registered: " + kK)) | |
3026 | 3069 | else { | |
3027 | - | let | |
3028 | - | let | |
3029 | - | let | |
3030 | - | then [DeleteEntry(en(value( | |
3070 | + | let mv = bq(bp) | |
3071 | + | let mt = getString(mv) | |
3072 | + | let mu = if (isDefined(mt)) | |
3073 | + | then [DeleteEntry(en(value(mt)))] | |
3031 | 3074 | else nil | |
3032 | - | ((( | |
3075 | + | (((mu :+ StringEntry(mv, kK)) :+ StringEntry(mq, bp)) ++ kc(c, Y)._1) | |
3033 | 3076 | } | |
3034 | 3077 | } | |
3035 | 3078 | } | |
3036 | 3079 | } | |
3037 | 3080 | else if (("DUCK" == cx)) | |
3038 | 3081 | then { | |
3039 | 3082 | let jp = value(assetInfo(fromBase58String(bp))) | |
3040 | 3083 | let jq = br(bp) | |
3041 | 3084 | if (if (!(isDefined(getInteger(jq)))) | |
3042 | 3085 | then true | |
3043 | 3086 | else !(isDefined(getString(bH(c))))) | |
3044 | 3087 | then throw((jp.name + " is not staked")) | |
3045 | 3088 | else { | |
3046 | 3089 | let js = valueOrErrorMessage(getString(bG(bp)), (("NFT " + jp.name) + " is orphaned")) | |
3047 | 3090 | if ((js != c)) | |
3048 | 3091 | then throw((aD + " is not yours")) | |
3049 | 3092 | else { | |
3050 | - | let | |
3051 | - | let | |
3052 | - | if (isDefined( | |
3093 | + | let mq = et(kK) | |
3094 | + | let mr = getString(mq) | |
3095 | + | if (isDefined(mr)) | |
3053 | 3096 | then throw(("Name already registered: " + kK)) | |
3054 | 3097 | else { | |
3055 | - | let | |
3056 | - | let | |
3057 | - | let | |
3058 | - | then [DeleteEntry(et(value( | |
3098 | + | let mv = bA(bp) | |
3099 | + | let mt = getString(mv) | |
3100 | + | let mu = if (isDefined(mt)) | |
3101 | + | then [DeleteEntry(et(value(mt)))] | |
3059 | 3102 | else nil | |
3060 | - | ((( | |
3103 | + | (((mu :+ StringEntry(mv, kK)) :+ StringEntry(mq, bp)) ++ jW(bp, Y)._1) | |
3061 | 3104 | } | |
3062 | 3105 | } | |
3063 | 3106 | } | |
3064 | 3107 | } | |
3065 | 3108 | else throw("Unknown entity type") | |
3066 | 3109 | } | |
3067 | - | $Tuple2((( | |
3110 | + | $Tuple2(((mp :+ ScriptTransfer(db, lh.amount, cw)) ++ lg), 0) | |
3068 | 3111 | } | |
3069 | 3112 | } | |
3070 | 3113 | } | |
3071 | 3114 | ||
3072 | 3115 | ||
3073 | 3116 | ||
3074 | 3117 | @Callable(gH) | |
3075 | - | func setReferrals ( | |
3118 | + | func setReferrals (mw,mx) = if ((gH.callerPublicKey != dW)) | |
3076 | 3119 | then throw("Permission denied") | |
3077 | 3120 | else { | |
3078 | - | let | |
3121 | + | let lg = kZ(gH) | |
3079 | 3122 | if ((size(gH.payments) != 0)) | |
3080 | 3123 | then throw("No payments required") | |
3081 | - | else if (!(isDefined(addressFromString( | |
3082 | - | then throw(("Invalid address: " + | |
3083 | - | else if (!(isDefined(addressFromString( | |
3084 | - | then throw(("Invalid address: " + | |
3124 | + | else if (!(isDefined(addressFromString(mw)))) | |
3125 | + | then throw(("Invalid address: " + mw)) | |
3126 | + | else if (!(isDefined(addressFromString(mx)))) | |
3127 | + | then throw(("Invalid address: " + mx)) | |
3085 | 3128 | else { | |
3086 | - | let | |
3087 | - | let | |
3088 | - | let | |
3089 | - | then split_4C(value( | |
3129 | + | let my = ev() | |
3130 | + | let mz = getString(my) | |
3131 | + | let mA = if (isDefined(mz)) | |
3132 | + | then split_4C(value(mz), "_") | |
3090 | 3133 | else nil | |
3091 | - | if (containsElement( | |
3092 | - | then throw(( | |
3134 | + | if (containsElement(mA, mx)) | |
3135 | + | then throw((mx + " is not newbie (already has referrals)")) | |
3093 | 3136 | else { | |
3094 | - | let ke = bC( | |
3137 | + | let ke = bC(mx) | |
3095 | 3138 | let kf = getString(ke) | |
3096 | 3139 | if (if (isDefined(kf)) | |
3097 | 3140 | then isDefined(addressFromString(value(kf))) | |
3098 | 3141 | else false) | |
3099 | - | then throw((( | |
3142 | + | then throw(((mx + " already has refBy: ") + value(kf))) | |
3100 | 3143 | else { | |
3101 | - | let | |
3102 | - | let | |
3103 | - | let | |
3104 | - | then split_4C(value( | |
3144 | + | let mB = bF(mw) | |
3145 | + | let mC = getString(mB) | |
3146 | + | let mD = if (isDefined(mC)) | |
3147 | + | then split_4C(value(mC), "_") | |
3105 | 3148 | else nil | |
3106 | - | if (containsElement( | |
3107 | - | then throw(((( | |
3149 | + | if (containsElement(mD, mx)) | |
3150 | + | then throw((((mw + " already contains ") + mx) + " within referrals")) | |
3108 | 3151 | else { | |
3109 | - | let | |
3110 | - | let | |
3111 | - | then value( | |
3112 | - | else makeString_2C(( | |
3113 | - | $Tuple2([StringEntry(ke, | |
3152 | + | let mE = makeString_2C((mD :+ mx), "_") | |
3153 | + | let mF = if (containsElement(mA, mw)) | |
3154 | + | then value(mz) | |
3155 | + | else makeString_2C((mA :+ mw), "_") | |
3156 | + | $Tuple2(([StringEntry(ke, mw), StringEntry(mB, mE), StringEntry(my, mF)] ++ lg), 0) | |
3114 | 3157 | } | |
3115 | 3158 | } | |
3116 | 3159 | } | |
3117 | 3160 | } | |
3118 | 3161 | } | |
3119 | 3162 | ||
3120 | 3163 | ||
3121 | 3164 | ||
3122 | 3165 | @Callable(gH) | |
3123 | - | func distributePoints ( | |
3124 | - | let | |
3166 | + | func distributePoints (mG,mH,mI,mJ,mK) = { | |
3167 | + | let lg = kZ(gH) | |
3125 | 3168 | if ((size(gH.payments) != 0)) | |
3126 | 3169 | then throw("No payments required") | |
3127 | 3170 | else { | |
3128 | 3171 | let c = toString(gH.originCaller) | |
3129 | 3172 | let A = valueOrErrorMessage(getString(bH(c)), "You don't have a duck staked") | |
3130 | - | let | |
3131 | - | let | |
3132 | - | let | |
3133 | - | let | |
3134 | - | let | |
3135 | - | let | |
3136 | - | if (( | |
3137 | - | then throw((("There are only " + toString( | |
3173 | + | let mL = I(c) | |
3174 | + | let mM = valueOrElse(getInteger(an, mL), 0) | |
3175 | + | let mN = E(A) | |
3176 | + | let mO = valueOrElse(getInteger(an, mN), 0) | |
3177 | + | let mP = (mM + mO) | |
3178 | + | let mQ = ((((mG + mH) + mI) + mJ) + mK) | |
3179 | + | if ((mQ > mP)) | |
3180 | + | then throw((("There are only " + toString(mP)) + " free points to distribute")) | |
3138 | 3181 | else { | |
3139 | - | let | |
3140 | - | let aq = split(valueOrElse(getString(an, | |
3141 | - | let | |
3142 | - | $Tuple2([IntegerEntry( | |
3182 | + | let mR = B(A) | |
3183 | + | let aq = split(valueOrElse(getString(an, mR), "0_0_0_0_0"), "_") | |
3184 | + | let mS = (mM - mQ) | |
3185 | + | $Tuple2(([IntegerEntry(mL, if ((0 > mS)) | |
3143 | 3186 | then 0 | |
3144 | - | else | |
3145 | - | then ( | |
3146 | - | else | |
3187 | + | else mS), IntegerEntry(mN, if ((0 > mS)) | |
3188 | + | then (mO + mS) | |
3189 | + | else mO), StringEntry(mR, makeString([toString((parseIntValue(aq[k]) + mG)), toString((parseIntValue(aq[l]) + mH)), toString((parseIntValue(aq[m]) + mI)), toString((parseIntValue(aq[n]) + mJ)), toString((parseIntValue(aq[o]) + mK))], "_"))] ++ lg), 0) | |
3147 | 3190 | } | |
3148 | 3191 | } | |
3149 | 3192 | } | |
3150 | 3193 | ||
3151 | 3194 | ||
3152 | 3195 | ||
3153 | 3196 | @Callable(gH) | |
3154 | 3197 | func splitByGlobalWeightsREADONLY (eF) = $Tuple2(nil, eX(eF)) | |
3155 | 3198 | ||
3156 | 3199 | ||
3157 | 3200 | ||
3158 | 3201 | @Callable(gH) | |
3159 | - | func splitByGlobalAndLocalWeightsREADONLY ( | |
3202 | + | func splitByGlobalAndLocalWeightsREADONLY (mT,mU,gK) = { | |
3160 | 3203 | let gD = gJ(gK) | |
3161 | - | $Tuple2(nil, $Tuple2(eX( | |
3204 | + | $Tuple2(nil, $Tuple2(eX(mT), eI(mU, gD))) | |
3162 | 3205 | } | |
3163 | 3206 | ||
3164 | 3207 | ||
3165 | 3208 | ||
3166 | 3209 | @Callable(gH) | |
3167 | 3210 | func getBackpackREADONLY (A) = $Tuple2(nil, makeString(hH(bI(A)), ":")) | |
3168 | 3211 | ||
3169 | 3212 | ||
3170 | 3213 | ||
3171 | 3214 | @Callable(gH) | |
3172 | 3215 | func getWarehouseREADONLY (P) = { | |
3173 | 3216 | let jp = value(assetInfo(fromBase58String(P))) | |
3174 | 3217 | let hW = (dE(split(jp.description, "_")[dh]) / cE) | |
3175 | 3218 | let hX = valueOrElse(getInteger(by(P)), 0) | |
3176 | 3219 | $Tuple2(nil, makeString_2C(hU(bx(P), hW, hX), ":")) | |
3177 | 3220 | } | |
3178 | 3221 | ||
3179 | 3222 | ||
3180 | 3223 | ||
3181 | 3224 | @Callable(gH) | |
3182 | 3225 | func saveLastTx () = { | |
3183 | 3226 | let iG = gH.caller | |
3184 | 3227 | if (!(containsElement([dd, db, de, df], iG))) | |
3185 | 3228 | then throw("Access denied") | |
3186 | - | else $Tuple2( | |
3229 | + | else $Tuple2(kZ(gH), 42) | |
3187 | 3230 | } | |
3188 | 3231 | ||
3189 | 3232 | ||
3190 | 3233 | ||
3191 | 3234 | @Callable(gH) | |
3192 | 3235 | func updateDuckStats (A,jX) = if ((gH.caller != db)) | |
3193 | 3236 | then throw("Access denied") | |
3194 | 3237 | else jW(A, jX) | |
3195 | 3238 | ||
3196 | 3239 | ||
3197 | 3240 | ||
3198 | 3241 | @Callable(gH) | |
3199 | 3242 | func updateAccStats (c,jX) = if (if ((gH.caller != db)) | |
3200 | 3243 | then (gH.caller != df) | |
3201 | 3244 | else false) | |
3202 | 3245 | then throw("Access denied") | |
3203 | 3246 | else kc(c, jX) | |
3204 | 3247 | ||
3205 | 3248 | ||
3206 | 3249 | ||
3207 | 3250 | @Callable(gH) | |
3208 | - | func equipDuck ( | |
3209 | - | let | |
3251 | + | func equipDuck (mV) = { | |
3252 | + | let lg = kZ(gH) | |
3210 | 3253 | if ((size(gH.payments) != 0)) | |
3211 | 3254 | then throw("No payments required") | |
3212 | 3255 | else { | |
3213 | 3256 | let c = toString(gH.originCaller) | |
3214 | 3257 | let A = valueOrErrorMessage(getString(bH(c)), "You don't have a duck staked") | |
3215 | 3258 | if (km(A)) | |
3216 | 3259 | then throw("equipDuck_checkTournament") | |
3217 | 3260 | else if (kn(A)) | |
3218 | 3261 | then throw("equipDuck_checkDelivery") | |
3219 | 3262 | else { | |
3220 | 3263 | let gu = F(A) | |
3221 | - | let | |
3264 | + | let mW = split(valueOrElse(getString(gu), ",;,_,;,_,;,_,;,_,;,_,;,"), "_") | |
3222 | 3265 | let hI = bI(A) | |
3223 | 3266 | let il = hH(hI) | |
3224 | - | let | |
3225 | - | if ((size( | |
3267 | + | let lx = split(mV, "_") | |
3268 | + | if ((size(lx) != q)) | |
3226 | 3269 | then throw("Wrong equipment string") | |
3227 | 3270 | else { | |
3228 | - | let gw = gj( | |
3229 | - | let gx = split( | |
3271 | + | let gw = gj(mW, fu(il[bk]), true, nil) | |
3272 | + | let gx = split(lx[p], ";")[1] | |
3230 | 3273 | let ao = if ((gx == "")) | |
3231 | 3274 | then 0 | |
3232 | 3275 | else { | |
3233 | 3276 | let gy = split(gx, ",")[0] | |
3234 | 3277 | if ((gy == "")) | |
3235 | 3278 | then 0 | |
3236 | 3279 | else { | |
3237 | 3280 | let fJ = split(gy, ":") | |
3238 | 3281 | let cZ = fJ[0] | |
3239 | 3282 | let gz = fJ[1] | |
3240 | 3283 | if (if (if (if (if ((cZ == "06")) | |
3241 | 3284 | then true | |
3242 | 3285 | else (cZ == "07")) | |
3243 | 3286 | then true | |
3244 | 3287 | else (cZ == "08")) | |
3245 | 3288 | then (gz != "") | |
3246 | 3289 | else false) | |
3247 | 3290 | then (parseIntValue(gz) > 0) | |
3248 | 3291 | else false) | |
3249 | 3292 | then parseIntValue(split(aS[parseIntValue(cZ)], "_")[aU]) | |
3250 | 3293 | else 0 | |
3251 | 3294 | } | |
3252 | 3295 | } | |
3253 | 3296 | let ge = am(this, A, ao, true) | |
3254 | - | let gA = gj( | |
3255 | - | let | |
3256 | - | $Tuple2([StringEntry(gu, | |
3297 | + | let gA = gj(lx, gw, false, ge) | |
3298 | + | let mX = fz(gA) | |
3299 | + | $Tuple2(([StringEntry(gu, mV), StringEntry(hI, makeString_2C([il[bh], il[bi], il[bj], mX], ":")), StringEntry(L(A), makeString([toString(ge[7]), toString(ge[8]), toString(ge[9]), toString(ge[10]), toString(ge[11])], "_"))] ++ lg), 0) | |
3257 | 3300 | } | |
3258 | 3301 | } | |
3259 | 3302 | } | |
3260 | 3303 | } | |
3261 | 3304 | ||
3262 | 3305 | ||
3263 | 3306 | ||
3264 | 3307 | @Callable(gH) | |
3265 | - | func fortificateLand (P, | |
3266 | - | let | |
3308 | + | func fortificateLand (P,mY) = { | |
3309 | + | let lg = kZ(gH) | |
3267 | 3310 | if ((size(gH.payments) != 0)) | |
3268 | 3311 | then throw("No payments required") | |
3269 | 3312 | else { | |
3270 | 3313 | let c = toString(gH.originCaller) | |
3271 | 3314 | let A = valueOrElse(getString(bH(c)), "") | |
3272 | 3315 | let fE = am(this, A, 0, false) | |
3273 | - | let | |
3274 | - | let | |
3316 | + | let mZ = bz(P) | |
3317 | + | let na = split(valueOrElse(getString(mZ), ":0_15:0_18:0"), "_") | |
3275 | 3318 | let jp = value(assetInfo(fromBase58String(P))) | |
3276 | 3319 | let hW = (dE(split(jp.description, "_")[dh]) / cE) | |
3277 | 3320 | let hX = valueOrElse(getInteger(by(P)), 0) | |
3278 | 3321 | let hV = bx(P) | |
3279 | 3322 | let ia = hU(hV, hW, hX) | |
3280 | - | let mY = split(ia[bc], "_") | |
3281 | - | let mZ = parseIntValue(mY[be]) | |
3282 | - | let na = parseIntValue(mY[bf]) | |
3283 | - | let nb = split(mV, "_") | |
3284 | - | let nc = gq(mX, fu(ia[bb]), mZ, na, true, nil) | |
3285 | - | let gw = nc._1 | |
3286 | - | let nd = nc._2 | |
3287 | - | let ne = nc._3 | |
3288 | - | let nf = gq(nb, gw, nd, ne, false, fE) | |
3289 | - | let gA = nf._1 | |
3323 | + | let nb = split(ia[bc], "_") | |
3324 | + | let nc = parseIntValue(nb[be]) | |
3325 | + | let nd = parseIntValue(nb[bf]) | |
3326 | + | let ne = split(mY, "_") | |
3327 | + | let nf = gq(na, fu(ia[bb]), nc, nd, true, nil) | |
3328 | + | let gw = nf._1 | |
3290 | 3329 | let ng = nf._2 | |
3291 | 3330 | let nh = nf._3 | |
3292 | - | let mU = fz(gA) | |
3293 | - | let jV = makeString([mY[bd], toString(ng), toString(nh), mY[bg]], "_") | |
3294 | - | $Tuple2([StringEntry(mW, mV), StringEntry(hV, makeString_2C([ia[aY], ia[aZ], ia[ba], mU, jV], ":")), lc], 0) | |
3331 | + | let ni = gq(ne, gw, ng, nh, false, fE) | |
3332 | + | let gA = ni._1 | |
3333 | + | let nj = ni._2 | |
3334 | + | let nk = ni._3 | |
3335 | + | let mX = fz(gA) | |
3336 | + | let jV = makeString([nb[bd], toString(nj), toString(nk), nb[bg]], "_") | |
3337 | + | $Tuple2(([StringEntry(mZ, mY), StringEntry(hV, makeString_2C([ia[aY], ia[aZ], ia[ba], mX, jV], ":"))] ++ lg), 0) | |
3295 | 3338 | } | |
3296 | 3339 | } | |
3297 | 3340 | ||
3298 | 3341 | ||
3299 | 3342 | ||
3300 | 3343 | @Callable(gH) | |
3301 | 3344 | func initDuckTourAttempt (A) = if ((gH.caller != de)) | |
3302 | 3345 | then throw("Access denied") | |
3303 | 3346 | else { | |
3304 | - | let lc = kZ(gH) | |
3305 | 3347 | let iY = z(A) | |
3306 | 3348 | let iZ = ag(valueOrElse(getInteger(D(A)), 0)) | |
3307 | 3349 | let kq = valueOrElse(getInteger(iY), iZ) | |
3308 | - | let | |
3309 | - | let jn = valueOrElse(getString( | |
3350 | + | let nl = bJ(A) | |
3351 | + | let jn = valueOrElse(getString(nl), aJ) | |
3310 | 3352 | let ce = valueOrElse(getInteger(de, bP), 0) | |
3311 | - | let | |
3312 | - | $Tuple2([ | |
3353 | + | let nm = (toString(ce) + "_T_0") | |
3354 | + | $Tuple2([IntegerEntry(J(A), kq), IntegerEntry(iY, iZ), StringEntry(K(A), jn), StringEntry(nl, nm)], nm) | |
3313 | 3355 | } | |
3314 | 3356 | ||
3315 | 3357 | ||
3316 | 3358 | ||
3317 | 3359 | @Callable(gH) | |
3318 | 3360 | func breakAttempt () = { | |
3319 | - | let | |
3361 | + | let lg = kZ(gH) | |
3320 | 3362 | let A = valueOrErrorMessage(getString(bH(toString(gH.caller))), "You don't have a duck staked") | |
3321 | - | let | |
3322 | - | let jn = valueOrElse(getString( | |
3363 | + | let nl = bJ(A) | |
3364 | + | let jn = valueOrElse(getString(nl), aJ) | |
3323 | 3365 | if ((split(jn, "_")[bm] != "T")) | |
3324 | 3366 | then throw("Your duck is not in the tournament") | |
3325 | 3367 | else { | |
3326 | 3368 | let kv = getIntegerValue(J(A)) | |
3327 | 3369 | let kw = getStringValue(K(A)) | |
3328 | - | $Tuple2( | |
3370 | + | $Tuple2(((lg :+ IntegerEntry(z(A), kv)) :+ StringEntry(nl, kw)), jn) | |
3329 | 3371 | } | |
3330 | 3372 | } | |
3331 | 3373 | ||
3332 | 3374 | ||
3333 | 3375 | ||
3334 | 3376 | @Callable(gH) | |
3335 | 3377 | func exitTournamentInternal (A) = if ((gH.caller != this)) | |
3336 | 3378 | then throw("Access denied") | |
3337 | 3379 | else { | |
3338 | 3380 | let kv = getIntegerValue(J(A)) | |
3339 | 3381 | let kw = getStringValue(K(A)) | |
3340 | 3382 | $Tuple2([IntegerEntry(z(A), kv), StringEntry(bJ(A), kw)], false) | |
3341 | 3383 | } | |
3342 | 3384 | ||
3343 | 3385 | ||
3344 | 3386 | ||
3345 | 3387 | @Callable(gH) | |
3346 | 3388 | func exitDeliveryInternal (A) = if ((gH.caller != this)) | |
3347 | 3389 | then throw("Access denied") | |
3348 | 3390 | else { | |
3349 | - | let | |
3350 | - | $Tuple2(( | |
3391 | + | let md = ko(A) | |
3392 | + | $Tuple2((md._1 ++ md._2), false) | |
3351 | 3393 | } | |
3352 | 3394 | ||
3353 | 3395 | ||
3354 | 3396 | ||
3355 | 3397 | @Callable(gH) | |
3356 | 3398 | func autoExitDelivery (A) = if ((gH.caller != this)) | |
3357 | 3399 | then throw("Access denied") | |
3358 | 3400 | else { | |
3359 | - | let | |
3360 | - | $Tuple2( | |
3401 | + | let md = ko(A) | |
3402 | + | $Tuple2(md._1, $Tuple2(md._3, md._4)) | |
3361 | 3403 | } | |
3362 | 3404 | ||
3363 | 3405 | ||
3364 | 3406 | ||
3365 | 3407 | @Callable(gH) | |
3366 | 3408 | func prepareRobbery (iN,iO) = { | |
3367 | - | let | |
3409 | + | let lg = kZ(gH) | |
3368 | 3410 | if (!(sigVerify_8Kb(iN, iO, dW))) | |
3369 | 3411 | then throw("signature does not match") | |
3370 | 3412 | else if ((size(gH.payments) != 1)) | |
3371 | 3413 | then throw("exactly 1 payment must be attached") | |
3372 | 3414 | else { | |
3373 | - | let | |
3374 | - | let | |
3375 | - | if (if (!(isDefined( | |
3415 | + | let lh = gH.payments[0] | |
3416 | + | let nn = lh.amount | |
3417 | + | if (if (!(isDefined(lh.assetId))) | |
3376 | 3418 | then true | |
3377 | - | else (value( | |
3419 | + | else (value(lh.assetId) != dl)) | |
3378 | 3420 | then throw("WLGOLD payments only!") | |
3379 | 3421 | else { | |
3380 | 3422 | let fm = split(toUtf8String(iN), "|") | |
3381 | 3423 | if ((size(fm) != 2)) | |
3382 | 3424 | then throw("Wrong message format") | |
3383 | 3425 | else { | |
3384 | 3426 | let A = fm[0] | |
3385 | - | let ay = au(this, A)._1 | |
3386 | - | if ((ay > nk)) | |
3387 | - | then throw(((("Payment " + toString(nk)) + " < required ") + toString(ay))) | |
3388 | - | else { | |
3389 | - | let nl = split(fm[1], "_") | |
3390 | - | let ax = lastBlock.timestamp | |
3391 | - | let az = valueOrElse(getInteger(R(A)), 0) | |
3392 | - | let aA = valueOrElse(getString(S(A)), "") | |
3393 | - | let aB = valueOrElse(getInteger(Q(aA)), 0) | |
3394 | - | if (if ((az != x)) | |
3395 | - | then (aB > ax) | |
3396 | - | else false) | |
3397 | - | then throw(("You already started robbing, wait till " + toString(aB))) | |
3398 | - | else { | |
3399 | - | func nm (eO,P) = { | |
3400 | - | let nn = valueOrElse(getInteger(O(P)), 0) | |
3401 | - | let no = valueOrElse(getInteger(Q(P)), 0) | |
3402 | - | if ((nn > size(u))) | |
3403 | - | then throw("Invalid state") | |
3404 | - | else if ((ax > no)) | |
3405 | - | then { | |
3406 | - | let np = valueOrElse(getInteger(br(P)), 0) | |
3407 | - | if ((0 >= np)) | |
3408 | - | then eO | |
3409 | - | else { | |
3410 | - | let go = value(assetInfo(fromBase58String(P))) | |
3411 | - | let jt = split(go.description, "_") | |
3412 | - | let jf = dE(jt[dh]) | |
3413 | - | let nq = je(P, jf) | |
3414 | - | let gN = (ax - np) | |
3415 | - | let jw = fraction(gN, (nq * jf), a) | |
3416 | - | if ((v > jw)) | |
3417 | - | then eO | |
3418 | - | else (eO :+ P) | |
3419 | - | } | |
3427 | + | if (km(A)) | |
3428 | + | then throw("prepareRobbery_checkTournament") | |
3429 | + | else if (kn(A)) | |
3430 | + | then throw("prepareRobbery_checkDelivery") | |
3431 | + | else { | |
3432 | + | let ay = au(this, A)._1 | |
3433 | + | if ((ay > nn)) | |
3434 | + | then throw(((("Payment " + toString(nn)) + " < required ") + toString(ay))) | |
3435 | + | else { | |
3436 | + | let no = split(fm[1], "_") | |
3437 | + | let ax = lastBlock.timestamp | |
3438 | + | let az = valueOrElse(getInteger(R(A)), 0) | |
3439 | + | let aA = valueOrElse(getString(S(A)), "") | |
3440 | + | let aB = valueOrElse(getInteger(Q(aA)), 0) | |
3441 | + | if (if ((az != x)) | |
3442 | + | then (aB > ax) | |
3443 | + | else false) | |
3444 | + | then throw(("You already started robbing, wait till " + toString(aB))) | |
3445 | + | else { | |
3446 | + | func np (eO,P) = { | |
3447 | + | let nq = valueOrElse(getInteger(O(P)), 0) | |
3448 | + | let nr = valueOrElse(getInteger(Q(P)), 0) | |
3449 | + | if ((nq > size(u))) | |
3450 | + | then throw("Invalid state") | |
3451 | + | else if ((ax > nr)) | |
3452 | + | then { | |
3453 | + | let ns = valueOrElse(getInteger(br(P)), 0) | |
3454 | + | if ((0 >= ns)) | |
3455 | + | then eO | |
3456 | + | else { | |
3457 | + | let go = value(assetInfo(fromBase58String(P))) | |
3458 | + | let jt = split(go.description, "_") | |
3459 | + | let jf = dE(jt[dh]) | |
3460 | + | let nt = je(P, jf) | |
3461 | + | let gN = (ax - ns) | |
3462 | + | let jw = fraction(gN, (nt * jf), a) | |
3463 | + | if ((v > jw)) | |
3464 | + | then eO | |
3465 | + | else (eO :+ P) | |
3466 | + | } | |
3467 | + | } | |
3468 | + | else eO | |
3420 | 3469 | } | |
3421 | - | else eO | |
3470 | + | ||
3471 | + | let nu = { | |
3472 | + | let eQ = no | |
3473 | + | let eR = size(eQ) | |
3474 | + | let eS = nil | |
3475 | + | func eT (eU,eV) = if ((eV >= eR)) | |
3476 | + | then eU | |
3477 | + | else np(eU, eQ[eV]) | |
3478 | + | ||
3479 | + | func eW (eU,eV) = if ((eV >= eR)) | |
3480 | + | then eU | |
3481 | + | else throw("List size exceeds 10") | |
3482 | + | ||
3483 | + | eW(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eS, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
3484 | + | } | |
3485 | + | if ((size(nu) == 0)) | |
3486 | + | then throw("No candidates for robbery") | |
3487 | + | else { | |
3488 | + | let nv = dO(size(nu), height, (iO + gH.transactionId)) | |
3489 | + | let P = nu[nv] | |
3490 | + | $Tuple2(([IntegerEntry(O(P), w), IntegerEntry(Q(P), (ax + u[w])), IntegerEntry(R(A), y), StringEntry(S(A), P)] ++ lg), P) | |
3491 | + | } | |
3492 | + | } | |
3422 | 3493 | } | |
3423 | - | ||
3424 | - | let nr = { | |
3425 | - | let eQ = nl | |
3426 | - | let eR = size(eQ) | |
3427 | - | let eS = nil | |
3428 | - | func eT (eU,eV) = if ((eV >= eR)) | |
3429 | - | then eU | |
3430 | - | else nm(eU, eQ[eV]) | |
3431 | - | ||
3432 | - | func eW (eU,eV) = if ((eV >= eR)) | |
3433 | - | then eU | |
3434 | - | else throw("List size exceeds 10") | |
3435 | - | ||
3436 | - | eW(eT(eT(eT(eT(eT(eT(eT(eT(eT(eT(eS, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
3437 | - | } | |
3438 | - | if ((size(nr) == 0)) | |
3439 | - | then throw("No candidates for robbery") | |
3440 | - | else { | |
3441 | - | let ns = dO(size(nr), height, (iO + gH.transactionId)) | |
3442 | - | let P = nr[ns] | |
3443 | - | $Tuple2([IntegerEntry(O(P), w), IntegerEntry(Q(P), (ax + u[w])), IntegerEntry(R(A), y), StringEntry(S(A), P), lc], P) | |
3444 | - | } | |
3445 | - | } | |
3446 | - | } | |
3494 | + | } | |
3447 | 3495 | } | |
3448 | 3496 | } | |
3449 | 3497 | } | |
3450 | 3498 | } | |
3451 | 3499 | ||
3452 | 3500 | ||
3453 | 3501 | ||
3454 | 3502 | @Callable(gH) | |
3455 | 3503 | func robLand (iN,iO) = { | |
3456 | - | let | |
3504 | + | let lg = kZ(gH) | |
3457 | 3505 | if (!(sigVerify_8Kb(iN, iO, dW))) | |
3458 | 3506 | then throw("signature does not match") | |
3459 | 3507 | else { | |
3460 | 3508 | let bL = toString(gH.caller) | |
3461 | 3509 | let A = valueOrErrorMessage(getString(bH(bL)), "You don't have a duck staked") | |
3462 | 3510 | let ax = lastBlock.timestamp | |
3463 | - | $Tuple2( | |
3511 | + | $Tuple2((lg :+ IntegerEntry(M(A), ax)), 0) | |
3464 | 3512 | } | |
3465 | 3513 | } | |
3466 | 3514 | ||
3467 | 3515 | ||
3468 | 3516 | ||
3469 | 3517 | @Callable(gH) | |
3470 | 3518 | func acceptDelivery () = if (!(cu)) | |
3471 | 3519 | then throw("Delivery feature is turned off!") | |
3472 | 3520 | else { | |
3473 | - | let | |
3521 | + | let lg = kZ(gH) | |
3474 | 3522 | let bL = toString(gH.caller) | |
3475 | 3523 | let A = valueOrErrorMessage(getString(bH(bL)), "You don't have a duck staked") | |
3476 | - | let | |
3524 | + | let nw = valueOrElse(getInteger(db, bN), 0) | |
3477 | 3525 | let kt = valueOrElse(getInteger(db, bO), 0) | |
3478 | - | if ((aM > ( | |
3479 | - | then throw(((("Delivery is not available, fund=" + dJ( | |
3526 | + | if ((aM > (nw - kt))) | |
3527 | + | then throw(((("Delivery is not available, fund=" + dJ(nw, 6)) + ", locked=") + dJ(kt, 6))) | |
3480 | 3528 | else { | |
3481 | 3529 | let ax = lastBlock.timestamp | |
3482 | - | let | |
3483 | - | if (( | |
3484 | - | then throw(("Delivery is forbidden for your duck until " + toString( | |
3530 | + | let nx = valueOrElse(getInteger(T(A)), 0) | |
3531 | + | if ((nx > ax)) | |
3532 | + | then throw(("Delivery is forbidden for your duck until " + toString(nx))) | |
3485 | 3533 | else if (km(A)) | |
3486 | 3534 | then throw("acceptDelivery_checkTournament") | |
3487 | 3535 | else if (kn(A)) | |
3488 | 3536 | then throw("acceptDelivery_checkDelivery") | |
3489 | 3537 | else { | |
3490 | - | let | |
3538 | + | let ny = dy(invoke(db, "updateDeliveryLocked", [(kt + aM)], nil)) | |
3491 | 3539 | let iY = z(A) | |
3492 | 3540 | let iZ = ag(valueOrElse(getInteger(D(A)), 0)) | |
3493 | 3541 | let kq = valueOrElse(getInteger(iY), iZ) | |
3494 | - | let | |
3495 | - | let jn = valueOrElse(getString( | |
3496 | - | let | |
3497 | - | $Tuple2([ | |
3542 | + | let nl = bJ(A) | |
3543 | + | let jn = valueOrElse(getString(nl), aJ) | |
3544 | + | let nz = (toString(ax) + "_D_0") | |
3545 | + | $Tuple2(([IntegerEntry(J(A), kq), IntegerEntry(iY, iZ), StringEntry(K(A), jn), StringEntry(nl, nz)] ++ lg), $Tuple2(nz, ny)) | |
3498 | 3546 | } | |
3499 | 3547 | } | |
3500 | 3548 | } | |
3501 | 3549 | ||
3502 | 3550 |
github/deemru/w8io/169f3d6 580.64 ms ◑