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