tx · H1mjqckmKyrqNXCaVZFEXpZBtXKQzEem4PxyDvH9b3VV

3N33NL4BGxFEEiXKgnENVRDiE3RwkYmaNmS:  -0.02600000 Waves

2023.03.14 17:40 [2489850] smart account 3N33NL4BGxFEEiXKgnENVRDiE3RwkYmaNmS > SELF 0.00000000 Waves

{ "type": 13, "id": "H1mjqckmKyrqNXCaVZFEXpZBtXKQzEem4PxyDvH9b3VV", "fee": 2600000, "feeAssetId": null, "timestamp": 1678804796704, "version": 2, "chainId": 84, "sender": "3N33NL4BGxFEEiXKgnENVRDiE3RwkYmaNmS", "senderPublicKey": "FeKA4QnfyZ9Q6eep2FDJEZxFr8cn1tbStnN5SJeEnPaB", "proofs": [ "3VfrE1GBC9oGBb3DawSfQD3ojrot1puJEtifvutZhgeXiPJ3rEtN98B8B5kLGuBfD53MWWibcChFxMwbNpsXM6pk" ], "script": "base64:BgJBCAISBQoDAQgBEgQKAgEYEgoKCAEBAQgIGAgBEgkKBwEBAQgICAESBAoCAQESBAoCAQESAwoBCBIDCgEBEgMKAQhtAAlTRVBBUkFUT1ICAl9fAA5BUkdTX1NFUEFSQVRPUgIEIyMjIwAIS0VZX0lOSVQCBElOSVQADEtFWV9NVUxUSVNJRwIITVVMVElTSUcACktFWV9TVEFUVVMCBlNUQVRVUwASS0VZX1BST1hZX1NFQ19ERVBPAhZQUk9YWV9TRUNVUklUWV9ERVBPU0lUABxLRVlfUFJPWFlfU0VDX0RFUE9fUEVSX0VWRU5UAiBQUk9YWV9TRUNVUklUWV9ERVBPU0lUX1BFUl9FVkVOVAAPS0VZX1dBVkVTX0VWRU5UAgtXQVZFU19FVkVOVAANS0VZX0VWTV9FVkVOVAIJRVZNX0VWRU5UABRLRVlfV0FWRVNfRVZFTlRfU0laRQIQV0FWRVNfRVZFTlRfU0laRQASS0VZX0VWTV9FVkVOVF9TSVpFAg5FVk1fRVZFTlRfU0laRQAWS0VZX1dBVkVTX0VWRU5UX1NUQVRVUwISV0FWRVNfRVZFTlRfU1R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fBQR1bml0CQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAQJ0eAEGdmVyaWZ5AAQHJG1hdGNoMAkAoggBBQxLRVlfTVVMVElTSUcDCQABAgUHJG1hdGNoMAIGU3RyaW5nBAhtdWx0aXNpZwUHJG1hdGNoMAkBC3ZhbHVlT3JFbHNlAgkAmwgCCQERQGV4dHJOYXRpdmUoMTA2MikBBQhtdWx0aXNpZwkAuQkCCQDMCAIFCktFWV9TVEFUVVMJAMwIAgkApQgBBQR0aGlzCQDMCAIJANgEAQgFAnR4AmlkBQNuaWwFCVNFUEFSQVRPUgcJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXl4r1Q3", "height": 2489850, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CG6cP2wjJj2LqbJ4j1LGicUVXcb67RDSdd9odKuaniWc Next: CpNGFhzrVbyxptEKiGTTSUTuCn6ug1F4bRRDgyqq6jq7 Diff:
OldNewDifferences
8282 else true
8383
8484
85-func _validateString (val_,err_) = if ((0 >= size(val_)))
85+func _validateString (val_,err_) = if (if ((0 >= size(val_)))
86+ then true
87+ else contains(val_, SEPARATOR))
8688 then throw(err_)
8789 else true
90+
91+
92+func _validateArgString (val_,err_) = if (contains(val_, ARGS_SEPARATOR))
93+ then throw(err_)
94+ else _validateString(val_, err_)
95+
96+
97+func _validateArgs (args_,err_) = if ((size(args_) > 22))
98+ then throw(err_)
99+ else {
100+ func foldFunc (acc,elem) = $Tuple2(if (acc._1)
101+ then _validateArgString(elem, acc._2)
102+ else false, acc._2)
103+
104+ let result = {
105+ let $l = args_
106+ let $s = size($l)
107+ let $acc0 = $Tuple2(true, err_)
108+ func $f0_1 ($a,$i) = if (($i >= $s))
109+ then $a
110+ else foldFunc($a, $l[$i])
111+
112+ func $f0_2 ($a,$i) = if (($i >= $s))
113+ then $a
114+ else throw("List size exceeds 22")
115+
116+ $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)
117+ }
118+ result._1
119+ }
88120
89121
90122 func _validatePaymentsSize (payments_,target_,err_) = if ((size(payments_) != target_))
557589
558590 @Callable(i)
559591 func submitWavesCallEvent (callerChainId_,executionChainId_,nonce_,executionContract_,functionName_,args_,txHash_,blockNumber_) = {
560- let err = if (if (if (if (if (if (_validateInt(callerChainId_, 0, MAX_INT, "submitWavesCallEvent: invalid callerChainId"))
592+ let err = if (if (if (if (if (if (if (_validateInt(callerChainId_, 0, MAX_INT, "submitWavesCallEvent: invalid callerChainId"))
561593 then _validateInt(executionChainId_, 0, MAX_INT, "submitWavesCallEvent: invalid executionChainId")
562594 else false)
563595 then _validateInt(nonce_, 0, MAX_INT, "submitWavesCallEvent: invalid nonce")
565597 then _validateString(executionContract_, "submitWavesCallEvent: invalid executionContract")
566598 else false)
567599 then _validateString(functionName_, "submitWavesCallEvent: invalid functionName")
600+ else false)
601+ then _validateArgs(args_, "submitWavesCallEvent: invalid args")
568602 else false)
569603 then _validateString(txHash_, "submitWavesCallEvent: invalid txHash")
570604 else false)
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
85-func _validateString (val_,err_) = if ((0 >= size(val_)))
85+func _validateString (val_,err_) = if (if ((0 >= size(val_)))
86+ then true
87+ else contains(val_, SEPARATOR))
8688 then throw(err_)
8789 else true
90+
91+
92+func _validateArgString (val_,err_) = if (contains(val_, ARGS_SEPARATOR))
93+ then throw(err_)
94+ else _validateString(val_, err_)
95+
96+
97+func _validateArgs (args_,err_) = if ((size(args_) > 22))
98+ then throw(err_)
99+ else {
100+ func foldFunc (acc,elem) = $Tuple2(if (acc._1)
101+ then _validateArgString(elem, acc._2)
102+ else false, acc._2)
103+
104+ let result = {
105+ let $l = args_
106+ let $s = size($l)
107+ let $acc0 = $Tuple2(true, err_)
108+ func $f0_1 ($a,$i) = if (($i >= $s))
109+ then $a
110+ else foldFunc($a, $l[$i])
111+
112+ func $f0_2 ($a,$i) = if (($i >= $s))
113+ then $a
114+ else throw("List size exceeds 22")
115+
116+ $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)
117+ }
118+ result._1
119+ }
88120
89121
90122 func _validatePaymentsSize (payments_,target_,err_) = if ((size(payments_) != target_))
91123 then throw(err_)
92124 else true
93125
94126
95127 func _validatePaymentAsset (payment_,asset_,err_) = if ((payment_.assetId != asset_))
96128 then throw(err_)
97129 else true
98130
99131
100132 func _validateEventIdx (val_,max_,err_) = if (if ((0 > val_))
101133 then true
102134 else (val_ >= max_))
103135 then throw(err_)
104136 else true
105137
106138
107139 func _validateEventStatus (val_,err_) = if (if ((EVENT_STATUS_PROCESSING > val_))
108140 then true
109141 else (val_ > EVENT_STATUS_REJECTED))
110142 then throw(err_)
111143 else true
112144
113145
114146 func _validatePublicKey (publicKey_,err_) = if ((size(fromBase58String(publicKey_)) != 32))
115147 then throw(err_)
116148 else true
117149
118150
119151 func _validatePublicKeys (publicKeys_,err_) = {
120152 func foldFunc (acc,elem) = $Tuple2(if (acc._1)
121153 then _validatePublicKey(elem, acc._2)
122154 else false, acc._2)
123155
124156 let result = {
125157 let $l = publicKeys_
126158 let $s = size($l)
127159 let $acc0 = $Tuple2(true, err_)
128160 func $f0_1 ($a,$i) = if (($i >= $s))
129161 then $a
130162 else foldFunc($a, $l[$i])
131163
132164 func $f0_2 ($a,$i) = if (($i >= $s))
133165 then $a
134166 else throw("List size exceeds 10")
135167
136168 $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)
137169 }
138170 result._1
139171 }
140172
141173
142174 func _publicKeysToAddrsStr (publicKeys_) = {
143175 func foldfunc (acc_,elem_) = (acc_ :+ toString(addressFromPublicKey(fromBase58String(elem_))))
144176
145177 let $l = publicKeys_
146178 let $s = size($l)
147179 let $acc0 = nil
148180 func $f0_1 ($a,$i) = if (($i >= $s))
149181 then $a
150182 else foldfunc($a, $l[$i])
151183
152184 func $f0_2 ($a,$i) = if (($i >= $s))
153185 then $a
154186 else throw("List size exceeds 51")
155187
156188 $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)
157189 }
158190
159191
160192 func _loadInit () = match getBoolean(KEY_INIT) {
161193 case a: Boolean =>
162194 a
163195 case _ =>
164196 false
165197 }
166198
167199
168200 func _saveInit (isInit_) = [BooleanEntry(KEY_INIT, isInit_)]
169201
170202
171203 func _loadMultisig () = match getString(KEY_MULTISIG) {
172204 case a: String =>
173205 addressFromStringValue(a)
174206 case _ =>
175207 Address(base58'')
176208 }
177209
178210
179211 func _saveMultisig (multisig_) = [StringEntry(KEY_MULTISIG, toString(multisig_))]
180212
181213
182214 func _loadProxySecDepo (account_) = match getInteger(makeString([KEY_PROXY_SEC_DEPO, toString(account_)], SEPARATOR)) {
183215 case a: Int =>
184216 a
185217 case _ =>
186218 0
187219 }
188220
189221
190222 func _saveProxySecDepo (account_,val_) = [IntegerEntry(makeString([KEY_PROXY_SEC_DEPO, toString(account_)], SEPARATOR), val_)]
191223
192224
193225 func _loadProxySecDepoPerEvent () = match getInteger(KEY_PROXY_SEC_DEPO_PER_EVENT) {
194226 case a: Int =>
195227 a
196228 case _ =>
197229 0
198230 }
199231
200232
201233 func _saveProxySecDepoPerEvent (val_) = [IntegerEntry(KEY_PROXY_SEC_DEPO_PER_EVENT, val_)]
202234
203235
204236 func _loadWavesEventSize () = match getInteger(KEY_WAVES_EVENT_SIZE) {
205237 case a: Int =>
206238 a
207239 case _ =>
208240 0
209241 }
210242
211243
212244 func _saveWavesEventSize (val_) = [IntegerEntry(KEY_WAVES_EVENT_SIZE, val_)]
213245
214246
215247 func _loadEVMEventSize () = match getInteger(KEY_EVM_EVENT_SIZE) {
216248 case a: Int =>
217249 a
218250 case _ =>
219251 0
220252 }
221253
222254
223255 func _saveEVMEventSize (val_) = [IntegerEntry(KEY_EVM_EVENT_SIZE, val_)]
224256
225257
226258 func _loadWavesEvent (index_) = match getString(makeString([KEY_WAVES_EVENT, toString(index_)], SEPARATOR)) {
227259 case a: String =>
228260 let struct = split(a, SEPARATOR)
229261 $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]))
230262 case _ =>
231263 $Tuple13(0, 0, 0, "", "", nil, "", 0, "", 0, 0, 0, Address(base58''))
232264 }
233265
234266
235267 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))]
236268
237269
238270 func _loadEVMEvent (index_) = match getString(makeString([KEY_EVM_EVENT, toString(index_)], SEPARATOR)) {
239271 case a: String =>
240272 let struct = split(a, SEPARATOR)
241273 $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]))
242274 case _ =>
243275 $Tuple12(0, 0, 0, "", "", "", 0, "", 0, 0, 0, Address(base58''))
244276 }
245277
246278
247279 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))]
248280
249281
250282 func _loadWavesEventStatus (eventHash_) = match getInteger(makeString([KEY_WAVES_EVENT_STATUS, eventHash_], SEPARATOR)) {
251283 case a: Int =>
252284 a
253285 case _ =>
254286 0
255287 }
256288
257289
258290 func _saveWavesEventStatus (eventHash_,status_) = [IntegerEntry(makeString([KEY_WAVES_EVENT_STATUS, eventHash_], SEPARATOR), status_)]
259291
260292
261293 func _loadEVMEventStatus (eventHash_) = match getInteger(makeString([KEY_EVM_EVENT_STATUS, eventHash_], SEPARATOR)) {
262294 case a: Int =>
263295 a
264296 case _ =>
265297 0
266298 }
267299
268300
269301 func _saveEVMEventStatus (eventHash_,status_) = [IntegerEntry(makeString([KEY_EVM_EVENT_STATUS, eventHash_], SEPARATOR), status_)]
270302
271303
272304 func _loadPublishedWavesEventByWitness (publicKey_,eventId_) = match getInteger(makeString([KEY_WAVES_EVENT_PUBLISHED, publicKey_, toString(eventId_)], SEPARATOR)) {
273305 case a: Int =>
274306 a
275307 case _ =>
276308 0
277309 }
278310
279311
280312 func _savePublishedWavesEventByWitness (publicKey_,eventId_,val_) = [IntegerEntry(makeString([KEY_WAVES_EVENT_PUBLISHED, publicKey_, toString(eventId_)], SEPARATOR), val_)]
281313
282314
283315 func _loadPublishedEVMEventByWitness (publicKey_,eventId_) = match getInteger(makeString([KEY_EVM_EVENT_PUBLISHED, publicKey_, toString(eventId_)], SEPARATOR)) {
284316 case a: Int =>
285317 a
286318 case _ =>
287319 0
288320 }
289321
290322
291323 func _savePublishedEVMEventByWitness (publicKey_,eventId_,val_) = [IntegerEntry(makeString([KEY_EVM_EVENT_PUBLISHED, publicKey_, toString(eventId_)], SEPARATOR), val_)]
292324
293325
294326 func _loadCurrentEpoch (callerChainId_) = match getInteger(makeString([KEY_CURRENT_EPOCH, toString(callerChainId_)], SEPARATOR)) {
295327 case a: Int =>
296328 a
297329 case _ =>
298330 0
299331 }
300332
301333
302334 func _saveCurrentEpoch (callerChainId_,val_) = [IntegerEntry(makeString([KEY_CURRENT_EPOCH, toString(callerChainId_)], SEPARATOR), val_)]
303335
304336
305337 func _loadWavesEventCallerIdxSize (callerChainId_) = match getInteger(makeString([KEY_WAVES_EVENT_CALLER, toString(callerChainId_), KEY_SIZE], SEPARATOR)) {
306338 case a: Int =>
307339 a
308340 case _ =>
309341 0
310342 }
311343
312344
313345 func _saveWavesEventCallerIdxSize (callerChainId_,val_) = [IntegerEntry(makeString([KEY_WAVES_EVENT_CALLER, toString(callerChainId_), KEY_SIZE], SEPARATOR), val_)]
314346
315347
316348 func _loadWavesEventCallerIdx (callerChainId_,idx_) = match getInteger(makeString([KEY_WAVES_EVENT_CALLER, toString(callerChainId_), toString(idx_)], SEPARATOR)) {
317349 case a: Int =>
318350 a
319351 case _ =>
320352 0
321353 }
322354
323355
324356 func _saveWavesEventCallerIdx (callerChainId_,idx_,val_) = [IntegerEntry(makeString([KEY_WAVES_EVENT_CALLER, toString(callerChainId_), toString(idx_)], SEPARATOR), val_)]
325357
326358
327359 func _loadEVMEventCallerIdxSize (callerChainId_) = match getInteger(makeString([KEY_EVM_EVENT_CALLER, toString(callerChainId_), KEY_SIZE], SEPARATOR)) {
328360 case a: Int =>
329361 a
330362 case _ =>
331363 0
332364 }
333365
334366
335367 func _saveEVMEventCallerIdxSize (callerChainId_,val_) = [IntegerEntry(makeString([KEY_EVM_EVENT_CALLER, toString(callerChainId_), KEY_SIZE], SEPARATOR), val_)]
336368
337369
338370 func _loadEVMEventCallerIdx (callerChainId_,idx_) = match getInteger(makeString([KEY_EVM_EVENT_CALLER, toString(callerChainId_), toString(idx_)], SEPARATOR)) {
339371 case a: Int =>
340372 a
341373 case _ =>
342374 0
343375 }
344376
345377
346378 func _saveEVMEventCallerIdx (callerChainId_,idx_,val_) = [IntegerEntry(makeString([KEY_EVM_EVENT_CALLER, toString(callerChainId_), toString(idx_)], SEPARATOR), val_)]
347379
348380
349381 func _loadWavesEventExecutorIdxSize (executionChainId_) = match getInteger(makeString([KEY_WAVES_EVENT_EXECUTOR, toString(executionChainId_), KEY_SIZE], SEPARATOR)) {
350382 case a: Int =>
351383 a
352384 case _ =>
353385 0
354386 }
355387
356388
357389 func _saveWavesEventExecutorIdxSize (executionChainId_,val_) = [IntegerEntry(makeString([KEY_WAVES_EVENT_EXECUTOR, toString(executionChainId_), KEY_SIZE], SEPARATOR), val_)]
358390
359391
360392 func _loadWavesEventExecutorIdx (executionChainId_,idx_) = match getInteger(makeString([KEY_WAVES_EVENT_EXECUTOR, toString(executionChainId_), toString(idx_)], SEPARATOR)) {
361393 case a: Int =>
362394 a
363395 case _ =>
364396 0
365397 }
366398
367399
368400 func _saveWavesEventExecutorIdx (executionChainId_,idx_,val_) = [IntegerEntry(makeString([KEY_WAVES_EVENT_EXECUTOR, toString(executionChainId_), toString(idx_)], SEPARATOR), val_)]
369401
370402
371403 func _loadEVMEventExecutorIdxSize (executionChainId_) = match getInteger(makeString([KEY_EVM_EVENT_EXECUTOR, toString(executionChainId_), KEY_SIZE], SEPARATOR)) {
372404 case a: Int =>
373405 a
374406 case _ =>
375407 0
376408 }
377409
378410
379411 func _saveEVMEventExecutorIdxSize (executionChainId_,val_) = [IntegerEntry(makeString([KEY_EVM_EVENT_EXECUTOR, toString(executionChainId_), KEY_SIZE], SEPARATOR), val_)]
380412
381413
382414 func _loadEVMEventExecutorIdx (executionChainId_,idx_) = match getInteger(makeString([KEY_EVM_EVENT_EXECUTOR, toString(executionChainId_), toString(idx_)], SEPARATOR)) {
383415 case a: Int =>
384416 a
385417 case _ =>
386418 0
387419 }
388420
389421
390422 func _saveEVMEventExecutorIdx (executionChainId_,idx_,val_) = [IntegerEntry(makeString([KEY_EVM_EVENT_EXECUTOR, toString(executionChainId_), toString(idx_)], SEPARATOR), val_)]
391423
392424
393425 func _loadWitnesses (callerChainId_,epoch_) = match getString(makeString([KEY_WITNESSES_PER_EPOCH, toString(callerChainId_), toString(epoch_)], SEPARATOR)) {
394426 case a: String =>
395427 if ((size(a) > 0))
396428 then split(a, SEPARATOR)
397429 else nil
398430 case _ =>
399431 nil
400432 }
401433
402434
403435 func _saveWitnesses (callerChainId_,epoch_,witnesses_) = [StringEntry(makeString([KEY_WITNESSES_PER_EPOCH, toString(callerChainId_), toString(epoch_)], SEPARATOR), makeString(witnesses_, SEPARATOR))]
404436
405437
406438 func _loadRewardTokenAddress () = match getString(KEY_REWARD_TOKEN_ADDRESS) {
407439 case a: String =>
408440 addressFromStringValue(a)
409441 case _ =>
410442 Address(base58'')
411443 }
412444
413445
414446 func _saveRewardTokenAddress (val_) = [StringEntry(KEY_REWARD_TOKEN_ADDRESS, toString(val_))]
415447
416448
417449 func _loadRewardAmount () = match getInteger(KEY_REWARD_AMOUNT) {
418450 case a: Int =>
419451 a
420452 case _ =>
421453 0
422454 }
423455
424456
425457 func _saveRewardAmount (val_) = [IntegerEntry(KEY_REWARD_AMOUNT, val_)]
426458
427459
428460 func _onlyThisContract (caller_) = if ((caller_ != this))
429461 then throw("_onlyThisContract: revert")
430462 else true
431463
432464
433465 func _whenMultisigSet () = if ((_loadMultisig() == Address(base58'')))
434466 then throw("_whenMultisigSet: revert")
435467 else true
436468
437469
438470 func _whenNotInitialized () = if (_loadInit())
439471 then throw("_whenNotInitialized: revert")
440472 else true
441473
442474
443475 func _whenInitialized () = if (!(_loadInit()))
444476 then throw("_whenInitialized: revert")
445477 else true
446478
447479
448480 func _isActiveWitness (publicKey_,publicKeys_,err_) = if (!(containsElement(publicKeys_, publicKey_)))
449481 then throw(err_)
450482 else true
451483
452484
453485 func _notConfirmedWavesEvent (eventHash_,err_) = if ((_loadWavesEventStatus(eventHash_) > EVENT_STATUS_PROCESSING))
454486 then throw(err_)
455487 else true
456488
457489
458490 func _notConfirmedEVMEvent (eventHash_,err_) = if ((_loadEVMEventStatus(eventHash_) > EVENT_STATUS_PROCESSING))
459491 then throw(err_)
460492 else true
461493
462494
463495 func _wavesEventNotExist (eventHash_,err_) = if ((_loadWavesEventStatus(eventHash_) != 0))
464496 then throw(err_)
465497 else true
466498
467499
468500 func _evmEventNotExist (eventHash_,err_) = if ((_loadEVMEventStatus(eventHash_) != 0))
469501 then throw(err_)
470502 else true
471503
472504
473505 func _notPublishedWavesEventByWitness (publicKey_,eventId_,err_) = if ((_loadPublishedWavesEventByWitness(publicKey_, eventId_) != 0))
474506 then throw(err_)
475507 else true
476508
477509
478510 func _notPublishedEVMEventByWitness (publicKey_,eventId_,err_) = if ((_loadPublishedEVMEventByWitness(publicKey_, eventId_) > 0))
479511 then throw(err_)
480512 else true
481513
482514
483515 func _isQuorumReached (confirmations_,total_,witnessSize_) = if (if ((confirmations_ > (witnessSize_ / 2)))
484516 then true
485517 else ((total_ - confirmations_) > (witnessSize_ / 2)))
486518 then true
487519 else false
488520
489521
490522 func _getEventStatus (confirmations_,total_,witnessSize_) = if ((confirmations_ > (witnessSize_ / 2)))
491523 then EVENT_STATUS_CONFIRMED
492524 else if (((total_ - confirmations_) > (witnessSize_ / 2)))
493525 then EVENT_STATUS_REJECTED
494526 else EVENT_STATUS_PROCESSING
495527
496528
497529 func _calcWavesEventHash (event_) = {
498530 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))
499531 toBase58String(keccak256_16Kb(eventBytes))
500532 }
501533
502534
503535 func _calcEVMEventHash (event_) = {
504536 let eventBytes = ((((((toBytes(event_._1) + toBytes(event_._2)) + toBytes(event_._3)) + toBytes(event_._4)) + toBytes(event_._5)) + toBytes(event_._6)) + toBytes(event_._7))
505537 toBase58String(keccak256_16Kb(eventBytes))
506538 }
507539
508540
509541 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)
510542
511543
512544 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)
513545
514546
515547 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)
516548
517549
518550 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)
519551
520552
521553 @Callable(i)
522554 func init (proxySecDepoPerEvent_,rewardTokenAddress_,rewardAmount_) = {
523555 let err = if (if (if (if (if (_onlyThisContract(i.caller))
524556 then _whenNotInitialized()
525557 else false)
526558 then _whenMultisigSet()
527559 else false)
528560 then _validateInt(proxySecDepoPerEvent_, 0, MAX_INT, "init: invalid proxySecDepoPerEvent")
529561 else false)
530562 then _validateAddress(rewardTokenAddress_, "init: invalid rewardTokenAddress")
531563 else false)
532564 then _validateInt(rewardAmount_, 0, MAX_INT, "init: invalid rewardAmount")
533565 else false
534566 if ((err == err))
535567 then $Tuple2((((_saveInit(true) ++ _saveProxySecDepoPerEvent(proxySecDepoPerEvent_)) ++ _saveRewardTokenAddress(addressFromStringValue(rewardTokenAddress_))) ++ _saveRewardAmount(rewardAmount_)), unit)
536568 else throw("Strict value is not equal to itself.")
537569 }
538570
539571
540572
541573 @Callable(i)
542574 func setActiveWitnesses (callerChainId_,witnesses_) = {
543575 let err = if (if (_onlyThisContract(i.caller))
544576 then _whenInitialized()
545577 else false)
546578 then _validatePublicKeys(witnesses_, "setActiveWitnesses: invalid witnesses")
547579 else false
548580 if ((err == err))
549581 then {
550582 let epoch = _loadCurrentEpoch(callerChainId_)
551583 $Tuple2((_saveCurrentEpoch(callerChainId_, (epoch + 1)) ++ _saveWitnesses(callerChainId_, (epoch + 1), witnesses_)), unit)
552584 }
553585 else throw("Strict value is not equal to itself.")
554586 }
555587
556588
557589
558590 @Callable(i)
559591 func submitWavesCallEvent (callerChainId_,executionChainId_,nonce_,executionContract_,functionName_,args_,txHash_,blockNumber_) = {
560- let err = if (if (if (if (if (if (_validateInt(callerChainId_, 0, MAX_INT, "submitWavesCallEvent: invalid callerChainId"))
592+ let err = if (if (if (if (if (if (if (_validateInt(callerChainId_, 0, MAX_INT, "submitWavesCallEvent: invalid callerChainId"))
561593 then _validateInt(executionChainId_, 0, MAX_INT, "submitWavesCallEvent: invalid executionChainId")
562594 else false)
563595 then _validateInt(nonce_, 0, MAX_INT, "submitWavesCallEvent: invalid nonce")
564596 else false)
565597 then _validateString(executionContract_, "submitWavesCallEvent: invalid executionContract")
566598 else false)
567599 then _validateString(functionName_, "submitWavesCallEvent: invalid functionName")
600+ else false)
601+ then _validateArgs(args_, "submitWavesCallEvent: invalid args")
568602 else false)
569603 then _validateString(txHash_, "submitWavesCallEvent: invalid txHash")
570604 else false)
571605 then _validateInt(blockNumber_, 0, MAX_INT, "submitWavesCallEvent: invalid blockNumber")
572606 else false
573607 if ((err == err))
574608 then {
575609 let proxySecDepo = _loadProxySecDepo(i.caller)
576610 let proxySecDepoPerEvent = _loadProxySecDepoPerEvent()
577611 let proxySecDepoUpdated = (proxySecDepo - proxySecDepoPerEvent)
578612 let event = $Tuple13(callerChainId_, executionChainId_, nonce_, executionContract_, functionName_, args_, txHash_, blockNumber_, "", 0, 0, proxySecDepoPerEvent, i.caller)
579613 let eventSize = _loadWavesEventSize()
580614 let eventHash = _calcWavesEventHash(event)
581615 let eventUpdated = _setWavesEventHash(event, eventHash)
582616 let err1 = if (_wavesEventNotExist(eventHash, "submitWavesCallEvent: already exists"))
583617 then _validateInt(proxySecDepoUpdated, 0, MAX_INT, "submitWavesCallEvent: no security deposit")
584618 else false
585619 if ((err1 == err1))
586620 then {
587621 let callerIdxSize = _loadWavesEventCallerIdxSize(callerChainId_)
588622 $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)
589623 }
590624 else throw("Strict value is not equal to itself.")
591625 }
592626 else throw("Strict value is not equal to itself.")
593627 }
594628
595629
596630
597631 @Callable(i)
598632 func submitEVMCallEvent (callerChainId_,executionChainId_,nonce_,executionContract_,calldata_,txHash_,blockNumber_) = {
599633 let err = if (if (if (if (if (if (_validateInt(callerChainId_, 0, MAX_INT, "submitEVMCallEvent: invalid callerChainId"))
600634 then _validateInt(executionChainId_, 0, MAX_INT, "submitEVMCallEvent: invalid executionChainId")
601635 else false)
602636 then _validateInt(nonce_, 0, MAX_INT, "submitEVMCallEvent: invalid nonce")
603637 else false)
604638 then _validateString(executionContract_, "submitEVMCallEvent: invalid executionContract")
605639 else false)
606640 then _validateString(calldata_, "submitEVMCallEvent: invalid calldata")
607641 else false)
608642 then _validateString(txHash_, "submitEVMCallEvent: invalid txHash")
609643 else false)
610644 then _validateInt(blockNumber_, 0, MAX_INT, "submitEVMCallEvent: invalid blockNumber")
611645 else false
612646 if ((err == err))
613647 then {
614648 let proxySecDepo = _loadProxySecDepo(i.caller)
615649 let proxySecDepoPerEvent = _loadProxySecDepoPerEvent()
616650 let proxySecDepoUpdated = (proxySecDepo - proxySecDepoPerEvent)
617651 let event = $Tuple12(callerChainId_, executionChainId_, nonce_, executionContract_, calldata_, txHash_, blockNumber_, "", 0, 0, proxySecDepoPerEvent, i.caller)
618652 let eventSize = _loadEVMEventSize()
619653 let eventHash = _calcEVMEventHash(event)
620654 let eventUpdated = _setEVMEventHash(event, eventHash)
621655 let err1 = if (_evmEventNotExist(eventHash, "submitEVMCallEvent: already exists"))
622656 then _validateInt(proxySecDepoUpdated, 0, MAX_INT, "submitEVMCallEvent: no security deposit")
623657 else false
624658 if ((err1 == err1))
625659 then {
626660 let callerIdxSize = _loadEVMEventCallerIdxSize(callerChainId_)
627661 $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)
628662 }
629663 else throw("Strict value is not equal to itself.")
630664 }
631665 else throw("Strict value is not equal to itself.")
632666 }
633667
634668
635669
636670 @Callable(i)
637671 func publishWavesEventStatus (eventIdx_,status_) = {
638672 let eventSize = _loadWavesEventSize()
639673 let callerPublicKey = toBase58String(i.callerPublicKey)
640674 let err = if (_validateEventIdx(eventIdx_, eventSize, "publishWavesEventStatus: invalid event idx"))
641675 then _validateEventStatus(status_, "publishWavesEventStatus: invalid status")
642676 else false
643677 if ((err == err))
644678 then {
645679 let event = _loadWavesEvent(eventIdx_)
646680 let callerChainId = event._1
647681 let executionChainId = event._2
648682 let eventHash = event._9
649683 let eventConfirmations = event._10
650684 let eventTotal = event._11
651685 let proxySecDepo = event._12
652686 let proxy = event._13
653687 let epoch = _loadCurrentEpoch(callerChainId)
654688 let activeWitnesses = _loadWitnesses(callerChainId, epoch)
655689 let err1 = if (if (_isActiveWitness(toBase58String(i.callerPublicKey), activeWitnesses, "publishWavesEventStatus: invalid caller"))
656690 then _notConfirmedWavesEvent(eventHash, "publishWavesEventStatus: event already confirmed")
657691 else false)
658692 then _notPublishedWavesEventByWitness(callerPublicKey, eventIdx_, "publishWavesEventStatus: already published")
659693 else false
660694 if ((err1 == err1))
661695 then {
662696 let eventUpdated = if ((status_ == EVENT_STATUS_CONFIRMED))
663697 then _setWavesEventConfirmations(event, (eventConfirmations + 1), (eventTotal + 1))
664698 else if ((status_ == EVENT_STATUS_REJECTED))
665699 then _setWavesEventConfirmations(event, eventConfirmations, (eventTotal + 1))
666700 else throw("publishWavesEventStatus: incorrect status")
667701 let executorIdxSize = _loadWavesEventExecutorIdxSize(executionChainId)
668702 let finalization = if (_isQuorumReached(eventUpdated._10, eventUpdated._11, size(activeWitnesses)))
669703 then {
670704 let status = _getEventStatus(eventUpdated._10, eventUpdated._11, size(activeWitnesses))
671705 let proxySecDepoUpdated = if ((status == EVENT_STATUS_CONFIRMED))
672706 then _saveProxySecDepo(proxy, (_loadProxySecDepo(proxy) + proxySecDepo))
673707 else if ((status == EVENT_STATUS_REJECTED))
674708 then [ScriptTransfer(_loadMultisig(), proxySecDepo, unit)]
675709 else nil
676710 let rewardAddresses = [toString(proxy), _publicKeysToAddrsStr(activeWitnesses)]
677711 let witnessesRewards = invoke(_loadRewardTokenAddress(), FUNC_MINT_MANY, [_loadRewardAmount(), rewardAddresses], nil)
678712 if ((witnessesRewards == witnessesRewards))
679713 then (((proxySecDepoUpdated ++ _saveWavesEventStatus(eventHash, status)) ++ _saveWavesEventExecutorIdx(executionChainId, executorIdxSize, eventIdx_)) ++ _saveWavesEventExecutorIdxSize(executionChainId, (executorIdxSize + 1)))
680714 else throw("Strict value is not equal to itself.")
681715 }
682716 else nil
683717 $Tuple2(((_saveWavesEvent(eventIdx_, eventUpdated) ++ _savePublishedWavesEventByWitness(callerPublicKey, eventIdx_, status_)) ++ finalization), unit)
684718 }
685719 else throw("Strict value is not equal to itself.")
686720 }
687721 else throw("Strict value is not equal to itself.")
688722 }
689723
690724
691725
692726 @Callable(i)
693727 func publishEVMEventStatus (eventIdx_,status_) = {
694728 let eventSize = _loadEVMEventSize()
695729 let callerPublicKey = toBase58String(i.callerPublicKey)
696730 let err = if (_validateEventIdx(eventIdx_, eventSize, "publishEVMEventStatus: invalid event idx"))
697731 then _validateEventStatus(status_, "publishEVMEventStatus: invalid status")
698732 else false
699733 if ((err == err))
700734 then {
701735 let event = _loadEVMEvent(eventIdx_)
702736 let callerChainId = event._1
703737 let executionChainId = event._2
704738 let eventHash = event._8
705739 let eventConfirmations = event._9
706740 let eventTotal = event._10
707741 let proxySecDepo = event._11
708742 let proxy = event._12
709743 let epoch = _loadCurrentEpoch(callerChainId)
710744 let activeWitnesses = _loadWitnesses(callerChainId, epoch)
711745 let err1 = if (if (_isActiveWitness(toBase58String(i.callerPublicKey), activeWitnesses, "publishEVMEventStatus: invalid caller"))
712746 then _notConfirmedEVMEvent(eventHash, "publishEVMEventStatus: event already confirmed")
713747 else false)
714748 then _notPublishedEVMEventByWitness(callerPublicKey, eventIdx_, "publishEVMEventStatus: already published")
715749 else false
716750 if ((err1 == err1))
717751 then {
718752 let eventUpdated = if ((status_ == EVENT_STATUS_CONFIRMED))
719753 then _setEVMEventConfirmations(event, (eventConfirmations + 1), (eventTotal + 1))
720754 else if ((status_ == EVENT_STATUS_REJECTED))
721755 then _setEVMEventConfirmations(event, eventConfirmations, (eventTotal + 1))
722756 else throw("publishEVMEventStatus: incorrect status")
723757 let executorIdxSize = _loadEVMEventExecutorIdxSize(executionChainId)
724758 let finalization = if (_isQuorumReached(eventUpdated._9, eventUpdated._10, size(activeWitnesses)))
725759 then {
726760 let status = _getEventStatus(eventUpdated._9, eventUpdated._10, size(activeWitnesses))
727761 let proxySecDepoUpdated = if ((status == EVENT_STATUS_CONFIRMED))
728762 then _saveProxySecDepo(proxy, (_loadProxySecDepo(proxy) + proxySecDepo))
729763 else if ((status == EVENT_STATUS_REJECTED))
730764 then [ScriptTransfer(_loadMultisig(), proxySecDepo, unit)]
731765 else nil
732766 let rewardAddresses = [toString(proxy), _publicKeysToAddrsStr(activeWitnesses)]
733767 let witnessesRewards = invoke(_loadRewardTokenAddress(), FUNC_MINT_MANY, [_loadRewardAmount(), rewardAddresses], nil)
734768 if ((witnessesRewards == witnessesRewards))
735769 then (((proxySecDepoUpdated ++ _saveEVMEventStatus(eventHash, status)) ++ _saveEVMEventExecutorIdx(executionChainId, executorIdxSize, eventIdx_)) ++ _saveEVMEventExecutorIdxSize(executionChainId, (executorIdxSize + 1)))
736770 else throw("Strict value is not equal to itself.")
737771 }
738772 else nil
739773 $Tuple2(((_saveEVMEvent(eventIdx_, eventUpdated) ++ _savePublishedEVMEventByWitness(callerPublicKey, eventIdx_, status_)) ++ finalization), unit)
740774 }
741775 else throw("Strict value is not equal to itself.")
742776 }
743777 else throw("Strict value is not equal to itself.")
744778 }
745779
746780
747781
748782 @Callable(i)
749783 func addProxySecurityDeposit (recipient_) = {
750784 let recipient = if ((recipient_ == ""))
751785 then toString(i.caller)
752786 else recipient_
753787 let err = if (if (_validateAddress(recipient, "addProxySecurityDeposit: invalid recipient"))
754788 then _validatePaymentsSize(i.payments, 1, "addProxySecurityDeposit: no payment")
755789 else false)
756790 then _validatePaymentAsset(i.payments[0], unit, "addProxySecurityDeposit: invalid asset")
757791 else false
758792 if ((err == err))
759793 then {
760794 let recipientAddr = addressFromStringValue(recipient)
761795 let balance = _loadProxySecDepo(recipientAddr)
762796 let updatedBalance = (balance + i.payments[0].amount)
763797 $Tuple2(_saveProxySecDepo(recipientAddr, updatedBalance), unit)
764798 }
765799 else throw("Strict value is not equal to itself.")
766800 }
767801
768802
769803
770804 @Callable(i)
771805 func subProxySecurityDeposit (amount_) = {
772806 let balance = _loadProxySecDepo(i.caller)
773807 if ((amount_ > balance))
774808 then throw("subProxySecurityDeposit: insufficient balance")
775809 else $Tuple2((_saveProxySecDepo(i.caller, (balance - amount_)) ++ [ScriptTransfer(i.caller, amount_, unit)]), unit)
776810 }
777811
778812
779813
780814 @Callable(i)
781815 func setMultisig (multisig_) = {
782816 let err = if (_onlyThisContract(i.caller))
783817 then _validateAddress(multisig_, "setMultisig: invalid multisig address")
784818 else false
785819 if ((err == err))
786820 then $Tuple2(_saveMultisig(addressFromStringValue(multisig_)), unit)
787821 else throw("Strict value is not equal to itself.")
788822 }
789823
790824
791825 @Verifier(tx)
792826 func verify () = match getString(KEY_MULTISIG) {
793827 case multisig: String =>
794828 valueOrElse(getBoolean(addressFromStringValue(multisig), makeString([KEY_STATUS, toString(this), toBase58String(tx.id)], SEPARATOR)), false)
795829 case _ =>
796830 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
797831 }
798832

github/deemru/w8io/026f985 
191.77 ms