tx · 8T3pQizPopR5HWmexTvMCKAfQoMPGH3JzPd2wgqUJ1oH 3N7ZLGaqmnn1SL3ednj9YxuS7RUuM1uutDY: -0.02700000 Waves 2022.11.03 23:13 [2301386] smart account 3N7ZLGaqmnn1SL3ednj9YxuS7RUuM1uutDY > SELF 0.00000000 Waves
{ "type": 13, "id": "8T3pQizPopR5HWmexTvMCKAfQoMPGH3JzPd2wgqUJ1oH", "fee": 2700000, "feeAssetId": null, "timestamp": 1667506411117, "version": 1, "sender": "3N7ZLGaqmnn1SL3ednj9YxuS7RUuM1uutDY", "senderPublicKey": "H2pZpkPFhw2dBhpXkmx3e6baw4oTiBEHm4u4AVWA6zC5", "proofs": [ "2vdY6Ui4JYST6LwwnRTXyCNanEjHH2KevGmehKBatXwuJPmCunGVtDm1hwY5QU77VB2aWB5cdwptwiKSBYuqHh6C" ], "script": "base64:AAIFAAAAAAAAD0kIAhIJCgcBAQEBAQgBEgASBAoCCAgSBAoCCAgSBAoCCAgSAwoBCBIAIg9nZXRTdHJpbmdPckZhaWwiA2tleSIDU0VQIghCVUZTQ0FMRSIGc2NhbGU4Igh0aHJvd0VyciIDbXNnIh1jb252ZXJ0UHJpY2VBc3NldEludG9JZG9Bc3NldCIQcHJpY2VBc3NldEFtb3VudCIOcHJpY2VBc3NldE1VTFQiBXByaWNlIglwcmljZU1VTFQiDGlkb0Fzc2V0TVVMVCIPYlByaWNlQXNzZXRNVUxUIg1iSWRvQXNzZXRNVUxUIg5iUHJpY2VBc3NldEJVRiIPYkFtb3VudEFzc2V0QlVGIg5JZHhDZmdJZG9TdGFydCIRSWR4Q2ZnSWRvRHVyYXRpb24iEElkeENmZ0NsYWltU3RhcnQiE0lkeENmZ0NsYWltRHVyYXRpb24iC0lkeENmZ1ByaWNlIg9JZHhDZmdQcmljZU11bHQiEElkeENmZ0lkb0Fzc2V0SWQiEklkeENmZ0lkb0Fzc2V0TXVsdCISSWR4Q2ZnUHJpY2VBc3NldElkIhRJZHhDZmdQcmljZUF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mNpAQAAAA5jb25maXJtTWFuYWdlcgAAAAAEAAAAAmNXCQEAAAACY2cAAAAABAAAAAJjWAMJAQAAAAlpc0RlZmluZWQAAAABBQAAAAJjVwYJAAACAAAAAQIAAAASTm8gcGVuZGluZyBtYW5hZ2VyAwkAAAAAAAACBQAAAAJjWAUAAAACY1gEAAAAAmNZAwkAAAAAAAACCAUAAAACY2kAAAAPY2FsbGVyUHVibGljS2V5CQEAAAAFdmFsdWUAAAABBQAAAAJjVwYJAAACAAAAAQIAAAAbWW91IGFyZSBub3QgcGVuZGluZyBtYW5hZ2VyAwkAAAAAAAACBQAAAAJjWQUAAAACY1kJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkBAAAAAmFCAAAAAAkAAlgAAAABCQEAAAAFdmFsdWUAAAABBQAAAAJjVwkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQEAAAACYUMAAAAABQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAEAAAACY1oBAAAAAmRhAAAAAAQAAAACZGIEAAAAAmNlCQEAAAACY2QAAAAAAwkAAAEAAAACBQAAAAJjZQIAAAAKQnl0ZVZlY3RvcgQAAAACY2sFAAAAAmNlBQAAAAJjawMJAAABAAAAAgUAAAACY2UCAAAABFVuaXQIBQAAAAJjWgAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IJAAH0AAAAAwgFAAAAAmNaAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACY1oAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAJkYtjkJFE=", "chainId": 84, "height": 2301386, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7xAgvMd9FLFPjggnwdkJ12VDB8W5n5eBWJV3nHd4HWbW Next: BmnHHAnwCvCjtLxumXemsHgaroU11A17LCkkWyf9P22r Diff:
Old | New | Differences | |
---|---|---|---|
302 | 302 | then { | |
303 | 303 | let bY = bX._2 | |
304 | 304 | let bZ = bX._1 | |
305 | - | let ca = fraction(bQ, | |
305 | + | let ca = fraction(bQ, e, bZ) | |
306 | 306 | let cb = throw(makeString([toString(bQ), toString(bZ), toString(ca)], c)) | |
307 | 307 | if ((cb == cb)) | |
308 | 308 | then { |
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 | if ((0 > aT)) | |
170 | 170 | then throw("invalid math") | |
171 | 171 | else StringEntry(b, aa(aS, aT, aX, aY, aQ)) | |
172 | 172 | } | |
173 | 173 | ||
174 | 174 | ||
175 | 175 | func aZ (af,i,ac,ba) = StringEntry(ah("invest", af, toBase58String(ba)), ab(i, ac)) | |
176 | 176 | ||
177 | 177 | ||
178 | 178 | func bb (af,i,ac,ba) = StringEntry(ah("claim", af, toBase58String(ba)), ab(i, ac)) | |
179 | 179 | ||
180 | 180 | ||
181 | 181 | func bc (bd,af,ba) = { | |
182 | 182 | let aU = aD() | |
183 | 183 | let F = parseIntValue(aU[t]) | |
184 | 184 | let G = parseIntValue(aU[u]) | |
185 | 185 | let be = (F + G) | |
186 | 186 | let k = parseIntValue(aU[v]) | |
187 | 187 | let H = parseIntValue(aU[w]) | |
188 | 188 | let I = aU[x] | |
189 | 189 | let bf = fromBase58String(I) | |
190 | 190 | let J = parseIntValue(aU[y]) | |
191 | 191 | let K = aU[z] | |
192 | 192 | let bg = fromBase58String(K) | |
193 | 193 | let L = parseIntValue(aU[A]) | |
194 | 194 | let bh = toString(af) | |
195 | 195 | let bi = aI(bh) | |
196 | 196 | let bj = parseIntValue(bi[P]) | |
197 | 197 | let bk = parseIntValue(bi[T]) | |
198 | 198 | let bl = if ((F >= bk)) | |
199 | 199 | then F | |
200 | 200 | else bk | |
201 | 201 | let bm = if ((height > be)) | |
202 | 202 | then be | |
203 | 203 | else if ((F > height)) | |
204 | 204 | then F | |
205 | 205 | else height | |
206 | 206 | let bn = (bm - bl) | |
207 | 207 | let bo = fraction(bj, bn, G) | |
208 | 208 | let bp = h(bo, L, k, H, J) | |
209 | 209 | let bq = (bd == K) | |
210 | 210 | let br = valueOrElse(getBoolean(ak()), false) | |
211 | 211 | let bs = [if (!(if (bq) | |
212 | 212 | then br | |
213 | 213 | else false)) | |
214 | 214 | then true | |
215 | 215 | else throw("USDN claim is disabled")] | |
216 | 216 | if ((bs == bs)) | |
217 | 217 | then if ((bd == K)) | |
218 | 218 | then $Tuple6([0, -(bo), bo, 0], bo, bg, bi, bm, [bo, bp]) | |
219 | 219 | else if ((bd == I)) | |
220 | 220 | then $Tuple6([0, -(bo), 0, bp], bp, bf, bi, bm, [bo, bp]) | |
221 | 221 | else throw(("unsupported assetId: " + bd)) | |
222 | 222 | else throw("Strict value is not equal to itself.") | |
223 | 223 | } | |
224 | 224 | ||
225 | 225 | ||
226 | 226 | func bt (K,bh,bu,bv) = { | |
227 | 227 | let bw = value(getInteger(as(K))) | |
228 | 228 | let bx = value(getInteger(au(K))) | |
229 | 229 | let by = value(getInteger(am())) | |
230 | 230 | let bz = valueOrElse(getInteger(an()), 0) | |
231 | 231 | let bA = isDefined(getInteger(aq(0))) | |
232 | 232 | let bB = if ((bz > 0)) | |
233 | 233 | then { | |
234 | 234 | let bC = value(getInteger(ao(bz))) | |
235 | 235 | let bD = value(getInteger(aq(bz))) | |
236 | 236 | let bE = if ((height > bD)) | |
237 | 237 | then { | |
238 | 238 | let bF = (bz + 1) | |
239 | 239 | let bG = if ((height > (bD + by))) | |
240 | 240 | then { | |
241 | 241 | let bH = ((height - bD) % by) | |
242 | 242 | if ((bH == 0)) | |
243 | 243 | then ((height - by) + 1) | |
244 | 244 | else (height - bH) | |
245 | 245 | } | |
246 | 246 | else (bD + 1) | |
247 | 247 | let bI = ((bG + by) - 1) | |
248 | 248 | $Tuple3(bF, bG, bI) | |
249 | 249 | } | |
250 | 250 | else $Tuple3(bz, bC, bD) | |
251 | 251 | let bF = bE._1 | |
252 | 252 | let bG = bE._2 | |
253 | 253 | let bI = bE._3 | |
254 | 254 | $Tuple3(bF, bG, bI) | |
255 | 255 | } | |
256 | 256 | else if (bA) | |
257 | 257 | then { | |
258 | 258 | let bJ = value(getInteger(ao(0))) | |
259 | 259 | let bK = value(getInteger(aq(0))) | |
260 | 260 | let bL = if ((height > bK)) | |
261 | 261 | then { | |
262 | 262 | let bF = (bz + 1) | |
263 | 263 | let bG = (bK + 1) | |
264 | 264 | let bI = ((bG + by) - 1) | |
265 | 265 | $Tuple3(bF, bG, bI) | |
266 | 266 | } | |
267 | 267 | else $Tuple3(bz, bJ, bK) | |
268 | 268 | let bF = bL._1 | |
269 | 269 | let bG = bL._2 | |
270 | 270 | let bI = bL._3 | |
271 | 271 | $Tuple3(bF, bG, bI) | |
272 | 272 | } | |
273 | 273 | else $Tuple3(bz, valueOrElse(getInteger(ao(bz)), height), valueOrElse(getInteger(aq(bz)), ((height + by) - 1))) | |
274 | 274 | let bF = bB._1 | |
275 | 275 | let bG = bB._2 | |
276 | 276 | let bI = bB._3 | |
277 | 277 | let bM = valueOrElse(getInteger(av(K, bF)), bw) | |
278 | 278 | let bN = valueOrElse(getInteger(aw(K, bF, bh)), bx) | |
279 | 279 | let aR = valueOrElse(getInteger(az(bh)), 0) | |
280 | 280 | let bO = min([(bu + aR), bM, bN]) | |
281 | 281 | let bP = value(getInteger(ar())) | |
282 | 282 | let bQ = e | |
283 | 283 | let bR = { | |
284 | 284 | let bS = invoke(addressFromStringValue(value(getString(ax()))), "putOneTknV2WithoutTakeFeeREADONLY", [bQ, K], nil) | |
285 | 285 | if ($isInstanceOf(bS, "(Int, Int, Int)")) | |
286 | 286 | then bS | |
287 | 287 | else throw("Couldn't cast Any to (Int, Int, Int)") | |
288 | 288 | } | |
289 | 289 | if ((bR == bR)) | |
290 | 290 | then { | |
291 | 291 | let bT = bR._3 | |
292 | 292 | let bU = bR._2 | |
293 | 293 | let bV = bR._1 | |
294 | 294 | let bW = value(getString(ay())) | |
295 | 295 | let bX = { | |
296 | 296 | let bS = invoke(addressFromStringValue(value(getString(ax()))), "getOneTknV2READONLY", [bW, bV], nil) | |
297 | 297 | if ($isInstanceOf(bS, "(Int, Int)")) | |
298 | 298 | then bS | |
299 | 299 | else throw("Couldn't cast Any to (Int, Int)") | |
300 | 300 | } | |
301 | 301 | if ((bX == bX)) | |
302 | 302 | then { | |
303 | 303 | let bY = bX._2 | |
304 | 304 | let bZ = bX._1 | |
305 | - | let ca = fraction(bQ, | |
305 | + | let ca = fraction(bQ, e, bZ) | |
306 | 306 | let cb = throw(makeString([toString(bQ), toString(bZ), toString(ca)], c)) | |
307 | 307 | if ((cb == cb)) | |
308 | 308 | then { | |
309 | 309 | let cc = (bI - height) | |
310 | 310 | $Tuple10(bO, bM, bN, bv, bP, ca, cc, bF, bG, bI) | |
311 | 311 | } | |
312 | 312 | else throw("Strict value is not equal to itself.") | |
313 | 313 | } | |
314 | 314 | else throw("Strict value is not equal to itself.") | |
315 | 315 | } | |
316 | 316 | else throw("Strict value is not equal to itself.") | |
317 | 317 | } | |
318 | 318 | ||
319 | 319 | ||
320 | 320 | func cd () = { | |
321 | 321 | let ce = getString(aB()) | |
322 | 322 | if ($isInstanceOf(ce, "String")) | |
323 | 323 | then { | |
324 | 324 | let cf = ce | |
325 | 325 | fromBase58String(cf) | |
326 | 326 | } | |
327 | 327 | else if ($isInstanceOf(ce, "Unit")) | |
328 | 328 | then unit | |
329 | 329 | else throw("Match error") | |
330 | 330 | } | |
331 | 331 | ||
332 | 332 | ||
333 | 333 | func cg () = { | |
334 | 334 | let ce = getString(aC()) | |
335 | 335 | if ($isInstanceOf(ce, "String")) | |
336 | 336 | then { | |
337 | 337 | let cf = ce | |
338 | 338 | fromBase58String(cf) | |
339 | 339 | } | |
340 | 340 | else if ($isInstanceOf(ce, "Unit")) | |
341 | 341 | then unit | |
342 | 342 | else throw("Match error") | |
343 | 343 | } | |
344 | 344 | ||
345 | 345 | ||
346 | 346 | func ch (ci) = { | |
347 | 347 | let cj = throw("Permission denied") | |
348 | 348 | let ce = cd() | |
349 | 349 | if ($isInstanceOf(ce, "ByteVector")) | |
350 | 350 | then { | |
351 | 351 | let ck = ce | |
352 | 352 | if ((ci.callerPublicKey == ck)) | |
353 | 353 | then true | |
354 | 354 | else cj | |
355 | 355 | } | |
356 | 356 | else if ($isInstanceOf(ce, "Unit")) | |
357 | 357 | then if ((ci.caller == this)) | |
358 | 358 | then true | |
359 | 359 | else cj | |
360 | 360 | else throw("Match error") | |
361 | 361 | } | |
362 | 362 | ||
363 | 363 | ||
364 | 364 | @Callable(ci) | |
365 | 365 | func constructor (D,E,F,G,k,K,M) = { | |
366 | 366 | let H = ((100 * 1000) * 1000) | |
367 | 367 | let cl = (D + E) | |
368 | 368 | if (isDefined(getString(ad()))) | |
369 | 369 | then throw("already initialized") | |
370 | 370 | else if (("3PMEHLx1j6zerarZTYfsGqDeeZqQoMpxq5S" != toString(ci.caller))) | |
371 | 371 | then throw("not authorized") | |
372 | 372 | else if ((size(ci.payments) != 1)) | |
373 | 373 | then throw("exactly 1 payment must be attached") | |
374 | 374 | else if ((cl >= F)) | |
375 | 375 | then throw("claimStart must be greater than idoEnd") | |
376 | 376 | else { | |
377 | 377 | let cm = value(ci.payments[0]) | |
378 | 378 | let bf = value(cm.assetId) | |
379 | 379 | let cn = valueOrErrorMessage(assetInfo(bf), "fail to load ido asset info") | |
380 | 380 | let I = toBase58String(bf) | |
381 | 381 | let J = pow(10, 0, cn.decimals, 0, 0, DOWN) | |
382 | 382 | let bg = fromBase58String(K) | |
383 | 383 | let co = valueOrErrorMessage(assetInfo(bg), "fail to load price asset info") | |
384 | 384 | let L = pow(10, 0, co.decimals, 0, 0, DOWN) | |
385 | 385 | let cp = aG() | |
386 | 386 | let cq = [0, 0, 0, 0] | |
387 | 387 | [StringEntry(ad(), O(D, E, F, G, k, H, I, J, K, L, M, cm.amount)), aN(ag(), cp, cq, F, 0)] | |
388 | 388 | } | |
389 | 389 | } | |
390 | 390 | ||
391 | 391 | ||
392 | 392 | ||
393 | 393 | @Callable(ci) | |
394 | 394 | func invest () = { | |
395 | 395 | let aU = aD() | |
396 | 396 | let D = parseIntValue(aU[r]) | |
397 | 397 | let E = parseIntValue(aU[s]) | |
398 | 398 | let cl = (D + E) | |
399 | 399 | let F = parseIntValue(aU[t]) | |
400 | 400 | let G = parseIntValue(aU[u]) | |
401 | 401 | let k = parseIntValue(aU[v]) | |
402 | 402 | let H = parseIntValue(aU[w]) | |
403 | 403 | let I = aU[x] | |
404 | 404 | let bf = fromBase58String(I) | |
405 | 405 | let J = parseIntValue(aU[y]) | |
406 | 406 | let K = aU[z] | |
407 | 407 | let bg = fromBase58String(K) | |
408 | 408 | let L = parseIntValue(aU[A]) | |
409 | 409 | let cr = parseIntValue(aU[B]) | |
410 | 410 | let af = toString(ci.caller) | |
411 | 411 | if ((D > height)) | |
412 | 412 | then throw("ido has not been started yet") | |
413 | 413 | else if ((height > cl)) | |
414 | 414 | then throw("ido has been already ended") | |
415 | 415 | else if ((size(ci.payments) != 1)) | |
416 | 416 | then throw("exactly 1 payment is expected") | |
417 | 417 | else { | |
418 | 418 | let cm = value(ci.payments[0]) | |
419 | 419 | let cs = value(cm.assetId) | |
420 | 420 | let ct = cm.amount | |
421 | 421 | if ((cs != bg)) | |
422 | 422 | then throw((("invalid payment asset id: " + toBase58String(cs)) + " is expected")) | |
423 | 423 | else { | |
424 | 424 | let cu = aH(af) | |
425 | 425 | let cp = aG() | |
426 | 426 | let cv = (parseIntValue(cp[P]) + ct) | |
427 | 427 | let cw = (cv * 100) | |
428 | 428 | if ((cw > assetBalance(this, bf))) | |
429 | 429 | then throw("IDO asset has been - sold consider to use smaller payment") | |
430 | 430 | else { | |
431 | 431 | let cq = [ct, ct, 0, 0] | |
432 | 432 | [aN(ae(af), cu, cq, F, 0), aN(ag(), cp, cq, F, 0), aZ(af, ct, 0, ci.transactionId)] | |
433 | 433 | } | |
434 | 434 | } | |
435 | 435 | } | |
436 | 436 | } | |
437 | 437 | ||
438 | 438 | ||
439 | 439 | ||
440 | 440 | @Callable(ci) | |
441 | 441 | func claim (bd,bh) = { | |
442 | 442 | let cx = toString(ci.caller) | |
443 | 443 | if ((bh != cx)) | |
444 | 444 | then throw("not authorized") | |
445 | 445 | else { | |
446 | 446 | let aU = aD() | |
447 | 447 | let K = aU[z] | |
448 | 448 | let cy = bc(bd, ci.caller, ci.transactionId) | |
449 | 449 | let cq = cy._1 | |
450 | 450 | let bu = cy._2 | |
451 | 451 | let cz = cy._3 | |
452 | 452 | let bi = cy._4 | |
453 | 453 | let bm = cy._5 | |
454 | 454 | let cA = cq[aL] | |
455 | 455 | let cB = cq[aM] | |
456 | 456 | let aR = valueOrElse(getInteger(az(bh)), 0) | |
457 | 457 | let aV = value(assetInfo(fromBase58String(K))).decimals | |
458 | 458 | let cC = if ((bd == K)) | |
459 | 459 | then { | |
460 | 460 | let cD = bt(K, bh, bu, cq[aL]) | |
461 | 461 | let bO = cD._1 | |
462 | 462 | let bM = cD._2 | |
463 | 463 | let bN = cD._3 | |
464 | 464 | let bv = cD._4 | |
465 | 465 | let bP = cD._5 | |
466 | 466 | let ca = cD._6 | |
467 | 467 | let cc = cD._7 | |
468 | 468 | let bF = cD._8 | |
469 | 469 | let bG = cD._9 | |
470 | 470 | let bI = cD._10 | |
471 | 471 | let bs = [if ((bN > 0)) | |
472 | 472 | then true | |
473 | 473 | else f("unavailable to claim because user period allowance reached"), if ((bM > 0)) | |
474 | 474 | then true | |
475 | 475 | else f("unavailable to claim because total period allowance reached"), if ((bO > 0)) | |
476 | 476 | then true | |
477 | 477 | else f("nothing to claim"), if ((bP > ca)) | |
478 | 478 | then true | |
479 | 479 | else f("unavailable to claim because usdn price lower than usdtPriceAssetAllowableRatio")] | |
480 | 480 | if ((bs == bs)) | |
481 | 481 | then { | |
482 | 482 | let cE = (bM - bO) | |
483 | 483 | let cF = (bN - bO) | |
484 | 484 | let cC = if ((aR >= bO)) | |
485 | 485 | then [ScriptTransfer(ci.caller, bO, cz), IntegerEntry(az(bh), (aR - bO))] | |
486 | 486 | else { | |
487 | 487 | let cG = ((aR + bu) - bO) | |
488 | 488 | [ScriptTransfer(ci.caller, bO, cz), aN(ae(bh), bi, cq, bm, 0), aN(ag(), aG(), cq, bm, 0), IntegerEntry(az(bh), cG)] | |
489 | 489 | } | |
490 | 490 | $Tuple2(([IntegerEntry(an(), bF), IntegerEntry(ao(bF), bG), IntegerEntry(aq(bF), bI), IntegerEntry(av(K, bF), cE), IntegerEntry(aw(K, bF, bh), cF), bb(bh, bO, cB, ci.transactionId)] ++ cC), unit) | |
491 | 491 | } | |
492 | 492 | else throw("Strict value is not equal to itself.") | |
493 | 493 | } | |
494 | 494 | else { | |
495 | 495 | let cH = fraction(aR, e, pow(10, 0, aV, 0, 0, DOWN)) | |
496 | 496 | $Tuple2([ScriptTransfer(ci.caller, (bu + cH), cz), IntegerEntry(az(bh), 0), aN(ae(bh), bi, cq, bm, aR), aN(ag(), aG(), cq, bm, aR), bb(bh, cA, (cB + cH), ci.transactionId)], unit) | |
497 | 497 | } | |
498 | 498 | cC | |
499 | 499 | } | |
500 | 500 | } | |
501 | 501 | ||
502 | 502 | ||
503 | 503 | ||
504 | 504 | @Callable(ci) | |
505 | 505 | func claimREADONLY (bd,bh) = { | |
506 | 506 | let cy = bc(bd, addressFromStringValue(bh), fromBase58String("")) | |
507 | 507 | let cq = cy._1 | |
508 | 508 | let bu = cy._2 | |
509 | 509 | let cz = cy._3 | |
510 | 510 | let bi = cy._4 | |
511 | 511 | let bm = cy._5 | |
512 | 512 | let cI = cy._6 | |
513 | 513 | let cJ = cI[0] | |
514 | 514 | let cK = cI[1] | |
515 | 515 | $Tuple2(nil, makeString(["%s%d%d", bh, toString(cJ), toString(cK)], c)) | |
516 | 516 | } | |
517 | 517 | ||
518 | 518 | ||
519 | 519 | ||
520 | 520 | @Callable(ci) | |
521 | 521 | func claimV2READONLY (bd,bh) = { | |
522 | 522 | let cy = bc(bd, addressFromStringValue(bh), fromBase58String("")) | |
523 | 523 | let cq = cy._1 | |
524 | 524 | let bu = cy._2 | |
525 | 525 | let cz = cy._3 | |
526 | 526 | let bi = cy._4 | |
527 | 527 | let bm = cy._5 | |
528 | 528 | let cI = cy._6 | |
529 | 529 | let cJ = cI[0] | |
530 | 530 | let cK = cI[1] | |
531 | 531 | let aU = aD() | |
532 | 532 | let K = aU[z] | |
533 | 533 | let aR = valueOrElse(getInteger(az(bh)), 0) | |
534 | 534 | let cH = (aR * 100) | |
535 | 535 | let cL = (cK + cH) | |
536 | 536 | let cM = bt(K, bh, bu, cq[aL]) | |
537 | 537 | let bO = cM._1 | |
538 | 538 | let bM = cM._2 | |
539 | 539 | let bN = cM._3 | |
540 | 540 | let bv = cM._4 | |
541 | 541 | let bP = cM._5 | |
542 | 542 | let ca = cM._6 | |
543 | 543 | let cc = cM._7 | |
544 | 544 | let bF = cM._8 | |
545 | 545 | let bG = cM._9 | |
546 | 546 | let bI = cM._10 | |
547 | 547 | let cN = valueOrElse(getInteger(aq(bF)), 0) | |
548 | 548 | let cO = (parseIntValue(aI(bh)[R]) - aR) | |
549 | 549 | let cP = if ((height > cN)) | |
550 | 550 | then { | |
551 | 551 | let cQ = value(getInteger(am())) | |
552 | 552 | let cR = value(getInteger(au(K))) | |
553 | 553 | let cS = value(getInteger(as(K))) | |
554 | 554 | makeString(["%d%d%d%d%d%d", toString(cL), toString(cR), toString(cS), toString(bP), toString(ca), toString(cQ), toString(cO)], c) | |
555 | 555 | } | |
556 | 556 | else makeString(["%d%d%d%d%d%d", toString(cL), toString(bO), toString(bM), toString(bP), toString(ca), toString(cc), toString(cO)], c) | |
557 | 557 | $Tuple2(nil, cP) | |
558 | 558 | } | |
559 | 559 | ||
560 | 560 | ||
561 | 561 | ||
562 | 562 | @Callable(ci) | |
563 | 563 | func setManager (cT) = { | |
564 | 564 | let cU = ch(ci) | |
565 | 565 | if ((cU == cU)) | |
566 | 566 | then { | |
567 | 567 | let cV = fromBase58String(cT) | |
568 | 568 | if ((cV == cV)) | |
569 | 569 | then [StringEntry(aC(), cT)] | |
570 | 570 | else throw("Strict value is not equal to itself.") | |
571 | 571 | } | |
572 | 572 | else throw("Strict value is not equal to itself.") | |
573 | 573 | } | |
574 | 574 | ||
575 | 575 | ||
576 | 576 | ||
577 | 577 | @Callable(ci) | |
578 | 578 | func confirmManager () = { | |
579 | 579 | let cW = cg() | |
580 | 580 | let cX = if (isDefined(cW)) | |
581 | 581 | then true | |
582 | 582 | else throw("No pending manager") | |
583 | 583 | if ((cX == cX)) | |
584 | 584 | then { | |
585 | 585 | let cY = if ((ci.callerPublicKey == value(cW))) | |
586 | 586 | then true | |
587 | 587 | else throw("You are not pending manager") | |
588 | 588 | if ((cY == cY)) | |
589 | 589 | then [StringEntry(aB(), toBase58String(value(cW))), DeleteEntry(aC())] | |
590 | 590 | else throw("Strict value is not equal to itself.") | |
591 | 591 | } | |
592 | 592 | else throw("Strict value is not equal to itself.") | |
593 | 593 | } | |
594 | 594 | ||
595 | 595 | ||
596 | 596 | @Verifier(cZ) | |
597 | 597 | func da () = { | |
598 | 598 | let db = { | |
599 | 599 | let ce = cd() | |
600 | 600 | if ($isInstanceOf(ce, "ByteVector")) | |
601 | 601 | then { | |
602 | 602 | let ck = ce | |
603 | 603 | ck | |
604 | 604 | } | |
605 | 605 | else if ($isInstanceOf(ce, "Unit")) | |
606 | 606 | then cZ.senderPublicKey | |
607 | 607 | else throw("Match error") | |
608 | 608 | } | |
609 | 609 | sigVerify(cZ.bodyBytes, cZ.proofs[0], db) | |
610 | 610 | } | |
611 | 611 |
github/deemru/w8io/026f985 70.97 ms ◑