tx · 7unJtQhvAzuptT13491SaatwJjwxy4cZ6b322NSsMoaQ

3MpdsjJQn3HhaomEpo5AXUPMeBkt5ruU5Jr:  -0.01400000 Waves

2020.10.16 15:42 [1223152] smart account 3MpdsjJQn3HhaomEpo5AXUPMeBkt5ruU5Jr > SELF 0.00000000 Waves

{ "type": 13, "id": "7unJtQhvAzuptT13491SaatwJjwxy4cZ6b322NSsMoaQ", "fee": 1400000, "feeAssetId": null, "timestamp": 1602852167014, "version": 1, "sender": "3MpdsjJQn3HhaomEpo5AXUPMeBkt5ruU5Jr", "senderPublicKey": "CMZ2vARJze59fmg2mSWkoVMxUrEBXTQd4VLmBVQfdPN6", "proofs": [ "4GmVtF1VoskwRYeVxKEjp1okuHzgy4RrtTTutfGDXc2hb4qymjkpJecWmnKT433KkhuecVRJ4M21PFvMDkKisKvc" ], "script": "base64:AAIEAAAAAAAAAA4IAhIAEgASBAoCCAgSAAAAAGABAAAAEWtleUFjY3VtdWxhdGVkRmVlAAAAAAIAAAASJXNfX2FjY3VtdWxhdGVkRmVlAQAAAA5rZXlVY29sbGF0ZXJhbAAAAAACAAAADyVzX191Y29sbGF0ZXJhbAEAAAAZa2V5VG90YWxMZW5kZWRBdE90aGVyQWNjcwAAAAACAAAAGiVzX190b3RhbExlbmRlZEF0T3RoZXJBY2NzAQAAABNrZXlBc3NldExvY2tlZFRvdGFsAAAAAQAAAAdhc3NldElkCQABLAAAAAICAAAAGCVzJXNfX2Fzc2V0TG9ja2VkVG90YWxfXwUAAAAHYXNzZXRJZAEAAAATa2V5QWNjb3VudE9wZXJhdGlvbgAAAAMAAAAMdW5sb2NrSGVpZ2h0AAAAB2FkZHJlc3MAAAAGc3RhdHVzCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAeJXMlcyVkJXNfX2RlZm9Bc3NldE9wZXJhdGlvbl9fBQAAAAdhZGRyZXNzAgAAAAJfXwkAAaQAAAABBQAAAAx1bmxvY2tIZWlna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NVRUQJAAACAAAAAQIAAAAZb25seSBkZWZvIGRhcHAgaXMgYWxsb3dlZAMJAAAAAAAAAgUAAAAOaW52RGFwcEFkZHJlc3MJAAQlAAAAAQUAAAAEdGhpcwkAAAIAAAABAgAAACVpbXBvc3NpYmxlIHRvIGNhbGwgc2VsZiByZWJlYWxuY2VEZWJ0BgMDAwkAAAAAAAACCAUAAAADaW52AAAACGZ1bmN0aW9uAgAAAAxsb2NrTmV1dHJpbm8GCQAAAAAAAAIIBQAAAANpbnYAAAAIZnVuY3Rpb24CAAAADmxvY2tOZXV0cmlub1NQBgkAAAAAAAACCAUAAAADaW52AAAACGZ1bmN0aW9uAgAAAA51bmxvY2tOZXV0cmlubwMJAQAAAAIhPQAAAAIJAAQlAAAAAQUAAAASbmV1dHJpbm9TdGFraW5nQWNjCQAEJQAAAAEJAAQkAAAAAQgFAAAAA2ludgAAAARkQXBwCQAAAgAAAAECAAAAJWludmFsaWQgbmV1dHJpbm8gc3Rha2luZyBkYXBwIGFkZHJlc3MJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACQEAAAAiZmFjdG9yeVJlYWREZWZvU3Rha2luZ1BhY2VtYWtlclB1YgAAAAAJAAACAAAAAQIAAAAjTm90IGFsbG93ZWQgaW52b2NhdGlvbiBtZXRob2QgY2FsbHMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5OXqvEg==", "chainId": 84, "height": 1223152, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DWcFeriJnwvbMoniqZtHSAYoUEStu8MfUofziHnZGimy Next: 23uJauFX3rmfY8qfftEMLYmT9KkssLqWVHKyJXFaE7jk Diff:
OldNewDifferences
243243
244244
245245 func getSellPriceFrom (fromPrice,changeCoeff) = if (isMarketOpened)
246- then controlPrice
246+ then fromPrice
247247 else fraction((priceDecimals + changeCoeff), fromPrice, priceDecimals)
248248
249249
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func keyAccumulatedFee () = "%s__accumulatedFee"
55
66
77 func keyUcollateral () = "%s__ucollateral"
88
99
1010 func keyTotalLendedAtOtherAccs () = "%s__totalLendedAtOtherAccs"
1111
1212
1313 func keyAssetLockedTotal (assetId) = ("%s%s__assetLockedTotal__" + assetId)
1414
1515
1616 func keyAccountOperation (unlockHeight,address,status) = ((((("%s%s%d%s__defoAssetOperation__" + address) + "__") + toString(unlockHeight)) + "__") + status)
1717
1818
1919 func keyFactory () = "%s__factory"
2020
2121
2222 func keyLendedAmountByAssetCode (assetCode) = ("%s%s__lendedBaseAssetAmount__" + assetCode)
2323
2424
2525 func keyPrice (assetCode) = ("%s%s__price__" + assetCode)
2626
2727
2828 func keyControlLastHeight (assetCode) = ("%s%s__lastHeight__" + assetCode)
2929
3030
3131 let IdxOperationAmountIn = 1
3232
3333 let IdxOperationAssetIn = 2
3434
3535 let IdxOperationPrice = 3
3636
3737 let IdxOperationAmountOut = 4
3838
3939 let IdxOperationAssetOut = 5
4040
4141 func assetDataSwapOperation (amountIn,assetIn,price,amountOut,assetOut,bruttoAmount,feeAmount) = makeString(["%d%s%d%s%d%d%d", toString(amountIn), assetIn, toString(amountOut), assetOut, toString(price), toString(bruttoAmount), toString(feeAmount)], "__")
4242
4343
4444 func assetDataRebalanceTrace (debtorAssetCode,debtPmt,basePmt,lendedAmtBefore,lendedAmtAfter) = makeString(["%s%s%d%s%d%d%d", debtorAssetCode, toBase58String(value(debtPmt.assetId)), toString(debtPmt.amount), toBase58String(value(basePmt.assetId)), toString(basePmt.amount), toString(lendedAmtBefore), toString(lendedAmtAfter)], "__")
4545
4646
4747 func assetReadSwapDataArrayOrFail (accOperationKey) = {
4848 let accOperationDataStr = valueOrErrorMessage(getString(this, accOperationKey), ("There is no request for passed arguments: " + accOperationKey))
4949 split(accOperationDataStr, "__")
5050 }
5151
5252
5353 let nullInt = -1
5454
5555 let nullStr = "NULL"
5656
5757 let factoryAcc = addressFromStringValue(valueOrErrorMessage(getString(this, keyFactory()), ((("No config at this=" + toString(this)) + " for key=") + keyFactory())))
5858
5959 func keyFactoryDebtAssetId () = "%s%s__commonConfig__debtAssetId"
6060
6161
6262 func keyFactoryDebtAssetEtalonBalance () = "%s%s__commonConfig__debtAssetEtalonBalance"
6363
6464
6565 func keyFactoryAssetCfg (assetAddressStr) = (("%s%s%s__defoAsset__" + assetAddressStr) + "__config")
6666
6767
6868 func keyFactoryAssetCurrentPool (assetAccAddress) = (("%s%s%s__defoAsset__" + toString(assetAccAddress)) + "__currentPool")
6969
7070
7171 func keyFactoryDefoAddressByAssetCode (assetCode) = (("%s%s%s__defoAsset__" + assetCode) + "__addressByAssetCode")
7272
7373
7474 func keyFactoryAssetPoolMakers (assetAddress) = (("%s%s%s__defoAsset__" + assetAddress) + "__poolMakers")
7575
7676
7777 func keyFactoryDefoStakingPacemakerPub () = "%s%s__commonConfig__defoStakingPacemakerPub"
7878
7979
8080 func factoryReadDebtAssetId () = valueOrErrorMessage(getString(factoryAcc, keyFactoryDebtAssetId()), ((("No config at factory=" + toString(factoryAcc)) + " for key=") + keyFactoryDebtAssetId()))
8181
8282
8383 func factoryReadAssetCfgByAddress (assetAddressStr) = split(valueOrErrorMessage(getString(factoryAcc, keyFactoryAssetCfg(assetAddressStr)), ((("No config at factory=" + toString(factoryAcc)) + " for key=") + keyFactoryAssetCfg(assetAddressStr))), "__")
8484
8585
8686 func factoryReadAssetCfgByCode (assetCode) = {
8787 let assetAddressStr = valueOrErrorMessage(getString(factoryAcc, keyFactoryDefoAddressByAssetCode(assetCode)), ((("No config at factory=" + toString(factoryAcc)) + " for key=") + keyFactoryDefoAddressByAssetCode(assetCode)))
8888 $Tuple2(assetAddressStr, factoryReadAssetCfgByAddress(assetAddressStr))
8989 }
9090
9191
9292 func factoryReadNextPoolMakerToDistributeFee (assetAddressStr) = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(factoryAcc, keyFactoryAssetPoolMakers(assetAddressStr)), ((("No config at factory=" + toString(factoryAcc)) + " for key=") + keyFactoryAssetPoolMakers(assetAddressStr)))), ("address extraction error for key=" + keyFactoryAssetPoolMakers(assetAddressStr)))
9393
9494
9595 func factoryReadDefoStakingPacemakerPub () = fromBase58String(valueOrErrorMessage(getString(factoryAcc, keyFactoryDefoStakingPacemakerPub()), ((("No config at factory=" + toString(factoryAcc)) + " for key=") + keyFactoryDefoStakingPacemakerPub())))
9696
9797
9898 let IdxDefoAssetCode = 1
9999
100100 let IdxDefoAssetId = 2
101101
102102 let IdxDefoAssetStatus = 3
103103
104104 let IdxPriceDecimals = 4
105105
106106 let IdxBaseAssetId = 5
107107
108108 let IdxOverCollateralPercent = 6
109109
110110 let IdxMinInitPool = 7
111111
112112 let IdxPriceOracleAddress = 8
113113
114114 let IdxMinBuyPayment = 9
115115
116116 let IdxMinSellPayment = 10
117117
118118 let IdxBuyLockInterval = 11
119119
120120 let IdxSellLockInterval = 12
121121
122122 let IdxBuyFeePercent = 13
123123
124124 let IdxSellFeePercent = 14
125125
126126 let IdxPoolRedemptionTimeout = 15
127127
128128 let IdxWeekendsPriceChangeCoefficient = 16
129129
130130 let thisCfgArray = factoryReadAssetCfgByAddress(toString(this))
131131
132132 let defoAssetCode = thisCfgArray[IdxDefoAssetCode]
133133
134134 let defoAssetIdStr = thisCfgArray[IdxDefoAssetId]
135135
136136 let defoAssetId = fromBase58String(defoAssetIdStr)
137137
138138 let priceOracleAcc = addressFromStringValue(thisCfgArray[IdxPriceOracleAddress])
139139
140140 let overCollateralPercent = parseIntValue(thisCfgArray[IdxOverCollateralPercent])
141141
142142 let baseAssetIdStr = thisCfgArray[IdxBaseAssetId]
143143
144144 let baseAssetId = fromBase58String(baseAssetIdStr)
145145
146146 let priceDecimals = parseIntValue(thisCfgArray[IdxPriceDecimals])
147147
148148 let minBasicBuyAmount = parseIntValue(thisCfgArray[IdxMinBuyPayment])
149149
150150 let minSynthSellAmount = parseIntValue(thisCfgArray[IdxMinSellPayment])
151151
152152 let buyLockInterval = parseIntValue(thisCfgArray[IdxBuyLockInterval])
153153
154154 let sellLockInterval = parseIntValue(thisCfgArray[IdxSellLockInterval])
155155
156156 let buyFeePercent = parseIntValue(thisCfgArray[IdxBuyFeePercent])
157157
158158 let sellFeePercent = parseIntValue(thisCfgArray[IdxSellFeePercent])
159159
160160 let weekendsPriceChangeCoefficient = parseIntValue(thisCfgArray[IdxWeekendsPriceChangeCoefficient])
161161
162162 func keyIsBlocked () = "%s__isBlocked"
163163
164164
165165 func keyIsMarketOpened (assetCode) = ("%s%s__isMarketOpened__" + assetCode)
166166
167167
168168 let isBlocked = valueOrElse(getBoolean(priceOracleAcc, keyIsBlocked()), false)
169169
170170 let isMarketOpened = valueOrElse(getBoolean(priceOracleAcc, keyIsMarketOpened(defoAssetCode)), false)
171171
172172 func controlAccReadPrice (assetCode) = valueOrErrorMessage(getInteger(priceOracleAcc, keyPrice(assetCode)), ((("No price at priceOracle=" + toString(priceOracleAcc)) + " for key=") + keyPrice(assetCode)))
173173
174174
175175 func controlAccReadLastHeight (assetCode) = valueOrErrorMessage(getInteger(priceOracleAcc, keyControlLastHeight(assetCode)), ((("No lastHeight at priceOracle=" + toString(priceOracleAcc)) + " for key=") + keyControlLastHeight(assetCode)))
176176
177177
178178 func controlAccReadCurrIdxOrFail () = valueOrErrorMessage(getInteger(priceOracleAcc, "currIdx"), ("No currIdx at controlAcc=" + toString(priceOracleAcc)))
179179
180180
181181 func controlAccReadIdxHeight (idx) = {
182182 let idxHeightKey = ("idxHeight_" + toString(idx))
183183 valueOrElse(getInteger(priceOracleAcc, idxHeightKey), 0)
184184 }
185185
186186
187187 func controlAccReadPriceByHeight (priceHeight) = {
188188 let priceByHeightKey = ("price_" + toString(priceHeight))
189189 valueOrErrorMessage(getInteger(priceOracleAcc, priceByHeightKey), ((("No " + priceByHeightKey) + " at controlAcc=") + toString(priceOracleAcc)))
190190 }
191191
192192
193193 let priceLastHeight = controlAccReadLastHeight(defoAssetCode)
194194
195195 let isBlockedByLastHeight = ((priceLastHeight - priceLastHeight) > 5)
196196
197197 let keyDefoStakingAddress = "%s%s__commonConfig__defoStakingAddress"
198198
199199 let keyNeutrinoStakingAddress = "%s%s__commonConfig__neutrinoStakingAddress"
200200
201201 func keyDefoStakingAssetBalance (assetId) = ("%s%s__stakingBalance__" + assetId)
202202
203203
204204 func keyNeutrinoStakingBalance () = ((("rpd_balance_" + baseAssetIdStr) + "_") + toString(this))
205205
206206
207207 let defoStakingAcc = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(factoryAcc, keyDefoStakingAddress), ((("No config at factoryAcc" + toString(factoryAcc)) + " for key=") + keyDefoStakingAddress))), ("address extraction error for key=" + keyDefoStakingAddress))
208208
209209 let neutrinoStakingAcc = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(factoryAcc, keyNeutrinoStakingAddress), ((("No config at factoryAcc" + toString(factoryAcc)) + " for key=") + keyNeutrinoStakingAddress))), ("address extraction error for key=" + keyNeutrinoStakingAddress))
210210
211211 func getThisDefoStakingBalance () = valueOrElse(getInteger(defoStakingAcc, keyDefoStakingAssetBalance(defoAssetIdStr)), 0)
212212
213213
214214 func getThisNeutrinoStakingBalance () = valueOrElse(getInteger(neutrinoStakingAcc, keyNeutrinoStakingBalance()), 0)
215215
216216
217217 let ucollateral = valueOrElse(getInteger(this, keyUcollateral()), 0)
218218
219219 let accumulatedFee = valueOrElse(getInteger(this, keyAccumulatedFee()), 0)
220220
221221 let currPoolAmount = getIntegerValue(factoryAcc, keyFactoryAssetCurrentPool(this))
222222
223223 let debtAssetId = fromBase58String(factoryReadDebtAssetId())
224224
225225 let debtAssetEtalonBalance = getIntegerValue(factoryAcc, keyFactoryDebtAssetEtalonBalance())
226226
227227 let lendedOrDebtAmount = (debtAssetEtalonBalance - assetBalance(this, debtAssetId))
228228
229229 let currentBaseAssetBalance = ((assetBalance(this, baseAssetId) + getThisNeutrinoStakingBalance()) + lendedOrDebtAmount)
230230
231231 let controlPrice = controlAccReadPrice(thisCfgArray[IdxDefoAssetCode])
232232
233233 let emission = (value(assetInfo(defoAssetId)).quantity - assetBalance(this, defoAssetId))
234234
235235 func getBuyPrice (changeCoeff) = if (isMarketOpened)
236236 then controlPrice
237237 else fraction((priceDecimals - changeCoeff), controlPrice, priceDecimals)
238238
239239
240240 func getSellPrice (changeCoeff) = if (isMarketOpened)
241241 then controlPrice
242242 else fraction((priceDecimals + changeCoeff), controlPrice, priceDecimals)
243243
244244
245245 func getSellPriceFrom (fromPrice,changeCoeff) = if (isMarketOpened)
246- then controlPrice
246+ then fromPrice
247247 else fraction((priceDecimals + changeCoeff), fromPrice, priceDecimals)
248248
249249
250250 func internalBuyAsset (sellerAddr,sellAmt,sellAssetId,minSellAmt,buy2sellPrice,feePercent) = {
251251 let defoAssetAmountGross = fraction(sellAmt, buy2sellPrice, priceDecimals)
252252 let defoAssetAmount = fraction((priceDecimals - feePercent), defoAssetAmountGross, priceDecimals)
253253 let feeAmount = (defoAssetAmountGross - defoAssetAmount)
254254 let requiredBasicAssetAmount = fraction(defoAssetAmountGross, priceDecimals, buy2sellPrice)
255255 let change = (sellAmt - requiredBasicAssetAmount)
256256 if (if ((minSellAmt > sellAmt))
257257 then (toString(sellerAddr) != toString(defoStakingAcc))
258258 else false)
259259 then throw(((((("impossible to issue new " + defoAssetCode) + ": payment=") + toString(sellAmt)) + "is less then min amount=") + toString(minSellAmt)))
260260 else $Tuple2([IntegerEntry(keyUcollateral(), (ucollateral + requiredBasicAssetAmount)), StringEntry(keyAccountOperation(height, toString(sellerAddr), "FINISHED"), assetDataSwapOperation(sellAmt, toBase58String(sellAssetId), controlPrice, defoAssetAmount, toBase58String(defoAssetId), defoAssetAmountGross, feeAmount)), Reissue(defoAssetId, (defoAssetAmount + feeAmount), true), ScriptTransfer(sellerAddr, defoAssetAmount, defoAssetId), ScriptTransfer(sellerAddr, change, sellAssetId), ScriptTransfer(factoryReadNextPoolMakerToDistributeFee(toString(this)), feeAmount, defoAssetId), IntegerEntry(keyAccumulatedFee(), (accumulatedFee + feeAmount))], change)
261261 }
262262
263263
264264 @Callable(i)
265265 func buyAsset () = {
266266 let pmt = value(i.payments[0])
267267 let pmtAssetId = value(pmt.assetId)
268268 if (isBlocked)
269269 then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
270270 else if (isBlockedByLastHeight)
271271 then throw(((("last price finalization has been more then 5 blocks ago: priceLastHeight=" + toString(priceLastHeight)) + " currHeight=") + toString(height)))
272272 else if ((pmtAssetId != baseAssetId))
273273 then throw(((("Payment asset id doesn't match basic asset: expected=" + toBase58String(baseAssetId)) + " actual=") + toBase58String(pmtAssetId)))
274274 else internalBuyAsset(i.caller, pmt.amount, pmtAssetId, minBasicBuyAmount, getBuyPrice(weekendsPriceChangeCoefficient), buyFeePercent)._1
275275 }
276276
277277
278278
279279 @Callable(i)
280280 func sellAsset () = {
281281 let pmt = value(i.payments[0])
282282 let pmtAsset = value(pmt.assetId)
283283 let callerAddress = toString(i.caller)
284284 let sellPrice = getSellPrice(weekendsPriceChangeCoefficient)
285285 if (isBlocked)
286286 then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
287287 else if (isBlockedByLastHeight)
288288 then throw(((("last price finalization has been more then 5 blocks ago: priceLastHeight=" + toString(priceLastHeight)) + " currHeight=") + toString(height)))
289289 else if ((pmtAsset != defoAssetId))
290290 then throw(((("Invalid payment asset id: expected=" + toBase58String(defoAssetId)) + " actual=") + toBase58String(pmtAsset)))
291291 else if ((minSynthSellAmount > pmt.amount))
292292 then throw(((("Payment amount less then mininimal allowed: paymentAmount=" + toString(pmt.amount)) + " minAmount=") + toString(minSynthSellAmount)))
293293 else {
294294 let baseAssetAmountNoBalanceLimit = fraction(pmt.amount, priceDecimals, sellPrice)
295295 let baseAssetAmountAvailable = if ((baseAssetAmountNoBalanceLimit > currentBaseAssetBalance))
296296 then currentBaseAssetBalance
297297 else baseAssetAmountNoBalanceLimit
298298 let soldDefoAssetAmountGross = fraction(baseAssetAmountAvailable, sellPrice, priceDecimals)
299299 let change = (pmt.amount - soldDefoAssetAmountGross)
300300 let defoAmountFee = fraction(sellFeePercent, soldDefoAssetAmountGross, priceDecimals)
301301 let soldDefoAssetAmount = (soldDefoAssetAmountGross - defoAmountFee)
302302 let baseAssetAmountToSend = fraction(soldDefoAssetAmount, priceDecimals, sellPrice)
303303 [IntegerEntry(keyUcollateral(), (ucollateral - baseAssetAmountToSend)), StringEntry(keyAccountOperation(height, callerAddress, "FINISHED"), assetDataSwapOperation(pmt.amount, toBase58String(pmtAsset), sellPrice, baseAssetAmountToSend, baseAssetIdStr, soldDefoAssetAmountGross, defoAmountFee)), Burn(defoAssetId, soldDefoAssetAmount), ScriptTransfer(i.caller, baseAssetAmountToSend, baseAssetId), ScriptTransfer(i.caller, change, defoAssetId), ScriptTransfer(factoryReadNextPoolMakerToDistributeFee(toString(this)), defoAmountFee, defoAssetId), IntegerEntry(keyAccumulatedFee(), (accumulatedFee + defoAmountFee))]
304304 }
305305 }
306306
307307
308308
309309 @Callable(i)
310310 func crossExchange (buyAssetCodeConfirm,sellAssetCodeConfirm) = {
311311 let pmt = value(i.payments[0])
312312 let pmtAsset = value(pmt.assetId)
313313 let pmtAssetStr = toBase58String(pmtAsset)
314314 let pmtAmount = pmt.amount
315315 let callerAddress = toString(i.caller)
316316 let buyAssetCfg = thisCfgArray
317317 let sellAssetTuple = factoryReadAssetCfgByCode(sellAssetCodeConfirm)
318318 let sellAssetCfg = sellAssetTuple._2
319319 let sellAssetAccAddress = valueOrErrorMessage(addressFromString(sellAssetTuple._1), ("couldn't parse address from string for assetCode=" + sellAssetCodeConfirm))
320320 let minSellPmt = valueOrErrorMessage(parseInt(sellAssetCfg[IdxMinSellPayment]), ("minSellPmt parsing error: rawVal=" + sellAssetCfg[IdxMinSellPayment]))
321321 let sellPriceLastHeight = controlAccReadLastHeight(sellAssetCodeConfirm)
322322 let isSellBlockedByLastHeight = ((sellPriceLastHeight - sellPriceLastHeight) > 5)
323323 if (isBlocked)
324324 then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
325325 else if ((sellAssetCfg[IdxDefoAssetCode] == "NGN"))
326326 then throw("crossExchange for NGN is temporary disabled")
327327 else if ((thisCfgArray[IdxDefoAssetCode] != buyAssetCodeConfirm))
328328 then throw(((("buyAsset confirmation failed: buyAssetIdConfirm=" + thisCfgArray[IdxDefoAssetCode]) + " BUT buyAssetId=") + buyAssetCodeConfirm))
329329 else if ((sellAssetCfg[IdxDefoAssetId] != pmtAssetStr))
330330 then throw(((("sellAsset confirmation failed: sellAssetIdConfirm=" + sellAssetCfg[IdxDefoAssetId]) + "BUT pmtAsset=") + pmtAssetStr))
331331 else if ((thisCfgArray[IdxDefoAssetStatus] != "ISSUED"))
332332 then throw(((("toAsset has not been issued yet: buyAssetId=" + buyAssetCodeConfirm) + " BUT status=") + thisCfgArray[IdxDefoAssetStatus]))
333333 else if ((sellAssetCfg[IdxDefoAssetStatus] != "ISSUED"))
334334 then throw(((("fromAssetCfg has not been issued yet: sellAssetId=" + pmtAssetStr) + " BUT status=") + sellAssetCfg[IdxDefoAssetStatus]))
335335 else if (isBlockedByLastHeight)
336336 then throw(((((("buy last price finalization has been more then 5 blocks ago: priceLastHeight=" + toString(priceLastHeight)) + " currHeight=") + toString(height)) + " buyCode=") + buyAssetCodeConfirm))
337337 else if (isSellBlockedByLastHeight)
338338 then throw(((((("sell last price finalization has been more then 5 blocks ago: priceLastHeight=" + toString(priceLastHeight)) + " currHeight=") + toString(height)) + " sellCode=") + sellAssetCodeConfirm))
339339 else {
340340 let buyAssetUsdPrice = getBuyPrice((weekendsPriceChangeCoefficient / 2))
341341 let sellAssetUsdPrice = getSellPriceFrom(controlAccReadPrice(sellAssetCodeConfirm), (weekendsPriceChangeCoefficient / 2))
342342 let buy2sellPrice = fraction(buyAssetUsdPrice, priceDecimals, sellAssetUsdPrice)
343343 let usdnDebt = fraction(pmtAmount, priceDecimals, sellAssetUsdPrice)
344344 let totalLendedAtOtherAccs = valueOrElse(getInteger(this, keyTotalLendedAtOtherAccs()), 0)
345345 let lendedAmountByAssetCodeKey = keyLendedAmountByAssetCode(sellAssetCodeConfirm)
346346 let lendedAmtByAssetCode = valueOrElse(getInteger(this, lendedAmountByAssetCodeKey), 0)
347347 let sellAssetSellFeePercent = parseIntValue(sellAssetCfg[IdxSellFeePercent])
348348 let buyAssetResult = internalBuyAsset(i.caller, pmtAmount, pmtAsset, minSellPmt, buy2sellPrice, fraction((buyFeePercent + sellAssetSellFeePercent), 50, 100))
349349 ((((buyAssetResult._1 :+ ScriptTransfer(sellAssetAccAddress, usdnDebt, debtAssetId)) :+ ScriptTransfer(sellAssetAccAddress, (pmtAmount - buyAssetResult._2), pmtAsset)) :+ IntegerEntry(lendedAmountByAssetCodeKey, (lendedAmtByAssetCode + usdnDebt))) :+ IntegerEntry(keyTotalLendedAtOtherAccs(), (totalLendedAtOtherAccs + usdnDebt)))
350350 }
351351 }
352352
353353
354354
355355 @Callable(i)
356356 func rebalanceDebts () = {
357357 let debtPmt0 = value(i.payments[0])
358358 let debtPmtAsset0 = value(debtPmt0.assetId)
359359 let basePmt1 = value(i.payments[1])
360360 let basePmtAsset1 = value(basePmt1.assetId)
361361 let debtorAddress = toString(i.caller)
362362 let debtorAssetCfg = factoryReadAssetCfgByAddress(debtorAddress)
363363 let debtorAssetCode = debtorAssetCfg[IdxDefoAssetCode]
364364 let lendedAmountByAssetCodeKey = keyLendedAmountByAssetCode(debtorAssetCode)
365365 let lendedAmt = valueOrErrorMessage(getInteger(this, lendedAmountByAssetCodeKey), ("No debts for " + debtorAssetCode))
366366 if (isBlocked)
367367 then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
368368 else if ((debtAssetId != debtPmtAsset0))
369369 then throw(((("invalid debt asset id in the first paymet: expected=" + toBase58String(debtAssetId)) + " actual=") + toBase58String(debtPmtAsset0)))
370370 else if ((baseAssetId != basePmtAsset1))
371371 then throw(((("invalid base asset id in the second payment: expected=" + toBase58String(baseAssetId)) + " actual=") + toBase58String(basePmtAsset1)))
372372 else if ((debtPmt0.amount != basePmt1.amount))
373373 then throw("first payment amount doesn't match to the second payment amount")
374374 else if ((0 >= lendedAmt))
375375 then throw(("lendedAmt is less then zero: lendedAmt=" + toString(lendedAmt)))
376376 else if (((100 * priceDecimals) >= debtPmt0.amount))
377377 then throw(("attached payment must be greater then 100: pmt0.amount=" + toString(debtPmt0.amount)))
378378 else if ((debtPmt0.amount > lendedAmt))
379379 then throw(((("attached payment is grater than required: pmtAmount=" + toString(debtPmt0.amount)) + " lendedAmt=") + toString(lendedAmt)))
380380 else {
381381 let totalLendedAtOtherAccs = valueOrElse(getInteger(this, keyTotalLendedAtOtherAccs()), 0)
382382 let lendedAmtAfter = (lendedAmt - debtPmt0.amount)
383383 [IntegerEntry(lendedAmountByAssetCodeKey, lendedAmtAfter), IntegerEntry(keyTotalLendedAtOtherAccs(), (totalLendedAtOtherAccs - debtPmt0.amount)), StringEntry(("%s%s__rebalanceTrace__" + toBase58String(i.transactionId)), assetDataRebalanceTrace(debtorAssetCode, debtPmt0, basePmt1, lendedAmt, lendedAmtAfter))]
384384 }
385385 }
386386
387387
388388 @Verifier(tx)
389389 func verify () = match tx {
390390 case inv: InvokeScriptTransaction =>
391391 if ((inv.fee > (900 * 1000)))
392392 then throw(("fee amount is greater than max allowed: " + toString(inv.fee)))
393393 else if (isDefined(inv.feeAssetId))
394394 then throw("only Waves is allowed as feeAssetId")
395395 else if ((inv.function == "rebalanceDebts"))
396396 then {
397397 let invDappAddress = toString(addressFromRecipient(inv.dApp))
398398 if ((factoryReadAssetCfgByAddress(invDappAddress)[IdxDefoAssetStatus] != "ISSUED"))
399399 then throw("only defo dapp is allowed")
400400 else if ((invDappAddress == toString(this)))
401401 then throw("impossible to call self rebealnceDebt")
402402 else true
403403 }
404404 else if (if (if ((inv.function == "lockNeutrino"))
405405 then true
406406 else (inv.function == "lockNeutrinoSP"))
407407 then true
408408 else (inv.function == "unlockNeutrino"))
409409 then if ((toString(neutrinoStakingAcc) != toString(addressFromRecipient(inv.dApp))))
410410 then throw("invalid neutrino staking dapp address")
411411 else sigVerify(tx.bodyBytes, tx.proofs[0], factoryReadDefoStakingPacemakerPub())
412412 else throw("Not allowed invocation method calls")
413413 case _ =>
414414 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
415415 }
416416

github/deemru/w8io/026f985 
56.33 ms