tx · MaC2oQScPuim7GuNbSCMu3DQNKMuYRt8roEavL8JWZD

3NAg2HDvKz7gwrNc2wnUxdK74NydBFUXTYP:  -0.02900000 Waves

2024.07.04 10:38 [3178982] smart account 3NAg2HDvKz7gwrNc2wnUxdK74NydBFUXTYP > SELF 0.00000000 Waves

{ "type": 13, "id": "MaC2oQScPuim7GuNbSCMu3DQNKMuYRt8roEavL8JWZD", "fee": 2900000, "feeAssetId": null, "timestamp": 1720078793867, "version": 2, "chainId": 84, "sender": "3NAg2HDvKz7gwrNc2wnUxdK74NydBFUXTYP", "senderPublicKey": "BEbZF8zo7WjaQFZFFuPs7hqSLEgGwjwQFGg4tSidf9C3", "proofs": [ "5PQF72V8Twsh7AK7vEXHhvqqD16PkAQgLfcEgaTwJBryJ8CQe7NP8dGrh7cz5VXHPMCjm5EGnfT2CfDcsfTZdFtX" ], "script": "base64:BwJjCAISCAoGCAgICAgIEggKBggICAgICBIJCgcICAgICAgIEgUKAwgICBILCgkICAgICAgICAgSBgoECAgICBIFCgMBCAgSBQoDAQgIEgMKAQESAwoBCBIAEgASAwoBCBIDCgEIagAJU0VQQVJBVE9SAgJfXwAMS0VZX01VTFRJU0lHAghNVUxUSVNJRwAKS0VZX1NUQVRVUwIGU1RBVFVTAAhLRVlfSU5JVAIESU5JVAAKS0VZX1BBVVNFRAIGUEFVU0VEAApLRVlfUEFVU0VSAgZQQVVTRVIADEtFWV9FWEVDVVRPUgIIRVhFQ1VUT1IAE0tFWV9DQUxMRVJfQ09OVFJBQ1QCD0NBTExFUl9DT05UUkFDVAAPS0VZX1dBVkVTX1ZBVUxUAgtXQVZFU19WQVVMVAATS0VZX0FDQ09VTlRfU1RPUkFHRQIPQUNDT1VOVF9TVE9SQUdFAAlLRVlfQ0hBSU4CBUNIQUlOABJLRVlfQVNTRVRfQ1VSUkVOQ1kCDkFTU0VUX0NVUlJFTkNZABJLRVlfQVNTRVRfUkVTRVJWRVMCDkFTU0VUX1JFU0VSVkVTABlLRVlfQVNT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zZXRNdWx0aXNpZwEJbXVsdGlzaWdfBANlcnIDCQERX29ubHlUaGlzQ29udHJhY3QBCAUBaQZjYWxsZXIJARBfdmFsaWRhdGVBZGRyZXNzAgUJbXVsdGlzaWdfAh1zZXRNdWx0aXNpZzogaW52YWxpZCBtdWx0aXNpZwcDCQAAAgUDZXJyBQNlcnIJAJQKAgkBDV9zYXZlTXVsdGlzaWcBCQERQGV4dHJOYXRpdmUoMTA2MikBBQltdWx0aXNpZ18FBHVuaXQJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4BAnR4AQZ2ZXJpZnkABAckbWF0Y2gwCQCiCAEFDEtFWV9NVUxUSVNJRwMJAAECBQckbWF0Y2gwAgZTdHJpbmcECG11bHRpc2lnBQckbWF0Y2gwCQELdmFsdWVPckVsc2UCCQCbCAIJARFAZXh0ck5hdGl2ZSgxMDYyKQEFCG11bHRpc2lnCQC5CQIJAMwIAgUKS0VZX1NUQVRVUwkAzAgCCQClCAEFBHRoaXMJAMwIAgkA2AQBCAUCdHgCaWQFA25pbAUJU0VQQVJBVE9SBwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tlecuOLnI=", "height": 3178982, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: HfrtsyoqcdEVaFxU5r5WYqxKStbNaMKKcXtUkx3P5Yxf Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 7 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let SEPARATOR = "__"
5+
6+let KEY_MULTISIG = "MULTISIG"
7+
8+let KEY_STATUS = "STATUS"
9+
10+let KEY_INIT = "INIT"
11+
12+let KEY_PAUSED = "PAUSED"
13+
14+let KEY_PAUSER = "PAUSER"
15+
16+let KEY_EXECUTOR = "EXECUTOR"
17+
18+let KEY_CALLER_CONTRACT = "CALLER_CONTRACT"
19+
20+let KEY_WAVES_VAULT = "WAVES_VAULT"
21+
22+let KEY_ACCOUNT_STORAGE = "ACCOUNT_STORAGE"
23+
24+let KEY_CHAIN = "CHAIN"
25+
26+let KEY_ASSET_CURRENCY = "ASSET_CURRENCY"
27+
28+let KEY_ASSET_RESERVES = "ASSET_RESERVES"
29+
30+let KEY_ASSET_RESERVES_LOCKED = "ASSET_RESERVES_LOCKED"
31+
32+let KEY_CURRENCY_RESERVES = "CURRENCY_RESERVES"
33+
34+let KEY_REQUEST_WITHDRAWAL_SIZE = "REQUEST_WITHDRAWAL_SIZE"
35+
36+let KEY_REQUEST_WITHDRAWAL = "REQUEST_WITHDRAWAL"
37+
38+let KEY_REQUEST_WITHDRAWAL_BLOCK_DELAY = "REQUEST_WITHDRAWAL_BLOCK_DELAY"
39+
40+let KEY_SEQUENCER = "SEQUENCER"
41+
42+let KEY_WITHDRAWAL_HASH = "WITHDRAWAL_HASH"
43+
44+let KEY_VAULT_ADAPTER = "VAULT_ADAPTER"
45+
46+let KEY_REWARD_DISTRIBUTOR = "REWARD_DISTRIBUTOR"
47+
48+let FUNC_DEPOSIT = "deposit"
49+
50+let FUNC_GET_USER_BALANCE = "getUserBalance"
51+
52+let FUNC_INTERNAL_TRANSFER = "internalTransfer"
53+
54+let FUNC_WITHDRAW = "withdraw"
55+
56+let FUNC_DEPOSIT_STAKING_REWARD = "depositStakingReward"
57+
58+let REQUEST_STATUS_CREATED = 0
59+
60+let REQUEST_STATUS_DONE = 1
61+
62+let REQUEST_STATUS_REJECTED = 2
63+
64+let WAVES = "WAVES"
65+
66+let SPOT_WALLET = "SPOT"
67+
68+let WITHDRAWALS_WALLET = "WITHDRAWALS"
69+
70+let MAX_INT = 9223372036854775807
71+
72+let ZERO_BIGINT = toBigInt(0)
73+
74+let ONE_BIGINT = toBigInt(1)
75+
76+let ONE_DAY = 86400000
77+
78+let ALG_TYPE_WAVES = 1
79+
80+let ALG_TYPE_EVM = 2
81+
82+let EVM_SIGNATURE_PREFIX = base58'G5Nu92G2p7moXW9qjjN3na7gtq4dWCeVdaSjry'
83+
84+func _validateAddress (address_,err_) = match addressFromString(address_) {
85+ case a: Address =>
86+ true
87+ case _ =>
88+ throw(err_)
89+}
90+
91+
92+func _validateInt (val_,lowerBoundary_,upperBoundary_,err_) = if (if ((lowerBoundary_ > val_))
93+ then true
94+ else (val_ > upperBoundary_))
95+ then throw(err_)
96+ else true
97+
98+
99+func _validateBigInt (val_,lowerBoundary_,err_) = if ((lowerBoundary_ > val_))
100+ then throw(err_)
101+ else true
102+
103+
104+func _validateString (val_,err_) = if (if ((0 >= size(val_)))
105+ then true
106+ else contains(val_, SEPARATOR))
107+ then throw(err_)
108+ else true
109+
110+
111+func _validateStringEqual (val1_,val2_,err_) = if ((val1_ != val2_))
112+ then throw(err_)
113+ else true
114+
115+
116+func _loadInit () = match getBoolean(KEY_INIT) {
117+ case a: Boolean =>
118+ a
119+ case _ =>
120+ false
121+}
122+
123+
124+func _saveInit (isInit_) = [BooleanEntry(KEY_INIT, isInit_)]
125+
126+
127+func _loadPause () = match getBoolean(KEY_PAUSED) {
128+ case a: Boolean =>
129+ a
130+ case _ =>
131+ false
132+}
133+
134+
135+func _savePause (isPaused_) = [BooleanEntry(KEY_PAUSED, isPaused_)]
136+
137+
138+func _loadPauser () = match getString(KEY_PAUSER) {
139+ case a: String =>
140+ addressFromStringValue(a)
141+ case _ =>
142+ Address(base58'')
143+}
144+
145+
146+func _savePauser (pauser_) = [StringEntry(KEY_PAUSER, toString(pauser_))]
147+
148+
149+func _loadMultisig () = match getString(KEY_MULTISIG) {
150+ case a: String =>
151+ addressFromStringValue(a)
152+ case _ =>
153+ Address(base58'')
154+}
155+
156+
157+func _saveMultisig (multisig_) = [StringEntry(KEY_MULTISIG, toString(multisig_))]
158+
159+
160+func _loadCallerContract (chainId_) = match getString(makeString([KEY_CALLER_CONTRACT, toString(chainId_)], SEPARATOR)) {
161+ case a: String =>
162+ a
163+ case _ =>
164+ ""
165+}
166+
167+
168+func _saveCallerContract (chainId_,callerContract_) = [StringEntry(makeString([KEY_CALLER_CONTRACT, toString(chainId_)], SEPARATOR), callerContract_)]
169+
170+
171+func _loadExecutor () = match getString(KEY_EXECUTOR) {
172+ case a: String =>
173+ addressFromStringValue(a)
174+ case _ =>
175+ Address(base58'')
176+}
177+
178+
179+func _saveExecutor (executor_) = [StringEntry(KEY_EXECUTOR, toString(executor_))]
180+
181+
182+func _loadAccountStorage () = match getString(KEY_ACCOUNT_STORAGE) {
183+ case a: String =>
184+ addressFromStringValue(a)
185+ case _ =>
186+ Address(base58'')
187+}
188+
189+
190+func _saveAccountStorage (accountStorage_) = [StringEntry(KEY_ACCOUNT_STORAGE, toString(accountStorage_))]
191+
192+
193+func _loadWavesVault () = match getString(KEY_WAVES_VAULT) {
194+ case a: String =>
195+ addressFromStringValue(a)
196+ case _ =>
197+ Address(base58'')
198+}
199+
200+
201+func _saveWavesVault (wavesVault_) = [StringEntry(KEY_WAVES_VAULT, toString(wavesVault_))]
202+
203+
204+func _loadChain (chainId_) = match getString(makeString([KEY_CHAIN, toString(chainId_)], SEPARATOR)) {
205+ case a: String =>
206+ a
207+ case _ =>
208+ ""
209+}
210+
211+
212+func _saveChain (chainId_,name_) = [StringEntry(makeString([KEY_CHAIN, toString(chainId_)], SEPARATOR), name_)]
213+
214+
215+func _loadAssetCurrency (chainId_,asset_) = match getString(makeString([KEY_ASSET_CURRENCY, toString(chainId_), asset_], SEPARATOR)) {
216+ case a: String =>
217+ a
218+ case _ =>
219+ ""
220+}
221+
222+
223+func _saveAssetCurrency (chainId_,asset_,currency_) = [StringEntry(makeString([KEY_ASSET_CURRENCY, toString(chainId_), asset_], SEPARATOR), currency_)]
224+
225+
226+func _loadAssetReserves (chainId_,asset_) = match getString(makeString([KEY_ASSET_RESERVES, toString(chainId_), asset_], SEPARATOR)) {
227+ case a: String =>
228+ parseBigIntValue(a)
229+ case _ =>
230+ ZERO_BIGINT
231+}
232+
233+
234+func _saveAssetReserves (chainId_,asset_,reserves_) = [StringEntry(makeString([KEY_ASSET_RESERVES, toString(chainId_), asset_], SEPARATOR), toString(reserves_))]
235+
236+
237+func _loadAssetReservesLocked (chainId_,asset_) = match getString(makeString([KEY_ASSET_RESERVES_LOCKED, toString(chainId_), asset_], SEPARATOR)) {
238+ case a: String =>
239+ parseBigIntValue(a)
240+ case _ =>
241+ ZERO_BIGINT
242+}
243+
244+
245+func _saveAssetReservesLocked (chainId_,asset_,reserves_) = [StringEntry(makeString([KEY_ASSET_RESERVES_LOCKED, toString(chainId_), asset_], SEPARATOR), toString(reserves_))]
246+
247+
248+func _loadCurrencyReserves (currency_) = match getString(makeString([KEY_CURRENCY_RESERVES, currency_], SEPARATOR)) {
249+ case a: String =>
250+ parseBigIntValue(a)
251+ case _ =>
252+ ZERO_BIGINT
253+}
254+
255+
256+func _saveCurrencyReserves (currency_,reserves_) = [StringEntry(makeString([KEY_CURRENCY_RESERVES, currency_], SEPARATOR), toString(reserves_))]
257+
258+
259+func _loadRequestWithdrawalSize () = match getInteger(KEY_REQUEST_WITHDRAWAL_SIZE) {
260+ case a: Int =>
261+ a
262+ case _ =>
263+ 0
264+}
265+
266+
267+func _saveRequestWithdrawalSize (val_) = [IntegerEntry(KEY_REQUEST_WITHDRAWAL_SIZE, val_)]
268+
269+
270+func _loadRequestWithdrawal (index_) = match getString(makeString([KEY_REQUEST_WITHDRAWAL, toString(index_)], SEPARATOR)) {
271+ case a: String =>
272+ let struct = split(a, SEPARATOR)
273+ $Tuple8(struct[0], struct[1], parseIntValue(struct[2]), struct[3], parseBigIntValue(struct[4]), parseIntValue(struct[5]), struct[6], parseIntValue(struct[7]))
274+ case _ =>
275+ $Tuple8("", "", 0, "", ZERO_BIGINT, 0, "", REQUEST_STATUS_CREATED)
276+}
277+
278+
279+func _saveRequestWithdrawal (index_,request_) = [StringEntry(makeString([KEY_REQUEST_WITHDRAWAL, toString(index_)], SEPARATOR), makeString([request_._1, request_._2, toString(request_._3), request_._4, toString(request_._5), toString(request_._6), request_._7, toString(request_._8)], SEPARATOR))]
280+
281+
282+func _loadRequestWithdrawalBlockDelay () = match getInteger(KEY_REQUEST_WITHDRAWAL_BLOCK_DELAY) {
283+ case a: Int =>
284+ a
285+ case _ =>
286+ 0
287+}
288+
289+
290+func _saveRequestWithdrawalBlockDelay (delay_) = [IntegerEntry(KEY_REQUEST_WITHDRAWAL_BLOCK_DELAY, delay_)]
291+
292+
293+func _loadSequencer () = match getString(KEY_SEQUENCER) {
294+ case a: String =>
295+ addressFromStringValue(a)
296+ case _ =>
297+ Address(base58'')
298+}
299+
300+
301+func _saveSequencer (sequencer_) = [StringEntry(KEY_SEQUENCER, toString(sequencer_))]
302+
303+
304+func _loadWithdrawalHash (withdrawalHash_) = match getString(makeString([KEY_WITHDRAWAL_HASH, toBase58String(withdrawalHash_)], SEPARATOR)) {
305+ case a: String =>
306+ a
307+ case _ =>
308+ ""
309+}
310+
311+
312+func _saveWithdrawalHash (withdrawalHash_,txId_) = [StringEntry(makeString([KEY_WITHDRAWAL_HASH, toBase58String(withdrawalHash_)], SEPARATOR), txId_)]
313+
314+
315+func _loadVaultAdapter () = match getString(KEY_VAULT_ADAPTER) {
316+ case a: String =>
317+ addressFromStringValue(a)
318+ case _ =>
319+ Address(base58'')
320+}
321+
322+
323+func _saveVaultAdapter (vaultAdapter_) = [StringEntry(KEY_VAULT_ADAPTER, toString(vaultAdapter_))]
324+
325+
326+func _loadRewardDistributor () = match getString(KEY_REWARD_DISTRIBUTOR) {
327+ case a: String =>
328+ a
329+ case _ =>
330+ ""
331+}
332+
333+
334+func _saveRewardDistributor (distributor_) = [StringEntry(KEY_REWARD_DISTRIBUTOR, distributor_)]
335+
336+
337+func _onlyThisContract (caller_) = if ((caller_ != this))
338+ then throw("_onlyThisContract: revert")
339+ else true
340+
341+
342+func _whenMultisigSet () = if ((_loadMultisig() == Address(base58'')))
343+ then throw("_whenMultisigSet: revert")
344+ else true
345+
346+
347+func _whenNotInitialized () = if (_loadInit())
348+ then throw("_whenNotInitialized: revert")
349+ else true
350+
351+
352+func _whenInitialized () = if (!(_loadInit()))
353+ then throw("_whenInitialized: revert")
354+ else true
355+
356+
357+func _whenNotPaused () = if (_loadPause())
358+ then throw("_whenNotPaused: revert")
359+ else true
360+
361+
362+func _whenPaused () = if (!(_loadPause()))
363+ then throw("_whenPaused: revert")
364+ else true
365+
366+
367+func _onlyPauser (caller_) = if ((caller_ != _loadPauser()))
368+ then throw("_onlyPauser: revert")
369+ else true
370+
371+
372+func _validateExecutor (val_,err_) = if ((val_ != _loadExecutor()))
373+ then throw(err_)
374+ else true
375+
376+
377+func _validateCallerContract (chainId_,callerContract_,err_) = if ((_loadCallerContract(chainId_) != callerContract_))
378+ then throw(err_)
379+ else true
380+
381+
382+func _chainExists (chainId_,err_) = if ((0 >= size(_loadChain(chainId_))))
383+ then throw(err_)
384+ else true
385+
386+
387+func _chainNotExist (chainId_,err_) = if ((size(_loadChain(chainId_)) > 0))
388+ then throw(err_)
389+ else true
390+
391+
392+func _assetCurrencyExists (chainId_,asset_,err_) = if ((0 >= size(_loadAssetCurrency(chainId_, asset_))))
393+ then throw(err_)
394+ else true
395+
396+
397+func _assetCurrencyNotExist (chainId_,asset_,err_) = if ((size(_loadAssetCurrency(chainId_, asset_)) > 0))
398+ then throw(err_)
399+ else true
400+
401+
402+func _validateWavesVault (caller,err_) = if ((_loadWavesVault() != caller))
403+ then throw(err_)
404+ else true
405+
406+
407+func _requestIsCreated (status_,err_) = if ((status_ != REQUEST_STATUS_CREATED))
408+ then throw(err_)
409+ else true
410+
411+
412+func _validateSequencer (caller,err_) = if ((_loadSequencer() != caller))
413+ then throw(err_)
414+ else true
415+
416+
417+func _checkWithdrawalHashNotExist (withdrawalHash_,err_) = if ((size(_loadWithdrawalHash(withdrawalHash_)) > 0))
418+ then throw(err_)
419+ else true
420+
421+
422+func _validateSignatureFormat (signature_,alg_,err_) = if ((alg_ == ALG_TYPE_WAVES))
423+ then if ((size(signature_) != 64))
424+ then throw(err_)
425+ else true
426+ else if ((alg_ == ALG_TYPE_EVM))
427+ then if ((size(signature_) != 65))
428+ then throw(err_)
429+ else true
430+ else throw((err_ + ": inv alg"))
431+
432+
433+func _validatePublicKey (publicKey_,alg_,err_) = if ((alg_ == ALG_TYPE_WAVES))
434+ then if ((size(publicKey_) != 32))
435+ then throw(err_)
436+ else true
437+ else if ((alg_ == ALG_TYPE_EVM))
438+ then if ((size(publicKey_) != 20))
439+ then throw(err_)
440+ else true
441+ else throw((err_ + ": inv alg"))
442+
443+
444+func _validateWithdrawalSignature (withdrawalHash_,signature_,publicKey_,alg_,err_) = {
445+ let result = if ((alg_ == ALG_TYPE_WAVES))
446+ then sigVerify(withdrawalHash_, signature_, publicKey_)
447+ else if ((alg_ == ALG_TYPE_EVM))
448+ then {
449+ let hashWithPrefix = keccak256_16Kb((EVM_SIGNATURE_PREFIX + withdrawalHash_))
450+ (takeRight(keccak256_16Kb(ecrecover(hashWithPrefix, signature_)), 20) == publicKey_)
451+ }
452+ else throw((err_ + ": inv alg"))
453+ if (!(result))
454+ then throw(err_)
455+ else true
456+ }
457+
458+
459+func _validatePublicKeyMatchesAddress (publicKey_,from_,alg_,err_) = {
460+ let address = if ((alg_ == ALG_TYPE_WAVES))
461+ then toString(addressFromPublicKey(publicKey_))
462+ else if ((alg_ == ALG_TYPE_EVM))
463+ then ("0x" + toBase16String(publicKey_))
464+ else throw((err_ + ": inv alg"))
465+ if ((address != from_))
466+ then throw(err_)
467+ else true
468+ }
469+
470+
471+@Callable(i)
472+func init (executor_,pauser_,accountStorage_,wavesVault_,sequencer_,vaultAdapter_) = {
473+ let err = if (if (if (if (if (if (if (if (_onlyThisContract(i.caller))
474+ then _whenNotInitialized()
475+ else false)
476+ then _whenMultisigSet()
477+ else false)
478+ then _validateAddress(executor_, "init: invalid executor")
479+ else false)
480+ then _validateAddress(pauser_, "init: invalid pauser")
481+ else false)
482+ then _validateAddress(accountStorage_, "init: invalid accountStorage")
483+ else false)
484+ then _validateAddress(wavesVault_, "init: invalid wavesVault")
485+ else false)
486+ then _validateAddress(sequencer_, "init: invalid sequencer")
487+ else false)
488+ then _validateAddress(vaultAdapter_, "init: invalid vaultAdapter")
489+ else false
490+ if ((err == err))
491+ then $Tuple2(((((((_saveInit(true) ++ _saveExecutor(addressFromStringValue(executor_))) ++ _savePauser(addressFromStringValue(pauser_))) ++ _saveAccountStorage(addressFromStringValue(accountStorage_))) ++ _saveWavesVault(addressFromStringValue(wavesVault_))) ++ _saveSequencer(addressFromStringValue(sequencer_))) ++ _saveVaultAdapter(addressFromStringValue(vaultAdapter_))), unit)
492+ else throw("Strict value is not equal to itself.")
493+ }
494+
495+
496+
497+@Callable(i)
498+func deposit (callerContract_,from_,to_,chainId_,asset_,amount_) = {
499+ let chainId = valueOrErrorMessage(parseInt(chainId_), "deposit: chainId not int")
500+ let amount = valueOrErrorMessage(parseBigInt(amount_), "deposit: amount not int")
501+ let err = if (if (if (if (if (if (_whenInitialized())
502+ then _whenNotPaused()
503+ else false)
504+ then _chainExists(chainId, "deposit: invalid chainId")
505+ else false)
506+ then _validateString(from_, "deposit: invalid from")
507+ else false)
508+ then _validateString(to_, "deposit: invalid to")
509+ else false)
510+ then _assetCurrencyExists(chainId, asset_, "deposit: invalid asset")
511+ else false)
512+ then _validateBigInt(amount, ZERO_BIGINT, "deposit: invalid amount")
513+ else false
514+ if ((err == err))
515+ then {
516+ let err1 = if ((_loadChain(chainId) == WAVES))
517+ then _validateWavesVault(i.caller, "deposit: invalid waves vault")
518+ else if (_validateExecutor(i.caller, "deposit: invalid executor"))
519+ then _validateCallerContract(chainId, callerContract_, "deposit: invalid caller contract")
520+ else false
521+ if ((err1 == err1))
522+ then {
523+ let newAssetReserves = (_loadAssetReserves(chainId, asset_) + amount)
524+ let currency = _loadAssetCurrency(chainId, asset_)
525+ let newCurrencyReserves = (_loadCurrencyReserves(currency) + amount)
526+ let invocation = invoke(_loadAccountStorage(), FUNC_DEPOSIT, [to_, currency, amount_], nil)
527+ if ((invocation == invocation))
528+ then $Tuple2((_saveAssetReserves(chainId, asset_, newAssetReserves) ++ _saveCurrencyReserves(currency, newCurrencyReserves)), unit)
529+ else throw("Strict value is not equal to itself.")
530+ }
531+ else throw("Strict value is not equal to itself.")
532+ }
533+ else throw("Strict value is not equal to itself.")
534+ }
535+
536+
537+
538+@Callable(i)
539+func requestWithdrawal (callerContract_,from_,to_,fromChainId_,toChainId_,asset_,amount_) = {
540+ let fromChainId = valueOrErrorMessage(parseInt(fromChainId_), "requestWithdrawal: fromChainId not int")
541+ let toChainId = valueOrErrorMessage(parseInt(toChainId_), "requestWithdrawal: toChainId not int")
542+ let amount = valueOrErrorMessage(parseBigInt(amount_), "requestWithdrawal: amount not int")
543+ let err = if (if (if (if (if (if (_whenInitialized())
544+ then _chainExists(fromChainId, "requestWithdrawal: invalid fromChainId")
545+ else false)
546+ then _chainExists(toChainId, "requestWithdrawal: invalid toChainId")
547+ else false)
548+ then _validateString(from_, "requestWithdrawal: invalid from")
549+ else false)
550+ then _validateString(to_, "requestWithdrawal: invalid to")
551+ else false)
552+ then _assetCurrencyExists(toChainId, asset_, "requestWithdrawal: invalid asset")
553+ else false)
554+ then _validateBigInt(amount, ZERO_BIGINT, "requestWithdrawal: invalid amount")
555+ else false
556+ if ((err == err))
557+ then {
558+ let err1 = if ((_loadChain(fromChainId) == WAVES))
559+ then _validateWavesVault(i.caller, "requestWithdrawal: invalid waves vault")
560+ else if (_validateExecutor(i.caller, "requestWithdrawal: invalid executor"))
561+ then _validateCallerContract(fromChainId, callerContract_, "requestWithdrawal: invalid caller contract")
562+ else false
563+ if ((err1 == err1))
564+ then {
565+ let currency = _loadAssetCurrency(toChainId, asset_)
566+ let availableBalance = match invoke(_loadAccountStorage(), FUNC_GET_USER_BALANCE, [from_, SPOT_WALLET, currency], nil) {
567+ case a: String =>
568+ parseBigIntValue(a)
569+ case _ =>
570+ throw("requestWithdrawal: can't take available balance from storage")
571+ }
572+ if ((availableBalance == availableBalance))
573+ then {
574+ let lockedReserves = _loadAssetReservesLocked(toChainId, asset_)
575+ let $t01823518744 = if (if ((availableBalance >= amount))
576+ then ((_loadAssetReserves(toChainId, asset_) - lockedReserves) >= amount)
577+ else false)
578+ then $Tuple3(REQUEST_STATUS_CREATED, invoke(_loadAccountStorage(), FUNC_INTERNAL_TRANSFER, [from_, SPOT_WALLET, WITHDRAWALS_WALLET, currency, amount_], nil), _saveAssetReservesLocked(toChainId, asset_, (lockedReserves + amount)))
579+ else $Tuple3(REQUEST_STATUS_REJECTED, unit, nil)
580+ if (($t01823518744 == $t01823518744))
581+ then {
582+ let reservesActions = $t01823518744._3
583+ let storageInvocation = $t01823518744._2
584+ let requestStatus = $t01823518744._1
585+ let requestWithdrawalSize = _loadRequestWithdrawalSize()
586+ let requestWithdrawal = $Tuple8(from_, to_, toChainId, asset_, amount, height, toBase58String(i.transactionId), requestStatus)
587+ $Tuple2(((_saveRequestWithdrawal(requestWithdrawalSize, requestWithdrawal) ++ _saveRequestWithdrawalSize((requestWithdrawalSize + 1))) ++ reservesActions), requestWithdrawalSize)
588+ }
589+ else throw("Strict value is not equal to itself.")
590+ }
591+ else throw("Strict value is not equal to itself.")
592+ }
593+ else throw("Strict value is not equal to itself.")
594+ }
595+ else throw("Strict value is not equal to itself.")
596+ }
597+
598+
599+
600+@Callable(i)
601+func executeWithdrawal (callerContract_,chainId_,requestWithdrawalId_) = {
602+ let chainId = valueOrErrorMessage(parseInt(chainId_), "executeWithdrawal: chainId not int")
603+ let requestWithdrawalId = valueOrErrorMessage(parseInt(requestWithdrawalId_), "executeWithdrawal: requestWithdrawalId not int")
604+ let requestWithdrawalSize = _loadRequestWithdrawalSize()
605+ let err = if (if (_whenInitialized())
606+ then _chainExists(chainId, "executeWithdrawal: invalid chainId")
607+ else false)
608+ then _validateInt(requestWithdrawalId, 0, (requestWithdrawalSize - 1), "executeWithdrawal: invalid requestWithdrawalId")
609+ else false
610+ if ((err == err))
611+ then {
612+ let err1 = if ((_loadChain(chainId) == WAVES))
613+ then _validateWavesVault(i.caller, "executeWithdrawal: invalid waves vault")
614+ else if (_validateExecutor(i.caller, "executeWithdrawal: invalid executor"))
615+ then _validateCallerContract(chainId, callerContract_, "executeWithdrawal: invalid caller contract")
616+ else false
617+ if ((err1 == err1))
618+ then {
619+ let request = _loadRequestWithdrawal(requestWithdrawalId)
620+ let requestFrom = request._1
621+ let requestTo = request._2
622+ let requestToChainId = request._3
623+ let requestAsset = request._4
624+ let requestAmount = request._5
625+ let requestHeight = request._6
626+ let requestStatus = request._8
627+ let newAssetReserves = (_loadAssetReserves(requestToChainId, requestAsset) - requestAmount)
628+ let newAssetReservesLocked = (_loadAssetReservesLocked(requestToChainId, requestAsset) - requestAmount)
629+ let currency = _loadAssetCurrency(requestToChainId, requestAsset)
630+ let newCurrencyReserves = (_loadCurrencyReserves(currency) - requestAmount)
631+ let err2 = if (if (if (if (_validateBigInt(newAssetReserves, ZERO_BIGINT, "executeWithdrawal: negative newAssetReserves"))
632+ then _validateBigInt(newAssetReservesLocked, ZERO_BIGINT, "executeWithdrawal: negative newAssetReservesLocked")
633+ else false)
634+ then _validateBigInt(newCurrencyReserves, ZERO_BIGINT, "executeWithdrawal: negative newCurrencyReserves")
635+ else false)
636+ then _validateInt((height - requestHeight), _loadRequestWithdrawalBlockDelay(), MAX_INT, "executeWithdrawal: too early to execute")
637+ else false)
638+ then _requestIsCreated(requestStatus, "executeWithdrawal: request is resolved")
639+ else false
640+ if ((err2 == err2))
641+ then {
642+ let storageInvocation = invoke(_loadAccountStorage(), FUNC_WITHDRAW, [requestFrom, currency, toString(requestAmount)], nil)
643+ if ((storageInvocation == storageInvocation))
644+ then {
645+ let withdrawInvocation = if ((_loadChain(requestToChainId) == WAVES))
646+ then invoke(_loadWavesVault(), FUNC_WITHDRAW, [requestTo, requestAsset, toString(requestAmount)], nil)
647+ else invoke(_loadVaultAdapter(), FUNC_WITHDRAW, [requestToChainId, requestAsset, toString(requestAmount), requestTo], nil)
648+ if ((withdrawInvocation == withdrawInvocation))
649+ then {
650+ let requestUpdated = $Tuple8(request._1, request._2, request._3, request._4, request._5, request._6, request._7, REQUEST_STATUS_DONE)
651+ $Tuple2((((_saveAssetReserves(requestToChainId, requestAsset, newAssetReserves) ++ _saveAssetReservesLocked(requestToChainId, requestAsset, newAssetReservesLocked)) ++ _saveCurrencyReserves(currency, newCurrencyReserves)) ++ _saveRequestWithdrawal(requestWithdrawalId, requestUpdated)), unit)
652+ }
653+ else throw("Strict value is not equal to itself.")
654+ }
655+ else throw("Strict value is not equal to itself.")
656+ }
657+ else throw("Strict value is not equal to itself.")
658+ }
659+ else throw("Strict value is not equal to itself.")
660+ }
661+ else throw("Strict value is not equal to itself.")
662+ }
663+
664+
665+
666+@Callable(i)
667+func withdraw (from_,to_,toChainId_,asset_,amount_,timestamp_,publicKey_,alg_,signature_) = {
668+ let toChainId = valueOrErrorMessage(parseInt(toChainId_), "withdraw: toChainId not int")
669+ let amount = valueOrErrorMessage(parseBigInt(amount_), "withdraw: amount not int")
670+ let timestamp = valueOrErrorMessage(parseInt(timestamp_), "withdraw: timestamp not int")
671+ let alg = valueOrErrorMessage(parseInt(alg_), "withdraw: alg not int")
672+ let publicKey = fromBase58String(publicKey_)
673+ let signature = fromBase58String(signature_)
674+ let err = if (if (if (if (if (if (if (if (if (if (_whenInitialized())
675+ then _validateSequencer(i.caller, "withdraw: invalid sequencer")
676+ else false)
677+ then _validateString(from_, "withdraw: invalid from")
678+ else false)
679+ then _validateString(to_, "withdraw: invalid to")
680+ else false)
681+ then _chainExists(toChainId, "withdraw: invalid toChainId")
682+ else false)
683+ then _assetCurrencyExists(toChainId, asset_, "withdraw: invalid asset")
684+ else false)
685+ then _validateBigInt(amount, ZERO_BIGINT, "withdraw: invalid amount")
686+ else false)
687+ then _validateInt((timestamp + ONE_DAY), lastBlock.timestamp, MAX_INT, "withdraw: invalid timestamp")
688+ else false)
689+ then _validatePublicKey(publicKey, alg, "withdraw: inv public key")
690+ else false)
691+ then _validateSignatureFormat(signature, alg, "withdraw: inv sig format")
692+ else false)
693+ then _validatePublicKeyMatchesAddress(publicKey, from_, alg, "withdraw: public key mismatch")
694+ else false
695+ if ((err == err))
696+ then {
697+ let withdrawalBytes = ((((((((((toBytes(size(from_)) + toBytes(from_)) + toBytes(size(to_))) + toBytes(to_)) + toBytes(toChainId)) + toBytes(size(asset_))) + toBytes(asset_)) + toBytes(amount)) + toBytes(timestamp)) + publicKey) + toBytes(alg))
698+ let withdrawalHash = keccak256_16Kb(withdrawalBytes)
699+ let currency = _loadAssetCurrency(toChainId, asset_)
700+ let availableBalance = match invoke(_loadAccountStorage(), FUNC_GET_USER_BALANCE, [from_, SPOT_WALLET, currency], nil) {
701+ case a: String =>
702+ parseBigIntValue(a)
703+ case _ =>
704+ throw("withdraw: can't take available balance from storage")
705+ }
706+ if ((availableBalance == availableBalance))
707+ then {
708+ let assetReserves = _loadAssetReserves(toChainId, asset_)
709+ let lockedReserves = _loadAssetReservesLocked(toChainId, asset_)
710+ let err1 = if (if (if (_validateWithdrawalSignature(withdrawalHash, signature, publicKey, alg, "withdraw: invalid sig"))
711+ then _checkWithdrawalHashNotExist(withdrawalHash, "withdraw: already executed")
712+ else false)
713+ then _validateBigInt(availableBalance, amount, "withdraw: insufficient balance")
714+ else false)
715+ then _validateBigInt((assetReserves - lockedReserves), amount, "withdraw: insufficient reserves")
716+ else false
717+ if ((err1 == err1))
718+ then {
719+ let newAssetReserves = (assetReserves - amount)
720+ let newCurrencyReserves = (_loadCurrencyReserves(currency) - amount)
721+ let err2 = if (_validateBigInt(newAssetReserves, ZERO_BIGINT, "withdraw: negative newAssetReserves"))
722+ then _validateBigInt(newCurrencyReserves, ZERO_BIGINT, "withdraw: negative newCurrencyReserves")
723+ else false
724+ if ((err2 == err2))
725+ then {
726+ let storageInvocation = invoke(_loadAccountStorage(), FUNC_INTERNAL_TRANSFER, [from_, SPOT_WALLET, WITHDRAWALS_WALLET, currency, amount_], nil)
727+ if ((storageInvocation == storageInvocation))
728+ then {
729+ let storageInvocation1 = invoke(_loadAccountStorage(), FUNC_WITHDRAW, [from_, currency, amount_], nil)
730+ if ((storageInvocation1 == storageInvocation1))
731+ then {
732+ let withdrawInvocation = if ((_loadChain(toChainId) == WAVES))
733+ then invoke(_loadWavesVault(), FUNC_WITHDRAW, [to_, asset_, amount_], nil)
734+ else invoke(_loadVaultAdapter(), FUNC_WITHDRAW, [toChainId, asset_, amount_, to_], nil)
735+ if ((withdrawInvocation == withdrawInvocation))
736+ then $Tuple2(((_saveAssetReserves(toChainId, asset_, newAssetReserves) ++ _saveCurrencyReserves(currency, newCurrencyReserves)) ++ _saveWithdrawalHash(withdrawalHash, toBase58String(i.transactionId))), unit)
737+ else throw("Strict value is not equal to itself.")
738+ }
739+ else throw("Strict value is not equal to itself.")
740+ }
741+ else throw("Strict value is not equal to itself.")
742+ }
743+ else throw("Strict value is not equal to itself.")
744+ }
745+ else throw("Strict value is not equal to itself.")
746+ }
747+ else throw("Strict value is not equal to itself.")
748+ }
749+ else throw("Strict value is not equal to itself.")
750+ }
751+
752+
753+
754+@Callable(i)
755+func depositStakingReward (callerContract_,chainId_,asset_,amount_) = {
756+ let chainId = valueOrErrorMessage(parseInt(chainId_), "depositStakingReward: chainId not int")
757+ let amount = valueOrErrorMessage(parseBigInt(amount_), "depositStakingReward: amount not int")
758+ let err = if (if (if (if (_whenInitialized())
759+ then _whenNotPaused()
760+ else false)
761+ then _chainExists(chainId, "depositStakingReward: invalid chainId")
762+ else false)
763+ then _assetCurrencyExists(chainId, asset_, "depositStakingReward: invalid asset")
764+ else false)
765+ then _validateBigInt(amount, ZERO_BIGINT, "depositStakingReward: invalid amount")
766+ else false
767+ if ((err == err))
768+ then {
769+ let err1 = if ((_loadChain(chainId) == WAVES))
770+ then _validateWavesVault(i.caller, "depositStakingReward: invalid waves vault")
771+ else if (_validateExecutor(i.caller, "depositStakingReward: invalid executor"))
772+ then _validateCallerContract(chainId, callerContract_, "depositStakingReward: invalid caller contract")
773+ else false
774+ if ((err1 == err1))
775+ then {
776+ let newAssetReserves = (_loadAssetReserves(chainId, asset_) + amount)
777+ let currency = _loadAssetCurrency(chainId, asset_)
778+ let newCurrencyReserves = (_loadCurrencyReserves(currency) + amount)
779+ let invocation = invoke(_loadAccountStorage(), FUNC_DEPOSIT_STAKING_REWARD, [_loadRewardDistributor(), currency, amount_], nil)
780+ if ((invocation == invocation))
781+ then $Tuple2((_saveAssetReserves(chainId, asset_, newAssetReserves) ++ _saveCurrencyReserves(currency, newCurrencyReserves)), unit)
782+ else throw("Strict value is not equal to itself.")
783+ }
784+ else throw("Strict value is not equal to itself.")
785+ }
786+ else throw("Strict value is not equal to itself.")
787+ }
788+
789+
790+
791+@Callable(i)
792+func addChain (chainId_,name_,callerContract_) = {
793+ let err = if (if (if (if (if (_onlyThisContract(i.caller))
794+ then _whenInitialized()
795+ else false)
796+ then _validateInt(chainId_, 0, MAX_INT, "addChain: invalid chainId")
797+ else false)
798+ then _validateString(name_, "addChain: invalid name")
799+ else false)
800+ then _validateString(callerContract_, "addChain: invalid callerContract")
801+ else false)
802+ then _chainNotExist(chainId_, "addChain: already exists")
803+ else false
804+ if ((err == err))
805+ then $Tuple2((_saveChain(chainId_, name_) ++ _saveCallerContract(chainId_, callerContract_)), unit)
806+ else throw("Strict value is not equal to itself.")
807+ }
808+
809+
810+
811+@Callable(i)
812+func addAsset (chainId_,asset_,currency_) = {
813+ let err = if (if (if (if (if (_onlyThisContract(i.caller))
814+ then _whenInitialized()
815+ else false)
816+ then _chainExists(chainId_, "addAsset: invalid chainId")
817+ else false)
818+ then _validateString(asset_, "addAsset: invalid asset")
819+ else false)
820+ then _validateString(currency_, "addAsset: invalid currency")
821+ else false)
822+ then _assetCurrencyNotExist(chainId_, asset_, "addAsset: already exists")
823+ else false
824+ if ((err == err))
825+ then $Tuple2(_saveAssetCurrency(chainId_, asset_, currency_), unit)
826+ else throw("Strict value is not equal to itself.")
827+ }
828+
829+
830+
831+@Callable(i)
832+func setRequestWithdrawalBlockDelay (delay_) = {
833+ let err = if (if (_onlyThisContract(i.caller))
834+ then _whenInitialized()
835+ else false)
836+ then _validateInt(delay_, 0, MAX_INT, "setRequestWithdrawalBlockDelay: invalid delay")
837+ else false
838+ if ((err == err))
839+ then $Tuple2(_saveRequestWithdrawalBlockDelay(delay_), unit)
840+ else throw("Strict value is not equal to itself.")
841+ }
842+
843+
844+
845+@Callable(i)
846+func updateRewardDistributor (rewardDistributor_) = {
847+ let err = if (if (_onlyThisContract(i.caller))
848+ then _whenInitialized()
849+ else false)
850+ then _validateString(rewardDistributor_, "updateRewardDistributor: invalid rewardDistributor")
851+ else false
852+ if ((err == err))
853+ then $Tuple2(_saveRewardDistributor(rewardDistributor_), unit)
854+ else throw("Strict value is not equal to itself.")
855+ }
856+
857+
858+
859+@Callable(i)
860+func pause () = {
861+ let err = if (if (_onlyPauser(i.caller))
862+ then _whenInitialized()
863+ else false)
864+ then _whenNotPaused()
865+ else false
866+ if ((err == err))
867+ then $Tuple2(_savePause(true), unit)
868+ else throw("Strict value is not equal to itself.")
869+ }
870+
871+
872+
873+@Callable(i)
874+func unpause () = {
875+ let err = if (if (_onlyPauser(i.caller))
876+ then _whenInitialized()
877+ else false)
878+ then _whenPaused()
879+ else false
880+ if ((err == err))
881+ then $Tuple2(_savePause(false), unit)
882+ else throw("Strict value is not equal to itself.")
883+ }
884+
885+
886+
887+@Callable(i)
888+func updatePauser (pauser_) = {
889+ let err = if (if (_onlyThisContract(i.caller))
890+ then _whenInitialized()
891+ else false)
892+ then _validateAddress(pauser_, "updatePauser: invalid pauser")
893+ else false
894+ if ((err == err))
895+ then $Tuple2(_savePauser(addressFromStringValue(pauser_)), unit)
896+ else throw("Strict value is not equal to itself.")
897+ }
898+
899+
900+
901+@Callable(i)
902+func setMultisig (multisig_) = {
903+ let err = if (_onlyThisContract(i.caller))
904+ then _validateAddress(multisig_, "setMultisig: invalid multisig")
905+ else false
906+ if ((err == err))
907+ then $Tuple2(_saveMultisig(addressFromStringValue(multisig_)), unit)
908+ else throw("Strict value is not equal to itself.")
909+ }
910+
911+
912+@Verifier(tx)
913+func verify () = match getString(KEY_MULTISIG) {
914+ case multisig: String =>
915+ valueOrElse(getBoolean(addressFromStringValue(multisig), makeString([KEY_STATUS, toString(this), toBase58String(tx.id)], SEPARATOR)), false)
916+ case _ =>
917+ sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
918+}
919+

github/deemru/w8io/169f3d6 
48.19 ms