tx · FtDNSChYhtAPm16gApha11hdpHjD7oyD4GUyieiUry2c

3N9be2mwrA52WJho6DiesZkk4351GvpnWuj:  -0.03400000 Waves

2022.06.24 19:28 [2110741] smart account 3N9be2mwrA52WJho6DiesZkk4351GvpnWuj > SELF 0.00000000 Waves

{ "type": 13, "id": "FtDNSChYhtAPm16gApha11hdpHjD7oyD4GUyieiUry2c", "fee": 3400000, "feeAssetId": null, "timestamp": 1656088110106, "version": 1, "sender": "3N9be2mwrA52WJho6DiesZkk4351GvpnWuj", "senderPublicKey": "6mzmbCza9iqbzxMEELcEA4Xc9NeF4CYpbTtz1zMK3C7x", "proofs": [ "346gA9V8yYw8q6tgz52Hf4jzGSkz2pX2nYRnAiiv4VfW8KwmsXt2DpYNuZ4nRXBSNQVqtKragMkiLwWhpn6Ev77", "o5wdBNRcCSonjyXvu2XfLbYc8dUcWgU1q4cVmzDZyuJrWCLwR7EPtrxE2mNJkd7VhfiUNEVAKce4eAYFwbpaBfo", "3cW7jHfG5d5YC5H4QtQmYzkdAn4uJXGrYUf5QuaEth12cYYSHZNfCvFE7irePkoAax3TNyoXCi24s5mRQFWHAsgf" ], "script": "base64:AAIFAAAAAAAAAD0IAhIOCgwICAgICAgBAQEBAQESBQoDCAgBEgASABIFCgMIAQgSAwoBARIECgIBCBIAEgQKAggBEgQKAggBAAAAfQEAAAAPZ2V0U3RyaW5nT3JGYWlsAAAAAgAAAAdhZGRyZXNzAAAAA2tleQkBAAAAE3ZhbHVlT3JFcnJvck1lc3NhZ2UAAAACCQAEHQAAAAIFAAAAB2FkZHJlc3MFAAAAA2tleQkAASwAAAACCQABLAAAAAICAAAAD01hbmRhdG9yeSB0aGlzLgUAAAADa2V5AgAAAA8gaXMgbm90IGRlZmluZWQBAAAABWxjYWxjAAAAAQAAAAFsCQAEOQAAAAEFAAAAAWwBAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQaAAAAAgUAAAAEd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741, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HrYmWNzyHft45jNm2oSb2azkTdfvvAQAeqHWKtjwUW8k Next: DQM4mvP7FFZoA2cn95LkxyXeVAB24StMsnEUx41mLtgK Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4+func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), (("Mandatory this." + key) + " is not defined"))
5+
6+
7+func lcalc (l) = calculateLeaseId(l)
8+
9+
410 func getNumberByKey (key) = valueOrElse(getInteger(this, key), 0)
511
612
1925 func getBoolByAddressAndKey (address,key) = valueOrElse(getBoolean(addressFromStringValue(address), key), false)
2026
2127
22-func asAnyList (val) = match val {
23- case valAnyLyst: List[Any] =>
24- valAnyLyst
28+func asAnyList (v) = match v {
29+ case l: List[Any] =>
30+ l
2531 case _ =>
2632 throw("fail to cast into List[Any]")
2733 }
2834
2935
30-func asString (val) = match val {
31- case valStr: String =>
32- valStr
36+func asString (v) = match v {
37+ case s: String =>
38+ s
3339 case _ =>
3440 throw("fail to cast into String")
3541 }
3642
3743
38-func asInt (val) = match val {
39- case valInt: Int =>
40- valInt
44+func asInt (v) = match v {
45+ case i: Int =>
46+ i
4147 case _ =>
4248 throw("fail to cast into Int")
4349 }
4450
4551
46-func asSwapParamsSTRUCT (val) = match val {
52+func asPayment (v) = match v {
53+ case p: AttachedPayment =>
54+ p
55+ case _ =>
56+ throw("fail to cast into AttachedPayment")
57+}
58+
59+
60+func asSwapParamsSTRUCT (v) = match v {
4761 case struct: (Int, Int, Int, Int, Int) =>
4862 struct
4963 case _ =>
101115
102116 let FeesManagerAddressKey = "fees_manager_address"
103117
118+func keyNodeRegistry (address) = ("%s__" + address)
119+
120+
104121 let PriceKey = "price"
105122
106123 let PriceIndexKey = "price_index"
128145 func getLeaseIdKey (nodeIndex) = makeString(["%s%d%s", "lease", toString(nodeIndex), "id"], SEP)
129146
130147
148+func getLeaseIdByAddressKey (nodeAddress) = makeString(["%s%s%s", "leaseByAddress", nodeAddress, "id"], SEP)
149+
150+
131151 func getLeaseAmountKey (nodeIndex) = makeString(["%s%d%s", "lease", toString(nodeIndex), "amount"], SEP)
152+
153+
154+func getLeaseAmountByAddressKey (nodeAddress) = makeString(["%s%s%s", "leaseByAddress", nodeAddress, "amount"], SEP)
155+
156+
157+func getLeaseGroupNodeListKey (groupNum) = makeString(["%s%d%s", "leaseGroup", toString(groupNum), "nodeList"], SEP)
132158
133159
134160 func minSwapAmountKEY (swapType) = (("min_" + swapType) + "_swap_amount")
355381 else nil
356382 let leaseAmountKey = getLeaseAmountKey(nodeIndex)
357383 let lease = Lease(getStakingNodeAddressByIndex(nodeIndex), newLeaseAmount)
358- (unleaseOrEmpty ++ [lease, BinaryEntry(leaseIdKey, calculateLeaseId(lease)), IntegerEntry(getLeaseAmountKey(nodeIndex), newLeaseAmount)])
384+ (unleaseOrEmpty ++ [lease, BinaryEntry(leaseIdKey, lcalc(lease)), IntegerEntry(getLeaseAmountKey(nodeIndex), newLeaseAmount)])
359385 }
360386 else nil
361387 }
362388
363389
390+func readNodeInfo (nodeIdx) = {
391+ let nodeAddress = getStakingNodeAddressByIndex(nodeIdx)
392+ let leasedAmtKEY = getLeaseAmountKey(nodeIdx)
393+ let leasedAmt = getNumberByKey(leasedAmtKEY)
394+ let leaseIdKEY = getLeaseIdKey(nodeIdx)
395+ let leaseId = value(getBinary(this, leaseIdKEY))
396+ $Tuple5(nodeAddress, leasedAmtKEY, leasedAmt, leaseIdKEY, leaseId)
397+ }
398+
399+
364400 func commonSwap (swapType,pmtAmount,userAddressStr,txId58,swapParamsByUserSYSREADONLY) = {
365- let $t01560515685 = swapParamsByUserSYSREADONLY
366- let swapLimitMax = $t01560515685._1
367- let swapLimitSpent = $t01560515685._2
368- let blcks2LmtReset = $t01560515685._3
401+ let $t01675916839 = swapParamsByUserSYSREADONLY
402+ let swapLimitMax = $t01675916839._1
403+ let swapLimitSpent = $t01675916839._2
404+ let blcks2LmtReset = $t01675916839._3
369405 let minSwapAmount = minSwapAmountREAD(swapType)
370406 let totalLocked = totalLockedREAD(swapType)
371407 let totalLockedByUser = totalLockedByUserREAD(swapType, userAddressStr)
412448 let outFeePart = valueOrElse(getInteger(this, outFeePartKEY(swapType)), DEFAULTSWAPFEE)
413449 let totalLocked = totalLockedREAD(swapType)
414450 let totalLockedByUser = totalLockedByUserREAD(swapType, account)
415- let unlockHeight = (startHeight + getIntegerValue(this, balanceLockIntervalKEY(swapType)))
451+ let unlockHeight = selfUnlockHeight
416452 let indexHeight = getHeightPriceByIndex(index)
417453 let prevIndexHeight = getHeightPriceByIndex((index - 1))
418454 let priceByIndex = getPriceHistory(indexHeight)
445481 else (outFeePart >= PAULI))
446482 then throw(((("invalid outFeePart config for " + swapType) + " swap: outFeePart=") + toString(outFeePart)))
447483 else {
448- let leasePart = if (if ((swapType == "neutrino"))
484+ let unleaseAmount = if (if ((swapType == "neutrino"))
449485 then (outAmountGrossTuple._1 > 0)
450486 else false)
451- then prepareUnleaseAndLease(outAmountGrossTuple._1)
452- else nil
453- let state = (leasePart ++ [IntegerEntry(totalLockedByUserKEY(swapType, account), (totalLockedByUser - inAmount)), IntegerEntry(totalLockedKEY(swapType), (totalLocked - inAmount)), ScriptTransfer(userAddress, outNetAmount, outAmountGrossTuple._2), StringEntry(swapKEY(account, swapTxId), finishSwapDATA(dataArray, priceByIndex, outNetAmount, outFeeAmount, unlockHeight, index, withdrawTxId))])
454- $Tuple2(state, AttachedPayment(outAmountGrossTuple._2, outFeeAmount))
487+ then outAmountGrossTuple._1
488+ else 0
489+ let state = [IntegerEntry(totalLockedByUserKEY(swapType, account), (totalLockedByUser - inAmount)), IntegerEntry(totalLockedKEY(swapType), (totalLocked - inAmount)), ScriptTransfer(userAddress, outNetAmount, outAmountGrossTuple._2), StringEntry(swapKEY(account, swapTxId), finishSwapDATA(dataArray, priceByIndex, outNetAmount, outFeeAmount, unlockHeight, index, withdrawTxId))]
490+ $Tuple3(state, AttachedPayment(outAmountGrossTuple._2, outFeeAmount), unleaseAmount)
455491 }
456492 }
457493
517553
518554
519555 @Callable(i)
520-func withdraw (account,index,swapTxId) = if ((size(i.payments) != 0))
521- then throw("no payments allowed")
522- else {
523- let $t02418624290 = commonWithdraw(account, index, swapTxId, toBase58String(i.transactionId))
524- let state = $t02418624290._1
525- let depositPayment = $t02418624290._2
526- let nsbtStakingDeposit = invoke(nsbtStakingContract, "deposit", nil, [depositPayment])
527- if ((nsbtStakingDeposit == nsbtStakingDeposit))
528- then state
529- else throw("Strict value is not equal to itself.")
530- }
556+func withdraw (account,index,swapTxId) = {
557+ let txId = toBase58String(i.transactionId)
558+ if ((size(i.payments) != 0))
559+ then throw("no payments allowed")
560+ else {
561+ let commonTuple = commonWithdraw(account, index, swapTxId, txId)
562+ let state = commonTuple._1
563+ let fee = commonTuple._2
564+ let unleaseAmt = commonTuple._3
565+ let unleaseInvOrEmpty = invoke(this, "internalUnleaseAndLease", [unleaseAmt], nil)
566+ if ((unleaseInvOrEmpty == unleaseInvOrEmpty))
567+ then if ((0 >= fee.amount))
568+ then state
569+ else {
570+ let nsbtStakingReward = invoke(nsbtStakingContract, "deposit", nil, [fee])
571+ if ((nsbtStakingReward == nsbtStakingReward))
572+ then state
573+ else throw("Strict value is not equal to itself.")
574+ }
575+ else throw("Strict value is not equal to itself.")
576+ }
577+ }
531578
532579
533580
534581 @Callable(i)
535-func transferToAuction () = if ((size(i.payments) != 0))
536- then throw("no payments allowed")
537- else {
538- let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil))
539- let reserve = asInt(neutrinoMetrics[3])
540- let neutrinoSupply = asInt(neutrinoMetrics[5])
541- let surplus = asInt(neutrinoMetrics[6])
542- let nsbtSupply = asInt(neutrinoMetrics[9])
543- let auctionNBAmount = (neutrinoSupply - assetBalance(addressFromStringValue(auctionContract), bondAssetId))
544- let surplusWithLiquidation = (surplus - assetBalance(addressFromStringValue(liquidationContract), neutrinoAssetId))
545- if (isBlocked)
546- then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
547- else if ((auctionNBAmount > (1 * PAULI)))
548- then [ScriptTransfer(addressFromStringValue(auctionContract), auctionNBAmount, bondAssetId)]
549- else if ((surplusWithLiquidation >= (1 * PAULI)))
550- then [ScriptTransfer(addressFromStringValue(liquidationContract), surplusWithLiquidation, neutrinoAssetId)]
551- else throw(((((((("bond were generated or do not need it. Deficit:" + toString(auctionNBAmount)) + "|") + toString(0)) + ". Surplus:") + toString(surplusWithLiquidation)) + "|") + toString(surplus)))
552- }
582+func internalUnleaseAndLease (unleaseAmount) = if ((i.caller != this))
583+ then throw("internalUnleaseAndLease is not public method")
584+ else prepareUnleaseAndLease(unleaseAmount)
553585
554586
555587
564596 func acceptWaves () = if ((i.caller != addressFromStringValue(auctionContract)))
565597 then throw("Currently only auction contract is allowed to call")
566598 else $Tuple2(prepareUnleaseAndLease(0), "success")
599+
600+
601+
602+@Callable(i)
603+func approveLeasings (nListS,groupNum) = {
604+ let lAmt = (500000 * WAVELET)
605+ let nIdxs = [0, 1, 2, 3, 4, 5, 6, 7]
606+ let mngPubS = valueOrElse(getString("%s%s__cfg__leasingManagerPub"), "7AUMX54ukYMYvPmma7yoFf5NjZhs4Bu5nz3Ez9EV8sur")
607+ let mngPub = fromBase58String(mngPubS)
608+ let nodeRegAddrStr = valueOrElse(getString("%s%s__cfg__nodesRegistryAddress"), "3P9vKqQKjUdmpXAfiWau8krREYAY1Xr69pE")
609+ let nodeRegAddr = addressFromStringValue(nodeRegAddrStr)
610+ let lGroupNodeListKEY = getLeaseGroupNodeListKey(groupNum)
611+ let lGrNodeOpt = getString(this, lGroupNodeListKEY)
612+ if (isDefined(lGrNodeOpt))
613+ then throw((("group " + toString(groupNum)) + " already initialized"))
614+ else {
615+ let nList = split(nListS, SEP)
616+ let expCount = size(nIdxs)
617+ if ((i.callerPublicKey != mngPub))
618+ then throw("approveLeasings not authorized")
619+ else {
620+ let $t02735227414 = readNodeInfo(0)
621+ let nAddr0 = $t02735227414._1
622+ let lAmtKEY0 = $t02735227414._2
623+ let lAmt0 = $t02735227414._3
624+ let lIdKEY0 = $t02735227414._4
625+ let lId0 = $t02735227414._5
626+ let $t02741727479 = readNodeInfo(1)
627+ let nAddr1 = $t02741727479._1
628+ let lAmtKEY1 = $t02741727479._2
629+ let lAmt1 = $t02741727479._3
630+ let lIdKEY1 = $t02741727479._4
631+ let lId1 = $t02741727479._5
632+ let newL0 = Lease(nAddr0, (lAmt0 - ((lAmt * expCount) / 2)))
633+ let newL1 = Lease(nAddr1, (lAmt1 - ((lAmt * expCount) / 2)))
634+ let validation = invoke(nodeRegAddr, "validateAndApproveLeasings", [nListS], nil)
635+ if ((validation == validation))
636+ then {
637+ func forEachNodeValidateAndGenerateLease (a,i) = {
638+ let node = nList[i]
639+ let la = Lease(addressFromStringValue(node), lAmt)
640+ (a ++ [la, BinaryEntry(getLeaseIdByAddressKey(node), lcalc(la)), IntegerEntry(getLeaseAmountByAddressKey(node), lAmt)])
641+ }
642+
643+ ([StringEntry(lGroupNodeListKEY, nListS), BinaryEntry(lIdKEY0, lcalc(newL0)), BinaryEntry(lIdKEY1, lcalc(newL1)), IntegerEntry(lAmtKEY0, newL0.amount), IntegerEntry(lAmtKEY1, newL1.amount), LeaseCancel(lId0), LeaseCancel(lId1), newL0, newL1] ++ {
644+ let $l = nIdxs
645+ let $s = size($l)
646+ let $acc0 = nil
647+ func $f0_1 ($a,$i) = if (($i >= $s))
648+ then $a
649+ else forEachNodeValidateAndGenerateLease($a, $l[$i])
650+
651+ func $f0_2 ($a,$i) = if (($i >= $s))
652+ then $a
653+ else throw("List size exceeds 8")
654+
655+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8)
656+ })
657+ }
658+ else throw("Strict value is not equal to itself.")
659+ }
660+ }
661+ }
567662
568663
569664
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4+func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), (("Mandatory this." + key) + " is not defined"))
5+
6+
7+func lcalc (l) = calculateLeaseId(l)
8+
9+
410 func getNumberByKey (key) = valueOrElse(getInteger(this, key), 0)
511
612
713 func getStringByKey (key) = valueOrElse(getString(this, key), "")
814
915
1016 func getBoolByKey (key) = valueOrElse(getBoolean(this, key), false)
1117
1218
1319 func getNumberByAddressAndKey (address,key) = valueOrElse(getInteger(addressFromStringValue(address), key), 0)
1420
1521
1622 func getStringByAddressAndKey (address,key) = valueOrElse(getString(addressFromStringValue(address), key), "")
1723
1824
1925 func getBoolByAddressAndKey (address,key) = valueOrElse(getBoolean(addressFromStringValue(address), key), false)
2026
2127
22-func asAnyList (val) = match val {
23- case valAnyLyst: List[Any] =>
24- valAnyLyst
28+func asAnyList (v) = match v {
29+ case l: List[Any] =>
30+ l
2531 case _ =>
2632 throw("fail to cast into List[Any]")
2733 }
2834
2935
30-func asString (val) = match val {
31- case valStr: String =>
32- valStr
36+func asString (v) = match v {
37+ case s: String =>
38+ s
3339 case _ =>
3440 throw("fail to cast into String")
3541 }
3642
3743
38-func asInt (val) = match val {
39- case valInt: Int =>
40- valInt
44+func asInt (v) = match v {
45+ case i: Int =>
46+ i
4147 case _ =>
4248 throw("fail to cast into Int")
4349 }
4450
4551
46-func asSwapParamsSTRUCT (val) = match val {
52+func asPayment (v) = match v {
53+ case p: AttachedPayment =>
54+ p
55+ case _ =>
56+ throw("fail to cast into AttachedPayment")
57+}
58+
59+
60+func asSwapParamsSTRUCT (v) = match v {
4761 case struct: (Int, Int, Int, Int, Int) =>
4862 struct
4963 case _ =>
5064 throw("fail to cast into Int")
5165 }
5266
5367
5468 let pubKeyAdminsList = ["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "5WRXFSjwcTbNfKcJs8ZqXmSSWYsSVJUtMvMqZj5hH4Nc"]
5569
5670 let SEP = "__"
5771
5872 let WAVELET = 100000000
5973
6074 let PAULI = 1000000
6175
6276 let PRICELET = 1000000
6377
6478 let DEFAULTSWAPFEE = 20000
6579
6680 let IdxNetAmount = 0
6781
6882 let IdxFeeAmount = 1
6983
7084 let IdxGrossAmount = 2
7185
7286 let NeutrinoAssetIdKey = "neutrino_asset_id"
7387
7488 let BondAssetIdKey = "bond_asset_id"
7589
7690 let AuctionContractKey = "auction_contract"
7791
7892 let NsbtStakingContractKey = "nsbtStakingContract"
7993
8094 let LiquidationContractKey = "liquidation_contract"
8195
8296 let RPDContractKey = "rpd_contract"
8397
8498 let ContolContractKey = "control_contract"
8599
86100 let MathContractKey = "math_contract"
87101
88102 let BalanceWavesLockIntervalKey = "balance_waves_lock_interval"
89103
90104 let BalanceNeutrinoLockIntervalKey = "balance_neutrino_lock_interval"
91105
92106 let MinWavesSwapAmountKey = "min_waves_swap_amount"
93107
94108 let MinNeutrinoSwapAmountKey = "min_neutrino_swap_amount"
95109
96110 let NodeOracleProviderPubKeyKey = "node_oracle_provider"
97111
98112 let NeutrinoOutFeePartKey = "neutrinoOut_swap_feePart"
99113
100114 let WavesOutFeePartKey = "wavesOut_swap_feePart"
101115
102116 let FeesManagerAddressKey = "fees_manager_address"
103117
118+func keyNodeRegistry (address) = ("%s__" + address)
119+
120+
104121 let PriceKey = "price"
105122
106123 let PriceIndexKey = "price_index"
107124
108125 let IsBlockedKey = "is_blocked"
109126
110127 func getPriceHistoryKey (block) = ((PriceKey + "_") + toString(block))
111128
112129
113130 func getHeightPriceByIndexKey (index) = ((PriceIndexKey + "_") + toString(index))
114131
115132
116133 func getStakingNodeByIndex (idx) = getStringByKey(makeString(["%s%d%s", "lease", toString(idx), "nodeAddress"], SEP))
117134
118135
119136 func getStakingNodeAddressByIndex (idx) = addressFromStringValue(getStakingNodeByIndex(idx))
120137
121138
122139 func getReservedAmountForSponsorship () = valueOrElse(getInteger(this, makeString(["%s%s", "lease", "sponsorshipWavesReserve"], SEP)), (1000 * WAVELET))
123140
124141
125142 func getBalanceUnlockBlockKey (owner) = ("balance_unlock_block_" + owner)
126143
127144
128145 func getLeaseIdKey (nodeIndex) = makeString(["%s%d%s", "lease", toString(nodeIndex), "id"], SEP)
129146
130147
148+func getLeaseIdByAddressKey (nodeAddress) = makeString(["%s%s%s", "leaseByAddress", nodeAddress, "id"], SEP)
149+
150+
131151 func getLeaseAmountKey (nodeIndex) = makeString(["%s%d%s", "lease", toString(nodeIndex), "amount"], SEP)
152+
153+
154+func getLeaseAmountByAddressKey (nodeAddress) = makeString(["%s%s%s", "leaseByAddress", nodeAddress, "amount"], SEP)
155+
156+
157+func getLeaseGroupNodeListKey (groupNum) = makeString(["%s%d%s", "leaseGroup", toString(groupNum), "nodeList"], SEP)
132158
133159
134160 func minSwapAmountKEY (swapType) = (("min_" + swapType) + "_swap_amount")
135161
136162
137163 func totalLockedKEY (swapType) = ("balance_lock_" + swapType)
138164
139165
140166 func totalLockedByUserKEY (swapType,owner) = makeString(["balance_lock", swapType, owner], "_")
141167
142168
143169 func balanceLockIntervalKEY (swapType) = (("balance_" + swapType) + "_lock_interval")
144170
145171
146172 func nodeBalanceLockIntervalKEY () = "balance_node_lock_interval"
147173
148174
149175 func outFeePartKEY (swapType) = (swapType + "Out_swap_feePart")
150176
151177
152178 func swapsTimeframeKEY () = "swaps_timeframe"
153179
154180
155181 func minSwapAmountREAD (swapType) = valueOrElse(getInteger(this, minSwapAmountKEY(swapType)), 0)
156182
157183
158184 func swapsTimeframeREAD () = valueOrElse(getInteger(this, swapsTimeframeKEY()), 1440)
159185
160186
161187 func totalLockedREAD (swapType) = valueOrElse(getInteger(this, totalLockedKEY(swapType)), 0)
162188
163189
164190 func totalLockedByUserREAD (swapType,owner) = valueOrElse(getInteger(this, totalLockedByUserKEY(swapType, owner)), 0)
165191
166192
167193 func balanceLockIntervalREAD (swapType) = valueOrElse(getInteger(this, balanceLockIntervalKEY(swapType)), 1440)
168194
169195
170196 func nodeBalanceLockIntervalREAD () = valueOrElse(getInteger(this, nodeBalanceLockIntervalKEY()), 1)
171197
172198
173199 func keySwapUserSpentInPeriod (userAddress) = makeString(["%s%s", "swapUserSpentInPeriod", userAddress], SEP)
174200
175201
176202 func keyUserLastSwapHeight (userAddress) = makeString(["%s%s", "userLastSwapHeight", userAddress], SEP)
177203
178204
179205 func feeManagerAddressREAD () = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(this, FeesManagerAddressKey), (FeesManagerAddressKey + " is not specified"))), (FeesManagerAddressKey + " invalid address format"))
180206
181207
182208 func convertNeutrinoToWaves (amount,price) = fraction(fraction(amount, PRICELET, price), WAVELET, PAULI)
183209
184210
185211 func convertWavesToNeutrino (amount,price) = fraction(fraction(amount, price, PRICELET), PAULI, WAVELET)
186212
187213
188214 func convertWavesToBond (amount,price) = convertWavesToNeutrino(amount, price)
189215
190216
191217 func convertJsonArrayToList (jsonArray) = split(jsonArray, ",")
192218
193219
194220 func minSwapAmountFAIL (swapType,minSwapAmount) = throw(((("The specified amount in " + swapType) + " swap is less than the required minimum of ") + toString(minSwapAmount)))
195221
196222
197223 func emergencyShutdownFAIL () = throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
198224
199225
200226 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)))
201227
202228
203229 let liquidationContract = getStringByKey(LiquidationContractKey)
204230
205231 let nsbtStakingContractStr = getStringByKey(NsbtStakingContractKey)
206232
207233 let neutrinoAssetId = fromBase58String(getStringByKey(NeutrinoAssetIdKey))
208234
209235 let auctionContract = getStringByKey(AuctionContractKey)
210236
211237 let rpdContract = getStringByKey(RPDContractKey)
212238
213239 let controlContract = getStringByKey(ContolContractKey)
214240
215241 let mathContractAddress = getStringByKey(MathContractKey)
216242
217243 let priceIndex = getNumberByAddressAndKey(controlContract, PriceIndexKey)
218244
219245 let isBlocked = getBoolByAddressAndKey(controlContract, IsBlockedKey)
220246
221247 let nodeOracleProviderPubKey = fromBase58String(getStringByKey(NodeOracleProviderPubKeyKey))
222248
223249 let bondAssetId = fromBase58String("F3iaxzruFeKujfVfYSZEkejpjh67wmRfPCRHiNmWKp3Z")
224250
225251 let deprecatedBondAssetId = fromBase58String("975akZBfnMj513U7MZaHKzQrmsEx5aE3wdWKTrHBhbjF")
226252
227253 let neutrinoContract = this
228254
229255 let mathContract = addressFromStringValue(mathContractAddress)
230256
231257 let nsbtStakingContract = addressFromStringValue(nsbtStakingContractStr)
232258
233259 let currentPrice = getNumberByAddressAndKey(controlContract, PriceKey)
234260
235261 func checkIsValidMinSponsoredFee (tx) = {
236262 let MINTRANSFERFEE = 100000
237263 let SponsoredFeeUpperBound = 1000
238264 let realNeutrinoFee = convertWavesToNeutrino(MINTRANSFERFEE, currentPrice)
239265 let minNeutrinoFee = (realNeutrinoFee * 2)
240266 let maxNeutrinoFee = fraction(realNeutrinoFee, SponsoredFeeUpperBound, 100)
241267 let inputFee = value(tx.minSponsoredAssetFee)
242268 if (if ((inputFee >= minNeutrinoFee))
243269 then (maxNeutrinoFee >= inputFee)
244270 else false)
245271 then (tx.assetId == neutrinoAssetId)
246272 else false
247273 }
248274
249275
250276 func getPriceHistory (block) = getNumberByAddressAndKey(controlContract, getPriceHistoryKey(block))
251277
252278
253279 func getHeightPriceByIndex (index) = getNumberByAddressAndKey(controlContract, getHeightPriceByIndexKey(index))
254280
255281
256282 func keyLockParamUserAmount (userAddress) = makeString(["%s%s%s", "paramByUser", userAddress, "amount"], SEP)
257283
258284
259285 let sIdxSwapType = 1
260286
261287 let sIdxStatus = 2
262288
263289 let sIdxInAmount = 3
264290
265291 let sIdxPrice = 4
266292
267293 let sIdxOutNetAmount = 5
268294
269295 let sIdxOutFeeAmount = 6
270296
271297 let sIdxStartHeight = 7
272298
273299 let sIdxStartTimestamp = 8
274300
275301 let sIdxEndHeight = 9
276302
277303 let sIdxEndTimestamp = 10
278304
279305 let sIdxSelfUnlockHeight = 11
280306
281307 let sIdxRandUnlockHeight = 12
282308
283309 let sIdxIndex = 13
284310
285311 let sIdxWithdrawTxId = 14
286312
287313 let sIdxMinRand = 15
288314
289315 let sIdxMaxRand = 16
290316
291317 func swapKEY (userAddress,txId) = makeString(["%s%s", userAddress, txId], SEP)
292318
293319
294320 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)
295321
296322
297323 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")
298324
299325
300326 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])
301327
302328
303329 func swapDataFailOrREAD (userAddress,swapTxId) = {
304330 let swapKey = swapKEY(userAddress, swapTxId)
305331 split(valueOrErrorMessage(getString(this, swapKey), ("no swap data for " + swapKey)), SEP)
306332 }
307333
308334
309335 func applyFees (amountGross,feePart) = {
310336 let feeAmount = fraction(amountGross, feePart, PAULI)
311337 [(amountGross - feeAmount), feeAmount, amountGross]
312338 }
313339
314340
315341 func abs (x) = if ((0 > x))
316342 then -(x)
317343 else x
318344
319345
320346 func selectNode (unleaseAmount) = {
321347 let amountToLease = ((wavesBalance(neutrinoContract).available - unleaseAmount) - getReservedAmountForSponsorship())
322348 let oldLeased0 = getNumberByKey(getLeaseAmountKey(0))
323349 let oldLeased1 = getNumberByKey(getLeaseAmountKey(1))
324350 let newLeased0 = (amountToLease + oldLeased0)
325351 let newLeased1 = (amountToLease + oldLeased1)
326352 if (if ((newLeased0 > 0))
327353 then true
328354 else (newLeased1 > 0))
329355 then {
330356 let delta0 = abs((newLeased0 - oldLeased1))
331357 let delta1 = abs((newLeased1 - oldLeased0))
332358 if ((delta1 >= delta0))
333359 then $Tuple2(0, newLeased0)
334360 else $Tuple2(1, newLeased1)
335361 }
336362 else $Tuple2(-1, 0)
337363 }
338364
339365
340366 func thisOnly (i) = if ((i.caller != this))
341367 then throw("Permission denied: this contract only allowed")
342368 else true
343369
344370
345371 func prepareUnleaseAndLease (unleaseAmount) = {
346372 let nodeTuple = selectNode(unleaseAmount)
347373 let nodeIndex = nodeTuple._1
348374 let newLeaseAmount = nodeTuple._2
349375 if ((newLeaseAmount > 0))
350376 then {
351377 let leaseIdKey = getLeaseIdKey(nodeIndex)
352378 let oldLease = getBinary(this, leaseIdKey)
353379 let unleaseOrEmpty = if (isDefined(oldLease))
354380 then [LeaseCancel(value(oldLease))]
355381 else nil
356382 let leaseAmountKey = getLeaseAmountKey(nodeIndex)
357383 let lease = Lease(getStakingNodeAddressByIndex(nodeIndex), newLeaseAmount)
358- (unleaseOrEmpty ++ [lease, BinaryEntry(leaseIdKey, calculateLeaseId(lease)), IntegerEntry(getLeaseAmountKey(nodeIndex), newLeaseAmount)])
384+ (unleaseOrEmpty ++ [lease, BinaryEntry(leaseIdKey, lcalc(lease)), IntegerEntry(getLeaseAmountKey(nodeIndex), newLeaseAmount)])
359385 }
360386 else nil
361387 }
362388
363389
390+func readNodeInfo (nodeIdx) = {
391+ let nodeAddress = getStakingNodeAddressByIndex(nodeIdx)
392+ let leasedAmtKEY = getLeaseAmountKey(nodeIdx)
393+ let leasedAmt = getNumberByKey(leasedAmtKEY)
394+ let leaseIdKEY = getLeaseIdKey(nodeIdx)
395+ let leaseId = value(getBinary(this, leaseIdKEY))
396+ $Tuple5(nodeAddress, leasedAmtKEY, leasedAmt, leaseIdKEY, leaseId)
397+ }
398+
399+
364400 func commonSwap (swapType,pmtAmount,userAddressStr,txId58,swapParamsByUserSYSREADONLY) = {
365- let $t01560515685 = swapParamsByUserSYSREADONLY
366- let swapLimitMax = $t01560515685._1
367- let swapLimitSpent = $t01560515685._2
368- let blcks2LmtReset = $t01560515685._3
401+ let $t01675916839 = swapParamsByUserSYSREADONLY
402+ let swapLimitMax = $t01675916839._1
403+ let swapLimitSpent = $t01675916839._2
404+ let blcks2LmtReset = $t01675916839._3
369405 let minSwapAmount = minSwapAmountREAD(swapType)
370406 let totalLocked = totalLockedREAD(swapType)
371407 let totalLockedByUser = totalLockedByUserREAD(swapType, userAddressStr)
372408 let nodeAddress = getStakingNodeByIndex(0)
373409 let priceByIndex = getPriceHistory(getHeightPriceByIndex(priceIndex))
374410 let isSwapByNode = (nodeAddress == userAddressStr)
375411 let balanceLockMaxInterval = if (isSwapByNode)
376412 then nodeBalanceLockIntervalREAD()
377413 else balanceLockIntervalREAD(swapType)
378414 let selfUnlockHeight = (height + balanceLockMaxInterval)
379415 let swapUsdnVolume = if ((swapType == "neutrino"))
380416 then pmtAmount
381417 else convertWavesToNeutrino(pmtAmount, priceByIndex)
382418 if ((minSwapAmount > pmtAmount))
383419 then minSwapAmountFAIL(swapType, minSwapAmount)
384420 else if (if (!(isSwapByNode))
385421 then (swapLimitSpent > 0)
386422 else false)
387423 then throw(("You have exceeded swap limit! Next allowed swap height is " + toString((height + blcks2LmtReset))))
388424 else if (if (!(isSwapByNode))
389425 then (swapUsdnVolume > swapLimitMax)
390426 else false)
391427 then throw(((("You have exceeded your swap limit! Requested: " + toString(swapUsdnVolume)) + ", available: ") + toString(swapLimitMax)))
392428 else if (isBlocked)
393429 then emergencyShutdownFAIL()
394430 else {
395431 let leasePart = if ((swapType == "waves"))
396432 then prepareUnleaseAndLease(0)
397433 else nil
398434 $Tuple2(([IntegerEntry(keySwapUserSpentInPeriod(userAddressStr), swapUsdnVolume), IntegerEntry(keyUserLastSwapHeight(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)
399435 }
400436 }
401437
402438
403439 func commonWithdraw (account,index,swapTxId,withdrawTxId) = {
404440 let userAddress = addressFromStringValue(account)
405441 let feeManagerAddress = feeManagerAddressREAD()
406442 let dataArray = swapDataFailOrREAD(account, swapTxId)
407443 let selfUnlockHeight = parseIntValue(dataArray[sIdxSelfUnlockHeight])
408444 let swapType = dataArray[sIdxSwapType]
409445 let inAmount = parseIntValue(dataArray[sIdxInAmount])
410446 let swapStatus = dataArray[sIdxStatus]
411447 let startHeight = parseIntValue(dataArray[sIdxStartHeight])
412448 let outFeePart = valueOrElse(getInteger(this, outFeePartKEY(swapType)), DEFAULTSWAPFEE)
413449 let totalLocked = totalLockedREAD(swapType)
414450 let totalLockedByUser = totalLockedByUserREAD(swapType, account)
415- let unlockHeight = (startHeight + getIntegerValue(this, balanceLockIntervalKEY(swapType)))
451+ let unlockHeight = selfUnlockHeight
416452 let indexHeight = getHeightPriceByIndex(index)
417453 let prevIndexHeight = getHeightPriceByIndex((index - 1))
418454 let priceByIndex = getPriceHistory(indexHeight)
419455 let outAmountGrossTuple = if ((swapType == "waves"))
420456 then $Tuple2(convertWavesToNeutrino(inAmount, priceByIndex), neutrinoAssetId)
421457 else if ((swapType == "neutrino"))
422458 then $Tuple2(convertNeutrinoToWaves(inAmount, priceByIndex), unit)
423459 else throw(("Unsupported swap type " + swapType))
424460 let payoutsArray = applyFees(outAmountGrossTuple._1, outFeePart)
425461 let outNetAmount = payoutsArray[IdxNetAmount]
426462 let outFeeAmount = payoutsArray[IdxFeeAmount]
427463 if (isBlocked)
428464 then emergencyShutdownFAIL()
429465 else if ((swapStatus != "PENDING"))
430466 then throw("swap has been already processed")
431467 else if ((unlockHeight > height))
432468 then throw((("please wait for: " + toString(unlockHeight)) + " block height to withdraw funds"))
433469 else if (if (if ((index > priceIndex))
434470 then true
435471 else (unlockHeight > indexHeight))
436472 then true
437473 else if ((prevIndexHeight != 0))
438474 then (prevIndexHeight >= unlockHeight)
439475 else false)
440476 then priceIndexFAIL(index, priceIndex, indexHeight, unlockHeight, prevIndexHeight)
441477 else if ((0 >= payoutsArray[IdxGrossAmount]))
442478 then throw("balance equals zero")
443479 else if (if ((0 > outFeePart))
444480 then true
445481 else (outFeePart >= PAULI))
446482 then throw(((("invalid outFeePart config for " + swapType) + " swap: outFeePart=") + toString(outFeePart)))
447483 else {
448- let leasePart = if (if ((swapType == "neutrino"))
484+ let unleaseAmount = if (if ((swapType == "neutrino"))
449485 then (outAmountGrossTuple._1 > 0)
450486 else false)
451- then prepareUnleaseAndLease(outAmountGrossTuple._1)
452- else nil
453- let state = (leasePart ++ [IntegerEntry(totalLockedByUserKEY(swapType, account), (totalLockedByUser - inAmount)), IntegerEntry(totalLockedKEY(swapType), (totalLocked - inAmount)), ScriptTransfer(userAddress, outNetAmount, outAmountGrossTuple._2), StringEntry(swapKEY(account, swapTxId), finishSwapDATA(dataArray, priceByIndex, outNetAmount, outFeeAmount, unlockHeight, index, withdrawTxId))])
454- $Tuple2(state, AttachedPayment(outAmountGrossTuple._2, outFeeAmount))
487+ then outAmountGrossTuple._1
488+ else 0
489+ let state = [IntegerEntry(totalLockedByUserKEY(swapType, account), (totalLockedByUser - inAmount)), IntegerEntry(totalLockedKEY(swapType), (totalLocked - inAmount)), ScriptTransfer(userAddress, outNetAmount, outAmountGrossTuple._2), StringEntry(swapKEY(account, swapTxId), finishSwapDATA(dataArray, priceByIndex, outNetAmount, outFeeAmount, unlockHeight, index, withdrawTxId))]
490+ $Tuple3(state, AttachedPayment(outAmountGrossTuple._2, outFeeAmount), unleaseAmount)
455491 }
456492 }
457493
458494
459495 @Callable(i)
460496 func constructor (neutrinoAssetIdPrm,bondAssetIdPrm,auctionContractPrm,liquidationContractPrm,rpdContractPrm,nodeOracleProviderPubKeyPrm,balanceWavesLockIntervalPrm,balanceNeutrinoLockIntervalPrm,minWavesSwapAmountPrm,minNeutrinoSwapAmountPrm,neutrinoOutFeePartPrm,wavesOutFeePartPrm) = {
461497 let checkCaller = thisOnly(i)
462498 if ((checkCaller == checkCaller))
463499 then if ((size(i.payments) != 0))
464500 then throw("no payments allowed")
465501 else [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)]
466502 else throw("Strict value is not equal to itself.")
467503 }
468504
469505
470506
471507 @Callable(i)
472508 func constructorV2 (mathContract,nsbtStakingContract,swapsTimeframeBlocks) = {
473509 let checkCaller = thisOnly(i)
474510 if ((checkCaller == checkCaller))
475511 then if ((size(i.payments) != 0))
476512 then throw("no payments allowed")
477513 else [StringEntry(MathContractKey, mathContract), StringEntry(NsbtStakingContractKey, nsbtStakingContract), IntegerEntry(swapsTimeframeKEY(), swapsTimeframeBlocks)]
478514 else throw("Strict value is not equal to itself.")
479515 }
480516
481517
482518
483519 @Callable(i)
484520 func swapWavesToNeutrino () = if ((size(i.payments) != 1))
485521 then throw("swapWavesToNeutrino require only one payment")
486522 else {
487523 let pmt = value(i.payments[0])
488524 if (isDefined(pmt.assetId))
489525 then throw("Only Waves token is allowed for swapping.")
490526 else {
491527 let userAddress = toString(i.caller)
492528 let txId58 = toBase58String(i.transactionId)
493529 let swapParamsSTRUCT = asSwapParamsSTRUCT(invoke(this, "swapParamsByUserSYSREADONLY", [userAddress, 0], nil))
494530 let commonSwapResult = commonSwap("waves", pmt.amount, userAddress, txId58, swapParamsSTRUCT)
495531 commonSwapResult
496532 }
497533 }
498534
499535
500536
501537 @Callable(i)
502538 func swapNeutrinoToWaves () = if ((size(i.payments) != 1))
503539 then throw("swapNeutrinoToWaves require only one payment")
504540 else {
505541 let pmt = value(i.payments[0])
506542 if ((pmt.assetId != neutrinoAssetId))
507543 then throw("Only appropriate Neutrino tokens are allowed for swapping.")
508544 else {
509545 let userAddress = toString(i.caller)
510546 let txId58 = toBase58String(i.transactionId)
511547 let swapParamsSTRUCT = asSwapParamsSTRUCT(invoke(this, "swapParamsByUserSYSREADONLY", [userAddress, 0], nil))
512548 let commonSwapResult = commonSwap("neutrino", pmt.amount, userAddress, txId58, swapParamsSTRUCT)
513549 commonSwapResult
514550 }
515551 }
516552
517553
518554
519555 @Callable(i)
520-func withdraw (account,index,swapTxId) = if ((size(i.payments) != 0))
521- then throw("no payments allowed")
522- else {
523- let $t02418624290 = commonWithdraw(account, index, swapTxId, toBase58String(i.transactionId))
524- let state = $t02418624290._1
525- let depositPayment = $t02418624290._2
526- let nsbtStakingDeposit = invoke(nsbtStakingContract, "deposit", nil, [depositPayment])
527- if ((nsbtStakingDeposit == nsbtStakingDeposit))
528- then state
529- else throw("Strict value is not equal to itself.")
530- }
556+func withdraw (account,index,swapTxId) = {
557+ let txId = toBase58String(i.transactionId)
558+ if ((size(i.payments) != 0))
559+ then throw("no payments allowed")
560+ else {
561+ let commonTuple = commonWithdraw(account, index, swapTxId, txId)
562+ let state = commonTuple._1
563+ let fee = commonTuple._2
564+ let unleaseAmt = commonTuple._3
565+ let unleaseInvOrEmpty = invoke(this, "internalUnleaseAndLease", [unleaseAmt], nil)
566+ if ((unleaseInvOrEmpty == unleaseInvOrEmpty))
567+ then if ((0 >= fee.amount))
568+ then state
569+ else {
570+ let nsbtStakingReward = invoke(nsbtStakingContract, "deposit", nil, [fee])
571+ if ((nsbtStakingReward == nsbtStakingReward))
572+ then state
573+ else throw("Strict value is not equal to itself.")
574+ }
575+ else throw("Strict value is not equal to itself.")
576+ }
577+ }
531578
532579
533580
534581 @Callable(i)
535-func transferToAuction () = if ((size(i.payments) != 0))
536- then throw("no payments allowed")
537- else {
538- let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil))
539- let reserve = asInt(neutrinoMetrics[3])
540- let neutrinoSupply = asInt(neutrinoMetrics[5])
541- let surplus = asInt(neutrinoMetrics[6])
542- let nsbtSupply = asInt(neutrinoMetrics[9])
543- let auctionNBAmount = (neutrinoSupply - assetBalance(addressFromStringValue(auctionContract), bondAssetId))
544- let surplusWithLiquidation = (surplus - assetBalance(addressFromStringValue(liquidationContract), neutrinoAssetId))
545- if (isBlocked)
546- then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
547- else if ((auctionNBAmount > (1 * PAULI)))
548- then [ScriptTransfer(addressFromStringValue(auctionContract), auctionNBAmount, bondAssetId)]
549- else if ((surplusWithLiquidation >= (1 * PAULI)))
550- then [ScriptTransfer(addressFromStringValue(liquidationContract), surplusWithLiquidation, neutrinoAssetId)]
551- else throw(((((((("bond were generated or do not need it. Deficit:" + toString(auctionNBAmount)) + "|") + toString(0)) + ". Surplus:") + toString(surplusWithLiquidation)) + "|") + toString(surplus)))
552- }
582+func internalUnleaseAndLease (unleaseAmount) = if ((i.caller != this))
583+ then throw("internalUnleaseAndLease is not public method")
584+ else prepareUnleaseAndLease(unleaseAmount)
553585
554586
555587
556588 @Callable(i)
557589 func transferUsdnToUser (amount,addr) = if ((i.caller != addressFromStringValue(auctionContract)))
558590 then throw("Only auction contract is authorized")
559591 else [ScriptTransfer(addressFromStringValue(addr), amount, neutrinoAssetId)]
560592
561593
562594
563595 @Callable(i)
564596 func acceptWaves () = if ((i.caller != addressFromStringValue(auctionContract)))
565597 then throw("Currently only auction contract is allowed to call")
566598 else $Tuple2(prepareUnleaseAndLease(0), "success")
599+
600+
601+
602+@Callable(i)
603+func approveLeasings (nListS,groupNum) = {
604+ let lAmt = (500000 * WAVELET)
605+ let nIdxs = [0, 1, 2, 3, 4, 5, 6, 7]
606+ let mngPubS = valueOrElse(getString("%s%s__cfg__leasingManagerPub"), "7AUMX54ukYMYvPmma7yoFf5NjZhs4Bu5nz3Ez9EV8sur")
607+ let mngPub = fromBase58String(mngPubS)
608+ let nodeRegAddrStr = valueOrElse(getString("%s%s__cfg__nodesRegistryAddress"), "3P9vKqQKjUdmpXAfiWau8krREYAY1Xr69pE")
609+ let nodeRegAddr = addressFromStringValue(nodeRegAddrStr)
610+ let lGroupNodeListKEY = getLeaseGroupNodeListKey(groupNum)
611+ let lGrNodeOpt = getString(this, lGroupNodeListKEY)
612+ if (isDefined(lGrNodeOpt))
613+ then throw((("group " + toString(groupNum)) + " already initialized"))
614+ else {
615+ let nList = split(nListS, SEP)
616+ let expCount = size(nIdxs)
617+ if ((i.callerPublicKey != mngPub))
618+ then throw("approveLeasings not authorized")
619+ else {
620+ let $t02735227414 = readNodeInfo(0)
621+ let nAddr0 = $t02735227414._1
622+ let lAmtKEY0 = $t02735227414._2
623+ let lAmt0 = $t02735227414._3
624+ let lIdKEY0 = $t02735227414._4
625+ let lId0 = $t02735227414._5
626+ let $t02741727479 = readNodeInfo(1)
627+ let nAddr1 = $t02741727479._1
628+ let lAmtKEY1 = $t02741727479._2
629+ let lAmt1 = $t02741727479._3
630+ let lIdKEY1 = $t02741727479._4
631+ let lId1 = $t02741727479._5
632+ let newL0 = Lease(nAddr0, (lAmt0 - ((lAmt * expCount) / 2)))
633+ let newL1 = Lease(nAddr1, (lAmt1 - ((lAmt * expCount) / 2)))
634+ let validation = invoke(nodeRegAddr, "validateAndApproveLeasings", [nListS], nil)
635+ if ((validation == validation))
636+ then {
637+ func forEachNodeValidateAndGenerateLease (a,i) = {
638+ let node = nList[i]
639+ let la = Lease(addressFromStringValue(node), lAmt)
640+ (a ++ [la, BinaryEntry(getLeaseIdByAddressKey(node), lcalc(la)), IntegerEntry(getLeaseAmountByAddressKey(node), lAmt)])
641+ }
642+
643+ ([StringEntry(lGroupNodeListKEY, nListS), BinaryEntry(lIdKEY0, lcalc(newL0)), BinaryEntry(lIdKEY1, lcalc(newL1)), IntegerEntry(lAmtKEY0, newL0.amount), IntegerEntry(lAmtKEY1, newL1.amount), LeaseCancel(lId0), LeaseCancel(lId1), newL0, newL1] ++ {
644+ let $l = nIdxs
645+ let $s = size($l)
646+ let $acc0 = nil
647+ func $f0_1 ($a,$i) = if (($i >= $s))
648+ then $a
649+ else forEachNodeValidateAndGenerateLease($a, $l[$i])
650+
651+ func $f0_2 ($a,$i) = if (($i >= $s))
652+ then $a
653+ else throw("List size exceeds 8")
654+
655+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8)
656+ })
657+ }
658+ else throw("Strict value is not equal to itself.")
659+ }
660+ }
661+ }
567662
568663
569664
570665 @Callable(i)
571666 func swapParamsByUserSYSREADONLY (userAddressStr,nsbtDiff) = {
572667 let nsbtData = asAnyList(invoke(nsbtStakingContract, "nsbtStakingSYSREADONLY", [userAddressStr], nil))
573668 if ((nsbtData == nsbtData))
574669 then {
575670 let gnsbtAmt = (asInt(nsbtData[0]) + nsbtDiff)
576671 let gnsbtAmtTotal = (asInt(nsbtData[1]) + nsbtDiff)
577672 let swapLimitMax = asInt(invoke(mathContract, "calcSwapLimitREADONLY", [gnsbtAmt], nil))
578673 let lastSwapHeight = valueOrElse(getInteger(this, keyUserLastSwapHeight(userAddressStr)), 0)
579674 let swapLimitTimelifeBlocks = swapsTimeframeREAD()
580675 let passedBlocksAfterLastSwap = (height - lastSwapHeight)
581676 let isSwapTimelifeNew = (passedBlocksAfterLastSwap >= swapLimitTimelifeBlocks)
582677 let swapLimitSpent = if (isSwapTimelifeNew)
583678 then 0
584679 else valueOrElse(getInteger(this, keySwapUserSpentInPeriod(userAddressStr)), 0)
585680 let blcks2LmtReset = if (isSwapTimelifeNew)
586681 then 0
587682 else (swapLimitTimelifeBlocks - passedBlocksAfterLastSwap)
588683 $Tuple2(nil, $Tuple5(swapLimitMax, swapLimitSpent, blcks2LmtReset, gnsbtAmt, gnsbtAmtTotal))
589684 }
590685 else throw("Strict value is not equal to itself.")
591686 }
592687
593688
594689 @Verifier(tx)
595690 func verify () = {
596691 let id = toBase58String(tx.id)
597692 let count = ((((if (sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(pubKeyAdminsList[0])))
598693 then 1
599694 else 0) + (if (sigVerify(tx.bodyBytes, tx.proofs[1], fromBase58String(pubKeyAdminsList[1])))
600695 then 1
601696 else 0)) + (if (sigVerify(tx.bodyBytes, tx.proofs[2], fromBase58String(pubKeyAdminsList[2])))
602697 then 1
603698 else 0)) + (if (sigVerify(tx.bodyBytes, tx.proofs[3], fromBase58String(pubKeyAdminsList[3])))
604699 then 2
605700 else 0))
606701 match tx {
607702 case sponsorTx: SponsorFeeTransaction =>
608703 if (checkIsValidMinSponsoredFee(sponsorTx))
609704 then (count >= 3)
610705 else false
611706 case _ =>
612707 (count >= 3)
613708 }
614709 }
615710

github/deemru/w8io/026f985 
86.76 ms