EarnReviewMeta
Defined in: earn.ts:26
Properties
Section titled “Properties”account
Section titled “account”account:
string
Defined in: earn.ts:29
The account that sends the plan: the gate passes its calls for this account only.
action
Section titled “action”action:
string
Defined in: earn.ts:33
‘Supply’, ‘Withdraw’, ‘Borrow’, ‘Repay’, ‘Stake’, …
checks?
Section titled “checks?”
optionalchecks?: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
Section titled “status”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
Section titled “module”module:
string
Defined in: earn.ts:31
‘Aave v3’, ‘Morpho’, …
network
Section titled “network”network:
EvmNetwork
Defined in: earn.ts:34
origin
Section titled “origin”origin:
string
Defined in: earn.ts:27
preview?
Section titled “preview?”
optionalpreview?:unknown
Defined in: earn.ts:40
tx-preview-evm result for approvals + call, attached by the wallet (JSON-safe) or null.