tx · Df9EnSakcYRPCutxpvTUVx7kbLgafqjiSFHHTNXHJ6yR

3NDD3ifAC17cLzxuYqsgXDRY9DTQ5BqmvwL:  -0.05000000 Waves

2021.08.19 17:51 [1665377] smart account 3NDD3ifAC17cLzxuYqsgXDRY9DTQ5BqmvwL > SELF 0.00000000 Waves

{ "type": 13, "id": "Df9EnSakcYRPCutxpvTUVx7kbLgafqjiSFHHTNXHJ6yR", "fee": 5000000, "feeAssetId": null, "timestamp": 1629384714821, "version": 2, "chainId": 84, "sender": "3NDD3ifAC17cLzxuYqsgXDRY9DTQ5BqmvwL", "senderPublicKey": "D6K4jYxzZW6PTDt7ejpXem8kCRNmqs6oKc3Rmrgq6Qww", "proofs": [ "3B2odEra6EPfDPz1aTMBufTwbMv17haGiE4QtgSun81nemtdxjAPZmnMfrrs7rESWeBV4wL9m2SF78uBTef1vuqG" ], "script": "base64:AAIFAAAAAAAAACoIAhIDCgEEEgcKBQEBCAgEEgMKAQESAwoBARIAEgMKAQESABIAEgMKAQEAAABEAAAAAAd2ZXJzaW9uAgAAAAUxLjAuMAAAAAAKa2V5VmVyc2lvbgIAAAAHdmVyc2lvbgAAAAAJa2V5QWN0aXZlAgAAAAZhY3RpdmUAAAAAC2tleUFzc2V0SWRBAgAAAApBX2Fzc2V0X2lkAAAAAAtrZXlBc3NldElkQgIAAAAKQl9hc3NldF9pZAAAAAALa2V5QmFsYW5jZUECAAAAD0FfYXNzZXRfYmFsYW5jZQAAAAALa2V5QmFsYW5jZUICAAAAD0JfYXNzZXRfYmFsYW5jZQAAAAAPa2V5QmFsYW5jZUluaXRBAgAAAAxBX2Fzc2V0X2luaXQAAAAAD2tleUJhbGFuY2VJbml0QgIAAAAMQl9hc3NldF9pbml0AAAAAA9rZXlTaGFyZUFzc2V0SWQCAAAADnNoYXJlX2Fzc2V0X2lkAAAAABNrZXlTaGFyZUFzc2V0U3VwcGx5AgAAABJzaGFyZV9hc3NldF9zdXBwbHkAAAAADWtleUNvbW1pc3Npb24C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VudExlYXZlAwMJAABmAAAAAgAAAAAAAAAAAAUAAAAddW5jb3VudGFibGVBbW91bnRFbnJvbGxBc3NldEEGCQAAZgAAAAIAAAAAAAAAAAAFAAAAHXVuY291bnRhYmxlQW1vdW50RW5yb2xsQXNzZXRCCQEAAAAHc3VzcGVuZAAAAAECAAAAFkVucm9sbCBhbW91bnQgbmVnYXRpdmUDAwkAAGYAAAACAAAAAAAAAAAABQAAAA1hbW91bnRFbnJvbGxBBgkAAGYAAAACAAAAAAAAAAAABQAAAA1hbW91bnRFbnJvbGxCCQAAAgAAAAECAAAAFVRvbyBsYXJnZSBhbW91bnRMZWF2ZQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAALa2V5QmFsYW5jZUEJAABkAAAAAgUAAAAIYmFsYW5jZUEFAAAADWFtb3VudEVucm9sbEEJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIFAAAAC2tleUJhbGFuY2VCCQAAZAAAAAIFAAAACGJhbGFuY2VCBQAAAA1hbW91bnRFbnJvbGxCCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAICAAAADGxhc3RfaW5jb21lXwUAAAALc3RyQXNzZXRJZEEFAAAADWFtb3VudEVucm9sbEEJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgIAAAAMbGFzdF9pbmNvbWVfBQAAAAtzdHJBc3NldElkQgUAAAANYW1vdW50RW5yb2xsQgUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXm/W3zR", "height": 1665377, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 99PYrtsncoNnCBjK5BDfyRUx1XT1w7VtD8t6DApXM2W4 Next: none Diff:
OldNewDifferences
1-{-# STDLIB_VERSION 4 #-}
1+{-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let version = "1.0.0"
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)
238- let shareInitialSupply = fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, HALFDOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, HALFDOWN), pow(10, 0, shareDecimals, 0, 0, HALFDOWN))
238+ let shareInitialSupply = fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN), pow(10, 0, shareDecimals, 0, 0, DOWN))
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)]
249249
250250 @Callable(i)
251251 func initWithInitRatio (amtAssetA,amtAssetB,strAssetIdA,strAssetIdB,firstHarvest) = {
252- let $t085818668 = getAssetInfoFromString(strAssetIdA)
253- let pmtStrAssetIdA = $t085818668._1
254- let pmtAssetNameA = $t085818668._2
255- let pmtDecimalsA = $t085818668._3
256- let $t086738760 = getAssetInfoFromString(strAssetIdB)
257- let pmtStrAssetIdB = $t086738760._1
258- let pmtAssetNameB = $t086738760._2
259- let pmtDecimalsB = $t086738760._3
252+ let $t085698656 = getAssetInfoFromString(strAssetIdA)
253+ let pmtStrAssetIdA = $t085698656._1
254+ let pmtAssetNameA = $t085698656._2
255+ let pmtDecimalsA = $t085698656._3
256+ let $t086618748 = getAssetInfoFromString(strAssetIdB)
257+ let pmtStrAssetIdB = $t086618748._1
258+ let pmtAssetNameB = $t086618748._2
259+ let pmtDecimalsB = $t086618748._3
260260 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStaking], i.callerPublicKey)))
261261 then throw("Only admin can call this function")
262262 else if (isDefined(getBoolean(this, keyActive)))
298298 then (balanceB == 0)
299299 else false)
300300 then {
301- let $t01144511522 = getAssetInfo(pmtAssetIdA)
302- let pmtStrAssetIdA = $t01144511522._1
303- let pmtAssetNameA = $t01144511522._2
304- let pmtDecimalsA = $t01144511522._3
305- let $t01153111608 = getAssetInfo(pmtAssetIdB)
306- let pmtStrAssetIdB = $t01153111608._1
307- let pmtAssetNameB = $t01153111608._2
308- let pmtDecimalsB = $t01153111608._3
301+ let $t01143311510 = getAssetInfo(pmtAssetIdA)
302+ let pmtStrAssetIdA = $t01143311510._1
303+ let pmtAssetNameA = $t01143311510._2
304+ let pmtDecimalsA = $t01143311510._3
305+ let $t01151911596 = getAssetInfo(pmtAssetIdB)
306+ let pmtStrAssetIdB = $t01151911596._1
307+ let pmtAssetNameB = $t01151911596._2
308+ let pmtDecimalsB = $t01151911596._3
309309 let tokenRatio = fraction(fraction(assetInitA, scaleValue8, pmtAmountA), scaleValue3, fraction(assetInitB, scaleValue8, pmtAmountB))
310310 if ((pmtAssetIdA == pmtAssetIdB))
311311 then throw("Assets must be different")
312312 else {
313313 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
314- let shareInitialSupply = fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, HALFDOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, HALFDOWN), pow(10, 0, shareDecimals, 0, 0, HALFDOWN))
314+ let shareInitialSupply = fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN), pow(10, 0, shareDecimals, 0, 0, DOWN))
315315 if (!(isActive))
316316 then throw("DApp is inactive at this moment")
317317 else if (if ((0 > slippageTolerance))
368368
369369 @Callable(i)
370370 func withdraw () = {
371- let $t01624116391 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
372- let pmtAmount = $t01624116391._1
373- let pmtAssetId = $t01624116391._2
371+ let $t01621716367 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
372+ let pmtAmount = $t01621716367._1
373+ let pmtAssetId = $t01621716367._2
374374 let amountToPayA = deductStakingFee(fraction(pmtAmount, balanceA, shareAssetSupply), assetIdA)
375375 let amountToPayB = deductStakingFee(fraction(pmtAmount, balanceB, shareAssetSupply), assetIdB)
376376 if (!(isActive))
392392
393393 @Callable(i)
394394 func exchange (minAmountToReceive) = {
395- let $t01778117856 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
396- let pmtAmount = $t01778117856._1
397- let pmtAssetId = $t01778117856._2
395+ let $t01775717832 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
396+ let pmtAmount = $t01775717832._1
397+ let pmtAssetId = $t01775717832._2
398398 func calculateFees (tokenFrom,tokenTo) = {
399399 let amountWithoutFee = fraction(tokenTo, pmtAmount, (pmtAmount + tokenFrom))
400400 let amountWithFee = fraction(amountWithoutFee, (commissionScaleDelimiter - commission), commissionScaleDelimiter)
419419 else if ((pmtAssetId == assetIdA))
420420 then {
421421 let assetIdSend = assetIdB
422- let $t01931419405 = calculateFees(balanceA, balanceB)
423- let amountWithoutFee = $t01931419405._1
424- let amountWithFee = $t01931419405._2
425- let governanceReward = $t01931419405._3
422+ let $t01929019381 = calculateFees(balanceA, balanceB)
423+ let amountWithoutFee = $t01929019381._1
424+ let amountWithFee = $t01929019381._2
425+ let governanceReward = $t01929019381._3
426426 let newBalanceA = (balanceA + pmtAmount)
427427 let newBalanceB = ((balanceB - amountWithFee) - governanceReward)
428428 if (if (if ((assetIdA == USDN))
438438 else if ((pmtAssetId == assetIdB))
439439 then {
440440 let assetIdSend = assetIdA
441- let $t02027420365 = calculateFees(balanceB, balanceA)
442- let amountWithoutFee = $t02027420365._1
443- let amountWithFee = $t02027420365._2
444- let governanceReward = $t02027420365._3
441+ let $t02025020341 = calculateFees(balanceB, balanceA)
442+ let amountWithoutFee = $t02025020341._1
443+ let amountWithFee = $t02025020341._2
444+ let governanceReward = $t02025020341._3
445445 let newBalanceA = ((balanceA - amountWithFee) - governanceReward)
446446 let newBalanceB = (balanceB + pmtAmount)
447447 if (if (if ((assetIdA == USDN))
Full:
OldNewDifferences
1-{-# STDLIB_VERSION 4 #-}
1+{-# 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 adminPubKey1 = base58'3qkFkJtWrKFAqo9M3JHN6m1cq6Pqte5z1tXEqvTjMmGx'
4747
4848 let adminPubKey2 = base58'3qkFkJtWrKFAqo9M3JHN6m1cq6Pqte5z1tXEqvTjMmGx'
4949
5050 let adminPubKey3 = base58'3qkFkJtWrKFAqo9M3JHN6m1cq6Pqte5z1tXEqvTjMmGx'
5151
5252 let adminPubKeyStartStop = base58'3qkFkJtWrKFAqo9M3JHN6m1cq6Pqte5z1tXEqvTjMmGx'
5353
5454 let adminPubKeyStaking = base58'3qkFkJtWrKFAqo9M3JHN6m1cq6Pqte5z1tXEqvTjMmGx'
5555
5656 let walletAddress = Address(base58'3MtyCjvJuHiZRcnSYksAWB9REJX48tnMwZd')
5757
5858 let votingAddress = Address(base58'3MtyCjvJuHiZRcnSYksAWB9REJX48tnMwZd')
5959
6060 let stakingAddress = Address(base58'3MtyCjvJuHiZRcnSYksAWB9REJX48tnMwZd')
6161
6262 let basePeriod = valueOrErrorMessage(getInteger(votingAddress, kBasePeriod), "Empty kBasePeriod")
6363
6464 let startHeight = valueOrErrorMessage(getInteger(votingAddress, kStartHeight), "Empty kStartHeight")
6565
6666 let periodLength = valueOrErrorMessage(getInteger(votingAddress, kPeriodLength), "Empty kPeriodLength")
6767
6868 let firstHarvestEndPeriod = ((basePeriod + ((height - startHeight) / periodLength)) + 3)
6969
7070 let USDN = base58'gAAmMoquySsX6q5EmzciFfB8RecAhZR9W1HKNntNekL'
7171
7272 let stakingFeeInUSDN = (9 * value(value(assetInfo(USDN)).minSponsoredFee))
7373
7474 let isActive = getBooleanValue(this, keyActive)
7575
7676 let strAssetIdA = getStringValue(this, keyAssetIdA)
7777
7878 let strAssetIdB = getStringValue(this, keyAssetIdB)
7979
8080 let assetIdA = if ((strAssetIdA == "WAVES"))
8181 then unit
8282 else fromBase58String(strAssetIdA)
8383
8484 let assetIdB = if ((strAssetIdB == "WAVES"))
8585 then unit
8686 else fromBase58String(strAssetIdB)
8787
8888 let assetNameA = match assetIdA {
8989 case id: ByteVector =>
9090 value(assetInfo(id)).name
9191 case waves: Unit =>
9292 "WAVES"
9393 case _ =>
9494 throw("Match error")
9595 }
9696
9797 let assetNameB = match assetIdB {
9898 case id: ByteVector =>
9999 value(assetInfo(id)).name
100100 case waves: Unit =>
101101 "WAVES"
102102 case _ =>
103103 throw("Match error")
104104 }
105105
106106 let balanceA = getIntegerValue(this, keyBalanceA)
107107
108108 let balanceB = getIntegerValue(this, keyBalanceB)
109109
110110 let shareAssetId = fromBase58String(getStringValue(this, keyShareAssetId))
111111
112112 let shareAssetSupply = getIntegerValue(this, keyShareAssetSupply)
113113
114114 let commission = 3000
115115
116116 let commissionGovernance = 1200
117117
118118 let commissionScaleDelimiter = 1000000
119119
120120 let scaleValue3 = 1000
121121
122122 let scaleValue8 = 100000000
123123
124124 let slippageToleranceDelimiter = 1000
125125
126126 let scaleValue8Digits = 8
127127
128128 func accountBalance (assetId) = match assetId {
129129 case id: ByteVector =>
130130 assetBalance(this, id)
131131 case waves: Unit =>
132132 wavesBalance(this).available
133133 case _ =>
134134 throw("Match error")
135135 }
136136
137137
138138 let stakedAmountUSDN = match getInteger(stakingAddress, ((("rpd_balance_" + toBase58String(USDN)) + "_") + toString(this))) {
139139 case staked: Int =>
140140 staked
141141 case nothing: Unit =>
142142 0
143143 case _ =>
144144 throw("Match error")
145145 }
146146
147147 let assetInitA = getIntegerValue(this, keyBalanceInitA)
148148
149149 let assetInitB = getIntegerValue(this, keyBalanceInitB)
150150
151151 let availableBalanceA = (balanceA - (if ((assetIdA == USDN))
152152 then stakedAmountUSDN
153153 else 0))
154154
155155 let availableBalanceB = (balanceB - (if ((assetIdB == USDN))
156156 then stakedAmountUSDN
157157 else 0))
158158
159159 let accountBalanceWithStakedA = (accountBalance(assetIdA) + (if ((assetIdA == USDN))
160160 then stakedAmountUSDN
161161 else 0))
162162
163163 let accountBalanceWithStakedB = (accountBalance(assetIdB) + (if ((assetIdB == USDN))
164164 then stakedAmountUSDN
165165 else 0))
166166
167167 let hasEnoughBalance = if ((accountBalanceWithStakedA >= balanceA))
168168 then (accountBalanceWithStakedB >= balanceB)
169169 else false
170170
171171 func getAssetInfo (assetId) = match assetId {
172172 case id: ByteVector =>
173173 let stringId = toBase58String(id)
174174 let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
175175 $Tuple3(stringId, info.name, info.decimals)
176176 case waves: Unit =>
177177 $Tuple3("WAVES", "WAVES", 8)
178178 case _ =>
179179 throw("Match error")
180180 }
181181
182182
183183 func getAssetInfoFromString (assetStr) = if ((assetStr == "WAVES"))
184184 then $Tuple3("WAVES", "WAVES", 8)
185185 else {
186186 let stringId = assetStr
187187 let id = fromBase58String(assetStr)
188188 let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
189189 $Tuple3(stringId, info.name, info.decimals)
190190 }
191191
192192
193193 func suspend (cause) = [BooleanEntry(keyActive, false), StringEntry(keyCause, cause)]
194194
195195
196196 func deductStakingFee (amount,assetId) = if ((assetId == USDN))
197197 then {
198198 let result = (amount - stakingFeeInUSDN)
199199 if ((0 >= result))
200200 then throw((((("Insufficient amount " + toString(amount)) + " to deduct staking fee ") + toString(stakingFeeInUSDN)) + " USD-N"))
201201 else result
202202 }
203203 else amount
204204
205205
206206 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"))
207207
208208
209209 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"))
210210
211211
212212 @Callable(i)
213213 func init (firstHarvest) = {
214214 let $t060506127 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
215215 let pmtAmountA = $t060506127._1
216216 let pmtAssetIdA = $t060506127._2
217217 let $t061326209 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
218218 let pmtAmountB = $t061326209._1
219219 let pmtAssetIdB = $t061326209._2
220220 let $t062146291 = getAssetInfo(pmtAssetIdA)
221221 let pmtStrAssetIdA = $t062146291._1
222222 let pmtAssetNameA = $t062146291._2
223223 let pmtDecimalsA = $t062146291._3
224224 let $t062966373 = getAssetInfo(pmtAssetIdB)
225225 let pmtStrAssetIdB = $t062966373._1
226226 let pmtAssetNameB = $t062966373._2
227227 let pmtDecimalsB = $t062966373._3
228228 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStaking], i.callerPublicKey)))
229229 then throw("Only admin can call this function")
230230 else 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)
238- let shareInitialSupply = fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, HALFDOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, HALFDOWN), pow(10, 0, shareDecimals, 0, 0, HALFDOWN))
238+ let shareInitialSupply = fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN), pow(10, 0, shareDecimals, 0, 0, DOWN))
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) = {
252- let $t085818668 = getAssetInfoFromString(strAssetIdA)
253- let pmtStrAssetIdA = $t085818668._1
254- let pmtAssetNameA = $t085818668._2
255- let pmtDecimalsA = $t085818668._3
256- let $t086738760 = getAssetInfoFromString(strAssetIdB)
257- let pmtStrAssetIdB = $t086738760._1
258- let pmtAssetNameB = $t086738760._2
259- let pmtDecimalsB = $t086738760._3
252+ let $t085698656 = getAssetInfoFromString(strAssetIdA)
253+ let pmtStrAssetIdA = $t085698656._1
254+ let pmtAssetNameA = $t085698656._2
255+ let pmtDecimalsA = $t085698656._3
256+ let $t086618748 = getAssetInfoFromString(strAssetIdB)
257+ let pmtStrAssetIdB = $t086618748._1
258+ let pmtAssetNameB = $t086618748._2
259+ let pmtDecimalsB = $t086618748._3
260260 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStaking], i.callerPublicKey)))
261261 then throw("Only admin can call this function")
262262 else if (isDefined(getBoolean(this, keyActive)))
263263 then throw("DApp is already active")
264264 else if ((strAssetIdA == strAssetIdB))
265265 then throw("Assets must be different")
266266 else {
267267 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
268268 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
269269 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
270270 let shareInitialSupply = 0
271271 let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
272272 let shareIssueId = calculateAssetId(shareIssue)
273273 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)]
274274 if (firstHarvest)
275275 then (baseEntry ++ [BooleanEntry(keyFirstHarvest, firstHarvest), IntegerEntry(keyFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))])
276276 else baseEntry
277277 }
278278 }
279279
280280
281281
282282 @Callable(i)
283283 func keepLimitForFirstHarvest (shareLimit) = if (!(isActive))
284284 then throw("DApp is inactive at this moment")
285285 else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStaking], i.callerPublicKey)))
286286 then throw("Only admin can call this function")
287287 else [IntegerEntry(kShareLimit, shareLimit)]
288288
289289
290290
291291 @Callable(i)
292292 func replenishWithTwoTokens (slippageTolerance) = {
293293 let pmtAssetIdA = i.payments[0].assetId
294294 let pmtAssetIdB = i.payments[1].assetId
295295 let pmtAmountA = deductStakingFee(i.payments[0].amount, pmtAssetIdA)
296296 let pmtAmountB = deductStakingFee(i.payments[1].amount, pmtAssetIdB)
297297 if (if ((balanceA == 0))
298298 then (balanceB == 0)
299299 else false)
300300 then {
301- let $t01144511522 = getAssetInfo(pmtAssetIdA)
302- let pmtStrAssetIdA = $t01144511522._1
303- let pmtAssetNameA = $t01144511522._2
304- let pmtDecimalsA = $t01144511522._3
305- let $t01153111608 = getAssetInfo(pmtAssetIdB)
306- let pmtStrAssetIdB = $t01153111608._1
307- let pmtAssetNameB = $t01153111608._2
308- let pmtDecimalsB = $t01153111608._3
301+ let $t01143311510 = getAssetInfo(pmtAssetIdA)
302+ let pmtStrAssetIdA = $t01143311510._1
303+ let pmtAssetNameA = $t01143311510._2
304+ let pmtDecimalsA = $t01143311510._3
305+ let $t01151911596 = getAssetInfo(pmtAssetIdB)
306+ let pmtStrAssetIdB = $t01151911596._1
307+ let pmtAssetNameB = $t01151911596._2
308+ let pmtDecimalsB = $t01151911596._3
309309 let tokenRatio = fraction(fraction(assetInitA, scaleValue8, pmtAmountA), scaleValue3, fraction(assetInitB, scaleValue8, pmtAmountB))
310310 if ((pmtAssetIdA == pmtAssetIdB))
311311 then throw("Assets must be different")
312312 else {
313313 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
314- let shareInitialSupply = fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, HALFDOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, HALFDOWN), pow(10, 0, shareDecimals, 0, 0, HALFDOWN))
314+ let shareInitialSupply = fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN), pow(10, 0, shareDecimals, 0, 0, DOWN))
315315 if (!(isActive))
316316 then throw("DApp is inactive at this moment")
317317 else if (if ((0 > slippageTolerance))
318318 then true
319319 else (slippageTolerance > slippageToleranceDelimiter))
320320 then throw(((("Slippage tolerance must be between 0 and " + toString(slippageToleranceDelimiter)) + " inclusively. Actual: ") + toString(slippageTolerance)))
321321 else if ((size(i.payments) != 2))
322322 then throw("Two attached assets expected")
323323 else if (if ((((scaleValue3 * (slippageToleranceDelimiter - slippageTolerance)) / slippageToleranceDelimiter) > tokenRatio))
324324 then true
325325 else (tokenRatio > ((scaleValue3 * (slippageToleranceDelimiter + slippageTolerance)) / slippageToleranceDelimiter)))
326326 then throw("Incorrect assets amount: amounts must have the contract ratio")
327327 else if (if ((pmtAssetIdA != assetIdA))
328328 then true
329329 else (pmtAssetIdB != assetIdB))
330330 then throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB))
331331 else if ((shareInitialSupply == 0))
332332 then throw("Too small amount to replenish")
333333 else if (!(hasEnoughBalance))
334334 then suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB) + ". State: ") + toString(accountBalance(assetIdA))) + " ") + assetNameA) + ", ") + toString(accountBalance(assetIdB))) + " ") + assetNameB))
335335 else [Reissue(shareAssetId, shareInitialSupply, true), IntegerEntry(keyBalanceA, pmtAmountA), IntegerEntry(keyBalanceB, pmtAmountB), IntegerEntry(keyShareAssetSupply, shareInitialSupply), ScriptTransfer(i.caller, shareInitialSupply, shareAssetId)]
336336 }
337337 }
338338 else {
339339 let tokenRatio = fraction(fraction(balanceA, scaleValue8, pmtAmountA), scaleValue3, fraction(balanceB, scaleValue8, pmtAmountB))
340340 let ratioShareTokensInA = fraction(pmtAmountA, scaleValue8, balanceA)
341341 let ratioShareTokensInB = fraction(pmtAmountB, scaleValue8, balanceB)
342342 let shareTokenToPayAmount = fraction(min([ratioShareTokensInA, ratioShareTokensInB]), shareAssetSupply, scaleValue8)
343343 if (!(isActive))
344344 then throw("DApp is inactive at this moment")
345345 else if (if ((0 > slippageTolerance))
346346 then true
347347 else (slippageTolerance > slippageToleranceDelimiter))
348348 then throw(((("Slippage tolerance must be between 0 and " + toString(slippageToleranceDelimiter)) + " inclusively. Actual: ") + toString(slippageTolerance)))
349349 else if ((size(i.payments) != 2))
350350 then throw("Two attached assets expected")
351351 else if (if ((pmtAssetIdA != assetIdA))
352352 then true
353353 else (pmtAssetIdB != assetIdB))
354354 then throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB))
355355 else if (if ((((scaleValue3 * (slippageToleranceDelimiter - slippageTolerance)) / slippageToleranceDelimiter) > tokenRatio))
356356 then true
357357 else (tokenRatio > ((scaleValue3 * (slippageToleranceDelimiter + slippageTolerance)) / slippageToleranceDelimiter)))
358358 then throw("Incorrect assets amount: amounts must have the contract ratio")
359359 else if ((shareTokenToPayAmount == 0))
360360 then throw("Too small amount to replenish")
361361 else if (!(hasEnoughBalance))
362362 then suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB) + ". State: ") + toString(accountBalance(assetIdA))) + " ") + assetNameA) + ", ") + toString(accountBalance(assetIdB))) + " ") + assetNameB))
363363 else [IntegerEntry(keyBalanceA, (balanceA + pmtAmountA)), IntegerEntry(keyBalanceB, (balanceB + pmtAmountB)), IntegerEntry(keyShareAssetSupply, (shareAssetSupply + shareTokenToPayAmount)), Reissue(shareAssetId, shareTokenToPayAmount, true), ScriptTransfer(i.caller, shareTokenToPayAmount, shareAssetId)]
364364 }
365365 }
366366
367367
368368
369369 @Callable(i)
370370 func withdraw () = {
371- let $t01624116391 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
372- let pmtAmount = $t01624116391._1
373- let pmtAssetId = $t01624116391._2
371+ let $t01621716367 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
372+ let pmtAmount = $t01621716367._1
373+ let pmtAssetId = $t01621716367._2
374374 let amountToPayA = deductStakingFee(fraction(pmtAmount, balanceA, shareAssetSupply), assetIdA)
375375 let amountToPayB = deductStakingFee(fraction(pmtAmount, balanceB, shareAssetSupply), assetIdB)
376376 if (!(isActive))
377377 then throw("DApp is inactive at this moment")
378378 else if ((size(i.payments) != 1))
379379 then throw("One attached payment expected")
380380 else if ((pmtAssetId != shareAssetId))
381381 then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
382382 else if (!(hasEnoughBalance))
383383 then suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB) + ". State: ") + toString(accountBalance(assetIdA))) + " ") + assetNameA) + ", ") + toString(accountBalance(assetIdB))) + " ") + assetNameB))
384384 else if (if ((amountToPayA > availableBalanceA))
385385 then true
386386 else (amountToPayB > availableBalanceB))
387387 then throwInsufficientAvailableBalances(amountToPayA, amountToPayB)
388388 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)]
389389 }
390390
391391
392392
393393 @Callable(i)
394394 func exchange (minAmountToReceive) = {
395- let $t01778117856 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
396- let pmtAmount = $t01778117856._1
397- let pmtAssetId = $t01778117856._2
395+ let $t01775717832 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
396+ let pmtAmount = $t01775717832._1
397+ let pmtAssetId = $t01775717832._2
398398 func calculateFees (tokenFrom,tokenTo) = {
399399 let amountWithoutFee = fraction(tokenTo, pmtAmount, (pmtAmount + tokenFrom))
400400 let amountWithFee = fraction(amountWithoutFee, (commissionScaleDelimiter - commission), commissionScaleDelimiter)
401401 let governanceReward = fraction(amountWithoutFee, commissionGovernance, commissionScaleDelimiter)
402402 if ((minAmountToReceive > amountWithFee))
403403 then throw(((("Calculated amount to receive " + toString(amountWithFee)) + " is less than specified minimum ") + toString(minAmountToReceive)))
404404 else $Tuple3(amountWithoutFee, amountWithFee, governanceReward)
405405 }
406406
407407 if (!(isActive))
408408 then throw("DApp is inactive at this moment")
409409 else if (if ((balanceA == 0))
410410 then true
411411 else (balanceB == 0))
412412 then throw("Can't exchange with zero balance")
413413 else if ((0 >= minAmountToReceive))
414414 then throw(("Minimal amount to receive must be positive. Actual: " + toString(minAmountToReceive)))
415415 else if ((size(i.payments) != 1))
416416 then throw("One attached payment expected")
417417 else if (!(hasEnoughBalance))
418418 then suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB) + ". State: ") + toString(accountBalance(assetIdA))) + " ") + assetNameA) + ", ") + toString(accountBalance(assetIdB))) + " ") + assetNameB))
419419 else if ((pmtAssetId == assetIdA))
420420 then {
421421 let assetIdSend = assetIdB
422- let $t01931419405 = calculateFees(balanceA, balanceB)
423- let amountWithoutFee = $t01931419405._1
424- let amountWithFee = $t01931419405._2
425- let governanceReward = $t01931419405._3
422+ let $t01929019381 = calculateFees(balanceA, balanceB)
423+ let amountWithoutFee = $t01929019381._1
424+ let amountWithFee = $t01929019381._2
425+ let governanceReward = $t01929019381._3
426426 let newBalanceA = (balanceA + pmtAmount)
427427 let newBalanceB = ((balanceB - amountWithFee) - governanceReward)
428428 if (if (if ((assetIdA == USDN))
429429 then (stakedAmountUSDN >= newBalanceA)
430430 else false)
431431 then true
432432 else if ((assetIdB == USDN))
433433 then (stakedAmountUSDN >= newBalanceB)
434434 else false)
435435 then throwInsufficientAvailableBalance(amountWithFee, availableBalanceB, assetNameB)
436436 else [IntegerEntry(keyBalanceA, newBalanceA), IntegerEntry(keyBalanceB, newBalanceB), ScriptTransfer(i.caller, amountWithFee, assetIdSend), ScriptTransfer(walletAddress, governanceReward, assetIdSend)]
437437 }
438438 else if ((pmtAssetId == assetIdB))
439439 then {
440440 let assetIdSend = assetIdA
441- let $t02027420365 = calculateFees(balanceB, balanceA)
442- let amountWithoutFee = $t02027420365._1
443- let amountWithFee = $t02027420365._2
444- let governanceReward = $t02027420365._3
441+ let $t02025020341 = calculateFees(balanceB, balanceA)
442+ let amountWithoutFee = $t02025020341._1
443+ let amountWithFee = $t02025020341._2
444+ let governanceReward = $t02025020341._3
445445 let newBalanceA = ((balanceA - amountWithFee) - governanceReward)
446446 let newBalanceB = (balanceB + pmtAmount)
447447 if (if (if ((assetIdA == USDN))
448448 then (stakedAmountUSDN >= newBalanceA)
449449 else false)
450450 then true
451451 else if ((assetIdB == USDN))
452452 then (stakedAmountUSDN >= newBalanceB)
453453 else false)
454454 then throwInsufficientAvailableBalance(amountWithFee, availableBalanceA, assetNameA)
455455 else [IntegerEntry(keyBalanceA, newBalanceA), IntegerEntry(keyBalanceB, newBalanceB), ScriptTransfer(i.caller, amountWithFee, assetIdSend), ScriptTransfer(walletAddress, governanceReward, assetIdSend)]
456456 }
457457 else throw(((("Incorrect asset attached. Expected: " + strAssetIdA) + " or ") + strAssetIdB))
458458 }
459459
460460
461461
462462 @Callable(i)
463463 func shutdown () = if (!(isActive))
464464 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, keyCause), "the cause wasn't specified")))
465465 else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
466466 then throw("Only admin can call this function")
467467 else suspend("Paused by admin")
468468
469469
470470
471471 @Callable(i)
472472 func activate () = if (isActive)
473473 then throw("DApp is already active")
474474 else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
475475 then throw("Only admin can call this function")
476476 else [BooleanEntry(keyActive, true), DeleteEntry(keyCause)]
477477
478478
479479
480480 @Callable(i)
481481 func takeIntoAccountExtraFunds (amountLeave) = {
482482 let uncountableAmountEnrollAssetA = (accountBalanceWithStakedA - balanceA)
483483 let uncountableAmountEnrollAssetB = (accountBalanceWithStakedB - balanceB)
484484 let amountEnrollA = (uncountableAmountEnrollAssetA - (if ((assetIdA == USDN))
485485 then amountLeave
486486 else 0))
487487 let amountEnrollB = (uncountableAmountEnrollAssetB - (if ((assetIdB == USDN))
488488 then amountLeave
489489 else 0))
490490 if (!(isActive))
491491 then throw("DApp is inactive at this moment")
492492 else if ((i.caller != this))
493493 then throw("Only the DApp itself can call this function")
494494 else if ((0 > amountLeave))
495495 then throw(("Argument 'amountLeave' cannot be negative. Actual: " + toString(amountLeave)))
496496 else if (if ((0 > uncountableAmountEnrollAssetA))
497497 then true
498498 else (0 > uncountableAmountEnrollAssetB))
499499 then suspend("Enroll amount negative")
500500 else if (if ((0 > amountEnrollA))
501501 then true
502502 else (0 > amountEnrollB))
503503 then throw("Too large amountLeave")
504504 else [IntegerEntry(keyBalanceA, (balanceA + amountEnrollA)), IntegerEntry(keyBalanceB, (balanceB + amountEnrollB)), IntegerEntry(("last_income_" + strAssetIdA), amountEnrollA), IntegerEntry(("last_income_" + strAssetIdB), amountEnrollB)]
505505 }
506506
507507
508508 @Verifier(tx)
509509 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
510510

github/deemru/w8io/026f985 
83.47 ms