Skip to content
docs

EarnReviewMeta

Defined in: earn.ts:26

account: string

Defined in: earn.ts:29

The account that sends the plan: the gate passes its calls for this account only.


action: string

Defined in: earn.ts:33

‘Supply’, ‘Withdraw’, ‘Borrow’, ‘Repay’, ‘Stake’, …


optional checks?: object[]

Defined in: earn.ts:38

What the module says about the plan (its own refusals never reach here — they throw before).

label: string

status: "ok" | "warn" | "unknown"


facts: object[]

Defined in: earn.ts:36

Human lines the sheet shows (asset, amount, APY, market/vault, health factor…).

k: string

v: string


module: string

Defined in: earn.ts:31

‘Aave v3’, ‘Morpho’, …


network: EvmNetwork

Defined in: earn.ts:34


origin: string

Defined in: earn.ts:27


optional preview?: unknown

Defined in: earn.ts:40

tx-preview-evm result for approvals + call, attached by the wallet (JSON-safe) or null.