tx · Ajom89W8cuwZjD2rJb91uyrTxnF149vusVg3H7cRstdv

3N9be2mwrA52WJho6DiesZkk4351GvpnWuj:  -0.04000000 Waves

2022.10.18 13:26 [2277712] smart account 3N9be2mwrA52WJho6DiesZkk4351GvpnWuj > SELF 0.00000000 Waves

{ "type": 13, "id": "Ajom89W8cuwZjD2rJb91uyrTxnF149vusVg3H7cRstdv", "fee": 4000000, "feeAssetId": null, "timestamp": 1666088861647, "version": 1, "sender": "3N9be2mwrA52WJho6DiesZkk4351GvpnWuj", "senderPublicKey": "6mzmbCza9iqbzxMEELcEA4Xc9NeF4CYpbTtz1zMK3C7x", "proofs": [ "4wxJTrPN5EUds1fTPoanqRexyxz4kh2VJobmNm7VMUGzPNUZX4QsGjQcskmH2ztrAfmjV6ijZinn7FktPSCKCHyd", "3CPjubERQdeK65h43urR5XVFsbYgzkBEWmgtpjqjcwjpkd5xNt9VeAeZ2fYro7mBHodjHJNdT8YYFV2eugW7Mfi1", "3EbBhwcHT3rkx5bwW14ec6BbGJC4Z4U386vi8gw7NCJaRUgNTCC3Byg9RxTkR31pbYNvDbnxCT3RvN6Vn2mJRuYW" ], "script": "base64:BgJXCAISDgoMCAgICAgIAQEBAQEBEgUKAwgIARIAEgASBQoDCAEIEgMKAQESBAoCAQgSABIFCgMIAQESBAoCAQESBAoCCAESBQoDCAEBEgYKBAgIAQESABIAqwEBD2dldFN0cmluZ09yRmFpbAIHYWRkcmVzcwNrZXkJARN2YWx1ZU9yRXJyb3JNZXNzYWdlAgkAnQgCBQdhZGRyZXNzBQNrZXkJALkJAgkAzAgCAgptYW5kYXRvcnkgCQDMCAIJAKUIAQUHYWRkcmVzcwkAzAgCAgEuCQDMCAIFA2tleQkAzAgCAg8gaXMgbm90IGRlZmluZWQFA25pbAIAAQVsY2FsYwEBbAkAuQgBBQFsAQ5nZXROdW1iZXJCeUtleQEDa2V5CQELdmFsdWVPckVsc2UCCQCaCAIFBHRoaXMFA2tleQAAAQ5nZXRTdHJpbmdCe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MIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACQDZBAEJAJEDAgUQcHViS2V5QWRtaW5zTGlzdAAAAAEAAAMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAEJANkEAQkAkQMCBRBwdWJLZXlBZG1pbnNMaXN0AAEAAQAAAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAgkA2QQBCQCRAwIFEHB1YktleUFkbWluc0xpc3QAAgABAAADCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwADCQDZBAEJAJEDAgUQcHViS2V5QWRtaW5zTGlzdAADAAIAAAQHJG1hdGNoMAUCdHgDCQABAgUHJG1hdGNoMAIVU3BvbnNvckZlZVRyYW5zYWN0aW9uBAlzcG9uc29yVHgFByRtYXRjaDADCQEbY2hlY2tJc1ZhbGlkTWluU3BvbnNvcmVkRmVlAQUJc3BvbnNvclR4CQBnAgUFY291bnQAAwcJAGcCBQVjb3VudAADlw42pw==", "chainId": 84, "height": 2277712, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FBKpVvYZtNmJoLSRfrT4K54ipi1SzUzGcHGVAr44x6No Next: HfuG7NEucEjM7vF7E2obE6yPmbk9G5nSchDuNxQwBGCm Diff:
OldNewDifferences
113113
114114 let IdxControlCfgGnsbtControllerDapp = 11
115115
116+let IdxControlCfgRestV2Dapp = 12
117+
118+let IdxControlCfgGovernanceDapp = 13
119+
116120 func keyControlAddress () = "%s%s__config__controlAddress"
117121
118122
119123 func keyControlCfg () = "%s__controlConfig"
120124
121125
122-func readControlCfgOrFail (control) = split(getStringOrFail(control, keyControlCfg()), SEP)
126+func readControlCfgOrFail (control) = split_4C(getStringOrFail(control, keyControlCfg()), SEP)
123127
124128
125129 func getContractAddressOrFail (controlCfg,idx) = valueOrErrorMessage(addressFromString(controlCfg[idx]), ("Control cfg doesn't contain address at index " + toString(idx)))
140144 let auctionContract = getContractAddressOrFail(controlCfg, IdxControlCfgAuctionDapp)
141145
142146 let nodeRegistryContract = getContractAddressOrFail(controlCfg, IdxControlCfgNodeRegistryDapp)
147+
148+let governanceContract = getContractAddressOrFail(controlCfg, IdxControlCfgGovernanceDapp)
143149
144150 let NeutrinoAssetIdKey = "neutrino_asset_id"
145151
778784
779785
780786 @Callable(i)
781-func acceptWaves () = if ((i.caller != auctionContract))
782- then throw("Currently only auction contract is allowed to call")
787+func acceptWaves () = if (if ((i.caller != auctionContract))
788+ then (i.caller != governanceContract)
789+ else false)
790+ then throw("Currently only auction and governance contracts are allowed to call")
783791 else $Tuple2(prepareUnleaseAndLease(0), "success")
784792
785793
801809 if ((i.callerPublicKey != mngPub))
802810 then throw("approveLeasings not authorized")
803811 else {
804- let $t03446334525 = readNodeInfo(0)
805- let nAddr0 = $t03446334525._1
806- let lAmtKEY0 = $t03446334525._2
807- let lAmt0 = $t03446334525._3
808- let lIdKEY0 = $t03446334525._4
809- let lId0 = $t03446334525._5
812+ let $t03469534757 = readNodeInfo(0)
813+ let nAddr0 = $t03469534757._1
814+ let lAmtKEY0 = $t03469534757._2
815+ let lAmt0 = $t03469534757._3
816+ let lIdKEY0 = $t03469534757._4
817+ let lId0 = $t03469534757._5
810818 let newL0 = Lease(nAddr0, (lAmt0 - (lAmt * expCount)))
811819 let validation = invoke(nodeRegAddr, "validateAndApproveLeasings", [nListS], nil)
812820 if ((validation == validation))
851859 then throw("rebalanceLeasings not authorized")
852860 else {
853861 let unleaseAmt = ((amount / size(nList)) + 1)
854- let $t03576535827 = readNodeInfo(0)
855- let nAddr0 = $t03576535827._1
856- let lAmtKEY0 = $t03576535827._2
857- let lAmt0 = $t03576535827._3
858- let lIdKEY0 = $t03576535827._4
859- let lId0 = $t03576535827._5
862+ let $t03599736059 = readNodeInfo(0)
863+ let nAddr0 = $t03599736059._1
864+ let lAmtKEY0 = $t03599736059._2
865+ let lAmt0 = $t03599736059._3
866+ let lIdKEY0 = $t03599736059._4
867+ let lId0 = $t03599736059._5
860868 let newL0 = Lease(nAddr0, (lAmt0 + (unleaseAmt * size(nList))))
861869 func forEachNodeDoUnlease (a,i) = {
862870 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 WAVELET = 100000000
7979
8080 let PAULI = 1000000
8181
8282 let PRICELET = 1000000
8383
8484 let DEFAULTSWAPFEE = 20000
8585
8686 let BRPROTECTED = 100000
8787
8888 let IdxNetAmount = 0
8989
9090 let IdxFeeAmount = 1
9191
9292 let IdxGrossAmount = 2
9393
9494 let IdxControlCfgNeutrinoDapp = 1
9595
9696 let IdxControlCfgAuctionDapp = 2
9797
9898 let IdxControlCfgRpdDapp = 3
9999
100100 let IdxControlCfgMathDapp = 4
101101
102102 let IdxControlCfgLiquidationDapp = 5
103103
104104 let IdxControlCfgRestDapp = 6
105105
106106 let IdxControlCfgNodeRegistryDapp = 7
107107
108108 let IdxControlCfgNsbtStakingDapp = 8
109109
110110 let IdxControlCfgMediatorDapp = 9
111111
112112 let IdxControlCfgSurfStakingDapp = 10
113113
114114 let IdxControlCfgGnsbtControllerDapp = 11
115115
116+let IdxControlCfgRestV2Dapp = 12
117+
118+let IdxControlCfgGovernanceDapp = 13
119+
116120 func keyControlAddress () = "%s%s__config__controlAddress"
117121
118122
119123 func keyControlCfg () = "%s__controlConfig"
120124
121125
122-func readControlCfgOrFail (control) = split(getStringOrFail(control, keyControlCfg()), SEP)
126+func readControlCfgOrFail (control) = split_4C(getStringOrFail(control, keyControlCfg()), SEP)
123127
124128
125129 func getContractAddressOrFail (controlCfg,idx) = valueOrErrorMessage(addressFromString(controlCfg[idx]), ("Control cfg doesn't contain address at index " + toString(idx)))
126130
127131
128132 let controlContract = addressFromStringValue(valueOrElse(getString(this, keyControlAddress()), "3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx"))
129133
130134 let controlCfg = readControlCfgOrFail(controlContract)
131135
132136 let mathContract = getContractAddressOrFail(controlCfg, IdxControlCfgMathDapp)
133137
134138 let nsbtStakingContract = getContractAddressOrFail(controlCfg, IdxControlCfgNsbtStakingDapp)
135139
136140 let surfStakingContract = getContractAddressOrFail(controlCfg, IdxControlCfgSurfStakingDapp)
137141
138142 let gnsbtControllerContract = getContractAddressOrFail(controlCfg, IdxControlCfgGnsbtControllerDapp)
139143
140144 let auctionContract = getContractAddressOrFail(controlCfg, IdxControlCfgAuctionDapp)
141145
142146 let nodeRegistryContract = getContractAddressOrFail(controlCfg, IdxControlCfgNodeRegistryDapp)
147+
148+let governanceContract = getContractAddressOrFail(controlCfg, IdxControlCfgGovernanceDapp)
143149
144150 let NeutrinoAssetIdKey = "neutrino_asset_id"
145151
146152 let BondAssetIdKey = "bond_asset_id"
147153
148154 let AuctionContractKey = "auction_contract"
149155
150156 let NsbtStakingContractKey = "nsbtStakingContract"
151157
152158 let LiquidationContractKey = "liquidation_contract"
153159
154160 let RPDContractKey = "rpd_contract"
155161
156162 let ContolContractKey = "control_contract"
157163
158164 let MathContractKey = "math_contract"
159165
160166 let BalanceWavesLockIntervalKey = "balance_waves_lock_interval"
161167
162168 let BalanceNeutrinoLockIntervalKey = "balance_neutrino_lock_interval"
163169
164170 let MinWavesSwapAmountKey = "min_waves_swap_amount"
165171
166172 let MinNeutrinoSwapAmountKey = "min_neutrino_swap_amount"
167173
168174 let NodeOracleProviderPubKeyKey = "node_oracle_provider"
169175
170176 let NeutrinoOutFeePartKey = "neutrinoOut_swap_feePart"
171177
172178 let WavesOutFeePartKey = "wavesOut_swap_feePart"
173179
174180 func keyNodeRegistry (address) = ("%s__" + address)
175181
176182
177183 let PriceKey = "price"
178184
179185 let PriceIndexKey = "price_index"
180186
181187 let IsBlockedKey = "is_blocked"
182188
183189 func getPriceHistoryKey (block) = ((PriceKey + "_") + toString(block))
184190
185191
186192 func getHeightPriceByIndexKey (index) = ((PriceIndexKey + "_") + toString(index))
187193
188194
189195 func getStakingNodeByIndex (idx) = getStringByKey(makeString(["%s%d%s", "lease", toString(idx), "nodeAddress"], SEP))
190196
191197
192198 func getStakingNodeAddressByIndex (idx) = addressFromStringValue(getStakingNodeByIndex(idx))
193199
194200
195201 func getReservedAmountForSponsorship () = valueOrElse(getInteger(this, makeString(["%s%s", "lease", "sponsorshipWavesReserve"], SEP)), (1000 * WAVELET))
196202
197203
198204 func getBalanceUnlockBlockKey (owner) = ("balance_unlock_block_" + owner)
199205
200206
201207 func getLeaseIdKey (nodeIndex) = makeString(["%s%d%s", "lease", toString(nodeIndex), "id"], SEP)
202208
203209
204210 func getLeaseIdByAddressKey (nodeAddress) = makeString(["%s%s%s", "leaseByAddress", nodeAddress, "id"], SEP)
205211
206212
207213 func getLeaseAmountKey (nodeIndex) = makeString(["%s%d%s", "lease", toString(nodeIndex), "amount"], SEP)
208214
209215
210216 func getLeaseAmountByAddressKey (nodeAddress) = makeString(["%s%s%s", "leaseByAddress", nodeAddress, "amount"], SEP)
211217
212218
213219 func getLeaseGroupNodeListKey (groupNum) = makeString(["%s%d%s", "leaseGroup", toString(groupNum), "nodeList"], SEP)
214220
215221
216222 func minSwapAmountKEY (swapType) = (("min_" + swapType) + "_swap_amount")
217223
218224
219225 func totalLockedKEY (swapType) = ("balance_lock_" + swapType)
220226
221227
222228 func totalLockedByUserKEY (swapType,owner) = makeString(["balance_lock", swapType, owner], "_")
223229
224230
225231 func balanceLockIntervalKEY (swapType) = (("balance_" + swapType) + "_lock_interval")
226232
227233
228234 func nodeBalanceLockIntervalKEY () = "balance_node_lock_interval"
229235
230236
231237 func outFeePartKEY (swapType) = (swapType + "Out_swap_feePart")
232238
233239
234240 func swapsTimeframeKEY () = "swaps_timeframe"
235241
236242
237243 func brProtectedKEY () = "min_BR_protection_level"
238244
239245
240246 func minSwapAmountREAD (swapType) = valueOrElse(getInteger(this, minSwapAmountKEY(swapType)), 0)
241247
242248
243249 func swapsTimeframeREAD () = valueOrElse(getInteger(this, swapsTimeframeKEY()), 1440)
244250
245251
246252 func totalLockedREAD (swapType) = valueOrElse(getInteger(this, totalLockedKEY(swapType)), 0)
247253
248254
249255 func totalLockedByUserREAD (swapType,owner) = valueOrElse(getInteger(this, totalLockedByUserKEY(swapType, owner)), 0)
250256
251257
252258 func balanceLockIntervalREAD (swapType) = valueOrElse(getInteger(this, balanceLockIntervalKEY(swapType)), 1440)
253259
254260
255261 func nodeBalanceLockIntervalREAD () = valueOrElse(getInteger(this, nodeBalanceLockIntervalKEY()), 1)
256262
257263
258264 func keySwapUserSpentInPeriod (userAddress) = makeString(["%s%s", "swapUserSpentInPeriod", userAddress], SEP)
259265
260266
261267 func keyUserLastSwapHeight (userAddress) = makeString(["%s%s", "userLastSwapHeight", userAddress], SEP)
262268
263269
264270 func convertNeutrinoToWaves (amount,price) = fraction(fraction(amount, PRICELET, price), WAVELET, PAULI)
265271
266272
267273 func convertWavesToNeutrino (amount,price) = fraction(fraction(amount, price, PRICELET), PAULI, WAVELET)
268274
269275
270276 func convertWavesToBond (amount,price) = convertWavesToNeutrino(amount, price)
271277
272278
273279 func convertJsonArrayToList (jsonArray) = split(jsonArray, ",")
274280
275281
276282 func minSwapAmountFAIL (swapType,minSwapAmount) = throw(((("The specified amount in " + swapType) + " swap is less than the required minimum of ") + toString(minSwapAmount)))
277283
278284
279285 func emergencyShutdownFAIL () = throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
280286
281287
282288 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)))
283289
284290
285291 let neutrinoAssetId = fromBase58String(getStringByKey(NeutrinoAssetIdKey))
286292
287293 let priceIndex = getNumberByAddressAndKey(controlContract, PriceIndexKey)
288294
289295 let isBlocked = getBoolByAddressAndKey(controlContract, IsBlockedKey)
290296
291297 let nodeOracleProviderPubKey = fromBase58String(getStringByKey(NodeOracleProviderPubKeyKey))
292298
293299 let bondAssetId = fromBase58String("F3iaxzruFeKujfVfYSZEkejpjh67wmRfPCRHiNmWKp3Z")
294300
295301 let deprecatedBondAssetId = fromBase58String("975akZBfnMj513U7MZaHKzQrmsEx5aE3wdWKTrHBhbjF")
296302
297303 let neutrinoContract = this
298304
299305 let currentPrice = getNumberByAddressAndKey(controlContract, PriceKey)
300306
301307 func checkIsValidMinSponsoredFee (tx) = {
302308 let MINTRANSFERFEE = 100000
303309 let SponsoredFeeUpperBound = 1000
304310 let realNeutrinoFee = convertWavesToNeutrino(MINTRANSFERFEE, currentPrice)
305311 let minNeutrinoFee = (realNeutrinoFee * 2)
306312 let maxNeutrinoFee = fraction(realNeutrinoFee, SponsoredFeeUpperBound, 100)
307313 let inputFee = value(tx.minSponsoredAssetFee)
308314 if (if ((inputFee >= minNeutrinoFee))
309315 then (maxNeutrinoFee >= inputFee)
310316 else false)
311317 then (tx.assetId == neutrinoAssetId)
312318 else false
313319 }
314320
315321
316322 func getPriceHistory (block) = getNumberByAddressAndKey(controlContract, getPriceHistoryKey(block))
317323
318324
319325 func getHeightPriceByIndex (index) = getNumberByAddressAndKey(controlContract, getHeightPriceByIndexKey(index))
320326
321327
322328 func keyLockParamUserAmount (userAddress) = makeString(["%s%s%s", "paramByUser", userAddress, "amount"], SEP)
323329
324330
325331 let sIdxSwapType = 1
326332
327333 let sIdxStatus = 2
328334
329335 let sIdxInAmount = 3
330336
331337 let sIdxPrice = 4
332338
333339 let sIdxOutNetAmount = 5
334340
335341 let sIdxOutFeeAmount = 6
336342
337343 let sIdxStartHeight = 7
338344
339345 let sIdxStartTimestamp = 8
340346
341347 let sIdxEndHeight = 9
342348
343349 let sIdxEndTimestamp = 10
344350
345351 let sIdxSelfUnlockHeight = 11
346352
347353 let sIdxRandUnlockHeight = 12
348354
349355 let sIdxIndex = 13
350356
351357 let sIdxWithdrawTxId = 14
352358
353359 let sIdxMinRand = 15
354360
355361 let sIdxMaxRand = 16
356362
357363 let sIdxOutSurfAmount = 17
358364
359365 let sIdxBR = 18
360366
361367 func swapKEY (userAddress,txId) = makeString(["%s%s", userAddress, txId], SEP)
362368
363369
364370 func strSwapDATA (swapType,status,inAmount,price,outNetAmount,outFeeAmount,startHeight,startTimestamp,endHeight,endTimestamp,selfUnlockHeight,randUnlockHeight,index,withdrawTxId,randMin,randMax,outSurfAmt,br) = makeString(["%s%s%d%d%d%d%d%d%d%d%d%d%d%s%d%d%d%d", swapType, status, inAmount, price, outNetAmount, outFeeAmount, startHeight, startTimestamp, endHeight, endTimestamp, selfUnlockHeight, randUnlockHeight, index, withdrawTxId, randMin, randMax, outSurfAmt, br], SEP)
365371
366372
367373 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", "0", "0")
368374
369375
370376 func finishSwapDATA (dataArray,price,outNetAmount,outFeeAmount,randUnlockHeight,index,withdrawTxId,outSurfAmt,br) = 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))
371377
372378
373379 func swapDataFailOrREAD (userAddress,swapTxId) = {
374380 let swapKey = swapKEY(userAddress, swapTxId)
375381 split(valueOrErrorMessage(getString(this, swapKey), ("no swap data for " + swapKey)), SEP)
376382 }
377383
378384
379385 func applyFees (amountOutGross,inAmtToSURF,feePart) = {
380386 let feeAmount = fraction(amountOutGross, feePart, PAULI)
381387 [(amountOutGross - feeAmount), feeAmount]
382388 }
383389
384390
385391 func abs (x) = if ((0 > x))
386392 then -(x)
387393 else x
388394
389395
390396 func selectNode (unleaseAmount) = {
391397 let amountToLease = ((wavesBalance(neutrinoContract).available - unleaseAmount) - getReservedAmountForSponsorship())
392398 let oldLeased0 = getNumberByKey(getLeaseAmountKey(0))
393399 let oldLeased1 = getNumberByKey(getLeaseAmountKey(1))
394400 let newLeased0 = (amountToLease + oldLeased0)
395401 let newLeased1 = (amountToLease + oldLeased1)
396402 if (if ((newLeased0 > 0))
397403 then true
398404 else (newLeased1 > 0))
399405 then {
400406 let delta0 = abs((newLeased0 - oldLeased1))
401407 let delta1 = abs((newLeased1 - oldLeased0))
402408 if ((delta1 >= delta0))
403409 then $Tuple2(0, newLeased0)
404410 else $Tuple2(1, newLeased1)
405411 }
406412 else $Tuple2(-1, 0)
407413 }
408414
409415
410416 func thisOnly (i) = if ((i.caller != this))
411417 then throw("Permission denied: this contract only allowed")
412418 else true
413419
414420
415421 func prepareUnleaseAndLease (unleaseAmount) = {
416422 let nodeTuple = selectNode(unleaseAmount)
417423 let nodeIndex = nodeTuple._1
418424 let newLeaseAmount = nodeTuple._2
419425 if ((newLeaseAmount > 0))
420426 then {
421427 let leaseIdKey = getLeaseIdKey(nodeIndex)
422428 let oldLease = getBinary(this, leaseIdKey)
423429 let unleaseOrEmpty = if (isDefined(oldLease))
424430 then [LeaseCancel(value(oldLease))]
425431 else nil
426432 let leaseAmountKey = getLeaseAmountKey(nodeIndex)
427433 let lease = Lease(getStakingNodeAddressByIndex(nodeIndex), newLeaseAmount)
428434 (unleaseOrEmpty ++ [lease, BinaryEntry(leaseIdKey, lcalc(lease)), IntegerEntry(getLeaseAmountKey(nodeIndex), newLeaseAmount)])
429435 }
430436 else nil
431437 }
432438
433439
434440 func readNodeInfo (nodeIdx) = {
435441 let nodeAddress = getStakingNodeAddressByIndex(nodeIdx)
436442 let leasedAmtKEY = getLeaseAmountKey(nodeIdx)
437443 let leasedAmt = getNumberByKey(leasedAmtKEY)
438444 let leaseIdKEY = getLeaseIdKey(nodeIdx)
439445 let leaseId = value(getBinary(this, leaseIdKEY))
440446 $Tuple5(nodeAddress, leasedAmtKEY, leasedAmt, leaseIdKEY, leaseId)
441447 }
442448
443449
444450 func commonSwap (swapType,pmtAmount,userAddressStr,txId58,swapParamsByUserSYSREADONLY) = {
445451 let swapLimitSpent = swapParamsByUserSYSREADONLY._2
446452 let blcks2LmtReset = swapParamsByUserSYSREADONLY._3
447453 let wavesSwapLimitMax = swapParamsByUserSYSREADONLY._6
448454 let usdnSwapLimitMax = swapParamsByUserSYSREADONLY._7
449455 let minSwapAmount = minSwapAmountREAD(swapType)
450456 let totalLocked = totalLockedREAD(swapType)
451457 let totalLockedByUser = totalLockedByUserREAD(swapType, userAddressStr)
452458 let nodeAddress = getStakingNodeByIndex(0)
453459 let priceByIndex = getPriceHistory(getHeightPriceByIndex(priceIndex))
454460 let isSwapByNode = (nodeAddress == userAddressStr)
455461 let balanceLockMaxInterval = if (isSwapByNode)
456462 then nodeBalanceLockIntervalREAD()
457463 else balanceLockIntervalREAD(swapType)
458464 let selfUnlockHeight = (height + balanceLockMaxInterval)
459465 let swapUsdnVolume = if ((swapType == "neutrino"))
460466 then pmtAmount
461467 else convertWavesToNeutrino(pmtAmount, priceByIndex)
462468 let swapLimitMax = if ((swapType == "neutrino"))
463469 then usdnSwapLimitMax
464470 else convertWavesToNeutrino(wavesSwapLimitMax, priceByIndex)
465471 if ((minSwapAmount > pmtAmount))
466472 then minSwapAmountFAIL(swapType, minSwapAmount)
467473 else if (if (!(isSwapByNode))
468474 then (swapLimitSpent > 0)
469475 else false)
470476 then throw(("You have exceeded swap limit! Next allowed swap height is " + toString((height + blcks2LmtReset))))
471477 else if (if (!(isSwapByNode))
472478 then (swapUsdnVolume > swapLimitMax)
473479 else false)
474480 then throw(((("You have exceeded your swap limit! Requested: " + toString(swapUsdnVolume)) + ", available: ") + toString(swapLimitMax)))
475481 else if (isBlocked)
476482 then emergencyShutdownFAIL()
477483 else {
478484 let leasePart = if ((swapType == "waves"))
479485 then prepareUnleaseAndLease(0)
480486 else nil
481487 $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)
482488 }
483489 }
484490
485491
486492 let nMetricIdxPrice = 0
487493
488494 let nMetricIdxUsdnLockedBalance = 1
489495
490496 let nMetricIdxWavesLockedBalance = 2
491497
492498 let nMetricIdxReserve = 3
493499
494500 let nMetricIdxReserveInUsdn = 4
495501
496502 let nMetricIdxUsdnSupply = 5
497503
498504 let nMetricIdxSurplus = 6
499505
500506 let nMetricIdxSurplusPercent = 7
501507
502508 let nMetricIdxBR = 8
503509
504510 let nMetricIdxNsbtSupply = 9
505511
506512 let nMetricIdxMaxNsbtSupply = 10
507513
508514 let nMetricIdxSurfSupply = 11
509515
510516 let bFuncIdxSurf = 0
511517
512518 let bFuncIdxWaves = 1
513519
514520 let bFuncIdxUsdn = 2
515521
516522 let bFuncIdxReserveStart = 3
517523
518524 let bFuncIdxSupplyStart = 4
519525
520526 let bFuncIdxBRStart = 5
521527
522528 let bFuncIdxReserveEnd = 6
523529
524530 let bFuncIdxSupplyEnd = 7
525531
526532 let bFuncIdxBREnd = 8
527533
528534 let bFuncIdxRest = 9
529535
530536 let bFuncIdxWavesPrice = 10
531537
532538 func calcWithdrawW2U (wavesIn,price) = {
533539 let outAmtGross = convertWavesToNeutrino(wavesIn, price)
534540 $Tuple9(outAmtGross, neutrinoAssetId, 0, unit, 0, wavesIn, 0, 0, 0)
535541 }
536542
537543
538544 func calcWithdrawU2W (usdnIn,price,br,reservesInUsdn,usdnSupply) = {
539545 let brProtected = valueOrElse(getInteger(this, brProtectedKEY()), BRPROTECTED)
540546 let maxAllowedUsdnBeforeMinBr = if ((brProtected >= br))
541547 then 0
542548 else fraction((reservesInUsdn - fraction(brProtected, usdnSupply, PAULI)), PAULI, (PAULI - brProtected))
543549 let allowedUsdnBeforeMinBr = if ((usdnIn > maxAllowedUsdnBeforeMinBr))
544550 then maxAllowedUsdnBeforeMinBr
545551 else usdnIn
546552 let allowedUsdnAfterMinBr = if ((usdnIn > maxAllowedUsdnBeforeMinBr))
547553 then fraction((usdnIn - maxAllowedUsdnBeforeMinBr), br, PAULI)
548554 else 0
549555 let allowedUsdn = (allowedUsdnBeforeMinBr + allowedUsdnAfterMinBr)
550556 let usdn2SURF = (usdnIn - allowedUsdn)
551557 let outAmtGross = convertNeutrinoToWaves(allowedUsdn, price)
552558 $Tuple9(outAmtGross, unit, usdn2SURF, neutrinoAssetId, outAmtGross, allowedUsdn, maxAllowedUsdnBeforeMinBr, allowedUsdnBeforeMinBr, allowedUsdnAfterMinBr)
553559 }
554560
555561
556562 func calcWithdraw (swapType,inAmount,price,neutrinoMetrics) = {
557563 let outFeePart = valueOrElse(getInteger(this, outFeePartKEY(swapType)), DEFAULTSWAPFEE)
558564 if (if ((0 > outFeePart))
559565 then true
560566 else (outFeePart >= PAULI))
561567 then throw(((("invalid outFeePart config for " + swapType) + " swap: outFeePart=") + toString(outFeePart)))
562568 else {
563569 let brProtected = valueOrElse(getInteger(this, brProtectedKEY()), BRPROTECTED)
564570 let BR = asInt(neutrinoMetrics[nMetricIdxBR])
565571 let reservesInUsdn = asInt(neutrinoMetrics[nMetricIdxReserveInUsdn])
566572 let usdnSupply = asInt(neutrinoMetrics[nMetricIdxUsdnSupply])
567573 let outDataTuple = if ((swapType == "waves"))
568574 then calcWithdrawW2U(inAmount, price)
569575 else if ((swapType == "neutrino"))
570576 then calcWithdrawU2W(inAmount, price, BR, reservesInUsdn, usdnSupply)
571577 else throw(("Unsupported swap type " + swapType))
572578 let outAmtGross = outDataTuple._1
573579 let outAssetId = outDataTuple._2
574580 let inAmtToSurfPart = outDataTuple._3
575581 let inAssetId = outDataTuple._4
576582 let unleaseAmt = outDataTuple._5
577583 let payoutsArray = applyFees(outAmtGross, inAmtToSurfPart, outFeePart)
578584 let outNetAmt = payoutsArray[IdxNetAmount]
579585 let outFeeAmt = payoutsArray[IdxFeeAmount]
580586 let outSurfAmt = if ((0 >= inAmtToSurfPart))
581587 then 0
582588 else {
583589 let surfResult = asAnyList(invoke(mathContract, "surfFunctionREADONLY", [inAmtToSurfPart, inAssetId], nil))
584590 asInt(surfResult[bFuncIdxSurf])
585591 }
586592 $Tuple7(outNetAmt, outAssetId, outSurfAmt, inAmtToSurfPart, unleaseAmt, outFeeAmt, outAmtGross)
587593 }
588594 }
589595
590596
591597 func commonWithdraw (account,index,swapTxId,withdrawTxId,neutrinoMetrics) = {
592598 let userAddress = addressFromStringValue(account)
593599 let dataArray = swapDataFailOrREAD(account, swapTxId)
594600 let selfUnlockHeight = parseIntValue(dataArray[sIdxSelfUnlockHeight])
595601 let swapType = dataArray[sIdxSwapType]
596602 let inAmount = parseIntValue(dataArray[sIdxInAmount])
597603 let swapStatus = dataArray[sIdxStatus]
598604 let startHeight = parseIntValue(dataArray[sIdxStartHeight])
599605 let outFeePart = valueOrElse(getInteger(this, outFeePartKEY(swapType)), DEFAULTSWAPFEE)
600606 let totalLocked = totalLockedREAD(swapType)
601607 let totalLockedByUser = totalLockedByUserREAD(swapType, account)
602608 let unlockHeight = selfUnlockHeight
603609 let indexHeight = getHeightPriceByIndex(index)
604610 let prevIndexHeight = getHeightPriceByIndex((index - 1))
605611 let priceByIndex = getPriceHistory(indexHeight)
606612 if (isBlocked)
607613 then emergencyShutdownFAIL()
608614 else if ((swapStatus != "PENDING"))
609615 then throw("swap has been already processed")
610616 else if ((unlockHeight > height))
611617 then throw((("please wait for: " + toString(unlockHeight)) + " block height to withdraw funds"))
612618 else if (if (if ((index > priceIndex))
613619 then true
614620 else (unlockHeight > indexHeight))
615621 then true
616622 else if ((prevIndexHeight != 0))
617623 then (prevIndexHeight >= unlockHeight)
618624 else false)
619625 then priceIndexFAIL(index, priceIndex, indexHeight, unlockHeight, prevIndexHeight)
620626 else {
621627 let withdrawTuple = calcWithdraw(swapType, inAmount, priceByIndex, neutrinoMetrics)
622628 let outNetAmount = withdrawTuple._1
623629 let outAssetId = withdrawTuple._2
624630 let outSurfAmt = withdrawTuple._3
625631 let inAmtToSurfPart = withdrawTuple._4
626632 let unleaseAmt = withdrawTuple._5
627633 let outFeeAmount = withdrawTuple._6
628634 let outAmtGross = withdrawTuple._7
629635 if ((0 >= outAmtGross))
630636 then throw("balance equals zero")
631637 else {
632638 let BR = asInt(neutrinoMetrics[nMetricIdxBR])
633639 let state = [IntegerEntry(totalLockedByUserKEY(swapType, account), (totalLockedByUser - inAmount)), IntegerEntry(totalLockedKEY(swapType), (totalLocked - inAmount)), ScriptTransfer(userAddress, outNetAmount, outAssetId), StringEntry(swapKEY(account, swapTxId), finishSwapDATA(dataArray, priceByIndex, outNetAmount, outFeeAmount, unlockHeight, index, withdrawTxId, outSurfAmt, BR))]
634640 let surfCondition = if ((outSurfAmt > 0))
635641 then {
636642 let issueResult = invoke(auctionContract, "issueSurf", [outSurfAmt, account], nil)
637643 if ((issueResult == issueResult))
638644 then 0
639645 else throw("Strict value is not equal to itself.")
640646 }
641647 else 0
642648 if ((surfCondition == surfCondition))
643649 then $Tuple3(state, AttachedPayment(outAssetId, outFeeAmount), unleaseAmt)
644650 else throw("Strict value is not equal to itself.")
645651 }
646652 }
647653 }
648654
649655
650656 @Callable(i)
651657 func constructor (neutrinoAssetIdPrm,bondAssetIdPrm,auctionContractPrm,liquidationContractPrm,rpdContractPrm,nodeOracleProviderPubKeyPrm,balanceWavesLockIntervalPrm,balanceNeutrinoLockIntervalPrm,minWavesSwapAmountPrm,minNeutrinoSwapAmountPrm,neutrinoOutFeePartPrm,wavesOutFeePartPrm) = {
652658 let checkCaller = thisOnly(i)
653659 if ((checkCaller == checkCaller))
654660 then if ((size(i.payments) != 0))
655661 then throw("no payments allowed")
656662 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)]
657663 else throw("Strict value is not equal to itself.")
658664 }
659665
660666
661667
662668 @Callable(i)
663669 func constructorV2 (mathContract,nsbtStakingContract,swapsTimeframeBlocks) = {
664670 let checkCaller = thisOnly(i)
665671 if ((checkCaller == checkCaller))
666672 then if ((size(i.payments) != 0))
667673 then throw("no payments allowed")
668674 else [StringEntry(MathContractKey, mathContract), StringEntry(NsbtStakingContractKey, nsbtStakingContract), IntegerEntry(swapsTimeframeKEY(), swapsTimeframeBlocks)]
669675 else throw("Strict value is not equal to itself.")
670676 }
671677
672678
673679
674680 @Callable(i)
675681 func swapWavesToNeutrino () = if ((size(i.payments) != 1))
676682 then throw("swapWavesToNeutrino require only one payment")
677683 else {
678684 let pmt = value(i.payments[0])
679685 if (isDefined(pmt.assetId))
680686 then throw("Only Waves token is allowed for swapping.")
681687 else {
682688 let userAddress = toString(i.caller)
683689 let txId58 = toBase58String(i.transactionId)
684690 let swapParamsSTRUCT = asSwapParamsSTRUCT(invoke(this, "swapParamsByUserSYSREADONLY", [userAddress, 0], nil))
685691 let commonSwapResult = commonSwap("waves", pmt.amount, userAddress, txId58, swapParamsSTRUCT)
686692 commonSwapResult
687693 }
688694 }
689695
690696
691697
692698 @Callable(i)
693699 func swapNeutrinoToWaves () = if ((size(i.payments) != 1))
694700 then throw("swapNeutrinoToWaves require only one payment")
695701 else {
696702 let pmt = value(i.payments[0])
697703 if ((pmt.assetId != neutrinoAssetId))
698704 then throw("Only appropriate Neutrino tokens are allowed for swapping.")
699705 else {
700706 let userAddress = toString(i.caller)
701707 let txId58 = toBase58String(i.transactionId)
702708 let swapParamsSTRUCT = asSwapParamsSTRUCT(invoke(this, "swapParamsByUserSYSREADONLY", [userAddress, 0], nil))
703709 let commonSwapResult = commonSwap("neutrino", pmt.amount, userAddress, txId58, swapParamsSTRUCT)
704710 commonSwapResult
705711 }
706712 }
707713
708714
709715
710716 @Callable(i)
711717 func withdraw (account,index,swapTxId) = {
712718 let txId = toBase58String(i.transactionId)
713719 if ((size(i.payments) != 0))
714720 then throw("no payments allowed")
715721 else {
716722 let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil))
717723 let BR = asInt(neutrinoMetrics[nMetricIdxBR])
718724 let commonTuple = commonWithdraw(account, index, swapTxId, txId, neutrinoMetrics)
719725 let state = commonTuple._1
720726 let fee = commonTuple._2
721727 let unleaseAmt = commonTuple._3
722728 let unleaseInvOrEmpty = invoke(this, "internalUnleaseAndLease", [unleaseAmt], nil)
723729 if ((unleaseInvOrEmpty == unleaseInvOrEmpty))
724730 then {
725731 let gnsbtData = asAnyList(invoke(gnsbtControllerContract, "gnsbtInfoSYSREADONLY", ["", 0, 0], nil))
726732 let gnsbtAmtTotal = asInt(gnsbtData[1])
727733 let gnsbtAmtFromSurfTotal = asInt(asAnyList(gnsbtData[3])[3])
728734 let surfFeeAmt1 = if ((gnsbtAmtTotal != 0))
729735 then fraction(fee.amount, gnsbtAmtFromSurfTotal, gnsbtAmtTotal)
730736 else 0
731737 let surfFeeAmt2 = if ((gnsbtAmtTotal != 0))
732738 then fraction(fee.amount, (PAULI - BR), PAULI)
733739 else 0
734740 let surfFeeAmt = max([surfFeeAmt1, surfFeeAmt2])
735741 let nsbtFeeAmt = (fee.amount - surfFeeAmt)
736742 let surfDeposit = if ((surfFeeAmt > 0))
737743 then {
738744 let surfInv = invoke(surfStakingContract, "deposit", nil, [AttachedPayment(fee.assetId, surfFeeAmt)])
739745 if ((surfInv == surfInv))
740746 then nil
741747 else throw("Strict value is not equal to itself.")
742748 }
743749 else nil
744750 if ((surfDeposit == surfDeposit))
745751 then {
746752 let nsbtDeposit = if ((nsbtFeeAmt > 0))
747753 then {
748754 let nsbtInv = invoke(nsbtStakingContract, "deposit", nil, [AttachedPayment(fee.assetId, nsbtFeeAmt)])
749755 if ((nsbtInv == nsbtInv))
750756 then nil
751757 else throw("Strict value is not equal to itself.")
752758 }
753759 else nil
754760 if ((nsbtDeposit == nsbtDeposit))
755761 then state
756762 else throw("Strict value is not equal to itself.")
757763 }
758764 else throw("Strict value is not equal to itself.")
759765 }
760766 else throw("Strict value is not equal to itself.")
761767 }
762768 }
763769
764770
765771
766772 @Callable(i)
767773 func internalUnleaseAndLease (unleaseAmount) = if ((i.caller != this))
768774 then throw("internalUnleaseAndLease is not public method")
769775 else prepareUnleaseAndLease(unleaseAmount)
770776
771777
772778
773779 @Callable(i)
774780 func transferUsdnToUser (amount,addr) = if ((i.caller != auctionContract))
775781 then throw("Only auction contract is authorized")
776782 else [ScriptTransfer(addressFromStringValue(addr), amount, neutrinoAssetId)]
777783
778784
779785
780786 @Callable(i)
781-func acceptWaves () = if ((i.caller != auctionContract))
782- then throw("Currently only auction contract is allowed to call")
787+func acceptWaves () = if (if ((i.caller != auctionContract))
788+ then (i.caller != governanceContract)
789+ else false)
790+ then throw("Currently only auction and governance contracts are allowed to call")
783791 else $Tuple2(prepareUnleaseAndLease(0), "success")
784792
785793
786794
787795 @Callable(i)
788796 func approveLeasings (nListS,groupNum,lAmt) = {
789797 let nIdxs = [0, 1, 2, 3, 4, 5, 6, 7]
790798 let mngPubS = valueOrElse(getString("%s%s__cfg__leasingManagerPub"), "7AUMX54ukYMYvPmma7yoFf5NjZhs4Bu5nz3Ez9EV8sur")
791799 let mngPub = fromBase58String(mngPubS)
792800 let nodeRegAddrStr = valueOrElse(getString("%s%s__cfg__nodesRegistryAddress"), "3P9vKqQKjUdmpXAfiWau8krREYAY1Xr69pE")
793801 let nodeRegAddr = addressFromStringValue(nodeRegAddrStr)
794802 let lGroupNodeListKEY = getLeaseGroupNodeListKey(groupNum)
795803 let lGrNodeOpt = getString(this, lGroupNodeListKEY)
796804 if (isDefined(lGrNodeOpt))
797805 then throw((("group " + toString(groupNum)) + " already initialized"))
798806 else {
799807 let nList = split(nListS, SEP)
800808 let expCount = size(nIdxs)
801809 if ((i.callerPublicKey != mngPub))
802810 then throw("approveLeasings not authorized")
803811 else {
804- let $t03446334525 = readNodeInfo(0)
805- let nAddr0 = $t03446334525._1
806- let lAmtKEY0 = $t03446334525._2
807- let lAmt0 = $t03446334525._3
808- let lIdKEY0 = $t03446334525._4
809- let lId0 = $t03446334525._5
812+ let $t03469534757 = readNodeInfo(0)
813+ let nAddr0 = $t03469534757._1
814+ let lAmtKEY0 = $t03469534757._2
815+ let lAmt0 = $t03469534757._3
816+ let lIdKEY0 = $t03469534757._4
817+ let lId0 = $t03469534757._5
810818 let newL0 = Lease(nAddr0, (lAmt0 - (lAmt * expCount)))
811819 let validation = invoke(nodeRegAddr, "validateAndApproveLeasings", [nListS], nil)
812820 if ((validation == validation))
813821 then {
814822 func forEachNodeValidateAndGenerateLease (a,i) = {
815823 let node = nList[i]
816824 let la = Lease(addressFromStringValue(node), lAmt)
817825 (a ++ [la, BinaryEntry(getLeaseIdByAddressKey(node), lcalc(la)), IntegerEntry(getLeaseAmountByAddressKey(node), lAmt)])
818826 }
819827
820828 ([StringEntry(lGroupNodeListKEY, nListS), BinaryEntry(lIdKEY0, lcalc(newL0)), IntegerEntry(lAmtKEY0, newL0.amount), LeaseCancel(lId0), newL0] ++ {
821829 let $l = nIdxs
822830 let $s = size($l)
823831 let $acc0 = nil
824832 func $f0_1 ($a,$i) = if (($i >= $s))
825833 then $a
826834 else forEachNodeValidateAndGenerateLease($a, $l[$i])
827835
828836 func $f0_2 ($a,$i) = if (($i >= $s))
829837 then $a
830838 else throw("List size exceeds 8")
831839
832840 $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)
833841 })
834842 }
835843 else throw("Strict value is not equal to itself.")
836844 }
837845 }
838846 }
839847
840848
841849
842850 @Callable(i)
843851 func rebalanceLeasings (amount,groupNum) = {
844852 let nIdxs = [0, 1, 2, 3, 4, 5, 6, 7]
845853 let mngPubS = valueOrElse(getString("%s%s__cfg__leasingManagerPub"), "7AUMX54ukYMYvPmma7yoFf5NjZhs4Bu5nz3Ez9EV8sur")
846854 let mngPub = fromBase58String(mngPubS)
847855 let lGroupNodeListKEY = getLeaseGroupNodeListKey(groupNum)
848856 let nListS = getStringOrFail(this, lGroupNodeListKEY)
849857 let nList = split(nListS, SEP)
850858 if ((i.callerPublicKey != mngPub))
851859 then throw("rebalanceLeasings not authorized")
852860 else {
853861 let unleaseAmt = ((amount / size(nList)) + 1)
854- let $t03576535827 = readNodeInfo(0)
855- let nAddr0 = $t03576535827._1
856- let lAmtKEY0 = $t03576535827._2
857- let lAmt0 = $t03576535827._3
858- let lIdKEY0 = $t03576535827._4
859- let lId0 = $t03576535827._5
862+ let $t03599736059 = readNodeInfo(0)
863+ let nAddr0 = $t03599736059._1
864+ let lAmtKEY0 = $t03599736059._2
865+ let lAmt0 = $t03599736059._3
866+ let lIdKEY0 = $t03599736059._4
867+ let lId0 = $t03599736059._5
860868 let newL0 = Lease(nAddr0, (lAmt0 + (unleaseAmt * size(nList))))
861869 func forEachNodeDoUnlease (a,i) = {
862870 let node = nList[i]
863871 let lIdKEY = getLeaseIdByAddressKey(node)
864872 let lId = getBinaryValue(this, lIdKEY)
865873 let lAmtKEY = getLeaseAmountByAddressKey(node)
866874 let lAmt = getIntegerValue(this, lAmtKEY)
867875 let ula = LeaseCancel(value(lId))
868876 let la = Lease(addressFromStringValue(node), (lAmt - unleaseAmt))
869877 (a ++ [LeaseCancel(value(lId)), la, BinaryEntry(lIdKEY, lcalc(la)), IntegerEntry(lAmtKEY, la.amount)])
870878 }
871879
872880 ({
873881 let $l = nIdxs
874882 let $s = size($l)
875883 let $acc0 = nil
876884 func $f0_1 ($a,$i) = if (($i >= $s))
877885 then $a
878886 else forEachNodeDoUnlease($a, $l[$i])
879887
880888 func $f0_2 ($a,$i) = if (($i >= $s))
881889 then $a
882890 else throw("List size exceeds 8")
883891
884892 $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)
885893 } ++ [BinaryEntry(lIdKEY0, lcalc(newL0)), IntegerEntry(lAmtKEY0, newL0.amount), LeaseCancel(lId0), newL0])
886894 }
887895 }
888896
889897
890898
891899 @Callable(i)
892900 func swapParamsByUserSYSREADONLY (userAddressStr,gnsbtDiff) = {
893901 let gnsbtData = asAnyList(invoke(gnsbtControllerContract, "gnsbtInfoSYSREADONLY", [userAddressStr, 0, 0], nil))
894902 let gnsbtAmt = (asInt(gnsbtData[0]) + gnsbtDiff)
895903 let gnsbtAmtTotal = (asInt(gnsbtData[1]) + gnsbtDiff)
896904 let swapLimitData = asAnyList(invoke(mathContract, "calcSwapLimitREADONLY", [gnsbtAmt], nil))
897905 let wavesSwapLimitInUsdnMax = asInt(swapLimitData[0])
898906 let wavesSwapLimitMax = asInt(swapLimitData[1])
899907 let usdnSwapLimitMax = asInt(swapLimitData[2])
900908 let lastSwapHeight = valueOrElse(getInteger(this, keyUserLastSwapHeight(userAddressStr)), 0)
901909 let swapLimitTimelifeBlocks = swapsTimeframeREAD()
902910 let passedBlocksAfterLastSwap = (height - lastSwapHeight)
903911 let isSwapTimelifeNew = (passedBlocksAfterLastSwap >= swapLimitTimelifeBlocks)
904912 let swapLimitSpentInUsdn = if (isSwapTimelifeNew)
905913 then 0
906914 else valueOrElse(getInteger(this, keySwapUserSpentInPeriod(userAddressStr)), 0)
907915 let blcks2LmtReset = if (isSwapTimelifeNew)
908916 then 0
909917 else (swapLimitTimelifeBlocks - passedBlocksAfterLastSwap)
910918 $Tuple2(nil, $Tuple7(wavesSwapLimitInUsdnMax, swapLimitSpentInUsdn, blcks2LmtReset, gnsbtAmt, gnsbtAmtTotal, wavesSwapLimitMax, usdnSwapLimitMax))
911919 }
912920
913921
914922
915923 @Callable(i)
916924 func calcWithdrawResultSYSREADONLY (swapType,inAmount,price) = {
917925 let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil))
918926 $Tuple2(nil, calcWithdraw(swapType, inAmount, price, neutrinoMetrics))
919927 }
920928
921929
922930
923931 @Callable(i)
924932 func replaceCommunityNode (oldAddrStr,newAddrStr,groupNum,penaltyAmount) = {
925933 let mngPubS = valueOrElse(getString("%s%s__cfg__leasingManagerPub"), "7AUMX54ukYMYvPmma7yoFf5NjZhs4Bu5nz3Ez9EV8sur")
926934 let mngPub = fromBase58String(mngPubS)
927935 if ((i.callerPublicKey != mngPub))
928936 then throw("replaceCommunityNode not authorized")
929937 else {
930938 let groupKey = getLeaseGroupNodeListKey(groupNum)
931939 let groupNodeListS = getStringOrFail(this, groupKey)
932940 if (!(contains(groupNodeListS, oldAddrStr)))
933941 then throw(((("Group " + toString(groupNum)) + " does not contain address ") + oldAddrStr))
934942 else {
935943 let doReplace = invoke(nodeRegistryContract, "replaceApprovedNode", [oldAddrStr, newAddrStr, groupNum, penaltyAmount], nil)
936944 if ((doReplace == doReplace))
937945 then {
938946 let oldLeaseIdKey = getLeaseIdByAddressKey(oldAddrStr)
939947 let oldLeaseAmtKey = getLeaseAmountByAddressKey(oldAddrStr)
940948 let leaseAmt = getIntegerValue(oldLeaseAmtKey)
941949 let newLeaseIdKey = getLeaseIdByAddressKey(oldAddrStr)
942950 let newLeaseAmtKey = getLeaseAmountByAddressKey(oldAddrStr)
943951 let newLease = Lease(addressFromStringValue(newAddrStr), leaseAmt)
944952 let updatedGroupNodeListS = makeString(split(groupNodeListS, oldAddrStr), newAddrStr)
945953 $Tuple2([LeaseCancel(getBinaryValue(oldLeaseIdKey)), DeleteEntry(oldLeaseIdKey), DeleteEntry(oldLeaseAmtKey), StringEntry(groupKey, updatedGroupNodeListS), newLease, BinaryEntry(newLeaseIdKey, lcalc(newLease)), IntegerEntry(newLeaseAmtKey, leaseAmt)], unit)
946954 }
947955 else throw("Strict value is not equal to itself.")
948956 }
949957 }
950958 }
951959
952960
953961
954962 @Callable(i)
955963 func updateReservesAndNeutrinoSupply () = {
956964 func getNumberByKeyInternal (key) = match getInteger(this, key) {
957965 case a: Int =>
958966 a
959967 case _ =>
960968 0
961969 }
962970
963971 let nMetrix = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil))
964972 let idx = getNumberByKeyInternal("updateReservesAndNeutrinoSupplyIdx")
965973 let newIdx = (idx + 1)
966974 [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])))]
967975 }
968976
969977
970978
971979 @Callable(i)
972980 func wavesBalancesVsPayment () = {
973981 let b = wavesBalance(this)
974982 [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)]
975983 }
976984
977985
978986 @Verifier(tx)
979987 func verify () = {
980988 let id = toBase58String(tx.id)
981989 let pubKeyAdminsListStr = makeString(["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR"], SEP)
982990 let pubKeyAdminsList = split(valueOrElse(getString(controlContract, "%s__multisig"), pubKeyAdminsListStr), SEP)
983991 let count = ((((if (sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(pubKeyAdminsList[0])))
984992 then 1
985993 else 0) + (if (sigVerify(tx.bodyBytes, tx.proofs[1], fromBase58String(pubKeyAdminsList[1])))
986994 then 1
987995 else 0)) + (if (sigVerify(tx.bodyBytes, tx.proofs[2], fromBase58String(pubKeyAdminsList[2])))
988996 then 1
989997 else 0)) + (if (sigVerify(tx.bodyBytes, tx.proofs[3], fromBase58String(pubKeyAdminsList[3])))
990998 then 2
991999 else 0))
9921000 match tx {
9931001 case sponsorTx: SponsorFeeTransaction =>
9941002 if (checkIsValidMinSponsoredFee(sponsorTx))
9951003 then (count >= 3)
9961004 else false
9971005 case _ =>
9981006 (count >= 3)
9991007 }
10001008 }
10011009

github/deemru/w8io/026f985 
97.04 ms