tx · 9hCwnynd9Ey4FDYjpxWzccJXYB7LVrWMavZ3BDZyrRWp

3MsrZrKSaFkozCMp1q9DqmmC5vycG7bhHVY:  -0.03100000 Waves

2022.07.10 05:46 [2133042] smart account 3MsrZrKSaFkozCMp1q9DqmmC5vycG7bhHVY > SELF 0.00000000 Waves

{ "type": 13, "id": "9hCwnynd9Ey4FDYjpxWzccJXYB7LVrWMavZ3BDZyrRWp", "fee": 3100000, "feeAssetId": null, "timestamp": 1657421231834, "version": 2, "chainId": 84, "sender": "3MsrZrKSaFkozCMp1q9DqmmC5vycG7bhHVY", "senderPublicKey": "37VJwS33gphvvm8qXykkVtz1jCbcYAyLejXpYYA4GWNL", "proofs": [ "5ppRKPToqgXfDNPh9ervv5euNmheoC2pYcYnF6HggnpNW8gfggCJY1dkHVpUeW4J3PcMK53szJ1oeNzjEkaZL6zQ" ], "script": "base64:AAIFAAAAAAAAAFkIAhILCgkICAgICAgBAQQSAwoBBBIFCgMEBAQSAwoBARIDCgEEEgMKAQESAwoBCBIGCgQICAgEEgUKAwQICBIGCgQECAgBEgQKAggIEgUKAwgIARIECgIICAAAACgAAAAABG1haW4CAAAACm1haW5fYXNzZXQAAAAAAWwCAAAACWxwX2Fzc2V0XwAAAAADYWExAgAAAAZwb29sX18AAAAAAnNhAgAAAA9TVEFLSU5HX0FNT1VOVF8AAAAAAmxhAgAAAA1MRUFTRV9BTU9VTlRfAAAAAAJpeAIAAAADSURfAAAAAAdyYXRlRmVlAgAAABNwZXJjZW50YWdlX3JhdGVfZmVlAAAAAA5kZXBvc2l0X2hlaWdodAIAAAASRGVwb3NpdF9IZWlnaHRfT2ZfAAAAAAJEOAAAAAAABfXhAAAAAAACRDYAAAAAAAAPQkAAAAAAD2NvbnRyYWN0QWRkcmVzcwkBAAAAB0FkZHJlc3MAAAABCAUAAAAEdGhpcwAAAAVieXRlcwAAAAAMZXhjaGFuZ2VSYXRlAAAAAAAAAAAFAQAAABFnZXRBZGRyZXNzSWZWYWxpZAAAA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BAAAAAVvcmRlcgUAAAAHJG1hdGNoMAYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDAGCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tledpe7RI=", "height": 2133042, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3xb3egXhGWD6HJ4de53qjoJ6LciJ2NpiSbVdVQegdwT9 Next: 3muUGs4Na5XBhqVNdU4BXpjsfdiThwnLWMtWq3xXDvtV Diff:
OldNewDifferences
140140 else false
141141
142142
143-func totalAssetPool (key) = match getInteger(this, key) {
143+func totalAssetPool (key,assetLp) = match getInteger(this, key) {
144144 case a: Int =>
145145 a
146146 case _ =>
147- 1
147+ if (assetLp)
148+ then (1 * D8)
149+ else 1
148150 }
149151
150152
397399 let EURN = fromBase58String(getStringValue(this, eurn))
398400 let MainAsset = fromBase58String(getStringValue(this, main))
399401 let lpAssetId = getStringValue(this, (l + kp(Asset1, Asset2)))
400- let totalAsset1Pool = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset1))
401- let totalAsset2Pool = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset2))
402+ let totalAsset1Pool = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset1), false)
403+ let totalAsset2Pool = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset2), false)
402404 let asset1Pool = (totalAsset1Pool / totalAsset2Pool)
403405 let asset2Pool = (totalAsset2Pool / totalAsset1Pool)
404406 if (power)
446448 let currentAmountAsset2 = poolAA(currentKey, kp(Asset1, Asset2), Asset2)
447449 let asset1pool = assetP(kp(Asset1, Asset2), Asset1)
448450 let asset2pool = assetP(kp(Asset1, Asset2), Asset2)
449- let receiveLp = ((asset1pool * D8) / asset2pool)
451+ let receiveLp = (((totalAssetPool(lpAssetId, true) * (i.payments[0].amount / i.payments[1].amount)) / 10) * D8)
450452 let newcurrentAmountAsset1 = (currentAmountAsset1 + i.payments[0].amount)
451453 let newcurrentAmountAsset2 = (currentAmountAsset2 + i.payments[1].amount)
452454 let newcurrentAmount = (currentAmount + receiveLp)
492494 let currentAmount = kpAddress(currentKey, kp(Asset1, Asset2))
493495 let amountLpBlocked = lpBlocked(currentKey, poolKey)
494496 let totalLP = getIntegerValue(this, lpAssetId)
495- let totalAsset1Pool = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset1))
496- let totalAsset2Pool = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset2))
497+ let totalAsset1Pool = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset1), false)
498+ let totalAsset2Pool = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset2), false)
497499 if (power)
498500 then if (!(poolActivate))
499501 then if (!((Asset1 == Asset2)))
572574 let NGNN = fromBase58String(getStringValue(this, ngnn))
573575 let MainAsset = fromBase58String(getStringValue(this, main))
574576 let EURN = fromBase58String(getStringValue(this, eurn))
575- let totalAsset1 = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset1))
576- let totalAsset2 = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset2))
577+ let totalAsset1 = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset1), false)
578+ let totalAsset2 = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset2), false)
577579 let feeRatePercentual = getIntegerValue(this, rateFee)
578580 if (power)
579581 then if (!(swapActivate))
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) = match getInteger(this, assetId) {
3535 case i: Int =>
3636 i
3737 case _ =>
3838 0
3939 }
4040
4141
4242 func getAssetName (assetId) = match assetInfo(assetId) {
4343 case asset: Asset =>
4444 asset.name
4545 case _ =>
4646 throw("Can't find asset")
4747 }
4848
4949
5050 let ac = "activate"
5151
5252 let poolAc = "activate_pools"
5353
5454 let swapAc = "activate_swap"
5555
5656 let liquidityAc = "activate_liquidity"
5757
5858 let bcD = "block_distribuition"
5959
6060 let total_locked = "Total_Tokens_Locked_"
6161
6262 let usdn = "usdn_asset"
6363
6464 let usdt = "usdt_asset"
6565
6666 let usdc = "usdc_asset"
6767
6868 let ngnn = "ngnn_asset"
6969
7070 let eurn = "eurn_asset"
7171
7272 let waves = "WAVES"
7373
7474 let aWaves = "accept_waves"
7575
7676 let WAVES = unit
7777
7878 func kp (asset1,asset2) = (((aa1 + asset1) + "_") + asset2)
7979
8080
8181 func validPoolK (key) = match getInteger(this, key) {
8282 case i: Int =>
8383 i
8484 case _ =>
8585 0
8686 }
8787
8888
8989 func kpAddress (address,key) = match getInteger(this, ((key + "_") + address)) {
9090 case t: Int =>
9191 t
9292 case _ =>
9393 0
9494 }
9595
9696
9797 func poolAA (address,key,asset) = match getInteger(this, ((((address + "_") + key) + "_") + asset)) {
9898 case a: Int =>
9999 a
100100 case _ =>
101101 0
102102 }
103103
104104
105105 func assetP (key,asset) = match getInteger(this, ((key + "_") + asset)) {
106106 case a: Int =>
107107 a
108108 case _ =>
109109 1
110110 }
111111
112112
113113 func pkey (Asset1,Asset2,address) = (((deposit_height + kp(Asset1, Asset2)) + "_") + address)
114114
115115
116116 func lpBlocked (address,key) = match getInteger(this, ((("STAKE_LP_" + address) + "_") + key)) {
117117 case a: Int =>
118118 a
119119 case _ =>
120120 0
121121 }
122122
123123
124124 func adminVerification () = match getString(this, "admin") {
125125 case t: String =>
126126 Address(fromBase58String(t))
127127 case _ =>
128128 this
129129 }
130130
131131
132132 func validateAsset (assetS,stringAsset,acWaves) = if (if ((assetS == WAVES))
133133 then (stringAsset == "WAVES")
134134 else false)
135135 then if (acWaves)
136136 then true
137137 else throw("The smart contract does not currently support Waves.")
138138 else if ((assetS == fromBase58String(stringAsset)))
139139 then true
140140 else false
141141
142142
143-func totalAssetPool (key) = match getInteger(this, key) {
143+func totalAssetPool (key,assetLp) = match getInteger(this, key) {
144144 case a: Int =>
145145 a
146146 case _ =>
147- 1
147+ if (assetLp)
148+ then (1 * D8)
149+ else 1
148150 }
149151
150152
151153 @Callable(i)
152154 func constructor (MainAssetId,UsdnAssetId,UsdtAssetId,UsdcAssetId,NgnnAssetId,EurnAssetId,percentageRateSwap,blockDistribution,acceptWaves) = if (if ((i.caller == this))
153155 then true
154156 else (i.caller == adminVerification()))
155157 then {
156158 let keyPoolUsdnUsdt = kp(UsdnAssetId, UsdtAssetId)
157159 let keyPoolUsdnUsdc = kp(UsdnAssetId, UsdcAssetId)
158160 let keyPoolUsdnNgnn = kp(UsdnAssetId, NgnnAssetId)
159161 let keyPoolUsdnWaves = kp(UsdnAssetId, waves)
160162 let keyPoolUsdnMainAsset = kp(UsdnAssetId, MainAssetId)
161163 let keyPoolUsdnEurn = kp(UsdnAssetId, EurnAssetId)
162164 let keyPoolUsdcUsdt = kp(UsdcAssetId, UsdtAssetId)
163165 let keyPoolUsdcNgnn = kp(UsdcAssetId, NgnnAssetId)
164166 let keyPoolUsdcWaves = kp(UsdcAssetId, waves)
165167 let keyPoolUsdcMainAsset = kp(UsdcAssetId, MainAssetId)
166168 let keyPoolUsdcEurn = kp(UsdcAssetId, EurnAssetId)
167169 let keyPoolUsdtNgnn = kp(UsdtAssetId, NgnnAssetId)
168170 let keyPoolUsdtWaves = kp(UsdtAssetId, waves)
169171 let keyPoolUsdtMainAsset = kp(UsdtAssetId, MainAssetId)
170172 let keyPoolUsdtEurn = kp(UsdtAssetId, EurnAssetId)
171173 let keyPoolNgnnWaves = kp(NgnnAssetId, waves)
172174 let keyPoolNgnnMainAsset = kp(NgnnAssetId, MainAssetId)
173175 let keyPoolNgnnEurn = kp(NgnnAssetId, EurnAssetId)
174176 let keyPoolMainWaves = kp(MainAssetId, waves)
175177 let keyPoolMainEurn = kp(MainAssetId, EurnAssetId)
176178 let keyPoolEurnWaves = kp(EurnAssetId, waves)
177179 [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)]
178180 }
179181 else throw("Only the Admin itself can invoke this function")
180182
181183
182184
183185 @Callable(i)
184186 func activate (v) = if (if ((i.caller == this))
185187 then true
186188 else (i.caller == adminVerification()))
187189 then [BooleanEntry(ac, v)]
188190 else throw("Only the Admin itself can invoke this function")
189191
190192
191193
192194 @Callable(i)
193195 func maintenance (pools,swap,stake) = if (if ((i.caller == this))
194196 then true
195197 else (i.caller == adminVerification()))
196198 then [BooleanEntry(poolAc, pools), BooleanEntry(swapAc, swap), BooleanEntry(liquidityAc, stake)]
197199 else throw("Only the Admin itself can invoke this function")
198200
199201
200202
201203 @Callable(i)
202204 func percentualRateFeeSwapEdit (rate) = if (if ((i.caller == this))
203205 then true
204206 else (i.caller == adminVerification()))
205207 then [IntegerEntry(rateFee, rate)]
206208 else throw("Only the Admin itself can invoke this function")
207209
208210
209211
210212 @Callable(i)
211213 func acceptWaves (activate) = if (if ((i.caller == this))
212214 then true
213215 else (i.caller == adminVerification()))
214216 then [BooleanEntry(aWaves, activate)]
215217 else throw("Only the Admin itself can invoke this function")
216218
217219
218220
219221 @Callable(i)
220222 func blockDistribution (newValue) = if (if ((i.caller == this))
221223 then true
222224 else (i.caller == adminVerification()))
223225 then [IntegerEntry(bcD, newValue)]
224226 else throw("Only the Admin itself can invoke this function")
225227
226228
227229
228230 @Callable(i)
229231 func addAdmin (address) = if (if ((i.caller == this))
230232 then true
231233 else (i.caller == adminVerification()))
232234 then [StringEntry("admin", address)]
233235 else throw("Only the Admin itself can invoke this function")
234236
235237
236238
237239 @Callable(i)
238240 func lpAssetCreateForPairPool (asset1,asset2,Name,customName) = {
239241 let nameAsset1 = if ((asset1 == waves))
240242 then waves
241243 else getAssetName(fromBase58String(asset1))
242244 let nameAsset2 = if ((asset2 == waves))
243245 then waves
244246 else getAssetName(fromBase58String(asset2))
245247 let name = if (customName)
246248 then Name
247249 else ((nameAsset1 + "_") + nameAsset2)
248250 let key = validPoolK(kp(asset1, asset2))
249251 if (if ((i.caller == this))
250252 then true
251253 else (i.caller == adminVerification()))
252254 then if (!((key == 0)))
253255 then {
254256 let assetLpCreate = Issue(name, ((("LP asset for pool liquidity in AxAi Swap pair " + asset1) + "_") + asset2), 1, 8, true)
255257 let idAssetLp = calculateAssetId(assetLpCreate)
256258 [StringEntry((l + kp(asset1, asset2)), toBase58String(idAssetLp)), assetLpCreate]
257259 }
258260 else throw("Invalid Pool Key. Try inverting the assets")
259261 else throw("Only the Admin itself can invoke this function")
260262 }
261263
262264
263265
264266 @Callable(i)
265267 func deposit (pool,Asset1,Asset2) = {
266268 let power = getBooleanValue(this, ac)
267269 let liquidityPower = getBooleanValue(this, liquidityAc)
268270 let MainAsset = getStringValue(this, main)
269271 let lpAssetId = if (pool)
270272 then getStringValue(this, (l + kp(Asset1, Asset2)))
271273 else MainAsset
272274 if (power)
273275 then if (!(liquidityPower))
274276 then if ((i.payments[0].assetId != fromBase58String(lpAssetId)))
275277 then throw((("Invalid asset! Kindly Deposit Only " + MainAsset) + " or valid asset lp"))
276278 else if (!(pool))
277279 then {
278280 let currentKey = toBase58String(i.caller.bytes)
279281 let currentAmount = match getInteger(this, currentKey) {
280282 case a: Int =>
281283 a
282284 case _ =>
283285 0
284286 }
285287 let newAmount = (currentAmount + i.payments[0].amount)
286288 let useramount = IntegerEntry(currentKey, newAmount)
287289 let userdepositheight = IntegerEntry((deposit_height + currentKey), height)
288290 let previouslockbalance = match getInteger(this, "Total_Tokens_Locked:") {
289291 case a: Int =>
290292 a
291293 case _ =>
292294 0
293295 }
294296 let totaltoken = (previouslockbalance + i.payments[0].amount)
295297 let TLV = IntegerEntry("Total_Tokens_Locked:", totaltoken)
296298 [useramount, userdepositheight, TLV]
297299 }
298300 else {
299301 let poolKey = kp(Asset1, Asset2)
300302 let key = validPoolK(poolKey)
301303 if (!((key == 0)))
302304 then {
303305 let currentKey = toBase58String(i.caller.bytes)
304306 let currentAmount = match getInteger(this, ((("STAKE_LP_" + currentKey) + "_") + poolKey)) {
305307 case a: Int =>
306308 a
307309 case _ =>
308310 0
309311 }
310312 let newAmount = (currentAmount + i.payments[0].amount)
311313 let useramount = IntegerEntry(((("STAKE_LP_" + currentKey) + "_") + poolKey), newAmount)
312314 let userdepositheight = IntegerEntry(((((deposit_height + "_") + currentKey) + "_") + poolKey), height)
313315 let previouslockbalance = match getInteger(this, ("Total_Tokens_LP_Locked_" + poolKey)) {
314316 case a: Int =>
315317 a
316318 case _ =>
317319 0
318320 }
319321 let totaltoken = (previouslockbalance + i.payments[0].amount)
320322 let TLV = IntegerEntry(("Total_Tokens_LP_Locked_" + poolKey), totaltoken)
321323 [useramount, userdepositheight, TLV]
322324 }
323325 else throw("Invalid Pool key.")
324326 }
325327 else throw("liquidity is currently under maintenance.")
326328 else throw("dApp is currently under maintenance.")
327329 }
328330
329331
330332
331333 @Callable(i)
332334 func remove (pool,Asset1,Asset2,amount) = {
333335 let power = getBooleanValue(this, ac)
334336 let liquidityPower = getBooleanValue(this, liquidityAc)
335337 let pmt = i.payments[0]
336338 let MainAsset = fromBase58String(getStringValue(this, main))
337339 if (power)
338340 then if (!(liquidityPower))
339341 then {
340342 let currentKey = toBase58String(i.caller.bytes)
341343 let currentAmount = match if (pool)
342344 then getIntegerValue(this, ((("STAKE_LP_" + currentKey) + "_") + kp(Asset1, Asset2)))
343345 else getIntegerValue(this, currentKey) {
344346 case a: Int =>
345347 a
346348 case _ =>
347349 0
348350 }
349351 let swapheightkeyname = if (pool)
350352 then ((((deposit_height + "_") + currentKey) + "_") + kp(Asset1, Asset2))
351353 else (deposit_height + currentKey)
352354 let previouslockbalance = if (pool)
353355 then getIntegerValue(this, ("Total_Tokens_LP_Locked_" + kp(Asset1, Asset2)))
354356 else getIntegerValue(this, "Total_Tokens_Locked:")
355357 let totaltoken = (previouslockbalance - amount)
356358 let diff = (height - getIntegerValue(this, swapheightkeyname))
357359 let bcd = getIntegerValue(this, bcD)
358360 let reward = ((diff * bcd) * D8)
359361 let feeCalc = (reward / (previouslockbalance / amount))
360362 if ((0 > amount))
361363 then throw(if (pool)
362364 then (((("Can't withdraw negative " + Asset1) + "/") + Asset2) + " amount")
363365 else "Can't withdraw negative AxAi amount")
364366 else {
365367 let newAmount = (currentAmount - amount)
366368 if ((0 > newAmount))
367369 then throw(if (pool)
368370 then (((("Not enough Asset Lp " + Asset1) + "/") + Asset2) + " balance")
369371 else "Not enough AxAi balance")
370372 else [IntegerEntry(if (pool)
371373 then ((("STAKE_LP_" + currentKey) + "_") + kp(Asset1, Asset2))
372374 else currentKey, newAmount), IntegerEntry(if (pool)
373375 then ("Total_Tokens_LP_Locked_" + kp(Asset1, Asset2))
374376 else "Total_Tokens_Locked:", totaltoken), ScriptTransfer(i.caller, amount, if (pool)
375377 then fromBase58String(getStringValue(this, (l + kp(Asset1, Asset2))))
376378 else MainAsset), ScriptTransfer(i.caller, feeCalc, MainAsset)]
377379 }
378380 }
379381 else throw("liquidity is currently under maintenance.")
380382 else throw("dApp is currently under maintenance.")
381383 }
382384
383385
384386
385387 @Callable(i)
386388 func addLiquidity (Asset1,Asset2) = {
387389 let power = getBooleanValue(this, ac)
388390 let poolActivate = getBooleanValue(this, poolAc)
389391 let acWaves = getBooleanValue(this, aWaves)
390392 let key = validPoolK(kp(Asset1, Asset2))
391393 let asset1 = i.payments[0].assetId
392394 let asset2 = i.payments[1].assetId
393395 let USDN = fromBase58String(getStringValue(this, usdn))
394396 let USDC = fromBase58String(getStringValue(this, usdc))
395397 let USDT = fromBase58String(getStringValue(this, usdt))
396398 let NGNN = fromBase58String(getStringValue(this, ngnn))
397399 let EURN = fromBase58String(getStringValue(this, eurn))
398400 let MainAsset = fromBase58String(getStringValue(this, main))
399401 let lpAssetId = getStringValue(this, (l + kp(Asset1, Asset2)))
400- let totalAsset1Pool = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset1))
401- let totalAsset2Pool = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset2))
402+ let totalAsset1Pool = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset1), false)
403+ let totalAsset2Pool = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset2), false)
402404 let asset1Pool = (totalAsset1Pool / totalAsset2Pool)
403405 let asset2Pool = (totalAsset2Pool / totalAsset1Pool)
404406 if (power)
405407 then if (!(poolActivate))
406408 then if (if (if (!((asset1 == asset2)))
407409 then validateAsset(asset1, Asset1, acWaves)
408410 else false)
409411 then validateAsset(asset2, Asset2, acWaves)
410412 else false)
411413 then if (if (if (if (if (if (if (if ((asset1 == USDN))
412414 then true
413415 else (asset1 == USDC))
414416 then true
415417 else (asset1 == USDT))
416418 then true
417419 else (asset1 == NGNN))
418420 then true
419421 else (asset1 == MainAsset))
420422 then true
421423 else (asset1 == WAVES))
422424 then true
423425 else (asset1 == EURN))
424426 then if (if (if (if (if (if ((asset2 == USDN))
425427 then true
426428 else (asset2 == USDC))
427429 then true
428430 else (asset2 == USDT))
429431 then true
430432 else (asset2 == NGNN))
431433 then true
432434 else (asset2 == MainAsset))
433435 then true
434436 else (asset2 == WAVES))
435437 then true
436438 else (asset2 == EURN)
437439 else false)
438440 then if (!((key == 0)))
439441 then if (if ((asset1Pool == (i.payments[0].amount / i.payments[1].amount)))
440442 then (asset2Pool == (i.payments[1].amount / i.payments[0].amount))
441443 else false)
442444 then {
443445 let currentKey = toBase58String(i.caller.bytes)
444446 let currentAmount = kpAddress(currentKey, kp(Asset1, Asset2))
445447 let currentAmountAsset1 = poolAA(currentKey, kp(Asset1, Asset2), Asset1)
446448 let currentAmountAsset2 = poolAA(currentKey, kp(Asset1, Asset2), Asset2)
447449 let asset1pool = assetP(kp(Asset1, Asset2), Asset1)
448450 let asset2pool = assetP(kp(Asset1, Asset2), Asset2)
449- let receiveLp = ((asset1pool * D8) / asset2pool)
451+ let receiveLp = (((totalAssetPool(lpAssetId, true) * (i.payments[0].amount / i.payments[1].amount)) / 10) * D8)
450452 let newcurrentAmountAsset1 = (currentAmountAsset1 + i.payments[0].amount)
451453 let newcurrentAmountAsset2 = (currentAmountAsset2 + i.payments[1].amount)
452454 let newcurrentAmount = (currentAmount + receiveLp)
453455 let newasset1pool = (asset1pool + i.payments[0].amount)
454456 let newasset2pool = (asset2pool + i.payments[1].amount)
455457 [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))]
456458 }
457459 else throw("Payment of invalid 1/1 amounts to the Pool.")
458460 else throw("Invalid Pool Key.")
459461 else throw("Invalid Asset1 or Asset2!")
460462 else throw("Asset1 cannot be equal to Asset2")
461463 else throw("liquidity is currently under maintenance.")
462464 else throw("dApp is currently under maintenance.")
463465 }
464466
465467
466468
467469 @Callable(i)
468470 func removeLiquidity (Asset1,Asset2,Amount) = {
469471 let currentKey = toBase58String(i.caller.bytes)
470472 let power = getBooleanValue(this, ac)
471473 let poolActivate = getBooleanValue(this, poolAc)
472474 let acWaves = getBooleanValue(this, aWaves)
473475 let poolKey = kp(Asset1, Asset2)
474476 let key = validPoolK(poolKey)
475477 let asset1 = if ((Asset1 == waves))
476478 then if (acWaves)
477479 then WAVES
478480 else throw("The smart contract does not currently support Waves.")
479481 else fromBase58String(Asset1)
480482 let asset2 = if ((Asset2 == waves))
481483 then if (acWaves)
482484 then WAVES
483485 else throw("The smart contract does not currently support Waves.")
484486 else fromBase58String(Asset2)
485487 let USDN = fromBase58String(getStringValue(this, usdn))
486488 let USDC = fromBase58String(getStringValue(this, usdc))
487489 let USDT = fromBase58String(getStringValue(this, usdt))
488490 let NGNN = fromBase58String(getStringValue(this, ngnn))
489491 let MainAsset = fromBase58String(getStringValue(this, main))
490492 let EURN = fromBase58String(getStringValue(this, eurn))
491493 let lpAssetId = getStringValue(this, (l + kp(Asset1, Asset2)))
492494 let currentAmount = kpAddress(currentKey, kp(Asset1, Asset2))
493495 let amountLpBlocked = lpBlocked(currentKey, poolKey)
494496 let totalLP = getIntegerValue(this, lpAssetId)
495- let totalAsset1Pool = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset1))
496- let totalAsset2Pool = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset2))
497+ let totalAsset1Pool = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset1), false)
498+ let totalAsset2Pool = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset2), false)
497499 if (power)
498500 then if (!(poolActivate))
499501 then if (!((Asset1 == Asset2)))
500502 then if (if (if (if (if (if (if (if ((asset1 == USDN))
501503 then true
502504 else (asset1 == USDC))
503505 then true
504506 else (asset1 == USDT))
505507 then true
506508 else (asset1 == NGNN))
507509 then true
508510 else (asset1 == MainAsset))
509511 then true
510512 else (asset1 == WAVES))
511513 then true
512514 else (asset1 == EURN))
513515 then if (if (if (if (if (if ((asset2 == USDN))
514516 then true
515517 else (asset2 == USDC))
516518 then true
517519 else (asset2 == USDT))
518520 then true
519521 else (asset2 == NGNN))
520522 then true
521523 else (asset2 == MainAsset))
522524 then true
523525 else (asset2 == WAVES))
524526 then true
525527 else (asset2 == EURN)
526528 else false)
527529 then if (!((key == 0)))
528530 then if (!((currentAmount == 0)))
529531 then if (((currentAmount - amountLpBlocked) >= Amount))
530532 then {
531533 let calcLP = (Amount / totalLP)
532534 let receiveAsset1 = (calcLP * totalAsset1Pool)
533535 let receiveAsset2 = (calcLP * totalAsset2Pool)
534536 let asset1pool = assetP(kp(Asset1, Asset2), Asset1)
535537 let asset2pool = assetP(kp(Asset1, Asset2), Asset2)
536538 let currentAmountAsset1 = poolAA(currentKey, kp(Asset1, Asset2), Asset1)
537539 let currentAmountAsset2 = poolAA(currentKey, kp(Asset1, Asset2), Asset2)
538540 let newcurrentAmountAsset1 = (currentAmountAsset1 - receiveAsset1)
539541 let newcurrentAmountAsset2 = (currentAmountAsset2 - receiveAsset2)
540542 let newcurrentAmount = (currentAmount - Amount)
541543 let newasset1pool = (asset1pool - receiveAsset1)
542544 let newasset2pool = (asset2pool - receiveAsset2)
543545 if ((i.payments[0].assetId == fromBase58String(lpAssetId)))
544546 then if ((Amount == i.payments[0].amount))
545547 then [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))]
546548 else throw("Withdrawal amount lower than asset lp amount")
547549 else throw("Requires an lp asset as payment to remove locked amounts.")
548550 }
549551 else throw("Amount to be withdrawn greater than the amount available for withdrawal.")
550552 else throw("You have no locked values ​​in the pool")
551553 else throw("Invalid Pool Key.")
552554 else throw("Invalid Asset1 or Asset2!")
553555 else throw("Asset1 cannot be equal to Asset2")
554556 else throw("liquidity is currently under maintenance.")
555557 else throw("dApp is currently under maintenance.")
556558 }
557559
558560
559561
560562 @Callable(i)
561563 func swap (Asset1,Asset2) = {
562564 let currentKey = toBase58String(i.caller.bytes)
563565 let acWaves = getBooleanValue(this, aWaves)
564566 let power = getBooleanValue(this, ac)
565567 let swapActivate = getBooleanValue(this, swapAc)
566568 let poolKey = kp(Asset1, Asset2)
567569 let key = validPoolK(poolKey)
568570 let asset1 = i.payments[0].assetId
569571 let USDN = fromBase58String(getStringValue(this, usdn))
570572 let USDC = fromBase58String(getStringValue(this, usdc))
571573 let USDT = fromBase58String(getStringValue(this, usdt))
572574 let NGNN = fromBase58String(getStringValue(this, ngnn))
573575 let MainAsset = fromBase58String(getStringValue(this, main))
574576 let EURN = fromBase58String(getStringValue(this, eurn))
575- let totalAsset1 = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset1))
576- let totalAsset2 = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset2))
577+ let totalAsset1 = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset1), false)
578+ let totalAsset2 = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset2), false)
577579 let feeRatePercentual = getIntegerValue(this, rateFee)
578580 if (power)
579581 then if (!(swapActivate))
580582 then if (if (!((Asset1 == Asset2)))
581583 then if (validateAsset(asset1, Asset1, acWaves))
582584 then true
583585 else validateAsset(asset1, Asset2, acWaves)
584586 else false)
585587 then if (if (if (if (if (if (if ((asset1 == USDN))
586588 then true
587589 else (asset1 == USDC))
588590 then true
589591 else (asset1 == USDT))
590592 then true
591593 else (asset1 == NGNN))
592594 then true
593595 else (asset1 == MainAsset))
594596 then true
595597 else (asset1 == EURN))
596598 then true
597599 else (asset1 == WAVES))
598600 then if (!((key == 0)))
599601 then if ((i.payments[1].assetId == MainAsset))
600602 then if ((i.payments[1].amount == 300000))
601603 then {
602604 let valueAsset = if (!((asset1 == fromBase58String(Asset1))))
603605 then (totalAsset1 / totalAsset2)
604606 else (totalAsset2 / totalAsset1)
605607 let newValue = (i.payments[0].amount - ((i.payments[0].amount * feeRatePercentual) / (100 * D8)))
606608 let sendValue = (newValue * valueAsset)
607609 [ScriptTransfer(Address(i.caller.bytes), sendValue, if ((Asset2 == waves))
608610 then WAVES
609611 else fromBase58String(Asset2)), IntegerEntry(Asset2, (getAmountBlockAsset(Asset2) - sendValue)), IntegerEntry(((kp(Asset1, Asset2) + "_") + Asset2), (assetP(kp(Asset1, Asset2), Asset2) - sendValue))]
610612 }
611613 else throw("Swap denied! 0.003 AxAi is required for the swap fee.")
612614 else throw("Invalid rate asset")
613615 else throw("Invalid Swap Key.")
614616 else throw("Invalid Asset1 or Asset2!")
615617 else throw("Asset1 cannot be equal to Asset2")
616618 else throw("Swap is currently under maintenance.")
617619 else throw("dApp is currently under maintenance.")
618620 }
619621
620622
621623 @Verifier(tx)
622624 func verify () = match tx {
623625 case order: Order =>
624626 true
625627 case e: ExchangeTransaction =>
626628 true
627629 case _ =>
628630 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
629631 }
630632

github/deemru/w8io/026f985 
72.67 ms