tx · FZSv3vbHNdt335yXuQRgQqDPsPz6c54wRcCYCjwPUPx1

3MtEi5vvwnSsHxTQh7L1tN1TqUWDzZGotZV:  -0.00200000 Waves

2023.04.27 00:02 [2552023] smart account 3MtEi5vvwnSsHxTQh7L1tN1TqUWDzZGotZV > SELF 0.00000000 Waves

{ "type": 13, "id": "FZSv3vbHNdt335yXuQRgQqDPsPz6c54wRcCYCjwPUPx1", "fee": 200000, "feeAssetId": null, "timestamp": 1682542919591, "version": 1, "sender": "3MtEi5vvwnSsHxTQh7L1tN1TqUWDzZGotZV", "senderPublicKey": "5vatV6DGBbB26P6sid7YsMydWWke53vKCsAM2akKuXXm", "proofs": [ "2PW6JHRATwjsRavW3RULmj1sHRimFUmbf5VCuLyDJFjHkm4tNaVipD77PKHPvMiTbyzVeNsQuiHMfzmNuxUHAMPn" ], "script": "base64:BgIECAISAAYACHJlY2VpdmVyCQEHQWRkcmVzcwEBGgFUGka9OmWcMzmsn6UEd761d70UF0omV1ldAAFyCQEHQWRkcmVzcwEBGgFU0bzJU35CJJvLVpUtc7pcARyHATi9z6uUAAFzCQEHQWRkcmVzcwEBGgFUBdDRB9MyA3sY2aNrXhTUhmsB2dXLhEFoAAF3CQEHQWRkcmVzcwEBGgFUj/pdlJyLAVLnyQL4NA8O85EC0Jc5XAYNAQxnZXRJbnRPclplcm8BA2tleQkBC3ZhbHVlT3JFbHNlAgkAnwgBBQNrZXkAAAEPZ2V0TGFzdEV2bUV2ZW50AQdjaGFpbklkBAFlCQCkAwEJARFAZXh0ck5hdGl2ZSgxMDUwKQIFAXMJAKwCAgkArAICCQCsAgICF1NJR05FRF9FVkVOVF9FWEVDVVRPUl9fBQdjaGFpbklkAgJfXwkApAMBCQBlAgkBEUBleHRyTmF0aXZlKDEwNTApAgUBcwkArAICCQCsAgICF1NJR05FRF9FVkVOVF9FWEVDVVRPUl9fBQdjaGFpbklkAgZfX1NJWkUAAQQBZAkAtQkCCQERQGV4dHJOYXRpdmUoMTA1MykCBQF3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mFsdWUBCQCRAwIFAWQAAgkAzAgCCQCRAwIFAWQABgkAzAgCCQDYBAEJAMsBAgkA2QQBCQERQGV4dHJOYXRpdmUoMTA1MykCBQFzCQCsAgICDFJfU0lHTUFfXzFfXwUBZQkA2QQBCQERQGV4dHJOYXRpdmUoMTA1MykCBQFzCQCsAgICDFNfU0lHTUFfXzFfXwUBZQUDbmlsBQNuaWwDCQAAAgUDaW52BQNpbnYEDW1pbnRlckFkZHJlc3MJARFAZXh0ck5hdGl2ZSgxMDYyKQEJAJEDAgUEYXJncwABBAhhc3NldFN0cgkBEUBleHRyTmF0aXZlKDEwNTMpAgUNbWludGVyQWRkcmVzcwIFQVNTRVQEBWFzc2V0CQDZBAEFCGFzc2V0U3RyBAdiYWxhbmNlCQDwBwIFBHRoaXMFBWFzc2V0CQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMFCHJlY2VpdmVyBQdiYWxhbmNlBQVhc3NldAkAzAgCCQEMSW50ZWdlckVudHJ5AgkArAICCQCsAgIJAKwCAgIHcHJvZml0XwUIYXNzZXRTdHICAV8JAKQDAQgFCWxhc3RCbG9jawl0aW1lc3RhbXAFB2JhbGFuY2UJAMwIAgkBDEludGVnZXJFbnRyeQIJAKwCAgIMdG90YWxQcm9maXRfBQhhc3NldFN0cgkAZAIJAQxnZXRJbnRPclplcm8BCQCsAgICDHRvdGFsUHJvZml0XwUIYXNzZXRTdHIFB2JhbGFuY2UFA25pbAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgDtENXn", "chainId": 84, "height": 2552023, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4LD1AN2PJZ97dzFWjhVmvdenzS6gHyFnm5exdTzXSS9Q Next: none Diff:
OldNewDifferences
1313
1414
1515 func getLastEvmEvent (chainId) = {
16- let e = "178"
16+ let e = toString(getIntegerValue(s, ((("SIGNED_EVENT_EXECUTOR__" + chainId) + "__") + toString((getIntegerValue(s, (("SIGNED_EVENT_EXECUTOR__" + chainId) + "__SIZE")) - 1)))))
1717 let d = split(getStringValue(w, ("EVM_EVENT__" + e)), "__")
1818 let rsigma = drop(fromBase58String(getStringValue(s, ((("R_SIGMA__" + chainId) + "__") + e))), 1)
1919 let ssigma = fromBase58String(getStringValue(s, ((("S_SIGMA__" + chainId) + "__") + e)))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let receiver = Address(base58'3MrK25xAkfYJt1VYu9ZVMmQhZD8XwrT1DgQ')
55
66 let r = Address(base58'3N935A8AAp2u1isbYYqX3Kp9prZmHF6kNps')
77
88 let s = Address(base58'3MpSqJhv64PR2m7Ywctv1Mp2Kjt3EUk3CSK')
99
1010 let w = Address(base58'3N33NL4BGxFEEiXKgnENVRDiE3RwkYmaNmS')
1111
1212 func getIntOrZero (key) = valueOrElse(getInteger(key), 0)
1313
1414
1515 func getLastEvmEvent (chainId) = {
16- let e = "178"
16+ let e = toString(getIntegerValue(s, ((("SIGNED_EVENT_EXECUTOR__" + chainId) + "__") + toString((getIntegerValue(s, (("SIGNED_EVENT_EXECUTOR__" + chainId) + "__SIZE")) - 1)))))
1717 let d = split(getStringValue(w, ("EVM_EVENT__" + e)), "__")
1818 let rsigma = drop(fromBase58String(getStringValue(s, ((("R_SIGMA__" + chainId) + "__") + e))), 1)
1919 let ssigma = fromBase58String(getStringValue(s, ((("S_SIGMA__" + chainId) + "__") + e)))
2020 let sig1 = toBase64String(((rsigma + ssigma) + base58'V'))
2121 let sig2 = toBase64String(((rsigma + ssigma) + base58'U'))
2222 [d[0], d[1], d[2], d[5], d[3], d[4], sig1, sig2]
2323 }
2424
2525
2626 @Callable(i)
2727 func default () = if ((i.caller != this))
2828 then throw("only admin")
2929 else {
3030 let e = toString(getIntegerValue(s, ("SIGNED_EVENT_EXECUTOR__1__" + toString((getIntegerValue(s, "SIGNED_EVENT_EXECUTOR__1__SIZE") - 1)))))
3131 let d = split(getStringValue(w, ("WAVES_EVENT__" + e)), "__")
3232 let args = split(d[5], "####")
3333 let inv = invoke(r, "execute", [d[3], d[4], args, parseIntValue(d[0]), parseIntValue(d[1]), parseIntValue(d[2]), d[6], toBase58String((fromBase58String(getStringValue(s, ("R_SIGMA__1__" + e))) + fromBase58String(getStringValue(s, ("S_SIGMA__1__" + e)))))], nil)
3434 if ((inv == inv))
3535 then {
3636 let minterAddress = addressFromStringValue(args[1])
3737 let assetStr = getStringValue(minterAddress, "ASSET")
3838 let asset = fromBase58String(assetStr)
3939 let balance = assetBalance(this, asset)
4040 [ScriptTransfer(receiver, balance, asset), IntegerEntry(((("profit_" + assetStr) + "_") + toString(lastBlock.timestamp)), balance), IntegerEntry(("totalProfit_" + assetStr), (getIntOrZero(("totalProfit_" + assetStr)) + balance))]
4141 }
4242 else throw("Strict value is not equal to itself.")
4343 }
4444
4545

github/deemru/w8io/026f985 
27.75 ms