Skip to content
docs

MorphoVaultConfig

Defined in: protocol-lending-morpho-evm/src/vault.ts:8

optional allowUnverifiedVault?: boolean

Defined in: protocol-lending-morpho-evm/src/vault.ts:12

Accept a vault no known Morpho factory acknowledges (default false).


optional api?: string | null

Defined in: protocol-lending-morpho-evm/src/base.ts:25

Morpho API endpoint for APY / listing, or null to disable (default: api.morpho.org).

MorphoBaseConfig.api


optional chainId?: number

Defined in: protocol-lending-morpho-evm/src/base.ts:19

Chain (default: the account’s eip155:N, else 1). Must have a Morpho deployment.

MorphoBaseConfig.chainId


optional morpho?: string

Defined in: protocol-lending-morpho-evm/src/base.ts:21

Override the Morpho (Blue) singleton for a chain not in the presets.

MorphoBaseConfig.morpho


optional provider?: EvmProvider | EvmProvider[]

Defined in: protocol-lending-morpho-evm/src/base.ts:23

RPC url(s) / EIP-1193 provider(s) to read through. Defaults to the account’s own.

MorphoBaseConfig.provider


vault: string

Defined in: protocol-lending-morpho-evm/src/vault.ts:10

The vault (MetaMorpho / Vault V1, or Vault V2).


optional waitTimeoutMs?: number

Defined in: protocol-lending-morpho-evm/src/base.ts:27

How long an approval may take to mine before the main transaction (default 180 000 ms).

MorphoBaseConfig.waitTimeoutMs