Executors

Executors are backend programs responsible for retrieving and executing operations approved by the Master Smart Contract. These programs operate by monitoring contract events across multiple blockchain networks and responding to specific triggers.

The primary responsibility of Executors is event monitoring. They continuously observe events, such as ProposalApproved(uint256 opHash), which signify that an operation has been validated by the protocol’s governance or automated systems.

Once validation is confirmed, Executors carry out the approved operation on the target blockchain by invoking the executeOperation function. This function requires the operation data and transmitter signatures as inputs:

function executeOperation(
    OperationLib.OperationData calldata opData,
    Signature[] calldata transmitterSigs
)

Executors, deployed and maintained by External Developers, must have their wallets appropriately funded and configured for each blockchain they interact with. Their main function is to execute operations approved by the Master Smart Contract on the target blockchain, following specified parameters and security protocols.

Last updated