tx · 3Lw7iQVbsjmtycd4YNqzkJVymMH9feytbEVnoiTk9n5T 3N8y4wxX3JC4TdrCJBXX16SjWf6X256hrep: -0.03600000 Waves 2023.07.14 16:14 [2665606] smart account 3N8y4wxX3JC4TdrCJBXX16SjWf6X256hrep > SELF 0.00000000 Waves
{ "type": 13, "id": "3Lw7iQVbsjmtycd4YNqzkJVymMH9feytbEVnoiTk9n5T", "fee": 3600000, "feeAssetId": null, "timestamp": 1689340522942, "version": 2, "chainId": 84, "sender": "3N8y4wxX3JC4TdrCJBXX16SjWf6X256hrep", "senderPublicKey": "7v5L7QkXxfkirALdyqmox38QCsa9jtfAtgUfHTh34eWq", "proofs": [ "37Xg4HYiAS8nhgdn1s2tiD1JEfpHhYzFQ51jjHDthn16GWWBQYThKmwRRtmMXstw9yiZU8hsjEACYcCd55tzNqvJ" ], "script": "base64:BgI7CAISBAoCCBgSAwoBCBIECgIRERIECgIRERIDCgEREgQKAgEBEgQKAggIEgUKAwgICBIDCgEREgMKAQhRAAd4cFRyYWRlAKCNBgAHeHBDcmFmdACgjQYACnhwU2VsbFRvRXMAoI0GAAZ4cFNob3AAoI0GAApMQU5EUFJFRklYAgRMQU5EAAZOVU1SRVMABgAPREVGQVVMVExPQ0FUSU9OAg9BZnJpY2FfRl9BZnJpY2EAEFJFU09VUkNFUFJJQ0VNSU4A1bUCAA1FU01BWFBBQ0tBR0VTAAMACUVTQlVZQ09FRgAEAAhyZXNUeXBlcwkAzAgCAgNPaWwJAMwIAgIDT3JlCQDMCAICBFdvb2QJAMwIAgIEU2FuZAkAzAgCAgRDbGF5CQDMCAICB09yZ2FuaWMFA25pbAAIbWF0VHlwZXMJAMwIAgIERnVlbAkAzAgCAgVNZXRhbAkAzAgCAgVQbGFuawkAzAgCAgVHbGFzcwkAzAgCAgdQbGFzdGljCQDMCAICB1Byb3RlaW4FA25pbAAJcHJvZFR5cGVzCQDMCAICEEZpcnN0IEFpZCBLaXQgTDEJAMwIAgIQRmlyc3QgQWlkIE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mVzdWx0AWkBD3VwZGF0ZUVzU3RvcmFnZQEKbmV3U3RvcmFnZQMJAQIhPQIIBQFpBmNhbGxlcgUPc3Rha2luZ0NvbnRyYWN0CQACAQIRUGVybWlzc2lvbiBkZW5pZWQJAJQKAgkAzAgCCQELU3RyaW5nRW50cnkCCQEOa2V5RXNXYXJlaG91c2UABQpuZXdTdG9yYWdlBQNuaWwFCm5ld1N0b3JhZ2UAE6U5oA==", "height": 2665606, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5AocGxGUL8Cpu81wwo8QubDVwVVPzbDo2AJ8nao8KQwN Next: 8am3twGrHuPNjNqnt6diF7Z8kjMoz1iJuzHfafm5cHA3 Diff:
Old | New | Differences | |
---|---|---|---|
29 | 29 | ||
30 | 30 | let n = ["Americas", "Europe", "Asia", "Africa", "Oceania"] | |
31 | 31 | ||
32 | - | let o = ["8_8_8_17_17_42_12_0", "8_8_8_17_17_42_24_0", "8_8_8_17_17_42_36_0", "8_19_19_8_27_19_26_1", "8_19_19_8_27_19_52_1", "8_19_19_8_27_19_78_1", "8_8_8_8_8_60_13_2", "8_8_8_8_8_60_26_2", "8_8_8_8_8_60_39_2", "30_30_3_17_17_3_30_3", "30_30_3_17_17_3_60_3", "30_30_3_17_17_3_90_3", "18_18_10_18_18_18_11_4", "18_18_10_18_18_18_22_4", "18_18_10_18_18_18_33_4"] | |
32 | + | let o = ["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", "8_19_19_8_27_19_52_1_40_0,0,0,0,0,0,0", "8_19_19_8_27_19_78_1_80_0,0,0,0,0,0,0", "8_8_8_8_8_60_13_2_2_0,0,0,0,0,0,0", "8_8_8_8_8_60_26_2_4_0,0,0,0,0,0,0", "8_8_8_8_8_60_39_2_8_0,0,0,0,0,0,0", "30_30_3_17_17_3_30_3_30_0,0,0,0,0,0,0", "30_30_3_17_17_3_60_3_50_0,0,0,0,0,0,0", "30_30_3_17_17_3_90_3_70_0,0,0,0,0,0,0", "18_18_10_18_18_18_11_4_30_0,0,0,0,0,0,0", "18_18_10_18_18_18_22_4_50_0,0,0,0,0,0,0", "18_18_10_18_18_18_33_4_70_0,0,0,0,0,0,0"] | |
33 | 33 | ||
34 | 34 | let p = 6 | |
35 | 35 | ||
36 | 36 | let q = 7 | |
37 | 37 | ||
38 | - | let r = | |
38 | + | let r = 10 | |
39 | 39 | ||
40 | 40 | let s = 10 | |
41 | 41 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 100000 | |
5 | 5 | ||
6 | 6 | let b = 100000 | |
7 | 7 | ||
8 | 8 | let c = 100000 | |
9 | 9 | ||
10 | 10 | let d = 100000 | |
11 | 11 | ||
12 | 12 | let e = "LAND" | |
13 | 13 | ||
14 | 14 | let f = 6 | |
15 | 15 | ||
16 | 16 | let g = "Africa_F_Africa" | |
17 | 17 | ||
18 | 18 | let h = 39637 | |
19 | 19 | ||
20 | 20 | let i = 3 | |
21 | 21 | ||
22 | 22 | let j = 4 | |
23 | 23 | ||
24 | 24 | let k = ["Oil", "Ore", "Wood", "Sand", "Clay", "Organic"] | |
25 | 25 | ||
26 | 26 | let l = ["Fuel", "Metal", "Plank", "Glass", "Plastic", "Protein"] | |
27 | 27 | ||
28 | 28 | let m = ["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"] | |
29 | 29 | ||
30 | 30 | let n = ["Americas", "Europe", "Asia", "Africa", "Oceania"] | |
31 | 31 | ||
32 | - | let o = ["8_8_8_17_17_42_12_0", "8_8_8_17_17_42_24_0", "8_8_8_17_17_42_36_0", "8_19_19_8_27_19_26_1", "8_19_19_8_27_19_52_1", "8_19_19_8_27_19_78_1", "8_8_8_8_8_60_13_2", "8_8_8_8_8_60_26_2", "8_8_8_8_8_60_39_2", "30_30_3_17_17_3_30_3", "30_30_3_17_17_3_60_3", "30_30_3_17_17_3_90_3", "18_18_10_18_18_18_11_4", "18_18_10_18_18_18_22_4", "18_18_10_18_18_18_33_4"] | |
32 | + | let o = ["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", "8_19_19_8_27_19_52_1_40_0,0,0,0,0,0,0", "8_19_19_8_27_19_78_1_80_0,0,0,0,0,0,0", "8_8_8_8_8_60_13_2_2_0,0,0,0,0,0,0", "8_8_8_8_8_60_26_2_4_0,0,0,0,0,0,0", "8_8_8_8_8_60_39_2_8_0,0,0,0,0,0,0", "30_30_3_17_17_3_30_3_30_0,0,0,0,0,0,0", "30_30_3_17_17_3_60_3_50_0,0,0,0,0,0,0", "30_30_3_17_17_3_90_3_70_0,0,0,0,0,0,0", "18_18_10_18_18_18_11_4_30_0,0,0,0,0,0,0", "18_18_10_18_18_18_22_4_50_0,0,0,0,0,0,0", "18_18_10_18_18_18_33_4_70_0,0,0,0,0,0,0"] | |
33 | 33 | ||
34 | 34 | let p = 6 | |
35 | 35 | ||
36 | 36 | let q = 7 | |
37 | 37 | ||
38 | - | let r = | |
38 | + | let r = 10 | |
39 | 39 | ||
40 | 40 | let s = 10 | |
41 | 41 | ||
42 | 42 | let t = 0 | |
43 | 43 | ||
44 | 44 | let u = 1 | |
45 | 45 | ||
46 | 46 | let v = 2 | |
47 | 47 | ||
48 | 48 | let w = 3 | |
49 | 49 | ||
50 | 50 | let x = 4 | |
51 | 51 | ||
52 | 52 | let y = 0 | |
53 | 53 | ||
54 | 54 | let z = 3 | |
55 | 55 | ||
56 | 56 | let A = 0 | |
57 | 57 | ||
58 | 58 | let B = 1 | |
59 | 59 | ||
60 | 60 | let C = 2 | |
61 | 61 | ||
62 | 62 | let D = 3 | |
63 | 63 | ||
64 | 64 | func E (F) = ("nftOwner_" + F) | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func G (F) = ("stakedTime_" + F) | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func H (I) = ("accRefBy_" + I) | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func J (K) = ("stakedDuckByOwner_" + K) | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func L (M) = ("backPack_" + M) | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func N (M) = ("duckLocation_" + M) | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func O () = "contractsBlocked" | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func P (Q) = ("landOrder_" + Q) | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func R () = "emergencyWarehouseProducts" | |
89 | 89 | ||
90 | 90 | ||
91 | 91 | let S = 0 | |
92 | 92 | ||
93 | 93 | let T = 1 | |
94 | 94 | ||
95 | 95 | let U = 2 | |
96 | 96 | ||
97 | 97 | func V (W) = parseIntValue(W[p]) | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | let X = take(drop(this.bytes, 1), 1) | |
101 | 101 | ||
102 | 102 | let Y = { | |
103 | 103 | let Z = X | |
104 | 104 | if ((base58'2W' == Z)) | |
105 | 105 | then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi' | |
106 | 106 | else if ((base58'2T' == Z)) | |
107 | 107 | then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63' | |
108 | 108 | else throw("Unknown chain") | |
109 | 109 | } | |
110 | 110 | ||
111 | 111 | let aa = { | |
112 | 112 | let Z = X | |
113 | 113 | if ((base58'2W' == Z)) | |
114 | 114 | then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv" | |
115 | 115 | else if ((base58'2T' == Z)) | |
116 | 116 | then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy" | |
117 | 117 | else throw("Unknown chain") | |
118 | 118 | } | |
119 | 119 | ||
120 | 120 | let ab = "__" | |
121 | 121 | ||
122 | 122 | let ac = 1000000 | |
123 | 123 | ||
124 | 124 | let ad = 100000000 | |
125 | 125 | ||
126 | 126 | let ae = 10000000000 | |
127 | 127 | ||
128 | 128 | let af = 100000 | |
129 | 129 | ||
130 | 130 | func ag (ah,ai) = valueOrErrorMessage(getString(ah, ai), makeString(["mandatory ", toString(ah), ".", ai, " is not defined"], "")) | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | let aj = 1 | |
134 | 134 | ||
135 | 135 | func ak () = "%s__restConfig" | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func al () = "%s__restAddr" | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func am (an) = split_4C(ag(an, ak()), ab) | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func ao (ap,aq) = valueOrErrorMessage(addressFromString(ap[aq]), ("Rest cfg doesn't contain address at index " + toString(aq))) | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | let ar = addressFromStringValue(valueOrElse(getString(this, al()), aa)) | |
148 | 148 | ||
149 | 149 | let ap = am(ar) | |
150 | 150 | ||
151 | 151 | let as = ao(ap, aj) | |
152 | 152 | ||
153 | 153 | func at (au) = { | |
154 | 154 | let Z = au | |
155 | 155 | if ($isInstanceOf(Z, "String")) | |
156 | 156 | then { | |
157 | 157 | let av = Z | |
158 | 158 | av | |
159 | 159 | } | |
160 | 160 | else throw("fail to cast into String") | |
161 | 161 | } | |
162 | 162 | ||
163 | 163 | ||
164 | 164 | func aw (au) = { | |
165 | 165 | let Z = au | |
166 | 166 | if ($isInstanceOf(Z, "Int")) | |
167 | 167 | then { | |
168 | 168 | let ax = Z | |
169 | 169 | ax | |
170 | 170 | } | |
171 | 171 | else throw("fail to cast into Int") | |
172 | 172 | } | |
173 | 173 | ||
174 | 174 | ||
175 | 175 | func ay (az,aA) = { | |
176 | 176 | let aB = pow(10, 0, aA, 0, 0, DOWN) | |
177 | 177 | ((toString((az / aB)) + ".") + toString((az % aB))) | |
178 | 178 | } | |
179 | 179 | ||
180 | 180 | ||
181 | 181 | let aC = 10000000000 | |
182 | 182 | ||
183 | 183 | let aD = 200 | |
184 | 184 | ||
185 | 185 | let aE = 300 | |
186 | 186 | ||
187 | 187 | let aF = 10000 | |
188 | 188 | ||
189 | 189 | func aG (aH,aI) = ((("factoryWhByContinentAndRes_" + aH) + "_") + toString(aI)) | |
190 | 190 | ||
191 | 191 | ||
192 | 192 | let aJ = 0 | |
193 | 193 | ||
194 | 194 | let aK = 1 | |
195 | 195 | ||
196 | 196 | let aL = 2 | |
197 | 197 | ||
198 | 198 | func aM (aN) = { | |
199 | 199 | let aO = split(valueOrElse(getString(aN), "0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:"), ":") | |
200 | 200 | [if ((size(split(aO[aJ], "_")) == f)) | |
201 | 201 | then aO[aJ] | |
202 | 202 | else "0@0_0@0_0@0_0@0_0@0_0@0", if ((size(split(aO[aK], "_")) == f)) | |
203 | 203 | then aO[aK] | |
204 | 204 | else "0@0_0@0_0@0_0@0_0@0_0@0", aO[aL]] | |
205 | 205 | } | |
206 | 206 | ||
207 | 207 | ||
208 | 208 | func aP (aQ,aR,aS) = if (aS) | |
209 | 209 | then { | |
210 | 210 | let aT = if ((aQ >= 0)) | |
211 | 211 | then (((aQ + aR) - 1) / aR) | |
212 | 212 | else -((((-(aQ) + aR) - 1) / aR)) | |
213 | 213 | (aT * ad) | |
214 | 214 | } | |
215 | 215 | else aQ | |
216 | 216 | ||
217 | 217 | ||
218 | 218 | func aU (aV,aI,aQ,aW) = { | |
219 | 219 | let aX = aG(aV, aI) | |
220 | 220 | let aY = valueOrElse(getInteger(aX), 0) | |
221 | 221 | let aZ = if ((aY > aC)) | |
222 | 222 | then 0 | |
223 | 223 | else if (((aY + aQ) > aC)) | |
224 | 224 | then (aC - aY) | |
225 | 225 | else aQ | |
226 | 226 | let ba = (fraction(aZ, ((aD * h) - fraction(((100 * aY) + (50 * aZ)), h, aC)), ae) + fraction((aQ - aZ), h, ad)) | |
227 | 227 | let bb = (aW - (aW / 100)) | |
228 | 228 | if (((bb * aQ) > (ba * ad))) | |
229 | 229 | then throw((((((((((("Actual price = " + toString(ba)) + " / ") + toString(aQ)) + " < minPrice = ") + toString(aW)) + ", (") + aV) + ", ") + k[aI]) + ")")) | |
230 | 230 | else $Tuple2(IntegerEntry(aX, (aY + aQ)), ba) | |
231 | 231 | } | |
232 | 232 | ||
233 | 233 | ||
234 | 234 | func bc (aV,bd,aQ,be) = { | |
235 | 235 | let aX = aG(aV, bd) | |
236 | 236 | let aY = valueOrElse(getInteger(aX), 0) | |
237 | 237 | let bf = if ((aY > aC)) | |
238 | 238 | then min([aQ, (aY - aC)]) | |
239 | 239 | else 0 | |
240 | 240 | let bg = min([aY, (aQ - bf)]) | |
241 | 241 | let bh = (bg + bf) | |
242 | 242 | let bi = (fraction(bg, ((aE * h) - fraction(((100 * aY) - (50 * bg)), h, aC)), ae) + fraction(bf, (2 * h), ad)) | |
243 | 243 | let bj = (be + (be / 100)) | |
244 | 244 | if (((bi * ad) > (bj * bh))) | |
245 | 245 | then throw((((((((((("Actual price = " + toString(bi)) + " / ") + toString(bh)) + " > maxPrice = ") + toString(be)) + ", (") + aV) + ", ") + l[bd]) + ")")) | |
246 | 246 | else $Tuple3(IntegerEntry(aX, (aY - bh)), bi, bh) | |
247 | 247 | } | |
248 | 248 | ||
249 | 249 | ||
250 | 250 | func bk (bl) = { | |
251 | 251 | let aO = split(valueOrElse(getString(as, bl), "0:0_0_0_0_0_0:0_0_0_0_0_0:"), ":") | |
252 | 252 | [toString(valueOrElse(parseInt(aO[A]), 0)), if ((size(split(aO[B], "_")) == f)) | |
253 | 253 | then aO[B] | |
254 | 254 | else "0_0_0_0_0_0", if ((size(split(aO[C], "_")) == f)) | |
255 | 255 | then aO[C] | |
256 | 256 | else "0_0_0_0_0_0", aO[D]] | |
257 | 257 | } | |
258 | 258 | ||
259 | 259 | ||
260 | 260 | func bm () = if (valueOrElse(getBoolean(as, O()), false)) | |
261 | 261 | then throw("Contracts are under maintenance") | |
262 | 262 | else unit | |
263 | 263 | ||
264 | 264 | ||
265 | 265 | func bn () = if (valueOrElse(getBoolean(as, O()), false)) | |
266 | 266 | then throw("Contracts are under maintenance") | |
267 | 267 | else aw(invoke(as, "saveLastTx", nil, nil)) | |
268 | 268 | ||
269 | 269 | ||
270 | 270 | func bo (bp,bq) = { | |
271 | 271 | let br = bp._1 | |
272 | 272 | let bs = bp._8 | |
273 | 273 | let bt = split(bq, "@") | |
274 | 274 | if ((size(bt) != 2)) | |
275 | 275 | then throw("Incorrect order format, should be amount@price") | |
276 | 276 | else { | |
277 | 277 | let bu = parseIntValue(bt[0]) | |
278 | 278 | let bv = parseIntValue(bt[1]) | |
279 | 279 | let bw = fraction(bu, bv, ad) | |
280 | 280 | let bx = aP(bu, s, bs) | |
281 | 281 | let by = if ((size(bp._6) > br)) | |
282 | 282 | then parseIntValue(bp._6[br]) | |
283 | 283 | else 0 | |
284 | 284 | let bz = split(if ((size(bp._7) > br)) | |
285 | 285 | then bp._7[br] | |
286 | 286 | else "0@0", "@") | |
287 | 287 | let bA = parseIntValue(bz[0]) | |
288 | 288 | let bB = parseIntValue(bz[1]) | |
289 | 289 | if (if ((0 > bB)) | |
290 | 290 | then true | |
291 | 291 | else (0 > bv)) | |
292 | 292 | then throw("Price can't be negative") | |
293 | 293 | else { | |
294 | 294 | let bC = fraction(bA, bB, ad) | |
295 | 295 | if ((bu == 0)) | |
296 | 296 | then if ((bA > 0)) | |
297 | 297 | then $Tuple9((br + 1), (bp._2 :+ toString(by)), bp._3, bp._4, (bp._5 - bC), bp._6, bp._7, bs, (bp._9 + aP(by, s, bs))) | |
298 | 298 | else $Tuple9((br + 1), (bp._2 :+ toString((by - bA))), bp._3, bp._4, bp._5, bp._6, bp._7, bs, (bp._9 + aP((by - bA), s, bs))) | |
299 | 299 | else if ((bu > 0)) | |
300 | 300 | then if ((0 > bA)) | |
301 | 301 | then $Tuple9((br + 1), (bp._2 :+ toString((by - bA))), (bp._3 + bx), bp._4, (bp._5 + bw), bp._6, bp._7, bs, aP((by - bA), s, bs)) | |
302 | 302 | else $Tuple9((br + 1), (bp._2 :+ toString(by)), (bp._3 + bx), bp._4, ((bp._5 + bw) - bC), bp._6, bp._7, bs, aP(by, s, bs)) | |
303 | 303 | else if ((0 > bA)) | |
304 | 304 | then { | |
305 | 305 | let bD = (bA - bu) | |
306 | 306 | if ((0 > (by - bD))) | |
307 | 307 | then throw((((("Attempt to take " + toString(bD)) + " from warehouse, but only ") + toString(by)) + " available")) | |
308 | 308 | else $Tuple9((br + 1), (bp._2 :+ toString((by - bD))), bp._3, (bp._4 - bx), bp._5, bp._6, bp._7, bs, aP((by - bD), s, bs)) | |
309 | 309 | } | |
310 | 310 | else if ((0 > (by + bu))) | |
311 | 311 | then throw((((("Attempt to take " + toString(-(bu))) + " from warehouse, but only ") + toString(by)) + " available")) | |
312 | 312 | else $Tuple9((br + 1), (bp._2 :+ toString((by + bu))), bp._3, (bp._4 - bx), (bp._5 - bC), bp._6, bp._7, bs, aP((by + bu), s, bs)) | |
313 | 313 | } | |
314 | 314 | } | |
315 | 315 | } | |
316 | 316 | ||
317 | 317 | ||
318 | 318 | func bE (bF,bG,bH) = { | |
319 | 319 | let bI = split(bF[u], "_") | |
320 | 320 | let bJ = split(bF[v], "_") | |
321 | 321 | let bK = if ((bF[w] == "")) | |
322 | 322 | then nil | |
323 | 323 | else split(bF[w], "_") | |
324 | 324 | let bL = split(bG[aJ], "_") | |
325 | 325 | let bM = split(bG[aK], "_") | |
326 | 326 | let bN = if ((bG[aL] == "")) | |
327 | 327 | then nil | |
328 | 328 | else split(bG[aL], "_") | |
329 | 329 | if ((size(bH) != 3)) | |
330 | 330 | then throw("newOrderStr should contain exactly 2 ':' separators") | |
331 | 331 | else { | |
332 | 332 | let bO = split(bH[0], "_") | |
333 | 333 | let bP = split(bH[1], "_") | |
334 | 334 | let bQ = if ((bH[2] == "")) | |
335 | 335 | then nil | |
336 | 336 | else split(bH[2], "_") | |
337 | 337 | if ((size(bO) != f)) | |
338 | 338 | then throw("All 6 resources should be passed") | |
339 | 339 | else if ((size(bP) != f)) | |
340 | 340 | then throw("All 6 materials should be passed") | |
341 | 341 | else { | |
342 | 342 | let bR = { | |
343 | 343 | let bS = bO | |
344 | 344 | let bT = size(bS) | |
345 | 345 | let bU = $Tuple9(0, nil, 0, 0, 0, bI, bL, false, 0) | |
346 | 346 | func bV (bW,bX) = if ((bX >= bT)) | |
347 | 347 | then bW | |
348 | 348 | else bo(bW, bS[bX]) | |
349 | 349 | ||
350 | 350 | func bY (bW,bX) = if ((bX >= bT)) | |
351 | 351 | then bW | |
352 | 352 | else throw("List size exceeds 6") | |
353 | 353 | ||
354 | 354 | bY(bV(bV(bV(bV(bV(bV(bU, 0), 1), 2), 3), 4), 5), 6) | |
355 | 355 | } | |
356 | 356 | let bh = { | |
357 | 357 | let bS = bP | |
358 | 358 | let bT = size(bS) | |
359 | 359 | let bU = $Tuple9(0, nil, bR._3, bR._4, bR._5, bJ, bM, false, bR._9) | |
360 | 360 | func bZ (bW,bX) = if ((bX >= bT)) | |
361 | 361 | then bW | |
362 | 362 | else bo(bW, bS[bX]) | |
363 | 363 | ||
364 | 364 | func ca (bW,bX) = if ((bX >= bT)) | |
365 | 365 | then bW | |
366 | 366 | else throw("List size exceeds 6") | |
367 | 367 | ||
368 | 368 | ca(bZ(bZ(bZ(bZ(bZ(bZ(bU, 0), 1), 2), 3), 4), 5), 6) | |
369 | 369 | } | |
370 | 370 | let aO = if ((size(bQ) != 0)) | |
371 | 371 | then { | |
372 | 372 | let bS = bQ | |
373 | 373 | let bT = size(bS) | |
374 | 374 | let bU = $Tuple9(0, nil, bh._3, bh._4, bh._5, bK, bN, true, bh._9) | |
375 | 375 | func cb (bW,bX) = if ((bX >= bT)) | |
376 | 376 | then bW | |
377 | 377 | else bo(bW, bS[bX]) | |
378 | 378 | ||
379 | 379 | func cc (bW,bX) = if ((bX >= bT)) | |
380 | 380 | then bW | |
381 | 381 | else throw("List size exceeds 50") | |
382 | 382 | ||
383 | 383 | cc(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(bU, 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) | |
384 | 384 | } | |
385 | 385 | else $Tuple9(0, bK, bh._3, bh._4, bh._5, bK, bN, true, bh._9) | |
386 | 386 | $Tuple7(bR._2, bh._2, aO._2, aO._3, aO._4, aO._5, aO._9) | |
387 | 387 | } | |
388 | 388 | } | |
389 | 389 | } | |
390 | 390 | ||
391 | 391 | ||
392 | 392 | func cd (bp,ce) = { | |
393 | 393 | let br = bp._7 | |
394 | 394 | let bs = bp._12 | |
395 | 395 | let cf = split(ce, "@") | |
396 | 396 | if ((size(cf) != 2)) | |
397 | 397 | then throw("Incorrect order format, should be amount@price") | |
398 | 398 | else { | |
399 | 399 | let cg = parseIntValue(cf[0]) | |
400 | 400 | let ch = parseIntValue(cf[1]) | |
401 | 401 | if ((0 > ch)) | |
402 | 402 | then throw("Price can't be negative") | |
403 | 403 | else { | |
404 | 404 | let ci = fraction(cg, ch, ad) | |
405 | 405 | let cj = if ((size(bp._8) > br)) | |
406 | 406 | then parseIntValue(bp._8[br]) | |
407 | 407 | else 0 | |
408 | 408 | let by = if ((size(bp._9) > br)) | |
409 | 409 | then parseIntValue(bp._9[br]) | |
410 | 410 | else 0 | |
411 | 411 | let ck = if ((size(bp._10) > br)) | |
412 | 412 | then bp._10[br] | |
413 | 413 | else "0@0" | |
414 | 414 | let cl = split(ck, "@") | |
415 | 415 | let cm = parseIntValue(cl[0]) | |
416 | 416 | let cn = parseIntValue(cl[1]) | |
417 | 417 | if (if ((cg != 0)) | |
418 | 418 | then (ch != cn) | |
419 | 419 | else false) | |
420 | 420 | then throw(((((("Prices of " + bp._11[br]) + " don't match! WH price=") + toString(cn)) + ", your price=") + toString(ch))) | |
421 | 421 | else { | |
422 | 422 | let co = fraction(cm, cn, ad) | |
423 | 423 | let cp = aP(cg, s, bs) | |
424 | 424 | if ((cg == 0)) | |
425 | 425 | then $Tuple13((bp._1 :+ toString(by)), (bp._2 :+ ck), (bp._3 :+ toString(cj)), bp._4, bp._5, bp._6, (bp._7 + 1), bp._8, bp._9, bp._10, bp._11, bs, bp._13) | |
426 | 426 | else if ((cg > 0)) | |
427 | 427 | then if ((0 > cm)) | |
428 | 428 | then if ((cg > -(cm))) | |
429 | 429 | then throw(((((("Attempt to buy " + toString(cg)) + " of ") + bp._11[br]) + ", but warehouse only sells ") + toString(-(cm)))) | |
430 | 430 | else $Tuple13((bp._1 :+ toString(by)), (bp._2 :+ ((toString((cm + cg)) + "@") + toString(cn))), (bp._3 :+ toString((cj + cg))), (bp._4 + cp), bp._5, (bp._6 + ci), (bp._7 + 1), bp._8, bp._9, bp._10, bp._11, bs, (bp._13 + (if (bs) | |
431 | 431 | then (cg * ad) | |
432 | 432 | else cg))) | |
433 | 433 | else throw((("Attempt to buy " + bp._11[br]) + " while warehouse doesn't sell it")) | |
434 | 434 | else if ((cm > 0)) | |
435 | 435 | then if ((-(cg) > cm)) | |
436 | 436 | then throw(((((("Attempt to sell " + toString(-(cg))) + " of ") + bp._11[br]) + ", but warehouse only buys ") + toString(cm))) | |
437 | 437 | else if ((-(cg) > cj)) | |
438 | 438 | then throw(((((("Attempt to sell " + toString(-(cg))) + ", but you only have ") + toString(cj)) + " of ") + bp._11[br])) | |
439 | 439 | else $Tuple13((bp._1 :+ toString((by - cg))), (bp._2 :+ ((toString((cm + cg)) + "@") + toString(cn))), (bp._3 :+ toString((cj + cg))), (bp._4 - cp), (bp._5 - ci), bp._6, (bp._7 + 1), bp._8, bp._9, bp._10, bp._11, bs, (bp._13 - (if (bs) | |
440 | 440 | then (cg * ad) | |
441 | 441 | else cg))) | |
442 | 442 | else throw((("Attempt to sell " + bp._11[br]) + " while warehouse doesn't buy it")) | |
443 | 443 | } | |
444 | 444 | } | |
445 | 445 | } | |
446 | 446 | } | |
447 | 447 | ||
448 | 448 | ||
449 | 449 | @Callable(cq) | |
450 | 450 | func recalcLockedVolumeREADONLY (Q,cr) = { | |
451 | 451 | let bG = aM(P(Q)) | |
452 | 452 | let cs = bE(cr, bG, bG) | |
453 | 453 | $Tuple2(nil, (cs._4 + cs._5)) | |
454 | 454 | } | |
455 | 455 | ||
456 | 456 | ||
457 | 457 | ||
458 | 458 | @Callable(cq) | |
459 | 459 | func constructorV1 (ct) = if ((cq.caller != this)) | |
460 | 460 | then throw("Permission denied") | |
461 | 461 | else [StringEntry(al(), ct)] | |
462 | 462 | ||
463 | 463 | ||
464 | 464 | ||
465 | 465 | @Callable(cq) | |
466 | 466 | func sellResources (cu,cv) = { | |
467 | 467 | let cw = bn() | |
468 | 468 | let M = valueOrErrorMessage(getString(as, J(toString(cq.caller))), "You don't have a duck staked") | |
469 | 469 | if ((size(cq.payments) != 0)) | |
470 | 470 | then throw("sellResources doesn't require any payments") | |
471 | 471 | else { | |
472 | 472 | let cx = split(valueOrElse(getString(as, N(M)), g), "_") | |
473 | 473 | if ((cx[T] != "F")) | |
474 | 474 | then throw(("Duck location type should be Factory, but is " + cx[T])) | |
475 | 475 | else { | |
476 | 476 | let aV = cx[U] | |
477 | 477 | let cy = bk(L(M)) | |
478 | 478 | let cz = split(cy[B], "_") | |
479 | 479 | func cA (bp,br) = if ((cu[br] > parseIntValue(cz[br]))) | |
480 | 480 | then throw(((((("You have " + cz[br]) + " of ") + k[br]) + ", but tried to sell ") + toString(cu[br]))) | |
481 | 481 | else if ((0 > cu[br])) | |
482 | 482 | then throw(((("You tried to sell negative amount of " + k[br]) + ": ") + toString(cu[br]))) | |
483 | 483 | else if ((cu[br] > 0)) | |
484 | 484 | then { | |
485 | 485 | let cB = aU(aV, br, cu[br], cv[br]) | |
486 | 486 | $Tuple4((bp._1 :+ cB._1), (bp._2 :+ toString((parseIntValue(cz[br]) - cu[br]))), (bp._3 + cB._2), (bp._4 + cu[br])) | |
487 | 487 | } | |
488 | 488 | else $Tuple4(bp._1, (bp._2 :+ cz[br]), bp._3, bp._4) | |
489 | 489 | ||
490 | 490 | let cC = { | |
491 | 491 | let bS = [0, 1, 2, 3, 4, 5] | |
492 | 492 | let bT = size(bS) | |
493 | 493 | let bU = $Tuple4(nil, nil, 0, 0) | |
494 | 494 | func bV (bW,bX) = if ((bX >= bT)) | |
495 | 495 | then bW | |
496 | 496 | else cA(bW, bS[bX]) | |
497 | 497 | ||
498 | 498 | func bY (bW,bX) = if ((bX >= bT)) | |
499 | 499 | then bW | |
500 | 500 | else throw("List size exceeds 6") | |
501 | 501 | ||
502 | 502 | bY(bV(bV(bV(bV(bV(bV(bU, 0), 1), 2), 3), 4), 5), 6) | |
503 | 503 | } | |
504 | 504 | let cD = makeString([cy[A], makeString(cC._2, "_"), cy[C], cy[D]], ":") | |
505 | 505 | let cE = at(invoke(as, "updateBackpack", [M, cD], nil)) | |
506 | 506 | let cF = aw(invoke(as, "updateDuckStats", [M, fraction(a, cC._4, ad)], nil)) | |
507 | 507 | $Tuple2((cC._1 :+ ScriptTransfer(cq.caller, cC._3, Y)), $Tuple3(cE, cw, cF)) | |
508 | 508 | } | |
509 | 509 | } | |
510 | 510 | } | |
511 | 511 | ||
512 | 512 | ||
513 | 513 | ||
514 | 514 | @Callable(cq) | |
515 | 515 | func buyMaterials (cu,cG) = { | |
516 | 516 | let cw = bn() | |
517 | 517 | let M = valueOrErrorMessage(getString(as, J(toString(cq.caller))), "You don't have a duck staked") | |
518 | 518 | if ((size(cq.payments) != 1)) | |
519 | 519 | then throw("exactly 1 payment must be attached") | |
520 | 520 | else { | |
521 | 521 | let cH = cq.payments[0] | |
522 | 522 | let cI = cH.amount | |
523 | 523 | let cJ = valueOrErrorMessage(cH.assetId, "WAVES can't be used as payment") | |
524 | 524 | if ((cJ != Y)) | |
525 | 525 | then throw("USDT payments only!") | |
526 | 526 | else { | |
527 | 527 | let cx = split(valueOrElse(getString(as, N(M)), g), "_") | |
528 | 528 | if ((cx[T] != "F")) | |
529 | 529 | then throw(("Duck location type should be Factory, but is " + cx[T])) | |
530 | 530 | else { | |
531 | 531 | let aV = cx[U] | |
532 | 532 | let cy = bk(L(M)) | |
533 | 533 | let cK = split(cy[C], "_") | |
534 | 534 | func cL (bp,br) = if ((0 > cu[br])) | |
535 | 535 | then throw(((("You tried to buy negative amount of " + l[br]) + ": ") + toString(cu[br]))) | |
536 | 536 | else if ((cu[br] > 0)) | |
537 | 537 | then { | |
538 | 538 | let cB = bc(aV, br, cu[br], cG[br]) | |
539 | 539 | $Tuple4((bp._1 :+ cB._1), (bp._2 :+ toString((parseIntValue(cK[br]) + cB._3))), (bp._3 + cB._2), (bp._4 + cu[br])) | |
540 | 540 | } | |
541 | 541 | else $Tuple4(bp._1, (bp._2 :+ cK[br]), bp._3, bp._4) | |
542 | 542 | ||
543 | 543 | let cC = { | |
544 | 544 | let bS = [0, 1, 2, 3, 4, 5] | |
545 | 545 | let bT = size(bS) | |
546 | 546 | let bU = $Tuple4(nil, nil, 0, 0) | |
547 | 547 | func bV (bW,bX) = if ((bX >= bT)) | |
548 | 548 | then bW | |
549 | 549 | else cL(bW, bS[bX]) | |
550 | 550 | ||
551 | 551 | func bY (bW,bX) = if ((bX >= bT)) | |
552 | 552 | then bW | |
553 | 553 | else throw("List size exceeds 6") | |
554 | 554 | ||
555 | 555 | bY(bV(bV(bV(bV(bV(bV(bU, 0), 1), 2), 3), 4), 5), 6) | |
556 | 556 | } | |
557 | 557 | if ((cC._3 > cI)) | |
558 | 558 | then throw(((("Insufficient payment! Attached=" + toString(cI)) + ", required=") + toString(cC._3))) | |
559 | 559 | else { | |
560 | 560 | let cD = makeString([cy[A], cy[B], makeString(cC._2, "_"), cy[D]], ":") | |
561 | 561 | let cE = at(invoke(as, "updateBackpack", [M, cD], nil)) | |
562 | 562 | let an = if (((cI - cC._3) > 0)) | |
563 | 563 | then [ScriptTransfer(cq.caller, (cI - cC._3), Y)] | |
564 | 564 | else nil | |
565 | 565 | let cM = (cC._3 / 100) | |
566 | 566 | let cF = aw(invoke(as, "updateDuckStats", [M, fraction(a, cC._4, ad)], nil)) | |
567 | 567 | $Tuple2(((cC._1 ++ an) :+ ScriptTransfer(ar, cM, Y)), $Tuple3(cE, cw, cF)) | |
568 | 568 | } | |
569 | 569 | } | |
570 | 570 | } | |
571 | 571 | } | |
572 | 572 | } | |
573 | 573 | ||
574 | 574 | ||
575 | 575 | ||
576 | 576 | @Callable(cq) | |
577 | 577 | func exchangeResources (cu) = { | |
578 | 578 | let cw = bn() | |
579 | 579 | let M = valueOrErrorMessage(getString(as, J(toString(cq.caller))), "You don't have a duck staked") | |
580 | 580 | if ((size(cq.payments) != 1)) | |
581 | 581 | then throw("exactly 1 payment must be attached") | |
582 | 582 | else { | |
583 | 583 | let cH = cq.payments[0] | |
584 | 584 | let cI = cH.amount | |
585 | 585 | let cJ = valueOrErrorMessage(cH.assetId, "WAVES can't be used as payment") | |
586 | 586 | if ((cJ != Y)) | |
587 | 587 | then throw("USDT payments only!") | |
588 | 588 | else { | |
589 | 589 | let cx = split(valueOrElse(getString(as, N(M)), g), "_") | |
590 | 590 | if ((cx[T] != "F")) | |
591 | 591 | then throw(("Duck location type should be Factory, but is " + cx[T])) | |
592 | 592 | else { | |
593 | 593 | let aV = cx[U] | |
594 | 594 | let cy = bk(L(M)) | |
595 | 595 | let cz = split(cy[B], "_") | |
596 | 596 | let cK = split(cy[C], "_") | |
597 | 597 | func cN (bp,br) = { | |
598 | 598 | let aX = aG(aV, br) | |
599 | 599 | let aY = valueOrElse(getInteger(aX), 0) | |
600 | 600 | let cO = cu[br] | |
601 | 601 | if ((cO > parseIntValue(cz[br]))) | |
602 | 602 | then throw(((((("You have " + cz[br]) + " of ") + k[br]) + ", but tried to exchange ") + toString(cO))) | |
603 | 603 | else if ((0 > cO)) | |
604 | 604 | then throw(((("You tried to exchange negative amount of " + k[br]) + ": ") + toString(cO))) | |
605 | 605 | else if ((cO > 0)) | |
606 | 606 | then $Tuple5((bp._1 :+ toString((parseIntValue(cz[br]) - cO))), (bp._2 :+ toString((parseIntValue(cK[br]) + cO))), (bp._3 + fraction(cO, h, ad)), (bp._4 :+ IntegerEntry(aX, aY)), (bp._5 + cO)) | |
607 | 607 | else $Tuple5((bp._1 :+ cz[br]), (bp._2 :+ cK[br]), bp._3, bp._4, bp._5) | |
608 | 608 | } | |
609 | 609 | ||
610 | 610 | let cC = { | |
611 | 611 | let bS = [0, 1, 2, 3, 4, 5] | |
612 | 612 | let bT = size(bS) | |
613 | 613 | let bU = $Tuple5(nil, nil, 0, nil, 0) | |
614 | 614 | func bV (bW,bX) = if ((bX >= bT)) | |
615 | 615 | then bW | |
616 | 616 | else cN(bW, bS[bX]) | |
617 | 617 | ||
618 | 618 | func bY (bW,bX) = if ((bX >= bT)) | |
619 | 619 | then bW | |
620 | 620 | else throw("List size exceeds 6") | |
621 | 621 | ||
622 | 622 | bY(bV(bV(bV(bV(bV(bV(bU, 0), 1), 2), 3), 4), 5), 6) | |
623 | 623 | } | |
624 | 624 | if ((cC._3 > cI)) | |
625 | 625 | then throw(((("Insufficient payment! Attached=" + toString(cI)) + ", required=") + toString(cC._3))) | |
626 | 626 | else { | |
627 | 627 | let cD = makeString([cy[A], makeString(cC._1, "_"), makeString(cC._2, "_"), cy[D]], ":") | |
628 | 628 | let cE = at(invoke(as, "updateBackpack", [M, cD], nil)) | |
629 | 629 | let an = if (((cI - cC._3) > 0)) | |
630 | 630 | then [ScriptTransfer(cq.caller, (cI - cC._3), Y)] | |
631 | 631 | else nil | |
632 | 632 | let cM = (cC._3 / 100) | |
633 | 633 | let cF = aw(invoke(as, "updateDuckStats", [M, fraction(a, cC._5, ad)], nil)) | |
634 | 634 | $Tuple2(((an ++ cC._4) :+ ScriptTransfer(ar, cM, Y)), $Tuple3(cE, cw, cF)) | |
635 | 635 | } | |
636 | 636 | } | |
637 | 637 | } | |
638 | 638 | } | |
639 | 639 | } | |
640 | 640 | ||
641 | 641 | ||
642 | 642 | ||
643 | 643 | @Callable(cq) | |
644 | 644 | func craftGoods (cP,cQ) = { | |
645 | 645 | let cw = bn() | |
646 | 646 | if ((size(cq.payments) != 1)) | |
647 | 647 | then throw("exactly 1 payment must be attached") | |
648 | 648 | else { | |
649 | 649 | let cH = cq.payments[0] | |
650 | 650 | let cI = cH.amount | |
651 | 651 | let cJ = valueOrErrorMessage(cH.assetId, "WAVES can't be used as payment") | |
652 | 652 | if ((cJ != Y)) | |
653 | 653 | then throw("USDT payments only!") | |
654 | 654 | else if ((cI != ac)) | |
655 | 655 | then throw("exactly 1 USDT must be attached as payment") | |
656 | 656 | else if ((0 >= cQ)) | |
657 | 657 | then throw("Quantity should be positive") | |
658 | 658 | else { | |
659 | 659 | let M = valueOrErrorMessage(getString(as, J(toString(cq.caller))), "You don't have a duck staked") | |
660 | 660 | let cx = split(valueOrElse(getString(as, N(M)), g), "_") | |
661 | 661 | if ((cx[T] != "M")) | |
662 | 662 | then throw(("Duck location type should be Manufactory, but is " + cx[T])) | |
663 | 663 | else { | |
664 | 664 | let cR = cx[S] | |
665 | 665 | let cy = bk(L(M)) | |
666 | 666 | let cK = split(cy[C], "_") | |
667 | 667 | if (if ((0 > cP)) | |
668 | 668 | then true | |
669 | 669 | else (cP >= size(o))) | |
670 | 670 | then throw(("Unknown product idx=" + toString(cP))) | |
671 | 671 | else { | |
672 | 672 | let W = split(o[cP], "_") | |
673 | 673 | if ((size(W) != r)) | |
674 | 674 | then throw(("Fatal: unknown recipe: " + o[cP])) | |
675 | 675 | else { | |
676 | 676 | let cS = parseIntValue(W[q]) | |
677 | 677 | if ((n[cS] != cR)) | |
678 | 678 | then throw(((("This product is available in " + n[cS]) + ", but you are in ") + cR)) | |
679 | 679 | else { | |
680 | 680 | let cT = if ((cy[D] == "")) | |
681 | 681 | then nil | |
682 | 682 | else split(cy[D], "_") | |
683 | 683 | func cU (bp,cV) = { | |
684 | 684 | let ax = bp._2 | |
685 | 685 | let cW = if ((size(cT) > ax)) | |
686 | 686 | then cT[ax] | |
687 | 687 | else "0" | |
688 | 688 | let cX = parseIntValue(cW) | |
689 | 689 | let aQ = (cQ * s) | |
690 | 690 | let cY = if ((ax == cP)) | |
691 | 691 | then toString((cX + aQ)) | |
692 | 692 | else cW | |
693 | 693 | $Tuple2((bp._1 :+ cY), (ax + 1)) | |
694 | 694 | } | |
695 | 695 | ||
696 | 696 | let cZ = ( let bS = o | |
697 | 697 | let bT = size(bS) | |
698 | 698 | let bU = $Tuple2(nil, 0) | |
699 | 699 | func bV (bW,bX) = if ((bX >= bT)) | |
700 | 700 | then bW | |
701 | 701 | else cU(bW, bS[bX]) | |
702 | 702 | ||
703 | 703 | func bY (bW,bX) = if ((bX >= bT)) | |
704 | 704 | then bW | |
705 | 705 | else throw("List size exceeds 50") | |
706 | 706 | ||
707 | 707 | bY(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bU, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50))._1 | |
708 | 708 | func da (bp,br) = { | |
709 | 709 | let db = ((parseIntValue(W[br]) * ac) * cQ) | |
710 | 710 | let dc = parseIntValue(cK[br]) | |
711 | 711 | if ((db > dc)) | |
712 | 712 | then throw(((((((("You have " + ay(dc, 8)) + " of ") + l[br]) + ", but recipe requires ") + ay(db, 8)) + " for quantity ") + toString(cQ))) | |
713 | 713 | else if ((db > 0)) | |
714 | 714 | then $Tuple2((bp._1 :+ toString((dc - db))), (bp._2 + db)) | |
715 | 715 | else $Tuple2((bp._1 :+ cK[br]), bp._2) | |
716 | 716 | } | |
717 | 717 | ||
718 | 718 | let cC = { | |
719 | 719 | let bS = [0, 1, 2, 3, 4, 5] | |
720 | 720 | let bT = size(bS) | |
721 | 721 | let bU = $Tuple2(nil, 0) | |
722 | 722 | func bZ (bW,bX) = if ((bX >= bT)) | |
723 | 723 | then bW | |
724 | 724 | else da(bW, bS[bX]) | |
725 | 725 | ||
726 | 726 | func ca (bW,bX) = if ((bX >= bT)) | |
727 | 727 | then bW | |
728 | 728 | else throw("List size exceeds 6") | |
729 | 729 | ||
730 | 730 | ca(bZ(bZ(bZ(bZ(bZ(bZ(bU, 0), 1), 2), 3), 4), 5), 6) | |
731 | 731 | } | |
732 | 732 | let cD = makeString([cy[A], cy[B], makeString(cC._1, "_"), makeString(cZ, "_")], ":") | |
733 | 733 | let cE = at(invoke(as, "updateBackpack", [M, cD], nil)) | |
734 | 734 | let cF = aw(invoke(as, "updateDuckStats", [M, fraction(b, cC._2, ad)], nil)) | |
735 | 735 | $Tuple2(nil, $Tuple3(cE, cw, cF)) | |
736 | 736 | } | |
737 | 737 | } | |
738 | 738 | } | |
739 | 739 | } | |
740 | 740 | } | |
741 | 741 | } | |
742 | 742 | } | |
743 | 743 | ||
744 | 744 | ||
745 | 745 | ||
746 | 746 | @Callable(cq) | |
747 | 747 | func setWarehouseOrder (dd,Q) = { | |
748 | 748 | let de = cq.originCaller | |
749 | 749 | let I = toString(de) | |
750 | 750 | let cE = if ((de != ar)) | |
751 | 751 | then bm() | |
752 | 752 | else false | |
753 | 753 | let df = value(assetInfo(fromBase58String(Q))) | |
754 | 754 | if (!(isDefined(getInteger(as, G(Q))))) | |
755 | 755 | then throw((("NFT " + df.name) + " is not staked")) | |
756 | 756 | else { | |
757 | 757 | let dg = valueOrErrorMessage(getString(as, E(Q)), (("NFT " + df.name) + " is orphaned")) | |
758 | 758 | if (if ((de != ar)) | |
759 | 759 | then (dg != I) | |
760 | 760 | else false) | |
761 | 761 | then throw((e + " is not yours")) | |
762 | 762 | else { | |
763 | 763 | let dh = split_4C(dd, ":") | |
764 | 764 | let cr = at(invoke(as, "getWarehouseREADONLY", [Q], nil)) | |
765 | 765 | let bF = split_4C(cr, ":") | |
766 | 766 | let di = split(bF[x], "_") | |
767 | 767 | let dj = parseIntValue(di[z]) | |
768 | 768 | let aN = P(Q) | |
769 | 769 | let bG = aM(aN) | |
770 | 770 | let cs = bE(bF, bG, dh) | |
771 | 771 | let dk = cs._4 | |
772 | 772 | let dl = cs._5 | |
773 | 773 | let dm = cs._7 | |
774 | 774 | let dn = (dk + dl) | |
775 | 775 | let do = ((dj - dm) - dn) | |
776 | 776 | if ((0 > do)) | |
777 | 777 | then throw((((((("Attempt to reserve " + toString(dk)) + " space for buy orders, and ") + toString(dl)) + " space for sell orders (and occupied=") + toString(dm)) + "), leads to negative free space")) | |
778 | 778 | else { | |
779 | 779 | let dp = makeString_2C([bF[t], makeString(cs._1, "_"), makeString(cs._2, "_"), makeString(cs._3, "_"), toString(dn)], ":") | |
780 | 780 | let dq = at(invoke(as, "saveWarehouse", [dp, Q], nil)) | |
781 | 781 | let dr = cs._6 | |
782 | 782 | let ds = if ((dr > 0)) | |
783 | 783 | then if ((size(cq.payments) != 1)) | |
784 | 784 | then throw("exactly 1 payment must be attached") | |
785 | 785 | else { | |
786 | 786 | let cH = cq.payments[0] | |
787 | 787 | let cI = cH.amount | |
788 | 788 | let cJ = valueOrErrorMessage(cH.assetId, "WAVES can't be used as payment") | |
789 | 789 | if ((cJ != Y)) | |
790 | 790 | then throw("USDT payments only!") | |
791 | 791 | else if ((cI != dr)) | |
792 | 792 | then throw(("Payment needed is " + toString(dr))) | |
793 | 793 | else [StringEntry(aN, dd)] | |
794 | 794 | } | |
795 | 795 | else if ((dr == 0)) | |
796 | 796 | then if ((size(cq.payments) != 0)) | |
797 | 797 | then throw("No payments needed") | |
798 | 798 | else [StringEntry(aN, dd)] | |
799 | 799 | else if ((size(cq.payments) != 0)) | |
800 | 800 | then throw("No payments needed") | |
801 | 801 | else [ScriptTransfer(addressFromStringValue(dg), -(dr), Y), StringEntry(aN, dd)] | |
802 | 802 | $Tuple2(ds, $Tuple2(cE, dq)) | |
803 | 803 | } | |
804 | 804 | } | |
805 | 805 | } | |
806 | 806 | } | |
807 | 807 | ||
808 | 808 | ||
809 | 809 | ||
810 | 810 | @Callable(cq) | |
811 | 811 | func acceptWarehouseOrder (dt,Q,M) = { | |
812 | 812 | let cw = bn() | |
813 | 813 | let du = cq.originCaller | |
814 | 814 | let dv = toString(du) | |
815 | 815 | let dw = valueOrErrorMessage(getString(as, J(dv)), "You don't have a duck staked") | |
816 | 816 | let cx = valueOrElse(getString(as, N(dw)), g) | |
817 | 817 | let dx = split(value(cx), "_") | |
818 | 818 | if ((dx[T] != "L")) | |
819 | 819 | then throw((("Duck location type is " + dx[T]) + ", but should be L")) | |
820 | 820 | else if ((dw != M)) | |
821 | 821 | then throw(((("Your staked duck is " + dw) + ", but passed ") + M)) | |
822 | 822 | else { | |
823 | 823 | let dy = value(assetInfo(fromBase58String(Q))) | |
824 | 824 | if (!(isDefined(getInteger(as, G(Q))))) | |
825 | 825 | then throw((("NFT " + dy.name) + " is not staked")) | |
826 | 826 | else { | |
827 | 827 | let dz = valueOrErrorMessage(getString(as, E(Q)), (("NFT " + dy.name) + " is orphaned")) | |
828 | 828 | if ((dz == dv)) | |
829 | 829 | then throw("You cannot trade with yourself") | |
830 | 830 | else { | |
831 | 831 | let dA = split_4C(dt, ":") | |
832 | 832 | if ((size(dA) != 3)) | |
833 | 833 | then throw("bpOrderStr should contain exactly 2 ':' separators") | |
834 | 834 | else { | |
835 | 835 | let dB = split(dA[0], "_") | |
836 | 836 | let dC = split(dA[1], "_") | |
837 | 837 | let dD = if ((dA[2] == "")) | |
838 | 838 | then nil | |
839 | 839 | else split(dA[2], "_") | |
840 | 840 | if ((size(dB) != f)) | |
841 | 841 | then throw("All 6 resources should be passed") | |
842 | 842 | else if ((size(dC) != f)) | |
843 | 843 | then throw("All 6 materials should be passed") | |
844 | 844 | else { | |
845 | 845 | let cr = at(invoke(as, "getWarehouseREADONLY", [Q], nil)) | |
846 | 846 | let bF = split_4C(cr, ":") | |
847 | 847 | let bI = split(bF[u], "_") | |
848 | 848 | let bJ = split(bF[v], "_") | |
849 | 849 | let bK = if ((bF[w] == "")) | |
850 | 850 | then nil | |
851 | 851 | else split(bF[w], "_") | |
852 | 852 | let dE = parseIntValue(split(bF[x], "_")[y]) | |
853 | 853 | let bl = L(M) | |
854 | 854 | let cy = bk(bl) | |
855 | 855 | let dF = split(cy[B], "_") | |
856 | 856 | let dG = split(cy[C], "_") | |
857 | 857 | let dH = if ((cy[D] == "")) | |
858 | 858 | then nil | |
859 | 859 | else split(cy[D], "_") | |
860 | 860 | let aN = P(Q) | |
861 | 861 | let dI = aM(aN) | |
862 | 862 | let dJ = split(dI[aJ], "_") | |
863 | 863 | let dK = split(dI[aK], "_") | |
864 | 864 | let dL = if ((dI[aL] == "")) | |
865 | 865 | then nil | |
866 | 866 | else split(dI[aL], "_") | |
867 | 867 | let bR = { | |
868 | 868 | let bS = dB | |
869 | 869 | let bT = size(bS) | |
870 | 870 | let bU = $Tuple13(nil, nil, nil, 0, 0, 0, 0, dF, bI, dJ, k, false, 0) | |
871 | 871 | func bV (bW,bX) = if ((bX >= bT)) | |
872 | 872 | then bW | |
873 | 873 | else cd(bW, bS[bX]) | |
874 | 874 | ||
875 | 875 | func bY (bW,bX) = if ((bX >= bT)) | |
876 | 876 | then bW | |
877 | 877 | else throw("List size exceeds 6") | |
878 | 878 | ||
879 | 879 | bY(bV(bV(bV(bV(bV(bV(bU, 0), 1), 2), 3), 4), 5), 6) | |
880 | 880 | } | |
881 | 881 | let bh = { | |
882 | 882 | let bS = dC | |
883 | 883 | let bT = size(bS) | |
884 | 884 | let bU = $Tuple13(nil, nil, nil, bR._4, bR._5, bR._6, 0, dG, bJ, dK, l, false, bR._13) | |
885 | 885 | func bZ (bW,bX) = if ((bX >= bT)) | |
886 | 886 | then bW | |
887 | 887 | else cd(bW, bS[bX]) | |
888 | 888 | ||
889 | 889 | func ca (bW,bX) = if ((bX >= bT)) | |
890 | 890 | then bW | |
891 | 891 | else throw("List size exceeds 6") | |
892 | 892 | ||
893 | 893 | ca(bZ(bZ(bZ(bZ(bZ(bZ(bU, 0), 1), 2), 3), 4), 5), 6) | |
894 | 894 | } | |
895 | 895 | let aO = if ((size(dD) != 0)) | |
896 | 896 | then { | |
897 | 897 | let bS = dD | |
898 | 898 | let bT = size(bS) | |
899 | 899 | let bU = $Tuple13(nil, nil, nil, bh._4, bh._5, bh._6, 0, dH, bK, dL, m, true, bh._13) | |
900 | 900 | func cb (bW,bX) = if ((bX >= bT)) | |
901 | 901 | then bW | |
902 | 902 | else cd(bW, bS[bX]) | |
903 | 903 | ||
904 | 904 | func cc (bW,bX) = if ((bX >= bT)) | |
905 | 905 | then bW | |
906 | 906 | else throw("List size exceeds 50") | |
907 | 907 | ||
908 | 908 | cc(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(cb(bU, 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) | |
909 | 909 | } | |
910 | 910 | else $Tuple13(bK, dL, dH, bh._4, bh._5, bh._6, 0, dH, bK, dL, m, true, bh._13) | |
911 | 911 | let dM = aO._4 | |
912 | 912 | let dN = if ((0 > (dE - dM))) | |
913 | 913 | then 0 | |
914 | 914 | else (dE - dM) | |
915 | 915 | let dp = makeString_2C([bF[t], makeString(bR._1, "_"), makeString(bh._1, "_"), makeString(aO._1, "_"), toString(dN)], ":") | |
916 | 916 | let dO = makeString_2C([makeString(bR._2, "_"), makeString(bh._2, "_"), makeString(aO._2, "_")], ":") | |
917 | 917 | let dP = makeString_2C([cy[A], makeString(bR._3, "_"), makeString(bh._3, "_"), makeString(aO._3, "_")], ":") | |
918 | 918 | let dq = at(invoke(as, "saveWarehouse", [dp, Q], nil)) | |
919 | 919 | let dQ = at(invoke(as, "updateBackpack", [M, dP], nil)) | |
920 | 920 | let dR = aw(invoke(as, "updateDuckStats", [M, fraction(d, aO._13, ad)], nil)) | |
921 | 921 | let dS = aw(invoke(as, "updateAccStats", [dz, fraction(d, aO._13, ad)], nil)) | |
922 | 922 | let ds = [StringEntry(aN, dO)] | |
923 | 923 | let dT = aO._5 | |
924 | 924 | let dU = if ((dT > 0)) | |
925 | 925 | then { | |
926 | 926 | let dV = fraction(aO._5, aF, ac) | |
927 | 927 | let dW = H(dv) | |
928 | 928 | let dX = getString(as, dW) | |
929 | 929 | if (isDefined(dX)) | |
930 | 930 | then (((ds :+ ScriptTransfer(du, (aO._5 - (3 * dV)), Y)) :+ ScriptTransfer(ar, dV, Y)) :+ ScriptTransfer(addressFromStringValue(value(dX)), dV, Y)) | |
931 | 931 | else ((ds :+ ScriptTransfer(du, (aO._5 - (3 * dV)), Y)) :+ ScriptTransfer(ar, dV, Y)) | |
932 | 932 | } | |
933 | 933 | else ds | |
934 | 934 | let dY = aO._6 | |
935 | 935 | let dZ = if ((dY > 0)) | |
936 | 936 | then if ((size(cq.payments) != 1)) | |
937 | 937 | then throw("exactly 1 payment must be attached") | |
938 | 938 | else { | |
939 | 939 | let cH = cq.payments[0] | |
940 | 940 | let cI = cH.amount | |
941 | 941 | let cJ = valueOrErrorMessage(cH.assetId, "WAVES can't be used as payment") | |
942 | 942 | if ((cJ != Y)) | |
943 | 943 | then throw("USDT payments only!") | |
944 | 944 | else if ((cI != dY)) | |
945 | 945 | then throw(("Payment needed is " + toString(dY))) | |
946 | 946 | else if ((af > cI)) | |
947 | 947 | then throw(("Payment should be at least " + toString(af))) | |
948 | 948 | else { | |
949 | 949 | let ea = fraction(aO._6, aF, ac) | |
950 | 950 | let dW = H(dz) | |
951 | 951 | let dX = getString(as, dW) | |
952 | 952 | if (isDefined(dX)) | |
953 | 953 | then (((dU :+ ScriptTransfer(addressFromStringValue(dz), (aO._6 - (3 * ea)), Y)) :+ ScriptTransfer(ar, ea, Y)) :+ ScriptTransfer(addressFromStringValue(value(dX)), ea, Y)) | |
954 | 954 | else ((dU :+ ScriptTransfer(addressFromStringValue(dz), (aO._6 - (3 * ea)), Y)) :+ ScriptTransfer(ar, ea, Y)) | |
955 | 955 | } | |
956 | 956 | } | |
957 | 957 | else if ((size(cq.payments) != 0)) | |
958 | 958 | then throw("No payments needed") | |
959 | 959 | else dU | |
960 | 960 | $Tuple2(dZ, $Tuple5(cw, dq, dQ, dR, dS)) | |
961 | 961 | } | |
962 | 962 | } | |
963 | 963 | } | |
964 | 964 | } | |
965 | 965 | } | |
966 | 966 | } | |
967 | 967 | ||
968 | 968 | ||
969 | 969 | ||
970 | 970 | @Callable(cq) | |
971 | 971 | func sellProductsToES (cu) = { | |
972 | 972 | let cw = bn() | |
973 | 973 | if ((size(cq.payments) != 0)) | |
974 | 974 | then throw("No payments needed") | |
975 | 975 | else { | |
976 | 976 | let M = valueOrErrorMessage(getString(as, J(toString(cq.caller))), "You don't have a duck staked") | |
977 | 977 | let cx = split(valueOrElse(getString(as, N(M)), g), "_") | |
978 | 978 | if ((cx[T] != "A")) | |
979 | 979 | then throw(("Duck location type should be Airport, but is " + cx[T])) | |
980 | 980 | else { | |
981 | 981 | let cy = bk(L(M)) | |
982 | 982 | let cT = if ((cy[D] == "")) | |
983 | 983 | then nil | |
984 | 984 | else split(cy[D], "_") | |
985 | 985 | let eb = R() | |
986 | 986 | let ec = getString(eb) | |
987 | 987 | let ed = if (isDefined(ec)) | |
988 | 988 | then split(value(ec), "_") | |
989 | 989 | else nil | |
990 | 990 | func ee (bp,ef) = { | |
991 | 991 | let br = bp._1 | |
992 | 992 | let cQ = if ((size(cu) > br)) | |
993 | 993 | then cu[br] | |
994 | 994 | else 0 | |
995 | 995 | if ((0 > cQ)) | |
996 | 996 | then throw("Quantity cannot be negative") | |
997 | 997 | else { | |
998 | 998 | let W = split(ef, "_") | |
999 | 999 | if ((size(W) != r)) | |
1000 | 1000 | then throw(("Fatal: unknown recipe: " + ef)) | |
1001 | 1001 | else { | |
1002 | 1002 | let eg = (i * s) | |
1003 | 1003 | let eh = if ((size(ed) > br)) | |
1004 | 1004 | then parseIntValue(ed[br]) | |
1005 | 1005 | else 0 | |
1006 | 1006 | let ei = (eg - eh) | |
1007 | 1007 | if ((cQ > ei)) | |
1008 | 1008 | then throw(((("Warehouse can buy only " + toString(ei)) + " of ") + m[br])) | |
1009 | 1009 | else { | |
1010 | 1010 | let ej = V(W) | |
1011 | 1011 | let ek = fraction((ej * j), h, (10 * s)) | |
1012 | 1012 | let el = if ((size(cT) > br)) | |
1013 | 1013 | then parseIntValue(cT[br]) | |
1014 | 1014 | else 0 | |
1015 | 1015 | if ((cQ > el)) | |
1016 | 1016 | then throw(((("You have only " + toString(el)) + " of ") + m[br])) | |
1017 | 1017 | else $Tuple5((br + 1), (bp._2 + (ek * cQ)), (bp._3 :+ toString((el - cQ))), (bp._4 :+ toString((eh + cQ))), (bp._5 + (ej * cQ))) | |
1018 | 1018 | } | |
1019 | 1019 | } | |
1020 | 1020 | } | |
1021 | 1021 | } | |
1022 | 1022 | ||
1023 | 1023 | let cC = { | |
1024 | 1024 | let bS = o | |
1025 | 1025 | let bT = size(bS) | |
1026 | 1026 | let bU = $Tuple5(0, 0, nil, nil, 0) | |
1027 | 1027 | func bV (bW,bX) = if ((bX >= bT)) | |
1028 | 1028 | then bW | |
1029 | 1029 | else ee(bW, bS[bX]) | |
1030 | 1030 | ||
1031 | 1031 | func bY (bW,bX) = if ((bX >= bT)) | |
1032 | 1032 | then bW | |
1033 | 1033 | else throw("List size exceeds 50") | |
1034 | 1034 | ||
1035 | 1035 | bY(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bV(bU, 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) | |
1036 | 1036 | } | |
1037 | 1037 | let dP = makeString_2C([cy[A], cy[B], cy[C], makeString(cC._3, "_")], ":") | |
1038 | 1038 | let dQ = at(invoke(as, "updateBackpack", [M, dP], nil)) | |
1039 | 1039 | let cF = aw(invoke(as, "updateDuckStats", [M, fraction(c, cC._5, (ad * 10))], nil)) | |
1040 | 1040 | $Tuple2([StringEntry(eb, makeString(cC._4, "_")), ScriptTransfer(cq.caller, cC._2, Y)], $Tuple3(dQ, cw, cF)) | |
1041 | 1041 | } | |
1042 | 1042 | } | |
1043 | 1043 | } | |
1044 | 1044 | ||
1045 | 1045 | ||
1046 | 1046 | ||
1047 | 1047 | @Callable(cq) | |
1048 | 1048 | func updateEsStorage (em) = if ((cq.caller != as)) | |
1049 | 1049 | then throw("Permission denied") | |
1050 | 1050 | else $Tuple2([StringEntry(R(), em)], em) | |
1051 | 1051 | ||
1052 | 1052 |
github/deemru/w8io/169f3d6 139.39 ms ◑