tx · 9WNntRuSXefQL7r7FpXiPyM3BtdNScWzLc7RhhykD4rw

3N3cToak2JVDJLAjx6n1f9ZCftQmm1VdcRb:  -0.01400000 Waves

2021.08.15 12:22 [1659289] smart account 3N3cToak2JVDJLAjx6n1f9ZCftQmm1VdcRb > SELF 0.00000000 Waves

{ "type": 13, "id": "9WNntRuSXefQL7r7FpXiPyM3BtdNScWzLc7RhhykD4rw", "fee": 1400000, "feeAssetId": null, "timestamp": 1629019374451, "version": 1, "sender": "3N3cToak2JVDJLAjx6n1f9ZCftQmm1VdcRb", "senderPublicKey": "912Q8em6yq3M79h6QezMGEbKkBNmxb9hwkxy8a7DQHnb", "proofs": [ "3qKPowKvhwkNnMQGB4XeKTWouqNFiAxHDWN8Y9YYw6KP7ncC59NovUrL4swX1J6cdNZcKnzFQTDNCo83PyUpV96S" ], "script": "base64:AAIFAAAAAAAAACoIAhIDCgEEEgcKBQEBCAgEEgMKAQESAwoBARIAEgMKAQESABIAEgMKAQEAAABUAAAAAAd2ZXJzaW9uAgAAAAUxLjAuMAAAAAAKa2V5VmVyc2lvbgIAAAAHdmVyc2lvbgAAAAAJa2V5QWN0aXZlAgAAAAZhY3RpdmUAAAAAC2tleUFzc2V0SWRBAgAAAApBX2Fzc2V0X2lkAAAAAAtrZXlBc3NldElkQgIAAAAKQl9hc3NldF9pZAAAAAALa2V5QmFsYW5jZUECAAAAD0FfYXNzZXRfYmFsYW5jZQAAAAALa2V5QmFsYW5jZUICAAAAD0JfYXNzZXRfYmFsYW5jZQAAAAAPa2V5QmFsYW5jZUluaXRBAgAAAAxBX2Fzc2V0X2luaXQAAAAAD2tleUJhbGFuY2VJbml0QgIAAAAMQl9hc3NldF9pbml0AAAAAA9rZXlTaGFyZUFzc2V0SWQCAAAADnNoYXJlX2Fzc2V0X2lkAAAAABNrZXlTaGFyZUFzc2V0U3VwcGx5AgAAABJzaGFyZV9hc3NldF9zdXBwbHkAAAAADWtleUNvbW1pc3Npb24CAAAACmNvbW1pc3Npb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AAAAAAFAAAADWFtb3VudEVucm9sbEIJAAACAAAAAQIAAAAVVG9vIGxhcmdlIGFtb3VudExlYXZlCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAAAtrZXlCYWxhbmNlQQkAAGQAAAACBQAAAAhiYWxhbmNlQQUAAAANYW1vdW50RW5yb2xsQQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAALa2V5QmFsYW5jZUIJAABkAAAAAgUAAAAIYmFsYW5jZUIFAAAADWFtb3VudEVucm9sbEIJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgIAAAAMbGFzdF9pbmNvbWVfBQAAAAtzdHJBc3NldElkQQUAAAANYW1vdW50RW5yb2xsQQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACAgAAAAxsYXN0X2luY29tZV8FAAAAC3N0ckFzc2V0SWRCBQAAAA1hbW91bnRFbnJvbGxCBQAAAANuaWwAAAAAUFr8DA==", "chainId": 84, "height": 1659289, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7pXv2urcrkQ3c6SbsHrKNAhzHsM61ybygijfTwTRCsMG Next: Axf8cLzxNt8DNW14aXY9KuDTAGGSu3uFbH32pTwixpZ7 Diff:
OldNewDifferences
6969
7070 let adminPubKeyStaking = base58'Czn4yoAuUZCVCLJDRfskn8URfkwpknwBTZDbs1wFrY7h'
7171
72-let walletAddress = Address(base58'3P6J84oH51DzY6xk2mT5TheXRbrCwBMxonp')
72+let walletAddress = Address(base58'3MqhxbxHEMtp2Rwy1gUb6cPSJHQepdap1Yp')
7373
74-let votingAddress = Address(base58'3PQZWxShKGRgBN1qoJw6B4s9YWS9FneZTPg')
74+let votingAddress = Address(base58'3MqhxbxHEMtp2Rwy1gUb6cPSJHQepdap1Yp')
7575
7676 let USDN = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
7777
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let version = "1.0.0"
55
66 let keyVersion = "version"
77
88 let keyActive = "active"
99
1010 let keyAssetIdA = "A_asset_id"
1111
1212 let keyAssetIdB = "B_asset_id"
1313
1414 let keyBalanceA = "A_asset_balance"
1515
1616 let keyBalanceB = "B_asset_balance"
1717
1818 let keyBalanceInitA = "A_asset_init"
1919
2020 let keyBalanceInitB = "B_asset_init"
2121
2222 let keyShareAssetId = "share_asset_id"
2323
2424 let keyShareAssetSupply = "share_asset_supply"
2525
2626 let keyCommission = "commission"
2727
2828 let keyCommissionScaleDelimiter = "commission_scale_delimiter"
2929
3030 let keyCause = "shutdown_cause"
3131
3232 let keyFirstHarvest = "first_harvest"
3333
3434 let keyFirstHarvestHeight = "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 kFirstHarvestHeight = "first_harvest_height"
4545
4646 let keyAdminPubKey1 = "admin_pub_1"
4747
4848 let keyAdminPubKey2 = "admin_pub_2"
4949
5050 let keyAdminPubKey3 = "admin_pub_3"
5151
5252 let oracle = Address(base58'3PEbqViERCoKnmcSULh6n2aiMvUdSQdCsom')
5353
5454 func getAdminPub (keyAdminPub) = match getString(oracle, keyAdminPub) {
5555 case string: String =>
5656 fromBase58String(string)
5757 case nothing =>
5858 throw("Admin public key is empty")
5959 }
6060
6161
6262 let adminPubKey1 = getAdminPub(keyAdminPubKey1)
6363
6464 let adminPubKey2 = getAdminPub(keyAdminPubKey2)
6565
6666 let adminPubKey3 = getAdminPub(keyAdminPubKey3)
6767
6868 let adminPubKeyStartStop = base58'EtVkT6ed8GtbUiVVEqdmEqsp2J4qbb3rre2HFgxeVYdg'
6969
7070 let adminPubKeyStaking = base58'Czn4yoAuUZCVCLJDRfskn8URfkwpknwBTZDbs1wFrY7h'
7171
72-let walletAddress = Address(base58'3P6J84oH51DzY6xk2mT5TheXRbrCwBMxonp')
72+let walletAddress = Address(base58'3MqhxbxHEMtp2Rwy1gUb6cPSJHQepdap1Yp')
7373
74-let votingAddress = Address(base58'3PQZWxShKGRgBN1qoJw6B4s9YWS9FneZTPg')
74+let votingAddress = Address(base58'3MqhxbxHEMtp2Rwy1gUb6cPSJHQepdap1Yp')
7575
7676 let USDN = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
7777
7878 let NSBT = base58'6nSpVyNH7yM69eg446wrQR94ipbbcmZMU1ENPwanC97g'
7979
8080 let SWOP = base58'Ehie5xYpeN8op1Cctc6aGUrqx8jq3jtf1DSjXDbfm7aT'
8181
8282 let EURN = base58'DUk2YTxhRoAqMJLus4G2b3fR8hMHVh6eiyFx5r29VR6t'
8383
8484 let stakingUSDNNSBTAddress = Address(base58'3PNikM6yp4NqcSU8guxQtmR5onr2D4e8yTJ')
8585
8686 let stakingEURNAddress = Address(base58'3PFhcMmEZoQTQ6ohA844c7C9M8ZJ18P8dDj')
8787
8888 let USDNToWavesExchanger = Address(base58'3PHaNgomBkrvEL2QnuJarQVJa71wjw9qiqG')
8989
9090 let USDNToNSBTExchanger = Address(base58'3P2V63Xd6BviDkeMzxhUw2SJyojByRz8a8m')
9191
9292 let stakingFeeInUSDN = 270000
9393
9494 let stakingFeeInEURN = 234000
9595
9696 let basePeriod = valueOrErrorMessage(getInteger(votingAddress, kBasePeriod), "Empty kBasePeriod")
9797
9898 let startHeight = valueOrErrorMessage(getInteger(votingAddress, kStartHeight), "Empty kStartHeight")
9999
100100 let periodLength = valueOrErrorMessage(getInteger(votingAddress, kPeriodLength), "Empty kPeriodLength")
101101
102102 let firstHarvestEndPeriod = ((basePeriod + ((height - startHeight) / periodLength)) + 3)
103103
104104 let isActive = getBooleanValue(this, keyActive)
105105
106106 let strAssetIdA = getStringValue(this, keyAssetIdA)
107107
108108 let strAssetIdB = getStringValue(this, keyAssetIdB)
109109
110110 let assetIdA = if ((strAssetIdA == "WAVES"))
111111 then unit
112112 else fromBase58String(strAssetIdA)
113113
114114 let assetIdB = if ((strAssetIdB == "WAVES"))
115115 then unit
116116 else fromBase58String(strAssetIdB)
117117
118118 let assetNameA = match assetIdA {
119119 case id: ByteVector =>
120120 value(assetInfo(id)).name
121121 case waves: Unit =>
122122 "WAVES"
123123 case _ =>
124124 throw("Match error")
125125 }
126126
127127 let assetNameB = match assetIdB {
128128 case id: ByteVector =>
129129 value(assetInfo(id)).name
130130 case waves: Unit =>
131131 "WAVES"
132132 case _ =>
133133 throw("Match error")
134134 }
135135
136136 let balanceA = getIntegerValue(this, keyBalanceA)
137137
138138 let balanceB = getIntegerValue(this, keyBalanceB)
139139
140140 let shareAssetId = fromBase58String(getStringValue(this, keyShareAssetId))
141141
142142 let shareAssetSupply = getIntegerValue(this, keyShareAssetSupply)
143143
144144 let commission = 3000
145145
146146 let commissionGovernance = 1200
147147
148148 let commissionScaleDelimiter = 1000000
149149
150150 let scaleValue3 = 1000
151151
152152 let scaleValue8 = 100000000
153153
154154 let slippageToleranceDelimiter = 1000
155155
156156 let scaleValue8Digits = 8
157157
158158 func accountBalance (assetId) = match assetId {
159159 case id: ByteVector =>
160160 assetBalance(this, id)
161161 case waves: Unit =>
162162 wavesBalance(this).available
163163 case _ =>
164164 throw("Match error")
165165 }
166166
167167
168168 func stakedAmount (assetId) = {
169169 let stakedAmountCalculated = match assetId {
170170 case aId: ByteVector =>
171171 if (if ((aId == USDN))
172172 then true
173173 else (aId == NSBT))
174174 then getInteger(stakingUSDNNSBTAddress, ((("rpd_balance_" + toBase58String(aId)) + "_") + toString(this)))
175175 else if ((aId == EURN))
176176 then getInteger(stakingEURNAddress, ((("%s%s%s__stakingBalance__" + toBase58String(aId)) + "__") + toString(this)))
177177 else 0
178178 case _: Unit =>
179179 0
180180 case _ =>
181181 throw("Match error")
182182 }
183183 match stakedAmountCalculated {
184184 case i: Int =>
185185 i
186186 case _ =>
187187 0
188188 }
189189 }
190190
191191
192192 let stakedAmountA = stakedAmount(assetIdA)
193193
194194 let stakedAmountB = stakedAmount(assetIdB)
195195
196196 let assetInitA = getIntegerValue(this, keyBalanceInitA)
197197
198198 let assetInitB = getIntegerValue(this, keyBalanceInitB)
199199
200200 let availableBalanceA = (balanceA - stakedAmountA)
201201
202202 let availableBalanceB = (balanceB - stakedAmountB)
203203
204204 let accountBalanceWithStakedA = (accountBalance(assetIdA) + stakedAmountA)
205205
206206 let accountBalanceWithStakedB = (accountBalance(assetIdB) + stakedAmountB)
207207
208208 let hasEnoughBalance = if ((accountBalanceWithStakedA >= balanceA))
209209 then (accountBalanceWithStakedB >= balanceB)
210210 else false
211211
212212 func getAssetInfo (assetId) = match assetId {
213213 case id: ByteVector =>
214214 let stringId = toBase58String(id)
215215 let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
216216 $Tuple3(stringId, info.name, info.decimals)
217217 case waves: Unit =>
218218 $Tuple3("WAVES", "WAVES", 8)
219219 case _ =>
220220 throw("Match error")
221221 }
222222
223223
224224 func getAssetInfoFromString (assetStr) = if ((assetStr == "WAVES"))
225225 then $Tuple3("WAVES", "WAVES", 8)
226226 else {
227227 let stringId = assetStr
228228 let id = fromBase58String(assetStr)
229229 let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
230230 $Tuple3(stringId, info.name, info.decimals)
231231 }
232232
233233
234234 func suspend (cause) = [BooleanEntry(keyActive, false), StringEntry(keyCause, cause)]
235235
236236
237237 func deductStakingFee (amount,assetId,secondAssetId) = if (if ((assetId == USDN))
238238 then true
239239 else (assetId == EURN))
240240 then {
241241 let stakinFee = if ((assetId == USDN))
242242 then (stakingFeeInUSDN * (if ((secondAssetId == NSBT))
243243 then 2
244244 else 1))
245245 else if ((assetId == EURN))
246246 then stakingFeeInEURN
247247 else 0
248248 let result = (amount - stakinFee)
249249 if ((0 >= result))
250250 then throw((((("Insufficient amount " + toString(amount)) + " to deduct staking fee ") + toString(stakinFee)) + "USDN/EURN"))
251251 else result
252252 }
253253 else amount
254254
255255
256256 func getStakingFee (assetId,secondAssetId) = if ((assetId == USDN))
257257 then (stakingFeeInUSDN * (if ((secondAssetId == NSBT))
258258 then 2
259259 else 1))
260260 else if ((assetId == EURN))
261261 then stakingFeeInEURN
262262 else 0
263263
264264
265265 func throwInsufficientAvailableBalance (amount,available,assetName) = throw((((((((("Insufficient DApp balance to pay " + toString(amount)) + " ") + assetName) + " due to staking. Available: ") + toString(available)) + " ") + assetName) + ". Please contact support in Telegram: https://t.me/swopfisupport"))
266266
267267
268268 func throwInsufficientAvailableBalances (amountA,amountB) = throw((((((((((((((((("Insufficient DApp balance to pay " + toString(amountA)) + " ") + assetNameA) + " and ") + toString(amountB)) + " ") + assetNameB) + " due to staking. Available: ") + toString(availableBalanceA)) + " ") + assetNameA) + " and ") + toString(availableBalanceB)) + " ") + assetNameB) + ". Please contact support in Telegram: https://t.me/swopfisupport"))
269269
270270
271271 func suspendSuspicious () = suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(accountBalanceWithStakedA)) + " ") + assetNameA) + ", ") + toString(accountBalanceWithStakedB)) + " ") + assetNameB) + ". State: ") + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB))
272272
273273
274274 @Callable(i)
275275 func init (firstHarvest) = {
276276 let $t080008077 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
277277 let pmtAmountA = $t080008077._1
278278 let pmtAssetIdA = $t080008077._2
279279 let $t080828159 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
280280 let pmtAmountB = $t080828159._1
281281 let pmtAssetIdB = $t080828159._2
282282 let $t081648241 = getAssetInfo(pmtAssetIdA)
283283 let pmtStrAssetIdA = $t081648241._1
284284 let pmtAssetNameA = $t081648241._2
285285 let pmtDecimalsA = $t081648241._3
286286 let $t082468502 = getAssetInfo(pmtAssetIdB)
287287 let pmtStrAssetIdB = $t082468502._1
288288 let pmtAssetNameB = $t082468502._2
289289 let pmtDecimalsB = $t082468502._3
290290 if (isDefined(getBoolean(this, keyActive)))
291291 then throw("DApp is already active")
292292 else if ((pmtAssetIdA == pmtAssetIdB))
293293 then throw("Assets must be different")
294294 else {
295295 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
296296 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
297297 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
298298 let arg1 = pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN)
299299 let arg2 = pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN)
300300 let arg3 = pow(10, 0, shareDecimals, 0, 0, DOWN)
301301 let shareInitialSupply = fraction(arg1, arg2, arg3)
302302 let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
303303 let shareIssueId = calculateAssetId(shareIssue)
304304 let baseEntry = [StringEntry(keyVersion, version), BooleanEntry(keyActive, true), StringEntry(keyAssetIdA, pmtStrAssetIdA), StringEntry(keyAssetIdB, pmtStrAssetIdB), IntegerEntry(keyBalanceA, pmtAmountA), IntegerEntry(keyBalanceB, pmtAmountB), IntegerEntry(keyCommission, commission), IntegerEntry(keyCommissionScaleDelimiter, commissionScaleDelimiter), shareIssue, StringEntry(keyShareAssetId, toBase58String(shareIssueId)), IntegerEntry(keyShareAssetSupply, shareInitialSupply), ScriptTransfer(i.caller, shareInitialSupply, shareIssueId)]
305305 if (firstHarvest)
306306 then (baseEntry ++ [BooleanEntry(keyFirstHarvest, firstHarvest), IntegerEntry(keyFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))])
307307 else baseEntry
308308 }
309309 }
310310
311311
312312
313313 @Callable(i)
314314 func initWithInitRatio (amtAssetA,amtAssetB,strAssetIdA,strAssetIdB,firstHarvest) = {
315315 let $t01057910666 = getAssetInfoFromString(strAssetIdA)
316316 let pmtStrAssetIdA = $t01057910666._1
317317 let pmtAssetNameA = $t01057910666._2
318318 let pmtDecimalsA = $t01057910666._3
319319 let $t01067110758 = getAssetInfoFromString(strAssetIdB)
320320 let pmtStrAssetIdB = $t01067110758._1
321321 let pmtAssetNameB = $t01067110758._2
322322 let pmtDecimalsB = $t01067110758._3
323323 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStaking], i.callerPublicKey)))
324324 then throw("Only admin can call this function")
325325 else if (isDefined(getBoolean(this, keyActive)))
326326 then throw("DApp is already active")
327327 else if ((strAssetIdA == strAssetIdB))
328328 then throw("Assets must be different")
329329 else {
330330 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
331331 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
332332 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
333333 let shareInitialSupply = 0
334334 let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
335335 let shareIssueId = calculateAssetId(shareIssue)
336336 let baseEntry = [StringEntry(keyVersion, version), BooleanEntry(keyActive, true), StringEntry(keyAssetIdA, pmtStrAssetIdA), StringEntry(keyAssetIdB, pmtStrAssetIdB), IntegerEntry(keyBalanceInitA, amtAssetA), IntegerEntry(keyBalanceInitB, amtAssetB), IntegerEntry(keyBalanceA, 0), IntegerEntry(keyBalanceB, 0), IntegerEntry(keyCommission, commission), IntegerEntry(keyCommissionScaleDelimiter, commissionScaleDelimiter), shareIssue, StringEntry(keyShareAssetId, toBase58String(shareIssueId)), IntegerEntry(keyShareAssetSupply, shareInitialSupply)]
337337 if (firstHarvest)
338338 then (baseEntry ++ [BooleanEntry(keyFirstHarvest, firstHarvest), IntegerEntry(keyFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))])
339339 else baseEntry
340340 }
341341 }
342342
343343
344344
345345 @Callable(i)
346346 func keepLimitForFirstHarvest (shareLimit) = if (!(isActive))
347347 then throw("DApp is inactive at this moment")
348348 else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStaking], i.callerPublicKey)))
349349 then throw("Only admin can call this function")
350350 else [IntegerEntry(kShareLimit, shareLimit)]
351351
352352
353353
354354 @Callable(i)
355355 func replenishWithTwoTokens (slippageTolerance) = {
356356 let pmtAssetIdA = i.payments[0].assetId
357357 let pmtAssetIdB = i.payments[1].assetId
358358 let pmtAmountA = deductStakingFee(i.payments[0].amount, pmtAssetIdA, pmtAssetIdB)
359359 let pmtAmountB = deductStakingFee(i.payments[1].amount, pmtAssetIdB, pmtAssetIdA)
360360 if (if ((balanceA == 0))
361361 then (balanceB == 0)
362362 else false)
363363 then {
364364 let $t01346913546 = getAssetInfo(pmtAssetIdA)
365365 let pmtStrAssetIdA = $t01346913546._1
366366 let pmtAssetNameA = $t01346913546._2
367367 let pmtDecimalsA = $t01346913546._3
368368 let $t01355513632 = getAssetInfo(pmtAssetIdB)
369369 let pmtStrAssetIdB = $t01355513632._1
370370 let pmtAssetNameB = $t01355513632._2
371371 let pmtDecimalsB = $t01355513632._3
372372 let tokenRatio = fraction(fraction(assetInitA, scaleValue8, pmtAmountA), scaleValue3, fraction(assetInitB, scaleValue8, pmtAmountB))
373373 if ((pmtAssetIdA == pmtAssetIdB))
374374 then throw("Assets must be different")
375375 else {
376376 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
377377 let shareInitialSupply = fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN), pow(10, 0, shareDecimals, 0, 0, DOWN))
378378 if (!(isActive))
379379 then throw("DApp is inactive at this moment")
380380 else if (if ((0 > slippageTolerance))
381381 then true
382382 else (slippageTolerance > slippageToleranceDelimiter))
383383 then throw(((("Slippage tolerance must be between 0 and " + toString(slippageToleranceDelimiter)) + " inclusively. Actual: ") + toString(slippageTolerance)))
384384 else if ((size(i.payments) != 2))
385385 then throw("Two attached assets expected")
386386 else if (if ((((scaleValue3 * (slippageToleranceDelimiter - slippageTolerance)) / slippageToleranceDelimiter) > tokenRatio))
387387 then true
388388 else (tokenRatio > ((scaleValue3 * (slippageToleranceDelimiter + slippageTolerance)) / slippageToleranceDelimiter)))
389389 then throw("Incorrect assets amount: amounts must have the contract ratio")
390390 else if (if ((pmtAssetIdA != assetIdA))
391391 then true
392392 else (pmtAssetIdB != assetIdB))
393393 then throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB))
394394 else if ((shareInitialSupply == 0))
395395 then throw("Too small amount to replenish")
396396 else if (!(hasEnoughBalance))
397397 then ([ScriptTransfer(i.caller, pmtAmountA, pmtAssetIdA), ScriptTransfer(i.caller, pmtAmountB, pmtAssetIdB)] ++ suspendSuspicious())
398398 else [Reissue(shareAssetId, shareInitialSupply, true), IntegerEntry(keyBalanceA, pmtAmountA), IntegerEntry(keyBalanceB, pmtAmountB), IntegerEntry(keyShareAssetSupply, shareInitialSupply), ScriptTransfer(i.caller, shareInitialSupply, shareAssetId)]
399399 }
400400 }
401401 else {
402402 let tokenRatio = fraction(fraction(balanceA, scaleValue8, pmtAmountA), scaleValue3, fraction(balanceB, scaleValue8, pmtAmountB))
403403 let ratioShareTokensInA = fraction(pmtAmountA, scaleValue8, balanceA)
404404 let ratioShareTokensInB = fraction(pmtAmountB, scaleValue8, balanceB)
405405 let shareTokenToPayAmount = fraction(min([ratioShareTokensInA, ratioShareTokensInB]), shareAssetSupply, scaleValue8)
406406 if (!(isActive))
407407 then throw("DApp is inactive at this moment")
408408 else if (if ((0 > slippageTolerance))
409409 then true
410410 else (slippageTolerance > slippageToleranceDelimiter))
411411 then throw(((("Slippage tolerance must be between 0 and " + toString(slippageToleranceDelimiter)) + " inclusively. Actual: ") + toString(slippageTolerance)))
412412 else if ((size(i.payments) != 2))
413413 then throw("Two attached assets expected")
414414 else if (if ((pmtAssetIdA != assetIdA))
415415 then true
416416 else (pmtAssetIdB != assetIdB))
417417 then throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB))
418418 else if (if ((((scaleValue3 * (slippageToleranceDelimiter - slippageTolerance)) / slippageToleranceDelimiter) > tokenRatio))
419419 then true
420420 else (tokenRatio > ((scaleValue3 * (slippageToleranceDelimiter + slippageTolerance)) / slippageToleranceDelimiter)))
421421 then throw("Incorrect assets amount: amounts must have the contract ratio")
422422 else if ((shareTokenToPayAmount == 0))
423423 then throw("Too small amount to replenish")
424424 else if (!(hasEnoughBalance))
425425 then ([ScriptTransfer(i.caller, pmtAmountA, pmtAssetIdA), ScriptTransfer(i.caller, pmtAmountB, pmtAssetIdB)] ++ suspendSuspicious())
426426 else [IntegerEntry(keyBalanceA, (balanceA + pmtAmountA)), IntegerEntry(keyBalanceB, (balanceB + pmtAmountB)), IntegerEntry(keyShareAssetSupply, (shareAssetSupply + shareTokenToPayAmount)), Reissue(shareAssetId, shareTokenToPayAmount, true), ScriptTransfer(i.caller, shareTokenToPayAmount, shareAssetId)]
427427 }
428428 }
429429
430430
431431
432432 @Callable(i)
433433 func withdraw () = {
434434 let $t01803118181 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
435435 let pmtAmount = $t01803118181._1
436436 let pmtAssetId = $t01803118181._2
437437 let amountToPayA = deductStakingFee(fraction(pmtAmount, balanceA, shareAssetSupply), assetIdA, assetIdB)
438438 let amountToPayB = deductStakingFee(fraction(pmtAmount, balanceB, shareAssetSupply), assetIdB, assetIdA)
439439 if (!(isActive))
440440 then throw("DApp is inactive at this moment")
441441 else if ((size(i.payments) != 1))
442442 then throw("One attached payment expected")
443443 else if ((pmtAssetId != shareAssetId))
444444 then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
445445 else if (!(hasEnoughBalance))
446446 then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
447447 else if (if ((amountToPayA > availableBalanceA))
448448 then true
449449 else (amountToPayB > availableBalanceB))
450450 then throwInsufficientAvailableBalances(amountToPayA, amountToPayB)
451451 else [IntegerEntry(keyBalanceA, (balanceA - amountToPayA)), IntegerEntry(keyBalanceB, (balanceB - amountToPayB)), IntegerEntry(keyShareAssetSupply, (shareAssetSupply - pmtAmount)), Burn(shareAssetId, pmtAmount), ScriptTransfer(i.caller, amountToPayA, assetIdA), ScriptTransfer(i.caller, amountToPayB, assetIdB)]
452452 }
453453
454454
455455
456456 @Callable(i)
457457 func exchange (minAmountToReceive) = {
458458 let $t01940719482 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
459459 let pmtAmount = $t01940719482._1
460460 let pmtAssetId = $t01940719482._2
461461 func calculateFees (tokenFrom,tokenTo) = {
462462 let amountWithoutFee = fraction(tokenTo, pmtAmount, (pmtAmount + tokenFrom))
463463 let amountWithFee = fraction(amountWithoutFee, (commissionScaleDelimiter - commission), commissionScaleDelimiter)
464464 let governanceReward = fraction(amountWithoutFee, commissionGovernance, commissionScaleDelimiter)
465465 if ((minAmountToReceive > amountWithFee))
466466 then throw(((("Calculated amount to receive " + toString(amountWithFee)) + " is less than specified minimum ") + toString(minAmountToReceive)))
467467 else $Tuple3(amountWithoutFee, amountWithFee, governanceReward)
468468 }
469469
470470 if (!(isActive))
471471 then throw("DApp is inactive at this moment")
472472 else if (if ((balanceA == 0))
473473 then true
474474 else (balanceB == 0))
475475 then throw("Can't exchange with zero balance")
476476 else if ((0 >= minAmountToReceive))
477477 then throw(("Minimal amount to receive must be positive. Actual: " + toString(minAmountToReceive)))
478478 else if ((size(i.payments) != 1))
479479 then throw("One attached payment expected")
480480 else if (!(hasEnoughBalance))
481481 then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
482482 else if ((pmtAssetId == assetIdA))
483483 then {
484484 let assetIdSend = assetIdB
485485 let $t02075620847 = calculateFees(balanceA, balanceB)
486486 let amountWithoutFee = $t02075620847._1
487487 let amountWithFee = $t02075620847._2
488488 let governanceReward = $t02075620847._3
489489 let newBalanceA = (balanceA + pmtAmount)
490490 let newBalanceB = ((balanceB - amountWithFee) - governanceReward)
491491 if (if ((stakedAmountA >= newBalanceA))
492492 then true
493493 else (stakedAmountB >= newBalanceB))
494494 then throwInsufficientAvailableBalance(amountWithFee, availableBalanceB, assetNameB)
495495 else [IntegerEntry(keyBalanceA, newBalanceA), IntegerEntry(keyBalanceB, newBalanceB), ScriptTransfer(i.caller, amountWithFee, assetIdSend), ScriptTransfer(walletAddress, governanceReward, assetIdSend)]
496496 }
497497 else if ((pmtAssetId == assetIdB))
498498 then {
499499 let assetIdSend = assetIdA
500500 let $t02166621757 = calculateFees(balanceB, balanceA)
501501 let amountWithoutFee = $t02166621757._1
502502 let amountWithFee = $t02166621757._2
503503 let governanceReward = $t02166621757._3
504504 let newBalanceA = ((balanceA - amountWithFee) - governanceReward)
505505 let newBalanceB = (balanceB + pmtAmount)
506506 if (if ((stakedAmountA >= newBalanceA))
507507 then true
508508 else (stakedAmountB >= newBalanceB))
509509 then throwInsufficientAvailableBalance(amountWithFee, availableBalanceA, assetNameA)
510510 else [IntegerEntry(keyBalanceA, newBalanceA), IntegerEntry(keyBalanceB, newBalanceB), ScriptTransfer(i.caller, amountWithFee, assetIdSend), ScriptTransfer(walletAddress, governanceReward, assetIdSend)]
511511 }
512512 else throw(((("Incorrect asset attached. Expected: " + strAssetIdA) + " or ") + strAssetIdB))
513513 }
514514
515515
516516
517517 @Callable(i)
518518 func shutdown () = if (!(isActive))
519519 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, keyCause), "the cause wasn't specified")))
520520 else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
521521 then throw("Only admin can call this function")
522522 else suspend("Paused by admin")
523523
524524
525525
526526 @Callable(i)
527527 func activate () = if (isActive)
528528 then throw("DApp is already active")
529529 else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
530530 then throw("Only admin can call this function")
531531 else [BooleanEntry(keyActive, true), DeleteEntry(keyCause)]
532532
533533
534534
535535 @Callable(i)
536536 func takeIntoAccountExtraFunds (amountLeave) = {
537537 let uncountableAmountEnrollAssetA = (accountBalanceWithStakedA - balanceA)
538538 let uncountableAmountEnrollAssetB = (accountBalanceWithStakedB - balanceB)
539539 let amountEnrollA = (uncountableAmountEnrollAssetA - (if ((assetIdA == unit))
540540 then amountLeave
541541 else 0))
542542 let amountEnrollB = (uncountableAmountEnrollAssetB - (if ((assetIdB == unit))
543543 then amountLeave
544544 else 0))
545545 if (!(isActive))
546546 then throw("DApp is inactive at this moment")
547547 else if ((i.caller != this))
548548 then throw("Only the DApp itself can call this function")
549549 else if ((0 > amountLeave))
550550 then throw(("Argument 'amountLeave' cannot be negative. Actual: " + toString(amountLeave)))
551551 else if (if ((0 > uncountableAmountEnrollAssetA))
552552 then true
553553 else (0 > uncountableAmountEnrollAssetB))
554554 then suspend("Enroll amount negative")
555555 else if (if ((0 > amountEnrollA))
556556 then true
557557 else (0 > amountEnrollB))
558558 then throw("Too large amountLeave")
559559 else [IntegerEntry(keyBalanceA, (balanceA + amountEnrollA)), IntegerEntry(keyBalanceB, (balanceB + amountEnrollB)), IntegerEntry(("last_income_" + strAssetIdA), amountEnrollA), IntegerEntry(("last_income_" + strAssetIdB), amountEnrollB)]
560560 }
561561
562562

github/deemru/w8io/026f985 
77.81 ms