tx · 4dqtKBM9rsxi1b3rV36zf4d4RraCaZ21zMrc2EdSKs1N

3N8y11BBhwvWJ8H7ZJhRdj4RSaCS4F1kmnq:  -0.01900000 Waves

2023.02.22 12:40 [2460685] smart account 3N8y11BBhwvWJ8H7ZJhRdj4RSaCS4F1kmnq > SELF 0.00000000 Waves

{ "type": 13, "id": "4dqtKBM9rsxi1b3rV36zf4d4RraCaZ21zMrc2EdSKs1N", "fee": 1900000, "feeAssetId": null, "timestamp": 1677058820453, "version": 2, "chainId": 84, "sender": "3N8y11BBhwvWJ8H7ZJhRdj4RSaCS4F1kmnq", "senderPublicKey": "9h5JzYfTWnVh4h7BT6Dk43FESut9R47V6knaMeebAvMj", "proofs": [ "3nLoYk6JsxKF5oa3eiJ28nVKrG8VYp88YPiZ6cPh181AUhn2ZsPZzD9bpe3Zx5RjSoxNRaVJfZ7gA8gK92fMmJY4" ], "script": "base64:BgI4CAISBwoFAQEBCAESBQoDARgBEgUKAwEBCBIHCgUBAQgICBIFCgMBAQgSAwoBCBIDCgEBEgMKAQhmAAlTRVBBUkFUT1ICAl9fAAhLRVlfSU5JVAIESU5JVAAMS0VZX01VTFRJU0lHAghNVUxUSVNJRwAKS0VZX1NUQVRVUwIGU1RBVFVTABBLRVlfTUlOX1NFQ19ERVBPAgxNSU5fU0VDX0RFUE8ADktFWV9QVU5JU0hNRU5UAgpQVU5JU0hNRU5UABVLRVlfUkVTRVRfQkxPQ0tfREVMVEECEVJFU0VUX0JMT0NLX0RFTFRBAAxLRVlfU0VDX0RFUE8CCFNFQ19ERVBPABhLRVlfUkVXQVJEX1RPS0VOX0FERFJFU1MCFFJFV0FSRF9UT0tFTl9BRERSRVNTABFLRVlfUkVXQVJEX0FNT1VOVAINUkVXQVJEX0FNT1VOVAARS0VZX0NVUlJFTlRfRVBPQ0gCDUNVUlJFTlRfRVBPQ0gAFUtFWV9TSUdORVJTX1BFUl9FUE9DSAIRU0lHTkVSU19QRVJfRVBPQ0gAEEtFWV9FVkVOVF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9atM Diff:
OldNewDifferences
3535
3636 let KEY_S = "S"
3737
38-let KET_R_SIGNERS = "R_SIGNERS"
38+let KEY_R_SIGNERS = "R_SIGNERS"
3939
4040 let KEY_EVENT_START_BLOCK = "EVENT_START_BLOCK"
4141
4343
4444 let KEY_S_SIGMA = "S_SIGMA"
4545
46-let KET_S_SIGNERS = "S_SIGNERS"
46+let KEY_S_SIGNERS = "S_SIGNERS"
4747
4848 let KEY_SIGNED_EVENT_EXECUTOR = "SIGNED_EVENT_EXECUTOR"
4949
334334 func _saveSByEventAndSigner (eventId_,signer_,s_) = [StringEntry(makeString([KEY_S, toString(eventId_), signer_], SEPARATOR), s_)]
335335
336336
337-func _loadSignersWithRByEvent (eventId_) = match getString(makeString([KET_R_SIGNERS, toString(eventId_)], SEPARATOR)) {
337+func _loadSignersWithRByEvent (eventId_) = match getString(makeString([KEY_R_SIGNERS, toString(eventId_)], SEPARATOR)) {
338338 case a: String =>
339339 split(a, SEPARATOR)
340340 case _ =>
342342 }
343343
344344
345-func _saveSignersWithRByEvent (eventId_,rs_) = [StringEntry(makeString([KET_R_SIGNERS, toString(eventId_)], SEPARATOR), makeString(rs_, SEPARATOR))]
345+func _saveSignersWithRByEvent (eventId_,rs_) = [StringEntry(makeString([KEY_R_SIGNERS, toString(eventId_)], SEPARATOR), makeString(rs_, SEPARATOR))]
346346
347347
348-func _loadSignersWithSByEvent (eventId_) = match getString(makeString([KET_S_SIGNERS, toString(eventId_)], SEPARATOR)) {
348+func _loadSignersWithSByEvent (eventId_) = match getString(makeString([KEY_S_SIGNERS, toString(eventId_)], SEPARATOR)) {
349349 case a: String =>
350350 split(a, SEPARATOR)
351351 case _ =>
353353 }
354354
355355
356-func _saveSignersWithSByEvent (eventId_,ss_) = [StringEntry(makeString([KET_S_SIGNERS, toString(eventId_)], SEPARATOR), makeString(ss_, SEPARATOR))]
356+func _saveSignersWithSByEvent (eventId_,ss_) = [StringEntry(makeString([KEY_S_SIGNERS, toString(eventId_)], SEPARATOR), makeString(ss_, SEPARATOR))]
357357
358358
359359 func _loadEventStartBlock (eventId_) = match getInteger(makeString([KEY_EVENT_START_BLOCK, toString(eventId_)], SEPARATOR)) {
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let SEPARATOR = "__"
55
66 let KEY_INIT = "INIT"
77
88 let KEY_MULTISIG = "MULTISIG"
99
1010 let KEY_STATUS = "STATUS"
1111
1212 let KEY_MIN_SEC_DEPO = "MIN_SEC_DEPO"
1313
1414 let KEY_PUNISHMENT = "PUNISHMENT"
1515
1616 let KEY_RESET_BLOCK_DELTA = "RESET_BLOCK_DELTA"
1717
1818 let KEY_SEC_DEPO = "SEC_DEPO"
1919
2020 let KEY_REWARD_TOKEN_ADDRESS = "REWARD_TOKEN_ADDRESS"
2121
2222 let KEY_REWARD_AMOUNT = "REWARD_AMOUNT"
2323
2424 let KEY_CURRENT_EPOCH = "CURRENT_EPOCH"
2525
2626 let KEY_SIGNERS_PER_EPOCH = "SIGNERS_PER_EPOCH"
2727
2828 let KEY_EVENT_STATUS = "EVENT_STATUS"
2929
3030 let KEY_LOCKS = "LOCKS"
3131
3232 let KEY_T = "T"
3333
3434 let KEY_R = "R"
3535
3636 let KEY_S = "S"
3737
38-let KET_R_SIGNERS = "R_SIGNERS"
38+let KEY_R_SIGNERS = "R_SIGNERS"
3939
4040 let KEY_EVENT_START_BLOCK = "EVENT_START_BLOCK"
4141
4242 let KEY_R_SIGMA = "R_SIGMA"
4343
4444 let KEY_S_SIGMA = "S_SIGMA"
4545
46-let KET_S_SIGNERS = "S_SIGNERS"
46+let KEY_S_SIGNERS = "S_SIGNERS"
4747
4848 let KEY_SIGNED_EVENT_EXECUTOR = "SIGNED_EVENT_EXECUTOR"
4949
5050 let KEY_SIZE = "SIZE"
5151
5252 let FUNC_MINT_MANY = "mintMany"
5353
5454 let EVENT_STATUS_INIT = 1
5555
5656 let EVENT_STATUS_SIGN = 2
5757
5858 let EVENT_STATUS_DONE = 3
5959
6060 let MAX_INT = 9223372036854775807
6161
6262 func _validateAddress (address_,err_) = match addressFromString(address_) {
6363 case a: Address =>
6464 true
6565 case _ =>
6666 throw(err_)
6767 }
6868
6969
7070 func _validateAsset (assetId_,err_) = match assetInfo(fromBase58String(assetId_)) {
7171 case a: Asset =>
7272 true
7373 case _ =>
7474 throw(err_)
7575 }
7676
7777
7878 func _validateInt (val_,lowerBoundary_,upperBoundary_,err_) = if (if ((lowerBoundary_ > val_))
7979 then true
8080 else (val_ > upperBoundary_))
8181 then throw(err_)
8282 else true
8383
8484
8585 func _validateString (val_,err_) = if ((0 >= size(val_)))
8686 then throw(err_)
8787 else true
8888
8989
9090 func _validatePaymentsSize (payments_,target_,err_) = if ((size(payments_) != target_))
9191 then throw(err_)
9292 else true
9393
9494
9595 func _validatePaymentAsset (payment_,asset_,err_) = if ((payment_.assetId != asset_))
9696 then throw(err_)
9797 else true
9898
9999
100100 func _validatePublicKey (publicKey_,err_) = if ((size(fromBase58String(publicKey_)) != 32))
101101 then throw(err_)
102102 else true
103103
104104
105105 func _validatePublicKeys (publicKeys_,err_) = {
106106 func foldFunc (acc,elem) = $Tuple2(if (acc._1)
107107 then _validatePublicKey(elem, acc._2)
108108 else false, acc._2)
109109
110110 let result = {
111111 let $l = publicKeys_
112112 let $s = size($l)
113113 let $acc0 = $Tuple2(true, err_)
114114 func $f0_1 ($a,$i) = if (($i >= $s))
115115 then $a
116116 else foldFunc($a, $l[$i])
117117
118118 func $f0_2 ($a,$i) = if (($i >= $s))
119119 then $a
120120 else throw("List size exceeds 10")
121121
122122 $f0_2($f0_1($f0_1($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), 9), 10)
123123 }
124124 result._1
125125 }
126126
127127
128128 func _loadInit () = match getBoolean(KEY_INIT) {
129129 case a: Boolean =>
130130 a
131131 case _ =>
132132 false
133133 }
134134
135135
136136 func _saveInit (isInit_) = [BooleanEntry(KEY_INIT, isInit_)]
137137
138138
139139 func _loadMultisig () = match getString(KEY_MULTISIG) {
140140 case a: String =>
141141 addressFromStringValue(a)
142142 case _ =>
143143 Address(base58'')
144144 }
145145
146146
147147 func _saveMultisig (multisig_) = [StringEntry(KEY_MULTISIG, toString(multisig_))]
148148
149149
150150 func _loadMinSecDepo () = match getInteger(KEY_MIN_SEC_DEPO) {
151151 case a: Int =>
152152 a
153153 case _ =>
154154 0
155155 }
156156
157157
158158 func _saveMinSecDepo (val_) = [IntegerEntry(KEY_MIN_SEC_DEPO, val_)]
159159
160160
161161 func _loadSecDepo (account_) = match getInteger(makeString([KEY_SEC_DEPO, toString(account_)], SEPARATOR)) {
162162 case a: Int =>
163163 a
164164 case _ =>
165165 0
166166 }
167167
168168
169169 func _saveSecDepo (account_,val_) = [IntegerEntry(makeString([KEY_SEC_DEPO, toString(account_)], SEPARATOR), val_)]
170170
171171
172172 func _loadPunishment () = match getInteger(KEY_PUNISHMENT) {
173173 case a: Int =>
174174 a
175175 case _ =>
176176 0
177177 }
178178
179179
180180 func _savePunishment (val_) = [IntegerEntry(KEY_PUNISHMENT, val_)]
181181
182182
183183 func _loadResetBlockDelta () = match getInteger(KEY_RESET_BLOCK_DELTA) {
184184 case a: Int =>
185185 a
186186 case _ =>
187187 0
188188 }
189189
190190
191191 func _saveResetBlockDelta (val_) = [IntegerEntry(KEY_RESET_BLOCK_DELTA, val_)]
192192
193193
194194 func _loadRewardTokenAddress () = match getString(KEY_REWARD_TOKEN_ADDRESS) {
195195 case a: String =>
196196 addressFromStringValue(a)
197197 case _ =>
198198 Address(base58'')
199199 }
200200
201201
202202 func _saveRewardTokenAddress (val_) = [StringEntry(KEY_REWARD_TOKEN_ADDRESS, toString(val_))]
203203
204204
205205 func _loadRewardAmount () = match getInteger(KEY_REWARD_AMOUNT) {
206206 case a: Int =>
207207 a
208208 case _ =>
209209 0
210210 }
211211
212212
213213 func _saveRewardAmount (val_) = [IntegerEntry(KEY_REWARD_AMOUNT, val_)]
214214
215215
216216 func _loadCurrentEpoch (execChainId_) = match getInteger(makeString([KEY_CURRENT_EPOCH, toString(execChainId_)], SEPARATOR)) {
217217 case a: Int =>
218218 a
219219 case _ =>
220220 0
221221 }
222222
223223
224224 func _saveCurrentEpoch (execChainId_,val_) = [IntegerEntry(makeString([KEY_CURRENT_EPOCH, toString(execChainId_)], SEPARATOR), val_)]
225225
226226
227227 func _loadSigners (execChainId_,epoch_) = match getString(makeString([KEY_SIGNERS_PER_EPOCH, toString(execChainId_), toString(epoch_)], SEPARATOR)) {
228228 case a: String =>
229229 split(a, SEPARATOR)
230230 case _ =>
231231 nil
232232 }
233233
234234
235235 func _saveSigners (execChainId_,epoch_,signers_) = [StringEntry(makeString([KEY_SIGNERS_PER_EPOCH, toString(execChainId_), toString(epoch_)], SEPARATOR), makeString(signers_, SEPARATOR))]
236236
237237
238238 func _loadEventStatus (eventId_) = match getInteger(makeString([KEY_EVENT_STATUS, toString(eventId_)], SEPARATOR)) {
239239 case a: Int =>
240240 a
241241 case _ =>
242242 EVENT_STATUS_INIT
243243 }
244244
245245
246246 func _saveEventStatus (eventId_,status_) = [IntegerEntry(makeString([KEY_EVENT_STATUS, toString(eventId_)], SEPARATOR), status_)]
247247
248248
249249 func _loadLock (publicKey_) = match getInteger(makeString([KEY_LOCKS, publicKey_], SEPARATOR)) {
250250 case a: Int =>
251251 a
252252 case _ =>
253253 0
254254 }
255255
256256
257257 func _saveLock (publicKey_,val_) = [IntegerEntry(makeString([KEY_LOCKS, publicKey_], SEPARATOR), val_)]
258258
259259
260260 func _loadT (execChainId_,epoch_) = match getInteger(makeString([KEY_T, toString(execChainId_), toString(epoch_)], SEPARATOR)) {
261261 case a: Int =>
262262 a
263263 case _ =>
264264 0
265265 }
266266
267267
268268 func _saveT (execChainId_,epoch_,val_) = [IntegerEntry(makeString([KEY_T, toString(execChainId_), toString(epoch_)], SEPARATOR), val_)]
269269
270270
271271 func _loadRsByEvent (eventId_) = match getString(makeString([KEY_R, toString(eventId_)], SEPARATOR)) {
272272 case a: String =>
273273 split(a, SEPARATOR)
274274 case _ =>
275275 nil
276276 }
277277
278278
279279 func _saveRsByEvent (eventId_,rs_) = [StringEntry(makeString([KEY_R, toString(eventId_)], SEPARATOR), makeString(rs_, SEPARATOR))]
280280
281281
282282 func _loadSsByEvent (eventId_) = match getString(makeString([KEY_S, toString(eventId_)], SEPARATOR)) {
283283 case a: String =>
284284 split(a, SEPARATOR)
285285 case _ =>
286286 nil
287287 }
288288
289289
290290 func _saveSsByEvent (eventId_,ss_) = [StringEntry(makeString([KEY_S, toString(eventId_)], SEPARATOR), makeString(ss_, SEPARATOR))]
291291
292292
293293 func _loadRSigmaByEvent (eventId_) = match getString(makeString([KEY_R_SIGMA, toString(eventId_)], SEPARATOR)) {
294294 case a: String =>
295295 a
296296 case _ =>
297297 ""
298298 }
299299
300300
301301 func _saveRSigmaByEvent (eventId_,rSigma_) = [StringEntry(makeString([KEY_R_SIGMA, toString(eventId_)], SEPARATOR), rSigma_)]
302302
303303
304304 func _loadSSigmaByEvent (eventId_) = match getString(makeString([KEY_S_SIGMA, toString(eventId_)], SEPARATOR)) {
305305 case a: String =>
306306 a
307307 case _ =>
308308 ""
309309 }
310310
311311
312312 func _saveSSigmaByEvent (eventId_,sSigma_) = [StringEntry(makeString([KEY_S_SIGMA, toString(eventId_)], SEPARATOR), sSigma_)]
313313
314314
315315 func _loadRByEventAndSigner (eventId_,signer_) = match getString(makeString([KEY_R, toString(eventId_), signer_], SEPARATOR)) {
316316 case a: String =>
317317 a
318318 case _ =>
319319 ""
320320 }
321321
322322
323323 func _saveRByEventAndSigner (eventId_,signer_,r_) = [StringEntry(makeString([KEY_R, toString(eventId_), signer_], SEPARATOR), r_)]
324324
325325
326326 func _loadSByEventAndSigner (eventId_,signer_) = match getString(makeString([KEY_S, toString(eventId_), signer_], SEPARATOR)) {
327327 case a: String =>
328328 a
329329 case _ =>
330330 ""
331331 }
332332
333333
334334 func _saveSByEventAndSigner (eventId_,signer_,s_) = [StringEntry(makeString([KEY_S, toString(eventId_), signer_], SEPARATOR), s_)]
335335
336336
337-func _loadSignersWithRByEvent (eventId_) = match getString(makeString([KET_R_SIGNERS, toString(eventId_)], SEPARATOR)) {
337+func _loadSignersWithRByEvent (eventId_) = match getString(makeString([KEY_R_SIGNERS, toString(eventId_)], SEPARATOR)) {
338338 case a: String =>
339339 split(a, SEPARATOR)
340340 case _ =>
341341 nil
342342 }
343343
344344
345-func _saveSignersWithRByEvent (eventId_,rs_) = [StringEntry(makeString([KET_R_SIGNERS, toString(eventId_)], SEPARATOR), makeString(rs_, SEPARATOR))]
345+func _saveSignersWithRByEvent (eventId_,rs_) = [StringEntry(makeString([KEY_R_SIGNERS, toString(eventId_)], SEPARATOR), makeString(rs_, SEPARATOR))]
346346
347347
348-func _loadSignersWithSByEvent (eventId_) = match getString(makeString([KET_S_SIGNERS, toString(eventId_)], SEPARATOR)) {
348+func _loadSignersWithSByEvent (eventId_) = match getString(makeString([KEY_S_SIGNERS, toString(eventId_)], SEPARATOR)) {
349349 case a: String =>
350350 split(a, SEPARATOR)
351351 case _ =>
352352 nil
353353 }
354354
355355
356-func _saveSignersWithSByEvent (eventId_,ss_) = [StringEntry(makeString([KET_S_SIGNERS, toString(eventId_)], SEPARATOR), makeString(ss_, SEPARATOR))]
356+func _saveSignersWithSByEvent (eventId_,ss_) = [StringEntry(makeString([KEY_S_SIGNERS, toString(eventId_)], SEPARATOR), makeString(ss_, SEPARATOR))]
357357
358358
359359 func _loadEventStartBlock (eventId_) = match getInteger(makeString([KEY_EVENT_START_BLOCK, toString(eventId_)], SEPARATOR)) {
360360 case a: Int =>
361361 a
362362 case _ =>
363363 0
364364 }
365365
366366
367367 func _saveEventStartBlock (eventId_,val_) = [IntegerEntry(makeString([KEY_EVENT_START_BLOCK, toString(eventId_)], SEPARATOR), val_)]
368368
369369
370370 func _loadSignedEventExecutorIdxSize (executionChainId_) = match getInteger(makeString([KEY_SIGNED_EVENT_EXECUTOR, toString(executionChainId_), KEY_SIZE], SEPARATOR)) {
371371 case a: Int =>
372372 a
373373 case _ =>
374374 0
375375 }
376376
377377
378378 func _saveSignedEventExecutorIdxSize (executionChainId_,val_) = [IntegerEntry(makeString([KEY_SIGNED_EVENT_EXECUTOR, toString(executionChainId_), KEY_SIZE], SEPARATOR), val_)]
379379
380380
381381 func _loadSignedEventExecutorIdx (executionChainId_,idx_) = match getInteger(makeString([KEY_SIGNED_EVENT_EXECUTOR, toString(executionChainId_), toString(idx_)], SEPARATOR)) {
382382 case a: Int =>
383383 a
384384 case _ =>
385385 0
386386 }
387387
388388
389389 func _saveSignedEventExecutorIdx (executionChainId_,idx_,val_) = [IntegerEntry(makeString([KEY_SIGNED_EVENT_EXECUTOR, toString(executionChainId_), toString(idx_)], SEPARATOR), val_)]
390390
391391
392392 func _onlyThisContract (caller_) = if ((caller_ != this))
393393 then throw("_onlyThisContract: revert")
394394 else true
395395
396396
397397 func _whenMultisigSet () = if ((_loadMultisig() == Address(base58'')))
398398 then throw("_whenMultisigSet: revert")
399399 else true
400400
401401
402402 func _whenNotInitialized () = if (_loadInit())
403403 then throw("_whenNotInitialized: revert")
404404 else true
405405
406406
407407 func _whenInitialized () = if (!(_loadInit()))
408408 then throw("_whenInitialized: revert")
409409 else true
410410
411411
412412 func _isActiveSigner (publicKey_,publicKeys_,err_) = if (!(containsElement(publicKeys_, publicKey_)))
413413 then throw(err_)
414414 else true
415415
416416
417417 func _checkSecDepo (signer_,err_) = if ((_loadMinSecDepo() > _loadSecDepo(addressFromPublicKey(fromBase58String(signer_)))))
418418 then throw(err_)
419419 else true
420420
421421
422422 func _checkEventStatusForSubmitR (eventId_,err_) = if ((_loadEventStatus(eventId_) != EVENT_STATUS_INIT))
423423 then throw(err_)
424424 else true
425425
426426
427427 func _checkEventStatusForSubmitS (eventId_,err_) = if ((_loadEventStatus(eventId_) != EVENT_STATUS_SIGN))
428428 then throw(err_)
429429 else true
430430
431431
432432 func _checkEventStatusForReset (eventId_,err_) = if (if ((_loadEventStatus(eventId_) != EVENT_STATUS_SIGN))
433433 then true
434434 else (height >= (_loadEventStartBlock(eventId_) + _loadResetBlockDelta())))
435435 then throw(err_)
436436 else true
437437
438438
439439 func _incrementLocks (signers_) = {
440440 func foldFunc (acc,elem) = (acc :+ _saveLock(elem, (_loadLock(elem) + 1)))
441441
442442 let $l = signers_
443443 let $s = size($l)
444444 let $acc0 = nil
445445 func $f0_1 ($a,$i) = if (($i >= $s))
446446 then $a
447447 else foldFunc($a, $l[$i])
448448
449449 func $f0_2 ($a,$i) = if (($i >= $s))
450450 then $a
451451 else throw("List size exceeds 10")
452452
453453 $f0_2($f0_1($f0_1($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), 9), 10)
454454 }
455455
456456
457457 func _isZeroLock (publicKey_,err_) = if ((_loadLock(publicKey_) > 0))
458458 then throw(err_)
459459 else true
460460
461461
462462 func _notSubmittedR (eventId_,signer_,err_) = if ((_loadRByEventAndSigner(eventId_, signer_) != ""))
463463 then throw(err_)
464464 else true
465465
466466
467467 func _notSubmittedS (eventId_,signer_,err_) = if ((_loadSByEventAndSigner(eventId_, signer_) != ""))
468468 then throw(err_)
469469 else true
470470
471471
472472 func _submittedR (eventId_,signer_,err_) = {
473473 let r = _loadRByEventAndSigner(eventId_, signer_)
474474 if ((r == ""))
475475 then throw(err_)
476476 else if (!(containsElement(_loadRsByEvent(eventId_), r)))
477477 then throw(err_)
478478 else true
479479 }
480480
481481
482482 func _slashIncorrect (signersWithR_,signersWithS_) = {
483483 let punishment = _loadPunishment()
484484 func foldFunc (acc,elem) = if (containsElement(signersWithS_, elem))
485485 then $Tuple3(acc._1, (acc._2 :+ elem), acc._3)
486486 else {
487487 let signerAddress = addressFromPublicKey(fromBase58String(elem))
488488 $Tuple3((acc._1 ++ _saveSecDepo(signerAddress, (_loadSecDepo(signerAddress) - punishment))), acc._2, (acc._3 + punishment))
489489 }
490490
491491 let $l = signersWithR_
492492 let $s = size($l)
493493 let $acc0 = $Tuple3(nil, nil, 0)
494494 func $f0_1 ($a,$i) = if (($i >= $s))
495495 then $a
496496 else foldFunc($a, $l[$i])
497497
498498 func $f0_2 ($a,$i) = if (($i >= $s))
499499 then $a
500500 else throw("List size exceeds 10")
501501
502502 $f0_2($f0_1($f0_1($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), 9), 10)
503503 }
504504
505505
506506 func _compensateCorrect (signers_,compensation_) = {
507507 let perSigner = (compensation_ / size(signers_))
508508 func foldFunc (acc,elem) = (acc :+ ScriptTransfer(addressFromPublicKey(fromBase58String(elem)), perSigner, unit))
509509
510510 let $l = signers_
511511 let $s = size($l)
512512 let $acc0 = nil
513513 func $f0_1 ($a,$i) = if (($i >= $s))
514514 then $a
515515 else foldFunc($a, $l[$i])
516516
517517 func $f0_2 ($a,$i) = if (($i >= $s))
518518 then $a
519519 else throw("List size exceeds 10")
520520
521521 $f0_2($f0_1($f0_1($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), 9), 10)
522522 }
523523
524524
525525 func _publicKeysToAddrsStr (publicKeys_) = {
526526 func foldfunc (acc_,elem_) = (acc_ :+ addressFromPublicKey(fromBase58String(elem_)))
527527
528528 let $l = publicKeys_
529529 let $s = size($l)
530530 let $acc0 = nil
531531 func $f0_1 ($a,$i) = if (($i >= $s))
532532 then $a
533533 else foldfunc($a, $l[$i])
534534
535535 func $f0_2 ($a,$i) = if (($i >= $s))
536536 then $a
537537 else throw("List size exceeds 51")
538538
539539 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($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), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51)
540540 }
541541
542542
543543 @Callable(i)
544544 func init (minSecDepo_,punishment_,resetBlockDelta_,rewardTokenAddress_,rewardAmount_) = {
545545 let err = if (if (if (if (if (if (if (_onlyThisContract(i.caller))
546546 then _whenNotInitialized()
547547 else false)
548548 then _whenMultisigSet()
549549 else false)
550550 then _validateInt(minSecDepo_, punishment_, MAX_INT, "init: invalid minSecDepo")
551551 else false)
552552 then _validateInt(punishment_, 0, MAX_INT, "init: invalid punishment")
553553 else false)
554554 then _validateInt(resetBlockDelta_, 0, MAX_INT, "init: invalid resetBlockDelta")
555555 else false)
556556 then _validateAddress(rewardTokenAddress_, "init: invalid rewardTokenAddress")
557557 else false)
558558 then _validateInt(rewardAmount_, 0, MAX_INT, "init: invalid rewardAmount")
559559 else false
560560 if ((err == err))
561561 then $Tuple2((((((_saveInit(true) ++ _saveMinSecDepo(minSecDepo_)) ++ _savePunishment(punishment_)) ++ _saveResetBlockDelta(resetBlockDelta_)) ++ _saveRewardTokenAddress(addressFromStringValue(rewardTokenAddress_))) ++ _saveRewardAmount(rewardAmount_)), unit)
562562 else throw("Strict value is not equal to itself.")
563563 }
564564
565565
566566
567567 @Callable(i)
568568 func setActiveSigners (execChainId_,signers_,t_) = {
569569 let err = if (if (if (_onlyThisContract(i.caller))
570570 then _whenInitialized()
571571 else false)
572572 then _validatePublicKeys(signers_, "setActiveSigners: invalid signers")
573573 else false)
574574 then _validateInt(t_, 2, size(signers_), "setActiveSigners: invalid T")
575575 else false
576576 if ((err == err))
577577 then {
578578 let epoch = _loadCurrentEpoch(execChainId_)
579579 $Tuple2((((_saveCurrentEpoch(execChainId_, (epoch + 1)) ++ _saveT(execChainId_, (epoch + 1), t_)) ++ _saveSigners(execChainId_, (epoch + 1), signers_)) ++ _incrementLocks(signers_)), unit)
580580 }
581581 else throw("Strict value is not equal to itself.")
582582 }
583583
584584
585585
586586 @Callable(i)
587587 func submitR (eventId_,execChainId_,r_) = {
588588 let callerPublicKey = toBase58String(i.callerPublicKey)
589589 let epoch = _loadCurrentEpoch(execChainId_)
590590 let t = _loadT(execChainId_, epoch)
591591 let err = if (if (if (if (if (if (if (_whenInitialized())
592592 then _validateInt(eventId_, 0, MAX_INT, "submitR: invalid eventId")
593593 else false)
594594 then _validateInt(execChainId_, 0, MAX_INT, "submitR: invalid execChainId")
595595 else false)
596596 then _validateString(r_, "submitR: invalid r")
597597 else false)
598598 then _isActiveSigner(callerPublicKey, _loadSigners(execChainId_, epoch), "submitR: not active")
599599 else false)
600600 then _checkSecDepo(callerPublicKey, "submitR: not enough security deposit")
601601 else false)
602602 then _checkEventStatusForSubmitR(eventId_, "submitR: invalid event status")
603603 else false)
604604 then _notSubmittedR(eventId_, callerPublicKey, "submitR: already submitted")
605605 else false
606606 if ((err == err))
607607 then {
608608 let rArray = _loadRsByEvent(eventId_)
609609 let signersArray = _loadSignersWithRByEvent(eventId_)
610610 let eventStatusActions = if (((size(rArray) + 1) == t))
611611 then (_saveEventStatus(eventId_, EVENT_STATUS_SIGN) ++ _saveEventStartBlock(eventId_, height))
612612 else nil
613613 $Tuple2((((_saveRsByEvent(eventId_, (rArray :+ r_)) ++ _saveRByEventAndSigner(eventId_, callerPublicKey, r_)) ++ _saveSignersWithRByEvent(eventId_, (signersArray :+ callerPublicKey))) ++ eventStatusActions), unit)
614614 }
615615 else throw("Strict value is not equal to itself.")
616616 }
617617
618618
619619
620620 @Callable(i)
621621 func submitS (eventId_,execChainId_,rSigma_,s_,sSigma_) = {
622622 let callerPublicKey = toBase58String(i.callerPublicKey)
623623 let epoch = _loadCurrentEpoch(execChainId_)
624624 let t = _loadT(execChainId_, epoch)
625625 let err = if (if (if (if (if (if (if (if (if (_whenInitialized())
626626 then _validateInt(eventId_, 0, MAX_INT, "submitS: invalid eventId")
627627 else false)
628628 then _validateInt(execChainId_, 0, MAX_INT, "submitS: invalid execChainId")
629629 else false)
630630 then _validateString(rSigma_, "submitS: invalid r sigma")
631631 else false)
632632 then _validateString(s_, "submitS: invalid s")
633633 else false)
634634 then _isActiveSigner(callerPublicKey, _loadSigners(execChainId_, epoch), "submitS: not active")
635635 else false)
636636 then _checkSecDepo(callerPublicKey, "submitS: not enough security deposit")
637637 else false)
638638 then _checkEventStatusForSubmitS(eventId_, "submitS: invalid event status")
639639 else false)
640640 then _notSubmittedS(eventId_, callerPublicKey, "submitS: already submitted")
641641 else false)
642642 then _submittedR(eventId_, callerPublicKey, "submitS: R is not submitted")
643643 else false
644644 if ((err == err))
645645 then {
646646 let sArray = _loadSsByEvent(eventId_)
647647 let signersArray = _loadSignersWithSByEvent(eventId_)
648648 let eventStatusActions = if (((size(sArray) + 1) == t))
649649 then {
650650 let err1 = _validateString(sSigma_, "submitS: invalid s sigma")
651651 if ((err1 == err1))
652652 then {
653653 let executorIdxSize = _loadSignedEventExecutorIdxSize(execChainId_)
654654 let rewardAddresses = _publicKeysToAddrsStr((signersArray :+ callerPublicKey))
655655 let witnessesRewards = invoke(_loadRewardTokenAddress(), FUNC_MINT_MANY, [_loadRewardAmount(), rewardAddresses], nil)
656656 if ((witnessesRewards == witnessesRewards))
657657 then (((_saveEventStatus(eventId_, EVENT_STATUS_DONE) ++ _saveSignedEventExecutorIdx(execChainId_, executorIdxSize, eventId_)) ++ _saveSignedEventExecutorIdxSize(execChainId_, (executorIdxSize + 1))) ++ _saveSSigmaByEvent(eventId_, sSigma_))
658658 else throw("Strict value is not equal to itself.")
659659 }
660660 else throw("Strict value is not equal to itself.")
661661 }
662662 else nil
663663 $Tuple2(((((_saveSsByEvent(eventId_, (sArray :+ s_)) ++ _saveSByEventAndSigner(eventId_, callerPublicKey, s_)) ++ _saveSignersWithSByEvent(eventId_, (signersArray :+ callerPublicKey))) ++ _saveRSigmaByEvent(eventId_, rSigma_)) ++ eventStatusActions), unit)
664664 }
665665 else throw("Strict value is not equal to itself.")
666666 }
667667
668668
669669
670670 @Callable(i)
671671 func reset (eventId_,execChainId_,r_) = {
672672 let callerPublicKey = toBase58String(i.callerPublicKey)
673673 let epoch = _loadCurrentEpoch(execChainId_)
674674 let err = if (if (if (if (if (if (_whenInitialized())
675675 then _validateInt(eventId_, 0, MAX_INT, "reset: invalid eventId")
676676 else false)
677677 then _validateInt(execChainId_, 0, MAX_INT, "reset: invalid execChainId")
678678 else false)
679679 then _validateString(r_, "reset: invalid r")
680680 else false)
681681 then _isActiveSigner(callerPublicKey, _loadSigners(execChainId_, epoch), "reset: not active")
682682 else false)
683683 then _checkSecDepo(callerPublicKey, "reset: not enough security deposit")
684684 else false)
685685 then _checkEventStatusForReset(eventId_, "reset: invalid event status")
686686 else false
687687 if ((err == err))
688688 then {
689689 let slashAmount = 0
690690 let signersWithR = _loadSignersWithRByEvent(eventId_)
691691 let signersWithS = _loadSignersWithSByEvent(eventId_)
692692 let result = _slashIncorrect(signersWithR, signersWithS)
693693 let slashingActions = result._1
694694 let compensatedSigners = result._2
695695 let compensation = result._3
696696 let compensationActions = _compensateCorrect(compensatedSigners, compensation)
697697 $Tuple2((((((((_saveRsByEvent(eventId_, [r_]) ++ _saveRByEventAndSigner(eventId_, callerPublicKey, r_)) ++ _saveSignersWithRByEvent(eventId_, [callerPublicKey])) ++ _saveRSigmaByEvent(eventId_, "")) ++ _saveSSigmaByEvent(eventId_, "")) ++ _saveEventStatus(eventId_, EVENT_STATUS_INIT)) ++ slashingActions) ++ compensationActions), unit)
698698 }
699699 else throw("Strict value is not equal to itself.")
700700 }
701701
702702
703703
704704 @Callable(i)
705705 func addSecurityDeposit (recipient_) = {
706706 let recipient = if ((recipient_ == ""))
707707 then toString(i.caller)
708708 else recipient_
709709 let err = if (if (_validateAddress(recipient, "addSecurityDeposit: invalid recipient"))
710710 then _validatePaymentsSize(i.payments, 1, "addSecurityDeposit: no payment")
711711 else false)
712712 then _validatePaymentAsset(i.payments[0], unit, "addSecurityDeposit: invalid asset")
713713 else false
714714 if ((err == err))
715715 then {
716716 let recipientAddr = addressFromStringValue(recipient)
717717 let balance = _loadSecDepo(recipientAddr)
718718 let updatedBalance = (balance + i.payments[0].amount)
719719 $Tuple2(_saveSecDepo(recipientAddr, updatedBalance), unit)
720720 }
721721 else throw("Strict value is not equal to itself.")
722722 }
723723
724724
725725
726726 @Callable(i)
727727 func subSecurityDeposit (amount_) = {
728728 let balance = _loadSecDepo(i.caller)
729729 let err = if (_isZeroLock(toBase58String(i.callerPublicKey), "subSecurityDeposit: locked"))
730730 then if ((amount_ > balance))
731731 then throw("subSecurityDeposit: insufficient balance")
732732 else true
733733 else false
734734 if ((err == err))
735735 then $Tuple2((_saveSecDepo(i.caller, (balance - amount_)) ++ [ScriptTransfer(i.caller, amount_, unit)]), unit)
736736 else throw("Strict value is not equal to itself.")
737737 }
738738
739739
740740
741741 @Callable(i)
742742 func setMultisig (multisig_) = {
743743 let err = if (_onlyThisContract(i.caller))
744744 then _validateAddress(multisig_, "setMultisig: invalid multisig address")
745745 else false
746746 if ((err == err))
747747 then $Tuple2(_saveMultisig(addressFromStringValue(multisig_)), unit)
748748 else throw("Strict value is not equal to itself.")
749749 }
750750
751751
752752 @Verifier(tx)
753753 func verify () = match getString(KEY_MULTISIG) {
754754 case multisig: String =>
755755 valueOrElse(getBoolean(addressFromStringValue(multisig), makeString([KEY_STATUS, toString(this), toBase58String(tx.id)], SEPARATOR)), false)
756756 case _ =>
757757 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
758758 }
759759

github/deemru/w8io/026f985 
91.98 ms