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+TBLGvFUtXZrOXd2PwDRrAhjEzCY3dTlamSkHykAAAAADGFkbWluUHViS2V5NAEA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wkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAADGFkbWluUHViS2V5MQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAKYWRtMlNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAAxhZG1pblB1YktleTIAAAAAAAAAAAEAAAAAAAAAAAAEAAAACmFkbTNTaWduZWQDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAgUAAAAMYWRtaW5QdWJLZXkzAAAAAAAAAAABAAAAAAAAAAAACQAAZwAAAAIJAABkAAAAAgkAAGQAAAACBQAAAAphZG0xU2lnbmVkBQAAAAphZG0yU2lnbmVkBQAAAAphZG0zU2lnbmVkAAAAAAAAAAACev4MUw==", "height": 1917997, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6HsJLm1DEKFyRp3zzesGYuqBRDaYyHBcZmEu9PmSNkJn Next: BWe2jt6DDyDAG5ToxRmf2fntQpXPjL9F5LP5QyD34uuo Diff:
OldNewDifferences
2424 let keySWOPid = "SWOP_id"
2525
2626 let SWOP = fromBase58String(getStringValue(farmingAddress, keySWOPid))
27+
28+let wavesCommissionForWithdraw = 1400000
2729
2830 let depositType = "deposit"
2931
338340 else {
339341 let amount = i.payments[0].amount
340342 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+ }
371378 }
372- }
373- else throw("Pool is not active!")
379+ else throw("Pool is not active!")
380+ }
374381 }
375382
376383
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let depositFee = 1000
55
66 let controllerFee = 10000
77
88 let platformFee = 10000
99
1010 let adminPubKey1 = base58'68Po1k24uP6goKr7RDmXPg4QkMiKuyTMEirao14rif8s'
1111
1212 let adminPubKey2 = base58'Bze4aurT9WmLgBT6swA9CajaZFtUwhtwCri6XGAjnAkt'
1313
1414 let adminPubKey3 = base58'ALsqwPqiUP3bVbM7grozc1Y5oHVBAGKqACRJ5J8RXceC'
1515
1616 let adminPubKey4 = base58'ALsqwPqiUP3bVbM7grozc1Y5oHVBAGKqACRJ5J8RXceC'
1717
1818 let govermanceAddress = Address(base58'3N7ExjwfofPYTvNBv2zqtAtLcMxqjTxS7iL')
1919
2020 let swopFiGovermanceAddress = Address(base58'3PLHVWCqA9DJPDbadUofTohnCULLauiDWhS')
2121
2222 let farmingAddress = Address(base58'3NBTuZhn2CwAgWGL99qpGDjZQ4Wtbg56iDL')
2323
2424 let keySWOPid = "SWOP_id"
2525
2626 let SWOP = fromBase58String(getStringValue(farmingAddress, keySWOPid))
27+
28+let wavesCommissionForWithdraw = 1400000
2729
2830 let depositType = "deposit"
2931
3032 let withdrawType = "withdraw"
3133
3234 let serviceTokenTotalLocked = "_service_token_total_locked"
3335
3436 let swopFiPools = ["3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1", "3PKy2mZqnvT2EtpwDim9Mgs6YvCRe4s85nX", "3P27S9V36kw2McjWRZ37AxTx8iwkd7HXw6W"]
3537
3638 let swopFiFunctions = ["replenishWithTwoTokens", "exchange"]
3739
3840 func isPoolActive (pool) = {
3941 let kActive = (pool + "_active")
4042 let isActive = match getBoolean(this, kActive) {
4143 case boolean: Boolean =>
4244 boolean
4345 case _ =>
4446 throw("Pool is not active!")
4547 }
4648 isActive
4749 }
4850
4951
5052 func getDAppAssetAddress (pool) = match getString((pool + "_service_token")) {
5153 case string: String =>
5254 string
5355 case nothing =>
5456 throw("You try to deposit on unsupported pool")
5557 }
5658
5759
5860 func getLiquidutyAssetAddress (pool) = match getString((pool + "_liquidity_token")) {
5961 case string: String =>
6062 string
6163 case nothing =>
6264 throw("You try to withdraw from unsupported pool")
6365 }
6466
6567
6668 func getStakedAmount (poolAddress) = if ((poolAddress == toBase58String(SWOP)))
6769 then match getInteger(swopFiGovermanceAddress, (toString(this) + "_SWOP_amount")) {
6870 case staked: Int =>
6971 staked
7072 case nothing: Unit =>
7173 0
7274 case _ =>
7375 throw("Match error")
7476 }
7577 else match getInteger(farmingAddress, (((poolAddress + "_") + toString(this)) + "_share_tokens_locked")) {
7678 case staked: Int =>
7779 staked
7880 case nothing: Unit =>
7981 0
8082 case _ =>
8183 throw("Match error")
8284 }
8385
8486
8587 func transferToUser (amount,assetId,poolAddress,type) = {
8688 let dAppStakedTokens = getStakedAmount(poolAddress)
8789 let assetIdQuantity = match assetInfo(assetId) {
8890 case asset: Asset =>
8991 asset.quantity
9092 case _ =>
9193 throw("Can't find asset")
9294 }
9395 if ((dAppStakedTokens == 0))
9496 then amount
9597 else if ((type == depositType))
9698 then {
9799 let transferToUserAmount = fraction(amount, assetIdQuantity, dAppStakedTokens)
98100 transferToUserAmount
99101 }
100102 else {
101103 let transferToUserAmount = fraction(amount, dAppStakedTokens, assetIdQuantity)
102104 transferToUserAmount
103105 }
104106 }
105107
106108
107109 func userWithdrawKey (pool,userAddress,transactionId) = (((((pool + "_") + userAddress) + "_") + transactionId) + "_withdraw")
108110
109111
110112 func userWithdrawBurnTokensKey (pool,userAddress,transactionId) = (((((pool + "_") + userAddress) + "_") + transactionId) + "_withdraw_burn_token")
111113
112114
113115 func getUserTotalLockedKey (pool,userAddress) = (((pool + "_") + userAddress) + serviceTokenTotalLocked)
114116
115117
116118 func getUserTotalLocked (key) = match getInteger(key) {
117119 case int: Int =>
118120 int
119121 case nothing =>
120122 0
121123 }
122124
123125
124126 @Callable(i)
125127 func addPools (pools,liquidityTokens,serviceTokens,liquidityTokenDecimals) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
126128 then {
127129 func generatePoolKeys (accumulated,pool) = IntegerEntry((pool + "_asset_balance"), 0) :: accumulated
128130
129131 func generatePoolLiquidityTokenKeys (accumulated,pool) = {
130132 let poolIndex = value(indexOf(pools, pool))
131133 let liquidityToken = liquidityTokens[poolIndex]
132134 StringEntry((pool + "_liquidity_token"), liquidityToken) :: accumulated
133135 }
134136
135137 func generatePoolServiceTokenKeys (accumulated,pool) = {
136138 let poolIndex = value(indexOf(pools, pool))
137139 let liquidityToken = serviceTokens[poolIndex]
138140 StringEntry((pool + "_service_token"), liquidityToken) :: accumulated
139141 }
140142
141143 func generatePoolLiquidityTokenDecimalKeys (accumulated,pool) = {
142144 let poolIndex = value(indexOf(pools, pool))
143145 let liquidityToken = liquidityTokenDecimals[poolIndex]
144146 IntegerEntry((pool + "_service_token_decimal"), liquidityToken) :: accumulated
145147 }
146148
147149 func generatePoolActiveKeys (accumulated,pool) = BooleanEntry((pool + "_active"), true) :: accumulated
148150
149151 let poolBalanceKeys = {
150152 let $l = pools
151153 let $s = size($l)
152154 let $acc0 = nil
153155 func $f0_1 ($a,$i) = if (($i >= $s))
154156 then $a
155157 else generatePoolKeys($a, $l[$i])
156158
157159 func $f0_2 ($a,$i) = if (($i >= $s))
158160 then $a
159161 else throw("List size exceeds 20")
160162
161163 $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)
162164 }
163165 let poolLiquidityTokenKeys = {
164166 let $l = pools
165167 let $s = size($l)
166168 let $acc0 = nil
167169 func $f1_1 ($a,$i) = if (($i >= $s))
168170 then $a
169171 else generatePoolLiquidityTokenKeys($a, $l[$i])
170172
171173 func $f1_2 ($a,$i) = if (($i >= $s))
172174 then $a
173175 else throw("List size exceeds 20")
174176
175177 $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)
176178 }
177179 let poolServiceTokenKeys = {
178180 let $l = pools
179181 let $s = size($l)
180182 let $acc0 = nil
181183 func $f2_1 ($a,$i) = if (($i >= $s))
182184 then $a
183185 else generatePoolServiceTokenKeys($a, $l[$i])
184186
185187 func $f2_2 ($a,$i) = if (($i >= $s))
186188 then $a
187189 else throw("List size exceeds 20")
188190
189191 $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)
190192 }
191193 let poolLiquidityTokenDecimalKeys = {
192194 let $l = pools
193195 let $s = size($l)
194196 let $acc0 = nil
195197 func $f3_1 ($a,$i) = if (($i >= $s))
196198 then $a
197199 else generatePoolLiquidityTokenDecimalKeys($a, $l[$i])
198200
199201 func $f3_2 ($a,$i) = if (($i >= $s))
200202 then $a
201203 else throw("List size exceeds 20")
202204
203205 $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)
204206 }
205207 let poolActiveKeys = {
206208 let $l = pools
207209 let $s = size($l)
208210 let $acc0 = nil
209211 func $f4_1 ($a,$i) = if (($i >= $s))
210212 then $a
211213 else generatePoolActiveKeys($a, $l[$i])
212214
213215 func $f4_2 ($a,$i) = if (($i >= $s))
214216 then $a
215217 else throw("List size exceeds 20")
216218
217219 $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)
218220 }
219221 ((((poolBalanceKeys ++ poolLiquidityTokenKeys) ++ poolServiceTokenKeys) ++ poolLiquidityTokenDecimalKeys) ++ poolActiveKeys)
220222 }
221223 else throw("Only admin can call this function")
222224
223225
224226
225227 @Callable(i)
226228 func deleteDepositLockRecords (records,lockedAmountKeys,lockedAmountValues) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
227229 then {
228230 func generateDeletingKeys (accumulated,record) = DeleteEntry((record + "_locked")) :: accumulated
229231
230232 func generateLockedKeys (accumulated,lockedKey) = {
231233 let lockedKeyIndex = value(indexOf(lockedAmountKeys, lockedKey))
232234 let lockedAmount = lockedAmountValues[lockedKeyIndex]
233235 let currentLocked = getUserTotalLocked((lockedKey + serviceTokenTotalLocked))
234236 let newLockedValue = (currentLocked - lockedAmount)
235237 IntegerEntry((lockedKey + serviceTokenTotalLocked), newLockedValue) :: accumulated
236238 }
237239
238240 let deleteKeys = {
239241 let $l = records
240242 let $s = size($l)
241243 let $acc0 = nil
242244 func $f0_1 ($a,$i) = if (($i >= $s))
243245 then $a
244246 else generateDeletingKeys($a, $l[$i])
245247
246248 func $f0_2 ($a,$i) = if (($i >= $s))
247249 then $a
248250 else throw("List size exceeds 50")
249251
250252 $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)
251253 }
252254 let lockedKeys = {
253255 let $l = lockedAmountKeys
254256 let $s = size($l)
255257 let $acc0 = nil
256258 func $f1_1 ($a,$i) = if (($i >= $s))
257259 then $a
258260 else generateLockedKeys($a, $l[$i])
259261
260262 func $f1_2 ($a,$i) = if (($i >= $s))
261263 then $a
262264 else throw("List size exceeds 50")
263265
264266 $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)
265267 }
266268 (deleteKeys ++ lockedKeys)
267269 }
268270 else throw("Only admin can call this function")
269271
270272
271273
272274 @Callable(i)
273275 func issueToken (name,description,quantity,decimals) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
274276 then [Issue(name, description, quantity, decimals, true, unit, 0)]
275277 else throw("Only admin can call this function")
276278
277279
278280
279281 @Callable(a8)
280282 func call () = [DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3N5viYFhnu1ew4FRZ9nujme9edr918FkT1a_current_reward")]
281283
282284
283285
284286 @Callable(i)
285287 func deposit (pool) = if ((size(i.payments) != 1))
286288 then throw("One attached payment expected")
287289 else {
288290 let amount = i.payments[0].amount
289291 let assetId = i.payments[0].assetId
290292 let assetIdString = match assetId {
291293 case id: ByteVector =>
292294 toBase58String(id)
293295 case _ =>
294296 throw("Match error")
295297 }
296298 if ((0 >= amount))
297299 then throw(("Deposit amount must be positive. Actual: " + toString(amount)))
298300 else {
299301 let poolAmountKey = (pool + "_asset_balance")
300302 let userAddress = toString(i.caller)
301303 let dAppAssetAddress = getDAppAssetAddress(pool)
302304 let liquidutyAssetAddress = match getString((pool + "_liquidity_token")) {
303305 case string: String =>
304306 string
305307 case nothing =>
306308 throw("You try to deposit on unsupported pool")
307309 }
308310 if (isPoolActive(pool))
309311 then {
310312 let liquidityTokenDecimal = match assetInfo(fromBase58String(liquidutyAssetAddress)) {
311313 case asset: Asset =>
312314 asset.decimals
313315 case _ =>
314316 throw("Can't find asset")
315317 }
316318 if ((liquidutyAssetAddress != assetIdString))
317319 then throw("You attached wrong liquidity token from Swop.fi")
318320 else {
319321 let userTotalLockedKey = getUserTotalLockedKey(pool, userAddress)
320322 let userTotalLocked = getUserTotalLocked(userTotalLockedKey)
321323 let userAmountWithoutFee = ((amount - fraction(amount, 1, depositFee, HALFUP)) - fraction(amount, 1, controllerFee, HALFUP))
322324 let transferToUserAmount = transferToUser(userAmountWithoutFee, fromBase58String(dAppAssetAddress), pool, depositType)
323325 let fee = (amount - userAmountWithoutFee)
324326 let newUserTotalLocked = (userTotalLocked + userAmountWithoutFee)
325327 let lockTokensKey = (((((pool + "_") + userAddress) + "_") + toBase58String(i.transactionId)) + "_locked")
326328 [Reissue(fromBase58String(dAppAssetAddress), transferToUserAmount, true), ScriptTransfer(i.caller, transferToUserAmount, fromBase58String(dAppAssetAddress)), ScriptTransfer(govermanceAddress, fee, fromBase58String(liquidutyAssetAddress)), IntegerEntry(lockTokensKey, userAmountWithoutFee), IntegerEntry(userTotalLockedKey, newUserTotalLocked)]
327329 }
328330 }
329331 else throw("Pool is not active!")
330332 }
331333 }
332334
333335
334336
335337 @Callable(i)
336338 func initWithdraw (pool) = if ((size(i.payments) != 1))
337339 then throw("One attached payment expected")
338340 else {
339341 let amount = i.payments[0].amount
340342 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+ }
371378 }
372- }
373- else throw("Pool is not active!")
379+ else throw("Pool is not active!")
380+ }
374381 }
375382
376383
377384
378385 @Callable(i)
379386 func withdraw (pool,userAddress,transactionId) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
380387 then {
381388 let userRecordKey = userWithdrawKey(pool, userAddress, transactionId)
382389 let userWithdrawBurnTokenKey = userWithdrawBurnTokensKey(pool, userAddress, transactionId)
383390 let sendUserAmount = getIntegerValue(this, userRecordKey)
384391 let burnTokenAmount = getIntegerValue(this, userWithdrawBurnTokenKey)
385392 let dAppAssetAddress = getDAppAssetAddress(pool)
386393 let liquidutyAssetAddress = getLiquidutyAssetAddress(pool)
387394 [Burn(fromBase58String(dAppAssetAddress), burnTokenAmount), ScriptTransfer(i.caller, sendUserAmount, fromBase58String(liquidutyAssetAddress)), DeleteEntry(userRecordKey), DeleteEntry(userWithdrawBurnTokenKey)]
388395 }
389396 else throw("Only admin can call this function")
390397
391398
392399
393400 @Callable(i)
394401 func poolActivating (pools,statuses) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
395402 then {
396403 func generatePoolActiveKeys (accumulated,pool) = {
397404 let poolIndex = value(indexOf(pools, pool))
398405 let status = statuses[poolIndex]
399406 BooleanEntry((pool + "_active"), status) :: accumulated
400407 }
401408
402409 let poolActiveKeys = {
403410 let $l = pools
404411 let $s = size($l)
405412 let $acc0 = nil
406413 func $f0_1 ($a,$i) = if (($i >= $s))
407414 then $a
408415 else generatePoolActiveKeys($a, $l[$i])
409416
410417 func $f0_2 ($a,$i) = if (($i >= $s))
411418 then $a
412419 else throw("List size exceeds 100")
413420
414421 $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)
415422 }
416423 poolActiveKeys
417424 }
418425 else throw("Only admin can call this function")
419426
420427
421428
422429 @Callable(i)
423430 func deleteUnsedData () = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
424431 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)]
425432 else throw("Only admin can call this function")
426433
427434
428435 @Verifier(tx)
429436 func verify () = match tx {
430437 case inv: InvokeScriptTransaction =>
431438 let lockShareTokens = if ((inv.dApp == farmingAddress))
432439 then if (if ((inv.function == "lockShareTokens"))
433440 then true
434441 else (inv.function == "claim"))
435442 then true
436443 else (inv.function == "withdrawShareTokens")
437444 else false
438445 let lockSwop = if ((inv.dApp == swopFiGovermanceAddress))
439446 then if ((inv.function == "lockSWOP"))
440447 then true
441448 else (inv.function == "withdrawSWOP")
442449 else false
443450 let dAppAddress = match inv.dApp {
444451 case dApp: Address =>
445452 toString(dApp)
446453 case _ =>
447454 throw("Transaction must have only address")
448455 }
449456 let poolFunctions = if (containsElement(swopFiPools, dAppAddress))
450457 then containsElement(swopFiFunctions, inv.function)
451458 else false
452459 let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
453460 then true
454461 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey2))
455462 then true
456463 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey4))
457464 then true
458465 else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
459466 if (if (if (lockShareTokens)
460467 then true
461468 else poolFunctions)
462469 then true
463470 else lockSwop)
464471 then signedByAdmin
465472 else false
466473 case _ =>
467474 let adm1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
468475 then 1
469476 else 0
470477 let adm2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2))
471478 then 1
472479 else 0
473480 let adm3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3))
474481 then 1
475482 else 0
476483 (((adm1Signed + adm2Signed) + adm3Signed) >= 2)
477484 }
478485

github/deemru/w8io/026f985 
74.60 ms