tx · 1KfYJG9KWNCu4HgX9BS28GTDXDe1DaTvPUyPSuyZ1e5 3N8b7mamWRbw6YjYJgsNGzTsKAbsbf4zVSA: -0.02900000 Waves 2022.07.08 03:44 [2130012] smart account 3N8b7mamWRbw6YjYJgsNGzTsKAbsbf4zVSA > SELF 0.00000000 Waves
{ "type": 13, "id": "1KfYJG9KWNCu4HgX9BS28GTDXDe1DaTvPUyPSuyZ1e5", "fee": 2900000, "feeAssetId": null, "timestamp": 1657241171868, "version": 2, "chainId": 84, "sender": "3N8b7mamWRbw6YjYJgsNGzTsKAbsbf4zVSA", "senderPublicKey": "FA2TFZp55AkfpLAK7toKNNdufbHH3cY6aCSSMFcFPafT", "proofs": [ "4zWDSJeyttTWWfPY43nfohoUSQidk9R7hNES785fo1JUG1Va556Mfc73JoMcK9Z6tTixWYQJVFqYqZiBaqJHXEVD" ], "script": "base64:AAIFAAAAAAAAAFAIAhIJCgcICAgICAEBEgMKAQQSBQoDBAQEEgMKAQESAwoBARIDCgEIEgQKAggIEgUKAwQICBIGCgQECAgBEgQKAggIEgUKAwgIARIECgIICAAAACIAAAAABG1haW4CAAAACm1haW5fYXNzZXQAAAAAAWwCAAAACWxwX2Fzc2V0XwAAAAADYWExAgAAAAZwb29sX18AAAAAAnNhAgAAAA9TVEFLSU5HX0FNT1VOVF8AAAAAAmxhAgAAAA1MRUFTRV9BTU9VTlRfAAAAAAJpeAIAAAADSURfAAAAAAdyYXRlRmVlAgAAABNwZXJjZW50YWdlX3JhdGVfZmVlAAAAAA5kZXBvc2l0X2hlaWdodAIAAAASRGVwb3NpdF9IZWlnaHRfT2ZfAAAAAAJEOAAAAAAABfXhAAAAAAACRDYAAAAAAAAPQkAAAAAAD2NvbnRyYWN0QWRkcmVzcwkBAAAAB0FkZHJlc3MAAAABCAUAAAAEdGhpcwAAAAVieXRlcwAAAAAMZXhjaGFuZ2VSYXRlAAAAAAAAAAAFAQAAABFnZXRBZGRyZXNzSWZWYWxpZAAAAAEAAAAHYWRk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EUBleHRyTmF0aXZlKDEwNTMpAAAAAgUAAAAEdGhpcwUAAAAEdXNkbgYJAAAAAAAAAggICAUAAAABZQAAAAhidXlPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAUAAAAEdW5pdAcJAAH0AAAAAwgFAAAAAWUAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAFlAAAABnByb29mcwAAAAAAAAAAAAgFAAAAAWUAAAAPc2VuZGVyUHVibGljS2V5BwMDCQAAAAAAAAIICAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAAthbW91bnRBc3NldAkAAlkAAAABCQEAAAARQGV4dHJOYXRpdmUoMTA1MykAAAACBQAAAAR0aGlzBQAAAARtYWluAwkAAAAAAAACCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAkAAlkAAAABCQEAAAARQGV4dHJOYXRpdmUoMTA1MykAAAACBQAAAAR0aGlzBQAAAAR1c2RuBgkAAAAAAAACCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAUAAAAEdW5pdAcJAAH0AAAAAwgFAAAAAWUAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAFlAAAABnByb29mcwAAAAAAAAAAAAgFAAAAAWUAAAAPc2VuZGVyUHVibGljS2V5BwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXlbpb4w", "height": 2130012, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9CqHiys8Hoa6pfH58Gy5U5ocg3A3bEEZg6HUC7Qi9tNS Next: 3No4JppNAJVXH5KgxCntgoaa1cffXZrJMx43p48CTKDr Diff:
Old | New | Differences | |
---|---|---|---|
105 | 105 | let keyPoolNgnnWaves = kp(NgnnAssetId, "WAVES") | |
106 | 106 | let keyPoolNgnnMainAsset = kp(NgnnAssetId, MainAssetId) | |
107 | 107 | let keyPoolMainWaves = kp(MainAssetId, "WAVES") | |
108 | - | [StringEntry(main, MainAssetId), StringEntry(usdn, UsdnAssetId), StringEntry(usdc, UsdcAssetId), StringEntry(usdt, UsdtAssetId), StringEntry(ngnn, NgnnAssetId), IntegerEntry(rateFee, | |
108 | + | [StringEntry(main, MainAssetId), StringEntry(usdn, UsdnAssetId), StringEntry(usdc, UsdcAssetId), StringEntry(usdt, UsdtAssetId), StringEntry(ngnn, NgnnAssetId), IntegerEntry(rateFee, percentageRateSwap), BooleanEntry(ac, true), BooleanEntry(swapAc, false), BooleanEntry(poolAc, false), BooleanEntry(liquidityAc, false), IntegerEntry(bcD, blockDistribution), IntegerEntry(keyPoolUsdnUsdt, 0), IntegerEntry(keyPoolUsdnWaves, 0), IntegerEntry(keyPoolUsdnUsdc, 0), IntegerEntry(keyPoolUsdnNgnn, 0), IntegerEntry(keyPoolUsdnMainAsset, 0), IntegerEntry(keyPoolUsdcUsdt, 0), IntegerEntry(keyPoolUsdcNgnn, 0), IntegerEntry(keyPoolUsdcWaves, 0), IntegerEntry(keyPoolUsdtMainAsset, 0), IntegerEntry(keyPoolUsdtNgnn, 0), IntegerEntry(keyPoolUsdtWaves, 0), IntegerEntry(keyPoolNgnnWaves, 0), IntegerEntry(keyPoolNgnnMainAsset, 0), IntegerEntry(keyPoolMainWaves, 0)] | |
109 | 109 | } | |
110 | 110 | else throw("Only the Admin itself can invoke this function") | |
111 | 111 |
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 | let ac = "activate" | |
38 | 38 | ||
39 | 39 | let poolAc = "activate_pools" | |
40 | 40 | ||
41 | 41 | let swapAc = "activate_swap" | |
42 | 42 | ||
43 | 43 | let liquidityAc = "activate_liquidity" | |
44 | 44 | ||
45 | 45 | let bcD = "block_distribuition" | |
46 | 46 | ||
47 | 47 | let total_locked = "Total_Tokens_Locked_" | |
48 | 48 | ||
49 | 49 | let usdn = "usdn_asset" | |
50 | 50 | ||
51 | 51 | let usdt = "usdt_asset" | |
52 | 52 | ||
53 | 53 | let usdc = "usdc_asset" | |
54 | 54 | ||
55 | 55 | let ngnn = "ngnn_asset" | |
56 | 56 | ||
57 | 57 | let aWaves = "accept_waves" | |
58 | 58 | ||
59 | 59 | func kp (asset1,asset2) = (((aa1 + asset1) + "_") + asset2) | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func validPoolK (key) = valueOrElse(getInteger(this, key), 0) | |
63 | 63 | ||
64 | 64 | ||
65 | 65 | func kpAddress (address,key) = valueOrElse(getIntegerValue(this, ((key + "_") + address)), 0) | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func poolAA (address,key,asset) = valueOrElse(getIntegerValue(this, ((((key + "_") + address) + "_") + asset)), 1) | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func assetP (key,asset) = valueOrElse(getIntegerValue(this, ((key + "_") + asset)), 1) | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func pkey (Asset1,Asset2,address) = (((deposit_height + kp(Asset1, Asset2)) + "_") + address) | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func lpBlocked (address,key) = valueOrElse(getIntegerValue(this, ((("STAKE_LP_" + address) + "_") + key)), 0) | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func adminVerification () = match getStringValue(this, "admin") { | |
81 | 81 | case t: String => | |
82 | 82 | Address(fromBase58String(t)) | |
83 | 83 | case _ => | |
84 | 84 | this | |
85 | 85 | } | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | @Callable(i) | |
89 | 89 | func constructor (MainAssetId,UsdnAssetId,UsdtAssetId,UsdcAssetId,NgnnAssetId,percentageRateSwap,blockDistribution) = if (if ((i.caller == this)) | |
90 | 90 | then true | |
91 | 91 | else (i.caller == adminVerification())) | |
92 | 92 | then { | |
93 | 93 | let keyPoolUsdnUsdt = kp(UsdnAssetId, UsdtAssetId) | |
94 | 94 | let keyPoolUsdnUsdc = kp(UsdnAssetId, UsdcAssetId) | |
95 | 95 | let keyPoolUsdnNgnn = kp(UsdnAssetId, NgnnAssetId) | |
96 | 96 | let keyPoolUsdnWaves = kp(UsdnAssetId, "WAVES") | |
97 | 97 | let keyPoolUsdnMainAsset = kp(UsdnAssetId, MainAssetId) | |
98 | 98 | let keyPoolUsdcUsdt = kp(UsdcAssetId, UsdtAssetId) | |
99 | 99 | let keyPoolUsdcNgnn = kp(UsdcAssetId, NgnnAssetId) | |
100 | 100 | let keyPoolUsdcWaves = kp(UsdcAssetId, "WAVES") | |
101 | 101 | let keyPoolUsdcMainAsset = kp(UsdcAssetId, MainAssetId) | |
102 | 102 | let keyPoolUsdtNgnn = kp(UsdtAssetId, NgnnAssetId) | |
103 | 103 | let keyPoolUsdtWaves = kp(UsdtAssetId, "WAVES") | |
104 | 104 | let keyPoolUsdtMainAsset = kp(UsdtAssetId, MainAssetId) | |
105 | 105 | let keyPoolNgnnWaves = kp(NgnnAssetId, "WAVES") | |
106 | 106 | let keyPoolNgnnMainAsset = kp(NgnnAssetId, MainAssetId) | |
107 | 107 | let keyPoolMainWaves = kp(MainAssetId, "WAVES") | |
108 | - | [StringEntry(main, MainAssetId), StringEntry(usdn, UsdnAssetId), StringEntry(usdc, UsdcAssetId), StringEntry(usdt, UsdtAssetId), StringEntry(ngnn, NgnnAssetId), IntegerEntry(rateFee, | |
108 | + | [StringEntry(main, MainAssetId), StringEntry(usdn, UsdnAssetId), StringEntry(usdc, UsdcAssetId), StringEntry(usdt, UsdtAssetId), StringEntry(ngnn, NgnnAssetId), IntegerEntry(rateFee, percentageRateSwap), BooleanEntry(ac, true), BooleanEntry(swapAc, false), BooleanEntry(poolAc, false), BooleanEntry(liquidityAc, false), IntegerEntry(bcD, blockDistribution), IntegerEntry(keyPoolUsdnUsdt, 0), IntegerEntry(keyPoolUsdnWaves, 0), IntegerEntry(keyPoolUsdnUsdc, 0), IntegerEntry(keyPoolUsdnNgnn, 0), IntegerEntry(keyPoolUsdnMainAsset, 0), IntegerEntry(keyPoolUsdcUsdt, 0), IntegerEntry(keyPoolUsdcNgnn, 0), IntegerEntry(keyPoolUsdcWaves, 0), IntegerEntry(keyPoolUsdtMainAsset, 0), IntegerEntry(keyPoolUsdtNgnn, 0), IntegerEntry(keyPoolUsdtWaves, 0), IntegerEntry(keyPoolNgnnWaves, 0), IntegerEntry(keyPoolNgnnMainAsset, 0), IntegerEntry(keyPoolMainWaves, 0)] | |
109 | 109 | } | |
110 | 110 | else throw("Only the Admin itself can invoke this function") | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | ||
114 | 114 | @Callable(i) | |
115 | 115 | func activate (v) = if (if ((i.caller == this)) | |
116 | 116 | then true | |
117 | 117 | else (i.caller == adminVerification())) | |
118 | 118 | then [BooleanEntry(ac, v)] | |
119 | 119 | else throw("Only the Admin itself can invoke this function") | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | ||
123 | 123 | @Callable(i) | |
124 | 124 | func maintenance (pools,swap,stake) = if (if ((i.caller == this)) | |
125 | 125 | then true | |
126 | 126 | else (i.caller == adminVerification())) | |
127 | 127 | then [BooleanEntry(poolAc, pools), BooleanEntry(swapAc, swap), BooleanEntry(liquidityAc, stake)] | |
128 | 128 | else throw("Only the Admin itself can invoke this function") | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | ||
132 | 132 | @Callable(i) | |
133 | 133 | func percentualRateFeeSwapEdit (rate) = if (if ((i.caller == this)) | |
134 | 134 | then true | |
135 | 135 | else (i.caller == adminVerification())) | |
136 | 136 | then [IntegerEntry(rateFee, rate)] | |
137 | 137 | else throw("Only the Admin itself can invoke this function") | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | ||
141 | 141 | @Callable(i) | |
142 | 142 | func blockDistribution (newValue) = if (if ((i.caller == this)) | |
143 | 143 | then true | |
144 | 144 | else (i.caller == adminVerification())) | |
145 | 145 | then [IntegerEntry(bcD, newValue)] | |
146 | 146 | else throw("Only the Admin itself can invoke this function") | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | ||
150 | 150 | @Callable(i) | |
151 | 151 | func addAdmin (address) = if (if ((i.caller == this)) | |
152 | 152 | then true | |
153 | 153 | else (i.caller == adminVerification())) | |
154 | 154 | then [StringEntry("admin", address)] | |
155 | 155 | else throw("Only the Admin itself can invoke this function") | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | ||
159 | 159 | @Callable(i) | |
160 | 160 | func lpAssetCreateForPairPool (asset1,asset2) = { | |
161 | 161 | let key = validPoolK(kp(asset1, asset2)) | |
162 | 162 | if (if ((i.caller == this)) | |
163 | 163 | then true | |
164 | 164 | else (i.caller == adminVerification())) | |
165 | 165 | then if (!((key == 0))) | |
166 | 166 | then { | |
167 | 167 | let assetLpCreate = Issue(((("LP_" + asset1) + "_") + asset2), ((("LP asset for pool liquidity in AxAi Swap pair " + asset1) + "_") + asset2), 1, 8, true) | |
168 | 168 | let idAssetLp = calculateAssetId(assetLpCreate) | |
169 | 169 | [StringEntry((l + kp(asset1, asset2)), toBase58String(idAssetLp))] | |
170 | 170 | } | |
171 | 171 | else throw("Invalid Pool Key. Try inverting the assets") | |
172 | 172 | else throw("Only the Admin itself can invoke this function") | |
173 | 173 | } | |
174 | 174 | ||
175 | 175 | ||
176 | 176 | ||
177 | 177 | @Callable(i) | |
178 | 178 | func deposit (pool,Asset1,Asset2) = { | |
179 | 179 | let power = getBooleanValue(this, ac) | |
180 | 180 | let liquidityPower = getBooleanValue(this, liquidityAc) | |
181 | 181 | let MainAsset = getStringValue(this, main) | |
182 | 182 | let lpAssetId = if (pool) | |
183 | 183 | then getStringValue(this, (l + kp(Asset1, Asset2))) | |
184 | 184 | else MainAsset | |
185 | 185 | if (power) | |
186 | 186 | then if (!(liquidityPower)) | |
187 | 187 | then if ((i.payments[0].assetId != fromBase58String(lpAssetId))) | |
188 | 188 | then throw((("Invalid asset! Kindly Deposit Only " + MainAsset) + " or valid asset lp")) | |
189 | 189 | else if (!(pool)) | |
190 | 190 | then { | |
191 | 191 | let currentKey = toBase58String(i.caller.bytes) | |
192 | 192 | let currentAmount = match getInteger(this, currentKey) { | |
193 | 193 | case a: Int => | |
194 | 194 | a | |
195 | 195 | case _ => | |
196 | 196 | 0 | |
197 | 197 | } | |
198 | 198 | let newAmount = (currentAmount + i.payments[0].amount) | |
199 | 199 | let useramount = IntegerEntry(currentKey, newAmount) | |
200 | 200 | let userdepositheight = IntegerEntry((deposit_height + currentKey), height) | |
201 | 201 | let previouslockbalance = match getInteger(this, "Total_Tokens_Locked:") { | |
202 | 202 | case a: Int => | |
203 | 203 | a | |
204 | 204 | case _ => | |
205 | 205 | 0 | |
206 | 206 | } | |
207 | 207 | let totaltoken = (previouslockbalance + i.payments[0].amount) | |
208 | 208 | let TLV = IntegerEntry("Total_Tokens_Locked:", totaltoken) | |
209 | 209 | [useramount, userdepositheight, TLV] | |
210 | 210 | } | |
211 | 211 | else { | |
212 | 212 | let poolKey = kp(Asset1, Asset2) | |
213 | 213 | let key = validPoolK(poolKey) | |
214 | 214 | if (!((key == 0))) | |
215 | 215 | then { | |
216 | 216 | let currentKey = toBase58String(i.caller.bytes) | |
217 | 217 | let currentAmount = match getInteger(this, ((("STAKE_LP_" + currentKey) + "_") + poolKey)) { | |
218 | 218 | case a: Int => | |
219 | 219 | a | |
220 | 220 | case _ => | |
221 | 221 | 0 | |
222 | 222 | } | |
223 | 223 | let newAmount = (currentAmount + i.payments[0].amount) | |
224 | 224 | let useramount = IntegerEntry(((("STAKE_LP_" + currentKey) + "_") + poolKey), newAmount) | |
225 | 225 | let userdepositheight = IntegerEntry(((((deposit_height + "_") + currentKey) + "_") + poolKey), height) | |
226 | 226 | let previouslockbalance = match getInteger(this, ("Total_Tokens_LP_Locked_" + poolKey)) { | |
227 | 227 | case a: Int => | |
228 | 228 | a | |
229 | 229 | case _ => | |
230 | 230 | 0 | |
231 | 231 | } | |
232 | 232 | let totaltoken = (previouslockbalance + i.payments[0].amount) | |
233 | 233 | let TLV = IntegerEntry(("Total_Tokens_LP_Locked_" + poolKey), totaltoken) | |
234 | 234 | [useramount, userdepositheight, TLV] | |
235 | 235 | } | |
236 | 236 | else throw("Invalid Pool key.") | |
237 | 237 | } | |
238 | 238 | else throw("liquidity is currently under maintenance.") | |
239 | 239 | else throw("dApp is currently under maintenance.") | |
240 | 240 | } | |
241 | 241 | ||
242 | 242 | ||
243 | 243 | ||
244 | 244 | @Callable(i) | |
245 | 245 | func remove (pool,Asset1,Asset2,amount) = { | |
246 | 246 | let power = getBooleanValue(this, ac) | |
247 | 247 | let liquidityPower = getBooleanValue(this, liquidityAc) | |
248 | 248 | let pmt = i.payments[0] | |
249 | 249 | let MainAsset = fromBase58String(getStringValue(this, main)) | |
250 | 250 | if (power) | |
251 | 251 | then if (!(liquidityPower)) | |
252 | 252 | then { | |
253 | 253 | let currentKey = toBase58String(i.caller.bytes) | |
254 | 254 | let currentAmount = valueOrElse(if (pool) | |
255 | 255 | then getIntegerValue(this, ((("STAKE_LP_" + currentKey) + "_") + kp(Asset1, Asset2))) | |
256 | 256 | else getInteger(this, currentKey), 0) | |
257 | 257 | let swapheightkeyname = if (pool) | |
258 | 258 | then ((((deposit_height + "_") + currentKey) + "_") + kp(Asset1, Asset2)) | |
259 | 259 | else (deposit_height + currentKey) | |
260 | 260 | let previouslockbalance = if (pool) | |
261 | 261 | then getIntegerValue(this, ("Total_Tokens_LP_Locked_" + kp(Asset1, Asset2))) | |
262 | 262 | else getIntegerValue(this, "Total_Tokens_Locked:") | |
263 | 263 | let totaltoken = (previouslockbalance - amount) | |
264 | 264 | let diff = (height - getIntegerValue(this, swapheightkeyname)) | |
265 | 265 | let bcd = getIntegerValue(this, bcD) | |
266 | 266 | let reward = ((diff * bcd) * D8) | |
267 | 267 | let feeCalc = (reward / (previouslockbalance / amount)) | |
268 | 268 | if ((0 > amount)) | |
269 | 269 | then throw(if (pool) | |
270 | 270 | then (((("Can't withdraw negative " + Asset1) + "/") + Asset2) + " amount") | |
271 | 271 | else "Can't withdraw negative AxAi amount") | |
272 | 272 | else { | |
273 | 273 | let newAmount = (currentAmount - amount) | |
274 | 274 | if ((0 > newAmount)) | |
275 | 275 | then throw(if (pool) | |
276 | 276 | then (((("Not enough Asset Lp " + Asset1) + "/") + Asset2) + " balance") | |
277 | 277 | else "Not enough AxAi balance") | |
278 | 278 | else [IntegerEntry(if (pool) | |
279 | 279 | then ((("STAKE_LP_" + currentKey) + "_") + kp(Asset1, Asset2)) | |
280 | 280 | else currentKey, newAmount), IntegerEntry(if (pool) | |
281 | 281 | then ("Total_Tokens_LP_Locked_" + kp(Asset1, Asset2)) | |
282 | 282 | else "Total_Tokens_Locked:", totaltoken), ScriptTransfer(i.caller, amount, if (pool) | |
283 | 283 | then fromBase58String(getStringValue(this, (l + kp(Asset1, Asset2)))) | |
284 | 284 | else MainAsset), ScriptTransfer(i.caller, feeCalc, MainAsset)] | |
285 | 285 | } | |
286 | 286 | } | |
287 | 287 | else throw("liquidity is currently under maintenance.") | |
288 | 288 | else throw("dApp is currently under maintenance.") | |
289 | 289 | } | |
290 | 290 | ||
291 | 291 | ||
292 | 292 | ||
293 | 293 | @Callable(i) | |
294 | 294 | func addLiquidity (Asset1,Asset2) = { | |
295 | 295 | let power = getBooleanValue(this, ac) | |
296 | 296 | let poolActivate = getBooleanValue(this, poolAc) | |
297 | 297 | let key = validPoolK(kp(Asset1, Asset2)) | |
298 | 298 | let asset1 = i.payments[0].assetId | |
299 | 299 | let asset2 = i.payments[1].assetId | |
300 | 300 | let USDN = toBytes(getStringValue(this, usdn)) | |
301 | 301 | let USDC = toBytes(getStringValue(this, usdc)) | |
302 | 302 | let USDT = toBytes(getStringValue(this, usdt)) | |
303 | 303 | let NGNN = toBytes(getStringValue(this, ngnn)) | |
304 | 304 | let MainAsset = fromBase58String(getStringValue(this, main)) | |
305 | 305 | let lpAssetId = getStringValue(this, (l + kp(Asset1, Asset2))) | |
306 | 306 | if (power) | |
307 | 307 | then if (!(poolActivate)) | |
308 | 308 | then if (if (if (!((asset1 == asset2))) | |
309 | 309 | then (asset1 == fromBase58String(Asset1)) | |
310 | 310 | else false) | |
311 | 311 | then (asset2 == fromBase58String(Asset2)) | |
312 | 312 | else false) | |
313 | 313 | then if (if (if (if (if (if ((asset1 == USDN)) | |
314 | 314 | then true | |
315 | 315 | else (asset1 == USDC)) | |
316 | 316 | then true | |
317 | 317 | else (asset1 == USDT)) | |
318 | 318 | then true | |
319 | 319 | else (asset1 == NGNN)) | |
320 | 320 | then true | |
321 | 321 | else (asset1 == MainAsset)) | |
322 | 322 | then if (if (if (if ((asset2 == USDN)) | |
323 | 323 | then true | |
324 | 324 | else (asset2 == USDC)) | |
325 | 325 | then true | |
326 | 326 | else (asset2 == USDT)) | |
327 | 327 | then true | |
328 | 328 | else (asset2 == NGNN)) | |
329 | 329 | then true | |
330 | 330 | else (asset2 == MainAsset) | |
331 | 331 | else false) | |
332 | 332 | then if (!((key == 0))) | |
333 | 333 | then { | |
334 | 334 | let currentKey = toBase58String(i.caller.bytes) | |
335 | 335 | let currentAmount = kpAddress(currentKey, kp(Asset1, Asset2)) | |
336 | 336 | let currentAmountAsset1 = poolAA(currentKey, kp(Asset1, Asset2), Asset1) | |
337 | 337 | let currentAmountAsset2 = poolAA(currentKey, kp(Asset1, Asset2), Asset2) | |
338 | 338 | let asset1pool = assetP(kp(Asset1, Asset2), Asset1) | |
339 | 339 | let asset2pool = assetP(kp(Asset1, Asset2), Asset2) | |
340 | 340 | let receiveLp = (asset1pool / asset2pool) | |
341 | 341 | let newcurrentAmountAsset1 = (currentAmountAsset1 + i.payments[0].amount) | |
342 | 342 | let newcurrentAmountAsset2 = (currentAmountAsset2 + i.payments[1].amount) | |
343 | 343 | let newcurrentAmount = (currentAmount + receiveLp) | |
344 | 344 | let newasset1pool = (asset1pool + i.payments[0].amount) | |
345 | 345 | let newasset2pool = (asset2pool + i.payments[1].amount) | |
346 | 346 | [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))] | |
347 | 347 | } | |
348 | 348 | else throw("Invalid Pool Key.") | |
349 | 349 | else throw("Invalid Asset1 or Asset2!") | |
350 | 350 | else throw("Asset1 cannot be equal to Asset2") | |
351 | 351 | else throw("liquidity is currently under maintenance.") | |
352 | 352 | else throw("dApp is currently under maintenance.") | |
353 | 353 | } | |
354 | 354 | ||
355 | 355 | ||
356 | 356 | ||
357 | 357 | @Callable(i) | |
358 | 358 | func removeLiquidity (Asset1,Asset2,Amount) = { | |
359 | 359 | let currentKey = toBase58String(i.caller.bytes) | |
360 | 360 | let power = getBooleanValue(this, ac) | |
361 | 361 | let poolActivate = getBooleanValue(this, poolAc) | |
362 | 362 | let poolKey = kp(Asset1, Asset2) | |
363 | 363 | let key = validPoolK(poolKey) | |
364 | 364 | let asset1 = fromBase58String(Asset1) | |
365 | 365 | let asset2 = fromBase58String(Asset2) | |
366 | 366 | let USDN = toBytes(getStringValue(this, usdn)) | |
367 | 367 | let USDC = toBytes(getStringValue(this, usdc)) | |
368 | 368 | let USDT = toBytes(getStringValue(this, usdt)) | |
369 | 369 | let NGNN = toBytes(getStringValue(this, ngnn)) | |
370 | 370 | let MainAsset = fromBase58String(getStringValue(this, main)) | |
371 | 371 | let lpAssetId = getStringValue(this, (l + kp(Asset1, Asset2))) | |
372 | 372 | let currentAmount = kpAddress(currentKey, kp(Asset1, Asset2)) | |
373 | 373 | let amountLpBlocked = lpBlocked(currentKey, poolKey) | |
374 | 374 | let totalLP = getIntegerValue(this, lpAssetId) | |
375 | 375 | let totalAsset1Pool = getIntegerValue(this, ((kp(Asset1, Asset2) + "_") + Asset1)) | |
376 | 376 | let totalAsset2Pool = getIntegerValue(this, ((kp(Asset1, Asset2) + "_") + Asset2)) | |
377 | 377 | if (power) | |
378 | 378 | then if (!(poolActivate)) | |
379 | 379 | then if (!((Asset1 == Asset2))) | |
380 | 380 | then if (if (if (if (if (if ((asset1 == USDN)) | |
381 | 381 | then true | |
382 | 382 | else (asset1 == USDC)) | |
383 | 383 | then true | |
384 | 384 | else (asset1 == USDT)) | |
385 | 385 | then true | |
386 | 386 | else (asset1 == NGNN)) | |
387 | 387 | then true | |
388 | 388 | else (asset1 == MainAsset)) | |
389 | 389 | then if (if (if (if ((asset2 == USDN)) | |
390 | 390 | then true | |
391 | 391 | else (asset2 == USDC)) | |
392 | 392 | then true | |
393 | 393 | else (asset2 == USDT)) | |
394 | 394 | then true | |
395 | 395 | else (asset2 == NGNN)) | |
396 | 396 | then true | |
397 | 397 | else (asset2 == MainAsset) | |
398 | 398 | else false) | |
399 | 399 | then if (!((key == 0))) | |
400 | 400 | then if (!((currentAmount == 0))) | |
401 | 401 | then if (((currentAmount - amountLpBlocked) >= Amount)) | |
402 | 402 | then { | |
403 | 403 | let calcLP = (Amount / totalLP) | |
404 | 404 | let receiveAsset1 = (calcLP * totalAsset1Pool) | |
405 | 405 | let receiveAsset2 = (calcLP * totalAsset2Pool) | |
406 | 406 | let asset1pool = assetP(kp(Asset1, Asset2), Asset1) | |
407 | 407 | let asset2pool = assetP(kp(Asset1, Asset2), Asset2) | |
408 | 408 | let currentAmountAsset1 = poolAA(currentKey, kp(Asset1, Asset2), Asset1) | |
409 | 409 | let currentAmountAsset2 = poolAA(currentKey, kp(Asset1, Asset2), Asset2) | |
410 | 410 | let newcurrentAmountAsset1 = (currentAmountAsset1 - receiveAsset1) | |
411 | 411 | let newcurrentAmountAsset2 = (currentAmountAsset2 - receiveAsset2) | |
412 | 412 | let newcurrentAmount = (currentAmount - Amount) | |
413 | 413 | let newasset1pool = (asset1pool - receiveAsset1) | |
414 | 414 | let newasset2pool = (asset2pool - receiveAsset2) | |
415 | 415 | [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))] | |
416 | 416 | } | |
417 | 417 | else throw("Amount to be withdrawn greater than the amount available for withdrawal.") | |
418 | 418 | else throw("You have no locked values in the pool") | |
419 | 419 | else throw("Invalid Pool Key.") | |
420 | 420 | else throw("Invalid Asset1 or Asset2!") | |
421 | 421 | else throw("Asset1 cannot be equal to Asset2") | |
422 | 422 | else throw("liquidity is currently under maintenance.") | |
423 | 423 | else throw("dApp is currently under maintenance.") | |
424 | 424 | } | |
425 | 425 | ||
426 | 426 | ||
427 | 427 | ||
428 | 428 | @Callable(i) | |
429 | 429 | func swap (Asset1,Asset2) = { | |
430 | 430 | let currentKey = toBase58String(i.caller.bytes) | |
431 | 431 | let power = getBooleanValue(this, ac) | |
432 | 432 | let swapActivate = getBooleanValue(this, swapAc) | |
433 | 433 | let poolKey = kp(Asset1, Asset2) | |
434 | 434 | let key = validPoolK(poolKey) | |
435 | 435 | let asset1 = i.payments[0].assetId | |
436 | 436 | let USDN = toBytes(getStringValue(this, usdn)) | |
437 | 437 | let USDC = toBytes(getStringValue(this, usdc)) | |
438 | 438 | let USDT = toBytes(getStringValue(this, usdt)) | |
439 | 439 | let NGNN = toBytes(getStringValue(this, ngnn)) | |
440 | 440 | let MainAsset = fromBase58String(getStringValue(this, main)) | |
441 | 441 | let totalAsset1 = getIntegerValue(this, ((kp(Asset1, Asset2) + "_") + Asset1)) | |
442 | 442 | let totalAsset2 = getIntegerValue(this, ((kp(Asset1, Asset2) + "_") + Asset2)) | |
443 | 443 | let feeRatePercentual = getIntegerValue(this, rateFee) | |
444 | 444 | if (power) | |
445 | 445 | then if (!(swapActivate)) | |
446 | 446 | then if (if (!((Asset1 == Asset2))) | |
447 | 447 | then if ((asset1 == fromBase58String(Asset1))) | |
448 | 448 | then true | |
449 | 449 | else (asset1 == fromBase58String(Asset2)) | |
450 | 450 | else false) | |
451 | 451 | then if (if (if (if (if ((asset1 == USDN)) | |
452 | 452 | then true | |
453 | 453 | else (asset1 == USDC)) | |
454 | 454 | then true | |
455 | 455 | else (asset1 == USDT)) | |
456 | 456 | then true | |
457 | 457 | else (asset1 == NGNN)) | |
458 | 458 | then true | |
459 | 459 | else (asset1 == MainAsset)) | |
460 | 460 | then if (!((key == 0))) | |
461 | 461 | then if ((i.payments[1].assetId == MainAsset)) | |
462 | 462 | then if ((i.payments[1].amount == 300000)) | |
463 | 463 | then { | |
464 | 464 | let valueAsset = if (!((asset1 == fromBase58String(Asset1)))) | |
465 | 465 | then (totalAsset1 / totalAsset2) | |
466 | 466 | else (totalAsset2 / totalAsset1) | |
467 | 467 | let newValue = (i.payments[0].amount - ((i.payments[0].amount * feeRatePercentual) / (100 * D8))) | |
468 | 468 | let sendValue = (newValue * valueAsset) | |
469 | 469 | [ScriptTransfer(Address(i.caller.bytes), sendValue, fromBase58String(Asset2)), IntegerEntry(Asset2, (getAmountBlockAsset(Asset2) - sendValue)), IntegerEntry(((kp(Asset1, Asset2) + "_") + Asset2), (assetP(kp(Asset1, Asset2), Asset2) - sendValue))] | |
470 | 470 | } | |
471 | 471 | else throw("Swap denied! 0.003 AxAi is required for the swap fee.") | |
472 | 472 | else throw("Invalid rate asset") | |
473 | 473 | else throw("Invalid Swap Key.") | |
474 | 474 | else throw("Invalid Asset1 or Asset2!") | |
475 | 475 | else throw("Asset1 cannot be equal to Asset2") | |
476 | 476 | else throw("Swap is currently under maintenance.") | |
477 | 477 | else throw("dApp is currently under maintenance.") | |
478 | 478 | } | |
479 | 479 | ||
480 | 480 | ||
481 | 481 | @Verifier(tx) | |
482 | 482 | func verify () = match tx { | |
483 | 483 | case order: Order => | |
484 | 484 | if ((order.orderType == Buy)) | |
485 | 485 | then if (if ((order.assetPair.amountAsset == fromBase58String(getStringValue(this, main)))) | |
486 | 486 | then if ((order.assetPair.priceAsset == fromBase58String(getStringValue(this, usdn)))) | |
487 | 487 | then true | |
488 | 488 | else (order.assetPair.priceAsset == unit) | |
489 | 489 | else false) | |
490 | 490 | then sigVerify(order.bodyBytes, order.proofs[0], order.senderPublicKey) | |
491 | 491 | else false | |
492 | 492 | else if (if ((order.assetPair.amountAsset == fromBase58String(getStringValue(this, main)))) | |
493 | 493 | then if ((order.assetPair.priceAsset == fromBase58String(getStringValue(this, usdn)))) | |
494 | 494 | then true | |
495 | 495 | else (order.assetPair.priceAsset == unit) | |
496 | 496 | else false) | |
497 | 497 | then sigVerify(order.bodyBytes, order.proofs[0], order.senderPublicKey) | |
498 | 498 | else false | |
499 | 499 | case e: ExchangeTransaction => | |
500 | 500 | if ((e.buyOrder.orderType == Buy)) | |
501 | 501 | then if (if ((e.buyOrder.assetPair.amountAsset == fromBase58String(getStringValue(this, main)))) | |
502 | 502 | then if ((e.buyOrder.assetPair.priceAsset == fromBase58String(getStringValue(this, usdn)))) | |
503 | 503 | then true | |
504 | 504 | else (e.buyOrder.assetPair.priceAsset == unit) | |
505 | 505 | else false) | |
506 | 506 | then sigVerify(e.bodyBytes, e.proofs[0], e.senderPublicKey) | |
507 | 507 | else false | |
508 | 508 | else if (if ((e.sellOrder.assetPair.amountAsset == fromBase58String(getStringValue(this, main)))) | |
509 | 509 | then if ((e.sellOrder.assetPair.priceAsset == fromBase58String(getStringValue(this, usdn)))) | |
510 | 510 | then true | |
511 | 511 | else (e.sellOrder.assetPair.priceAsset == unit) | |
512 | 512 | else false) | |
513 | 513 | then sigVerify(e.bodyBytes, e.proofs[0], e.senderPublicKey) | |
514 | 514 | else false | |
515 | 515 | case _ => | |
516 | 516 | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
517 | 517 | } | |
518 | 518 |
github/deemru/w8io/169f3d6 63.10 ms ◑