tx · 2nap1tgpZ9gzwYmrkFxCU9SnF9T8jktNHKNW7D2Fabey

3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph:  -0.01400000 Waves

2022.02.10 14:35 [1917467] smart account 3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph > SELF 0.00000000 Waves

{ "type": 13, "id": "2nap1tgpZ9gzwYmrkFxCU9SnF9T8jktNHKNW7D2Fabey", "fee": 1400000, "feeAssetId": null, "timestamp": 1644492965415, "version": 2, "chainId": 84, "sender": "3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph", "senderPublicKey": "G7cNXePvAHUHmZfXa1eHnvFeH6DuykPC5wm9v9djTKgD", "proofs": [ "qvPuds4m8v7gKdRYoFnfUnD7ZpnakZh3AWrZtPwoaRijs7kdjC2uVo5g3QAv793zWJ6s3XD41ctaY2QNXnTLkyF", "sVU6kDhY8vv6hhMCv2dwYfVW5mAzUoohZPnKu182xfAs7dr9v711jvt5afsQ54N2kv5nJaMbUJj48pzbGGkeEPb", "4zKcTwViiew1CKR5k3dMjHmVbNq4St3WakmmMewpjMHodKMu561b1AHKK411YgAUqq9EbaxsRpdfqT6UDRsY5qx1" ], "script": "base64:AAIFAAAAAAAAADQIAhIGCgQYGBgREgUKAxgYERIGCgQICAEBEgASAwoBCBIDCgEIEgUKAwgICBIECgIYFBIAAAAAGgAAAAAKZGVwb3NpdEZlZQAAAAAAAAAD6AAAAAANY29udHJvbGxlckZlZQAAAAAAAAAnEAAAAAALcGxhdGZvcm1GZWUAAAAAAAAAJxAAAAAADGFkbWluUHViS2V5MQEAAAAgTC9F1XzqFGGdLucFXlrRY8ZeleddBPtyCBFVfBI5UHgAAAAADGFkbWluUHViS2V5MgEAAAAgo1jhnK8LndnZN54kO2lFL7fWRlVIuOuttap+d1LEBD0AAAAADGFkbWluUHViS2V5MwEAAAAgitC0+TBLGvFUtXZrOXd2PwDRrAhjEzCY3dTlamSkHykAAAAADGFkbWluUHViS2V5NAEAAAAgitC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dHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAADGFkbWluUHViS2V5MQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAKYWRtMlNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAAxhZG1pblB1YktleTIAAAAAAAAAAAEAAAAAAAAAAAAEAAAACmFkbTNTaWduZWQDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAgUAAAAMYWRtaW5QdWJLZXkzAAAAAAAAAAABAAAAAAAAAAAACQAAZwAAAAIJAABkAAAAAgkAAGQAAAACBQAAAAphZG0xU2lnbmVkBQAAAAphZG0yU2lnbmVkBQAAAAphZG0zU2lnbmVkAAAAAAAAAAACYv46+Q==", "height": 1917467, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Dm8o9y3wKuDqHGbnsoqA5H2F81jRpkC61grPuC4TncAY Next: 6cFU9XWBjXZXXUZfHjwfiqmazqUpXQMkp5wKrRh9EXBJ Diff:
OldNewDifferences
330330 let transferToUserAmount = transferToUser(userAmountWithoutFee, fromBase58String(dAppAssetAddress), pool, depositType)
331331 let fee = (amount - userAmountWithoutFee)
332332 let newPoolAmount = ((poolAmount + amount) - fee)
333- let newUserPoolAmount = (userAmount + transferToUserAmount)
333+ let newUserPoolAmount = (userAmount + userAmountWithoutFee)
334334 let newUserTotalLocked = (userTotalLocked + transferToUserAmount)
335335 let lockTokensKey = (((((pool + "_") + userAddress) + "_") + toBase58String(i.transactionId)) + "_locked")
336336 [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)]
440440
441441 @Callable(i)
442442 func deleteUnsedData () = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
443- then [IntegerEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_service_token_total_locked", 0)]
443+ then [IntegerEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_asset_balance", 0), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_2vR6rrm1TaCjsRyeV363rMCywBs88Sw8NRco1qv9dWFo_withdraw"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_2vR6rrm1TaCjsRyeV363rMCywBs88Sw8NRco1qv9dWFo_withdraw_burn_token")]
444444 else throw("Only admin can call this function")
445445
446446
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))
2727
2828 let depositType = "deposit"
2929
3030 let withdrawType = "withdraw"
3131
3232 let serviceTokenTotalLocked = "_service_token_total_locked"
3333
3434 let swopFiPools = ["3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1", "3PKy2mZqnvT2EtpwDim9Mgs6YvCRe4s85nX", "3P27S9V36kw2McjWRZ37AxTx8iwkd7HXw6W"]
3535
3636 let swopFiFunctions = ["replenishWithTwoTokens", "exchange"]
3737
3838 func isPoolActive (pool) = {
3939 let kActive = (pool + "_active")
4040 let isActive = match getBoolean(this, kActive) {
4141 case boolean: Boolean =>
4242 boolean
4343 case _ =>
4444 throw("Pool is not active!")
4545 }
4646 isActive
4747 }
4848
4949
5050 func getDAppAssetAddress (pool) = match getString((pool + "_service_token")) {
5151 case string: String =>
5252 string
5353 case nothing =>
5454 throw("You try to deposit on unsupported pool")
5555 }
5656
5757
5858 func getLiquidutyAssetAddress (pool) = match getString((pool + "_liquidity_token")) {
5959 case string: String =>
6060 string
6161 case nothing =>
6262 throw("You try to withdraw from unsupported pool")
6363 }
6464
6565
6666 func getStakedAmount (poolAddress) = if ((poolAddress == toBase58String(SWOP)))
6767 then match getInteger(swopFiGovermanceAddress, (toString(this) + "_SWOP_amount")) {
6868 case staked: Int =>
6969 staked
7070 case nothing: Unit =>
7171 0
7272 case _ =>
7373 throw("Match error")
7474 }
7575 else match getInteger(farmingAddress, (((poolAddress + "_") + toString(this)) + "_share_tokens_locked")) {
7676 case staked: Int =>
7777 staked
7878 case nothing: Unit =>
7979 0
8080 case _ =>
8181 throw("Match error")
8282 }
8383
8484
8585 func transferToUser (amount,assetId,poolAddress,type) = {
8686 let dAppStakedTokens = getStakedAmount(poolAddress)
8787 let assetIdQuantity = match assetInfo(assetId) {
8888 case asset: Asset =>
8989 asset.quantity
9090 case _ =>
9191 throw("Can't find asset")
9292 }
9393 if ((dAppStakedTokens == 0))
9494 then amount
9595 else if ((type == depositType))
9696 then {
9797 let transferToUserAmount = fraction(amount, assetIdQuantity, dAppStakedTokens)
9898 transferToUserAmount
9999 }
100100 else {
101101 let transferToUserAmount = fraction(amount, dAppStakedTokens, assetIdQuantity)
102102 transferToUserAmount
103103 }
104104 }
105105
106106
107107 func userWithdrawKey (pool,userAddress,transactionId) = (((((pool + "_") + userAddress) + "_") + transactionId) + "_withdraw")
108108
109109
110110 func userWithdrawBurnTokensKey (pool,userAddress,transactionId) = (((((pool + "_") + userAddress) + "_") + transactionId) + "_withdraw_burn_token")
111111
112112
113113 func getUserTotalLockedKey (pool,userAddress) = (((pool + "_") + userAddress) + serviceTokenTotalLocked)
114114
115115
116116 func getUserTotalLocked (key) = match getInteger(key) {
117117 case int: Int =>
118118 int
119119 case nothing =>
120120 0
121121 }
122122
123123
124124 @Callable(i)
125125 func addPools (pools,liquidityTokens,serviceTokens,liquidityTokenDecimals) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
126126 then {
127127 func generatePoolKeys (accumulated,pool) = IntegerEntry((pool + "_asset_balance"), 0) :: accumulated
128128
129129 func generatePoolLiquidityTokenKeys (accumulated,pool) = {
130130 let poolIndex = value(indexOf(pools, pool))
131131 let liquidityToken = liquidityTokens[poolIndex]
132132 StringEntry((pool + "_liquidity_token"), liquidityToken) :: accumulated
133133 }
134134
135135 func generatePoolServiceTokenKeys (accumulated,pool) = {
136136 let poolIndex = value(indexOf(pools, pool))
137137 let liquidityToken = serviceTokens[poolIndex]
138138 StringEntry((pool + "_service_token"), liquidityToken) :: accumulated
139139 }
140140
141141 func generatePoolLiquidityTokenDecimalKeys (accumulated,pool) = {
142142 let poolIndex = value(indexOf(pools, pool))
143143 let liquidityToken = liquidityTokenDecimals[poolIndex]
144144 IntegerEntry((pool + "_service_token_decimal"), liquidityToken) :: accumulated
145145 }
146146
147147 func generatePoolActiveKeys (accumulated,pool) = BooleanEntry((pool + "_active"), true) :: accumulated
148148
149149 let poolBalanceKeys = {
150150 let $l = pools
151151 let $s = size($l)
152152 let $acc0 = nil
153153 func $f0_1 ($a,$i) = if (($i >= $s))
154154 then $a
155155 else generatePoolKeys($a, $l[$i])
156156
157157 func $f0_2 ($a,$i) = if (($i >= $s))
158158 then $a
159159 else throw("List size exceeds 20")
160160
161161 $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)
162162 }
163163 let poolLiquidityTokenKeys = {
164164 let $l = pools
165165 let $s = size($l)
166166 let $acc0 = nil
167167 func $f1_1 ($a,$i) = if (($i >= $s))
168168 then $a
169169 else generatePoolLiquidityTokenKeys($a, $l[$i])
170170
171171 func $f1_2 ($a,$i) = if (($i >= $s))
172172 then $a
173173 else throw("List size exceeds 20")
174174
175175 $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)
176176 }
177177 let poolServiceTokenKeys = {
178178 let $l = pools
179179 let $s = size($l)
180180 let $acc0 = nil
181181 func $f2_1 ($a,$i) = if (($i >= $s))
182182 then $a
183183 else generatePoolServiceTokenKeys($a, $l[$i])
184184
185185 func $f2_2 ($a,$i) = if (($i >= $s))
186186 then $a
187187 else throw("List size exceeds 20")
188188
189189 $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)
190190 }
191191 let poolLiquidityTokenDecimalKeys = {
192192 let $l = pools
193193 let $s = size($l)
194194 let $acc0 = nil
195195 func $f3_1 ($a,$i) = if (($i >= $s))
196196 then $a
197197 else generatePoolLiquidityTokenDecimalKeys($a, $l[$i])
198198
199199 func $f3_2 ($a,$i) = if (($i >= $s))
200200 then $a
201201 else throw("List size exceeds 20")
202202
203203 $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)
204204 }
205205 let poolActiveKeys = {
206206 let $l = pools
207207 let $s = size($l)
208208 let $acc0 = nil
209209 func $f4_1 ($a,$i) = if (($i >= $s))
210210 then $a
211211 else generatePoolActiveKeys($a, $l[$i])
212212
213213 func $f4_2 ($a,$i) = if (($i >= $s))
214214 then $a
215215 else throw("List size exceeds 20")
216216
217217 $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)
218218 }
219219 ((((poolBalanceKeys ++ poolLiquidityTokenKeys) ++ poolServiceTokenKeys) ++ poolLiquidityTokenDecimalKeys) ++ poolActiveKeys)
220220 }
221221 else throw("Only admin can call this function")
222222
223223
224224
225225 @Callable(i)
226226 func deleteDepositLockRecords (records,lockedAmountKeys,lockedAmountValues) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
227227 then {
228228 func generateDeletingKeys (accumulated,record) = DeleteEntry((record + "_locked")) :: accumulated
229229
230230 func generateLockedKeys (accumulated,lockedKey) = {
231231 let lockedKeyIndex = value(indexOf(lockedAmountKeys, lockedKey))
232232 let lockedAmount = lockedAmountValues[lockedKeyIndex]
233233 let currentLocked = getUserTotalLocked((lockedKey + serviceTokenTotalLocked))
234234 let newLockedValue = (currentLocked - lockedAmount)
235235 IntegerEntry((lockedKey + serviceTokenTotalLocked), newLockedValue) :: accumulated
236236 }
237237
238238 let deleteKeys = {
239239 let $l = records
240240 let $s = size($l)
241241 let $acc0 = nil
242242 func $f0_1 ($a,$i) = if (($i >= $s))
243243 then $a
244244 else generateDeletingKeys($a, $l[$i])
245245
246246 func $f0_2 ($a,$i) = if (($i >= $s))
247247 then $a
248248 else throw("List size exceeds 50")
249249
250250 $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)
251251 }
252252 let lockedKeys = {
253253 let $l = lockedAmountKeys
254254 let $s = size($l)
255255 let $acc0 = nil
256256 func $f1_1 ($a,$i) = if (($i >= $s))
257257 then $a
258258 else generateLockedKeys($a, $l[$i])
259259
260260 func $f1_2 ($a,$i) = if (($i >= $s))
261261 then $a
262262 else throw("List size exceeds 50")
263263
264264 $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)
265265 }
266266 (deleteKeys ++ lockedKeys)
267267 }
268268 else throw("Only admin can call this function")
269269
270270
271271
272272 @Callable(i)
273273 func issueToken (name,description,quantity,decimals) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
274274 then [Issue(name, description, quantity, decimals, true, unit, 0)]
275275 else throw("Only admin can call this function")
276276
277277
278278
279279 @Callable(a8)
280280 func call () = [DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3N5viYFhnu1ew4FRZ9nujme9edr918FkT1a_current_reward")]
281281
282282
283283
284284 @Callable(i)
285285 func deposit (pool) = if ((size(i.payments) != 1))
286286 then throw("One attached payment expected")
287287 else {
288288 let amount = i.payments[0].amount
289289 let assetId = i.payments[0].assetId
290290 let assetIdString = match assetId {
291291 case id: ByteVector =>
292292 toBase58String(id)
293293 case _ =>
294294 throw("Match error")
295295 }
296296 if ((0 >= amount))
297297 then throw(("Deposit amount must be positive. Actual: " + toString(amount)))
298298 else {
299299 let poolAmountKey = (pool + "_asset_balance")
300300 let userAddress = toString(i.caller)
301301 let userPoolAmountKey = (((pool + "_") + userAddress) + "_asset_balance")
302302 let dAppAssetAddress = getDAppAssetAddress(pool)
303303 let liquidutyAssetAddress = match getString((pool + "_liquidity_token")) {
304304 case string: String =>
305305 string
306306 case nothing =>
307307 throw("You try to deposit on unsupported pool")
308308 }
309309 if (isPoolActive(pool))
310310 then {
311311 let liquidityTokenDecimal = match assetInfo(fromBase58String(liquidutyAssetAddress)) {
312312 case asset: Asset =>
313313 asset.decimals
314314 case _ =>
315315 throw("Can't find asset")
316316 }
317317 if ((liquidutyAssetAddress != assetIdString))
318318 then throw("You attached wrong liquidity token from Swop.fi")
319319 else {
320320 let poolAmount = getIntegerValue(this, poolAmountKey)
321321 let userAmount = match getInteger(userPoolAmountKey) {
322322 case int: Int =>
323323 int
324324 case nothing =>
325325 0
326326 }
327327 let userTotalLockedKey = getUserTotalLockedKey(pool, userAddress)
328328 let userTotalLocked = getUserTotalLocked(userTotalLockedKey)
329329 let userAmountWithoutFee = ((amount - fraction(amount, 1, depositFee, HALFUP)) - fraction(amount, 1, controllerFee, HALFUP))
330330 let transferToUserAmount = transferToUser(userAmountWithoutFee, fromBase58String(dAppAssetAddress), pool, depositType)
331331 let fee = (amount - userAmountWithoutFee)
332332 let newPoolAmount = ((poolAmount + amount) - fee)
333- let newUserPoolAmount = (userAmount + transferToUserAmount)
333+ let newUserPoolAmount = (userAmount + userAmountWithoutFee)
334334 let newUserTotalLocked = (userTotalLocked + transferToUserAmount)
335335 let lockTokensKey = (((((pool + "_") + userAddress) + "_") + toBase58String(i.transactionId)) + "_locked")
336336 [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)]
337337 }
338338 }
339339 else throw("Pool is not active!")
340340 }
341341 }
342342
343343
344344
345345 @Callable(i)
346346 func initWithdraw (pool) = if ((size(i.payments) != 1))
347347 then throw("One attached payment expected")
348348 else {
349349 let amount = i.payments[0].amount
350350 let assetId = i.payments[0].assetId
351351 let assetIdString = match assetId {
352352 case id: ByteVector =>
353353 toBase58String(id)
354354 case _ =>
355355 throw("Match error")
356356 }
357357 let assetIdByteVector = match assetId {
358358 case id: ByteVector =>
359359 id
360360 case _ =>
361361 throw("Match error")
362362 }
363363 if ((0 >= amount))
364364 then throw(("Withraw amount must be positive. Actual: " + toString(amount)))
365365 else if (isPoolActive(pool))
366366 then {
367367 let userAddress = toString(i.caller)
368368 let userTotalLockedKey = getUserTotalLockedKey(pool, userAddress)
369369 let userTotalLocked = getUserTotalLocked(userTotalLockedKey)
370370 let userTotalBalance = assetBalance(i.caller, assetIdByteVector)
371371 let nonLockedBalance = ((userTotalBalance + amount) - userTotalLocked)
372372 if (!((nonLockedBalance >= amount)))
373373 then throw("You have a locked tokens. Wait a time for unlock or try to withdrraw less")
374374 else {
375375 let transferToUserAmount = transferToUser(amount, fromBase58String(assetIdString), pool, withdrawType)
376376 let userRecordKey = userWithdrawKey(pool, userAddress, toBase58String(i.transactionId))
377377 let userWithdrawBurnTokenKey = userWithdrawBurnTokensKey(pool, userAddress, toBase58String(i.transactionId))
378378 [IntegerEntry(userRecordKey, transferToUserAmount), IntegerEntry(userWithdrawBurnTokenKey, amount)]
379379 }
380380 }
381381 else throw("Pool is not active!")
382382 }
383383
384384
385385
386386 @Callable(i)
387387 func withdraw (pool,userAddress,transactionId) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
388388 then {
389389 let userRecordKey = userWithdrawKey(pool, userAddress, transactionId)
390390 let userWithdrawBurnTokenKey = userWithdrawBurnTokensKey(pool, userAddress, transactionId)
391391 let sendUserAmount = getIntegerValue(this, userRecordKey)
392392 let burnTokenAmount = getIntegerValue(this, userWithdrawBurnTokenKey)
393393 let poolAmountKey = (pool + "_asset_balance")
394394 let userPoolAmountKey = (((pool + "_") + userAddress) + "_asset_balance")
395395 let userAmount = match getInteger(userPoolAmountKey) {
396396 case int: Int =>
397397 int
398398 case nothing =>
399399 0
400400 }
401401 let dAppAssetAddress = getDAppAssetAddress(pool)
402402 let liquidutyAssetAddress = getLiquidutyAssetAddress(pool)
403403 let poolAmount = getIntegerValue(this, poolAmountKey)
404404 let newPoolAmount = (poolAmount - sendUserAmount)
405405 let newUserPoolAmount = (userAmount - sendUserAmount)
406406 [Burn(fromBase58String(dAppAssetAddress), burnTokenAmount), ScriptTransfer(i.caller, sendUserAmount, fromBase58String(liquidutyAssetAddress)), IntegerEntry(poolAmountKey, newPoolAmount), IntegerEntry(userPoolAmountKey, newUserPoolAmount), DeleteEntry(userRecordKey), DeleteEntry(userWithdrawBurnTokenKey)]
407407 }
408408 else throw("Only admin can call this function")
409409
410410
411411
412412 @Callable(i)
413413 func poolActivating (pools,statuses) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
414414 then {
415415 func generatePoolActiveKeys (accumulated,pool) = {
416416 let poolIndex = value(indexOf(pools, pool))
417417 let status = statuses[poolIndex]
418418 BooleanEntry((pool + "_active"), status) :: accumulated
419419 }
420420
421421 let poolActiveKeys = {
422422 let $l = pools
423423 let $s = size($l)
424424 let $acc0 = nil
425425 func $f0_1 ($a,$i) = if (($i >= $s))
426426 then $a
427427 else generatePoolActiveKeys($a, $l[$i])
428428
429429 func $f0_2 ($a,$i) = if (($i >= $s))
430430 then $a
431431 else throw("List size exceeds 100")
432432
433433 $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)
434434 }
435435 poolActiveKeys
436436 }
437437 else throw("Only admin can call this function")
438438
439439
440440
441441 @Callable(i)
442442 func deleteUnsedData () = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
443- then [IntegerEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_service_token_total_locked", 0)]
443+ then [IntegerEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_asset_balance", 0), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_2vR6rrm1TaCjsRyeV363rMCywBs88Sw8NRco1qv9dWFo_withdraw"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_2vR6rrm1TaCjsRyeV363rMCywBs88Sw8NRco1qv9dWFo_withdraw_burn_token")]
444444 else throw("Only admin can call this function")
445445
446446
447447 @Verifier(tx)
448448 func verify () = match tx {
449449 case inv: InvokeScriptTransaction =>
450450 let lockShareTokens = if ((inv.dApp == farmingAddress))
451451 then if (if ((inv.function == "lockShareTokens"))
452452 then true
453453 else (inv.function == "claim"))
454454 then true
455455 else (inv.function == "withdrawShareTokens")
456456 else false
457457 let lockSwop = if ((inv.dApp == swopFiGovermanceAddress))
458458 then if ((inv.function == "lockSWOP"))
459459 then true
460460 else (inv.function == "withdrawSWOP")
461461 else false
462462 let dAppAddress = match inv.dApp {
463463 case dApp: Address =>
464464 toString(dApp)
465465 case _ =>
466466 throw("Transaction must have only address")
467467 }
468468 let poolFunctions = if (containsElement(swopFiPools, dAppAddress))
469469 then containsElement(swopFiFunctions, inv.function)
470470 else false
471471 let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
472472 then true
473473 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey2))
474474 then true
475475 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey4))
476476 then true
477477 else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
478478 if (if (if (lockShareTokens)
479479 then true
480480 else poolFunctions)
481481 then true
482482 else lockSwop)
483483 then signedByAdmin
484484 else false
485485 case _ =>
486486 let adm1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
487487 then 1
488488 else 0
489489 let adm2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2))
490490 then 1
491491 else 0
492492 let adm3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3))
493493 then 1
494494 else 0
495495 (((adm1Signed + adm2Signed) + adm3Signed) >= 2)
496496 }
497497

github/deemru/w8io/026f985 
61.33 ms