Skip to main content

SinkGovernor

SinkGovernor#

Functions#

constructor(contract FinderInterface _finder) (public)

Constructor.

Parameters:#

  • _finder: Address of Finder that this contract uses to locate GenericHandler.
executeGovernance(address to, bytes data) (external)

This method will ultimately be called after a governance execution has been bridged cross-chain from Mainnet to this network via an off-chain relayer. The relayer will call Bridge.executeProposal on this local network, which call GenericHandler.executeProposal() and ultimately this method.

This method should send the arbitrary transaction emitted by the L1 governor on this chain.

Parameters:#

  • to: Contract on this network to send governance transaction to.
  • data: Calldata to include in governance transaction.

Events#

ExecutedGovernanceTransaction(address to, bytes data)