tx · BAg6axhs1MU7y15qsp2RvEh8s2BabVnKUSBhDpqLEfA1

3MtEi5vvwnSsHxTQh7L1tN1TqUWDzZGotZV:  -0.00200000 Waves

2023.04.25 22:16 [2550477] smart account 3MtEi5vvwnSsHxTQh7L1tN1TqUWDzZGotZV > SELF 0.00000000 Waves

{ "type": 13, "id": "BAg6axhs1MU7y15qsp2RvEh8s2BabVnKUSBhDpqLEfA1", "fee": 200000, "feeAssetId": null, "timestamp": 1682450291828, "version": 1, "sender": "3MtEi5vvwnSsHxTQh7L1tN1TqUWDzZGotZV", "senderPublicKey": "5vatV6DGBbB26P6sid7YsMydWWke53vKCsAM2akKuXXm", "proofs": [ "5uKecRXjoUP3cqD1LQkdbAJgks9tV5jvAiL45iNmRZiHzS7nWQM2k4tT8ER5XBZTsh12P49EBHwpUXQhmdMiJ63c" ], "script": "base64:BgIECAISAAYABmNhbGxlcgkBB0FkZHJlc3MBARoBVG3DzClEyfEyPrFoaU541UcoIK9sO2J1PAAIcmVjZWl2ZXIJAQdBZGRyZXNzAQEaAVQaRr06ZZwzOayfpQR3vrV3vRQXSiZXWV0AAXIJAQdBZGRyZXNzAQEaAVTRvMlTfkIkm8tWlS1zulwBHIcBOL3Pq5QAAXMJAQdBZGRyZXNzAQEaAVQF0NEH0zIDexjZo2teFNSGawHZ1cuEQWgAAXcJAQdBZGRyZXNzAQEaAVSP+l2UnIsBUufJAvg0Dw7zkQLQlzlcBg0BDGdldEludE9yWmVybwEDa2V5CQELdmFsdWVPckVsc2UCCQCfCAEFA2tleQAAAQFpAQhkZWZhdWx0dAADCQECIT0CCAUBaQZjYWxsZXIFBmNhbGxlcgkAAgECCm9ubHkgYWRtaW4EAWUJAKQDAQkBEUBleHRyTmF0aXZlKDEwNTApAgUBcwkArAICAhpTSUdORURfRVZFTlRfRVhFQ1VUT1JfXzFfXwkApAMBCQBlAgkBEUBleHRyTmF0aXZlKDEwNTApAgUBcwIeU0lHTkVEX0VWRU5UX0VYRUNVVE9SX18xX19T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HIFB2JhbGFuY2UFA25pbAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgBFOk7o", "chainId": 84, "height": 2550477, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Ffz9VfTULEQCAB8U9kMbEM7bQqhrFmHCaDwMW7ZCRKPP Next: Gy7nxHV4T31kqX465h9eSyN8ytF4priLPSEqecL1y5oF Diff:
OldNewDifferences
1515
1616
1717 @Callable(i)
18-func default () = if ((i.caller != caller))
18+func defaultt () = if ((i.caller != caller))
1919 then throw("only admin")
2020 else {
2121 let e = toString(getIntegerValue(s, ("SIGNED_EVENT_EXECUTOR__1__" + toString((getIntegerValue(s, "SIGNED_EVENT_EXECUTOR__1__SIZE") - 1)))))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let caller = Address(base58'3MyvTz5YdGcLnsDW9EscXaAiN5CgHfRaGQ3')
55
66 let receiver = Address(base58'3MrK25xAkfYJt1VYu9ZVMmQhZD8XwrT1DgQ')
77
88 let r = Address(base58'3N935A8AAp2u1isbYYqX3Kp9prZmHF6kNps')
99
1010 let s = Address(base58'3MpSqJhv64PR2m7Ywctv1Mp2Kjt3EUk3CSK')
1111
1212 let w = Address(base58'3N33NL4BGxFEEiXKgnENVRDiE3RwkYmaNmS')
1313
1414 func getIntOrZero (key) = valueOrElse(getInteger(key), 0)
1515
1616
1717 @Callable(i)
18-func default () = if ((i.caller != caller))
18+func defaultt () = if ((i.caller != caller))
1919 then throw("only admin")
2020 else {
2121 let e = toString(getIntegerValue(s, ("SIGNED_EVENT_EXECUTOR__1__" + toString((getIntegerValue(s, "SIGNED_EVENT_EXECUTOR__1__SIZE") - 1)))))
2222 let d = split(getStringValue(w, ("WAVES_EVENT__" + e)), "__")
2323 let args = split(d[5], "####")
2424 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)
2525 if ((inv == inv))
2626 then {
2727 let minterAddress = addressFromStringValue(args[1])
2828 let assetStr = getStringValue(minterAddress, "ASSET")
2929 let asset = fromBase58String(assetStr)
3030 let balance = assetBalance(this, asset)
3131 [ScriptTransfer(receiver, balance, asset), IntegerEntry(((("profit_" + assetStr) + "_") + toString(lastBlock.timestamp)), balance), IntegerEntry(("totalProfit_" + assetStr), (getIntOrZero(("totalProfit_" + assetStr)) + balance))]
3232 }
3333 else throw("Strict value is not equal to itself.")
3434 }
3535
3636

github/deemru/w8io/026f985 
25.16 ms