tx · FCtNwUX7qPaJ17n29RghudgJwKS9sU8Gb4pgUvZw1mvB

3N9be2mwrA52WJho6DiesZkk4351GvpnWuj:  -0.01400000 Waves

2022.03.04 14:54 [1949199] smart account 3N9be2mwrA52WJho6DiesZkk4351GvpnWuj > SELF 0.00000000 Waves

{ "type": 13, "id": "FCtNwUX7qPaJ17n29RghudgJwKS9sU8Gb4pgUvZw1mvB", "fee": 1400000, "feeAssetId": null, "timestamp": 1646394888080, "version": 1, "sender": "3N9be2mwrA52WJho6DiesZkk4351GvpnWuj", "senderPublicKey": "6mzmbCza9iqbzxMEELcEA4Xc9NeF4CYpbTtz1zMK3C7x", "proofs": [ "4qdDYDeBRdNJ2hhAwzCMyrMuUi4kNQTHPxUU1i16CGctkQpc7tc74c6Nf6mKNyZMGRjRPwsi1UorPGv4vB1YKfgW", "3ecYwyQHCZ9cH6fe4AJFYymDmzwYcAQ3Ek7p1bLKo9gcyAUEiqXFafjex1TxDzs8RfuMc15VmBx8fpAEXCqgbn6S", "4aAN7wr9GzNmxjJDnqVTBNdPwfZtMGZXbGNH9wm4rrXdLJn2WsVidxLhmZMLqqa48ny5HgryfJX21kt7u79dwnqV" ], "script": "base64:AAIFAAAAAAAAADYIAhIOCgwICAgICAgBAQEBAQESBQoDCAgBEgYKBAgBCAgSABIAEgUKAwgBCBIAEgQKAgEIEgAAAAB0AQAAAA5nZXROdW1iZXJCeUtleQAAAAEAAAADa2V5CQEAAAALdmFsdWVPckVsc2UAAAACCQAEGgAAAAIFAAAABHRoaXMFAAAAA2tleQAAAAAAAAAAAAEAAAAOZ2V0U3RyaW5nQnlLZXkAAAABAAAAA2tleQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABB0AAAACBQAAAAR0aGlzBQAAAANrZXkCAAAAAAEAAAAMZ2V0Qm9vbEJ5S2V5AAAAAQAAAANrZXkJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQbAAAAAgUAAAAEdGhpcwUAAAADa2V5BwEAAAAYZ2V0T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AAAACBQAAAAckbWF0Y2gwAgAAABVTcG9uc29yRmVlVHJhbnNhY3Rpb24EAAAACXNwb25zb3JUeAUAAAAHJG1hdGNoMAMJAQAAABtjaGVja0lzVmFsaWRNaW5TcG9uc29yZWRGZWUAAAABBQAAAAlzcG9uc29yVHgJAABnAAAAAgUAAAAFY291bnQAAAAAAAAAAAMHCQAAZwAAAAIFAAAABWNvdW50AAAAAAAAAAADk82JfA==", "chainId": 84, "height": 1949199, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FMgkroKRbiEL6fuGbUyYJtEmiftmSy6fpzzG4RY2cYAT Next: MvqrafPwemyS2mZG4Y4v8ByfvujrT3FYw4CmwAB6tRG Diff:
OldNewDifferences
458458 then {
459459 let lastSwapHeight = getNumberByKey(keyUserLastQuickSwapHeight(userAddressStr))
460460 let swapsTimeframeBlocks = swapsTimeframeREAD()
461- let userGNsbtAmount = valueOrElse(getInteger(nsbtStakingContract, keyLockParamUserAmount(userAddressStr)), 0)
462- let quickSwapLimitTotal = asInt(invoke(mathContract, "calcSwapLimitMATH", [userGNsbtAmount], nil))
463- if ((quickSwapLimitTotal == quickSwapLimitTotal))
464- then {
465- let priceByIndex = getPriceHistory(getHeightPriceByIndex(priceIndex))
466- let swapUsdnVolume = if ((swapType == "neutrino"))
467- then pmtAmount
468- else convertWavesToNeutrino(pmtAmount, priceByIndex)
469- if (isBlocked)
470- then emergencyShutdownFAIL()
471- else {
472- let leasePart = if ((swapType == "waves"))
473- then prepareUnleaseAndLease(0)
474- else nil
475- $Tuple2(([IntegerEntry(keyQuickSwapUserSpentInPeriod(userAddressStr), swapUsdnVolume), IntegerEntry(keyUserLastQuickSwapHeight(userAddressStr), height), IntegerEntry(totalLockedByUserKEY(swapType, userAddressStr), (totalLockedByUser + pmtAmount)), IntegerEntry(getBalanceUnlockBlockKey(userAddressStr), selfUnlockHeight), IntegerEntry(totalLockedKEY(swapType), (totalLocked + pmtAmount)), StringEntry(swapKEY(userAddressStr, txId58), pendingSwapDATA(swapType, pmtAmount, selfUnlockHeight))] ++ leasePart), unit)
461+ if ((swapsTimeframeBlocks > (height - lastSwapHeight)))
462+ then throw(("You have exceeded swap limit for 24h! Next allowed swap height is " + toString((lastSwapHeight + swapsTimeframeBlocks))))
463+ else {
464+ let userGNsbtAmount = valueOrElse(getInteger(nsbtStakingContract, keyLockParamUserAmount(userAddressStr)), 0)
465+ let quickSwapLimitTotal = asInt(invoke(mathContract, "calcSwapLimitMATH", [userGNsbtAmount], nil))
466+ if ((quickSwapLimitTotal == quickSwapLimitTotal))
467+ then {
468+ let priceByIndex = getPriceHistory(getHeightPriceByIndex(priceIndex))
469+ let swapUsdnVolume = if ((swapType == "neutrino"))
470+ then pmtAmount
471+ else convertWavesToNeutrino(pmtAmount, priceByIndex)
472+ if ((swapUsdnVolume > quickSwapLimitTotal))
473+ then throw(((("You have exceeded your swap limit! Requested: " + toString(swapUsdnVolume)) + ", available: ") + toString(quickSwapLimitTotal)))
474+ else if (isBlocked)
475+ then emergencyShutdownFAIL()
476+ else {
477+ let leasePart = if ((swapType == "waves"))
478+ then prepareUnleaseAndLease(0)
479+ else nil
480+ $Tuple2(([IntegerEntry(keyQuickSwapUserSpentInPeriod(userAddressStr), swapUsdnVolume), IntegerEntry(keyUserLastQuickSwapHeight(userAddressStr), height), IntegerEntry(totalLockedByUserKEY(swapType, userAddressStr), (totalLockedByUser + pmtAmount)), IntegerEntry(getBalanceUnlockBlockKey(userAddressStr), selfUnlockHeight), IntegerEntry(totalLockedKEY(swapType), (totalLocked + pmtAmount)), StringEntry(swapKEY(userAddressStr, txId58), pendingSwapDATA(swapType, pmtAmount, selfUnlockHeight))] ++ leasePart), unit)
481+ }
476482 }
483+ else throw("Strict value is not equal to itself.")
477484 }
478- else throw("Strict value is not equal to itself.")
479485 }
480486 else throw("Strict value is not equal to itself.")
481487 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func getNumberByKey (key) = valueOrElse(getInteger(this, key), 0)
55
66
77 func getStringByKey (key) = valueOrElse(getString(this, key), "")
88
99
1010 func getBoolByKey (key) = valueOrElse(getBoolean(this, key), false)
1111
1212
1313 func getNumberByAddressAndKey (address,key) = valueOrElse(getInteger(addressFromStringValue(address), key), 0)
1414
1515
1616 func getStringByAddressAndKey (address,key) = valueOrElse(getString(addressFromStringValue(address), key), "")
1717
1818
1919 func getBoolByAddressAndKey (address,key) = valueOrElse(getBoolean(addressFromStringValue(address), key), false)
2020
2121
2222 func asAnyList (val) = match val {
2323 case valAnyLyst: List[Any] =>
2424 valAnyLyst
2525 case _ =>
2626 throw("fail to cast into List[Any]")
2727 }
2828
2929
3030 func asString (val) = match val {
3131 case valStr: String =>
3232 valStr
3333 case _ =>
3434 throw("fail to cast into String")
3535 }
3636
3737
3838 func asInt (val) = match val {
3939 case valInt: Int =>
4040 valInt
4141 case _ =>
4242 throw("fail to cast into Int")
4343 }
4444
4545
4646 let pubKeyAdminsList = ["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "5WRXFSjwcTbNfKcJs8ZqXmSSWYsSVJUtMvMqZj5hH4Nc"]
4747
4848 let SEP = "__"
4949
5050 let WAVELET = 100000000
5151
5252 let PAULI = 1000000
5353
5454 let PRICELET = 1000000
5555
5656 let DEFAULTSWAPFEE = 20000
5757
5858 let IdxNetAmount = 0
5959
6060 let IdxFeeAmount = 1
6161
6262 let IdxGrossAmount = 2
6363
6464 let NeutrinoAssetIdKey = "neutrino_asset_id"
6565
6666 let BondAssetIdKey = "bond_asset_id"
6767
6868 let AuctionContractKey = "auction_contract"
6969
7070 let NsbtStakingContractKey = "nsbtStakingContract"
7171
7272 let LiquidationContractKey = "liquidation_contract"
7373
7474 let RPDContractKey = "rpd_contract"
7575
7676 let ContolContractKey = "control_contract"
7777
7878 let MathContractKey = "math_contract"
7979
8080 let BalanceWavesLockIntervalKey = "balance_waves_lock_interval"
8181
8282 let BalanceNeutrinoLockIntervalKey = "balance_neutrino_lock_interval"
8383
8484 let MinWavesSwapAmountKey = "min_waves_swap_amount"
8585
8686 let MinNeutrinoSwapAmountKey = "min_neutrino_swap_amount"
8787
8888 let NodeOracleProviderPubKeyKey = "node_oracle_provider"
8989
9090 let NeutrinoOutFeePartKey = "neutrinoOut_swap_feePart"
9191
9292 let WavesOutFeePartKey = "wavesOut_swap_feePart"
9393
9494 let FeesManagerAddressKey = "fees_manager_address"
9595
9696 func keyQuickSwapLimitDuration () = "%s__quickSwapLimitDuration"
9797
9898
9999 let PriceKey = "price"
100100
101101 let PriceIndexKey = "price_index"
102102
103103 let IsBlockedKey = "is_blocked"
104104
105105 func getPriceHistoryKey (block) = ((PriceKey + "_") + toString(block))
106106
107107
108108 func getHeightPriceByIndexKey (index) = ((PriceIndexKey + "_") + toString(index))
109109
110110
111111 func getStakingNodeByIndex (idx) = getStringByKey(makeString(["%s%d%s", "lease", toString(idx), "nodeAddress"], SEP))
112112
113113
114114 func getStakingNodeAddressByIndex (idx) = addressFromStringValue(getStakingNodeByIndex(idx))
115115
116116
117117 func getReservedAmountForSponsorship () = valueOrElse(getInteger(this, makeString(["%s%s", "lease", "sponsorshipWavesReserve"], SEP)), (1000 * WAVELET))
118118
119119
120120 func getBalanceUnlockBlockKey (owner) = ("balance_unlock_block_" + owner)
121121
122122
123123 func getLeaseIdKey (nodeIndex) = makeString(["%s%d%s", "lease", toString(nodeIndex), "id"], SEP)
124124
125125
126126 func getLeaseAmountKey (nodeIndex) = makeString(["%s%d%s", "lease", toString(nodeIndex), "amount"], SEP)
127127
128128
129129 func minSwapAmountKEY (swapType) = (("min_" + swapType) + "_swap_amount")
130130
131131
132132 func totalLockedKEY (swapType) = ("balance_lock_" + swapType)
133133
134134
135135 func totalLockedByUserKEY (swapType,owner) = makeString(["balance_lock", swapType, owner], "_")
136136
137137
138138 func balanceLockIntervalKEY (swapType) = (("balance_" + swapType) + "_lock_interval")
139139
140140
141141 func nodeBalanceLockIntervalKEY () = "balance_node_lock_interval"
142142
143143
144144 func outFeePartKEY (swapType) = (swapType + "Out_swap_feePart")
145145
146146
147147 func swapsTimeframeKEY () = "swaps_timeframe"
148148
149149
150150 func minSwapAmountREAD (swapType) = valueOrElse(getInteger(this, minSwapAmountKEY(swapType)), 0)
151151
152152
153153 func swapsTimeframeREAD () = valueOrElse(getInteger(this, swapsTimeframeKEY()), 1440)
154154
155155
156156 func totalLockedREAD (swapType) = valueOrElse(getInteger(this, totalLockedKEY(swapType)), 0)
157157
158158
159159 func totalLockedByUserREAD (swapType,owner) = valueOrElse(getInteger(this, totalLockedByUserKEY(swapType, owner)), 0)
160160
161161
162162 func balanceLockIntervalREAD (swapType) = valueOrElse(getInteger(this, balanceLockIntervalKEY(swapType)), 1440)
163163
164164
165165 func nodeBalanceLockIntervalREAD () = valueOrElse(getInteger(this, nodeBalanceLockIntervalKEY()), 1)
166166
167167
168168 func keyQuickSwapUserSpentInPeriod (userAddress) = makeString(["%s%s", "quickSwapUserSpentInPeriod", userAddress], SEP)
169169
170170
171171 func keyUserLastQuickSwapHeight (userAddress) = makeString(["%s%s", "userLastQuickSwapHeight", userAddress], SEP)
172172
173173
174174 func feeManagerAddressREAD () = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(this, FeesManagerAddressKey), (FeesManagerAddressKey + " is not specified"))), (FeesManagerAddressKey + " invalid address format"))
175175
176176
177177 func convertNeutrinoToWaves (amount,price) = fraction(fraction(amount, PRICELET, price), WAVELET, PAULI)
178178
179179
180180 func convertWavesToNeutrino (amount,price) = fraction(fraction(amount, price, PRICELET), PAULI, WAVELET)
181181
182182
183183 func convertWavesToBond (amount,price) = convertWavesToNeutrino(amount, price)
184184
185185
186186 func convertJsonArrayToList (jsonArray) = split(jsonArray, ",")
187187
188188
189189 func minSwapAmountFAIL (swapType,minSwapAmount) = throw(((("The specified amount in " + swapType) + " swap is less than the required minimum of ") + toString(minSwapAmount)))
190190
191191
192192 func emergencyShutdownFAIL () = throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
193193
194194
195195 func priceIndexFAIL (index,priceIndex,indexHeight,unlockHeight,prevIndexHeight) = throw(((((((((("invalid price history index: index=" + toString(index)) + " priceIndex=") + toString(priceIndex)) + " indexHeight=") + toString(indexHeight)) + " unlockHeight=") + toString(unlockHeight)) + " prevIndexHeight=") + toString(prevIndexHeight)))
196196
197197
198198 let liquidationContract = getStringByKey(LiquidationContractKey)
199199
200200 let nsbtStakingContractStr = getStringByKey(NsbtStakingContractKey)
201201
202202 let neutrinoAssetId = fromBase58String(getStringByKey(NeutrinoAssetIdKey))
203203
204204 let auctionContract = getStringByKey(AuctionContractKey)
205205
206206 let rpdContract = getStringByKey(RPDContractKey)
207207
208208 let controlContract = getStringByKey(ContolContractKey)
209209
210210 let mathContractAddress = getStringByKey(MathContractKey)
211211
212212 let priceIndex = getNumberByAddressAndKey(controlContract, PriceIndexKey)
213213
214214 let isBlocked = getBoolByAddressAndKey(controlContract, IsBlockedKey)
215215
216216 let nodeOracleProviderPubKey = fromBase58String(getStringByKey(NodeOracleProviderPubKeyKey))
217217
218218 let bondAssetId = fromBase58String("F3iaxzruFeKujfVfYSZEkejpjh67wmRfPCRHiNmWKp3Z")
219219
220220 let deprecatedBondAssetId = fromBase58String("975akZBfnMj513U7MZaHKzQrmsEx5aE3wdWKTrHBhbjF")
221221
222222 let neutrinoContract = this
223223
224224 let mathContract = addressFromStringValue(mathContractAddress)
225225
226226 let nsbtStakingContract = addressFromStringValue(nsbtStakingContractStr)
227227
228228 let currentPrice = getNumberByAddressAndKey(controlContract, PriceKey)
229229
230230 func checkIsValidMinSponsoredFee (tx) = {
231231 let MINTRANSFERFEE = 100000
232232 let SponsoredFeeUpperBound = 1000
233233 let realNeutrinoFee = convertWavesToNeutrino(MINTRANSFERFEE, currentPrice)
234234 let minNeutrinoFee = (realNeutrinoFee * 2)
235235 let maxNeutrinoFee = fraction(realNeutrinoFee, SponsoredFeeUpperBound, 100)
236236 let inputFee = value(tx.minSponsoredAssetFee)
237237 if (if ((inputFee >= minNeutrinoFee))
238238 then (maxNeutrinoFee >= inputFee)
239239 else false)
240240 then (tx.assetId == neutrinoAssetId)
241241 else false
242242 }
243243
244244
245245 func getPriceHistory (block) = getNumberByAddressAndKey(controlContract, getPriceHistoryKey(block))
246246
247247
248248 func getHeightPriceByIndex (index) = getNumberByAddressAndKey(controlContract, getHeightPriceByIndexKey(index))
249249
250250
251251 func keyLockParamUserAmount (userAddress) = makeString(["%s%s%s", "paramByUser", userAddress, "amount"], SEP)
252252
253253
254254 let sIdxSwapType = 1
255255
256256 let sIdxStatus = 2
257257
258258 let sIdxInAmount = 3
259259
260260 let sIdxPrice = 4
261261
262262 let sIdxOutNetAmount = 5
263263
264264 let sIdxOutFeeAmount = 6
265265
266266 let sIdxStartHeight = 7
267267
268268 let sIdxStartTimestamp = 8
269269
270270 let sIdxEndHeight = 9
271271
272272 let sIdxEndTimestamp = 10
273273
274274 let sIdxSelfUnlockHeight = 11
275275
276276 let sIdxRandUnlockHeight = 12
277277
278278 let sIdxIndex = 13
279279
280280 let sIdxWithdrawTxId = 14
281281
282282 let sIdxMinRand = 15
283283
284284 let sIdxMaxRand = 16
285285
286286 func swapKEY (userAddress,txId) = makeString(["%s%s", userAddress, txId], SEP)
287287
288288
289289 func strSwapDATA (swapType,status,inAmount,price,outNetAmount,outFeeAmount,startHeight,startTimestamp,endHeight,endTimestamp,selfUnlockHeight,randUnlockHeight,index,withdrawTxId,randMin,randMax) = makeString(["%s%s%d%d%d%d%d%d%d%d%d%d%d%s", swapType, status, inAmount, price, outNetAmount, outFeeAmount, startHeight, startTimestamp, endHeight, endTimestamp, selfUnlockHeight, randUnlockHeight, index, withdrawTxId, randMin, randMax], SEP)
290290
291291
292292 func pendingSwapDATA (swapType,inAssetAmount,selfUnlockHeight) = strSwapDATA(swapType, "PENDING", toString(inAssetAmount), "0", "0", "0", toString(height), toString(lastBlock.timestamp), "0", "0", toString(selfUnlockHeight), "0", "0", "NULL", "0", "0")
293293
294294
295295 func finishSwapDATA (dataArray,price,outNetAmount,outFeeAmount,randUnlockHeight,index,withdrawTxId) = strSwapDATA(dataArray[sIdxSwapType], "FINISHED", dataArray[sIdxInAmount], toString(price), toString(outNetAmount), toString(outFeeAmount), dataArray[sIdxStartHeight], dataArray[sIdxStartTimestamp], toString(height), toString(lastBlock.timestamp), dataArray[sIdxSelfUnlockHeight], toString(randUnlockHeight), toString(index), withdrawTxId, dataArray[sIdxMinRand], dataArray[sIdxMaxRand])
296296
297297
298298 func swapDataFailOrREAD (userAddress,swapTxId) = {
299299 let swapKey = swapKEY(userAddress, swapTxId)
300300 split(valueOrErrorMessage(getString(this, swapKey), ("no swap data for " + swapKey)), SEP)
301301 }
302302
303303
304304 func applyFees (amountGross,feePart) = {
305305 let feeAmount = fraction(amountGross, feePart, PAULI)
306306 [(amountGross - feeAmount), feeAmount, amountGross]
307307 }
308308
309309
310310 func abs (x) = if ((0 > x))
311311 then -(x)
312312 else x
313313
314314
315315 func selectNode (unleaseAmount) = {
316316 let amountToLease = ((wavesBalance(neutrinoContract).available - unleaseAmount) - getReservedAmountForSponsorship())
317317 let oldLeased0 = getNumberByKey(getLeaseAmountKey(0))
318318 let oldLeased1 = getNumberByKey(getLeaseAmountKey(1))
319319 let newLeased0 = (amountToLease + oldLeased0)
320320 let newLeased1 = (amountToLease + oldLeased1)
321321 if (if ((newLeased0 > 0))
322322 then true
323323 else (newLeased1 > 0))
324324 then {
325325 let delta0 = abs((newLeased0 - oldLeased1))
326326 let delta1 = abs((newLeased1 - oldLeased0))
327327 if ((delta1 >= delta0))
328328 then $Tuple2(0, newLeased0)
329329 else $Tuple2(1, newLeased1)
330330 }
331331 else $Tuple2(-1, 0)
332332 }
333333
334334
335335 func thisOnly (i) = if ((i.caller != this))
336336 then throw("Permission denied: this contract only allowed")
337337 else true
338338
339339
340340 func prepareUnleaseAndLease (unleaseAmount) = {
341341 let nodeTuple = selectNode(unleaseAmount)
342342 let nodeIndex = nodeTuple._1
343343 let newLeaseAmount = nodeTuple._2
344344 if ((newLeaseAmount > 0))
345345 then {
346346 let leaseIdKey = getLeaseIdKey(nodeIndex)
347347 let oldLease = getBinary(this, leaseIdKey)
348348 let unleaseOrEmpty = if (isDefined(oldLease))
349349 then [LeaseCancel(value(oldLease))]
350350 else nil
351351 let leaseAmountKey = getLeaseAmountKey(nodeIndex)
352352 let lease = Lease(getStakingNodeAddressByIndex(nodeIndex), newLeaseAmount)
353353 (unleaseOrEmpty ++ [lease, BinaryEntry(leaseIdKey, calculateLeaseId(lease)), IntegerEntry(getLeaseAmountKey(nodeIndex), newLeaseAmount)])
354354 }
355355 else nil
356356 }
357357
358358
359359 func commonWithdraw (account,index,swapTxId,i) = {
360360 let userAddress = addressFromStringValue(account)
361361 let feeManagerAddress = feeManagerAddressREAD()
362362 let dataArray = swapDataFailOrREAD(account, swapTxId)
363363 let selfUnlockHeight = parseIntValue(dataArray[sIdxSelfUnlockHeight])
364364 let swapType = dataArray[sIdxSwapType]
365365 let inAmount = parseIntValue(dataArray[sIdxInAmount])
366366 let swapStatus = dataArray[sIdxStatus]
367367 let startHeight = parseIntValue(dataArray[sIdxStartHeight])
368368 let outFeePart = valueOrElse(getInteger(this, outFeePartKEY(swapType)), DEFAULTSWAPFEE)
369369 let totalLocked = totalLockedREAD(swapType)
370370 let totalLockedByUser = totalLockedByUserREAD(swapType, account)
371371 let unlockHeight = (startHeight + getIntegerValue(this, balanceLockIntervalKEY(swapType)))
372372 let indexHeight = getHeightPriceByIndex(index)
373373 let prevIndexHeight = getHeightPriceByIndex((index - 1))
374374 let priceByIndex = getPriceHistory(indexHeight)
375375 let outAmountGrossTuple = if ((swapType == "waves"))
376376 then $Tuple2(convertWavesToNeutrino(inAmount, priceByIndex), neutrinoAssetId)
377377 else if ((swapType == "neutrino"))
378378 then $Tuple2(convertNeutrinoToWaves(inAmount, priceByIndex), unit)
379379 else throw(("Unsupported swap type " + swapType))
380380 let payoutsArray = applyFees(outAmountGrossTuple._1, outFeePart)
381381 let outNetAmount = payoutsArray[IdxNetAmount]
382382 let outFeeAmount = payoutsArray[IdxFeeAmount]
383383 if (isBlocked)
384384 then emergencyShutdownFAIL()
385385 else if ((swapStatus != "PENDING"))
386386 then throw("swap has been already processed")
387387 else if ((unlockHeight > height))
388388 then throw((("please wait for: " + toString(unlockHeight)) + " block height to withdraw funds"))
389389 else if (if (if ((index > priceIndex))
390390 then true
391391 else (unlockHeight > indexHeight))
392392 then true
393393 else if ((prevIndexHeight != 0))
394394 then (prevIndexHeight >= unlockHeight)
395395 else false)
396396 then priceIndexFAIL(index, priceIndex, indexHeight, unlockHeight, prevIndexHeight)
397397 else if ((0 >= payoutsArray[IdxGrossAmount]))
398398 then throw("balance equals zero")
399399 else if (if ((0 > outFeePart))
400400 then true
401401 else (outFeePart >= PAULI))
402402 then throw(((("invalid outFeePart config for " + swapType) + " swap: outFeePart=") + toString(outFeePart)))
403403 else {
404404 let leasePart = if (if ((swapType == "neutrino"))
405405 then (outAmountGrossTuple._1 > 0)
406406 else false)
407407 then prepareUnleaseAndLease(outAmountGrossTuple._1)
408408 else nil
409409 $Tuple2((leasePart ++ [IntegerEntry(totalLockedByUserKEY(swapType, account), (totalLockedByUser - inAmount)), IntegerEntry(totalLockedKEY(swapType), (totalLocked - inAmount)), ScriptTransfer(userAddress, outNetAmount, outAmountGrossTuple._2), ScriptTransfer(feeManagerAddress, outFeeAmount, outAmountGrossTuple._2), StringEntry(swapKEY(account, swapTxId), finishSwapDATA(dataArray, priceByIndex, outNetAmount, outFeeAmount, unlockHeight, index, toBase58String(i.transactionId)))]), unit)
410410 }
411411 }
412412
413413
414414 @Callable(i)
415415 func constructor (neutrinoAssetIdPrm,bondAssetIdPrm,auctionContractPrm,liquidationContractPrm,rpdContractPrm,nodeOracleProviderPubKeyPrm,balanceWavesLockIntervalPrm,balanceNeutrinoLockIntervalPrm,minWavesSwapAmountPrm,minNeutrinoSwapAmountPrm,neutrinoOutFeePartPrm,wavesOutFeePartPrm) = {
416416 let checkCaller = thisOnly(i)
417417 if ((checkCaller == checkCaller))
418418 then [StringEntry(NeutrinoAssetIdKey, neutrinoAssetIdPrm), StringEntry(BondAssetIdKey, bondAssetIdPrm), StringEntry(AuctionContractKey, auctionContractPrm), StringEntry(LiquidationContractKey, liquidationContractPrm), StringEntry(RPDContractKey, rpdContractPrm), StringEntry(NodeOracleProviderPubKeyKey, nodeOracleProviderPubKeyPrm), IntegerEntry(BalanceWavesLockIntervalKey, balanceWavesLockIntervalPrm), IntegerEntry(BalanceNeutrinoLockIntervalKey, balanceNeutrinoLockIntervalPrm), IntegerEntry(MinWavesSwapAmountKey, minWavesSwapAmountPrm), IntegerEntry(MinNeutrinoSwapAmountKey, minNeutrinoSwapAmountPrm), IntegerEntry(NeutrinoOutFeePartKey, neutrinoOutFeePartPrm), IntegerEntry(WavesOutFeePartKey, wavesOutFeePartPrm)]
419419 else throw("Strict value is not equal to itself.")
420420 }
421421
422422
423423
424424 @Callable(i)
425425 func constructorV2 (mathContract,nsbtStakingContract,swapsTimeframeBlocks) = {
426426 let checkCaller = thisOnly(i)
427427 if ((checkCaller == checkCaller))
428428 then [StringEntry(MathContractKey, mathContract), StringEntry(NsbtStakingContractKey, nsbtStakingContract), IntegerEntry(swapsTimeframeKEY(), swapsTimeframeBlocks)]
429429 else throw("Strict value is not equal to itself.")
430430 }
431431
432432
433433
434434 @Callable(i)
435435 func commonSwap (swapType,pmtAmount,userAddressStr,txId58) = {
436436 let checkThisOriginCaller = if ((i.caller != this))
437437 then throw("Permission denied. Wrong caller.")
438438 else true
439439 if ((checkThisOriginCaller == checkThisOriginCaller))
440440 then {
441441 let checkCaller = if ((i.originCaller != addressFromStringValue(userAddressStr)))
442442 then throw("Permission denied. Wrong origin caller.")
443443 else true
444444 if ((checkCaller == checkCaller))
445445 then {
446446 let minSwapAmount = minSwapAmountREAD(swapType)
447447 let totalLocked = totalLockedREAD(swapType)
448448 let totalLockedByUser = totalLockedByUserREAD(swapType, userAddressStr)
449449 let nodeAddress = getStakingNodeByIndex(0)
450450 let balanceLockMaxInterval = if ((nodeAddress == userAddressStr))
451451 then nodeBalanceLockIntervalREAD()
452452 else balanceLockIntervalREAD(swapType)
453453 let selfUnlockHeight = (height + balanceLockMaxInterval)
454454 let amountCheck = if ((minSwapAmount > pmtAmount))
455455 then minSwapAmountFAIL(swapType, minSwapAmount)
456456 else true
457457 if ((amountCheck == amountCheck))
458458 then {
459459 let lastSwapHeight = getNumberByKey(keyUserLastQuickSwapHeight(userAddressStr))
460460 let swapsTimeframeBlocks = swapsTimeframeREAD()
461- let userGNsbtAmount = valueOrElse(getInteger(nsbtStakingContract, keyLockParamUserAmount(userAddressStr)), 0)
462- let quickSwapLimitTotal = asInt(invoke(mathContract, "calcSwapLimitMATH", [userGNsbtAmount], nil))
463- if ((quickSwapLimitTotal == quickSwapLimitTotal))
464- then {
465- let priceByIndex = getPriceHistory(getHeightPriceByIndex(priceIndex))
466- let swapUsdnVolume = if ((swapType == "neutrino"))
467- then pmtAmount
468- else convertWavesToNeutrino(pmtAmount, priceByIndex)
469- if (isBlocked)
470- then emergencyShutdownFAIL()
471- else {
472- let leasePart = if ((swapType == "waves"))
473- then prepareUnleaseAndLease(0)
474- else nil
475- $Tuple2(([IntegerEntry(keyQuickSwapUserSpentInPeriod(userAddressStr), swapUsdnVolume), IntegerEntry(keyUserLastQuickSwapHeight(userAddressStr), height), IntegerEntry(totalLockedByUserKEY(swapType, userAddressStr), (totalLockedByUser + pmtAmount)), IntegerEntry(getBalanceUnlockBlockKey(userAddressStr), selfUnlockHeight), IntegerEntry(totalLockedKEY(swapType), (totalLocked + pmtAmount)), StringEntry(swapKEY(userAddressStr, txId58), pendingSwapDATA(swapType, pmtAmount, selfUnlockHeight))] ++ leasePart), unit)
461+ if ((swapsTimeframeBlocks > (height - lastSwapHeight)))
462+ then throw(("You have exceeded swap limit for 24h! Next allowed swap height is " + toString((lastSwapHeight + swapsTimeframeBlocks))))
463+ else {
464+ let userGNsbtAmount = valueOrElse(getInteger(nsbtStakingContract, keyLockParamUserAmount(userAddressStr)), 0)
465+ let quickSwapLimitTotal = asInt(invoke(mathContract, "calcSwapLimitMATH", [userGNsbtAmount], nil))
466+ if ((quickSwapLimitTotal == quickSwapLimitTotal))
467+ then {
468+ let priceByIndex = getPriceHistory(getHeightPriceByIndex(priceIndex))
469+ let swapUsdnVolume = if ((swapType == "neutrino"))
470+ then pmtAmount
471+ else convertWavesToNeutrino(pmtAmount, priceByIndex)
472+ if ((swapUsdnVolume > quickSwapLimitTotal))
473+ then throw(((("You have exceeded your swap limit! Requested: " + toString(swapUsdnVolume)) + ", available: ") + toString(quickSwapLimitTotal)))
474+ else if (isBlocked)
475+ then emergencyShutdownFAIL()
476+ else {
477+ let leasePart = if ((swapType == "waves"))
478+ then prepareUnleaseAndLease(0)
479+ else nil
480+ $Tuple2(([IntegerEntry(keyQuickSwapUserSpentInPeriod(userAddressStr), swapUsdnVolume), IntegerEntry(keyUserLastQuickSwapHeight(userAddressStr), height), IntegerEntry(totalLockedByUserKEY(swapType, userAddressStr), (totalLockedByUser + pmtAmount)), IntegerEntry(getBalanceUnlockBlockKey(userAddressStr), selfUnlockHeight), IntegerEntry(totalLockedKEY(swapType), (totalLocked + pmtAmount)), StringEntry(swapKEY(userAddressStr, txId58), pendingSwapDATA(swapType, pmtAmount, selfUnlockHeight))] ++ leasePart), unit)
481+ }
476482 }
483+ else throw("Strict value is not equal to itself.")
477484 }
478- else throw("Strict value is not equal to itself.")
479485 }
480486 else throw("Strict value is not equal to itself.")
481487 }
482488 else throw("Strict value is not equal to itself.")
483489 }
484490 else throw("Strict value is not equal to itself.")
485491 }
486492
487493
488494
489495 @Callable(i)
490496 func swapWavesToNeutrino () = {
491497 let pmt = value(i.payments[0])
492498 if (isDefined(pmt.assetId))
493499 then throw("Only Waves token is allowed for swapping.")
494500 else {
495501 let userAddress = toString(i.caller)
496502 let txId58 = toBase58String(i.transactionId)
497503 let commonSwapInv = invoke(this, "commonSwap", ["waves", pmt.amount, userAddress, txId58], nil)
498504 if ((commonSwapInv == commonSwapInv))
499505 then nil
500506 else throw("Strict value is not equal to itself.")
501507 }
502508 }
503509
504510
505511
506512 @Callable(i)
507513 func swapNeutrinoToWaves () = {
508514 let pmt = value(i.payments[0])
509515 if ((pmt.assetId != neutrinoAssetId))
510516 then throw("Only appropriate Neutrino tokens are allowed for swapping.")
511517 else {
512518 let userAddress = toString(i.caller)
513519 let txId58 = toBase58String(i.transactionId)
514520 let commonSwapInv = invoke(this, "commonSwap", ["neutrino", pmt.amount, userAddress, txId58], nil)
515521 if ((commonSwapInv == commonSwapInv))
516522 then nil
517523 else throw("Strict value is not equal to itself.")
518524 }
519525 }
520526
521527
522528
523529 @Callable(i)
524530 func withdraw (account,index,swapTxId) = commonWithdraw(account, index, swapTxId, i)
525531
526532
527533
528534 @Callable(i)
529535 func transferToAuction () = {
530536 let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsMATH", nil, nil))
531537 let reserve = asInt(neutrinoMetrics[3])
532538 let neutrinoSupply = asInt(neutrinoMetrics[5])
533539 let surplus = asInt(neutrinoMetrics[6])
534540 let nsbtSupply = asInt(neutrinoMetrics[9])
535541 let auctionNBAmount = (neutrinoSupply - assetBalance(addressFromStringValue(auctionContract), bondAssetId))
536542 let surplusWithLiquidation = (surplus - assetBalance(addressFromStringValue(liquidationContract), neutrinoAssetId))
537543 if (isBlocked)
538544 then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
539545 else if ((auctionNBAmount > (1 * PAULI)))
540546 then [ScriptTransfer(addressFromStringValue(auctionContract), auctionNBAmount, bondAssetId)]
541547 else if ((surplusWithLiquidation >= (1 * PAULI)))
542548 then [ScriptTransfer(addressFromStringValue(liquidationContract), surplusWithLiquidation, neutrinoAssetId)]
543549 else throw(((((((("bond were generated or do not need it. Deficit:" + toString(auctionNBAmount)) + "|") + toString(0)) + ". Surplus:") + toString(surplusWithLiquidation)) + "|") + toString(surplus)))
544550 }
545551
546552
547553
548554 @Callable(i)
549555 func transferUsdnToUser (amount,addr) = if ((i.caller != addressFromStringValue(auctionContract)))
550556 then throw("Only auction contract is authorized")
551557 else [ScriptTransfer(addressFromStringValue(addr), amount, neutrinoAssetId)]
552558
553559
554560
555561 @Callable(i)
556562 func acceptWaves () = if ((i.caller != addressFromStringValue(auctionContract)))
557563 then throw("Currently only auction contract is allowed to call")
558564 else $Tuple2(prepareUnleaseAndLease(0), "success")
559565
560566
561567 @Verifier(tx)
562568 func verify () = {
563569 let id = toBase58String(tx.id)
564570 let count = ((((if (sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(pubKeyAdminsList[0])))
565571 then 1
566572 else 0) + (if (sigVerify(tx.bodyBytes, tx.proofs[1], fromBase58String(pubKeyAdminsList[1])))
567573 then 1
568574 else 0)) + (if (sigVerify(tx.bodyBytes, tx.proofs[2], fromBase58String(pubKeyAdminsList[2])))
569575 then 1
570576 else 0)) + (if (sigVerify(tx.bodyBytes, tx.proofs[3], fromBase58String(pubKeyAdminsList[3])))
571577 then 2
572578 else 0))
573579 match tx {
574580 case sponsorTx: SponsorFeeTransaction =>
575581 if (checkIsValidMinSponsoredFee(sponsorTx))
576582 then (count >= 3)
577583 else false
578584 case _ =>
579585 (count >= 3)
580586 }
581587 }
582588

github/deemru/w8io/026f985 
65.75 ms