tx · 9Yf7hfBRi3ZB3sbwAK9AHrQiPqSRgPUt555WQN83Z5Se

3N83H5P3ymXxw57pk62rw4yA218YAA3Tuy1:  -0.01400000 Waves

2020.11.17 18:44 [1269564] smart account 3N83H5P3ymXxw57pk62rw4yA218YAA3Tuy1 > SELF 0.00000000 Waves

{ "type": 13, "id": "9Yf7hfBRi3ZB3sbwAK9AHrQiPqSRgPUt555WQN83Z5Se", "fee": 1400000, "feeAssetId": null, "timestamp": 1605627931609, "version": 1, "sender": "3N83H5P3ymXxw57pk62rw4yA218YAA3Tuy1", "senderPublicKey": "BeaCuQXYz8XAmcJK66TFMRrimmMUZrKPsJ84FQp6MLuZ", "proofs": [ "WgfcNibGfjfDejh2V4YVwBhjaf7fxTzZVKfpsxS3VKCnD5MomrnwivTbVsnuwfFiVk1TDmJa9HrsZBMKgtvuoEL" ], "script": "base64:AAIEAAAAAAAAABMIAhIAEgASBAoCCAgSABIDCgEIAAAAYgEAAAARa2V5QWNjdW11bGF0ZWRGZWUAAAAAAgAAABIlc19fYWNjdW11bGF0ZWRGZWUBAAAADmtleVVjb2xsYXRlcmFsAAAAAAIAAAAPJXNfX3Vjb2xsYXRlcmFsAQAAABlrZXlUb3RhbExlbmRlZEF0T3RoZXJBY2NzAAAAAAIAAAAaJXNfX3RvdGFsTGVuZGVkQXRPdGhlckFjY3MBAAAAE2tleUFzc2V0TG9ja2VkVG90YWwAAAABAAAAB2Fzc2V0SWQJAAEsAAAAAgIAAAAYJXMlc19fYXNzZXRMb2NrZWRUb3RhbF9fBQAAAAdhc3NldElkAQAAABNrZXlBY2NvdW50T3BlcmF0aW9uAAAAAwAAAAx1bmxvY2tIZWlnaHQAAAAHYWRkcmVzcwAAAAZzdGF0dXMJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAB4lcyVzJWQlc19fZGVmb0Fzc2V0T3BlcmF0aW9uX18FAAAAB2FkZHJlc3MCAAAAAl9fCQABpAAAAAEFAAAADH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QgYWxsb3dlZCBpbnZvY2F0aW9uIG1ldGhvZCBjYWxscwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXn6xf7c", "chainId": 84, "height": 1269564, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6Qh1X4rGQ6NYUx6zV1wM4s3hDpBgvrG6ytew2HJLJn1r Next: CHFbnz2xtC3uSCBXUFZ333zb2yV4NVPLNk1HqGNwyveQ Diff:
OldNewDifferences
198198
199199 let priceLastHeight = controlAccReadLastHeight(defoAssetCode)
200200
201-let isBlockedByLastHeight = ((height - priceLastHeight) > 5)
201+let isBlockedByLastHeight = ((priceLastHeight - priceLastHeight) > 5)
202202
203203 let keyDefoStakingAddress = "%s%s__commonConfig__defoStakingAddress"
204204
325325 let sellAssetAccAddress = valueOrErrorMessage(addressFromString(sellAssetTuple._1), ("couldn't parse address from string for assetCode=" + sellAssetCodeConfirm))
326326 let minSellPmt = valueOrErrorMessage(parseInt(sellAssetCfg[IdxMinSellPayment]), ("minSellPmt parsing error: rawVal=" + sellAssetCfg[IdxMinSellPayment]))
327327 let sellPriceLastHeight = controlAccReadLastHeight(sellAssetCodeConfirm)
328- let isSellBlockedByLastHeight = ((height - sellPriceLastHeight) > 5)
328+ let isSellBlockedByLastHeight = ((sellPriceLastHeight - sellPriceLastHeight) > 5)
329329 if (isBlocked)
330330 then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
331331 else if ((thisCfgArray[IdxDefoAssetCode] != buyAssetCodeConfirm))
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 keyFactoryPoolMakerLiquidityRequest (assetAddress,poolMakerAddress,h) = makeString(["%s%s%s%d%s__pool", assetAddress, poolMakerAddress, toString(h), "liquidityRequest"], "__")
8181
8282
8383 func keyFactoryPoolMakerUnlockHeight (assetAddress,poolMakerAddress) = makeString(["%s%s%s%s__pool", assetAddress, poolMakerAddress, "unlockHeight"], "__")
8484
8585
8686 func factoryReadDebtAssetId () = valueOrErrorMessage(getString(factoryAcc, keyFactoryDebtAssetId()), ((("No config at factory=" + toString(factoryAcc)) + " for key=") + keyFactoryDebtAssetId()))
8787
8888
8989 func factoryReadAssetCfgByAddress (assetAddressStr) = split(valueOrErrorMessage(getString(factoryAcc, keyFactoryAssetCfg(assetAddressStr)), ((("No config at factory=" + toString(factoryAcc)) + " for key=") + keyFactoryAssetCfg(assetAddressStr))), "__")
9090
9191
9292 func factoryReadAssetCfgByCode (assetCode) = {
9393 let assetAddressStr = valueOrErrorMessage(getString(factoryAcc, keyFactoryDefoAddressByAssetCode(assetCode)), ((("No config at factory=" + toString(factoryAcc)) + " for key=") + keyFactoryDefoAddressByAssetCode(assetCode)))
9494 $Tuple2(assetAddressStr, factoryReadAssetCfgByAddress(assetAddressStr))
9595 }
9696
9797
9898 func factoryReadNextPoolMakerToDistributeFee (assetAddressStr) = addressFromStringValue("3MsbFMstwm3FHPJXmMfTgyaw7zQrpZfkwnx")
9999
100100
101101 func factoryReadDefoStakingPacemakerPub () = fromBase58String(valueOrErrorMessage(getString(factoryAcc, keyFactoryDefoStakingPacemakerPub()), ((("No config at factory=" + toString(factoryAcc)) + " for key=") + keyFactoryDefoStakingPacemakerPub())))
102102
103103
104104 let IdxDefoAssetCode = 1
105105
106106 let IdxDefoAssetId = 2
107107
108108 let IdxDefoAssetStatus = 3
109109
110110 let IdxPriceDecimals = 4
111111
112112 let IdxBaseAssetId = 5
113113
114114 let IdxOverCollateralPercent = 6
115115
116116 let IdxMinInitPool = 7
117117
118118 let IdxPriceOracleAddress = 8
119119
120120 let IdxMinBuyPayment = 9
121121
122122 let IdxMinSellPayment = 10
123123
124124 let IdxBuyLockInterval = 11
125125
126126 let IdxSellLockInterval = 12
127127
128128 let IdxBuyFeePercent = 13
129129
130130 let IdxSellFeePercent = 14
131131
132132 let IdxPoolRedemptionTimeout = 15
133133
134134 let IdxWeekendsPriceChangeCoefficient = 16
135135
136136 let thisCfgArray = factoryReadAssetCfgByAddress(toString(this))
137137
138138 let defoAssetCode = thisCfgArray[IdxDefoAssetCode]
139139
140140 let defoAssetIdStr = thisCfgArray[IdxDefoAssetId]
141141
142142 let defoAssetId = fromBase58String(defoAssetIdStr)
143143
144144 let priceOracleAcc = addressFromStringValue(thisCfgArray[IdxPriceOracleAddress])
145145
146146 let overCollateralPercent = parseIntValue(thisCfgArray[IdxOverCollateralPercent])
147147
148148 let baseAssetIdStr = thisCfgArray[IdxBaseAssetId]
149149
150150 let baseAssetId = fromBase58String(baseAssetIdStr)
151151
152152 let priceDecimals = parseIntValue(thisCfgArray[IdxPriceDecimals])
153153
154154 let minBasicBuyAmount = parseIntValue(thisCfgArray[IdxMinBuyPayment])
155155
156156 let minSynthSellAmount = parseIntValue(thisCfgArray[IdxMinSellPayment])
157157
158158 let buyLockInterval = parseIntValue(thisCfgArray[IdxBuyLockInterval])
159159
160160 let sellLockInterval = parseIntValue(thisCfgArray[IdxSellLockInterval])
161161
162162 let buyFeePercent = parseIntValue(thisCfgArray[IdxBuyFeePercent])
163163
164164 let sellFeePercent = parseIntValue(thisCfgArray[IdxSellFeePercent])
165165
166166 let weekendsPriceChangeCoefficient = parseIntValue(thisCfgArray[IdxWeekendsPriceChangeCoefficient])
167167
168168 func keyIsBlocked () = "%s__isBlocked"
169169
170170
171171 func keyIsMarketOpened (assetCode) = ("%s%s__isMarketOpened__" + assetCode)
172172
173173
174174 let isBlocked = valueOrElse(getBoolean(priceOracleAcc, keyIsBlocked()), false)
175175
176176 let isMarketOpened = valueOrElse(getBoolean(priceOracleAcc, keyIsMarketOpened(defoAssetCode)), false)
177177
178178 func controlAccReadPrice (assetCode) = valueOrErrorMessage(getInteger(priceOracleAcc, keyPrice(assetCode)), ((("No price at priceOracle=" + toString(priceOracleAcc)) + " for key=") + keyPrice(assetCode)))
179179
180180
181181 func controlAccReadLastHeight (assetCode) = valueOrErrorMessage(getInteger(priceOracleAcc, keyControlLastHeight(assetCode)), ((("No lastHeight at priceOracle=" + toString(priceOracleAcc)) + " for key=") + keyControlLastHeight(assetCode)))
182182
183183
184184 func controlAccReadCurrIdxOrFail () = valueOrErrorMessage(getInteger(priceOracleAcc, "currIdx"), ("No currIdx at controlAcc=" + toString(priceOracleAcc)))
185185
186186
187187 func controlAccReadIdxHeight (idx) = {
188188 let idxHeightKey = ("idxHeight_" + toString(idx))
189189 valueOrElse(getInteger(priceOracleAcc, idxHeightKey), 0)
190190 }
191191
192192
193193 func controlAccReadPriceByHeight (priceHeight) = {
194194 let priceByHeightKey = ("price_" + toString(priceHeight))
195195 valueOrErrorMessage(getInteger(priceOracleAcc, priceByHeightKey), ((("No " + priceByHeightKey) + " at controlAcc=") + toString(priceOracleAcc)))
196196 }
197197
198198
199199 let priceLastHeight = controlAccReadLastHeight(defoAssetCode)
200200
201-let isBlockedByLastHeight = ((height - priceLastHeight) > 5)
201+let isBlockedByLastHeight = ((priceLastHeight - priceLastHeight) > 5)
202202
203203 let keyDefoStakingAddress = "%s%s__commonConfig__defoStakingAddress"
204204
205205 let keyNeutrinoStakingAddress = "%s%s__commonConfig__neutrinoStakingAddress"
206206
207207 func keyDefoStakingAssetBalance (assetId) = ("%s%s__stakingBalance__" + assetId)
208208
209209
210210 func keyNeutrinoStakingBalance () = ((("rpd_balance_" + baseAssetIdStr) + "_") + toString(this))
211211
212212
213213 let defoStakingAcc = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(factoryAcc, keyDefoStakingAddress), ((("No config at factoryAcc" + toString(factoryAcc)) + " for key=") + keyDefoStakingAddress))), ("address extraction error for key=" + keyDefoStakingAddress))
214214
215215 let neutrinoStakingAcc = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(factoryAcc, keyNeutrinoStakingAddress), ((("No config at factoryAcc" + toString(factoryAcc)) + " for key=") + keyNeutrinoStakingAddress))), ("address extraction error for key=" + keyNeutrinoStakingAddress))
216216
217217 func getThisDefoStakingBalance () = valueOrElse(getInteger(defoStakingAcc, keyDefoStakingAssetBalance(defoAssetIdStr)), 0)
218218
219219
220220 func getThisNeutrinoStakingBalance () = valueOrElse(getInteger(neutrinoStakingAcc, keyNeutrinoStakingBalance()), 0)
221221
222222
223223 let ucollateral = valueOrElse(getInteger(this, keyUcollateral()), 0)
224224
225225 let accumulatedFee = valueOrElse(getInteger(this, keyAccumulatedFee()), 0)
226226
227227 let currPoolAmount = getIntegerValue(factoryAcc, keyFactoryAssetCurrentPool(this))
228228
229229 let debtAssetId = fromBase58String(factoryReadDebtAssetId())
230230
231231 let debtAssetEtalonBalance = getIntegerValue(factoryAcc, keyFactoryDebtAssetEtalonBalance())
232232
233233 let lendedOrDebtAmount = (debtAssetEtalonBalance - assetBalance(this, debtAssetId))
234234
235235 let currentBaseAssetBalance = ((assetBalance(this, baseAssetId) + getThisNeutrinoStakingBalance()) + lendedOrDebtAmount)
236236
237237 let controlPrice = controlAccReadPrice(thisCfgArray[IdxDefoAssetCode])
238238
239239 let emission = (value(assetInfo(defoAssetId)).quantity - assetBalance(this, defoAssetId))
240240
241241 func getBuyPrice (changeCoeff) = if (isMarketOpened)
242242 then controlPrice
243243 else fraction((priceDecimals - changeCoeff), controlPrice, priceDecimals)
244244
245245
246246 func getSellPrice (changeCoeff) = if (isMarketOpened)
247247 then controlPrice
248248 else fraction((priceDecimals + changeCoeff), controlPrice, priceDecimals)
249249
250250
251251 func getSellPriceFrom (fromPrice,changeCoeff) = if (isMarketOpened)
252252 then fromPrice
253253 else fraction((priceDecimals + changeCoeff), fromPrice, priceDecimals)
254254
255255
256256 func internalBuyAsset (sellerAddr,sellAmt,sellAssetId,minSellAmt,buy2sellPrice,feePercent) = {
257257 let defoAssetAmountGross = fraction(sellAmt, buy2sellPrice, priceDecimals)
258258 let defoAssetAmount = fraction((priceDecimals - feePercent), defoAssetAmountGross, priceDecimals)
259259 let feeAmount = (defoAssetAmountGross - defoAssetAmount)
260260 let requiredBasicAssetAmount = fraction(defoAssetAmountGross, priceDecimals, buy2sellPrice)
261261 let change = (sellAmt - requiredBasicAssetAmount)
262262 if (if ((minSellAmt > sellAmt))
263263 then (toString(sellerAddr) != toString(defoStakingAcc))
264264 else false)
265265 then throw(((((("impossible to issue new " + defoAssetCode) + ": payment=") + toString(sellAmt)) + "is less then min amount=") + toString(minSellAmt)))
266266 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)
267267 }
268268
269269
270270 @Callable(i)
271271 func buyAsset () = {
272272 let pmt = value(i.payments[0])
273273 let pmtAssetId = value(pmt.assetId)
274274 if (isBlocked)
275275 then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
276276 else if (isBlockedByLastHeight)
277277 then throw(((("last price finalization has been more then 5 blocks ago: priceLastHeight=" + toString(priceLastHeight)) + " currHeight=") + toString(height)))
278278 else if ((pmtAssetId != baseAssetId))
279279 then throw(((("Payment asset id doesn't match basic asset: expected=" + toBase58String(baseAssetId)) + " actual=") + toBase58String(pmtAssetId)))
280280 else internalBuyAsset(i.caller, pmt.amount, pmtAssetId, minBasicBuyAmount, getBuyPrice(weekendsPriceChangeCoefficient), buyFeePercent)._1
281281 }
282282
283283
284284
285285 @Callable(i)
286286 func sellAsset () = {
287287 let pmt = value(i.payments[0])
288288 let pmtAsset = value(pmt.assetId)
289289 let callerAddress = toString(i.caller)
290290 let sellPrice = getSellPrice(weekendsPriceChangeCoefficient)
291291 if (isBlocked)
292292 then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
293293 else if (isBlockedByLastHeight)
294294 then throw(((("last price finalization has been more then 5 blocks ago: priceLastHeight=" + toString(priceLastHeight)) + " currHeight=") + toString(height)))
295295 else if ((pmtAsset != defoAssetId))
296296 then throw(((("Invalid payment asset id: expected=" + toBase58String(defoAssetId)) + " actual=") + toBase58String(pmtAsset)))
297297 else if ((minSynthSellAmount > pmt.amount))
298298 then throw(((("Payment amount less then mininimal allowed: paymentAmount=" + toString(pmt.amount)) + " minAmount=") + toString(minSynthSellAmount)))
299299 else {
300300 let baseAssetAmountNoBalanceLimit = fraction(pmt.amount, priceDecimals, sellPrice)
301301 let baseAssetAmountAvailable = if ((baseAssetAmountNoBalanceLimit > currentBaseAssetBalance))
302302 then currentBaseAssetBalance
303303 else baseAssetAmountNoBalanceLimit
304304 let soldDefoAssetAmountGross = fraction(baseAssetAmountAvailable, sellPrice, priceDecimals)
305305 let change = (pmt.amount - soldDefoAssetAmountGross)
306306 let defoAmountFee = fraction(sellFeePercent, soldDefoAssetAmountGross, priceDecimals)
307307 let soldDefoAssetAmount = (soldDefoAssetAmountGross - defoAmountFee)
308308 let baseAssetAmountToSend = fraction(soldDefoAssetAmount, priceDecimals, sellPrice)
309309 [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))]
310310 }
311311 }
312312
313313
314314
315315 @Callable(i)
316316 func crossExchange (buyAssetCodeConfirm,sellAssetCodeConfirm) = {
317317 let pmt = value(i.payments[0])
318318 let pmtAsset = value(pmt.assetId)
319319 let pmtAssetStr = toBase58String(pmtAsset)
320320 let pmtAmount = pmt.amount
321321 let callerAddress = toString(i.caller)
322322 let buyAssetCfg = thisCfgArray
323323 let sellAssetTuple = factoryReadAssetCfgByCode(sellAssetCodeConfirm)
324324 let sellAssetCfg = sellAssetTuple._2
325325 let sellAssetAccAddress = valueOrErrorMessage(addressFromString(sellAssetTuple._1), ("couldn't parse address from string for assetCode=" + sellAssetCodeConfirm))
326326 let minSellPmt = valueOrErrorMessage(parseInt(sellAssetCfg[IdxMinSellPayment]), ("minSellPmt parsing error: rawVal=" + sellAssetCfg[IdxMinSellPayment]))
327327 let sellPriceLastHeight = controlAccReadLastHeight(sellAssetCodeConfirm)
328- let isSellBlockedByLastHeight = ((height - sellPriceLastHeight) > 5)
328+ let isSellBlockedByLastHeight = ((sellPriceLastHeight - sellPriceLastHeight) > 5)
329329 if (isBlocked)
330330 then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
331331 else if ((thisCfgArray[IdxDefoAssetCode] != buyAssetCodeConfirm))
332332 then throw(((("buyAsset confirmation failed: buyAssetIdConfirm=" + thisCfgArray[IdxDefoAssetCode]) + " BUT buyAssetId=") + buyAssetCodeConfirm))
333333 else if ((sellAssetCfg[IdxDefoAssetId] != pmtAssetStr))
334334 then throw(((("sellAsset confirmation failed: sellAssetIdConfirm=" + sellAssetCfg[IdxDefoAssetId]) + "BUT pmtAsset=") + pmtAssetStr))
335335 else if ((thisCfgArray[IdxDefoAssetStatus] != "ISSUED"))
336336 then throw(((("toAsset has not been issued yet: buyAssetId=" + buyAssetCodeConfirm) + " BUT status=") + thisCfgArray[IdxDefoAssetStatus]))
337337 else if ((sellAssetCfg[IdxDefoAssetStatus] != "ISSUED"))
338338 then throw(((("fromAssetCfg has not been issued yet: sellAssetId=" + pmtAssetStr) + " BUT status=") + sellAssetCfg[IdxDefoAssetStatus]))
339339 else if (isBlockedByLastHeight)
340340 then throw(((((("buy last price finalization has been more then 5 blocks ago: priceLastHeight=" + toString(priceLastHeight)) + " currHeight=") + toString(height)) + " buyCode=") + buyAssetCodeConfirm))
341341 else if (isSellBlockedByLastHeight)
342342 then throw(((((("sell last price finalization has been more then 5 blocks ago: priceLastHeight=" + toString(priceLastHeight)) + " currHeight=") + toString(height)) + " sellCode=") + sellAssetCodeConfirm))
343343 else {
344344 let buyAssetUsdPrice = getBuyPrice((weekendsPriceChangeCoefficient / 2))
345345 let sellAssetUsdPrice = getSellPriceFrom(controlAccReadPrice(sellAssetCodeConfirm), (weekendsPriceChangeCoefficient / 2))
346346 let buy2sellPrice = fraction(buyAssetUsdPrice, priceDecimals, sellAssetUsdPrice)
347347 let usdnDebt = fraction(pmtAmount, priceDecimals, sellAssetUsdPrice)
348348 let totalLendedAtOtherAccs = valueOrElse(getInteger(this, keyTotalLendedAtOtherAccs()), 0)
349349 let lendedAmountByAssetCodeKey = keyLendedAmountByAssetCode(sellAssetCodeConfirm)
350350 let lendedAmtByAssetCode = valueOrElse(getInteger(this, lendedAmountByAssetCodeKey), 0)
351351 let sellAssetSellFeePercent = parseIntValue(sellAssetCfg[IdxSellFeePercent])
352352 let buyAssetResult = internalBuyAsset(i.caller, pmtAmount, pmtAsset, minSellPmt, buy2sellPrice, fraction((buyFeePercent + sellAssetSellFeePercent), 50, 100))
353353 ((((buyAssetResult._1 :+ ScriptTransfer(sellAssetAccAddress, usdnDebt, debtAssetId)) :+ ScriptTransfer(sellAssetAccAddress, (pmtAmount - buyAssetResult._2), pmtAsset)) :+ IntegerEntry(lendedAmountByAssetCodeKey, (lendedAmtByAssetCode + usdnDebt))) :+ IntegerEntry(keyTotalLendedAtOtherAccs(), (totalLendedAtOtherAccs + usdnDebt)))
354354 }
355355 }
356356
357357
358358
359359 @Callable(i)
360360 func rebalanceDebts () = {
361361 let debtPmt0 = value(i.payments[0])
362362 let debtPmtAsset0 = value(debtPmt0.assetId)
363363 let basePmt1 = value(i.payments[1])
364364 let basePmtAsset1 = value(basePmt1.assetId)
365365 let debtorAddress = toString(i.caller)
366366 let debtorAssetCfg = factoryReadAssetCfgByAddress(debtorAddress)
367367 let debtorAssetCode = debtorAssetCfg[IdxDefoAssetCode]
368368 let lendedAmountByAssetCodeKey = keyLendedAmountByAssetCode(debtorAssetCode)
369369 let lendedAmt = valueOrErrorMessage(getInteger(this, lendedAmountByAssetCodeKey), ("No debts for " + debtorAssetCode))
370370 if (isBlocked)
371371 then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
372372 else if ((debtAssetId != debtPmtAsset0))
373373 then throw(((("invalid debt asset id in the first paymet: expected=" + toBase58String(debtAssetId)) + " actual=") + toBase58String(debtPmtAsset0)))
374374 else if ((baseAssetId != basePmtAsset1))
375375 then throw(((("invalid base asset id in the second payment: expected=" + toBase58String(baseAssetId)) + " actual=") + toBase58String(basePmtAsset1)))
376376 else if ((debtPmt0.amount != basePmt1.amount))
377377 then throw("first payment amount doesn't match to the second payment amount")
378378 else if ((0 >= lendedAmt))
379379 then throw(("lendedAmt is less then zero: lendedAmt=" + toString(lendedAmt)))
380380 else if (((100 * priceDecimals) >= debtPmt0.amount))
381381 then throw(("attached payment must be greater then 100: pmt0.amount=" + toString(debtPmt0.amount)))
382382 else if ((debtPmt0.amount > lendedAmt))
383383 then throw(((("attached payment is grater than required: pmtAmount=" + toString(debtPmt0.amount)) + " lendedAmt=") + toString(lendedAmt)))
384384 else {
385385 let totalLendedAtOtherAccs = valueOrElse(getInteger(this, keyTotalLendedAtOtherAccs()), 0)
386386 let lendedAmtAfter = (lendedAmt - debtPmt0.amount)
387387 [IntegerEntry(lendedAmountByAssetCodeKey, lendedAmtAfter), IntegerEntry(keyTotalLendedAtOtherAccs(), (totalLendedAtOtherAccs - debtPmt0.amount)), StringEntry(("%s%s__rebalanceTrace__" + toBase58String(i.transactionId)), assetDataRebalanceTrace(debtorAssetCode, debtPmt0, basePmt1, lendedAmt, lendedAmtAfter))]
388388 }
389389 }
390390
391391
392392
393393 @Callable(i)
394394 func fulfillRedeemRequest (poolMakerAddress) = {
395395 let thisAddressStr = toString(this)
396396 let poolMakerUnlockHeightKey = keyFactoryPoolMakerUnlockHeight(thisAddressStr, poolMakerAddress)
397397 let poolMakerUnlockHeight = valueOrElse(getInteger(factoryAcc, poolMakerUnlockHeightKey), 0)
398398 if ((0 >= poolMakerUnlockHeight))
399399 then throw("All liquidity request fulfilled")
400400 else {
401401 let poolMakerLiquidityRequestKey = keyFactoryPoolMakerLiquidityRequest(thisAddressStr, poolMakerAddress, poolMakerUnlockHeight)
402402 let poolMakerLiquidityRequestAmount = valueOrErrorMessage(getInteger(factoryAcc, poolMakerLiquidityRequestKey), "Empty poolMakerLiquidityRequestKey at factory acc")
403403 if (isDefined(getInteger(this, poolMakerLiquidityRequestKey)))
404404 then throw("Liquidity request has been already fulfilled")
405405 else [IntegerEntry(poolMakerLiquidityRequestKey, poolMakerLiquidityRequestAmount), ScriptTransfer(factoryAcc, poolMakerLiquidityRequestAmount, baseAssetId)]
406406 }
407407 }
408408
409409
410410 @Verifier(tx)
411411 func verify () = match tx {
412412 case inv: InvokeScriptTransaction =>
413413 if ((inv.fee > (900 * 1000)))
414414 then throw(("fee amount is greater than max allowed: " + toString(inv.fee)))
415415 else if (isDefined(inv.feeAssetId))
416416 then throw("only Waves is allowed as feeAssetId")
417417 else if ((inv.function == "rebalanceDebts"))
418418 then {
419419 let invDappAddress = toString(addressFromRecipient(inv.dApp))
420420 if ((factoryReadAssetCfgByAddress(invDappAddress)[IdxDefoAssetStatus] != "ISSUED"))
421421 then throw("only defo dapp is allowed")
422422 else if ((invDappAddress == toString(this)))
423423 then throw("impossible to call self rebealnceDebt")
424424 else true
425425 }
426426 else if (if (if ((inv.function == "lockNeutrino"))
427427 then true
428428 else (inv.function == "lockNeutrinoSP"))
429429 then true
430430 else (inv.function == "unlockNeutrino"))
431431 then if ((toString(neutrinoStakingAcc) != toString(addressFromRecipient(inv.dApp))))
432432 then throw("invalid neutrino staking dapp address")
433433 else sigVerify(tx.bodyBytes, tx.proofs[0], factoryReadDefoStakingPacemakerPub())
434434 else throw("Not allowed invocation method calls")
435435 case _ =>
436436 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
437437 }
438438

github/deemru/w8io/026f985 
57.41 ms