tx · CpNGFhzrVbyxptEKiGTTSUTuCn6ug1F4bRRDgyqq6jq7

3N33NL4BGxFEEiXKgnENVRDiE3RwkYmaNmS:  -0.02600000 Waves

2023.03.15 00:41 [2490267] smart account 3N33NL4BGxFEEiXKgnENVRDiE3RwkYmaNmS > SELF 0.00000000 Waves

{ "type": 13, "id": "CpNGFhzrVbyxptEKiGTTSUTuCn6ug1F4bRRDgyqq6jq7", "fee": 2600000, "feeAssetId": null, "timestamp": 1678829975858, "version": 2, "chainId": 84, "sender": "3N33NL4BGxFEEiXKgnENVRDiE3RwkYmaNmS", "senderPublicKey": "FeKA4QnfyZ9Q6eep2FDJEZxFr8cn1tbStnN5SJeEnPaB", "proofs": [ "4aXkjLWYa2iiG5vDk2zCEe6NXTd7X3DYyMPxS5wgf2imfAxrH1tzUSjd8hGca2SUaFSiCqyvt9aqc6r4GdxRj9uk" ], "script": "base64:BgJBCAISBQoDAQgBEgQKAgEYEgoKCAEBAQgIGAgBEgkKBwEBAQgICAESBAoCAQESBAoCAQESAwoBCBIDCgEBEgMKAQhtAAlTRVBBUkFUT1ICAl9fAA5BUkdTX1NFUEFSQVRPUgIEIyMjIwAIS0VZX0lOSVQCBElOSVQADEtFWV9NVUxUSVNJRwIITVVMVElTSUcACktFWV9TVEFUVVMCBlNUQVRVUwASS0VZX1BST1hZX1NFQ19ERVBPAhZQUk9YWV9TRUNVUklUWV9ERVBPU0lUABxLRVlfUFJPWFlfU0VDX0RFUE9fUEVSX0VWRU5UAiBQUk9YWV9TRUNVUklUWV9ERVBPU0lUX1BFUl9FVkVOVAAPS0VZX1dBVkVTX0VWRU5UAgtXQVZFU19FVkVOVAANS0VZX0VWTV9FVkVOVAIJRVZNX0VWRU5UABRLRVlfV0FWRVNfRVZFTlRfU0laRQIQV0FWRVNfRVZFTlRfU0laRQASS0VZX0VWTV9FVkVOVF9TSVpFAg5FVk1fRVZFTlRfU0laRQAWS0VZX1dBVkVTX0VWRU5UX1NUQVRVUwISV0FWRVNfRVZ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CCQENX3NhdmVNdWx0aXNpZwEJARFAZXh0ck5hdGl2ZSgxMDYyKQEFCW11bHRpc2lnXwUEdW5pdAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgECdHgBBnZlcmlmeQAEByRtYXRjaDAJAKIIAQUMS0VZX01VTFRJU0lHAwkAAQIFByRtYXRjaDACBlN0cmluZwQIbXVsdGlzaWcFByRtYXRjaDAJAQt2YWx1ZU9yRWxzZQIJAJsIAgkBEUBleHRyTmF0aXZlKDEwNjIpAQUIbXVsdGlzaWcJALkJAgkAzAgCBQpLRVlfU1RBVFVTCQDMCAIJAKUIAQUEdGhpcwkAzAgCCQDYBAEIBQJ0eAJpZAUDbmlsBQlTRVBBUkFUT1IHCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5Xb40SQ==", "height": 2490267, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: H1mjqckmKyrqNXCaVZFEXpZBtXKQzEem4PxyDvH9b3VV Next: DhpBYuFyvQCLGN2GGy2znExSW2QHwy1jkRTAxJtHqiEn Diff:
OldNewDifferences
8989 else true
9090
9191
92-func _validateArgString (val_,err_) = if (contains(val_, ARGS_SEPARATOR))
92+func _validateArgString (val_,err_) = if (if (contains(val_, ARGS_SEPARATOR))
93+ then true
94+ else contains(val_, SEPARATOR))
9395 then throw(err_)
94- else _validateString(val_, err_)
96+ else true
9597
9698
9799 func _validateArgs (args_,err_) = if ((size(args_) > 22))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let SEPARATOR = "__"
55
66 let ARGS_SEPARATOR = "####"
77
88 let KEY_INIT = "INIT"
99
1010 let KEY_MULTISIG = "MULTISIG"
1111
1212 let KEY_STATUS = "STATUS"
1313
1414 let KEY_PROXY_SEC_DEPO = "PROXY_SECURITY_DEPOSIT"
1515
1616 let KEY_PROXY_SEC_DEPO_PER_EVENT = "PROXY_SECURITY_DEPOSIT_PER_EVENT"
1717
1818 let KEY_WAVES_EVENT = "WAVES_EVENT"
1919
2020 let KEY_EVM_EVENT = "EVM_EVENT"
2121
2222 let KEY_WAVES_EVENT_SIZE = "WAVES_EVENT_SIZE"
2323
2424 let KEY_EVM_EVENT_SIZE = "EVM_EVENT_SIZE"
2525
2626 let KEY_WAVES_EVENT_STATUS = "WAVES_EVENT_STATUS"
2727
2828 let KEY_EVM_EVENT_STATUS = "EVM_EVENT_STATUS"
2929
3030 let KEY_WAVES_EVENT_PUBLISHED = "WAVES_EVENT_PUBLISHED"
3131
3232 let KEY_EVM_EVENT_PUBLISHED = "EVM_EVENT_PUBLISHED"
3333
3434 let KEY_CURRENT_EPOCH = "CURRENT_EPOCH"
3535
3636 let KEY_SIZE = "SIZE"
3737
3838 let KEY_WAVES_EVENT_CALLER = "WAVES_EVENT_CALLER"
3939
4040 let KEY_EVM_EVENT_CALLER = "EVM_EVENT_CALLER"
4141
4242 let KEY_WITNESSES_PER_EPOCH = "WITNESSES_PER_EPOCH"
4343
4444 let KEY_WAVES_EVENT_EXECUTOR = "WAVES_EVENT_EXECUTOR"
4545
4646 let KEY_EVM_EVENT_EXECUTOR = "EVM_EVENT_EXECUTOR"
4747
4848 let KEY_REWARD_TOKEN_ADDRESS = "REWARD_TOKEN_ADDRESS"
4949
5050 let KEY_REWARD_AMOUNT = "REWARD_AMOUNT"
5151
5252 let FUNC_MINT_MANY = "mintMany"
5353
5454 let EVENT_STATUS_PROCESSING = 1
5555
5656 let EVENT_STATUS_CONFIRMED = 2
5757
5858 let EVENT_STATUS_REJECTED = 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 (if ((0 >= size(val_)))
8686 then true
8787 else contains(val_, SEPARATOR))
8888 then throw(err_)
8989 else true
9090
9191
92-func _validateArgString (val_,err_) = if (contains(val_, ARGS_SEPARATOR))
92+func _validateArgString (val_,err_) = if (if (contains(val_, ARGS_SEPARATOR))
93+ then true
94+ else contains(val_, SEPARATOR))
9395 then throw(err_)
94- else _validateString(val_, err_)
96+ else true
9597
9698
9799 func _validateArgs (args_,err_) = if ((size(args_) > 22))
98100 then throw(err_)
99101 else {
100102 func foldFunc (acc,elem) = $Tuple2(if (acc._1)
101103 then _validateArgString(elem, acc._2)
102104 else false, acc._2)
103105
104106 let result = {
105107 let $l = args_
106108 let $s = size($l)
107109 let $acc0 = $Tuple2(true, err_)
108110 func $f0_1 ($a,$i) = if (($i >= $s))
109111 then $a
110112 else foldFunc($a, $l[$i])
111113
112114 func $f0_2 ($a,$i) = if (($i >= $s))
113115 then $a
114116 else throw("List size exceeds 22")
115117
116118 $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($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22)
117119 }
118120 result._1
119121 }
120122
121123
122124 func _validatePaymentsSize (payments_,target_,err_) = if ((size(payments_) != target_))
123125 then throw(err_)
124126 else true
125127
126128
127129 func _validatePaymentAsset (payment_,asset_,err_) = if ((payment_.assetId != asset_))
128130 then throw(err_)
129131 else true
130132
131133
132134 func _validateEventIdx (val_,max_,err_) = if (if ((0 > val_))
133135 then true
134136 else (val_ >= max_))
135137 then throw(err_)
136138 else true
137139
138140
139141 func _validateEventStatus (val_,err_) = if (if ((EVENT_STATUS_PROCESSING > val_))
140142 then true
141143 else (val_ > EVENT_STATUS_REJECTED))
142144 then throw(err_)
143145 else true
144146
145147
146148 func _validatePublicKey (publicKey_,err_) = if ((size(fromBase58String(publicKey_)) != 32))
147149 then throw(err_)
148150 else true
149151
150152
151153 func _validatePublicKeys (publicKeys_,err_) = {
152154 func foldFunc (acc,elem) = $Tuple2(if (acc._1)
153155 then _validatePublicKey(elem, acc._2)
154156 else false, acc._2)
155157
156158 let result = {
157159 let $l = publicKeys_
158160 let $s = size($l)
159161 let $acc0 = $Tuple2(true, err_)
160162 func $f0_1 ($a,$i) = if (($i >= $s))
161163 then $a
162164 else foldFunc($a, $l[$i])
163165
164166 func $f0_2 ($a,$i) = if (($i >= $s))
165167 then $a
166168 else throw("List size exceeds 10")
167169
168170 $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)
169171 }
170172 result._1
171173 }
172174
173175
174176 func _publicKeysToAddrsStr (publicKeys_) = {
175177 func foldfunc (acc_,elem_) = (acc_ :+ toString(addressFromPublicKey(fromBase58String(elem_))))
176178
177179 let $l = publicKeys_
178180 let $s = size($l)
179181 let $acc0 = nil
180182 func $f0_1 ($a,$i) = if (($i >= $s))
181183 then $a
182184 else foldfunc($a, $l[$i])
183185
184186 func $f0_2 ($a,$i) = if (($i >= $s))
185187 then $a
186188 else throw("List size exceeds 51")
187189
188190 $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)
189191 }
190192
191193
192194 func _loadInit () = match getBoolean(KEY_INIT) {
193195 case a: Boolean =>
194196 a
195197 case _ =>
196198 false
197199 }
198200
199201
200202 func _saveInit (isInit_) = [BooleanEntry(KEY_INIT, isInit_)]
201203
202204
203205 func _loadMultisig () = match getString(KEY_MULTISIG) {
204206 case a: String =>
205207 addressFromStringValue(a)
206208 case _ =>
207209 Address(base58'')
208210 }
209211
210212
211213 func _saveMultisig (multisig_) = [StringEntry(KEY_MULTISIG, toString(multisig_))]
212214
213215
214216 func _loadProxySecDepo (account_) = match getInteger(makeString([KEY_PROXY_SEC_DEPO, toString(account_)], SEPARATOR)) {
215217 case a: Int =>
216218 a
217219 case _ =>
218220 0
219221 }
220222
221223
222224 func _saveProxySecDepo (account_,val_) = [IntegerEntry(makeString([KEY_PROXY_SEC_DEPO, toString(account_)], SEPARATOR), val_)]
223225
224226
225227 func _loadProxySecDepoPerEvent () = match getInteger(KEY_PROXY_SEC_DEPO_PER_EVENT) {
226228 case a: Int =>
227229 a
228230 case _ =>
229231 0
230232 }
231233
232234
233235 func _saveProxySecDepoPerEvent (val_) = [IntegerEntry(KEY_PROXY_SEC_DEPO_PER_EVENT, val_)]
234236
235237
236238 func _loadWavesEventSize () = match getInteger(KEY_WAVES_EVENT_SIZE) {
237239 case a: Int =>
238240 a
239241 case _ =>
240242 0
241243 }
242244
243245
244246 func _saveWavesEventSize (val_) = [IntegerEntry(KEY_WAVES_EVENT_SIZE, val_)]
245247
246248
247249 func _loadEVMEventSize () = match getInteger(KEY_EVM_EVENT_SIZE) {
248250 case a: Int =>
249251 a
250252 case _ =>
251253 0
252254 }
253255
254256
255257 func _saveEVMEventSize (val_) = [IntegerEntry(KEY_EVM_EVENT_SIZE, val_)]
256258
257259
258260 func _loadWavesEvent (index_) = match getString(makeString([KEY_WAVES_EVENT, toString(index_)], SEPARATOR)) {
259261 case a: String =>
260262 let struct = split(a, SEPARATOR)
261263 $Tuple13(parseIntValue(struct[0]), parseIntValue(struct[1]), parseIntValue(struct[2]), struct[3], struct[4], split(struct[5], ARGS_SEPARATOR), struct[6], parseIntValue(struct[7]), struct[8], parseIntValue(struct[9]), parseIntValue(struct[10]), parseIntValue(struct[11]), addressFromStringValue(struct[12]))
262264 case _ =>
263265 $Tuple13(0, 0, 0, "", "", nil, "", 0, "", 0, 0, 0, Address(base58''))
264266 }
265267
266268
267269 func _saveWavesEvent (index_,event_) = [StringEntry(makeString([KEY_WAVES_EVENT, toString(index_)], SEPARATOR), makeString([toString(event_._1), toString(event_._2), toString(event_._3), event_._4, event_._5, makeString(event_._6, ARGS_SEPARATOR), event_._7, toString(event_._8), event_._9, toString(event_._10), toString(event_._11), toString(event_._12), toString(event_._13)], SEPARATOR))]
268270
269271
270272 func _loadEVMEvent (index_) = match getString(makeString([KEY_EVM_EVENT, toString(index_)], SEPARATOR)) {
271273 case a: String =>
272274 let struct = split(a, SEPARATOR)
273275 $Tuple12(parseIntValue(struct[0]), parseIntValue(struct[1]), parseIntValue(struct[2]), struct[3], struct[4], struct[5], parseIntValue(struct[6]), struct[7], parseIntValue(struct[8]), parseIntValue(struct[9]), parseIntValue(struct[10]), addressFromStringValue(struct[11]))
274276 case _ =>
275277 $Tuple12(0, 0, 0, "", "", "", 0, "", 0, 0, 0, Address(base58''))
276278 }
277279
278280
279281 func _saveEVMEvent (index_,event_) = [StringEntry(makeString([KEY_EVM_EVENT, toString(index_)], SEPARATOR), makeString([toString(event_._1), toString(event_._2), toString(event_._3), event_._4, event_._5, event_._6, toString(event_._7), event_._8, toString(event_._9), toString(event_._10), toString(event_._11), toString(event_._12)], SEPARATOR))]
280282
281283
282284 func _loadWavesEventStatus (eventHash_) = match getInteger(makeString([KEY_WAVES_EVENT_STATUS, eventHash_], SEPARATOR)) {
283285 case a: Int =>
284286 a
285287 case _ =>
286288 0
287289 }
288290
289291
290292 func _saveWavesEventStatus (eventHash_,status_) = [IntegerEntry(makeString([KEY_WAVES_EVENT_STATUS, eventHash_], SEPARATOR), status_)]
291293
292294
293295 func _loadEVMEventStatus (eventHash_) = match getInteger(makeString([KEY_EVM_EVENT_STATUS, eventHash_], SEPARATOR)) {
294296 case a: Int =>
295297 a
296298 case _ =>
297299 0
298300 }
299301
300302
301303 func _saveEVMEventStatus (eventHash_,status_) = [IntegerEntry(makeString([KEY_EVM_EVENT_STATUS, eventHash_], SEPARATOR), status_)]
302304
303305
304306 func _loadPublishedWavesEventByWitness (publicKey_,eventId_) = match getInteger(makeString([KEY_WAVES_EVENT_PUBLISHED, publicKey_, toString(eventId_)], SEPARATOR)) {
305307 case a: Int =>
306308 a
307309 case _ =>
308310 0
309311 }
310312
311313
312314 func _savePublishedWavesEventByWitness (publicKey_,eventId_,val_) = [IntegerEntry(makeString([KEY_WAVES_EVENT_PUBLISHED, publicKey_, toString(eventId_)], SEPARATOR), val_)]
313315
314316
315317 func _loadPublishedEVMEventByWitness (publicKey_,eventId_) = match getInteger(makeString([KEY_EVM_EVENT_PUBLISHED, publicKey_, toString(eventId_)], SEPARATOR)) {
316318 case a: Int =>
317319 a
318320 case _ =>
319321 0
320322 }
321323
322324
323325 func _savePublishedEVMEventByWitness (publicKey_,eventId_,val_) = [IntegerEntry(makeString([KEY_EVM_EVENT_PUBLISHED, publicKey_, toString(eventId_)], SEPARATOR), val_)]
324326
325327
326328 func _loadCurrentEpoch (callerChainId_) = match getInteger(makeString([KEY_CURRENT_EPOCH, toString(callerChainId_)], SEPARATOR)) {
327329 case a: Int =>
328330 a
329331 case _ =>
330332 0
331333 }
332334
333335
334336 func _saveCurrentEpoch (callerChainId_,val_) = [IntegerEntry(makeString([KEY_CURRENT_EPOCH, toString(callerChainId_)], SEPARATOR), val_)]
335337
336338
337339 func _loadWavesEventCallerIdxSize (callerChainId_) = match getInteger(makeString([KEY_WAVES_EVENT_CALLER, toString(callerChainId_), KEY_SIZE], SEPARATOR)) {
338340 case a: Int =>
339341 a
340342 case _ =>
341343 0
342344 }
343345
344346
345347 func _saveWavesEventCallerIdxSize (callerChainId_,val_) = [IntegerEntry(makeString([KEY_WAVES_EVENT_CALLER, toString(callerChainId_), KEY_SIZE], SEPARATOR), val_)]
346348
347349
348350 func _loadWavesEventCallerIdx (callerChainId_,idx_) = match getInteger(makeString([KEY_WAVES_EVENT_CALLER, toString(callerChainId_), toString(idx_)], SEPARATOR)) {
349351 case a: Int =>
350352 a
351353 case _ =>
352354 0
353355 }
354356
355357
356358 func _saveWavesEventCallerIdx (callerChainId_,idx_,val_) = [IntegerEntry(makeString([KEY_WAVES_EVENT_CALLER, toString(callerChainId_), toString(idx_)], SEPARATOR), val_)]
357359
358360
359361 func _loadEVMEventCallerIdxSize (callerChainId_) = match getInteger(makeString([KEY_EVM_EVENT_CALLER, toString(callerChainId_), KEY_SIZE], SEPARATOR)) {
360362 case a: Int =>
361363 a
362364 case _ =>
363365 0
364366 }
365367
366368
367369 func _saveEVMEventCallerIdxSize (callerChainId_,val_) = [IntegerEntry(makeString([KEY_EVM_EVENT_CALLER, toString(callerChainId_), KEY_SIZE], SEPARATOR), val_)]
368370
369371
370372 func _loadEVMEventCallerIdx (callerChainId_,idx_) = match getInteger(makeString([KEY_EVM_EVENT_CALLER, toString(callerChainId_), toString(idx_)], SEPARATOR)) {
371373 case a: Int =>
372374 a
373375 case _ =>
374376 0
375377 }
376378
377379
378380 func _saveEVMEventCallerIdx (callerChainId_,idx_,val_) = [IntegerEntry(makeString([KEY_EVM_EVENT_CALLER, toString(callerChainId_), toString(idx_)], SEPARATOR), val_)]
379381
380382
381383 func _loadWavesEventExecutorIdxSize (executionChainId_) = match getInteger(makeString([KEY_WAVES_EVENT_EXECUTOR, toString(executionChainId_), KEY_SIZE], SEPARATOR)) {
382384 case a: Int =>
383385 a
384386 case _ =>
385387 0
386388 }
387389
388390
389391 func _saveWavesEventExecutorIdxSize (executionChainId_,val_) = [IntegerEntry(makeString([KEY_WAVES_EVENT_EXECUTOR, toString(executionChainId_), KEY_SIZE], SEPARATOR), val_)]
390392
391393
392394 func _loadWavesEventExecutorIdx (executionChainId_,idx_) = match getInteger(makeString([KEY_WAVES_EVENT_EXECUTOR, toString(executionChainId_), toString(idx_)], SEPARATOR)) {
393395 case a: Int =>
394396 a
395397 case _ =>
396398 0
397399 }
398400
399401
400402 func _saveWavesEventExecutorIdx (executionChainId_,idx_,val_) = [IntegerEntry(makeString([KEY_WAVES_EVENT_EXECUTOR, toString(executionChainId_), toString(idx_)], SEPARATOR), val_)]
401403
402404
403405 func _loadEVMEventExecutorIdxSize (executionChainId_) = match getInteger(makeString([KEY_EVM_EVENT_EXECUTOR, toString(executionChainId_), KEY_SIZE], SEPARATOR)) {
404406 case a: Int =>
405407 a
406408 case _ =>
407409 0
408410 }
409411
410412
411413 func _saveEVMEventExecutorIdxSize (executionChainId_,val_) = [IntegerEntry(makeString([KEY_EVM_EVENT_EXECUTOR, toString(executionChainId_), KEY_SIZE], SEPARATOR), val_)]
412414
413415
414416 func _loadEVMEventExecutorIdx (executionChainId_,idx_) = match getInteger(makeString([KEY_EVM_EVENT_EXECUTOR, toString(executionChainId_), toString(idx_)], SEPARATOR)) {
415417 case a: Int =>
416418 a
417419 case _ =>
418420 0
419421 }
420422
421423
422424 func _saveEVMEventExecutorIdx (executionChainId_,idx_,val_) = [IntegerEntry(makeString([KEY_EVM_EVENT_EXECUTOR, toString(executionChainId_), toString(idx_)], SEPARATOR), val_)]
423425
424426
425427 func _loadWitnesses (callerChainId_,epoch_) = match getString(makeString([KEY_WITNESSES_PER_EPOCH, toString(callerChainId_), toString(epoch_)], SEPARATOR)) {
426428 case a: String =>
427429 if ((size(a) > 0))
428430 then split(a, SEPARATOR)
429431 else nil
430432 case _ =>
431433 nil
432434 }
433435
434436
435437 func _saveWitnesses (callerChainId_,epoch_,witnesses_) = [StringEntry(makeString([KEY_WITNESSES_PER_EPOCH, toString(callerChainId_), toString(epoch_)], SEPARATOR), makeString(witnesses_, SEPARATOR))]
436438
437439
438440 func _loadRewardTokenAddress () = match getString(KEY_REWARD_TOKEN_ADDRESS) {
439441 case a: String =>
440442 addressFromStringValue(a)
441443 case _ =>
442444 Address(base58'')
443445 }
444446
445447
446448 func _saveRewardTokenAddress (val_) = [StringEntry(KEY_REWARD_TOKEN_ADDRESS, toString(val_))]
447449
448450
449451 func _loadRewardAmount () = match getInteger(KEY_REWARD_AMOUNT) {
450452 case a: Int =>
451453 a
452454 case _ =>
453455 0
454456 }
455457
456458
457459 func _saveRewardAmount (val_) = [IntegerEntry(KEY_REWARD_AMOUNT, val_)]
458460
459461
460462 func _onlyThisContract (caller_) = if ((caller_ != this))
461463 then throw("_onlyThisContract: revert")
462464 else true
463465
464466
465467 func _whenMultisigSet () = if ((_loadMultisig() == Address(base58'')))
466468 then throw("_whenMultisigSet: revert")
467469 else true
468470
469471
470472 func _whenNotInitialized () = if (_loadInit())
471473 then throw("_whenNotInitialized: revert")
472474 else true
473475
474476
475477 func _whenInitialized () = if (!(_loadInit()))
476478 then throw("_whenInitialized: revert")
477479 else true
478480
479481
480482 func _isActiveWitness (publicKey_,publicKeys_,err_) = if (!(containsElement(publicKeys_, publicKey_)))
481483 then throw(err_)
482484 else true
483485
484486
485487 func _notConfirmedWavesEvent (eventHash_,err_) = if ((_loadWavesEventStatus(eventHash_) > EVENT_STATUS_PROCESSING))
486488 then throw(err_)
487489 else true
488490
489491
490492 func _notConfirmedEVMEvent (eventHash_,err_) = if ((_loadEVMEventStatus(eventHash_) > EVENT_STATUS_PROCESSING))
491493 then throw(err_)
492494 else true
493495
494496
495497 func _wavesEventNotExist (eventHash_,err_) = if ((_loadWavesEventStatus(eventHash_) != 0))
496498 then throw(err_)
497499 else true
498500
499501
500502 func _evmEventNotExist (eventHash_,err_) = if ((_loadEVMEventStatus(eventHash_) != 0))
501503 then throw(err_)
502504 else true
503505
504506
505507 func _notPublishedWavesEventByWitness (publicKey_,eventId_,err_) = if ((_loadPublishedWavesEventByWitness(publicKey_, eventId_) != 0))
506508 then throw(err_)
507509 else true
508510
509511
510512 func _notPublishedEVMEventByWitness (publicKey_,eventId_,err_) = if ((_loadPublishedEVMEventByWitness(publicKey_, eventId_) > 0))
511513 then throw(err_)
512514 else true
513515
514516
515517 func _isQuorumReached (confirmations_,total_,witnessSize_) = if (if ((confirmations_ > (witnessSize_ / 2)))
516518 then true
517519 else ((total_ - confirmations_) > (witnessSize_ / 2)))
518520 then true
519521 else false
520522
521523
522524 func _getEventStatus (confirmations_,total_,witnessSize_) = if ((confirmations_ > (witnessSize_ / 2)))
523525 then EVENT_STATUS_CONFIRMED
524526 else if (((total_ - confirmations_) > (witnessSize_ / 2)))
525527 then EVENT_STATUS_REJECTED
526528 else EVENT_STATUS_PROCESSING
527529
528530
529531 func _calcWavesEventHash (event_) = {
530532 let eventBytes = (((((((toBytes(event_._1) + toBytes(event_._2)) + toBytes(event_._3)) + toBytes(event_._4)) + toBytes(event_._5)) + toBytes(makeString(event_._6, ARGS_SEPARATOR))) + toBytes(event_._7)) + toBytes(event_._8))
531533 toBase58String(keccak256_16Kb(eventBytes))
532534 }
533535
534536
535537 func _calcEVMEventHash (event_) = {
536538 let eventBytes = ((((((toBytes(event_._1) + toBytes(event_._2)) + toBytes(event_._3)) + toBytes(event_._4)) + toBytes(event_._5)) + toBytes(event_._6)) + toBytes(event_._7))
537539 toBase58String(keccak256_16Kb(eventBytes))
538540 }
539541
540542
541543 func _setWavesEventHash (event_,hash_) = $Tuple13(event_._1, event_._2, event_._3, event_._4, event_._5, event_._6, event_._7, event_._8, hash_, event_._10, event_._11, event_._12, event_._13)
542544
543545
544546 func _setEVMEventHash (event_,hash_) = $Tuple12(event_._1, event_._2, event_._3, event_._4, event_._5, event_._6, event_._7, hash_, event_._9, event_._10, event_._11, event_._12)
545547
546548
547549 func _setWavesEventConfirmations (event_,confirmations_,total_) = $Tuple13(event_._1, event_._2, event_._3, event_._4, event_._5, event_._6, event_._7, event_._8, event_._9, confirmations_, total_, event_._12, event_._13)
548550
549551
550552 func _setEVMEventConfirmations (event_,confirmations_,total_) = $Tuple12(event_._1, event_._2, event_._3, event_._4, event_._5, event_._6, event_._7, event_._8, confirmations_, total_, event_._11, event_._12)
551553
552554
553555 @Callable(i)
554556 func init (proxySecDepoPerEvent_,rewardTokenAddress_,rewardAmount_) = {
555557 let err = if (if (if (if (if (_onlyThisContract(i.caller))
556558 then _whenNotInitialized()
557559 else false)
558560 then _whenMultisigSet()
559561 else false)
560562 then _validateInt(proxySecDepoPerEvent_, 0, MAX_INT, "init: invalid proxySecDepoPerEvent")
561563 else false)
562564 then _validateAddress(rewardTokenAddress_, "init: invalid rewardTokenAddress")
563565 else false)
564566 then _validateInt(rewardAmount_, 0, MAX_INT, "init: invalid rewardAmount")
565567 else false
566568 if ((err == err))
567569 then $Tuple2((((_saveInit(true) ++ _saveProxySecDepoPerEvent(proxySecDepoPerEvent_)) ++ _saveRewardTokenAddress(addressFromStringValue(rewardTokenAddress_))) ++ _saveRewardAmount(rewardAmount_)), unit)
568570 else throw("Strict value is not equal to itself.")
569571 }
570572
571573
572574
573575 @Callable(i)
574576 func setActiveWitnesses (callerChainId_,witnesses_) = {
575577 let err = if (if (_onlyThisContract(i.caller))
576578 then _whenInitialized()
577579 else false)
578580 then _validatePublicKeys(witnesses_, "setActiveWitnesses: invalid witnesses")
579581 else false
580582 if ((err == err))
581583 then {
582584 let epoch = _loadCurrentEpoch(callerChainId_)
583585 $Tuple2((_saveCurrentEpoch(callerChainId_, (epoch + 1)) ++ _saveWitnesses(callerChainId_, (epoch + 1), witnesses_)), unit)
584586 }
585587 else throw("Strict value is not equal to itself.")
586588 }
587589
588590
589591
590592 @Callable(i)
591593 func submitWavesCallEvent (callerChainId_,executionChainId_,nonce_,executionContract_,functionName_,args_,txHash_,blockNumber_) = {
592594 let err = if (if (if (if (if (if (if (_validateInt(callerChainId_, 0, MAX_INT, "submitWavesCallEvent: invalid callerChainId"))
593595 then _validateInt(executionChainId_, 0, MAX_INT, "submitWavesCallEvent: invalid executionChainId")
594596 else false)
595597 then _validateInt(nonce_, 0, MAX_INT, "submitWavesCallEvent: invalid nonce")
596598 else false)
597599 then _validateString(executionContract_, "submitWavesCallEvent: invalid executionContract")
598600 else false)
599601 then _validateString(functionName_, "submitWavesCallEvent: invalid functionName")
600602 else false)
601603 then _validateArgs(args_, "submitWavesCallEvent: invalid args")
602604 else false)
603605 then _validateString(txHash_, "submitWavesCallEvent: invalid txHash")
604606 else false)
605607 then _validateInt(blockNumber_, 0, MAX_INT, "submitWavesCallEvent: invalid blockNumber")
606608 else false
607609 if ((err == err))
608610 then {
609611 let proxySecDepo = _loadProxySecDepo(i.caller)
610612 let proxySecDepoPerEvent = _loadProxySecDepoPerEvent()
611613 let proxySecDepoUpdated = (proxySecDepo - proxySecDepoPerEvent)
612614 let event = $Tuple13(callerChainId_, executionChainId_, nonce_, executionContract_, functionName_, args_, txHash_, blockNumber_, "", 0, 0, proxySecDepoPerEvent, i.caller)
613615 let eventSize = _loadWavesEventSize()
614616 let eventHash = _calcWavesEventHash(event)
615617 let eventUpdated = _setWavesEventHash(event, eventHash)
616618 let err1 = if (_wavesEventNotExist(eventHash, "submitWavesCallEvent: already exists"))
617619 then _validateInt(proxySecDepoUpdated, 0, MAX_INT, "submitWavesCallEvent: no security deposit")
618620 else false
619621 if ((err1 == err1))
620622 then {
621623 let callerIdxSize = _loadWavesEventCallerIdxSize(callerChainId_)
622624 $Tuple2((((((_saveProxySecDepo(i.caller, proxySecDepoUpdated) ++ _saveWavesEvent(eventSize, eventUpdated)) ++ _saveWavesEventStatus(eventHash, EVENT_STATUS_PROCESSING)) ++ _saveWavesEventSize((eventSize + 1))) ++ _saveWavesEventCallerIdx(callerChainId_, callerIdxSize, eventSize)) ++ _saveWavesEventCallerIdxSize(callerChainId_, (callerIdxSize + 1))), unit)
623625 }
624626 else throw("Strict value is not equal to itself.")
625627 }
626628 else throw("Strict value is not equal to itself.")
627629 }
628630
629631
630632
631633 @Callable(i)
632634 func submitEVMCallEvent (callerChainId_,executionChainId_,nonce_,executionContract_,calldata_,txHash_,blockNumber_) = {
633635 let err = if (if (if (if (if (if (_validateInt(callerChainId_, 0, MAX_INT, "submitEVMCallEvent: invalid callerChainId"))
634636 then _validateInt(executionChainId_, 0, MAX_INT, "submitEVMCallEvent: invalid executionChainId")
635637 else false)
636638 then _validateInt(nonce_, 0, MAX_INT, "submitEVMCallEvent: invalid nonce")
637639 else false)
638640 then _validateString(executionContract_, "submitEVMCallEvent: invalid executionContract")
639641 else false)
640642 then _validateString(calldata_, "submitEVMCallEvent: invalid calldata")
641643 else false)
642644 then _validateString(txHash_, "submitEVMCallEvent: invalid txHash")
643645 else false)
644646 then _validateInt(blockNumber_, 0, MAX_INT, "submitEVMCallEvent: invalid blockNumber")
645647 else false
646648 if ((err == err))
647649 then {
648650 let proxySecDepo = _loadProxySecDepo(i.caller)
649651 let proxySecDepoPerEvent = _loadProxySecDepoPerEvent()
650652 let proxySecDepoUpdated = (proxySecDepo - proxySecDepoPerEvent)
651653 let event = $Tuple12(callerChainId_, executionChainId_, nonce_, executionContract_, calldata_, txHash_, blockNumber_, "", 0, 0, proxySecDepoPerEvent, i.caller)
652654 let eventSize = _loadEVMEventSize()
653655 let eventHash = _calcEVMEventHash(event)
654656 let eventUpdated = _setEVMEventHash(event, eventHash)
655657 let err1 = if (_evmEventNotExist(eventHash, "submitEVMCallEvent: already exists"))
656658 then _validateInt(proxySecDepoUpdated, 0, MAX_INT, "submitEVMCallEvent: no security deposit")
657659 else false
658660 if ((err1 == err1))
659661 then {
660662 let callerIdxSize = _loadEVMEventCallerIdxSize(callerChainId_)
661663 $Tuple2((((((_saveProxySecDepo(i.caller, proxySecDepoUpdated) ++ _saveEVMEvent(eventSize, eventUpdated)) ++ _saveEVMEventStatus(eventHash, EVENT_STATUS_PROCESSING)) ++ _saveEVMEventSize((eventSize + 1))) ++ _saveEVMEventCallerIdx(callerChainId_, callerIdxSize, eventSize)) ++ _saveEVMEventCallerIdxSize(callerChainId_, (callerIdxSize + 1))), unit)
662664 }
663665 else throw("Strict value is not equal to itself.")
664666 }
665667 else throw("Strict value is not equal to itself.")
666668 }
667669
668670
669671
670672 @Callable(i)
671673 func publishWavesEventStatus (eventIdx_,status_) = {
672674 let eventSize = _loadWavesEventSize()
673675 let callerPublicKey = toBase58String(i.callerPublicKey)
674676 let err = if (_validateEventIdx(eventIdx_, eventSize, "publishWavesEventStatus: invalid event idx"))
675677 then _validateEventStatus(status_, "publishWavesEventStatus: invalid status")
676678 else false
677679 if ((err == err))
678680 then {
679681 let event = _loadWavesEvent(eventIdx_)
680682 let callerChainId = event._1
681683 let executionChainId = event._2
682684 let eventHash = event._9
683685 let eventConfirmations = event._10
684686 let eventTotal = event._11
685687 let proxySecDepo = event._12
686688 let proxy = event._13
687689 let epoch = _loadCurrentEpoch(callerChainId)
688690 let activeWitnesses = _loadWitnesses(callerChainId, epoch)
689691 let err1 = if (if (_isActiveWitness(toBase58String(i.callerPublicKey), activeWitnesses, "publishWavesEventStatus: invalid caller"))
690692 then _notConfirmedWavesEvent(eventHash, "publishWavesEventStatus: event already confirmed")
691693 else false)
692694 then _notPublishedWavesEventByWitness(callerPublicKey, eventIdx_, "publishWavesEventStatus: already published")
693695 else false
694696 if ((err1 == err1))
695697 then {
696698 let eventUpdated = if ((status_ == EVENT_STATUS_CONFIRMED))
697699 then _setWavesEventConfirmations(event, (eventConfirmations + 1), (eventTotal + 1))
698700 else if ((status_ == EVENT_STATUS_REJECTED))
699701 then _setWavesEventConfirmations(event, eventConfirmations, (eventTotal + 1))
700702 else throw("publishWavesEventStatus: incorrect status")
701703 let executorIdxSize = _loadWavesEventExecutorIdxSize(executionChainId)
702704 let finalization = if (_isQuorumReached(eventUpdated._10, eventUpdated._11, size(activeWitnesses)))
703705 then {
704706 let status = _getEventStatus(eventUpdated._10, eventUpdated._11, size(activeWitnesses))
705707 let proxySecDepoUpdated = if ((status == EVENT_STATUS_CONFIRMED))
706708 then _saveProxySecDepo(proxy, (_loadProxySecDepo(proxy) + proxySecDepo))
707709 else if ((status == EVENT_STATUS_REJECTED))
708710 then [ScriptTransfer(_loadMultisig(), proxySecDepo, unit)]
709711 else nil
710712 let rewardAddresses = [toString(proxy), _publicKeysToAddrsStr(activeWitnesses)]
711713 let witnessesRewards = invoke(_loadRewardTokenAddress(), FUNC_MINT_MANY, [_loadRewardAmount(), rewardAddresses], nil)
712714 if ((witnessesRewards == witnessesRewards))
713715 then (((proxySecDepoUpdated ++ _saveWavesEventStatus(eventHash, status)) ++ _saveWavesEventExecutorIdx(executionChainId, executorIdxSize, eventIdx_)) ++ _saveWavesEventExecutorIdxSize(executionChainId, (executorIdxSize + 1)))
714716 else throw("Strict value is not equal to itself.")
715717 }
716718 else nil
717719 $Tuple2(((_saveWavesEvent(eventIdx_, eventUpdated) ++ _savePublishedWavesEventByWitness(callerPublicKey, eventIdx_, status_)) ++ finalization), unit)
718720 }
719721 else throw("Strict value is not equal to itself.")
720722 }
721723 else throw("Strict value is not equal to itself.")
722724 }
723725
724726
725727
726728 @Callable(i)
727729 func publishEVMEventStatus (eventIdx_,status_) = {
728730 let eventSize = _loadEVMEventSize()
729731 let callerPublicKey = toBase58String(i.callerPublicKey)
730732 let err = if (_validateEventIdx(eventIdx_, eventSize, "publishEVMEventStatus: invalid event idx"))
731733 then _validateEventStatus(status_, "publishEVMEventStatus: invalid status")
732734 else false
733735 if ((err == err))
734736 then {
735737 let event = _loadEVMEvent(eventIdx_)
736738 let callerChainId = event._1
737739 let executionChainId = event._2
738740 let eventHash = event._8
739741 let eventConfirmations = event._9
740742 let eventTotal = event._10
741743 let proxySecDepo = event._11
742744 let proxy = event._12
743745 let epoch = _loadCurrentEpoch(callerChainId)
744746 let activeWitnesses = _loadWitnesses(callerChainId, epoch)
745747 let err1 = if (if (_isActiveWitness(toBase58String(i.callerPublicKey), activeWitnesses, "publishEVMEventStatus: invalid caller"))
746748 then _notConfirmedEVMEvent(eventHash, "publishEVMEventStatus: event already confirmed")
747749 else false)
748750 then _notPublishedEVMEventByWitness(callerPublicKey, eventIdx_, "publishEVMEventStatus: already published")
749751 else false
750752 if ((err1 == err1))
751753 then {
752754 let eventUpdated = if ((status_ == EVENT_STATUS_CONFIRMED))
753755 then _setEVMEventConfirmations(event, (eventConfirmations + 1), (eventTotal + 1))
754756 else if ((status_ == EVENT_STATUS_REJECTED))
755757 then _setEVMEventConfirmations(event, eventConfirmations, (eventTotal + 1))
756758 else throw("publishEVMEventStatus: incorrect status")
757759 let executorIdxSize = _loadEVMEventExecutorIdxSize(executionChainId)
758760 let finalization = if (_isQuorumReached(eventUpdated._9, eventUpdated._10, size(activeWitnesses)))
759761 then {
760762 let status = _getEventStatus(eventUpdated._9, eventUpdated._10, size(activeWitnesses))
761763 let proxySecDepoUpdated = if ((status == EVENT_STATUS_CONFIRMED))
762764 then _saveProxySecDepo(proxy, (_loadProxySecDepo(proxy) + proxySecDepo))
763765 else if ((status == EVENT_STATUS_REJECTED))
764766 then [ScriptTransfer(_loadMultisig(), proxySecDepo, unit)]
765767 else nil
766768 let rewardAddresses = [toString(proxy), _publicKeysToAddrsStr(activeWitnesses)]
767769 let witnessesRewards = invoke(_loadRewardTokenAddress(), FUNC_MINT_MANY, [_loadRewardAmount(), rewardAddresses], nil)
768770 if ((witnessesRewards == witnessesRewards))
769771 then (((proxySecDepoUpdated ++ _saveEVMEventStatus(eventHash, status)) ++ _saveEVMEventExecutorIdx(executionChainId, executorIdxSize, eventIdx_)) ++ _saveEVMEventExecutorIdxSize(executionChainId, (executorIdxSize + 1)))
770772 else throw("Strict value is not equal to itself.")
771773 }
772774 else nil
773775 $Tuple2(((_saveEVMEvent(eventIdx_, eventUpdated) ++ _savePublishedEVMEventByWitness(callerPublicKey, eventIdx_, status_)) ++ finalization), unit)
774776 }
775777 else throw("Strict value is not equal to itself.")
776778 }
777779 else throw("Strict value is not equal to itself.")
778780 }
779781
780782
781783
782784 @Callable(i)
783785 func addProxySecurityDeposit (recipient_) = {
784786 let recipient = if ((recipient_ == ""))
785787 then toString(i.caller)
786788 else recipient_
787789 let err = if (if (_validateAddress(recipient, "addProxySecurityDeposit: invalid recipient"))
788790 then _validatePaymentsSize(i.payments, 1, "addProxySecurityDeposit: no payment")
789791 else false)
790792 then _validatePaymentAsset(i.payments[0], unit, "addProxySecurityDeposit: invalid asset")
791793 else false
792794 if ((err == err))
793795 then {
794796 let recipientAddr = addressFromStringValue(recipient)
795797 let balance = _loadProxySecDepo(recipientAddr)
796798 let updatedBalance = (balance + i.payments[0].amount)
797799 $Tuple2(_saveProxySecDepo(recipientAddr, updatedBalance), unit)
798800 }
799801 else throw("Strict value is not equal to itself.")
800802 }
801803
802804
803805
804806 @Callable(i)
805807 func subProxySecurityDeposit (amount_) = {
806808 let balance = _loadProxySecDepo(i.caller)
807809 if ((amount_ > balance))
808810 then throw("subProxySecurityDeposit: insufficient balance")
809811 else $Tuple2((_saveProxySecDepo(i.caller, (balance - amount_)) ++ [ScriptTransfer(i.caller, amount_, unit)]), unit)
810812 }
811813
812814
813815
814816 @Callable(i)
815817 func setMultisig (multisig_) = {
816818 let err = if (_onlyThisContract(i.caller))
817819 then _validateAddress(multisig_, "setMultisig: invalid multisig address")
818820 else false
819821 if ((err == err))
820822 then $Tuple2(_saveMultisig(addressFromStringValue(multisig_)), unit)
821823 else throw("Strict value is not equal to itself.")
822824 }
823825
824826
825827 @Verifier(tx)
826828 func verify () = match getString(KEY_MULTISIG) {
827829 case multisig: String =>
828830 valueOrElse(getBoolean(addressFromStringValue(multisig), makeString([KEY_STATUS, toString(this), toBase58String(tx.id)], SEPARATOR)), false)
829831 case _ =>
830832 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
831833 }
832834

github/deemru/w8io/026f985 
108.19 ms