tx · 4DbUEDaNgvxtkNfXZqBFVeNJLcqd4yxVRtDXZ3MdvPmW

3N7LYefWk1WhvCsY5A9nTq244SbVPmhCypi:  -0.04000000 Waves

2022.09.26 14:49 [2246059] smart account 3N7LYefWk1WhvCsY5A9nTq244SbVPmhCypi > SELF 0.00000000 Waves

{ "type": 13, "id": "4DbUEDaNgvxtkNfXZqBFVeNJLcqd4yxVRtDXZ3MdvPmW", "fee": 4000000, "feeAssetId": null, "timestamp": 1664192969463, "version": 1, "sender": "3N7LYefWk1WhvCsY5A9nTq244SbVPmhCypi", "senderPublicKey": "4qGVXRFATZNzo2RZZ5UYHXojGyJgSRBwtgJcCU8rJe5A", "proofs": [ "3PDUPfvFfPLmV9axS52e7eMQrLByMayvvrm5MrNSJT3dnnckeMAxAeLxSTvSByYn5NpBn3WSe3ojxVYJSzDbDETQ", "uryA6o3D3ZS6P82jbAbU6xgGNDv2Am3fsT4WGZCBDLut1LN5CCiFUjb6ptppyxzbfEpHcwgpebc4jpzESwgXb8H", "1Wbgww7boMT6jwUVWis5792qCPE9VRgiiCFLrw7AKiLtXhj6tizLGfjunFaZXW1BR9beHhvRQ3VXv4pXtKb2FB1" ], "script": "base64:AAIFAAAAAAAAADkIAhIFCgMICAESAwoBARIHCgUBAQEBARIDCgEBEgQKAgECEgMKAQESABIFCgMBAQESBwoFAQEBAQEAAABeAAAAAAtyZXZpc2lvbk51bQIAAAAoZGRjNmU1MWVhNjMxNDJmMjY3OGNjMTQ1YWUyODUxZGE3NmVhMjQ1OQAAAAAJTVVMVFNDQUxFAAAAAAAAAAAIAAAAAAdTQ0FMRTE2AAAAAAAAAAAQAAAAAANTRVACAAAAAl9fAAAAAAVIQUxGOAAAAAAAAvrwgAAAAAAIRVVMRVJYMTYJAAE2AAAAAQAAYJKhE9jVdAAAAAAEVFdPWAkAATYAAAABAAAAAAAAAAACAAAAAAVNVUxUNgAAAAAAAA9CQAAAAAAGTVVMVFg2CQABNgAAAAEAAAAAAAAPQkAAAAAABU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AQkAAZEAAAACBQAAABBwdWJLZXlBZG1pbnNMaXN0AAAAAAAAAAADAAAAAAAAAAACAAAAAAAAAAAACQAAZwAAAAIFAAAABWNvdW50AAAAAAAAAAADr7eFiQ==", "chainId": 84, "height": 2246059, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8gRBLgNTYE7YYmhCTWUzA5L7vwsuhy7kyusVgM8Ndtep Next: GLFdBgEuuobAc1SFq2fmyito8FHnjXzrufEvqcmM77tQ Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let revisionNum = "ddc6e51ea63142f2678cc145ae2851da76ea2459"
55
66 let MULTSCALE = 8
77
88 let SCALE16 = 16
99
1010 let SEP = "__"
1111
1212 let HALF8 = 50000000
1313
1414 let EULERX16 = toBigInt(27182818284590452)
1515
1616 let TWOX = toBigInt(2)
1717
1818 let MULT6 = 1000000
1919
2020 let MULTX6 = toBigInt(1000000)
2121
2222 let MULT8 = 100000000
2323
2424 let MULTX8 = toBigInt(100000000)
2525
2626 let MULTX10 = toBigInt(10000000000)
2727
2828 let MULTX16 = toBigInt(10000000000000000)
2929
3030 let WAVESID = fromBase58String("WAVES")
3131
3232 let kResultIdxA = 0
3333
3434 let kResultIdxPaulB = 1
3535
3636 let kResultIdxWReservesInUsdn = 2
3737
3838 let kResultIdxMultBR = 3
3939
4040 let kResultIdxMultPower = 4
4141
4242 let kResultIdxMultExpInPowerStr = 5
4343
4444 let kResultIdxMultKStr = 6
4545
4646 let nMetricIdxPrice = 0
4747
4848 let nMetricIdxUsdnLockedBalance = 1
4949
5050 let nMetricIdxWavesLockedBalance = 2
5151
5252 let nMetricIdxReserve = 3
5353
5454 let nMetricIdxReserveInUsdn = 4
5555
5656 let nMetricIdxUsdnSupply = 5
5757
5858 let nMetricIdxSurplus = 6
5959
6060 let nMetricIdxSurplusPercent = 7
6161
6262 let nMetricIdxBR = 8
6363
6464 let nMetricIdxNsbtSupply = 9
6565
6666 let nMetricIdxMaxNsbtSupply = 10
6767
6868 let nMetricIdxSurfSupply = 11
6969
7070 func keyNeutrinoAddress () = "%s%s__config__neutrinoAddress"
7171
7272
7373 func keySwapAmountAParam () = "%s%s__config__swapAParam"
7474
7575
7676 func keySwapAmountBParam () = "%s%s__config__swapBParam"
7777
7878
7979 func keyUsdnSwapAmountAParam () = "%s%s__config__usdnSwapAParam"
8080
8181
8282 func keyUsdnSwapAmountBParam () = "%s%s__config__usdnSwapBParam"
8383
8484
8585 func keyNeutrinoAssetId () = "neutrino_asset_id"
8686
8787
8888 func keyNsbtAssetId () = "bond_asset_id"
8989
9090
9191 func keySurfAssetId () = "surf_asset_id"
9292
9393
9494 func keyBalanceLocked () = "balance_lock_"
9595
9696
9797 func keyWavesLockedBalance () = (keyBalanceLocked() + "waves")
9898
9999
100100 func keyNeutrinoLockedBalance () = (keyBalanceLocked() + "neutrino")
101101
102102
103103 func swapsTimeframeKEY () = "swaps_timeframe"
104104
105105
106106 func keyUserLastQuickSwapHeight (userAddress) = makeString(["%s%s", "userLastQuickSwapHeight", userAddress], SEP)
107107
108108
109109 func keyQuickSwapUserSpentInPeriod (userAddress) = makeString(["%s%s", "quickSwapUserSpentInPeriod", userAddress], SEP)
110110
111111
112112 func keyPrice () = "price"
113113
114114
115115 let RpdBalanceKey = "rpd_balance"
116116
117117 func rpdUserBalanceKey (owner,assetId) = makeString([RpdBalanceKey, assetId, owner], "_")
118118
119119
120120 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
121121
122122
123123 func getIntOrFail (address,key) = valueOrErrorMessage(getInteger(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
124124
125125
126126 func getNumberByKey (address,key) = valueOrElse(getInteger(address, key), 0)
127127
128128
129129 func getBoolOrFail (address,key) = valueOrErrorMessage(getBoolean(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
130130
131131
132132 func convertNeutrinoToWaves (amount,price) = fraction(amount, MULT8, price)
133133
134134
135135 func convertWavesToNeutrino (amount,price) = fraction(amount, price, MULT8)
136136
137137
138138 func toX16 (origVal,origScaleMult) = fraction(toBigInt(origVal), MULTX16, toBigInt(origScaleMult))
139139
140140
141141 func fromX16 (val,resultScaleMult) = toInt(fraction(val, toBigInt(resultScaleMult), MULTX16))
142142
143143
144144 func asAnyList (val) = match val {
145145 case valAnyLyst: List[Any] =>
146146 valAnyLyst
147147 case _ =>
148148 throw("fail to cast into List[Any]")
149149 }
150150
151151
152152 func asInt (val) = match val {
153153 case valInt: Int =>
154154 valInt
155155 case _ =>
156156 throw("fail to cast into Int")
157157 }
158158
159159
160160 func asString (val) = match val {
161161 case valStr: String =>
162162 valStr
163163 case _ =>
164164 throw("fail to cast into String")
165165 }
166166
167167
168168 let IdxControlCfgNeutrinoDapp = 1
169169
170170 let IdxControlCfgAuctionDapp = 2
171171
172172 let IdxControlCfgRpdDapp = 3
173173
174174 let IdxControlCfgMathDapp = 4
175175
176176 let IdxControlCfgLiquidationDapp = 5
177177
178178 let IdxControlCfgRestDapp = 6
179179
180180 let IdxControlCfgNodeRegistryDapp = 7
181181
182182 let IdxControlCfgNsbtStakingDapp = 8
183183
184184 let IdxControlCfgMediatorDapp = 9
185185
186186 func keyControlAddress () = "%s%s__config__controlAddress"
187187
188188
189189 func keyControlCfg () = "%s__controlConfig"
190190
191191
192192 func readControlCfgOrFail (control) = split(getStringOrFail(control, keyControlCfg()), SEP)
193193
194194
195195 func getContractAddressOrFail (controlCfg,idx) = valueOrErrorMessage(addressFromString(controlCfg[idx]), ("Control cfg doesn't contain address at index " + toString(idx)))
196196
197197
198198 let controlContract = addressFromStringValue(valueOrElse(getString(this, keyControlAddress()), "3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx"))
199199
200200 let controlCfg = readControlCfgOrFail(controlContract)
201201
202202 let neutrinoContract = getContractAddressOrFail(controlCfg, IdxControlCfgNeutrinoDapp)
203203
204204 let auctionContract = getContractAddressOrFail(controlCfg, IdxControlCfgAuctionDapp)
205205
206206 let liquidationContract = getContractAddressOrFail(controlCfg, IdxControlCfgLiquidationDapp)
207207
208208 let usdnStakingContract = getContractAddressOrFail(controlCfg, IdxControlCfgRpdDapp)
209209
210210 let neutrinoAssetIdStr = getStringOrFail(neutrinoContract, keyNeutrinoAssetId())
211211
212212 let neutrinoAssetId = fromBase58String(neutrinoAssetIdStr)
213213
214214 let nsbtAssetId = fromBase58String(getStringValue(neutrinoContract, keyNsbtAssetId()))
215215
216216 let surfAssetId = fromBase58String(getStringValue(auctionContract, keySurfAssetId()))
217217
218218 func calcUsdnOutOfMarketSupply () = {
219219 let outOfMarketAddressList = valueOrElse(getString(controlContract, "%s%s__control__outOfMarketAddressList"), "")
220220 if ((outOfMarketAddressList == ""))
221221 then 0
222222 else {
223223 func balancesSUM (outOfMarketSupply,nextAddress) = ((outOfMarketSupply + valueOrElse(getInteger(usdnStakingContract, rpdUserBalanceKey(nextAddress, neutrinoAssetIdStr)), 0)) + assetBalance(addressFromStringValue(nextAddress), neutrinoAssetId))
224224
225225 let $l = split(outOfMarketAddressList, SEP)
226226 let $s = size($l)
227227 let $acc0 = 0
228228 func $f0_1 ($a,$i) = if (($i >= $s))
229229 then $a
230230 else balancesSUM($a, $l[$i])
231231
232232 func $f0_2 ($a,$i) = if (($i >= $s))
233233 then $a
234234 else throw("List size exceeds 4")
235235
236236 $f0_2($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4)
237237 }
238238 }
239239
240240
241241 let currentPrice = getIntegerValue(controlContract, keyPrice())
242242
243243 let neutrinoLockedBalance = valueOrElse(getInteger(neutrinoContract, keyNeutrinoLockedBalance()), 0)
244244
245245 let wavesLockedBalance = valueOrElse(getInteger(neutrinoContract, keyWavesLockedBalance()), 0)
246246
247247 let reserve = (wavesBalance(neutrinoContract).regular - wavesLockedBalance)
248248
249249 let reservesInUsdn = convertWavesToNeutrino(reserve, currentPrice)
250250
251251 let neutrinoOutOfMarketSupply = calcUsdnOutOfMarketSupply()
252252
253253 let neutrinoTotalSupply = (((neutrinoLockedBalance + value(assetInfo(neutrinoAssetId)).quantity) - assetBalance(neutrinoContract, neutrinoAssetId)) - assetBalance(liquidationContract, neutrinoAssetId))
254254
255255 let neutrinoSupply = (neutrinoTotalSupply - neutrinoOutOfMarketSupply)
256256
257257 let BR = if ((neutrinoSupply == 0))
258258 then 0
259259 else fraction(reservesInUsdn, MULT6, neutrinoSupply)
260260
261261 @Callable(i)
262262 func constructor (neutrinoAddress,nsbtLockAddress,swapAmountAParam) = if ((i.caller != this))
263263 then throw("not authorized")
264264 else [StringEntry(keyNeutrinoAddress(), neutrinoAddress), IntegerEntry(keySwapAmountAParam(), swapAmountAParam)]
265265
266266
267267
268268 @Callable(i)
269269 func calcSwapLimitREADONLY (gNsbtAmount) = {
270270 let limitWavesInUsdn = if ((0 >= gNsbtAmount))
271271 then 0
272272 else {
273273 let aParamX8 = toBigInt(getIntOrFail(this, keySwapAmountAParam()))
274274 let bParamX16 = toBigInt(getIntOrFail(this, keySwapAmountBParam()))
275275 let powPartX8 = pow(toBigInt(gNsbtAmount), 6, bParamX16, 16, 8, CEILING)
276276 toInt(fraction(aParamX8, powPartX8, MULTX10))
277277 }
278278 let limitWaves = convertNeutrinoToWaves(limitWavesInUsdn, currentPrice)
279279 let limitUsdn = if ((0 >= gNsbtAmount))
280280 then 0
281281 else {
282282 let aParamX8 = toBigInt(getIntOrFail(this, keyUsdnSwapAmountAParam()))
283283 let bParamX16 = toBigInt(getIntOrFail(this, keyUsdnSwapAmountBParam()))
284284 let brX6 = toBigInt(BR)
285285 let powPartX8 = pow(toBigInt(gNsbtAmount), 6, bParamX16, 16, 8, CEILING)
286286 toInt(fraction(fraction(aParamX8, powPartX8, MULTX10), brX6, MULTX6))
287287 }
288288 $Tuple2(nil, [limitWavesInUsdn, limitWaves, limitUsdn])
289289 }
290290
291291
292292
293293 @Callable(i)
294294 func calculateKREADONLY (wRaw,uRaw,price,mRaw,sRaw) = {
295295 let EXP = toBigInt(2718281)
296296 let EXPSCALE = 6
297297 let a = valueOrElse(getInteger(auctionContract, "nsbtCurveParam_a"), 3)
298298 let paulB = valueOrElse(getInteger(auctionContract, "nsbtCurveParam_b"), ((3 * MULT6) / 10))
299299 let wReservesInUsdn = convertWavesToNeutrino(wRaw, price)
300300 let multBR = fraction(wReservesInUsdn, MULT8, uRaw)
301301 if ((multBR > 10678564816))
302302 then throw((("BR=" + toString(multBR)) + " > 10678.564816% will overflow exponent"))
303303 else {
304304 let multPower = (a * (multBR - MULT8))
305305 let multExpInPower = pow(EXP, EXPSCALE, toBigInt(multPower), MULTSCALE, SCALE16, DOWN)
306306 let multK = fraction(toBigInt(paulB), multExpInPower, MULTX6)
307307 $Tuple2(nil, [a, paulB, wReservesInUsdn, multBR, multPower, toString(multExpInPower), toString(multK)])
308308 }
309309 }
310310
311311
312312
313313 @Callable(i)
314314 func curveFunctionREADONLY (wavesPayRaw) = {
315315 let neutrinoMetrics = asAnyList(invoke(this, "calcNeutinoMetricsREADONLY", nil, nil))
316316 let price = asInt(neutrinoMetrics[nMetricIdxPrice])
317317 let wRaw = asInt(neutrinoMetrics[nMetricIdxReserve])
318318 let uRaw = asInt(neutrinoMetrics[nMetricIdxUsdnSupply])
319319 let sRaw = asInt(neutrinoMetrics[nMetricIdxNsbtSupply])
320320 let mRaw = asInt(neutrinoMetrics[nMetricIdxMaxNsbtSupply])
321321 let kCalcArray = asAnyList(invoke(this, "calculateKREADONLY", [wRaw, uRaw, price, mRaw, sRaw], nil))
322322 let multK = parseBigIntValue(asString(kCalcArray[kResultIdxMultKStr]))
323323 let usdnPay = convertWavesToNeutrino(wavesPayRaw, price)
324324 let bigMaxNsbtSupply = toBigInt(mRaw)
325325 let bigNsbtSupply = toBigInt((mRaw - sRaw))
326326 let step1 = fraction(toBigInt(usdnPay), MULTX16, multK)
327327 let step2 = fraction(step1, bigNsbtSupply, bigMaxNsbtSupply)
328328 let step3 = toInt(fraction(bigNsbtSupply, bigMaxNsbtSupply, (step2 + bigMaxNsbtSupply)))
329329 let nsbtAmountRaw = ((mRaw - sRaw) - step3)
330330 $Tuple2(nil, [nsbtAmountRaw, usdnPay, wRaw, uRaw, mRaw, sRaw, asInt(kCalcArray[kResultIdxA]), asInt(kCalcArray[kResultIdxPaulB]), asInt(kCalcArray[kResultIdxWReservesInUsdn]), price, asInt(kCalcArray[kResultIdxMultBR]), asInt(kCalcArray[kResultIdxMultPower]), kCalcArray[kResultIdxMultExpInPowerStr], kCalcArray[kResultIdxMultKStr], toString(step1), toString(step2), step3])
331331 }
332332
333333
334334
335335 @Callable(i)
336336 func surfFunctionREADONLY (amount,assetId) = if ((0 > amount))
337337 then throw("amount should be positive")
338338 else {
339339 let price = currentPrice
340340 let priceBig = toBigInt(price)
341341 let reserveBig = toBigInt(reserve)
342342 let supply = neutrinoSupply
343343 let supplyBig = toBigInt(supply)
344344 if ((BR >= MULT6))
345345 then throw((("BR = " + toString(BR)) + ", cannot buy SURF"))
346346 else {
347347 let maxWavesPay = (fraction(supply, MULT8, price) - reserve)
348348 let maxUsdnPay = (supply - fraction(reserve, price, MULT8))
349349 let useAmount = if ((assetId == neutrinoAssetId))
350350 then if ((amount > maxUsdnPay))
351351 then maxUsdnPay
352352 else amount
353353 else if ((assetId == WAVESID))
354354 then if ((amount > maxWavesPay))
355355 then maxWavesPay
356356 else amount
357357 else 0
358358 let amountBig = toBigInt(useAmount)
359359 if ((assetId == neutrinoAssetId))
360360 then $Tuple2(nil, [toInt(fraction(fraction(amountBig, MULTX8, priceBig), (supplyBig - (amountBig / TWOX)), reserveBig)), 0, useAmount, reserve, supply, BR, reserve, (supply - useAmount), fraction(convertWavesToNeutrino(reserve, price), MULT6, (supply - useAmount)), (amount - useAmount), price])
361361 else if ((assetId == WAVESID))
362362 then $Tuple2(nil, [toInt(fraction(supplyBig, log(fraction((reserveBig + amountBig), MULTX16, reserveBig), 16, EULERX16, 16, 16, HALFUP), MULTX16)), useAmount, 0, reserve, supply, BR, (reserve + useAmount), supply, fraction(convertWavesToNeutrino((reserve + useAmount), price), MULT6, supply), (amount - useAmount), price])
363363 else throw("Unsupported asset")
364364 }
365365 }
366366
367367
368368
369369 @Callable(i)
370370 func calcContractNsbtPriceSYSREADONLY (nsbtSupplyDELTA) = {
371371 let neutrinoMetrics = asAnyList(invoke(this, "calcNeutinoMetricsREADONLY", nil, nil))
372372 let price = asInt(neutrinoMetrics[nMetricIdxPrice])
373373 let wRaw = asInt(neutrinoMetrics[nMetricIdxReserve])
374374 let uRaw = (asInt(neutrinoMetrics[nMetricIdxUsdnSupply]) - nsbtSupplyDELTA)
375375 let sRaw = (asInt(neutrinoMetrics[nMetricIdxNsbtSupply]) + nsbtSupplyDELTA)
376376 let mRaw = asInt(neutrinoMetrics[nMetricIdxMaxNsbtSupply])
377377 let kCalcArray = asAnyList(invoke(this, "calculateKREADONLY", [wRaw, uRaw, price, mRaw, sRaw], nil))
378378 let multKX16 = parseBigIntValue(asString(kCalcArray[kResultIdxMultKStr]))
379379 let multStep1X16 = fraction(toBigInt(mRaw), MULTX16, toBigInt((mRaw - sRaw)))
380380 let multStep2X16 = fraction(multStep1X16, multStep1X16, MULTX16)
381381 let multNsbt2usdnPriceX16 = fraction(multKX16, multStep2X16, MULTX16)
382382 let nsbt2usdnPrice = toInt(fraction(multNsbt2usdnPriceX16, toBigInt(MULT6), MULTX16))
383383 let nsbt2wavesPrice = fraction(nsbt2usdnPrice, MULT6, price)
384384 $Tuple2(nil, [nsbt2usdnPrice, nsbt2wavesPrice])
385385 }
386386
387387
388388
389389 @Callable(i)
390390 func calcNeutinoMetricsREADONLY () = {
391391 let nsbtSupplyMAX = value(assetInfo(nsbtAssetId)).quantity
392392 let nsbtSupply = (nsbtSupplyMAX - assetBalance(auctionContract, nsbtAssetId))
393393 let surfSupply = value(assetInfo(surfAssetId)).quantity
394394 $Tuple2(nil, [currentPrice, neutrinoLockedBalance, wavesLockedBalance, reserve, reservesInUsdn, neutrinoSupply, neutrinoOutOfMarketSupply, neutrinoTotalSupply, BR, nsbtSupply, nsbtSupplyMAX, surfSupply])
395395 }
396396
397397
398398
399399 @Callable(i)
400400 func getUnstakeComissionAmountREADONLY (amount,startHeight,halfLife) = $Tuple2(nil, fraction(amount, pow(2, 0, fraction(-((height - startHeight)), MULT8, halfLife), 8, 8, HALFUP), MULT8))
401401
402402
403403
404404 @Callable(i)
405405 func mergeStakesREADONLY (amount1,height1,amount2,height2,halfLife) = {
406406 let w = fraction(amount2, pow(2, 0, fraction((height2 - height1), MULT8, halfLife), 8, 8, HALFUP), MULT8)
407407 let v = fraction((amount1 + amount2), MULT8, (amount1 + w))
408408 $Tuple2(nil, (height1 + ((HALF8 - (halfLife * log(v, 8, 2, 0, 8, HALFUP))) / MULT8)))
409409 }
410410
411411
412412 @Verifier(tx)
413413 func verify () = {
414414 let pubKeyAdminsListStr = makeString(["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR"], SEP)
415415 let pubKeyAdminsList = split(valueOrElse(getString(controlContract, "%s__multisig"), pubKeyAdminsListStr), SEP)
416416 let count = ((((if (sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(pubKeyAdminsList[0])))
417417 then 1
418418 else 0) + (if (sigVerify(tx.bodyBytes, tx.proofs[1], fromBase58String(pubKeyAdminsList[1])))
419419 then 1
420420 else 0)) + (if (sigVerify(tx.bodyBytes, tx.proofs[2], fromBase58String(pubKeyAdminsList[2])))
421421 then 1
422422 else 0)) + (if (sigVerify(tx.bodyBytes, tx.proofs[3], fromBase58String(pubKeyAdminsList[3])))
423423 then 2
424424 else 0))
425425 (count >= 3)
426426 }
427427

github/deemru/w8io/026f985 
48.47 ms