tx · G99js84uf2yoYB61KCy1GExSWT8oxtgncZLRZF6BxwXU 3N911L1LqZs6xaZsC5skLHrU3XfDYZG8wxz: -0.01400000 Waves 2019.11.18 18:00 [770718] smart account 3N911L1LqZs6xaZsC5skLHrU3XfDYZG8wxz > SELF 0.00000000 Waves
{ "type": 13, "id": "G99js84uf2yoYB61KCy1GExSWT8oxtgncZLRZF6BxwXU", "fee": 1400000, "feeAssetId": null, "timestamp": 1574089237896, "version": 1, "sender": "3N911L1LqZs6xaZsC5skLHrU3XfDYZG8wxz", "senderPublicKey": "D1q54i7R33U4bjGXmo1FDbSyitrrvUj5dcrLQ493WX9S", "proofs": [ "2GKBpCjEQDSGoveFJ8M84xRbnY1gdVqukkdRvM41wvNVXTa9bCqortGYL92R1TcT5J9QyCSdW33f9jsxSg1gDVgr" ], "script": "base64:AAIDAAAAAAAAAA4IARIDCgEBEgASAwoBCAAAAEEBAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAABAAAADmdldFN0cmluZ0J5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAAAAEAAAAMZ2V0Qm9vbEJ5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQbAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAdCb29sZWFuBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhBwEAAAAYZ2V0TnVtYmVyQnlBZGRyZXNzQW5kS2V5AAAAAgAAAAdhZGRyZXNzAAAAA2tleQQAA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ARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAADElzQmxvY2tlZEtleQMJAABnAAAAAgUAAAAOYmxvY2tWb3RlQ291bnQFAAAAE2JmdENvZWZmaWNpZW50QWRtaW4GBwUAAAALcmVzZXRSZXN1bHQDCQAAZgAAAAIFAAAAEHVwZGF0ZVZvdGVzQ291bnQFAAAAE2JmdENvZWZmaWNpZW50QWRtaW4JAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAAFFNjcmlwdFVwZGF0ZUJsb2NrS2V5AwkAAGYAAAACBQAAABB1cGRhdGVWb3Rlc0NvdW50BQAAABNiZnRDb2VmZmljaWVudEFkbWluCQAAZAAAAAIFAAAABmhlaWdodAUAAAAUc2NyaXB0VXBkYXRlSW50ZXJ2YWwFAAAAEXNjcmlwdFVwZGF0ZUJsb2NrBQAAAAtyZXNldFJlc3VsdAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAASQmxvY2tFeHBpcmVWb3RlS2V5AwkAAGYAAAACBQAAAAZoZWlnaHQFAAAAD2Jsb2NrRXhwaXJlVm90ZQkAAGQAAAACBQAAAAZoZWlnaHQFAAAADHZvdGVJbnRlcnZhbAUAAAAPYmxvY2tFeHBpcmVWb3RlCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQEAAAAVZ2V0QWRtaW5Wb3RlQWN0aW9uS2V5AAAAAQUAAAAHYWNjb3VudAUAAAAGYWN0aW9uBQAAAANuaWwAAAAAwuWGFQ==", "chainId": 84, "height": 770718, "spentComplexity": 0 } View: original | compacted Prev: B287pMTuqbRGf6giVsqjeGrsuKVt7iMgfp82jmLt6uf8 Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func getNumberByKey (key) = match getInteger(this, key) { | |
5 | 5 | case a: Int => | |
6 | 6 | a | |
7 | 7 | case _ => | |
8 | 8 | 0 | |
9 | 9 | } | |
10 | 10 | ||
11 | 11 | ||
12 | 12 | func getStringByKey (key) = match getString(this, key) { | |
13 | 13 | case a: String => | |
14 | 14 | a | |
15 | 15 | case _ => | |
16 | 16 | "" | |
17 | 17 | } | |
18 | 18 | ||
19 | 19 | ||
20 | 20 | func getBoolByKey (key) = match getBoolean(this, key) { | |
21 | 21 | case a: Boolean => | |
22 | 22 | a | |
23 | 23 | case _ => | |
24 | 24 | false | |
25 | 25 | } | |
26 | 26 | ||
27 | 27 | ||
28 | 28 | func getNumberByAddressAndKey (address,key) = match getInteger(address, key) { | |
29 | 29 | case a: Int => | |
30 | 30 | a | |
31 | 31 | case _ => | |
32 | 32 | 0 | |
33 | 33 | } | |
34 | 34 | ||
35 | 35 | ||
36 | 36 | func getStringByAddressAndKey (address,key) = match getString(address, key) { | |
37 | 37 | case a: String => | |
38 | 38 | a | |
39 | 39 | case _ => | |
40 | 40 | "" | |
41 | 41 | } | |
42 | 42 | ||
43 | 43 | ||
44 | 44 | func dropElementInJsonArray (array,element) = { | |
45 | 45 | let splitedArray = split(array, element) | |
46 | 46 | if ((take(splitedArray[1], 1) == ",")) | |
47 | 47 | then (splitedArray[0] + drop(splitedArray[1], 1)) | |
48 | 48 | else (dropRight(splitedArray[0], 1) + splitedArray[1]) | |
49 | 49 | } | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | func convertJsonArrayToList (jsonArray) = split(jsonArray, ",") | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | let BLOCK = "block" | |
56 | 56 | ||
57 | 57 | let UNBLOCK = "unblock" | |
58 | 58 | ||
59 | 59 | let UPDATE = "update" | |
60 | 60 | ||
61 | 61 | let OraclesKey = "oracles" | |
62 | 62 | ||
63 | 63 | let AdminsKey = "admins" | |
64 | 64 | ||
65 | 65 | let VoteIntervalKey = "vote_interval" | |
66 | 66 | ||
67 | 67 | let CoefficientOracleKey = "coefficient_oracle" | |
68 | 68 | ||
69 | 69 | let CoefficientAdminKey = "coefficient_admin" | |
70 | 70 | ||
71 | 71 | let ScriptUpdateIntervalKey = "script_update_interval" | |
72 | 72 | ||
73 | 73 | let ProvidingIntervalKey = "providing_interval" | |
74 | 74 | ||
75 | 75 | let PriceKey = "price" | |
76 | 76 | ||
77 | 77 | let PriceOffsetKey = "price_offset" | |
78 | 78 | ||
79 | 79 | let IsPricePendingKey = "is_pending_price" | |
80 | 80 | ||
81 | 81 | let IsBlockedKey = "is_blocked" | |
82 | 82 | ||
83 | 83 | let OracleIsProvideKey = "oracle_is_provide_" | |
84 | 84 | ||
85 | 85 | let OracleProvidePriceKey = "oracle_price_provide_" | |
86 | 86 | ||
87 | 87 | let AdminVoteKey = "admin_vote_" | |
88 | 88 | ||
89 | 89 | let ActionKey = "action" | |
90 | 90 | ||
91 | 91 | let BlockExpireProvidingKey = "providing_expire_block" | |
92 | 92 | ||
93 | 93 | let BlackSwarmPriceKey = "black_swarm_price" | |
94 | 94 | ||
95 | 95 | let BlockExpireVoteKey = "vote_expire_block" | |
96 | 96 | ||
97 | 97 | let ScriptUpdateBlockKey = "script_update_block" | |
98 | 98 | ||
99 | 99 | let PriceIndexKey = "price_index" | |
100 | 100 | ||
101 | 101 | func getOracleIsProvideKey (owner) = (OracleIsProvideKey + owner) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func getOracleProvidePriceKey (owner) = (OracleProvidePriceKey + owner) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func getAdminVoteKey (owner) = (AdminVoteKey + owner) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func getAdminVoteActionKey (owner) = ((getAdminVoteKey(owner) + "_") + ActionKey) | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func getBlackSwarmPriceKey (block) = ((BlackSwarmPriceKey + "_") + toString(block)) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func getPriceHistoryKey (block) = ((PriceKey + "_") + toString(block)) | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func getHeightPriceByIndexKey (index) = ((PriceIndexKey + "_") + toString(index)) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | let price = getNumberByKey(PriceKey) | |
123 | 123 | ||
124 | 124 | let priceIndex = getNumberByKey(PriceIndexKey) | |
125 | 125 | ||
126 | 126 | let providingInterval = getNumberByKey(ProvidingIntervalKey) | |
127 | 127 | ||
128 | 128 | let blockExpireProviding = getNumberByKey(BlockExpireProvidingKey) | |
129 | 129 | ||
130 | 130 | let blockExpireVote = getNumberByKey(BlockExpireVoteKey) | |
131 | 131 | ||
132 | 132 | let scriptUpdateBlock = getNumberByKey(ScriptUpdateBlockKey) | |
133 | 133 | ||
134 | 134 | let scriptUpdateInterval = getNumberByKey(ScriptUpdateIntervalKey) | |
135 | 135 | ||
136 | 136 | let isPricePending = getBoolByKey(IsPricePendingKey) | |
137 | 137 | ||
138 | 138 | let isBlocked = getBoolByKey(IsBlockedKey) | |
139 | 139 | ||
140 | 140 | let bftCoefficientOracle = getNumberByKey(CoefficientOracleKey) | |
141 | 141 | ||
142 | 142 | let bftCoefficientAdmin = getNumberByKey(CoefficientAdminKey) | |
143 | 143 | ||
144 | 144 | let percentPriceOffset = getNumberByKey(PriceOffsetKey) | |
145 | 145 | ||
146 | 146 | let voteInterval = getNumberByKey(VoteIntervalKey) | |
147 | 147 | ||
148 | 148 | let oracles = getStringByKey(OraclesKey) | |
149 | 149 | ||
150 | 150 | let admins = getStringByKey(AdminsKey) | |
151 | 151 | ||
152 | 152 | let oraclesList = convertJsonArrayToList(oracles) | |
153 | 153 | ||
154 | 154 | let adminsList = convertJsonArrayToList(admins) | |
155 | 155 | ||
156 | 156 | func getAdminVoteAction (owner) = getStringByKey(getAdminVoteActionKey(owner)) | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func isOracleProvide (owner) = getBoolByKey(getOracleIsProvideKey(owner)) | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func isOracleProvideInt (owner) = if (isOracleProvide(owner)) | |
163 | 163 | then 1 | |
164 | 164 | else 0 | |
165 | 165 | ||
166 | 166 | ||
167 | 167 | func getOracleProvidePrice (owner) = getNumberByKey(getOracleProvidePriceKey(owner)) | |
168 | 168 | ||
169 | 169 | ||
170 | 170 | func isOracle (address) = isDefined(indexOf(oracles, address)) | |
171 | 171 | ||
172 | 172 | ||
173 | 173 | func isAdmin (address) = isDefined(indexOf(admins, address)) | |
174 | 174 | ||
175 | 175 | ||
176 | 176 | func sumOraclePrice (base,address) = (base + (getOracleProvidePrice(address) * isOracleProvideInt(address))) | |
177 | 177 | ||
178 | 178 | ||
179 | 179 | func filterAdminsVoteByAction (result,address,action) = address :: result | |
180 | 180 | ||
181 | 181 | ||
182 | 182 | func filterAdminsVoteByBlockAction (result,address) = filterAdminsVoteByAction(result, address, BLOCK) | |
183 | 183 | ||
184 | 184 | ||
185 | 185 | func filterAdminsVoteByUnblockAction (result,address) = filterAdminsVoteByAction(result, address, UNBLOCK) | |
186 | 186 | ||
187 | 187 | ||
188 | 188 | func filterAdminsVoteByUpdateAction (result,address) = filterAdminsVoteByAction(result, address, UPDATE) | |
189 | 189 | ||
190 | 190 | ||
191 | 191 | @Callable(i) | |
192 | 192 | func setCurrentPrice (newPrice) = { | |
193 | 193 | let account = toString(i.caller) | |
194 | 194 | let isOracleProvideList = [isOracleProvide(oraclesList[0]), isOracleProvide(oraclesList[1]), isOracleProvide(oraclesList[2]), isOracleProvide(oraclesList[3]), isOracleProvide(oraclesList[4])] | |
195 | 195 | let priceProvidingCount = ((((((if (isOracleProvideList[0]) | |
196 | 196 | then 1 | |
197 | 197 | else 0) + (if (isOracleProvideList[1]) | |
198 | 198 | then 1 | |
199 | 199 | else 0)) + (if (isOracleProvideList[2]) | |
200 | 200 | then 1 | |
201 | 201 | else 0)) + (if (isOracleProvideList[3]) | |
202 | 202 | then 1 | |
203 | 203 | else 0)) + (if (isOracleProvideList[4]) | |
204 | 204 | then 1 | |
205 | 205 | else 0)) + 1) | |
206 | 206 | if (isBlocked) | |
207 | 207 | then throw("contract is blocked") | |
208 | 208 | else if (!(isOracle(account))) | |
209 | 209 | then throw("permission denied") | |
210 | 210 | else if (if ((blockExpireProviding >= height)) | |
211 | 211 | then isOracleProvide(account) | |
212 | 212 | else false) | |
213 | 213 | then throw("price is already provided") | |
214 | 214 | else if (if ((height > blockExpireProviding)) | |
215 | 215 | then isPricePending | |
216 | 216 | else false) | |
217 | 217 | then throw("use finalizeCurrentPrice") | |
218 | 218 | else WriteSet([DataEntry(getOracleIsProvideKey(oraclesList[0]), if ((height > blockExpireProviding)) | |
219 | 219 | then false | |
220 | 220 | else isOracleProvideList[0]), DataEntry(getOracleIsProvideKey(oraclesList[1]), if ((height > blockExpireProviding)) | |
221 | 221 | then false | |
222 | 222 | else isOracleProvideList[1]), DataEntry(getOracleIsProvideKey(oraclesList[2]), if ((height > blockExpireProviding)) | |
223 | 223 | then false | |
224 | 224 | else isOracleProvideList[2]), DataEntry(getOracleIsProvideKey(oraclesList[3]), if ((height > blockExpireProviding)) | |
225 | 225 | then false | |
226 | 226 | else isOracleProvideList[3]), DataEntry(getOracleIsProvideKey(oraclesList[4]), if ((height > blockExpireProviding)) | |
227 | 227 | then false | |
228 | 228 | else isOracleProvideList[4]), DataEntry(getOracleIsProvideKey(account), true), DataEntry(getOracleProvidePriceKey(account), newPrice), DataEntry(BlockExpireProvidingKey, if ((height > blockExpireProviding)) | |
229 | 229 | then (height + providingInterval) | |
230 | 230 | else blockExpireProviding), DataEntry(IsPricePendingKey, if (if ((blockExpireProviding >= height)) | |
231 | 231 | then (priceProvidingCount >= bftCoefficientOracle) | |
232 | 232 | else false) | |
233 | 233 | then true | |
234 | 234 | else isPricePending)]) | |
235 | 235 | } | |
236 | 236 | ||
237 | 237 | ||
238 | 238 | ||
239 | 239 | @Callable(i) | |
240 | 240 | func finalizeCurrentPrice () = { | |
241 | 241 | let isOracleProvideList = [isOracleProvide(oraclesList[0]), isOracleProvide(oraclesList[1]), isOracleProvide(oraclesList[2]), isOracleProvide(oraclesList[3]), isOracleProvide(oraclesList[4])] | |
242 | 242 | let priceProvidingCount = (((((if (isOracleProvideList[0]) | |
243 | 243 | then 1 | |
244 | 244 | else 0) + (if (isOracleProvideList[1]) | |
245 | 245 | then 1 | |
246 | 246 | else 0)) + (if (isOracleProvideList[2]) | |
247 | 247 | then 1 | |
248 | 248 | else 0)) + (if (isOracleProvideList[3]) | |
249 | 249 | then 1 | |
250 | 250 | else 0)) + (if (isOracleProvideList[4]) | |
251 | 251 | then 1 | |
252 | 252 | else 0)) | |
253 | 253 | let priceSum = (((((getOracleProvidePrice(oraclesList[0]) * (if (isOracleProvideList[0]) | |
254 | 254 | then 1 | |
255 | 255 | else 0)) + (getOracleProvidePrice(oraclesList[1]) * (if (isOracleProvideList[1]) | |
256 | 256 | then 1 | |
257 | 257 | else 0))) + (getOracleProvidePrice(oraclesList[2]) * (if (isOracleProvideList[2]) | |
258 | 258 | then 1 | |
259 | 259 | else 0))) + (getOracleProvidePrice(oraclesList[3]) * (if (isOracleProvideList[3]) | |
260 | 260 | then 1 | |
261 | 261 | else 0))) + (getOracleProvidePrice(oraclesList[4]) * (if (isOracleProvideList[4]) | |
262 | 262 | then 1 | |
263 | 263 | else 0))) | |
264 | 264 | let newPrice = (priceSum / priceProvidingCount) | |
265 | 265 | if (isBlocked) | |
266 | 266 | then throw("contract is blocked") | |
267 | 267 | else if (if (!(isPricePending)) | |
268 | 268 | then true | |
269 | 269 | else (blockExpireProviding >= height)) | |
270 | 270 | then throw("wait for the end of the price providing") | |
271 | 271 | else if ((bftCoefficientOracle > priceProvidingCount)) | |
272 | 272 | then throw("3/5 oracles need to set a price") | |
273 | 273 | else if (if ((newPrice >= (price + ((price * percentPriceOffset) / 100)))) | |
274 | 274 | then true | |
275 | 275 | else ((price - ((price * percentPriceOffset) / 100)) >= newPrice)) | |
276 | 276 | then WriteSet([DataEntry(IsBlockedKey, true), DataEntry(getBlackSwarmPriceKey(height), newPrice)]) | |
277 | 277 | else { | |
278 | 278 | let newPriceIndex = (priceIndex + 1) | |
279 | 279 | WriteSet([DataEntry(PriceKey, newPrice), DataEntry(getPriceHistoryKey(height), newPrice), DataEntry(IsPricePendingKey, false), DataEntry(PriceIndexKey, newPriceIndex), DataEntry(getHeightPriceByIndexKey(newPriceIndex), height)]) | |
280 | 280 | } | |
281 | 281 | } | |
282 | 282 | ||
283 | 283 | ||
284 | 284 | ||
285 | 285 | @Callable(i) | |
286 | 286 | func vote (action) = { | |
287 | 287 | let account = toString(i.caller) | |
288 | 288 | let adminsListWithoutAccount = convertJsonArrayToList(dropElementInJsonArray(admins, account)) | |
289 | 289 | let lastAction = getAdminVoteAction(account) | |
290 | 290 | let blockVotes = { | |
291 | 291 | let $list98299897 = adminsListWithoutAccount | |
292 | 292 | let $size98299897 = size($list98299897) | |
293 | 293 | let $acc098299897 = nil | |
294 | 294 | if (($size98299897 == 0)) | |
295 | 295 | then $acc098299897 | |
296 | 296 | else { | |
297 | 297 | let $acc198299897 = filterAdminsVoteByBlockAction($acc098299897, $list98299897[0]) | |
298 | 298 | if (($size98299897 == 1)) | |
299 | 299 | then $acc198299897 | |
300 | 300 | else { | |
301 | 301 | let $acc298299897 = filterAdminsVoteByBlockAction($acc198299897, $list98299897[1]) | |
302 | 302 | if (($size98299897 == 2)) | |
303 | 303 | then $acc298299897 | |
304 | 304 | else { | |
305 | 305 | let $acc398299897 = filterAdminsVoteByBlockAction($acc298299897, $list98299897[2]) | |
306 | 306 | if (($size98299897 == 3)) | |
307 | 307 | then $acc398299897 | |
308 | 308 | else { | |
309 | 309 | let $acc498299897 = filterAdminsVoteByBlockAction($acc398299897, $list98299897[3]) | |
310 | 310 | if (($size98299897 == 4)) | |
311 | 311 | then $acc498299897 | |
312 | 312 | else { | |
313 | 313 | let $acc598299897 = filterAdminsVoteByBlockAction($acc498299897, $list98299897[4]) | |
314 | 314 | if (($size98299897 == 5)) | |
315 | 315 | then $acc598299897 | |
316 | 316 | else { | |
317 | 317 | let $acc698299897 = filterAdminsVoteByBlockAction($acc598299897, $list98299897[5]) | |
318 | 318 | throw("List size exceed 5") | |
319 | 319 | } | |
320 | 320 | } | |
321 | 321 | } | |
322 | 322 | } | |
323 | 323 | } | |
324 | 324 | } | |
325 | 325 | } | |
326 | 326 | let unblockVotes = { | |
327 | 327 | let $list99219991 = adminsListWithoutAccount | |
328 | 328 | let $size99219991 = size($list99219991) | |
329 | 329 | let $acc099219991 = nil | |
330 | 330 | if (($size99219991 == 0)) | |
331 | 331 | then $acc099219991 | |
332 | 332 | else { | |
333 | 333 | let $acc199219991 = filterAdminsVoteByUnblockAction($acc099219991, $list99219991[0]) | |
334 | 334 | if (($size99219991 == 1)) | |
335 | 335 | then $acc199219991 | |
336 | 336 | else { | |
337 | 337 | let $acc299219991 = filterAdminsVoteByUnblockAction($acc199219991, $list99219991[1]) | |
338 | 338 | if (($size99219991 == 2)) | |
339 | 339 | then $acc299219991 | |
340 | 340 | else { | |
341 | 341 | let $acc399219991 = filterAdminsVoteByUnblockAction($acc299219991, $list99219991[2]) | |
342 | 342 | if (($size99219991 == 3)) | |
343 | 343 | then $acc399219991 | |
344 | 344 | else { | |
345 | 345 | let $acc499219991 = filterAdminsVoteByUnblockAction($acc399219991, $list99219991[3]) | |
346 | 346 | if (($size99219991 == 4)) | |
347 | 347 | then $acc499219991 | |
348 | 348 | else { | |
349 | 349 | let $acc599219991 = filterAdminsVoteByUnblockAction($acc499219991, $list99219991[4]) | |
350 | 350 | if (($size99219991 == 5)) | |
351 | 351 | then $acc599219991 | |
352 | 352 | else { | |
353 | 353 | let $acc699219991 = filterAdminsVoteByUnblockAction($acc599219991, $list99219991[5]) | |
354 | 354 | throw("List size exceed 5") | |
355 | 355 | } | |
356 | 356 | } | |
357 | 357 | } | |
358 | 358 | } | |
359 | 359 | } | |
360 | 360 | } | |
361 | 361 | } | |
362 | 362 | let updateVotes = { | |
363 | 363 | let $list1001410083 = adminsListWithoutAccount | |
364 | 364 | let $size1001410083 = size($list1001410083) | |
365 | 365 | let $acc01001410083 = nil | |
366 | 366 | if (($size1001410083 == 0)) | |
367 | 367 | then $acc01001410083 | |
368 | 368 | else { | |
369 | 369 | let $acc11001410083 = filterAdminsVoteByUpdateAction($acc01001410083, $list1001410083[0]) | |
370 | 370 | if (($size1001410083 == 1)) | |
371 | 371 | then $acc11001410083 | |
372 | 372 | else { | |
373 | 373 | let $acc21001410083 = filterAdminsVoteByUpdateAction($acc11001410083, $list1001410083[1]) | |
374 | 374 | if (($size1001410083 == 2)) | |
375 | 375 | then $acc21001410083 | |
376 | 376 | else { | |
377 | 377 | let $acc31001410083 = filterAdminsVoteByUpdateAction($acc21001410083, $list1001410083[2]) | |
378 | 378 | if (($size1001410083 == 3)) | |
379 | 379 | then $acc31001410083 | |
380 | 380 | else { | |
381 | 381 | let $acc41001410083 = filterAdminsVoteByUpdateAction($acc31001410083, $list1001410083[3]) | |
382 | 382 | if (($size1001410083 == 4)) | |
383 | 383 | then $acc41001410083 | |
384 | 384 | else { | |
385 | 385 | let $acc51001410083 = filterAdminsVoteByUpdateAction($acc41001410083, $list1001410083[4]) | |
386 | 386 | if (($size1001410083 == 5)) | |
387 | 387 | then $acc51001410083 | |
388 | 388 | else { | |
389 | 389 | let $acc61001410083 = filterAdminsVoteByUpdateAction($acc51001410083, $list1001410083[5]) | |
390 | 390 | throw("List size exceed 5") | |
391 | 391 | } | |
392 | 392 | } | |
393 | 393 | } | |
394 | 394 | } | |
395 | 395 | } | |
396 | 396 | } | |
397 | 397 | } | |
398 | 398 | let blockVoteCount = (size(blockVotes) + (if ((action == BLOCK)) | |
399 | 399 | then 1 | |
400 | 400 | else 0)) | |
401 | 401 | let unblockVoteCount = (size(unblockVotes) + (if ((action == UNBLOCK)) | |
402 | 402 | then 1 | |
403 | 403 | else 0)) | |
404 | 404 | let updateVotesCount = (size(updateVotes) + (if ((action == UPDATE)) | |
405 | 405 | then 1 | |
406 | 406 | else 0)) | |
407 | 407 | let resetResult = [DataEntry(BlockExpireVoteKey, 0), DataEntry(BlockExpireProvidingKey, 0), DataEntry(getAdminVoteActionKey(adminsListWithoutAccount[0]), ""), DataEntry(getAdminVoteActionKey(adminsListWithoutAccount[1]), ""), DataEntry(getAdminVoteActionKey(adminsListWithoutAccount[2]), ""), DataEntry(getAdminVoteActionKey(adminsListWithoutAccount[3]), "")] | |
408 | 408 | if (if ((blockVoteCount >= bftCoefficientAdmin)) | |
409 | 409 | then true | |
410 | 410 | else (unblockVoteCount >= bftCoefficientAdmin)) | |
411 | 411 | then WriteSet([DataEntry(IsPricePendingKey, false), DataEntry(IsBlockedKey, if ((blockVoteCount >= bftCoefficientAdmin)) | |
412 | 412 | then true | |
413 | 413 | else false)] :: resetResult) | |
414 | 414 | else if ((updateVotesCount > bftCoefficientAdmin)) | |
415 | 415 | then WriteSet(DataEntry(ScriptUpdateBlockKey, if ((updateVotesCount > bftCoefficientAdmin)) | |
416 | 416 | then (height + scriptUpdateInterval) | |
417 | 417 | else scriptUpdateBlock) :: resetResult) | |
418 | 418 | else WriteSet([DataEntry(BlockExpireVoteKey, if ((height > blockExpireVote)) | |
419 | 419 | then (height + voteInterval) | |
420 | 420 | else blockExpireVote), DataEntry(getAdminVoteActionKey(account), action)]) | |
421 | 421 | } | |
422 | 422 | ||
423 | 423 |
github/deemru/w8io/169f3d6 44.13 ms ◑