Skip to main content

timelock_role_rows

Function timelock_role_rows 

Source
async fn timelock_role_rows(
    provider: &impl Provider,
    toml: &ProposalToml,
    kind: &ContractKind,
    rows: &mut Vec<CheckRow>,
)
Expand description

Assert on chain that each phase Safe holds the role it needs on the timelock.

safe_address_rows only proves the Safes match the embedded deployment-info, which is a snapshot; roles can be granted or revoked after it was written.

Queries the deployment-info timelock, never toml.timelock: the proposal is untrusted input, so roles read from an address it supplies would prove nothing.