tx · 2AxekLtzsHzJqXBndKKuDc7ncYxAv3tzDNb3eTmYMJjN 3Mrnje6z2xa3xuXyU2Lk6ynKy8tsRnnt4Bv: -0.01400000 Waves 2021.08.28 22:02 [1678596] smart account 3Mrnje6z2xa3xuXyU2Lk6ynKy8tsRnnt4Bv > SELF 0.00000000 Waves
{ "type": 13, "id": "2AxekLtzsHzJqXBndKKuDc7ncYxAv3tzDNb3eTmYMJjN", "fee": 1400000, "feeAssetId": null, "timestamp": 1630177410981, "version": 2, "chainId": 84, "sender": "3Mrnje6z2xa3xuXyU2Lk6ynKy8tsRnnt4Bv", "senderPublicKey": "28sGn7FYnmxceAmnGYiDiKuMK1QyXiqX8zQXfKDnrc8t", "proofs": [ "3j7RUpzjuTejH4DkcLK1jkXHShwwsotzdm7t99dVbJVnmEnVVnfVHgK8hyyy1x6p86sv5jWjB9nnwNYzrqpNgQgv" ], "script": "base64:AAIEAAAAAAAAADcIAhIAEgASBAoCCAESAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCBIGCgQICAgIAAAABgAAAAALVVNEVEFzc2V0SUQBAAAAIAhlhLcP8IpqGvPiaOguCJAkw9MnWAPNLPYuXgvf2hWkAAAAAA1CYWxsZXRBc3NldElEAQAAACAtb1sBuZ3lSm8ahGink+4TF5YYAu/xRHYwe1h195OooAAAAAAXQ29sbGVjdEJhbGxldEZlZUFkZHJlc3MJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEBAAAAIOOt17LUijbWojwDE5tgFkw1Y8cwIr3jselcewpp7rwjAAAAABVJc3N1ZUJhbGxldEZlZUFkZHJlc3MJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEBAAAAIOOt17LUijbWojwDE5tgFkw1Y8cwIr3jselcewpp7rwjAAAAABlDb2xsZWN0VVNEVFN3YXBGZWVBZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABAQAAACDjrdey1Io21qI8AxObYB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AAAADEVudGVyQXNzZXRJRAkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQABLAAAAAICAAAADlZvdGluZ19QZXJpb2RfBQAAAAxFbnRlckFzc2V0SUQJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkAASwAAAACAgAAAApWb3Rlc19SZXFfBQAAAAxFbnRlckFzc2V0SUQJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkAASwAAAACAgAAAAxMaXN0aW5nX0ZlZV8FAAAADEVudGVyQXNzZXRJRAkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQABLAAAAAICAAAADlZvdGluZ19TdGF0dXNfBQAAAAxFbnRlckFzc2V0SUQJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkAASwAAAACAgAAAAtWb3Rlc19SY3ZkXwUAAAAMRW50ZXJBc3NldElEBQAAAANuaWwAAAABaQEAAAALUmVtb3ZlRW50cnkAAAAEAAAAA0tleQAAAARLZXkxAAAABEtleTIAAAAES2V5MwkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAANLZXkJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAES2V5MQkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAARLZXkyCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAABEtleTMFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4CQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleUeu3vo=", "height": 1678596, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: KaGaV9YW8GQQWK4JHqwfDMy3EbUfkhpPrQerGFSZkhe Next: HuqtrBewFJRxY1GgjqvZRUnK79pabY7HfU1vFJ8Kb7iv Diff:
Old | New | Differences | |
---|---|---|---|
179 | 179 | let ab = X.name | |
180 | 180 | let J = "P" | |
181 | 181 | let O = valueOrErrorMessage(getString(this, ("Voting_Status_" + u)), ("Voting Status is Missing for " + u)) | |
182 | - | let ac = Issue(("LP_" + take(ab, 6)), ((("LP_" + take(ab, 6)) + " is a Liquidity Provider Token Issued Against ") + u), 1, 0, true) | |
183 | - | let ad = calculateAssetId(ac) | |
182 | + | let ac = valueOrErrorMessage(getString(this, ("LP_" + u)), (("LP Token " + u) + " not found in List.")) | |
183 | + | let ad = Issue(("LP_" + take(ab, 6)), ((("LP_" + take(ab, 6)) + " is a Liquidity Provider Token Issued Against ") + u), 1, 0, true) | |
184 | + | let ae = calculateAssetId(ad) | |
184 | 185 | if ((aa != I)) | |
185 | 186 | then throw((("Your are not allowded to Issue LP Token. Only " + aa) + " can issue the LP Token.")) | |
186 | 187 | else if ((L != u)) | |
187 | 188 | then throw("Pair is not available in Voting List.") | |
188 | 189 | else if ((O != J)) | |
189 | 190 | then throw("LP Token must be a Whitelisted Token.") | |
190 | - | else [ | |
191 | + | else [ad, StringEntry(("LP_" + u), toBase58String(ae))] | |
191 | 192 | } | |
192 | 193 | ||
193 | 194 | ||
200 | 201 | else throw("Whitelisted Token is required as Attached payment[1].") | |
201 | 202 | let L = getString(this, ("Pair_UV_" + u)) | |
202 | 203 | let O = getStringValue(this, ("Voting_Status_" + u)) | |
203 | - | let | |
204 | - | let | |
205 | - | let | |
206 | - | let | |
207 | - | let | |
208 | - | let | |
209 | - | let | |
210 | - | let | |
211 | - | let | |
204 | + | let af = getIntegerValue(this, ((("Balance_of_" + u) + "_") + toBase58String(a))) | |
205 | + | let ag = getIntegerValue(this, ((("Balance_of_" + toBase58String(a)) + "_") + u)) | |
206 | + | let ah = fraction(af, ag, (ag + h.amount)) | |
207 | + | let ai = (af - ah) | |
208 | + | let aj = "F" | |
209 | + | let ak = 1 | |
210 | + | let al = ((ai * ak) / 100) | |
211 | + | let am = (ai - al) | |
212 | + | let an = { | |
212 | 213 | let Q = getInteger(this, ("Total_Swap_Fee_Collected_" + toBase58String(a))) | |
213 | 214 | if ($isInstanceOf(Q, "Int")) | |
214 | 215 | then { | |
217 | 218 | } | |
218 | 219 | else 0 | |
219 | 220 | } | |
220 | - | let | |
221 | - | let | |
221 | + | let ao = (an + al) | |
222 | + | let ap = { | |
222 | 223 | let Q = getInteger(this, ((("Balance_of_" + toBase58String(a)) + "_") + u)) | |
223 | 224 | if ($isInstanceOf(Q, "Int")) | |
224 | 225 | then { | |
227 | 228 | } | |
228 | 229 | else 0 | |
229 | 230 | } | |
230 | - | let | |
231 | - | let | |
231 | + | let aq = (ag + h.amount) | |
232 | + | let ar = { | |
232 | 233 | let Q = getInteger(this, ((("Balance_of_" + u) + "_") + toBase58String(a))) | |
233 | 234 | if ($isInstanceOf(Q, "Int")) | |
234 | 235 | then { | |
237 | 238 | } | |
238 | 239 | else 0 | |
239 | 240 | } | |
240 | - | let | |
241 | - | let | |
241 | + | let as = (af - ai) | |
242 | + | let at = { | |
242 | 243 | let Q = getInteger(this, "Total_of_Swaps_Txns") | |
243 | 244 | if ($isInstanceOf(Q, "Int")) | |
244 | 245 | then { | |
247 | 248 | } | |
248 | 249 | else 0 | |
249 | 250 | } | |
250 | - | let | |
251 | + | let au = (at + 1) | |
251 | 252 | if ((u == toBase58String(a))) | |
252 | 253 | then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input and Attach Whitelisted Asset as an attachment Token in payment[1].") | |
253 | 254 | else if ((L != u)) | |
254 | 255 | then throw("Pair is not available in Whitelisted Asset.") | |
255 | - | else if ((O == | |
256 | + | else if ((O == aj)) | |
256 | 257 | then throw((u + " is not A Whitelisted Token Yet.")) | |
257 | 258 | else if ((h.assetId == a)) | |
258 | 259 | then throw("You can't Attach USDT as an Attached Payment. Only Whitelisted Tokens are accepted.") | |
259 | 260 | else if ((h.assetId != fromBase58String(u))) | |
260 | 261 | then throw(("Incorrect asset attached, please attach or send " + u)) | |
261 | - | else if (( | |
262 | + | else if ((af == 0)) | |
262 | 263 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
263 | - | else if (( | |
264 | + | else if ((ag == 0)) | |
264 | 265 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
265 | - | else if ((1000000 > | |
266 | + | else if ((1000000 > ai)) | |
266 | 267 | then throw((("Your Attached Asset Amount is very low. Attach More " + u) + " Tokens to Claim the minimum Amount of 1 dollar atleast.")) | |
267 | - | else if (( | |
268 | - | then throw((("Pool Only has a Liquidity of " + toString(( | |
269 | - | else [IntegerEntry(("Total_Swap_Fee_Collected_" + toBase58String(a)), | |
268 | + | else if ((ai > af)) | |
269 | + | then throw((("Pool Only has a Liquidity of " + toString((af / pow(10, 0, 6, 0, 0, UP)))) + " USDT. Add Liquidity into Pool.")) | |
270 | + | else [IntegerEntry(("Total_Swap_Fee_Collected_" + toBase58String(a)), ao), IntegerEntry("Total_of_Swaps_Txns", au), IntegerEntry(((("Balance_of_" + toBase58String(a)) + "_") + u), aq), IntegerEntry(((("Balance_of_" + u) + "_") + toBase58String(a)), as), ScriptTransfer(g.caller, am, a), ScriptTransfer(e, al, a)] | |
270 | 271 | } | |
271 | 272 | ||
272 | 273 | ||
277 | 278 | let h = if ((size(g.payments) == 1)) | |
278 | 279 | then g.payments[0] | |
279 | 280 | else throw("Only USDT Token is required as an Attached payment[1].") | |
280 | - | let | |
281 | - | let | |
282 | - | let | |
283 | - | let | |
281 | + | let af = getIntegerValue(this, ((("Balance_of_" + u) + "_") + toBase58String(a))) | |
282 | + | let ag = getIntegerValue(this, ((("Balance_of_" + toBase58String(a)) + "_") + u)) | |
283 | + | let av = fraction(af, ag, (af + h.amount)) | |
284 | + | let ai = (ag - av) | |
284 | 285 | let L = getString(this, ("Pair_UV_" + u)) | |
285 | 286 | let O = getStringValue(this, ("Voting_Status_" + u)) | |
286 | - | let | |
287 | - | let | |
288 | - | let | |
289 | - | let | |
290 | - | let | |
287 | + | let aj = "F" | |
288 | + | let ak = 1 | |
289 | + | let al = ((ai * ak) / 100) | |
290 | + | let am = (ai - al) | |
291 | + | let at = { | |
291 | 292 | let Q = getInteger(this, "Total_of_Swaps_Txns") | |
292 | 293 | if ($isInstanceOf(Q, "Int")) | |
293 | 294 | then { | |
296 | 297 | } | |
297 | 298 | else 0 | |
298 | 299 | } | |
299 | - | let | |
300 | - | let | |
300 | + | let au = (at + 1) | |
301 | + | let aw = { | |
301 | 302 | let Q = getInteger(this, ("Total_Swap_Fee_Collected_" + u)) | |
302 | 303 | if ($isInstanceOf(Q, "Int")) | |
303 | 304 | then { | |
306 | 307 | } | |
307 | 308 | else 0 | |
308 | 309 | } | |
309 | - | let | |
310 | - | let | |
310 | + | let ax = (aw + al) | |
311 | + | let ap = { | |
311 | 312 | let Q = getInteger(this, ((("Balance_of_" + toBase58String(a)) + "_") + u)) | |
312 | 313 | if ($isInstanceOf(Q, "Int")) | |
313 | 314 | then { | |
316 | 317 | } | |
317 | 318 | else 0 | |
318 | 319 | } | |
319 | - | let | |
320 | - | let | |
320 | + | let aq = (ag - ai) | |
321 | + | let ar = { | |
321 | 322 | let Q = getInteger(this, ((("Balance_of_" + u) + "_") + toBase58String(a))) | |
322 | 323 | if ($isInstanceOf(Q, "Int")) | |
323 | 324 | then { | |
326 | 327 | } | |
327 | 328 | else 0 | |
328 | 329 | } | |
329 | - | let | |
330 | + | let as = (af + h.amount) | |
330 | 331 | if ((L != u)) | |
331 | 332 | then throw("Pair is not available in Whitelisted Asset.") | |
332 | - | else if ((O == | |
333 | + | else if ((O == aj)) | |
333 | 334 | then throw((u + " is not A Whitelisted Token Yet.")) | |
334 | 335 | else if ((u == toBase58String(a))) | |
335 | 336 | then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input and Attach USDT as an attachment Token in payment[1].") | |
337 | 338 | then throw("You can Attach USDT as an Attached Payment[1] to Swap USDT To Required Token. Any other asset else than USDT will be rejected.") | |
338 | 339 | else if ((1000000 > h.amount)) | |
339 | 340 | then throw("Your Attached USDT Amount is very low. Attach Atleast 1 USDT to Claim the minimum Tokens.") | |
340 | - | else if (( | |
341 | + | else if ((af == 0)) | |
341 | 342 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
342 | - | else if (( | |
343 | + | else if ((ag == 0)) | |
343 | 344 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
344 | - | else if (( | |
345 | - | then throw((("Pool Only has a Liquidity of " + toString( | |
346 | - | else [IntegerEntry(("Total_Swap_Fee_Collected_" + u), | |
345 | + | else if ((ai > ag)) | |
346 | + | then throw((("Pool Only has a Liquidity of " + toString(ag)) + " Tokens. Add Liquidity into Pool.")) | |
347 | + | else [IntegerEntry(("Total_Swap_Fee_Collected_" + u), ax), IntegerEntry("Total_of_Swaps_Txns", au), IntegerEntry(((("Balance_of_" + toBase58String(a)) + "_") + u), aq), IntegerEntry(((("Balance_of_" + u) + "_") + toBase58String(a)), as), ScriptTransfer(g.caller, am, fromBase58String(u)), ScriptTransfer(f, al, fromBase58String(u))] | |
347 | 348 | } | |
348 | 349 | ||
349 | 350 | ||
355 | 356 | let x = value(g.payments[1]) | |
356 | 357 | let L = getString(this, ("Pair_UV_" + u)) | |
357 | 358 | let O = getStringValue(this, ("Voting_Status_" + u)) | |
358 | - | let | |
359 | - | let | |
360 | - | let | |
361 | - | let | |
362 | - | let | |
363 | - | let | |
364 | - | let | |
365 | - | let | |
366 | - | let | |
367 | - | let | |
359 | + | let ay = getIntegerValue(this, ("Decimals_of_" + u)) | |
360 | + | let aj = "F" | |
361 | + | let az = 100000 | |
362 | + | let aA = ay | |
363 | + | let aB = ((6 - aA) - 8) | |
364 | + | let af = getIntegerValue(this, ((("Balance_of_" + u) + "_") + toBase58String(a))) | |
365 | + | let ag = getIntegerValue(this, ((("Balance_of_" + toBase58String(a)) + "_") + u)) | |
366 | + | let aC = fraction(af, 1, ag) | |
367 | + | let aD = fraction(1, w.amount, aC) | |
368 | + | let aE = { | |
368 | 369 | let Q = getInteger(this, ((("Balance_of_" + u) + "_") + toBase58String(a))) | |
369 | 370 | if ($isInstanceOf(Q, "Int")) | |
370 | 371 | then { | |
373 | 374 | } | |
374 | 375 | else 0 | |
375 | 376 | } | |
376 | - | let | |
377 | - | let | |
377 | + | let aF = (aE + w.amount) | |
378 | + | let aG = { | |
378 | 379 | let Q = getInteger(this, ((("Balance_of_" + toBase58String(a)) + "_") + u)) | |
379 | 380 | if ($isInstanceOf(Q, "Int")) | |
380 | 381 | then { | |
383 | 384 | } | |
384 | 385 | else 0 | |
385 | 386 | } | |
386 | - | let | |
387 | + | let aH = (aG + x.amount) | |
387 | 388 | if ((L != u)) | |
388 | 389 | then throw("Pair is not available in Whitelisted Asset.") | |
389 | - | else if ((O == | |
390 | + | else if ((O == aj)) | |
390 | 391 | then throw((u + " is not A Whitelisted Token Yet.")) | |
391 | 392 | else if ((u == toBase58String(a))) | |
392 | 393 | then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input as well as in payment[1] and Attach USDT as an attachment Token in payment[2].") | |
400 | 401 | then throw("You Attached USDT asset for Liquidity in both payments, Kindly Attach payment1 = USDT Token and payment2 = Token you want to add for Liquidity.") | |
401 | 402 | else if ((x.assetId != fromBase58String(u))) | |
402 | 403 | then throw((("Asset String " + u) + " is not matching with attached payment[2]. String and payment[2] must be same.")) | |
403 | - | else if ((x.amount != | |
404 | - | then throw(("Attached payment[2] quantity is not matching as per attached payment[1] USDT.It must be " + toString( | |
405 | - | else [IntegerEntry(((("Balance_of_" + u) + "_") + toBase58String(a)), | |
404 | + | else if ((x.amount != aD)) | |
405 | + | then throw(("Attached payment[2] quantity is not matching as per attached payment[1] USDT.It must be " + toString(aD))) | |
406 | + | else [IntegerEntry(((("Balance_of_" + u) + "_") + toBase58String(a)), aF), IntegerEntry(((("Balance_of_" + toBase58String(a)) + "_") + u), aH)] | |
406 | 407 | } | |
407 | 408 | ||
408 | 409 | ||
415 | 416 | let O = getStringValue(this, ("Voting_Status_" + u)) | |
416 | 417 | let J = "P" | |
417 | 418 | let I = toBase58String(g.caller.bytes) | |
418 | - | let | |
419 | + | let aI = height | |
419 | 420 | let Z = (K - height) | |
420 | 421 | if ((L != u)) | |
421 | 422 | then throw("Pair is not available in Voting List.") | |
431 | 432 | ||
432 | 433 | ||
433 | 434 | @Callable(g) | |
434 | - | func RemoveEntry ( | |
435 | + | func RemoveEntry (aJ,aK,aL,aM) = [DeleteEntry(aJ), DeleteEntry(aK), DeleteEntry(aL), DeleteEntry(aM)] | |
435 | 436 | ||
436 | 437 | ||
437 | - | @Verifier( | |
438 | - | func | |
439 | - | let Q = | |
440 | - | sigVerify( | |
438 | + | @Verifier(aN) | |
439 | + | func aO () = { | |
440 | + | let Q = aN | |
441 | + | sigVerify(aN.bodyBytes, aN.proofs[0], aN.senderPublicKey) | |
441 | 442 | } | |
442 | 443 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H' | |
5 | 5 | ||
6 | 6 | let b = base58'44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y' | |
7 | 7 | ||
8 | 8 | let c = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr') | |
9 | 9 | ||
10 | 10 | let d = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr') | |
11 | 11 | ||
12 | 12 | let e = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr') | |
13 | 13 | ||
14 | 14 | let f = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr') | |
15 | 15 | ||
16 | 16 | @Callable(g) | |
17 | 17 | func IssueBallet () = { | |
18 | 18 | let h = value(g.payments[0]) | |
19 | 19 | let i = toBase58String(g.caller.bytes) | |
20 | 20 | let j = getIntegerValue(this, "BALLET/TN") | |
21 | 21 | let k = fraction(100000, h.amount, j) | |
22 | 22 | let l = getIntegerValue(this, "Total_Issued_Ballet:") | |
23 | 23 | let m = (l + k) | |
24 | 24 | let n = getIntegerValue(this, "Total_Ballet_Reserve_In_TN:") | |
25 | 25 | let o = (n + h.amount) | |
26 | 26 | let p = getIntegerValue(this, "Ballet_Backup_Value_In_TN:") | |
27 | 27 | let q = fraction(100000, o, m) | |
28 | 28 | let r = 1 | |
29 | 29 | let s = (100 - r) | |
30 | 30 | if (isDefined(h.assetId)) | |
31 | 31 | then throw("Incorrect asset attached, please attach TN.") | |
32 | 32 | else if ((5000000 > h.amount)) | |
33 | 33 | then throw("Please Attach minimum 0.05 TN To Issue Ballet Asset.") | |
34 | 34 | else [IntegerEntry("Total_Issued_Ballet:", m), IntegerEntry("Total_Ballet_Reserve_In_TN:", o), IntegerEntry("Ballet_Backup_Value_In_TN:", q), StringEntry("message", "<h1>Ballet Issued Successfully!</h1><br>"), Reissue(b, k, true), ScriptTransfer(g.caller, ((k * s) / 100), b), ScriptTransfer(d, ((k * r) / 100), b)] | |
35 | 35 | } | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | ||
39 | 39 | @Callable(g) | |
40 | 40 | func Liquidate () = { | |
41 | 41 | let i = toBase58String(g.callerPublicKey) | |
42 | 42 | let h = value(g.payments[0]) | |
43 | 43 | let l = getIntegerValue(this, "Total_Issued_Ballet:") | |
44 | 44 | let m = (l - h.amount) | |
45 | 45 | let n = getIntegerValue(this, "Total_Ballet_Reserve_In_TN:") | |
46 | 46 | let p = getIntegerValue(this, "Ballet_Backup_Value_In_TN:") | |
47 | 47 | let t = fraction(p, h.amount, 100000) | |
48 | 48 | let o = (n - t) | |
49 | 49 | let q = fraction(100000, o, m) | |
50 | 50 | if ((h.assetId != b)) | |
51 | 51 | then throw("Kindly Deposit Only 44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y (Ballet).") | |
52 | 52 | else if ((100000 > h.amount)) | |
53 | 53 | then throw("Attach Amount must be greater than 0.001 Ballet.") | |
54 | 54 | else [Burn(b, h.amount), IntegerEntry("Total_Issued_Ballet:", m), IntegerEntry("Total_Ballet_Reserve_In_TN:", o), IntegerEntry("Ballet_Backup_Value_In_TN:", q), StringEntry("message", "<h1>Ballet Liquidated Successfully!</h1><br>"), ScriptTransfer(g.caller, t, unit)] | |
55 | 55 | } | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | ||
59 | 59 | @Callable(g) | |
60 | 60 | func RegisterPairForVoting (u,v) = { | |
61 | 61 | let w = value(g.payments[0]) | |
62 | 62 | let x = value(g.payments[1]) | |
63 | 63 | let y = 90 | |
64 | 64 | let i = toBase58String(g.caller.bytes) | |
65 | 65 | let z = !(isDefined(x.assetId)) | |
66 | 66 | let A = 1440 | |
67 | 67 | let B = (A * v) | |
68 | 68 | let C = (B - 43199) | |
69 | 69 | let D = ((100000 + ((11574 * C) / 10000)) * 100000000) | |
70 | 70 | let E = (height + B) | |
71 | 71 | let F = getString(this, ("Pair_UV_" + u)) | |
72 | 72 | let G = "F" | |
73 | 73 | let H = fromBase58String(u) | |
74 | 74 | if ((43 > size(u))) | |
75 | 75 | then throw("Wrong AssetID is Entered for Voting. Please Enter a Valid AssetID. Probably you entered an AssetID less than 43 Chars.") | |
76 | 76 | else if ((29 >= v)) | |
77 | 77 | then throw("Enter no. of days in between 30 to 90.") | |
78 | 78 | else if ((v > y)) | |
79 | 79 | then throw("You Entered days greater than 90 please Enter no. of days in between 1 to 90.") | |
80 | 80 | else if ((F == u)) | |
81 | 81 | then throw("Pair Already Exist in Voting List.") | |
82 | 82 | else if ((size(g.payments) != 2)) | |
83 | 83 | then throw("Two attached assets expected as payment. Kindly Attach payment1 = Ballet Token & payment2 = Token you want to List for Voting.") | |
84 | 84 | else if ((w.assetId != b)) | |
85 | 85 | then throw("Incorrect asset attached for Voting in payment[1], please attach 1000 Ballet Token only.") | |
86 | 86 | else if ((w.amount != 10000000)) | |
87 | 87 | then throw((((("You attached only " + toString(fraction(w.amount, 1, 100000000))) + ".") + toString(fraction(w.amount, 1, 10000000))) + " Ballet for Voting in payment[1], please attach 1000 Ballet Token only.")) | |
88 | 88 | else if ((x.assetId != H)) | |
89 | 89 | then throw("Input String and Attached AssetID in payment2 is not matching.") | |
90 | 90 | else if ((z == true)) | |
91 | 91 | then throw("You Attached TN Asset ID for Voting, please attach the Token You want to list in payment[2].") | |
92 | 92 | else if ((x.assetId == b)) | |
93 | 93 | then throw("You Attached Ballet asset for Voting in both payments, please attach the Token You want to list in payment[2].") | |
94 | 94 | else [StringEntry(("Pair_UV_" + u), u), StringEntry(("Voting_Status_" + u), G), IntegerEntry(("Voting_SH_" + u), height), IntegerEntry(("Voting_EH_" + u), E), IntegerEntry(("Voting_Period_" + u), B), IntegerEntry(("Listing_Fee_" + u), w.amount), IntegerEntry(("Votes_Req_" + u), D), IntegerEntry(("Votes_Rcvd_" + u), 0), ScriptTransfer(c, w.amount, b)] | |
95 | 95 | } | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | ||
99 | 99 | @Callable(g) | |
100 | 100 | func DoVoting (u) = { | |
101 | 101 | let h = if ((size(g.payments) == 1)) | |
102 | 102 | then g.payments[0] | |
103 | 103 | else throw("Ballet Token is required as Attached payment") | |
104 | 104 | let I = toBase58String(g.caller.bytes) | |
105 | 105 | let J = "P" | |
106 | 106 | let K = getIntegerValue(this, ("Voting_EH_" + u)) | |
107 | 107 | let L = getString(this, ("Pair_UV_" + u)) | |
108 | 108 | let M = getIntegerValue(this, ("Votes_Req_" + u)) | |
109 | 109 | let N = getIntegerValue(this, ("Votes_Rcvd_" + u)) | |
110 | 110 | let O = getStringValue(this, ("Voting_Status_" + u)) | |
111 | 111 | let P = { | |
112 | 112 | let Q = getInteger(this, ("Votes_Rcvd_" + u)) | |
113 | 113 | if ($isInstanceOf(Q, "Int")) | |
114 | 114 | then { | |
115 | 115 | let R = Q | |
116 | 116 | R | |
117 | 117 | } | |
118 | 118 | else 0 | |
119 | 119 | } | |
120 | 120 | let S = (P + h.amount) | |
121 | 121 | let T = { | |
122 | 122 | let Q = getInteger(this, ((("Votes_Rcvd_" + I) + "_") + u)) | |
123 | 123 | if ($isInstanceOf(Q, "Int")) | |
124 | 124 | then { | |
125 | 125 | let U = Q | |
126 | 126 | U | |
127 | 127 | } | |
128 | 128 | else 0 | |
129 | 129 | } | |
130 | 130 | let V = (T + h.amount) | |
131 | 131 | let W = (N >= M) | |
132 | 132 | let X = valueOrErrorMessage(assetInfo(fromBase58String(u)), (("Asset " + u) + " doesn't exist")) | |
133 | 133 | if ((L != u)) | |
134 | 134 | then throw("Pair is not available in Voting List.") | |
135 | 135 | else if ((height > K)) | |
136 | 136 | then throw((("Voting timeline for " + u) + " is expired.")) | |
137 | 137 | else if ((h.assetId != b)) | |
138 | 138 | then throw((("Kindly Attach Only " + toBase58String(b)) + " Token.")) | |
139 | 139 | else if ((O == J)) | |
140 | 140 | then throw((("Voting for " + u) + " pair is completed and it’s available in whitelist.")) | |
141 | 141 | else if (W) | |
142 | 142 | then [StringEntry(("Voting_Status_" + u), J), IntegerEntry(((("Balance_of_" + u) + "_") + toBase58String(a)), 0), IntegerEntry(((("Balance_of_" + toBase58String(a)) + "_") + u), 0), IntegerEntry(("Total_of_pair_Txns_" + u), 0), IntegerEntry("Total_of_Swaps_Txns", 0), IntegerEntry(("Total_Swap_Fee_Collected_" + toBase58String(a)), 0), IntegerEntry(("Total_Swap_Fee_Collected_" + u), 0)] | |
143 | 143 | else [IntegerEntry(("Votes_Rcvd_" + u), S), IntegerEntry(((("Votes_Rcvd_" + I) + "_") + u), V)] | |
144 | 144 | } | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | ||
148 | 148 | @Callable(g) | |
149 | 149 | func WithdrawVotedTokens (u) = { | |
150 | 150 | let h = if ((size(g.payments) == 1)) | |
151 | 151 | then g.payments[0] | |
152 | 152 | else throw("0.1 TN Token is required as Attached payment.") | |
153 | 153 | let I = toBase58String(g.caller.bytes) | |
154 | 154 | let K = getIntegerValue(this, ("Voting_EH_" + u)) | |
155 | 155 | let L = getString(this, ("Pair_UV_" + u)) | |
156 | 156 | let Y = valueOrErrorMessage(getInteger(this, ((("Votes_Rcvd_" + I) + "_") + u)), (I + " Address never voted and exist in list.")) | |
157 | 157 | let Z = (K - height) | |
158 | 158 | if ((L != u)) | |
159 | 159 | then throw("Pair is not available in Voting List.") | |
160 | 160 | else if ((K > height)) | |
161 | 161 | then throw((("Voting Already Running. You can withdraw your Ballet Token after " + toString(Z)) + " blocks")) | |
162 | 162 | else if ((0 >= Y)) | |
163 | 163 | then throw("You don't have any dues of ballet balance in this Voting Pair.") | |
164 | 164 | else if (isDefined(h.assetId)) | |
165 | 165 | then throw("Don't attach any other asset. Please attach 0.1 TN as a fee to release your token") | |
166 | 166 | else if ((h.amount != 10000000)) | |
167 | 167 | then throw("Please attach 0.1 TN as a fee to release your token.") | |
168 | 168 | else [IntegerEntry(((("Votes_Rcvd_" + I) + "_") + u), 0), ScriptTransfer(g.caller, Y, b)] | |
169 | 169 | } | |
170 | 170 | ||
171 | 171 | ||
172 | 172 | ||
173 | 173 | @Callable(g) | |
174 | 174 | func IssueLPToken (u) = { | |
175 | 175 | let aa = valueOrErrorMessage(getString(this, "LP_Admin_Rights"), "LP Admin Rights are Not Included into Smart Contract. Deploy Admin Rights First.") | |
176 | 176 | let I = toBase58String(g.caller.bytes) | |
177 | 177 | let L = valueOrErrorMessage(getString(this, ("Pair_UV_" + u)), "Asset not Found in Whitelisted Token") | |
178 | 178 | let X = valueOrErrorMessage(assetInfo(fromBase58String(u)), (("Asset " + u) + " doesn't exist")) | |
179 | 179 | let ab = X.name | |
180 | 180 | let J = "P" | |
181 | 181 | let O = valueOrErrorMessage(getString(this, ("Voting_Status_" + u)), ("Voting Status is Missing for " + u)) | |
182 | - | let ac = Issue(("LP_" + take(ab, 6)), ((("LP_" + take(ab, 6)) + " is a Liquidity Provider Token Issued Against ") + u), 1, 0, true) | |
183 | - | let ad = calculateAssetId(ac) | |
182 | + | let ac = valueOrErrorMessage(getString(this, ("LP_" + u)), (("LP Token " + u) + " not found in List.")) | |
183 | + | let ad = Issue(("LP_" + take(ab, 6)), ((("LP_" + take(ab, 6)) + " is a Liquidity Provider Token Issued Against ") + u), 1, 0, true) | |
184 | + | let ae = calculateAssetId(ad) | |
184 | 185 | if ((aa != I)) | |
185 | 186 | then throw((("Your are not allowded to Issue LP Token. Only " + aa) + " can issue the LP Token.")) | |
186 | 187 | else if ((L != u)) | |
187 | 188 | then throw("Pair is not available in Voting List.") | |
188 | 189 | else if ((O != J)) | |
189 | 190 | then throw("LP Token must be a Whitelisted Token.") | |
190 | - | else [ | |
191 | + | else [ad, StringEntry(("LP_" + u), toBase58String(ae))] | |
191 | 192 | } | |
192 | 193 | ||
193 | 194 | ||
194 | 195 | ||
195 | 196 | @Callable(g) | |
196 | 197 | func SwapAssetToUSDTPairEntry (u) = { | |
197 | 198 | let I = toBase58String(g.caller.bytes) | |
198 | 199 | let h = if ((size(g.payments) == 1)) | |
199 | 200 | then g.payments[0] | |
200 | 201 | else throw("Whitelisted Token is required as Attached payment[1].") | |
201 | 202 | let L = getString(this, ("Pair_UV_" + u)) | |
202 | 203 | let O = getStringValue(this, ("Voting_Status_" + u)) | |
203 | - | let | |
204 | - | let | |
205 | - | let | |
206 | - | let | |
207 | - | let | |
208 | - | let | |
209 | - | let | |
210 | - | let | |
211 | - | let | |
204 | + | let af = getIntegerValue(this, ((("Balance_of_" + u) + "_") + toBase58String(a))) | |
205 | + | let ag = getIntegerValue(this, ((("Balance_of_" + toBase58String(a)) + "_") + u)) | |
206 | + | let ah = fraction(af, ag, (ag + h.amount)) | |
207 | + | let ai = (af - ah) | |
208 | + | let aj = "F" | |
209 | + | let ak = 1 | |
210 | + | let al = ((ai * ak) / 100) | |
211 | + | let am = (ai - al) | |
212 | + | let an = { | |
212 | 213 | let Q = getInteger(this, ("Total_Swap_Fee_Collected_" + toBase58String(a))) | |
213 | 214 | if ($isInstanceOf(Q, "Int")) | |
214 | 215 | then { | |
215 | 216 | let R = Q | |
216 | 217 | R | |
217 | 218 | } | |
218 | 219 | else 0 | |
219 | 220 | } | |
220 | - | let | |
221 | - | let | |
221 | + | let ao = (an + al) | |
222 | + | let ap = { | |
222 | 223 | let Q = getInteger(this, ((("Balance_of_" + toBase58String(a)) + "_") + u)) | |
223 | 224 | if ($isInstanceOf(Q, "Int")) | |
224 | 225 | then { | |
225 | 226 | let R = Q | |
226 | 227 | R | |
227 | 228 | } | |
228 | 229 | else 0 | |
229 | 230 | } | |
230 | - | let | |
231 | - | let | |
231 | + | let aq = (ag + h.amount) | |
232 | + | let ar = { | |
232 | 233 | let Q = getInteger(this, ((("Balance_of_" + u) + "_") + toBase58String(a))) | |
233 | 234 | if ($isInstanceOf(Q, "Int")) | |
234 | 235 | then { | |
235 | 236 | let R = Q | |
236 | 237 | R | |
237 | 238 | } | |
238 | 239 | else 0 | |
239 | 240 | } | |
240 | - | let | |
241 | - | let | |
241 | + | let as = (af - ai) | |
242 | + | let at = { | |
242 | 243 | let Q = getInteger(this, "Total_of_Swaps_Txns") | |
243 | 244 | if ($isInstanceOf(Q, "Int")) | |
244 | 245 | then { | |
245 | 246 | let R = Q | |
246 | 247 | R | |
247 | 248 | } | |
248 | 249 | else 0 | |
249 | 250 | } | |
250 | - | let | |
251 | + | let au = (at + 1) | |
251 | 252 | if ((u == toBase58String(a))) | |
252 | 253 | then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input and Attach Whitelisted Asset as an attachment Token in payment[1].") | |
253 | 254 | else if ((L != u)) | |
254 | 255 | then throw("Pair is not available in Whitelisted Asset.") | |
255 | - | else if ((O == | |
256 | + | else if ((O == aj)) | |
256 | 257 | then throw((u + " is not A Whitelisted Token Yet.")) | |
257 | 258 | else if ((h.assetId == a)) | |
258 | 259 | then throw("You can't Attach USDT as an Attached Payment. Only Whitelisted Tokens are accepted.") | |
259 | 260 | else if ((h.assetId != fromBase58String(u))) | |
260 | 261 | then throw(("Incorrect asset attached, please attach or send " + u)) | |
261 | - | else if (( | |
262 | + | else if ((af == 0)) | |
262 | 263 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
263 | - | else if (( | |
264 | + | else if ((ag == 0)) | |
264 | 265 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
265 | - | else if ((1000000 > | |
266 | + | else if ((1000000 > ai)) | |
266 | 267 | then throw((("Your Attached Asset Amount is very low. Attach More " + u) + " Tokens to Claim the minimum Amount of 1 dollar atleast.")) | |
267 | - | else if (( | |
268 | - | then throw((("Pool Only has a Liquidity of " + toString(( | |
269 | - | else [IntegerEntry(("Total_Swap_Fee_Collected_" + toBase58String(a)), | |
268 | + | else if ((ai > af)) | |
269 | + | then throw((("Pool Only has a Liquidity of " + toString((af / pow(10, 0, 6, 0, 0, UP)))) + " USDT. Add Liquidity into Pool.")) | |
270 | + | else [IntegerEntry(("Total_Swap_Fee_Collected_" + toBase58String(a)), ao), IntegerEntry("Total_of_Swaps_Txns", au), IntegerEntry(((("Balance_of_" + toBase58String(a)) + "_") + u), aq), IntegerEntry(((("Balance_of_" + u) + "_") + toBase58String(a)), as), ScriptTransfer(g.caller, am, a), ScriptTransfer(e, al, a)] | |
270 | 271 | } | |
271 | 272 | ||
272 | 273 | ||
273 | 274 | ||
274 | 275 | @Callable(g) | |
275 | 276 | func SwapUSDTToAssetPairEntry (u) = { | |
276 | 277 | let I = toBase58String(g.caller.bytes) | |
277 | 278 | let h = if ((size(g.payments) == 1)) | |
278 | 279 | then g.payments[0] | |
279 | 280 | else throw("Only USDT Token is required as an Attached payment[1].") | |
280 | - | let | |
281 | - | let | |
282 | - | let | |
283 | - | let | |
281 | + | let af = getIntegerValue(this, ((("Balance_of_" + u) + "_") + toBase58String(a))) | |
282 | + | let ag = getIntegerValue(this, ((("Balance_of_" + toBase58String(a)) + "_") + u)) | |
283 | + | let av = fraction(af, ag, (af + h.amount)) | |
284 | + | let ai = (ag - av) | |
284 | 285 | let L = getString(this, ("Pair_UV_" + u)) | |
285 | 286 | let O = getStringValue(this, ("Voting_Status_" + u)) | |
286 | - | let | |
287 | - | let | |
288 | - | let | |
289 | - | let | |
290 | - | let | |
287 | + | let aj = "F" | |
288 | + | let ak = 1 | |
289 | + | let al = ((ai * ak) / 100) | |
290 | + | let am = (ai - al) | |
291 | + | let at = { | |
291 | 292 | let Q = getInteger(this, "Total_of_Swaps_Txns") | |
292 | 293 | if ($isInstanceOf(Q, "Int")) | |
293 | 294 | then { | |
294 | 295 | let R = Q | |
295 | 296 | R | |
296 | 297 | } | |
297 | 298 | else 0 | |
298 | 299 | } | |
299 | - | let | |
300 | - | let | |
300 | + | let au = (at + 1) | |
301 | + | let aw = { | |
301 | 302 | let Q = getInteger(this, ("Total_Swap_Fee_Collected_" + u)) | |
302 | 303 | if ($isInstanceOf(Q, "Int")) | |
303 | 304 | then { | |
304 | 305 | let R = Q | |
305 | 306 | R | |
306 | 307 | } | |
307 | 308 | else 0 | |
308 | 309 | } | |
309 | - | let | |
310 | - | let | |
310 | + | let ax = (aw + al) | |
311 | + | let ap = { | |
311 | 312 | let Q = getInteger(this, ((("Balance_of_" + toBase58String(a)) + "_") + u)) | |
312 | 313 | if ($isInstanceOf(Q, "Int")) | |
313 | 314 | then { | |
314 | 315 | let R = Q | |
315 | 316 | R | |
316 | 317 | } | |
317 | 318 | else 0 | |
318 | 319 | } | |
319 | - | let | |
320 | - | let | |
320 | + | let aq = (ag - ai) | |
321 | + | let ar = { | |
321 | 322 | let Q = getInteger(this, ((("Balance_of_" + u) + "_") + toBase58String(a))) | |
322 | 323 | if ($isInstanceOf(Q, "Int")) | |
323 | 324 | then { | |
324 | 325 | let R = Q | |
325 | 326 | R | |
326 | 327 | } | |
327 | 328 | else 0 | |
328 | 329 | } | |
329 | - | let | |
330 | + | let as = (af + h.amount) | |
330 | 331 | if ((L != u)) | |
331 | 332 | then throw("Pair is not available in Whitelisted Asset.") | |
332 | - | else if ((O == | |
333 | + | else if ((O == aj)) | |
333 | 334 | then throw((u + " is not A Whitelisted Token Yet.")) | |
334 | 335 | else if ((u == toBase58String(a))) | |
335 | 336 | then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input and Attach USDT as an attachment Token in payment[1].") | |
336 | 337 | else if ((h.assetId != a)) | |
337 | 338 | then throw("You can Attach USDT as an Attached Payment[1] to Swap USDT To Required Token. Any other asset else than USDT will be rejected.") | |
338 | 339 | else if ((1000000 > h.amount)) | |
339 | 340 | then throw("Your Attached USDT Amount is very low. Attach Atleast 1 USDT to Claim the minimum Tokens.") | |
340 | - | else if (( | |
341 | + | else if ((af == 0)) | |
341 | 342 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
342 | - | else if (( | |
343 | + | else if ((ag == 0)) | |
343 | 344 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
344 | - | else if (( | |
345 | - | then throw((("Pool Only has a Liquidity of " + toString( | |
346 | - | else [IntegerEntry(("Total_Swap_Fee_Collected_" + u), | |
345 | + | else if ((ai > ag)) | |
346 | + | then throw((("Pool Only has a Liquidity of " + toString(ag)) + " Tokens. Add Liquidity into Pool.")) | |
347 | + | else [IntegerEntry(("Total_Swap_Fee_Collected_" + u), ax), IntegerEntry("Total_of_Swaps_Txns", au), IntegerEntry(((("Balance_of_" + toBase58String(a)) + "_") + u), aq), IntegerEntry(((("Balance_of_" + u) + "_") + toBase58String(a)), as), ScriptTransfer(g.caller, am, fromBase58String(u)), ScriptTransfer(f, al, fromBase58String(u))] | |
347 | 348 | } | |
348 | 349 | ||
349 | 350 | ||
350 | 351 | ||
351 | 352 | @Callable(g) | |
352 | 353 | func AddLiquidity (u) = { | |
353 | 354 | let I = toBase58String(g.caller.bytes) | |
354 | 355 | let w = value(g.payments[0]) | |
355 | 356 | let x = value(g.payments[1]) | |
356 | 357 | let L = getString(this, ("Pair_UV_" + u)) | |
357 | 358 | let O = getStringValue(this, ("Voting_Status_" + u)) | |
358 | - | let | |
359 | - | let | |
360 | - | let | |
361 | - | let | |
362 | - | let | |
363 | - | let | |
364 | - | let | |
365 | - | let | |
366 | - | let | |
367 | - | let | |
359 | + | let ay = getIntegerValue(this, ("Decimals_of_" + u)) | |
360 | + | let aj = "F" | |
361 | + | let az = 100000 | |
362 | + | let aA = ay | |
363 | + | let aB = ((6 - aA) - 8) | |
364 | + | let af = getIntegerValue(this, ((("Balance_of_" + u) + "_") + toBase58String(a))) | |
365 | + | let ag = getIntegerValue(this, ((("Balance_of_" + toBase58String(a)) + "_") + u)) | |
366 | + | let aC = fraction(af, 1, ag) | |
367 | + | let aD = fraction(1, w.amount, aC) | |
368 | + | let aE = { | |
368 | 369 | let Q = getInteger(this, ((("Balance_of_" + u) + "_") + toBase58String(a))) | |
369 | 370 | if ($isInstanceOf(Q, "Int")) | |
370 | 371 | then { | |
371 | 372 | let R = Q | |
372 | 373 | R | |
373 | 374 | } | |
374 | 375 | else 0 | |
375 | 376 | } | |
376 | - | let | |
377 | - | let | |
377 | + | let aF = (aE + w.amount) | |
378 | + | let aG = { | |
378 | 379 | let Q = getInteger(this, ((("Balance_of_" + toBase58String(a)) + "_") + u)) | |
379 | 380 | if ($isInstanceOf(Q, "Int")) | |
380 | 381 | then { | |
381 | 382 | let R = Q | |
382 | 383 | R | |
383 | 384 | } | |
384 | 385 | else 0 | |
385 | 386 | } | |
386 | - | let | |
387 | + | let aH = (aG + x.amount) | |
387 | 388 | if ((L != u)) | |
388 | 389 | then throw("Pair is not available in Whitelisted Asset.") | |
389 | - | else if ((O == | |
390 | + | else if ((O == aj)) | |
390 | 391 | then throw((u + " is not A Whitelisted Token Yet.")) | |
391 | 392 | else if ((u == toBase58String(a))) | |
392 | 393 | then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input as well as in payment[1] and Attach USDT as an attachment Token in payment[2].") | |
393 | 394 | else if ((size(g.payments) != 2)) | |
394 | 395 | then throw("Two attached assets expected as payment in 50%-50%. Kindly Attach payment1 = USDT Token and payment2 = Token you want to add for Liquidity.") | |
395 | 396 | else if ((w.assetId != a)) | |
396 | 397 | then throw("Incorrect asset attached for Liquidity in payment[1], please attach USDT Token only.") | |
397 | 398 | else if ((10000000 > w.amount)) | |
398 | 399 | then throw("please attach atleast 10 USDT in payment[1].") | |
399 | 400 | else if ((x.assetId == a)) | |
400 | 401 | then throw("You Attached USDT asset for Liquidity in both payments, Kindly Attach payment1 = USDT Token and payment2 = Token you want to add for Liquidity.") | |
401 | 402 | else if ((x.assetId != fromBase58String(u))) | |
402 | 403 | then throw((("Asset String " + u) + " is not matching with attached payment[2]. String and payment[2] must be same.")) | |
403 | - | else if ((x.amount != | |
404 | - | then throw(("Attached payment[2] quantity is not matching as per attached payment[1] USDT.It must be " + toString( | |
405 | - | else [IntegerEntry(((("Balance_of_" + u) + "_") + toBase58String(a)), | |
404 | + | else if ((x.amount != aD)) | |
405 | + | then throw(("Attached payment[2] quantity is not matching as per attached payment[1] USDT.It must be " + toString(aD))) | |
406 | + | else [IntegerEntry(((("Balance_of_" + u) + "_") + toBase58String(a)), aF), IntegerEntry(((("Balance_of_" + toBase58String(a)) + "_") + u), aH)] | |
406 | 407 | } | |
407 | 408 | ||
408 | 409 | ||
409 | 410 | ||
410 | 411 | @Callable(g) | |
411 | 412 | func RemovePairEntry (u) = { | |
412 | 413 | let aa = getStringValue(this, "Polarity_Admin_Rights") | |
413 | 414 | let K = getIntegerValue(this, ("Voting_EH_" + u)) | |
414 | 415 | let L = getString(this, ("Pair_UV_" + u)) | |
415 | 416 | let O = getStringValue(this, ("Voting_Status_" + u)) | |
416 | 417 | let J = "P" | |
417 | 418 | let I = toBase58String(g.caller.bytes) | |
418 | - | let | |
419 | + | let aI = height | |
419 | 420 | let Z = (K - height) | |
420 | 421 | if ((L != u)) | |
421 | 422 | then throw("Pair is not available in Voting List.") | |
422 | 423 | else if ((aa != I)) | |
423 | 424 | then throw((("I know You are not An Admin. Only " + aa) + " has rights to remove the pair.")) | |
424 | 425 | else if ((K > height)) | |
425 | 426 | then throw((("Voting Already Running. You can remove the pair after " + toString(Z)) + " Blocks")) | |
426 | 427 | else if ((O == J)) | |
427 | 428 | then throw((u + " is now Whitelisted. So you can't remove it.")) | |
428 | 429 | else [DeleteEntry(("Pair_UV_" + u)), DeleteEntry(("Voting_SH_" + u)), DeleteEntry(("Voting_EH_" + u)), DeleteEntry(("Voting_Period_" + u)), DeleteEntry(("Votes_Req_" + u)), DeleteEntry(("Listing_Fee_" + u)), DeleteEntry(("Voting_Status_" + u)), DeleteEntry(("Votes_Rcvd_" + u))] | |
429 | 430 | } | |
430 | 431 | ||
431 | 432 | ||
432 | 433 | ||
433 | 434 | @Callable(g) | |
434 | - | func RemoveEntry ( | |
435 | + | func RemoveEntry (aJ,aK,aL,aM) = [DeleteEntry(aJ), DeleteEntry(aK), DeleteEntry(aL), DeleteEntry(aM)] | |
435 | 436 | ||
436 | 437 | ||
437 | - | @Verifier( | |
438 | - | func | |
439 | - | let Q = | |
440 | - | sigVerify( | |
438 | + | @Verifier(aN) | |
439 | + | func aO () = { | |
440 | + | let Q = aN | |
441 | + | sigVerify(aN.bodyBytes, aN.proofs[0], aN.senderPublicKey) | |
441 | 442 | } | |
442 | 443 |
github/deemru/w8io/026f985 99.41 ms ◑