tx · B287pMTuqbRGf6giVsqjeGrsuKVt7iMgfp82jmLt6uf8

3N911L1LqZs6xaZsC5skLHrU3XfDYZG8wxz:  -0.01400000 Waves

2019.11.18 17:58 [770716] smart account 3N911L1LqZs6xaZsC5skLHrU3XfDYZG8wxz > SELF 0.00000000 Waves

{ "type": 13, "id": "B287pMTuqbRGf6giVsqjeGrsuKVt7iMgfp82jmLt6uf8", "fee": 1400000, "feeAssetId": null, "timestamp": 1574089131418, "version": 1, "sender": "3N911L1LqZs6xaZsC5skLHrU3XfDYZG8wxz", "senderPublicKey": "D1q54i7R33U4bjGXmo1FDbSyitrrvUj5dcrLQ493WX9S", "proofs": [ "Po5qfAwEyEAcxaDXNL4PPgNHCjjcqHa9YuwrfaHEAKyL7ht3oMdYKA42adfKuY2UzgktXiCkF5Ta2WeUF4GP72r" ], "script": "base64:AAIDAAAAAAAAAA4IARIDCgEBEgASAwoBCAAAAEEBAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAABAAAADmdldFN0cmluZ0J5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAAAAEAAAAMZ2V0Qm9vbEJ5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQbAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAdCb29sZWFuBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhBwEAAAAYZ2V0TnVtYmVyQnlBZGRyZXNzQW5kS2V5AAAAAgAAAAdhZGRyZXNzAAAA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0tleQcJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAADElzQmxvY2tlZEtleQMJAABnAAAAAgUAAAAOYmxvY2tWb3RlQ291bnQFAAAAE2JmdENvZWZmaWNpZW50QWRtaW4GBwUAAAALcmVzZXRSZXN1bHQDCQAAZgAAAAIFAAAAEHVwZGF0ZVZvdGVzQ291bnQFAAAAE2JmdENvZWZmaWNpZW50QWRtaW4JAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAAFFNjcmlwdFVwZGF0ZUJsb2NrS2V5AwkAAGYAAAACBQAAABB1cGRhdGVWb3Rlc0NvdW50BQAAABNiZnRDb2VmZmljaWVudEFkbWluCQAAZAAAAAIFAAAABmhlaWdodAUAAAAUc2NyaXB0VXBkYXRlSW50ZXJ2YWwFAAAAEXNjcmlwdFVwZGF0ZUJsb2NrBQAAAAtyZXNldFJlc3VsdAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAASQmxvY2tFeHBpcmVWb3RlS2V5AwkAAGYAAAACBQAAAAZoZWlnaHQFAAAAD2Jsb2NrRXhwaXJlVm90ZQkAAGQAAAACBQAAAAZoZWlnaHQFAAAADHZvdGVJbnRlcnZhbAUAAAAPYmxvY2tFeHBpcmVWb3RlCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQEAAAAVZ2V0QWRtaW5Wb3RlQWN0aW9uS2V5AAAAAQUAAAAHYWNjb3VudAUAAAAGYWN0aW9uBQAAAANuaWwAAAAAwuWGFQ==", "chainId": 84, "height": 770716, "spentComplexity": 0 } View: original | compacted Prev: AYLmkJ3PqUWBABEKiQYH2NN3ja9eGawSqSug5BGEMown Next: G99js84uf2yoYB61KCy1GExSWT8oxtgncZLRZF6BxwXU Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func getNumberByKey (key) = match getInteger(this, key) {
55 case a: Int =>
66 a
77 case _ =>
88 0
99 }
1010
1111
1212 func getStringByKey (key) = match getString(this, key) {
1313 case a: String =>
1414 a
1515 case _ =>
1616 ""
1717 }
1818
1919
2020 func getBoolByKey (key) = match getBoolean(this, key) {
2121 case a: Boolean =>
2222 a
2323 case _ =>
2424 false
2525 }
2626
2727
2828 func getNumberByAddressAndKey (address,key) = match getInteger(address, key) {
2929 case a: Int =>
3030 a
3131 case _ =>
3232 0
3333 }
3434
3535
3636 func getStringByAddressAndKey (address,key) = match getString(address, key) {
3737 case a: String =>
3838 a
3939 case _ =>
4040 ""
4141 }
4242
4343
4444 func dropElementInJsonArray (array,element) = {
4545 let splitedArray = split(array, element)
4646 if ((take(splitedArray[1], 1) == ","))
4747 then (splitedArray[0] + drop(splitedArray[1], 1))
4848 else (dropRight(splitedArray[0], 1) + splitedArray[1])
4949 }
5050
5151
5252 func convertJsonArrayToList (jsonArray) = split(jsonArray, ",")
5353
5454
5555 let BLOCK = "block"
5656
5757 let UNBLOCK = "unblock"
5858
5959 let UPDATE = "update"
6060
6161 let OraclesKey = "oracles"
6262
6363 let AdminsKey = "admins"
6464
6565 let VoteIntervalKey = "vote_interval"
6666
6767 let CoefficientOracleKey = "coefficient_oracle"
6868
6969 let CoefficientAdminKey = "coefficient_admin"
7070
7171 let ScriptUpdateIntervalKey = "script_update_interval"
7272
7373 let ProvidingIntervalKey = "providing_interval"
7474
7575 let PriceKey = "price"
7676
7777 let PriceOffsetKey = "price_offset"
7878
7979 let IsPricePendingKey = "is_pending_price"
8080
8181 let IsBlockedKey = "is_blocked"
8282
8383 let OracleIsProvideKey = "oracle_is_provide_"
8484
8585 let OracleProvidePriceKey = "oracle_price_provide_"
8686
8787 let AdminVoteKey = "admin_vote_"
8888
8989 let ActionKey = "action"
9090
9191 let BlockExpireProvidingKey = "providing_expire_block"
9292
9393 let BlackSwarmPriceKey = "black_swarm_price"
9494
9595 let BlockExpireVoteKey = "vote_expire_block"
9696
9797 let ScriptUpdateBlockKey = "script_update_block"
9898
9999 let PriceIndexKey = "price_index"
100100
101101 func getOracleIsProvideKey (owner) = (OracleIsProvideKey + owner)
102102
103103
104104 func getOracleProvidePriceKey (owner) = (OracleProvidePriceKey + owner)
105105
106106
107107 func getAdminVoteKey (owner) = (AdminVoteKey + owner)
108108
109109
110110 func getAdminVoteActionKey (owner) = ((getAdminVoteKey(owner) + "_") + ActionKey)
111111
112112
113113 func getBlackSwarmPriceKey (block) = ((BlackSwarmPriceKey + "_") + toString(block))
114114
115115
116116 func getPriceHistoryKey (block) = ((PriceKey + "_") + toString(block))
117117
118118
119119 func getHeightPriceByIndexKey (index) = ((PriceIndexKey + "_") + toString(index))
120120
121121
122122 let price = getNumberByKey(PriceKey)
123123
124124 let priceIndex = getNumberByKey(PriceIndexKey)
125125
126126 let providingInterval = getNumberByKey(ProvidingIntervalKey)
127127
128128 let blockExpireProviding = getNumberByKey(BlockExpireProvidingKey)
129129
130130 let blockExpireVote = getNumberByKey(BlockExpireVoteKey)
131131
132132 let scriptUpdateBlock = getNumberByKey(ScriptUpdateBlockKey)
133133
134134 let scriptUpdateInterval = getNumberByKey(ScriptUpdateIntervalKey)
135135
136136 let isPricePending = getBoolByKey(IsPricePendingKey)
137137
138138 let isBlocked = getBoolByKey(IsBlockedKey)
139139
140140 let bftCoefficientOracle = getNumberByKey(CoefficientOracleKey)
141141
142142 let bftCoefficientAdmin = getNumberByKey(CoefficientAdminKey)
143143
144144 let percentPriceOffset = getNumberByKey(PriceOffsetKey)
145145
146146 let voteInterval = getNumberByKey(VoteIntervalKey)
147147
148148 let oracles = getStringByKey(OraclesKey)
149149
150150 let admins = getStringByKey(AdminsKey)
151151
152152 let oraclesList = convertJsonArrayToList(oracles)
153153
154154 let adminsList = convertJsonArrayToList(admins)
155155
156156 func getAdminVoteAction (owner) = getStringByKey(getAdminVoteActionKey(owner))
157157
158158
159159 func isOracleProvide (owner) = getBoolByKey(getOracleIsProvideKey(owner))
160160
161161
162162 func isOracleProvideInt (owner) = if (isOracleProvide(owner))
163163 then 1
164164 else 0
165165
166166
167167 func getOracleProvidePrice (owner) = getNumberByKey(getOracleProvidePriceKey(owner))
168168
169169
170170 func isOracle (address) = isDefined(indexOf(oracles, address))
171171
172172
173173 func isAdmin (address) = isDefined(indexOf(admins, address))
174174
175175
176176 func sumOraclePrice (base,address) = (base + (getOracleProvidePrice(address) * isOracleProvideInt(address)))
177177
178178
179179 func filterAdminsVoteByAction (result,address,action) = address :: result
180180
181181
182182 func filterAdminsVoteByBlockAction (result,address) = filterAdminsVoteByAction(result, address, BLOCK)
183183
184184
185185 func filterAdminsVoteByUnblockAction (result,address) = filterAdminsVoteByAction(result, address, UNBLOCK)
186186
187187
188188 func filterAdminsVoteByUpdateAction (result,address) = filterAdminsVoteByAction(result, address, UPDATE)
189189
190190
191191 @Callable(i)
192192 func setCurrentPrice (newPrice) = {
193193 let account = toString(i.caller)
194194 let isOracleProvideList = [isOracleProvide(oraclesList[0]), isOracleProvide(oraclesList[1]), isOracleProvide(oraclesList[2]), isOracleProvide(oraclesList[3]), isOracleProvide(oraclesList[4])]
195195 let priceProvidingCount = ((((((if (isOracleProvideList[0])
196196 then 1
197197 else 0) + (if (isOracleProvideList[1])
198198 then 1
199199 else 0)) + (if (isOracleProvideList[2])
200200 then 1
201201 else 0)) + (if (isOracleProvideList[3])
202202 then 1
203203 else 0)) + (if (isOracleProvideList[4])
204204 then 1
205205 else 0)) + 1)
206206 if (isBlocked)
207207 then throw("contract is blocked")
208208 else if (!(isOracle(account)))
209209 then throw("permission denied")
210210 else if (if ((blockExpireProviding >= height))
211211 then isOracleProvide(account)
212212 else false)
213213 then throw("price is already provided")
214214 else if (if ((height > blockExpireProviding))
215215 then isPricePending
216216 else false)
217217 then throw("use finalizeCurrentPrice")
218218 else WriteSet([DataEntry(getOracleIsProvideKey(oraclesList[0]), if ((height > blockExpireProviding))
219219 then false
220220 else isOracleProvideList[0]), DataEntry(getOracleIsProvideKey(oraclesList[1]), if ((height > blockExpireProviding))
221221 then false
222222 else isOracleProvideList[1]), DataEntry(getOracleIsProvideKey(oraclesList[2]), if ((height > blockExpireProviding))
223223 then false
224224 else isOracleProvideList[2]), DataEntry(getOracleIsProvideKey(oraclesList[3]), if ((height > blockExpireProviding))
225225 then false
226226 else isOracleProvideList[3]), DataEntry(getOracleIsProvideKey(oraclesList[4]), if ((height > blockExpireProviding))
227227 then false
228228 else isOracleProvideList[4]), DataEntry(getOracleIsProvideKey(account), true), DataEntry(getOracleProvidePriceKey(account), newPrice), DataEntry(BlockExpireProvidingKey, if ((height > blockExpireProviding))
229229 then (height + providingInterval)
230230 else blockExpireProviding), DataEntry(IsPricePendingKey, if (if ((blockExpireProviding >= height))
231231 then (priceProvidingCount >= bftCoefficientOracle)
232232 else false)
233233 then true
234234 else isPricePending)])
235235 }
236236
237237
238238
239239 @Callable(i)
240240 func finalizeCurrentPrice () = {
241241 let isOracleProvideList = [isOracleProvide(oraclesList[0]), isOracleProvide(oraclesList[1]), isOracleProvide(oraclesList[2]), isOracleProvide(oraclesList[3]), isOracleProvide(oraclesList[4])]
242242 let priceProvidingCount = (((((if (isOracleProvideList[0])
243243 then 1
244244 else 0) + (if (isOracleProvideList[1])
245245 then 1
246246 else 0)) + (if (isOracleProvideList[2])
247247 then 1
248248 else 0)) + (if (isOracleProvideList[3])
249249 then 1
250250 else 0)) + (if (isOracleProvideList[4])
251251 then 1
252252 else 0))
253253 let priceSum = (((((getOracleProvidePrice(oraclesList[0]) * (if (isOracleProvideList[0])
254254 then 1
255255 else 0)) + (getOracleProvidePrice(oraclesList[1]) * (if (isOracleProvideList[1])
256256 then 1
257257 else 0))) + (getOracleProvidePrice(oraclesList[2]) * (if (isOracleProvideList[2])
258258 then 1
259259 else 0))) + (getOracleProvidePrice(oraclesList[3]) * (if (isOracleProvideList[3])
260260 then 1
261261 else 0))) + (getOracleProvidePrice(oraclesList[4]) * (if (isOracleProvideList[4])
262262 then 1
263263 else 0)))
264264 let newPrice = (priceSum / priceProvidingCount)
265265 if (isBlocked)
266266 then throw("contract is blocked")
267267 else if (if (!(isPricePending))
268268 then true
269269 else (blockExpireProviding >= height))
270270 then throw("wait for the end of the price providing")
271271 else if ((bftCoefficientOracle > priceProvidingCount))
272272 then throw("3/5 oracles need to set a price")
273273 else if (if ((newPrice >= (price + ((price * percentPriceOffset) / 100))))
274274 then true
275275 else ((price - ((price * percentPriceOffset) / 100)) >= newPrice))
276276 then WriteSet([DataEntry(IsBlockedKey, true), DataEntry(getBlackSwarmPriceKey(height), newPrice)])
277277 else {
278278 let newPriceIndex = (priceIndex + 1)
279279 WriteSet([DataEntry(PriceKey, newPrice), DataEntry(getPriceHistoryKey(height), newPrice), DataEntry(IsPricePendingKey, false), DataEntry(PriceIndexKey, newPriceIndex), DataEntry(getHeightPriceByIndexKey(newPriceIndex), height)])
280280 }
281281 }
282282
283283
284284
285285 @Callable(i)
286286 func vote (action) = {
287287 let account = toString(i.caller)
288288 let adminsListWithoutAccount = convertJsonArrayToList(dropElementInJsonArray(admins, account))
289289 let lastAction = getAdminVoteAction(account)
290290 let blockVotes = {
291291 let $list98299897 = adminsListWithoutAccount
292292 let $size98299897 = size($list98299897)
293293 let $acc098299897 = nil
294294 if (($size98299897 == 0))
295295 then $acc098299897
296296 else {
297297 let $acc198299897 = filterAdminsVoteByBlockAction($acc098299897, $list98299897[0])
298298 if (($size98299897 == 1))
299299 then $acc198299897
300300 else {
301301 let $acc298299897 = filterAdminsVoteByBlockAction($acc198299897, $list98299897[1])
302302 if (($size98299897 == 2))
303303 then $acc298299897
304304 else {
305305 let $acc398299897 = filterAdminsVoteByBlockAction($acc298299897, $list98299897[2])
306306 if (($size98299897 == 3))
307307 then $acc398299897
308308 else {
309309 let $acc498299897 = filterAdminsVoteByBlockAction($acc398299897, $list98299897[3])
310310 if (($size98299897 == 4))
311311 then $acc498299897
312312 else {
313313 let $acc598299897 = filterAdminsVoteByBlockAction($acc498299897, $list98299897[4])
314314 if (($size98299897 == 5))
315315 then $acc598299897
316316 else {
317317 let $acc698299897 = filterAdminsVoteByBlockAction($acc598299897, $list98299897[5])
318318 throw("List size exceed 5")
319319 }
320320 }
321321 }
322322 }
323323 }
324324 }
325325 }
326326 let unblockVotes = {
327327 let $list99219991 = adminsListWithoutAccount
328328 let $size99219991 = size($list99219991)
329329 let $acc099219991 = nil
330330 if (($size99219991 == 0))
331331 then $acc099219991
332332 else {
333333 let $acc199219991 = filterAdminsVoteByUnblockAction($acc099219991, $list99219991[0])
334334 if (($size99219991 == 1))
335335 then $acc199219991
336336 else {
337337 let $acc299219991 = filterAdminsVoteByUnblockAction($acc199219991, $list99219991[1])
338338 if (($size99219991 == 2))
339339 then $acc299219991
340340 else {
341341 let $acc399219991 = filterAdminsVoteByUnblockAction($acc299219991, $list99219991[2])
342342 if (($size99219991 == 3))
343343 then $acc399219991
344344 else {
345345 let $acc499219991 = filterAdminsVoteByUnblockAction($acc399219991, $list99219991[3])
346346 if (($size99219991 == 4))
347347 then $acc499219991
348348 else {
349349 let $acc599219991 = filterAdminsVoteByUnblockAction($acc499219991, $list99219991[4])
350350 if (($size99219991 == 5))
351351 then $acc599219991
352352 else {
353353 let $acc699219991 = filterAdminsVoteByUnblockAction($acc599219991, $list99219991[5])
354354 throw("List size exceed 5")
355355 }
356356 }
357357 }
358358 }
359359 }
360360 }
361361 }
362362 let updateVotes = {
363363 let $list1001410083 = adminsListWithoutAccount
364364 let $size1001410083 = size($list1001410083)
365365 let $acc01001410083 = nil
366366 if (($size1001410083 == 0))
367367 then $acc01001410083
368368 else {
369369 let $acc11001410083 = filterAdminsVoteByUpdateAction($acc01001410083, $list1001410083[0])
370370 if (($size1001410083 == 1))
371371 then $acc11001410083
372372 else {
373373 let $acc21001410083 = filterAdminsVoteByUpdateAction($acc11001410083, $list1001410083[1])
374374 if (($size1001410083 == 2))
375375 then $acc21001410083
376376 else {
377377 let $acc31001410083 = filterAdminsVoteByUpdateAction($acc21001410083, $list1001410083[2])
378378 if (($size1001410083 == 3))
379379 then $acc31001410083
380380 else {
381381 let $acc41001410083 = filterAdminsVoteByUpdateAction($acc31001410083, $list1001410083[3])
382382 if (($size1001410083 == 4))
383383 then $acc41001410083
384384 else {
385385 let $acc51001410083 = filterAdminsVoteByUpdateAction($acc41001410083, $list1001410083[4])
386386 if (($size1001410083 == 5))
387387 then $acc51001410083
388388 else {
389389 let $acc61001410083 = filterAdminsVoteByUpdateAction($acc51001410083, $list1001410083[5])
390390 throw("List size exceed 5")
391391 }
392392 }
393393 }
394394 }
395395 }
396396 }
397397 }
398398 let blockVoteCount = (size(blockVotes) + (if ((action == BLOCK))
399399 then 1
400400 else 0))
401401 let unblockVoteCount = (size(unblockVotes) + (if ((action == UNBLOCK))
402402 then 1
403403 else 0))
404404 let updateVotesCount = (size(updateVotes) + (if ((action == UPDATE))
405405 then 1
406406 else 0))
407407 let resetResult = [DataEntry(BlockExpireVoteKey, 0), DataEntry(BlockExpireProvidingKey, 0), DataEntry(getAdminVoteActionKey(adminsListWithoutAccount[0]), ""), DataEntry(getAdminVoteActionKey(adminsListWithoutAccount[1]), ""), DataEntry(getAdminVoteActionKey(adminsListWithoutAccount[2]), ""), DataEntry(getAdminVoteActionKey(adminsListWithoutAccount[3]), "")]
408408 if (if ((blockVoteCount >= bftCoefficientAdmin))
409409 then true
410410 else (unblockVoteCount >= bftCoefficientAdmin))
411411 then WriteSet([DataEntry(IsPricePendingKey, false), DataEntry(IsBlockedKey, if ((blockVoteCount >= bftCoefficientAdmin))
412412 then true
413413 else false)] :: resetResult)
414414 else if ((updateVotesCount > bftCoefficientAdmin))
415415 then WriteSet(DataEntry(ScriptUpdateBlockKey, if ((updateVotesCount > bftCoefficientAdmin))
416416 then (height + scriptUpdateInterval)
417417 else scriptUpdateBlock) :: resetResult)
418418 else WriteSet([DataEntry(BlockExpireVoteKey, if ((height > blockExpireVote))
419419 then (height + voteInterval)
420420 else blockExpireVote), DataEntry(getAdminVoteActionKey(account), action)])
421421 }
422422
423423

github/deemru/w8io/169f3d6 
119.58 ms