tx · GYbWdEekRCGbPh7ZiYTkigKdpq7LdxvRXPMjXmrMp6zF

3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx:  -0.02000000 Waves

2023.02.27 10:00 [2467783] smart account 3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx > SELF 0.00000000 Waves

{ "type": 13, "id": "GYbWdEekRCGbPh7ZiYTkigKdpq7LdxvRXPMjXmrMp6zF", "fee": 2000000, "feeAssetId": null, "timestamp": 1677481299264, "version": 2, "chainId": 84, "sender": "3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx", "senderPublicKey": "NaY7sqttWGpnVrcb6uE8xPp2VnMjT7fhv3q1TKGL9ar", "proofs": [ "5BTiRUsSVncLKte7453qxAwYcPUzpSg1WnXw2QDiaT13YMTuS3H7Pkkd76hzaekFGuS9HTWc52nLo75hJ6F8rbah", "3L9DvojXPEferao1AXzvxFVuSxro3ppRKoSLkQAAvLMzpsyJRXquaYaLHKug4WdRCihpFLmAcyHuz6iFHgfaRLA5", "4ngVmHrFEgGqyKjJvYkR8xVqdn8MaPyc1EcV2unb7oC72nRZoVax6rU1FH4jowmP3FvA74dJd53SgYg6XQAqfrwW" ], "script": "base64:AAIEAAAAAAAAACcIAhIQCg4ICAgICAgICAgICAgICBIDCgEIEgwKCgECAQIBAgECAQIAAAAqAAAAAANTRVACAAAAAl9fAAAAABlJZHhDb250cm9sQ2ZnTmV1dHJpbm9EYXBwAAAAAAAAAAABAAAAABhJZHhDb250cm9sQ2ZnQXVjdGlvbkRhcHAAAAAAAAAAAAIAAAAAFElkeENvbnRyb2xDZmdScGREYXBwAAAAAAAAAAADAAAAABVJZHhDb250cm9sQ2ZnTWF0aERhcHAAAAAAAAAAAAQAAAAAHElkeENvbnRyb2xDZmdMaXF1aWRhdGlvbkRhcHAAAAAAAAAAAAUAAAAAFUlkeENvbnRyb2xDZmdSZXN0RGFwcAAAAAAAAAAABgAAAAAdSWR4Q29udHJvbENmZ05vZGVSZ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ViS2V5QWRtaW5zTGlzdAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABCQACWQAAAAEJAAGRAAAAAgUAAAAQcHViS2V5QWRtaW5zTGlzdAAAAAAAAAAAAQAAAAAAAAAAAQAAAAAAAAAAAAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAACCQACWQAAAAEJAAGRAAAAAgUAAAAQcHViS2V5QWRtaW5zTGlzdAAAAAAAAAAAAgAAAAAAAAAAAQAAAAAAAAAAAAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAADCQACWQAAAAEJAAGRAAAAAgUAAAAQcHViS2V5QWRtaW5zTGlzdAAAAAAAAAAAAwAAAAAAAAAAAgAAAAAAAAAAAAkAAGcAAAACBQAAAAVjb3VudAAAAAAAAAAAA3sGFjY=", "height": 2467783, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 54QdXvgtsTD8B6bYANe3bRvJkE7CeJdjCNppja69xDtj Next: HkRWRRA3J6VXvk4mUhMTittmJDGpunjzkAWbwnTRXdxG Diff:
OldNewDifferences
268268
269269 @Callable(i)
270270 func callEmergencyShutdown (reason) = {
271- let AutoEmergencyOracleAddress = "3N9mzk4p7jtCatFRRQWUNZXi7z9MHVSug8t"
271+ let AutoEmergencyOracleAddress = "3MwGSjMPHqX1DhEomE3bzp5tjN1GJZSNY5n"
272272 let callerAddress = toString(i.caller)
273273 if (if ((AutoEmergencyOracleAddress != callerAddress))
274274 then (toString(governanceContract) != callerAddress)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let SEP = "__"
55
66 let IdxControlCfgNeutrinoDapp = 1
77
88 let IdxControlCfgAuctionDapp = 2
99
1010 let IdxControlCfgRpdDapp = 3
1111
1212 let IdxControlCfgMathDapp = 4
1313
1414 let IdxControlCfgLiquidationDapp = 5
1515
1616 let IdxControlCfgRestDapp = 6
1717
1818 let IdxControlCfgNodeRegistryDapp = 7
1919
2020 let IdxControlCfgNsbtStakingDapp = 8
2121
2222 let IdxControlCfgMediatorDapp = 9
2323
2424 let IdxControlCfgSurfStakingDapp = 10
2525
2626 let IdxControlCfgGnsbtControllerDapp = 11
2727
2828 let IdxControlCfgRestV2Dapp = 12
2929
3030 let IdxControlCfgGovernanceDapp = 13
3131
3232 let IdxControlCfgPegProviderDapp = 14
3333
3434 func keyControlConfig () = "%s__controlConfig"
3535
3636
3737 func dataControlCfg (neutrinoContract,auctionContract,rpdContract,mathContract,liquidationContract,restContract,nodeRegistryContract,nsbtStakingContract,mediatorContract,surfStakingContract,gnsbtControllerContract,restV2Contract,governanceContract,doraContract) = makeString(["%s%s%s%s%s%s%s%s%s%s%s%s%s%s", neutrinoContract, auctionContract, rpdContract, mathContract, liquidationContract, restContract, nodeRegistryContract, nsbtStakingContract, mediatorContract, surfStakingContract, gnsbtControllerContract, restV2Contract, governanceContract, doraContract], SEP)
3838
3939
4040 func convertWavesToNeutrino (amount,price) = fraction(fraction(amount, price, 1000000), 1000000, 100000000)
4141
4242
4343 func getNumberByAddressAndKey (address,key) = valueOrElse(getInteger(addressFromStringValue(address), key), 0)
4444
4545
4646 func getStringByAddressAndKey (address,key) = valueOrElse(getString(address, key), "")
4747
4848
4949 func convertJsonArrayToList (jsonArray) = split(jsonArray, ",")
5050
5151
5252 let price = valueOrElse(getInteger(this, "price"), 0)
5353
5454 let priceIndex = valueOrElse(getInteger(this, "price_index"), 0)
5555
5656 let isBlocked = valueOrElse(getBoolean(this, "is_blocked"), false)
5757
5858 let percentPriceOffset = 1000
5959
6060 let pubKeyOracles = valueOrElse(getString(this, "oracles"), "")
6161
6262 let pubKeyOraclesList = convertJsonArrayToList(pubKeyOracles)
6363
6464 let neutrinoAddress = Address(base58'3N9be2mwrA52WJho6DiesZkk4351GvpnWuj')
6565
6666 let liquidationAddress = Address(base58'3N24ZPUAMhFm76N3vbNiiDtFqfUnmBHTc5N')
6767
6868 let neutrinoAsset = base58'HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ'
6969
7070 let controlContract = this
7171
7272 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
7373
7474
7575 func getContractAddressOrFail (controlCfg,idx) = valueOrErrorMessage(addressFromString(controlCfg[idx]), ("Control cfg doesn't contain address at index " + toString(idx)))
7676
7777
7878 let controlCfg = split(getStringOrFail(this, keyControlConfig()), SEP)
7979
8080 let governanceContract = getContractAddressOrFail(controlCfg, IdxControlCfgGovernanceDapp)
8181
8282 let neutrinoLockedBalance = valueOrElse(getInteger(neutrinoAddress, "balance_lock_neutrino"), 0)
8383
8484 let wavesLockedBalance = valueOrElse(getInteger(neutrinoAddress, "balance_lock_waves"), 0)
8585
8686 let reserve = (wavesBalance(neutrinoAddress).regular - wavesLockedBalance)
8787
8888 let neutrinoSupply = (((neutrinoLockedBalance + value(assetInfo(neutrinoAsset)).quantity) - assetBalance(neutrinoAddress, neutrinoAsset)) - assetBalance(liquidationAddress, neutrinoAsset))
8989
9090 let deficit = (neutrinoSupply - convertWavesToNeutrino(reserve, price))
9191
9292 func findPricesInRange (prices) = {
9393 let minPercentBound = 90
9494 let maxPercentBound = 110
9595 let p0 = prices[0]
9696 let check0 = if ((0 >= prices[0]))
9797 then [0]
9898 else {
9999 let p01 = ((prices[1] * 100) / p0)
100100 let p02 = ((prices[2] * 100) / p0)
101101 let p03 = ((prices[3] * 100) / p0)
102102 let p04 = ((prices[4] * 100) / p0)
103103 let array1 = if (if ((maxPercentBound > p01))
104104 then (p01 > minPercentBound)
105105 else false)
106106 then [1, 0]
107107 else [0]
108108 let array2 = if (if ((maxPercentBound > p02))
109109 then (p02 > minPercentBound)
110110 else false)
111111 then 2 :: array1
112112 else array1
113113 let array3 = if (if ((maxPercentBound > p03))
114114 then (p03 > minPercentBound)
115115 else false)
116116 then 3 :: array2
117117 else array2
118118 if (if ((maxPercentBound > p04))
119119 then (p04 > minPercentBound)
120120 else false)
121121 then 4 :: array3
122122 else array3
123123 }
124124 let check1 = if ((size(check0) >= 3))
125125 then check0
126126 else {
127127 let p1 = prices[1]
128128 if ((0 >= p1))
129129 then [1]
130130 else {
131131 let p10 = ((prices[0] * 100) / p1)
132132 let p12 = ((prices[2] * 100) / p1)
133133 let p13 = ((prices[3] * 100) / p1)
134134 let p14 = ((prices[4] * 100) / p1)
135135 let array1 = if (if ((maxPercentBound > p10))
136136 then (p10 > minPercentBound)
137137 else false)
138138 then [0, 1]
139139 else [1]
140140 let array2 = if (if ((maxPercentBound > p12))
141141 then (p12 > minPercentBound)
142142 else false)
143143 then 2 :: array1
144144 else array1
145145 let array3 = if (if ((maxPercentBound > p13))
146146 then (p13 > minPercentBound)
147147 else false)
148148 then 3 :: array2
149149 else array2
150150 if (if ((maxPercentBound > p14))
151151 then (p14 > minPercentBound)
152152 else false)
153153 then 4 :: array3
154154 else array3
155155 }
156156 }
157157 let check2 = if ((size(check1) >= 3))
158158 then check1
159159 else {
160160 let p2 = prices[2]
161161 if ((0 >= p2))
162162 then [2]
163163 else {
164164 let p20 = ((prices[0] * 100) / p2)
165165 let p21 = ((prices[1] * 100) / p2)
166166 let p23 = ((prices[3] * 100) / p2)
167167 let p24 = ((prices[4] * 100) / p2)
168168 let array1 = if (if ((maxPercentBound > p20))
169169 then (p20 > minPercentBound)
170170 else false)
171171 then [0, 2]
172172 else [2]
173173 let array2 = if (if ((maxPercentBound > p21))
174174 then (p21 > minPercentBound)
175175 else false)
176176 then 1 :: array1
177177 else array1
178178 let array3 = if (if ((maxPercentBound > p23))
179179 then (p23 > minPercentBound)
180180 else false)
181181 then 3 :: array2
182182 else array2
183183 if (if ((maxPercentBound > p24))
184184 then (p24 > minPercentBound)
185185 else false)
186186 then 4 :: array3
187187 else array3
188188 }
189189 }
190190 let check3 = if ((size(check2) >= 3))
191191 then check2
192192 else {
193193 let p3 = prices[3]
194194 if ((0 >= p3))
195195 then [3]
196196 else {
197197 let p30 = ((prices[0] * 100) / p3)
198198 let p31 = ((prices[1] * 100) / p3)
199199 let p32 = ((prices[2] * 100) / p3)
200200 let p34 = ((prices[4] * 100) / p3)
201201 let array1 = if (if ((maxPercentBound > p30))
202202 then (p30 > minPercentBound)
203203 else false)
204204 then [0, 3]
205205 else [3]
206206 let array2 = if (if ((maxPercentBound > p31))
207207 then (p31 > minPercentBound)
208208 else false)
209209 then 1 :: array1
210210 else array1
211211 let array3 = if (if ((maxPercentBound > p32))
212212 then (p32 > minPercentBound)
213213 else false)
214214 then 2 :: array2
215215 else array2
216216 if (if ((maxPercentBound > p34))
217217 then (p34 > minPercentBound)
218218 else false)
219219 then 4 :: array3
220220 else array3
221221 }
222222 }
223223 if ((size(check3) >= 3))
224224 then check3
225225 else {
226226 let p4 = prices[4]
227227 if ((0 >= p4))
228228 then [4]
229229 else {
230230 let p40 = ((prices[0] * 100) / p4)
231231 let p41 = ((prices[1] * 100) / p4)
232232 let p42 = ((prices[2] * 100) / p4)
233233 let p43 = ((prices[3] * 100) / p4)
234234 let array1 = if (if ((maxPercentBound > p40))
235235 then (p40 > minPercentBound)
236236 else false)
237237 then [0, 4]
238238 else [4]
239239 let array2 = if (if ((maxPercentBound > p41))
240240 then (p41 > minPercentBound)
241241 else false)
242242 then 1 :: array1
243243 else array1
244244 let array3 = if (if ((maxPercentBound > p42))
245245 then (p42 > minPercentBound)
246246 else false)
247247 then 2 :: array2
248248 else array2
249249 if (if ((maxPercentBound > p43))
250250 then (p43 > minPercentBound)
251251 else false)
252252 then 3 :: array3
253253 else array3
254254 }
255255 }
256256 }
257257
258258
259259 func formattingPriceMsg (price) = toBytes((((("WAVESNEUTRINOPREFIX" + "_") + toString(height)) + "_") + toString(price)))
260260
261261
262262 @Callable(i)
263263 func constructorV1 (neutrinoContract,auctionContract,rpdContract,mathContract,liquidationContract,restContract,nodeRegistryContract,nsbtStakingContract,mediatorContract,surfStakingContract,gnsbtControllerContract,restV2Contract,governanceContract,doraContract) = if ((i.caller != this))
264264 then throw("permissions denied")
265265 else [StringEntry(keyControlConfig(), dataControlCfg(neutrinoContract, auctionContract, rpdContract, mathContract, liquidationContract, restContract, nodeRegistryContract, nsbtStakingContract, mediatorContract, surfStakingContract, gnsbtControllerContract, restV2Contract, governanceContract, doraContract))]
266266
267267
268268
269269 @Callable(i)
270270 func callEmergencyShutdown (reason) = {
271- let AutoEmergencyOracleAddress = "3N9mzk4p7jtCatFRRQWUNZXi7z9MHVSug8t"
271+ let AutoEmergencyOracleAddress = "3MwGSjMPHqX1DhEomE3bzp5tjN1GJZSNY5n"
272272 let callerAddress = toString(i.caller)
273273 if (if ((AutoEmergencyOracleAddress != callerAddress))
274274 then (toString(governanceContract) != callerAddress)
275275 else false)
276276 then throw("caller must be one an emergency oracle or Governance contract")
277277 else [BooleanEntry("is_blocked", true), StringEntry("is_blocked_caller", callerAddress), StringEntry("is_blocked_reason", reason)]
278278 }
279279
280280
281281
282282 @Callable(i)
283283 func finalizeCurrentPrice (price1,sign1,price2,sign2,price3,sign3,price4,sign4,price5,sign5) = if (isBlocked)
284284 then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
285285 else if ((valueOrElse(getInteger(this, ("price_" + toString(height))), 0) != 0))
286286 then throw("wait next block")
287287 else if ((pubKeyOraclesList[(height % 5)] != toBase58String(i.callerPublicKey)))
288288 then throw(((("Out of turn finalization: " + toString(height)) + " block should be finalize by ") + pubKeyOraclesList[(height % 5)]))
289289 else {
290290 let prices = [if (sigVerify_8Kb(formattingPriceMsg(price1), sign1, fromBase58String(pubKeyOraclesList[0])))
291291 then price1
292292 else 0, if (sigVerify_8Kb(formattingPriceMsg(price2), sign2, fromBase58String(pubKeyOraclesList[1])))
293293 then price2
294294 else 0, if (sigVerify_8Kb(formattingPriceMsg(price3), sign3, fromBase58String(pubKeyOraclesList[2])))
295295 then price3
296296 else 0, if (sigVerify_8Kb(formattingPriceMsg(price4), sign4, fromBase58String(pubKeyOraclesList[3])))
297297 then price4
298298 else 0, if (sigVerify_8Kb(formattingPriceMsg(price5), sign5, fromBase58String(pubKeyOraclesList[4])))
299299 then price5
300300 else 0]
301301 let zeroPriceCount = if ((prices[0] == 0))
302302 then 1
303303 else (0 + (if ((prices[1] == 0))
304304 then 1
305305 else (0 + (if ((prices[2] == 0))
306306 then 1
307307 else (0 + (if ((prices[3] == 0))
308308 then 1
309309 else (0 + (if ((prices[4] == 0))
310310 then 1
311311 else 0))))))))
312312 if ((zeroPriceCount >= 3))
313313 then throw("3 prices or more are equals to 0")
314314 else {
315315 let pricesInRange = findPricesInRange(prices)
316316 let priceProvidingCount = size(pricesInRange)
317317 if ((3 > priceProvidingCount))
318318 then throw(((((((((((((((((((((("Could not finalize price because of big variation: height=" + toString(height)) + "
319319 ") + pubKeyOraclesList[0]) + "=") + toString(prices[0])) + "
320320 ") + pubKeyOraclesList[1]) + "=") + toString(prices[1])) + "
321321 ") + pubKeyOraclesList[2]) + "=") + toString(prices[2])) + "
322322 ") + pubKeyOraclesList[3]) + "=") + toString(prices[3])) + "
323323 ") + pubKeyOraclesList[4]) + "=") + toString(prices[4])))
324324 else {
325325 let sum1 = ((prices[pricesInRange[0]] + prices[pricesInRange[1]]) + prices[pricesInRange[2]])
326326 let sum2 = if ((priceProvidingCount >= 4))
327327 then (sum1 + prices[pricesInRange[3]])
328328 else sum1
329329 let priceSum = if ((priceProvidingCount >= 5))
330330 then (sum2 + prices[pricesInRange[4]])
331331 else sum2
332332 if ((priceProvidingCount >= 6))
333333 then throw("Invalid pricesInRange creation")
334334 else {
335335 let newPrice = (priceSum / priceProvidingCount)
336336 if (if ((newPrice >= (price + ((price * percentPriceOffset) / 100))))
337337 then true
338338 else ((price - ((price * percentPriceOffset) / 100)) >= newPrice))
339339 then {
340340 let reason = "automatic emergency shutdown because of large price variability"
341341 [BooleanEntry("is_blocked", true), StringEntry("is_blocked_caller", toString(this)), StringEntry("is_blocked_reason", reason), IntegerEntry((("black_swarm_price" + "_") + toString(height)), newPrice)]
342342 }
343343 else {
344344 let newPriceIndex = (priceIndex + 1)
345345 [IntegerEntry("price", newPrice), IntegerEntry(("price_" + toString(height)), newPrice), IntegerEntry("price_index", newPriceIndex), IntegerEntry(("price_index_" + toString(newPriceIndex)), height), IntegerEntry(("deficit_" + toString(height)), deficit), IntegerEntry(("neutrinoSupply_" + toString(height)), neutrinoSupply), IntegerEntry(("deficit_percent_" + toString(height)), if ((neutrinoSupply != 0))
346346 then ((deficit * 100) / neutrinoSupply)
347347 else 0)]
348348 }
349349 }
350350 }
351351 }
352352 }
353353
354354
355355 @Verifier(tx)
356356 func verify () = {
357357 let pubKeyAdminsListStr = makeString(["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR"], SEP)
358358 let pubKeyAdminsList = split(valueOrElse(getString(controlContract, "%s__multisig"), pubKeyAdminsListStr), SEP)
359359 let count = ((((if (sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(pubKeyAdminsList[0])))
360360 then 1
361361 else 0) + (if (sigVerify(tx.bodyBytes, tx.proofs[1], fromBase58String(pubKeyAdminsList[1])))
362362 then 1
363363 else 0)) + (if (sigVerify(tx.bodyBytes, tx.proofs[2], fromBase58String(pubKeyAdminsList[2])))
364364 then 1
365365 else 0)) + (if (sigVerify(tx.bodyBytes, tx.proofs[3], fromBase58String(pubKeyAdminsList[3])))
366366 then 2
367367 else 0))
368368 (count >= 3)
369369 }
370370

github/deemru/w8io/169f3d6 
65.16 ms