tx · 54YHmkeSVffCtcssMNrTxWs5LMt75N1HWxhinakBfGP9

3N87pMbUtdD1KCJh22ug94QzXiN2Py95cUm:  -0.02700000 Waves

2022.08.15 11:13 [2185325] smart account 3N87pMbUtdD1KCJh22ug94QzXiN2Py95cUm > SELF 0.00000000 Waves

{ "type": 13, "id": "54YHmkeSVffCtcssMNrTxWs5LMt75N1HWxhinakBfGP9", "fee": 2700000, "feeAssetId": null, "timestamp": 1660551086994, "version": 2, "chainId": 84, "sender": "3N87pMbUtdD1KCJh22ug94QzXiN2Py95cUm", "senderPublicKey": "2qzGZhC36wAyrGHApWNkaeMbsx7112N9uMUHCcDrev5a", "proofs": [ "TEzFof2qnVKS81RZA69sELyrZhUftWruNmUJ3aeMbjcnN5n53wEx7jDBTjkrAUwXxkYMGYFWaapN5FHKW1qfPhq", "PcBRRY1NGo9yRUTWPGSzPQDG3aYZ1kfNDLQxTpUu2axDJDdFdPewDCKJEbYkxnap1fLhD83pBkxcGb2KTsLsZ4P" ], "script": "base64:BgIwCAISAwoBBBIHCgUBAQgIBBIDCgEBEgMKAQESABIDCgEBEgASABIAEgUKAwQBCBIAWgAHdmVyc2lvbgIFMS4wLjAACGtWZXJzaW9uAgd2ZXJzaW9uAAdrQWN0aXZlAgZhY3RpdmUACWtBc3NldElkQQIKQV9hc3NldF9pZAAJa0Fzc2V0SWRCAgpCX2Fzc2V0X2lkAAlrQmFsYW5jZUECD0FfYXNzZXRfYmFsYW5jZQAJa0JhbGFuY2VCAg9CX2Fzc2V0X2JhbGFuY2UADWtCYWxhbmNlSW5pdEECDEFfYXNzZXRfaW5pdAANa0JhbGFuY2VJbml0QgIMQl9hc3NldF9pbml0AA1rU2hhcmVBc3NldElkAg5zaGFyZV9hc3NldF9pZAARa1NoYXJlQXNzZXRTdXBwbHkCEnNoYXJlX2Fzc2V0X3N1cHBseQAEa0ZlZQIKY29tbWlzc2lvbgAGa0NhdXNlAg5zaHV0ZG93bl9jYXVzZQANa0ZpcnN0SGFydmVz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XMJAJEDAggFAnR4BnByb29mcwAABQxhZG1pblB1YktleTEAAQAABBJhZG1pblB1YktleTJTaWduZWQDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwABBQxhZG1pblB1YktleTIAAQAABBJhZG1pblB1YktleTNTaWduZWQDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwACBQxhZG1pblB1YktleTMAAQAACQBnAgkAZAIJAGQCBRJhZG1pblB1YktleTFTaWduZWQFEmFkbWluUHViS2V5MlNpZ25lZAUSYWRtaW5QdWJLZXkzU2lnbmVkAAIEByRtYXRjaDAFAnR4AwkAAQIFByRtYXRjaDACF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBANpbnYFByRtYXRjaDAEE2NhbGxUYWtlSW50b0FjY291bnQDCQAAAggFA2ludgRkQXBwBQR0aGlzCQAAAggFA2ludghmdW5jdGlvbgIZdGFrZUludG9BY2NvdW50RXh0cmFGdW5kcwcEDXNpZ25lZEJ5QWRtaW4DAwMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFDGFkbWluUHViS2V5MQYJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFDGFkbWluUHViS2V5MgYJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFDGFkbWluUHViS2V5MwYJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFEWFkbWluSW52b2tlUHViS2V5AwMFE2NhbGxUYWtlSW50b0FjY291bnQFDXNpZ25lZEJ5QWRtaW4HBgUTbXVsdGlTaWduZWRCeUFkbWlucwUTbXVsdGlTaWduZWRCeUFkbWlucyQALMI=", "height": 2185325, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7dzKi4qV6vM1CgBicaGEMjsP7BcwvbjmLm8MSWP9S2L Next: none Diff:
OldNewDifferences
9191
9292 let votingAddress = Address(base58'3MrJgdL1GniipErHy44YF9idzLaUL2iX5DQ')
9393
94-let USDN = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT'
94+let USDN = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
9595
9696 let SWOP = base58'2HAJrwa8q4SxBx9cHYaBTQdBjdk5wwqdof7ccpAx2uhZ'
9797
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 kAssetIdA = "A_asset_id"
1111
1212 let kAssetIdB = "B_asset_id"
1313
1414 let kBalanceA = "A_asset_balance"
1515
1616 let kBalanceB = "B_asset_balance"
1717
1818 let kBalanceInitA = "A_asset_init"
1919
2020 let kBalanceInitB = "B_asset_init"
2121
2222 let kShareAssetId = "share_asset_id"
2323
2424 let kShareAssetSupply = "share_asset_supply"
2525
2626 let kFee = "commission"
2727
2828 let kCause = "shutdown_cause"
2929
3030 let kFirstHarvest = "first_harvest"
3131
3232 let kFirstHarvestHeight = "first_harvest_height"
3333
3434 let kShareLimit = "share_limit_on_first_harvest"
3535
3636 let kBasePeriod = "base_period"
3737
3838 let kPeriodLength = "period_length"
3939
4040 let kStartHeight = "start_height"
4141
4242 let kUSDNAddress = "staking_usdnnsbt_address"
4343
4444 let kEURNAddress = "staking_eurn_address"
4545
4646 let kLeasingPool = "leasing_address"
4747
4848 let kLeasingAmount = "leasing_amount"
4949
5050 let kLeasingId = "leasing_id"
5151
5252 let kDiscounts = "discounts"
5353
5454 let kDiscountValues = "discount_values"
5555
5656 let kUserSwopInGov = "_SWOP_amount"
5757
5858 let kAdminPubKey1 = "admin_pub_1"
5959
6060 let kAdminPubKey2 = "admin_pub_2"
6161
6262 let kAdminPubKey3 = "admin_pub_3"
6363
6464 let kAdminInvokePubKey = "admin_invoke_pub"
6565
6666 let kMoneyBoxAddress = "money_box_address"
6767
6868 let kGovAddress = "governance_address"
6969
7070 let oracle = Address(base58'3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9')
7171
7272 func getBase58FromOracle (key) = match getString(oracle, key) {
7373 case string: String =>
7474 fromBase58String(string)
7575 case nothing =>
7676 throw((key + "is empty"))
7777 }
7878
7979
8080 let adminPubKey1 = getBase58FromOracle(kAdminPubKey1)
8181
8282 let adminPubKey2 = getBase58FromOracle(kAdminPubKey2)
8383
8484 let adminPubKey3 = getBase58FromOracle(kAdminPubKey3)
8585
8686 let adminInvokePubKey = getBase58FromOracle(kAdminInvokePubKey)
8787
8888 let moneyBoxAddress = Address(getBase58FromOracle(kMoneyBoxAddress))
8989
9090 let govAddress = Address(getBase58FromOracle(kGovAddress))
9191
9292 let votingAddress = Address(base58'3MrJgdL1GniipErHy44YF9idzLaUL2iX5DQ')
9393
94-let USDN = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT'
94+let USDN = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
9595
9696 let SWOP = base58'2HAJrwa8q4SxBx9cHYaBTQdBjdk5wwqdof7ccpAx2uhZ'
9797
9898 let EURN = base58'DUk2YTxhRoAqMJLus4G2b3fR8hMHVh6eiyFx5r29VR6t'
9999
100100 let stakingAssets = ["WAVES", toBase58String(USDN), toBase58String(EURN)]
101101
102102 let stakingUSDNAddress = Address(getBase58FromOracle(kUSDNAddress))
103103
104104 let stakingEURNAddress = Address(getBase58FromOracle(kEURNAddress))
105105
106106 let basePeriod = valueOrErrorMessage(getInteger(votingAddress, kBasePeriod), "Empty kBasePeriod")
107107
108108 let startHeight = valueOrErrorMessage(getInteger(votingAddress, kStartHeight), "Empty kStartHeight")
109109
110110 let periodLength = valueOrErrorMessage(getInteger(votingAddress, kPeriodLength), "Empty kPeriodLength")
111111
112112 let firstHarvestEndPeriod = ((basePeriod + ((height - startHeight) / periodLength)) + 3)
113113
114114 let active = getBooleanValue(this, kActive)
115115
116116 let strAssetIdA = getStringValue(this, kAssetIdA)
117117
118118 let strAssetIdB = getStringValue(this, kAssetIdB)
119119
120120 let assetIdA = if ((strAssetIdA == "WAVES"))
121121 then unit
122122 else fromBase58String(strAssetIdA)
123123
124124 let assetIdB = if ((strAssetIdB == "WAVES"))
125125 then unit
126126 else fromBase58String(strAssetIdB)
127127
128128 let assetNameA = match assetIdA {
129129 case id: ByteVector =>
130130 value(assetInfo(id)).name
131131 case waves: Unit =>
132132 "WAVES"
133133 case _ =>
134134 throw("Match error")
135135 }
136136
137137 let assetNameB = match assetIdB {
138138 case id: ByteVector =>
139139 value(assetInfo(id)).name
140140 case waves: Unit =>
141141 "WAVES"
142142 case _ =>
143143 throw("Match error")
144144 }
145145
146146 let balanceA = getIntegerValue(this, kBalanceA)
147147
148148 let balanceB = getIntegerValue(this, kBalanceB)
149149
150150 let shareAssetId = fromBase58String(getStringValue(this, kShareAssetId))
151151
152152 let shareAssetSupply = getIntegerValue(this, kShareAssetSupply)
153153
154154 let fee = getIntegerValue(this, kFee)
155155
156156 let feeGovernance = fraction(fee, 40, 100)
157157
158158 let feeScale6 = 1000000
159159
160160 let scaleValue3 = 1000
161161
162162 let scaleValue8 = 100000000
163163
164164 let slippageToleranceDelimiter = 1000
165165
166166 let scaleValue8Digits = 8
167167
168168 func accountBalance (assetId) = match assetId {
169169 case id: ByteVector =>
170170 assetBalance(this, id)
171171 case waves: Unit =>
172172 wavesBalance(this).available
173173 case _ =>
174174 throw("Match error")
175175 }
176176
177177
178178 func stakedAmount (assetId) = {
179179 let stakedAmountCalculated = match assetId {
180180 case aId: ByteVector =>
181181 if ((aId == USDN))
182182 then getInteger(stakingUSDNAddress, ((("rpd_balance_" + toBase58String(aId)) + "_") + toString(this)))
183183 else if ((aId == EURN))
184184 then getInteger(stakingEURNAddress, ((("%s%s%s__stakingBalance__" + toBase58String(aId)) + "__") + toString(this)))
185185 else 0
186186 case _: Unit =>
187187 valueOrElse(getInteger(this, kLeasingAmount), 0)
188188 case _ =>
189189 throw("Match error")
190190 }
191191 match stakedAmountCalculated {
192192 case i: Int =>
193193 i
194194 case _ =>
195195 0
196196 }
197197 }
198198
199199
200200 let stakedAmountA = stakedAmount(assetIdA)
201201
202202 let stakedAmountB = stakedAmount(assetIdB)
203203
204204 let assetInitA = getIntegerValue(this, kBalanceInitA)
205205
206206 let assetInitB = getIntegerValue(this, kBalanceInitB)
207207
208208 let availableBalanceA = (balanceA - stakedAmountA)
209209
210210 let availableBalanceB = (balanceB - stakedAmountB)
211211
212212 let accountBalanceWithStakedA = (accountBalance(assetIdA) + stakedAmountA)
213213
214214 let accountBalanceWithStakedB = (accountBalance(assetIdB) + stakedAmountB)
215215
216216 let hasEnoughBalance = if ((accountBalanceWithStakedA >= balanceA))
217217 then (accountBalanceWithStakedB >= balanceB)
218218 else false
219219
220220 func getAssetInfo (assetId) = match assetId {
221221 case id: ByteVector =>
222222 let stringId = toBase58String(id)
223223 let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
224224 $Tuple3(stringId, info.name, info.decimals)
225225 case waves: Unit =>
226226 $Tuple3("WAVES", "WAVES", 8)
227227 case _ =>
228228 throw("Match error")
229229 }
230230
231231
232232 func getAssetInfoFromString (assetStr) = if ((assetStr == "WAVES"))
233233 then $Tuple3("WAVES", "WAVES", 8)
234234 else {
235235 let stringId = assetStr
236236 let id = fromBase58String(assetStr)
237237 let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
238238 $Tuple3(stringId, info.name, info.decimals)
239239 }
240240
241241
242242 func suspend (cause) = [BooleanEntry(kActive, false), StringEntry(kCause, cause)]
243243
244244
245245 func calcStakingFuncAndAddres (stake,assetId) = if (stake)
246246 then if ((assetId == USDN))
247247 then $Tuple2("lockNeutrino", stakingUSDNAddress)
248248 else $Tuple2("startStaking", stakingEURNAddress)
249249 else if ((assetId == USDN))
250250 then $Tuple2("unlockNeutrino", stakingUSDNAddress)
251251 else $Tuple2("stopStaking", stakingEURNAddress)
252252
253253
254254 func calcStakingParams (stake,amount,assetId) = if (stake)
255255 then {
256256 let $t062906356 = calcStakingFuncAndAddres(stake, assetId)
257257 let call = $t062906356._1
258258 let stakingAddr = $t062906356._2
259259 $Tuple4(call, stakingAddr, nil, [AttachedPayment(assetId, amount)])
260260 }
261261 else {
262262 let $t064426508 = calcStakingFuncAndAddres(stake, assetId)
263263 let call = $t064426508._1
264264 let stakingAddr = $t064426508._2
265265 $Tuple4(call, stakingAddr, [amount, toBase58String(assetId)], nil)
266266 }
267267
268268
269269 func calculateFeeDiscount (userAddr) = {
270270 let swopAmount = valueOrElse(getInteger(govAddress, (toString(userAddr) + kUserSwopInGov)), 0)
271271 let discountValues = split(getStringValue(oracle, kDiscountValues), ",")
272272 let discounts = split(getStringValue(oracle, kDiscounts), ",")
273273 if (if ((swopAmount >= parseIntValue(discountValues[0])))
274274 then (parseIntValue(discountValues[1]) > swopAmount)
275275 else false)
276276 then (feeScale6 - parseIntValue(discounts[0]))
277277 else if (if ((swopAmount >= parseIntValue(discountValues[1])))
278278 then (parseIntValue(discountValues[2]) > swopAmount)
279279 else false)
280280 then (feeScale6 - parseIntValue(discounts[1]))
281281 else if (if ((swopAmount >= parseIntValue(discountValues[2])))
282282 then (parseIntValue(discountValues[3]) > swopAmount)
283283 else false)
284284 then (feeScale6 - parseIntValue(discounts[2]))
285285 else if (if ((swopAmount >= parseIntValue(discountValues[3])))
286286 then (parseIntValue(discountValues[4]) > swopAmount)
287287 else false)
288288 then (feeScale6 - parseIntValue(discounts[3]))
289289 else if ((swopAmount >= parseIntValue(discountValues[4])))
290290 then (feeScale6 - parseIntValue(discounts[4]))
291291 else feeScale6
292292 }
293293
294294
295295 func calculateFees (pmtAmount,minAmountToReceive,tokenFrom,tokenTo,caller) = {
296296 let amountWithoutFee = fraction(tokenTo, pmtAmount, (pmtAmount + tokenFrom))
297297 let feeDiscount = calculateFeeDiscount(caller)
298298 let amountWithFee = fraction(amountWithoutFee, (feeScale6 - fraction(fee, feeDiscount, feeScale6, CEILING)), feeScale6)
299299 let governanceReward = fraction(amountWithoutFee, fraction(feeGovernance, feeDiscount, feeScale6, CEILING), feeScale6)
300300 if ((minAmountToReceive > amountWithFee))
301301 then throw(((("Calculated amount to receive " + toString(amountWithFee)) + " is less than specified minimum ") + toString(minAmountToReceive)))
302302 else $Tuple3(amountWithoutFee, amountWithFee, governanceReward)
303303 }
304304
305305
306306 func suspendSuspicious () = suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(accountBalanceWithStakedA)) + " ") + assetNameA) + ", ") + toString(accountBalanceWithStakedB)) + " ") + assetNameB) + ". State: ") + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB))
307307
308308
309309 func isActive () = if (active)
310310 then unit
311311 else throw("DApp is inactive at this moment")
312312
313313
314314 @Callable(i)
315315 func init (firstHarvest) = {
316316 let $t088358912 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
317317 let pmtAmountA = $t088358912._1
318318 let pmtAssetIdA = $t088358912._2
319319 let $t089178994 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
320320 let pmtAmountB = $t089178994._1
321321 let pmtAssetIdB = $t089178994._2
322322 let $t089999076 = getAssetInfo(pmtAssetIdA)
323323 let pmtStrAssetIdA = $t089999076._1
324324 let pmtAssetNameA = $t089999076._2
325325 let pmtDecimalsA = $t089999076._3
326326 let $t090819158 = getAssetInfo(pmtAssetIdB)
327327 let pmtStrAssetIdB = $t090819158._1
328328 let pmtAssetNameB = $t090819158._2
329329 let pmtDecimalsB = $t090819158._3
330330 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminInvokePubKey], i.callerPublicKey)))
331331 then throw("Only admin can call this function")
332332 else if (isDefined(getBoolean(this, kActive)))
333333 then throw("DApp is already active")
334334 else if ((pmtAssetIdA == pmtAssetIdB))
335335 then throw("Assets must be different")
336336 else {
337337 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
338338 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
339339 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
340340 let arg1 = pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN)
341341 let arg2 = pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN)
342342 let arg3 = pow(10, 0, shareDecimals, 0, 0, DOWN)
343343 let shareInitialSupply = fraction(arg1, arg2, arg3)
344344 let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
345345 let shareIssueId = calculateAssetId(shareIssue)
346346 let stake1 = if (containsElement(stakingAssets, pmtStrAssetIdA))
347347 then invoke(this, "stakeUnstake", [true, pmtAmountA, pmtStrAssetIdA], nil)
348348 else 0
349349 if ((stake1 == stake1))
350350 then {
351351 let stake2 = if (containsElement(stakingAssets, pmtStrAssetIdB))
352352 then invoke(this, "stakeUnstake", [true, pmtAmountB, pmtStrAssetIdB], nil)
353353 else 0
354354 if ((stake2 == stake2))
355355 then {
356356 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(i.caller, shareInitialSupply, shareIssueId)]
357357 if (firstHarvest)
358358 then (baseEntry ++ [BooleanEntry(kFirstHarvest, firstHarvest), IntegerEntry(kFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))])
359359 else baseEntry
360360 }
361361 else throw("Strict value is not equal to itself.")
362362 }
363363 else throw("Strict value is not equal to itself.")
364364 }
365365 }
366366
367367
368368
369369 @Callable(i)
370370 func initWithInitRatio (amtAssetA,amtAssetB,strAssetIdA,strAssetIdB,firstHarvest) = {
371371 let $t01166311750 = getAssetInfoFromString(strAssetIdA)
372372 let pmtStrAssetIdA = $t01166311750._1
373373 let pmtAssetNameA = $t01166311750._2
374374 let pmtDecimalsA = $t01166311750._3
375375 let $t01175511842 = getAssetInfoFromString(strAssetIdB)
376376 let pmtStrAssetIdB = $t01175511842._1
377377 let pmtAssetNameB = $t01175511842._2
378378 let pmtDecimalsB = $t01175511842._3
379379 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminInvokePubKey], i.callerPublicKey)))
380380 then throw("Only admin can call this function")
381381 else if (isDefined(getBoolean(this, kActive)))
382382 then throw("DApp is already active")
383383 else if ((strAssetIdA == strAssetIdB))
384384 then throw("Assets must be different")
385385 else {
386386 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
387387 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
388388 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
389389 let shareInitialSupply = 0
390390 let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
391391 let shareIssueId = calculateAssetId(shareIssue)
392392 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)]
393393 if (firstHarvest)
394394 then (baseEntry ++ [BooleanEntry(kFirstHarvest, firstHarvest), IntegerEntry(kFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))])
395395 else baseEntry
396396 }
397397 }
398398
399399
400400
401401 @Callable(i)
402402 func keepLimitForFirstHarvest (shareLimit) = valueOrElse(isActive(), if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminInvokePubKey], i.callerPublicKey)))
403403 then throw("Only admin can call this function")
404404 else [IntegerEntry(kShareLimit, shareLimit)])
405405
406406
407407
408408 @Callable(i)
409409 func replenishWithTwoTokens (slippageTolerance) = valueOrElse(isActive(), {
410410 let pmtAssetIdA = i.payments[0].assetId
411411 let pmtAssetIdB = i.payments[1].assetId
412412 let pmtAmountA = i.payments[0].amount
413413 let pmtAmountB = i.payments[1].amount
414414 let $t01422114298 = getAssetInfo(pmtAssetIdA)
415415 let pmtStrAssetIdA = $t01422114298._1
416416 let pmtAssetNameA = $t01422114298._2
417417 let pmtDecimalsA = $t01422114298._3
418418 let $t01430314380 = getAssetInfo(pmtAssetIdB)
419419 let pmtStrAssetIdB = $t01430314380._1
420420 let pmtAssetNameB = $t01430314380._2
421421 let pmtDecimalsB = $t01430314380._3
422422 let inital = if (if ((balanceA == 0))
423423 then (balanceB == 0)
424424 else false)
425425 then true
426426 else false
427427 let tokenRatio = if (inital)
428428 then fraction(fraction(assetInitA, scaleValue8, pmtAmountA), scaleValue3, fraction(assetInitB, scaleValue8, pmtAmountB))
429429 else fraction(fraction(balanceA, scaleValue8, pmtAmountA), scaleValue3, fraction(balanceB, scaleValue8, pmtAmountB))
430430 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
431431 let shareTokenToPayAmount = if (inital)
432432 then fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN), pow(10, 0, shareDecimals, 0, 0, DOWN))
433433 else fraction(min([fraction(pmtAmountA, scaleValue8, balanceA), fraction(pmtAmountB, scaleValue8, balanceB)]), shareAssetSupply, scaleValue8)
434434 if (if ((0 > slippageTolerance))
435435 then true
436436 else (slippageTolerance > slippageToleranceDelimiter))
437437 then throw(((("Slippage tolerance must be between 0 and " + toString(slippageToleranceDelimiter)) + " inclusively. Actual: ") + toString(slippageTolerance)))
438438 else if ((size(i.payments) != 2))
439439 then throw("Two attached assets expected")
440440 else if (if ((pmtAssetIdA != assetIdA))
441441 then true
442442 else (pmtAssetIdB != assetIdB))
443443 then throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB))
444444 else if (if ((((scaleValue3 * (slippageToleranceDelimiter - slippageTolerance)) / slippageToleranceDelimiter) > tokenRatio))
445445 then true
446446 else (tokenRatio > ((scaleValue3 * (slippageToleranceDelimiter + slippageTolerance)) / slippageToleranceDelimiter)))
447447 then throw("Incorrect assets amount: amounts must have the contract ratio")
448448 else if ((shareTokenToPayAmount == 0))
449449 then throw("Too small amount to replenish")
450450 else if (!(hasEnoughBalance))
451451 then ([ScriptTransfer(i.caller, pmtAmountA, pmtAssetIdA), ScriptTransfer(i.caller, pmtAmountB, pmtAssetIdB)] ++ suspendSuspicious())
452452 else {
453453 let stake1 = if (containsElement(stakingAssets, pmtStrAssetIdA))
454454 then invoke(this, "stakeUnstake", [true, pmtAmountA, pmtStrAssetIdA], nil)
455455 else 0
456456 if ((stake1 == stake1))
457457 then {
458458 let stake2 = if (containsElement(stakingAssets, pmtStrAssetIdB))
459459 then invoke(this, "stakeUnstake", [true, pmtAmountB, pmtStrAssetIdB], nil)
460460 else 0
461461 if ((stake2 == stake2))
462462 then [Reissue(shareAssetId, shareTokenToPayAmount, true), IntegerEntry(kBalanceA, (balanceA + pmtAmountA)), IntegerEntry(kBalanceB, (balanceB + pmtAmountB)), IntegerEntry(kShareAssetSupply, (shareAssetSupply + shareTokenToPayAmount)), ScriptTransfer(i.caller, shareTokenToPayAmount, shareAssetId)]
463463 else throw("Strict value is not equal to itself.")
464464 }
465465 else throw("Strict value is not equal to itself.")
466466 }
467467 })
468468
469469
470470
471471 @Callable(i)
472472 func withdraw () = valueOrElse(isActive(), {
473473 let $t01718017255 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
474474 let pmtAmount = $t01718017255._1
475475 let pmtAssetId = $t01718017255._2
476476 let amountToPayA = fraction(pmtAmount, balanceA, shareAssetSupply)
477477 let amountToPayB = fraction(pmtAmount, balanceB, shareAssetSupply)
478478 if ((size(i.payments) != 1))
479479 then throw("One attached payment expected")
480480 else if ((pmtAssetId != shareAssetId))
481481 then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
482482 else if (!(hasEnoughBalance))
483483 then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
484484 else {
485485 let stake1 = if (containsElement(stakingAssets, strAssetIdA))
486486 then invoke(this, "stakeUnstake", [false, amountToPayA, strAssetIdA], nil)
487487 else 0
488488 if ((stake1 == stake1))
489489 then {
490490 let stake2 = if (containsElement(stakingAssets, strAssetIdB))
491491 then invoke(this, "stakeUnstake", [false, amountToPayB, strAssetIdB], nil)
492492 else 0
493493 if ((stake2 == stake2))
494494 then [IntegerEntry(kBalanceA, (balanceA - amountToPayA)), IntegerEntry(kBalanceB, (balanceB - amountToPayB)), IntegerEntry(kShareAssetSupply, (shareAssetSupply - pmtAmount)), Burn(shareAssetId, pmtAmount), ScriptTransfer(i.caller, amountToPayA, assetIdA), ScriptTransfer(i.caller, amountToPayB, assetIdB)]
495495 else throw("Strict value is not equal to itself.")
496496 }
497497 else throw("Strict value is not equal to itself.")
498498 }
499499 })
500500
501501
502502
503503 @Callable(i)
504504 func exchange (minAmountToReceive) = valueOrElse(isActive(), {
505505 let $t01855418629 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
506506 let pmtAmount = $t01855418629._1
507507 let pmtAssetId = $t01855418629._2
508508 if (if ((balanceA == 0))
509509 then true
510510 else (balanceB == 0))
511511 then throw("Can't exchange with zero balance")
512512 else if ((0 >= minAmountToReceive))
513513 then throw(("Minimal amount to receive must be positive. Actual: " + toString(minAmountToReceive)))
514514 else if ((size(i.payments) != 1))
515515 then throw("One attached payment expected")
516516 else if (!(hasEnoughBalance))
517517 then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
518518 else if ((pmtAssetId == assetIdA))
519519 then {
520520 let assetIdSend = assetIdB
521521 let $t01918019318 = calculateFees(pmtAmount, minAmountToReceive, balanceA, balanceB, i.originCaller)
522522 let amountWithoutFee = $t01918019318._1
523523 let amountWithFee = $t01918019318._2
524524 let governanceReward = $t01918019318._3
525525 let newBalanceA = (balanceA + pmtAmount)
526526 let newBalanceB = ((balanceB - amountWithFee) - governanceReward)
527527 let stake1 = if (containsElement(stakingAssets, strAssetIdA))
528528 then invoke(this, "stakeUnstake", [true, pmtAmount, strAssetIdA], nil)
529529 else 0
530530 if ((stake1 == stake1))
531531 then {
532532 let stake2 = if (containsElement(stakingAssets, strAssetIdB))
533533 then invoke(this, "stakeUnstake", [false, (amountWithFee + governanceReward), strAssetIdB], nil)
534534 else 0
535535 if ((stake2 == stake2))
536536 then $Tuple2([IntegerEntry(kBalanceA, newBalanceA), IntegerEntry(kBalanceB, newBalanceB), ScriptTransfer(i.caller, amountWithFee, assetIdSend), ScriptTransfer(moneyBoxAddress, governanceReward, assetIdSend)], $Tuple2(amountWithFee, assetIdSend))
537537 else throw("Strict value is not equal to itself.")
538538 }
539539 else throw("Strict value is not equal to itself.")
540540 }
541541 else if ((pmtAssetId == assetIdB))
542542 then {
543543 let assetIdSend = assetIdA
544544 let $t02031020448 = calculateFees(pmtAmount, minAmountToReceive, balanceB, balanceA, i.originCaller)
545545 let amountWithoutFee = $t02031020448._1
546546 let amountWithFee = $t02031020448._2
547547 let governanceReward = $t02031020448._3
548548 let newBalanceA = ((balanceA - amountWithFee) - governanceReward)
549549 let newBalanceB = (balanceB + pmtAmount)
550550 let stake1 = if (containsElement(stakingAssets, strAssetIdA))
551551 then invoke(this, "stakeUnstake", [false, (amountWithFee + governanceReward), strAssetIdA], nil)
552552 else 0
553553 if ((stake1 == stake1))
554554 then {
555555 let stake2 = if (containsElement(stakingAssets, strAssetIdB))
556556 then invoke(this, "stakeUnstake", [true, pmtAmount, strAssetIdB], nil)
557557 else 0
558558 if ((stake2 == stake2))
559559 then $Tuple2([IntegerEntry(kBalanceA, newBalanceA), IntegerEntry(kBalanceB, newBalanceB), ScriptTransfer(i.caller, amountWithFee, assetIdSend), ScriptTransfer(moneyBoxAddress, governanceReward, assetIdSend)], $Tuple2(amountWithFee, assetIdSend))
560560 else throw("Strict value is not equal to itself.")
561561 }
562562 else throw("Strict value is not equal to itself.")
563563 }
564564 else throw(((("Incorrect asset attached. Expected: " + strAssetIdA) + " or ") + strAssetIdB))
565565 })
566566
567567
568568
569569 @Callable(i)
570570 func shutdown () = if (!(active))
571571 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, kCause), "the cause wasn't specified")))
572572 else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)))
573573 then throw("Only admin can call this function")
574574 else suspend("Paused by admin")
575575
576576
577577
578578 @Callable(i)
579579 func activate () = if (active)
580580 then throw("DApp is already active")
581581 else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)))
582582 then throw("Only admin can call this function")
583583 else [BooleanEntry(kActive, true), DeleteEntry(kCause)]
584584
585585
586586
587587 @Callable(i)
588588 func takeIntoAccountExtraFunds () = valueOrElse(isActive(), {
589589 let amountEnrollA = (accountBalanceWithStakedA - balanceA)
590590 let amountEnrollB = (accountBalanceWithStakedB - balanceB)
591591 if ((i.caller != moneyBoxAddress))
592592 then throw("Only the wallet can call this function")
593593 else if (if ((0 > amountEnrollA))
594594 then true
595595 else (0 > amountEnrollB))
596596 then suspend("Enroll amount negative")
597597 else if (if ((amountEnrollA == 0))
598598 then (amountEnrollB == 0)
599599 else false)
600600 then throw("No money to take")
601601 else {
602602 let stake1 = if (containsElement(stakingAssets, strAssetIdA))
603603 then invoke(this, "stakeUnstake", [true, amountEnrollA, strAssetIdA], nil)
604604 else 0
605605 if ((stake1 == stake1))
606606 then {
607607 let stake2 = if (containsElement(stakingAssets, strAssetIdB))
608608 then invoke(this, "stakeUnstake", [true, amountEnrollB, strAssetIdB], nil)
609609 else 0
610610 if ((stake2 == stake2))
611611 then [IntegerEntry(kBalanceA, (balanceA + amountEnrollA)), IntegerEntry(kBalanceB, (balanceB + amountEnrollB)), IntegerEntry(("last_income_" + strAssetIdA), amountEnrollA), IntegerEntry(("last_income_" + strAssetIdB), amountEnrollB)]
612612 else throw("Strict value is not equal to itself.")
613613 }
614614 else throw("Strict value is not equal to itself.")
615615 }
616616 })
617617
618618
619619
620620 @Callable(i)
621621 func stakeUnstake (stake,amount,assetIdString) = if ((i.caller != this))
622622 then throw("Only contract itself can invoke this function")
623623 else if ((assetIdString == "WAVES"))
624624 then {
625625 let pool = addressFromStringValue(valueOrErrorMessage(getString(oracle, kLeasingPool), "No leasing pool in oracle"))
626626 let leasingId = getBinary(this, kLeasingId)
627627 let leasingAmount = valueOrElse(getInteger(this, kLeasingAmount), 0)
628628 let newLeaseAmount = if (stake)
629629 then (leasingAmount + amount)
630630 else (leasingAmount - amount)
631631 let newLease = Lease(pool, newLeaseAmount)
632632 let newLeaseId = calculateLeaseId(newLease)
633633 let baseEtry = [newLease, BinaryEntry(kLeasingId, newLeaseId), IntegerEntry(kLeasingAmount, newLeaseAmount)]
634634 match leasingId {
635635 case lId: ByteVector =>
636636 ([LeaseCancel(lId)] ++ baseEtry)
637637 case _ =>
638638 baseEtry
639639 }
640640 }
641641 else {
642642 let $t02420224305 = calcStakingParams(stake, amount, fromBase58String(assetIdString))
643643 let call = $t02420224305._1
644644 let addr = $t02420224305._2
645645 let params = $t02420224305._3
646646 let payments = $t02420224305._4
647647 let inv = invoke(addr, call, params, payments)
648648 if ((inv == inv))
649649 then nil
650650 else throw("Strict value is not equal to itself.")
651651 }
652652
653653
654654
655655 @Callable(i)
656656 func stakeAll () = valueOrElse(isActive(), if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)))
657657 then throw("Only admin can call this function")
658658 else {
659659 let stake1 = if (containsElement(stakingAssets, strAssetIdA))
660660 then {
661661 let amountA = (balanceA - stakedAmountA)
662662 if ((amountA > 0))
663663 then invoke(this, "stakeUnstake", [true, amountA, strAssetIdA], nil)
664664 else 0
665665 }
666666 else 0
667667 if ((stake1 == stake1))
668668 then {
669669 let stake2 = if (containsElement(stakingAssets, strAssetIdB))
670670 then {
671671 let amountB = (balanceB - stakedAmountB)
672672 if ((amountB > 0))
673673 then invoke(this, "stakeUnstake", [true, amountB, strAssetIdB], nil)
674674 else 0
675675 }
676676 else 0
677677 if ((stake2 == stake2))
678678 then nil
679679 else throw("Strict value is not equal to itself.")
680680 }
681681 else throw("Strict value is not equal to itself.")
682682 })
683683
684684
685685 @Verifier(tx)
686686 func verify () = {
687687 let multiSignedByAdmins = {
688688 let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
689689 then 1
690690 else 0
691691 let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2))
692692 then 1
693693 else 0
694694 let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3))
695695 then 1
696696 else 0
697697 (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2)
698698 }
699699 match tx {
700700 case inv: InvokeScriptTransaction =>
701701 let callTakeIntoAccount = if ((inv.dApp == this))
702702 then (inv.function == "takeIntoAccountExtraFunds")
703703 else false
704704 let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
705705 then true
706706 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey2))
707707 then true
708708 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey3))
709709 then true
710710 else sigVerify(tx.bodyBytes, tx.proofs[0], adminInvokePubKey)
711711 if (if (callTakeIntoAccount)
712712 then signedByAdmin
713713 else false)
714714 then true
715715 else multiSignedByAdmins
716716 case _ =>
717717 multiSignedByAdmins
718718 }
719719 }
720720

github/deemru/w8io/026f985 
71.38 ms