tx · DqRVUagfWtmry8FLdWDNXVanVSYPKhUmrFagdkNGSJHQ 3MwK6nw9HMwuKbXxu6J1rfecvePPd3JyAje: -0.02700000 Waves 2022.11.30 19:36 [2340087] smart account 3MwK6nw9HMwuKbXxu6J1rfecvePPd3JyAje > SELF 0.00000000 Waves
{ "type": 13, "id": "DqRVUagfWtmry8FLdWDNXVanVSYPKhUmrFagdkNGSJHQ", "fee": 2700000, "feeAssetId": null, "timestamp": 1669826218030, "version": 1, "sender": "3MwK6nw9HMwuKbXxu6J1rfecvePPd3JyAje", "senderPublicKey": "8JB75GXEKqxmpXc6KVtT9UNqJ3BBSUZDodYD4DU7CUUB", "proofs": [ "9yQJzrpdUZ1HVFnq5uXUa39rH68taMKHEnFBbULNU1UNGGN4X4zyVnJKtm6YxYj4DbtmRVwTCoQkZe1tdtPLTMV" ], "script": "base64:AAIFAAAAAAAAD2wIAhIJCgcBAQEBAQgBEgASBAoCCAgSBAoCCAgSBAoCCAgSAwoBCBIAIg9nZXRTdHJpbmdPckZhaWwiA2tleSIDU0VQIghCVUZTQ0FMRSIGc2NhbGU4Igh0aHJvd0VyciIDbXNnIh1jb252ZXJ0UHJpY2VBc3NldEludG9JZG9Bc3NldCIQcHJpY2VBc3NldEFtb3VudCIOcHJpY2VBc3NldE1VTFQiBXByaWNlIglwcmljZU1VTFQiDGlkb0Fzc2V0TVVMVCIPYlByaWNlQXNzZXRNVUxUIg1iSWRvQXNzZXRNVUxUIg5iUHJpY2VBc3NldEJVRiIPYkFtb3VudEFzc2V0QlVGIg5JZHhDZmdJZG9TdGFydCIRSWR4Q2ZnSWRvRHVyYXRpb24iEElkeENmZ0NsYWltU3RhcnQiE0lkeENmZ0NsYWltRHVyYXRpb24iC0lkeENmZ1ByaWNlIg9JZHhDZmdQcmljZU11bHQiEElkeENmZ0lkb0Fzc2V0SWQiEklkeENmZ0lkb0Fzc2V0TXVsdCISSWR4Q2ZnUHJpY2VBc3NldElkIhRJZHhDZmdQcmljZUFzc2V0T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TdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAQAAAAJkYgEAAAACZGMAAAAABAAAAAJkZAQAAAACY2gJAQAAAAJjZwAAAAADCQAAAQAAAAIFAAAAAmNoAgAAAApCeXRlVmVjdG9yBAAAAAJjbgUAAAACY2gFAAAAAmNuAwkAAAEAAAACBQAAAAJjaAIAAAAEVW5pdAgFAAAAAmRiAAAAD3NlbmRlclB1YmxpY0tleQkAAAIAAAABAgAAAAtNYXRjaCBlcnJvcgkAAfQAAAADCAUAAAACZGIAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJkYgAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAAmRkGkHtSw==", "chainId": 84, "height": 2340087, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7q2uWdqqVcFGp7wRdhXEoq7UBTJLVm5L3jrBEtGxT4Mj Next: AfU4LoDdvt7rZZE3AzZTy3WypR9FzbaWWffUfbewA7Eh Diff:
Old | New | Differences | |
---|---|---|---|
168 | 168 | let aY = ((Y + aP[aM]) + aW) | |
169 | 169 | let aZ = if ((0 > aT)) | |
170 | 170 | then { | |
171 | - | let ba = ( | |
171 | + | let ba = (aS - aX) | |
172 | 172 | StringEntry(b, aa(aS, ba, aX, aY, aQ)) | |
173 | 173 | } | |
174 | 174 | else StringEntry(b, aa(aS, aT, aX, aY, aQ)) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func a (b) = valueOrErrorMessage(getString(b), (("mandatory this." + b) + " is not defined")) | |
5 | 5 | ||
6 | 6 | ||
7 | 7 | let c = "__" | |
8 | 8 | ||
9 | 9 | let d = toBigInt(1000000000000000000) | |
10 | 10 | ||
11 | 11 | let e = 100000000 | |
12 | 12 | ||
13 | 13 | func f (g) = throw(makeString(["ido.ride:", g], " ")) | |
14 | 14 | ||
15 | 15 | ||
16 | 16 | func h (i,j,k,l,m) = { | |
17 | 17 | let n = toBigInt(j) | |
18 | 18 | let o = toBigInt(m) | |
19 | 19 | let p = fraction(toBigInt(i), d, n) | |
20 | 20 | let q = fraction(p, toBigInt(l), toBigInt(k)) | |
21 | 21 | toInt(fraction(q, toBigInt(m), d)) | |
22 | 22 | } | |
23 | 23 | ||
24 | 24 | ||
25 | 25 | let r = 1 | |
26 | 26 | ||
27 | 27 | let s = 2 | |
28 | 28 | ||
29 | 29 | let t = 3 | |
30 | 30 | ||
31 | 31 | let u = 4 | |
32 | 32 | ||
33 | 33 | let v = 5 | |
34 | 34 | ||
35 | 35 | let w = 6 | |
36 | 36 | ||
37 | 37 | let x = 7 | |
38 | 38 | ||
39 | 39 | let y = 8 | |
40 | 40 | ||
41 | 41 | let z = 9 | |
42 | 42 | ||
43 | 43 | let A = 10 | |
44 | 44 | ||
45 | 45 | let B = 11 | |
46 | 46 | ||
47 | 47 | func C (D,E,F,G,k,H,I,J,K,L,M,N) = makeString(["%d%d%d%d%d%d%s%d%s%d%d%d", D, E, F, G, k, H, I, J, K, L, M, N], c) | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | func O (D,E,F,G,k,H,I,J,K,L,M,N) = C(toString(D), toString(E), toString(F), toString(G), toString(k), toString(H), I, toString(J), K, toString(L), toString(M), toString(N)) | |
51 | 51 | ||
52 | 52 | ||
53 | 53 | let P = 1 | |
54 | 54 | ||
55 | 55 | let Q = 2 | |
56 | 56 | ||
57 | 57 | let R = 3 | |
58 | 58 | ||
59 | 59 | let S = 4 | |
60 | 60 | ||
61 | 61 | let T = 5 | |
62 | 62 | ||
63 | 63 | func U (V,W,X,Y,Z) = makeString(["%d%d%d%d%d", V, W, X, Y, Z], c) | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func aa (V,W,X,Y,Z) = U(toString(V), toString(W), toString(X), toString(Y), toString(Z)) | |
67 | 67 | ||
68 | 68 | ||
69 | 69 | func ab (i,ac) = makeString(["%d%d%d%d", toString(height), toString(lastBlock.timestamp), toString(i), toString(ac)], c) | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func ad () = "%s__config" | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func ae (af) = ("%s__" + af) | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func ag () = "%s__totals" | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func ah (ai,af,aj) = makeString(["%s%s%s%s__history", ai, af, aj], c) | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func ak () = "%s__usdnClaimDisabled" | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func al () = "%s__usdnClaimEndHeight" | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | func am () = makeString(["%s", "periodLength"], c) | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func an () = makeString(["%s", "currentPeriod"], c) | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func ao (ap) = makeString(["%s%s", "periodStartHeight", toString(ap)], c) | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func aq (ap) = makeString(["%s%s", "periodEndHeight", toString(ap)], c) | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func ar () = makeString(["%s", "usdtPriceAssetAllowableRatio"], c) | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func as (at) = makeString(["%s%s", "totalPeriodAllowance", at], c) | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func au (at) = makeString(["%s%s", "userPeriodAllowance", at], c) | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func av (at,ap) = makeString(["%s%s%s", "periodTotalAvailableToClaim", at, toString(ap)], c) | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func aw (at,ap,af) = makeString(["%s%s%s%s", "periodUserAvailableToClaim", at, toString(ap), af], c) | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func ax () = makeString(["%s", "usdtPriceAssetStablePool"], c) | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func ay () = makeString(["%s", "usdtAssetId"], c) | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func az (aA) = makeString(["%s%s", "priceAssetBalance", aA], c) | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func aB () = "%s__managerPublicKey" | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func aC () = "%s__pendingManagerPublicKey" | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func aD () = split(a(ad()), c) | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func aE (aF) = split(valueOrElse(getString(aF), U("0", "0", "0", "0", "0")), c) | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func aG () = aE(ag()) | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func aH (af) = aE(ae(af)) | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func aI (af) = split(a(ae(af)), c) | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | let aJ = 0 | |
148 | 148 | ||
149 | 149 | let aK = 1 | |
150 | 150 | ||
151 | 151 | let aL = 2 | |
152 | 152 | ||
153 | 153 | let aM = 3 | |
154 | 154 | ||
155 | 155 | func aN (b,aO,aP,aQ,aR) = { | |
156 | 156 | let V = parseIntValue(aO[P]) | |
157 | 157 | let W = parseIntValue(aO[Q]) | |
158 | 158 | let X = parseIntValue(aO[R]) | |
159 | 159 | let Y = parseIntValue(aO[S]) | |
160 | 160 | let Z = parseIntValue(aO[T]) | |
161 | 161 | let aS = (V + aP[aJ]) | |
162 | 162 | let aT = (W + aP[aK]) | |
163 | 163 | let aU = aD() | |
164 | 164 | let K = aU[z] | |
165 | 165 | let aV = value(assetInfo(fromBase58String(K))).decimals | |
166 | 166 | let aW = fraction(aR, e, pow(10, 0, aV, 0, 0, DOWN)) | |
167 | 167 | let aX = ((X + aP[aL]) - aR) | |
168 | 168 | let aY = ((Y + aP[aM]) + aW) | |
169 | 169 | let aZ = if ((0 > aT)) | |
170 | 170 | then { | |
171 | - | let ba = ( | |
171 | + | let ba = (aS - aX) | |
172 | 172 | StringEntry(b, aa(aS, ba, aX, aY, aQ)) | |
173 | 173 | } | |
174 | 174 | else StringEntry(b, aa(aS, aT, aX, aY, aQ)) | |
175 | 175 | aZ | |
176 | 176 | } | |
177 | 177 | ||
178 | 178 | ||
179 | 179 | func bb (af,i,ac,bc) = StringEntry(ah("invest", af, toBase58String(bc)), ab(i, ac)) | |
180 | 180 | ||
181 | 181 | ||
182 | 182 | func bd (af,i,ac,bc) = StringEntry(ah("claim", af, toBase58String(bc)), ab(i, ac)) | |
183 | 183 | ||
184 | 184 | ||
185 | 185 | func be (bf,af,bc) = { | |
186 | 186 | let aU = aD() | |
187 | 187 | let F = parseIntValue(aU[t]) | |
188 | 188 | let G = parseIntValue(aU[u]) | |
189 | 189 | let bg = (F + G) | |
190 | 190 | let k = parseIntValue(aU[v]) | |
191 | 191 | let H = parseIntValue(aU[w]) | |
192 | 192 | let I = aU[x] | |
193 | 193 | let bh = fromBase58String(I) | |
194 | 194 | let J = parseIntValue(aU[y]) | |
195 | 195 | let K = aU[z] | |
196 | 196 | let bi = fromBase58String(K) | |
197 | 197 | let L = parseIntValue(aU[A]) | |
198 | 198 | let bj = toString(af) | |
199 | 199 | let bk = aI(bj) | |
200 | 200 | let bl = parseIntValue(bk[P]) | |
201 | 201 | let bm = parseIntValue(bk[T]) | |
202 | 202 | let bn = if ((F >= bm)) | |
203 | 203 | then F | |
204 | 204 | else bm | |
205 | 205 | let bo = if ((height > bg)) | |
206 | 206 | then bg | |
207 | 207 | else if ((F > height)) | |
208 | 208 | then F | |
209 | 209 | else height | |
210 | 210 | let bp = (bo - bn) | |
211 | 211 | let bq = split(value(getString(ae(bj))), c) | |
212 | 212 | let V = parseIntValue(bq[P]) | |
213 | 213 | let X = parseIntValue(bq[R]) | |
214 | 214 | let Y = parseIntValue(bq[S]) | |
215 | 215 | let br = ((V - X) - Y) | |
216 | 216 | let bs = h(br, L, k, H, J) | |
217 | 217 | let bt = throw(makeString([toString(V), toString(X), toString(Y), toString(br), toString(bs)], " ")) | |
218 | 218 | if ((bt == bt)) | |
219 | 219 | then { | |
220 | 220 | let bu = (bf == K) | |
221 | 221 | let bv = valueOrElse(getBoolean(ak()), false) | |
222 | 222 | let bw = [if (!(if (bu) | |
223 | 223 | then bv | |
224 | 224 | else false)) | |
225 | 225 | then true | |
226 | 226 | else throw("USDN claim is disabled")] | |
227 | 227 | if ((bw == bw)) | |
228 | 228 | then if ((bf == K)) | |
229 | 229 | then $Tuple6([0, -(br), br, 0], br, bi, bk, bo, [br, bs]) | |
230 | 230 | else if ((bf == I)) | |
231 | 231 | then $Tuple6([0, -(br), 0, bs], bs, bh, bk, bo, [br, bs]) | |
232 | 232 | else throw(("unsupported assetId: " + bf)) | |
233 | 233 | else throw("Strict value is not equal to itself.") | |
234 | 234 | } | |
235 | 235 | else throw("Strict value is not equal to itself.") | |
236 | 236 | } | |
237 | 237 | ||
238 | 238 | ||
239 | 239 | func bx (K,bj,by,bz) = { | |
240 | 240 | let bA = value(getInteger(as(K))) | |
241 | 241 | let bB = value(getInteger(au(K))) | |
242 | 242 | let bC = value(getInteger(am())) | |
243 | 243 | let bD = valueOrElse(getInteger(an()), 0) | |
244 | 244 | let bE = isDefined(getInteger(aq(0))) | |
245 | 245 | let bF = if ((bD > 0)) | |
246 | 246 | then { | |
247 | 247 | let bG = value(getInteger(ao(bD))) | |
248 | 248 | let bH = value(getInteger(aq(bD))) | |
249 | 249 | let bI = if ((height > bH)) | |
250 | 250 | then { | |
251 | 251 | let bJ = (bD + 1) | |
252 | 252 | let bK = if ((height > (bH + bC))) | |
253 | 253 | then { | |
254 | 254 | let bL = ((height - bH) % bC) | |
255 | 255 | if ((bL == 0)) | |
256 | 256 | then ((height - bC) + 1) | |
257 | 257 | else (height - bL) | |
258 | 258 | } | |
259 | 259 | else (bH + 1) | |
260 | 260 | let bM = ((bK + bC) - 1) | |
261 | 261 | $Tuple3(bJ, bK, bM) | |
262 | 262 | } | |
263 | 263 | else $Tuple3(bD, bG, bH) | |
264 | 264 | let bJ = bI._1 | |
265 | 265 | let bK = bI._2 | |
266 | 266 | let bM = bI._3 | |
267 | 267 | $Tuple3(bJ, bK, bM) | |
268 | 268 | } | |
269 | 269 | else if (bE) | |
270 | 270 | then { | |
271 | 271 | let bN = value(getInteger(ao(0))) | |
272 | 272 | let bO = value(getInteger(aq(0))) | |
273 | 273 | let bP = if ((height > bO)) | |
274 | 274 | then { | |
275 | 275 | let bJ = (bD + 1) | |
276 | 276 | let bK = (bO + 1) | |
277 | 277 | let bM = ((bK + bC) - 1) | |
278 | 278 | $Tuple3(bJ, bK, bM) | |
279 | 279 | } | |
280 | 280 | else $Tuple3(bD, bN, bO) | |
281 | 281 | let bJ = bP._1 | |
282 | 282 | let bK = bP._2 | |
283 | 283 | let bM = bP._3 | |
284 | 284 | $Tuple3(bJ, bK, bM) | |
285 | 285 | } | |
286 | 286 | else $Tuple3(bD, valueOrElse(getInteger(ao(bD)), height), valueOrElse(getInteger(aq(bD)), ((height + bC) - 1))) | |
287 | 287 | let bJ = bF._1 | |
288 | 288 | let bK = bF._2 | |
289 | 289 | let bM = bF._3 | |
290 | 290 | let bQ = valueOrElse(getInteger(av(K, bJ)), bA) | |
291 | 291 | let bR = valueOrElse(getInteger(aw(K, bJ, bj)), bB) | |
292 | 292 | let aR = valueOrElse(getInteger(az(bj)), 0) | |
293 | 293 | let bS = min([(by + aR), bQ, bR]) | |
294 | 294 | let bT = value(getInteger(ar())) | |
295 | 295 | let bU = e | |
296 | 296 | let bV = { | |
297 | 297 | let bW = invoke(addressFromStringValue(value(getString(ax()))), "putOneTknV2WithoutTakeFeeREADONLY", [bU, K], nil) | |
298 | 298 | if ($isInstanceOf(bW, "(Int, Int, Int)")) | |
299 | 299 | then bW | |
300 | 300 | else throw("Couldn't cast Any to (Int, Int, Int)") | |
301 | 301 | } | |
302 | 302 | if ((bV == bV)) | |
303 | 303 | then { | |
304 | 304 | let bX = bV._3 | |
305 | 305 | let bY = bV._2 | |
306 | 306 | let bZ = bV._1 | |
307 | 307 | let ca = value(getString(ay())) | |
308 | 308 | let cb = { | |
309 | 309 | let bW = invoke(addressFromStringValue(value(getString(ax()))), "getOneTknV2READONLY", [ca, bZ], nil) | |
310 | 310 | if ($isInstanceOf(bW, "(Int, Int)")) | |
311 | 311 | then bW | |
312 | 312 | else throw("Couldn't cast Any to (Int, Int)") | |
313 | 313 | } | |
314 | 314 | if ((cb == cb)) | |
315 | 315 | then { | |
316 | 316 | let cc = cb._2 | |
317 | 317 | let cd = cb._1 | |
318 | 318 | let ce = fraction(bU, e, cd) | |
319 | 319 | let cf = (bM - height) | |
320 | 320 | $Tuple10(bS, bQ, bR, bz, bT, ce, cf, bJ, bK, bM) | |
321 | 321 | } | |
322 | 322 | else throw("Strict value is not equal to itself.") | |
323 | 323 | } | |
324 | 324 | else throw("Strict value is not equal to itself.") | |
325 | 325 | } | |
326 | 326 | ||
327 | 327 | ||
328 | 328 | func cg () = { | |
329 | 329 | let ch = getString(aB()) | |
330 | 330 | if ($isInstanceOf(ch, "String")) | |
331 | 331 | then { | |
332 | 332 | let ci = ch | |
333 | 333 | fromBase58String(ci) | |
334 | 334 | } | |
335 | 335 | else if ($isInstanceOf(ch, "Unit")) | |
336 | 336 | then unit | |
337 | 337 | else throw("Match error") | |
338 | 338 | } | |
339 | 339 | ||
340 | 340 | ||
341 | 341 | func cj () = { | |
342 | 342 | let ch = getString(aC()) | |
343 | 343 | if ($isInstanceOf(ch, "String")) | |
344 | 344 | then { | |
345 | 345 | let ci = ch | |
346 | 346 | fromBase58String(ci) | |
347 | 347 | } | |
348 | 348 | else if ($isInstanceOf(ch, "Unit")) | |
349 | 349 | then unit | |
350 | 350 | else throw("Match error") | |
351 | 351 | } | |
352 | 352 | ||
353 | 353 | ||
354 | 354 | func ck (cl) = { | |
355 | 355 | let cm = throw("Permission denied") | |
356 | 356 | let ch = cg() | |
357 | 357 | if ($isInstanceOf(ch, "ByteVector")) | |
358 | 358 | then { | |
359 | 359 | let cn = ch | |
360 | 360 | if ((cl.callerPublicKey == cn)) | |
361 | 361 | then true | |
362 | 362 | else cm | |
363 | 363 | } | |
364 | 364 | else if ($isInstanceOf(ch, "Unit")) | |
365 | 365 | then if ((cl.caller == this)) | |
366 | 366 | then true | |
367 | 367 | else cm | |
368 | 368 | else throw("Match error") | |
369 | 369 | } | |
370 | 370 | ||
371 | 371 | ||
372 | 372 | @Callable(cl) | |
373 | 373 | func constructor (D,E,F,G,k,K,M) = { | |
374 | 374 | let H = ((100 * 1000) * 1000) | |
375 | 375 | let co = (D + E) | |
376 | 376 | if (isDefined(getString(ad()))) | |
377 | 377 | then throw("already initialized") | |
378 | 378 | else if (("3PMEHLx1j6zerarZTYfsGqDeeZqQoMpxq5S" != toString(cl.caller))) | |
379 | 379 | then throw("not authorized") | |
380 | 380 | else if ((size(cl.payments) != 1)) | |
381 | 381 | then throw("exactly 1 payment must be attached") | |
382 | 382 | else if ((co >= F)) | |
383 | 383 | then throw("claimStart must be greater than idoEnd") | |
384 | 384 | else { | |
385 | 385 | let cp = value(cl.payments[0]) | |
386 | 386 | let bh = value(cp.assetId) | |
387 | 387 | let cq = valueOrErrorMessage(assetInfo(bh), "fail to load ido asset info") | |
388 | 388 | let I = toBase58String(bh) | |
389 | 389 | let J = pow(10, 0, cq.decimals, 0, 0, DOWN) | |
390 | 390 | let bi = fromBase58String(K) | |
391 | 391 | let cr = valueOrErrorMessage(assetInfo(bi), "fail to load price asset info") | |
392 | 392 | let L = pow(10, 0, cr.decimals, 0, 0, DOWN) | |
393 | 393 | let cs = aG() | |
394 | 394 | let ct = [0, 0, 0, 0] | |
395 | 395 | [StringEntry(ad(), O(D, E, F, G, k, H, I, J, K, L, M, cp.amount)), aN(ag(), cs, ct, F, 0)] | |
396 | 396 | } | |
397 | 397 | } | |
398 | 398 | ||
399 | 399 | ||
400 | 400 | ||
401 | 401 | @Callable(cl) | |
402 | 402 | func invest () = { | |
403 | 403 | let aU = aD() | |
404 | 404 | let D = parseIntValue(aU[r]) | |
405 | 405 | let E = parseIntValue(aU[s]) | |
406 | 406 | let co = (D + E) | |
407 | 407 | let F = parseIntValue(aU[t]) | |
408 | 408 | let G = parseIntValue(aU[u]) | |
409 | 409 | let k = parseIntValue(aU[v]) | |
410 | 410 | let H = parseIntValue(aU[w]) | |
411 | 411 | let I = aU[x] | |
412 | 412 | let bh = fromBase58String(I) | |
413 | 413 | let J = parseIntValue(aU[y]) | |
414 | 414 | let K = aU[z] | |
415 | 415 | let bi = fromBase58String(K) | |
416 | 416 | let L = parseIntValue(aU[A]) | |
417 | 417 | let cu = parseIntValue(aU[B]) | |
418 | 418 | let af = toString(cl.caller) | |
419 | 419 | if ((D > height)) | |
420 | 420 | then throw("ido has not been started yet") | |
421 | 421 | else if ((height > co)) | |
422 | 422 | then throw("ido has been already ended") | |
423 | 423 | else if ((size(cl.payments) != 1)) | |
424 | 424 | then throw("exactly 1 payment is expected") | |
425 | 425 | else { | |
426 | 426 | let cp = value(cl.payments[0]) | |
427 | 427 | let cv = value(cp.assetId) | |
428 | 428 | let cw = cp.amount | |
429 | 429 | if ((cv != bi)) | |
430 | 430 | then throw((("invalid payment asset id: " + toBase58String(cv)) + " is expected")) | |
431 | 431 | else { | |
432 | 432 | let cx = aH(af) | |
433 | 433 | let cs = aG() | |
434 | 434 | let cy = (parseIntValue(cs[P]) + cw) | |
435 | 435 | let cz = (cy * 100) | |
436 | 436 | if ((cz > assetBalance(this, bh))) | |
437 | 437 | then throw("IDO asset has been - sold consider to use smaller payment") | |
438 | 438 | else { | |
439 | 439 | let ct = [cw, cw, 0, 0] | |
440 | 440 | [aN(ae(af), cx, ct, F, 0), aN(ag(), cs, ct, F, 0), bb(af, cw, 0, cl.transactionId)] | |
441 | 441 | } | |
442 | 442 | } | |
443 | 443 | } | |
444 | 444 | } | |
445 | 445 | ||
446 | 446 | ||
447 | 447 | ||
448 | 448 | @Callable(cl) | |
449 | 449 | func claim (bf,bj) = { | |
450 | 450 | let cA = toString(cl.caller) | |
451 | 451 | if ((bj != cA)) | |
452 | 452 | then throw("not authorized") | |
453 | 453 | else { | |
454 | 454 | let aU = aD() | |
455 | 455 | let K = aU[z] | |
456 | 456 | let cB = be(bf, cl.caller, cl.transactionId) | |
457 | 457 | let ct = cB._1 | |
458 | 458 | let by = cB._2 | |
459 | 459 | let cC = cB._3 | |
460 | 460 | let bk = cB._4 | |
461 | 461 | let bo = cB._5 | |
462 | 462 | let cD = ct[aL] | |
463 | 463 | let cE = ct[aM] | |
464 | 464 | let aR = valueOrElse(getInteger(az(bj)), 0) | |
465 | 465 | let aV = value(assetInfo(fromBase58String(K))).decimals | |
466 | 466 | let aZ = if ((bf == K)) | |
467 | 467 | then { | |
468 | 468 | let cF = bx(K, bj, by, ct[aL]) | |
469 | 469 | let bS = cF._1 | |
470 | 470 | let bQ = cF._2 | |
471 | 471 | let bR = cF._3 | |
472 | 472 | let bz = cF._4 | |
473 | 473 | let bT = cF._5 | |
474 | 474 | let ce = cF._6 | |
475 | 475 | let cf = cF._7 | |
476 | 476 | let bJ = cF._8 | |
477 | 477 | let bK = cF._9 | |
478 | 478 | let bM = cF._10 | |
479 | 479 | let bw = [if ((bR > 0)) | |
480 | 480 | then true | |
481 | 481 | else f("unavailable to claim because user period allowance reached"), if ((bQ > 0)) | |
482 | 482 | then true | |
483 | 483 | else f("unavailable to claim because total period allowance reached"), if ((bS > 0)) | |
484 | 484 | then true | |
485 | 485 | else f("nothing to claim"), if ((bT > ce)) | |
486 | 486 | then true | |
487 | 487 | else f("unavailable to claim because usdn price lower than usdtPriceAssetAllowableRatio")] | |
488 | 488 | if ((bw == bw)) | |
489 | 489 | then { | |
490 | 490 | let cG = (bQ - bS) | |
491 | 491 | let cH = (bR - bS) | |
492 | 492 | let aZ = if ((aR >= bS)) | |
493 | 493 | then [ScriptTransfer(cl.caller, bS, cC), IntegerEntry(az(bj), (aR - bS))] | |
494 | 494 | else { | |
495 | 495 | let cI = ((aR + by) - bS) | |
496 | 496 | [ScriptTransfer(cl.caller, bS, cC), aN(ae(bj), bk, ct, bo, 0), aN(ag(), aG(), ct, bo, 0), IntegerEntry(az(bj), cI)] | |
497 | 497 | } | |
498 | 498 | $Tuple2(([IntegerEntry(an(), bJ), IntegerEntry(ao(bJ), bK), IntegerEntry(aq(bJ), bM), IntegerEntry(av(K, bJ), cG), IntegerEntry(aw(K, bJ, bj), cH), bd(bj, bS, cE, cl.transactionId)] ++ aZ), unit) | |
499 | 499 | } | |
500 | 500 | else throw("Strict value is not equal to itself.") | |
501 | 501 | } | |
502 | 502 | else { | |
503 | 503 | let cJ = fraction(aR, e, pow(10, 0, aV, 0, 0, DOWN)) | |
504 | 504 | $Tuple2([ScriptTransfer(cl.caller, (by + cJ), cC), IntegerEntry(az(bj), 0), aN(ae(bj), bk, ct, bo, aR), aN(ag(), aG(), ct, bo, aR), bd(bj, cD, (cE + cJ), cl.transactionId)], unit) | |
505 | 505 | } | |
506 | 506 | aZ | |
507 | 507 | } | |
508 | 508 | } | |
509 | 509 | ||
510 | 510 | ||
511 | 511 | ||
512 | 512 | @Callable(cl) | |
513 | 513 | func claimREADONLY (bf,bj) = { | |
514 | 514 | let cB = be(bf, addressFromStringValue(bj), fromBase58String("")) | |
515 | 515 | let ct = cB._1 | |
516 | 516 | let by = cB._2 | |
517 | 517 | let cC = cB._3 | |
518 | 518 | let bk = cB._4 | |
519 | 519 | let bo = cB._5 | |
520 | 520 | let cK = cB._6 | |
521 | 521 | let cL = cK[0] | |
522 | 522 | let cM = cK[1] | |
523 | 523 | $Tuple2(nil, makeString(["%s%d%d", bj, toString(cL), toString(cM)], c)) | |
524 | 524 | } | |
525 | 525 | ||
526 | 526 | ||
527 | 527 | ||
528 | 528 | @Callable(cl) | |
529 | 529 | func claimV2READONLY (bf,bj) = { | |
530 | 530 | let cB = be(bf, addressFromStringValue(bj), fromBase58String("")) | |
531 | 531 | let ct = cB._1 | |
532 | 532 | let by = cB._2 | |
533 | 533 | let cC = cB._3 | |
534 | 534 | let bk = cB._4 | |
535 | 535 | let bo = cB._5 | |
536 | 536 | let cK = cB._6 | |
537 | 537 | let cL = cK[0] | |
538 | 538 | let cM = cK[1] | |
539 | 539 | let aU = aD() | |
540 | 540 | let K = aU[z] | |
541 | 541 | let aR = valueOrElse(getInteger(az(bj)), 0) | |
542 | 542 | let cJ = (aR * 100) | |
543 | 543 | let cN = (cM + cJ) | |
544 | 544 | let cO = bx(K, bj, by, ct[aL]) | |
545 | 545 | let bS = cO._1 | |
546 | 546 | let bQ = cO._2 | |
547 | 547 | let bR = cO._3 | |
548 | 548 | let bz = cO._4 | |
549 | 549 | let bT = cO._5 | |
550 | 550 | let ce = cO._6 | |
551 | 551 | let cf = cO._7 | |
552 | 552 | let bJ = cO._8 | |
553 | 553 | let bK = cO._9 | |
554 | 554 | let bM = cO._10 | |
555 | 555 | let cP = valueOrElse(getInteger(aq(bJ)), 0) | |
556 | 556 | let cQ = (parseIntValue(aI(bj)[R]) - aR) | |
557 | 557 | let cR = if ((height > cP)) | |
558 | 558 | then { | |
559 | 559 | let cS = value(getInteger(am())) | |
560 | 560 | let cT = value(getInteger(au(K))) | |
561 | 561 | let cU = value(getInteger(as(K))) | |
562 | 562 | makeString(["%d%d%d%d%d%d", toString(cN), toString(cT), toString(cU), toString(bT), toString(ce), toString(cS), toString(cQ)], c) | |
563 | 563 | } | |
564 | 564 | else makeString(["%d%d%d%d%d%d", toString(cN), toString(bS), toString(bQ), toString(bT), toString(ce), toString(cf), toString(cQ)], c) | |
565 | 565 | $Tuple2(nil, cR) | |
566 | 566 | } | |
567 | 567 | ||
568 | 568 | ||
569 | 569 | ||
570 | 570 | @Callable(cl) | |
571 | 571 | func setManager (cV) = { | |
572 | 572 | let cW = ck(cl) | |
573 | 573 | if ((cW == cW)) | |
574 | 574 | then { | |
575 | 575 | let cX = fromBase58String(cV) | |
576 | 576 | if ((cX == cX)) | |
577 | 577 | then [StringEntry(aC(), cV)] | |
578 | 578 | else throw("Strict value is not equal to itself.") | |
579 | 579 | } | |
580 | 580 | else throw("Strict value is not equal to itself.") | |
581 | 581 | } | |
582 | 582 | ||
583 | 583 | ||
584 | 584 | ||
585 | 585 | @Callable(cl) | |
586 | 586 | func confirmManager () = { | |
587 | 587 | let cY = cj() | |
588 | 588 | let cZ = if (isDefined(cY)) | |
589 | 589 | then true | |
590 | 590 | else throw("No pending manager") | |
591 | 591 | if ((cZ == cZ)) | |
592 | 592 | then { | |
593 | 593 | let da = if ((cl.callerPublicKey == value(cY))) | |
594 | 594 | then true | |
595 | 595 | else throw("You are not pending manager") | |
596 | 596 | if ((da == da)) | |
597 | 597 | then [StringEntry(aB(), toBase58String(value(cY))), DeleteEntry(aC())] | |
598 | 598 | else throw("Strict value is not equal to itself.") | |
599 | 599 | } | |
600 | 600 | else throw("Strict value is not equal to itself.") | |
601 | 601 | } | |
602 | 602 | ||
603 | 603 | ||
604 | 604 | @Verifier(db) | |
605 | 605 | func dc () = { | |
606 | 606 | let dd = { | |
607 | 607 | let ch = cg() | |
608 | 608 | if ($isInstanceOf(ch, "ByteVector")) | |
609 | 609 | then { | |
610 | 610 | let cn = ch | |
611 | 611 | cn | |
612 | 612 | } | |
613 | 613 | else if ($isInstanceOf(ch, "Unit")) | |
614 | 614 | then db.senderPublicKey | |
615 | 615 | else throw("Match error") | |
616 | 616 | } | |
617 | 617 | sigVerify(db.bodyBytes, db.proofs[0], dd) | |
618 | 618 | } | |
619 | 619 |
github/deemru/w8io/169f3d6 70.86 ms ◑