tx · 6YCdYbGdTan5YoirmjDwySn5wfo6DtobSST6HQWrd3E8

3N9be2mwrA52WJho6DiesZkk4351GvpnWuj:  -0.04300000 Waves

2023.02.13 10:42 [2447548] smart account 3N9be2mwrA52WJho6DiesZkk4351GvpnWuj > SELF 0.00000000 Waves

{ "type": 13, "id": "6YCdYbGdTan5YoirmjDwySn5wfo6DtobSST6HQWrd3E8", "fee": 4300000, "feeAssetId": null, "timestamp": 1676274255148, "version": 2, "chainId": 84, "sender": "3N9be2mwrA52WJho6DiesZkk4351GvpnWuj", "senderPublicKey": "6mzmbCza9iqbzxMEELcEA4Xc9NeF4CYpbTtz1zMK3C7x", "proofs": [ "2hdLU3QKNyzjqwSk6sCVn6qgVfaqG2ycUQ9BdLcGBv2TjrNwxzU2xB7ja8TXULDJto9icvjZYNqTgwcrHng21atk", "444xnf3MH6C7TBapz1cwWqc6YF9EUGxTX1jxafjWNdrDvMsqELykAtr21Jx9ZyMr8aQqCGERX4uYKmX8SRUpvxSE", "Sdh7piSkKzNVpN3xZ2mgAoFX6XxwvcM84mNphwnHnHUHDaC4ghXgHUYJKNJm6Gs5h9R2ArGKQfHpj7bBmrdah9L" ], "script": "base64:BgJhCAISDgoMCAgICAgIAQEBAQEBEgUKAwgIARIHCgUYAQEBARIAEgASBQoDCAEIEgMKAQESBAoCAQgSABIFCgMIAQESBAoCAQESBAoCCAESBgoECAEBCBIGCgQICAEBEgASALABAQ9nZXRTdHJpbmdPckZhaWwCB2FkZHJlc3MDa2V5CQETdmFsdWVPckVycm9yTWVzc2FnZQIJAJ0IAgUHYWRkcmVzcwUDa2V5CQC5CQIJAMwIAgIKbWFuZGF0b3J5IAkAzAgCCQClCAEFB2FkZHJlc3MJAMwIAgIBLgkAzAgCBQNrZXkJAMwIAgIPIGlzIG5vdCBkZWZpbmVkBQNuaWwCAAEFbGNhbGMBAWwJALkIAQUBbAEOZ2V0TnVtYmVyQnlLZXkBA2tleQkBC3ZhbHVlT3JFbHNlAgkAmggCBQR0a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tlZF9jYWxsZXIJAKUIAQULZ292Q29udHJhY3QHCQEOdmFsaWRhdGVVcGRhdGUBBQJ0eAQHJG1hdGNoMAUCdHgDCQABAgUHJG1hdGNoMAIVU3BvbnNvckZlZVRyYW5zYWN0aW9uBAlzcG9uc29yVHgFByRtYXRjaDADCQEbY2hlY2tJc1ZhbGlkTWluU3BvbnNvcmVkRmVlAQUJc3BvbnNvclR4CQBnAgUFY291bnQAAwcJAGcCBQVjb3VudAADrrsf0g==", "height": 2447548, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: aAozP578c57yZmRydwC46Yeafx6XpbP3PrudmfWXcqG Next: 3whRXcyF5PnxrHpUWK9SbJFftEeYc3E3YKjbZELDyQL7 Diff:
OldNewDifferences
8787
8888 let WAVESID = base58'WAVES'
8989
90-let IdxNetAmount = 0
90+let nMetricIdxPrice = 0
9191
92-let IdxFeeAmount = 1
92+let nMetricIdxUsdnLockedBalance = 1
9393
94-let IdxGrossAmount = 2
94+let nMetricIdxWavesLockedBalance = 2
95+
96+let nMetricIdxReserve = 3
97+
98+let nMetricIdxReserveInUsdn = 4
99+
100+let nMetricIdxUsdnSupply = 5
101+
102+let nMetricIdxSurplus = 6
103+
104+let nMetricIdxSurplusPercent = 7
105+
106+let nMetricIdxBR = 8
107+
108+let nMetricIdxNsbtSupply = 9
109+
110+let nMetricIdxMaxNsbtSupply = 10
111+
112+let nMetricIdxSurfSupply = 11
113+
114+let nMetricUsdnUsdtPeg = 12
115+
116+let nMetricCurrentPriceAdj = 13
117+
118+let nMetricBasketInfo = 14
119+
120+let nMetricWeightedPrice = 15
121+
122+let nMetricTotalReservesUsd = 16
95123
96124 let IdxControlCfgNeutrinoDapp = 1
97125
334362 then MULT8
335363 else (neutrinoPrice * 100))
336364 let multiplier = ((MULT6 + d6) - pp6)
337- if ((0 >= multiplier))
338- then throw(("Net amount is non-positive, multiplier = " + toString(multiplier)))
339- else {
340- let netAmount = fraction(outAmountGross, multiplier, MULT6)
341- let feeAmount = if ((netAmount >= outAmountGross))
342- then 0
343- else (outAmountGross - netAmount)
365+ let netAmount = fraction(outAmountGross, multiplier, MULT6)
366+ let feeAmount = if ((netAmount >= outAmountGross))
367+ then 0
368+ else (outAmountGross - netAmount)
344369 [outAmountGross, netAmount, feeAmount]
345- }
346370 }
347371
348372
592616 else if (isBlocked)
593617 then emergencyShutdownFAIL()
594618 else {
595- let leasePart = if (if ((swapType == "outNeutrino"))
596- then (inAsset == "WAVES")
619+ let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil))
620+ let basketInfo = asString(neutrinoMetrics[nMetricBasketInfo])
621+ let weightedPrice = asInt(neutrinoMetrics[nMetricWeightedPrice])
622+ let out = convertBasketItemToNeutrino(pmtAmount, inAsset, basketInfo, weightedPrice)
623+ if (if ((swapType == "outNeutrino"))
624+ then (0 >= out[1])
597625 else false)
598- then prepareUnleaseAndLease(0)
599- else nil
600- $Tuple2(([IntegerEntry(keySwapUserSpentInPeriod(userAddressStr), swapUsdnVolume), IntegerEntry(keyUserLastSwapHeight(userAddressStr), height), IntegerEntry(totalLockedByUserKEY(swapType, userAddressStr, inAsset), (totalLockedByUser + pmtAmount)), IntegerEntry(getBalanceUnlockBlockKey(userAddressStr), selfUnlockHeight), IntegerEntry(totalLockedKEY(swapType, inAsset), (totalLocked + pmtAmount)), StringEntry(swapKEY(userAddressStr, txId58), pendingSwapDATA(swapType, pmtAmount, selfUnlockHeight, inAsset))] ++ leasePart), unit)
626+ then throw((((((("Net amount is non-positive, cannot swap. (gross, net, fee) = (" + toString(out[0])) + ", ") + toString(out[1])) + ", ") + toString(out[2])) + ")"))
627+ else {
628+ let leasePart = if (if ((swapType == "outNeutrino"))
629+ then (inAsset == "WAVES")
630+ else false)
631+ then prepareUnleaseAndLease(0)
632+ else nil
633+ $Tuple2(([IntegerEntry(keySwapUserSpentInPeriod(userAddressStr), swapUsdnVolume), IntegerEntry(keyUserLastSwapHeight(userAddressStr), height), IntegerEntry(totalLockedByUserKEY(swapType, userAddressStr, inAsset), (totalLockedByUser + pmtAmount)), IntegerEntry(getBalanceUnlockBlockKey(userAddressStr), selfUnlockHeight), IntegerEntry(totalLockedKEY(swapType, inAsset), (totalLocked + pmtAmount)), StringEntry(swapKEY(userAddressStr, txId58), pendingSwapDATA(swapType, pmtAmount, selfUnlockHeight, inAsset))] ++ leasePart), unit)
634+ }
601635 }
602636 }
603637
604-
605-let nMetricIdxPrice = 0
606-
607-let nMetricIdxUsdnLockedBalance = 1
608-
609-let nMetricIdxWavesLockedBalance = 2
610-
611-let nMetricIdxReserve = 3
612-
613-let nMetricIdxReserveInUsdn = 4
614-
615-let nMetricIdxUsdnSupply = 5
616-
617-let nMetricIdxSurplus = 6
618-
619-let nMetricIdxSurplusPercent = 7
620-
621-let nMetricIdxBR = 8
622-
623-let nMetricIdxNsbtSupply = 9
624-
625-let nMetricIdxMaxNsbtSupply = 10
626-
627-let nMetricIdxSurfSupply = 11
628-
629-let nMetricUsdnUsdtPeg = 12
630-
631-let nMetricCurrentPriceAdj = 13
632-
633-let nMetricBasketInfo = 14
634-
635-let nMetricWeightedPrice = 15
636-
637-let nMetricTotalReservesUsd = 16
638638
639639 let bFuncIdxSurf = 0
640640
794794
795795 $f0_2($f0_1($f0_1($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), 9), 10)
796796 }
797- (((((r._2 :+ IntegerEntry(basketDKey(), dParam)) :+ IntegerEntry(basketKKey(), kParam)) :+ IntegerEntry(basketBKey(), bParam)) :+ IntegerEntry(basketLogbDeltaKey(), log(bParam, 6, deltaParam, 6, 6, HALFUP))) :+ StringEntry(basketAssetsKey(), makeString(r._1, SEP)))
797+ (((((r._2 :+ IntegerEntry(basketDKey(), dParam)) :+ IntegerEntry(basketKKey(), kParam)) :+ IntegerEntry(basketBKey(), bParam)) :+ IntegerEntry(basketLogbDeltaKey(), log(deltaParam, 6, bParam, 6, 6, HALFUP))) :+ StringEntry(basketAssetsKey(), makeString(r._1, SEP)))
798798 }
799799 else throw("Strict value is not equal to itself.")
800800 }
10461046 if ((i.callerPublicKey != mngPub))
10471047 then throw("approveLeasings not authorized")
10481048 else {
1049- let $t04338043442 = readNodeInfo(0)
1050- let nAddr0 = $t04338043442._1
1051- let lAmtKEY0 = $t04338043442._2
1052- let lAmt0 = $t04338043442._3
1053- let lIdKEY0 = $t04338043442._4
1054- let lId0 = $t04338043442._5
1049+ let $t04396444026 = readNodeInfo(0)
1050+ let nAddr0 = $t04396444026._1
1051+ let lAmtKEY0 = $t04396444026._2
1052+ let lAmt0 = $t04396444026._3
1053+ let lIdKEY0 = $t04396444026._4
1054+ let lId0 = $t04396444026._5
10551055 let newL0 = Lease(nAddr0, (lAmt0 - (lAmt * expCount)))
10561056 let validation = invoke(nodeRegAddr, "validateAndApproveLeasings", [nListS], nil)
10571057 if ((validation == validation))
10961096 then throw("rebalanceLeasings not authorized")
10971097 else {
10981098 let unleaseAmt = ((amount / size(nList)) + 1)
1099- let $t04468244744 = readNodeInfo(0)
1100- let nAddr0 = $t04468244744._1
1101- let lAmtKEY0 = $t04468244744._2
1102- let lAmt0 = $t04468244744._3
1103- let lIdKEY0 = $t04468244744._4
1104- let lId0 = $t04468244744._5
1099+ let $t04526645328 = readNodeInfo(0)
1100+ let nAddr0 = $t04526645328._1
1101+ let lAmtKEY0 = $t04526645328._2
1102+ let lAmt0 = $t04526645328._3
1103+ let lIdKEY0 = $t04526645328._4
1104+ let lId0 = $t04526645328._5
11051105 let newL0 = Lease(nAddr0, (lAmt0 + (unleaseAmt * size(nList))))
11061106 func forEachNodeDoUnlease (a,i) = {
11071107 let node = nList[i]
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
55
66
77 func lcalc (l) = calculateLeaseId(l)
88
99
1010 func getNumberByKey (key) = valueOrElse(getInteger(this, key), 0)
1111
1212
1313 func getStringByKey (key) = valueOrElse(getString(this, key), "")
1414
1515
1616 func getBoolByKey (key) = valueOrElse(getBoolean(this, key), false)
1717
1818
1919 func getNumberByAddressAndKey (address,key) = valueOrElse(getInteger(address, key), 0)
2020
2121
2222 func getStringByAddressAndKey (address,key) = valueOrElse(getString(addressFromStringValue(address), key), "")
2323
2424
2525 func getBoolByAddressAndKey (address,key) = valueOrElse(getBoolean(address, key), false)
2626
2727
2828 func asAnyList (v) = match v {
2929 case l: List[Any] =>
3030 l
3131 case _ =>
3232 throw("fail to cast into List[Any]")
3333 }
3434
3535
3636 func asString (v) = match v {
3737 case s: String =>
3838 s
3939 case _ =>
4040 throw("fail to cast into String")
4141 }
4242
4343
4444 func asInt (v) = match v {
4545 case i: Int =>
4646 i
4747 case _ =>
4848 throw("fail to cast into Int")
4949 }
5050
5151
5252 func asBytes (val) = match val {
5353 case valByte: ByteVector =>
5454 valByte
5555 case _ =>
5656 throw("fail to cast into ByteVector")
5757 }
5858
5959
6060 func asPayment (v) = match v {
6161 case p: AttachedPayment =>
6262 p
6363 case _ =>
6464 throw("fail to cast into AttachedPayment")
6565 }
6666
6767
6868 func asSwapParamsSTRUCT (v) = match v {
6969 case struct: (Int, Int, Int, Int, Int, Int, Int) =>
7070 struct
7171 case _ =>
7272 throw("fail to cast into Tuple5 ints")
7373 }
7474
7575
7676 let SEP = "__"
7777
7878 let LISTSEP = ":"
7979
8080 let MULT8 = 100000000
8181
8282 let MULT6 = 1000000
8383
8484 let DEFAULTSWAPFEE = 20000
8585
8686 let BRPROTECTED = 100000
8787
8888 let WAVESID = base58'WAVES'
8989
90-let IdxNetAmount = 0
90+let nMetricIdxPrice = 0
9191
92-let IdxFeeAmount = 1
92+let nMetricIdxUsdnLockedBalance = 1
9393
94-let IdxGrossAmount = 2
94+let nMetricIdxWavesLockedBalance = 2
95+
96+let nMetricIdxReserve = 3
97+
98+let nMetricIdxReserveInUsdn = 4
99+
100+let nMetricIdxUsdnSupply = 5
101+
102+let nMetricIdxSurplus = 6
103+
104+let nMetricIdxSurplusPercent = 7
105+
106+let nMetricIdxBR = 8
107+
108+let nMetricIdxNsbtSupply = 9
109+
110+let nMetricIdxMaxNsbtSupply = 10
111+
112+let nMetricIdxSurfSupply = 11
113+
114+let nMetricUsdnUsdtPeg = 12
115+
116+let nMetricCurrentPriceAdj = 13
117+
118+let nMetricBasketInfo = 14
119+
120+let nMetricWeightedPrice = 15
121+
122+let nMetricTotalReservesUsd = 16
95123
96124 let IdxControlCfgNeutrinoDapp = 1
97125
98126 let IdxControlCfgAuctionDapp = 2
99127
100128 let IdxControlCfgRpdDapp = 3
101129
102130 let IdxControlCfgMathDapp = 4
103131
104132 let IdxControlCfgLiquidationDapp = 5
105133
106134 let IdxControlCfgRestDapp = 6
107135
108136 let IdxControlCfgNodeRegistryDapp = 7
109137
110138 let IdxControlCfgNsbtStakingDapp = 8
111139
112140 let IdxControlCfgMediatorDapp = 9
113141
114142 let IdxControlCfgSurfStakingDapp = 10
115143
116144 let IdxControlCfgGnsbtControllerDapp = 11
117145
118146 let IdxControlCfgRestV2Dapp = 12
119147
120148 let IdxControlCfgGovernanceDapp = 13
121149
122150 func keyControlAddress () = "%s%s__config__controlAddress"
123151
124152
125153 func keyControlCfg () = "%s__controlConfig"
126154
127155
128156 func readControlCfgOrFail (control) = split_4C(getStringOrFail(control, keyControlCfg()), SEP)
129157
130158
131159 func getContractAddressOrFail (controlCfg,idx) = valueOrErrorMessage(addressFromString(controlCfg[idx]), ("Control cfg doesn't contain address at index " + toString(idx)))
132160
133161
134162 let controlContract = addressFromStringValue(valueOrElse(getString(this, keyControlAddress()), "3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx"))
135163
136164 let controlCfg = readControlCfgOrFail(controlContract)
137165
138166 let mathContract = getContractAddressOrFail(controlCfg, IdxControlCfgMathDapp)
139167
140168 let nsbtStakingContract = getContractAddressOrFail(controlCfg, IdxControlCfgNsbtStakingDapp)
141169
142170 let surfStakingContract = getContractAddressOrFail(controlCfg, IdxControlCfgSurfStakingDapp)
143171
144172 let gnsbtControllerContract = getContractAddressOrFail(controlCfg, IdxControlCfgGnsbtControllerDapp)
145173
146174 let auctionContract = getContractAddressOrFail(controlCfg, IdxControlCfgAuctionDapp)
147175
148176 let nodeRegistryContract = getContractAddressOrFail(controlCfg, IdxControlCfgNodeRegistryDapp)
149177
150178 let govContract = getContractAddressOrFail(controlCfg, IdxControlCfgGovernanceDapp)
151179
152180 let NeutrinoAssetIdKey = "neutrino_asset_id"
153181
154182 let BondAssetIdKey = "bond_asset_id"
155183
156184 let AuctionContractKey = "auction_contract"
157185
158186 let NsbtStakingContractKey = "nsbtStakingContract"
159187
160188 let LiquidationContractKey = "liquidation_contract"
161189
162190 let RPDContractKey = "rpd_contract"
163191
164192 let ContolContractKey = "control_contract"
165193
166194 let MathContractKey = "math_contract"
167195
168196 let BalanceWavesLockIntervalKey = "balance_waves_lock_interval"
169197
170198 let BalanceNeutrinoLockIntervalKey = "balance_neutrino_lock_interval"
171199
172200 func MinTokenSwapAmountKey (assetId) = ("min_outNeutrino_swap_amount_" + assetId)
173201
174202
175203 let MinNeutrinoSwapAmountKey = "min_outMulti_swap_amount"
176204
177205 let NodeOracleProviderPubKeyKey = "node_oracle_provider"
178206
179207 let NeutrinoOutFeePartKey = "neutrinoOut_swap_feePart"
180208
181209 let WavesOutFeePartKey = "wavesOut_swap_feePart"
182210
183211 func keyNodeRegistry (address) = ("%s__" + address)
184212
185213
186214 let PriceKey = "price"
187215
188216 let PriceIndexKey = "price_index"
189217
190218 let IsBlockedKey = "is_blocked"
191219
192220 func getPriceHistoryKey (block) = ((PriceKey + "_") + toString(block))
193221
194222
195223 func getHeightPriceByIndexKey (index) = ((PriceIndexKey + "_") + toString(index))
196224
197225
198226 func getStakingNodeByIndex (idx) = getStringByKey(makeString(["%s%d%s", "lease", toString(idx), "nodeAddress"], SEP))
199227
200228
201229 func getStakingNodeAddressByIndex (idx) = addressFromStringValue(getStakingNodeByIndex(idx))
202230
203231
204232 func getReservedAmountForSponsorship () = valueOrElse(getInteger(this, makeString(["%s%s", "lease", "sponsorshipWavesReserve"], SEP)), (1000 * MULT8))
205233
206234
207235 func getBalanceUnlockBlockKey (owner) = ("balance_unlock_block_" + owner)
208236
209237
210238 func getLeaseIdKey (nodeIndex) = makeString(["%s%d%s", "lease", toString(nodeIndex), "id"], SEP)
211239
212240
213241 func getLeaseIdByAddressKey (nodeAddress) = makeString(["%s%s%s", "leaseByAddress", nodeAddress, "id"], SEP)
214242
215243
216244 func getLeaseAmountKey (nodeIndex) = makeString(["%s%d%s", "lease", toString(nodeIndex), "amount"], SEP)
217245
218246
219247 func getLeaseAmountByAddressKey (nodeAddress) = makeString(["%s%s%s", "leaseByAddress", nodeAddress, "amount"], SEP)
220248
221249
222250 func getLeaseGroupNodeListKey (groupNum) = makeString(["%s%d%s", "leaseGroup", toString(groupNum), "nodeList"], SEP)
223251
224252
225253 func minSwapAmountKEY (swapType) = (("min_" + swapType) + "_swap_amount")
226254
227255
228256 func totalLockedKEY (swapType,assetId) = makeString(["%s%s%s", "balanceLock", swapType, assetId], SEP)
229257
230258
231259 func totalLockedByUserKEY (swapType,owner,assetId) = makeString(["%s%s%s%s", "balanceLock", swapType, owner, assetId], "_")
232260
233261
234262 func balanceLockIntervalKEY (swapType) = if ((swapType == "outMulti"))
235263 then BalanceNeutrinoLockIntervalKey
236264 else BalanceWavesLockIntervalKey
237265
238266
239267 func nodeBalanceLockIntervalKEY () = "balance_node_lock_interval"
240268
241269
242270 func swapsTimeframeKEY () = "swaps_timeframe"
243271
244272
245273 func brProtectedKEY () = "min_BR_protection_level"
246274
247275
248276 func basketAssetsKey () = "%s%s__common__basketAssets"
249277
250278
251279 func basketDKey () = "%s%s__common__basketD"
252280
253281
254282 func basketKKey () = "%s%s__common__basketK"
255283
256284
257285 func basketBKey () = "%s%s__common__basketB"
258286
259287
260288 func basketLogbDeltaKey () = "%s%s__common__basketLogbDelta"
261289
262290
263291 func basketWeightByAssetKey (assetId) = ("%s%s%s__common__weightByAsset__" + assetId)
264292
265293
266294 func minSwapAmountREAD (swapType,assetId) = valueOrElse(if ((swapType == "outMulti"))
267295 then getInteger(MinNeutrinoSwapAmountKey)
268296 else getInteger(MinTokenSwapAmountKey(assetId)), 0)
269297
270298
271299 func swapsTimeframeREAD () = valueOrElse(getInteger(this, swapsTimeframeKEY()), 1440)
272300
273301
274302 func totalLockedREAD (swapType,assetId) = valueOrElse(getInteger(this, totalLockedKEY(swapType, assetId)), 0)
275303
276304
277305 func totalLockedByUserREAD (swapType,owner,assetId) = valueOrElse(getInteger(this, totalLockedByUserKEY(swapType, owner, assetId)), 0)
278306
279307
280308 func balanceLockIntervalREAD (swapType) = valueOrElse(getInteger(this, balanceLockIntervalKEY(swapType)), 1440)
281309
282310
283311 func nodeBalanceLockIntervalREAD () = valueOrElse(getInteger(this, nodeBalanceLockIntervalKEY()), 1)
284312
285313
286314 func keySwapUserSpentInPeriod (userAddress) = makeString(["%s%s", "swapUserSpentInPeriod", userAddress], SEP)
287315
288316
289317 func keyUserLastSwapHeight (userAddress) = makeString(["%s%s", "userLastSwapHeight", userAddress], SEP)
290318
291319
292320 func convertNeutrinoToWaves (amount,price) = fraction(amount, MULT8, price)
293321
294322
295323 func convertWavesToNeutrino (amount,price) = fraction(amount, price, MULT8)
296324
297325
298326 func convertWavesToBond (amount,price) = convertWavesToNeutrino(amount, price)
299327
300328
301329 func convertJsonArrayToList (jsonArray) = split(jsonArray, ",")
302330
303331
304332 func convertBasketItemToNeutrino (inAmount,inAsset,basketInfoStr,neutrinoPrice) = {
305333 let basketInfo = split(basketInfoStr, "_")
306334 func findItem (acc,item) = {
307335 let bItem = split(item, LISTSEP)
308336 if ((bItem[0] == inAsset))
309337 then bItem
310338 else acc
311339 }
312340
313341 let it = {
314342 let $l = basketInfo
315343 let $s = size($l)
316344 let $acc0 = nil
317345 func $f0_1 ($a,$i) = if (($i >= $s))
318346 then $a
319347 else findItem($a, $l[$i])
320348
321349 func $f0_2 ($a,$i) = if (($i >= $s))
322350 then $a
323351 else throw("List size exceeds 10")
324352
325353 $f0_2($f0_1($f0_1($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), 9), 10)
326354 }
327355 let dlog6 = valueOrElse(getInteger(basketLogbDeltaKey()), -18820642)
328356 let d6 = valueOrElse(getInteger(basketDKey()), 50000)
329357 let b6 = valueOrElse(getInteger(basketBKey()), 1250000)
330358 let w6 = valueOrElse(getInteger(basketWeightByAssetKey(inAsset)), 166666)
331359 let p6 = ((dlog6 - w6) + parseIntValue(it[1]))
332360 let pp6 = pow(b6, 6, p6, 6, 6, HALFUP)
333361 let outAmountGross = fraction(inAmount, parseIntValue(it[2]), if ((neutrinoPrice == 0))
334362 then MULT8
335363 else (neutrinoPrice * 100))
336364 let multiplier = ((MULT6 + d6) - pp6)
337- if ((0 >= multiplier))
338- then throw(("Net amount is non-positive, multiplier = " + toString(multiplier)))
339- else {
340- let netAmount = fraction(outAmountGross, multiplier, MULT6)
341- let feeAmount = if ((netAmount >= outAmountGross))
342- then 0
343- else (outAmountGross - netAmount)
365+ let netAmount = fraction(outAmountGross, multiplier, MULT6)
366+ let feeAmount = if ((netAmount >= outAmountGross))
367+ then 0
368+ else (outAmountGross - netAmount)
344369 [outAmountGross, netAmount, feeAmount]
345- }
346370 }
347371
348372
349373 func convertNeutrinoToBasket (amount,basketInfoStr,neutrinoSupply) = {
350374 let basketInfo = split(basketInfoStr, "_")
351375 func conv (acc,item) = {
352376 let parts = split(item, LISTSEP)
353377 let assetId = parts[0]
354378 let share = parseIntValue(parts[1])
355379 let price = parseIntValue(parts[2])
356380 let reserv = parseIntValue(parts[3])
357381 if ((neutrinoSupply == 0))
358382 then throw("Attempt to burn neutrino at zero supply")
359383 else {
360384 let outAmount = fraction(amount, reserv, neutrinoSupply)
361385 let wavesTuple = if ((assetId == "WAVES"))
362386 then $Tuple2(outAmount, price)
363387 else $Tuple2(acc._2, acc._3)
364388 $Tuple3((acc._1 :+ $Tuple4(assetId, outAmount, price, share)), wavesTuple._1, wavesTuple._2)
365389 }
366390 }
367391
368392 let $l = basketInfo
369393 let $s = size($l)
370394 let $acc0 = $Tuple3(nil, 0, 0)
371395 func $f0_1 ($a,$i) = if (($i >= $s))
372396 then $a
373397 else conv($a, $l[$i])
374398
375399 func $f0_2 ($a,$i) = if (($i >= $s))
376400 then $a
377401 else throw("List size exceeds 10")
378402
379403 $f0_2($f0_1($f0_1($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), 9), 10)
380404 }
381405
382406
383407 func minSwapAmountFAIL (swapType,minSwapAmount) = throw(((("The specified amount in " + swapType) + " swap is less than the required minimum of ") + toString(minSwapAmount)))
384408
385409
386410 func emergencyShutdownFAIL () = throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
387411
388412
389413 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)))
390414
391415
392416 let neutrinoAssetId = fromBase58String(getStringByKey(NeutrinoAssetIdKey))
393417
394418 let priceIndex = getNumberByAddressAndKey(controlContract, PriceIndexKey)
395419
396420 let isBlocked = getBoolByAddressAndKey(controlContract, IsBlockedKey)
397421
398422 let nodeOracleProviderPubKey = fromBase58String(getStringByKey(NodeOracleProviderPubKeyKey))
399423
400424 let bondAssetId = fromBase58String("F3iaxzruFeKujfVfYSZEkejpjh67wmRfPCRHiNmWKp3Z")
401425
402426 let deprecatedBondAssetId = fromBase58String("975akZBfnMj513U7MZaHKzQrmsEx5aE3wdWKTrHBhbjF")
403427
404428 let neutrinoContract = this
405429
406430 let currentPrice = getNumberByAddressAndKey(controlContract, PriceKey)
407431
408432 func checkIsValidMinSponsoredFee (tx) = {
409433 let MINTRANSFERFEE = 100000
410434 let SponsoredFeeUpperBound = 1000
411435 let realNeutrinoFee = convertWavesToNeutrino(MINTRANSFERFEE, currentPrice)
412436 let minNeutrinoFee = (realNeutrinoFee * 2)
413437 let maxNeutrinoFee = fraction(realNeutrinoFee, SponsoredFeeUpperBound, 100)
414438 let inputFee = value(tx.minSponsoredAssetFee)
415439 if (if ((inputFee >= minNeutrinoFee))
416440 then (maxNeutrinoFee >= inputFee)
417441 else false)
418442 then (tx.assetId == neutrinoAssetId)
419443 else false
420444 }
421445
422446
423447 func getPriceHistory (block) = getNumberByAddressAndKey(controlContract, getPriceHistoryKey(block))
424448
425449
426450 func getHeightPriceByIndex (index) = getNumberByAddressAndKey(controlContract, getHeightPriceByIndexKey(index))
427451
428452
429453 func keyLockParamUserAmount (userAddress) = makeString(["%s%s%s", "paramByUser", userAddress, "amount"], SEP)
430454
431455
432456 let sIdxSwapType = 1
433457
434458 let sIdxStatus = 2
435459
436460 let sIdxInAmount = 3
437461
438462 let sIdxStartHeight = 7
439463
440464 let sIdxStartTimestamp = 8
441465
442466 let sIdxSelfUnlockHeight = 11
443467
444468 let sIdxMinRand = 15
445469
446470 let sIdxMaxRand = 16
447471
448472 let sIdxInAsset = 20
449473
450474 func swapKEY (userAddress,txId) = makeString(["%s%s", userAddress, txId], SEP)
451475
452476
453477 func strSwapDATA (swapType,status,inAmount,price,outNetAmount,outFeeAmount,startHeight,startTimestamp,endHeight,endTimestamp,selfUnlockHeight,randUnlockHeight,index,withdrawTxId,randMin,randMax,outSurfAmt,br,basketData,inAsset) = makeString(["%s%s%d%d%d%d%d%d%d%d%d%d%d%s%d%d%d%d%s%s", swapType, status, inAmount, price, outNetAmount, outFeeAmount, startHeight, startTimestamp, endHeight, endTimestamp, selfUnlockHeight, randUnlockHeight, index, withdrawTxId, randMin, randMax, outSurfAmt, br, basketData, inAsset], SEP)
454478
455479
456480 func pendingSwapDATA (swapType,inAssetAmount,selfUnlockHeight,inAsset) = strSwapDATA(swapType, "PENDING", toString(inAssetAmount), "0", "0", "0", toString(height), toString(lastBlock.timestamp), "0", "0", toString(selfUnlockHeight), "0", "0", "NULL", "0", "0", "0", "0", "", inAsset)
457481
458482
459483 func finishSwapDATA (dataArray,price,outNetAmount,outFeeAmount,randUnlockHeight,index,withdrawTxId,outSurfAmt,br,basketData,inAsset) = 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], toString(outSurfAmt), toString(br), basketData, inAsset)
460484
461485
462486 func swapDataFailOrREAD (userAddress,swapTxId) = {
463487 let swapKey = swapKEY(userAddress, swapTxId)
464488 split_4C(valueOrErrorMessage(getString(swapKey), ("no swap data for " + swapKey)), SEP)
465489 }
466490
467491
468492 func applyFees (amountOutGross,inAmtToSURF,feePart) = {
469493 let feeAmount = fraction(amountOutGross, feePart, MULT6)
470494 [(amountOutGross - feeAmount), feeAmount]
471495 }
472496
473497
474498 func applyFeesBasket (basketOut) = {
475499 let k6 = valueOrElse(getInteger(basketKKey()), MULT6)
476500 let d6 = valueOrElse(getInteger(basketDKey()), 50000)
477501 let feePart = fraction(k6, d6, MULT6)
478502 func feeApplier (acc,item) = {
479503 let feeAmount = fraction(item._2, feePart, MULT6)
480504 (acc :+ makeString([item._1, toString(item._3), toString((item._2 - feeAmount)), toString(feeAmount), toString(item._4)], LISTSEP))
481505 }
482506
483507 let a = {
484508 let $l = basketOut
485509 let $s = size($l)
486510 let $acc0 = nil
487511 func $f0_1 ($a,$i) = if (($i >= $s))
488512 then $a
489513 else feeApplier($a, $l[$i])
490514
491515 func $f0_2 ($a,$i) = if (($i >= $s))
492516 then $a
493517 else throw("List size exceeds 10")
494518
495519 $f0_2($f0_1($f0_1($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), 9), 10)
496520 }
497521 makeString(a, SEP)
498522 }
499523
500524
501525 func abs (x) = if ((0 > x))
502526 then -(x)
503527 else x
504528
505529
506530 func selectNode (unleaseAmount) = {
507531 let amountToLease = ((wavesBalance(neutrinoContract).available - unleaseAmount) - getReservedAmountForSponsorship())
508532 let oldLeased0 = getNumberByKey(getLeaseAmountKey(0))
509533 let oldLeased1 = getNumberByKey(getLeaseAmountKey(1))
510534 let newLeased0 = (amountToLease + oldLeased0)
511535 let newLeased1 = (amountToLease + oldLeased1)
512536 if (if ((newLeased0 > 0))
513537 then true
514538 else (newLeased1 > 0))
515539 then {
516540 let delta0 = abs((newLeased0 - oldLeased1))
517541 let delta1 = abs((newLeased1 - oldLeased0))
518542 if ((delta1 >= delta0))
519543 then $Tuple2(0, newLeased0)
520544 else $Tuple2(1, newLeased1)
521545 }
522546 else $Tuple2(-1, 0)
523547 }
524548
525549
526550 func thisOnly (i) = if ((i.caller != this))
527551 then throw("Permission denied: this contract only allowed")
528552 else true
529553
530554
531555 func prepareUnleaseAndLease (unleaseAmount) = {
532556 let nodeTuple = selectNode(unleaseAmount)
533557 let nodeIndex = nodeTuple._1
534558 let newLeaseAmount = nodeTuple._2
535559 if ((newLeaseAmount > 0))
536560 then {
537561 let leaseIdKey = getLeaseIdKey(nodeIndex)
538562 let oldLease = getBinary(this, leaseIdKey)
539563 let unleaseOrEmpty = if (isDefined(oldLease))
540564 then [LeaseCancel(value(oldLease))]
541565 else nil
542566 let leaseAmountKey = getLeaseAmountKey(nodeIndex)
543567 let lease = Lease(getStakingNodeAddressByIndex(nodeIndex), newLeaseAmount)
544568 (unleaseOrEmpty ++ [lease, BinaryEntry(leaseIdKey, lcalc(lease)), IntegerEntry(getLeaseAmountKey(nodeIndex), newLeaseAmount)])
545569 }
546570 else nil
547571 }
548572
549573
550574 func readNodeInfo (nodeIdx) = {
551575 let nodeAddress = getStakingNodeAddressByIndex(nodeIdx)
552576 let leasedAmtKEY = getLeaseAmountKey(nodeIdx)
553577 let leasedAmt = getNumberByKey(leasedAmtKEY)
554578 let leaseIdKEY = getLeaseIdKey(nodeIdx)
555579 let leaseId = value(getBinary(this, leaseIdKEY))
556580 $Tuple5(nodeAddress, leasedAmtKEY, leasedAmt, leaseIdKEY, leaseId)
557581 }
558582
559583
560584 func commonSwap (swapType,pmtAmount,inAsset,userAddressStr,txId58) = {
561585 let swapParamsSTRUCT = asSwapParamsSTRUCT(invoke(this, "swapParamsByUserSYSREADONLY", [userAddressStr, 0], nil))
562586 let swapLimitSpent = swapParamsSTRUCT._2
563587 let blcks2LmtReset = swapParamsSTRUCT._3
564588 let wavesSwapLimitMax = swapParamsSTRUCT._6
565589 let usdnSwapLimitMax = swapParamsSTRUCT._7
566590 let minSwapAmount = minSwapAmountREAD(swapType, inAsset)
567591 let totalLocked = totalLockedREAD(swapType, inAsset)
568592 let totalLockedByUser = totalLockedByUserREAD(swapType, userAddressStr, inAsset)
569593 let nodeAddress = getStakingNodeByIndex(0)
570594 let priceByIndex = getPriceHistory(getHeightPriceByIndex(priceIndex))
571595 let isSwapByNode = (nodeAddress == userAddressStr)
572596 let balanceLockMaxInterval = if (isSwapByNode)
573597 then nodeBalanceLockIntervalREAD()
574598 else balanceLockIntervalREAD(swapType)
575599 let selfUnlockHeight = (height + balanceLockMaxInterval)
576600 let swapUsdnVolume = if ((swapType == "outNeutrino"))
577601 then convertWavesToNeutrino(pmtAmount, priceByIndex)
578602 else pmtAmount
579603 let swapLimitMax = if ((swapType == "outNeutrino"))
580604 then convertWavesToNeutrino(wavesSwapLimitMax, priceByIndex)
581605 else usdnSwapLimitMax
582606 if ((minSwapAmount > pmtAmount))
583607 then minSwapAmountFAIL(swapType, minSwapAmount)
584608 else if (if (!(isSwapByNode))
585609 then (swapLimitSpent > 0)
586610 else false)
587611 then throw(("You have exceeded swap limit! Next allowed swap height is " + toString((height + blcks2LmtReset))))
588612 else if (if (!(isSwapByNode))
589613 then (swapUsdnVolume > swapLimitMax)
590614 else false)
591615 then throw(((("You have exceeded your swap limit! Requested: " + toString(swapUsdnVolume)) + ", available: ") + toString(swapLimitMax)))
592616 else if (isBlocked)
593617 then emergencyShutdownFAIL()
594618 else {
595- let leasePart = if (if ((swapType == "outNeutrino"))
596- then (inAsset == "WAVES")
619+ let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil))
620+ let basketInfo = asString(neutrinoMetrics[nMetricBasketInfo])
621+ let weightedPrice = asInt(neutrinoMetrics[nMetricWeightedPrice])
622+ let out = convertBasketItemToNeutrino(pmtAmount, inAsset, basketInfo, weightedPrice)
623+ if (if ((swapType == "outNeutrino"))
624+ then (0 >= out[1])
597625 else false)
598- then prepareUnleaseAndLease(0)
599- else nil
600- $Tuple2(([IntegerEntry(keySwapUserSpentInPeriod(userAddressStr), swapUsdnVolume), IntegerEntry(keyUserLastSwapHeight(userAddressStr), height), IntegerEntry(totalLockedByUserKEY(swapType, userAddressStr, inAsset), (totalLockedByUser + pmtAmount)), IntegerEntry(getBalanceUnlockBlockKey(userAddressStr), selfUnlockHeight), IntegerEntry(totalLockedKEY(swapType, inAsset), (totalLocked + pmtAmount)), StringEntry(swapKEY(userAddressStr, txId58), pendingSwapDATA(swapType, pmtAmount, selfUnlockHeight, inAsset))] ++ leasePart), unit)
626+ then throw((((((("Net amount is non-positive, cannot swap. (gross, net, fee) = (" + toString(out[0])) + ", ") + toString(out[1])) + ", ") + toString(out[2])) + ")"))
627+ else {
628+ let leasePart = if (if ((swapType == "outNeutrino"))
629+ then (inAsset == "WAVES")
630+ else false)
631+ then prepareUnleaseAndLease(0)
632+ else nil
633+ $Tuple2(([IntegerEntry(keySwapUserSpentInPeriod(userAddressStr), swapUsdnVolume), IntegerEntry(keyUserLastSwapHeight(userAddressStr), height), IntegerEntry(totalLockedByUserKEY(swapType, userAddressStr, inAsset), (totalLockedByUser + pmtAmount)), IntegerEntry(getBalanceUnlockBlockKey(userAddressStr), selfUnlockHeight), IntegerEntry(totalLockedKEY(swapType, inAsset), (totalLocked + pmtAmount)), StringEntry(swapKEY(userAddressStr, txId58), pendingSwapDATA(swapType, pmtAmount, selfUnlockHeight, inAsset))] ++ leasePart), unit)
634+ }
601635 }
602636 }
603637
604-
605-let nMetricIdxPrice = 0
606-
607-let nMetricIdxUsdnLockedBalance = 1
608-
609-let nMetricIdxWavesLockedBalance = 2
610-
611-let nMetricIdxReserve = 3
612-
613-let nMetricIdxReserveInUsdn = 4
614-
615-let nMetricIdxUsdnSupply = 5
616-
617-let nMetricIdxSurplus = 6
618-
619-let nMetricIdxSurplusPercent = 7
620-
621-let nMetricIdxBR = 8
622-
623-let nMetricIdxNsbtSupply = 9
624-
625-let nMetricIdxMaxNsbtSupply = 10
626-
627-let nMetricIdxSurfSupply = 11
628-
629-let nMetricUsdnUsdtPeg = 12
630-
631-let nMetricCurrentPriceAdj = 13
632-
633-let nMetricBasketInfo = 14
634-
635-let nMetricWeightedPrice = 15
636-
637-let nMetricTotalReservesUsd = 16
638638
639639 let bFuncIdxSurf = 0
640640
641641 let bFuncIdxWaves = 1
642642
643643 let bFuncIdxUsdn = 2
644644
645645 let bFuncIdxReserveStart = 3
646646
647647 let bFuncIdxSupplyStart = 4
648648
649649 let bFuncIdxBRStart = 5
650650
651651 let bFuncIdxReserveEnd = 6
652652
653653 let bFuncIdxSupplyEnd = 7
654654
655655 let bFuncIdxBREnd = 8
656656
657657 let bFuncIdxRest = 9
658658
659659 let bFuncIdxWavesPrice = 10
660660
661661 func calcWithdrawT2U (inAmount,inAsset,basketInfo,weightedPrice) = {
662662 let outAmt = convertBasketItemToNeutrino(inAmount, inAsset, basketInfo, weightedPrice)
663663 $Tuple12(outAmt[0], neutrinoAssetId, 0, inAsset, 0, weightedPrice, inAmount, 0, 0, 0, nil, [outAmt[1], outAmt[2]])
664664 }
665665
666666
667667 func calcWithdrawU2Basket (usdnIn,basketInfo,br,reservesInUsdn,neutrinoSupply) = {
668668 let brProtected = valueOrElse(getInteger(this, brProtectedKEY()), BRPROTECTED)
669669 let maxAllowedUsdnBeforeMinBr = if ((brProtected >= br))
670670 then 0
671671 else fraction((reservesInUsdn - fraction(brProtected, neutrinoSupply, MULT6)), MULT6, (MULT6 - brProtected))
672672 let allowedUsdnBeforeMinBr = if ((usdnIn > maxAllowedUsdnBeforeMinBr))
673673 then maxAllowedUsdnBeforeMinBr
674674 else usdnIn
675675 let allowedUsdnAfterMinBr = if ((usdnIn > maxAllowedUsdnBeforeMinBr))
676676 then fraction((usdnIn - maxAllowedUsdnBeforeMinBr), br, MULT6)
677677 else 0
678678 let allowedUsdn = (allowedUsdnBeforeMinBr + allowedUsdnAfterMinBr)
679679 let usdn2SURF = (usdnIn - allowedUsdn)
680680 let outAmtGross = convertNeutrinoToBasket(allowedUsdn, basketInfo, neutrinoSupply)
681681 $Tuple12(outAmtGross._2, unit, usdn2SURF, neutrinoAssetId, outAmtGross._2, outAmtGross._3, allowedUsdn, maxAllowedUsdnBeforeMinBr, allowedUsdnBeforeMinBr, allowedUsdnAfterMinBr, outAmtGross._1, nil)
682682 }
683683
684684
685685 func calcWithdraw (swapType,inAmount,price,neutrinoMetrics,inAsset) = {
686686 let brProtected = valueOrElse(getInteger(this, brProtectedKEY()), BRPROTECTED)
687687 let BR = asInt(neutrinoMetrics[nMetricIdxBR])
688688 let reservesInUsd = asInt(neutrinoMetrics[nMetricTotalReservesUsd])
689689 let neutrinoSupply = asInt(neutrinoMetrics[nMetricIdxUsdnSupply])
690690 let basketInfo = asString(neutrinoMetrics[nMetricBasketInfo])
691691 let weightedPrice = asInt(neutrinoMetrics[nMetricWeightedPrice])
692692 let outDataTuple = if ((swapType == "outNeutrino"))
693693 then calcWithdrawT2U(inAmount, inAsset, basketInfo, weightedPrice)
694694 else if ((swapType == "outMulti"))
695695 then calcWithdrawU2Basket(inAmount, basketInfo, BR, reservesInUsd, neutrinoSupply)
696696 else throw(("Unsupported swap type " + swapType))
697697 let outAmtGross = outDataTuple._1
698698 let outAssetId = outDataTuple._2
699699 let inAmtToSurfPart = outDataTuple._3
700700 let inAssetId = outDataTuple._4
701701 let unleaseAmt = outDataTuple._5
702702 let withdrawPrice = outDataTuple._6
703703 let basketData = outDataTuple._11
704704 let netFeeData = outDataTuple._12
705705 let outNetAmt = if ((swapType == "outNeutrino"))
706706 then netFeeData[0]
707707 else 0
708708 let outFeeAmt = if ((swapType == "outNeutrino"))
709709 then netFeeData[1]
710710 else 0
711711 let outSurfAmt = if ((0 >= inAmtToSurfPart))
712712 then 0
713713 else asInt(asAnyList(invoke(mathContract, "surfFunctionREADONLY", [inAmtToSurfPart, inAssetId], nil))[bFuncIdxSurf])
714714 let withdrawBasket = if ((swapType == "outMulti"))
715715 then applyFeesBasket(basketData)
716716 else ""
717717 $Tuple9(outNetAmt, outAssetId, outSurfAmt, inAmtToSurfPart, unleaseAmt, outFeeAmt, outAmtGross, withdrawPrice, withdrawBasket)
718718 }
719719
720720
721721 func keyApplyInProgress () = "%s__applyInProgress"
722722
723723
724724 func keyProposalDataById (proposalId) = ("%s%d__proposalData__" + toString(proposalId))
725725
726726
727727 let govIdxTxIds = 9
728728
729729 func validateUpdate (tx) = match tx {
730730 case o: Order =>
731731 throw("Orders aren't allowed")
732732 case t: DataTransaction|SponsorFeeTransaction|SetScriptTransaction|CreateAliasTransaction|LeaseCancelTransaction|LeaseTransaction|IssueTransaction|InvokeExpressionTransaction|UpdateAssetInfoTransaction|InvokeScriptTransaction|SetAssetScriptTransaction|TransferTransaction|ExchangeTransaction|MassTransferTransaction|BurnTransaction|ReissueTransaction =>
733733 let txId = toBase58String(t.id)
734734 let proposalId = valueOrErrorMessage(getInteger(govContract, keyApplyInProgress()), "Apply is not happening")
735735 let txList = split(split(getStringOrFail(govContract, keyProposalDataById(proposalId)), SEP)[govIdxTxIds], LISTSEP)
736736 if (!(isDefined(indexOf(txList, txId))))
737737 then throw(((("Unknown txId: " + txId) + " for proposalId=") + toString(proposalId)))
738738 else true
739739 case _ =>
740740 throw("Match error")
741741 }
742742
743743
744744 @Callable(i)
745745 func constructorV1 (neutrinoAssetIdPrm,bondAssetIdPrm,auctionContractPrm,liquidationContractPrm,rpdContractPrm,nodeOracleProviderPubKeyPrm,balanceWavesLockIntervalPrm,balanceNeutrinoLockIntervalPrm,minWavesSwapAmountPrm,minNeutrinoSwapAmountPrm,neutrinoOutFeePartPrm,wavesOutFeePartPrm) = {
746746 let checkCaller = thisOnly(i)
747747 if ((checkCaller == checkCaller))
748748 then if ((size(i.payments) != 0))
749749 then throw("no payments allowed")
750750 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(MinTokenSwapAmountKey("WAVES"), minWavesSwapAmountPrm), IntegerEntry(MinNeutrinoSwapAmountKey, minNeutrinoSwapAmountPrm), IntegerEntry(NeutrinoOutFeePartKey, neutrinoOutFeePartPrm), IntegerEntry(WavesOutFeePartKey, wavesOutFeePartPrm)]
751751 else throw("Strict value is not equal to itself.")
752752 }
753753
754754
755755
756756 @Callable(i)
757757 func constructorV2 (mathContract,nsbtStakingContract,swapsTimeframeBlocks) = {
758758 let checkCaller = thisOnly(i)
759759 if ((checkCaller == checkCaller))
760760 then if ((size(i.payments) != 0))
761761 then throw("no payments allowed")
762762 else [StringEntry(MathContractKey, mathContract), StringEntry(NsbtStakingContractKey, nsbtStakingContract), IntegerEntry(swapsTimeframeKEY(), swapsTimeframeBlocks)]
763763 else throw("Strict value is not equal to itself.")
764764 }
765765
766766
767767
768768 @Callable(i)
769769 func constructorV3 (assetsWeightsMins,dParam,kParam,bParam,deltaParam) = {
770770 let checkCaller = thisOnly(i)
771771 if ((checkCaller == checkCaller))
772772 then if ((size(i.payments) != 0))
773773 then throw("no payments allowed")
774774 else {
775775 func prepare (acc,item) = {
776776 let parts = split(item, "_")
777777 let assetId = parts[0]
778778 let weight = parseIntValue(parts[1])
779779 let minVal = parseIntValue(parts[2])
780780 $Tuple2((acc._1 :+ assetId), ((acc._2 :+ IntegerEntry(basketWeightByAssetKey(assetId), weight)) :+ IntegerEntry(MinTokenSwapAmountKey(assetId), minVal)))
781781 }
782782
783783 let r = {
784784 let $l = assetsWeightsMins
785785 let $s = size($l)
786786 let $acc0 = $Tuple2(nil, nil)
787787 func $f0_1 ($a,$i) = if (($i >= $s))
788788 then $a
789789 else prepare($a, $l[$i])
790790
791791 func $f0_2 ($a,$i) = if (($i >= $s))
792792 then $a
793793 else throw("List size exceeds 10")
794794
795795 $f0_2($f0_1($f0_1($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), 9), 10)
796796 }
797- (((((r._2 :+ IntegerEntry(basketDKey(), dParam)) :+ IntegerEntry(basketKKey(), kParam)) :+ IntegerEntry(basketBKey(), bParam)) :+ IntegerEntry(basketLogbDeltaKey(), log(bParam, 6, deltaParam, 6, 6, HALFUP))) :+ StringEntry(basketAssetsKey(), makeString(r._1, SEP)))
797+ (((((r._2 :+ IntegerEntry(basketDKey(), dParam)) :+ IntegerEntry(basketKKey(), kParam)) :+ IntegerEntry(basketBKey(), bParam)) :+ IntegerEntry(basketLogbDeltaKey(), log(deltaParam, 6, bParam, 6, 6, HALFUP))) :+ StringEntry(basketAssetsKey(), makeString(r._1, SEP)))
798798 }
799799 else throw("Strict value is not equal to itself.")
800800 }
801801
802802
803803
804804 @Callable(i)
805805 func swapTokenToNeutrino () = if ((size(i.payments) != 1))
806806 then throw("swapTokenToNeutrino require only one payment")
807807 else {
808808 let pmt = value(i.payments[0])
809809 let basketAssets = valueOrElse(getString(basketAssetsKey()), "WAVES")
810810 let pmtAssetIdStr = toBase58String(valueOrElse(pmt.assetId, WAVESID))
811811 if (!(contains(basketAssets, pmtAssetIdStr)))
812812 then throw(((pmtAssetIdStr + " is not one of basket tokens:") + basketAssets))
813813 else {
814814 let userAddress = toString(i.caller)
815815 let txId58 = toBase58String(i.transactionId)
816816 commonSwap("outNeutrino", pmt.amount, pmtAssetIdStr, userAddress, txId58)
817817 }
818818 }
819819
820820
821821
822822 @Callable(i)
823823 func swapNeutrinoToBasket () = if ((size(i.payments) != 1))
824824 then throw("swapNeutrinoToBasket require only one payment")
825825 else {
826826 let pmt = value(i.payments[0])
827827 if ((pmt.assetId != neutrinoAssetId))
828828 then throw("Only appropriate Neutrino tokens are allowed for swapping.")
829829 else {
830830 let userAddress = toString(i.caller)
831831 let txId58 = toBase58String(i.transactionId)
832832 commonSwap("outMulti", pmt.amount, toBase58String(neutrinoAssetId), userAddress, txId58)
833833 }
834834 }
835835
836836
837837
838838 @Callable(i)
839839 func withdraw (account,index,swapTxId) = {
840840 let txId = toBase58String(i.transactionId)
841841 if ((size(i.payments) != 0))
842842 then throw("no payments allowed")
843843 else {
844844 let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil))
845845 let BR = asInt(neutrinoMetrics[nMetricIdxBR])
846846 let userAddress = addressFromStringValue(account)
847847 let dataArray = swapDataFailOrREAD(account, swapTxId)
848848 let selfUnlockHeight = parseIntValue(dataArray[sIdxSelfUnlockHeight])
849849 let swapType = dataArray[sIdxSwapType]
850850 let inAmount = parseIntValue(dataArray[sIdxInAmount])
851851 let swapStatus = dataArray[sIdxStatus]
852852 let startHeight = parseIntValue(dataArray[sIdxStartHeight])
853853 let inAsset = dataArray[sIdxInAsset]
854854 let totalLocked = totalLockedREAD(swapType, inAsset)
855855 let totalLockedByUser = totalLockedByUserREAD(swapType, account, inAsset)
856856 let unlockHeight = selfUnlockHeight
857857 let indexHeight = getHeightPriceByIndex(index)
858858 let prevIndexHeight = getHeightPriceByIndex((index - 1))
859859 let priceByIndex = getPriceHistory(indexHeight)
860860 if (isBlocked)
861861 then emergencyShutdownFAIL()
862862 else if ((swapStatus != "PENDING"))
863863 then throw("swap has been already processed")
864864 else if ((unlockHeight > height))
865865 then throw((("please wait for: " + toString(unlockHeight)) + " block height to withdraw funds"))
866866 else if (if (if ((index > priceIndex))
867867 then true
868868 else (unlockHeight > indexHeight))
869869 then true
870870 else if ((prevIndexHeight != 0))
871871 then (prevIndexHeight >= unlockHeight)
872872 else false)
873873 then priceIndexFAIL(index, priceIndex, indexHeight, unlockHeight, prevIndexHeight)
874874 else {
875875 let withdrawTuple = calcWithdraw(swapType, inAmount, priceByIndex, neutrinoMetrics, inAsset)
876876 let outNetAmount = withdrawTuple._1
877877 let outAssetId = withdrawTuple._2
878878 let outSurfAmt = withdrawTuple._3
879879 let unleaseAmt = withdrawTuple._5
880880 let outFeeAmount = withdrawTuple._6
881881 let outAmtGross = withdrawTuple._7
882882 let withdrawPrice = withdrawTuple._8
883883 let withdrawBasket = withdrawTuple._9
884884 if ((0 >= outAmtGross))
885885 then throw("balance equals zero")
886886 else {
887887 let surfCondition = if ((outSurfAmt > 0))
888888 then {
889889 let issueResult = invoke(auctionContract, "issueSurf", [outSurfAmt, account], nil)
890890 if ((issueResult == issueResult))
891891 then 0
892892 else throw("Strict value is not equal to itself.")
893893 }
894894 else 0
895895 if ((surfCondition == surfCondition))
896896 then {
897897 let unleaseInvOrEmpty = invoke(this, "internalUnleaseAndLease", [unleaseAmt], nil)
898898 if ((unleaseInvOrEmpty == unleaseInvOrEmpty))
899899 then {
900900 let gnsbtData = asAnyList(invoke(gnsbtControllerContract, "gnsbtInfoSYSREADONLY", ["", 0, 0], nil))
901901 let gnsbtAmtTotal = asInt(gnsbtData[1])
902902 let gnsbtAmtFromSurfTotal = asInt(asAnyList(gnsbtData[3])[3])
903903 let commonActions = [IntegerEntry(totalLockedByUserKEY(swapType, account, inAsset), (totalLockedByUser - inAmount)), IntegerEntry(totalLockedKEY(swapType, inAsset), (totalLocked - inAmount)), StringEntry(swapKEY(account, swapTxId), finishSwapDATA(dataArray, withdrawPrice, outNetAmount, outFeeAmount, unlockHeight, index, txId, outSurfAmt, BR, withdrawBasket, inAsset))]
904904 if ((swapType == "outMulti"))
905905 then {
906906 let basket = split(withdrawBasket, "_")
907907 func looper (acc,item) = {
908908 let it = split(item, LISTSEP)
909909 let tempAssetId = fromBase58String(it[0])
910910 let assetId = if ((tempAssetId == WAVESID))
911911 then unit
912912 else tempAssetId
913913 let netAmount = parseIntValue(it[2])
914914 let feeAmount = parseIntValue(it[3])
915915 let surfAmt1 = if ((gnsbtAmtTotal != 0))
916916 then fraction(feeAmount, gnsbtAmtFromSurfTotal, gnsbtAmtTotal)
917917 else 0
918918 let surfAmt2 = if ((gnsbtAmtTotal != 0))
919919 then fraction(feeAmount, (MULT6 - BR), MULT6)
920920 else 0
921921 let surfAmt = max([surfAmt1, surfAmt2])
922922 let nsbtAmt = (feeAmount - surfAmt)
923923 $Tuple5((acc._1 :+ ScriptTransfer(userAddress, netAmount, assetId)), (acc._2 :+ AttachedPayment(assetId, surfAmt)), (acc._3 :+ AttachedPayment(assetId, nsbtAmt)), (acc._4 + surfAmt), (acc._5 + nsbtAmt))
924924 }
925925
926926 let r = {
927927 let $l = basket
928928 let $s = size($l)
929929 let $acc0 = $Tuple5(nil, nil, nil, 0, 0)
930930 func $f0_1 ($a,$i) = if (($i >= $s))
931931 then $a
932932 else looper($a, $l[$i])
933933
934934 func $f0_2 ($a,$i) = if (($i >= $s))
935935 then $a
936936 else throw("List size exceeds 10")
937937
938938 $f0_2($f0_1($f0_1($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), 9), 10)
939939 }
940940 let surfDeposit = if ((r._4 > 0))
941941 then {
942942 let surfInv = invoke(surfStakingContract, "deposit", nil, r._2)
943943 if ((surfInv == surfInv))
944944 then 0
945945 else throw("Strict value is not equal to itself.")
946946 }
947947 else 0
948948 if ((surfDeposit == surfDeposit))
949949 then {
950950 let nsbtDeposit = if ((r._5 > 0))
951951 then {
952952 let nsbtInv = invoke(nsbtStakingContract, "deposit", nil, r._3)
953953 if ((nsbtInv == nsbtInv))
954954 then 0
955955 else throw("Strict value is not equal to itself.")
956956 }
957957 else 0
958958 if ((nsbtDeposit == nsbtDeposit))
959959 then (commonActions ++ r._1)
960960 else throw("Strict value is not equal to itself.")
961961 }
962962 else throw("Strict value is not equal to itself.")
963963 }
964964 else {
965965 let fee = AttachedPayment(outAssetId, outFeeAmount)
966966 let surfFeeAmt1 = if ((gnsbtAmtTotal != 0))
967967 then fraction(fee.amount, gnsbtAmtFromSurfTotal, gnsbtAmtTotal)
968968 else 0
969969 let surfFeeAmt2 = if ((gnsbtAmtTotal != 0))
970970 then fraction(fee.amount, (MULT6 - BR), MULT6)
971971 else 0
972972 let surfFeeAmt = max([surfFeeAmt1, surfFeeAmt2])
973973 let nsbtFeeAmt = (fee.amount - surfFeeAmt)
974974 let surfDeposit = if ((surfFeeAmt > 0))
975975 then {
976976 let surfInv = invoke(surfStakingContract, "deposit", nil, [AttachedPayment(fee.assetId, surfFeeAmt)])
977977 if ((surfInv == surfInv))
978978 then nil
979979 else throw("Strict value is not equal to itself.")
980980 }
981981 else nil
982982 if ((surfDeposit == surfDeposit))
983983 then {
984984 let nsbtDeposit = if ((nsbtFeeAmt > 0))
985985 then {
986986 let nsbtInv = invoke(nsbtStakingContract, "deposit", nil, [AttachedPayment(fee.assetId, nsbtFeeAmt)])
987987 if ((nsbtInv == nsbtInv))
988988 then nil
989989 else throw("Strict value is not equal to itself.")
990990 }
991991 else nil
992992 if ((nsbtDeposit == nsbtDeposit))
993993 then (commonActions :+ ScriptTransfer(userAddress, outNetAmount, outAssetId))
994994 else throw("Strict value is not equal to itself.")
995995 }
996996 else throw("Strict value is not equal to itself.")
997997 }
998998 }
999999 else throw("Strict value is not equal to itself.")
10001000 }
10011001 else throw("Strict value is not equal to itself.")
10021002 }
10031003 }
10041004 }
10051005 }
10061006
10071007
10081008
10091009 @Callable(i)
10101010 func internalUnleaseAndLease (unleaseAmount) = if ((i.caller != this))
10111011 then throw("internalUnleaseAndLease is not public method")
10121012 else prepareUnleaseAndLease(unleaseAmount)
10131013
10141014
10151015
10161016 @Callable(i)
10171017 func transferUsdnToUser (amount,addr) = if ((i.caller != auctionContract))
10181018 then throw("Only auction contract is authorized")
10191019 else [ScriptTransfer(addressFromStringValue(addr), amount, neutrinoAssetId)]
10201020
10211021
10221022
10231023 @Callable(i)
10241024 func acceptWaves () = if (if ((i.caller != auctionContract))
10251025 then (i.caller != govContract)
10261026 else false)
10271027 then throw("Currently only auction and governance contracts are allowed to call")
10281028 else $Tuple2(prepareUnleaseAndLease(0), "success")
10291029
10301030
10311031
10321032 @Callable(i)
10331033 func approveLeasings (nListS,groupNum,lAmt) = {
10341034 let nIdxs = [0, 1, 2, 3, 4, 5, 6, 7]
10351035 let mngPubS = valueOrElse(getString("%s%s__cfg__leasingManagerPub"), "7AUMX54ukYMYvPmma7yoFf5NjZhs4Bu5nz3Ez9EV8sur")
10361036 let mngPub = fromBase58String(mngPubS)
10371037 let nodeRegAddrStr = valueOrElse(getString("%s%s__cfg__nodesRegistryAddress"), "3P9vKqQKjUdmpXAfiWau8krREYAY1Xr69pE")
10381038 let nodeRegAddr = addressFromStringValue(nodeRegAddrStr)
10391039 let lGroupNodeListKEY = getLeaseGroupNodeListKey(groupNum)
10401040 let lGrNodeOpt = getString(this, lGroupNodeListKEY)
10411041 if (isDefined(lGrNodeOpt))
10421042 then throw((("group " + toString(groupNum)) + " already initialized"))
10431043 else {
10441044 let nList = split(nListS, SEP)
10451045 let expCount = size(nIdxs)
10461046 if ((i.callerPublicKey != mngPub))
10471047 then throw("approveLeasings not authorized")
10481048 else {
1049- let $t04338043442 = readNodeInfo(0)
1050- let nAddr0 = $t04338043442._1
1051- let lAmtKEY0 = $t04338043442._2
1052- let lAmt0 = $t04338043442._3
1053- let lIdKEY0 = $t04338043442._4
1054- let lId0 = $t04338043442._5
1049+ let $t04396444026 = readNodeInfo(0)
1050+ let nAddr0 = $t04396444026._1
1051+ let lAmtKEY0 = $t04396444026._2
1052+ let lAmt0 = $t04396444026._3
1053+ let lIdKEY0 = $t04396444026._4
1054+ let lId0 = $t04396444026._5
10551055 let newL0 = Lease(nAddr0, (lAmt0 - (lAmt * expCount)))
10561056 let validation = invoke(nodeRegAddr, "validateAndApproveLeasings", [nListS], nil)
10571057 if ((validation == validation))
10581058 then {
10591059 func forEachNodeValidateAndGenerateLease (a,i) = {
10601060 let node = nList[i]
10611061 let la = Lease(addressFromStringValue(node), lAmt)
10621062 (a ++ [la, BinaryEntry(getLeaseIdByAddressKey(node), lcalc(la)), IntegerEntry(getLeaseAmountByAddressKey(node), lAmt)])
10631063 }
10641064
10651065 ([StringEntry(lGroupNodeListKEY, nListS), BinaryEntry(lIdKEY0, lcalc(newL0)), IntegerEntry(lAmtKEY0, newL0.amount), LeaseCancel(lId0), newL0] ++ {
10661066 let $l = nIdxs
10671067 let $s = size($l)
10681068 let $acc0 = nil
10691069 func $f0_1 ($a,$i) = if (($i >= $s))
10701070 then $a
10711071 else forEachNodeValidateAndGenerateLease($a, $l[$i])
10721072
10731073 func $f0_2 ($a,$i) = if (($i >= $s))
10741074 then $a
10751075 else throw("List size exceeds 8")
10761076
10771077 $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)
10781078 })
10791079 }
10801080 else throw("Strict value is not equal to itself.")
10811081 }
10821082 }
10831083 }
10841084
10851085
10861086
10871087 @Callable(i)
10881088 func rebalanceLeasings (amount,groupNum) = {
10891089 let nIdxs = [0, 1, 2, 3, 4, 5, 6, 7]
10901090 let mngPubS = valueOrElse(getString("%s%s__cfg__leasingManagerPub"), "7AUMX54ukYMYvPmma7yoFf5NjZhs4Bu5nz3Ez9EV8sur")
10911091 let mngPub = fromBase58String(mngPubS)
10921092 let lGroupNodeListKEY = getLeaseGroupNodeListKey(groupNum)
10931093 let nListS = getStringOrFail(this, lGroupNodeListKEY)
10941094 let nList = split(nListS, SEP)
10951095 if ((i.callerPublicKey != mngPub))
10961096 then throw("rebalanceLeasings not authorized")
10971097 else {
10981098 let unleaseAmt = ((amount / size(nList)) + 1)
1099- let $t04468244744 = readNodeInfo(0)
1100- let nAddr0 = $t04468244744._1
1101- let lAmtKEY0 = $t04468244744._2
1102- let lAmt0 = $t04468244744._3
1103- let lIdKEY0 = $t04468244744._4
1104- let lId0 = $t04468244744._5
1099+ let $t04526645328 = readNodeInfo(0)
1100+ let nAddr0 = $t04526645328._1
1101+ let lAmtKEY0 = $t04526645328._2
1102+ let lAmt0 = $t04526645328._3
1103+ let lIdKEY0 = $t04526645328._4
1104+ let lId0 = $t04526645328._5
11051105 let newL0 = Lease(nAddr0, (lAmt0 + (unleaseAmt * size(nList))))
11061106 func forEachNodeDoUnlease (a,i) = {
11071107 let node = nList[i]
11081108 let lIdKEY = getLeaseIdByAddressKey(node)
11091109 let lId = getBinaryValue(this, lIdKEY)
11101110 let lAmtKEY = getLeaseAmountByAddressKey(node)
11111111 let lAmt = getIntegerValue(this, lAmtKEY)
11121112 let ula = LeaseCancel(value(lId))
11131113 let la = Lease(addressFromStringValue(node), (lAmt - unleaseAmt))
11141114 (a ++ [LeaseCancel(value(lId)), la, BinaryEntry(lIdKEY, lcalc(la)), IntegerEntry(lAmtKEY, la.amount)])
11151115 }
11161116
11171117 ({
11181118 let $l = nIdxs
11191119 let $s = size($l)
11201120 let $acc0 = nil
11211121 func $f0_1 ($a,$i) = if (($i >= $s))
11221122 then $a
11231123 else forEachNodeDoUnlease($a, $l[$i])
11241124
11251125 func $f0_2 ($a,$i) = if (($i >= $s))
11261126 then $a
11271127 else throw("List size exceeds 8")
11281128
11291129 $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)
11301130 } ++ [BinaryEntry(lIdKEY0, lcalc(newL0)), IntegerEntry(lAmtKEY0, newL0.amount), LeaseCancel(lId0), newL0])
11311131 }
11321132 }
11331133
11341134
11351135
11361136 @Callable(i)
11371137 func swapParamsByUserSYSREADONLY (userAddressStr,gnsbtDiff) = {
11381138 let gnsbtData = asAnyList(invoke(gnsbtControllerContract, "gnsbtInfoSYSREADONLY", [userAddressStr, 0, 0], nil))
11391139 let gnsbtAmt = (asInt(gnsbtData[0]) + gnsbtDiff)
11401140 let gnsbtAmtTotal = (asInt(gnsbtData[1]) + gnsbtDiff)
11411141 let swapLimitData = asAnyList(invoke(mathContract, "calcSwapLimitREADONLY", [gnsbtAmt], nil))
11421142 let wavesSwapLimitInUsdnMax = asInt(swapLimitData[0])
11431143 let wavesSwapLimitMax = asInt(swapLimitData[1])
11441144 let usdnSwapLimitMax = asInt(swapLimitData[2])
11451145 let lastSwapHeight = valueOrElse(getInteger(this, keyUserLastSwapHeight(userAddressStr)), 0)
11461146 let swapLimitTimelifeBlocks = swapsTimeframeREAD()
11471147 let passedBlocksAfterLastSwap = (height - lastSwapHeight)
11481148 let isSwapTimelifeNew = (passedBlocksAfterLastSwap >= swapLimitTimelifeBlocks)
11491149 let swapLimitSpentInUsdn = if (isSwapTimelifeNew)
11501150 then 0
11511151 else valueOrElse(getInteger(this, keySwapUserSpentInPeriod(userAddressStr)), 0)
11521152 let blcks2LmtReset = if (isSwapTimelifeNew)
11531153 then 0
11541154 else (swapLimitTimelifeBlocks - passedBlocksAfterLastSwap)
11551155 $Tuple2(nil, $Tuple7(wavesSwapLimitInUsdnMax, swapLimitSpentInUsdn, blcks2LmtReset, gnsbtAmt, gnsbtAmtTotal, wavesSwapLimitMax, usdnSwapLimitMax))
11561156 }
11571157
11581158
11591159
11601160 @Callable(i)
11611161 func calcWithdrawResultSYSREADONLY (swapType,inAmount,price,inAsset) = {
11621162 let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil))
11631163 $Tuple2(nil, calcWithdraw(swapType, inAmount, price, neutrinoMetrics, inAsset))
11641164 }
11651165
11661166
11671167
11681168 @Callable(i)
11691169 func replaceCommunityNode (oldAddrStr,newAddrStr,groupNum,penaltyAmount) = {
11701170 let mngPubS = valueOrElse(getString("%s%s__cfg__leasingManagerPub"), "7AUMX54ukYMYvPmma7yoFf5NjZhs4Bu5nz3Ez9EV8sur")
11711171 let mngPub = fromBase58String(mngPubS)
11721172 if ((i.callerPublicKey != mngPub))
11731173 then throw("replaceCommunityNode not authorized")
11741174 else {
11751175 let groupKey = getLeaseGroupNodeListKey(groupNum)
11761176 let groupNodeListS = getStringOrFail(this, groupKey)
11771177 if (!(contains(groupNodeListS, oldAddrStr)))
11781178 then throw(((("Group " + toString(groupNum)) + " does not contain address ") + oldAddrStr))
11791179 else {
11801180 let doReplace = invoke(nodeRegistryContract, "replaceApprovedNode", [oldAddrStr, newAddrStr, groupNum, penaltyAmount], nil)
11811181 if ((doReplace == doReplace))
11821182 then {
11831183 let oldLeaseIdKey = getLeaseIdByAddressKey(oldAddrStr)
11841184 let oldLeaseAmtKey = getLeaseAmountByAddressKey(oldAddrStr)
11851185 let leaseAmt = getIntegerValue(oldLeaseAmtKey)
11861186 let newLeaseIdKey = getLeaseIdByAddressKey(newAddrStr)
11871187 let newLeaseAmtKey = getLeaseAmountByAddressKey(newAddrStr)
11881188 let newLease = Lease(addressFromStringValue(newAddrStr), leaseAmt)
11891189 let updatedGroupNodeListS = makeString(split(groupNodeListS, oldAddrStr), newAddrStr)
11901190 $Tuple2([LeaseCancel(getBinaryValue(oldLeaseIdKey)), DeleteEntry(oldLeaseIdKey), DeleteEntry(oldLeaseAmtKey), StringEntry(groupKey, updatedGroupNodeListS), newLease, BinaryEntry(newLeaseIdKey, lcalc(newLease)), IntegerEntry(newLeaseAmtKey, leaseAmt)], unit)
11911191 }
11921192 else throw("Strict value is not equal to itself.")
11931193 }
11941194 }
11951195 }
11961196
11971197
11981198
11991199 @Callable(i)
12001200 func updateReservesAndNeutrinoSupply () = {
12011201 func getNumberByKeyInternal (key) = match getInteger(this, key) {
12021202 case a: Int =>
12031203 a
12041204 case _ =>
12051205 0
12061206 }
12071207
12081208 let nMetrix = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil))
12091209 let idx = getNumberByKeyInternal("updateReservesAndNeutrinoSupplyIdx")
12101210 let newIdx = (idx + 1)
12111211 [IntegerEntry("updateReservesAndNeutrinoSupplyIdx", newIdx), IntegerEntry("reserve", asInt(nMetrix[3])), IntegerEntry("neutrinoSupply", asInt(nMetrix[5])), IntegerEntry("reservesInUsdn", convertWavesToNeutrino(asInt(nMetrix[3]), asInt(nMetrix[0]))), IntegerEntry("surplus", asInt(nMetrix[6])), IntegerEntry("deficit", -(asInt(nMetrix[6])))]
12121212 }
12131213
12141214
12151215
12161216 @Callable(i)
12171217 func wavesBalancesVsPayment () = {
12181218 let b = wavesBalance(this)
12191219 [IntegerEntry("wavesBalance_available", b.available), IntegerEntry("wavesBalance_regular", b.regular), IntegerEntry("wavesBalance_generating", b.generating), IntegerEntry("wavesBalance_effective", b.effective), IntegerEntry("waves_payment", value(i.payments[0]).amount)]
12201220 }
12211221
12221222
12231223 @Verifier(tx)
12241224 func verify () = {
12251225 let pubKeyAdminsListStr = makeString(["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR"], SEP)
12261226 let pubKeyAdminsList = split(valueOrElse(getString(controlContract, "%s__multisig"), pubKeyAdminsListStr), SEP)
12271227 let count = ((((if (sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(pubKeyAdminsList[0])))
12281228 then 1
12291229 else 0) + (if (sigVerify(tx.bodyBytes, tx.proofs[1], fromBase58String(pubKeyAdminsList[1])))
12301230 then 1
12311231 else 0)) + (if (sigVerify(tx.bodyBytes, tx.proofs[2], fromBase58String(pubKeyAdminsList[2])))
12321232 then 1
12331233 else 0)) + (if (sigVerify(tx.bodyBytes, tx.proofs[3], fromBase58String(pubKeyAdminsList[3])))
12341234 then 2
12351235 else 0))
12361236 if (if (isBlocked)
12371237 then (getStringValue(controlContract, "is_blocked_caller") == toString(govContract))
12381238 else false)
12391239 then validateUpdate(tx)
12401240 else match tx {
12411241 case sponsorTx: SponsorFeeTransaction =>
12421242 if (checkIsValidMinSponsoredFee(sponsorTx))
12431243 then (count >= 3)
12441244 else false
12451245 case _ =>
12461246 (count >= 3)
12471247 }
12481248 }
12491249

github/deemru/w8io/026f985 
163.19 ms