tx · Cac1jMKFGjPkqLafrVdXREZNSFcUBLaxLqa8YTd1zt9t

3N9be2mwrA52WJho6DiesZkk4351GvpnWuj:  -0.01000000 Waves

2022.03.02 23:02 [1946808] smart account 3N9be2mwrA52WJho6DiesZkk4351GvpnWuj > SELF 0.00000000 Waves

{ "type": 13, "id": "Cac1jMKFGjPkqLafrVdXREZNSFcUBLaxLqa8YTd1zt9t", "fee": 1000000, "feeAssetId": null, "timestamp": 1646251374387, "version": 1, "sender": "3N9be2mwrA52WJho6DiesZkk4351GvpnWuj", "senderPublicKey": "6mzmbCza9iqbzxMEELcEA4Xc9NeF4CYpbTtz1zMK3C7x", "proofs": [ "5jPrNRPJn3yyga89h2Jw8ReP7MSRM4mL2XZ8UkMcTSQXXCNzxSzZm3qaHXv271rPPQxD8ALnQQmSazsHcjzeBEy3" ], "script": "base64:AAIFAAAAAAAAADAIAhIOCgwICAgICAgBAQEBAQESBQoDCAgBEgYKBAgBCAgSABIAEgUKAwgBCBIAEgAAAAB0AQAAAA5nZXROdW1iZXJCeUtleQAAAAEAAAADa2V5CQEAAAALdmFsdWVPckVsc2UAAAACCQAEGgAAAAIFAAAABHRoaXMFAAAAA2tleQAAAAAAAAAAAAEAAAAOZ2V0U3RyaW5nQnlLZXkAAAABAAAAA2tleQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABB0AAAACBQAAAAR0aGlzBQAAAANrZXkCAAAAAAEAAAAMZ2V0Qm9vbEJ5S2V5AAAAAQAAAANrZXkJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQbAAAAAgUAAAAEdGhpcwUAAAADa2V5BwEAAAAYZ2V0TnVtYmVyQnlBZGRyZXNzQW5kS2V5AAAAAgAAAAdhZGRyZXNzAAAAA2tleQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBoAAAACCQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABBQAAAAdhZGRyZXNzBQAAAANrZXkAAAAAAAAAAAABAAAAGGdldFN0cmluZ0J5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IBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEJAAJZAAAAAQkAAZEAAAACBQAAABBwdWJLZXlBZG1pbnNMaXN0AAAAAAAAAAABAAAAAAAAAAABAAAAAAAAAAAAAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIJAAJZAAAAAQkAAZEAAAACBQAAABBwdWJLZXlBZG1pbnNMaXN0AAAAAAAAAAACAAAAAAAAAAABAAAAAAAAAAAAAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAMJAAJZAAAAAQkAAZEAAAACBQAAABBwdWJLZXlBZG1pbnNMaXN0AAAAAAAAAAADAAAAAAAAAAACAAAAAAAAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAVU3BvbnNvckZlZVRyYW5zYWN0aW9uBAAAAAlzcG9uc29yVHgFAAAAByRtYXRjaDADCQEAAAAbY2hlY2tJc1ZhbGlkTWluU3BvbnNvcmVkRmVlAAAAAQUAAAAJc3BvbnNvclR4CQAAZwAAAAIFAAAABWNvdW50AAAAAAAAAAADBwkAAGcAAAACBQAAAAVjb3VudAAAAAAAAAAAAzZYQOE=", "chainId": 84, "height": 1946808, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: B3MPH21PFYhRpKQGYx4xdBMaBPw7imSbmYcLugk6QMJx Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 5 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+func getNumberByKey (key) = valueOrElse(getInteger(this, key), 0)
5+
6+
7+func getStringByKey (key) = valueOrElse(getString(this, key), "")
8+
9+
10+func getBoolByKey (key) = valueOrElse(getBoolean(this, key), false)
11+
12+
13+func getNumberByAddressAndKey (address,key) = valueOrElse(getInteger(addressFromStringValue(address), key), 0)
14+
15+
16+func getStringByAddressAndKey (address,key) = valueOrElse(getString(addressFromStringValue(address), key), "")
17+
18+
19+func getBoolByAddressAndKey (address,key) = valueOrElse(getBoolean(addressFromStringValue(address), key), false)
20+
21+
22+func asAnyList (val) = match val {
23+ case valAnyLyst: List[Any] =>
24+ valAnyLyst
25+ case _ =>
26+ throw("fail to cast into List[Any]")
27+}
28+
29+
30+func asString (val) = match val {
31+ case valStr: String =>
32+ valStr
33+ case _ =>
34+ throw("fail to cast into String")
35+}
36+
37+
38+func asInt (val) = match val {
39+ case valInt: Int =>
40+ valInt
41+ case _ =>
42+ throw("fail to cast into Int")
43+}
44+
45+
46+let pubKeyAdminsList = ["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "5WRXFSjwcTbNfKcJs8ZqXmSSWYsSVJUtMvMqZj5hH4Nc"]
47+
48+let SEP = "__"
49+
50+let WAVELET = 100000000
51+
52+let PAULI = 1000000
53+
54+let PRICELET = 1000000
55+
56+let DEFAULTSWAPFEE = 20000
57+
58+let IdxNetAmount = 0
59+
60+let IdxFeeAmount = 1
61+
62+let IdxGrossAmount = 2
63+
64+let NeutrinoAssetIdKey = "neutrino_asset_id"
65+
66+let BondAssetIdKey = "bond_asset_id"
67+
68+let AuctionContractKey = "auction_contract"
69+
70+let NsbtStakingContractKey = "nsbtStakingContract"
71+
72+let LiquidationContractKey = "liquidation_contract"
73+
74+let RPDContractKey = "rpd_contract"
75+
76+let ContolContractKey = "control_contract"
77+
78+let MathContractKey = "math_contract"
79+
80+let BalanceWavesLockIntervalKey = "balance_waves_lock_interval"
81+
82+let BalanceNeutrinoLockIntervalKey = "balance_neutrino_lock_interval"
83+
84+let MinWavesSwapAmountKey = "min_waves_swap_amount"
85+
86+let MinNeutrinoSwapAmountKey = "min_neutrino_swap_amount"
87+
88+let NodeOracleProviderPubKeyKey = "node_oracle_provider"
89+
90+let NeutrinoOutFeePartKey = "neutrinoOut_swap_feePart"
91+
92+let WavesOutFeePartKey = "wavesOut_swap_feePart"
93+
94+let FeesManagerAddressKey = "fees_manager_address"
95+
96+func keyQuickSwapLimitDuration () = "%s__quickSwapLimitDuration"
97+
98+
99+let PriceKey = "price"
100+
101+let PriceIndexKey = "price_index"
102+
103+let IsBlockedKey = "is_blocked"
104+
105+func getPriceHistoryKey (block) = ((PriceKey + "_") + toString(block))
106+
107+
108+func getHeightPriceByIndexKey (index) = ((PriceIndexKey + "_") + toString(index))
109+
110+
111+func getStakingNodeByIndex (idx) = getStringByKey(makeString(["%s%d%s", "lease", toString(idx), "nodeAddress"], SEP))
112+
113+
114+func getStakingNodeAddressByIndex (idx) = addressFromStringValue(getStakingNodeByIndex(idx))
115+
116+
117+func getReservedAmountForSponsorship () = valueOrElse(getInteger(this, makeString(["%s%s", "lease", "sponsorshipWavesReserve"], SEP)), (1000 * WAVELET))
118+
119+
120+func getBalanceUnlockBlockKey (owner) = ("balance_unlock_block_" + owner)
121+
122+
123+func getLeaseIdKey (nodeIndex) = makeString(["%s%d%s", "lease", toString(nodeIndex), "id"], SEP)
124+
125+
126+func getLeaseAmountKey (nodeIndex) = makeString(["%s%d%s", "lease", toString(nodeIndex), "amount"], SEP)
127+
128+
129+func minSwapAmountKEY (swapType) = (("min_" + swapType) + "_swap_amount")
130+
131+
132+func totalLockedKEY (swapType) = ("balance_lock_" + swapType)
133+
134+
135+func totalLockedByUserKEY (swapType,owner) = makeString(["balance_lock", swapType, owner], "_")
136+
137+
138+func balanceLockIntervalKEY (swapType) = (("balance_" + swapType) + "_lock_interval")
139+
140+
141+func nodeBalanceLockIntervalKEY () = "balance_node_lock_interval"
142+
143+
144+func outFeePartKEY (swapType) = (swapType + "Out_swap_feePart")
145+
146+
147+func swapsTimeframeKEY () = "swaps_timeframe"
148+
149+
150+func minSwapAmountREAD (swapType) = valueOrElse(getInteger(this, minSwapAmountKEY(swapType)), 0)
151+
152+
153+func swapsTimeframeREAD () = valueOrElse(getInteger(this, swapsTimeframeKEY()), 1440)
154+
155+
156+func totalLockedREAD (swapType) = valueOrElse(getInteger(this, totalLockedKEY(swapType)), 0)
157+
158+
159+func totalLockedByUserREAD (swapType,owner) = valueOrElse(getInteger(this, totalLockedByUserKEY(swapType, owner)), 0)
160+
161+
162+func balanceLockIntervalREAD (swapType) = valueOrElse(getInteger(this, balanceLockIntervalKEY(swapType)), 1440)
163+
164+
165+func nodeBalanceLockIntervalREAD () = valueOrElse(getInteger(this, nodeBalanceLockIntervalKEY()), 1)
166+
167+
168+func keyQuickSwapUserSpentInPeriod (userAddress) = makeString(["%s%s", "quickSwapUserSpentInPeriod", userAddress], SEP)
169+
170+
171+func keyUserLastQuickSwapHeight (userAddress) = makeString(["%s%s", "userLastQuickSwapHeight", userAddress], SEP)
172+
173+
174+func feeManagerAddressREAD () = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(this, FeesManagerAddressKey), (FeesManagerAddressKey + " is not specified"))), (FeesManagerAddressKey + " invalid address format"))
175+
176+
177+func convertNeutrinoToWaves (amount,price) = fraction(fraction(amount, PRICELET, price), WAVELET, PAULI)
178+
179+
180+func convertWavesToNeutrino (amount,price) = fraction(fraction(amount, price, PRICELET), PAULI, WAVELET)
181+
182+
183+func convertWavesToBond (amount,price) = convertWavesToNeutrino(amount, price)
184+
185+
186+func convertJsonArrayToList (jsonArray) = split(jsonArray, ",")
187+
188+
189+func minSwapAmountFAIL (swapType,minSwapAmount) = throw(((("The specified amount in " + swapType) + " swap is less than the required minimum of ") + toString(minSwapAmount)))
190+
191+
192+func emergencyShutdownFAIL () = throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
193+
194+
195+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)))
196+
197+
198+let liquidationContract = getStringByKey(LiquidationContractKey)
199+
200+let nsbtStakingContractStr = getStringByKey(NsbtStakingContractKey)
201+
202+let neutrinoAssetId = fromBase58String(getStringByKey(NeutrinoAssetIdKey))
203+
204+let auctionContract = getStringByKey(AuctionContractKey)
205+
206+let rpdContract = getStringByKey(RPDContractKey)
207+
208+let controlContract = getStringByKey(ContolContractKey)
209+
210+let mathContractAddress = getStringByKey(MathContractKey)
211+
212+let priceIndex = getNumberByAddressAndKey(controlContract, PriceIndexKey)
213+
214+let isBlocked = getBoolByAddressAndKey(controlContract, IsBlockedKey)
215+
216+let nodeOracleProviderPubKey = fromBase58String(getStringByKey(NodeOracleProviderPubKeyKey))
217+
218+let bondAssetId = fromBase58String("F3iaxzruFeKujfVfYSZEkejpjh67wmRfPCRHiNmWKp3Z")
219+
220+let deprecatedBondAssetId = fromBase58String("975akZBfnMj513U7MZaHKzQrmsEx5aE3wdWKTrHBhbjF")
221+
222+let neutrinoContract = this
223+
224+let mathContract = addressFromStringValue(mathContractAddress)
225+
226+let nsbtStakingContract = addressFromStringValue(nsbtStakingContractStr)
227+
228+let currentPrice = getNumberByAddressAndKey(controlContract, PriceKey)
229+
230+func checkIsValidMinSponsoredFee (tx) = {
231+ let MINTRANSFERFEE = 100000
232+ let SponsoredFeeUpperBound = 1000
233+ let realNeutrinoFee = convertWavesToNeutrino(MINTRANSFERFEE, currentPrice)
234+ let minNeutrinoFee = (realNeutrinoFee * 2)
235+ let maxNeutrinoFee = fraction(realNeutrinoFee, SponsoredFeeUpperBound, 100)
236+ let inputFee = value(tx.minSponsoredAssetFee)
237+ if (if ((inputFee >= minNeutrinoFee))
238+ then (maxNeutrinoFee >= inputFee)
239+ else false)
240+ then (tx.assetId == neutrinoAssetId)
241+ else false
242+ }
243+
244+
245+func getPriceHistory (block) = getNumberByAddressAndKey(controlContract, getPriceHistoryKey(block))
246+
247+
248+func getHeightPriceByIndex (index) = getNumberByAddressAndKey(controlContract, getHeightPriceByIndexKey(index))
249+
250+
251+func keyLockParamUserAmount (userAddress) = makeString(["%s%s%s", "paramByUser", userAddress, "amount"], SEP)
252+
253+
254+let sIdxSwapType = 1
255+
256+let sIdxStatus = 2
257+
258+let sIdxInAmount = 3
259+
260+let sIdxPrice = 4
261+
262+let sIdxOutNetAmount = 5
263+
264+let sIdxOutFeeAmount = 6
265+
266+let sIdxStartHeight = 7
267+
268+let sIdxStartTimestamp = 8
269+
270+let sIdxEndHeight = 9
271+
272+let sIdxEndTimestamp = 10
273+
274+let sIdxSelfUnlockHeight = 11
275+
276+let sIdxRandUnlockHeight = 12
277+
278+let sIdxIndex = 13
279+
280+let sIdxWithdrawTxId = 14
281+
282+let sIdxMinRand = 15
283+
284+let sIdxMaxRand = 16
285+
286+func swapKEY (userAddress,txId) = makeString(["%s%s", userAddress, txId], SEP)
287+
288+
289+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)
290+
291+
292+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")
293+
294+
295+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])
296+
297+
298+func swapDataFailOrREAD (userAddress,swapTxId) = {
299+ let swapKey = swapKEY(userAddress, swapTxId)
300+ split(valueOrErrorMessage(getString(this, swapKey), ("no swap data for " + swapKey)), SEP)
301+ }
302+
303+
304+func applyFees (amountGross,feePart) = {
305+ let feeAmount = fraction(amountGross, feePart, PAULI)
306+[(amountGross - feeAmount), feeAmount, amountGross]
307+ }
308+
309+
310+func abs (x) = if ((0 > x))
311+ then -(x)
312+ else x
313+
314+
315+func selectNode (unleaseAmount) = {
316+ let amountToLease = ((wavesBalance(neutrinoContract).available - unleaseAmount) - getReservedAmountForSponsorship())
317+ let oldLeased0 = getNumberByKey(getLeaseAmountKey(0))
318+ let oldLeased1 = getNumberByKey(getLeaseAmountKey(1))
319+ let newLeased0 = (amountToLease + oldLeased0)
320+ let newLeased1 = (amountToLease + oldLeased1)
321+ if (if ((newLeased0 > 0))
322+ then true
323+ else (newLeased1 > 0))
324+ then {
325+ let delta0 = abs((newLeased0 - oldLeased1))
326+ let delta1 = abs((newLeased1 - oldLeased0))
327+ if ((delta1 >= delta0))
328+ then $Tuple2(0, newLeased0)
329+ else $Tuple2(1, newLeased1)
330+ }
331+ else $Tuple2(-1, 0)
332+ }
333+
334+
335+func thisOnly (i) = if ((i.caller != this))
336+ then throw("Permission denied: this contract only allowed")
337+ else true
338+
339+
340+func prepareUnleaseAndLease (unleaseAmount) = {
341+ let nodeTuple = selectNode(unleaseAmount)
342+ let nodeIndex = nodeTuple._1
343+ let newLeaseAmount = nodeTuple._2
344+ if ((newLeaseAmount > 0))
345+ then {
346+ let leaseIdKey = getLeaseIdKey(nodeIndex)
347+ let oldLease = getBinary(this, leaseIdKey)
348+ let unleaseOrEmpty = if (isDefined(oldLease))
349+ then [LeaseCancel(value(oldLease))]
350+ else nil
351+ let leaseAmountKey = getLeaseAmountKey(nodeIndex)
352+ let lease = Lease(getStakingNodeAddressByIndex(nodeIndex), newLeaseAmount)
353+ (unleaseOrEmpty ++ [lease, BinaryEntry(leaseIdKey, calculateLeaseId(lease)), IntegerEntry(getLeaseAmountKey(nodeIndex), newLeaseAmount)])
354+ }
355+ else nil
356+ }
357+
358+
359+func commonWithdraw (account,index,swapTxId,i) = {
360+ let userAddress = addressFromStringValue(account)
361+ let feeManagerAddress = feeManagerAddressREAD()
362+ let dataArray = swapDataFailOrREAD(account, swapTxId)
363+ let selfUnlockHeight = parseIntValue(dataArray[sIdxSelfUnlockHeight])
364+ let swapType = dataArray[sIdxSwapType]
365+ let inAmount = parseIntValue(dataArray[sIdxInAmount])
366+ let swapStatus = dataArray[sIdxStatus]
367+ let startHeight = parseIntValue(dataArray[sIdxStartHeight])
368+ let outFeePart = valueOrElse(getInteger(this, outFeePartKEY(swapType)), DEFAULTSWAPFEE)
369+ let totalLocked = totalLockedREAD(swapType)
370+ let totalLockedByUser = totalLockedByUserREAD(swapType, account)
371+ let unlockHeight = (startHeight + getIntegerValue(this, balanceLockIntervalKEY(swapType)))
372+ let indexHeight = getHeightPriceByIndex(index)
373+ let prevIndexHeight = getHeightPriceByIndex((index - 1))
374+ let priceByIndex = getPriceHistory(indexHeight)
375+ let outAmountGrossTuple = if ((swapType == "waves"))
376+ then $Tuple2(convertWavesToNeutrino(inAmount, priceByIndex), neutrinoAssetId)
377+ else if ((swapType == "neutrino"))
378+ then $Tuple2(convertNeutrinoToWaves(inAmount, priceByIndex), unit)
379+ else throw(("Unsupported swap type " + swapType))
380+ let payoutsArray = applyFees(outAmountGrossTuple._1, outFeePart)
381+ let outNetAmount = payoutsArray[IdxNetAmount]
382+ let outFeeAmount = payoutsArray[IdxFeeAmount]
383+ if (isBlocked)
384+ then emergencyShutdownFAIL()
385+ else if ((swapStatus != "PENDING"))
386+ then throw("swap has been already processed")
387+ else if ((unlockHeight > height))
388+ then throw((("please wait for: " + toString(unlockHeight)) + " block height to withdraw funds"))
389+ else if (if (if ((index > priceIndex))
390+ then true
391+ else (unlockHeight > indexHeight))
392+ then true
393+ else if ((prevIndexHeight != 0))
394+ then (prevIndexHeight >= unlockHeight)
395+ else false)
396+ then priceIndexFAIL(index, priceIndex, indexHeight, unlockHeight, prevIndexHeight)
397+ else if ((0 >= payoutsArray[IdxGrossAmount]))
398+ then throw("balance equals zero")
399+ else if (if ((0 > outFeePart))
400+ then true
401+ else (outFeePart >= PAULI))
402+ then throw(((("invalid outFeePart config for " + swapType) + " swap: outFeePart=") + toString(outFeePart)))
403+ else {
404+ let leasePart = if (if ((swapType == "neutrino"))
405+ then (outAmountGrossTuple._1 > 0)
406+ else false)
407+ then prepareUnleaseAndLease(outAmountGrossTuple._1)
408+ else nil
409+ $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)
410+ }
411+ }
412+
413+
414+@Callable(i)
415+func constructor (neutrinoAssetIdPrm,bondAssetIdPrm,auctionContractPrm,liquidationContractPrm,rpdContractPrm,nodeOracleProviderPubKeyPrm,balanceWavesLockIntervalPrm,balanceNeutrinoLockIntervalPrm,minWavesSwapAmountPrm,minNeutrinoSwapAmountPrm,neutrinoOutFeePartPrm,wavesOutFeePartPrm) = {
416+ let checkCaller = thisOnly(i)
417+ if ((checkCaller == checkCaller))
418+ 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)]
419+ else throw("Strict value is not equal to itself.")
420+ }
421+
422+
423+
424+@Callable(i)
425+func constructorV2 (mathContract,nsbtStakingContract,swapsTimeframeBlocks) = {
426+ let checkCaller = thisOnly(i)
427+ if ((checkCaller == checkCaller))
428+ then [StringEntry(MathContractKey, mathContract), StringEntry(NsbtStakingContractKey, nsbtStakingContract), IntegerEntry(swapsTimeframeKEY(), swapsTimeframeBlocks)]
429+ else throw("Strict value is not equal to itself.")
430+ }
431+
432+
433+
434+@Callable(i)
435+func commonSwap (swapType,pmtAmount,userAddressStr,txId58) = {
436+ let checkThisOriginCaller = if ((i.caller != this))
437+ then throw("Permission denied. Wrong caller.")
438+ else true
439+ if ((checkThisOriginCaller == checkThisOriginCaller))
440+ then {
441+ let checkCaller = if ((i.originCaller != addressFromStringValue(userAddressStr)))
442+ then throw("Permission denied. Wrong origin caller.")
443+ else true
444+ if ((checkCaller == checkCaller))
445+ then {
446+ let minSwapAmount = minSwapAmountREAD(swapType)
447+ let totalLocked = totalLockedREAD(swapType)
448+ let totalLockedByUser = totalLockedByUserREAD(swapType, userAddressStr)
449+ let nodeAddress = getStakingNodeByIndex(0)
450+ let balanceLockMaxInterval = if ((nodeAddress == userAddressStr))
451+ then nodeBalanceLockIntervalREAD()
452+ else balanceLockIntervalREAD(swapType)
453+ let selfUnlockHeight = (height + balanceLockMaxInterval)
454+ let amountCheck = if ((minSwapAmount > pmtAmount))
455+ then minSwapAmountFAIL(swapType, minSwapAmount)
456+ else true
457+ if ((amountCheck == amountCheck))
458+ then {
459+ let lastSwapHeight = getNumberByKey(keyUserLastQuickSwapHeight(userAddressStr))
460+ let swapsTimeframeBlocks = swapsTimeframeREAD()
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(this, "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+ }
482+ }
483+ else throw("Strict value is not equal to itself.")
484+ }
485+ }
486+ else throw("Strict value is not equal to itself.")
487+ }
488+ else throw("Strict value is not equal to itself.")
489+ }
490+ else throw("Strict value is not equal to itself.")
491+ }
492+
493+
494+
495+@Callable(i)
496+func swapWavesToNeutrino () = {
497+ let pmt = value(i.payments[0])
498+ if (isDefined(pmt.assetId))
499+ then throw("Only Waves token is allowed for swapping.")
500+ else {
501+ let userAddress = toString(i.caller)
502+ let txId58 = toBase58String(i.transactionId)
503+ let commonSwapInv = invoke(this, "commonSwap", ["waves", pmt.amount, userAddress, txId58], nil)
504+ if ((commonSwapInv == commonSwapInv))
505+ then nil
506+ else throw("Strict value is not equal to itself.")
507+ }
508+ }
509+
510+
511+
512+@Callable(i)
513+func swapNeutrinoToWaves () = {
514+ let pmt = value(i.payments[0])
515+ if ((pmt.assetId != neutrinoAssetId))
516+ then throw("Only appropriate Neutrino tokens are allowed for swapping.")
517+ else {
518+ let userAddress = toString(i.caller)
519+ let txId58 = toBase58String(i.transactionId)
520+ let commonSwapInv = invoke(this, "commonSwap", ["neutrino", pmt.amount, userAddress, txId58], nil)
521+ if ((commonSwapInv == commonSwapInv))
522+ then nil
523+ else throw("Strict value is not equal to itself.")
524+ }
525+ }
526+
527+
528+
529+@Callable(i)
530+func withdraw (account,index,swapTxId) = commonWithdraw(account, index, swapTxId, i)
531+
532+
533+
534+@Callable(i)
535+func transferToAuction () = {
536+ let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsMATH", nil, nil))
537+ let reserve = asInt(neutrinoMetrics[3])
538+ let neutrinoSupply = asInt(neutrinoMetrics[5])
539+ let surplus = asInt(neutrinoMetrics[6])
540+ let nsbtSupply = asInt(neutrinoMetrics[9])
541+ let auctionNBAmount = (neutrinoSupply - assetBalance(addressFromStringValue(auctionContract), bondAssetId))
542+ let surplusWithLiquidation = (surplus - assetBalance(addressFromStringValue(liquidationContract), neutrinoAssetId))
543+ if (isBlocked)
544+ then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
545+ else if ((auctionNBAmount > (1 * PAULI)))
546+ then [ScriptTransfer(addressFromStringValue(auctionContract), auctionNBAmount, bondAssetId)]
547+ else if ((surplusWithLiquidation >= (1 * PAULI)))
548+ then [ScriptTransfer(addressFromStringValue(liquidationContract), surplusWithLiquidation, neutrinoAssetId)]
549+ else throw(((((((("bond were generated or do not need it. Deficit:" + toString(auctionNBAmount)) + "|") + toString(0)) + ". Surplus:") + toString(surplusWithLiquidation)) + "|") + toString(surplus)))
550+ }
551+
552+
553+
554+@Callable(i)
555+func acceptWaves () = if ((i.caller != addressFromStringValue(auctionContract)))
556+ then throw("Currently only auction contract is allowed to call")
557+ else $Tuple2(prepareUnleaseAndLease(0), "success")
558+
559+
560+@Verifier(tx)
561+func verify () = {
562+ let id = toBase58String(tx.id)
563+ let count = ((((if (sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(pubKeyAdminsList[0])))
564+ then 1
565+ else 0) + (if (sigVerify(tx.bodyBytes, tx.proofs[1], fromBase58String(pubKeyAdminsList[1])))
566+ then 1
567+ else 0)) + (if (sigVerify(tx.bodyBytes, tx.proofs[2], fromBase58String(pubKeyAdminsList[2])))
568+ then 1
569+ else 0)) + (if (sigVerify(tx.bodyBytes, tx.proofs[3], fromBase58String(pubKeyAdminsList[3])))
570+ then 2
571+ else 0))
572+ match tx {
573+ case sponsorTx: SponsorFeeTransaction =>
574+ if (checkIsValidMinSponsoredFee(sponsorTx))
575+ then (count >= 3)
576+ else false
577+ case _ =>
578+ (count >= 3)
579+ }
580+ }
581+

github/deemru/w8io/026f985 
32.35 ms