MorphoVaultConfig
Defined in: protocol-lending-morpho-evm/src/vault.ts:8
Extends
Section titled “Extends”Properties
Section titled “Properties”allowUnverifiedVault?
Section titled “allowUnverifiedVault?”
optionalallowUnverifiedVault?:boolean
Defined in: protocol-lending-morpho-evm/src/vault.ts:12
Accept a vault no known Morpho factory acknowledges (default false).
optionalapi?: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).
Inherited from
Section titled “Inherited from”chainId?
Section titled “chainId?”
optionalchainId?: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.
Inherited from
Section titled “Inherited from”morpho?
Section titled “morpho?”
optionalmorpho?:string
Defined in: protocol-lending-morpho-evm/src/base.ts:21
Override the Morpho (Blue) singleton for a chain not in the presets.
Inherited from
Section titled “Inherited from”provider?
Section titled “provider?”
optionalprovider?: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.
Inherited from
Section titled “Inherited from”vault:
string
Defined in: protocol-lending-morpho-evm/src/vault.ts:10
The vault (MetaMorpho / Vault V1, or Vault V2).
waitTimeoutMs?
Section titled “waitTimeoutMs?”
optionalwaitTimeoutMs?: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).