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