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