tx · Dm8o9y3wKuDqHGbnsoqA5H2F81jRpkC61grPuC4TncAY 3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph: -0.01400000 Waves 2022.02.10 12:00 [1917323] smart account 3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph > SELF 0.00000000 Waves
{ "type": 13, "id": "Dm8o9y3wKuDqHGbnsoqA5H2F81jRpkC61grPuC4TncAY", "fee": 1400000, "feeAssetId": null, "timestamp": 1644483607648, "version": 2, "chainId": 84, "sender": "3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph", "senderPublicKey": "G7cNXePvAHUHmZfXa1eHnvFeH6DuykPC5wm9v9djTKgD", "proofs": [ "3z8ZwJCWZR9xkmn1NVs23ofNKhsi1M3moKYkSprAxefbN2hyHYuKMzn6dkTFJ4GPB6WjWo7YGyCQCsB26BH35HLu", "5dk43gNM5JNnxq2otZkv6HK1ujmroVtTUJkQWT9shqaNgBJK9GXdqSpQveCpgfA7h8bveawPi4U6brJ33GxTaBn8", "2rig1xDhpXiS5GGW8jZYzvhkXZk86CuJpnawieKbAQ6eyv6Lt2U8RjBZerYwnUFWNB8oupxTyyjGNpoxqYByZhq7" ], "script": "base64:AAIFAAAAAAAAADQIAhIGCgQYGBgREgUKAxgYERIGCgQICAEBEgASAwoBCBIDCgEIEgUKAwgICBIECgIYFBIAAAAAGgAAAAAKZGVwb3NpdEZlZQAAAAAAAAAD6AAAAAANY29udHJvbGxlckZlZQAAAAAAAAAnEAAAAAALcGxhdGZvcm1GZWUAAAAAAAAAJxAAAAAADGFkbWluUHViS2V5MQEAAAAgTC9F1XzqFGGdLucFXlrRY8ZeleddBPtyCBFVfBI5UHgAAAAADGFkbWluUHViS2V5MgEAAAAgo1jhnK8LndnZN54kO2lFL7fWRlVIuOuttap+d1LEBD0AAAAADGFkbWluUHViS2V5MwEAAAAgitC0+TBLGvFUtXZrOXd2PwDRrAhjEzCY3dTlamSkHykAAAAADGFkbWluUHViS2V5NAEAAAAg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kAAGQAAAACCQAAZAAAAAIFAAAACmFkbTFTaWduZWQFAAAACmFkbTJTaWduZWQFAAAACmFkbTNTaWduZWQAAAAAAAAAAAKsy7Yb", "height": 1917323, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 89DRYkc38UopQSa9Z1hfG7prpmmftY96QrXpeS2TzR1N Next: 2nap1tgpZ9gzwYmrkFxCU9SnF9T8jktNHKNW7D2Fabey Diff:
Old | New | Differences | |
---|---|---|---|
440 | 440 | ||
441 | 441 | @Callable(i) | |
442 | 442 | func deleteUnsedData () = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)) | |
443 | - | then [IntegerEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_ | |
443 | + | then [IntegerEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_service_token_total_locked", 0)] | |
444 | 444 | else throw("Only admin can call this function") | |
445 | 445 | ||
446 | 446 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let depositFee = 1000 | |
5 | 5 | ||
6 | 6 | let controllerFee = 10000 | |
7 | 7 | ||
8 | 8 | let platformFee = 10000 | |
9 | 9 | ||
10 | 10 | let adminPubKey1 = base58'68Po1k24uP6goKr7RDmXPg4QkMiKuyTMEirao14rif8s' | |
11 | 11 | ||
12 | 12 | let adminPubKey2 = base58'Bze4aurT9WmLgBT6swA9CajaZFtUwhtwCri6XGAjnAkt' | |
13 | 13 | ||
14 | 14 | let adminPubKey3 = base58'ALsqwPqiUP3bVbM7grozc1Y5oHVBAGKqACRJ5J8RXceC' | |
15 | 15 | ||
16 | 16 | let adminPubKey4 = base58'ALsqwPqiUP3bVbM7grozc1Y5oHVBAGKqACRJ5J8RXceC' | |
17 | 17 | ||
18 | 18 | let govermanceAddress = Address(base58'3N7ExjwfofPYTvNBv2zqtAtLcMxqjTxS7iL') | |
19 | 19 | ||
20 | 20 | let swopFiGovermanceAddress = Address(base58'3PLHVWCqA9DJPDbadUofTohnCULLauiDWhS') | |
21 | 21 | ||
22 | 22 | let farmingAddress = Address(base58'3NBTuZhn2CwAgWGL99qpGDjZQ4Wtbg56iDL') | |
23 | 23 | ||
24 | 24 | let keySWOPid = "SWOP_id" | |
25 | 25 | ||
26 | 26 | let SWOP = fromBase58String(getStringValue(farmingAddress, keySWOPid)) | |
27 | 27 | ||
28 | 28 | let depositType = "deposit" | |
29 | 29 | ||
30 | 30 | let withdrawType = "withdraw" | |
31 | 31 | ||
32 | 32 | let serviceTokenTotalLocked = "_service_token_total_locked" | |
33 | 33 | ||
34 | 34 | let swopFiPools = ["3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1", "3PKy2mZqnvT2EtpwDim9Mgs6YvCRe4s85nX", "3P27S9V36kw2McjWRZ37AxTx8iwkd7HXw6W"] | |
35 | 35 | ||
36 | 36 | let swopFiFunctions = ["replenishWithTwoTokens", "exchange"] | |
37 | 37 | ||
38 | 38 | func isPoolActive (pool) = { | |
39 | 39 | let kActive = (pool + "_active") | |
40 | 40 | let isActive = match getBoolean(this, kActive) { | |
41 | 41 | case boolean: Boolean => | |
42 | 42 | boolean | |
43 | 43 | case _ => | |
44 | 44 | throw("Pool is not active!") | |
45 | 45 | } | |
46 | 46 | isActive | |
47 | 47 | } | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | func getDAppAssetAddress (pool) = match getString((pool + "_service_token")) { | |
51 | 51 | case string: String => | |
52 | 52 | string | |
53 | 53 | case nothing => | |
54 | 54 | throw("You try to deposit on unsupported pool") | |
55 | 55 | } | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func getLiquidutyAssetAddress (pool) = match getString((pool + "_liquidity_token")) { | |
59 | 59 | case string: String => | |
60 | 60 | string | |
61 | 61 | case nothing => | |
62 | 62 | throw("You try to withdraw from unsupported pool") | |
63 | 63 | } | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func getStakedAmount (poolAddress) = if ((poolAddress == toBase58String(SWOP))) | |
67 | 67 | then match getInteger(swopFiGovermanceAddress, (toString(this) + "_SWOP_amount")) { | |
68 | 68 | case staked: Int => | |
69 | 69 | staked | |
70 | 70 | case nothing: Unit => | |
71 | 71 | 0 | |
72 | 72 | case _ => | |
73 | 73 | throw("Match error") | |
74 | 74 | } | |
75 | 75 | else match getInteger(farmingAddress, (((poolAddress + "_") + toString(this)) + "_share_tokens_locked")) { | |
76 | 76 | case staked: Int => | |
77 | 77 | staked | |
78 | 78 | case nothing: Unit => | |
79 | 79 | 0 | |
80 | 80 | case _ => | |
81 | 81 | throw("Match error") | |
82 | 82 | } | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func transferToUser (amount,assetId,poolAddress,type) = { | |
86 | 86 | let dAppStakedTokens = getStakedAmount(poolAddress) | |
87 | 87 | let assetIdQuantity = match assetInfo(assetId) { | |
88 | 88 | case asset: Asset => | |
89 | 89 | asset.quantity | |
90 | 90 | case _ => | |
91 | 91 | throw("Can't find asset") | |
92 | 92 | } | |
93 | 93 | if ((dAppStakedTokens == 0)) | |
94 | 94 | then amount | |
95 | 95 | else if ((type == depositType)) | |
96 | 96 | then { | |
97 | 97 | let transferToUserAmount = fraction(amount, assetIdQuantity, dAppStakedTokens) | |
98 | 98 | transferToUserAmount | |
99 | 99 | } | |
100 | 100 | else { | |
101 | 101 | let transferToUserAmount = fraction(amount, dAppStakedTokens, assetIdQuantity) | |
102 | 102 | transferToUserAmount | |
103 | 103 | } | |
104 | 104 | } | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func userWithdrawKey (pool,userAddress,transactionId) = (((((pool + "_") + userAddress) + "_") + transactionId) + "_withdraw") | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func userWithdrawBurnTokensKey (pool,userAddress,transactionId) = (((((pool + "_") + userAddress) + "_") + transactionId) + "_withdraw_burn_token") | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func getUserTotalLockedKey (pool,userAddress) = (((pool + "_") + userAddress) + serviceTokenTotalLocked) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func getUserTotalLocked (key) = match getInteger(key) { | |
117 | 117 | case int: Int => | |
118 | 118 | int | |
119 | 119 | case nothing => | |
120 | 120 | 0 | |
121 | 121 | } | |
122 | 122 | ||
123 | 123 | ||
124 | 124 | @Callable(i) | |
125 | 125 | func addPools (pools,liquidityTokens,serviceTokens,liquidityTokenDecimals) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)) | |
126 | 126 | then { | |
127 | 127 | func generatePoolKeys (accumulated,pool) = IntegerEntry((pool + "_asset_balance"), 0) :: accumulated | |
128 | 128 | ||
129 | 129 | func generatePoolLiquidityTokenKeys (accumulated,pool) = { | |
130 | 130 | let poolIndex = value(indexOf(pools, pool)) | |
131 | 131 | let liquidityToken = liquidityTokens[poolIndex] | |
132 | 132 | StringEntry((pool + "_liquidity_token"), liquidityToken) :: accumulated | |
133 | 133 | } | |
134 | 134 | ||
135 | 135 | func generatePoolServiceTokenKeys (accumulated,pool) = { | |
136 | 136 | let poolIndex = value(indexOf(pools, pool)) | |
137 | 137 | let liquidityToken = serviceTokens[poolIndex] | |
138 | 138 | StringEntry((pool + "_service_token"), liquidityToken) :: accumulated | |
139 | 139 | } | |
140 | 140 | ||
141 | 141 | func generatePoolLiquidityTokenDecimalKeys (accumulated,pool) = { | |
142 | 142 | let poolIndex = value(indexOf(pools, pool)) | |
143 | 143 | let liquidityToken = liquidityTokenDecimals[poolIndex] | |
144 | 144 | IntegerEntry((pool + "_service_token_decimal"), liquidityToken) :: accumulated | |
145 | 145 | } | |
146 | 146 | ||
147 | 147 | func generatePoolActiveKeys (accumulated,pool) = BooleanEntry((pool + "_active"), true) :: accumulated | |
148 | 148 | ||
149 | 149 | let poolBalanceKeys = { | |
150 | 150 | let $l = pools | |
151 | 151 | let $s = size($l) | |
152 | 152 | let $acc0 = nil | |
153 | 153 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
154 | 154 | then $a | |
155 | 155 | else generatePoolKeys($a, $l[$i]) | |
156 | 156 | ||
157 | 157 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
158 | 158 | then $a | |
159 | 159 | else throw("List size exceeds 20") | |
160 | 160 | ||
161 | 161 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
162 | 162 | } | |
163 | 163 | let poolLiquidityTokenKeys = { | |
164 | 164 | let $l = pools | |
165 | 165 | let $s = size($l) | |
166 | 166 | let $acc0 = nil | |
167 | 167 | func $f1_1 ($a,$i) = if (($i >= $s)) | |
168 | 168 | then $a | |
169 | 169 | else generatePoolLiquidityTokenKeys($a, $l[$i]) | |
170 | 170 | ||
171 | 171 | func $f1_2 ($a,$i) = if (($i >= $s)) | |
172 | 172 | then $a | |
173 | 173 | else throw("List size exceeds 20") | |
174 | 174 | ||
175 | 175 | $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
176 | 176 | } | |
177 | 177 | let poolServiceTokenKeys = { | |
178 | 178 | let $l = pools | |
179 | 179 | let $s = size($l) | |
180 | 180 | let $acc0 = nil | |
181 | 181 | func $f2_1 ($a,$i) = if (($i >= $s)) | |
182 | 182 | then $a | |
183 | 183 | else generatePoolServiceTokenKeys($a, $l[$i]) | |
184 | 184 | ||
185 | 185 | func $f2_2 ($a,$i) = if (($i >= $s)) | |
186 | 186 | then $a | |
187 | 187 | else throw("List size exceeds 20") | |
188 | 188 | ||
189 | 189 | $f2_2($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
190 | 190 | } | |
191 | 191 | let poolLiquidityTokenDecimalKeys = { | |
192 | 192 | let $l = pools | |
193 | 193 | let $s = size($l) | |
194 | 194 | let $acc0 = nil | |
195 | 195 | func $f3_1 ($a,$i) = if (($i >= $s)) | |
196 | 196 | then $a | |
197 | 197 | else generatePoolLiquidityTokenDecimalKeys($a, $l[$i]) | |
198 | 198 | ||
199 | 199 | func $f3_2 ($a,$i) = if (($i >= $s)) | |
200 | 200 | then $a | |
201 | 201 | else throw("List size exceeds 20") | |
202 | 202 | ||
203 | 203 | $f3_2($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
204 | 204 | } | |
205 | 205 | let poolActiveKeys = { | |
206 | 206 | let $l = pools | |
207 | 207 | let $s = size($l) | |
208 | 208 | let $acc0 = nil | |
209 | 209 | func $f4_1 ($a,$i) = if (($i >= $s)) | |
210 | 210 | then $a | |
211 | 211 | else generatePoolActiveKeys($a, $l[$i]) | |
212 | 212 | ||
213 | 213 | func $f4_2 ($a,$i) = if (($i >= $s)) | |
214 | 214 | then $a | |
215 | 215 | else throw("List size exceeds 20") | |
216 | 216 | ||
217 | 217 | $f4_2($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
218 | 218 | } | |
219 | 219 | ((((poolBalanceKeys ++ poolLiquidityTokenKeys) ++ poolServiceTokenKeys) ++ poolLiquidityTokenDecimalKeys) ++ poolActiveKeys) | |
220 | 220 | } | |
221 | 221 | else throw("Only admin can call this function") | |
222 | 222 | ||
223 | 223 | ||
224 | 224 | ||
225 | 225 | @Callable(i) | |
226 | 226 | func deleteDepositLockRecords (records,lockedAmountKeys,lockedAmountValues) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)) | |
227 | 227 | then { | |
228 | 228 | func generateDeletingKeys (accumulated,record) = DeleteEntry((record + "_locked")) :: accumulated | |
229 | 229 | ||
230 | 230 | func generateLockedKeys (accumulated,lockedKey) = { | |
231 | 231 | let lockedKeyIndex = value(indexOf(lockedAmountKeys, lockedKey)) | |
232 | 232 | let lockedAmount = lockedAmountValues[lockedKeyIndex] | |
233 | 233 | let currentLocked = getUserTotalLocked((lockedKey + serviceTokenTotalLocked)) | |
234 | 234 | let newLockedValue = (currentLocked - lockedAmount) | |
235 | 235 | IntegerEntry((lockedKey + serviceTokenTotalLocked), newLockedValue) :: accumulated | |
236 | 236 | } | |
237 | 237 | ||
238 | 238 | let deleteKeys = { | |
239 | 239 | let $l = records | |
240 | 240 | let $s = size($l) | |
241 | 241 | let $acc0 = nil | |
242 | 242 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
243 | 243 | then $a | |
244 | 244 | else generateDeletingKeys($a, $l[$i]) | |
245 | 245 | ||
246 | 246 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
247 | 247 | then $a | |
248 | 248 | else throw("List size exceeds 50") | |
249 | 249 | ||
250 | 250 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50) | |
251 | 251 | } | |
252 | 252 | let lockedKeys = { | |
253 | 253 | let $l = lockedAmountKeys | |
254 | 254 | let $s = size($l) | |
255 | 255 | let $acc0 = nil | |
256 | 256 | func $f1_1 ($a,$i) = if (($i >= $s)) | |
257 | 257 | then $a | |
258 | 258 | else generateLockedKeys($a, $l[$i]) | |
259 | 259 | ||
260 | 260 | func $f1_2 ($a,$i) = if (($i >= $s)) | |
261 | 261 | then $a | |
262 | 262 | else throw("List size exceeds 50") | |
263 | 263 | ||
264 | 264 | $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50) | |
265 | 265 | } | |
266 | 266 | (deleteKeys ++ lockedKeys) | |
267 | 267 | } | |
268 | 268 | else throw("Only admin can call this function") | |
269 | 269 | ||
270 | 270 | ||
271 | 271 | ||
272 | 272 | @Callable(i) | |
273 | 273 | func issueToken (name,description,quantity,decimals) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)) | |
274 | 274 | then [Issue(name, description, quantity, decimals, true, unit, 0)] | |
275 | 275 | else throw("Only admin can call this function") | |
276 | 276 | ||
277 | 277 | ||
278 | 278 | ||
279 | 279 | @Callable(a8) | |
280 | 280 | func call () = [DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3N5viYFhnu1ew4FRZ9nujme9edr918FkT1a_current_reward")] | |
281 | 281 | ||
282 | 282 | ||
283 | 283 | ||
284 | 284 | @Callable(i) | |
285 | 285 | func deposit (pool) = if ((size(i.payments) != 1)) | |
286 | 286 | then throw("One attached payment expected") | |
287 | 287 | else { | |
288 | 288 | let amount = i.payments[0].amount | |
289 | 289 | let assetId = i.payments[0].assetId | |
290 | 290 | let assetIdString = match assetId { | |
291 | 291 | case id: ByteVector => | |
292 | 292 | toBase58String(id) | |
293 | 293 | case _ => | |
294 | 294 | throw("Match error") | |
295 | 295 | } | |
296 | 296 | if ((0 >= amount)) | |
297 | 297 | then throw(("Deposit amount must be positive. Actual: " + toString(amount))) | |
298 | 298 | else { | |
299 | 299 | let poolAmountKey = (pool + "_asset_balance") | |
300 | 300 | let userAddress = toString(i.caller) | |
301 | 301 | let userPoolAmountKey = (((pool + "_") + userAddress) + "_asset_balance") | |
302 | 302 | let dAppAssetAddress = getDAppAssetAddress(pool) | |
303 | 303 | let liquidutyAssetAddress = match getString((pool + "_liquidity_token")) { | |
304 | 304 | case string: String => | |
305 | 305 | string | |
306 | 306 | case nothing => | |
307 | 307 | throw("You try to deposit on unsupported pool") | |
308 | 308 | } | |
309 | 309 | if (isPoolActive(pool)) | |
310 | 310 | then { | |
311 | 311 | let liquidityTokenDecimal = match assetInfo(fromBase58String(liquidutyAssetAddress)) { | |
312 | 312 | case asset: Asset => | |
313 | 313 | asset.decimals | |
314 | 314 | case _ => | |
315 | 315 | throw("Can't find asset") | |
316 | 316 | } | |
317 | 317 | if ((liquidutyAssetAddress != assetIdString)) | |
318 | 318 | then throw("You attached wrong liquidity token from Swop.fi") | |
319 | 319 | else { | |
320 | 320 | let poolAmount = getIntegerValue(this, poolAmountKey) | |
321 | 321 | let userAmount = match getInteger(userPoolAmountKey) { | |
322 | 322 | case int: Int => | |
323 | 323 | int | |
324 | 324 | case nothing => | |
325 | 325 | 0 | |
326 | 326 | } | |
327 | 327 | let userTotalLockedKey = getUserTotalLockedKey(pool, userAddress) | |
328 | 328 | let userTotalLocked = getUserTotalLocked(userTotalLockedKey) | |
329 | 329 | let userAmountWithoutFee = ((amount - fraction(amount, 1, depositFee, HALFUP)) - fraction(amount, 1, controllerFee, HALFUP)) | |
330 | 330 | let transferToUserAmount = transferToUser(userAmountWithoutFee, fromBase58String(dAppAssetAddress), pool, depositType) | |
331 | 331 | let fee = (amount - userAmountWithoutFee) | |
332 | 332 | let newPoolAmount = ((poolAmount + amount) - fee) | |
333 | 333 | let newUserPoolAmount = (userAmount + transferToUserAmount) | |
334 | 334 | let newUserTotalLocked = (userTotalLocked + transferToUserAmount) | |
335 | 335 | let lockTokensKey = (((((pool + "_") + userAddress) + "_") + toBase58String(i.transactionId)) + "_locked") | |
336 | 336 | [Reissue(fromBase58String(dAppAssetAddress), transferToUserAmount, true), ScriptTransfer(i.caller, transferToUserAmount, fromBase58String(dAppAssetAddress)), ScriptTransfer(govermanceAddress, fee, fromBase58String(liquidutyAssetAddress)), IntegerEntry(lockTokensKey, userAmountWithoutFee), IntegerEntry(poolAmountKey, newPoolAmount), IntegerEntry(userPoolAmountKey, newUserPoolAmount), IntegerEntry(userTotalLockedKey, newUserTotalLocked)] | |
337 | 337 | } | |
338 | 338 | } | |
339 | 339 | else throw("Pool is not active!") | |
340 | 340 | } | |
341 | 341 | } | |
342 | 342 | ||
343 | 343 | ||
344 | 344 | ||
345 | 345 | @Callable(i) | |
346 | 346 | func initWithdraw (pool) = if ((size(i.payments) != 1)) | |
347 | 347 | then throw("One attached payment expected") | |
348 | 348 | else { | |
349 | 349 | let amount = i.payments[0].amount | |
350 | 350 | let assetId = i.payments[0].assetId | |
351 | 351 | let assetIdString = match assetId { | |
352 | 352 | case id: ByteVector => | |
353 | 353 | toBase58String(id) | |
354 | 354 | case _ => | |
355 | 355 | throw("Match error") | |
356 | 356 | } | |
357 | 357 | let assetIdByteVector = match assetId { | |
358 | 358 | case id: ByteVector => | |
359 | 359 | id | |
360 | 360 | case _ => | |
361 | 361 | throw("Match error") | |
362 | 362 | } | |
363 | 363 | if ((0 >= amount)) | |
364 | 364 | then throw(("Withraw amount must be positive. Actual: " + toString(amount))) | |
365 | 365 | else if (isPoolActive(pool)) | |
366 | 366 | then { | |
367 | 367 | let userAddress = toString(i.caller) | |
368 | 368 | let userTotalLockedKey = getUserTotalLockedKey(pool, userAddress) | |
369 | 369 | let userTotalLocked = getUserTotalLocked(userTotalLockedKey) | |
370 | 370 | let userTotalBalance = assetBalance(i.caller, assetIdByteVector) | |
371 | 371 | let nonLockedBalance = ((userTotalBalance + amount) - userTotalLocked) | |
372 | 372 | if (!((nonLockedBalance >= amount))) | |
373 | 373 | then throw("You have a locked tokens. Wait a time for unlock or try to withdrraw less") | |
374 | 374 | else { | |
375 | 375 | let transferToUserAmount = transferToUser(amount, fromBase58String(assetIdString), pool, withdrawType) | |
376 | 376 | let userRecordKey = userWithdrawKey(pool, userAddress, toBase58String(i.transactionId)) | |
377 | 377 | let userWithdrawBurnTokenKey = userWithdrawBurnTokensKey(pool, userAddress, toBase58String(i.transactionId)) | |
378 | 378 | [IntegerEntry(userRecordKey, transferToUserAmount), IntegerEntry(userWithdrawBurnTokenKey, amount)] | |
379 | 379 | } | |
380 | 380 | } | |
381 | 381 | else throw("Pool is not active!") | |
382 | 382 | } | |
383 | 383 | ||
384 | 384 | ||
385 | 385 | ||
386 | 386 | @Callable(i) | |
387 | 387 | func withdraw (pool,userAddress,transactionId) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)) | |
388 | 388 | then { | |
389 | 389 | let userRecordKey = userWithdrawKey(pool, userAddress, transactionId) | |
390 | 390 | let userWithdrawBurnTokenKey = userWithdrawBurnTokensKey(pool, userAddress, transactionId) | |
391 | 391 | let sendUserAmount = getIntegerValue(this, userRecordKey) | |
392 | 392 | let burnTokenAmount = getIntegerValue(this, userWithdrawBurnTokenKey) | |
393 | 393 | let poolAmountKey = (pool + "_asset_balance") | |
394 | 394 | let userPoolAmountKey = (((pool + "_") + userAddress) + "_asset_balance") | |
395 | 395 | let userAmount = match getInteger(userPoolAmountKey) { | |
396 | 396 | case int: Int => | |
397 | 397 | int | |
398 | 398 | case nothing => | |
399 | 399 | 0 | |
400 | 400 | } | |
401 | 401 | let dAppAssetAddress = getDAppAssetAddress(pool) | |
402 | 402 | let liquidutyAssetAddress = getLiquidutyAssetAddress(pool) | |
403 | 403 | let poolAmount = getIntegerValue(this, poolAmountKey) | |
404 | 404 | let newPoolAmount = (poolAmount - sendUserAmount) | |
405 | 405 | let newUserPoolAmount = (userAmount - sendUserAmount) | |
406 | 406 | [Burn(fromBase58String(dAppAssetAddress), burnTokenAmount), ScriptTransfer(i.caller, sendUserAmount, fromBase58String(liquidutyAssetAddress)), IntegerEntry(poolAmountKey, newPoolAmount), IntegerEntry(userPoolAmountKey, newUserPoolAmount), DeleteEntry(userRecordKey), DeleteEntry(userWithdrawBurnTokenKey)] | |
407 | 407 | } | |
408 | 408 | else throw("Only admin can call this function") | |
409 | 409 | ||
410 | 410 | ||
411 | 411 | ||
412 | 412 | @Callable(i) | |
413 | 413 | func poolActivating (pools,statuses) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)) | |
414 | 414 | then { | |
415 | 415 | func generatePoolActiveKeys (accumulated,pool) = { | |
416 | 416 | let poolIndex = value(indexOf(pools, pool)) | |
417 | 417 | let status = statuses[poolIndex] | |
418 | 418 | BooleanEntry((pool + "_active"), status) :: accumulated | |
419 | 419 | } | |
420 | 420 | ||
421 | 421 | let poolActiveKeys = { | |
422 | 422 | let $l = pools | |
423 | 423 | let $s = size($l) | |
424 | 424 | let $acc0 = nil | |
425 | 425 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
426 | 426 | then $a | |
427 | 427 | else generatePoolActiveKeys($a, $l[$i]) | |
428 | 428 | ||
429 | 429 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
430 | 430 | then $a | |
431 | 431 | else throw("List size exceeds 100") | |
432 | 432 | ||
433 | 433 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
434 | 434 | } | |
435 | 435 | poolActiveKeys | |
436 | 436 | } | |
437 | 437 | else throw("Only admin can call this function") | |
438 | 438 | ||
439 | 439 | ||
440 | 440 | ||
441 | 441 | @Callable(i) | |
442 | 442 | func deleteUnsedData () = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)) | |
443 | - | then [IntegerEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_ | |
443 | + | then [IntegerEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_service_token_total_locked", 0)] | |
444 | 444 | else throw("Only admin can call this function") | |
445 | 445 | ||
446 | 446 | ||
447 | 447 | @Verifier(tx) | |
448 | 448 | func verify () = match tx { | |
449 | 449 | case inv: InvokeScriptTransaction => | |
450 | 450 | let lockShareTokens = if ((inv.dApp == farmingAddress)) | |
451 | 451 | then if (if ((inv.function == "lockShareTokens")) | |
452 | 452 | then true | |
453 | 453 | else (inv.function == "claim")) | |
454 | 454 | then true | |
455 | 455 | else (inv.function == "withdrawShareTokens") | |
456 | 456 | else false | |
457 | 457 | let lockSwop = if ((inv.dApp == swopFiGovermanceAddress)) | |
458 | 458 | then if ((inv.function == "lockSWOP")) | |
459 | 459 | then true | |
460 | 460 | else (inv.function == "withdrawSWOP") | |
461 | 461 | else false | |
462 | 462 | let dAppAddress = match inv.dApp { | |
463 | 463 | case dApp: Address => | |
464 | 464 | toString(dApp) | |
465 | 465 | case _ => | |
466 | 466 | throw("Transaction must have only address") | |
467 | 467 | } | |
468 | 468 | let poolFunctions = if (containsElement(swopFiPools, dAppAddress)) | |
469 | 469 | then containsElement(swopFiFunctions, inv.function) | |
470 | 470 | else false | |
471 | 471 | let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1)) | |
472 | 472 | then true | |
473 | 473 | else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey2)) | |
474 | 474 | then true | |
475 | 475 | else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey4)) | |
476 | 476 | then true | |
477 | 477 | else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
478 | 478 | if (if (if (lockShareTokens) | |
479 | 479 | then true | |
480 | 480 | else poolFunctions) | |
481 | 481 | then true | |
482 | 482 | else lockSwop) | |
483 | 483 | then signedByAdmin | |
484 | 484 | else false | |
485 | 485 | case _ => | |
486 | 486 | let adm1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1)) | |
487 | 487 | then 1 | |
488 | 488 | else 0 | |
489 | 489 | let adm2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2)) | |
490 | 490 | then 1 | |
491 | 491 | else 0 | |
492 | 492 | let adm3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3)) | |
493 | 493 | then 1 | |
494 | 494 | else 0 | |
495 | 495 | (((adm1Signed + adm2Signed) + adm3Signed) >= 2) | |
496 | 496 | } | |
497 | 497 |
github/deemru/w8io/026f985 62.08 ms ◑