tx · 2JBKEPB1sHgtHKc63BdhaWfeBUgpUmUayN1x3JYBpCRX

3N8b7mamWRbw6YjYJgsNGzTsKAbsbf4zVSA:  -0.03000000 Waves

2022.07.09 20:47 [2132485] smart account 3N8b7mamWRbw6YjYJgsNGzTsKAbsbf4zVSA > SELF 0.00000000 Waves

{ "type": 13, "id": "2JBKEPB1sHgtHKc63BdhaWfeBUgpUmUayN1x3JYBpCRX", "fee": 3000000, "feeAssetId": null, "timestamp": 1657388925241, "version": 2, "chainId": 84, "sender": "3N8b7mamWRbw6YjYJgsNGzTsKAbsbf4zVSA", "senderPublicKey": "FA2TFZp55AkfpLAK7toKNNdufbHH3cY6aCSSMFcFPafT", "proofs": [ "3YmSXcwh8jm22xbXyusSRRzZNNFm9CjPqz1Z2JVajYHYDzpLWrpwdZadF6QPDnNmSBdb6Pjn3wBto18hmcZm55Qi" ], "script": "base64:AAIFAAAAAAAAAFkIAhILCgkICAgICAgBAQQSAwoBBBIFCgMEBAQSAwoBARIDCgEEEgMKAQESAwoBCBIGCgQICAgEEgUKAwQICBIGCgQECAgBEgQKAggIEgUKAwgIARIECgIICAAAACcAAAAABG1haW4CAAAACm1haW5fYXNzZXQAAAAAAWwCAAAACWxwX2Fzc2V0XwAAAAADYWExAgAAAAZwb29sX18AAAAAAnNhAgAAAA9TVEFLSU5HX0FNT1VOVF8AAAAAAmxhAgAAAA1MRUFTRV9BTU9VTlRfAAAAAAJpeAIAAAADSURfAAAAAAdyYXRlRmVlAgAAABNwZXJjZW50YWdlX3JhdGVfZmVlAAAAAA5kZXBvc2l0X2hlaWdodAIAAAASRGVwb3NpdF9IZWlnaHRfT2ZfAAAAAAJEOAAAAAAABfXhAAAAAAACRDYAAAAAAAAPQkAAAAAAD2NvbnRyYWN0QWRkcmVzcwkBAAAAB0FkZHJlc3MAAAABCAUAAAAEdGhpcwAAAAVieXRlcwAAAAAMZXhjaGFuZ2VSYXRlAAAAAAAAAAAFAQAAABFnZXRBZGRyZXNzSWZWYWxpZ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5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwBgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmQpAzn", "height": 2132485, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DH4pBApSyMTd928Fgxrh9puS37y8DtQuzi5eyXd1AHwA Next: 4pFNkRehMPcRDvbzATTJSe2u8B9qsyNAG2HpVJ2zCUAF Diff:
OldNewDifferences
7676 func validPoolK (key) = valueOrElse(getInteger(this, key), 0)
7777
7878
79-func kpAddress (address,key) = valueOrElse(getIntegerValue(this, ((key + "_") + address)), 0)
79+func kpAddress (address,key) = match getIntegerValue(this, ((key + "_") + address)) {
80+ case t: Int =>
81+ t
82+ case _ =>
83+ 0
84+}
8085
8186
8287 func poolAA (address,key,asset) = valueOrElse(getIntegerValue(this, ((((key + "_") + address) + "_") + asset)), 1)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let main = "main_asset"
55
66 let l = "lp_asset_"
77
88 let aa1 = "pool__"
99
1010 let sa = "STAKING_AMOUNT_"
1111
1212 let la = "LEASE_AMOUNT_"
1313
1414 let ix = "ID_"
1515
1616 let rateFee = "percentage_rate_fee"
1717
1818 let deposit_height = "Deposit_Height_Of_"
1919
2020 let D8 = 100000000
2121
2222 let D6 = 1000000
2323
2424 let contractAddress = Address(this.bytes)
2525
2626 let exchangeRate = 5
2727
2828 func getAddressIfValid (address) = toString(valueOrErrorMessage(addressFromString(address), (("Can't parse " + address) + " as address")))
2929
3030
3131 func getAssetIfValid (assetId) = toBase58String(valueOrErrorMessage(value(assetInfo(fromBase58String(assetId))).id, (("Asset Id: " + assetId) + " is invalid.")))
3232
3333
3434 func getAmountBlockAsset (assetId) = valueOrElse(getIntegerValue(this, assetId), 0)
3535
3636
3737 func getAssetName (assetId) = match assetInfo(assetId) {
3838 case asset: Asset =>
3939 asset.name
4040 case _ =>
4141 throw("Can't find asset")
4242 }
4343
4444
4545 let ac = "activate"
4646
4747 let poolAc = "activate_pools"
4848
4949 let swapAc = "activate_swap"
5050
5151 let liquidityAc = "activate_liquidity"
5252
5353 let bcD = "block_distribuition"
5454
5555 let total_locked = "Total_Tokens_Locked_"
5656
5757 let usdn = "usdn_asset"
5858
5959 let usdt = "usdt_asset"
6060
6161 let usdc = "usdc_asset"
6262
6363 let ngnn = "ngnn_asset"
6464
6565 let eurn = "eurn_asset"
6666
6767 let waves = "WAVES"
6868
6969 let aWaves = "accept_waves"
7070
7171 let WAVES = unit
7272
7373 func kp (asset1,asset2) = (((aa1 + asset1) + "_") + asset2)
7474
7575
7676 func validPoolK (key) = valueOrElse(getInteger(this, key), 0)
7777
7878
79-func kpAddress (address,key) = valueOrElse(getIntegerValue(this, ((key + "_") + address)), 0)
79+func kpAddress (address,key) = match getIntegerValue(this, ((key + "_") + address)) {
80+ case t: Int =>
81+ t
82+ case _ =>
83+ 0
84+}
8085
8186
8287 func poolAA (address,key,asset) = valueOrElse(getIntegerValue(this, ((((key + "_") + address) + "_") + asset)), 1)
8388
8489
8590 func assetP (key,asset) = valueOrElse(getIntegerValue(this, ((key + "_") + asset)), 1)
8691
8792
8893 func pkey (Asset1,Asset2,address) = (((deposit_height + kp(Asset1, Asset2)) + "_") + address)
8994
9095
9196 func lpBlocked (address,key) = valueOrElse(getIntegerValue(this, ((("STAKE_LP_" + address) + "_") + key)), 0)
9297
9398
9499 func adminVerification () = match getStringValue(this, "admin") {
95100 case t: String =>
96101 Address(fromBase58String(t))
97102 case _ =>
98103 this
99104 }
100105
101106
102107 func validateAsset (assetS,stringAsset,acWaves) = if (if ((assetS == WAVES))
103108 then (stringAsset == "WAVES")
104109 else false)
105110 then if (acWaves)
106111 then true
107112 else throw("The smart contract does not currently support Waves.")
108113 else if ((assetS == fromBase58String(stringAsset)))
109114 then true
110115 else false
111116
112117
113118 @Callable(i)
114119 func constructor (MainAssetId,UsdnAssetId,UsdtAssetId,UsdcAssetId,NgnnAssetId,EurnAssetId,percentageRateSwap,blockDistribution,acceptWaves) = if (if ((i.caller == this))
115120 then true
116121 else (i.caller == adminVerification()))
117122 then {
118123 let keyPoolUsdnUsdt = kp(UsdnAssetId, UsdtAssetId)
119124 let keyPoolUsdnUsdc = kp(UsdnAssetId, UsdcAssetId)
120125 let keyPoolUsdnNgnn = kp(UsdnAssetId, NgnnAssetId)
121126 let keyPoolUsdnWaves = kp(UsdnAssetId, waves)
122127 let keyPoolUsdnMainAsset = kp(UsdnAssetId, MainAssetId)
123128 let keyPoolUsdnEurn = kp(UsdnAssetId, EurnAssetId)
124129 let keyPoolUsdcUsdt = kp(UsdcAssetId, UsdtAssetId)
125130 let keyPoolUsdcNgnn = kp(UsdcAssetId, NgnnAssetId)
126131 let keyPoolUsdcWaves = kp(UsdcAssetId, waves)
127132 let keyPoolUsdcMainAsset = kp(UsdcAssetId, MainAssetId)
128133 let keyPoolUsdcEurn = kp(UsdcAssetId, EurnAssetId)
129134 let keyPoolUsdtNgnn = kp(UsdtAssetId, NgnnAssetId)
130135 let keyPoolUsdtWaves = kp(UsdtAssetId, waves)
131136 let keyPoolUsdtMainAsset = kp(UsdtAssetId, MainAssetId)
132137 let keyPoolUsdtEurn = kp(UsdtAssetId, EurnAssetId)
133138 let keyPoolNgnnWaves = kp(NgnnAssetId, waves)
134139 let keyPoolNgnnMainAsset = kp(NgnnAssetId, MainAssetId)
135140 let keyPoolNgnnEurn = kp(NgnnAssetId, EurnAssetId)
136141 let keyPoolMainWaves = kp(MainAssetId, waves)
137142 let keyPoolMainEurn = kp(MainAssetId, EurnAssetId)
138143 let keyPoolEurnWaves = kp(EurnAssetId, waves)
139144 [StringEntry(main, MainAssetId), StringEntry(usdn, UsdnAssetId), StringEntry(usdc, UsdcAssetId), StringEntry(usdt, UsdtAssetId), StringEntry(ngnn, NgnnAssetId), BooleanEntry(aWaves, acceptWaves), IntegerEntry(rateFee, percentageRateSwap), BooleanEntry(ac, true), BooleanEntry(swapAc, false), BooleanEntry(poolAc, false), BooleanEntry(liquidityAc, false), IntegerEntry(bcD, blockDistribution), IntegerEntry(keyPoolUsdnUsdt, 1), IntegerEntry(keyPoolUsdnWaves, 1), IntegerEntry(keyPoolUsdnUsdc, 1), IntegerEntry(keyPoolUsdnNgnn, 1), IntegerEntry(keyPoolUsdnMainAsset, 1), IntegerEntry(keyPoolUsdcUsdt, 1), IntegerEntry(keyPoolUsdcNgnn, 1), IntegerEntry(keyPoolUsdcWaves, 1), IntegerEntry(keyPoolUsdtMainAsset, 1), IntegerEntry(keyPoolUsdtNgnn, 1), IntegerEntry(keyPoolUsdtWaves, 1), IntegerEntry(keyPoolNgnnWaves, 1), IntegerEntry(keyPoolNgnnMainAsset, 1), IntegerEntry(keyPoolMainWaves, 1), IntegerEntry(keyPoolEurnWaves, 1), IntegerEntry(keyPoolMainEurn, 1), IntegerEntry(keyPoolNgnnEurn, 1), IntegerEntry(keyPoolUsdcEurn, 1), IntegerEntry(keyPoolUsdnEurn, 1), IntegerEntry(keyPoolUsdtEurn, 1), StringEntry(eurn, EurnAssetId)]
140145 }
141146 else throw("Only the Admin itself can invoke this function")
142147
143148
144149
145150 @Callable(i)
146151 func activate (v) = if (if ((i.caller == this))
147152 then true
148153 else (i.caller == adminVerification()))
149154 then [BooleanEntry(ac, v)]
150155 else throw("Only the Admin itself can invoke this function")
151156
152157
153158
154159 @Callable(i)
155160 func maintenance (pools,swap,stake) = if (if ((i.caller == this))
156161 then true
157162 else (i.caller == adminVerification()))
158163 then [BooleanEntry(poolAc, pools), BooleanEntry(swapAc, swap), BooleanEntry(liquidityAc, stake)]
159164 else throw("Only the Admin itself can invoke this function")
160165
161166
162167
163168 @Callable(i)
164169 func percentualRateFeeSwapEdit (rate) = if (if ((i.caller == this))
165170 then true
166171 else (i.caller == adminVerification()))
167172 then [IntegerEntry(rateFee, rate)]
168173 else throw("Only the Admin itself can invoke this function")
169174
170175
171176
172177 @Callable(i)
173178 func acceptWaves (activate) = if (if ((i.caller == this))
174179 then true
175180 else (i.caller == adminVerification()))
176181 then [BooleanEntry(aWaves, activate)]
177182 else throw("Only the Admin itself can invoke this function")
178183
179184
180185
181186 @Callable(i)
182187 func blockDistribution (newValue) = if (if ((i.caller == this))
183188 then true
184189 else (i.caller == adminVerification()))
185190 then [IntegerEntry(bcD, newValue)]
186191 else throw("Only the Admin itself can invoke this function")
187192
188193
189194
190195 @Callable(i)
191196 func addAdmin (address) = if (if ((i.caller == this))
192197 then true
193198 else (i.caller == adminVerification()))
194199 then [StringEntry("admin", address)]
195200 else throw("Only the Admin itself can invoke this function")
196201
197202
198203
199204 @Callable(i)
200205 func lpAssetCreateForPairPool (asset1,asset2,Name,customName) = {
201206 let nameAsset1 = if ((asset1 == waves))
202207 then waves
203208 else getAssetName(fromBase58String(asset1))
204209 let nameAsset2 = if ((asset2 == waves))
205210 then waves
206211 else getAssetName(fromBase58String(asset2))
207212 let name = if (customName)
208213 then Name
209214 else ((nameAsset1 + "_") + nameAsset2)
210215 let key = validPoolK(kp(asset1, asset2))
211216 if (if ((i.caller == this))
212217 then true
213218 else (i.caller == adminVerification()))
214219 then if (!((key == 0)))
215220 then {
216221 let assetLpCreate = Issue(name, ((("LP asset for pool liquidity in AxAi Swap pair " + asset1) + "_") + asset2), 1, 8, true)
217222 let idAssetLp = calculateAssetId(assetLpCreate)
218223 [StringEntry((l + kp(asset1, asset2)), toBase58String(idAssetLp)), assetLpCreate]
219224 }
220225 else throw("Invalid Pool Key. Try inverting the assets")
221226 else throw("Only the Admin itself can invoke this function")
222227 }
223228
224229
225230
226231 @Callable(i)
227232 func deposit (pool,Asset1,Asset2) = {
228233 let power = getBooleanValue(this, ac)
229234 let liquidityPower = getBooleanValue(this, liquidityAc)
230235 let MainAsset = getStringValue(this, main)
231236 let lpAssetId = if (pool)
232237 then getStringValue(this, (l + kp(Asset1, Asset2)))
233238 else MainAsset
234239 if (power)
235240 then if (!(liquidityPower))
236241 then if ((i.payments[0].assetId != fromBase58String(lpAssetId)))
237242 then throw((("Invalid asset! Kindly Deposit Only " + MainAsset) + " or valid asset lp"))
238243 else if (!(pool))
239244 then {
240245 let currentKey = toBase58String(i.caller.bytes)
241246 let currentAmount = match getInteger(this, currentKey) {
242247 case a: Int =>
243248 a
244249 case _ =>
245250 0
246251 }
247252 let newAmount = (currentAmount + i.payments[0].amount)
248253 let useramount = IntegerEntry(currentKey, newAmount)
249254 let userdepositheight = IntegerEntry((deposit_height + currentKey), height)
250255 let previouslockbalance = match getInteger(this, "Total_Tokens_Locked:") {
251256 case a: Int =>
252257 a
253258 case _ =>
254259 0
255260 }
256261 let totaltoken = (previouslockbalance + i.payments[0].amount)
257262 let TLV = IntegerEntry("Total_Tokens_Locked:", totaltoken)
258263 [useramount, userdepositheight, TLV]
259264 }
260265 else {
261266 let poolKey = kp(Asset1, Asset2)
262267 let key = validPoolK(poolKey)
263268 if (!((key == 0)))
264269 then {
265270 let currentKey = toBase58String(i.caller.bytes)
266271 let currentAmount = match getInteger(this, ((("STAKE_LP_" + currentKey) + "_") + poolKey)) {
267272 case a: Int =>
268273 a
269274 case _ =>
270275 0
271276 }
272277 let newAmount = (currentAmount + i.payments[0].amount)
273278 let useramount = IntegerEntry(((("STAKE_LP_" + currentKey) + "_") + poolKey), newAmount)
274279 let userdepositheight = IntegerEntry(((((deposit_height + "_") + currentKey) + "_") + poolKey), height)
275280 let previouslockbalance = match getInteger(this, ("Total_Tokens_LP_Locked_" + poolKey)) {
276281 case a: Int =>
277282 a
278283 case _ =>
279284 0
280285 }
281286 let totaltoken = (previouslockbalance + i.payments[0].amount)
282287 let TLV = IntegerEntry(("Total_Tokens_LP_Locked_" + poolKey), totaltoken)
283288 [useramount, userdepositheight, TLV]
284289 }
285290 else throw("Invalid Pool key.")
286291 }
287292 else throw("liquidity is currently under maintenance.")
288293 else throw("dApp is currently under maintenance.")
289294 }
290295
291296
292297
293298 @Callable(i)
294299 func remove (pool,Asset1,Asset2,amount) = {
295300 let power = getBooleanValue(this, ac)
296301 let liquidityPower = getBooleanValue(this, liquidityAc)
297302 let pmt = i.payments[0]
298303 let MainAsset = fromBase58String(getStringValue(this, main))
299304 if (power)
300305 then if (!(liquidityPower))
301306 then {
302307 let currentKey = toBase58String(i.caller.bytes)
303308 let currentAmount = valueOrElse(if (pool)
304309 then getIntegerValue(this, ((("STAKE_LP_" + currentKey) + "_") + kp(Asset1, Asset2)))
305310 else getInteger(this, currentKey), 0)
306311 let swapheightkeyname = if (pool)
307312 then ((((deposit_height + "_") + currentKey) + "_") + kp(Asset1, Asset2))
308313 else (deposit_height + currentKey)
309314 let previouslockbalance = if (pool)
310315 then getIntegerValue(this, ("Total_Tokens_LP_Locked_" + kp(Asset1, Asset2)))
311316 else getIntegerValue(this, "Total_Tokens_Locked:")
312317 let totaltoken = (previouslockbalance - amount)
313318 let diff = (height - getIntegerValue(this, swapheightkeyname))
314319 let bcd = getIntegerValue(this, bcD)
315320 let reward = ((diff * bcd) * D8)
316321 let feeCalc = (reward / (previouslockbalance / amount))
317322 if ((0 > amount))
318323 then throw(if (pool)
319324 then (((("Can't withdraw negative " + Asset1) + "/") + Asset2) + " amount")
320325 else "Can't withdraw negative AxAi amount")
321326 else {
322327 let newAmount = (currentAmount - amount)
323328 if ((0 > newAmount))
324329 then throw(if (pool)
325330 then (((("Not enough Asset Lp " + Asset1) + "/") + Asset2) + " balance")
326331 else "Not enough AxAi balance")
327332 else [IntegerEntry(if (pool)
328333 then ((("STAKE_LP_" + currentKey) + "_") + kp(Asset1, Asset2))
329334 else currentKey, newAmount), IntegerEntry(if (pool)
330335 then ("Total_Tokens_LP_Locked_" + kp(Asset1, Asset2))
331336 else "Total_Tokens_Locked:", totaltoken), ScriptTransfer(i.caller, amount, if (pool)
332337 then fromBase58String(getStringValue(this, (l + kp(Asset1, Asset2))))
333338 else MainAsset), ScriptTransfer(i.caller, feeCalc, MainAsset)]
334339 }
335340 }
336341 else throw("liquidity is currently under maintenance.")
337342 else throw("dApp is currently under maintenance.")
338343 }
339344
340345
341346
342347 @Callable(i)
343348 func addLiquidity (Asset1,Asset2) = {
344349 let power = getBooleanValue(this, ac)
345350 let poolActivate = getBooleanValue(this, poolAc)
346351 let acWaves = getBooleanValue(this, aWaves)
347352 let key = validPoolK(kp(Asset1, Asset2))
348353 let asset1 = i.payments[0].assetId
349354 let asset2 = i.payments[1].assetId
350355 let USDN = fromBase58String(getStringValue(this, usdn))
351356 let USDC = fromBase58String(getStringValue(this, usdc))
352357 let USDT = fromBase58String(getStringValue(this, usdt))
353358 let NGNN = fromBase58String(getStringValue(this, ngnn))
354359 let EURN = fromBase58String(getStringValue(this, eurn))
355360 let MainAsset = fromBase58String(getStringValue(this, main))
356361 let lpAssetId = getStringValue(this, (l + kp(Asset1, Asset2)))
357362 if (power)
358363 then if (!(poolActivate))
359364 then if (if (if (!((asset1 == asset2)))
360365 then validateAsset(asset1, Asset1, acWaves)
361366 else false)
362367 then validateAsset(asset2, Asset2, acWaves)
363368 else false)
364369 then if (if (if (if (if (if (if (if ((asset1 == USDN))
365370 then true
366371 else (asset1 == USDC))
367372 then true
368373 else (asset1 == USDT))
369374 then true
370375 else (asset1 == NGNN))
371376 then true
372377 else (asset1 == MainAsset))
373378 then true
374379 else (asset1 == WAVES))
375380 then true
376381 else (asset1 == EURN))
377382 then if (if (if (if (if (if ((asset2 == USDN))
378383 then true
379384 else (asset2 == USDC))
380385 then true
381386 else (asset2 == USDT))
382387 then true
383388 else (asset2 == NGNN))
384389 then true
385390 else (asset2 == MainAsset))
386391 then true
387392 else (asset2 == WAVES))
388393 then true
389394 else (asset2 == EURN)
390395 else false)
391396 then if (!((key == 0)))
392397 then {
393398 let currentKey = toBase58String(i.caller.bytes)
394399 let currentAmount = kpAddress(currentKey, kp(Asset1, Asset2))
395400 let currentAmountAsset1 = poolAA(currentKey, kp(Asset1, Asset2), Asset1)
396401 let currentAmountAsset2 = poolAA(currentKey, kp(Asset1, Asset2), Asset2)
397402 let asset1pool = assetP(kp(Asset1, Asset2), Asset1)
398403 let asset2pool = assetP(kp(Asset1, Asset2), Asset2)
399404 let receiveLp = (asset1pool / asset2pool)
400405 let newcurrentAmountAsset1 = (currentAmountAsset1 + i.payments[0].amount)
401406 let newcurrentAmountAsset2 = (currentAmountAsset2 + i.payments[1].amount)
402407 let newcurrentAmount = (currentAmount + receiveLp)
403408 let newasset1pool = (asset1pool + i.payments[0].amount)
404409 let newasset2pool = (asset2pool + i.payments[1].amount)
405410 [Reissue(fromBase58String(lpAssetId), receiveLp, true), ScriptTransfer(Address(i.caller.bytes), receiveLp, fromBase58String(lpAssetId)), IntegerEntry(pkey(Asset1, Asset2, currentKey), height), IntegerEntry(((((currentKey + "_") + kp(Asset1, Asset2)) + "_") + Asset1), newcurrentAmountAsset1), IntegerEntry(((((currentKey + "_") + kp(Asset1, Asset2)) + "_") + Asset2), newcurrentAmountAsset2), IntegerEntry(((kp(Asset1, Asset2) + "_") + currentKey), newcurrentAmount), IntegerEntry(((kp(Asset1, Asset2) + "_") + Asset1), newasset1pool), IntegerEntry(((kp(Asset1, Asset2) + "_") + Asset2), newasset2pool), IntegerEntry(Asset1, (getAmountBlockAsset(Asset1) + i.payments[0].amount)), IntegerEntry(Asset2, (getAmountBlockAsset(Asset2) + i.payments[1].amount)), IntegerEntry(lpAssetId, (getAmountBlockAsset(lpAssetId) + receiveLp))]
406411 }
407412 else throw("Invalid Pool Key.")
408413 else throw(((("Invalid Asset1 or Asset2! Asset1: " + toString(if (if (if (if (if (if ((asset1 == USDN))
409414 then true
410415 else (asset1 == USDC))
411416 then true
412417 else (asset1 == USDT))
413418 then true
414419 else (asset1 == NGNN))
415420 then true
416421 else (asset1 == MainAsset))
417422 then true
418423 else (asset1 == WAVES))
419424 then true
420425 else (asset1 == EURN))) + " Asset2:") + toString(if (if (if (if (if (if ((asset2 == USDN))
421426 then true
422427 else (asset2 == USDC))
423428 then true
424429 else (asset2 == USDT))
425430 then true
426431 else (asset2 == NGNN))
427432 then true
428433 else (asset2 == MainAsset))
429434 then true
430435 else (asset2 == WAVES))
431436 then true
432437 else (asset2 == EURN))))
433438 else throw("Asset1 cannot be equal to Asset2")
434439 else throw("liquidity is currently under maintenance.")
435440 else throw("dApp is currently under maintenance.")
436441 }
437442
438443
439444
440445 @Callable(i)
441446 func removeLiquidity (Asset1,Asset2,Amount) = {
442447 let currentKey = toBase58String(i.caller.bytes)
443448 let power = getBooleanValue(this, ac)
444449 let poolActivate = getBooleanValue(this, poolAc)
445450 let acWaves = getBooleanValue(this, aWaves)
446451 let poolKey = kp(Asset1, Asset2)
447452 let key = validPoolK(poolKey)
448453 let asset1 = if ((Asset1 == waves))
449454 then if (acWaves)
450455 then WAVES
451456 else throw("The smart contract does not currently support Waves.")
452457 else fromBase58String(Asset1)
453458 let asset2 = if ((Asset2 == waves))
454459 then if (acWaves)
455460 then WAVES
456461 else throw("The smart contract does not currently support Waves.")
457462 else fromBase58String(Asset2)
458463 let USDN = fromBase58String(getStringValue(this, usdn))
459464 let USDC = fromBase58String(getStringValue(this, usdc))
460465 let USDT = fromBase58String(getStringValue(this, usdt))
461466 let NGNN = fromBase58String(getStringValue(this, ngnn))
462467 let MainAsset = fromBase58String(getStringValue(this, main))
463468 let EURN = fromBase58String(getStringValue(this, eurn))
464469 let lpAssetId = getStringValue(this, (l + kp(Asset1, Asset2)))
465470 let currentAmount = kpAddress(currentKey, kp(Asset1, Asset2))
466471 let amountLpBlocked = lpBlocked(currentKey, poolKey)
467472 let totalLP = getIntegerValue(this, lpAssetId)
468473 let totalAsset1Pool = getIntegerValue(this, ((kp(Asset1, Asset2) + "_") + Asset1))
469474 let totalAsset2Pool = getIntegerValue(this, ((kp(Asset1, Asset2) + "_") + Asset2))
470475 if (power)
471476 then if (!(poolActivate))
472477 then if (!((Asset1 == Asset2)))
473478 then if (if (if (if (if (if (if (if ((asset1 == USDN))
474479 then true
475480 else (asset1 == USDC))
476481 then true
477482 else (asset1 == USDT))
478483 then true
479484 else (asset1 == NGNN))
480485 then true
481486 else (asset1 == MainAsset))
482487 then true
483488 else (asset1 == WAVES))
484489 then true
485490 else (asset1 == EURN))
486491 then if (if (if (if (if (if ((asset2 == USDN))
487492 then true
488493 else (asset2 == USDC))
489494 then true
490495 else (asset2 == USDT))
491496 then true
492497 else (asset2 == NGNN))
493498 then true
494499 else (asset2 == MainAsset))
495500 then true
496501 else (asset2 == WAVES))
497502 then true
498503 else (asset2 == EURN)
499504 else false)
500505 then if (!((key == 0)))
501506 then if (!((currentAmount == 0)))
502507 then if (((currentAmount - amountLpBlocked) >= Amount))
503508 then {
504509 let calcLP = (Amount / totalLP)
505510 let receiveAsset1 = (calcLP * totalAsset1Pool)
506511 let receiveAsset2 = (calcLP * totalAsset2Pool)
507512 let asset1pool = assetP(kp(Asset1, Asset2), Asset1)
508513 let asset2pool = assetP(kp(Asset1, Asset2), Asset2)
509514 let currentAmountAsset1 = poolAA(currentKey, kp(Asset1, Asset2), Asset1)
510515 let currentAmountAsset2 = poolAA(currentKey, kp(Asset1, Asset2), Asset2)
511516 let newcurrentAmountAsset1 = (currentAmountAsset1 - receiveAsset1)
512517 let newcurrentAmountAsset2 = (currentAmountAsset2 - receiveAsset2)
513518 let newcurrentAmount = (currentAmount - Amount)
514519 let newasset1pool = (asset1pool - receiveAsset1)
515520 let newasset2pool = (asset2pool - receiveAsset2)
516521 [Burn(fromBase58String(lpAssetId), Amount), ScriptTransfer(Address(i.caller.bytes), receiveAsset1, asset1), ScriptTransfer(Address(i.caller.bytes), receiveAsset2, asset2), IntegerEntry(pkey(Asset1, Asset2, currentKey), height), IntegerEntry(((((currentKey + "_") + kp(Asset1, Asset2)) + "_") + Asset1), newcurrentAmountAsset1), IntegerEntry(((((currentKey + "_") + kp(Asset1, Asset2)) + "_") + Asset2), newcurrentAmountAsset2), IntegerEntry(((kp(Asset1, Asset2) + "_") + currentKey), newcurrentAmount), IntegerEntry(((kp(Asset1, Asset2) + "_") + Asset1), newasset1pool), IntegerEntry(((kp(Asset1, Asset2) + "_") + Asset2), newasset2pool), IntegerEntry(Asset1, (getAmountBlockAsset(Asset1) - receiveAsset1)), IntegerEntry(Asset2, (getAmountBlockAsset(Asset2) - receiveAsset2)), IntegerEntry(lpAssetId, (getAmountBlockAsset(lpAssetId) - Amount))]
517522 }
518523 else throw("Amount to be withdrawn greater than the amount available for withdrawal.")
519524 else throw("You have no locked values ​​in the pool")
520525 else throw("Invalid Pool Key.")
521526 else throw("Invalid Asset1 or Asset2!")
522527 else throw("Asset1 cannot be equal to Asset2")
523528 else throw("liquidity is currently under maintenance.")
524529 else throw("dApp is currently under maintenance.")
525530 }
526531
527532
528533
529534 @Callable(i)
530535 func swap (Asset1,Asset2) = {
531536 let currentKey = toBase58String(i.caller.bytes)
532537 let acWaves = getBooleanValue(this, aWaves)
533538 let power = getBooleanValue(this, ac)
534539 let swapActivate = getBooleanValue(this, swapAc)
535540 let poolKey = kp(Asset1, Asset2)
536541 let key = validPoolK(poolKey)
537542 let asset1 = i.payments[0].assetId
538543 let USDN = fromBase58String(getStringValue(this, usdn))
539544 let USDC = fromBase58String(getStringValue(this, usdc))
540545 let USDT = fromBase58String(getStringValue(this, usdt))
541546 let NGNN = fromBase58String(getStringValue(this, ngnn))
542547 let MainAsset = fromBase58String(getStringValue(this, main))
543548 let EURN = fromBase58String(getStringValue(this, eurn))
544549 let totalAsset1 = getIntegerValue(this, ((kp(Asset1, Asset2) + "_") + Asset1))
545550 let totalAsset2 = getIntegerValue(this, ((kp(Asset1, Asset2) + "_") + Asset2))
546551 let feeRatePercentual = getIntegerValue(this, rateFee)
547552 if (power)
548553 then if (!(swapActivate))
549554 then if (if (!((Asset1 == Asset2)))
550555 then if (validateAsset(asset1, Asset1, acWaves))
551556 then true
552557 else validateAsset(asset1, Asset2, acWaves)
553558 else false)
554559 then if (if (if (if (if (if (if ((asset1 == USDN))
555560 then true
556561 else (asset1 == USDC))
557562 then true
558563 else (asset1 == USDT))
559564 then true
560565 else (asset1 == NGNN))
561566 then true
562567 else (asset1 == MainAsset))
563568 then true
564569 else (asset1 == EURN))
565570 then true
566571 else (asset1 == WAVES))
567572 then if (!((key == 0)))
568573 then if ((i.payments[1].assetId == MainAsset))
569574 then if ((i.payments[1].amount == 300000))
570575 then {
571576 let valueAsset = if (!((asset1 == fromBase58String(Asset1))))
572577 then (totalAsset1 / totalAsset2)
573578 else (totalAsset2 / totalAsset1)
574579 let newValue = (i.payments[0].amount - ((i.payments[0].amount * feeRatePercentual) / (100 * D8)))
575580 let sendValue = (newValue * valueAsset)
576581 [ScriptTransfer(Address(i.caller.bytes), sendValue, if ((Asset2 == waves))
577582 then WAVES
578583 else fromBase58String(Asset2)), IntegerEntry(Asset2, (getAmountBlockAsset(Asset2) - sendValue)), IntegerEntry(((kp(Asset1, Asset2) + "_") + Asset2), (assetP(kp(Asset1, Asset2), Asset2) - sendValue))]
579584 }
580585 else throw("Swap denied! 0.003 AxAi is required for the swap fee.")
581586 else throw("Invalid rate asset")
582587 else throw("Invalid Swap Key.")
583588 else throw("Invalid Asset1 or Asset2!")
584589 else throw("Asset1 cannot be equal to Asset2")
585590 else throw("Swap is currently under maintenance.")
586591 else throw("dApp is currently under maintenance.")
587592 }
588593
589594
590595 @Verifier(tx)
591596 func verify () = match tx {
592597 case order: Order =>
593598 true
594599 case e: ExchangeTransaction =>
595600 true
596601 case _ =>
597602 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
598603 }
599604

github/deemru/w8io/026f985 
75.49 ms