governor:queue
Queue a succeeded Governor proposal into its timelock. Takes the same description and action block used in governor:propose.
Syntax
Section titled “Syntax”governor:queue <governor> <description> <actions>Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
governor |
address |
Governor address |
description |
string |
Proposal description used when proposing |
actions |
block |
Block of commands making up the proposal |
Examples
Section titled “Examples”load governorload access-control
set $governor 0x44fA8E6f47987339850636F88629646662444217set $token 0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb
governor:queue $governor "Fund the grants program" ( exec $token transfer(address,uint256) 0x4F2083f5fBede34C2714aFfb3105539775f7FE64 100e18 access-control:grant $token MINTER_ROLE 0x4F2083f5fBede34C2714aFfb3105539775f7FE64)- Only needed on Governors wired to a timelock; check with the Governor’s
proposalNeedsQueuing. - The description and block must match the original governor:propose exactly — the on-chain call takes the keccak256 hash of the description, not the text.
See Also
Section titled “See Also”- governor:execute — execute after the timelock delay