tx · Def1aTeyH1TBKTzZ8hzUmKLTeKPHgHULmL5qjxAYVZ6G

3N28mjf56ZDzhGpFQVgFTuA6U6snixN1F4F:  -0.03000000 Waves

2024.11.08 23:58 [3362995] smart account 3N28mjf56ZDzhGpFQVgFTuA6U6snixN1F4F > SELF 0.00000000 Waves

{ "type": 13, "id": "Def1aTeyH1TBKTzZ8hzUmKLTeKPHgHULmL5qjxAYVZ6G", "fee": 3000000, "feeAssetId": null, "timestamp": 1731099558811, "version": 2, "chainId": 84, "sender": "3N28mjf56ZDzhGpFQVgFTuA6U6snixN1F4F", "senderPublicKey": "7BHuSdyDnrkksxAzJUPKg1XQ4gFK21M7zrbLh6Evj6zf", "proofs": [ "5zJonBC4Z6HbmF2pnNY35zTyaBdsmfsiNXFr2nU5bXjpuQupyk2PAtzzW5h9zGjgnV1NeD6Ko6QDQy2nrYvK8afk" ], "script": "base64:BgJDCAISBQoDCAgBEgASBgoECAgICBIDCgEIEgMKAQQSABIDCgEBEgASAwoBBBIECgIIARIFCgMEAQgSABIHCgUIAQEICD0ACXN0YXJ0VHNNcwCgy9Cb5jEBF2NhbGN1bGF0ZURheXNTaW5jZVN0YXJ0AAQEZGlmZgkAZQIIBQlsYXN0QmxvY2sJdGltZXN0YW1wBQlzdGFydFRzTXMECmRheXNQYXNzZWQJAGkCBQRkaWZmCQBoAgCAowUA6AcFCmRheXNQYXNzZWQBCmFzSW50VHVwbGUBBXZhbHVlBAckbWF0Y2gwBQV2YWx1ZQMJAAECBQckbWF0Y2gwAgooSW50LCBJbnQpBANpbnQFByRtYXRjaDAFA2ludAkAAgECH1dyb25nIHR5cGUsIGV4cGVjdGVkOiBUdXBsZSBJbnQBFHN0YXRpY0tleV9lZ2dBc3NldElkAAIRc3RhdGljX2VnZ0Fzc2V0SWQBFnN0YXRpY0tleV9zcGljZUFzc2V0SWQAAhNzdGF0aWNfc3BpY2VBc3NldElkARVzdGF0aWNLZXlfcGV0ZUFzc2V0SWQAAhJzdGF0aWNfcGV0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CeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAIFCWZpcnN0VXNlcgABAAAEEHNlY29uZFVzZXJTaWduZWQDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQpzZWNvbmRVc2VyAAEDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwABBQpzZWNvbmRVc2VyAAEDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwACBQpzZWNvbmRVc2VyAAEAAAQPdGhpcmRVc2VyU2lnbmVkAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUJdGhpcmRVc2VyAAEDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwABBQl0aGlyZFVzZXIAAQMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAIFCXRoaXJkVXNlcgABAAAED3NpZ25hdHVyZXNDb3VudAkAZAIJAGQCBQ9maXJzdFVzZXJTaWduZWQFEHNlY29uZFVzZXJTaWduZWQFD3RoaXJkVXNlclNpZ25lZAQHJG1hdGNoMAUCdHgJAGcCBQ9zaWduYXR1cmVzQ291bnQAAnHcupc=", "height": 3362995, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6JDXKwhJZodeS5Gf91GMZ4MtsMqrf5z8fFGgmCCx7Tnk Next: 3EScQxN7QpykzAgt8siSafmbnSYwEaQ4pf4TnEtRTLzd Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let startTsMs = 1711065540000
55
66 func calculateDaysSinceStart () = {
77 let diff = (lastBlock.timestamp - startTsMs)
88 let daysPassed = (diff / (86400 * 1000))
99 daysPassed
1010 }
1111
1212
1313 func asIntTuple (value) = match value {
1414 case int: (Int, Int) =>
1515 int
1616 case _ =>
1717 throw("Wrong type, expected: Tuple Int")
1818 }
1919
2020
2121 func staticKey_eggAssetId () = "static_eggAssetId"
2222
2323
2424 func staticKey_spiceAssetId () = "static_spiceAssetId"
2525
2626
2727 func staticKey_peteAssetId () = "static_peteAssetId"
2828
2929
3030 func staticKey_mutantFarmingAddress () = "static_mutantFarmingAddress"
3131
3232
3333 func staticKey_felineFarmingAddress () = "static_felineStakingAddress"
3434
3535
3636 func getOracleAddress () = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(this, "static_oracle"), "oracle not found!")), "could not parse oracle")
3737
3838
3939 func getFeesAccount () = addressFromStringValue(valueOrErrorMessage(getString(getOracleAddress(), "static_feeAggregator"), "static_feeAggregator not found!"))
4040
4141
4242 func getNodeAccount () = addressFromStringValue(valueOrErrorMessage(getString(getOracleAddress(), "static_nodeAddress"), "node_address not found!"))
4343
4444
4545 func getMutantFarmingAccount () = addressFromStringValue(valueOrErrorMessage(getString(getOracleAddress(), staticKey_mutantFarmingAddress()), (staticKey_mutantFarmingAddress() + " not found!")))
4646
4747
4848 func getFelineFarmingAccount () = addressFromStringValue(valueOrErrorMessage(getString(getOracleAddress(), staticKey_felineFarmingAddress()), (staticKey_felineFarmingAddress() + " not found!")))
4949
5050
5151 func getSpiceAssetId () = valueOrErrorMessage(getString(getOracleAddress(), staticKey_spiceAssetId()), (staticKey_spiceAssetId() + " not found!"))
5252
5353
5454 func getEggAssetId () = valueOrErrorMessage(getString(getOracleAddress(), staticKey_eggAssetId()), (staticKey_eggAssetId() + " not found!"))
5555
5656
5757 func getPeteAssetId () = valueOrErrorMessage(getString(getOracleAddress(), staticKey_peteAssetId()), (staticKey_peteAssetId() + " not found!"))
5858
5959
6060 func tryGetInteger (key) = match getInteger(this, key) {
6161 case b: Int =>
6262 b
6363 case _ =>
6464 0
6565 }
6666
6767
6868 func tryGetBinary (key) = match getBinary(this, key) {
6969 case b: ByteVector =>
7070 b
7171 case _ =>
7272 base58''
7373 }
7474
7575
7676 func tryGetString (key) = match getString(this, key) {
7777 case b: String =>
7878 b
7979 case _ =>
8080 ""
8181 }
8282
8383
8484 func getAssetString (assetId) = match assetId {
8585 case b: ByteVector =>
8686 toBase58String(b)
8787 case _ =>
8888 "WAVES"
8989 }
9090
9191
9292 func getAssetBytes (assetIdStr) = if ((assetIdStr == "WAVES"))
9393 then unit
9494 else fromBase58String(assetIdStr)
9595
9696
9797 func addAssetBytesToList (accum,item) = (accum ++ [getAssetBytes(item)])
9898
9999
100100 func addAssetWeightToList (accum,item) = (accum ++ [tryGetInteger((("static_" + getAssetString(item)) + "_weight"))])
101101
102102
103103 func addAssetDecimalsToList (accum,item) = (accum ++ [tryGetInteger((("static_" + getAssetString(item)) + "_decimals"))])
104104
105105
106106 func addAssetScaleToList (accum,item) = (accum ++ [tryGetInteger((("static_" + getAssetString(item)) + "_scale"))])
107107
108108
109109 func addIntToList (accum,item) = (accum ++ [parseIntValue(item)])
110110
111111
112112 func reveneuForDayByAssetOut (day,assetId) = ((("reveneu_day_" + assetId) + "_") + toString(day))
113113
114114
115115 func volumeForDayByIn (day,assetId) = ((("volume_day_" + assetId) + "_") + toString(day))
116116
117117
118118 let T = tryGetInteger("static_tokensAmount")
119119
120120 let assetIds = {
121121 let $l = split(tryGetString("static_tokenIds"), ",")
122122 let $s = size($l)
123123 let $acc0 = nil
124124 func $f0_1 ($a,$i) = if (($i >= $s))
125125 then $a
126126 else addAssetBytesToList($a, $l[$i])
127127
128128 func $f0_2 ($a,$i) = if (($i >= $s))
129129 then $a
130130 else throw("List size exceeds 10")
131131
132132 $f0_2($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)
133133 }
134134
135135 let AssetsWeights = {
136136 let $l = assetIds
137137 let $s = size($l)
138138 let $acc0 = nil
139139 func $f1_1 ($a,$i) = if (($i >= $s))
140140 then $a
141141 else addAssetWeightToList($a, $l[$i])
142142
143143 func $f1_2 ($a,$i) = if (($i >= $s))
144144 then $a
145145 else throw("List size exceeds 10")
146146
147147 $f1_2($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)
148148 }
149149
150150 let Decimals = {
151151 let $l = assetIds
152152 let $s = size($l)
153153 let $acc0 = nil
154154 func $f2_1 ($a,$i) = if (($i >= $s))
155155 then $a
156156 else addAssetDecimalsToList($a, $l[$i])
157157
158158 func $f2_2 ($a,$i) = if (($i >= $s))
159159 then $a
160160 else throw("List size exceeds 10")
161161
162162 $f2_2($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)
163163 }
164164
165165 let Scales = {
166166 let $l = assetIds
167167 let $s = size($l)
168168 let $acc0 = nil
169169 func $f3_1 ($a,$i) = if (($i >= $s))
170170 then $a
171171 else addAssetScaleToList($a, $l[$i])
172172
173173 func $f3_2 ($a,$i) = if (($i >= $s))
174174 then $a
175175 else throw("List size exceeds 10")
176176
177177 $f3_2($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)
178178 }
179179
180180 let stakeId = tryGetString("last_stake_id")
181181
182182 let Fee = tryGetInteger("static_fee")
183183
184184 let AssetsWeightsDecimals = 2
185185
186186 let Scale = 10000
187187
188188 let Scale8 = 100000000
189189
190190 let FeeScale = 10000
191191
192192 let PoolTokenDecimals = 8
193193
194194 let PoolTokenScale = pow(10, 0, PoolTokenDecimals, 0, 0, HALFUP)
195195
196196 let earnedAssets = assetIds
197197
198198 func burnFees () = if ((tryGetString("static_oracle") != ""))
199199 then match getBoolean(getOracleAddress(), ("amm_burn_" + toString(this))) {
200200 case x: Boolean =>
201201 x
202202 case _ =>
203203 false
204204 }
205205 else false
206206
207207
208208 func isShutdown () = {
209209 let shutdown = if ((tryGetString("static_oracle") != ""))
210210 then match getBoolean(getOracleAddress(), "amm_shutdown") {
211211 case x: Boolean =>
212212 x
213213 case _ =>
214214 false
215215 }
216216 else false
217217 let shutdown2 = match getBoolean(this, "is_shutdown") {
218218 case x: Boolean =>
219219 x
220220 case _ =>
221221 false
222222 }
223223 if (shutdown)
224224 then true
225225 else shutdown2
226226 }
227227
228228
229229 func canUpdate () = if ((tryGetString("static_oracle") != ""))
230230 then match getBoolean(getOracleAddress(), "amm_tx") {
231231 case x: Boolean =>
232232 x
233233 case _ =>
234234 true
235235 }
236236 else true
237237
238238
239239 func getCurrentTokenBalance (tokenType) = {
240240 let tokenId = getAssetString(assetIds[tokenType])
241241 tryGetInteger((("global_" + tokenId) + "_balance"))
242242 }
243243
244244
245245 func calculatePIssued (amount,tokenId) = {
246246 let Psupply = tryGetInteger("global_poolToken_amount")
247247 let Balance = tryGetInteger((("global_" + getAssetString(tokenId)) + "_balance"))
248248 fraction(amount, Psupply, Balance, DOWN)
249249 }
250250
251251
252252 func getMinPIssued (payments) = {
253253 func handler (accum,current) = {
254254 let PIssued = calculatePIssued(current.amount, current.assetId)
255255 if ((PIssued == 0))
256256 then throw("one of the tokens amounts is too low")
257257 else if (if ((accum == 0))
258258 then true
259259 else (accum > PIssued))
260260 then PIssued
261261 else accum
262262 }
263263
264264 let minPIssed = {
265265 let $l = payments
266266 let $s = size($l)
267267 let $acc0 = 0
268268 func $f4_1 ($a,$i) = if (($i >= $s))
269269 then $a
270270 else handler($a, $l[$i])
271271
272272 func $f4_2 ($a,$i) = if (($i >= $s))
273273 then $a
274274 else throw("List size exceeds 10")
275275
276276 $f4_2($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)
277277 }
278278 minPIssed
279279 }
280280
281281
282282 func checkTokensValidity (payments) = {
283283 func handler1 (accum,payment) = (accum ++ [payment.assetId])
284284
285285 let ids = {
286286 let $l = payments
287287 let $s = size($l)
288288 let $acc0 = nil
289289 func $f4_1 ($a,$i) = if (($i >= $s))
290290 then $a
291291 else handler1($a, $l[$i])
292292
293293 func $f4_2 ($a,$i) = if (($i >= $s))
294294 then $a
295295 else throw("List size exceeds 10")
296296
297297 $f4_2($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)
298298 }
299299 if ((ids == ids))
300300 then {
301301 func handler2 (accum,assetId) = if ((indexOf(ids, assetId) != unit))
302302 then (accum + 1)
303303 else throw(("asset not attached: " + getAssetString(assetId)))
304304
305305 let checks = {
306306 let $l = assetIds
307307 let $s = size($l)
308308 let $acc0 = 0
309309 func $f5_1 ($a,$i) = if (($i >= $s))
310310 then $a
311311 else handler2($a, $l[$i])
312312
313313 func $f5_2 ($a,$i) = if (($i >= $s))
314314 then $a
315315 else throw("List size exceeds 10")
316316
317317 $f5_2($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
318318 }
319319 if ((checks == checks))
320320 then true
321321 else throw("Strict value is not equal to itself.")
322322 }
323323 else throw("Strict value is not equal to itself.")
324324 }
325325
326326
327327 func stakeUnstake (stake,amount,assetId) = if (if ((assetId == "WAVES"))
328328 then (amount > 0)
329329 else false)
330330 then {
331331 let leasingAmount = valueOrElse(getInteger(this, "leasing_amount"), 0)
332332 let newLeaseAmount = if (stake)
333333 then (leasingAmount + amount)
334334 else (leasingAmount - amount)
335335 let newLease = Lease(getNodeAccount(), newLeaseAmount)
336336 let newLeaseId = calculateLeaseId(newLease)
337337 let data = [newLease, StringEntry("last_stake_id", toBase58String(newLeaseId)), IntegerEntry("leasing_amount", newLeaseAmount)]
338338 if ((stakeId != ""))
339339 then ([LeaseCancel(fromBase58String(stakeId))] ++ data)
340340 else data
341341 }
342342 else nil
343343
344344
345345 func handlePoolTokensAdd (PIssued,payments,userAddress,needChange) = {
346346 func getTokenPaymentAmount (tokenId) = {
347347 func handler (accum,payment) = if ((payment.assetId == tokenId))
348348 then payment.amount
349349 else accum
350350
351351 let $l = payments
352352 let $s = size($l)
353353 let $acc0 = 0
354354 func $f4_1 ($a,$i) = if (($i >= $s))
355355 then $a
356356 else handler($a, $l[$i])
357357
358358 func $f4_2 ($a,$i) = if (($i >= $s))
359359 then $a
360360 else throw("List size exceeds 10")
361361
362362 $f4_2($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)
363363 }
364364
365365 func handleTokenChange (accum,tokenId) = {
366366 let Bk = tryGetInteger((("global_" + getAssetString(tokenId)) + "_balance"))
367367 let PSupply = tryGetInteger("global_poolToken_amount")
368368 let tokenDecimals = tryGetInteger((("static_" + getAssetString(tokenId)) + "_scale"))
369369 let DkTemp = fraction((fraction((PSupply + PIssued), tokenDecimals, PSupply, CEILING) - tokenDecimals), Bk, tokenDecimals, CEILING)
370370 let paymentAmount = getTokenPaymentAmount(tokenId)
371371 let Dk = min([DkTemp, paymentAmount])
372372 let toReturn = ((if ((paymentAmount != 0))
373373 then paymentAmount
374374 else 0) - Dk)
375375 let t = if (if (needChange)
376376 then (toReturn > 0)
377377 else false)
378378 then [ScriptTransfer(userAddress, toReturn, tokenId)]
379379 else nil
380380 let stakeUnstakeData = if ((getAssetString(tokenId) == "WAVES"))
381381 then stakeUnstake(true, Dk, "WAVES")
382382 else nil
383383 (((accum ++ t) ++ stakeUnstakeData) ++ [IntegerEntry((("global_" + getAssetString(tokenId)) + "_balance"), (Bk + Dk))])
384384 }
385385
386386 let $l = assetIds
387387 let $s = size($l)
388388 let $acc0 = nil
389389 func $f4_1 ($a,$i) = if (($i >= $s))
390390 then $a
391391 else handleTokenChange($a, $l[$i])
392392
393393 func $f4_2 ($a,$i) = if (($i >= $s))
394394 then $a
395395 else throw("List size exceeds 10")
396396
397397 $f4_2($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)
398398 }
399399
400400
401401 func handlePoolTokensRedeem (PRedeemed,userAddress) = {
402402 func handleTokenRedeem (accum,tokenId) = {
403403 let Bk = tryGetInteger((("global_" + getAssetString(tokenId)) + "_balance"))
404404 let PSupply = tryGetInteger("global_poolToken_amount")
405405 let tokenDecimals = tryGetInteger((("static_" + getAssetString(tokenId)) + "_scale"))
406406 let amount = toInt(fraction((toBigInt(Scale8) - fraction(toBigInt((PSupply - PRedeemed)), toBigInt(Scale8), toBigInt(PSupply), CEILING)), toBigInt(Bk), toBigInt(Scale8), DOWN))
407407 let stakeUnstakeData = if ((getAssetString(tokenId) == "WAVES"))
408408 then stakeUnstake(false, amount, "WAVES")
409409 else nil
410410 ((accum ++ stakeUnstakeData) ++ [IntegerEntry((("global_" + getAssetString(tokenId)) + "_balance"), (Bk - amount)), ScriptTransfer(userAddress, amount, tokenId)])
411411 }
412412
413413 let $l = assetIds
414414 let $s = size($l)
415415 let $acc0 = nil
416416 func $f4_1 ($a,$i) = if (($i >= $s))
417417 then $a
418418 else handleTokenRedeem($a, $l[$i])
419419
420420 func $f4_2 ($a,$i) = if (($i >= $s))
421421 then $a
422422 else throw("List size exceeds 10")
423423
424424 $f4_2($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)
425425 }
426426
427427
428428 func calculateOutAmount (AmountIn,assetIn,assetOut,BalanceIn,BalanceOut) = {
429429 let IndexIn = value(indexOf(assetIds, assetIn))
430430 let IndexOut = value(indexOf(assetIds, assetOut))
431431 if ((IndexIn == IndexOut))
432432 then throw("wrong tokens pair")
433433 else fraction(BalanceOut, ((Scale8 * Scale8) - toInt(pow(fraction(toBigInt(BalanceIn), toBigInt((Scale8 * Scale8)), toBigInt((BalanceIn + AmountIn)), HALFUP), 16, toBigInt(fraction(AssetsWeights[IndexIn], 10000, AssetsWeights[IndexOut])), 4, 16, CEILING))), (Scale8 * Scale8), DOWN)
434434 }
435435
436436
437437 func calculateMinToGet (asset1,asset2,amountToSwap) = {
438438 let kBalanceA = (("global_" + asset1) + "_balance")
439439 let A_asset_balance = getIntegerValue(this, kBalanceA)
440440 let kBalanceB = (("global_" + asset2) + "_balance")
441441 let B_asset_balance = getIntegerValue(this, kBalanceB)
442442 let toGet = calculateOutAmount(amountToSwap, getAssetBytes(asset1), getAssetBytes(asset2), A_asset_balance, B_asset_balance)
443443 let feeAmount = fraction(toGet, Fee, FeeScale)
444444 if ((feeAmount == feeAmount))
445445 then {
446446 let cleanAmountOut = (toGet - feeAmount)
447447 if ((cleanAmountOut == cleanAmountOut))
448448 then cleanAmountOut
449449 else throw("Strict value is not equal to itself.")
450450 }
451451 else throw("Strict value is not equal to itself.")
452452 }
453453
454454
455455 func getTokenBalance (assetId) = match assetId {
456456 case t: ByteVector =>
457457 assetBalance(this, t)
458458 case _ =>
459459 wavesBalance(this).regular
460460 }
461461
462462
463463 func calculateCurrentAssetInterest (assetId,assetIdStr,aBalance,tokenEarningsLastCheck) = {
464464 let totalStaked = tryGetInteger("global_indexStaked")
465465 let tokenBalanceLastCheck = tokenEarningsLastCheck
466466 let currentBalanceDelta = (getTokenBalance(assetId) - aBalance)
467467 let currentTokenEarnings = if ((currentBalanceDelta > tokenBalanceLastCheck))
468468 then currentBalanceDelta
469469 else tokenBalanceLastCheck
470470 let newEarnings = (currentTokenEarnings - tokenBalanceLastCheck)
471471 let newInterest = if ((totalStaked == 0))
472472 then 0
473473 else fraction(newEarnings, Scale8, totalStaked)
474474 let lastCheckInterest = tryGetInteger((("global_lastCheck_" + assetIdStr) + "_interest"))
475475 (lastCheckInterest + newInterest)
476476 }
477477
478478
479479 func claimResult (address) = {
480480 let addressStr = toString(address)
481481 let shareAmount = tryGetInteger((addressStr + "_indexStaked"))
482482 func handler (accum,assetId) = {
483483 let assetIdStr = getAssetString(assetId)
484484 let aBalance = tryGetInteger((("global_" + getAssetString(assetId)) + "_balance"))
485485 let tokenEarningsLastCheck = tryGetInteger((("global_lastCheck_" + assetIdStr) + "_earnings"))
486486 let currentTokenInterest = calculateCurrentAssetInterest(assetId, assetIdStr, aBalance, tokenEarningsLastCheck)
487487 let currentTokenEarnings = max([tokenEarningsLastCheck, (getTokenBalance(assetId) - aBalance)])
488488 let rewardAmount = fraction(shareAmount, (currentTokenInterest - tryGetInteger((((addressStr + "_lastCheck_") + assetIdStr) + "_interest"))), Scale8)
489489 let transfer = if ((rewardAmount == 0))
490490 then nil
491491 else [ScriptTransfer(address, rewardAmount, assetId)]
492492 let claimed = tryGetInteger((((addressStr + "_lastCheck_") + assetIdStr) + "_claimed"))
493493 ((accum ++ transfer) ++ [IntegerEntry((("global_lastCheck_" + assetIdStr) + "_earnings"), (currentTokenEarnings - rewardAmount)), IntegerEntry((("global_lastCheck_" + assetIdStr) + "_interest"), currentTokenInterest), IntegerEntry((((addressStr + "_lastCheck_") + assetIdStr) + "_interest"), currentTokenInterest), IntegerEntry((((addressStr + "_lastCheck_") + assetIdStr) + "_claimed"), (claimed + rewardAmount))])
494494 }
495495
496496 let accum = {
497497 let $l = earnedAssets
498498 let $s = size($l)
499499 let $acc0 = nil
500500 func $f4_1 ($a,$i) = if (($i >= $s))
501501 then $a
502502 else handler($a, $l[$i])
503503
504504 func $f4_2 ($a,$i) = if (($i >= $s))
505505 then $a
506506 else throw("List size exceeds 10")
507507
508508 $f4_2($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)
509509 }
510510 (accum ++ [IntegerEntry((addressStr + "_lastClaim"), lastBlock.timestamp)])
511511 }
512512
513513
514514 func indexStakeResult (addressStr,amount) = {
515515 let li = claimResult(addressFromStringValue(addressStr))
516516 (li ++ [IntegerEntry((addressStr + "_indexStaked"), (tryGetInteger((addressStr + "_indexStaked")) + amount)), IntegerEntry("global_indexStaked", (tryGetInteger("global_indexStaked") + amount))])
517517 }
518518
519519
520520 func sum (accum,n) = (accum + parseIntValue(n))
521521
522522
523523 func setOracleAddressAndInitiate (address) = [StringEntry("static_oracle", address)]
524524
525525
526526 func isTestEnv () = {
527527 let testenv = match getBoolean(this, "TESTENV") {
528528 case x: Boolean =>
529529 x
530530 case _ =>
531531 false
532532 }
533533 testenv
534534 }
535535
536536
537537 @Callable(i)
538538 func readOnlyFunc (asset1,asset2,amountToSwap) = {
539539 let amountOut = calculateMinToGet(asset1, asset2, amountToSwap)
540540 [IntegerEntry("DEBUG", amountOut)]
541541 }
542542
543543
544544
545545 @Callable(i)
546546 func topUpFunds () = if ((size(i.payments) != 1))
547547 then throw("Wrong payments attached!")
548548 else {
549549 let payment = i.payments[0]
550550 let asset = payment.assetId
551551 if ((indexOf(assetIds, asset) == unit))
552552 then throw("Not supported assetId")
553553 else {
554554 let amount = payment.amount
555555 let aBalance = tryGetInteger((("global_" + getAssetString(asset)) + "_balance"))
556556 let day = calculateDaysSinceStart()
557557 let reveneu = tryGetInteger(reveneuForDayByAssetOut(day, getAssetString(asset)))
558558 [IntegerEntry((("global_" + getAssetString(asset)) + "_balance"), (aBalance + amount)), IntegerEntry("days_since_apy", day), IntegerEntry(reveneuForDayByAssetOut(day, getAssetString(asset)), (reveneu + amount))]
559559 }
560560 }
561561
562562
563563
564564 @Callable(i)
565565 func preInit (assetIdsStr,assetWeightsStr,baseTokenIdStr,poolDomain) = if ((this != i.caller))
566566 then throw("admin only")
567567 else if ((size(poolDomain) > 13))
568568 then throw("too large pool domain")
569569 else {
570570 let assetIdsStrLi = split(assetIdsStr, ",")
571571 let assetIdsLi = {
572572 let $l = assetIdsStrLi
573573 let $s = size($l)
574574 let $acc0 = nil
575575 func $f4_1 ($a,$i) = if (($i >= $s))
576576 then $a
577577 else addAssetBytesToList($a, $l[$i])
578578
579579 func $f4_2 ($a,$i) = if (($i >= $s))
580580 then $a
581581 else throw("List size exceeds 10")
582582
583583 $f4_2($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)
584584 }
585585 let assetWeightsStrLi = split(assetWeightsStr, ",")
586586 let assetWeightsSum = {
587587 let $l = assetWeightsStrLi
588588 let $s = size($l)
589589 let $acc0 = 0
590590 func $f5_1 ($a,$i) = if (($i >= $s))
591591 then $a
592592 else sum($a, $l[$i])
593593
594594 func $f5_2 ($a,$i) = if (($i >= $s))
595595 then $a
596596 else throw("List size exceeds 10")
597597
598598 $f5_2($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
599599 }
600600 func addTokenDataEntries (accum,assetNum) = if ((assetNum >= size(assetIdsLi)))
601601 then accum
602602 else {
603603 let assetDecimals = match assetIdsLi[assetNum] {
604604 case x: ByteVector =>
605605 value(assetInfo(assetIdsLi[assetNum])).decimals
606606 case _ =>
607607 8
608608 }
609609 (accum ++ [IntegerEntry((("static_" + assetIdsStrLi[assetNum]) + "_scale"), pow(10, 0, assetDecimals, 0, 0, DOWN)), IntegerEntry((("static_" + assetIdsStrLi[assetNum]) + "_decimals"), assetDecimals), IntegerEntry((("static_" + assetIdsStrLi[assetNum]) + "_weight"), value(parseInt(assetWeightsStrLi[assetNum])))])
610610 }
611611
612612 if ((assetWeightsSum != 100))
613613 then throw("sum of token weights must be equal to 100")
614614 else ({
615615 let $l = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
616616 let $s = size($l)
617617 let $acc0 = nil
618618 func $f6_1 ($a,$i) = if (($i >= $s))
619619 then $a
620620 else addTokenDataEntries($a, $l[$i])
621621
622622 func $f6_2 ($a,$i) = if (($i >= $s))
623623 then $a
624624 else throw("List size exceeds 10")
625625
626626 $f6_2($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
627627 } ++ [StringEntry("static_tokenIds", assetIdsStr), StringEntry("static_tokenWeights", assetWeightsStr), IntegerEntry("static_tokensAmount", size(assetIdsLi)), StringEntry("static_poolDomain", poolDomain), StringEntry("static_baseTokenId", baseTokenIdStr), IntegerEntry("static_fee", 100)])
628628 }
629629
630630
631631
632632 @Callable(i)
633633 func init (oracle) = {
634634 func prepareList () = {
635635 func handler (accum,n) = (accum ++ [IntegerEntry((("global_" + getAssetString(n.assetId)) + "_balance"), n.amount)])
636636
637637 let $l = i.payments
638638 let $s = size($l)
639639 let $acc0 = nil
640640 func $f4_1 ($a,$i) = if (($i >= $s))
641641 then $a
642642 else handler($a, $l[$i])
643643
644644 func $f4_2 ($a,$i) = if (($i >= $s))
645645 then $a
646646 else throw("List size exceeds 10")
647647
648648 $f4_2($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)
649649 }
650650
651651 func calculatePoolTokensAmount (payments) = {
652652 func handler (accum,pmt) = {
653653 let assetId = pmt.assetId
654654 func handler2 (accum,n) = if ((n == assetId))
655655 then value(indexOf(assetIds, n))
656656 else accum
657657
658658 let Token = {
659659 let $l = assetIds
660660 let $s = size($l)
661661 let $acc0 = 1
662662 func $f4_1 ($a,$i) = if (($i >= $s))
663663 then $a
664664 else handler2($a, $l[$i])
665665
666666 func $f4_2 ($a,$i) = if (($i >= $s))
667667 then $a
668668 else throw("List size exceeds 10")
669669
670670 $f4_2($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)
671671 }
672672 fraction(accum, pow(pmt.amount, Decimals[Token], AssetsWeights[Token], AssetsWeightsDecimals, 8, FLOOR), Scale8)
673673 }
674674
675675 let $l = payments
676676 let $s = size($l)
677677 let $acc0 = PoolTokenScale
678678 func $f4_1 ($a,$i) = if (($i >= $s))
679679 then $a
680680 else handler($a, $l[$i])
681681
682682 func $f4_2 ($a,$i) = if (($i >= $s))
683683 then $a
684684 else throw("List size exceeds 10")
685685
686686 $f4_2($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)
687687 }
688688
689689 if ((tryGetInteger("global_wasInited") > 0))
690690 then throw("pool already inited")
691691 else {
692692 let initialPoolTokens = calculatePoolTokensAmount(i.payments)
693693 if ((initialPoolTokens == 0))
694694 then throw("you need a bigger tokens amount to launch the pool")
695695 else {
696696 let poolTokenIssue = Issue(("WD " + tryGetString("static_poolDomain")), "WD pool token", initialPoolTokens, PoolTokenDecimals, true, unit, 0)
697697 let poolTokenId = calculateAssetId(poolTokenIssue)
698698 ((prepareList() ++ [poolTokenIssue, IntegerEntry("global_poolToken_amount", initialPoolTokens), IntegerEntry("global_wasInited", 1), BinaryEntry("global_poolToken_id", poolTokenId), StringEntry("static_poolToken_idStr", getAssetString(poolTokenId)), ScriptTransfer(i.caller, initialPoolTokens, poolTokenId)]) ++ setOracleAddressAndInitiate(oracle))
699699 }
700700 }
701701 }
702702
703703
704704
705705 @Callable(i)
706706 func generateIndex (needChange) = if ((size(i.payments) != T))
707707 then throw(("you need to attach all pool tokens. amount of pool tokens: " + toString(T)))
708708 else if (!(checkTokensValidity(i.payments)))
709709 then throw("wrong assets attached")
710710 else {
711711 let PIssued = getMinPIssued(i.payments)
712712 let reissue = Reissue(getBinaryValue("global_poolToken_id"), PIssued, true)
713713 let result = handlePoolTokensAdd(PIssued, i.payments, i.originCaller, needChange)
714714 $Tuple2((result ++ [reissue, ScriptTransfer(i.caller, PIssued, tryGetBinary("global_poolToken_id")), IntegerEntry("global_poolToken_amount", (tryGetInteger("global_poolToken_amount") + PIssued))]), PIssued)
715715 }
716716
717717
718718
719719 @Callable(i)
720720 func stakeIndex () = {
721721 let addressStr = toString(i.originCaller)
722722 let pmt = i.payments[0]
723723 if ((value(pmt.assetId) != tryGetBinary("global_poolToken_id")))
724724 then throw("wrong asset attached")
725725 else indexStakeResult(addressStr, pmt.amount)
726726 }
727727
728728
729729
730730 @Callable(i)
731731 func unstakeIndex (shareAmount) = {
732732 let addressStr = toString(i.originCaller)
733733 let shareAvailable = tryGetInteger((addressStr + "_indexStaked"))
734734 if ((shareAmount > shareAvailable))
735735 then throw("you don't have index tokens available")
736736 else (claimResult(i.originCaller) ++ [IntegerEntry((addressStr + "_indexStaked"), (shareAvailable - shareAmount)), IntegerEntry("global_indexStaked", (tryGetInteger("global_indexStaked") - shareAmount)), ScriptTransfer(i.caller, shareAmount, getBinaryValue("global_poolToken_id"))])
737737 }
738738
739739
740740
741741 @Callable(i)
742742 func claimIndexRewards () = claimResult(i.caller)
743743
744744
745745
746746 @Callable(i)
747747 func redeemIndex (sendToOrigin) = {
748748 let pmt = i.payments[0]
749749 if ((pmt.assetId != tryGetBinary("global_poolToken_id")))
750750 then throw("please attach pool share token")
751751 else {
752752 let PRedeemed = pmt.amount
753753 let result = handlePoolTokensRedeem(PRedeemed, if (sendToOrigin)
754754 then i.originCaller
755755 else i.caller)
756756 (result ++ [Burn(tryGetBinary("global_poolToken_id"), PRedeemed), IntegerEntry("global_poolToken_amount", (tryGetInteger("global_poolToken_amount") - PRedeemed))])
757757 }
758758 }
759759
760760
761761
762762 @Callable(i)
763763 func swap (assetOut,minimum) = if (isShutdown())
764764 then throw("Pool is currently shutdown")
765765 else {
766766 let pmt = value(i.payments[0])
767767 let AmountIn = value(i.payments[0].amount)
768768 let AssetIn = pmt.assetId
769769 let invokeSwap = asIntTuple(reentrantInvoke(this, "swapInternal", [assetOut, minimum, AmountIn, getAssetString(AssetIn), toString(i.caller)], nil))
770770 if ((invokeSwap == invokeSwap))
771771 then {
772772 let cleanAmountOut = invokeSwap._1
773773 if ((cleanAmountOut == cleanAmountOut))
774774 then {
775775 let feeAmount = invokeSwap._2
776776 if ((feeAmount == feeAmount))
777777 then {
778778 let feesManagement = if (if (burnFees())
779779 then (assetOut != "WAVES")
780780 else false)
781781 then [Burn(value(getAssetBytes(assetOut)), fraction(feeAmount, 2, 4)), IntegerEntry((("global_" + assetOut) + "_burned"), (tryGetInteger((("global_" + assetOut) + "_burned")) + fraction(feeAmount, 2, 4)))]
782782 else if ((assetOut == getPeteAssetId()))
783783 then {
784784 let topup2 = invoke(getFelineFarmingAccount(), "topUpReward", nil, [AttachedPayment(fromBase58String(getPeteAssetId()), fraction(feeAmount, 1, 4))])
785785 if ((topup2 == topup2))
786786 then [ScriptTransfer(getFeesAccount(), fraction(feeAmount, 1, 4), getAssetBytes(assetOut))]
787787 else throw("Strict value is not equal to itself.")
788788 }
789789 else [ScriptTransfer(getFeesAccount(), fraction(feeAmount, 2, 4), getAssetBytes(assetOut))]
790790 if ((feesManagement == feesManagement))
791791 then $Tuple2(feesManagement, cleanAmountOut)
792792 else throw("Strict value is not equal to itself.")
793793 }
794794 else throw("Strict value is not equal to itself.")
795795 }
796796 else throw("Strict value is not equal to itself.")
797797 }
798798 else throw("Strict value is not equal to itself.")
799799 }
800800
801801
802802
803803 @Callable(i)
804804 func internal (stake,amount,assetId) = if ((i.caller != this))
805805 then throw("Not allowed")
806806 else stakeUnstake(stake, amount, assetId)
807807
808808
809809
810810 @Callable(i)
811811 func stakeAll () = stakeUnstake(true, (tryGetInteger("global_WAVES_balance") - tryGetInteger("leasing_amount")), "WAVES")
812812
813813
814814
815815 @Callable(i)
816816 func swapInternal (assetOut,minimum,AmountIn,AssetIn,caller) = if ((i.caller != this))
817817 then throw("You cant call this directly")
818818 else {
819819 let AssetOut = getAssetBytes(assetOut)
820820 let day = calculateDaysSinceStart()
821821 let reveneu = tryGetInteger(reveneuForDayByAssetOut(day, assetOut))
822822 let AssetInBalance = tryGetInteger((("global_" + AssetIn) + "_balance"))
823823 if ((AssetInBalance == AssetInBalance))
824824 then {
825825 let AssetOutBalance = tryGetInteger((("global_" + assetOut) + "_balance"))
826826 if ((AssetOutBalance == AssetOutBalance))
827827 then {
828828 let AmountOut = calculateOutAmount(AmountIn, getAssetBytes(AssetIn), AssetOut, AssetInBalance, AssetOutBalance)
829829 if ((AmountOut == AmountOut))
830830 then {
831831 let feeAmount = fraction(AmountOut, Fee, FeeScale)
832832 if ((feeAmount == feeAmount))
833833 then {
834834 let cleanAmountOut = (AmountOut - feeAmount)
835835 if ((cleanAmountOut == cleanAmountOut))
836836 then if ((minimum > cleanAmountOut))
837837 then throw(("amount to recieve is lower than given one: " + toString(cleanAmountOut)))
838838 else if ((0 > (AssetOutBalance - AmountOut)))
839839 then throw("contract is out of reserves")
840840 else if ((AssetOut == getAssetBytes(AssetIn)))
841841 then throw("this swap is not allowed")
842842 else {
843843 let volumeKey = volumeForDayByIn(day, AssetIn)
844844 let volume = tryGetInteger(volumeKey)
845845 let newBalanceIn = (AssetInBalance + AmountIn)
846846 if ((newBalanceIn == newBalanceIn))
847847 then {
848848 let stake = reentrantInvoke(this, "internal", [true, AmountIn, AssetIn], nil)
849849 if ((stake == stake))
850850 then {
851851 let newBalanceOut = (AssetOutBalance - AmountOut)
852852 if ((newBalanceOut == newBalanceOut))
853853 then {
854854 let unstake = reentrantInvoke(this, "internal", [false, (cleanAmountOut + fraction(feeAmount, 3, 4)), assetOut], nil)
855855 if ((unstake == unstake))
856856 then $Tuple2([IntegerEntry((("global_" + assetOut) + "_balance"), (newBalanceOut + fraction(feeAmount, 1, 4))), ScriptTransfer(addressFromStringValue(caller), cleanAmountOut, AssetOut), IntegerEntry((("global_" + AssetIn) + "_balance"), newBalanceIn), IntegerEntry("days_since_apy", day), IntegerEntry(reveneuForDayByAssetOut(day, assetOut), (reveneu + feeAmount)), IntegerEntry(volumeKey, (volume + AmountIn))], $Tuple2(cleanAmountOut, feeAmount))
857857 else throw("Strict value is not equal to itself.")
858858 }
859859 else throw("Strict value is not equal to itself.")
860860 }
861861 else throw("Strict value is not equal to itself.")
862862 }
863863 else throw("Strict value is not equal to itself.")
864864 }
865865 else throw("Strict value is not equal to itself.")
866866 }
867867 else throw("Strict value is not equal to itself.")
868868 }
869869 else throw("Strict value is not equal to itself.")
870870 }
871871 else throw("Strict value is not equal to itself.")
872872 }
873873 else throw("Strict value is not equal to itself.")
874874 }
875875
876876
877877 @Verifier(tx)
878878 func verify () = if (isTestEnv())
879879 then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
880880 else {
881881 let firstUser = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
882882 let secondUser = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
883883 let thirdUser = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
884884 let firstUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], firstUser))
885885 then 1
886886 else if (sigVerify(tx.bodyBytes, tx.proofs[1], firstUser))
887887 then 1
888888 else if (sigVerify(tx.bodyBytes, tx.proofs[2], firstUser))
889889 then 1
890890 else 0
891891 let secondUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], secondUser))
892892 then 1
893893 else if (sigVerify(tx.bodyBytes, tx.proofs[1], secondUser))
894894 then 1
895895 else if (sigVerify(tx.bodyBytes, tx.proofs[2], secondUser))
896896 then 1
897897 else 0
898898 let thirdUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], thirdUser))
899899 then 1
900900 else if (sigVerify(tx.bodyBytes, tx.proofs[1], thirdUser))
901901 then 1
902902 else if (sigVerify(tx.bodyBytes, tx.proofs[2], thirdUser))
903903 then 1
904904 else 0
905905 let signaturesCount = ((firstUserSigned + secondUserSigned) + thirdUserSigned)
906906 match tx {
907907 case _ =>
908908 (signaturesCount >= 2)
909909 }
910910 }
911911

github/deemru/w8io/026f985 
94.69 ms