tx · 3Es2KFXHrZroowb9sKDfmhFq5M3hXCGBRDMYKX4h8x7H

3MzqQ3HKdkHmJmk9mDhAeAMxmK5D2ztdAe5:  -0.03800000 Waves

2023.02.13 10:10 [2447513] smart account 3MzqQ3HKdkHmJmk9mDhAeAMxmK5D2ztdAe5 > SELF 0.00000000 Waves

{ "type": 13, "id": "3Es2KFXHrZroowb9sKDfmhFq5M3hXCGBRDMYKX4h8x7H", "fee": 3800000, "feeAssetId": null, "timestamp": 1676272258545, "version": 2, "chainId": 84, "sender": "3MzqQ3HKdkHmJmk9mDhAeAMxmK5D2ztdAe5", "senderPublicKey": "FEnkfXnQZkk1FmjhH6QZqyK2taN6ngnZBexevKxouLUM", "proofs": [ "4o1GgK9kKBaK7wzTCej2GCeBq2k1tNw4K8B41JSQA2DXUrn1TxCddNzij1GWJ94xdbHrQG1npwyt9tLRFoBm68w2", "5zuC1ZZUy7MRQP343fdJGFRk6QAgFs8xNAeuczBpZukFT5Bb4NATAbocDpqZbmovGShC3FgLSddcxZjappUCFfSA" ], "script": "base64:BgJKCAISBgoEAhgREhIGCgQCGBESEgYKBAIYERISBgoEAhgREhIGCgQCGBESEgYKBAIYERISBgoEAhgREhIGCgQCGBESEgYKBAIYERJOAAd2ZXJzaW9uAgUxLjAuMAAIa1ZlcnNpb24CB3ZlcnNpb24AB2tBY3RpdmUCBmFjdGl2ZQALa0RlcHJlY2F0ZWQCC2RlcHJlY2F0ZWRfAAlrQXNzZXRJZEECCkFfYXNzZXRfaWQACWtBc3NldElkQgIKQl9hc3NldF9pZAAJa0JhbGFuY2VBAg9BX2Fzc2V0X2JhbGFuY2UACWtCYWxhbmNlQgIPQl9hc3NldF9iYWxhbmNlAA1rQmFsYW5jZUluaXRBAgxBX2Fzc2V0X2luaXQADWtCYWxhbmNlSW5pdEICDEJfYXNzZXRfaW5pdAANa1NoYXJlQXNzZXRJZAIOc2hhcmVfYXNzZXRfaWQAEWtTaGFyZUFzc2V0U3VwcGx5AhJzaGFyZV9h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AAAMJAAACBQZzdGFrZTIFBnN0YWtlMgkAlAoCBQNuaWwJAJQKAgkAzAgCCQEMSW50ZWdlckVudHJ5AgUJa0JhbGFuY2VBCQBkAgUIYmFsYW5jZUEFDWFtb3VudEVucm9sbEEJAMwIAgkBDEludGVnZXJFbnRyeQIFCWtCYWxhbmNlQgkAZAIFCGJhbGFuY2VCBQ1hbW91bnRFbnJvbGxCBQNuaWwFA25pbAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgECdHgBBnZlcmlmeQAEE211bHRpU2lnbmVkQnlBZG1pbnMEEmFkbWluUHViS2V5MVNpZ25lZAMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFDGFkbWluUHViS2V5MQABAAAEEmFkbWluUHViS2V5MlNpZ25lZAMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAEFDGFkbWluUHViS2V5MgABAAAEEmFkbWluUHViS2V5M1NpZ25lZAMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAIFDGFkbWluUHViS2V5MwABAAAJAGcCCQBkAgkAZAIFEmFkbWluUHViS2V5MVNpZ25lZAUSYWRtaW5QdWJLZXkyU2lnbmVkBRJhZG1pblB1YktleTNTaWduZWQAAgUTbXVsdGlTaWduZWRCeUFkbWluc+hU+uA=", "height": 2447513, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: F9eXFKYMaCAQo7C2KukEhkZtdejke1yvGJc2Cx1fNFcB Next: B8rwraAgwoqQa3KKF1HgHUbUE5HS7ZBW9PCfJVm3RiFz Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let version = "1.0.0"
55
66 let kVersion = "version"
77
88 let kActive = "active"
99
1010 let kDeprecated = "deprecated_"
1111
1212 let kAssetIdA = "A_asset_id"
1313
1414 let kAssetIdB = "B_asset_id"
1515
1616 let kBalanceA = "A_asset_balance"
1717
1818 let kBalanceB = "B_asset_balance"
1919
2020 let kBalanceInitA = "A_asset_init"
2121
2222 let kBalanceInitB = "B_asset_init"
2323
2424 let kShareAssetId = "share_asset_id"
2525
2626 let kShareAssetSupply = "share_asset_supply"
2727
2828 let kFee = "commission"
2929
3030 let kCause = "shutdown_cause"
3131
3232 let kFirstHarvest = "first_harvest"
3333
3434 let kFirstHarvestHeight = "first_harvest_height"
3535
3636 let kShareLimit = "share_limit_on_first_harvest"
3737
3838 let kBasePeriod = "base_period"
3939
4040 let kPeriodLength = "period_length"
4141
4242 let kStartHeight = "start_height"
4343
4444 let kUSDNAddress = "staking_usdnnsbt_address"
4545
4646 let kEURNAddress = "staking_eurn_address"
4747
4848 let kLeasingAmount = "leasing_amount"
4949
5050 let kUSDNAssetId = "usdn_asset_id"
5151
5252 let kEURNAssetId = "eurn_asset_id"
5353
5454 let kStakingAssets = "staking_assets"
5555
5656 let kOracleActive = "active_all_contracts"
5757
5858 let kDiscounts = "discounts"
5959
6060 let kDiscountValues = "discount_values"
6161
6262 let kUserGSwopInGov = "_GSwop_amount"
6363
6464 let kUserSwopInGov = "_SWOP_amount"
6565
6666 let kOraclePool = "pool_"
6767
6868 let kAdminPubKey1 = "admin_pub_1"
6969
7070 let kAdminPubKey2 = "admin_pub_2"
7171
7272 let kAdminPubKey3 = "admin_pub_3"
7373
7474 let kAdminInvokePubKey = "admin_invoke_pub"
7575
7676 let kMoneyBoxAddress = "money_box_address"
7777
7878 let kVotingAddress = "voting_address"
7979
8080 let kGovAddress = "governance_address"
8181
8282 let kFarmingAddress = "farming_address"
8383
8484 let oracle = Address(base58'3MvVBtsXroQpy1tsPw21TU2ET9A8WfmrNjz')
8585
8686 func getBase58FromOracle (key) = match getString(oracle, key) {
8787 case string: String =>
8888 fromBase58String(string)
8989 case nothing =>
9090 throw((key + "is empty"))
9191 }
9292
9393
9494 let adminPubKey1 = getBase58FromOracle(kAdminPubKey1)
9595
9696 let adminPubKey2 = getBase58FromOracle(kAdminPubKey2)
9797
9898 let adminPubKey3 = getBase58FromOracle(kAdminPubKey3)
9999
100100 let adminInvokePubKey = getBase58FromOracle(kAdminInvokePubKey)
101101
102102 let moneyBoxAddress = Address(getBase58FromOracle(kMoneyBoxAddress))
103103
104104 let votingAddress = Address(getBase58FromOracle(kVotingAddress))
105105
106106 let govAddress = Address(getBase58FromOracle(kGovAddress))
107107
108108 let farmingAddress = Address(getBase58FromOracle(kFarmingAddress))
109109
110110 let USDN = getBase58FromOracle(kUSDNAssetId)
111111
112112 let EURN = getBase58FromOracle(kEURNAssetId)
113113
114114 let stakingAssets = getStringValue(oracle, kStakingAssets)
115115
116116 let stakingUSDNAddress = Address(getBase58FromOracle(kUSDNAddress))
117117
118118 let stakingEURNAddress = Address(getBase58FromOracle(kEURNAddress))
119119
120120 let basePeriod = valueOrErrorMessage(getInteger(votingAddress, kBasePeriod), "Empty kBasePeriod")
121121
122122 let startHeight = valueOrErrorMessage(getInteger(votingAddress, kStartHeight), "Empty kStartHeight")
123123
124124 let periodLength = valueOrErrorMessage(getInteger(votingAddress, kPeriodLength), "Empty kPeriodLength")
125125
126126 let firstHarvestEndPeriod = ((basePeriod + ((height - startHeight) / periodLength)) + 3)
127127
128128 let active = getBooleanValue(oracle, kOracleActive)
129129
130130 let feeScale6 = 1000000
131131
132132 let scale8 = 100000000
133133
134134 let scale16 = toBigInt(10000000000000000)
135135
136136 func accountBalance (assetId,pool) = match assetId {
137137 case id: ByteVector =>
138138 assetBalance(pool, id)
139139 case waves: Unit =>
140140 wavesBalance(pool).available
141141 case _ =>
142142 throw("Match error")
143143 }
144144
145145
146146 func stakedAmount (assetId,pool) = {
147147 let stakedAmountCalculated = match assetId {
148148 case aId: ByteVector =>
149149 if ((aId == USDN))
150150 then getInteger(stakingUSDNAddress, ((("rpd_balance_" + toBase58String(aId)) + "_") + toString(pool)))
151151 else if ((aId == EURN))
152152 then getInteger(stakingEURNAddress, ((("%s%s%s__stakingBalance__" + toBase58String(aId)) + "__") + toString(pool)))
153153 else 0
154154 case _: Unit =>
155155 valueOrElse(getInteger(pool, kLeasingAmount), 0)
156156 case _ =>
157157 throw("Match error")
158158 }
159159 match stakedAmountCalculated {
160160 case i: Int =>
161161 i
162162 case _ =>
163163 0
164164 }
165165 }
166166
167167
168168 func getAssetInfo (assetId) = match assetId {
169169 case id: String|ByteVector =>
170170 let $t039714143 = match id {
171171 case aId: ByteVector =>
172172 $Tuple2(toBase58String(aId), aId)
173173 case aId: String =>
174174 $Tuple2(aId, fromBase58String(aId))
175175 case _ =>
176176 throw("Match error")
177177 }
178178 let stringId = $t039714143._1
179179 let bytesId = $t039714143._2
180180 let info = valueOrErrorMessage(assetInfo(bytesId), (("Asset " + stringId) + " doesn't exist"))
181181 $Tuple3(stringId, info.name, info.decimals)
182182 case waves: Unit =>
183183 $Tuple3("WAVES", "WAVES", 8)
184184 case _ =>
185185 throw("Match error")
186186 }
187187
188188
189189 func suspend (cause) = [BooleanEntry(kActive, false), StringEntry(kCause, cause)]
190190
191191
192192 func calculateFeeDiscount (userAddr) = {
193193 let swopAmount = valueOrElse(getInteger(govAddress, (toString(userAddr) + kUserSwopInGov)), 0)
194194 let gSwopAmount = valueOrElse(getInteger(govAddress, (toString(userAddr) + kUserGSwopInGov)), swopAmount)
195195 let discountValues = split(getStringValue(oracle, kDiscountValues), ",")
196196 let discounts = split(getStringValue(oracle, kDiscounts), ",")
197197 if (if ((gSwopAmount >= parseIntValue(discountValues[0])))
198198 then (parseIntValue(discountValues[1]) > gSwopAmount)
199199 else false)
200200 then (feeScale6 - parseIntValue(discounts[0]))
201201 else if (if ((gSwopAmount >= parseIntValue(discountValues[1])))
202202 then (parseIntValue(discountValues[2]) > gSwopAmount)
203203 else false)
204204 then (feeScale6 - parseIntValue(discounts[1]))
205205 else if (if ((gSwopAmount >= parseIntValue(discountValues[2])))
206206 then (parseIntValue(discountValues[3]) > gSwopAmount)
207207 else false)
208208 then (feeScale6 - parseIntValue(discounts[2]))
209209 else if (if ((gSwopAmount >= parseIntValue(discountValues[3])))
210210 then (parseIntValue(discountValues[4]) > gSwopAmount)
211211 else false)
212212 then (feeScale6 - parseIntValue(discounts[3]))
213213 else if ((gSwopAmount >= parseIntValue(discountValues[4])))
214214 then (feeScale6 - parseIntValue(discounts[4]))
215215 else feeScale6
216216 }
217217
218218
219219 func calculateFees (pmtAmount,minAmountToReceive,tokenFrom,tokenTo,fee,feeGovernance) = {
220220 let amountWithoutFee = fraction(tokenTo, pmtAmount, (pmtAmount + tokenFrom))
221221 let amountWithFee = fraction(amountWithoutFee, (feeScale6 - fee), feeScale6)
222222 let governanceReward = fraction(amountWithoutFee, feeGovernance, feeScale6)
223223 if ((minAmountToReceive > amountWithFee))
224224 then throw(((("Calculated amount to receive " + toString(amountWithFee)) + " is less than specified minimum ") + toString(minAmountToReceive)))
225225 else $Tuple3(amountWithoutFee, amountWithFee, governanceReward)
226226 }
227227
228228
229229 func calculateVirtPay (pmtAmount,balance,fee) = {
230230 let F = (feeScale6 - fee)
231231 let k = fraction(fee, 60, 100)
232232 let a = (scale8 + fraction((F * k), scale8, (feeScale6 * feeScale6)))
233233 let b = ((((balance + fraction(balance, F, feeScale6)) + fraction(pmtAmount, F, feeScale6)) - pmtAmount) - fraction(pmtAmount, (F * k), (feeScale6 * feeScale6)))
234234 let c = (-(toBigInt(balance)) * toBigInt(pmtAmount))
235235 let D = ((toBigInt(b) * toBigInt(b)) - fraction((toBigInt(4) * c), toBigInt(a), toBigInt(scale8)))
236236 toInt(fraction((-(toBigInt(b)) + sqrtBigInt(D, 0, 0, DOWN)), toBigInt(scale8), toBigInt((2 * a))))
237237 }
238238
239239
240240 func parsePaymentAsset (assetId) = if ((assetId == base58''))
241241 then unit
242242 else assetId
243243
244244
245245 func suspendSuspicious (accountBalanceA,accountBalanceB,balanceA,balanceB,assetIdA,assetIdB) = suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(accountBalanceA)) + " ") + assetIdA) + ", ") + toString(accountBalanceB)) + " ") + assetIdB) + ". State: ") + toString(balanceA)) + " ") + assetIdA) + ", ") + toString(balanceB)) + " ") + assetIdB))
246246
247247
248248 func isActive () = if (active)
249249 then unit
250250 else throw("DApp is inactive at this moment")
251251
252252
253253 func isOraclePool (poolAddress) = if (isDefined(getString(oracle, (kOraclePool + poolAddress))))
254254 then unit
255255 else throw("DApp is not registered pool")
256256
257257
258258 func isDepricated (poolAddress) = if (!(valueOrElse(getBoolean(oracle, (kDeprecated + poolAddress)), false)))
259259 then unit
260260 else throw("Pool is deprecated. Only withdraw action allowed.")
261261
262262
263263 func getPoolBalances (pool,assetIdA,assetIdB) = {
264264 let balanceA = getIntegerValue(pool, kBalanceA)
265265 let balanceB = getIntegerValue(pool, kBalanceB)
266266 let stakedAmountA = stakedAmount(assetIdA, pool)
267267 let stakedAmountB = stakedAmount(assetIdB, pool)
268268 let accountBalanceA = (accountBalance(assetIdA, pool) + stakedAmountA)
269269 let accountBalanceB = (accountBalance(assetIdB, pool) + stakedAmountB)
270270 let shareSupply = getIntegerValue(pool, kShareAssetSupply)
271271 $Tuple5(balanceA, balanceB, accountBalanceA, accountBalanceB, shareSupply)
272272 }
273273
274274
275275 func getPoolAssets (pool) = {
276276 let strAssetIdA = getStringValue(pool, kAssetIdA)
277277 let strAssetIdB = getStringValue(pool, kAssetIdB)
278278 let assetIdA = if ((strAssetIdA == "WAVES"))
279279 then unit
280280 else fromBase58String(strAssetIdA)
281281 let assetIdB = if ((strAssetIdB == "WAVES"))
282282 then unit
283283 else fromBase58String(strAssetIdB)
284284 let shareAssetId = fromBase58String(getStringValue(pool, kShareAssetId))
285285 $Tuple5(strAssetIdA, strAssetIdB, assetIdA, assetIdB, shareAssetId)
286286 }
287287
288288
289289 func getFeeParams (pool,caller) = {
290290 let feeDiscount = calculateFeeDiscount(caller)
291291 let fee = fraction(getIntegerValue(pool, kFee), feeDiscount, feeScale6, CEILING)
292292 let govFee = fraction(fee, 40, 100)
293293 $Tuple2(fee, govFee)
294294 }
295295
296296
297297 @Callable(i)
298298 func init (callerBytes,args,pAmounts,pAssetIds) = {
299299 let caller = Address(callerBytes)
300300 let $t092919369 = $Tuple2(pAmounts[0], parsePaymentAsset(pAssetIds[0]))
301301 let pmtAmountA = $t092919369._1
302302 let pmtAssetIdA = $t092919369._2
303303 let $t093749452 = $Tuple2(pAmounts[1], parsePaymentAsset(pAssetIds[1]))
304304 let pmtAmountB = $t093749452._1
305305 let pmtAssetIdB = $t093749452._2
306306 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminInvokePubKey], i.originCallerPublicKey)))
307307 then throw("Only admin can call this function")
308308 else if ((size(args) != 1))
309309 then throw("Wrong args size")
310310 else if (isDefined(getBoolean(caller, kActive)))
311311 then throw("DApp is already active")
312312 else if ((pmtAssetIdA == pmtAssetIdB))
313313 then throw("Assets must be different")
314314 else {
315315 let $t098879964 = getAssetInfo(pmtAssetIdA)
316316 let pmtStrAssetIdA = $t098879964._1
317317 let pmtAssetNameA = $t098879964._2
318318 let pmtDecimalsA = $t098879964._3
319319 let $t0997310050 = getAssetInfo(pmtAssetIdB)
320320 let pmtStrAssetIdB = $t0997310050._1
321321 let pmtAssetNameB = $t0997310050._2
322322 let pmtDecimalsB = $t0997310050._3
323323 let firstHarvest = (args[0] == "true")
324324 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
325325 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
326326 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
327327 let arg1 = pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN)
328328 let arg2 = pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN)
329329 let arg3 = pow(10, 0, shareDecimals, 0, 0, DOWN)
330330 let shareInitialSupply = fraction(arg1, arg2, arg3)
331331 let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
332332 let shareIssueId = calculateAssetId(shareIssue)
333333 let stake1 = if (contains(stakingAssets, pmtStrAssetIdA))
334334 then invoke(i.caller, "stakeUnstake", [true, pmtAmountA, pmtStrAssetIdA], nil)
335335 else 0
336336 if ((stake1 == stake1))
337337 then {
338338 let stake2 = if (contains(stakingAssets, pmtStrAssetIdB))
339339 then invoke(i.caller, "stakeUnstake", [true, pmtAmountB, pmtStrAssetIdB], nil)
340340 else 0
341341 if ((stake2 == stake2))
342342 then {
343343 let baseEntry = [StringEntry(kVersion, version), BooleanEntry(kActive, true), StringEntry(kAssetIdA, pmtStrAssetIdA), StringEntry(kAssetIdB, pmtStrAssetIdB), IntegerEntry(kBalanceA, pmtAmountA), IntegerEntry(kBalanceB, pmtAmountB), IntegerEntry(kFee, getIntegerValue(oracle, "base_fee_cpmm")), shareIssue, StringEntry(kShareAssetId, toBase58String(shareIssueId)), IntegerEntry(kShareAssetSupply, shareInitialSupply), ScriptTransfer(caller, shareInitialSupply, shareIssueId)]
344344 if (firstHarvest)
345345 then $Tuple2(nil, $Tuple2((baseEntry ++ [BooleanEntry(kFirstHarvest, firstHarvest), IntegerEntry(kFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))]), nil))
346346 else $Tuple2(nil, $Tuple2(baseEntry, nil))
347347 }
348348 else throw("Strict value is not equal to itself.")
349349 }
350350 else throw("Strict value is not equal to itself.")
351351 }
352352 }
353353
354354
355355
356356 @Callable(i)
357357 func initWithInitRatio (callerBytes,args,pAmounts,pAssetIds) = {
358358 let caller = Address(callerBytes)
359359 let $t01227112471 = $Tuple5(parseIntValue(args[0]), parseIntValue(args[1]), args[2], args[3], (args[4] == "true"))
360360 let amtAssetA = $t01227112471._1
361361 let amtAssetB = $t01227112471._2
362362 let assetIdAStr = $t01227112471._3
363363 let assetIdBStr = $t01227112471._4
364364 let firstHarvest = $t01227112471._5
365365 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminInvokePubKey], i.originCallerPublicKey)))
366366 then throw("Only admin can call this function")
367367 else if ((size(args) != 5))
368368 then throw("Wrong args size")
369369 else if (isDefined(getBoolean(caller, kActive)))
370370 then throw("DApp is already active")
371371 else if ((assetIdAStr == assetIdBStr))
372372 then throw("Assets must be different")
373373 else {
374374 let $t01290612983 = getAssetInfo(assetIdAStr)
375375 let pmtStrAssetIdA = $t01290612983._1
376376 let pmtAssetNameA = $t01290612983._2
377377 let pmtDecimalsA = $t01290612983._3
378378 let $t01299213069 = getAssetInfo(assetIdBStr)
379379 let pmtStrAssetIdB = $t01299213069._1
380380 let pmtAssetNameB = $t01299213069._2
381381 let pmtDecimalsB = $t01299213069._3
382382 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
383383 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
384384 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
385385 let shareInitialSupply = 0
386386 let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
387387 let shareIssueId = calculateAssetId(shareIssue)
388388 let baseEntry = [StringEntry(kVersion, version), BooleanEntry(kActive, true), StringEntry(kAssetIdA, pmtStrAssetIdA), StringEntry(kAssetIdB, pmtStrAssetIdB), IntegerEntry(kBalanceInitA, amtAssetA), IntegerEntry(kBalanceInitB, amtAssetB), IntegerEntry(kBalanceA, 0), IntegerEntry(kBalanceB, 0), IntegerEntry(kFee, getIntegerValue(oracle, "base_fee_cpmm")), shareIssue, StringEntry(kShareAssetId, toBase58String(shareIssueId)), IntegerEntry(kShareAssetSupply, shareInitialSupply)]
389389 if (firstHarvest)
390390 then $Tuple2(nil, $Tuple2((baseEntry ++ [BooleanEntry(kFirstHarvest, firstHarvest), IntegerEntry(kFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))]), nil))
391391 else $Tuple2(nil, $Tuple2(baseEntry, nil))
392392 }
393393 }
394394
395395
396396
397397 @Callable(i)
398398 func keepLimitForFirstHarvest (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isActive(), if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminInvokePubKey], i.originCallerPublicKey)))
399399 then throw("Only admin can call this function")
400400 else if ((size(args) != 1))
401401 then throw("Wrong args size")
402402 else {
403403 let shareLimit = parseIntValue(args[0])
404404 $Tuple2(nil, $Tuple2([IntegerEntry(kShareLimit, shareLimit)], nil))
405405 }))
406406
407407
408408
409409 @Callable(i)
410410 func exchange (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isDepricated(toString(i.caller)), valueOrElse(isActive(), {
411411 let caller = Address(callerBytes)
412412 let $t01549515571 = $Tuple2(pAmounts[0], parsePaymentAsset(pAssetIds[0]))
413413 let pmtAmount = $t01549515571._1
414414 let pmtAssetId = $t01549515571._2
415415 let minAmountToReceive = parseIntValue(args[0])
416416 let $t01563615712 = getPoolAssets(i.caller)
417417 let strAssetIdA = $t01563615712._1
418418 let strAssetIdB = $t01563615712._2
419419 let assetIdA = $t01563615712._3
420420 let assetIdB = $t01563615712._4
421421 let $t01572115827 = getPoolBalances(i.caller, assetIdA, assetIdB)
422422 let balanceA = $t01572115827._1
423423 let balanceB = $t01572115827._2
424424 let accountBalanceA = $t01572115827._3
425425 let accountBalanceB = $t01572115827._4
426426 if ((size(args) != 1))
427427 then throw("Wrong args size")
428428 else if (if ((balanceA == 0))
429429 then true
430430 else (balanceB == 0))
431431 then throw("Can't exchange with zero balance")
432432 else if ((0 >= minAmountToReceive))
433433 then throw(("Minimal amount to receive must be positive. Actual: " + toString(minAmountToReceive)))
434434 else if ((size(pAmounts) != 1))
435435 then throw("One attached payment expected")
436436 else if (!(containsElement([assetIdA, assetIdB], pmtAssetId)))
437437 then throw(((("Incorrect asset attached. Expected: " + strAssetIdA) + " or ") + strAssetIdB))
438438 else if (if ((balanceA > accountBalanceA))
439439 then true
440440 else (balanceB > accountBalanceB))
441441 then $Tuple2(nil, ([ScriptTransfer(caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious(accountBalanceA, accountBalanceB, balanceA, balanceB, strAssetIdA, strAssetIdB)))
442442 else {
443443 let $t01672716785 = getFeeParams(i.caller, i.originCaller)
444444 let fee = $t01672716785._1
445445 let govFee = $t01672716785._2
446446 let $t01679817119 = if ((pmtAssetId == assetIdA))
447447 then calculateFees(pmtAmount, minAmountToReceive, balanceA, balanceB, fee, govFee)
448448 else calculateFees(pmtAmount, minAmountToReceive, balanceB, balanceA, fee, govFee)
449449 let amountWithoutFee = $t01679817119._1
450450 let amountWithFee = $t01679817119._2
451451 let governanceReward = $t01679817119._3
452452 let $t01713317442 = if ((pmtAssetId == assetIdA))
453453 then $Tuple3((balanceA + pmtAmount), ((balanceB - amountWithFee) - governanceReward), assetIdB)
454454 else $Tuple3(((balanceA - amountWithFee) - governanceReward), (balanceB + pmtAmount), assetIdA)
455455 let newBalanceA = $t01713317442._1
456456 let newBalanceB = $t01713317442._2
457457 let assetIdSend = $t01713317442._3
458458 let $t01745617690 = if ((pmtAssetId == assetIdA))
459459 then $Tuple2(pmtAmount, (amountWithFee + governanceReward))
460460 else $Tuple2((amountWithFee + governanceReward), pmtAmount)
461461 let stakeAmountA = $t01745617690._1
462462 let stakeAmountB = $t01745617690._2
463463 let stake1 = if (contains(stakingAssets, strAssetIdA))
464464 then invoke(i.caller, "stakeUnstake", [(pmtAssetId == assetIdA), stakeAmountA, strAssetIdA], nil)
465465 else 0
466466 if ((stake1 == stake1))
467467 then {
468468 let stake2 = if (contains(stakingAssets, strAssetIdB))
469469 then invoke(i.caller, "stakeUnstake", [(pmtAssetId == assetIdB), stakeAmountB, strAssetIdB], nil)
470470 else 0
471471 if ((stake2 == stake2))
472472 then $Tuple2(nil, $Tuple2([IntegerEntry(kBalanceA, newBalanceA), IntegerEntry(kBalanceB, newBalanceB), ScriptTransfer(caller, amountWithFee, assetIdSend), ScriptTransfer(moneyBoxAddress, governanceReward, assetIdSend)], [amountWithFee, assetIdSend]))
473473 else throw("Strict value is not equal to itself.")
474474 }
475475 else throw("Strict value is not equal to itself.")
476476 }
477477 })))
478478
479479
480480
481481 @Callable(i)
482482 func replenishWithTwoTokens (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isDepricated(toString(i.caller)), valueOrElse(isActive(), {
483483 let caller = Address(callerBytes)
484484 let pmtAssetIdA = parsePaymentAsset(pAssetIds[0])
485485 let pmtAssetIdB = parsePaymentAsset(pAssetIds[1])
486486 let stakeFarming = (args[0] == "true")
487487 let lockType = parseIntValue(args[1])
488488 let $t01893219022 = getPoolAssets(i.caller)
489489 let strAssetIdA = $t01893219022._1
490490 let strAssetIdB = $t01893219022._2
491491 let assetIdA = $t01893219022._3
492492 let assetIdB = $t01893219022._4
493493 let shareAssetId = $t01893219022._5
494494 let $t01903119155 = getPoolBalances(i.caller, assetIdA, assetIdB)
495495 let balanceA = $t01903119155._1
496496 let balanceB = $t01903119155._2
497497 let accountBalanceA = $t01903119155._3
498498 let accountBalanceB = $t01903119155._4
499499 let shareAssetSupply = $t01903119155._5
500500 if ((size(args) != 2))
501501 then throw("Wrong args size")
502502 else if (if ((size(pAmounts) != 2))
503503 then (size(pAmounts) != 3)
504504 else false)
505505 then throw("Two or three payments expected")
506506 else if (if ((pmtAssetIdA != assetIdA))
507507 then true
508508 else (pmtAssetIdB != assetIdB))
509509 then throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB))
510510 else if (if ((balanceA > accountBalanceA))
511511 then true
512512 else (balanceB > accountBalanceB))
513513 then $Tuple2(nil, ([ScriptTransfer(caller, pAmounts[0], pmtAssetIdA), ScriptTransfer(caller, pAmounts[1], pmtAssetIdB)] ++ (if ((size(pAmounts) == 3))
514514 then [AttachedPayment(if ((pAssetIds[2] == base58''))
515515 then unit
516516 else pAssetIds[2], pAmounts[2])]
517517 else (nil ++ suspendSuspicious(accountBalanceA, accountBalanceB, balanceA, balanceB, strAssetIdA, strAssetIdB)))))
518518 else {
519519 let $t02008820165 = getAssetInfo(pmtAssetIdA)
520520 let pmtStrAssetIdA = $t02008820165._1
521521 let pmtAssetNameA = $t02008820165._2
522522 let pmtDecimalsA = $t02008820165._3
523523 let $t02017820255 = getAssetInfo(pmtAssetIdB)
524524 let pmtStrAssetIdB = $t02017820255._1
525525 let pmtAssetNameB = $t02017820255._2
526526 let pmtDecimalsB = $t02017820255._3
527527 let initial = ((balanceA + balanceB) == 0)
528528 let $t02032221178 = if (initial)
529529 then $Tuple5(pAmounts[0], pAmounts[1], 0, pmtAssetIdA, toBigInt(1))
530530 else {
531531 let ratioShareTokensInA = fraction(scale16, toBigInt(pAmounts[0]), toBigInt(balanceA))
532532 let ratioShareTokensInB = fraction(scale16, toBigInt(pAmounts[1]), toBigInt(balanceB))
533533 if ((ratioShareTokensInB > ratioShareTokensInA))
534534 then {
535535 let pmt = fraction(pAmounts[0], balanceB, balanceA)
536536 $Tuple5(pAmounts[0], pmt, (pAmounts[1] - pmt), pmtAssetIdB, ratioShareTokensInA)
537537 }
538538 else {
539539 let pmt = fraction(pAmounts[1], balanceA, balanceB)
540540 $Tuple5(pmt, pAmounts[1], (pAmounts[0] - pmt), pmtAssetIdA, ratioShareTokensInB)
541541 }
542542 }
543543 let pmtAmountA = $t02032221178._1
544544 let pmtAmountB = $t02032221178._2
545545 let change = $t02032221178._3
546546 let changeAssetId = $t02032221178._4
547547 let shareTokenRatio = $t02032221178._5
548548 let shareTokenToPayAmount = if (initial)
549549 then {
550550 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
551551 fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN), pow(10, 0, shareDecimals, 0, 0, DOWN))
552552 }
553553 else toInt(fraction(shareTokenRatio, toBigInt(shareAssetSupply), scale16))
554554 if ((shareTokenToPayAmount == 0))
555555 then throw("Too small amount to replenish")
556556 else if ((0 > change))
557557 then throw("Change < 0")
558558 else {
559559 let stake1 = if (contains(stakingAssets, pmtStrAssetIdA))
560560 then invoke(i.caller, "stakeUnstake", [true, pmtAmountA, pmtStrAssetIdA], nil)
561561 else 0
562562 if ((stake1 == stake1))
563563 then {
564564 let stake2 = if (contains(stakingAssets, pmtStrAssetIdB))
565565 then invoke(i.caller, "stakeUnstake", [true, pmtAmountB, pmtStrAssetIdB], nil)
566566 else 0
567567 if ((stake2 == stake2))
568568 then {
569569 let shareTokenST = if (stakeFarming)
570570 then {
571571 let stPayments = ([AttachedPayment(shareAssetId, shareTokenToPayAmount)] ++ (if ((size(pAmounts) == 3))
572572 then [AttachedPayment(if ((pAssetIds[2] == base58''))
573573 then unit
574574 else pAssetIds[2], pAmounts[2])]
575575 else nil))
576576 let reissue = invoke(i.caller, "reissueShareToken", [shareTokenToPayAmount], nil)
577577 if ((reissue == reissue))
578578 then {
579579 let stake3 = invoke(farmingAddress, "lockShareTokensFromPool", [callerBytes, toString(i.caller), lockType], stPayments)
580580 if ((stake3 == stake3))
581581 then nil
582582 else throw("Strict value is not equal to itself.")
583583 }
584584 else throw("Strict value is not equal to itself.")
585585 }
586586 else [Reissue(shareAssetId, shareTokenToPayAmount, true), ScriptTransfer(caller, shareTokenToPayAmount, shareAssetId)]
587587 $Tuple2(nil, $Tuple2(([IntegerEntry(kBalanceA, (balanceA + pmtAmountA)), IntegerEntry(kBalanceB, (balanceB + pmtAmountB)), IntegerEntry(kShareAssetSupply, (shareAssetSupply + shareTokenToPayAmount)), ScriptTransfer(caller, change, changeAssetId)] ++ shareTokenST), nil))
588588 }
589589 else throw("Strict value is not equal to itself.")
590590 }
591591 else throw("Strict value is not equal to itself.")
592592 }
593593 }
594594 })))
595595
596596
597597
598598 @Callable(i)
599599 func replenishWithOneToken (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isDepricated(toString(i.caller)), valueOrElse(isActive(), {
600600 let caller = Address(callerBytes)
601601 let pmtAssetId = parsePaymentAsset(pAssetIds[0])
602602 let pmtAmount = pAmounts[0]
603603 let virtGetMinAmount = parseIntValue(args[0])
604604 let stakeFarming = (args[1] == "true")
605605 let lockType = parseIntValue(args[2])
606606 let $t02393324023 = getPoolAssets(i.caller)
607607 let strAssetIdA = $t02393324023._1
608608 let strAssetIdB = $t02393324023._2
609609 let assetIdA = $t02393324023._3
610610 let assetIdB = $t02393324023._4
611611 let shareAssetId = $t02393324023._5
612612 let $t02402824152 = getPoolBalances(i.caller, assetIdA, assetIdB)
613613 let balanceA = $t02402824152._1
614614 let balanceB = $t02402824152._2
615615 let accountBalanceA = $t02402824152._3
616616 let accountBalanceB = $t02402824152._4
617617 let shareAssetSupply = $t02402824152._5
618618 let initial = ((balanceA + balanceB) == 0)
619619 if ((size(args) != 3))
620620 then throw("Wrong args size")
621621 else if (if ((size(pAmounts) != 1))
622622 then (size(pAmounts) != 2)
623623 else false)
624624 then throw("Two or one attached assets expected")
625625 else if (if ((pmtAssetId != assetIdA))
626626 then (pmtAssetId != assetIdB)
627627 else false)
628628 then throw(((("Incorrect asset attached. Expected: " + strAssetIdA) + " or ") + strAssetIdB))
629629 else if (initial)
630630 then throw("For initial exchanger you need to use two tokens")
631631 else if (if ((balanceA > accountBalanceA))
632632 then true
633633 else (balanceB > accountBalanceB))
634634 then $Tuple2(nil, ([ScriptTransfer(caller, pmtAmount, pmtAssetId)] ++ (if ((size(pAmounts) == 2))
635635 then [AttachedPayment(if ((pAssetIds[2] == base58''))
636636 then unit
637637 else pAssetIds[2], pAmounts[2])]
638638 else (nil ++ suspendSuspicious(accountBalanceA, accountBalanceB, balanceA, balanceB, strAssetIdA, strAssetIdB)))))
639639 else {
640640 let $t02506425122 = getFeeParams(i.caller, i.originCaller)
641641 let fee = $t02506425122._1
642642 let govFee = $t02506425122._2
643643 let $t02513127293 = if ((pmtAssetId == assetIdA))
644644 then {
645645 let virtPayAmount = calculateVirtPay(pmtAmount, balanceA, fee)
646646 let $t02538625523 = calculateFees(virtPayAmount, virtGetMinAmount, balanceA, balanceB, fee, govFee)
647647 let amountWithoutFee = $t02538625523._1
648648 let amountWithFee = $t02538625523._2
649649 let governanceReward = $t02538625523._3
650650 let balanceAVirt = (balanceA + virtPayAmount)
651651 let balanceBVirt = ((balanceB + amountWithoutFee) - governanceReward)
652652 let newBalanceA = (balanceA + pmtAmount)
653653 let newBalanceB = (balanceB - governanceReward)
654654 let ratioShareTokensInA = fraction(toBigInt((pmtAmount - virtPayAmount)), scale16, toBigInt(balanceAVirt))
655655 let ratioShareTokensInB = fraction(toBigInt(amountWithFee), scale16, toBigInt(balanceBVirt))
656656 let shareTokenToPayAmount = toInt(fraction(min([ratioShareTokensInA, ratioShareTokensInB]), toBigInt(shareAssetSupply), scale16))
657657 $Tuple7(newBalanceA, newBalanceB, shareTokenToPayAmount, governanceReward, assetIdB, strAssetIdB, strAssetIdA)
658658 }
659659 else {
660660 let virtPayAmount = calculateVirtPay(pmtAmount, balanceB, fee)
661661 let $t02639626533 = calculateFees(virtPayAmount, virtGetMinAmount, balanceB, balanceA, fee, govFee)
662662 let amountWithoutFee = $t02639626533._1
663663 let amountWithFee = $t02639626533._2
664664 let governanceReward = $t02639626533._3
665665 let balanceAVirt = ((balanceA + amountWithoutFee) - governanceReward)
666666 let balanceBVirt = (balanceB + virtPayAmount)
667667 let newBalanceA = (balanceA - governanceReward)
668668 let newBalanceB = (balanceB + pmtAmount)
669669 let ratioShareTokensInA = fraction(toBigInt(amountWithFee), scale16, toBigInt(balanceAVirt))
670670 let ratioShareTokensInB = fraction(toBigInt((pmtAmount - virtPayAmount)), scale16, toBigInt(balanceBVirt))
671671 let shareTokenToPayAmount = toInt(fraction(min([ratioShareTokensInA, ratioShareTokensInB]), toBigInt(shareAssetSupply), scale16))
672672 $Tuple7(newBalanceA, newBalanceB, shareTokenToPayAmount, governanceReward, assetIdA, strAssetIdA, strAssetIdB)
673673 }
674674 let newBalanceA = $t02513127293._1
675675 let newBalanceB = $t02513127293._2
676676 let shareTokenToPayAmount = $t02513127293._3
677677 let govReward = $t02513127293._4
678678 let govRewardAsset = $t02513127293._5
679679 let govRewardAssetStr = $t02513127293._6
680680 let pmtAssetIdStr = $t02513127293._7
681681 if ((shareTokenToPayAmount == 0))
682682 then throw("Too small amount to replenish")
683683 else {
684684 let stake1 = if (contains(stakingAssets, pmtAssetIdStr))
685685 then invoke(i.caller, "stakeUnstake", [true, pmtAmount, pmtAssetIdStr], nil)
686686 else 0
687687 if ((stake1 == stake1))
688688 then {
689689 let stake2 = if (contains(stakingAssets, govRewardAssetStr))
690690 then invoke(i.caller, "stakeUnstake", [false, govReward, govRewardAssetStr], nil)
691691 else 0
692692 if ((stake2 == stake2))
693693 then {
694694 let shareTokenST = if (stakeFarming)
695695 then {
696696 let stPayments = ([AttachedPayment(shareAssetId, shareTokenToPayAmount)] ++ (if ((size(pAmounts) == 2))
697697 then [AttachedPayment(if ((pAssetIds[1] == base58''))
698698 then unit
699699 else pAssetIds[1], pAmounts[1])]
700700 else nil))
701701 let reissue = invoke(i.caller, "reissueShareToken", [shareTokenToPayAmount], nil)
702702 if ((reissue == reissue))
703703 then {
704704 let stake3 = invoke(farmingAddress, "lockShareTokensFromPool", [callerBytes, toString(i.caller), lockType], stPayments)
705705 if ((stake3 == stake3))
706706 then nil
707707 else throw("Strict value is not equal to itself.")
708708 }
709709 else throw("Strict value is not equal to itself.")
710710 }
711711 else [Reissue(shareAssetId, shareTokenToPayAmount, true), ScriptTransfer(caller, shareTokenToPayAmount, shareAssetId)]
712712 $Tuple2(nil, $Tuple2(([IntegerEntry(kBalanceA, newBalanceA), IntegerEntry(kBalanceB, newBalanceB), IntegerEntry(kShareAssetSupply, (shareAssetSupply + shareTokenToPayAmount)), ScriptTransfer(moneyBoxAddress, govReward, govRewardAsset)] ++ shareTokenST), nil))
713713 }
714714 else throw("Strict value is not equal to itself.")
715715 }
716716 else throw("Strict value is not equal to itself.")
717717 }
718718 }
719719 })))
720720
721721
722722
723723 @Callable(i)
724724 func withdraw (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isActive(), {
725725 let time = lastBlock.timestamp
726726 let caller = Address(callerBytes)
727727 let $t02920829298 = getPoolAssets(i.caller)
728728 let strAssetIdA = $t02920829298._1
729729 let strAssetIdB = $t02920829298._2
730730 let assetIdA = $t02920829298._3
731731 let assetIdB = $t02920829298._4
732732 let shareAssetId = $t02920829298._5
733733 let $t02930729431 = getPoolBalances(i.caller, assetIdA, assetIdB)
734734 let balanceA = $t02930729431._1
735735 let balanceB = $t02930729431._2
736736 let accountBalanceA = $t02930729431._3
737737 let accountBalanceB = $t02930729431._4
738738 let shareAssetSupply = $t02930729431._5
739739 let $t02944029820 = if ((size(pAmounts) == 1))
740740 then {
741741 let pAsset = parsePaymentAsset(pAssetIds[0])
742742 if ((pAsset != shareAssetId))
743743 then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
744744 else $Tuple2(pAmounts[0], pAsset)
745745 }
746746 else $Tuple2(0, shareAssetId)
747747 let pmtAmount = $t02944029820._1
748748 let pmtAssetId = $t02944029820._2
749749 if ((size(args) != 1))
750750 then throw("Wrong args size")
751751 else if ((size(pAmounts) > 1))
752752 then throw("One attached payment expected")
753753 else if (if ((balanceA > accountBalanceA))
754754 then true
755755 else (balanceB > accountBalanceB))
756756 then $Tuple2(nil, ([ScriptTransfer(caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious(accountBalanceA, accountBalanceB, balanceA, balanceB, strAssetIdA, strAssetIdB)))
757757 else {
758758 let unlockAmount = parseIntValue(valueOrElse(args[0], "0"))
759759 let unlock = if ((unlockAmount > 0))
760760 then invoke(farmingAddress, "withdrawShareTokensFromPool", [callerBytes, toString(i.caller), unlockAmount], nil)
761761 else 0
762762 if ((unlock == unlock))
763763 then {
764764 let withdrawAmount = (pmtAmount + unlockAmount)
765765 let amountToPayA = fraction(withdrawAmount, balanceA, shareAssetSupply)
766766 let amountToPayB = fraction(withdrawAmount, balanceB, shareAssetSupply)
767767 let stake1 = if (contains(stakingAssets, strAssetIdA))
768768 then invoke(i.caller, "stakeUnstake", [false, amountToPayA, strAssetIdA], nil)
769769 else 0
770770 if ((stake1 == stake1))
771771 then {
772772 let stake2 = if (contains(stakingAssets, strAssetIdB))
773773 then invoke(i.caller, "stakeUnstake", [false, amountToPayB, strAssetIdB], nil)
774774 else 0
775775 if ((stake2 == stake2))
776776 then $Tuple2([ScriptTransfer(i.caller, unlockAmount, shareAssetId)], $Tuple2([IntegerEntry(kBalanceA, (balanceA - amountToPayA)), IntegerEntry(kBalanceB, (balanceB - amountToPayB)), IntegerEntry(kShareAssetSupply, (shareAssetSupply - withdrawAmount)), Burn(shareAssetId, withdrawAmount), ScriptTransfer(caller, amountToPayA, assetIdA), ScriptTransfer(caller, amountToPayB, assetIdB)], nil))
777777 else throw("Strict value is not equal to itself.")
778778 }
779779 else throw("Strict value is not equal to itself.")
780780 }
781781 else throw("Strict value is not equal to itself.")
782782 }
783783 }))
784784
785785
786786
787787 @Callable(i)
788788 func withdrawOneToken (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isDepricated(toString(i.caller)), valueOrElse(isActive(), {
789789 let caller = Address(callerBytes)
790790 let withdrawAsset = if ((args[0] == ""))
791791 then unit
792792 else fromBase58String(args[0])
793793 let $t03203832128 = getPoolAssets(i.caller)
794794 let strAssetIdA = $t03203832128._1
795795 let strAssetIdB = $t03203832128._2
796796 let assetIdA = $t03203832128._3
797797 let assetIdB = $t03203832128._4
798798 let shareAssetId = $t03203832128._5
799799 let $t03213732261 = getPoolBalances(i.caller, assetIdA, assetIdB)
800800 let balanceA = $t03213732261._1
801801 let balanceB = $t03213732261._2
802802 let accountBalanceA = $t03213732261._3
803803 let accountBalanceB = $t03213732261._4
804804 let shareAssetSupply = $t03213732261._5
805805 let $t03227032622 = if ((size(pAmounts) == 1))
806806 then {
807807 let pAsset = parsePaymentAsset(pAssetIds[0])
808808 if ((pAsset != shareAssetId))
809809 then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
810810 else $Tuple2(pAmounts[0], pAsset)
811811 }
812812 else $Tuple2(0, shareAssetId)
813813 let pmtAmount = $t03227032622._1
814814 let pmtAssetId = $t03227032622._2
815815 let virtMinToRecive = parseIntValue(args[1])
816816 if ((size(args) != 3))
817817 then throw("Wrong args size")
818818 else if ((size(pAmounts) > 1))
819819 then throw("One attached payment expected")
820820 else if ((pmtAssetId != shareAssetId))
821821 then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
822822 else if (!(containsElement([assetIdA, assetIdB], withdrawAsset)))
823823 then throw("Incorrect withdraw asset.")
824824 else if (if ((balanceA > accountBalanceA))
825825 then true
826826 else (balanceB > accountBalanceB))
827827 then $Tuple2(nil, ([ScriptTransfer(caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious(accountBalanceA, accountBalanceB, balanceA, balanceB, strAssetIdA, strAssetIdB)))
828828 else {
829829 let unlockAmount = parseIntValue(valueOrElse(args[2], "0"))
830830 let unlock = if ((unlockAmount > 0))
831831 then invoke(farmingAddress, "withdrawShareTokensFromPool", [callerBytes, toString(i.caller), unlockAmount], nil)
832832 else 0
833833 if ((unlock == unlock))
834834 then {
835835 let withdrawAmount = (pmtAmount + unlockAmount)
836836 let amountToPayA = fraction(withdrawAmount, balanceA, shareAssetSupply)
837837 let amountToPayB = fraction(withdrawAmount, balanceB, shareAssetSupply)
838838 let $t03388933947 = getFeeParams(i.caller, i.originCaller)
839839 let fee = $t03388933947._1
840840 let govFee = $t03388933947._2
841841 let $t03396034344 = if ((withdrawAsset == assetIdA))
842842 then calculateFees(amountToPayB, virtMinToRecive, (balanceB - amountToPayB), (balanceA - amountToPayA), fee, govFee)
843843 else calculateFees(amountToPayA, virtMinToRecive, (balanceA - amountToPayA), (balanceB - amountToPayB), fee, govFee)
844844 let amountWithoutFee = $t03396034344._1
845845 let amountWithFee = $t03396034344._2
846846 let governanceReward = $t03396034344._3
847847 let $t03435735615 = if ((withdrawAsset == assetIdA))
848848 then {
849849 let unstake = if (contains(stakingAssets, strAssetIdA))
850850 then invoke(i.caller, "stakeUnstake", [false, ((amountToPayA + amountWithFee) + governanceReward), strAssetIdA], nil)
851851 else 0
852852 if ((unstake == unstake))
853853 then $Tuple4((((balanceA - amountToPayA) - amountWithFee) - governanceReward), balanceB, assetIdA, [ScriptTransfer(caller, (amountToPayA + amountWithFee), assetIdA)])
854854 else throw("Strict value is not equal to itself.")
855855 }
856856 else {
857857 let unstake = if (contains(stakingAssets, strAssetIdB))
858858 then invoke(i.caller, "stakeUnstake", [false, ((amountToPayB + amountWithFee) + governanceReward), strAssetIdB], nil)
859859 else 0
860860 if ((unstake == unstake))
861861 then $Tuple4(balanceA, (((balanceB - amountToPayB) - amountWithFee) - governanceReward), assetIdB, [ScriptTransfer(caller, (amountToPayB + amountWithFee), assetIdB)])
862862 else throw("Strict value is not equal to itself.")
863863 }
864864 let newBalanceA = $t03435735615._1
865865 let newBalanceB = $t03435735615._2
866866 let govRewardAssetId = $t03435735615._3
867867 let userTransfer = $t03435735615._4
868868 $Tuple2([ScriptTransfer(i.caller, unlockAmount, shareAssetId)], $Tuple2(([IntegerEntry(kBalanceA, newBalanceA), IntegerEntry(kBalanceB, newBalanceB), IntegerEntry(kShareAssetSupply, (shareAssetSupply - withdrawAmount)), Burn(shareAssetId, withdrawAmount), ScriptTransfer(moneyBoxAddress, governanceReward, govRewardAssetId)] ++ userTransfer), nil))
869869 }
870870 else throw("Strict value is not equal to itself.")
871871 }
872872 })))
873873
874874
875875
876876 @Callable(i)
877877 func takeIntoAccountExtraFunds (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isActive(), {
878878 let $t03629736373 = getPoolAssets(i.caller)
879879 let strAssetIdA = $t03629736373._1
880880 let strAssetIdB = $t03629736373._2
881881 let assetIdA = $t03629736373._3
882882 let assetIdB = $t03629736373._4
883883 let claim = if (if ((assetIdA == USDN))
884884 then true
885885 else (assetIdB == USDN))
886886 then invoke(i.caller, "claimNetrinoRewards", nil, nil)
887887 else 0
888888 if ((claim == claim))
889889 then {
890890 let $t03653336639 = getPoolBalances(i.caller, assetIdA, assetIdB)
891891 let balanceA = $t03653336639._1
892892 let balanceB = $t03653336639._2
893893 let accountBalanceA = $t03653336639._3
894894 let accountBalanceB = $t03653336639._4
895895 let amountEnrollA = (accountBalanceA - balanceA)
896896 let amountEnrollB = (accountBalanceB - balanceB)
897897 if ((size(args) != 0))
898898 then throw("Wrong args size")
899899 else if ((moneyBoxAddress != i.originCaller))
900900 then throw("Only the wallet can call this function")
901901 else if (if ((0 > amountEnrollA))
902902 then true
903903 else (0 > amountEnrollB))
904904 then suspend("Enroll amount negative")
905905 else if (if ((amountEnrollA == 0))
906906 then (amountEnrollB == 0)
907907 else false)
908908 then throw("No money to take")
909909 else {
910910 let stake1 = if (if (contains(stakingAssets, strAssetIdA))
911911 then (amountEnrollA > 0)
912912 else false)
913913 then invoke(i.caller, "stakeUnstake", [true, amountEnrollA, strAssetIdA], nil)
914914 else 0
915915 if ((stake1 == stake1))
916916 then {
917917 let stake2 = if (if (contains(stakingAssets, strAssetIdB))
918918 then (amountEnrollB > 0)
919919 else false)
920920 then invoke(i.caller, "stakeUnstake", [true, amountEnrollB, strAssetIdB], nil)
921921 else 0
922922 if ((stake2 == stake2))
923923 then $Tuple2(nil, $Tuple2([IntegerEntry(kBalanceA, (balanceA + amountEnrollA)), IntegerEntry(kBalanceB, (balanceB + amountEnrollB))], nil))
924924 else throw("Strict value is not equal to itself.")
925925 }
926926 else throw("Strict value is not equal to itself.")
927927 }
928928 }
929929 else throw("Strict value is not equal to itself.")
930930 }))
931931
932932
933933 @Verifier(tx)
934934 func verify () = {
935935 let multiSignedByAdmins = {
936936 let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
937937 then 1
938938 else 0
939939 let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2))
940940 then 1
941941 else 0
942942 let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3))
943943 then 1
944944 else 0
945945 (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2)
946946 }
947947 multiSignedByAdmins
948948 }
949949

github/deemru/w8io/169f3d6 
85.12 ms