tx · DyK8rRFhA1dmzUXJ7a3Ye7AkpcLhGHSMKbvsn4wmGWVZ 3N9WW99vZmPgCtoFqdZ4YMi4U8PzH8nmmKJ: -0.05000000 Waves 2023.02.20 02:22 [2457167] smart account 3N9WW99vZmPgCtoFqdZ4YMi4U8PzH8nmmKJ > SELF 0.00000000 Waves
{ "type": 13, "id": "DyK8rRFhA1dmzUXJ7a3Ye7AkpcLhGHSMKbvsn4wmGWVZ", "fee": 5000000, "feeAssetId": null, "timestamp": 1676848940177, "version": 2, "chainId": 84, "sender": "3N9WW99vZmPgCtoFqdZ4YMi4U8PzH8nmmKJ", "senderPublicKey": "3JwrCT8q9SCYcACgnnWDZiEYn2yx4vY2CpScdRbQVvxa", "proofs": [ "28iKZxR5oGYGomCnj8EqDtUEG7umXyVFf53bDWqEqB8TBzVDWZP6osV8NS9ek1MGKgr7rtrRQSmXgvP2zdesJ8YV" ], "script": "base64:AAIFAAAAAAAAAFkIAhILCgkICAgICAgBAQQSAwoBBBIFCgMEBAQSAwoBARIDCgEEEgMKAQESAwoBCBIGCgQICAgEEgUKAwQICBIGCgQECAgBEgQKAggIEgUKAwgIARIECgIICAAAACgAAAAABG1haW4CAAAACm1haW5fYXNzZXQAAAAAAWwCAAAACWxwX2Fzc2V0XwAAAAADYWExAgAAAAZwb29sX18AAAAAAnNhAgAAAA9TVEFLSU5HX0FNT1VOVF8AAAAAAmxhAgAAAA1MRUFTRV9BTU9VTlRfAAAAAAJpeAIAAAADSURfAAAAAAdyYXRlRmVlAgAAABNwZXJjZW50YWdlX3JhdGVfZmVlAAAAAA5kZXBvc2l0X2hlaWdodAIAAAASRGVwb3NpdF9IZWlnaHRfT2ZfAAAAAAJEOAAAAAAABfXhAAAAAAACRDYAAAAAAAAPQkAAAAAAA0QxMAAAAAACVAvkAAEAAAARZ2V0QWRkcmVzc0lmVmFsaWQAAAABAAAAB2FkZHJlc3MJAAQlAAAAAQkBAAAAE3ZhbHVlT3JFcnJvck1lc3NhZ2UAAAACCQ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GZlZS4JAAACAAAAAQIAAAASSW52YWxpZCByYXRlIGFzc2V0CQAAAgAAAAECAAAAEUludmFsaWQgU3dhcCBLZXkuCQAAAgAAAAECAAAAGUludmFsaWQgQXNzZXQxIG9yIEFzc2V0MiEJAAACAAAAAQIAAAAgQXNzZXQxIGNhbm5vdCBiZSBlcXVhbCB0byBBc3NldDIJAAACAAAAAQIAAAAkU3dhcCBpcyBjdXJyZW50bHkgdW5kZXIgbWFpbnRlbmFuY2UuCQAAAgAAAAECAAAAJGRBcHAgaXMgY3VycmVudGx5IHVuZGVyIG1haW50ZW5hbmNlLgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAVPcmRlcgQAAAAFb3JkZXIFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAACdHQFAAAAByRtYXRjaDAJAAAAAAAAAggFAAAAAnR0AAAACXJlY2lwaWVudAkBAAAAB0FkZHJlc3MAAAABCQACWQAAAAEJAQAAABFAZXh0ck5hdGl2ZSgxMDUzKQAAAAIFAAAABHRoaXMCAAAABWFkbWluCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleYi5S7U=", "height": 2457167, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CqPCfrS7xZSpFcHmB9QgpCEu85YGw6cxAndwseN7WGnY Next: none Diff:
Old | New | Differences | |
---|---|---|---|
57 | 57 | ||
58 | 58 | let total_locked = "Total_Tokens_Locked_" | |
59 | 59 | ||
60 | - | let | |
60 | + | let xtn = "xtn_asset" | |
61 | 61 | ||
62 | 62 | let usdt = "usdt_asset" | |
63 | 63 | ||
162 | 162 | ||
163 | 163 | ||
164 | 164 | @Callable(i) | |
165 | - | func constructor (MainAssetId, | |
165 | + | func constructor (MainAssetId,XtnAssetId,UsdtAssetId,UsdcAssetId,NgnnAssetId,EurnAssetId,percentageRateSwap,blockDistribution,acceptWaves) = { | |
166 | 166 | let keyPoolUsdtWaves = kp(UsdtAssetId, waves) | |
167 | 167 | if (if ((i.caller == this)) | |
168 | 168 | then true | |
169 | 169 | else (i.caller == adminVerification())) | |
170 | 170 | then if ((valueOrElse(getInteger(this, keyPoolUsdtWaves), 0) == 0)) | |
171 | 171 | then { | |
172 | - | let | |
173 | - | let | |
174 | - | let | |
175 | - | let | |
176 | - | let | |
177 | - | let | |
172 | + | let keyPoolXtnUsdt = kp(XtnAssetId, UsdtAssetId) | |
173 | + | let keyPoolXtnUsdc = kp(XtnAssetId, UsdcAssetId) | |
174 | + | let keyPoolXtnNgnn = kp(XtnAssetId, NgnnAssetId) | |
175 | + | let keyPoolXtnWaves = kp(XtnAssetId, waves) | |
176 | + | let keyPoolXtnMainAsset = kp(XtnAssetId, MainAssetId) | |
177 | + | let keyPoolXtnEurn = kp(XtnAssetId, EurnAssetId) | |
178 | 178 | let keyPoolUsdcUsdt = kp(UsdcAssetId, UsdtAssetId) | |
179 | 179 | let keyPoolUsdcNgnn = kp(UsdcAssetId, NgnnAssetId) | |
180 | 180 | let keyPoolUsdcWaves = kp(UsdcAssetId, waves) | |
189 | 189 | let keyPoolMainWaves = kp(MainAssetId, waves) | |
190 | 190 | let keyPoolMainEurn = kp(MainAssetId, EurnAssetId) | |
191 | 191 | let keyPoolEurnWaves = kp(EurnAssetId, waves) | |
192 | - | [StringEntry(main, MainAssetId), StringEntry( | |
192 | + | [StringEntry(main, MainAssetId), StringEntry(xtn, XtnAssetId), 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(keyPoolXtnUsdt, 1), IntegerEntry(keyPoolXtnWaves, 1), IntegerEntry(keyPoolXtnUsdc, 1), IntegerEntry(keyPoolXtnNgnn, 1), IntegerEntry(keyPoolXtnMainAsset, 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(keyPoolXtnEurn, 1), IntegerEntry(keyPoolUsdtEurn, 1), IntegerEntry(keyPoolUsdcMainAsset, 1), StringEntry(eurn, EurnAssetId)] | |
193 | 193 | } | |
194 | 194 | else throw("Smart Contract has been started") | |
195 | 195 | else throw("Only the Admin itself can invoke this function") | |
413 | 413 | let key = validPoolK(kp(Asset1, Asset2)) | |
414 | 414 | let asset1 = i.payments[0].assetId | |
415 | 415 | let asset2 = i.payments[1].assetId | |
416 | - | let | |
416 | + | let XTN = fromBase58String(getStringValue(this, xtn)) | |
417 | 417 | let USDC = fromBase58String(getStringValue(this, usdc)) | |
418 | 418 | let USDT = fromBase58String(getStringValue(this, usdt)) | |
419 | 419 | let NGNN = fromBase58String(getStringValue(this, ngnn)) | |
445 | 445 | else false) | |
446 | 446 | then validateAsset(asset2, Asset2, acWaves) | |
447 | 447 | else false) | |
448 | - | then if (if (if (if (if (if (if (if ((asset1 == | |
448 | + | then if (if (if (if (if (if (if (if ((asset1 == XTN)) | |
449 | 449 | then true | |
450 | 450 | else (asset1 == USDC)) | |
451 | 451 | then true | |
458 | 458 | else (asset1 == WAVES)) | |
459 | 459 | then true | |
460 | 460 | else (asset1 == EURN)) | |
461 | - | then if (if (if (if (if (if ((asset2 == | |
461 | + | then if (if (if (if (if (if ((asset2 == XTN)) | |
462 | 462 | then true | |
463 | 463 | else (asset2 == USDC)) | |
464 | 464 | then true | |
519 | 519 | then WAVES | |
520 | 520 | else throw("The smart contract does not currently support Waves.") | |
521 | 521 | else fromBase58String(Asset2) | |
522 | - | let | |
522 | + | let XTN = fromBase58String(getStringValue(this, xtn)) | |
523 | 523 | let USDC = fromBase58String(getStringValue(this, usdc)) | |
524 | 524 | let USDT = fromBase58String(getStringValue(this, usdt)) | |
525 | 525 | let NGNN = fromBase58String(getStringValue(this, ngnn)) | |
534 | 534 | if (power) | |
535 | 535 | then if (!(poolActivate)) | |
536 | 536 | then if (!((Asset1 == Asset2))) | |
537 | - | then if (if (if (if (if (if (if (if ((asset1 == | |
537 | + | then if (if (if (if (if (if (if (if ((asset1 == XTN)) | |
538 | 538 | then true | |
539 | 539 | else (asset1 == USDC)) | |
540 | 540 | then true | |
547 | 547 | else (asset1 == WAVES)) | |
548 | 548 | then true | |
549 | 549 | else (asset1 == EURN)) | |
550 | - | then if (if (if (if (if (if ((asset2 == | |
550 | + | then if (if (if (if (if (if ((asset2 == XTN)) | |
551 | 551 | then true | |
552 | 552 | else (asset2 == USDC)) | |
553 | 553 | then true | |
606 | 606 | let poolKey = kp(Asset1, Asset2) | |
607 | 607 | let key = validPoolK(poolKey) | |
608 | 608 | let asset1 = i.payments[0].assetId | |
609 | - | let | |
609 | + | let XTN = fromBase58String(getStringValue(this, xtn)) | |
610 | 610 | let USDC = fromBase58String(getStringValue(this, usdc)) | |
611 | 611 | let USDT = fromBase58String(getStringValue(this, usdt)) | |
612 | 612 | let NGNN = fromBase58String(getStringValue(this, ngnn)) | |
661 | 661 | then true | |
662 | 662 | else validateAsset(asset1, Asset2, acWaves) | |
663 | 663 | else false) | |
664 | - | then if (if (if (if (if (if (if ((asset1 == | |
664 | + | then if (if (if (if (if (if (if ((asset1 == XTN)) | |
665 | 665 | then true | |
666 | 666 | else (asset1 == USDC)) | |
667 | 667 | then true |
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 D10 = 10000000000 | |
25 | 25 | ||
26 | 26 | func getAddressIfValid (address) = toString(valueOrErrorMessage(addressFromString(address), (("Can't parse " + address) + " as address"))) | |
27 | 27 | ||
28 | 28 | ||
29 | 29 | func getAssetIfValid (assetId) = toBase58String(valueOrErrorMessage(value(assetInfo(fromBase58String(assetId))).id, (("Asset Id: " + assetId) + " is invalid."))) | |
30 | 30 | ||
31 | 31 | ||
32 | 32 | func getAmountBlockAsset (assetId) = match getInteger(this, assetId) { | |
33 | 33 | case i: Int => | |
34 | 34 | i | |
35 | 35 | case _ => | |
36 | 36 | 0 | |
37 | 37 | } | |
38 | 38 | ||
39 | 39 | ||
40 | 40 | func getAssetName (assetId) = match assetInfo(assetId) { | |
41 | 41 | case asset: Asset => | |
42 | 42 | asset.name | |
43 | 43 | case _ => | |
44 | 44 | throw("Can't find asset") | |
45 | 45 | } | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | let ac = "activate" | |
49 | 49 | ||
50 | 50 | let poolAc = "activate_pools" | |
51 | 51 | ||
52 | 52 | let swapAc = "activate_swap" | |
53 | 53 | ||
54 | 54 | let liquidityAc = "activate_liquidity" | |
55 | 55 | ||
56 | 56 | let bcD = "block_distribuition" | |
57 | 57 | ||
58 | 58 | let total_locked = "Total_Tokens_Locked_" | |
59 | 59 | ||
60 | - | let | |
60 | + | let xtn = "xtn_asset" | |
61 | 61 | ||
62 | 62 | let usdt = "usdt_asset" | |
63 | 63 | ||
64 | 64 | let usdc = "usdc_asset" | |
65 | 65 | ||
66 | 66 | let ngnn = "ngnn_asset" | |
67 | 67 | ||
68 | 68 | let eurn = "eurn_asset" | |
69 | 69 | ||
70 | 70 | let waves = "WAVES" | |
71 | 71 | ||
72 | 72 | let aWaves = "accept_waves" | |
73 | 73 | ||
74 | 74 | let WAVES = unit | |
75 | 75 | ||
76 | 76 | func kp (asset1,asset2) = (((aa1 + asset1) + "_") + asset2) | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func validPoolK (key) = match getInteger(this, key) { | |
80 | 80 | case i: Int => | |
81 | 81 | i | |
82 | 82 | case _ => | |
83 | 83 | false | |
84 | 84 | } | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func kpAddress (address,key) = match getInteger(this, ((key + "_") + address)) { | |
88 | 88 | case t: Int => | |
89 | 89 | t | |
90 | 90 | case _ => | |
91 | 91 | 0 | |
92 | 92 | } | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func poolAA (address,key,asset) = match getInteger(this, ((((address + "_") + key) + "_") + asset)) { | |
96 | 96 | case a: Int => | |
97 | 97 | a | |
98 | 98 | case _ => | |
99 | 99 | 0 | |
100 | 100 | } | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | func assetP (key,asset) = match getInteger(this, ((key + "_") + asset)) { | |
104 | 104 | case a: Int => | |
105 | 105 | a | |
106 | 106 | case _ => | |
107 | 107 | 1 | |
108 | 108 | } | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func pkey (Asset1,Asset2,address) = (((deposit_height + kp(Asset1, Asset2)) + "_") + address) | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func lpBlocked (address,key) = match getInteger(this, ((("STAKE_LP_" + address) + "_") + key)) { | |
115 | 115 | case a: Int => | |
116 | 116 | a | |
117 | 117 | case _ => | |
118 | 118 | 0 | |
119 | 119 | } | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func adminVerification () = match getString(this, "admin") { | |
123 | 123 | case t: String => | |
124 | 124 | Address(fromBase58String(t)) | |
125 | 125 | case _ => | |
126 | 126 | this | |
127 | 127 | } | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func validateAsset (assetS,stringAsset,acWaves) = if (if ((assetS == WAVES)) | |
131 | 131 | then (stringAsset == waves) | |
132 | 132 | else false) | |
133 | 133 | then if (acWaves) | |
134 | 134 | then true | |
135 | 135 | else throw("The smart contract does not currently support Waves.") | |
136 | 136 | else if ((assetS == fromBase58String(stringAsset))) | |
137 | 137 | then true | |
138 | 138 | else false | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func totalAssetPool (key,assetLp) = match getInteger(this, key) { | |
142 | 142 | case a: Int => | |
143 | 143 | a | |
144 | 144 | case _ => | |
145 | 145 | if (assetLp) | |
146 | 146 | then (1 * D8) | |
147 | 147 | else 1 | |
148 | 148 | } | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func valid (assetPay,pair1,pair2) = { | |
152 | 152 | let pair1_58 = if ((pair1 == waves)) | |
153 | 153 | then WAVES | |
154 | 154 | else fromBase58String(pair1) | |
155 | 155 | let pair2_58 = if ((pair2 == waves)) | |
156 | 156 | then WAVES | |
157 | 157 | else fromBase58String(pair2) | |
158 | 158 | if ((assetPay == pair1_58)) | |
159 | 159 | then pair2_58 | |
160 | 160 | else pair1_58 | |
161 | 161 | } | |
162 | 162 | ||
163 | 163 | ||
164 | 164 | @Callable(i) | |
165 | - | func constructor (MainAssetId, | |
165 | + | func constructor (MainAssetId,XtnAssetId,UsdtAssetId,UsdcAssetId,NgnnAssetId,EurnAssetId,percentageRateSwap,blockDistribution,acceptWaves) = { | |
166 | 166 | let keyPoolUsdtWaves = kp(UsdtAssetId, waves) | |
167 | 167 | if (if ((i.caller == this)) | |
168 | 168 | then true | |
169 | 169 | else (i.caller == adminVerification())) | |
170 | 170 | then if ((valueOrElse(getInteger(this, keyPoolUsdtWaves), 0) == 0)) | |
171 | 171 | then { | |
172 | - | let | |
173 | - | let | |
174 | - | let | |
175 | - | let | |
176 | - | let | |
177 | - | let | |
172 | + | let keyPoolXtnUsdt = kp(XtnAssetId, UsdtAssetId) | |
173 | + | let keyPoolXtnUsdc = kp(XtnAssetId, UsdcAssetId) | |
174 | + | let keyPoolXtnNgnn = kp(XtnAssetId, NgnnAssetId) | |
175 | + | let keyPoolXtnWaves = kp(XtnAssetId, waves) | |
176 | + | let keyPoolXtnMainAsset = kp(XtnAssetId, MainAssetId) | |
177 | + | let keyPoolXtnEurn = kp(XtnAssetId, EurnAssetId) | |
178 | 178 | let keyPoolUsdcUsdt = kp(UsdcAssetId, UsdtAssetId) | |
179 | 179 | let keyPoolUsdcNgnn = kp(UsdcAssetId, NgnnAssetId) | |
180 | 180 | let keyPoolUsdcWaves = kp(UsdcAssetId, waves) | |
181 | 181 | let keyPoolUsdcMainAsset = kp(UsdcAssetId, MainAssetId) | |
182 | 182 | let keyPoolUsdcEurn = kp(UsdcAssetId, EurnAssetId) | |
183 | 183 | let keyPoolUsdtNgnn = kp(UsdtAssetId, NgnnAssetId) | |
184 | 184 | let keyPoolUsdtMainAsset = kp(UsdtAssetId, MainAssetId) | |
185 | 185 | let keyPoolUsdtEurn = kp(UsdtAssetId, EurnAssetId) | |
186 | 186 | let keyPoolNgnnWaves = kp(NgnnAssetId, waves) | |
187 | 187 | let keyPoolNgnnMainAsset = kp(NgnnAssetId, MainAssetId) | |
188 | 188 | let keyPoolNgnnEurn = kp(NgnnAssetId, EurnAssetId) | |
189 | 189 | let keyPoolMainWaves = kp(MainAssetId, waves) | |
190 | 190 | let keyPoolMainEurn = kp(MainAssetId, EurnAssetId) | |
191 | 191 | let keyPoolEurnWaves = kp(EurnAssetId, waves) | |
192 | - | [StringEntry(main, MainAssetId), StringEntry( | |
192 | + | [StringEntry(main, MainAssetId), StringEntry(xtn, XtnAssetId), 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(keyPoolXtnUsdt, 1), IntegerEntry(keyPoolXtnWaves, 1), IntegerEntry(keyPoolXtnUsdc, 1), IntegerEntry(keyPoolXtnNgnn, 1), IntegerEntry(keyPoolXtnMainAsset, 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(keyPoolXtnEurn, 1), IntegerEntry(keyPoolUsdtEurn, 1), IntegerEntry(keyPoolUsdcMainAsset, 1), StringEntry(eurn, EurnAssetId)] | |
193 | 193 | } | |
194 | 194 | else throw("Smart Contract has been started") | |
195 | 195 | else throw("Only the Admin itself can invoke this function") | |
196 | 196 | } | |
197 | 197 | ||
198 | 198 | ||
199 | 199 | ||
200 | 200 | @Callable(i) | |
201 | 201 | func activate (v) = if (if ((i.caller == this)) | |
202 | 202 | then true | |
203 | 203 | else (i.caller == adminVerification())) | |
204 | 204 | then [BooleanEntry(ac, v)] | |
205 | 205 | else throw("Only the Admin itself can invoke this function") | |
206 | 206 | ||
207 | 207 | ||
208 | 208 | ||
209 | 209 | @Callable(i) | |
210 | 210 | func maintenance (pools,swap,stake) = if (if ((i.caller == this)) | |
211 | 211 | then true | |
212 | 212 | else (i.caller == adminVerification())) | |
213 | 213 | then [BooleanEntry(poolAc, pools), BooleanEntry(swapAc, swap), BooleanEntry(liquidityAc, stake)] | |
214 | 214 | else throw("Only the Admin itself can invoke this function") | |
215 | 215 | ||
216 | 216 | ||
217 | 217 | ||
218 | 218 | @Callable(i) | |
219 | 219 | func percentualRateFeeSwapEdit (rate) = if (if ((i.caller == this)) | |
220 | 220 | then true | |
221 | 221 | else (i.caller == adminVerification())) | |
222 | 222 | then [IntegerEntry(rateFee, rate)] | |
223 | 223 | else throw("Only the Admin itself can invoke this function") | |
224 | 224 | ||
225 | 225 | ||
226 | 226 | ||
227 | 227 | @Callable(i) | |
228 | 228 | func acceptWaves (activate) = if (if ((i.caller == this)) | |
229 | 229 | then true | |
230 | 230 | else (i.caller == adminVerification())) | |
231 | 231 | then [BooleanEntry(aWaves, activate)] | |
232 | 232 | else throw("Only the Admin itself can invoke this function") | |
233 | 233 | ||
234 | 234 | ||
235 | 235 | ||
236 | 236 | @Callable(i) | |
237 | 237 | func blockDistribution (newValue) = if (if ((i.caller == this)) | |
238 | 238 | then true | |
239 | 239 | else (i.caller == adminVerification())) | |
240 | 240 | then [IntegerEntry(bcD, newValue)] | |
241 | 241 | else throw("Only the Admin itself can invoke this function") | |
242 | 242 | ||
243 | 243 | ||
244 | 244 | ||
245 | 245 | @Callable(i) | |
246 | 246 | func addAdmin (address) = if (if ((i.caller == this)) | |
247 | 247 | then true | |
248 | 248 | else (i.caller == adminVerification())) | |
249 | 249 | then [StringEntry("admin", address)] | |
250 | 250 | else throw("Only the Admin itself can invoke this function") | |
251 | 251 | ||
252 | 252 | ||
253 | 253 | ||
254 | 254 | @Callable(i) | |
255 | 255 | func lpAssetCreateForPairPool (asset1,asset2,Name,customName) = { | |
256 | 256 | let nameAsset1 = if ((asset1 == waves)) | |
257 | 257 | then waves | |
258 | 258 | else getAssetName(fromBase58String(asset1)) | |
259 | 259 | let nameAsset2 = if ((asset2 == waves)) | |
260 | 260 | then waves | |
261 | 261 | else getAssetName(fromBase58String(asset2)) | |
262 | 262 | let name = if (customName) | |
263 | 263 | then Name | |
264 | 264 | else ((nameAsset1 + "_") + nameAsset2) | |
265 | 265 | let key = validPoolK(kp(asset1, asset2)) | |
266 | 266 | if (if ((i.caller == this)) | |
267 | 267 | then true | |
268 | 268 | else (i.caller == adminVerification())) | |
269 | 269 | then if ((key != false)) | |
270 | 270 | then { | |
271 | 271 | let assetLpCreate = Issue(name, ((("LP asset for pool liquidity in Dolphin Finance pair " + asset1) + "_") + asset2), (1 * D8), 8, true) | |
272 | 272 | let idAssetLp = calculateAssetId(assetLpCreate) | |
273 | 273 | [StringEntry((l + kp(asset1, asset2)), toBase58String(idAssetLp)), assetLpCreate] | |
274 | 274 | } | |
275 | 275 | else throw("Invalid Pool Key. Try inverting the assets") | |
276 | 276 | else throw("Only the Admin itself can invoke this function") | |
277 | 277 | } | |
278 | 278 | ||
279 | 279 | ||
280 | 280 | ||
281 | 281 | @Callable(i) | |
282 | 282 | func deposit (pool,Asset1,Asset2) = { | |
283 | 283 | let power = getBooleanValue(this, ac) | |
284 | 284 | let liquidityPower = getBooleanValue(this, liquidityAc) | |
285 | 285 | let MainAsset = getStringValue(this, main) | |
286 | 286 | let lpAssetId = if (pool) | |
287 | 287 | then getStringValue(this, (l + kp(Asset1, Asset2))) | |
288 | 288 | else MainAsset | |
289 | 289 | if (power) | |
290 | 290 | then if (!(liquidityPower)) | |
291 | 291 | then if ((i.payments[0].assetId != fromBase58String(lpAssetId))) | |
292 | 292 | then throw((("Invalid asset! Kindly Deposit Only " + MainAsset) + " or valid asset lp")) | |
293 | 293 | else if (!(pool)) | |
294 | 294 | then { | |
295 | 295 | let currentKey = toBase58String(i.caller.bytes) | |
296 | 296 | let currentAmount = match getInteger(this, currentKey) { | |
297 | 297 | case a: Int => | |
298 | 298 | a | |
299 | 299 | case _ => | |
300 | 300 | 0 | |
301 | 301 | } | |
302 | 302 | let h = if ((currentAmount == 0)) | |
303 | 303 | then height | |
304 | 304 | else valueOrElse(getIntegerValue(this, (deposit_height + currentKey)), height) | |
305 | 305 | let newAmount = (currentAmount + i.payments[0].amount) | |
306 | 306 | let useramount = IntegerEntry(currentKey, newAmount) | |
307 | 307 | let userdepositheight = IntegerEntry((deposit_height + currentKey), h) | |
308 | 308 | let previouslockbalance = match getInteger(this, "Total_Tokens_Locked:") { | |
309 | 309 | case a: Int => | |
310 | 310 | a | |
311 | 311 | case _ => | |
312 | 312 | 0 | |
313 | 313 | } | |
314 | 314 | let totaltoken = (previouslockbalance + i.payments[0].amount) | |
315 | 315 | let TLV = IntegerEntry("Total_Tokens_Locked:", totaltoken) | |
316 | 316 | [useramount, userdepositheight, TLV] | |
317 | 317 | } | |
318 | 318 | else { | |
319 | 319 | let poolKey = kp(Asset1, Asset2) | |
320 | 320 | let key = validPoolK(poolKey) | |
321 | 321 | if ((key != false)) | |
322 | 322 | then { | |
323 | 323 | let currentKey = toBase58String(i.caller.bytes) | |
324 | 324 | let currentAmount = match getInteger(this, ((("STAKE_LP_" + currentKey) + "_") + poolKey)) { | |
325 | 325 | case a: Int => | |
326 | 326 | a | |
327 | 327 | case _ => | |
328 | 328 | 0 | |
329 | 329 | } | |
330 | 330 | let h = if ((currentAmount == 0)) | |
331 | 331 | then height | |
332 | 332 | else valueOrElse(getIntegerValue(this, ((((deposit_height + "_") + currentKey) + "_") + poolKey)), height) | |
333 | 333 | let newAmount = (currentAmount + i.payments[0].amount) | |
334 | 334 | let useramount = IntegerEntry(((("STAKE_LP_" + currentKey) + "_") + poolKey), newAmount) | |
335 | 335 | let userdepositheight = IntegerEntry(((((deposit_height + "_") + currentKey) + "_") + poolKey), height) | |
336 | 336 | let previouslockbalance = match getInteger(this, ("Total_Tokens_LP_Locked_" + poolKey)) { | |
337 | 337 | case a: Int => | |
338 | 338 | a | |
339 | 339 | case _ => | |
340 | 340 | 0 | |
341 | 341 | } | |
342 | 342 | let totaltoken = (previouslockbalance + i.payments[0].amount) | |
343 | 343 | let TLV = IntegerEntry(("Total_Tokens_LP_Locked_" + poolKey), totaltoken) | |
344 | 344 | [useramount, userdepositheight, TLV] | |
345 | 345 | } | |
346 | 346 | else throw("Invalid Pool key.") | |
347 | 347 | } | |
348 | 348 | else throw("liquidity is currently under maintenance.") | |
349 | 349 | else throw("dApp is currently under maintenance.") | |
350 | 350 | } | |
351 | 351 | ||
352 | 352 | ||
353 | 353 | ||
354 | 354 | @Callable(i) | |
355 | 355 | func remove (pool,Asset1,Asset2,amount) = { | |
356 | 356 | let power = getBooleanValue(this, ac) | |
357 | 357 | let liquidityPower = getBooleanValue(this, liquidityAc) | |
358 | 358 | let pmt = i.payments[0] | |
359 | 359 | let MainAsset = fromBase58String(getStringValue(this, main)) | |
360 | 360 | if (power) | |
361 | 361 | then if (!(liquidityPower)) | |
362 | 362 | then { | |
363 | 363 | let currentKey = toBase58String(i.caller.bytes) | |
364 | 364 | let currentAmount = match if (pool) | |
365 | 365 | then getIntegerValue(this, ((("STAKE_LP_" + currentKey) + "_") + kp(Asset1, Asset2))) | |
366 | 366 | else getIntegerValue(this, currentKey) { | |
367 | 367 | case a: Int => | |
368 | 368 | a | |
369 | 369 | case _ => | |
370 | 370 | 0 | |
371 | 371 | } | |
372 | 372 | let swapheightkeyname = if (pool) | |
373 | 373 | then ((((deposit_height + "_") + currentKey) + "_") + kp(Asset1, Asset2)) | |
374 | 374 | else (deposit_height + currentKey) | |
375 | 375 | let previouslockbalance = if (pool) | |
376 | 376 | then getIntegerValue(this, ("Total_Tokens_LP_Locked_" + kp(Asset1, Asset2))) | |
377 | 377 | else getIntegerValue(this, "Total_Tokens_Locked:") | |
378 | 378 | let totaltoken = (previouslockbalance - amount) | |
379 | 379 | let diff = (height - getIntegerValue(this, swapheightkeyname)) | |
380 | 380 | let bcd = getIntegerValue(this, bcD) | |
381 | 381 | let reward = ((diff * bcd) * D8) | |
382 | 382 | let feeCalc = (reward / (previouslockbalance / amount)) | |
383 | 383 | if ((0 > amount)) | |
384 | 384 | then throw(if (pool) | |
385 | 385 | then (((("Can't withdraw negative " + Asset1) + "/") + Asset2) + " amount") | |
386 | 386 | else "Can't withdraw negative Dolphin Token amount") | |
387 | 387 | else { | |
388 | 388 | let newAmount = (currentAmount - amount) | |
389 | 389 | if ((0 > newAmount)) | |
390 | 390 | then throw(if (pool) | |
391 | 391 | then (((("Not enough Asset Lp " + Asset1) + "/") + Asset2) + " balance") | |
392 | 392 | else "Not enough Dolphin Token balance") | |
393 | 393 | else [IntegerEntry(if (pool) | |
394 | 394 | then ((("STAKE_LP_" + currentKey) + "_") + kp(Asset1, Asset2)) | |
395 | 395 | else currentKey, newAmount), IntegerEntry(if (pool) | |
396 | 396 | then ("Total_Tokens_LP_Locked_" + kp(Asset1, Asset2)) | |
397 | 397 | else "Total_Tokens_Locked:", totaltoken), ScriptTransfer(i.caller, amount, if (pool) | |
398 | 398 | then fromBase58String(getStringValue(this, (l + kp(Asset1, Asset2)))) | |
399 | 399 | else MainAsset), ScriptTransfer(i.caller, feeCalc, MainAsset)] | |
400 | 400 | } | |
401 | 401 | } | |
402 | 402 | else throw("liquidity is currently under maintenance.") | |
403 | 403 | else throw("dApp is currently under maintenance.") | |
404 | 404 | } | |
405 | 405 | ||
406 | 406 | ||
407 | 407 | ||
408 | 408 | @Callable(i) | |
409 | 409 | func addLiquidity (Asset1,Asset2) = { | |
410 | 410 | let power = getBooleanValue(this, ac) | |
411 | 411 | let poolActivate = getBooleanValue(this, poolAc) | |
412 | 412 | let acWaves = getBooleanValue(this, aWaves) | |
413 | 413 | let key = validPoolK(kp(Asset1, Asset2)) | |
414 | 414 | let asset1 = i.payments[0].assetId | |
415 | 415 | let asset2 = i.payments[1].assetId | |
416 | - | let | |
416 | + | let XTN = fromBase58String(getStringValue(this, xtn)) | |
417 | 417 | let USDC = fromBase58String(getStringValue(this, usdc)) | |
418 | 418 | let USDT = fromBase58String(getStringValue(this, usdt)) | |
419 | 419 | let NGNN = fromBase58String(getStringValue(this, ngnn)) | |
420 | 420 | let EURN = fromBase58String(getStringValue(this, eurn)) | |
421 | 421 | let MainAsset = fromBase58String(getStringValue(this, main)) | |
422 | 422 | let lpAssetId = getStringValue(this, (l + kp(Asset1, Asset2))) | |
423 | 423 | let totalAsset1Pool = if ((2 > totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset1), false))) | |
424 | 424 | then i.payments[0].amount | |
425 | 425 | else totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset1), false) | |
426 | 426 | let totalAsset2Pool = if ((2 > totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset1), false))) | |
427 | 427 | then i.payments[1].amount | |
428 | 428 | else totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset2), false) | |
429 | 429 | let totalLp = totalAssetPool(lpAssetId, true) | |
430 | 430 | let priceLpAsset = ((totalAsset1Pool + totalAsset2Pool) / totalLp) | |
431 | 431 | let quantityAsset2 = (i.payments[0].amount * (totalAsset2Pool / totalAsset1Pool)) | |
432 | 432 | let rateTop = (i.payments[1].amount + ((i.payments[1].amount * 2) / 100)) | |
433 | 433 | let rateBottom = (i.payments[1].amount - ((i.payments[1].amount * 2) / 100)) | |
434 | 434 | let Validate = if (if (if ((i.payments[1].amount == quantityAsset2)) | |
435 | 435 | then true | |
436 | 436 | else (rateTop > i.payments[1].amount)) | |
437 | 437 | then true | |
438 | 438 | else (i.payments[1].amount > rateBottom)) | |
439 | 439 | then true | |
440 | 440 | else false | |
441 | 441 | if (power) | |
442 | 442 | then if (!(poolActivate)) | |
443 | 443 | then if (if (if (!((asset1 == asset2))) | |
444 | 444 | then validateAsset(asset1, Asset1, acWaves) | |
445 | 445 | else false) | |
446 | 446 | then validateAsset(asset2, Asset2, acWaves) | |
447 | 447 | else false) | |
448 | - | then if (if (if (if (if (if (if (if ((asset1 == | |
448 | + | then if (if (if (if (if (if (if (if ((asset1 == XTN)) | |
449 | 449 | then true | |
450 | 450 | else (asset1 == USDC)) | |
451 | 451 | then true | |
452 | 452 | else (asset1 == USDT)) | |
453 | 453 | then true | |
454 | 454 | else (asset1 == NGNN)) | |
455 | 455 | then true | |
456 | 456 | else (asset1 == MainAsset)) | |
457 | 457 | then true | |
458 | 458 | else (asset1 == WAVES)) | |
459 | 459 | then true | |
460 | 460 | else (asset1 == EURN)) | |
461 | - | then if (if (if (if (if (if ((asset2 == | |
461 | + | then if (if (if (if (if (if ((asset2 == XTN)) | |
462 | 462 | then true | |
463 | 463 | else (asset2 == USDC)) | |
464 | 464 | then true | |
465 | 465 | else (asset2 == USDT)) | |
466 | 466 | then true | |
467 | 467 | else (asset2 == NGNN)) | |
468 | 468 | then true | |
469 | 469 | else (asset2 == MainAsset)) | |
470 | 470 | then true | |
471 | 471 | else (asset2 == WAVES)) | |
472 | 472 | then true | |
473 | 473 | else (asset2 == EURN) | |
474 | 474 | else false) | |
475 | 475 | then if ((key != false)) | |
476 | 476 | then if (Validate) | |
477 | 477 | then { | |
478 | 478 | let currentKey = toBase58String(i.caller.bytes) | |
479 | 479 | let currentAmount = kpAddress(currentKey, kp(Asset1, Asset2)) | |
480 | 480 | let currentAmountAsset1 = poolAA(currentKey, kp(Asset1, Asset2), Asset1) | |
481 | 481 | let currentAmountAsset2 = poolAA(currentKey, kp(Asset1, Asset2), Asset2) | |
482 | 482 | let asset1pool = assetP(kp(Asset1, Asset2), Asset1) | |
483 | 483 | let asset2pool = assetP(kp(Asset1, Asset2), Asset2) | |
484 | 484 | let receiveLp = if ((totalAsset1Pool == i.payments[0].amount)) | |
485 | 485 | then (1 * D8) | |
486 | 486 | else toInt((((toBigInt(i.payments[0].amount) * toBigInt(D8)) + (toBigInt(i.payments[1].amount) * toBigInt(D8))) / (((toBigInt(totalAsset1Pool) * toBigInt(D8)) + (toBigInt(totalAsset2Pool) * toBigInt(D8))) / toBigInt(totalLp)))) | |
487 | 487 | let newcurrentAmountAsset1 = (currentAmountAsset1 + i.payments[0].amount) | |
488 | 488 | let newcurrentAmountAsset2 = (currentAmountAsset2 + i.payments[1].amount) | |
489 | 489 | let newcurrentAmount = (currentAmount + receiveLp) | |
490 | 490 | let newasset1pool = (asset1pool + i.payments[0].amount) | |
491 | 491 | let newasset2pool = (asset2pool + i.payments[1].amount) | |
492 | 492 | [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))] | |
493 | 493 | } | |
494 | 494 | else throw(((((("Payment of invalid 1/1 amounts to the Pool. Try Asset2: {value:" + toString((i.payments[0].amount * (totalAsset2Pool / totalAsset1Pool)))) + "} Received: ") + toString(i.payments[1].amount)) + " Validate: ") + toString(Validate))) | |
495 | 495 | else throw("Invalid Pool Key.") | |
496 | 496 | else throw("Invalid Asset1 or Asset2!") | |
497 | 497 | else throw("Asset1 cannot be equal to Asset2") | |
498 | 498 | else throw("liquidity is currently under maintenance.") | |
499 | 499 | else throw("dApp is currently under maintenance.") | |
500 | 500 | } | |
501 | 501 | ||
502 | 502 | ||
503 | 503 | ||
504 | 504 | @Callable(i) | |
505 | 505 | func removeLiquidity (Asset1,Asset2,Amount) = { | |
506 | 506 | let currentKey = toBase58String(i.caller.bytes) | |
507 | 507 | let power = getBooleanValue(this, ac) | |
508 | 508 | let poolActivate = getBooleanValue(this, poolAc) | |
509 | 509 | let acWaves = getBooleanValue(this, aWaves) | |
510 | 510 | let poolKey = kp(Asset1, Asset2) | |
511 | 511 | let key = validPoolK(poolKey) | |
512 | 512 | let asset1 = if ((Asset1 == waves)) | |
513 | 513 | then if (acWaves) | |
514 | 514 | then WAVES | |
515 | 515 | else throw("The smart contract does not currently support Waves.") | |
516 | 516 | else fromBase58String(Asset1) | |
517 | 517 | let asset2 = if ((Asset2 == waves)) | |
518 | 518 | then if (acWaves) | |
519 | 519 | then WAVES | |
520 | 520 | else throw("The smart contract does not currently support Waves.") | |
521 | 521 | else fromBase58String(Asset2) | |
522 | - | let | |
522 | + | let XTN = fromBase58String(getStringValue(this, xtn)) | |
523 | 523 | let USDC = fromBase58String(getStringValue(this, usdc)) | |
524 | 524 | let USDT = fromBase58String(getStringValue(this, usdt)) | |
525 | 525 | let NGNN = fromBase58String(getStringValue(this, ngnn)) | |
526 | 526 | let MainAsset = fromBase58String(getStringValue(this, main)) | |
527 | 527 | let EURN = fromBase58String(getStringValue(this, eurn)) | |
528 | 528 | let lpAssetId = getStringValue(this, (l + kp(Asset1, Asset2))) | |
529 | 529 | let currentAmount = kpAddress(currentKey, kp(Asset1, Asset2)) | |
530 | 530 | let amountLpBlocked = lpBlocked(currentKey, poolKey) | |
531 | 531 | let totalLP = totalAssetPool(lpAssetId, true) | |
532 | 532 | let totalAsset1Pool = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset1), false) | |
533 | 533 | let totalAsset2Pool = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset2), false) | |
534 | 534 | if (power) | |
535 | 535 | then if (!(poolActivate)) | |
536 | 536 | then if (!((Asset1 == Asset2))) | |
537 | - | then if (if (if (if (if (if (if (if ((asset1 == | |
537 | + | then if (if (if (if (if (if (if (if ((asset1 == XTN)) | |
538 | 538 | then true | |
539 | 539 | else (asset1 == USDC)) | |
540 | 540 | then true | |
541 | 541 | else (asset1 == USDT)) | |
542 | 542 | then true | |
543 | 543 | else (asset1 == NGNN)) | |
544 | 544 | then true | |
545 | 545 | else (asset1 == MainAsset)) | |
546 | 546 | then true | |
547 | 547 | else (asset1 == WAVES)) | |
548 | 548 | then true | |
549 | 549 | else (asset1 == EURN)) | |
550 | - | then if (if (if (if (if (if ((asset2 == | |
550 | + | then if (if (if (if (if (if ((asset2 == XTN)) | |
551 | 551 | then true | |
552 | 552 | else (asset2 == USDC)) | |
553 | 553 | then true | |
554 | 554 | else (asset2 == USDT)) | |
555 | 555 | then true | |
556 | 556 | else (asset2 == NGNN)) | |
557 | 557 | then true | |
558 | 558 | else (asset2 == MainAsset)) | |
559 | 559 | then true | |
560 | 560 | else (asset2 == WAVES)) | |
561 | 561 | then true | |
562 | 562 | else (asset2 == EURN) | |
563 | 563 | else false) | |
564 | 564 | then if ((key != false)) | |
565 | 565 | then if (!((currentAmount == 0))) | |
566 | 566 | then if (((currentAmount - amountLpBlocked) >= Amount)) | |
567 | 567 | then if (if ((totalAsset1Pool > 2)) | |
568 | 568 | then true | |
569 | 569 | else (totalAsset2Pool > 2)) | |
570 | 570 | then { | |
571 | 571 | let receiveAsset1 = (toInt(((fraction(toBigInt(i.payments[0].amount), toBigInt(D8), toBigInt(totalLP)) * toBigInt(totalAsset1Pool)) / toBigInt(D8))) - 1) | |
572 | 572 | let receiveAsset2 = (toInt(((fraction(toBigInt(i.payments[0].amount), toBigInt(D8), toBigInt(totalLP)) * toBigInt(totalAsset2Pool)) / toBigInt(D8))) - 1) | |
573 | 573 | let asset1pool = assetP(kp(Asset1, Asset2), Asset1) | |
574 | 574 | let asset2pool = assetP(kp(Asset1, Asset2), Asset2) | |
575 | 575 | let currentAmountAsset1 = poolAA(currentKey, kp(Asset1, Asset2), Asset1) | |
576 | 576 | let currentAmountAsset2 = poolAA(currentKey, kp(Asset1, Asset2), Asset2) | |
577 | 577 | let newcurrentAmountAsset1 = (currentAmountAsset1 - receiveAsset1) | |
578 | 578 | let newcurrentAmountAsset2 = (currentAmountAsset2 - receiveAsset2) | |
579 | 579 | let newcurrentAmount = (currentAmount - Amount) | |
580 | 580 | let newasset1pool = (asset1pool - receiveAsset1) | |
581 | 581 | let newasset2pool = (asset2pool - receiveAsset2) | |
582 | 582 | if ((i.payments[0].assetId == fromBase58String(lpAssetId))) | |
583 | 583 | then if ((Amount == i.payments[0].amount)) | |
584 | 584 | 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))] | |
585 | 585 | else throw(("Withdrawal amount lower than asset lp amount. Your Lp amount available: " + toString(Amount))) | |
586 | 586 | else throw("Requires an lp asset as payment to remove locked amounts.") | |
587 | 587 | } | |
588 | 588 | else throw("Pool has no liquidity.") | |
589 | 589 | else throw(("Amount to be withdrawn greater than the amount available for withdrawal. Available: " + toString(Amount))) | |
590 | 590 | else throw("You have no locked values in the pool") | |
591 | 591 | else throw("Invalid Pool Key.") | |
592 | 592 | else throw("Invalid Asset1 or Asset2!") | |
593 | 593 | else throw("Asset1 cannot be equal to Asset2") | |
594 | 594 | else throw("liquidity is currently under maintenance.") | |
595 | 595 | else throw("dApp is currently under maintenance.") | |
596 | 596 | } | |
597 | 597 | ||
598 | 598 | ||
599 | 599 | ||
600 | 600 | @Callable(i) | |
601 | 601 | func swap (Asset1,Asset2) = { | |
602 | 602 | let currentKey = toBase58String(i.caller.bytes) | |
603 | 603 | let acWaves = getBooleanValue(this, aWaves) | |
604 | 604 | let power = getBooleanValue(this, ac) | |
605 | 605 | let swapActivate = getBooleanValue(this, swapAc) | |
606 | 606 | let poolKey = kp(Asset1, Asset2) | |
607 | 607 | let key = validPoolK(poolKey) | |
608 | 608 | let asset1 = i.payments[0].assetId | |
609 | - | let | |
609 | + | let XTN = fromBase58String(getStringValue(this, xtn)) | |
610 | 610 | let USDC = fromBase58String(getStringValue(this, usdc)) | |
611 | 611 | let USDT = fromBase58String(getStringValue(this, usdt)) | |
612 | 612 | let NGNN = fromBase58String(getStringValue(this, ngnn)) | |
613 | 613 | let MainAsset = fromBase58String(getStringValue(this, main)) | |
614 | 614 | let EURN = fromBase58String(getStringValue(this, eurn)) | |
615 | 615 | let lpAssetId = getStringValue(this, (l + kp(Asset1, Asset2))) | |
616 | 616 | let totalAsset1 = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset1), false) | |
617 | 617 | let totalAsset2 = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset2), false) | |
618 | 618 | let feeRatePercentual = getIntegerValue(this, rateFee) | |
619 | 619 | let prAsset1 = (toBigInt(i.payments[0].amount) * fraction(toBigInt(D8), toBigInt(totalAsset2), toBigInt(totalAsset1))) | |
620 | 620 | let priceAsset1 = toInt(((prAsset1 - ((prAsset1 / toBigInt(feeRatePercentual)) * toBigInt(100))) / toBigInt(D8))) | |
621 | 621 | let prAsset2 = (toBigInt(i.payments[0].amount) * fraction(toBigInt(D8), toBigInt(totalAsset1), toBigInt(totalAsset2))) | |
622 | 622 | let priceAsset2 = toInt(((prAsset2 - ((prAsset2 / toBigInt(feeRatePercentual)) * toBigInt(100))) / toBigInt(D8))) | |
623 | 623 | let sendValue = if (if ((asset1 == WAVES)) | |
624 | 624 | then (Asset1 == waves) | |
625 | 625 | else false) | |
626 | 626 | then priceAsset1 | |
627 | 627 | else if ((asset1 == fromBase58String(Asset1))) | |
628 | 628 | then priceAsset1 | |
629 | 629 | else priceAsset2 | |
630 | 630 | let assetUpdatePay = if ((asset1 == WAVES)) | |
631 | 631 | then waves | |
632 | 632 | else if ((asset1 == fromBase58String(Asset1))) | |
633 | 633 | then Asset1 | |
634 | 634 | else Asset2 | |
635 | 635 | let assetUpdateSwap = if ((asset1 == WAVES)) | |
636 | 636 | then waves | |
637 | 637 | else if ((asset1 == fromBase58String(Asset1))) | |
638 | 638 | then Asset2 | |
639 | 639 | else Asset1 | |
640 | 640 | let assetSendSwap = valid(i.payments[0].assetId, Asset1, Asset2) | |
641 | 641 | let n1s = (assetP(kp(Asset1, Asset2), assetUpdateSwap) - sendValue) | |
642 | 642 | let nw = (getAmountBlockAsset(assetUpdateSwap) - sendValue) | |
643 | 643 | let newUpda = if ((0 > n1s)) | |
644 | 644 | then 0 | |
645 | 645 | else n1s | |
646 | 646 | let newUpdateSwap = if ((0 > nw)) | |
647 | 647 | then 0 | |
648 | 648 | else nw | |
649 | 649 | let D = match i.payments[0].assetId { | |
650 | 650 | case o: Unit => | |
651 | 651 | pow(10, 0, 8, 0, 0, HALFUP) | |
652 | 652 | case x: ByteVector => | |
653 | 653 | pow(10, 0, value(assetInfo(x)).decimals, 0, 0, HALFUP) | |
654 | 654 | case _ => | |
655 | 655 | throw("Match error") | |
656 | 656 | } | |
657 | 657 | if (power) | |
658 | 658 | then if (!(swapActivate)) | |
659 | 659 | then if (if (!((Asset1 == Asset2))) | |
660 | 660 | then if (validateAsset(asset1, Asset1, acWaves)) | |
661 | 661 | then true | |
662 | 662 | else validateAsset(asset1, Asset2, acWaves) | |
663 | 663 | else false) | |
664 | - | then if (if (if (if (if (if (if ((asset1 == | |
664 | + | then if (if (if (if (if (if (if ((asset1 == XTN)) | |
665 | 665 | then true | |
666 | 666 | else (asset1 == USDC)) | |
667 | 667 | then true | |
668 | 668 | else (asset1 == USDT)) | |
669 | 669 | then true | |
670 | 670 | else (asset1 == NGNN)) | |
671 | 671 | then true | |
672 | 672 | else (asset1 == MainAsset)) | |
673 | 673 | then true | |
674 | 674 | else (asset1 == EURN)) | |
675 | 675 | then true | |
676 | 676 | else (asset1 == WAVES)) | |
677 | 677 | then if ((key != false)) | |
678 | 678 | then if ((i.payments[1].assetId == MainAsset)) | |
679 | 679 | then if ((i.payments[1].amount == 300000)) | |
680 | 680 | then if (if ((totalAsset1 > 2)) | |
681 | 681 | then true | |
682 | 682 | else (totalAsset2 > 2)) | |
683 | 683 | then [ScriptTransfer(Address(i.caller.bytes), if ((0 > sendValue)) | |
684 | 684 | then D | |
685 | 685 | else sendValue, assetSendSwap), IntegerEntry(assetUpdateSwap, newUpdateSwap), IntegerEntry(((kp(Asset1, Asset2) + "_") + assetUpdateSwap), newUpda), IntegerEntry(((kp(Asset1, Asset2) + "_") + assetUpdatePay), (assetP(kp(Asset1, Asset2), assetUpdatePay) + i.payments[0].amount)), IntegerEntry(assetUpdatePay, (getAmountBlockAsset(assetUpdatePay) + i.payments[0].amount)), IntegerEntry(toBase58String(MainAsset), (getAmountBlockAsset(toBase58String(MainAsset)) + i.payments[1].amount))] | |
686 | 686 | else throw("Pool has no liquidity.") | |
687 | 687 | else throw("Swap denied! 0.003 Dolphin Token is required for the swap fee.") | |
688 | 688 | else throw("Invalid rate asset") | |
689 | 689 | else throw("Invalid Swap Key.") | |
690 | 690 | else throw("Invalid Asset1 or Asset2!") | |
691 | 691 | else throw("Asset1 cannot be equal to Asset2") | |
692 | 692 | else throw("Swap is currently under maintenance.") | |
693 | 693 | else throw("dApp is currently under maintenance.") | |
694 | 694 | } | |
695 | 695 | ||
696 | 696 | ||
697 | 697 | @Verifier(tx) | |
698 | 698 | func verify () = match tx { | |
699 | 699 | case order: Order => | |
700 | 700 | true | |
701 | 701 | case e: ExchangeTransaction => | |
702 | 702 | true | |
703 | 703 | case tt: TransferTransaction => | |
704 | 704 | (tt.recipient == Address(fromBase58String(getStringValue(this, "admin")))) | |
705 | 705 | case _ => | |
706 | 706 | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
707 | 707 | } | |
708 | 708 |
github/deemru/w8io/169f3d6 105.86 ms ◑