tx · BZu7CfQmyBdCjVQ7mJWi8nRFmfbM9yUBMPGgZrijQ5DZ 3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy: -0.01600000 Waves 2023.03.15 13:28 [2491022] smart account 3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy > SELF 0.00000000 Waves
{ "type": 13, "id": "BZu7CfQmyBdCjVQ7mJWi8nRFmfbM9yUBMPGgZrijQ5DZ", "fee": 1600000, "feeAssetId": null, "timestamp": 1678876111183, "version": 2, "chainId": 84, "sender": "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy", "senderPublicKey": "C3PaRKeL8AUKbwUqdniMQtThgcTh5DYHV1777Hkxy7rp", "proofs": [ "2PBRSip8nKrWbHsw7EV6xekJTHfBKAzgKo2xE9KvmLtFsfHoJShsWBHTNPmVUu6DAFnawaFgA3EAEqDu7ygnuYyk" ], "script": "base64:BgI5CAISBQoDCAgIEgMKAQgSBAoCCAgSBAoCCAgSBAoCCAgSAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEYOQAFY2hhaW4JAMkBAgkAygECCAUEdGhpcwVieXRlcwABAAEAC3VzZG5Bc3NldElkBAckbWF0Y2gwBQVjaGFpbgMJAAACAQFXBQckbWF0Y2gwASC2JinDBPXOU5GkDkt1JC9kjFGx+t+vVCm9SNIdKrKq0QMJAAACAQFUBQckbWF0Y2gwASD3dur394PKZdtuE+4CO89YKZWpwdGN8kvabNgdYoDI3gkAAgECDVVua25vd24gY2hhaW4AEUluZnJhVXBncmFkZUNvc3RTBAckbWF0Y2gwBQVjaGFpbgMJAAACAQFXBQckbWF0Y2gwAMbrwL8XAwkAAAIBAVQFByRtYXRjaDAA8M2JHgkAAgECDVVua25vd24gY2hhaW4ACkxBTkRQUkVGSVgCBExBTkQACkRVQ0tQUkVGSVgCBERVQ0sAA1NFUAICX18ACkFSVFBSRVNBTEUCB1BSRVNBTEUAD0RBSUxZUkVTQllQSUVDRQCA+NIBAAlEQVlNSUxMSVMAgLiZKQAGT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QEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECBQUkYWNjMAAAAAEAAgADAAQABQAGAAcACAAJAAoACwAMAA0ADgAPABAAEQASABMAFAAVABYAFwAYABkAGgAbABwAHQAeAB8AIAAhACIAIwAkACUAJgAnACgAKQAqACsALAAtAC4ALwAwADEAMgAzADQANQA2ADcAOAA5ADoAOwA8AD0APgA/AEAAQQBCAEMARABFAEYARwBIAEkASgBLAEwATQBOAE8AUABRAFIAUwBUAFUAVgBXAFgAWQBaAFsAXABdAF4AXwBgAGEAYgBjAGQJAJQKAgUDbmlsBQFyAPi8+e4=", "height": 2491022, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Arot5aPvrtF9Z1biDvDoErRFbBsukgRshkNKh6Puwi2q Next: 2Jjrur86oB1NDfeUm8gPAfUnXtXZj9hqojAV8RVfQe1e Diff:
Old | New | Differences | |
---|---|---|---|
259 | 259 | let bd = if ((aV > 0)) | |
260 | 260 | then ay(invoke(J, "splitByGlobalAndLocalWeightsREADONLY", [bc, bb, aX[s]], nil)) | |
261 | 261 | else $Tuple2(ai(invoke(J, "splitByGlobalWeightsREADONLY", [bc], nil)), "") | |
262 | - | [("%s%s__assetId__" + W), ("%s%s__owner__" + aS), ("%s%d__stakedTime__" + toString(aV)), ("%s%s__description__" + makeString([aY, aX[r], aX[s], aX[t]], "_")), ("%s%d__infraLevel__" + toString(aZ._1)), ("%s%s__availResByType__" + bd._2), ("%s%d__availResTotal__" + toString(bb)), ("%s%s__needMaterial__" + bd._1), makeString(["%s%s", "landArtefacts", ("PRESALE:" + toString(aZ._2))], g), ("%s%s__ | |
262 | + | [("%s%s__assetId__" + W), ("%s%s__owner__" + aS), ("%s%d__stakedTime__" + toString(aV)), ("%s%s__description__" + makeString([aY, aX[r], aX[s], aX[t]], "_")), ("%s%d__infraLevel__" + toString(aZ._1)), ("%s%s__availResByType__" + bd._2), ("%s%d__availResTotal__" + toString(bb)), ("%s%s__needMaterial__" + bd._1), makeString(["%s%s", "landArtefacts", ("PRESALE:" + toString(aZ._2))], g), ("%s%s__warehouse__" + makeString(aL(V(W), (aG / l), aZ._1), ":"))] | |
263 | 263 | } | |
264 | 264 | ||
265 | 265 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = take(drop(this.bytes, 1), 1) | |
5 | 5 | ||
6 | 6 | let b = { | |
7 | 7 | let c = a | |
8 | 8 | if ((base58'2W' == c)) | |
9 | 9 | then base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p' | |
10 | 10 | else if ((base58'2T' == c)) | |
11 | 11 | then base58'HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ' | |
12 | 12 | else throw("Unknown chain") | |
13 | 13 | } | |
14 | 14 | ||
15 | 15 | let d = { | |
16 | 16 | let c = a | |
17 | 17 | if ((base58'2W' == c)) | |
18 | 18 | then 6307198406 | |
19 | 19 | else if ((base58'2T' == c)) | |
20 | 20 | then 63071984 | |
21 | 21 | else throw("Unknown chain") | |
22 | 22 | } | |
23 | 23 | ||
24 | 24 | let e = "LAND" | |
25 | 25 | ||
26 | 26 | let f = "DUCK" | |
27 | 27 | ||
28 | 28 | let g = "__" | |
29 | 29 | ||
30 | 30 | let h = "PRESALE" | |
31 | 31 | ||
32 | 32 | let i = 3456000 | |
33 | 33 | ||
34 | 34 | let j = 86400000 | |
35 | 35 | ||
36 | 36 | let k = 6 | |
37 | 37 | ||
38 | 38 | let l = 25 | |
39 | 39 | ||
40 | 40 | let m = 100 | |
41 | 41 | ||
42 | 42 | let n = 225 | |
43 | 43 | ||
44 | 44 | let o = 400 | |
45 | 45 | ||
46 | 46 | let p = 625 | |
47 | 47 | ||
48 | 48 | let q = 0 | |
49 | 49 | ||
50 | 50 | let r = 1 | |
51 | 51 | ||
52 | 52 | let s = 2 | |
53 | 53 | ||
54 | 54 | let t = 3 | |
55 | 55 | ||
56 | 56 | let u = 0 | |
57 | 57 | ||
58 | 58 | let v = 1 | |
59 | 59 | ||
60 | 60 | let w = 2 | |
61 | 61 | ||
62 | 62 | let x = 3 | |
63 | 63 | ||
64 | 64 | func y () = "%s__restConfig" | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | let z = 1 | |
68 | 68 | ||
69 | 69 | let A = 2 | |
70 | 70 | ||
71 | 71 | let B = 3 | |
72 | 72 | ||
73 | 73 | func C (D,E) = valueOrErrorMessage(getString(D, E), makeString(["mandatory ", toString(D), ".", E, " is not defined"], "")) | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func F () = split_4C(C(this, y()), g) | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func G (H,I) = valueOrErrorMessage(addressFromString(H[I]), ("Rest cfg doesn't contain address at index " + toString(I))) | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | let H = F() | |
83 | 83 | ||
84 | 84 | let J = G(H, z) | |
85 | 85 | ||
86 | 86 | let K = G(H, A) | |
87 | 87 | ||
88 | 88 | let L = G(H, A) | |
89 | 89 | ||
90 | 90 | func M (N) = ("duckOwner_" + N) | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func O (N) = ("stakedTime_" + N) | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func P (Q) = ("stakedDuckByOwner_" + Q) | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func R (S,N,Q) = ((((("stakedTimeByTypeAssetIdAndOwner_" + S) + "_") + N) + "_") + Q) | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func T (U) = ("backPack_" + U) | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func V (W) = ("wareHouse_" + W) | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func X (U) = ("duckLocation_" + U) | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func Y (U) = ("duckHealth_" + U) | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func Z (N) = ("nftOwner_" + N) | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func aa (N) = ("infraLevel_" + N) | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func ab (ac,N) = makeString(["landArtStatus", ac, N], "_") | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func ad (N) = ("presaleArtActivated_" + N) | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func ae (Q) = ("stakedLandsByOwner_" + Q) | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func af (ag) = { | |
130 | 130 | let c = ag | |
131 | 131 | if ($isInstanceOf(c, "String")) | |
132 | 132 | then { | |
133 | 133 | let ah = c | |
134 | 134 | ah | |
135 | 135 | } | |
136 | 136 | else throw("fail to cast into String") | |
137 | 137 | } | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func ai (aj) = { | |
141 | 141 | let c = aj | |
142 | 142 | if ($isInstanceOf(c, "List[Any]")) | |
143 | 143 | then { | |
144 | 144 | let ak = c | |
145 | 145 | if ((size(ak) != k)) | |
146 | 146 | then throw(("Array size is " + toString(size(ak)))) | |
147 | 147 | else { | |
148 | 148 | func al (am,an) = { | |
149 | 149 | let ao = an | |
150 | 150 | if ($isInstanceOf(ao, "Int")) | |
151 | 151 | then { | |
152 | 152 | let ap = ao | |
153 | 153 | (am :+ toString(ap)) | |
154 | 154 | } | |
155 | 155 | else throw("List type is not Int") | |
156 | 156 | } | |
157 | 157 | ||
158 | 158 | let aq = { | |
159 | 159 | let ar = ak | |
160 | 160 | let as = size(ar) | |
161 | 161 | let at = nil | |
162 | 162 | func au (av,aw) = if ((aw >= as)) | |
163 | 163 | then av | |
164 | 164 | else al(av, ar[aw]) | |
165 | 165 | ||
166 | 166 | func ax (av,aw) = if ((aw >= as)) | |
167 | 167 | then av | |
168 | 168 | else throw("List size exceeds 6") | |
169 | 169 | ||
170 | 170 | ax(au(au(au(au(au(au(at, 0), 1), 2), 3), 4), 5), 6) | |
171 | 171 | } | |
172 | 172 | makeString(aq, "_") | |
173 | 173 | } | |
174 | 174 | } | |
175 | 175 | else throw("fail to cast into List") | |
176 | 176 | } | |
177 | 177 | ||
178 | 178 | ||
179 | 179 | func ay (aj) = { | |
180 | 180 | let c = aj | |
181 | 181 | if ($isInstanceOf(c, "(List[Any], List[Any])")) | |
182 | 182 | then { | |
183 | 183 | let az = c | |
184 | 184 | $Tuple2(ai(az._1), ai(az._2)) | |
185 | 185 | } | |
186 | 186 | else throw("fail to cast into (List, List)") | |
187 | 187 | } | |
188 | 188 | ||
189 | 189 | ||
190 | 190 | func aA (aB) = { | |
191 | 191 | let aC = addressFromString(aB) | |
192 | 192 | let aD = if (isDefined(aC)) | |
193 | 193 | then wavesBalance(value(aC)) | |
194 | 194 | else BalanceDetails(0, 0, 0, 0) | |
195 | 195 | let aE = if (isDefined(aC)) | |
196 | 196 | then assetBalance(value(aC), b) | |
197 | 197 | else 0 | |
198 | 198 | makeString(["%s%d%d", "wallet", toString(aD.available), toString(aE)], g) | |
199 | 199 | } | |
200 | 200 | ||
201 | 201 | ||
202 | 202 | func aF (W,aG) = { | |
203 | 203 | let aH = valueOrElse(getInteger(J, aa(W)), 0) | |
204 | 204 | let aI = valueOrElse(getInteger(J, ab(h, W)), if (valueOrElse(getBoolean(J, ad(W)), false)) | |
205 | 205 | then aG | |
206 | 206 | else 0) | |
207 | 207 | $Tuple3(aH, aI, ((i + fraction(i, aH, 4)) + fraction(i, (aI * 3), (aG * 20)))) | |
208 | 208 | } | |
209 | 209 | ||
210 | 210 | ||
211 | 211 | func aJ (aK) = { | |
212 | 212 | let c = aK | |
213 | 213 | if (("S" == c)) | |
214 | 214 | then l | |
215 | 215 | else if (("M" == c)) | |
216 | 216 | then m | |
217 | 217 | else if (("L" == c)) | |
218 | 218 | then n | |
219 | 219 | else if (("XL" == c)) | |
220 | 220 | then o | |
221 | 221 | else if (("XXL" == c)) | |
222 | 222 | then p | |
223 | 223 | else throw("Unknown land size") | |
224 | 224 | } | |
225 | 225 | ||
226 | 226 | ||
227 | 227 | func aL (aM,aN,aH) = { | |
228 | 228 | let aO = ((toString(aN) + "_") + toString(aH)) | |
229 | 229 | let aP = split(valueOrElse(getString(J, aM), (aO + ":0_0_0_0_0_0:0_0_0_0_0_0:")), ":") | |
230 | 230 | [aP[u], if ((size(split(aP[v], "_")) == k)) | |
231 | 231 | then aP[v] | |
232 | 232 | else "0_0_0_0_0_0", if ((size(split(aP[w], "_")) == k)) | |
233 | 233 | then aP[w] | |
234 | 234 | else "0_0_0_0_0_0", aP[x]] | |
235 | 235 | } | |
236 | 236 | ||
237 | 237 | ||
238 | 238 | func aQ (U) = $Tuple5(valueOrElse(getInteger(J, O(U)), -1), value(assetInfo(fromBase58String(U))).name, valueOrElse(getString(J, X(U)), ""), valueOrElse(getInteger(J, Y(U)), -1), af(invoke(J, "getBackpackREADONLY", [U], nil))) | |
239 | 239 | ||
240 | 240 | ||
241 | 241 | func aR (U,aS,aT) = [("%s%s__assetId__" + U), ("%s%s__owner__" + aS), ("%s%d__stakedTime__" + toString(aT._1)), ("%s%s__name__" + aT._2), ("%s%s__location__" + aT._3), ("%s%d__health__" + toString(aT._4)), ("%s%s__backPack__" + aT._5)] | |
242 | 242 | ||
243 | 243 | ||
244 | 244 | func aU (W,aS,aV) = if ((W == "")) | |
245 | 245 | then throw("landAssetId is required") | |
246 | 246 | else { | |
247 | 247 | let aW = value(assetInfo(fromBase58String(W))) | |
248 | 248 | let aX = split(aW.description, "_") | |
249 | 249 | let aY = if ((aW.quantity > 0)) | |
250 | 250 | then aX[q] | |
251 | 251 | else ("-" + aX[q]) | |
252 | 252 | let aG = aJ(aX[r]) | |
253 | 253 | let aZ = aF(W, aG) | |
254 | 254 | let ba = (lastBlock.timestamp - aV) | |
255 | 255 | let bb = if ((aV > 0)) | |
256 | 256 | then fraction(ba, (aZ._3 * aG), j) | |
257 | 257 | else 0 | |
258 | 258 | let bc = fraction(d, (aG * (aZ._1 + 1)), l) | |
259 | 259 | let bd = if ((aV > 0)) | |
260 | 260 | then ay(invoke(J, "splitByGlobalAndLocalWeightsREADONLY", [bc, bb, aX[s]], nil)) | |
261 | 261 | else $Tuple2(ai(invoke(J, "splitByGlobalWeightsREADONLY", [bc], nil)), "") | |
262 | - | [("%s%s__assetId__" + W), ("%s%s__owner__" + aS), ("%s%d__stakedTime__" + toString(aV)), ("%s%s__description__" + makeString([aY, aX[r], aX[s], aX[t]], "_")), ("%s%d__infraLevel__" + toString(aZ._1)), ("%s%s__availResByType__" + bd._2), ("%s%d__availResTotal__" + toString(bb)), ("%s%s__needMaterial__" + bd._1), makeString(["%s%s", "landArtefacts", ("PRESALE:" + toString(aZ._2))], g), ("%s%s__ | |
262 | + | [("%s%s__assetId__" + W), ("%s%s__owner__" + aS), ("%s%d__stakedTime__" + toString(aV)), ("%s%s__description__" + makeString([aY, aX[r], aX[s], aX[t]], "_")), ("%s%d__infraLevel__" + toString(aZ._1)), ("%s%s__availResByType__" + bd._2), ("%s%d__availResTotal__" + toString(bb)), ("%s%s__needMaterial__" + bd._1), makeString(["%s%s", "landArtefacts", ("PRESALE:" + toString(aZ._2))], g), ("%s%s__warehouse__" + makeString(aL(V(W), (aG / l), aZ._1), ":"))] | |
263 | 263 | } | |
264 | 264 | ||
265 | 265 | ||
266 | 266 | @Callable(be) | |
267 | 267 | func constructorV1 (J,K,L) = if ((be.caller != this)) | |
268 | 268 | then throw("permissions denied") | |
269 | 269 | else [StringEntry(y(), makeString(["%s%s%s", J, K, L], g))] | |
270 | 270 | ||
271 | 271 | ||
272 | 272 | ||
273 | 273 | @Callable(be) | |
274 | 274 | func walletInfoREADONLY (aB) = $Tuple2(nil, aA(aB)) | |
275 | 275 | ||
276 | 276 | ||
277 | 277 | ||
278 | 278 | @Callable(be) | |
279 | 279 | func duckInfoREADONLY (U,aB) = { | |
280 | 280 | let aC = addressFromString(aB) | |
281 | 281 | let bf = fromBase58String(U) | |
282 | 282 | if ((U == "")) | |
283 | 283 | then throw("duckAssetId is required") | |
284 | 284 | else { | |
285 | 285 | let bg = getString(J, M(U)) | |
286 | 286 | let aS = if (isDefined(bg)) | |
287 | 287 | then value(bg) | |
288 | 288 | else if (if (isDefined(aC)) | |
289 | 289 | then (assetBalance(value(aC), bf) == 1) | |
290 | 290 | else false) | |
291 | 291 | then aB | |
292 | 292 | else "" | |
293 | 293 | $Tuple2(nil, $Tuple2(aR(U, aS, aQ(U)), aA(aB))) | |
294 | 294 | } | |
295 | 295 | } | |
296 | 296 | ||
297 | 297 | ||
298 | 298 | ||
299 | 299 | @Callable(be) | |
300 | 300 | func landInfoREADONLY (W,aB) = { | |
301 | 301 | let aC = addressFromString(aB) | |
302 | 302 | let bh = fromBase58String(W) | |
303 | 303 | if ((W == "")) | |
304 | 304 | then throw("landAssetId is required") | |
305 | 305 | else { | |
306 | 306 | let aV = valueOrElse(getInteger(J, O(W)), 0) | |
307 | 307 | let aS = if ((aV > 0)) | |
308 | 308 | then value(getString(J, Z(W))) | |
309 | 309 | else if (if (isDefined(aC)) | |
310 | 310 | then (assetBalance(value(aC), bh) == 1) | |
311 | 311 | else false) | |
312 | 312 | then aB | |
313 | 313 | else "" | |
314 | 314 | let bi = getString(J, P(aB)) | |
315 | 315 | let aT = if (if (isDefined(aC)) | |
316 | 316 | then isDefined(bi) | |
317 | 317 | else false) | |
318 | 318 | then { | |
319 | 319 | let U = value(bi) | |
320 | 320 | $Tuple2(U, aQ(U)) | |
321 | 321 | } | |
322 | 322 | else $Tuple2("", $Tuple5(-1, "", "", -1, "")) | |
323 | 323 | $Tuple2(nil, $Tuple3(aU(W, aS, aV), aR(aT._1, aB, aT._2), aA(aB))) | |
324 | 324 | } | |
325 | 325 | } | |
326 | 326 | ||
327 | 327 | ||
328 | 328 | ||
329 | 329 | @Callable(be) | |
330 | 330 | func stakedLandsInfoREADONLY (bj,bk) = if ((bk == "")) | |
331 | 331 | then throw("landOwnerAddress is required") | |
332 | 332 | else { | |
333 | 333 | let bl = addressFromString(bj) | |
334 | 334 | let bm = getString(J, ae(bk)) | |
335 | 335 | let bn = if (isDefined(bm)) | |
336 | 336 | then split_51C(value(bm), "_") | |
337 | 337 | else nil | |
338 | 338 | func bo (am,W) = { | |
339 | 339 | let bh = fromBase58String(W) | |
340 | 340 | if ((W == "")) | |
341 | 341 | then throw("landAssetId is required") | |
342 | 342 | else { | |
343 | 343 | let aV = valueOrElse(getInteger(J, O(W)), 0) | |
344 | 344 | let bp = value(assetInfo(bh)).description | |
345 | 345 | let aX = split(bp, "_") | |
346 | 346 | let aG = aJ(aX[r]) | |
347 | 347 | let aZ = aF(W, aG) | |
348 | 348 | let ba = (lastBlock.timestamp - aV) | |
349 | 349 | let bb = fraction(ba, (aZ._3 * aG), j) | |
350 | 350 | (am :+ [("%s%s__landAssetId__" + W), ("%s%d__stakedTime__" + toString(aV)), ("%s%s__description__" + bp), ("%s%d__infraLevel__" + toString(aZ._1)), makeString(["%s%s", "landArtefacts", ("PRESALE:" + toString(aZ._2))], g), ("%s%s__availRes__" + toString(bb))]) | |
351 | 351 | } | |
352 | 352 | } | |
353 | 353 | ||
354 | 354 | let aq = { | |
355 | 355 | let ar = bn | |
356 | 356 | let as = size(ar) | |
357 | 357 | let at = nil | |
358 | 358 | func au (av,aw) = if ((aw >= as)) | |
359 | 359 | then av | |
360 | 360 | else bo(av, ar[aw]) | |
361 | 361 | ||
362 | 362 | func ax (av,aw) = if ((aw >= as)) | |
363 | 363 | then av | |
364 | 364 | else throw("List size exceeds 100") | |
365 | 365 | ||
366 | 366 | ax(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(at, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
367 | 367 | } | |
368 | 368 | let bi = getString(J, P(bj)) | |
369 | 369 | let aT = if (if (isDefined(bl)) | |
370 | 370 | then isDefined(bi) | |
371 | 371 | else false) | |
372 | 372 | then { | |
373 | 373 | let U = value(bi) | |
374 | 374 | $Tuple2(U, aQ(U)) | |
375 | 375 | } | |
376 | 376 | else $Tuple2("", $Tuple5(-1, "", "", -1, "")) | |
377 | 377 | $Tuple2(nil, $Tuple3(aq, aR(aT._1, bj, aT._2), aA(bj))) | |
378 | 378 | } | |
379 | 379 | ||
380 | 380 | ||
381 | 381 | ||
382 | 382 | @Callable(be) | |
383 | 383 | func duckByOwnerInfoREADONLY (bq) = { | |
384 | 384 | let bi = getString(J, P(bq)) | |
385 | 385 | $Tuple2(nil, if (if (isDefined(addressFromString(bq))) | |
386 | 386 | then isDefined(bi) | |
387 | 387 | else false) | |
388 | 388 | then { | |
389 | 389 | let U = value(bi) | |
390 | 390 | aR(U, bq, aQ(U)) | |
391 | 391 | } | |
392 | 392 | else aR("", bq, $Tuple5(-1, "", "", -1, ""))) | |
393 | 393 | } | |
394 | 394 | ||
395 | 395 | ||
396 | 396 | ||
397 | 397 | @Callable(be) | |
398 | 398 | func duckByAssetIdInfoREADONLY (U) = { | |
399 | 399 | let aS = getString(J, M(U)) | |
400 | 400 | let aT = aQ(U) | |
401 | 401 | $Tuple2(nil, aR(U, if (isDefined(aS)) | |
402 | 402 | then value(aS) | |
403 | 403 | else "", aQ(U))) | |
404 | 404 | } | |
405 | 405 | ||
406 | 406 | ||
407 | 407 | ||
408 | 408 | @Callable(be) | |
409 | 409 | func landByAssetIdInfoREADONLY (W) = if ((W == "")) | |
410 | 410 | then throw("landAssetId is required") | |
411 | 411 | else { | |
412 | 412 | let aV = valueOrElse(getInteger(J, O(W)), -1) | |
413 | 413 | let aS = if ((aV > 0)) | |
414 | 414 | then value(getString(J, Z(W))) | |
415 | 415 | else "" | |
416 | 416 | $Tuple2(nil, aU(W, aS, aV)) | |
417 | 417 | } | |
418 | 418 | ||
419 | 419 | ||
420 | 420 | ||
421 | 421 | @Callable(be) | |
422 | 422 | func stakedLandsByOwnerInfoREADONLY (bk) = if ((bk == "")) | |
423 | 423 | then throw("landOwnerAddress is required") | |
424 | 424 | else { | |
425 | 425 | let bm = getString(J, ae(bk)) | |
426 | 426 | let bn = if (isDefined(bm)) | |
427 | 427 | then split_51C(value(bm), "_") | |
428 | 428 | else nil | |
429 | 429 | func bo (am,W) = if ((W == "")) | |
430 | 430 | then throw("landAssetId is required") | |
431 | 431 | else { | |
432 | 432 | let aV = valueOrElse(getInteger(J, O(W)), -1) | |
433 | 433 | (am :+ aU(W, bk, aV)) | |
434 | 434 | } | |
435 | 435 | ||
436 | 436 | let aq = { | |
437 | 437 | let ar = bn | |
438 | 438 | let as = size(ar) | |
439 | 439 | let at = nil | |
440 | 440 | func au (av,aw) = if ((aw >= as)) | |
441 | 441 | then av | |
442 | 442 | else bo(av, ar[aw]) | |
443 | 443 | ||
444 | 444 | func ax (av,aw) = if ((aw >= as)) | |
445 | 445 | then av | |
446 | 446 | else throw("List size exceeds 100") | |
447 | 447 | ||
448 | 448 | ax(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(at, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
449 | 449 | } | |
450 | 450 | $Tuple2(nil, aq) | |
451 | 451 | } | |
452 | 452 | ||
453 | 453 | ||
454 | 454 | ||
455 | 455 | @Callable(be) | |
456 | 456 | func landsByIdsInfoREADONLY (br) = { | |
457 | 457 | func bo (am,W) = if ((W == "")) | |
458 | 458 | then throw("landAssetId is required") | |
459 | 459 | else { | |
460 | 460 | let aV = valueOrElse(getInteger(J, O(W)), -1) | |
461 | 461 | let aS = if ((aV > 0)) | |
462 | 462 | then value(getString(J, Z(W))) | |
463 | 463 | else "" | |
464 | 464 | (am :+ aU(W, aS, aV)) | |
465 | 465 | } | |
466 | 466 | ||
467 | 467 | let aq = { | |
468 | 468 | let ar = br | |
469 | 469 | let as = size(ar) | |
470 | 470 | let at = nil | |
471 | 471 | func au (av,aw) = if ((aw >= as)) | |
472 | 472 | then av | |
473 | 473 | else bo(av, ar[aw]) | |
474 | 474 | ||
475 | 475 | func ax (av,aw) = if ((aw >= as)) | |
476 | 476 | then av | |
477 | 477 | else throw("List size exceeds 100") | |
478 | 478 | ||
479 | 479 | ax(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(au(at, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
480 | 480 | } | |
481 | 481 | $Tuple2(nil, aq) | |
482 | 482 | } | |
483 | 483 | ||
484 | 484 |
github/deemru/w8io/169f3d6 66.78 ms ◑