tx · HtAsxNwuDdVkabmoNGMS9h26TvRaodhoxcM11FVNSyzR 3N7HtrKeFFLz5oy6PfGv1Lg3GwPk4gCPdGy: -0.01100000 Waves 2023.06.15 22:36 [2624183] smart account 3N7HtrKeFFLz5oy6PfGv1Lg3GwPk4gCPdGy > SELF 0.00000000 Waves
{ "type": 13, "id": "HtAsxNwuDdVkabmoNGMS9h26TvRaodhoxcM11FVNSyzR", "fee": 1100000, "feeAssetId": null, "timestamp": 1686857770104, "version": 2, "chainId": 84, "sender": "3N7HtrKeFFLz5oy6PfGv1Lg3GwPk4gCPdGy", "senderPublicKey": "FsR18761ZAsUqsTd7TK3XmR6bhihs1UXVmpHYxz5JzQ1", "proofs": [ "bEGESj9vHqYBf9diWT1nhFEKRozXE3CYr9TiRTCHVD95MCtcpL19SUxw38Ud2Hgt9S5BzPAiiPPyoMSXwdspjp8" ], "script": "base64:BgIVCAISBQoDCAgIEgMKAQESAwoBARIAgQEABWNoYWluCQDJAQIJAMoBAggFBHRoaXMFYnl0ZXMAAQABAAt1c2R0QXNzZXRJZAQHJG1hdGNoMAUFY2hhaW4DCQAAAgEBVwUHJG1hdGNoMAEghNp6sggDP07Ru8qO7ouTvMmC3Qtd+geWqNQj+agP/7kDCQAAAgEBVAUHJG1hdGNoMAEgVbHYn3KHgu/l41uNrAWrZd6aQ6EvFrsF8xq3h6XxxRgJAAIBAg1Vbmtub3duIGNoYWluABVkZWZhdWx0UmVzdEFkZHJlc3NTdHIEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDACIzNQUUN1dkZidmg0TGtQVW5yblUxejNqbmJBMXA5bTNXTmh2AwkAAAIBAVQFByRtYXRjaDACIzNNdW1rR0d6dENLQVhwV0RxeGtkZG9mcVhTVWJxUWt2U0p5CQACAQINVW5rbm93biBjaGFpbgARSW5mcmFVcGdyYWRlQ29zdFMEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDAAgMivoCUDCQAAAgEBVAUHJG1hdG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UaW1lCQBoAgADBQpZRUFSTUlMTElTCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMFDW1hcmtldGluZ0FkZHIFD21hcmtldGluZ0Ftb3VudAUKd2xnQXNzZXRJZAkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDBQh0ZWFtQWRkcgUKdGVhbUFtb3VudAUKd2xnQXNzZXRJZAkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDBQxyZXN0Q29udHJhY3QFCWFjdEFtb3VudAUKd2xnQXNzZXRJZAkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDBQZjYWxsZXIFCnVzZXJBbW91bnQFCndsZ0Fzc2V0SWQJAMwIAgkBDEludGVnZXJFbnRyeQIFFGxhc3RNYXJrZXRpbmdUaW1lS2V5BQNub3cJAMwIAgkBDEludGVnZXJFbnRyeQIFD2xhc3RUZWFtVGltZUtleQUDbm93CQDMCAIJAQxJbnRlZ2VyRW50cnkCBRVsYXN0QWN0aXZpdGllc1RpbWVLZXkFA25vdwkAzAgCCQEMSW50ZWdlckVudHJ5AgULdXNlclRpbWVLZXkFA25vdwUDbmlsAMdfh44=", "height": 2624183, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: H5RbdsG7QRKzR6YpJ7yX4U5aoAJd7dndHaBGmXyvaJAZ Next: CdqR3XTDofvQ9yRXju6iewBEpyHWM6VUcn8jhg3Eb3Tq Full:
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'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi' | |
10 | 10 | else if ((base58'2T' == c)) | |
11 | 11 | then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63' | |
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 "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv" | |
19 | 19 | else if ((base58'2T' == c)) | |
20 | 20 | then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy" | |
21 | 21 | else throw("Unknown chain") | |
22 | 22 | } | |
23 | 23 | ||
24 | 24 | let e = { | |
25 | 25 | let c = a | |
26 | 26 | if ((base58'2W' == c)) | |
27 | 27 | then 10000000000 | |
28 | 28 | else if ((base58'2T' == c)) | |
29 | 29 | then 100000000 | |
30 | 30 | else throw("Unknown chain") | |
31 | 31 | } | |
32 | 32 | ||
33 | 33 | let f = "__" | |
34 | 34 | ||
35 | 35 | let g = 1000000 | |
36 | 36 | ||
37 | 37 | let h = 10000000 | |
38 | 38 | ||
39 | 39 | let i = 100000000 | |
40 | 40 | ||
41 | 41 | let j = 10000000000 | |
42 | 42 | ||
43 | 43 | let k = "LAND" | |
44 | 44 | ||
45 | 45 | let l = "DUCK" | |
46 | 46 | ||
47 | 47 | let m = "PRESALE" | |
48 | 48 | ||
49 | 49 | let n = 6 | |
50 | 50 | ||
51 | 51 | let o = 25 | |
52 | 52 | ||
53 | 53 | let p = 100 | |
54 | 54 | ||
55 | 55 | let q = 225 | |
56 | 56 | ||
57 | 57 | let r = 400 | |
58 | 58 | ||
59 | 59 | let s = 625 | |
60 | 60 | ||
61 | 61 | let t = 3456000 | |
62 | 62 | ||
63 | 63 | let u = 86400000 | |
64 | 64 | ||
65 | 65 | let v = 10000000000 | |
66 | 66 | ||
67 | 67 | let w = "Africa_F_Africa" | |
68 | 68 | ||
69 | 69 | let x = 39637 | |
70 | 70 | ||
71 | 71 | let y = 3 | |
72 | 72 | ||
73 | 73 | let z = 4 | |
74 | 74 | ||
75 | 75 | let A = 10 | |
76 | 76 | ||
77 | 77 | let B = 100 | |
78 | 78 | ||
79 | 79 | let C = ["Oil", "Ore", "Wood", "Sand", "Clay", "Organic"] | |
80 | 80 | ||
81 | 81 | let D = ["Fuel", "Metal", "Plank", "Glass", "Plastic", "Protein"] | |
82 | 82 | ||
83 | 83 | let E = ["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"] | |
84 | 84 | ||
85 | 85 | let F = ["Americas", "Europe", "Asia", "Africa", "Oceania"] | |
86 | 86 | ||
87 | 87 | let G = ["1_1_1_2_2_5_1_10_0", "2_2_2_4_4_10_1_10_0", "3_3_3_6_6_15_1_10_0", "2_5_5_2_7_5_2_100_1", "4_10_10_4_14_10_2_100_1", "6_15_15_6_21_15_2_100_1", "1_1_1_1_1_8_1_10_2", "2_2_2_2_2_16_1_10_2", "3_3_3_3_3_24_1_10_2", "9_9_1_5_5_1_5_100_3", "18_18_2_10_10_2_5_100_3", "27_27_3_15_15_3_5_100_3", "2_2_1_2_2_2_1_10_4", "4_4_2_4_4_4_1_10_4", "6_6_3_6_6_6_1_10_4"] | |
88 | 88 | ||
89 | 89 | let H = 0 | |
90 | 90 | ||
91 | 91 | let I = 1 | |
92 | 92 | ||
93 | 93 | let J = 2 | |
94 | 94 | ||
95 | 95 | let K = 3 | |
96 | 96 | ||
97 | 97 | let L = 4 | |
98 | 98 | ||
99 | 99 | let M = 0 | |
100 | 100 | ||
101 | 101 | let N = 1 | |
102 | 102 | ||
103 | 103 | let O = 2 | |
104 | 104 | ||
105 | 105 | let P = 3 | |
106 | 106 | ||
107 | 107 | let Q = 4 | |
108 | 108 | ||
109 | 109 | let R = 5 | |
110 | 110 | ||
111 | 111 | let S = 6 | |
112 | 112 | ||
113 | 113 | let T = 7 | |
114 | 114 | ||
115 | 115 | let U = 8 | |
116 | 116 | ||
117 | 117 | let V = 0 | |
118 | 118 | ||
119 | 119 | let W = 1 | |
120 | 120 | ||
121 | 121 | let X = 2 | |
122 | 122 | ||
123 | 123 | let Y = 3 | |
124 | 124 | ||
125 | 125 | let Z = 0 | |
126 | 126 | ||
127 | 127 | let aa = 1 | |
128 | 128 | ||
129 | 129 | let ab = 2 | |
130 | 130 | ||
131 | 131 | let ac = 3 | |
132 | 132 | ||
133 | 133 | let ad = 4 | |
134 | 134 | ||
135 | 135 | let ae = 0 | |
136 | 136 | ||
137 | 137 | let af = 1 | |
138 | 138 | ||
139 | 139 | let ag = 2 | |
140 | 140 | ||
141 | 141 | let ah = 3 | |
142 | 142 | ||
143 | 143 | let ai = 0 | |
144 | 144 | ||
145 | 145 | let aj = 1 | |
146 | 146 | ||
147 | 147 | let ak = 2 | |
148 | 148 | ||
149 | 149 | let al = 3 | |
150 | 150 | ||
151 | 151 | func am (an) = parseIntValue(split(G[an], "_")[T]) | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | func ao (ap,aq) = valueOrErrorMessage(getString(ap, aq), makeString(["mandatory ", toString(ap), ".", aq, " is not defined"], "")) | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | func ar (aq,as) = valueOrElse(getInteger(this, aq), as) | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | let at = 1 | |
161 | 161 | ||
162 | 162 | let au = 2 | |
163 | 163 | ||
164 | 164 | let av = 3 | |
165 | 165 | ||
166 | 166 | let aw = 4 | |
167 | 167 | ||
168 | 168 | func ax () = "%s__restConfig" | |
169 | 169 | ||
170 | 170 | ||
171 | 171 | func ay () = "%s__restAddr" | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func az (aA) = split_4C(ao(aA, ax()), f) | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func aB (aC,aD) = valueOrErrorMessage(addressFromString(aC[aD]), ("Rest cfg doesn't contain address at index " + toString(aD))) | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | let aE = addressFromStringValue(valueOrElse(getString(this, ay()), d)) | |
181 | 181 | ||
182 | 182 | let aC = az(aE) | |
183 | 183 | ||
184 | 184 | let aF = aB(aC, at) | |
185 | 185 | ||
186 | 186 | let aG = aB(aC, au) | |
187 | 187 | ||
188 | 188 | let aH = aB(aC, av) | |
189 | 189 | ||
190 | 190 | let aI = aB(aC, aw) | |
191 | 191 | ||
192 | 192 | func aJ (aK) = ("lastTxIdByUser_" + aK) | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | func aL (aM) = ("nftOwner_" + aM) | |
196 | 196 | ||
197 | 197 | ||
198 | 198 | func aN (aM) = ("landCustomNameByAssetId_" + aM) | |
199 | 199 | ||
200 | 200 | ||
201 | 201 | func aO (aM) = ("stakedTime_" + aM) | |
202 | 202 | ||
203 | 203 | ||
204 | 204 | func aP (aM) = ("infraLevel_" + aM) | |
205 | 205 | ||
206 | 206 | ||
207 | 207 | func aQ (aR,aM) = makeString(["landArtStatus", aR, aM], "_") | |
208 | 208 | ||
209 | 209 | ||
210 | 210 | func aS (aT,aM,aU) = ((((("stakedTimeByTypeAssetIdAndOwner_" + aT) + "_") + aM) + "_") + aU) | |
211 | 211 | ||
212 | 212 | ||
213 | 213 | func aV (aW) = ("wareHouse_" + aW) | |
214 | 214 | ||
215 | 215 | ||
216 | 216 | func aX (aU) = ("stakedLandsByOwner_" + aU) | |
217 | 217 | ||
218 | 218 | ||
219 | 219 | func aY (aM) = ("duckCustomNameByAssetId_" + aM) | |
220 | 220 | ||
221 | 221 | ||
222 | 222 | func aZ (aK) = ("accountCustomNameByAddr_" + aK) | |
223 | 223 | ||
224 | 224 | ||
225 | 225 | func ba (aK) = ("accRefBy_" + aK) | |
226 | 226 | ||
227 | 227 | ||
228 | 228 | func bb (aK) = ("accReferrals_" + aK) | |
229 | 229 | ||
230 | 230 | ||
231 | 231 | func bc (aM) = ("duckOwner_" + aM) | |
232 | 232 | ||
233 | 233 | ||
234 | 234 | func bd (aU) = ("stakedDuckByOwner_" + aU) | |
235 | 235 | ||
236 | 236 | ||
237 | 237 | func be (bf) = ("backPack_" + bf) | |
238 | 238 | ||
239 | 239 | ||
240 | 240 | func bg (bf) = ("duckLocation_" + bf) | |
241 | 241 | ||
242 | 242 | ||
243 | 243 | func bh (bf) = ("duckHealth_" + bf) | |
244 | 244 | ||
245 | 245 | ||
246 | 246 | func bi () = "resTypesProportions" | |
247 | 247 | ||
248 | 248 | ||
249 | 249 | func bj () = "contractsBlocked" | |
250 | 250 | ||
251 | 251 | ||
252 | 252 | func bk (bl) = ("%s%s__userGwlReleaseTime__" + bl) | |
253 | 253 | ||
254 | 254 | ||
255 | 255 | func bm (aW) = ("landOrder_" + aW) | |
256 | 256 | ||
257 | 257 | ||
258 | 258 | func bn () = "emergencyWarehouseProducts" | |
259 | 259 | ||
260 | 260 | ||
261 | 261 | let bo = 0 | |
262 | 262 | ||
263 | 263 | let bp = 1 | |
264 | 264 | ||
265 | 265 | let bq = 2 | |
266 | 266 | ||
267 | 267 | func br (bs) = { | |
268 | 268 | let c = bs | |
269 | 269 | if ($isInstanceOf(c, "String")) | |
270 | 270 | then { | |
271 | 271 | let bt = c | |
272 | 272 | bt | |
273 | 273 | } | |
274 | 274 | else throw("fail to cast into String") | |
275 | 275 | } | |
276 | 276 | ||
277 | 277 | ||
278 | 278 | func bu (bs) = { | |
279 | 279 | let c = bs | |
280 | 280 | if ($isInstanceOf(c, "Int")) | |
281 | 281 | then { | |
282 | 282 | let bv = c | |
283 | 283 | bv | |
284 | 284 | } | |
285 | 285 | else throw("fail to cast into Int") | |
286 | 286 | } | |
287 | 287 | ||
288 | 288 | ||
289 | 289 | func bw (bs) = { | |
290 | 290 | let c = bs | |
291 | 291 | if ($isInstanceOf(c, "List[Any]")) | |
292 | 292 | then { | |
293 | 293 | let bx = c | |
294 | 294 | bx | |
295 | 295 | } | |
296 | 296 | else throw("fail to cast into List[Any]") | |
297 | 297 | } | |
298 | 298 | ||
299 | 299 | ||
300 | 300 | func by (bs) = { | |
301 | 301 | let c = bs | |
302 | 302 | if ($isInstanceOf(c, "Boolean")) | |
303 | 303 | then { | |
304 | 304 | let bt = c | |
305 | 305 | bt | |
306 | 306 | } | |
307 | 307 | else throw("fail to cast into Boolean") | |
308 | 308 | } | |
309 | 309 | ||
310 | 310 | ||
311 | 311 | func bz (bA) = { | |
312 | 312 | let c = bA | |
313 | 313 | if (("S" == c)) | |
314 | 314 | then o | |
315 | 315 | else if (("M" == c)) | |
316 | 316 | then p | |
317 | 317 | else if (("L" == c)) | |
318 | 318 | then q | |
319 | 319 | else if (("XL" == c)) | |
320 | 320 | then r | |
321 | 321 | else if (("XXL" == c)) | |
322 | 322 | then s | |
323 | 323 | else throw("Unknown land size") | |
324 | 324 | } | |
325 | 325 | ||
326 | 326 | ||
327 | 327 | let bB = 0 | |
328 | 328 | ||
329 | 329 | let bC = 1 | |
330 | 330 | ||
331 | 331 | func bD (bE) = { | |
332 | 332 | let bF = split(valueOrElse(getString(aF, bi()), "0_0_0_0_0_0"), "_") | |
333 | 333 | func bG (bH,bI) = (bH + parseIntValue(bI)) | |
334 | 334 | ||
335 | 335 | let bJ = { | |
336 | 336 | let bK = bF | |
337 | 337 | let bL = size(bK) | |
338 | 338 | let bM = 0 | |
339 | 339 | func bN (bO,bP) = if ((bP >= bL)) | |
340 | 340 | then bO | |
341 | 341 | else bG(bO, bK[bP]) | |
342 | 342 | ||
343 | 343 | func bQ (bO,bP) = if ((bP >= bL)) | |
344 | 344 | then bO | |
345 | 345 | else throw("List size exceeds 6") | |
346 | 346 | ||
347 | 347 | bQ(bN(bN(bN(bN(bN(bN(bM, 0), 1), 2), 3), 4), 5), 6) | |
348 | 348 | } | |
349 | 349 | let bR = if ((bE == "")) | |
350 | 350 | then 0 | |
351 | 351 | else { | |
352 | 352 | let bS = getString(aF, aX(bE)) | |
353 | 353 | let bT = if (isDefined(bS)) | |
354 | 354 | then split_51C(value(bS), "_") | |
355 | 355 | else nil | |
356 | 356 | func bU (bH,aW) = { | |
357 | 357 | let bV = value(assetInfo(fromBase58String(aW))) | |
358 | 358 | let bA = split(bV.description, "_")[W] | |
359 | 359 | (bH + bz(bA)) | |
360 | 360 | } | |
361 | 361 | ||
362 | 362 | let bK = bT | |
363 | 363 | let bL = size(bK) | |
364 | 364 | let bM = 0 | |
365 | 365 | func bW (bO,bP) = if ((bP >= bL)) | |
366 | 366 | then bO | |
367 | 367 | else bU(bO, bK[bP]) | |
368 | 368 | ||
369 | 369 | func bX (bO,bP) = if ((bP >= bL)) | |
370 | 370 | then bO | |
371 | 371 | else throw("List size exceeds 100") | |
372 | 372 | ||
373 | 373 | bX(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bM, 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) | |
374 | 374 | } | |
375 | 375 | [bJ, bR] | |
376 | 376 | } | |
377 | 377 | ||
378 | 378 | ||
379 | 379 | func bY (bZ) = { | |
380 | 380 | func ca (cb,cc) = (cb + parseIntValue(bZ[cc])) | |
381 | 381 | ||
382 | 382 | let bK = [0, 1, 2, 3, 4, 5] | |
383 | 383 | let bL = size(bK) | |
384 | 384 | let bM = 0 | |
385 | 385 | func bN (bO,bP) = if ((bP >= bL)) | |
386 | 386 | then bO | |
387 | 387 | else ca(bO, bK[bP]) | |
388 | 388 | ||
389 | 389 | func bQ (bO,bP) = if ((bP >= bL)) | |
390 | 390 | then bO | |
391 | 391 | else throw("List size exceeds 6") | |
392 | 392 | ||
393 | 393 | bQ(bN(bN(bN(bN(bN(bN(bM, 0), 1), 2), 3), 4), 5), 6) | |
394 | 394 | } | |
395 | 395 | ||
396 | 396 | ||
397 | 397 | let cd = 100000000000000 | |
398 | 398 | ||
399 | 399 | let ce = 100000 | |
400 | 400 | ||
401 | 401 | let cf = 200000 | |
402 | 402 | ||
403 | 403 | let cg = 100000 | |
404 | 404 | ||
405 | 405 | let ch = 400000 | |
406 | 406 | ||
407 | 407 | let ci = 31557600000 | |
408 | 408 | ||
409 | 409 | let cj = "wlg_assetId" | |
410 | 410 | ||
411 | 411 | let ck = "wlg_issueTime" | |
412 | 412 | ||
413 | 413 | let cl = "marketingAddr" | |
414 | 414 | ||
415 | 415 | let cm = "teamAddr" | |
416 | 416 | ||
417 | 417 | let cn = "lastClaimedTime_marketing" | |
418 | 418 | ||
419 | 419 | let co = "lastClaimedTime_team" | |
420 | 420 | ||
421 | 421 | let cp = "lastClaimedTime_activities" | |
422 | 422 | ||
423 | 423 | func cq (aK) = "lastClaimedTimeUser_ + addr" | |
424 | 424 | ||
425 | 425 | ||
426 | 426 | @Callable(cr) | |
427 | 427 | func constructorV1 (cs,ct,cu) = if ((cr.caller != this)) | |
428 | 428 | then throw("Permission denied") | |
429 | 429 | else if (isDefined(getString(cj))) | |
430 | 430 | then throw("Already initialized") | |
431 | 431 | else { | |
432 | 432 | let cv = Issue("WLGOLD", "WavesLands Gold investment token", cd, 8, true, unit, 0) | |
433 | 433 | let aM = calculateAssetId(cv) | |
434 | 434 | [cv, IntegerEntry(ck, lastBlock.timestamp), BinaryEntry(cj, aM), StringEntry(ay(), cs), StringEntry(cl, ct), StringEntry(cm, cu)] | |
435 | 435 | } | |
436 | 436 | ||
437 | 437 | ||
438 | 438 | ||
439 | 439 | @Callable(cr) | |
440 | 440 | func buyWlg (cw) = nil | |
441 | 441 | ||
442 | 442 | ||
443 | 443 | ||
444 | 444 | @Callable(cr) | |
445 | 445 | func sellWlg (cw) = nil | |
446 | 446 | ||
447 | 447 | ||
448 | 448 | ||
449 | 449 | @Callable(cr) | |
450 | 450 | func claim () = { | |
451 | 451 | let cx = cr.caller | |
452 | 452 | let cy = toString(cx) | |
453 | 453 | let cz = lastBlock.timestamp | |
454 | 454 | let cA = valueOrErrorMessage(getInteger(ck), "Not initialized") | |
455 | 455 | let cB = value(getBinary(cj)) | |
456 | 456 | let cC = valueOrElse(getInteger(cn), cA) | |
457 | 457 | let ct = addressFromStringValue(value(getString(cl))) | |
458 | 458 | let cD = fraction(fraction(cd, ce, g), (cz - cC), ci) | |
459 | 459 | let cE = valueOrElse(getInteger(co), cA) | |
460 | 460 | let cu = addressFromStringValue(value(getString(cm))) | |
461 | 461 | let cF = fraction(fraction(cd, cf, g), (cz - cE), (3 * ci)) | |
462 | 462 | let cG = valueOrElse(getInteger(cp), cA) | |
463 | 463 | let cH = fraction(fraction(cd, cg, g), (cz - cG), (3 * ci)) | |
464 | 464 | let cI = cq(cy) | |
465 | 465 | let cJ = valueOrElse(getInteger(cI), cA) | |
466 | 466 | let cK = bD(cy) | |
467 | 467 | let cL = fraction(fraction(fraction(cd, ch, g), cK[bC], cK[bB]), (cz - cJ), (3 * ci)) | |
468 | 468 | [ScriptTransfer(ct, cD, cB), ScriptTransfer(cu, cF, cB), ScriptTransfer(aE, cH, cB), ScriptTransfer(cx, cL, cB), IntegerEntry(cn, cz), IntegerEntry(co, cz), IntegerEntry(cp, cz), IntegerEntry(cI, cz)] | |
469 | 469 | } | |
470 | 470 | ||
471 | 471 |
github/deemru/w8io/026f985 39.79 ms ◑