tx · 2VVe3JYquT2gW3tbyiMscaMkEbg4KAbn5P5aonaHxeAG

3Mq63YubY7UKJEobhDuXfsnXaPDJZT1fDhx:  -0.01400000 Waves

2021.12.29 19:42 [1855763] smart account 3Mq63YubY7UKJEobhDuXfsnXaPDJZT1fDhx > SELF 0.00000000 Waves

{ "type": 13, "id": "2VVe3JYquT2gW3tbyiMscaMkEbg4KAbn5P5aonaHxeAG", "fee": 1400000, "feeAssetId": null, "timestamp": 1640796208894, "version": 2, "chainId": 84, "sender": "3Mq63YubY7UKJEobhDuXfsnXaPDJZT1fDhx", "senderPublicKey": "HXfVyeXgXUtHD3uSP6yjsk6JQcTwmU9qQTvhXzFpPw2T", "proofs": [ "3sNTSxraQmCYhw7kHpXV9b5AJ36od97A1tQv7hHyHyMqvAKgErezAXqKMDsyRxSgU6SDvtP9iRL334CfJdmjjrR1", "qiGjyKr6yRiw7qDhiVRoec5C33SK9PuhaFgvi8E11fKr9w1zGPLrKwxJ4sBjFnnWgcgd69T7gN2sJGwrptGGmQs" ], "script": "base64:AAIFAAAAAAAAADMIAhIDCgEEEgcKBQEBCAgEEgMKAQESAwoBARIAEgMKAQESABIAEgMKAQESBQoDBAEIEgAAAABXAAAAAAd2ZXJzaW9uAgAAAAUxLjAuMAAAAAAKa2V5VmVyc2lvbgIAAAAHdmVyc2lvbgAAAAAJa2V5QWN0aXZlAgAAAAZhY3RpdmUAAAAAC2tleUFzc2V0SWRBAgAAAApBX2Fzc2V0X2lkAAAAAAtrZXlBc3NldElkQgIAAAAKQl9hc3NldF9pZAAAAAALa2V5QmFsYW5jZUECAAAAD0FfYXNzZXRfYmFsYW5jZQAAAAALa2V5QmFsYW5jZUICAAAAD0JfYXNzZXRfYmFsYW5jZQAAAAAPa2V5QmFsYW5jZUluaXRBAgAAAAxBX2Fzc2V0X2luaXQAAAAAD2tleUJhbGFuY2VJbml0QgIAAAAMQl9hc3NldF9pbml0AAAAAA9rZXlTaGFyZUFzc2V0SWQCAAAADnNoYXJlX2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AAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAxhZG1pblB1YktleTEGCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAMYWRtaW5QdWJLZXkyBgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAADGFkbWluUHViS2V5MwYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAABJhZG1pblB1YktleVN0YWtpbmcDAwMDBQAAABNjYWxsVGFrZUludG9BY2NvdW50BgUAAAAPZXhjaGFuZ2VUb1dhdmVzBgUAAAAPZXhjaGFuZ2VUb05TQlRzBQAAAA1zaWduZWRCeUFkbWluBwYFAAAAE211bHRpU2lnbmVkQnlBZG1pbnMFAAAAE211bHRpU2lnbmVkQnlBZG1pbnPpaSPI", "height": 1855763, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5nBZNPx1WynphUcymGAMVsbj8zxqZpscHcaBTxuVtYks Next: 3RohkzdFAr8vMGFcNWgmXdQa4A8v3dQFsJqi1dSxVkir Diff:
OldNewDifferences
4040 let kPeriodLength = "period_length"
4141
4242 let kStartHeight = "start_height"
43+
44+let kFirstHarvestHeight = "first_harvest_height"
4345
4446 let keyUSDNNSBTAddress = "staking_usdnnsbt_address"
4547
8486 let USDN = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS'
8587
8688 let NSBT = base58'36mg8NZTaFRDygiVwb8uBnLR51hetJruUCZcxhaVcHj9'
89+
90+let SWOP = base58'2HAJrwa8q4SxBx9cHYaBTQdBjdk5wwqdof7ccpAx2uhZ'
8791
8892 let EURN = base58'ECBCkHS68DckpBrzLeoRgYbFg7sCVqR176mPqbXsj9pA'
8993
147151
148152 let commission = 3000
149153
154+let commissionGovernance = 1200
155+
150156 let commissionScaleDelimiter = 1000000
151157
152158 let scaleValue3 = 1000
154160 let scaleValue8 = 100000000
155161
156162 let slippageToleranceDelimiter = 1000
163+
164+let scaleValue8Digits = 8
157165
158166 func accountBalance (assetId) = match assetId {
159167 case id: ByteVector =>
196204 let assetInitA = getIntegerValue(this, keyBalanceInitA)
197205
198206 let assetInitB = getIntegerValue(this, keyBalanceInitB)
207+
208+let availableBalanceA = (balanceA - stakedAmountA)
209+
210+let availableBalanceB = (balanceB - stakedAmountB)
199211
200212 let accountBalanceWithStakedA = (accountBalance(assetIdA) + stakedAmountA)
201213
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"
43+
44+let kFirstHarvestHeight = "first_harvest_height"
4345
4446 let keyUSDNNSBTAddress = "staking_usdnnsbt_address"
4547
4648 let keyEURNAddress = "staking_eurn_address"
4749
4850 let keyLeasingPool = "leasing_address"
4951
5052 let keyLeasingAmount = "leasing_amount"
5153
5254 let keyLeasingId = "leasing_id"
5355
5456 let keyAdminPubKey1 = "admin_pub_1"
5557
5658 let keyAdminPubKey2 = "admin_pub_2"
5759
5860 let keyAdminPubKey3 = "admin_pub_3"
5961
6062 let oracle = Address(base58'3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9')
6163
6264 func getAdminPub (keyAdminPub) = match getString(oracle, keyAdminPub) {
6365 case string: String =>
6466 fromBase58String(string)
6567 case nothing =>
6668 throw("Admin public key is empty")
6769 }
6870
6971
7072 let adminPubKey1 = getAdminPub(keyAdminPubKey1)
7173
7274 let adminPubKey2 = getAdminPub(keyAdminPubKey2)
7375
7476 let adminPubKey3 = getAdminPub(keyAdminPubKey3)
7577
7678 let adminPubKeyStartStop = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
7779
7880 let adminPubKeyStaking = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
7981
8082 let walletAddress = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
8183
8284 let votingAddress = Address(base58'3MrJgdL1GniipErHy44YF9idzLaUL2iX5DQ')
8385
8486 let USDN = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS'
8587
8688 let NSBT = base58'36mg8NZTaFRDygiVwb8uBnLR51hetJruUCZcxhaVcHj9'
89+
90+let SWOP = base58'2HAJrwa8q4SxBx9cHYaBTQdBjdk5wwqdof7ccpAx2uhZ'
8791
8892 let EURN = base58'ECBCkHS68DckpBrzLeoRgYbFg7sCVqR176mPqbXsj9pA'
8993
9094 let stakingAssets = ["WAVES", toBase58String(USDN), toBase58String(NSBT), toBase58String(EURN)]
9195
9296 let stakingUSDNNSBTAddress = Address(fromBase58String(valueOrErrorMessage(getString(oracle, keyUSDNNSBTAddress), "no usdn staking address")))
9397
9498 let stakingEURNAddress = Address(fromBase58String(valueOrErrorMessage(getString(oracle, keyEURNAddress), "no usdn staking address")))
9599
96100 let USDNToWavesExchanger = Address(base58'3N8PGkzXhbtTvEwEQTtE2xiTJmsDEQ9XfoZ')
97101
98102 let USDNToNSBTExchanger = Address(base58'3MqW1t2cxdYy2emEMk3YtZkRwQPhHaTfWRe')
99103
100104 let basePeriod = valueOrErrorMessage(getInteger(votingAddress, kBasePeriod), "Empty kBasePeriod")
101105
102106 let startHeight = valueOrErrorMessage(getInteger(votingAddress, kStartHeight), "Empty kStartHeight")
103107
104108 let periodLength = valueOrErrorMessage(getInteger(votingAddress, kPeriodLength), "Empty kPeriodLength")
105109
106110 let firstHarvestEndPeriod = ((basePeriod + ((height - startHeight) / periodLength)) + 3)
107111
108112 let active = getBooleanValue(this, keyActive)
109113
110114 let strAssetIdA = getStringValue(this, keyAssetIdA)
111115
112116 let strAssetIdB = getStringValue(this, keyAssetIdB)
113117
114118 let assetIdA = if ((strAssetIdA == "WAVES"))
115119 then unit
116120 else fromBase58String(strAssetIdA)
117121
118122 let assetIdB = if ((strAssetIdB == "WAVES"))
119123 then unit
120124 else fromBase58String(strAssetIdB)
121125
122126 let assetNameA = match assetIdA {
123127 case id: ByteVector =>
124128 value(assetInfo(id)).name
125129 case waves: Unit =>
126130 "WAVES"
127131 case _ =>
128132 throw("Match error")
129133 }
130134
131135 let assetNameB = match assetIdB {
132136 case id: ByteVector =>
133137 value(assetInfo(id)).name
134138 case waves: Unit =>
135139 "WAVES"
136140 case _ =>
137141 throw("Match error")
138142 }
139143
140144 let balanceA = getIntegerValue(this, keyBalanceA)
141145
142146 let balanceB = getIntegerValue(this, keyBalanceB)
143147
144148 let shareAssetId = fromBase58String(getStringValue(this, keyShareAssetId))
145149
146150 let shareAssetSupply = getIntegerValue(this, keyShareAssetSupply)
147151
148152 let commission = 3000
149153
154+let commissionGovernance = 1200
155+
150156 let commissionScaleDelimiter = 1000000
151157
152158 let scaleValue3 = 1000
153159
154160 let scaleValue8 = 100000000
155161
156162 let slippageToleranceDelimiter = 1000
163+
164+let scaleValue8Digits = 8
157165
158166 func accountBalance (assetId) = match assetId {
159167 case id: ByteVector =>
160168 assetBalance(this, id)
161169 case waves: Unit =>
162170 wavesBalance(this).available
163171 case _ =>
164172 throw("Match error")
165173 }
166174
167175
168176 func stakedAmount (assetId) = {
169177 let stakedAmountCalculated = match assetId {
170178 case aId: ByteVector =>
171179 if (if ((aId == USDN))
172180 then true
173181 else (aId == NSBT))
174182 then getInteger(stakingUSDNNSBTAddress, ((("rpd_balance_" + toBase58String(aId)) + "_") + toString(this)))
175183 else if ((aId == EURN))
176184 then getInteger(stakingEURNAddress, ((("%s%s%s__stakingBalance__" + toBase58String(aId)) + "__") + toString(this)))
177185 else 0
178186 case _: Unit =>
179187 valueOrElse(getInteger(this, keyLeasingAmount), 0)
180188 case _ =>
181189 throw("Match error")
182190 }
183191 match stakedAmountCalculated {
184192 case i: Int =>
185193 i
186194 case _ =>
187195 0
188196 }
189197 }
190198
191199
192200 let stakedAmountA = stakedAmount(assetIdA)
193201
194202 let stakedAmountB = stakedAmount(assetIdB)
195203
196204 let assetInitA = getIntegerValue(this, keyBalanceInitA)
197205
198206 let assetInitB = getIntegerValue(this, keyBalanceInitB)
207+
208+let availableBalanceA = (balanceA - stakedAmountA)
209+
210+let availableBalanceB = (balanceB - stakedAmountB)
199211
200212 let accountBalanceWithStakedA = (accountBalance(assetIdA) + stakedAmountA)
201213
202214 let accountBalanceWithStakedB = (accountBalance(assetIdB) + stakedAmountB)
203215
204216 let hasEnoughBalance = if ((accountBalanceWithStakedA >= balanceA))
205217 then (accountBalanceWithStakedB >= balanceB)
206218 else false
207219
208220 func getAssetInfo (assetId) = match assetId {
209221 case id: ByteVector =>
210222 let stringId = toBase58String(id)
211223 let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
212224 $Tuple3(stringId, info.name, info.decimals)
213225 case waves: Unit =>
214226 $Tuple3("WAVES", "WAVES", 8)
215227 case _ =>
216228 throw("Match error")
217229 }
218230
219231
220232 func getAssetInfoFromString (assetStr) = if ((assetStr == "WAVES"))
221233 then $Tuple3("WAVES", "WAVES", 8)
222234 else {
223235 let stringId = assetStr
224236 let id = fromBase58String(assetStr)
225237 let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
226238 $Tuple3(stringId, info.name, info.decimals)
227239 }
228240
229241
230242 func suspend (cause) = [BooleanEntry(keyActive, false), StringEntry(keyCause, cause)]
231243
232244
233245 func calcStakingFuncAndAddres (stake,assetId) = if (stake)
234246 then if ((assetId == USDN))
235247 then $Tuple2("lockNeutrino", stakingUSDNNSBTAddress)
236248 else if ((assetId == NSBT))
237249 then $Tuple2("lockNsbt", stakingUSDNNSBTAddress)
238250 else $Tuple2("startStaking", stakingEURNAddress)
239251 else if ((assetId == USDN))
240252 then $Tuple2("unlockNeutrino", stakingUSDNNSBTAddress)
241253 else if ((assetId == NSBT))
242254 then $Tuple2("unlockNsbt", stakingUSDNNSBTAddress)
243255 else $Tuple2("stopStaking", stakingEURNAddress)
244256
245257
246258 func calcStakingParams (stake,amount,assetId) = if (stake)
247259 then {
248260 let $t069286994 = calcStakingFuncAndAddres(stake, assetId)
249261 let call = $t069286994._1
250262 let stakingAddr = $t069286994._2
251263 $Tuple4(call, stakingAddr, nil, [AttachedPayment(assetId, amount)])
252264 }
253265 else {
254266 let $t070807146 = calcStakingFuncAndAddres(stake, assetId)
255267 let call = $t070807146._1
256268 let stakingAddr = $t070807146._2
257269 $Tuple4(call, stakingAddr, [amount, toBase58String(assetId)], nil)
258270 }
259271
260272
261273 func suspendSuspicious () = suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(accountBalanceWithStakedA)) + " ") + assetNameA) + ", ") + toString(accountBalanceWithStakedB)) + " ") + assetNameB) + ". State: ") + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB))
262274
263275
264276 func isActive () = if (active)
265277 then unit
266278 else throw("DApp is inactive at this moment")
267279
268280
269281 @Callable(i)
270282 func init (firstHarvest) = {
271283 let $t076627739 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
272284 let pmtAmountA = $t076627739._1
273285 let pmtAssetIdA = $t076627739._2
274286 let $t077447821 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
275287 let pmtAmountB = $t077447821._1
276288 let pmtAssetIdB = $t077447821._2
277289 let $t078267903 = getAssetInfo(pmtAssetIdA)
278290 let pmtStrAssetIdA = $t078267903._1
279291 let pmtAssetNameA = $t078267903._2
280292 let pmtDecimalsA = $t078267903._3
281293 let $t079087985 = getAssetInfo(pmtAssetIdB)
282294 let pmtStrAssetIdB = $t079087985._1
283295 let pmtAssetNameB = $t079087985._2
284296 let pmtDecimalsB = $t079087985._3
285297 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStaking], i.callerPublicKey)))
286298 then throw("Only admin can call this function")
287299 else if (isDefined(getBoolean(this, keyActive)))
288300 then throw("DApp is already active")
289301 else if ((pmtAssetIdA == pmtAssetIdB))
290302 then throw("Assets must be different")
291303 else {
292304 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
293305 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
294306 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
295307 let arg1 = pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN)
296308 let arg2 = pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN)
297309 let arg3 = pow(10, 0, shareDecimals, 0, 0, DOWN)
298310 let shareInitialSupply = fraction(arg1, arg2, arg3)
299311 let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
300312 let shareIssueId = calculateAssetId(shareIssue)
301313 let stake1 = if (containsElement(stakingAssets, pmtStrAssetIdA))
302314 then invoke(this, "stakeUnstake", [true, pmtAmountA, pmtStrAssetIdA], nil)
303315 else 0
304316 if ((stake1 == stake1))
305317 then {
306318 let stake2 = if (containsElement(stakingAssets, pmtStrAssetIdB))
307319 then invoke(this, "stakeUnstake", [true, pmtAmountB, pmtStrAssetIdB], nil)
308320 else 0
309321 if ((stake2 == stake2))
310322 then {
311323 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)]
312324 if (firstHarvest)
313325 then (baseEntry ++ [BooleanEntry(keyFirstHarvest, firstHarvest), IntegerEntry(keyFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))])
314326 else baseEntry
315327 }
316328 else throw("Strict value is not equal to itself.")
317329 }
318330 else throw("Strict value is not equal to itself.")
319331 }
320332 }
321333
322334
323335
324336 @Callable(i)
325337 func initWithInitRatio (amtAssetA,amtAssetB,strAssetIdA,strAssetIdB,firstHarvest) = {
326338 let $t01057410661 = getAssetInfoFromString(strAssetIdA)
327339 let pmtStrAssetIdA = $t01057410661._1
328340 let pmtAssetNameA = $t01057410661._2
329341 let pmtDecimalsA = $t01057410661._3
330342 let $t01066610753 = getAssetInfoFromString(strAssetIdB)
331343 let pmtStrAssetIdB = $t01066610753._1
332344 let pmtAssetNameB = $t01066610753._2
333345 let pmtDecimalsB = $t01066610753._3
334346 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStaking], i.callerPublicKey)))
335347 then throw("Only admin can call this function")
336348 else if (isDefined(getBoolean(this, keyActive)))
337349 then throw("DApp is already active")
338350 else if ((strAssetIdA == strAssetIdB))
339351 then throw("Assets must be different")
340352 else {
341353 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
342354 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
343355 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
344356 let shareInitialSupply = 0
345357 let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
346358 let shareIssueId = calculateAssetId(shareIssue)
347359 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)]
348360 if (firstHarvest)
349361 then (baseEntry ++ [BooleanEntry(keyFirstHarvest, firstHarvest), IntegerEntry(keyFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))])
350362 else baseEntry
351363 }
352364 }
353365
354366
355367
356368 @Callable(i)
357369 func keepLimitForFirstHarvest (shareLimit) = valueOrElse(isActive(), if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStaking], i.callerPublicKey)))
358370 then throw("Only admin can call this function")
359371 else [IntegerEntry(kShareLimit, shareLimit)])
360372
361373
362374
363375 @Callable(i)
364376 func replenishWithTwoTokens (slippageTolerance) = valueOrElse(isActive(), {
365377 let pmtAssetIdA = i.payments[0].assetId
366378 let pmtAssetIdB = i.payments[1].assetId
367379 let pmtAmountA = i.payments[0].amount
368380 let pmtAmountB = i.payments[1].amount
369381 let $t01322113298 = getAssetInfo(pmtAssetIdA)
370382 let pmtStrAssetIdA = $t01322113298._1
371383 let pmtAssetNameA = $t01322113298._2
372384 let pmtDecimalsA = $t01322113298._3
373385 let $t01330313380 = getAssetInfo(pmtAssetIdB)
374386 let pmtStrAssetIdB = $t01330313380._1
375387 let pmtAssetNameB = $t01330313380._2
376388 let pmtDecimalsB = $t01330313380._3
377389 let inital = if (if ((balanceA == 0))
378390 then (balanceB == 0)
379391 else false)
380392 then true
381393 else false
382394 let tokenRatio = if (inital)
383395 then fraction(fraction(assetInitA, scaleValue8, pmtAmountA), scaleValue3, fraction(assetInitB, scaleValue8, pmtAmountB))
384396 else fraction(fraction(balanceA, scaleValue8, pmtAmountA), scaleValue3, fraction(balanceB, scaleValue8, pmtAmountB))
385397 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
386398 let shareTokenToPayAmount = if (inital)
387399 then fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN), pow(10, 0, shareDecimals, 0, 0, DOWN))
388400 else fraction(min([fraction(pmtAmountA, scaleValue8, balanceA), fraction(pmtAmountB, scaleValue8, balanceB)]), shareAssetSupply, scaleValue8)
389401 if (if ((0 > slippageTolerance))
390402 then true
391403 else (slippageTolerance > slippageToleranceDelimiter))
392404 then throw(((("Slippage tolerance must be between 0 and " + toString(slippageToleranceDelimiter)) + " inclusively. Actual: ") + toString(slippageTolerance)))
393405 else if ((size(i.payments) != 2))
394406 then throw("Two attached assets expected")
395407 else if (if ((pmtAssetIdA != assetIdA))
396408 then true
397409 else (pmtAssetIdB != assetIdB))
398410 then throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB))
399411 else if (if ((((scaleValue3 * (slippageToleranceDelimiter - slippageTolerance)) / slippageToleranceDelimiter) > tokenRatio))
400412 then true
401413 else (tokenRatio > ((scaleValue3 * (slippageToleranceDelimiter + slippageTolerance)) / slippageToleranceDelimiter)))
402414 then throw("Incorrect assets amount: amounts must have the contract ratio")
403415 else if ((shareTokenToPayAmount == 0))
404416 then throw("Too small amount to replenish")
405417 else if (!(hasEnoughBalance))
406418 then ([ScriptTransfer(i.caller, pmtAmountA, pmtAssetIdA), ScriptTransfer(i.caller, pmtAmountB, pmtAssetIdB)] ++ suspendSuspicious())
407419 else {
408420 let stake1 = if (containsElement(stakingAssets, pmtStrAssetIdA))
409421 then invoke(this, "stakeUnstake", [true, pmtAmountA, pmtStrAssetIdA], nil)
410422 else 0
411423 if ((stake1 == stake1))
412424 then {
413425 let stake2 = if (containsElement(stakingAssets, pmtStrAssetIdB))
414426 then invoke(this, "stakeUnstake", [true, pmtAmountB, pmtStrAssetIdB], nil)
415427 else 0
416428 if ((stake2 == stake2))
417429 then [Reissue(shareAssetId, shareTokenToPayAmount, true), IntegerEntry(keyBalanceA, pmtAmountA), IntegerEntry(keyBalanceB, pmtAmountB), IntegerEntry(keyShareAssetSupply, shareTokenToPayAmount), ScriptTransfer(i.caller, shareTokenToPayAmount, shareAssetId)]
418430 else throw("Strict value is not equal to itself.")
419431 }
420432 else throw("Strict value is not equal to itself.")
421433 }
422434 })
423435
424436
425437
426438 @Callable(i)
427439 func withdraw () = valueOrElse(isActive(), {
428440 let $t01614616221 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
429441 let pmtAmount = $t01614616221._1
430442 let pmtAssetId = $t01614616221._2
431443 let amountToPayA = fraction(pmtAmount, balanceA, shareAssetSupply)
432444 let amountToPayB = fraction(pmtAmount, balanceB, shareAssetSupply)
433445 if ((size(i.payments) != 1))
434446 then throw("One attached payment expected")
435447 else if ((pmtAssetId != shareAssetId))
436448 then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
437449 else if (!(hasEnoughBalance))
438450 then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
439451 else {
440452 let stake1 = if (containsElement(stakingAssets, strAssetIdA))
441453 then invoke(this, "stakeUnstake", [false, amountToPayA, strAssetIdA], nil)
442454 else 0
443455 if ((stake1 == stake1))
444456 then {
445457 let stake2 = if (containsElement(stakingAssets, strAssetIdB))
446458 then invoke(this, "stakeUnstake", [false, amountToPayB, strAssetIdB], nil)
447459 else 0
448460 if ((stake2 == stake2))
449461 then [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)]
450462 else throw("Strict value is not equal to itself.")
451463 }
452464 else throw("Strict value is not equal to itself.")
453465 }
454466 })
455467
456468
457469
458470 @Callable(i)
459471 func exchange (minAmountToReceive) = valueOrElse(isActive(), {
460472 let $t01752717602 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
461473 let pmtAmount = $t01752717602._1
462474 let pmtAssetId = $t01752717602._2
463475 func calculateFees (tokenFrom,tokenTo) = {
464476 let amountWithoutFee = fraction(tokenTo, pmtAmount, (pmtAmount + tokenFrom))
465477 let amountWithFee = fraction(amountWithoutFee, (commissionScaleDelimiter - commission), commissionScaleDelimiter)
466478 let governanceReward = fraction(amountWithoutFee, commissionGovernance, commissionScaleDelimiter)
467479 if ((minAmountToReceive > amountWithFee))
468480 then throw(((("Calculated amount to receive " + toString(amountWithFee)) + " is less than specified minimum ") + toString(minAmountToReceive)))
469481 else $Tuple3(amountWithoutFee, amountWithFee, governanceReward)
470482 }
471483
472484 if (if ((balanceA == 0))
473485 then true
474486 else (balanceB == 0))
475487 then throw("Can't exchange with zero balance")
476488 else if ((0 >= minAmountToReceive))
477489 then throw(("Minimal amount to receive must be positive. Actual: " + toString(minAmountToReceive)))
478490 else if ((size(i.payments) != 1))
479491 then throw("One attached payment expected")
480492 else if (!(hasEnoughBalance))
481493 then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
482494 else if ((pmtAssetId == assetIdA))
483495 then {
484496 let assetIdSend = assetIdB
485497 let $t01880018891 = calculateFees(balanceA, balanceB)
486498 let amountWithoutFee = $t01880018891._1
487499 let amountWithFee = $t01880018891._2
488500 let governanceReward = $t01880018891._3
489501 let newBalanceA = (balanceA + pmtAmount)
490502 let newBalanceB = ((balanceB - amountWithFee) - governanceReward)
491503 let stake1 = if (containsElement(stakingAssets, strAssetIdA))
492504 then invoke(this, "stakeUnstake", [true, pmtAmount, strAssetIdA], nil)
493505 else 0
494506 if ((stake1 == stake1))
495507 then {
496508 let stake2 = if (containsElement(stakingAssets, strAssetIdB))
497509 then invoke(this, "stakeUnstake", [false, (amountWithFee + governanceReward), strAssetIdB], nil)
498510 else 0
499511 if ((stake2 == stake2))
500512 then [IntegerEntry(keyBalanceA, newBalanceA), IntegerEntry(keyBalanceB, newBalanceB), ScriptTransfer(i.caller, amountWithFee, assetIdSend), ScriptTransfer(walletAddress, governanceReward, assetIdSend)]
501513 else throw("Strict value is not equal to itself.")
502514 }
503515 else throw("Strict value is not equal to itself.")
504516 }
505517 else if ((pmtAssetId == assetIdB))
506518 then {
507519 let assetIdSend = assetIdA
508520 let $t01984619937 = calculateFees(balanceB, balanceA)
509521 let amountWithoutFee = $t01984619937._1
510522 let amountWithFee = $t01984619937._2
511523 let governanceReward = $t01984619937._3
512524 let newBalanceA = ((balanceA - amountWithFee) - governanceReward)
513525 let newBalanceB = (balanceB + pmtAmount)
514526 let stake1 = if (containsElement(stakingAssets, strAssetIdA))
515527 then invoke(this, "stakeUnstake", [false, (amountWithFee + governanceReward), strAssetIdA], nil)
516528 else 0
517529 if ((stake1 == stake1))
518530 then {
519531 let stake2 = if (containsElement(stakingAssets, strAssetIdB))
520532 then invoke(this, "stakeUnstake", [true, pmtAmount, strAssetIdB], nil)
521533 else 0
522534 if ((stake2 == stake2))
523535 then [IntegerEntry(keyBalanceA, newBalanceA), IntegerEntry(keyBalanceB, newBalanceB), ScriptTransfer(i.caller, amountWithFee, assetIdSend), ScriptTransfer(walletAddress, governanceReward, assetIdSend)]
524536 else throw("Strict value is not equal to itself.")
525537 }
526538 else throw("Strict value is not equal to itself.")
527539 }
528540 else throw(((("Incorrect asset attached. Expected: " + strAssetIdA) + " or ") + strAssetIdB))
529541 })
530542
531543
532544
533545 @Callable(i)
534546 func shutdown () = if (!(active))
535547 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, keyCause), "the cause wasn't specified")))
536548 else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
537549 then throw("Only admin can call this function")
538550 else suspend("Paused by admin")
539551
540552
541553
542554 @Callable(i)
543555 func activate () = valueOrElse(isActive(), if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
544556 then throw("Only admin can call this function")
545557 else [BooleanEntry(keyActive, true), DeleteEntry(keyCause)])
546558
547559
548560
549561 @Callable(i)
550562 func takeIntoAccountExtraFunds (amountLeave) = valueOrElse(isActive(), {
551563 let uncountableAmountEnrollAssetA = (accountBalanceWithStakedA - balanceA)
552564 let uncountableAmountEnrollAssetB = (accountBalanceWithStakedB - balanceB)
553565 let amountEnrollA = (uncountableAmountEnrollAssetA - (if ((assetIdA == unit))
554566 then amountLeave
555567 else 0))
556568 let amountEnrollB = (uncountableAmountEnrollAssetB - (if ((assetIdB == unit))
557569 then amountLeave
558570 else 0))
559571 if ((i.caller != this))
560572 then throw("Only the DApp itself can call this function")
561573 else if ((0 > amountLeave))
562574 then throw(("Argument 'amountLeave' cannot be negative. Actual: " + toString(amountLeave)))
563575 else if (if ((0 > uncountableAmountEnrollAssetA))
564576 then true
565577 else (0 > uncountableAmountEnrollAssetB))
566578 then suspend("Enroll amount negative")
567579 else if (if ((0 > amountEnrollA))
568580 then true
569581 else (0 > amountEnrollB))
570582 then throw("Too large amountLeave")
571583 else {
572584 let stake1 = if (if (containsElement(stakingAssets, strAssetIdA))
573585 then (amountEnrollA > 0)
574586 else false)
575587 then invoke(this, "stakeUnstake", [true, amountEnrollA, strAssetIdA], nil)
576588 else 0
577589 if ((stake1 == stake1))
578590 then {
579591 let stake2 = if (if (containsElement(stakingAssets, strAssetIdB))
580592 then (amountEnrollB > 0)
581593 else false)
582594 then invoke(this, "stakeUnstake", [true, amountEnrollB, strAssetIdB], nil)
583595 else 0
584596 if ((stake2 == stake2))
585597 then [IntegerEntry(keyBalanceA, (balanceA + amountEnrollA)), IntegerEntry(keyBalanceB, (balanceB + amountEnrollB)), IntegerEntry(("last_income_" + strAssetIdA), amountEnrollA), IntegerEntry(("last_income_" + strAssetIdB), amountEnrollB)]
586598 else throw("Strict value is not equal to itself.")
587599 }
588600 else throw("Strict value is not equal to itself.")
589601 }
590602 })
591603
592604
593605
594606 @Callable(i)
595607 func stakeUnstake (stake,amount,assetIdString) = if ((i.caller != this))
596608 then throw("Only contract itself can invoke this function")
597609 else if ((assetIdString == "WAVES"))
598610 then {
599611 let pool = addressFromStringValue(valueOrErrorMessage(getString(oracle, keyLeasingPool), "No leasing pool in oracle"))
600612 let leasingId = getBinary(this, keyLeasingId)
601613 let leasingAmount = valueOrElse(getInteger(this, keyLeasingAmount), 0)
602614 let newLeaseAmount = if (stake)
603615 then (leasingAmount + amount)
604616 else (leasingAmount - amount)
605617 let newLease = Lease(pool, newLeaseAmount)
606618 let newLeaseId = calculateLeaseId(newLease)
607619 let baseEtry = [newLease, BinaryEntry(keyLeasingId, newLeaseId), IntegerEntry(keyLeasingAmount, newLeaseAmount)]
608620 match leasingId {
609621 case lId: ByteVector =>
610622 ([LeaseCancel(lId)] ++ baseEtry)
611623 case _ =>
612624 baseEtry
613625 }
614626 }
615627 else {
616628 let $t02408524188 = calcStakingParams(stake, amount, fromBase58String(assetIdString))
617629 let call = $t02408524188._1
618630 let addr = $t02408524188._2
619631 let params = $t02408524188._3
620632 let payments = $t02408524188._4
621633 let inv = invoke(addr, call, params, payments)
622634 if ((inv == inv))
623635 then nil
624636 else throw("Strict value is not equal to itself.")
625637 }
626638
627639
628640
629641 @Callable(i)
630642 func stakeAll () = valueOrElse(isActive(), if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
631643 then throw("Only admin can call this function")
632644 else {
633645 let stake1 = if (containsElement(stakingAssets, strAssetIdA))
634646 then {
635647 let amountA = (balanceA - stakedAmountA)
636648 if ((amountA > 0))
637649 then invoke(this, "stakeUnstake", [true, amountA, strAssetIdA], nil)
638650 else 0
639651 }
640652 else 0
641653 if ((stake1 == stake1))
642654 then {
643655 let stake2 = if (containsElement(stakingAssets, strAssetIdB))
644656 then {
645657 let amountB = (balanceB - stakedAmountB)
646658 if ((amountB > 0))
647659 then invoke(this, "stakeUnstake", [true, amountB, strAssetIdB], nil)
648660 else 0
649661 }
650662 else 0
651663 if ((stake2 == stake2))
652664 then nil
653665 else throw("Strict value is not equal to itself.")
654666 }
655667 else throw("Strict value is not equal to itself.")
656668 })
657669
658670
659671 @Verifier(tx)
660672 func verify () = {
661673 let multiSignedByAdmins = {
662674 let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
663675 then 1
664676 else 0
665677 let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2))
666678 then 1
667679 else 0
668680 let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3))
669681 then 1
670682 else 0
671683 (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2)
672684 }
673685 match tx {
674686 case inv: InvokeScriptTransaction =>
675687 let callTakeIntoAccount = if ((inv.dApp == this))
676688 then (inv.function == "takeIntoAccountExtraFunds")
677689 else false
678690 let exchangeToWaves = if (if (if ((inv.dApp == USDNToWavesExchanger))
679691 then (inv.function == "exchange")
680692 else false)
681693 then (assetIdA == USDN)
682694 else false)
683695 then true
684696 else if (if ((assetIdB == USDN))
685697 then (size(inv.payments) == 1)
686698 else false)
687699 then (inv.payments[0].assetId == USDN)
688700 else false
689701 let exchangeToNSBTs = if (if (if ((inv.dApp == USDNToNSBTExchanger))
690702 then (inv.function == "exchange")
691703 else false)
692704 then (assetIdA == NSBT)
693705 else false)
694706 then true
695707 else if (if ((assetIdB == NSBT))
696708 then (size(inv.payments) == 1)
697709 else false)
698710 then (inv.payments[0].assetId == USDN)
699711 else false
700712 let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
701713 then true
702714 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey2))
703715 then true
704716 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey3))
705717 then true
706718 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKeyStaking)
707719 if (if (if (if (callTakeIntoAccount)
708720 then true
709721 else exchangeToWaves)
710722 then true
711723 else exchangeToNSBTs)
712724 then signedByAdmin
713725 else false)
714726 then true
715727 else multiSignedByAdmins
716728 case _ =>
717729 multiSignedByAdmins
718730 }
719731 }
720732

github/deemru/w8io/169f3d6 
159.21 ms