tx · qgSu8ANW3gbCXjv4afS8rANZuuo8FGs4BJid83TaieB 3N8pVPvAfr79Ysbb4MEwi2Ks7d6LKUXG1iU: -0.03400000 Waves 2022.07.16 00:15 [2141381] smart account 3N8pVPvAfr79Ysbb4MEwi2Ks7d6LKUXG1iU > SELF 0.00000000 Waves
{ "type": 13, "id": "qgSu8ANW3gbCXjv4afS8rANZuuo8FGs4BJid83TaieB", "fee": 3400000, "feeAssetId": null, "timestamp": 1657919665188, "version": 2, "chainId": 84, "sender": "3N8pVPvAfr79Ysbb4MEwi2Ks7d6LKUXG1iU", "senderPublicKey": "GDio3pYFUMSWQ3yen7TJP79nTPaGuPbxjKixvKLuYS8E", "proofs": [ "3UaxAe38WaNt2bwShM7vSqMx3La8WdMVXByLQyhbZifi2u3k6E4RiwBq9ERNqiJiTdt77YZk5jbKKrZhfq2pGrfe", "4xDnYyYPhi3j1dQ9kJYM1Nr8tecBErfvMx6nfi4d4UudaaNSRUwzJzwK6biS14DMVXCUkoHgTBYaCKVyxFMJkaaU" ], "script": "base64:AAIFAAAAAAAAAFkIAhILCgkICAgICAgBAQQSAwoBBBIFCgMEBAQSAwoBARIDCgEEEgMKAQESAwoBCBIGCgQICAgEEgUKAwQICBIGCgQECAgBEgQKAggIEgUKAwgIARIECgIICAAAACcAAAAABG1haW4CAAAACm1haW5fYXNzZXQAAAAAAWwCAAAACWxwX2Fzc2V0XwAAAAADYWExAgAAAAZwb29sX18AAAAAAnNhAgAAAA9TVEFLSU5HX0FNT1VOVF8AAAAAAmxhAgAAAA1MRUFTRV9BTU9VTlRfAAAAAAJpeAIAAAADSURfAAAAAAdyYXRlRmVlAgAAABNwZXJjZW50YWdlX3JhdGVfZmVlAAAAAA5kZXBvc2l0X2hlaWdodAIAAAASRGVwb3NpdF9IZWlnaHRfT2ZfAAAAAAJEOAAAAAAABfXhAAAAAAACRDYAAAAAAAAPQkAAAAAAA0QxMAAAAAACVAvkAAEAAAARZ2V0QWRkcmVzc0lmVmFsaWQAAA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YWxpZCByYXRlIGFzc2V0CQAAAgAAAAECAAAAEUludmFsaWQgU3dhcCBLZXkuCQAAAgAAAAECAAAAGUludmFsaWQgQXNzZXQxIG9yIEFzc2V0MiEJAAACAAAAAQIAAAAgQXNzZXQxIGNhbm5vdCBiZSBlcXVhbCB0byBBc3NldDIJAAACAAAAAQIAAAAkU3dhcCBpcyBjdXJyZW50bHkgdW5kZXIgbWFpbnRlbmFuY2UuCQAAAgAAAAECAAAAJGRBcHAgaXMgY3VycmVudGx5IHVuZGVyIG1haW50ZW5hbmNlLgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAVPcmRlcgQAAAAFb3JkZXIFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAACdHQFAAAAByRtYXRjaDAJAAAAAAAAAggFAAAAAnR0AAAACXJlY2lwaWVudAkBAAAAB0FkZHJlc3MAAAABCQACWQAAAAEJAQAAABFAZXh0ck5hdGl2ZSgxMDUzKQAAAAIFAAAABHRoaXMCAAAABWFkbWluCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlefUHYvM=", "height": 2141381, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FgT4AWgnrr4Yt28oq27acx8iWF38UsAv5QdRB4JpjPLo Next: HQW4vHYKpdyhR8DECMn17Kmt89TxY57ZZvfvLMtZZitz Diff:
Old | New | Differences | |
---|---|---|---|
149 | 149 | ||
150 | 150 | ||
151 | 151 | @Callable(i) | |
152 | - | func constructor (MainAssetId,UsdnAssetId,UsdtAssetId,UsdcAssetId,NgnnAssetId,EurnAssetId,percentageRateSwap,blockDistribution,acceptWaves) = if (if ((i.caller == this)) | |
153 | - | then true | |
154 | - | else (i.caller == adminVerification())) | |
155 | - | then if ((valueOrElse(getInteger(this, "keyPoolUsdtWaves"), 0) == 0)) | |
156 | - | then { | |
157 | - | let keyPoolUsdnUsdt = kp(UsdnAssetId, UsdtAssetId) | |
158 | - | let keyPoolUsdnUsdc = kp(UsdnAssetId, UsdcAssetId) | |
159 | - | let keyPoolUsdnNgnn = kp(UsdnAssetId, NgnnAssetId) | |
160 | - | let keyPoolUsdnWaves = kp(UsdnAssetId, waves) | |
161 | - | let keyPoolUsdnMainAsset = kp(UsdnAssetId, MainAssetId) | |
162 | - | let keyPoolUsdnEurn = kp(UsdnAssetId, EurnAssetId) | |
163 | - | let keyPoolUsdcUsdt = kp(UsdcAssetId, UsdtAssetId) | |
164 | - | let keyPoolUsdcNgnn = kp(UsdcAssetId, NgnnAssetId) | |
165 | - | let keyPoolUsdcWaves = kp(UsdcAssetId, waves) | |
166 | - | let keyPoolUsdcMainAsset = kp(UsdcAssetId, MainAssetId) | |
167 | - | let keyPoolUsdcEurn = kp(UsdcAssetId, EurnAssetId) | |
168 | - | let keyPoolUsdtNgnn = kp(UsdtAssetId, NgnnAssetId) | |
169 | - | let keyPoolUsdtWaves = kp(UsdtAssetId, waves) | |
170 | - | let keyPoolUsdtMainAsset = kp(UsdtAssetId, MainAssetId) | |
171 | - | let keyPoolUsdtEurn = kp(UsdtAssetId, EurnAssetId) | |
172 | - | let keyPoolNgnnWaves = kp(NgnnAssetId, waves) | |
173 | - | let keyPoolNgnnMainAsset = kp(NgnnAssetId, MainAssetId) | |
174 | - | let keyPoolNgnnEurn = kp(NgnnAssetId, EurnAssetId) | |
175 | - | let keyPoolMainWaves = kp(MainAssetId, waves) | |
176 | - | let keyPoolMainEurn = kp(MainAssetId, EurnAssetId) | |
177 | - | let keyPoolEurnWaves = kp(EurnAssetId, waves) | |
152 | + | func constructor (MainAssetId,UsdnAssetId,UsdtAssetId,UsdcAssetId,NgnnAssetId,EurnAssetId,percentageRateSwap,blockDistribution,acceptWaves) = { | |
153 | + | let keyPoolUsdtWaves = kp(UsdtAssetId, waves) | |
154 | + | if (if ((i.caller == this)) | |
155 | + | then true | |
156 | + | else (i.caller == adminVerification())) | |
157 | + | then if ((valueOrElse(getInteger(this, keyPoolUsdtWaves), 0) == 0)) | |
158 | + | then { | |
159 | + | let keyPoolUsdnUsdt = kp(UsdnAssetId, UsdtAssetId) | |
160 | + | let keyPoolUsdnUsdc = kp(UsdnAssetId, UsdcAssetId) | |
161 | + | let keyPoolUsdnNgnn = kp(UsdnAssetId, NgnnAssetId) | |
162 | + | let keyPoolUsdnWaves = kp(UsdnAssetId, waves) | |
163 | + | let keyPoolUsdnMainAsset = kp(UsdnAssetId, MainAssetId) | |
164 | + | let keyPoolUsdnEurn = kp(UsdnAssetId, EurnAssetId) | |
165 | + | let keyPoolUsdcUsdt = kp(UsdcAssetId, UsdtAssetId) | |
166 | + | let keyPoolUsdcNgnn = kp(UsdcAssetId, NgnnAssetId) | |
167 | + | let keyPoolUsdcWaves = kp(UsdcAssetId, waves) | |
168 | + | let keyPoolUsdcMainAsset = kp(UsdcAssetId, MainAssetId) | |
169 | + | let keyPoolUsdcEurn = kp(UsdcAssetId, EurnAssetId) | |
170 | + | let keyPoolUsdtNgnn = kp(UsdtAssetId, NgnnAssetId) | |
171 | + | let keyPoolUsdtMainAsset = kp(UsdtAssetId, MainAssetId) | |
172 | + | let keyPoolUsdtEurn = kp(UsdtAssetId, EurnAssetId) | |
173 | + | let keyPoolNgnnWaves = kp(NgnnAssetId, waves) | |
174 | + | let keyPoolNgnnMainAsset = kp(NgnnAssetId, MainAssetId) | |
175 | + | let keyPoolNgnnEurn = kp(NgnnAssetId, EurnAssetId) | |
176 | + | let keyPoolMainWaves = kp(MainAssetId, waves) | |
177 | + | let keyPoolMainEurn = kp(MainAssetId, EurnAssetId) | |
178 | + | let keyPoolEurnWaves = kp(EurnAssetId, waves) | |
178 | 179 | [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), IntegerEntry(keyPoolUsdcMainAsset, 1), StringEntry(eurn, EurnAssetId)] | |
179 | - | } | |
180 | - | else throw("Smart Contract has been started") | |
181 | - | else throw("Only the Admin itself can invoke this function") | |
180 | + | } | |
181 | + | else throw("Smart Contract has been started") | |
182 | + | else throw("Only the Admin itself can invoke this function") | |
183 | + | } | |
182 | 184 | ||
183 | 185 | ||
184 | 186 |
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 | 60 | let usdn = "usdn_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 | @Callable(i) | |
152 | - | func constructor (MainAssetId,UsdnAssetId,UsdtAssetId,UsdcAssetId,NgnnAssetId,EurnAssetId,percentageRateSwap,blockDistribution,acceptWaves) = if (if ((i.caller == this)) | |
153 | - | then true | |
154 | - | else (i.caller == adminVerification())) | |
155 | - | then if ((valueOrElse(getInteger(this, "keyPoolUsdtWaves"), 0) == 0)) | |
156 | - | then { | |
157 | - | let keyPoolUsdnUsdt = kp(UsdnAssetId, UsdtAssetId) | |
158 | - | let keyPoolUsdnUsdc = kp(UsdnAssetId, UsdcAssetId) | |
159 | - | let keyPoolUsdnNgnn = kp(UsdnAssetId, NgnnAssetId) | |
160 | - | let keyPoolUsdnWaves = kp(UsdnAssetId, waves) | |
161 | - | let keyPoolUsdnMainAsset = kp(UsdnAssetId, MainAssetId) | |
162 | - | let keyPoolUsdnEurn = kp(UsdnAssetId, EurnAssetId) | |
163 | - | let keyPoolUsdcUsdt = kp(UsdcAssetId, UsdtAssetId) | |
164 | - | let keyPoolUsdcNgnn = kp(UsdcAssetId, NgnnAssetId) | |
165 | - | let keyPoolUsdcWaves = kp(UsdcAssetId, waves) | |
166 | - | let keyPoolUsdcMainAsset = kp(UsdcAssetId, MainAssetId) | |
167 | - | let keyPoolUsdcEurn = kp(UsdcAssetId, EurnAssetId) | |
168 | - | let keyPoolUsdtNgnn = kp(UsdtAssetId, NgnnAssetId) | |
169 | - | let keyPoolUsdtWaves = kp(UsdtAssetId, waves) | |
170 | - | let keyPoolUsdtMainAsset = kp(UsdtAssetId, MainAssetId) | |
171 | - | let keyPoolUsdtEurn = kp(UsdtAssetId, EurnAssetId) | |
172 | - | let keyPoolNgnnWaves = kp(NgnnAssetId, waves) | |
173 | - | let keyPoolNgnnMainAsset = kp(NgnnAssetId, MainAssetId) | |
174 | - | let keyPoolNgnnEurn = kp(NgnnAssetId, EurnAssetId) | |
175 | - | let keyPoolMainWaves = kp(MainAssetId, waves) | |
176 | - | let keyPoolMainEurn = kp(MainAssetId, EurnAssetId) | |
177 | - | let keyPoolEurnWaves = kp(EurnAssetId, waves) | |
152 | + | func constructor (MainAssetId,UsdnAssetId,UsdtAssetId,UsdcAssetId,NgnnAssetId,EurnAssetId,percentageRateSwap,blockDistribution,acceptWaves) = { | |
153 | + | let keyPoolUsdtWaves = kp(UsdtAssetId, waves) | |
154 | + | if (if ((i.caller == this)) | |
155 | + | then true | |
156 | + | else (i.caller == adminVerification())) | |
157 | + | then if ((valueOrElse(getInteger(this, keyPoolUsdtWaves), 0) == 0)) | |
158 | + | then { | |
159 | + | let keyPoolUsdnUsdt = kp(UsdnAssetId, UsdtAssetId) | |
160 | + | let keyPoolUsdnUsdc = kp(UsdnAssetId, UsdcAssetId) | |
161 | + | let keyPoolUsdnNgnn = kp(UsdnAssetId, NgnnAssetId) | |
162 | + | let keyPoolUsdnWaves = kp(UsdnAssetId, waves) | |
163 | + | let keyPoolUsdnMainAsset = kp(UsdnAssetId, MainAssetId) | |
164 | + | let keyPoolUsdnEurn = kp(UsdnAssetId, EurnAssetId) | |
165 | + | let keyPoolUsdcUsdt = kp(UsdcAssetId, UsdtAssetId) | |
166 | + | let keyPoolUsdcNgnn = kp(UsdcAssetId, NgnnAssetId) | |
167 | + | let keyPoolUsdcWaves = kp(UsdcAssetId, waves) | |
168 | + | let keyPoolUsdcMainAsset = kp(UsdcAssetId, MainAssetId) | |
169 | + | let keyPoolUsdcEurn = kp(UsdcAssetId, EurnAssetId) | |
170 | + | let keyPoolUsdtNgnn = kp(UsdtAssetId, NgnnAssetId) | |
171 | + | let keyPoolUsdtMainAsset = kp(UsdtAssetId, MainAssetId) | |
172 | + | let keyPoolUsdtEurn = kp(UsdtAssetId, EurnAssetId) | |
173 | + | let keyPoolNgnnWaves = kp(NgnnAssetId, waves) | |
174 | + | let keyPoolNgnnMainAsset = kp(NgnnAssetId, MainAssetId) | |
175 | + | let keyPoolNgnnEurn = kp(NgnnAssetId, EurnAssetId) | |
176 | + | let keyPoolMainWaves = kp(MainAssetId, waves) | |
177 | + | let keyPoolMainEurn = kp(MainAssetId, EurnAssetId) | |
178 | + | let keyPoolEurnWaves = kp(EurnAssetId, waves) | |
178 | 179 | [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), IntegerEntry(keyPoolUsdcMainAsset, 1), StringEntry(eurn, EurnAssetId)] | |
179 | - | } | |
180 | - | else throw("Smart Contract has been started") | |
181 | - | else throw("Only the Admin itself can invoke this function") | |
180 | + | } | |
181 | + | else throw("Smart Contract has been started") | |
182 | + | else throw("Only the Admin itself can invoke this function") | |
183 | + | } | |
182 | 184 | ||
183 | 185 | ||
184 | 186 | ||
185 | 187 | @Callable(i) | |
186 | 188 | func activate (v) = if (if ((i.caller == this)) | |
187 | 189 | then true | |
188 | 190 | else (i.caller == adminVerification())) | |
189 | 191 | then [BooleanEntry(ac, v)] | |
190 | 192 | else throw("Only the Admin itself can invoke this function") | |
191 | 193 | ||
192 | 194 | ||
193 | 195 | ||
194 | 196 | @Callable(i) | |
195 | 197 | func maintenance (pools,swap,stake) = if (if ((i.caller == this)) | |
196 | 198 | then true | |
197 | 199 | else (i.caller == adminVerification())) | |
198 | 200 | then [BooleanEntry(poolAc, pools), BooleanEntry(swapAc, swap), BooleanEntry(liquidityAc, stake)] | |
199 | 201 | else throw("Only the Admin itself can invoke this function") | |
200 | 202 | ||
201 | 203 | ||
202 | 204 | ||
203 | 205 | @Callable(i) | |
204 | 206 | func percentualRateFeeSwapEdit (rate) = if (if ((i.caller == this)) | |
205 | 207 | then true | |
206 | 208 | else (i.caller == adminVerification())) | |
207 | 209 | then [IntegerEntry(rateFee, rate)] | |
208 | 210 | else throw("Only the Admin itself can invoke this function") | |
209 | 211 | ||
210 | 212 | ||
211 | 213 | ||
212 | 214 | @Callable(i) | |
213 | 215 | func acceptWaves (activate) = if (if ((i.caller == this)) | |
214 | 216 | then true | |
215 | 217 | else (i.caller == adminVerification())) | |
216 | 218 | then [BooleanEntry(aWaves, activate)] | |
217 | 219 | else throw("Only the Admin itself can invoke this function") | |
218 | 220 | ||
219 | 221 | ||
220 | 222 | ||
221 | 223 | @Callable(i) | |
222 | 224 | func blockDistribution (newValue) = if (if ((i.caller == this)) | |
223 | 225 | then true | |
224 | 226 | else (i.caller == adminVerification())) | |
225 | 227 | then [IntegerEntry(bcD, newValue)] | |
226 | 228 | else throw("Only the Admin itself can invoke this function") | |
227 | 229 | ||
228 | 230 | ||
229 | 231 | ||
230 | 232 | @Callable(i) | |
231 | 233 | func addAdmin (address) = if (if ((i.caller == this)) | |
232 | 234 | then true | |
233 | 235 | else (i.caller == adminVerification())) | |
234 | 236 | then [StringEntry("admin", address)] | |
235 | 237 | else throw("Only the Admin itself can invoke this function") | |
236 | 238 | ||
237 | 239 | ||
238 | 240 | ||
239 | 241 | @Callable(i) | |
240 | 242 | func lpAssetCreateForPairPool (asset1,asset2,Name,customName) = { | |
241 | 243 | let nameAsset1 = if ((asset1 == waves)) | |
242 | 244 | then waves | |
243 | 245 | else getAssetName(fromBase58String(asset1)) | |
244 | 246 | let nameAsset2 = if ((asset2 == waves)) | |
245 | 247 | then waves | |
246 | 248 | else getAssetName(fromBase58String(asset2)) | |
247 | 249 | let name = if (customName) | |
248 | 250 | then Name | |
249 | 251 | else ((nameAsset1 + "_") + nameAsset2) | |
250 | 252 | let key = validPoolK(kp(asset1, asset2)) | |
251 | 253 | if (if ((i.caller == this)) | |
252 | 254 | then true | |
253 | 255 | else (i.caller == adminVerification())) | |
254 | 256 | then if ((key != false)) | |
255 | 257 | then { | |
256 | 258 | let assetLpCreate = Issue(name, ((("LP asset for pool liquidity in AxAi Swap pair " + asset1) + "_") + asset2), (1 * D8), 8, true) | |
257 | 259 | let idAssetLp = calculateAssetId(assetLpCreate) | |
258 | 260 | [StringEntry((l + kp(asset1, asset2)), toBase58String(idAssetLp)), assetLpCreate] | |
259 | 261 | } | |
260 | 262 | else throw("Invalid Pool Key. Try inverting the assets") | |
261 | 263 | else throw("Only the Admin itself can invoke this function") | |
262 | 264 | } | |
263 | 265 | ||
264 | 266 | ||
265 | 267 | ||
266 | 268 | @Callable(i) | |
267 | 269 | func deposit (pool,Asset1,Asset2) = { | |
268 | 270 | let power = getBooleanValue(this, ac) | |
269 | 271 | let liquidityPower = getBooleanValue(this, liquidityAc) | |
270 | 272 | let MainAsset = getStringValue(this, main) | |
271 | 273 | let lpAssetId = if (pool) | |
272 | 274 | then getStringValue(this, (l + kp(Asset1, Asset2))) | |
273 | 275 | else MainAsset | |
274 | 276 | if (power) | |
275 | 277 | then if (!(liquidityPower)) | |
276 | 278 | then if ((i.payments[0].assetId != fromBase58String(lpAssetId))) | |
277 | 279 | then throw((("Invalid asset! Kindly Deposit Only " + MainAsset) + " or valid asset lp")) | |
278 | 280 | else if (!(pool)) | |
279 | 281 | then { | |
280 | 282 | let currentKey = toBase58String(i.caller.bytes) | |
281 | 283 | let currentAmount = match getInteger(this, currentKey) { | |
282 | 284 | case a: Int => | |
283 | 285 | a | |
284 | 286 | case _ => | |
285 | 287 | 0 | |
286 | 288 | } | |
287 | 289 | let newAmount = (currentAmount + i.payments[0].amount) | |
288 | 290 | let useramount = IntegerEntry(currentKey, newAmount) | |
289 | 291 | let userdepositheight = IntegerEntry((deposit_height + currentKey), height) | |
290 | 292 | let previouslockbalance = match getInteger(this, "Total_Tokens_Locked:") { | |
291 | 293 | case a: Int => | |
292 | 294 | a | |
293 | 295 | case _ => | |
294 | 296 | 0 | |
295 | 297 | } | |
296 | 298 | let totaltoken = (previouslockbalance + i.payments[0].amount) | |
297 | 299 | let TLV = IntegerEntry("Total_Tokens_Locked:", totaltoken) | |
298 | 300 | [useramount, userdepositheight, TLV] | |
299 | 301 | } | |
300 | 302 | else { | |
301 | 303 | let poolKey = kp(Asset1, Asset2) | |
302 | 304 | let key = validPoolK(poolKey) | |
303 | 305 | if ((key != false)) | |
304 | 306 | then { | |
305 | 307 | let currentKey = toBase58String(i.caller.bytes) | |
306 | 308 | let currentAmount = match getInteger(this, ((("STAKE_LP_" + currentKey) + "_") + poolKey)) { | |
307 | 309 | case a: Int => | |
308 | 310 | a | |
309 | 311 | case _ => | |
310 | 312 | 0 | |
311 | 313 | } | |
312 | 314 | let newAmount = (currentAmount + i.payments[0].amount) | |
313 | 315 | let useramount = IntegerEntry(((("STAKE_LP_" + currentKey) + "_") + poolKey), newAmount) | |
314 | 316 | let userdepositheight = IntegerEntry(((((deposit_height + "_") + currentKey) + "_") + poolKey), height) | |
315 | 317 | let previouslockbalance = match getInteger(this, ("Total_Tokens_LP_Locked_" + poolKey)) { | |
316 | 318 | case a: Int => | |
317 | 319 | a | |
318 | 320 | case _ => | |
319 | 321 | 0 | |
320 | 322 | } | |
321 | 323 | let totaltoken = (previouslockbalance + i.payments[0].amount) | |
322 | 324 | let TLV = IntegerEntry(("Total_Tokens_LP_Locked_" + poolKey), totaltoken) | |
323 | 325 | [useramount, userdepositheight, TLV] | |
324 | 326 | } | |
325 | 327 | else throw("Invalid Pool key.") | |
326 | 328 | } | |
327 | 329 | else throw("liquidity is currently under maintenance.") | |
328 | 330 | else throw("dApp is currently under maintenance.") | |
329 | 331 | } | |
330 | 332 | ||
331 | 333 | ||
332 | 334 | ||
333 | 335 | @Callable(i) | |
334 | 336 | func remove (pool,Asset1,Asset2,amount) = { | |
335 | 337 | let power = getBooleanValue(this, ac) | |
336 | 338 | let liquidityPower = getBooleanValue(this, liquidityAc) | |
337 | 339 | let pmt = i.payments[0] | |
338 | 340 | let MainAsset = fromBase58String(getStringValue(this, main)) | |
339 | 341 | if (power) | |
340 | 342 | then if (!(liquidityPower)) | |
341 | 343 | then { | |
342 | 344 | let currentKey = toBase58String(i.caller.bytes) | |
343 | 345 | let currentAmount = match if (pool) | |
344 | 346 | then getIntegerValue(this, ((("STAKE_LP_" + currentKey) + "_") + kp(Asset1, Asset2))) | |
345 | 347 | else getIntegerValue(this, currentKey) { | |
346 | 348 | case a: Int => | |
347 | 349 | a | |
348 | 350 | case _ => | |
349 | 351 | 0 | |
350 | 352 | } | |
351 | 353 | let swapheightkeyname = if (pool) | |
352 | 354 | then ((((deposit_height + "_") + currentKey) + "_") + kp(Asset1, Asset2)) | |
353 | 355 | else (deposit_height + currentKey) | |
354 | 356 | let previouslockbalance = if (pool) | |
355 | 357 | then getIntegerValue(this, ("Total_Tokens_LP_Locked_" + kp(Asset1, Asset2))) | |
356 | 358 | else getIntegerValue(this, "Total_Tokens_Locked:") | |
357 | 359 | let totaltoken = (previouslockbalance - amount) | |
358 | 360 | let diff = (height - getIntegerValue(this, swapheightkeyname)) | |
359 | 361 | let bcd = getIntegerValue(this, bcD) | |
360 | 362 | let reward = ((diff * bcd) * D8) | |
361 | 363 | let feeCalc = (reward / (previouslockbalance / amount)) | |
362 | 364 | if ((0 > amount)) | |
363 | 365 | then throw(if (pool) | |
364 | 366 | then (((("Can't withdraw negative " + Asset1) + "/") + Asset2) + " amount") | |
365 | 367 | else "Can't withdraw negative AxAi amount") | |
366 | 368 | else { | |
367 | 369 | let newAmount = (currentAmount - amount) | |
368 | 370 | if ((0 > newAmount)) | |
369 | 371 | then throw(if (pool) | |
370 | 372 | then (((("Not enough Asset Lp " + Asset1) + "/") + Asset2) + " balance") | |
371 | 373 | else "Not enough AxAi balance") | |
372 | 374 | else [IntegerEntry(if (pool) | |
373 | 375 | then ((("STAKE_LP_" + currentKey) + "_") + kp(Asset1, Asset2)) | |
374 | 376 | else currentKey, newAmount), IntegerEntry(if (pool) | |
375 | 377 | then ("Total_Tokens_LP_Locked_" + kp(Asset1, Asset2)) | |
376 | 378 | else "Total_Tokens_Locked:", totaltoken), ScriptTransfer(i.caller, amount, if (pool) | |
377 | 379 | then fromBase58String(getStringValue(this, (l + kp(Asset1, Asset2)))) | |
378 | 380 | else MainAsset), ScriptTransfer(i.caller, feeCalc, MainAsset)] | |
379 | 381 | } | |
380 | 382 | } | |
381 | 383 | else throw("liquidity is currently under maintenance.") | |
382 | 384 | else throw("dApp is currently under maintenance.") | |
383 | 385 | } | |
384 | 386 | ||
385 | 387 | ||
386 | 388 | ||
387 | 389 | @Callable(i) | |
388 | 390 | func addLiquidity (Asset1,Asset2) = { | |
389 | 391 | let power = getBooleanValue(this, ac) | |
390 | 392 | let poolActivate = getBooleanValue(this, poolAc) | |
391 | 393 | let acWaves = getBooleanValue(this, aWaves) | |
392 | 394 | let key = validPoolK(kp(Asset1, Asset2)) | |
393 | 395 | let asset1 = i.payments[0].assetId | |
394 | 396 | let asset2 = i.payments[1].assetId | |
395 | 397 | let USDN = fromBase58String(getStringValue(this, usdn)) | |
396 | 398 | let USDC = fromBase58String(getStringValue(this, usdc)) | |
397 | 399 | let USDT = fromBase58String(getStringValue(this, usdt)) | |
398 | 400 | let NGNN = fromBase58String(getStringValue(this, ngnn)) | |
399 | 401 | let EURN = fromBase58String(getStringValue(this, eurn)) | |
400 | 402 | let MainAsset = fromBase58String(getStringValue(this, main)) | |
401 | 403 | let lpAssetId = getStringValue(this, (l + kp(Asset1, Asset2))) | |
402 | 404 | let totalAsset1Pool = if ((2 > totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset1), false))) | |
403 | 405 | then i.payments[0].amount | |
404 | 406 | else totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset1), false) | |
405 | 407 | let totalAsset2Pool = if ((2 > totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset1), false))) | |
406 | 408 | then i.payments[1].amount | |
407 | 409 | else totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset2), false) | |
408 | 410 | let totalLp = totalAssetPool(lpAssetId, true) | |
409 | 411 | let priceLpAsset = ((totalAsset1Pool + totalAsset2Pool) / totalLp) | |
410 | 412 | let quantityAsset2 = (i.payments[0].amount * (totalAsset2Pool / totalAsset1Pool)) | |
411 | 413 | let Validate = if ((i.payments[1].amount == quantityAsset2)) | |
412 | 414 | then true | |
413 | 415 | else false | |
414 | 416 | if (power) | |
415 | 417 | then if (!(poolActivate)) | |
416 | 418 | then if (if (if (!((asset1 == asset2))) | |
417 | 419 | then validateAsset(asset1, Asset1, acWaves) | |
418 | 420 | else false) | |
419 | 421 | then validateAsset(asset2, Asset2, acWaves) | |
420 | 422 | else false) | |
421 | 423 | then if (if (if (if (if (if (if (if ((asset1 == USDN)) | |
422 | 424 | then true | |
423 | 425 | else (asset1 == USDC)) | |
424 | 426 | then true | |
425 | 427 | else (asset1 == USDT)) | |
426 | 428 | then true | |
427 | 429 | else (asset1 == NGNN)) | |
428 | 430 | then true | |
429 | 431 | else (asset1 == MainAsset)) | |
430 | 432 | then true | |
431 | 433 | else (asset1 == WAVES)) | |
432 | 434 | then true | |
433 | 435 | else (asset1 == EURN)) | |
434 | 436 | then if (if (if (if (if (if ((asset2 == USDN)) | |
435 | 437 | then true | |
436 | 438 | else (asset2 == USDC)) | |
437 | 439 | then true | |
438 | 440 | else (asset2 == USDT)) | |
439 | 441 | then true | |
440 | 442 | else (asset2 == NGNN)) | |
441 | 443 | then true | |
442 | 444 | else (asset2 == MainAsset)) | |
443 | 445 | then true | |
444 | 446 | else (asset2 == WAVES)) | |
445 | 447 | then true | |
446 | 448 | else (asset2 == EURN) | |
447 | 449 | else false) | |
448 | 450 | then if ((key != false)) | |
449 | 451 | then if (Validate) | |
450 | 452 | then { | |
451 | 453 | let currentKey = toBase58String(i.caller.bytes) | |
452 | 454 | let currentAmount = kpAddress(currentKey, kp(Asset1, Asset2)) | |
453 | 455 | let currentAmountAsset1 = poolAA(currentKey, kp(Asset1, Asset2), Asset1) | |
454 | 456 | let currentAmountAsset2 = poolAA(currentKey, kp(Asset1, Asset2), Asset2) | |
455 | 457 | let asset1pool = assetP(kp(Asset1, Asset2), Asset1) | |
456 | 458 | let asset2pool = assetP(kp(Asset1, Asset2), Asset2) | |
457 | 459 | let receiveLp = if ((totalAsset1Pool == i.payments[0].amount)) | |
458 | 460 | then (1 * D8) | |
459 | 461 | else ((i.payments[0].amount + i.payments[1].amount) / ((totalAsset1Pool + totalAsset2Pool) / totalLp)) | |
460 | 462 | let newcurrentAmountAsset1 = (currentAmountAsset1 + i.payments[0].amount) | |
461 | 463 | let newcurrentAmountAsset2 = (currentAmountAsset2 + i.payments[1].amount) | |
462 | 464 | let newcurrentAmount = (currentAmount + receiveLp) | |
463 | 465 | let newasset1pool = (asset1pool + i.payments[0].amount) | |
464 | 466 | let newasset2pool = (asset2pool + i.payments[1].amount) | |
465 | 467 | [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))] | |
466 | 468 | } | |
467 | 469 | 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))) | |
468 | 470 | else throw("Invalid Pool Key.") | |
469 | 471 | else throw("Invalid Asset1 or Asset2!") | |
470 | 472 | else throw("Asset1 cannot be equal to Asset2") | |
471 | 473 | else throw("liquidity is currently under maintenance.") | |
472 | 474 | else throw("dApp is currently under maintenance.") | |
473 | 475 | } | |
474 | 476 | ||
475 | 477 | ||
476 | 478 | ||
477 | 479 | @Callable(i) | |
478 | 480 | func removeLiquidity (Asset1,Asset2,Amount) = { | |
479 | 481 | let currentKey = toBase58String(i.caller.bytes) | |
480 | 482 | let power = getBooleanValue(this, ac) | |
481 | 483 | let poolActivate = getBooleanValue(this, poolAc) | |
482 | 484 | let acWaves = getBooleanValue(this, aWaves) | |
483 | 485 | let poolKey = kp(Asset1, Asset2) | |
484 | 486 | let key = validPoolK(poolKey) | |
485 | 487 | let asset1 = if ((Asset1 == waves)) | |
486 | 488 | then if (acWaves) | |
487 | 489 | then WAVES | |
488 | 490 | else throw("The smart contract does not currently support Waves.") | |
489 | 491 | else fromBase58String(Asset1) | |
490 | 492 | let asset2 = if ((Asset2 == waves)) | |
491 | 493 | then if (acWaves) | |
492 | 494 | then WAVES | |
493 | 495 | else throw("The smart contract does not currently support Waves.") | |
494 | 496 | else fromBase58String(Asset2) | |
495 | 497 | let USDN = fromBase58String(getStringValue(this, usdn)) | |
496 | 498 | let USDC = fromBase58String(getStringValue(this, usdc)) | |
497 | 499 | let USDT = fromBase58String(getStringValue(this, usdt)) | |
498 | 500 | let NGNN = fromBase58String(getStringValue(this, ngnn)) | |
499 | 501 | let MainAsset = fromBase58String(getStringValue(this, main)) | |
500 | 502 | let EURN = fromBase58String(getStringValue(this, eurn)) | |
501 | 503 | let lpAssetId = getStringValue(this, (l + kp(Asset1, Asset2))) | |
502 | 504 | let currentAmount = kpAddress(currentKey, kp(Asset1, Asset2)) | |
503 | 505 | let amountLpBlocked = lpBlocked(currentKey, poolKey) | |
504 | 506 | let totalLP = totalAssetPool(lpAssetId, true) | |
505 | 507 | let totalAsset1Pool = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset1), false) | |
506 | 508 | let totalAsset2Pool = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset2), false) | |
507 | 509 | if (power) | |
508 | 510 | then if (!(poolActivate)) | |
509 | 511 | then if (!((Asset1 == Asset2))) | |
510 | 512 | then if (if (if (if (if (if (if (if ((asset1 == USDN)) | |
511 | 513 | then true | |
512 | 514 | else (asset1 == USDC)) | |
513 | 515 | then true | |
514 | 516 | else (asset1 == USDT)) | |
515 | 517 | then true | |
516 | 518 | else (asset1 == NGNN)) | |
517 | 519 | then true | |
518 | 520 | else (asset1 == MainAsset)) | |
519 | 521 | then true | |
520 | 522 | else (asset1 == WAVES)) | |
521 | 523 | then true | |
522 | 524 | else (asset1 == EURN)) | |
523 | 525 | then if (if (if (if (if (if ((asset2 == USDN)) | |
524 | 526 | then true | |
525 | 527 | else (asset2 == USDC)) | |
526 | 528 | then true | |
527 | 529 | else (asset2 == USDT)) | |
528 | 530 | then true | |
529 | 531 | else (asset2 == NGNN)) | |
530 | 532 | then true | |
531 | 533 | else (asset2 == MainAsset)) | |
532 | 534 | then true | |
533 | 535 | else (asset2 == WAVES)) | |
534 | 536 | then true | |
535 | 537 | else (asset2 == EURN) | |
536 | 538 | else false) | |
537 | 539 | then if ((key != false)) | |
538 | 540 | then if (!((currentAmount == 0))) | |
539 | 541 | then if (((currentAmount - amountLpBlocked) >= Amount)) | |
540 | 542 | then if (if ((totalAsset1Pool > 2)) | |
541 | 543 | then true | |
542 | 544 | else (totalAsset2Pool > 2)) | |
543 | 545 | then { | |
544 | 546 | let receiveAsset1 = toInt(((fraction(toBigInt(i.payments[0].amount), toBigInt(D8), toBigInt(totalLP)) * toBigInt(totalAsset1Pool)) / toBigInt(D8))) | |
545 | 547 | let receiveAsset2 = toInt(((fraction(toBigInt(i.payments[0].amount), toBigInt(D8), toBigInt(totalLP)) * toBigInt(totalAsset2Pool)) / toBigInt(D8))) | |
546 | 548 | let asset1pool = assetP(kp(Asset1, Asset2), Asset1) | |
547 | 549 | let asset2pool = assetP(kp(Asset1, Asset2), Asset2) | |
548 | 550 | let currentAmountAsset1 = poolAA(currentKey, kp(Asset1, Asset2), Asset1) | |
549 | 551 | let currentAmountAsset2 = poolAA(currentKey, kp(Asset1, Asset2), Asset2) | |
550 | 552 | let newcurrentAmountAsset1 = (currentAmountAsset1 - receiveAsset1) | |
551 | 553 | let newcurrentAmountAsset2 = (currentAmountAsset2 - receiveAsset2) | |
552 | 554 | let newcurrentAmount = (currentAmount - Amount) | |
553 | 555 | let newasset1pool = (asset1pool - receiveAsset1) | |
554 | 556 | let newasset2pool = (asset2pool - receiveAsset2) | |
555 | 557 | if ((i.payments[0].assetId == fromBase58String(lpAssetId))) | |
556 | 558 | then if ((Amount == i.payments[0].amount)) | |
557 | 559 | 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))] | |
558 | 560 | else throw(("Withdrawal amount lower than asset lp amount. Your Lp amount available: " + toString(Amount))) | |
559 | 561 | else throw("Requires an lp asset as payment to remove locked amounts.") | |
560 | 562 | } | |
561 | 563 | else throw("Pool has no liquidity.") | |
562 | 564 | else throw(("Amount to be withdrawn greater than the amount available for withdrawal. Available: " + toString(Amount))) | |
563 | 565 | else throw("You have no locked values in the pool") | |
564 | 566 | else throw("Invalid Pool Key.") | |
565 | 567 | else throw("Invalid Asset1 or Asset2!") | |
566 | 568 | else throw("Asset1 cannot be equal to Asset2") | |
567 | 569 | else throw("liquidity is currently under maintenance.") | |
568 | 570 | else throw("dApp is currently under maintenance.") | |
569 | 571 | } | |
570 | 572 | ||
571 | 573 | ||
572 | 574 | ||
573 | 575 | @Callable(i) | |
574 | 576 | func swap (Asset1,Asset2) = { | |
575 | 577 | let currentKey = toBase58String(i.caller.bytes) | |
576 | 578 | let acWaves = getBooleanValue(this, aWaves) | |
577 | 579 | let power = getBooleanValue(this, ac) | |
578 | 580 | let swapActivate = getBooleanValue(this, swapAc) | |
579 | 581 | let poolKey = kp(Asset1, Asset2) | |
580 | 582 | let key = validPoolK(poolKey) | |
581 | 583 | let asset1 = i.payments[0].assetId | |
582 | 584 | let USDN = fromBase58String(getStringValue(this, usdn)) | |
583 | 585 | let USDC = fromBase58String(getStringValue(this, usdc)) | |
584 | 586 | let USDT = fromBase58String(getStringValue(this, usdt)) | |
585 | 587 | let NGNN = fromBase58String(getStringValue(this, ngnn)) | |
586 | 588 | let MainAsset = fromBase58String(getStringValue(this, main)) | |
587 | 589 | let EURN = fromBase58String(getStringValue(this, eurn)) | |
588 | 590 | let lpAssetId = getStringValue(this, (l + kp(Asset1, Asset2))) | |
589 | 591 | let totalAsset1 = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset1), false) | |
590 | 592 | let totalAsset2 = totalAssetPool(((kp(Asset1, Asset2) + "_") + Asset2), false) | |
591 | 593 | let feeRatePercentual = getIntegerValue(this, rateFee) | |
592 | 594 | let prAsset1 = (toBigInt(i.payments[0].amount) * fraction(toBigInt(D8), toBigInt(totalAsset2), toBigInt(totalAsset1))) | |
593 | 595 | let priceAsset1 = toInt(((prAsset1 - ((prAsset1 / toBigInt(feeRatePercentual)) * toBigInt(100))) / toBigInt(D8))) | |
594 | 596 | let prAsset2 = (toBigInt(i.payments[0].amount) * fraction(toBigInt(D8), toBigInt(totalAsset1), toBigInt(totalAsset2))) | |
595 | 597 | let priceAsset2 = toInt(((prAsset2 - ((prAsset2 / toBigInt(feeRatePercentual)) * toBigInt(100))) / toBigInt(D8))) | |
596 | 598 | let sendValue = if (if ((asset1 == unit)) | |
597 | 599 | then (Asset1 == waves) | |
598 | 600 | else false) | |
599 | 601 | then priceAsset1 | |
600 | 602 | else if ((asset1 == fromBase58String(Asset1))) | |
601 | 603 | then priceAsset1 | |
602 | 604 | else priceAsset2 | |
603 | 605 | let assetUpdatePay = if ((asset1 == unit)) | |
604 | 606 | then waves | |
605 | 607 | else if ((asset1 == fromBase58String(Asset1))) | |
606 | 608 | then Asset1 | |
607 | 609 | else Asset2 | |
608 | 610 | let assetUpdateSwap = if ((asset1 == unit)) | |
609 | 611 | then waves | |
610 | 612 | else if ((asset1 == fromBase58String(Asset1))) | |
611 | 613 | then Asset2 | |
612 | 614 | else Asset1 | |
613 | 615 | let assetSendSwap = if ((asset1 == unit)) | |
614 | 616 | then WAVES | |
615 | 617 | else if ((asset1 == fromBase58String(Asset1))) | |
616 | 618 | then fromBase58String(Asset2) | |
617 | 619 | else fromBase58String(Asset1) | |
618 | 620 | if (power) | |
619 | 621 | then if (!(swapActivate)) | |
620 | 622 | then if (if (!((Asset1 == Asset2))) | |
621 | 623 | then if (validateAsset(asset1, Asset1, acWaves)) | |
622 | 624 | then true | |
623 | 625 | else validateAsset(asset1, Asset2, acWaves) | |
624 | 626 | else false) | |
625 | 627 | then if (if (if (if (if (if (if ((asset1 == USDN)) | |
626 | 628 | then true | |
627 | 629 | else (asset1 == USDC)) | |
628 | 630 | then true | |
629 | 631 | else (asset1 == USDT)) | |
630 | 632 | then true | |
631 | 633 | else (asset1 == NGNN)) | |
632 | 634 | then true | |
633 | 635 | else (asset1 == MainAsset)) | |
634 | 636 | then true | |
635 | 637 | else (asset1 == EURN)) | |
636 | 638 | then true | |
637 | 639 | else (asset1 == WAVES)) | |
638 | 640 | then if ((key != false)) | |
639 | 641 | then if ((i.payments[1].assetId == MainAsset)) | |
640 | 642 | then if ((i.payments[1].amount == 300000)) | |
641 | 643 | then if (if ((totalAsset1 > 2)) | |
642 | 644 | then true | |
643 | 645 | else (totalAsset2 > 2)) | |
644 | 646 | then [ScriptTransfer(Address(i.caller.bytes), sendValue, assetSendSwap), IntegerEntry(assetUpdateSwap, (getAmountBlockAsset(assetUpdateSwap) - sendValue)), IntegerEntry(((kp(Asset1, Asset2) + "_") + assetUpdateSwap), (assetP(kp(Asset1, Asset2), assetUpdateSwap) - sendValue)), 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))] | |
645 | 647 | else throw("Pool has no liquidity.") | |
646 | 648 | else throw("Swap denied! 0.003 AxAi is required for the swap fee.") | |
647 | 649 | else throw("Invalid rate asset") | |
648 | 650 | else throw("Invalid Swap Key.") | |
649 | 651 | else throw("Invalid Asset1 or Asset2!") | |
650 | 652 | else throw("Asset1 cannot be equal to Asset2") | |
651 | 653 | else throw("Swap is currently under maintenance.") | |
652 | 654 | else throw("dApp is currently under maintenance.") | |
653 | 655 | } | |
654 | 656 | ||
655 | 657 | ||
656 | 658 | @Verifier(tx) | |
657 | 659 | func verify () = match tx { | |
658 | 660 | case order: Order => | |
659 | 661 | true | |
660 | 662 | case e: ExchangeTransaction => | |
661 | 663 | true | |
662 | 664 | case tt: TransferTransaction => | |
663 | 665 | (tt.recipient == Address(fromBase58String(getStringValue(this, "admin")))) | |
664 | 666 | case _ => | |
665 | 667 | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
666 | 668 | } | |
667 | 669 |
github/deemru/w8io/169f3d6 99.29 ms ◑