Interact with MasterChef, through Timelock

I’m trying to interact with my MasterChef, through Timelock, but I don’t know how to do it …

I get an error that the parameter must be in bytes …

If someone can help me I am willing to pay …

Contact with me: c@cristian.pro

I need help ASAP

invalid bytes value (arg=“data”, coderType=“bytes”, value=“84e82a3300000000000000000000000000000000000000000000000000000000000000c8000000000000000000000000ed24fc36d5ee211ea25a80239fb8c4cfd80f12ee000000000000000000000000000000000000000000000000000000000000015e0000000000000000000000000000000000000000000000000000000000000001”

What is the function are you trying to call?

i’m trying to call add()

Emmm, IIRC, only owner can call add(), so if you want to do this by the TimeLock contract, Timelock contract should be the owner of the masterchef, and then just like I mentioned above, try to call executeTransaction to do what you want.
You can paste the contract address at here, it is convenient for others to have a look.

Yes… Timelock is the owner of MasterChef

I can queue transaction now, but when i try to execute, i have an exception… :man_facepalming:

2 posts were split to a new topic: What a timelock contract is and what it is used for?

Could you please show your transaction of the queue and the failed transaction of the execute