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