tx · 4zkExx7vdfbtRfBnrQkXMnPtn7C2z8h6chnnRkVzKhJ7

3NCA6eJqXwKqNERWqdL2JM2rWgKCJsUEPL7:  -0.01000000 Waves

2022.03.09 23:14 [1956883] smart account 3NCA6eJqXwKqNERWqdL2JM2rWgKCJsUEPL7 > SELF 0.00000000 Waves

{ "type": 13, "id": "4zkExx7vdfbtRfBnrQkXMnPtn7C2z8h6chnnRkVzKhJ7", "fee": 1000000, "feeAssetId": null, "timestamp": 1646856923340, "version": 1, "sender": "3NCA6eJqXwKqNERWqdL2JM2rWgKCJsUEPL7", "senderPublicKey": "2q8ahLNx2RgMuZgXYPrmH6qkBgjua1efjcDTYzK3crm8", "proofs": [ "Sca415wvzVZc8Xvc6gzXJtHqkU2P51gMQ9Xwt68sUFktNzvMGg8t78SErkgx6qVJzs98jdAYfajk7Mw1mHjwfck" ], "script": "base64:AAIFAAAAAAAAADoIAhIOCgwICAgICAgBAQEBAQESBQoDCAgBEgYKBAgBCAgSABIAEgUKAwgBCBIAEgQKAgEIEgASABIAAAAAdAEAAAAOZ2V0TnVtYmVyQnlLZXkAAAABAAAAA2tleQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkAAAAAAAAAAAABAAAADmdldFN0cmluZ0J5S2V5AAAAAQAAAANrZXkJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AgAAAAABAAAADGdldEJvb2xCeUtleQAAAAEAAAADa2V5CQEAAAALdmFsdWVPckVsc2UAAAACCQAEGwAAAAIFAAAABHRoaXMFAAAAA2tleQcBAAAAGGdldE51bWJlckJ5QWRkcmVzc0FuZEtleQAAAAIAAAAHYWRkcmVzcwAAAANrZXkJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQaAAAAAgkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQUAAAAHYWRkcmVzcwUAAAADa2V5AAAAAAAAAAAAAQA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original | compacted Prev: none Next: none 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 = ["HoZEYwQyFet1pQuMWbrMSNF7MqKNCmkohxxzgcZjgsV6", "3P9MhAUdwCE5SbhEKUEyXHH6SEt9amsyKqxFGwaUHhtW", "GGE8PBjBrAXFqXRf36JoegYrfKAR2d3RTdkwWPADJRfQ", "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("C1pqApsbZgt9yTPkjfzoDTWmJkgYWAMrNwVPqcjnHMzb")
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(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+ }
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 transferUsdnToUser (amount,addr) = if ((i.caller != addressFromStringValue(auctionContract)))
556+ then throw("Only auction contract is authorized")
557+ else [ScriptTransfer(addressFromStringValue(addr), amount, neutrinoAssetId)]
558+
559+
560+
561+@Callable(i)
562+func acceptWaves () = if ((i.caller != addressFromStringValue(auctionContract)))
563+ then throw("Currently only auction contract is allowed to call")
564+ else $Tuple2(prepareUnleaseAndLease(0), "success")
565+
566+
567+
568+@Callable(i)
569+func updateReservesAndNeutrinoSupply () = {
570+ func getNumberByKeyInternal (key) = match getInteger(this, key) {
571+ case a: Int =>
572+ a
573+ case _ =>
574+ 0
575+ }
576+
577+ let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsMATH", nil, nil))
578+ let idx = getNumberByKeyInternal("updateReservesAndNeutrinoSupplyIdx")
579+ let newIdx = (idx + 1)
580+[IntegerEntry("updateReservesAndNeutrinoSupplyIdx", newIdx), IntegerEntry("reserve", asInt(neutrinoMetrics[3])), IntegerEntry("neutrinoSupply", asInt(neutrinoMetrics[5])), IntegerEntry("reservesInUsdn", convertWavesToNeutrino(asInt(neutrinoMetrics[3]), asInt(neutrinoMetrics[0]))), IntegerEntry("surplus", asInt(neutrinoMetrics[6])), IntegerEntry("deficit", -(asInt(neutrinoMetrics[6])))]
581+ }
582+
583+
584+
585+@Callable(i)
586+func wavesBalancesVsPayment () = {
587+ let balance = wavesBalance(this)
588+[IntegerEntry("wavesBalance_available", balance.available), IntegerEntry("wavesBalance_regular", balance.regular), IntegerEntry("wavesBalance_generating", balance.generating), IntegerEntry("wavesBalance_effective", balance.effective), IntegerEntry("waves_payment", value(i.payments[0]).amount)]
589+ }
590+
591+
592+@Verifier(tx)
593+func verify () = {
594+ let id = toBase58String(tx.id)
595+ let count = ((((if (sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(pubKeyAdminsList[0])))
596+ then 1
597+ else 0) + (if (sigVerify(tx.bodyBytes, tx.proofs[1], fromBase58String(pubKeyAdminsList[1])))
598+ then 1
599+ else 0)) + (if (sigVerify(tx.bodyBytes, tx.proofs[2], fromBase58String(pubKeyAdminsList[2])))
600+ then 1
601+ else 0)) + (if (sigVerify(tx.bodyBytes, tx.proofs[3], fromBase58String(pubKeyAdminsList[3])))
602+ then 2
603+ else 0))
604+ match tx {
605+ case sponsorTx: SponsorFeeTransaction =>
606+ if (checkIsValidMinSponsoredFee(sponsorTx))
607+ then (count >= 3)
608+ else false
609+ case _ =>
610+ (count >= 3)
611+ }
612+ }
613+

github/deemru/w8io/026f985 
42.25 ms