tx · 6HsJLm1DEKFyRp3zzesGYuqBRDaYyHBcZmEu9PmSNkJn 3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph: -0.01400000 Waves 2022.02.10 22:53 [1917970] smart account 3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph > SELF 0.00000000 Waves
{ "type": 13, "id": "6HsJLm1DEKFyRp3zzesGYuqBRDaYyHBcZmEu9PmSNkJn", "fee": 1400000, "feeAssetId": null, "timestamp": 1644522882970, "version": 2, "chainId": 84, "sender": "3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph", "senderPublicKey": "G7cNXePvAHUHmZfXa1eHnvFeH6DuykPC5wm9v9djTKgD", "proofs": [ "EHCM7uambHmhso7CuYwaqxBm5ZNAPtENCykxmL23BAiBpXDZ7J8MtwoiG9PicSmo5hpkLbwJEboMry7iC1bS9Eq", "4kWM29uZkuJhG4osV8CHkHN3LRc4VUgLczLp5CnXUCBrmt6ZBgqAZCjBGDHvJ9sRqm7oqk51MXGKzDU8NVUYZXm7", "3giA24BUupj331MkJAt31GxYzmn1X5PekbBxw6QEa4Y9CFcMCw2iHPMC7DcMZqSWiVtKFUkrZkkbGspuF5Yqb6Rx" ], "script": "base64:AAIFAAAAAAAAADQIAhIGCgQYGBgREgUKAxgYERIGCgQICAEBEgASAwoBCBIDCgEIEgUKAwgICBIECgIYFBIAAAAAGgAAAAAKZGVwb3NpdEZlZQAAAAAAAAAD6AAAAAANY29udHJvbGxlckZlZQAAAAAAAAAnEAAAAAALcGxhdGZvcm1GZWUAAAAAAAAAJxAAAAAADGFkbWluUHViS2V5MQEAAAAgTC9F1XzqFGGdLucFXlrRY8ZeleddBPtyCBFVfBI5UHgAAAAADGFkbWluUHViS2V5MgEAAAAgo1jhnK8LndnZN54kO2lFL7fWRlVIuOuttap+d1LEBD0AAAAADGFkbWluUHViS2V5MwEAAAAgitC0+TBLGvFUtXZrOXd2PwDRrAhjEzCY3dTlamSkHykAAAAADGFkbWluUHViS2V5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AAAAZwcm9vZnMAAAAAAAAAAAEFAAAADGFkbWluUHViS2V5MgAAAAAAAAAAAQAAAAAAAAAAAAQAAAAKYWRtM1NpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAACBQAAAAxhZG1pblB1YktleTMAAAAAAAAAAAEAAAAAAAAAAAAJAABnAAAAAgkAAGQAAAACCQAAZAAAAAIFAAAACmFkbTFTaWduZWQFAAAACmFkbTJTaWduZWQFAAAACmFkbTNTaWduZWQAAAAAAAAAAAKKVPvE", "height": 1917970, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HCpo32iRYYRuTGr4rwHH6e3qpbgZB9ETcGgLENCcf9Sz Next: HcuFqT1PiYsTLh8Zn8ZqS5bLAKfJYds4FFcWm9fvbvn Diff:
Old | New | Differences | |
---|---|---|---|
421 | 421 | ||
422 | 422 | @Callable(i) | |
423 | 423 | func deleteUnsedData () = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)) | |
424 | - | then [DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_ | |
424 | + | 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 | 425 | else throw("Only admin can call this function") | |
426 | 426 | ||
427 | 427 |
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 dAppAssetAddress = getDAppAssetAddress(pool) | |
302 | 302 | let liquidutyAssetAddress = match getString((pool + "_liquidity_token")) { | |
303 | 303 | case string: String => | |
304 | 304 | string | |
305 | 305 | case nothing => | |
306 | 306 | throw("You try to deposit on unsupported pool") | |
307 | 307 | } | |
308 | 308 | if (isPoolActive(pool)) | |
309 | 309 | then { | |
310 | 310 | let liquidityTokenDecimal = match assetInfo(fromBase58String(liquidutyAssetAddress)) { | |
311 | 311 | case asset: Asset => | |
312 | 312 | asset.decimals | |
313 | 313 | case _ => | |
314 | 314 | throw("Can't find asset") | |
315 | 315 | } | |
316 | 316 | if ((liquidutyAssetAddress != assetIdString)) | |
317 | 317 | then throw("You attached wrong liquidity token from Swop.fi") | |
318 | 318 | else { | |
319 | 319 | let userTotalLockedKey = getUserTotalLockedKey(pool, userAddress) | |
320 | 320 | let userTotalLocked = getUserTotalLocked(userTotalLockedKey) | |
321 | 321 | let userAmountWithoutFee = ((amount - fraction(amount, 1, depositFee, HALFUP)) - fraction(amount, 1, controllerFee, HALFUP)) | |
322 | 322 | let transferToUserAmount = transferToUser(userAmountWithoutFee, fromBase58String(dAppAssetAddress), pool, depositType) | |
323 | 323 | let fee = (amount - userAmountWithoutFee) | |
324 | 324 | let newUserTotalLocked = (userTotalLocked + userAmountWithoutFee) | |
325 | 325 | let lockTokensKey = (((((pool + "_") + userAddress) + "_") + toBase58String(i.transactionId)) + "_locked") | |
326 | 326 | [Reissue(fromBase58String(dAppAssetAddress), transferToUserAmount, true), ScriptTransfer(i.caller, transferToUserAmount, fromBase58String(dAppAssetAddress)), ScriptTransfer(govermanceAddress, fee, fromBase58String(liquidutyAssetAddress)), IntegerEntry(lockTokensKey, userAmountWithoutFee), IntegerEntry(userTotalLockedKey, newUserTotalLocked)] | |
327 | 327 | } | |
328 | 328 | } | |
329 | 329 | else throw("Pool is not active!") | |
330 | 330 | } | |
331 | 331 | } | |
332 | 332 | ||
333 | 333 | ||
334 | 334 | ||
335 | 335 | @Callable(i) | |
336 | 336 | func initWithdraw (pool) = if ((size(i.payments) != 1)) | |
337 | 337 | then throw("One attached payment expected") | |
338 | 338 | else { | |
339 | 339 | let amount = i.payments[0].amount | |
340 | 340 | let assetId = i.payments[0].assetId | |
341 | 341 | let assetIdString = match assetId { | |
342 | 342 | case id: ByteVector => | |
343 | 343 | toBase58String(id) | |
344 | 344 | case _ => | |
345 | 345 | throw("Match error") | |
346 | 346 | } | |
347 | 347 | let assetIdByteVector = match assetId { | |
348 | 348 | case id: ByteVector => | |
349 | 349 | id | |
350 | 350 | case _ => | |
351 | 351 | throw("Match error") | |
352 | 352 | } | |
353 | 353 | if ((0 >= amount)) | |
354 | 354 | then throw(("Withraw amount must be positive. Actual: " + toString(amount))) | |
355 | 355 | else if (isPoolActive(pool)) | |
356 | 356 | then { | |
357 | 357 | let userAddress = toString(i.caller) | |
358 | 358 | let userTotalLockedKey = getUserTotalLockedKey(pool, userAddress) | |
359 | 359 | let userTotalLocked = getUserTotalLocked(userTotalLockedKey) | |
360 | 360 | let userTotalBalanceWithoutCurrentTransaction = assetBalance(i.caller, assetIdByteVector) | |
361 | 361 | let userTotalBalance = (userTotalBalanceWithoutCurrentTransaction + amount) | |
362 | 362 | let maxTransaferToUser = transferToUser(userTotalBalance, fromBase58String(assetIdString), pool, withdrawType) | |
363 | 363 | let transferToUserAmount = transferToUser(amount, fromBase58String(assetIdString), pool, withdrawType) | |
364 | 364 | let nonLockedBalance = (maxTransaferToUser - userTotalLocked) | |
365 | 365 | if (!((nonLockedBalance >= transferToUserAmount))) | |
366 | 366 | then throw("You have a locked tokens. Wait a time for unlock or try to withdrraw less") | |
367 | 367 | else { | |
368 | 368 | let userRecordKey = userWithdrawKey(pool, userAddress, toBase58String(i.transactionId)) | |
369 | 369 | let userWithdrawBurnTokenKey = userWithdrawBurnTokensKey(pool, userAddress, toBase58String(i.transactionId)) | |
370 | 370 | [IntegerEntry(userRecordKey, transferToUserAmount), IntegerEntry(userWithdrawBurnTokenKey, amount)] | |
371 | 371 | } | |
372 | 372 | } | |
373 | 373 | else throw("Pool is not active!") | |
374 | 374 | } | |
375 | 375 | ||
376 | 376 | ||
377 | 377 | ||
378 | 378 | @Callable(i) | |
379 | 379 | func withdraw (pool,userAddress,transactionId) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)) | |
380 | 380 | then { | |
381 | 381 | let userRecordKey = userWithdrawKey(pool, userAddress, transactionId) | |
382 | 382 | let userWithdrawBurnTokenKey = userWithdrawBurnTokensKey(pool, userAddress, transactionId) | |
383 | 383 | let sendUserAmount = getIntegerValue(this, userRecordKey) | |
384 | 384 | let burnTokenAmount = getIntegerValue(this, userWithdrawBurnTokenKey) | |
385 | 385 | let dAppAssetAddress = getDAppAssetAddress(pool) | |
386 | 386 | let liquidutyAssetAddress = getLiquidutyAssetAddress(pool) | |
387 | 387 | [Burn(fromBase58String(dAppAssetAddress), burnTokenAmount), ScriptTransfer(i.caller, sendUserAmount, fromBase58String(liquidutyAssetAddress)), DeleteEntry(userRecordKey), DeleteEntry(userWithdrawBurnTokenKey)] | |
388 | 388 | } | |
389 | 389 | else throw("Only admin can call this function") | |
390 | 390 | ||
391 | 391 | ||
392 | 392 | ||
393 | 393 | @Callable(i) | |
394 | 394 | func poolActivating (pools,statuses) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)) | |
395 | 395 | then { | |
396 | 396 | func generatePoolActiveKeys (accumulated,pool) = { | |
397 | 397 | let poolIndex = value(indexOf(pools, pool)) | |
398 | 398 | let status = statuses[poolIndex] | |
399 | 399 | BooleanEntry((pool + "_active"), status) :: accumulated | |
400 | 400 | } | |
401 | 401 | ||
402 | 402 | let poolActiveKeys = { | |
403 | 403 | let $l = pools | |
404 | 404 | let $s = size($l) | |
405 | 405 | let $acc0 = nil | |
406 | 406 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
407 | 407 | then $a | |
408 | 408 | else generatePoolActiveKeys($a, $l[$i]) | |
409 | 409 | ||
410 | 410 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
411 | 411 | then $a | |
412 | 412 | else throw("List size exceeds 100") | |
413 | 413 | ||
414 | 414 | $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 | 415 | } | |
416 | 416 | poolActiveKeys | |
417 | 417 | } | |
418 | 418 | else throw("Only admin can call this function") | |
419 | 419 | ||
420 | 420 | ||
421 | 421 | ||
422 | 422 | @Callable(i) | |
423 | 423 | func deleteUnsedData () = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)) | |
424 | - | then [DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_ | |
424 | + | 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 | 425 | else throw("Only admin can call this function") | |
426 | 426 | ||
427 | 427 | ||
428 | 428 | @Verifier(tx) | |
429 | 429 | func verify () = match tx { | |
430 | 430 | case inv: InvokeScriptTransaction => | |
431 | 431 | let lockShareTokens = if ((inv.dApp == farmingAddress)) | |
432 | 432 | then if (if ((inv.function == "lockShareTokens")) | |
433 | 433 | then true | |
434 | 434 | else (inv.function == "claim")) | |
435 | 435 | then true | |
436 | 436 | else (inv.function == "withdrawShareTokens") | |
437 | 437 | else false | |
438 | 438 | let lockSwop = if ((inv.dApp == swopFiGovermanceAddress)) | |
439 | 439 | then if ((inv.function == "lockSWOP")) | |
440 | 440 | then true | |
441 | 441 | else (inv.function == "withdrawSWOP") | |
442 | 442 | else false | |
443 | 443 | let dAppAddress = match inv.dApp { | |
444 | 444 | case dApp: Address => | |
445 | 445 | toString(dApp) | |
446 | 446 | case _ => | |
447 | 447 | throw("Transaction must have only address") | |
448 | 448 | } | |
449 | 449 | let poolFunctions = if (containsElement(swopFiPools, dAppAddress)) | |
450 | 450 | then containsElement(swopFiFunctions, inv.function) | |
451 | 451 | else false | |
452 | 452 | let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1)) | |
453 | 453 | then true | |
454 | 454 | else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey2)) | |
455 | 455 | then true | |
456 | 456 | else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey4)) | |
457 | 457 | then true | |
458 | 458 | else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
459 | 459 | if (if (if (lockShareTokens) | |
460 | 460 | then true | |
461 | 461 | else poolFunctions) | |
462 | 462 | then true | |
463 | 463 | else lockSwop) | |
464 | 464 | then signedByAdmin | |
465 | 465 | else false | |
466 | 466 | case _ => | |
467 | 467 | let adm1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1)) | |
468 | 468 | then 1 | |
469 | 469 | else 0 | |
470 | 470 | let adm2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2)) | |
471 | 471 | then 1 | |
472 | 472 | else 0 | |
473 | 473 | let adm3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3)) | |
474 | 474 | then 1 | |
475 | 475 | else 0 | |
476 | 476 | (((adm1Signed + adm2Signed) + adm3Signed) >= 2) | |
477 | 477 | } | |
478 | 478 |
github/deemru/w8io/026f985 75.38 ms ◑