Skip to content

Type Alias: ExecuteFailedOnchain

type ExecuteFailedOnchain = {
  description?: string;
  receipt?: BoopReceipt;
  revertData?: string;
  stage: "simulate" | "submit" | "execute";
  status: Exclude<OnchainStatus, typeof Success>;
};

Defined in: apps/submitter/lib/handlers/execute/types.ts:40

Output of execute calls that fail for "onchain" reasons.

Properties

description?

optional description: string;

Defined in: apps/submitter/lib/handlers/execute/types.ts:56

Description of the problem.


receipt?

optional receipt: BoopReceipt;

Defined in: apps/submitter/lib/handlers/execute/types.ts:53

Receipt for the boop, if available.


revertData?

optional revertData: string;

Defined in: apps/submitter/lib/handlers/execute/types.ts:50

Depending on the status, either missing, or the revert data matching an Onchain.*Reverted status, or the the returned encoded error matching an Onchain.*Rejected status. This pertains to simulation.


stage

stage: "simulate" | "submit" | "execute";

Defined in: apps/submitter/lib/handlers/execute/types.ts:44

Whether the error occurred at the simulation or execution stages.


status

status: Exclude<OnchainStatus, typeof Success>;

Defined in: apps/submitter/lib/handlers/execute/types.ts:41