Skip to content

Getter for CcipSteward Timelock #437

@DhairyaSethi

Description

@DhairyaSethi

Feature Request

Currently there exists no public getter for the timelock state in GhoCcipSteward, while it is an unlikely requirement on-chain to be queried for any conditional logic, a getter can help existing RiskCouncil operators to easily get access to this data.
For reference, this value can be obtained on existing stewards w/o this offchain through: (pseudocode)

    uint256 ccipDebounceValue = uint256(vm.load(address(GHO_CCIP_STEWARD), bytes32(0)));
    IGhoCcipSteward.CcipDebounce memory ccipDebounce = IGhoCcipSteward.CcipDebounce({
      bridgeLimitLastUpdate: uint40(ccipDebounceValue >> 216),
      rateLimitLastUpdate: uint40(ccipDebounceValue >> 176)
    });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions