tx · 2Y8UoeoSppMRwT3DVT2aFy2n8MS9Px27UVXifkR4gsYG 3MzDGFvPnXVbA4wCacqcVnfVJPwG952KVAg: -0.01400000 Waves 2021.12.22 10:55 [1845199] smart account 3MzDGFvPnXVbA4wCacqcVnfVJPwG952KVAg > SELF 0.00000000 Waves
{ "type": 13, "id": "2Y8UoeoSppMRwT3DVT2aFy2n8MS9Px27UVXifkR4gsYG", "fee": 1400000, "feeAssetId": null, "timestamp": 1640159792453, "version": 2, "chainId": 84, "sender": "3MzDGFvPnXVbA4wCacqcVnfVJPwG952KVAg", "senderPublicKey": "CViCXhHrygDDAtVc1uFczxe6ANj9tBz5PGQDS1yWZqgy", "proofs": [ "4YsgmQsHxevEP9yX1A11MUzEwBfnHMDEgj4qxfJoN9FYxKZLZivFNdnPDrLufipG7nfH17JUxwJ81t1JFKcwRE1o", "34UQqZyPRJgxyKLhw3WvUscVeDV6bSeQ81FMAfeATmP9zLHBodxkrJmUi8ePuaTjkxayZon7RAh4U6fk9HsuGsUA" ], "script": "base64:AAIFAAAAAAAAFIIIAhIECgIBCBIDCgEIEhQKEggBAQgBAQEBAQEBARgEAQEEGBIECgIBCBIECgIBCBIECgIBCBIFCgMBAQgSAwoBARIDCgEBEgQKAgEBEgASABoQCgFBEgtrZXlEdXJhdGlvbhohCgFCEhxrZXlBbW91bnRCdXlBc3NldEluTWFya2V0aW5nGioKAUMSJWtleUFtb3VudEJ1eUFzc2V0SW5NYXJrZXRpbmdGaW5hbGl6ZWQaGAoBRBITa2V5VHJhbnNmZXJCdXlBc3NldBoZCgFFEhRrZXlGcmVlelN3b3BEdXJhdGlvbhodCgFGEhhrZXlGcmVlemVBZGRpdGlvbmFsVG9rZW4aFQoBRxIQa2V5RnJlZXplVG9rZW5JZBobCgFIEhZrZXlGcmVlemVUb2tlbkR1cmF0aW9uGhwKAUkSF2tleUZyZWV6ZVRva2VuUGVyVGlja2V0GhAKAUoSC2tleUJ1eVRva2VuGhMKAUsSDmtleUNsYWltUGF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UAAAACYXMGCQAB9AAAAAMIBQAAAAJkZQAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAmRlAAAABnByb29mcwAAAAAAAAAAAAUAAAACYWkEAAAAAmFuBQAAAAJkZQMJAAABAAAAAgUAAAACYW4CAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAACZGwFAAAAAmFuAwkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBsAAAACBQAAAAJhZAUAAAABZQcFAAAAAmRrBwUAAAACZGdikK9n", "height": 1845199, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6pKcdJdFiJwkFWiJLrW4R2z8BkJUTag7ogm1aFWtXmHS Next: 3cvkTrToEvZvGRr9PsjwQgCDiEBNddD8EnEoPgBoVg4d Diff:
Old | New | Differences | |
---|---|---|---|
125 | 125 | ||
126 | 126 | let aj = 2 | |
127 | 127 | ||
128 | - | let ak = valueOrElse( | |
128 | + | let ak = valueOrElse(getIntegerValue(this, g), -1) | |
129 | 129 | ||
130 | - | let al = valueOrElse(getIntegerValue(this, g), -1) | |
131 | - | ||
132 | - | func am (an) = { | |
133 | - | let ao = getString(ad, an) | |
134 | - | if ($isInstanceOf(ao, "String")) | |
130 | + | func al (am) = { | |
131 | + | let an = getString(ad, am) | |
132 | + | if ($isInstanceOf(an, "String")) | |
135 | 133 | then { | |
136 | - | let | |
137 | - | fromBase58String( | |
134 | + | let ao = an | |
135 | + | fromBase58String(ao) | |
138 | 136 | } | |
139 | 137 | else { | |
140 | - | let | |
138 | + | let ap = an | |
141 | 139 | throw("Admin public key is empty") | |
142 | 140 | } | |
143 | 141 | } | |
144 | 142 | ||
145 | 143 | ||
146 | - | let | |
144 | + | let aq = al(b) | |
147 | 145 | ||
148 | - | let | |
146 | + | let ar = al(c) | |
149 | 147 | ||
150 | - | let | |
148 | + | let as = al(d) | |
151 | 149 | ||
152 | - | func | |
153 | - | let | |
154 | - | if ($isInstanceOf( | |
150 | + | func at (au) = { | |
151 | + | let an = au | |
152 | + | if ($isInstanceOf(an, "ByteVector")) | |
155 | 153 | then { | |
156 | - | let | |
157 | - | let | |
158 | - | let | |
159 | - | $Tuple3( | |
154 | + | let av = an | |
155 | + | let aw = toBase58String(av) | |
156 | + | let ax = valueOrErrorMessage(assetInfo(av), (("Asset " + aw) + " doesn't exist")) | |
157 | + | $Tuple3(aw, ax.name, ax.decimals) | |
160 | 158 | } | |
161 | - | else if ($isInstanceOf( | |
159 | + | else if ($isInstanceOf(an, "Unit")) | |
162 | 160 | then { | |
163 | - | let | |
161 | + | let ay = an | |
164 | 162 | $Tuple3("WAVES", "WAVES", 8) | |
165 | 163 | } | |
166 | 164 | else throw("Match error") | |
167 | 165 | } | |
168 | 166 | ||
169 | 167 | ||
170 | - | func | |
168 | + | func az () = valueOrElse(getInteger(this, f), 1) | |
171 | 169 | ||
172 | 170 | ||
173 | - | func aB () = valueOrElse(getInteger(ag, ((("rpd_balance_" + toBase58String(ah)) + "_") + toString(this))), 0) | |
171 | + | let aA = valueOrElse(getBoolean(this, a), true) | |
172 | + | ||
173 | + | func aB () = if (aA) | |
174 | + | then unit | |
175 | + | else throw("DApp is inactive at this moment") | |
174 | 176 | ||
175 | 177 | ||
176 | - | func aC (aD) = if ((aD == "WAVES")) | |
178 | + | func aC (aD) = if (containsElement([aq, ar, as], aD.callerPublicKey)) | |
179 | + | then unit | |
180 | + | else throw("Only admin can call this function") | |
181 | + | ||
182 | + | ||
183 | + | func aE (aF) = if ((aF == "WAVES")) | |
177 | 184 | then $Tuple4(unit, "WAVES", "WAVES", 8) | |
178 | 185 | else { | |
179 | - | let | |
180 | - | let | |
181 | - | let | |
182 | - | $Tuple4(aw, ax | |
186 | + | let aw = aF | |
187 | + | let av = fromBase58String(aF) | |
188 | + | let ax = valueOrErrorMessage(assetInfo(av), (("Asset " + aw) + " doesn't exist")) | |
189 | + | $Tuple4(av, aw, ax.name, ax.decimals) | |
183 | 190 | } | |
184 | 191 | ||
185 | 192 | ||
186 | - | @Callable(aE) | |
187 | - | func hashingRandom (aF,aG) = if (!(ak)) | |
188 | - | then throw("DApp is inactive at this moment") | |
189 | - | else if (!(containsElement([ar, as, at], aE.callerPublicKey))) | |
190 | - | then throw("Only admin can call this function") | |
191 | - | else [StringEntry((toString(aF) + z), aG)] | |
193 | + | @Callable(aD) | |
194 | + | func hashingRandom (aG,aH) = valueOrElse(aB(), valueOrElse(aC(aD), [StringEntry((toString(aG) + z), aH)])) | |
192 | 195 | ||
193 | 196 | ||
194 | 197 | ||
195 | - | @Callable(aE) | |
196 | - | func claim (aF) = { | |
197 | - | let aH = valueOrElse(getInteger(this, (((toString(aE.caller) + "_") + toString(aF)) + S)), 0) | |
198 | - | let aI = valueOrElse(getInteger(this, (((toString(aE.caller) + "_") + toString(aF)) + V)), 0) | |
199 | - | let aJ = valueOrElse(getInteger(this, (((toString(aE.caller) + "_") + toString(aF)) + Y)), 0) | |
200 | - | let aK = valueOrElse(getBoolean(this, (((toString(aE.caller) + "_") + toString(aF)) + Z)), false) | |
201 | - | let aL = valueOrElse(getInteger(this, (toString(aF) + l)), 0) | |
202 | - | if (!(ak)) | |
203 | - | then throw("DApp is inactive at this moment") | |
204 | - | else if ((aL == 0)) | |
205 | - | then throw("You can't claim because results are not finalized") | |
206 | - | else if (aK) | |
207 | - | then throw("You are already claimed") | |
208 | - | else if (if (if ((aH == 0)) | |
209 | - | then (aJ == 0) | |
198 | + | @Callable(aD) | |
199 | + | func initCaller (aI) = valueOrElse(aB(), valueOrElse(aC(aD), [StringEntry(h, aI)])) | |
200 | + | ||
201 | + | ||
202 | + | ||
203 | + | @Callable(aD) | |
204 | + | func init (aJ,aK,aL,aM,aN,aO,aP,aQ,aR,aS,aT,aU,aV,aW,aX,aY,aZ,ba) = valueOrElse(aB(), if ((toString(aD.caller) != valueOrElse(getString(this, h), ""))) | |
205 | + | then throw("Only project admin can call init function") | |
206 | + | else if ((size(aD.payments) != 1)) | |
207 | + | then throw("One attached payment expected") | |
208 | + | else if ((height > aK)) | |
209 | + | then throw("Start height must be greater than blockchain height") | |
210 | + | else if (if (aZ) | |
211 | + | then (size(ba) != 3) | |
212 | + | else false) | |
213 | + | then throw("Freeze params list must have 3 items") | |
214 | + | else { | |
215 | + | let aG = az() | |
216 | + | let bb = toString(aG) | |
217 | + | let bc = $Tuple2(aD.payments[0].amount, aD.payments[0].assetId) | |
218 | + | let bd = bc._1 | |
219 | + | let be = bc._2 | |
220 | + | let bf = at(be) | |
221 | + | let bg = bf._1 | |
222 | + | let bh = bf._2 | |
223 | + | let bi = bf._3 | |
224 | + | let bj = if (aZ) | |
225 | + | then [BooleanEntry((bb + F), true), StringEntry((bb + G), ba[0]), IntegerEntry((bb + H), parseIntValue(ba[1])), IntegerEntry((bb + I), parseIntValue(ba[2]))] | |
226 | + | else nil | |
227 | + | ([IntegerEntry((bg + "_launchpad"), aG), IntegerEntry(f, (aG + 1)), StringEntry((bb + i), aJ), IntegerEntry((bb + j), height), IntegerEntry((bb + k), aK), IntegerEntry((bb + A), aL), StringEntry((bb + J), aM), IntegerEntry((bb + E), aU), IntegerEntry((bb + o), bd), StringEntry((bb + n), bg), IntegerEntry((bb + m), aN), IntegerEntry((bb + w), 0), IntegerEntry((bb + N), 0), IntegerEntry((bb + q), aO), IntegerEntry((bb + r), aP), IntegerEntry((bb + s), aT), IntegerEntry((bb + t), aQ), IntegerEntry((bb + u), aR), IntegerEntry((bb + v), aS), StringEntry((bb + K), makeString(aV, ",")), BooleanEntry((bb + M), aW), IntegerEntry((bb + L), aX), IntegerEntry((bb + O), aY), IntegerEntry(g, aG), StringEntry(h, "")] ++ bj) | |
228 | + | }) | |
229 | + | ||
230 | + | ||
231 | + | ||
232 | + | @Callable(aD) | |
233 | + | func commitSwopfiSale (aG,bk) = valueOrElse(aB(), { | |
234 | + | let bl = $Tuple2(aD.payments[0].amount, aD.payments[0].assetId) | |
235 | + | let bd = bl._1 | |
236 | + | let be = bl._2 | |
237 | + | let bm = aE(value(getString(this, (toString(aG) + J)))) | |
238 | + | let bn = bm._1 | |
239 | + | let bo = bm._2 | |
240 | + | let bp = bm._3 | |
241 | + | let bq = bm._4 | |
242 | + | let br = valueOrElse(getInteger(ae, (toString(aD.caller) + x)), 0) | |
243 | + | let bs = (br / getIntegerValue(this, (toString(aG) + s))) | |
244 | + | let bt = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + S)), 0) | |
245 | + | let bu = (bs - bt) | |
246 | + | let aK = value(getInteger(this, (toString(aG) + k))) | |
247 | + | let aL = value(getInteger(this, (toString(aG) + A))) | |
248 | + | let aZ = valueOrElse(getBoolean(this, (toString(aG) + F)), false) | |
249 | + | if ((ak != aG)) | |
250 | + | then throw("There is no active launchpad or this launchpad is ended") | |
251 | + | else if ((aK > height)) | |
252 | + | then throw("Launchpad sale not started yet") | |
253 | + | else if ((height > (aK + aL))) | |
254 | + | then throw("Launchpad sale ended") | |
255 | + | else if (if (!(aZ)) | |
256 | + | then if ((size(aD.payments) != 1)) | |
257 | + | then true | |
258 | + | else (be != bn) | |
210 | 259 | else false) | |
211 | - | then (aI == 0) | |
212 | - | else false) | |
213 | - | then throw("You can't claim because you don't buy anything") | |
214 | - | else { | |
215 | - | let aM = aC(value(getString(this, (toString(aF) + J)))) | |
216 | - | let aN = aM._1 | |
217 | - | let aO = aM._2 | |
218 | - | let aP = aM._3 | |
219 | - | let aQ = aM._4 | |
220 | - | let aR = valueOrElse(getInteger(this, (((toString(aE.caller) + "_") + toString(aF)) + aa)), 0) | |
221 | - | let aS = valueOrElse(getInteger(this, (((toString(aE.caller) + "_") + toString(aF)) + ab)), 0) | |
222 | - | let aT = valueOrElse(getInteger(this, (((toString(aE.caller) + "_") + toString(aF)) + W)), 0) | |
223 | - | let aU = getIntegerValue(this, (toString(aF) + m)) | |
224 | - | let aV = min([aJ, aT]) | |
225 | - | let aW = getIntegerValue(this, (toString(aF) + r)) | |
226 | - | let aX = getIntegerValue(this, (toString(aF) + q)) | |
227 | - | let aY = aC(getStringValue(this, (toString(aF) + n))) | |
228 | - | let aZ = aY._1 | |
229 | - | let ba = aY._2 | |
230 | - | let bb = aY._3 | |
231 | - | let bc = aY._4 | |
232 | - | let bd = fraction(aX, aW, pow(10, 0, bc, 0, 0, DOWN)) | |
233 | - | let be = getIntegerValue(this, (toString(aF) + v)) | |
234 | - | let bf = (((aR * aX) + (aV * be)) + (aS * aX)) | |
235 | - | let bg = ((aJ - aV) * be) | |
236 | - | let bh = fraction(fraction(bg, aW, pow(10, 0, bc, 0, 0, DOWN)), (100 + aU), 100) | |
237 | - | let bi = fraction(((aH - aR) * bd), (100 + aU), 100) | |
238 | - | let bj = fraction(((aI - aS) * bd), (100 + aU), 100) | |
239 | - | let bk = valueOrElse(getInteger(this, (((toString(aE.caller) + "_") + toString(aF)) + R)), 0) | |
240 | - | if (if (if ((0 > bh)) | |
260 | + | then throw((("One attached payment in " + bp) + " expected")) | |
261 | + | else if (if (aZ) | |
262 | + | then if ((size(aD.payments) != 2)) | |
241 | 263 | then true | |
242 | - | else (0 > bi)) | |
264 | + | else (be != bn) | |
265 | + | else false) | |
266 | + | then { | |
267 | + | let bv = getStringValue(this, (toString(aG) + G)) | |
268 | + | throw(((("Two attached payments expected: First in " + bp) + ", second in ") + bv)) | |
269 | + | } | |
270 | + | else if (if ((0 >= bs)) | |
243 | 271 | then true | |
244 | - | else (0 > | |
245 | - | then throw(" | |
272 | + | else (0 >= bu)) | |
273 | + | then throw("Not enought SWOP in staking to buy tickets") | |
246 | 274 | else { | |
247 | - | let bl = ((bi + bj) - bk) | |
248 | - | let bm = if ((bl > 0)) | |
249 | - | then [ScriptTransfer(aE.caller, bl, aN), IntegerEntry((((toString(aE.caller) + "_") + toString(aF)) + R), bl)] | |
250 | - | else nil | |
251 | - | let bn = if (if ((bl > 0)) | |
252 | - | then (aN == ah) | |
253 | - | else false) | |
254 | - | then invoke(ag, "unlockNeutrino", [bl, toBase58String(ah)], nil) | |
275 | + | let bw = getIntegerValue(this, (toString(aG) + r)) | |
276 | + | let aO = getIntegerValue(this, (toString(aG) + q)) | |
277 | + | let bx = aE(getStringValue(this, (toString(aG) + n))) | |
278 | + | let by = bx._1 | |
279 | + | let bz = bx._2 | |
280 | + | let bA = bx._3 | |
281 | + | let bB = bx._4 | |
282 | + | let bC = fraction(aO, bw, pow(10, 0, bB, 0, 0, DOWN)) | |
283 | + | let bD = fraction(bC, getIntegerValue(this, (toString(aG) + m)), 100) | |
284 | + | let bE = (bd / (bC + bD)) | |
285 | + | let bF = min([bE, bu]) | |
286 | + | let bG = (bF * (bC + bD)) | |
287 | + | let bH = (bd - bG) | |
288 | + | if ((bE == 0)) | |
289 | + | then throw((("Not enought " + bp) + " to buy tickets")) | |
290 | + | else if ((bH != 0)) | |
291 | + | then throw((((("Wrong payment. To buy " + toString(bF)) + "tickets you need to pay ") + toString(bG)) + bp)) | |
292 | + | else { | |
293 | + | let bj = if (aZ) | |
294 | + | then { | |
295 | + | let bv = getStringValue(this, (toString(aG) + G)) | |
296 | + | let bI = getIntegerValue(this, (toString(aG) + I)) | |
297 | + | let bJ = $Tuple2(aD.payments[1].amount, aD.payments[1].assetId) | |
298 | + | let bK = bJ._1 | |
299 | + | let bL = bJ._2 | |
300 | + | let bM = at(be) | |
301 | + | let bN = bM._1 | |
302 | + | let bO = bM._2 | |
303 | + | let bP = bM._3 | |
304 | + | let bQ = (bI * bE) | |
305 | + | if (if ((bN != bv)) | |
306 | + | then true | |
307 | + | else (bQ != bK)) | |
308 | + | then throw((((("You need to add " + toString(bQ)) + " ") + bO) + " as a second payment")) | |
309 | + | else [IntegerEntry((((toString(aD.caller) + "_") + toString(aG)) + ac), bK)] | |
310 | + | } | |
311 | + | else nil | |
312 | + | let bR = valueOrElse(getString(this, (((toString(aD.caller) + "_") + toString(aG)) + T)), "") | |
313 | + | let bS = getIntegerValue(this, (toString(aG) + w)) | |
314 | + | let bT = ((toString((bS + 1)) + "-") + toString((bS + bF))) | |
315 | + | let bU = (bR + (if ((bR != "")) | |
316 | + | then ("," + bT) | |
317 | + | else ("" + bT))) | |
318 | + | let bV = if ((bn == ah)) | |
319 | + | then invoke(ag, "lockNeutrino", nil, [AttachedPayment(be, bd)]) | |
320 | + | else 0 | |
321 | + | if ((bV == bV)) | |
322 | + | then { | |
323 | + | let bW = ([IntegerEntry((((toString(aD.caller) + "_") + toString(aG)) + S), (bt + bF)), IntegerEntry((toString(aG) + w), (bS + bF)), StringEntry((((toString(aD.caller) + "_") + toString(aG)) + T), bU)] ++ bj) | |
324 | + | if (!(isDefined(getString(this, (((toString(aD.caller) + "_") + toString(aG)) + y))))) | |
325 | + | then (bW ++ [StringEntry((((toString(aD.caller) + "_") + toString(aG)) + y), bk)]) | |
326 | + | else bW | |
327 | + | } | |
328 | + | else throw("Strict value is not equal to itself.") | |
329 | + | } | |
330 | + | } | |
331 | + | }) | |
332 | + | ||
333 | + | ||
334 | + | ||
335 | + | @Callable(aD) | |
336 | + | func commitAccessListSale (aG,bk) = valueOrElse(aB(), { | |
337 | + | let bX = $Tuple2(aD.payments[0].amount, aD.payments[0].assetId) | |
338 | + | let bd = bX._1 | |
339 | + | let be = bX._2 | |
340 | + | let bY = aE(value(getString(this, (toString(aG) + J)))) | |
341 | + | let bn = bY._1 | |
342 | + | let bo = bY._2 | |
343 | + | let bp = bY._3 | |
344 | + | let bq = bY._4 | |
345 | + | let bZ = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + X)), 0) | |
346 | + | let ca = valueOrElse(getInteger(this, (toString(aG) + B)), 0) | |
347 | + | let cb = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + Y)), 0) | |
348 | + | let aN = getIntegerValue(this, (toString(aG) + m)) | |
349 | + | let bw = getIntegerValue(this, (toString(aG) + r)) | |
350 | + | let aS = getIntegerValue(this, (toString(aG) + v)) | |
351 | + | let cc = aE(getStringValue(this, (toString(aG) + n))) | |
352 | + | let by = cc._1 | |
353 | + | let bz = cc._2 | |
354 | + | let bA = cc._3 | |
355 | + | let bB = cc._4 | |
356 | + | let cd = fraction(fraction(bw, aS, pow(10, 0, bB, 0, 0, DOWN)), (100 + aN), 100) | |
357 | + | let aK = value(getInteger(this, (toString(aG) + k))) | |
358 | + | let aL = value(getInteger(this, (toString(aG) + A))) | |
359 | + | if ((ak != aG)) | |
360 | + | then throw("There is no active launchpad or this launchpad is ended") | |
361 | + | else if ((aK > height)) | |
362 | + | then throw("Launchpad sale not started yet") | |
363 | + | else if ((height > (aK + aL))) | |
364 | + | then throw("Launchpad sale ended") | |
365 | + | else if (if ((size(aD.payments) != 1)) | |
366 | + | then true | |
367 | + | else (be != bn)) | |
368 | + | then throw((("One attached payment in " + bp) + " expected")) | |
369 | + | else if ((cb >= aj)) | |
370 | + | then throw((("You can buy only " + toString(aj)) + "allocations")) | |
371 | + | else if (if ((cd != bd)) | |
372 | + | then ((cd * 2) != bd) | |
373 | + | else false) | |
374 | + | then throw(((("Wrong payment. You can buy 1 or 2 allocations for " + toString(cd)) + bp) + " per allocation")) | |
375 | + | else { | |
376 | + | let ce = (bd / cd) | |
377 | + | let bV = if ((bn == ah)) | |
378 | + | then invoke(ag, "lockNeutrino", nil, [AttachedPayment(be, bd)]) | |
255 | 379 | else 0 | |
256 | - | if (( | |
380 | + | if ((bV == bV)) | |
257 | 381 | then { | |
258 | - | let bo = split(valueOrElse(getString(this, (toString(aF) + K)), ""), ",") | |
259 | - | if (if ((size(bo) == 0)) | |
260 | - | then true | |
261 | - | else (bo[0] == "claimAll")) | |
262 | - | then { | |
263 | - | let bp = if ((bf > 0)) | |
264 | - | then [ScriptTransfer(aE.caller, bf, aZ)] | |
265 | - | else nil | |
266 | - | (([BooleanEntry((((toString(aE.caller) + "_") + toString(aF)) + Z), true), IntegerEntry((((toString(aE.caller) + "_") + toString(aF)) + Q), bf)] ++ bp) ++ bm) | |
267 | - | } | |
268 | - | else if ((bo[0] == "claimPeriod")) | |
269 | - | then { | |
270 | - | let bq = valueOrElse(getInteger(this, (((toString(aE.caller) + "_") + toString(aF)) + Q)), 0) | |
271 | - | let br = value(parseInt(bo[1])) | |
272 | - | let bs = value(parseInt(bo[2])) | |
273 | - | let bt = (value(parseInt(bo[3])) + aL) | |
274 | - | let bu = ((bs + aL) + bt) | |
275 | - | let bv = (fraction(bf, value(parseInt(bo[1])), 100) + (if ((height > bt)) | |
276 | - | then fraction(bf, (height - bt), bs) | |
277 | - | else (0 - bq))) | |
278 | - | let bw = if ((bf >= (bq + bv))) | |
279 | - | then [BooleanEntry((((toString(aE.caller) + "_") + toString(aF)) + Z), true)] | |
280 | - | else nil | |
281 | - | if (if ((bv > 0)) | |
282 | - | then true | |
283 | - | else (bl > 0)) | |
284 | - | then { | |
285 | - | let bp = if ((bv > 0)) | |
286 | - | then [IntegerEntry((((toString(aE.caller) + "_") + toString(aF)) + Q), (bq + bv)), ScriptTransfer(aE.caller, bv, aZ)] | |
287 | - | else nil | |
288 | - | (bm ++ bp) | |
289 | - | } | |
290 | - | else throw("Nothing to claim") | |
291 | - | } | |
292 | - | else throw("Error whith claim params: unknown function") | |
382 | + | let bW = [IntegerEntry((((toString(aD.caller) + "_") + toString(aG)) + Y), (cb + ce)), IntegerEntry((((toString(aD.caller) + "_") + toString(aG)) + X), (bZ + bd)), IntegerEntry((toString(aG) + B), (ca + bd))] | |
383 | + | if (!(isDefined(getString(this, (((toString(aD.caller) + "_") + toString(aG)) + y))))) | |
384 | + | then (bW ++ [StringEntry((((toString(aD.caller) + "_") + toString(aG)) + y), bk)]) | |
385 | + | else bW | |
293 | 386 | } | |
294 | 387 | else throw("Strict value is not equal to itself.") | |
295 | 388 | } | |
296 | - | } | |
297 | - | } | |
389 | + | }) | |
298 | 390 | ||
299 | 391 | ||
300 | 392 | ||
301 | - | @Callable(aE) | |
302 | - | func claimFreezeToken (aF) = { | |
303 | - | let bx = valueOrElse(getBoolean(this, (toString(aF) + F)), false) | |
304 | - | if (!(ak)) | |
305 | - | then throw("DApp is inactive at this moment") | |
306 | - | else if (!(isDefined(getInteger(this, (toString(aF) + l))))) | |
307 | - | then throw("You can't claim because results are not finalized") | |
308 | - | else if (!(bx)) | |
309 | - | then throw("There are no additional token freezing for this launchpad") | |
310 | - | else { | |
311 | - | let aZ = fromBase58String(getStringValue(this, (toString(aF) + G))) | |
312 | - | let by = valueOrElse(getInteger(this, (((toString(aE.caller) + "_") + toString(aF)) + ac)), 0) | |
313 | - | let bz = valueOrElse(getInteger(this, (toString(aF) + k)), 0) | |
314 | - | let bA = valueOrElse(getInteger(this, (toString(aF) + A)), 0) | |
315 | - | let bB = getIntegerValue(this, (toString(aF) + H)) | |
316 | - | let bC = ((bz + bA) + bB) | |
317 | - | if ((by == 0)) | |
318 | - | then throw("You are already claimed your tokens or not paid anything") | |
319 | - | else if ((bC > height)) | |
320 | - | then throw(("Your tokens freezed teel " + toString(bC))) | |
321 | - | else [ScriptTransfer(aE.caller, by, aZ), IntegerEntry((((toString(aE.caller) + "_") + toString(aF)) + ac), 0)] | |
322 | - | } | |
323 | - | } | |
393 | + | @Callable(aD) | |
394 | + | func commitHighCompetitionSale (aG,bk) = valueOrElse(aB(), { | |
395 | + | let cf = $Tuple2(aD.payments[0].amount, aD.payments[0].assetId) | |
396 | + | let bd = cf._1 | |
397 | + | let be = cf._2 | |
398 | + | let cg = aE(value(getString(this, (toString(aG) + J)))) | |
399 | + | let bn = cg._1 | |
400 | + | let bo = cg._2 | |
401 | + | let bp = cg._3 | |
402 | + | let bq = cg._4 | |
403 | + | let aK = value(getInteger(this, (toString(aG) + k))) | |
404 | + | let aL = value(getInteger(this, (toString(aG) + A))) | |
405 | + | let ch = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + V)), 0) | |
406 | + | let ci = valueOrElse(getBoolean(this, (toString(aG) + M)), false) | |
407 | + | if ((ak != aG)) | |
408 | + | then throw("There is no active launchpad or this launchpad is ended") | |
409 | + | else if (!(ci)) | |
410 | + | then throw("There is no high competition sale for this launchpad") | |
411 | + | else if ((aK > height)) | |
412 | + | then throw("Launchpad sale not started yet") | |
413 | + | else if ((height > (aK + aL))) | |
414 | + | then throw("Launchpad sale ended") | |
415 | + | else if (if ((size(aD.payments) != 1)) | |
416 | + | then true | |
417 | + | else (be != bn)) | |
418 | + | then throw((("One attached payment in " + bp) + " expected")) | |
419 | + | else { | |
420 | + | let bw = getIntegerValue(this, (toString(aG) + r)) | |
421 | + | let aO = getIntegerValue(this, (toString(aG) + q)) | |
422 | + | let cj = aE(getStringValue(this, (toString(aG) + n))) | |
423 | + | let by = cj._1 | |
424 | + | let bz = cj._2 | |
425 | + | let bA = cj._3 | |
426 | + | let bB = cj._4 | |
427 | + | let bC = fraction(aO, bw, pow(10, 0, bB, 0, 0, DOWN)) | |
428 | + | let bD = fraction(bC, getIntegerValue(this, (toString(aG) + L)), 100) | |
429 | + | let bE = (bd / (bC + bD)) | |
430 | + | let ck = (bE * (bC + bD)) | |
431 | + | let bH = (bd - ck) | |
432 | + | if ((bE == 0)) | |
433 | + | then throw((("Not enought " + bp) + " to buy tickets")) | |
434 | + | else if ((bH != 0)) | |
435 | + | then throw((((("Wrong payment. To buy " + toString(bE)) + "tickets you need to pay ") + toString(ck)) + bp)) | |
436 | + | else { | |
437 | + | let bR = valueOrElse(getString(this, (((toString(aD.caller) + "_") + toString(aG)) + U)), "") | |
438 | + | let bS = getIntegerValue(this, (toString(aG) + N)) | |
439 | + | let bT = ((toString((bS + 1)) + "-") + toString((bS + bE))) | |
440 | + | let bU = (bR + (if ((bR != "")) | |
441 | + | then ("," + bT) | |
442 | + | else ("" + bT))) | |
443 | + | let bV = if ((bn == ah)) | |
444 | + | then invoke(ag, "lockNeutrino", nil, [AttachedPayment(be, bd)]) | |
445 | + | else 0 | |
446 | + | if ((bV == bV)) | |
447 | + | then { | |
448 | + | let bW = [IntegerEntry((((toString(aD.caller) + "_") + toString(aG)) + V), (ch + bE)), IntegerEntry((toString(aG) + N), (bS + bE)), StringEntry((((toString(aD.caller) + "_") + toString(aG)) + U), bU)] | |
449 | + | if (!(isDefined(getString(this, (((toString(aD.caller) + "_") + toString(aG)) + y))))) | |
450 | + | then (bW ++ [StringEntry((((toString(aD.caller) + "_") + toString(aG)) + y), bk)]) | |
451 | + | else bW | |
452 | + | } | |
453 | + | else throw("Strict value is not equal to itself.") | |
454 | + | } | |
455 | + | } | |
456 | + | }) | |
324 | 457 | ||
325 | 458 | ||
326 | 459 | ||
327 | - | @Callable(aE) | |
328 | - | func transferBuyAsset (aF,bD) = if (!(ak)) | |
329 | - | then throw("DApp is inactive") | |
330 | - | else if (!(containsElement([ar, as, at], aE.callerPublicKey))) | |
331 | - | then throw("Only admin can call this function") | |
460 | + | @Callable(aD) | |
461 | + | func finalise (aG,cl,cm) = valueOrElse(aB(), valueOrElse(aC(aD), { | |
462 | + | let cn = getStringValue(this, (toString(aG) + z)) | |
463 | + | let co = toBase58String(sha256((toBytes(cl) + toBytes(cm)))) | |
464 | + | if ((co != cn)) | |
465 | + | then throw("vrf Height hash not matching") | |
332 | 466 | else { | |
333 | - | let bE = addressFromStringValue(getStringValue(this, (toString(aF) + i))) | |
334 | - | let bF = aC(value(getString(this, (toString(aF) + J)))) | |
335 | - | let aN = bF._1 | |
336 | - | let aO = bF._2 | |
337 | - | let aP = bF._3 | |
338 | - | let aQ = bF._4 | |
339 | - | [IntegerEntry((toString(aF) + D), bD), ScriptTransfer(bE, bD, aN)] | |
467 | + | let cp = aE(value(getString(this, (toString(aG) + J)))) | |
468 | + | let bn = cp._1 | |
469 | + | let bo = cp._2 | |
470 | + | let bp = cp._3 | |
471 | + | let bq = cp._4 | |
472 | + | let aJ = addressFromStringValue(getStringValue(this, (toString(aG) + i))) | |
473 | + | let aN = getIntegerValue(this, (toString(aG) + m)) | |
474 | + | let cq = getIntegerValue(this, (toString(aG) + L)) | |
475 | + | let cr = valueOrElse(getInteger(this, (toString(aG) + D)), 0) | |
476 | + | let cs = getIntegerValue(this, (toString(aG) + p)) | |
477 | + | let ct = valueOrElse(getIntegerValue(this, (toString(aG) + P)), 0) | |
478 | + | let cu = fraction(cs, aN, 100) | |
479 | + | let cv = fraction(ct, cq, 100) | |
480 | + | let cw = getIntegerValue(this, (toString(aG) + C)) | |
481 | + | let cx = fraction(cw, aN, 100) | |
482 | + | let cy = (((((cs + cw) + cu) + cx) + ct) + cv) | |
483 | + | if ((cr > (cs + cw))) | |
484 | + | then throw("Can't transfer negative value to project") | |
485 | + | else { | |
486 | + | let bV = if ((bn == ah)) | |
487 | + | then invoke(ag, "unlockNeutrino", [cy, toBase58String(ah)], nil) | |
488 | + | else 0 | |
489 | + | if ((bV == bV)) | |
490 | + | then [IntegerEntry((toString(aG) + l), height), ScriptTransfer(aJ, ((cs + cw) - cr), bn), ScriptTransfer(af, ((cu + cx) + cv), bn)] | |
491 | + | else throw("Strict value is not equal to itself.") | |
492 | + | } | |
340 | 493 | } | |
494 | + | })) | |
341 | 495 | ||
342 | 496 | ||
343 | 497 | ||
344 | - | @Callable(aE) | |
345 | - | func shutdown () = if (!(ak)) | |
346 | - | then throw("DApp already inactive") | |
347 | - | else if (!(containsElement([ar, as, at], aE.callerPublicKey))) | |
348 | - | then throw("Only admin can call this function") | |
349 | - | else [BooleanEntry(a, false)] | |
498 | + | @Callable(aD) | |
499 | + | func claim (aG) = valueOrElse(aB(), { | |
500 | + | let cz = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + S)), 0) | |
501 | + | let cA = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + V)), 0) | |
502 | + | let cb = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + Y)), 0) | |
503 | + | let cB = valueOrElse(getBoolean(this, (((toString(aD.caller) + "_") + toString(aG)) + Z)), false) | |
504 | + | let cC = valueOrElse(getInteger(this, (toString(aG) + l)), 0) | |
505 | + | if ((cC == 0)) | |
506 | + | then throw("You can't claim because results are not finalized") | |
507 | + | else if (cB) | |
508 | + | then throw("You are already claimed") | |
509 | + | else if (if (if ((cz == 0)) | |
510 | + | then (cb == 0) | |
511 | + | else false) | |
512 | + | then (cA == 0) | |
513 | + | else false) | |
514 | + | then throw("You can't claim because you don't buy anything") | |
515 | + | else { | |
516 | + | let cD = aE(value(getString(this, (toString(aG) + J)))) | |
517 | + | let bn = cD._1 | |
518 | + | let bo = cD._2 | |
519 | + | let bp = cD._3 | |
520 | + | let bq = cD._4 | |
521 | + | let cE = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + aa)), 0) | |
522 | + | let cF = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + ab)), 0) | |
523 | + | let cG = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + W)), 0) | |
524 | + | let aN = getIntegerValue(this, (toString(aG) + m)) | |
525 | + | let cq = getIntegerValue(this, (toString(aG) + L)) | |
526 | + | let cH = min([cb, cG]) | |
527 | + | let bw = getIntegerValue(this, (toString(aG) + r)) | |
528 | + | let aO = getIntegerValue(this, (toString(aG) + q)) | |
529 | + | let cI = aE(getStringValue(this, (toString(aG) + n))) | |
530 | + | let by = cI._1 | |
531 | + | let bz = cI._2 | |
532 | + | let bA = cI._3 | |
533 | + | let bB = cI._4 | |
534 | + | let bC = fraction(aO, bw, pow(10, 0, bB, 0, 0, DOWN)) | |
535 | + | let aS = getIntegerValue(this, (toString(aG) + v)) | |
536 | + | let cJ = (((cE * aO) + (cH * aS)) + (cF * aO)) | |
537 | + | let cK = ((cb - cH) * aS) | |
538 | + | let cL = fraction(fraction(cK, bw, pow(10, 0, bB, 0, 0, DOWN)), (100 + aN), 100) | |
539 | + | let cM = fraction(((cz - cE) * bC), (100 + aN), 100) | |
540 | + | let cN = fraction(((cA - cF) * bC), (100 + cq), 100) | |
541 | + | let cO = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + R)), 0) | |
542 | + | if (if (if ((0 > cL)) | |
543 | + | then true | |
544 | + | else (0 > cM)) | |
545 | + | then true | |
546 | + | else (0 > cN)) | |
547 | + | then throw("Error with allowed allocation param or wonned tickets param please contact support") | |
548 | + | else { | |
549 | + | let cP = (((cM + cN) + cL) - cO) | |
550 | + | let cQ = if ((cP > 0)) | |
551 | + | then [ScriptTransfer(aD.caller, cP, bn), IntegerEntry((((toString(aD.caller) + "_") + toString(aG)) + R), cP)] | |
552 | + | else nil | |
553 | + | let bV = if (if ((cP > 0)) | |
554 | + | then (bn == ah) | |
555 | + | else false) | |
556 | + | then invoke(ag, "unlockNeutrino", [cP, toBase58String(ah)], nil) | |
557 | + | else 0 | |
558 | + | if ((bV == bV)) | |
559 | + | then { | |
560 | + | let cR = split(valueOrElse(getString(this, (toString(aG) + K)), ""), ",") | |
561 | + | if (if ((size(cR) == 0)) | |
562 | + | then true | |
563 | + | else (cR[0] == "claimAll")) | |
564 | + | then { | |
565 | + | let cS = if ((cJ > 0)) | |
566 | + | then [ScriptTransfer(aD.caller, cJ, by)] | |
567 | + | else nil | |
568 | + | (([BooleanEntry((((toString(aD.caller) + "_") + toString(aG)) + Z), true), IntegerEntry((((toString(aD.caller) + "_") + toString(aG)) + Q), cJ)] ++ cS) ++ cQ) | |
569 | + | } | |
570 | + | else if ((cR[0] == "claimPeriod")) | |
571 | + | then { | |
572 | + | let cT = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + Q)), 0) | |
573 | + | let cU = value(parseInt(cR[2])) | |
574 | + | let cV = (value(parseInt(cR[3])) + cC) | |
575 | + | let cW = ((cU + cC) + cV) | |
576 | + | let cX = (fraction(cJ, value(parseInt(cR[1])), 100) + (if ((height > cV)) | |
577 | + | then fraction(cJ, (height - cV), cU) | |
578 | + | else (0 - cT))) | |
579 | + | let cY = if ((cJ >= (cT + cX))) | |
580 | + | then [BooleanEntry((((toString(aD.caller) + "_") + toString(aG)) + Z), true)] | |
581 | + | else nil | |
582 | + | if (if ((cX > 0)) | |
583 | + | then true | |
584 | + | else (cP > 0)) | |
585 | + | then { | |
586 | + | let cS = if ((cX > 0)) | |
587 | + | then [IntegerEntry((((toString(aD.caller) + "_") + toString(aG)) + Q), (cT + cX)), ScriptTransfer(aD.caller, cX, by)] | |
588 | + | else nil | |
589 | + | (cQ ++ cS) | |
590 | + | } | |
591 | + | else throw("Nothing to claim") | |
592 | + | } | |
593 | + | else throw("Unknown claim function") | |
594 | + | } | |
595 | + | else throw("Strict value is not equal to itself.") | |
596 | + | } | |
597 | + | } | |
598 | + | }) | |
350 | 599 | ||
351 | 600 | ||
352 | 601 | ||
353 | - | @Callable(aE) | |
354 | - | func activate () = if (ak) | |
355 | - | then throw("DApp already active") | |
356 | - | else if (!(containsElement([ar, as, at], aE.callerPublicKey))) | |
357 | - | then throw("Only admin can call this function") | |
358 | - | else [BooleanEntry(a, true)] | |
602 | + | @Callable(aD) | |
603 | + | func claimFreezeToken (aG) = valueOrElse(aB(), { | |
604 | + | let aZ = valueOrElse(getBoolean(this, (toString(aG) + F)), false) | |
605 | + | if (!(isDefined(getInteger(this, (toString(aG) + l))))) | |
606 | + | then throw("You can't claim because results are not finalized") | |
607 | + | else if (!(aZ)) | |
608 | + | then throw("There are no additional token freezing for this launchpad") | |
609 | + | else { | |
610 | + | let by = fromBase58String(getStringValue(this, (toString(aG) + G))) | |
611 | + | let cZ = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + ac)), 0) | |
612 | + | let aK = valueOrElse(getInteger(this, (toString(aG) + k)), 0) | |
613 | + | let aL = valueOrElse(getInteger(this, (toString(aG) + A)), 0) | |
614 | + | let da = getIntegerValue(this, (toString(aG) + H)) | |
615 | + | let db = ((aK + aL) + da) | |
616 | + | if ((cZ == 0)) | |
617 | + | then throw("You are already claimed your tokens or not paid anything") | |
618 | + | else if ((db > height)) | |
619 | + | then throw(("Your tokens freezed teel " + toString(db))) | |
620 | + | else [ScriptTransfer(aD.caller, cZ, by), IntegerEntry((((toString(aD.caller) + "_") + toString(aG)) + ac), 0)] | |
621 | + | } | |
622 | + | }) | |
359 | 623 | ||
360 | 624 | ||
361 | - | @Verifier(bG) | |
362 | - | func bH () = { | |
363 | - | let bI = { | |
364 | - | let bJ = if (sigVerify(bG.bodyBytes, bG.proofs[0], ar)) | |
625 | + | ||
626 | + | @Callable(aD) | |
627 | + | func transferBuyAsset (aG,dc) = valueOrElse(aB(), valueOrElse(aC(aD), { | |
628 | + | let aJ = addressFromStringValue(getStringValue(this, (toString(aG) + i))) | |
629 | + | let dd = aE(value(getString(this, (toString(aG) + J)))) | |
630 | + | let bn = dd._1 | |
631 | + | let bo = dd._2 | |
632 | + | let bp = dd._3 | |
633 | + | let bq = dd._4 | |
634 | + | [IntegerEntry((toString(aG) + D), dc), ScriptTransfer(aJ, dc, bn)] | |
635 | + | })) | |
636 | + | ||
637 | + | ||
638 | + | ||
639 | + | @Callable(aD) | |
640 | + | func shutdown () = valueOrElse(aC(aD), if (!(aA)) | |
641 | + | then throw("DApp already inactive") | |
642 | + | else [BooleanEntry(a, false)]) | |
643 | + | ||
644 | + | ||
645 | + | ||
646 | + | @Callable(aD) | |
647 | + | func activate () = valueOrElse(aC(aD), if (aA) | |
648 | + | then throw("DApp already active") | |
649 | + | else [BooleanEntry(a, true)]) | |
650 | + | ||
651 | + | ||
652 | + | @Verifier(de) | |
653 | + | func df () = { | |
654 | + | let dg = { | |
655 | + | let dh = if (sigVerify(de.bodyBytes, de.proofs[0], aq)) | |
365 | 656 | then 1 | |
366 | 657 | else 0 | |
367 | - | let | |
658 | + | let di = if (sigVerify(de.bodyBytes, de.proofs[1], ar)) | |
368 | 659 | then 1 | |
369 | 660 | else 0 | |
370 | - | let | |
661 | + | let dj = if (sigVerify(de.bodyBytes, de.proofs[2], as)) | |
371 | 662 | then 1 | |
372 | 663 | else 0 | |
373 | - | ((( | |
664 | + | (((dh + di) + dj) >= 2) | |
374 | 665 | } | |
375 | - | let | |
666 | + | let dk = if (if (if (sigVerify(de.bodyBytes, de.proofs[0], aq)) | |
376 | 667 | then true | |
377 | - | else sigVerify( | |
668 | + | else sigVerify(de.bodyBytes, de.proofs[0], ar)) | |
378 | 669 | then true | |
379 | - | else sigVerify( | |
670 | + | else sigVerify(de.bodyBytes, de.proofs[0], as)) | |
380 | 671 | then true | |
381 | - | else sigVerify( | |
382 | - | let | |
383 | - | if ($isInstanceOf( | |
672 | + | else sigVerify(de.bodyBytes, de.proofs[0], ai) | |
673 | + | let an = de | |
674 | + | if ($isInstanceOf(an, "DataTransaction")) | |
384 | 675 | then { | |
385 | - | let | |
676 | + | let dl = an | |
386 | 677 | if (valueOrElse(getBoolean(ad, e), false)) | |
387 | - | then | |
678 | + | then dk | |
388 | 679 | else false | |
389 | 680 | } | |
390 | - | else | |
681 | + | else dg | |
391 | 682 | } | |
392 | 683 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "active" | |
5 | 5 | ||
6 | 6 | let b = "admin_pub_1" | |
7 | 7 | ||
8 | 8 | let c = "admin_pub_2" | |
9 | 9 | ||
10 | 10 | let d = "admin_pub_3" | |
11 | 11 | ||
12 | 12 | let e = "launchpad_data_transaction_status" | |
13 | 13 | ||
14 | 14 | let f = "launchpad_next_id" | |
15 | 15 | ||
16 | 16 | let g = "launchpad_active_id" | |
17 | 17 | ||
18 | 18 | let h = "init_caller" | |
19 | 19 | ||
20 | 20 | let i = "_address" | |
21 | 21 | ||
22 | 22 | let j = "_init_height" | |
23 | 23 | ||
24 | 24 | let k = "_start_height" | |
25 | 25 | ||
26 | 26 | let l = "_finalise_height" | |
27 | 27 | ||
28 | 28 | let m = "_comission" | |
29 | 29 | ||
30 | 30 | let n = "_asset_id" | |
31 | 31 | ||
32 | 32 | let o = "_total_token_amount" | |
33 | 33 | ||
34 | 34 | let p = "_total_buy_asset_sold" | |
35 | 35 | ||
36 | 36 | let q = "_tokens_per_ticket" | |
37 | 37 | ||
38 | 38 | let r = "_price_per_token" | |
39 | 39 | ||
40 | 40 | let s = "_swop_per_ticket" | |
41 | 41 | ||
42 | 42 | let t = "_tickets_swopfi_members" | |
43 | 43 | ||
44 | 44 | let u = "_tokens_access_list" | |
45 | 45 | ||
46 | 46 | let v = "_tokens_per_allocation" | |
47 | 47 | ||
48 | 48 | let w = "_ticket_last_number" | |
49 | 49 | ||
50 | 50 | let x = "_SWOP_amount" | |
51 | 51 | ||
52 | 52 | let y = "_ref_id" | |
53 | 53 | ||
54 | 54 | let z = "_verify_hash" | |
55 | 55 | ||
56 | 56 | let A = "_duration" | |
57 | 57 | ||
58 | 58 | let B = "_total_purchased_buy_asset_in_marketing" | |
59 | 59 | ||
60 | 60 | let C = "_total_purchased_buy_asset_in_marketing_finalized" | |
61 | 61 | ||
62 | 62 | let D = "_transfer_buy_asset" | |
63 | 63 | ||
64 | 64 | let E = "_freeze_swop_duration" | |
65 | 65 | ||
66 | 66 | let F = "_freeze_additional_token" | |
67 | 67 | ||
68 | 68 | let G = "_freeze_token_id" | |
69 | 69 | ||
70 | 70 | let H = "_freeze_token_duration" | |
71 | 71 | ||
72 | 72 | let I = "_freeze_token_per_ticket" | |
73 | 73 | ||
74 | 74 | let J = "_buy_token" | |
75 | 75 | ||
76 | 76 | let K = "_claim_params" | |
77 | 77 | ||
78 | 78 | let L = "_high_competition_comission" | |
79 | 79 | ||
80 | 80 | let M = "_high_competition_sale" | |
81 | 81 | ||
82 | 82 | let N = "_high_competition_ticket_last_number" | |
83 | 83 | ||
84 | 84 | let O = "_tickets_high_competition" | |
85 | 85 | ||
86 | 86 | let P = "_total_buy_asset_sold_high_competition" | |
87 | 87 | ||
88 | 88 | let Q = "_claimed_tokens" | |
89 | 89 | ||
90 | 90 | let R = "_claimed_buy_tokens" | |
91 | 91 | ||
92 | 92 | let S = "_bought_tickets" | |
93 | 93 | ||
94 | 94 | let T = "_tickets_number" | |
95 | 95 | ||
96 | 96 | let U = "_tickets_number_high_competition" | |
97 | 97 | ||
98 | 98 | let V = "_bought_tickets_high_competition" | |
99 | 99 | ||
100 | 100 | let W = "_available_purchase_marketing" | |
101 | 101 | ||
102 | 102 | let X = "_purchased_buy_asset_in_marketing" | |
103 | 103 | ||
104 | 104 | let Y = "_bought_allocations" | |
105 | 105 | ||
106 | 106 | let Z = "_claim_status" | |
107 | 107 | ||
108 | 108 | let aa = "_tickets_result" | |
109 | 109 | ||
110 | 110 | let ab = "_tickets_result_high_competition" | |
111 | 111 | ||
112 | 112 | let ac = "_freeze_token_amount" | |
113 | 113 | ||
114 | 114 | let ad = Address(base58'3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9') | |
115 | 115 | ||
116 | 116 | let ae = Address(base58'3N5W8da2iiijVieA6qLGo7KzCJj8B19smWU') | |
117 | 117 | ||
118 | 118 | let af = Address(base58'3N2hBdeDEs7wCNA9EY8qv3B6drjgKD64xQG') | |
119 | 119 | ||
120 | 120 | let ag = Address(base58'3N6q7sCGSSLBUXDdjBdYGTJbZGZfhhh8cNg') | |
121 | 121 | ||
122 | 122 | let ah = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS' | |
123 | 123 | ||
124 | 124 | let ai = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
125 | 125 | ||
126 | 126 | let aj = 2 | |
127 | 127 | ||
128 | - | let ak = valueOrElse( | |
128 | + | let ak = valueOrElse(getIntegerValue(this, g), -1) | |
129 | 129 | ||
130 | - | let al = valueOrElse(getIntegerValue(this, g), -1) | |
131 | - | ||
132 | - | func am (an) = { | |
133 | - | let ao = getString(ad, an) | |
134 | - | if ($isInstanceOf(ao, "String")) | |
130 | + | func al (am) = { | |
131 | + | let an = getString(ad, am) | |
132 | + | if ($isInstanceOf(an, "String")) | |
135 | 133 | then { | |
136 | - | let | |
137 | - | fromBase58String( | |
134 | + | let ao = an | |
135 | + | fromBase58String(ao) | |
138 | 136 | } | |
139 | 137 | else { | |
140 | - | let | |
138 | + | let ap = an | |
141 | 139 | throw("Admin public key is empty") | |
142 | 140 | } | |
143 | 141 | } | |
144 | 142 | ||
145 | 143 | ||
146 | - | let | |
144 | + | let aq = al(b) | |
147 | 145 | ||
148 | - | let | |
146 | + | let ar = al(c) | |
149 | 147 | ||
150 | - | let | |
148 | + | let as = al(d) | |
151 | 149 | ||
152 | - | func | |
153 | - | let | |
154 | - | if ($isInstanceOf( | |
150 | + | func at (au) = { | |
151 | + | let an = au | |
152 | + | if ($isInstanceOf(an, "ByteVector")) | |
155 | 153 | then { | |
156 | - | let | |
157 | - | let | |
158 | - | let | |
159 | - | $Tuple3( | |
154 | + | let av = an | |
155 | + | let aw = toBase58String(av) | |
156 | + | let ax = valueOrErrorMessage(assetInfo(av), (("Asset " + aw) + " doesn't exist")) | |
157 | + | $Tuple3(aw, ax.name, ax.decimals) | |
160 | 158 | } | |
161 | - | else if ($isInstanceOf( | |
159 | + | else if ($isInstanceOf(an, "Unit")) | |
162 | 160 | then { | |
163 | - | let | |
161 | + | let ay = an | |
164 | 162 | $Tuple3("WAVES", "WAVES", 8) | |
165 | 163 | } | |
166 | 164 | else throw("Match error") | |
167 | 165 | } | |
168 | 166 | ||
169 | 167 | ||
170 | - | func | |
168 | + | func az () = valueOrElse(getInteger(this, f), 1) | |
171 | 169 | ||
172 | 170 | ||
173 | - | func aB () = valueOrElse(getInteger(ag, ((("rpd_balance_" + toBase58String(ah)) + "_") + toString(this))), 0) | |
171 | + | let aA = valueOrElse(getBoolean(this, a), true) | |
172 | + | ||
173 | + | func aB () = if (aA) | |
174 | + | then unit | |
175 | + | else throw("DApp is inactive at this moment") | |
174 | 176 | ||
175 | 177 | ||
176 | - | func aC (aD) = if ((aD == "WAVES")) | |
178 | + | func aC (aD) = if (containsElement([aq, ar, as], aD.callerPublicKey)) | |
179 | + | then unit | |
180 | + | else throw("Only admin can call this function") | |
181 | + | ||
182 | + | ||
183 | + | func aE (aF) = if ((aF == "WAVES")) | |
177 | 184 | then $Tuple4(unit, "WAVES", "WAVES", 8) | |
178 | 185 | else { | |
179 | - | let | |
180 | - | let | |
181 | - | let | |
182 | - | $Tuple4(aw, ax | |
186 | + | let aw = aF | |
187 | + | let av = fromBase58String(aF) | |
188 | + | let ax = valueOrErrorMessage(assetInfo(av), (("Asset " + aw) + " doesn't exist")) | |
189 | + | $Tuple4(av, aw, ax.name, ax.decimals) | |
183 | 190 | } | |
184 | 191 | ||
185 | 192 | ||
186 | - | @Callable(aE) | |
187 | - | func hashingRandom (aF,aG) = if (!(ak)) | |
188 | - | then throw("DApp is inactive at this moment") | |
189 | - | else if (!(containsElement([ar, as, at], aE.callerPublicKey))) | |
190 | - | then throw("Only admin can call this function") | |
191 | - | else [StringEntry((toString(aF) + z), aG)] | |
193 | + | @Callable(aD) | |
194 | + | func hashingRandom (aG,aH) = valueOrElse(aB(), valueOrElse(aC(aD), [StringEntry((toString(aG) + z), aH)])) | |
192 | 195 | ||
193 | 196 | ||
194 | 197 | ||
195 | - | @Callable(aE) | |
196 | - | func claim (aF) = { | |
197 | - | let aH = valueOrElse(getInteger(this, (((toString(aE.caller) + "_") + toString(aF)) + S)), 0) | |
198 | - | let aI = valueOrElse(getInteger(this, (((toString(aE.caller) + "_") + toString(aF)) + V)), 0) | |
199 | - | let aJ = valueOrElse(getInteger(this, (((toString(aE.caller) + "_") + toString(aF)) + Y)), 0) | |
200 | - | let aK = valueOrElse(getBoolean(this, (((toString(aE.caller) + "_") + toString(aF)) + Z)), false) | |
201 | - | let aL = valueOrElse(getInteger(this, (toString(aF) + l)), 0) | |
202 | - | if (!(ak)) | |
203 | - | then throw("DApp is inactive at this moment") | |
204 | - | else if ((aL == 0)) | |
205 | - | then throw("You can't claim because results are not finalized") | |
206 | - | else if (aK) | |
207 | - | then throw("You are already claimed") | |
208 | - | else if (if (if ((aH == 0)) | |
209 | - | then (aJ == 0) | |
198 | + | @Callable(aD) | |
199 | + | func initCaller (aI) = valueOrElse(aB(), valueOrElse(aC(aD), [StringEntry(h, aI)])) | |
200 | + | ||
201 | + | ||
202 | + | ||
203 | + | @Callable(aD) | |
204 | + | func init (aJ,aK,aL,aM,aN,aO,aP,aQ,aR,aS,aT,aU,aV,aW,aX,aY,aZ,ba) = valueOrElse(aB(), if ((toString(aD.caller) != valueOrElse(getString(this, h), ""))) | |
205 | + | then throw("Only project admin can call init function") | |
206 | + | else if ((size(aD.payments) != 1)) | |
207 | + | then throw("One attached payment expected") | |
208 | + | else if ((height > aK)) | |
209 | + | then throw("Start height must be greater than blockchain height") | |
210 | + | else if (if (aZ) | |
211 | + | then (size(ba) != 3) | |
212 | + | else false) | |
213 | + | then throw("Freeze params list must have 3 items") | |
214 | + | else { | |
215 | + | let aG = az() | |
216 | + | let bb = toString(aG) | |
217 | + | let bc = $Tuple2(aD.payments[0].amount, aD.payments[0].assetId) | |
218 | + | let bd = bc._1 | |
219 | + | let be = bc._2 | |
220 | + | let bf = at(be) | |
221 | + | let bg = bf._1 | |
222 | + | let bh = bf._2 | |
223 | + | let bi = bf._3 | |
224 | + | let bj = if (aZ) | |
225 | + | then [BooleanEntry((bb + F), true), StringEntry((bb + G), ba[0]), IntegerEntry((bb + H), parseIntValue(ba[1])), IntegerEntry((bb + I), parseIntValue(ba[2]))] | |
226 | + | else nil | |
227 | + | ([IntegerEntry((bg + "_launchpad"), aG), IntegerEntry(f, (aG + 1)), StringEntry((bb + i), aJ), IntegerEntry((bb + j), height), IntegerEntry((bb + k), aK), IntegerEntry((bb + A), aL), StringEntry((bb + J), aM), IntegerEntry((bb + E), aU), IntegerEntry((bb + o), bd), StringEntry((bb + n), bg), IntegerEntry((bb + m), aN), IntegerEntry((bb + w), 0), IntegerEntry((bb + N), 0), IntegerEntry((bb + q), aO), IntegerEntry((bb + r), aP), IntegerEntry((bb + s), aT), IntegerEntry((bb + t), aQ), IntegerEntry((bb + u), aR), IntegerEntry((bb + v), aS), StringEntry((bb + K), makeString(aV, ",")), BooleanEntry((bb + M), aW), IntegerEntry((bb + L), aX), IntegerEntry((bb + O), aY), IntegerEntry(g, aG), StringEntry(h, "")] ++ bj) | |
228 | + | }) | |
229 | + | ||
230 | + | ||
231 | + | ||
232 | + | @Callable(aD) | |
233 | + | func commitSwopfiSale (aG,bk) = valueOrElse(aB(), { | |
234 | + | let bl = $Tuple2(aD.payments[0].amount, aD.payments[0].assetId) | |
235 | + | let bd = bl._1 | |
236 | + | let be = bl._2 | |
237 | + | let bm = aE(value(getString(this, (toString(aG) + J)))) | |
238 | + | let bn = bm._1 | |
239 | + | let bo = bm._2 | |
240 | + | let bp = bm._3 | |
241 | + | let bq = bm._4 | |
242 | + | let br = valueOrElse(getInteger(ae, (toString(aD.caller) + x)), 0) | |
243 | + | let bs = (br / getIntegerValue(this, (toString(aG) + s))) | |
244 | + | let bt = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + S)), 0) | |
245 | + | let bu = (bs - bt) | |
246 | + | let aK = value(getInteger(this, (toString(aG) + k))) | |
247 | + | let aL = value(getInteger(this, (toString(aG) + A))) | |
248 | + | let aZ = valueOrElse(getBoolean(this, (toString(aG) + F)), false) | |
249 | + | if ((ak != aG)) | |
250 | + | then throw("There is no active launchpad or this launchpad is ended") | |
251 | + | else if ((aK > height)) | |
252 | + | then throw("Launchpad sale not started yet") | |
253 | + | else if ((height > (aK + aL))) | |
254 | + | then throw("Launchpad sale ended") | |
255 | + | else if (if (!(aZ)) | |
256 | + | then if ((size(aD.payments) != 1)) | |
257 | + | then true | |
258 | + | else (be != bn) | |
210 | 259 | else false) | |
211 | - | then (aI == 0) | |
212 | - | else false) | |
213 | - | then throw("You can't claim because you don't buy anything") | |
214 | - | else { | |
215 | - | let aM = aC(value(getString(this, (toString(aF) + J)))) | |
216 | - | let aN = aM._1 | |
217 | - | let aO = aM._2 | |
218 | - | let aP = aM._3 | |
219 | - | let aQ = aM._4 | |
220 | - | let aR = valueOrElse(getInteger(this, (((toString(aE.caller) + "_") + toString(aF)) + aa)), 0) | |
221 | - | let aS = valueOrElse(getInteger(this, (((toString(aE.caller) + "_") + toString(aF)) + ab)), 0) | |
222 | - | let aT = valueOrElse(getInteger(this, (((toString(aE.caller) + "_") + toString(aF)) + W)), 0) | |
223 | - | let aU = getIntegerValue(this, (toString(aF) + m)) | |
224 | - | let aV = min([aJ, aT]) | |
225 | - | let aW = getIntegerValue(this, (toString(aF) + r)) | |
226 | - | let aX = getIntegerValue(this, (toString(aF) + q)) | |
227 | - | let aY = aC(getStringValue(this, (toString(aF) + n))) | |
228 | - | let aZ = aY._1 | |
229 | - | let ba = aY._2 | |
230 | - | let bb = aY._3 | |
231 | - | let bc = aY._4 | |
232 | - | let bd = fraction(aX, aW, pow(10, 0, bc, 0, 0, DOWN)) | |
233 | - | let be = getIntegerValue(this, (toString(aF) + v)) | |
234 | - | let bf = (((aR * aX) + (aV * be)) + (aS * aX)) | |
235 | - | let bg = ((aJ - aV) * be) | |
236 | - | let bh = fraction(fraction(bg, aW, pow(10, 0, bc, 0, 0, DOWN)), (100 + aU), 100) | |
237 | - | let bi = fraction(((aH - aR) * bd), (100 + aU), 100) | |
238 | - | let bj = fraction(((aI - aS) * bd), (100 + aU), 100) | |
239 | - | let bk = valueOrElse(getInteger(this, (((toString(aE.caller) + "_") + toString(aF)) + R)), 0) | |
240 | - | if (if (if ((0 > bh)) | |
260 | + | then throw((("One attached payment in " + bp) + " expected")) | |
261 | + | else if (if (aZ) | |
262 | + | then if ((size(aD.payments) != 2)) | |
241 | 263 | then true | |
242 | - | else (0 > bi)) | |
264 | + | else (be != bn) | |
265 | + | else false) | |
266 | + | then { | |
267 | + | let bv = getStringValue(this, (toString(aG) + G)) | |
268 | + | throw(((("Two attached payments expected: First in " + bp) + ", second in ") + bv)) | |
269 | + | } | |
270 | + | else if (if ((0 >= bs)) | |
243 | 271 | then true | |
244 | - | else (0 > | |
245 | - | then throw(" | |
272 | + | else (0 >= bu)) | |
273 | + | then throw("Not enought SWOP in staking to buy tickets") | |
246 | 274 | else { | |
247 | - | let bl = ((bi + bj) - bk) | |
248 | - | let bm = if ((bl > 0)) | |
249 | - | then [ScriptTransfer(aE.caller, bl, aN), IntegerEntry((((toString(aE.caller) + "_") + toString(aF)) + R), bl)] | |
250 | - | else nil | |
251 | - | let bn = if (if ((bl > 0)) | |
252 | - | then (aN == ah) | |
253 | - | else false) | |
254 | - | then invoke(ag, "unlockNeutrino", [bl, toBase58String(ah)], nil) | |
275 | + | let bw = getIntegerValue(this, (toString(aG) + r)) | |
276 | + | let aO = getIntegerValue(this, (toString(aG) + q)) | |
277 | + | let bx = aE(getStringValue(this, (toString(aG) + n))) | |
278 | + | let by = bx._1 | |
279 | + | let bz = bx._2 | |
280 | + | let bA = bx._3 | |
281 | + | let bB = bx._4 | |
282 | + | let bC = fraction(aO, bw, pow(10, 0, bB, 0, 0, DOWN)) | |
283 | + | let bD = fraction(bC, getIntegerValue(this, (toString(aG) + m)), 100) | |
284 | + | let bE = (bd / (bC + bD)) | |
285 | + | let bF = min([bE, bu]) | |
286 | + | let bG = (bF * (bC + bD)) | |
287 | + | let bH = (bd - bG) | |
288 | + | if ((bE == 0)) | |
289 | + | then throw((("Not enought " + bp) + " to buy tickets")) | |
290 | + | else if ((bH != 0)) | |
291 | + | then throw((((("Wrong payment. To buy " + toString(bF)) + "tickets you need to pay ") + toString(bG)) + bp)) | |
292 | + | else { | |
293 | + | let bj = if (aZ) | |
294 | + | then { | |
295 | + | let bv = getStringValue(this, (toString(aG) + G)) | |
296 | + | let bI = getIntegerValue(this, (toString(aG) + I)) | |
297 | + | let bJ = $Tuple2(aD.payments[1].amount, aD.payments[1].assetId) | |
298 | + | let bK = bJ._1 | |
299 | + | let bL = bJ._2 | |
300 | + | let bM = at(be) | |
301 | + | let bN = bM._1 | |
302 | + | let bO = bM._2 | |
303 | + | let bP = bM._3 | |
304 | + | let bQ = (bI * bE) | |
305 | + | if (if ((bN != bv)) | |
306 | + | then true | |
307 | + | else (bQ != bK)) | |
308 | + | then throw((((("You need to add " + toString(bQ)) + " ") + bO) + " as a second payment")) | |
309 | + | else [IntegerEntry((((toString(aD.caller) + "_") + toString(aG)) + ac), bK)] | |
310 | + | } | |
311 | + | else nil | |
312 | + | let bR = valueOrElse(getString(this, (((toString(aD.caller) + "_") + toString(aG)) + T)), "") | |
313 | + | let bS = getIntegerValue(this, (toString(aG) + w)) | |
314 | + | let bT = ((toString((bS + 1)) + "-") + toString((bS + bF))) | |
315 | + | let bU = (bR + (if ((bR != "")) | |
316 | + | then ("," + bT) | |
317 | + | else ("" + bT))) | |
318 | + | let bV = if ((bn == ah)) | |
319 | + | then invoke(ag, "lockNeutrino", nil, [AttachedPayment(be, bd)]) | |
320 | + | else 0 | |
321 | + | if ((bV == bV)) | |
322 | + | then { | |
323 | + | let bW = ([IntegerEntry((((toString(aD.caller) + "_") + toString(aG)) + S), (bt + bF)), IntegerEntry((toString(aG) + w), (bS + bF)), StringEntry((((toString(aD.caller) + "_") + toString(aG)) + T), bU)] ++ bj) | |
324 | + | if (!(isDefined(getString(this, (((toString(aD.caller) + "_") + toString(aG)) + y))))) | |
325 | + | then (bW ++ [StringEntry((((toString(aD.caller) + "_") + toString(aG)) + y), bk)]) | |
326 | + | else bW | |
327 | + | } | |
328 | + | else throw("Strict value is not equal to itself.") | |
329 | + | } | |
330 | + | } | |
331 | + | }) | |
332 | + | ||
333 | + | ||
334 | + | ||
335 | + | @Callable(aD) | |
336 | + | func commitAccessListSale (aG,bk) = valueOrElse(aB(), { | |
337 | + | let bX = $Tuple2(aD.payments[0].amount, aD.payments[0].assetId) | |
338 | + | let bd = bX._1 | |
339 | + | let be = bX._2 | |
340 | + | let bY = aE(value(getString(this, (toString(aG) + J)))) | |
341 | + | let bn = bY._1 | |
342 | + | let bo = bY._2 | |
343 | + | let bp = bY._3 | |
344 | + | let bq = bY._4 | |
345 | + | let bZ = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + X)), 0) | |
346 | + | let ca = valueOrElse(getInteger(this, (toString(aG) + B)), 0) | |
347 | + | let cb = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + Y)), 0) | |
348 | + | let aN = getIntegerValue(this, (toString(aG) + m)) | |
349 | + | let bw = getIntegerValue(this, (toString(aG) + r)) | |
350 | + | let aS = getIntegerValue(this, (toString(aG) + v)) | |
351 | + | let cc = aE(getStringValue(this, (toString(aG) + n))) | |
352 | + | let by = cc._1 | |
353 | + | let bz = cc._2 | |
354 | + | let bA = cc._3 | |
355 | + | let bB = cc._4 | |
356 | + | let cd = fraction(fraction(bw, aS, pow(10, 0, bB, 0, 0, DOWN)), (100 + aN), 100) | |
357 | + | let aK = value(getInteger(this, (toString(aG) + k))) | |
358 | + | let aL = value(getInteger(this, (toString(aG) + A))) | |
359 | + | if ((ak != aG)) | |
360 | + | then throw("There is no active launchpad or this launchpad is ended") | |
361 | + | else if ((aK > height)) | |
362 | + | then throw("Launchpad sale not started yet") | |
363 | + | else if ((height > (aK + aL))) | |
364 | + | then throw("Launchpad sale ended") | |
365 | + | else if (if ((size(aD.payments) != 1)) | |
366 | + | then true | |
367 | + | else (be != bn)) | |
368 | + | then throw((("One attached payment in " + bp) + " expected")) | |
369 | + | else if ((cb >= aj)) | |
370 | + | then throw((("You can buy only " + toString(aj)) + "allocations")) | |
371 | + | else if (if ((cd != bd)) | |
372 | + | then ((cd * 2) != bd) | |
373 | + | else false) | |
374 | + | then throw(((("Wrong payment. You can buy 1 or 2 allocations for " + toString(cd)) + bp) + " per allocation")) | |
375 | + | else { | |
376 | + | let ce = (bd / cd) | |
377 | + | let bV = if ((bn == ah)) | |
378 | + | then invoke(ag, "lockNeutrino", nil, [AttachedPayment(be, bd)]) | |
255 | 379 | else 0 | |
256 | - | if (( | |
380 | + | if ((bV == bV)) | |
257 | 381 | then { | |
258 | - | let bo = split(valueOrElse(getString(this, (toString(aF) + K)), ""), ",") | |
259 | - | if (if ((size(bo) == 0)) | |
260 | - | then true | |
261 | - | else (bo[0] == "claimAll")) | |
262 | - | then { | |
263 | - | let bp = if ((bf > 0)) | |
264 | - | then [ScriptTransfer(aE.caller, bf, aZ)] | |
265 | - | else nil | |
266 | - | (([BooleanEntry((((toString(aE.caller) + "_") + toString(aF)) + Z), true), IntegerEntry((((toString(aE.caller) + "_") + toString(aF)) + Q), bf)] ++ bp) ++ bm) | |
267 | - | } | |
268 | - | else if ((bo[0] == "claimPeriod")) | |
269 | - | then { | |
270 | - | let bq = valueOrElse(getInteger(this, (((toString(aE.caller) + "_") + toString(aF)) + Q)), 0) | |
271 | - | let br = value(parseInt(bo[1])) | |
272 | - | let bs = value(parseInt(bo[2])) | |
273 | - | let bt = (value(parseInt(bo[3])) + aL) | |
274 | - | let bu = ((bs + aL) + bt) | |
275 | - | let bv = (fraction(bf, value(parseInt(bo[1])), 100) + (if ((height > bt)) | |
276 | - | then fraction(bf, (height - bt), bs) | |
277 | - | else (0 - bq))) | |
278 | - | let bw = if ((bf >= (bq + bv))) | |
279 | - | then [BooleanEntry((((toString(aE.caller) + "_") + toString(aF)) + Z), true)] | |
280 | - | else nil | |
281 | - | if (if ((bv > 0)) | |
282 | - | then true | |
283 | - | else (bl > 0)) | |
284 | - | then { | |
285 | - | let bp = if ((bv > 0)) | |
286 | - | then [IntegerEntry((((toString(aE.caller) + "_") + toString(aF)) + Q), (bq + bv)), ScriptTransfer(aE.caller, bv, aZ)] | |
287 | - | else nil | |
288 | - | (bm ++ bp) | |
289 | - | } | |
290 | - | else throw("Nothing to claim") | |
291 | - | } | |
292 | - | else throw("Error whith claim params: unknown function") | |
382 | + | let bW = [IntegerEntry((((toString(aD.caller) + "_") + toString(aG)) + Y), (cb + ce)), IntegerEntry((((toString(aD.caller) + "_") + toString(aG)) + X), (bZ + bd)), IntegerEntry((toString(aG) + B), (ca + bd))] | |
383 | + | if (!(isDefined(getString(this, (((toString(aD.caller) + "_") + toString(aG)) + y))))) | |
384 | + | then (bW ++ [StringEntry((((toString(aD.caller) + "_") + toString(aG)) + y), bk)]) | |
385 | + | else bW | |
293 | 386 | } | |
294 | 387 | else throw("Strict value is not equal to itself.") | |
295 | 388 | } | |
296 | - | } | |
297 | - | } | |
389 | + | }) | |
298 | 390 | ||
299 | 391 | ||
300 | 392 | ||
301 | - | @Callable(aE) | |
302 | - | func claimFreezeToken (aF) = { | |
303 | - | let bx = valueOrElse(getBoolean(this, (toString(aF) + F)), false) | |
304 | - | if (!(ak)) | |
305 | - | then throw("DApp is inactive at this moment") | |
306 | - | else if (!(isDefined(getInteger(this, (toString(aF) + l))))) | |
307 | - | then throw("You can't claim because results are not finalized") | |
308 | - | else if (!(bx)) | |
309 | - | then throw("There are no additional token freezing for this launchpad") | |
310 | - | else { | |
311 | - | let aZ = fromBase58String(getStringValue(this, (toString(aF) + G))) | |
312 | - | let by = valueOrElse(getInteger(this, (((toString(aE.caller) + "_") + toString(aF)) + ac)), 0) | |
313 | - | let bz = valueOrElse(getInteger(this, (toString(aF) + k)), 0) | |
314 | - | let bA = valueOrElse(getInteger(this, (toString(aF) + A)), 0) | |
315 | - | let bB = getIntegerValue(this, (toString(aF) + H)) | |
316 | - | let bC = ((bz + bA) + bB) | |
317 | - | if ((by == 0)) | |
318 | - | then throw("You are already claimed your tokens or not paid anything") | |
319 | - | else if ((bC > height)) | |
320 | - | then throw(("Your tokens freezed teel " + toString(bC))) | |
321 | - | else [ScriptTransfer(aE.caller, by, aZ), IntegerEntry((((toString(aE.caller) + "_") + toString(aF)) + ac), 0)] | |
322 | - | } | |
323 | - | } | |
393 | + | @Callable(aD) | |
394 | + | func commitHighCompetitionSale (aG,bk) = valueOrElse(aB(), { | |
395 | + | let cf = $Tuple2(aD.payments[0].amount, aD.payments[0].assetId) | |
396 | + | let bd = cf._1 | |
397 | + | let be = cf._2 | |
398 | + | let cg = aE(value(getString(this, (toString(aG) + J)))) | |
399 | + | let bn = cg._1 | |
400 | + | let bo = cg._2 | |
401 | + | let bp = cg._3 | |
402 | + | let bq = cg._4 | |
403 | + | let aK = value(getInteger(this, (toString(aG) + k))) | |
404 | + | let aL = value(getInteger(this, (toString(aG) + A))) | |
405 | + | let ch = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + V)), 0) | |
406 | + | let ci = valueOrElse(getBoolean(this, (toString(aG) + M)), false) | |
407 | + | if ((ak != aG)) | |
408 | + | then throw("There is no active launchpad or this launchpad is ended") | |
409 | + | else if (!(ci)) | |
410 | + | then throw("There is no high competition sale for this launchpad") | |
411 | + | else if ((aK > height)) | |
412 | + | then throw("Launchpad sale not started yet") | |
413 | + | else if ((height > (aK + aL))) | |
414 | + | then throw("Launchpad sale ended") | |
415 | + | else if (if ((size(aD.payments) != 1)) | |
416 | + | then true | |
417 | + | else (be != bn)) | |
418 | + | then throw((("One attached payment in " + bp) + " expected")) | |
419 | + | else { | |
420 | + | let bw = getIntegerValue(this, (toString(aG) + r)) | |
421 | + | let aO = getIntegerValue(this, (toString(aG) + q)) | |
422 | + | let cj = aE(getStringValue(this, (toString(aG) + n))) | |
423 | + | let by = cj._1 | |
424 | + | let bz = cj._2 | |
425 | + | let bA = cj._3 | |
426 | + | let bB = cj._4 | |
427 | + | let bC = fraction(aO, bw, pow(10, 0, bB, 0, 0, DOWN)) | |
428 | + | let bD = fraction(bC, getIntegerValue(this, (toString(aG) + L)), 100) | |
429 | + | let bE = (bd / (bC + bD)) | |
430 | + | let ck = (bE * (bC + bD)) | |
431 | + | let bH = (bd - ck) | |
432 | + | if ((bE == 0)) | |
433 | + | then throw((("Not enought " + bp) + " to buy tickets")) | |
434 | + | else if ((bH != 0)) | |
435 | + | then throw((((("Wrong payment. To buy " + toString(bE)) + "tickets you need to pay ") + toString(ck)) + bp)) | |
436 | + | else { | |
437 | + | let bR = valueOrElse(getString(this, (((toString(aD.caller) + "_") + toString(aG)) + U)), "") | |
438 | + | let bS = getIntegerValue(this, (toString(aG) + N)) | |
439 | + | let bT = ((toString((bS + 1)) + "-") + toString((bS + bE))) | |
440 | + | let bU = (bR + (if ((bR != "")) | |
441 | + | then ("," + bT) | |
442 | + | else ("" + bT))) | |
443 | + | let bV = if ((bn == ah)) | |
444 | + | then invoke(ag, "lockNeutrino", nil, [AttachedPayment(be, bd)]) | |
445 | + | else 0 | |
446 | + | if ((bV == bV)) | |
447 | + | then { | |
448 | + | let bW = [IntegerEntry((((toString(aD.caller) + "_") + toString(aG)) + V), (ch + bE)), IntegerEntry((toString(aG) + N), (bS + bE)), StringEntry((((toString(aD.caller) + "_") + toString(aG)) + U), bU)] | |
449 | + | if (!(isDefined(getString(this, (((toString(aD.caller) + "_") + toString(aG)) + y))))) | |
450 | + | then (bW ++ [StringEntry((((toString(aD.caller) + "_") + toString(aG)) + y), bk)]) | |
451 | + | else bW | |
452 | + | } | |
453 | + | else throw("Strict value is not equal to itself.") | |
454 | + | } | |
455 | + | } | |
456 | + | }) | |
324 | 457 | ||
325 | 458 | ||
326 | 459 | ||
327 | - | @Callable(aE) | |
328 | - | func transferBuyAsset (aF,bD) = if (!(ak)) | |
329 | - | then throw("DApp is inactive") | |
330 | - | else if (!(containsElement([ar, as, at], aE.callerPublicKey))) | |
331 | - | then throw("Only admin can call this function") | |
460 | + | @Callable(aD) | |
461 | + | func finalise (aG,cl,cm) = valueOrElse(aB(), valueOrElse(aC(aD), { | |
462 | + | let cn = getStringValue(this, (toString(aG) + z)) | |
463 | + | let co = toBase58String(sha256((toBytes(cl) + toBytes(cm)))) | |
464 | + | if ((co != cn)) | |
465 | + | then throw("vrf Height hash not matching") | |
332 | 466 | else { | |
333 | - | let bE = addressFromStringValue(getStringValue(this, (toString(aF) + i))) | |
334 | - | let bF = aC(value(getString(this, (toString(aF) + J)))) | |
335 | - | let aN = bF._1 | |
336 | - | let aO = bF._2 | |
337 | - | let aP = bF._3 | |
338 | - | let aQ = bF._4 | |
339 | - | [IntegerEntry((toString(aF) + D), bD), ScriptTransfer(bE, bD, aN)] | |
467 | + | let cp = aE(value(getString(this, (toString(aG) + J)))) | |
468 | + | let bn = cp._1 | |
469 | + | let bo = cp._2 | |
470 | + | let bp = cp._3 | |
471 | + | let bq = cp._4 | |
472 | + | let aJ = addressFromStringValue(getStringValue(this, (toString(aG) + i))) | |
473 | + | let aN = getIntegerValue(this, (toString(aG) + m)) | |
474 | + | let cq = getIntegerValue(this, (toString(aG) + L)) | |
475 | + | let cr = valueOrElse(getInteger(this, (toString(aG) + D)), 0) | |
476 | + | let cs = getIntegerValue(this, (toString(aG) + p)) | |
477 | + | let ct = valueOrElse(getIntegerValue(this, (toString(aG) + P)), 0) | |
478 | + | let cu = fraction(cs, aN, 100) | |
479 | + | let cv = fraction(ct, cq, 100) | |
480 | + | let cw = getIntegerValue(this, (toString(aG) + C)) | |
481 | + | let cx = fraction(cw, aN, 100) | |
482 | + | let cy = (((((cs + cw) + cu) + cx) + ct) + cv) | |
483 | + | if ((cr > (cs + cw))) | |
484 | + | then throw("Can't transfer negative value to project") | |
485 | + | else { | |
486 | + | let bV = if ((bn == ah)) | |
487 | + | then invoke(ag, "unlockNeutrino", [cy, toBase58String(ah)], nil) | |
488 | + | else 0 | |
489 | + | if ((bV == bV)) | |
490 | + | then [IntegerEntry((toString(aG) + l), height), ScriptTransfer(aJ, ((cs + cw) - cr), bn), ScriptTransfer(af, ((cu + cx) + cv), bn)] | |
491 | + | else throw("Strict value is not equal to itself.") | |
492 | + | } | |
340 | 493 | } | |
494 | + | })) | |
341 | 495 | ||
342 | 496 | ||
343 | 497 | ||
344 | - | @Callable(aE) | |
345 | - | func shutdown () = if (!(ak)) | |
346 | - | then throw("DApp already inactive") | |
347 | - | else if (!(containsElement([ar, as, at], aE.callerPublicKey))) | |
348 | - | then throw("Only admin can call this function") | |
349 | - | else [BooleanEntry(a, false)] | |
498 | + | @Callable(aD) | |
499 | + | func claim (aG) = valueOrElse(aB(), { | |
500 | + | let cz = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + S)), 0) | |
501 | + | let cA = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + V)), 0) | |
502 | + | let cb = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + Y)), 0) | |
503 | + | let cB = valueOrElse(getBoolean(this, (((toString(aD.caller) + "_") + toString(aG)) + Z)), false) | |
504 | + | let cC = valueOrElse(getInteger(this, (toString(aG) + l)), 0) | |
505 | + | if ((cC == 0)) | |
506 | + | then throw("You can't claim because results are not finalized") | |
507 | + | else if (cB) | |
508 | + | then throw("You are already claimed") | |
509 | + | else if (if (if ((cz == 0)) | |
510 | + | then (cb == 0) | |
511 | + | else false) | |
512 | + | then (cA == 0) | |
513 | + | else false) | |
514 | + | then throw("You can't claim because you don't buy anything") | |
515 | + | else { | |
516 | + | let cD = aE(value(getString(this, (toString(aG) + J)))) | |
517 | + | let bn = cD._1 | |
518 | + | let bo = cD._2 | |
519 | + | let bp = cD._3 | |
520 | + | let bq = cD._4 | |
521 | + | let cE = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + aa)), 0) | |
522 | + | let cF = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + ab)), 0) | |
523 | + | let cG = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + W)), 0) | |
524 | + | let aN = getIntegerValue(this, (toString(aG) + m)) | |
525 | + | let cq = getIntegerValue(this, (toString(aG) + L)) | |
526 | + | let cH = min([cb, cG]) | |
527 | + | let bw = getIntegerValue(this, (toString(aG) + r)) | |
528 | + | let aO = getIntegerValue(this, (toString(aG) + q)) | |
529 | + | let cI = aE(getStringValue(this, (toString(aG) + n))) | |
530 | + | let by = cI._1 | |
531 | + | let bz = cI._2 | |
532 | + | let bA = cI._3 | |
533 | + | let bB = cI._4 | |
534 | + | let bC = fraction(aO, bw, pow(10, 0, bB, 0, 0, DOWN)) | |
535 | + | let aS = getIntegerValue(this, (toString(aG) + v)) | |
536 | + | let cJ = (((cE * aO) + (cH * aS)) + (cF * aO)) | |
537 | + | let cK = ((cb - cH) * aS) | |
538 | + | let cL = fraction(fraction(cK, bw, pow(10, 0, bB, 0, 0, DOWN)), (100 + aN), 100) | |
539 | + | let cM = fraction(((cz - cE) * bC), (100 + aN), 100) | |
540 | + | let cN = fraction(((cA - cF) * bC), (100 + cq), 100) | |
541 | + | let cO = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + R)), 0) | |
542 | + | if (if (if ((0 > cL)) | |
543 | + | then true | |
544 | + | else (0 > cM)) | |
545 | + | then true | |
546 | + | else (0 > cN)) | |
547 | + | then throw("Error with allowed allocation param or wonned tickets param please contact support") | |
548 | + | else { | |
549 | + | let cP = (((cM + cN) + cL) - cO) | |
550 | + | let cQ = if ((cP > 0)) | |
551 | + | then [ScriptTransfer(aD.caller, cP, bn), IntegerEntry((((toString(aD.caller) + "_") + toString(aG)) + R), cP)] | |
552 | + | else nil | |
553 | + | let bV = if (if ((cP > 0)) | |
554 | + | then (bn == ah) | |
555 | + | else false) | |
556 | + | then invoke(ag, "unlockNeutrino", [cP, toBase58String(ah)], nil) | |
557 | + | else 0 | |
558 | + | if ((bV == bV)) | |
559 | + | then { | |
560 | + | let cR = split(valueOrElse(getString(this, (toString(aG) + K)), ""), ",") | |
561 | + | if (if ((size(cR) == 0)) | |
562 | + | then true | |
563 | + | else (cR[0] == "claimAll")) | |
564 | + | then { | |
565 | + | let cS = if ((cJ > 0)) | |
566 | + | then [ScriptTransfer(aD.caller, cJ, by)] | |
567 | + | else nil | |
568 | + | (([BooleanEntry((((toString(aD.caller) + "_") + toString(aG)) + Z), true), IntegerEntry((((toString(aD.caller) + "_") + toString(aG)) + Q), cJ)] ++ cS) ++ cQ) | |
569 | + | } | |
570 | + | else if ((cR[0] == "claimPeriod")) | |
571 | + | then { | |
572 | + | let cT = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + Q)), 0) | |
573 | + | let cU = value(parseInt(cR[2])) | |
574 | + | let cV = (value(parseInt(cR[3])) + cC) | |
575 | + | let cW = ((cU + cC) + cV) | |
576 | + | let cX = (fraction(cJ, value(parseInt(cR[1])), 100) + (if ((height > cV)) | |
577 | + | then fraction(cJ, (height - cV), cU) | |
578 | + | else (0 - cT))) | |
579 | + | let cY = if ((cJ >= (cT + cX))) | |
580 | + | then [BooleanEntry((((toString(aD.caller) + "_") + toString(aG)) + Z), true)] | |
581 | + | else nil | |
582 | + | if (if ((cX > 0)) | |
583 | + | then true | |
584 | + | else (cP > 0)) | |
585 | + | then { | |
586 | + | let cS = if ((cX > 0)) | |
587 | + | then [IntegerEntry((((toString(aD.caller) + "_") + toString(aG)) + Q), (cT + cX)), ScriptTransfer(aD.caller, cX, by)] | |
588 | + | else nil | |
589 | + | (cQ ++ cS) | |
590 | + | } | |
591 | + | else throw("Nothing to claim") | |
592 | + | } | |
593 | + | else throw("Unknown claim function") | |
594 | + | } | |
595 | + | else throw("Strict value is not equal to itself.") | |
596 | + | } | |
597 | + | } | |
598 | + | }) | |
350 | 599 | ||
351 | 600 | ||
352 | 601 | ||
353 | - | @Callable(aE) | |
354 | - | func activate () = if (ak) | |
355 | - | then throw("DApp already active") | |
356 | - | else if (!(containsElement([ar, as, at], aE.callerPublicKey))) | |
357 | - | then throw("Only admin can call this function") | |
358 | - | else [BooleanEntry(a, true)] | |
602 | + | @Callable(aD) | |
603 | + | func claimFreezeToken (aG) = valueOrElse(aB(), { | |
604 | + | let aZ = valueOrElse(getBoolean(this, (toString(aG) + F)), false) | |
605 | + | if (!(isDefined(getInteger(this, (toString(aG) + l))))) | |
606 | + | then throw("You can't claim because results are not finalized") | |
607 | + | else if (!(aZ)) | |
608 | + | then throw("There are no additional token freezing for this launchpad") | |
609 | + | else { | |
610 | + | let by = fromBase58String(getStringValue(this, (toString(aG) + G))) | |
611 | + | let cZ = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aG)) + ac)), 0) | |
612 | + | let aK = valueOrElse(getInteger(this, (toString(aG) + k)), 0) | |
613 | + | let aL = valueOrElse(getInteger(this, (toString(aG) + A)), 0) | |
614 | + | let da = getIntegerValue(this, (toString(aG) + H)) | |
615 | + | let db = ((aK + aL) + da) | |
616 | + | if ((cZ == 0)) | |
617 | + | then throw("You are already claimed your tokens or not paid anything") | |
618 | + | else if ((db > height)) | |
619 | + | then throw(("Your tokens freezed teel " + toString(db))) | |
620 | + | else [ScriptTransfer(aD.caller, cZ, by), IntegerEntry((((toString(aD.caller) + "_") + toString(aG)) + ac), 0)] | |
621 | + | } | |
622 | + | }) | |
359 | 623 | ||
360 | 624 | ||
361 | - | @Verifier(bG) | |
362 | - | func bH () = { | |
363 | - | let bI = { | |
364 | - | let bJ = if (sigVerify(bG.bodyBytes, bG.proofs[0], ar)) | |
625 | + | ||
626 | + | @Callable(aD) | |
627 | + | func transferBuyAsset (aG,dc) = valueOrElse(aB(), valueOrElse(aC(aD), { | |
628 | + | let aJ = addressFromStringValue(getStringValue(this, (toString(aG) + i))) | |
629 | + | let dd = aE(value(getString(this, (toString(aG) + J)))) | |
630 | + | let bn = dd._1 | |
631 | + | let bo = dd._2 | |
632 | + | let bp = dd._3 | |
633 | + | let bq = dd._4 | |
634 | + | [IntegerEntry((toString(aG) + D), dc), ScriptTransfer(aJ, dc, bn)] | |
635 | + | })) | |
636 | + | ||
637 | + | ||
638 | + | ||
639 | + | @Callable(aD) | |
640 | + | func shutdown () = valueOrElse(aC(aD), if (!(aA)) | |
641 | + | then throw("DApp already inactive") | |
642 | + | else [BooleanEntry(a, false)]) | |
643 | + | ||
644 | + | ||
645 | + | ||
646 | + | @Callable(aD) | |
647 | + | func activate () = valueOrElse(aC(aD), if (aA) | |
648 | + | then throw("DApp already active") | |
649 | + | else [BooleanEntry(a, true)]) | |
650 | + | ||
651 | + | ||
652 | + | @Verifier(de) | |
653 | + | func df () = { | |
654 | + | let dg = { | |
655 | + | let dh = if (sigVerify(de.bodyBytes, de.proofs[0], aq)) | |
365 | 656 | then 1 | |
366 | 657 | else 0 | |
367 | - | let | |
658 | + | let di = if (sigVerify(de.bodyBytes, de.proofs[1], ar)) | |
368 | 659 | then 1 | |
369 | 660 | else 0 | |
370 | - | let | |
661 | + | let dj = if (sigVerify(de.bodyBytes, de.proofs[2], as)) | |
371 | 662 | then 1 | |
372 | 663 | else 0 | |
373 | - | ((( | |
664 | + | (((dh + di) + dj) >= 2) | |
374 | 665 | } | |
375 | - | let | |
666 | + | let dk = if (if (if (sigVerify(de.bodyBytes, de.proofs[0], aq)) | |
376 | 667 | then true | |
377 | - | else sigVerify( | |
668 | + | else sigVerify(de.bodyBytes, de.proofs[0], ar)) | |
378 | 669 | then true | |
379 | - | else sigVerify( | |
670 | + | else sigVerify(de.bodyBytes, de.proofs[0], as)) | |
380 | 671 | then true | |
381 | - | else sigVerify( | |
382 | - | let | |
383 | - | if ($isInstanceOf( | |
672 | + | else sigVerify(de.bodyBytes, de.proofs[0], ai) | |
673 | + | let an = de | |
674 | + | if ($isInstanceOf(an, "DataTransaction")) | |
384 | 675 | then { | |
385 | - | let | |
676 | + | let dl = an | |
386 | 677 | if (valueOrElse(getBoolean(ad, e), false)) | |
387 | - | then | |
678 | + | then dk | |
388 | 679 | else false | |
389 | 680 | } | |
390 | - | else | |
681 | + | else dg | |
391 | 682 | } | |
392 | 683 |
github/deemru/w8io/026f985 83.97 ms ◑