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