tx · AfJ77yExzGS5YfaSYXPQBHC7YKMqE1Jcz2SYdjr8zDN

3N67pVXcg9s9Lc1iP6ToMo6rjbchjKitmd8:  -0.01400000 Waves

2021.05.19 20:16 [1532836] smart account 3N67pVXcg9s9Lc1iP6ToMo6rjbchjKitmd8 > SELF 0.00000000 Waves

{ "type": 13, "id": "AfJ77yExzGS5YfaSYXPQBHC7YKMqE1Jcz2SYdjr8zDN", "fee": 1400000, "feeAssetId": null, "timestamp": 1621444690199, "version": 2, "chainId": 84, "sender": "3N67pVXcg9s9Lc1iP6ToMo6rjbchjKitmd8", "senderPublicKey": "9jgiS4xuTrBNA9PtddTXFuJwnz3c873Rme31h4g2eLtq", "proofs": [ "54bM1EXCHz46oej7YpijHr5p4MKsH4LZZwn4pZgSfruPM7FxP9XCANDbVnBJyxygFVYETCvL7RPdDkFvS7yhCJ9b" ], "script": "base64:AAIEAAAAAAAAACoIAhIDCgEEEgcKBQEBCAgEEgMKAQESAwoBARIAEgMKAQESABIAEgMKAQEAAABFAAAAAAd2ZXJzaW9uAgAAAAUxLjAuMAAAAAAKa2V5VmVyc2lvbgIAAAAHdmVyc2lvbgAAAAAJa2V5QWN0aXZlAgAAAAZhY3RpdmUAAAAAC2tleUFzc2V0SWRBAgAAAApBX2Fzc2V0X2lkAAAAAAtrZXlBc3NldElkQgIAAAAKQl9hc3NldF9pZAAAAAALa2V5QmFsYW5jZUECAAAAD0FfYXNzZXRfYmFsYW5jZQAAAAALa2V5QmFsYW5jZUICAAAAD0JfYXNzZXRfYmFsYW5jZQAAAAAPa2V5QmFsYW5jZUluaXRBAgAAAAxBX2Fzc2V0X2luaXQAAAAAD2tleUJhbGFuY2VJbml0QgIAAAAMQl9hc3NldF9pbml0AAAAAA9rZXlTaGFyZUFzc2V0SWQCAAAADnNoYXJlX2Fzc2V0X2lkAAAAABNrZXlTaGFyZUFzc2V0U3VwcGx5AgAAABJzaGFyZV9hc3NldF9zdXBwbHkAAAAADWtleUNvbW1pc3Npb24CAAA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AAAAEVVNETgcGAwkAAAAAAAACCAUAAAAGaW52b2tlAAAACGZ1bmN0aW9uAgAAAA51bmxvY2tOZXV0cmlubwkAAAAAAAACCQABkAAAAAEIBQAAAAZpbnZva2UAAAAIcGF5bWVudHMAAAAAAAAAAAAHBwQAAAANc2lnbmVkQnlBZG1pbgMDAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAADGFkbWluUHViS2V5MQYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAxhZG1pblB1YktleTIGCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAMYWRtaW5QdWJLZXkzBgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAEmFkbWluUHViS2V5U3Rha2luZwMFAAAAE2NhbGxUYWtlSW50b0FjY291bnQGBQAAAAtjYWxsU3Rha2luZwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXn2YhxC", "height": 1532836, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7ic8PFwhq1SbaJT4mshZfUXy5RLavkCzRK6dakfxpSa4 Next: none Diff:
OldNewDifferences
266266 let shareInitialSupply = 0
267267 let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
268268 let shareIssueId = calculateAssetId(shareIssue)
269- 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(keyFirstHarvestHeight, (firstHarvestEndPeriod * periodLength)), IntegerEntry(keyShareAssetSupply, shareInitialSupply)]
269+ 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(keyFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength))), IntegerEntry(keyShareAssetSupply, shareInitialSupply)]
270270 if (firstHarvest)
271- then (baseEntry ++ [BooleanEntry(keyFirstHarvest, firstHarvest), IntegerEntry(keyFirstHarvestHeight, (firstHarvestEndPeriod * periodLength))])
271+ then (baseEntry ++ [BooleanEntry(keyFirstHarvest, firstHarvest), IntegerEntry(keyFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))])
272272 else baseEntry
273273 }
274274 }
294294 then (balanceB == 0)
295295 else false)
296296 then {
297- let $t01163811715 = getAssetInfo(pmtAssetIdA)
298- let pmtStrAssetIdA = $t01163811715._1
299- let pmtAssetNameA = $t01163811715._2
300- let pmtDecimalsA = $t01163811715._3
301- let $t01172411801 = getAssetInfo(pmtAssetIdB)
302- let pmtStrAssetIdB = $t01172411801._1
303- let pmtAssetNameB = $t01172411801._2
304- let pmtDecimalsB = $t01172411801._3
297+ let $t01166611743 = getAssetInfo(pmtAssetIdA)
298+ let pmtStrAssetIdA = $t01166611743._1
299+ let pmtAssetNameA = $t01166611743._2
300+ let pmtDecimalsA = $t01166611743._3
301+ let $t01175211829 = getAssetInfo(pmtAssetIdB)
302+ let pmtStrAssetIdB = $t01175211829._1
303+ let pmtAssetNameB = $t01175211829._2
304+ let pmtDecimalsB = $t01175211829._3
305305 let tokenRatio = fraction(fraction(assetInitA, scaleValue8, pmtAmountA), scaleValue3, fraction(assetInitB, scaleValue8, pmtAmountB))
306306 if ((pmtAssetIdA == pmtAssetIdB))
307307 then throw("Assets must be different")
364364
365365 @Callable(i)
366366 func withdraw () = {
367- let $t01643516585 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
368- let pmtAmount = $t01643516585._1
369- let pmtAssetId = $t01643516585._2
367+ let $t01646316613 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
368+ let pmtAmount = $t01646316613._1
369+ let pmtAssetId = $t01646316613._2
370370 let amountToPayA = deductStakingFee(fraction(pmtAmount, balanceA, shareAssetSupply), assetIdA)
371371 let amountToPayB = deductStakingFee(fraction(pmtAmount, balanceB, shareAssetSupply), assetIdB)
372372 if (!(isActive))
388388
389389 @Callable(i)
390390 func exchange (minAmountToReceive) = {
391- let $t01797518050 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
392- let pmtAmount = $t01797518050._1
393- let pmtAssetId = $t01797518050._2
391+ let $t01800318078 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
392+ let pmtAmount = $t01800318078._1
393+ let pmtAssetId = $t01800318078._2
394394 func calculateFees (tokenFrom,tokenTo) = {
395395 let amountWithoutFee = fraction(tokenTo, pmtAmount, (pmtAmount + tokenFrom))
396396 let amountWithFee = fraction(amountWithoutFee, (commissionScaleDelimiter - commission), commissionScaleDelimiter)
415415 else if ((pmtAssetId == assetIdA))
416416 then {
417417 let assetIdSend = assetIdB
418- let $t01950919600 = calculateFees(balanceA, balanceB)
419- let amountWithoutFee = $t01950919600._1
420- let amountWithFee = $t01950919600._2
421- let governanceReward = $t01950919600._3
418+ let $t01953719628 = calculateFees(balanceA, balanceB)
419+ let amountWithoutFee = $t01953719628._1
420+ let amountWithFee = $t01953719628._2
421+ let governanceReward = $t01953719628._3
422422 let newBalanceA = (balanceA + pmtAmount)
423423 let newBalanceB = ((balanceB - amountWithFee) - governanceReward)
424424 if (if (if ((assetIdA == USDN))
434434 else if ((pmtAssetId == assetIdB))
435435 then {
436436 let assetIdSend = assetIdA
437- let $t02046920560 = calculateFees(balanceB, balanceA)
438- let amountWithoutFee = $t02046920560._1
439- let amountWithFee = $t02046920560._2
440- let governanceReward = $t02046920560._3
437+ let $t02049720588 = calculateFees(balanceB, balanceA)
438+ let amountWithoutFee = $t02049720588._1
439+ let amountWithFee = $t02049720588._2
440+ let governanceReward = $t02049720588._3
441441 let newBalanceA = ((balanceA - amountWithFee) - governanceReward)
442442 let newBalanceB = (balanceB + pmtAmount)
443443 if (if (if ((assetIdA == USDN))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
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 adminPubKey1 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
4747
4848 let adminPubKey2 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
4949
5050 let adminPubKey3 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
5151
5252 let adminPubKeyStartStop = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
5353
5454 let adminPubKeyStaking = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
5555
5656 let adminPubKeyBackend = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
5757
5858 let walletAddress = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
5959
6060 let votingAddress = Address(base58'3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN')
6161
6262 let stakingAddress = Address(base58'3N6q7sCGSSLBUXDdjBdYGTJbZGZfhhh8cNg')
6363
6464 let basePeriod = valueOrErrorMessage(getInteger(votingAddress, kBasePeriod), "Empty kBasePeriod")
6565
6666 let startHeight = valueOrErrorMessage(getInteger(votingAddress, kStartHeight), "Empty kStartHeight")
6767
6868 let periodLength = valueOrErrorMessage(getInteger(votingAddress, kPeriodLength), "Empty kPeriodLength")
6969
7070 let firstHarvestEndPeriod = ((basePeriod + ((height - startHeight) / periodLength)) + 2)
7171
7272 let USDN = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS'
7373
7474 let stakingFeeInUSDN = (9 * value(value(assetInfo(USDN)).minSponsoredFee))
7575
7676 let isActive = getBooleanValue(this, keyActive)
7777
7878 let strAssetIdA = getStringValue(this, keyAssetIdA)
7979
8080 let strAssetIdB = getStringValue(this, keyAssetIdB)
8181
8282 let assetIdA = if ((strAssetIdA == "WAVES"))
8383 then unit
8484 else fromBase58String(strAssetIdA)
8585
8686 let assetIdB = if ((strAssetIdB == "WAVES"))
8787 then unit
8888 else fromBase58String(strAssetIdB)
8989
9090 let assetNameA = match assetIdA {
9191 case id: ByteVector =>
9292 value(assetInfo(id)).name
9393 case waves: Unit =>
9494 "WAVES"
9595 case _ =>
9696 throw("Match error")
9797 }
9898
9999 let assetNameB = match assetIdB {
100100 case id: ByteVector =>
101101 value(assetInfo(id)).name
102102 case waves: Unit =>
103103 "WAVES"
104104 case _ =>
105105 throw("Match error")
106106 }
107107
108108 let balanceA = getIntegerValue(this, keyBalanceA)
109109
110110 let balanceB = getIntegerValue(this, keyBalanceB)
111111
112112 let shareAssetId = fromBase58String(getStringValue(this, keyShareAssetId))
113113
114114 let shareAssetSupply = getIntegerValue(this, keyShareAssetSupply)
115115
116116 let commission = 3000
117117
118118 let commissionGovernance = 1200
119119
120120 let commissionScaleDelimiter = 1000000
121121
122122 let scaleValue3 = 1000
123123
124124 let scaleValue8 = 100000000
125125
126126 let slippageToleranceDelimiter = 1000
127127
128128 let scaleValue8Digits = 8
129129
130130 func accountBalance (assetId) = match assetId {
131131 case id: ByteVector =>
132132 assetBalance(this, id)
133133 case waves: Unit =>
134134 wavesBalance(this).available
135135 case _ =>
136136 throw("Match error")
137137 }
138138
139139
140140 let stakedAmountUSDN = match getInteger(stakingAddress, ((("rpd_balance_" + toBase58String(USDN)) + "_") + toString(this))) {
141141 case staked: Int =>
142142 staked
143143 case nothing: Unit =>
144144 0
145145 case _ =>
146146 throw("Match error")
147147 }
148148
149149 let assetInitA = getIntegerValue(this, keyBalanceInitA)
150150
151151 let assetInitB = getIntegerValue(this, keyBalanceInitB)
152152
153153 let availableBalanceA = (balanceA - (if ((assetIdA == USDN))
154154 then stakedAmountUSDN
155155 else 0))
156156
157157 let availableBalanceB = (balanceB - (if ((assetIdB == USDN))
158158 then stakedAmountUSDN
159159 else 0))
160160
161161 let accountBalanceWithStakedA = (accountBalance(assetIdA) + (if ((assetIdA == USDN))
162162 then stakedAmountUSDN
163163 else 0))
164164
165165 let accountBalanceWithStakedB = (accountBalance(assetIdB) + (if ((assetIdB == USDN))
166166 then stakedAmountUSDN
167167 else 0))
168168
169169 let hasEnoughBalance = if ((accountBalanceWithStakedA >= balanceA))
170170 then (accountBalanceWithStakedB >= balanceB)
171171 else false
172172
173173 func getAssetInfo (assetId) = match assetId {
174174 case id: ByteVector =>
175175 let stringId = toBase58String(id)
176176 let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
177177 $Tuple3(stringId, info.name, info.decimals)
178178 case waves: Unit =>
179179 $Tuple3("WAVES", "WAVES", 8)
180180 case _ =>
181181 throw("Match error")
182182 }
183183
184184
185185 func getAssetInfoFromString (assetStr) = if ((assetStr == "WAVES"))
186186 then $Tuple3("WAVES", "WAVES", 8)
187187 else {
188188 let stringId = assetStr
189189 let id = fromBase58String(assetStr)
190190 let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
191191 $Tuple3(stringId, info.name, info.decimals)
192192 }
193193
194194
195195 func suspend (cause) = [BooleanEntry(keyActive, false), StringEntry(keyCause, cause)]
196196
197197
198198 func deductStakingFee (amount,assetId) = if ((assetId == USDN))
199199 then {
200200 let result = (amount - stakingFeeInUSDN)
201201 if ((0 >= result))
202202 then throw((((("Insufficient amount " + toString(amount)) + " to deduct staking fee ") + toString(stakingFeeInUSDN)) + " USD-N"))
203203 else result
204204 }
205205 else amount
206206
207207
208208 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"))
209209
210210
211211 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"))
212212
213213
214214 @Callable(i)
215215 func init (firstHarvest) = {
216216 let $t061296206 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
217217 let pmtAmountA = $t061296206._1
218218 let pmtAssetIdA = $t061296206._2
219219 let $t062116288 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
220220 let pmtAmountB = $t062116288._1
221221 let pmtAssetIdB = $t062116288._2
222222 let $t062936370 = getAssetInfo(pmtAssetIdA)
223223 let pmtStrAssetIdA = $t062936370._1
224224 let pmtAssetNameA = $t062936370._2
225225 let pmtDecimalsA = $t062936370._3
226226 let $t063756635 = getAssetInfo(pmtAssetIdB)
227227 let pmtStrAssetIdB = $t063756635._1
228228 let pmtAssetNameB = $t063756635._2
229229 let pmtDecimalsB = $t063756635._3
230230 if (isDefined(getBoolean(this, keyActive)))
231231 then throw("DApp is already active")
232232 else if ((pmtAssetIdA == pmtAssetIdB))
233233 then throw("Assets must be different")
234234 else {
235235 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
236236 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
237237 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
238238 let shareInitialSupply = fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, HALFDOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, HALFDOWN), pow(10, 0, shareDecimals, 0, 0, HALFDOWN))
239239 let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
240240 let shareIssueId = calculateAssetId(shareIssue)
241241 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)]
242242 if (firstHarvest)
243243 then (baseEntry ++ [BooleanEntry(keyFirstHarvest, firstHarvest), IntegerEntry(keyFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))])
244244 else baseEntry
245245 }
246246 }
247247
248248
249249
250250 @Callable(i)
251251 func initWithInitRatio (amtAssetA,amtAssetB,strAssetIdA,strAssetIdB,firstHarvest) = {
252252 let $t086758762 = getAssetInfoFromString(strAssetIdA)
253253 let pmtStrAssetIdA = $t086758762._1
254254 let pmtAssetNameA = $t086758762._2
255255 let pmtDecimalsA = $t086758762._3
256256 let $t087679141 = getAssetInfoFromString(strAssetIdB)
257257 let pmtStrAssetIdB = $t087679141._1
258258 let pmtAssetNameB = $t087679141._2
259259 let pmtDecimalsB = $t087679141._3
260260 if ((strAssetIdA == strAssetIdB))
261261 then throw("Assets must be different")
262262 else {
263263 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
264264 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
265265 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
266266 let shareInitialSupply = 0
267267 let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
268268 let shareIssueId = calculateAssetId(shareIssue)
269- 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(keyFirstHarvestHeight, (firstHarvestEndPeriod * periodLength)), IntegerEntry(keyShareAssetSupply, shareInitialSupply)]
269+ 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(keyFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength))), IntegerEntry(keyShareAssetSupply, shareInitialSupply)]
270270 if (firstHarvest)
271- then (baseEntry ++ [BooleanEntry(keyFirstHarvest, firstHarvest), IntegerEntry(keyFirstHarvestHeight, (firstHarvestEndPeriod * periodLength))])
271+ then (baseEntry ++ [BooleanEntry(keyFirstHarvest, firstHarvest), IntegerEntry(keyFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))])
272272 else baseEntry
273273 }
274274 }
275275
276276
277277
278278 @Callable(i)
279279 func keepLimitForFirstHarvest (shareLimit) = if (!(isActive))
280280 then throw("DApp is inactive at this moment")
281281 else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStaking], i.callerPublicKey)))
282282 then throw("Only admin can call this function")
283283 else [IntegerEntry(kShareLimit, shareLimit)]
284284
285285
286286
287287 @Callable(i)
288288 func replenishWithTwoTokens (slippageTolerance) = {
289289 let pmtAssetIdA = i.payments[0].assetId
290290 let pmtAssetIdB = i.payments[1].assetId
291291 let pmtAmountA = deductStakingFee(i.payments[0].amount, pmtAssetIdA)
292292 let pmtAmountB = deductStakingFee(i.payments[1].amount, pmtAssetIdB)
293293 if (if ((balanceA == 0))
294294 then (balanceB == 0)
295295 else false)
296296 then {
297- let $t01163811715 = getAssetInfo(pmtAssetIdA)
298- let pmtStrAssetIdA = $t01163811715._1
299- let pmtAssetNameA = $t01163811715._2
300- let pmtDecimalsA = $t01163811715._3
301- let $t01172411801 = getAssetInfo(pmtAssetIdB)
302- let pmtStrAssetIdB = $t01172411801._1
303- let pmtAssetNameB = $t01172411801._2
304- let pmtDecimalsB = $t01172411801._3
297+ let $t01166611743 = getAssetInfo(pmtAssetIdA)
298+ let pmtStrAssetIdA = $t01166611743._1
299+ let pmtAssetNameA = $t01166611743._2
300+ let pmtDecimalsA = $t01166611743._3
301+ let $t01175211829 = getAssetInfo(pmtAssetIdB)
302+ let pmtStrAssetIdB = $t01175211829._1
303+ let pmtAssetNameB = $t01175211829._2
304+ let pmtDecimalsB = $t01175211829._3
305305 let tokenRatio = fraction(fraction(assetInitA, scaleValue8, pmtAmountA), scaleValue3, fraction(assetInitB, scaleValue8, pmtAmountB))
306306 if ((pmtAssetIdA == pmtAssetIdB))
307307 then throw("Assets must be different")
308308 else {
309309 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
310310 let shareInitialSupply = fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, HALFDOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, HALFDOWN), pow(10, 0, shareDecimals, 0, 0, HALFDOWN))
311311 if (!(isActive))
312312 then throw("DApp is inactive at this moment")
313313 else if (if ((0 > slippageTolerance))
314314 then true
315315 else (slippageTolerance > slippageToleranceDelimiter))
316316 then throw(((("Slippage tolerance must be between 0 and " + toString(slippageToleranceDelimiter)) + " inclusively. Actual: ") + toString(slippageTolerance)))
317317 else if ((size(i.payments) != 2))
318318 then throw("Two attached assets expected")
319319 else if (if ((((scaleValue3 * (slippageToleranceDelimiter - slippageTolerance)) / slippageToleranceDelimiter) > tokenRatio))
320320 then true
321321 else (tokenRatio > ((scaleValue3 * (slippageToleranceDelimiter + slippageTolerance)) / slippageToleranceDelimiter)))
322322 then throw("Incorrect assets amount: amounts must have the contract ratio")
323323 else if (if ((pmtAssetIdA != assetIdA))
324324 then true
325325 else (pmtAssetIdB != assetIdB))
326326 then throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB))
327327 else if ((shareInitialSupply == 0))
328328 then throw("Too small amount to replenish")
329329 else if (!(hasEnoughBalance))
330330 then suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB) + ". State: ") + toString(accountBalance(assetIdA))) + " ") + assetNameA) + ", ") + toString(accountBalance(assetIdB))) + " ") + assetNameB))
331331 else [Reissue(shareAssetId, shareInitialSupply, true), IntegerEntry(keyBalanceA, pmtAmountA), IntegerEntry(keyBalanceB, pmtAmountB), IntegerEntry(keyShareAssetSupply, shareInitialSupply), ScriptTransfer(i.caller, shareInitialSupply, shareAssetId)]
332332 }
333333 }
334334 else {
335335 let tokenRatio = fraction(fraction(balanceA, scaleValue8, pmtAmountA), scaleValue3, fraction(balanceB, scaleValue8, pmtAmountB))
336336 let ratioShareTokensInA = fraction(pmtAmountA, scaleValue8, balanceA)
337337 let ratioShareTokensInB = fraction(pmtAmountB, scaleValue8, balanceB)
338338 let shareTokenToPayAmount = fraction(min([ratioShareTokensInA, ratioShareTokensInB]), shareAssetSupply, scaleValue8)
339339 if (!(isActive))
340340 then throw("DApp is inactive at this moment")
341341 else if (if ((0 > slippageTolerance))
342342 then true
343343 else (slippageTolerance > slippageToleranceDelimiter))
344344 then throw(((("Slippage tolerance must be between 0 and " + toString(slippageToleranceDelimiter)) + " inclusively. Actual: ") + toString(slippageTolerance)))
345345 else if ((size(i.payments) != 2))
346346 then throw("Two attached assets expected")
347347 else if (if ((pmtAssetIdA != assetIdA))
348348 then true
349349 else (pmtAssetIdB != assetIdB))
350350 then throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB))
351351 else if (if ((((scaleValue3 * (slippageToleranceDelimiter - slippageTolerance)) / slippageToleranceDelimiter) > tokenRatio))
352352 then true
353353 else (tokenRatio > ((scaleValue3 * (slippageToleranceDelimiter + slippageTolerance)) / slippageToleranceDelimiter)))
354354 then throw("Incorrect assets amount: amounts must have the contract ratio")
355355 else if ((shareTokenToPayAmount == 0))
356356 then throw("Too small amount to replenish")
357357 else if (!(hasEnoughBalance))
358358 then suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB) + ". State: ") + toString(accountBalance(assetIdA))) + " ") + assetNameA) + ", ") + toString(accountBalance(assetIdB))) + " ") + assetNameB))
359359 else [IntegerEntry(keyBalanceA, (balanceA + pmtAmountA)), IntegerEntry(keyBalanceB, (balanceB + pmtAmountB)), IntegerEntry(keyShareAssetSupply, (shareAssetSupply + shareTokenToPayAmount)), Reissue(shareAssetId, shareTokenToPayAmount, true), ScriptTransfer(i.caller, shareTokenToPayAmount, shareAssetId)]
360360 }
361361 }
362362
363363
364364
365365 @Callable(i)
366366 func withdraw () = {
367- let $t01643516585 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
368- let pmtAmount = $t01643516585._1
369- let pmtAssetId = $t01643516585._2
367+ let $t01646316613 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
368+ let pmtAmount = $t01646316613._1
369+ let pmtAssetId = $t01646316613._2
370370 let amountToPayA = deductStakingFee(fraction(pmtAmount, balanceA, shareAssetSupply), assetIdA)
371371 let amountToPayB = deductStakingFee(fraction(pmtAmount, balanceB, shareAssetSupply), assetIdB)
372372 if (!(isActive))
373373 then throw("DApp is inactive at this moment")
374374 else if ((size(i.payments) != 1))
375375 then throw("One attached payment expected")
376376 else if ((pmtAssetId != shareAssetId))
377377 then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
378378 else if (!(hasEnoughBalance))
379379 then suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB) + ". State: ") + toString(accountBalance(assetIdA))) + " ") + assetNameA) + ", ") + toString(accountBalance(assetIdB))) + " ") + assetNameB))
380380 else if (if ((amountToPayA > availableBalanceA))
381381 then true
382382 else (amountToPayB > availableBalanceB))
383383 then throwInsufficientAvailableBalances(amountToPayA, amountToPayB)
384384 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)]
385385 }
386386
387387
388388
389389 @Callable(i)
390390 func exchange (minAmountToReceive) = {
391- let $t01797518050 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
392- let pmtAmount = $t01797518050._1
393- let pmtAssetId = $t01797518050._2
391+ let $t01800318078 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
392+ let pmtAmount = $t01800318078._1
393+ let pmtAssetId = $t01800318078._2
394394 func calculateFees (tokenFrom,tokenTo) = {
395395 let amountWithoutFee = fraction(tokenTo, pmtAmount, (pmtAmount + tokenFrom))
396396 let amountWithFee = fraction(amountWithoutFee, (commissionScaleDelimiter - commission), commissionScaleDelimiter)
397397 let governanceReward = fraction(amountWithoutFee, commissionGovernance, commissionScaleDelimiter)
398398 if ((minAmountToReceive > amountWithFee))
399399 then throw(((("Calculated amount to receive " + toString(amountWithFee)) + " is less than specified minimum ") + toString(minAmountToReceive)))
400400 else $Tuple3(amountWithoutFee, amountWithFee, governanceReward)
401401 }
402402
403403 if (!(isActive))
404404 then throw("DApp is inactive at this moment")
405405 else if (if ((balanceA == 0))
406406 then true
407407 else (balanceB == 0))
408408 then throw("Can't exchange with zero balance")
409409 else if ((0 >= minAmountToReceive))
410410 then throw(("Minimal amount to receive must be positive. Actual: " + toString(minAmountToReceive)))
411411 else if ((size(i.payments) != 1))
412412 then throw("One attached payment expected")
413413 else if (!(hasEnoughBalance))
414414 then suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB) + ". State: ") + toString(accountBalance(assetIdA))) + " ") + assetNameA) + ", ") + toString(accountBalance(assetIdB))) + " ") + assetNameB))
415415 else if ((pmtAssetId == assetIdA))
416416 then {
417417 let assetIdSend = assetIdB
418- let $t01950919600 = calculateFees(balanceA, balanceB)
419- let amountWithoutFee = $t01950919600._1
420- let amountWithFee = $t01950919600._2
421- let governanceReward = $t01950919600._3
418+ let $t01953719628 = calculateFees(balanceA, balanceB)
419+ let amountWithoutFee = $t01953719628._1
420+ let amountWithFee = $t01953719628._2
421+ let governanceReward = $t01953719628._3
422422 let newBalanceA = (balanceA + pmtAmount)
423423 let newBalanceB = ((balanceB - amountWithFee) - governanceReward)
424424 if (if (if ((assetIdA == USDN))
425425 then (stakedAmountUSDN >= newBalanceA)
426426 else false)
427427 then true
428428 else if ((assetIdB == USDN))
429429 then (stakedAmountUSDN >= newBalanceB)
430430 else false)
431431 then throwInsufficientAvailableBalance(amountWithFee, availableBalanceB, assetNameB)
432432 else [IntegerEntry(keyBalanceA, newBalanceA), IntegerEntry(keyBalanceB, newBalanceB), ScriptTransfer(i.caller, amountWithFee, assetIdSend), ScriptTransfer(walletAddress, governanceReward, assetIdSend)]
433433 }
434434 else if ((pmtAssetId == assetIdB))
435435 then {
436436 let assetIdSend = assetIdA
437- let $t02046920560 = calculateFees(balanceB, balanceA)
438- let amountWithoutFee = $t02046920560._1
439- let amountWithFee = $t02046920560._2
440- let governanceReward = $t02046920560._3
437+ let $t02049720588 = calculateFees(balanceB, balanceA)
438+ let amountWithoutFee = $t02049720588._1
439+ let amountWithFee = $t02049720588._2
440+ let governanceReward = $t02049720588._3
441441 let newBalanceA = ((balanceA - amountWithFee) - governanceReward)
442442 let newBalanceB = (balanceB + pmtAmount)
443443 if (if (if ((assetIdA == USDN))
444444 then (stakedAmountUSDN >= newBalanceA)
445445 else false)
446446 then true
447447 else if ((assetIdB == USDN))
448448 then (stakedAmountUSDN >= newBalanceB)
449449 else false)
450450 then throwInsufficientAvailableBalance(amountWithFee, availableBalanceA, assetNameA)
451451 else [IntegerEntry(keyBalanceA, newBalanceA), IntegerEntry(keyBalanceB, newBalanceB), ScriptTransfer(i.caller, amountWithFee, assetIdSend), ScriptTransfer(walletAddress, governanceReward, assetIdSend)]
452452 }
453453 else throw(((("Incorrect asset attached. Expected: " + strAssetIdA) + " or ") + strAssetIdB))
454454 }
455455
456456
457457
458458 @Callable(i)
459459 func shutdown () = if (!(isActive))
460460 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, keyCause), "the cause wasn't specified")))
461461 else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
462462 then throw("Only admin can call this function")
463463 else suspend("Paused by admin")
464464
465465
466466
467467 @Callable(i)
468468 func activate () = if (isActive)
469469 then throw("DApp is already active")
470470 else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
471471 then throw("Only admin can call this function")
472472 else [BooleanEntry(keyActive, true), DeleteEntry(keyCause)]
473473
474474
475475
476476 @Callable(i)
477477 func takeIntoAccountExtraFunds (amountLeave) = {
478478 let uncountableAmountEnrollAssetA = (accountBalanceWithStakedA - balanceA)
479479 let uncountableAmountEnrollAssetB = (accountBalanceWithStakedB - balanceB)
480480 let amountEnrollA = (uncountableAmountEnrollAssetA - (if ((assetIdA == USDN))
481481 then amountLeave
482482 else 0))
483483 let amountEnrollB = (uncountableAmountEnrollAssetB - (if ((assetIdB == USDN))
484484 then amountLeave
485485 else 0))
486486 if (!(isActive))
487487 then throw("DApp is inactive at this moment")
488488 else if ((i.caller != this))
489489 then throw("Only the DApp itself can call this function")
490490 else if ((0 > amountLeave))
491491 then throw(("Argument 'amountLeave' cannot be negative. Actual: " + toString(amountLeave)))
492492 else if (if ((0 > uncountableAmountEnrollAssetA))
493493 then true
494494 else (0 > uncountableAmountEnrollAssetB))
495495 then suspend("Enroll amount negative")
496496 else if (if ((0 > amountEnrollA))
497497 then true
498498 else (0 > amountEnrollB))
499499 then throw("Too large amountLeave")
500500 else [IntegerEntry(keyBalanceA, (balanceA + amountEnrollA)), IntegerEntry(keyBalanceB, (balanceB + amountEnrollB)), IntegerEntry(("last_income_" + strAssetIdA), amountEnrollA), IntegerEntry(("last_income_" + strAssetIdB), amountEnrollB)]
501501 }
502502
503503
504504 @Verifier(tx)
505505 func verify () = match tx {
506506 case invoke: InvokeScriptTransaction =>
507507 let callTakeIntoAccount = if ((invoke.dApp == this))
508508 then (invoke.function == "takeIntoAccountExtraFunds")
509509 else false
510510 let callStaking = if ((invoke.dApp == stakingAddress))
511511 then if (if (if ((invoke.function == "lockNeutrino"))
512512 then (size(invoke.payments) == 1)
513513 else false)
514514 then (invoke.payments[0].assetId == USDN)
515515 else false)
516516 then true
517517 else if ((invoke.function == "unlockNeutrino"))
518518 then (size(invoke.payments) == 0)
519519 else false
520520 else false
521521 let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
522522 then true
523523 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey2))
524524 then true
525525 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey3))
526526 then true
527527 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKeyStaking)
528528 if (callTakeIntoAccount)
529529 then true
530530 else callStaking
531531 case _ =>
532532 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
533533 }
534534

github/deemru/w8io/026f985 
77.80 ms