tx · 5yRv5B5tvgYRv1oA6CC1XWUofHjbhMseDTwM3KHn9n1t

3MtEi5vvwnSsHxTQh7L1tN1TqUWDzZGotZV:  -0.00200000 Waves

2023.04.26 23:38 [2552002] smart account 3MtEi5vvwnSsHxTQh7L1tN1TqUWDzZGotZV > SELF 0.00000000 Waves

{ "type": 13, "id": "5yRv5B5tvgYRv1oA6CC1XWUofHjbhMseDTwM3KHn9n1t", "fee": 200000, "feeAssetId": null, "timestamp": 1682541528794, "version": 1, "sender": "3MtEi5vvwnSsHxTQh7L1tN1TqUWDzZGotZV", "senderPublicKey": "5vatV6DGBbB26P6sid7YsMydWWke53vKCsAM2akKuXXm", "proofs": [ "3HS3L6tXTrJE4fhf1kJweFVVzUqL4h5KZJ1LSFLxnkmNN22AHcjWfqjNCTrq5Lg5RNMJywZcJA7xszGqkR45WE5Z" ], "script": "base64:BgIECAISAAYACHJlY2VpdmVyCQEHQWRkcmVzcwEBGgFUGka9OmWcMzmsn6UEd761d70UF0omV1ldAAFyCQEHQWRkcmVzcwEBGgFU0bzJU35CJJvLVpUtc7pcARyHATi9z6uUAAFzCQEHQWRkcmVzcwEBGgFUBdDRB9MyA3sY2aNrXhTUhmsB2dXLhEFoAAF3CQEHQWRkcmVzcwEBGgFUj/pdlJyLAVLnyQL4NA8O85EC0Jc5XAYNAQxnZXRJbnRPclplcm8BA2tleQkBC3ZhbHVlT3JFbHNlAgkAnwgBBQNrZXkAAAEPZ2V0TGFzdEV2bUV2ZW50AQdjaGFpbklkBAFlAgMxNzgEAWQJALUJAgkBEUBleHRyTmF0aXZlKDEwNTMpAgUBdwkArAICAgtFVk1fRVZFTlRfXwUBZQICX18EBnJzaWdtYQkAygECCQDZBAEJARFAZXh0ck5hdGl2ZSgxMDUzKQIFAXMJAKwCAgkArAICCQCsAgICCVJfU0lHTUFfXwUHY2hhaW5JZAICX18FAWUAAQQGc3NpZ21hCQDZBAEJARFAZXh0ck5hdGl2ZSgxMDUzKQIFAXMJAKwCAgkArAICC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UDbmlsBQNuaWwDCQAAAgUDaW52BQNpbnYEDW1pbnRlckFkZHJlc3MJARFAZXh0ck5hdGl2ZSgxMDYyKQEJAJEDAgUEYXJncwABBAhhc3NldFN0cgkBEUBleHRyTmF0aXZlKDEwNTMpAgUNbWludGVyQWRkcmVzcwIFQVNTRVQEBWFzc2V0CQDZBAEFCGFzc2V0U3RyBAdiYWxhbmNlCQDwBwIFBHRoaXMFBWFzc2V0CQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMFCHJlY2VpdmVyBQdiYWxhbmNlBQVhc3NldAkAzAgCCQEMSW50ZWdlckVudHJ5AgkArAICCQCsAgIJAKwCAgIHcHJvZml0XwUIYXNzZXRTdHICAV8JAKQDAQgFCWxhc3RCbG9jawl0aW1lc3RhbXAFB2JhbGFuY2UJAMwIAgkBDEludGVnZXJFbnRyeQIJAKwCAgIMdG90YWxQcm9maXRfBQhhc3NldFN0cgkAZAIJAQxnZXRJbnRPclplcm8BCQCsAgICDHRvdGFsUHJvZml0XwUIYXNzZXRTdHIFB2JhbGFuY2UFA25pbAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgBSYZQU", "chainId": 84, "height": 2552002, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6wqF4BPyeP82EAF4QwPXv5BJxwRCaYoSiEhRQA3MyB3P Next: 6zUK4rxyRdMoFAek8wg89LFvkirvTRWdmBoEEbMf2xnX Diff:
OldNewDifferences
1717 let j = split(getStringValue(d, ("EVM_EVENT__" + i)), "__")
1818 let k = drop(fromBase58String(getStringValue(c, ((("R_SIGMA__" + h) + "__") + i))), 1)
1919 let l = fromBase58String(getStringValue(c, ((("S_SIGMA__" + h) + "__") + i)))
20- let m = toBase64String(((k + l) + toBytes(27)))
21- let n = toBase64String(((k + l) + toBytes(28)))
22- makeString([j[0], j[1], j[2], j[5], j[3], j[4], m, n], "_")
20+ let m = toBase58String(((k + l) + toBytes(27)))
21+ let n = toBase58String(((k + l) + toBytes(28)))
22+[j[0], j[1], j[2], j[5], j[3], j[4], m, n]
2323 }
2424
2525
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = Address(base58'3MrK25xAkfYJt1VYu9ZVMmQhZD8XwrT1DgQ')
55
66 let b = Address(base58'3N935A8AAp2u1isbYYqX3Kp9prZmHF6kNps')
77
88 let c = Address(base58'3MpSqJhv64PR2m7Ywctv1Mp2Kjt3EUk3CSK')
99
1010 let d = Address(base58'3N33NL4BGxFEEiXKgnENVRDiE3RwkYmaNmS')
1111
1212 func e (f) = valueOrElse(getInteger(f), 0)
1313
1414
1515 func g (h) = {
1616 let i = "178"
1717 let j = split(getStringValue(d, ("EVM_EVENT__" + i)), "__")
1818 let k = drop(fromBase58String(getStringValue(c, ((("R_SIGMA__" + h) + "__") + i))), 1)
1919 let l = fromBase58String(getStringValue(c, ((("S_SIGMA__" + h) + "__") + i)))
20- let m = toBase64String(((k + l) + toBytes(27)))
21- let n = toBase64String(((k + l) + toBytes(28)))
22- makeString([j[0], j[1], j[2], j[5], j[3], j[4], m, n], "_")
20+ let m = toBase58String(((k + l) + toBytes(27)))
21+ let n = toBase58String(((k + l) + toBytes(28)))
22+[j[0], j[1], j[2], j[5], j[3], j[4], m, n]
2323 }
2424
2525
2626 @Callable(o)
2727 func default () = if ((o.caller != this))
2828 then throw("only admin")
2929 else {
3030 let i = toString(getIntegerValue(c, ("SIGNED_EVENT_EXECUTOR__1__" + toString((getIntegerValue(c, "SIGNED_EVENT_EXECUTOR__1__SIZE") - 1)))))
3131 let j = split(getStringValue(d, ("WAVES_EVENT__" + i)), "__")
3232 let p = split(j[5], "####")
3333 let q = invoke(b, "execute", [j[3], j[4], p, parseIntValue(j[0]), parseIntValue(j[1]), parseIntValue(j[2]), j[6], toBase58String((fromBase58String(getStringValue(c, ("R_SIGMA__1__" + i))) + fromBase58String(getStringValue(c, ("S_SIGMA__1__" + i)))))], nil)
3434 if ((q == q))
3535 then {
3636 let r = addressFromStringValue(p[1])
3737 let s = getStringValue(r, "ASSET")
3838 let t = fromBase58String(s)
3939 let u = assetBalance(this, t)
4040 [ScriptTransfer(a, u, t), IntegerEntry(((("profit_" + s) + "_") + toString(lastBlock.timestamp)), u), IntegerEntry(("totalProfit_" + s), (e(("totalProfit_" + s)) + u))]
4141 }
4242 else throw("Strict value is not equal to itself.")
4343 }
4444
4545

github/deemru/w8io/026f985 
36.48 ms