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:AAIFAAAAAAAAAFkIAhILCgkICAgICAgBAQQSAwoBBBIFCgMEBAQSAwoBARIDCgEEEgMKAQESAwoBCBIGCgQICAgEEgUKAwQICBIGCgQECAgBEgQKAggIEgUKAwgIARIECgIICAAAACcAAAAABG1haW4CAAAACm1haW5fYXNzZXQAAAAAAWwCAAAACWxwX2Fzc2V0XwAAAAADYWExAgAAAAZwb29sX18AAAAAAnNhAgAAAA9TVEFLSU5HX0FNT1VOVF8AAAAAAmxhAgAAAA1MRUFTRV9BTU9VTlRfAAAAAAJpeAIAAAADSURfAAAAAAdyYXRlRmVlAgAAABNwZXJjZW50YWdlX3JhdGVfZmVlAAAAAA5kZXBvc2l0X2hlaWdodAIAAAASRGVwb3NpdF9IZWlnaHRfT2ZfAAAAAAJEOAAAAAAABfXhAAAAAAACRDYAAAAAAAAPQkAAAAAAD2NvbnRyYWN0QWRkcmVzcwkBAAAAB0FkZHJlc3MAAAABCAUAAAAEdGhpcwAAAAVieXRlcwAAAAAMZXhjaGFuZ2VSYXRlAAAAAAAAAAAFAQAAABFnZXRBZGRyZXNzSWZWYWxpZA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nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwBgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmQpAzn", "height": 2132485, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DH4pBApSyMTd928Fgxrh9puS37y8DtQuzi5eyXd1AHwA Next: 4pFNkRehMPcRDvbzATTJSe2u8B9qsyNAG2HpVJ2zCUAF Diff:
Old | New | Differences | |
---|---|---|---|
76 | 76 | func validPoolK (key) = valueOrElse(getInteger(this, key), 0) | |
77 | 77 | ||
78 | 78 | ||
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 | + | } | |
80 | 85 | ||
81 | 86 | ||
82 | 87 | func poolAA (address,key,asset) = valueOrElse(getIntegerValue(this, ((((key + "_") + address) + "_") + asset)), 1) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let main = "main_asset" | |
5 | 5 | ||
6 | 6 | let l = "lp_asset_" | |
7 | 7 | ||
8 | 8 | let aa1 = "pool__" | |
9 | 9 | ||
10 | 10 | let sa = "STAKING_AMOUNT_" | |
11 | 11 | ||
12 | 12 | let la = "LEASE_AMOUNT_" | |
13 | 13 | ||
14 | 14 | let ix = "ID_" | |
15 | 15 | ||
16 | 16 | let rateFee = "percentage_rate_fee" | |
17 | 17 | ||
18 | 18 | let deposit_height = "Deposit_Height_Of_" | |
19 | 19 | ||
20 | 20 | let D8 = 100000000 | |
21 | 21 | ||
22 | 22 | let D6 = 1000000 | |
23 | 23 | ||
24 | 24 | let contractAddress = Address(this.bytes) | |
25 | 25 | ||
26 | 26 | let exchangeRate = 5 | |
27 | 27 | ||
28 | 28 | func getAddressIfValid (address) = toString(valueOrErrorMessage(addressFromString(address), (("Can't parse " + address) + " as address"))) | |
29 | 29 | ||
30 | 30 | ||
31 | 31 | func getAssetIfValid (assetId) = toBase58String(valueOrErrorMessage(value(assetInfo(fromBase58String(assetId))).id, (("Asset Id: " + assetId) + " is invalid."))) | |
32 | 32 | ||
33 | 33 | ||
34 | 34 | func getAmountBlockAsset (assetId) = valueOrElse(getIntegerValue(this, assetId), 0) | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | func getAssetName (assetId) = match assetInfo(assetId) { | |
38 | 38 | case asset: Asset => | |
39 | 39 | asset.name | |
40 | 40 | case _ => | |
41 | 41 | throw("Can't find asset") | |
42 | 42 | } | |
43 | 43 | ||
44 | 44 | ||
45 | 45 | let ac = "activate" | |
46 | 46 | ||
47 | 47 | let poolAc = "activate_pools" | |
48 | 48 | ||
49 | 49 | let swapAc = "activate_swap" | |
50 | 50 | ||
51 | 51 | let liquidityAc = "activate_liquidity" | |
52 | 52 | ||
53 | 53 | let bcD = "block_distribuition" | |
54 | 54 | ||
55 | 55 | let total_locked = "Total_Tokens_Locked_" | |
56 | 56 | ||
57 | 57 | let usdn = "usdn_asset" | |
58 | 58 | ||
59 | 59 | let usdt = "usdt_asset" | |
60 | 60 | ||
61 | 61 | let usdc = "usdc_asset" | |
62 | 62 | ||
63 | 63 | let ngnn = "ngnn_asset" | |
64 | 64 | ||
65 | 65 | let eurn = "eurn_asset" | |
66 | 66 | ||
67 | 67 | let waves = "WAVES" | |
68 | 68 | ||
69 | 69 | let aWaves = "accept_waves" | |
70 | 70 | ||
71 | 71 | let WAVES = unit | |
72 | 72 | ||
73 | 73 | func kp (asset1,asset2) = (((aa1 + asset1) + "_") + asset2) | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func validPoolK (key) = valueOrElse(getInteger(this, key), 0) | |
77 | 77 | ||
78 | 78 | ||
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 | + | } | |
80 | 85 | ||
81 | 86 | ||
82 | 87 | func poolAA (address,key,asset) = valueOrElse(getIntegerValue(this, ((((key + "_") + address) + "_") + asset)), 1) | |
83 | 88 | ||
84 | 89 | ||
85 | 90 | func assetP (key,asset) = valueOrElse(getIntegerValue(this, ((key + "_") + asset)), 1) | |
86 | 91 | ||
87 | 92 | ||
88 | 93 | func pkey (Asset1,Asset2,address) = (((deposit_height + kp(Asset1, Asset2)) + "_") + address) | |
89 | 94 | ||
90 | 95 | ||
91 | 96 | func lpBlocked (address,key) = valueOrElse(getIntegerValue(this, ((("STAKE_LP_" + address) + "_") + key)), 0) | |
92 | 97 | ||
93 | 98 | ||
94 | 99 | func adminVerification () = match getStringValue(this, "admin") { | |
95 | 100 | case t: String => | |
96 | 101 | Address(fromBase58String(t)) | |
97 | 102 | case _ => | |
98 | 103 | this | |
99 | 104 | } | |
100 | 105 | ||
101 | 106 | ||
102 | 107 | func validateAsset (assetS,stringAsset,acWaves) = if (if ((assetS == WAVES)) | |
103 | 108 | then (stringAsset == "WAVES") | |
104 | 109 | else false) | |
105 | 110 | then if (acWaves) | |
106 | 111 | then true | |
107 | 112 | else throw("The smart contract does not currently support Waves.") | |
108 | 113 | else if ((assetS == fromBase58String(stringAsset))) | |
109 | 114 | then true | |
110 | 115 | else false | |
111 | 116 | ||
112 | 117 | ||
113 | 118 | @Callable(i) | |
114 | 119 | func constructor (MainAssetId,UsdnAssetId,UsdtAssetId,UsdcAssetId,NgnnAssetId,EurnAssetId,percentageRateSwap,blockDistribution,acceptWaves) = if (if ((i.caller == this)) | |
115 | 120 | then true | |
116 | 121 | else (i.caller == adminVerification())) | |
117 | 122 | then { | |
118 | 123 | let keyPoolUsdnUsdt = kp(UsdnAssetId, UsdtAssetId) | |
119 | 124 | let keyPoolUsdnUsdc = kp(UsdnAssetId, UsdcAssetId) | |
120 | 125 | let keyPoolUsdnNgnn = kp(UsdnAssetId, NgnnAssetId) | |
121 | 126 | let keyPoolUsdnWaves = kp(UsdnAssetId, waves) | |
122 | 127 | let keyPoolUsdnMainAsset = kp(UsdnAssetId, MainAssetId) | |
123 | 128 | let keyPoolUsdnEurn = kp(UsdnAssetId, EurnAssetId) | |
124 | 129 | let keyPoolUsdcUsdt = kp(UsdcAssetId, UsdtAssetId) | |
125 | 130 | let keyPoolUsdcNgnn = kp(UsdcAssetId, NgnnAssetId) | |
126 | 131 | let keyPoolUsdcWaves = kp(UsdcAssetId, waves) | |
127 | 132 | let keyPoolUsdcMainAsset = kp(UsdcAssetId, MainAssetId) | |
128 | 133 | let keyPoolUsdcEurn = kp(UsdcAssetId, EurnAssetId) | |
129 | 134 | let keyPoolUsdtNgnn = kp(UsdtAssetId, NgnnAssetId) | |
130 | 135 | let keyPoolUsdtWaves = kp(UsdtAssetId, waves) | |
131 | 136 | let keyPoolUsdtMainAsset = kp(UsdtAssetId, MainAssetId) | |
132 | 137 | let keyPoolUsdtEurn = kp(UsdtAssetId, EurnAssetId) | |
133 | 138 | let keyPoolNgnnWaves = kp(NgnnAssetId, waves) | |
134 | 139 | let keyPoolNgnnMainAsset = kp(NgnnAssetId, MainAssetId) | |
135 | 140 | let keyPoolNgnnEurn = kp(NgnnAssetId, EurnAssetId) | |
136 | 141 | let keyPoolMainWaves = kp(MainAssetId, waves) | |
137 | 142 | let keyPoolMainEurn = kp(MainAssetId, EurnAssetId) | |
138 | 143 | let keyPoolEurnWaves = kp(EurnAssetId, waves) | |
139 | 144 | [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)] | |
140 | 145 | } | |
141 | 146 | else throw("Only the Admin itself can invoke this function") | |
142 | 147 | ||
143 | 148 | ||
144 | 149 | ||
145 | 150 | @Callable(i) | |
146 | 151 | func activate (v) = if (if ((i.caller == this)) | |
147 | 152 | then true | |
148 | 153 | else (i.caller == adminVerification())) | |
149 | 154 | then [BooleanEntry(ac, v)] | |
150 | 155 | else throw("Only the Admin itself can invoke this function") | |
151 | 156 | ||
152 | 157 | ||
153 | 158 | ||
154 | 159 | @Callable(i) | |
155 | 160 | func maintenance (pools,swap,stake) = if (if ((i.caller == this)) | |
156 | 161 | then true | |
157 | 162 | else (i.caller == adminVerification())) | |
158 | 163 | then [BooleanEntry(poolAc, pools), BooleanEntry(swapAc, swap), BooleanEntry(liquidityAc, stake)] | |
159 | 164 | else throw("Only the Admin itself can invoke this function") | |
160 | 165 | ||
161 | 166 | ||
162 | 167 | ||
163 | 168 | @Callable(i) | |
164 | 169 | func percentualRateFeeSwapEdit (rate) = if (if ((i.caller == this)) | |
165 | 170 | then true | |
166 | 171 | else (i.caller == adminVerification())) | |
167 | 172 | then [IntegerEntry(rateFee, rate)] | |
168 | 173 | else throw("Only the Admin itself can invoke this function") | |
169 | 174 | ||
170 | 175 | ||
171 | 176 | ||
172 | 177 | @Callable(i) | |
173 | 178 | func acceptWaves (activate) = if (if ((i.caller == this)) | |
174 | 179 | then true | |
175 | 180 | else (i.caller == adminVerification())) | |
176 | 181 | then [BooleanEntry(aWaves, activate)] | |
177 | 182 | else throw("Only the Admin itself can invoke this function") | |
178 | 183 | ||
179 | 184 | ||
180 | 185 | ||
181 | 186 | @Callable(i) | |
182 | 187 | func blockDistribution (newValue) = if (if ((i.caller == this)) | |
183 | 188 | then true | |
184 | 189 | else (i.caller == adminVerification())) | |
185 | 190 | then [IntegerEntry(bcD, newValue)] | |
186 | 191 | else throw("Only the Admin itself can invoke this function") | |
187 | 192 | ||
188 | 193 | ||
189 | 194 | ||
190 | 195 | @Callable(i) | |
191 | 196 | func addAdmin (address) = if (if ((i.caller == this)) | |
192 | 197 | then true | |
193 | 198 | else (i.caller == adminVerification())) | |
194 | 199 | then [StringEntry("admin", address)] | |
195 | 200 | else throw("Only the Admin itself can invoke this function") | |
196 | 201 | ||
197 | 202 | ||
198 | 203 | ||
199 | 204 | @Callable(i) | |
200 | 205 | func lpAssetCreateForPairPool (asset1,asset2,Name,customName) = { | |
201 | 206 | let nameAsset1 = if ((asset1 == waves)) | |
202 | 207 | then waves | |
203 | 208 | else getAssetName(fromBase58String(asset1)) | |
204 | 209 | let nameAsset2 = if ((asset2 == waves)) | |
205 | 210 | then waves | |
206 | 211 | else getAssetName(fromBase58String(asset2)) | |
207 | 212 | let name = if (customName) | |
208 | 213 | then Name | |
209 | 214 | else ((nameAsset1 + "_") + nameAsset2) | |
210 | 215 | let key = validPoolK(kp(asset1, asset2)) | |
211 | 216 | if (if ((i.caller == this)) | |
212 | 217 | then true | |
213 | 218 | else (i.caller == adminVerification())) | |
214 | 219 | then if (!((key == 0))) | |
215 | 220 | then { | |
216 | 221 | let assetLpCreate = Issue(name, ((("LP asset for pool liquidity in AxAi Swap pair " + asset1) + "_") + asset2), 1, 8, true) | |
217 | 222 | let idAssetLp = calculateAssetId(assetLpCreate) | |
218 | 223 | [StringEntry((l + kp(asset1, asset2)), toBase58String(idAssetLp)), assetLpCreate] | |
219 | 224 | } | |
220 | 225 | else throw("Invalid Pool Key. Try inverting the assets") | |
221 | 226 | else throw("Only the Admin itself can invoke this function") | |
222 | 227 | } | |
223 | 228 | ||
224 | 229 | ||
225 | 230 | ||
226 | 231 | @Callable(i) | |
227 | 232 | func deposit (pool,Asset1,Asset2) = { | |
228 | 233 | let power = getBooleanValue(this, ac) | |
229 | 234 | let liquidityPower = getBooleanValue(this, liquidityAc) | |
230 | 235 | let MainAsset = getStringValue(this, main) | |
231 | 236 | let lpAssetId = if (pool) | |
232 | 237 | then getStringValue(this, (l + kp(Asset1, Asset2))) | |
233 | 238 | else MainAsset | |
234 | 239 | if (power) | |
235 | 240 | then if (!(liquidityPower)) | |
236 | 241 | then if ((i.payments[0].assetId != fromBase58String(lpAssetId))) | |
237 | 242 | then throw((("Invalid asset! Kindly Deposit Only " + MainAsset) + " or valid asset lp")) | |
238 | 243 | else if (!(pool)) | |
239 | 244 | then { | |
240 | 245 | let currentKey = toBase58String(i.caller.bytes) | |
241 | 246 | let currentAmount = match getInteger(this, currentKey) { | |
242 | 247 | case a: Int => | |
243 | 248 | a | |
244 | 249 | case _ => | |
245 | 250 | 0 | |
246 | 251 | } | |
247 | 252 | let newAmount = (currentAmount + i.payments[0].amount) | |
248 | 253 | let useramount = IntegerEntry(currentKey, newAmount) | |
249 | 254 | let userdepositheight = IntegerEntry((deposit_height + currentKey), height) | |
250 | 255 | let previouslockbalance = match getInteger(this, "Total_Tokens_Locked:") { | |
251 | 256 | case a: Int => | |
252 | 257 | a | |
253 | 258 | case _ => | |
254 | 259 | 0 | |
255 | 260 | } | |
256 | 261 | let totaltoken = (previouslockbalance + i.payments[0].amount) | |
257 | 262 | let TLV = IntegerEntry("Total_Tokens_Locked:", totaltoken) | |
258 | 263 | [useramount, userdepositheight, TLV] | |
259 | 264 | } | |
260 | 265 | else { | |
261 | 266 | let poolKey = kp(Asset1, Asset2) | |
262 | 267 | let key = validPoolK(poolKey) | |
263 | 268 | if (!((key == 0))) | |
264 | 269 | then { | |
265 | 270 | let currentKey = toBase58String(i.caller.bytes) | |
266 | 271 | let currentAmount = match getInteger(this, ((("STAKE_LP_" + currentKey) + "_") + poolKey)) { | |
267 | 272 | case a: Int => | |
268 | 273 | a | |
269 | 274 | case _ => | |
270 | 275 | 0 | |
271 | 276 | } | |
272 | 277 | let newAmount = (currentAmount + i.payments[0].amount) | |
273 | 278 | let useramount = IntegerEntry(((("STAKE_LP_" + currentKey) + "_") + poolKey), newAmount) | |
274 | 279 | let userdepositheight = IntegerEntry(((((deposit_height + "_") + currentKey) + "_") + poolKey), height) | |
275 | 280 | let previouslockbalance = match getInteger(this, ("Total_Tokens_LP_Locked_" + poolKey)) { | |
276 | 281 | case a: Int => | |
277 | 282 | a | |
278 | 283 | case _ => | |
279 | 284 | 0 | |
280 | 285 | } | |
281 | 286 | let totaltoken = (previouslockbalance + i.payments[0].amount) | |
282 | 287 | let TLV = IntegerEntry(("Total_Tokens_LP_Locked_" + poolKey), totaltoken) | |
283 | 288 | [useramount, userdepositheight, TLV] | |
284 | 289 | } | |
285 | 290 | else throw("Invalid Pool key.") | |
286 | 291 | } | |
287 | 292 | else throw("liquidity is currently under maintenance.") | |
288 | 293 | else throw("dApp is currently under maintenance.") | |
289 | 294 | } | |
290 | 295 | ||
291 | 296 | ||
292 | 297 | ||
293 | 298 | @Callable(i) | |
294 | 299 | func remove (pool,Asset1,Asset2,amount) = { | |
295 | 300 | let power = getBooleanValue(this, ac) | |
296 | 301 | let liquidityPower = getBooleanValue(this, liquidityAc) | |
297 | 302 | let pmt = i.payments[0] | |
298 | 303 | let MainAsset = fromBase58String(getStringValue(this, main)) | |
299 | 304 | if (power) | |
300 | 305 | then if (!(liquidityPower)) | |
301 | 306 | then { | |
302 | 307 | let currentKey = toBase58String(i.caller.bytes) | |
303 | 308 | let currentAmount = valueOrElse(if (pool) | |
304 | 309 | then getIntegerValue(this, ((("STAKE_LP_" + currentKey) + "_") + kp(Asset1, Asset2))) | |
305 | 310 | else getInteger(this, currentKey), 0) | |
306 | 311 | let swapheightkeyname = if (pool) | |
307 | 312 | then ((((deposit_height + "_") + currentKey) + "_") + kp(Asset1, Asset2)) | |
308 | 313 | else (deposit_height + currentKey) | |
309 | 314 | let previouslockbalance = if (pool) | |
310 | 315 | then getIntegerValue(this, ("Total_Tokens_LP_Locked_" + kp(Asset1, Asset2))) | |
311 | 316 | else getIntegerValue(this, "Total_Tokens_Locked:") | |
312 | 317 | let totaltoken = (previouslockbalance - amount) | |
313 | 318 | let diff = (height - getIntegerValue(this, swapheightkeyname)) | |
314 | 319 | let bcd = getIntegerValue(this, bcD) | |
315 | 320 | let reward = ((diff * bcd) * D8) | |
316 | 321 | let feeCalc = (reward / (previouslockbalance / amount)) | |
317 | 322 | if ((0 > amount)) | |
318 | 323 | then throw(if (pool) | |
319 | 324 | then (((("Can't withdraw negative " + Asset1) + "/") + Asset2) + " amount") | |
320 | 325 | else "Can't withdraw negative AxAi amount") | |
321 | 326 | else { | |
322 | 327 | let newAmount = (currentAmount - amount) | |
323 | 328 | if ((0 > newAmount)) | |
324 | 329 | then throw(if (pool) | |
325 | 330 | then (((("Not enough Asset Lp " + Asset1) + "/") + Asset2) + " balance") | |
326 | 331 | else "Not enough AxAi balance") | |
327 | 332 | else [IntegerEntry(if (pool) | |
328 | 333 | then ((("STAKE_LP_" + currentKey) + "_") + kp(Asset1, Asset2)) | |
329 | 334 | else currentKey, newAmount), IntegerEntry(if (pool) | |
330 | 335 | then ("Total_Tokens_LP_Locked_" + kp(Asset1, Asset2)) | |
331 | 336 | else "Total_Tokens_Locked:", totaltoken), ScriptTransfer(i.caller, amount, if (pool) | |
332 | 337 | then fromBase58String(getStringValue(this, (l + kp(Asset1, Asset2)))) | |
333 | 338 | else MainAsset), ScriptTransfer(i.caller, feeCalc, MainAsset)] | |
334 | 339 | } | |
335 | 340 | } | |
336 | 341 | else throw("liquidity is currently under maintenance.") | |
337 | 342 | else throw("dApp is currently under maintenance.") | |
338 | 343 | } | |
339 | 344 | ||
340 | 345 | ||
341 | 346 | ||
342 | 347 | @Callable(i) | |
343 | 348 | func addLiquidity (Asset1,Asset2) = { | |
344 | 349 | let power = getBooleanValue(this, ac) | |
345 | 350 | let poolActivate = getBooleanValue(this, poolAc) | |
346 | 351 | let acWaves = getBooleanValue(this, aWaves) | |
347 | 352 | let key = validPoolK(kp(Asset1, Asset2)) | |
348 | 353 | let asset1 = i.payments[0].assetId | |
349 | 354 | let asset2 = i.payments[1].assetId | |
350 | 355 | let USDN = fromBase58String(getStringValue(this, usdn)) | |
351 | 356 | let USDC = fromBase58String(getStringValue(this, usdc)) | |
352 | 357 | let USDT = fromBase58String(getStringValue(this, usdt)) | |
353 | 358 | let NGNN = fromBase58String(getStringValue(this, ngnn)) | |
354 | 359 | let EURN = fromBase58String(getStringValue(this, eurn)) | |
355 | 360 | let MainAsset = fromBase58String(getStringValue(this, main)) | |
356 | 361 | let lpAssetId = getStringValue(this, (l + kp(Asset1, Asset2))) | |
357 | 362 | if (power) | |
358 | 363 | then if (!(poolActivate)) | |
359 | 364 | then if (if (if (!((asset1 == asset2))) | |
360 | 365 | then validateAsset(asset1, Asset1, acWaves) | |
361 | 366 | else false) | |
362 | 367 | then validateAsset(asset2, Asset2, acWaves) | |
363 | 368 | else false) | |
364 | 369 | then if (if (if (if (if (if (if (if ((asset1 == USDN)) | |
365 | 370 | then true | |
366 | 371 | else (asset1 == USDC)) | |
367 | 372 | then true | |
368 | 373 | else (asset1 == USDT)) | |
369 | 374 | then true | |
370 | 375 | else (asset1 == NGNN)) | |
371 | 376 | then true | |
372 | 377 | else (asset1 == MainAsset)) | |
373 | 378 | then true | |
374 | 379 | else (asset1 == WAVES)) | |
375 | 380 | then true | |
376 | 381 | else (asset1 == EURN)) | |
377 | 382 | then if (if (if (if (if (if ((asset2 == USDN)) | |
378 | 383 | then true | |
379 | 384 | else (asset2 == USDC)) | |
380 | 385 | then true | |
381 | 386 | else (asset2 == USDT)) | |
382 | 387 | then true | |
383 | 388 | else (asset2 == NGNN)) | |
384 | 389 | then true | |
385 | 390 | else (asset2 == MainAsset)) | |
386 | 391 | then true | |
387 | 392 | else (asset2 == WAVES)) | |
388 | 393 | then true | |
389 | 394 | else (asset2 == EURN) | |
390 | 395 | else false) | |
391 | 396 | then if (!((key == 0))) | |
392 | 397 | then { | |
393 | 398 | let currentKey = toBase58String(i.caller.bytes) | |
394 | 399 | let currentAmount = kpAddress(currentKey, kp(Asset1, Asset2)) | |
395 | 400 | let currentAmountAsset1 = poolAA(currentKey, kp(Asset1, Asset2), Asset1) | |
396 | 401 | let currentAmountAsset2 = poolAA(currentKey, kp(Asset1, Asset2), Asset2) | |
397 | 402 | let asset1pool = assetP(kp(Asset1, Asset2), Asset1) | |
398 | 403 | let asset2pool = assetP(kp(Asset1, Asset2), Asset2) | |
399 | 404 | let receiveLp = (asset1pool / asset2pool) | |
400 | 405 | let newcurrentAmountAsset1 = (currentAmountAsset1 + i.payments[0].amount) | |
401 | 406 | let newcurrentAmountAsset2 = (currentAmountAsset2 + i.payments[1].amount) | |
402 | 407 | let newcurrentAmount = (currentAmount + receiveLp) | |
403 | 408 | let newasset1pool = (asset1pool + i.payments[0].amount) | |
404 | 409 | let newasset2pool = (asset2pool + i.payments[1].amount) | |
405 | 410 | [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))] | |
406 | 411 | } | |
407 | 412 | else throw("Invalid Pool Key.") | |
408 | 413 | else throw(((("Invalid Asset1 or Asset2! Asset1: " + toString(if (if (if (if (if (if ((asset1 == USDN)) | |
409 | 414 | then true | |
410 | 415 | else (asset1 == USDC)) | |
411 | 416 | then true | |
412 | 417 | else (asset1 == USDT)) | |
413 | 418 | then true | |
414 | 419 | else (asset1 == NGNN)) | |
415 | 420 | then true | |
416 | 421 | else (asset1 == MainAsset)) | |
417 | 422 | then true | |
418 | 423 | else (asset1 == WAVES)) | |
419 | 424 | then true | |
420 | 425 | else (asset1 == EURN))) + " Asset2:") + toString(if (if (if (if (if (if ((asset2 == USDN)) | |
421 | 426 | then true | |
422 | 427 | else (asset2 == USDC)) | |
423 | 428 | then true | |
424 | 429 | else (asset2 == USDT)) | |
425 | 430 | then true | |
426 | 431 | else (asset2 == NGNN)) | |
427 | 432 | then true | |
428 | 433 | else (asset2 == MainAsset)) | |
429 | 434 | then true | |
430 | 435 | else (asset2 == WAVES)) | |
431 | 436 | then true | |
432 | 437 | else (asset2 == EURN)))) | |
433 | 438 | else throw("Asset1 cannot be equal to Asset2") | |
434 | 439 | else throw("liquidity is currently under maintenance.") | |
435 | 440 | else throw("dApp is currently under maintenance.") | |
436 | 441 | } | |
437 | 442 | ||
438 | 443 | ||
439 | 444 | ||
440 | 445 | @Callable(i) | |
441 | 446 | func removeLiquidity (Asset1,Asset2,Amount) = { | |
442 | 447 | let currentKey = toBase58String(i.caller.bytes) | |
443 | 448 | let power = getBooleanValue(this, ac) | |
444 | 449 | let poolActivate = getBooleanValue(this, poolAc) | |
445 | 450 | let acWaves = getBooleanValue(this, aWaves) | |
446 | 451 | let poolKey = kp(Asset1, Asset2) | |
447 | 452 | let key = validPoolK(poolKey) | |
448 | 453 | let asset1 = if ((Asset1 == waves)) | |
449 | 454 | then if (acWaves) | |
450 | 455 | then WAVES | |
451 | 456 | else throw("The smart contract does not currently support Waves.") | |
452 | 457 | else fromBase58String(Asset1) | |
453 | 458 | let asset2 = if ((Asset2 == waves)) | |
454 | 459 | then if (acWaves) | |
455 | 460 | then WAVES | |
456 | 461 | else throw("The smart contract does not currently support Waves.") | |
457 | 462 | else fromBase58String(Asset2) | |
458 | 463 | let USDN = fromBase58String(getStringValue(this, usdn)) | |
459 | 464 | let USDC = fromBase58String(getStringValue(this, usdc)) | |
460 | 465 | let USDT = fromBase58String(getStringValue(this, usdt)) | |
461 | 466 | let NGNN = fromBase58String(getStringValue(this, ngnn)) | |
462 | 467 | let MainAsset = fromBase58String(getStringValue(this, main)) | |
463 | 468 | let EURN = fromBase58String(getStringValue(this, eurn)) | |
464 | 469 | let lpAssetId = getStringValue(this, (l + kp(Asset1, Asset2))) | |
465 | 470 | let currentAmount = kpAddress(currentKey, kp(Asset1, Asset2)) | |
466 | 471 | let amountLpBlocked = lpBlocked(currentKey, poolKey) | |
467 | 472 | let totalLP = getIntegerValue(this, lpAssetId) | |
468 | 473 | let totalAsset1Pool = getIntegerValue(this, ((kp(Asset1, Asset2) + "_") + Asset1)) | |
469 | 474 | let totalAsset2Pool = getIntegerValue(this, ((kp(Asset1, Asset2) + "_") + Asset2)) | |
470 | 475 | if (power) | |
471 | 476 | then if (!(poolActivate)) | |
472 | 477 | then if (!((Asset1 == Asset2))) | |
473 | 478 | then if (if (if (if (if (if (if (if ((asset1 == USDN)) | |
474 | 479 | then true | |
475 | 480 | else (asset1 == USDC)) | |
476 | 481 | then true | |
477 | 482 | else (asset1 == USDT)) | |
478 | 483 | then true | |
479 | 484 | else (asset1 == NGNN)) | |
480 | 485 | then true | |
481 | 486 | else (asset1 == MainAsset)) | |
482 | 487 | then true | |
483 | 488 | else (asset1 == WAVES)) | |
484 | 489 | then true | |
485 | 490 | else (asset1 == EURN)) | |
486 | 491 | then if (if (if (if (if (if ((asset2 == USDN)) | |
487 | 492 | then true | |
488 | 493 | else (asset2 == USDC)) | |
489 | 494 | then true | |
490 | 495 | else (asset2 == USDT)) | |
491 | 496 | then true | |
492 | 497 | else (asset2 == NGNN)) | |
493 | 498 | then true | |
494 | 499 | else (asset2 == MainAsset)) | |
495 | 500 | then true | |
496 | 501 | else (asset2 == WAVES)) | |
497 | 502 | then true | |
498 | 503 | else (asset2 == EURN) | |
499 | 504 | else false) | |
500 | 505 | then if (!((key == 0))) | |
501 | 506 | then if (!((currentAmount == 0))) | |
502 | 507 | then if (((currentAmount - amountLpBlocked) >= Amount)) | |
503 | 508 | then { | |
504 | 509 | let calcLP = (Amount / totalLP) | |
505 | 510 | let receiveAsset1 = (calcLP * totalAsset1Pool) | |
506 | 511 | let receiveAsset2 = (calcLP * totalAsset2Pool) | |
507 | 512 | let asset1pool = assetP(kp(Asset1, Asset2), Asset1) | |
508 | 513 | let asset2pool = assetP(kp(Asset1, Asset2), Asset2) | |
509 | 514 | let currentAmountAsset1 = poolAA(currentKey, kp(Asset1, Asset2), Asset1) | |
510 | 515 | let currentAmountAsset2 = poolAA(currentKey, kp(Asset1, Asset2), Asset2) | |
511 | 516 | let newcurrentAmountAsset1 = (currentAmountAsset1 - receiveAsset1) | |
512 | 517 | let newcurrentAmountAsset2 = (currentAmountAsset2 - receiveAsset2) | |
513 | 518 | let newcurrentAmount = (currentAmount - Amount) | |
514 | 519 | let newasset1pool = (asset1pool - receiveAsset1) | |
515 | 520 | let newasset2pool = (asset2pool - receiveAsset2) | |
516 | 521 | [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))] | |
517 | 522 | } | |
518 | 523 | else throw("Amount to be withdrawn greater than the amount available for withdrawal.") | |
519 | 524 | else throw("You have no locked values in the pool") | |
520 | 525 | else throw("Invalid Pool Key.") | |
521 | 526 | else throw("Invalid Asset1 or Asset2!") | |
522 | 527 | else throw("Asset1 cannot be equal to Asset2") | |
523 | 528 | else throw("liquidity is currently under maintenance.") | |
524 | 529 | else throw("dApp is currently under maintenance.") | |
525 | 530 | } | |
526 | 531 | ||
527 | 532 | ||
528 | 533 | ||
529 | 534 | @Callable(i) | |
530 | 535 | func swap (Asset1,Asset2) = { | |
531 | 536 | let currentKey = toBase58String(i.caller.bytes) | |
532 | 537 | let acWaves = getBooleanValue(this, aWaves) | |
533 | 538 | let power = getBooleanValue(this, ac) | |
534 | 539 | let swapActivate = getBooleanValue(this, swapAc) | |
535 | 540 | let poolKey = kp(Asset1, Asset2) | |
536 | 541 | let key = validPoolK(poolKey) | |
537 | 542 | let asset1 = i.payments[0].assetId | |
538 | 543 | let USDN = fromBase58String(getStringValue(this, usdn)) | |
539 | 544 | let USDC = fromBase58String(getStringValue(this, usdc)) | |
540 | 545 | let USDT = fromBase58String(getStringValue(this, usdt)) | |
541 | 546 | let NGNN = fromBase58String(getStringValue(this, ngnn)) | |
542 | 547 | let MainAsset = fromBase58String(getStringValue(this, main)) | |
543 | 548 | let EURN = fromBase58String(getStringValue(this, eurn)) | |
544 | 549 | let totalAsset1 = getIntegerValue(this, ((kp(Asset1, Asset2) + "_") + Asset1)) | |
545 | 550 | let totalAsset2 = getIntegerValue(this, ((kp(Asset1, Asset2) + "_") + Asset2)) | |
546 | 551 | let feeRatePercentual = getIntegerValue(this, rateFee) | |
547 | 552 | if (power) | |
548 | 553 | then if (!(swapActivate)) | |
549 | 554 | then if (if (!((Asset1 == Asset2))) | |
550 | 555 | then if (validateAsset(asset1, Asset1, acWaves)) | |
551 | 556 | then true | |
552 | 557 | else validateAsset(asset1, Asset2, acWaves) | |
553 | 558 | else false) | |
554 | 559 | then if (if (if (if (if (if (if ((asset1 == USDN)) | |
555 | 560 | then true | |
556 | 561 | else (asset1 == USDC)) | |
557 | 562 | then true | |
558 | 563 | else (asset1 == USDT)) | |
559 | 564 | then true | |
560 | 565 | else (asset1 == NGNN)) | |
561 | 566 | then true | |
562 | 567 | else (asset1 == MainAsset)) | |
563 | 568 | then true | |
564 | 569 | else (asset1 == EURN)) | |
565 | 570 | then true | |
566 | 571 | else (asset1 == WAVES)) | |
567 | 572 | then if (!((key == 0))) | |
568 | 573 | then if ((i.payments[1].assetId == MainAsset)) | |
569 | 574 | then if ((i.payments[1].amount == 300000)) | |
570 | 575 | then { | |
571 | 576 | let valueAsset = if (!((asset1 == fromBase58String(Asset1)))) | |
572 | 577 | then (totalAsset1 / totalAsset2) | |
573 | 578 | else (totalAsset2 / totalAsset1) | |
574 | 579 | let newValue = (i.payments[0].amount - ((i.payments[0].amount * feeRatePercentual) / (100 * D8))) | |
575 | 580 | let sendValue = (newValue * valueAsset) | |
576 | 581 | [ScriptTransfer(Address(i.caller.bytes), sendValue, if ((Asset2 == waves)) | |
577 | 582 | then WAVES | |
578 | 583 | else fromBase58String(Asset2)), IntegerEntry(Asset2, (getAmountBlockAsset(Asset2) - sendValue)), IntegerEntry(((kp(Asset1, Asset2) + "_") + Asset2), (assetP(kp(Asset1, Asset2), Asset2) - sendValue))] | |
579 | 584 | } | |
580 | 585 | else throw("Swap denied! 0.003 AxAi is required for the swap fee.") | |
581 | 586 | else throw("Invalid rate asset") | |
582 | 587 | else throw("Invalid Swap Key.") | |
583 | 588 | else throw("Invalid Asset1 or Asset2!") | |
584 | 589 | else throw("Asset1 cannot be equal to Asset2") | |
585 | 590 | else throw("Swap is currently under maintenance.") | |
586 | 591 | else throw("dApp is currently under maintenance.") | |
587 | 592 | } | |
588 | 593 | ||
589 | 594 | ||
590 | 595 | @Verifier(tx) | |
591 | 596 | func verify () = match tx { | |
592 | 597 | case order: Order => | |
593 | 598 | true | |
594 | 599 | case e: ExchangeTransaction => | |
595 | 600 | true | |
596 | 601 | case _ => | |
597 | 602 | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
598 | 603 | } | |
599 | 604 |
github/deemru/w8io/026f985 75.49 ms ◑