TimeClock

Moonla Farm contracts are timelocked for 1 day - FUNDS ARE SAFU

 function queueTransaction(address target, uint value, string memory signature, bytes memory data, uint eta) public returns (bytes32) {
        require(msg.sender == admin, "Timelock::queueTransaction: Call must come from admin.");
        require(eta >= getBlockTimestamp().add(delay), "Timelock::queueTransaction: Estimated execution block must satisfy delay.");

        bytes32 txHash = keccak256(abi.encode(target, value, signature, data, eta));
        queuedTransactions[txHash] = true;

        emit QueueTransaction(txHash, target, value, signature, data, eta);
        return txHash;
    }

Proof

Guide the user to check data when calling a command Timelock

Step 1: Access to the application: https://lab.miguelmota.com/ethereum-input-data-decoder/example/

Step 2: Go to the source code of the MoonlaFarm contract: https://bscscan.com/address/0x49407c8E86D4E2Aed6E138aEf3269ba00886EEbb#code

Step 3: Copy Contract ABI

Step 4: Paste in the ABI box

Step 5: Go to txHash and select Decode Input Data, then copy the data bytes

Step 6: Paste in the Input Data box and click Decode

You will get the result in the Output box.

Last updated

Was this helpful?