Skip to content
docs

MellowProtocolConfig

Defined in: protocol-lending-mellow-evm/src/protocol.ts:205

optional chainId?: number

Defined in: protocol-lending-mellow-evm/src/protocol.ts:211

The chain the vault lives on (default 1). Only used to pick presets and label errors.


optional instant?: boolean

Defined in: protocol-lending-mellow-evm/src/protocol.ts:217

Try the vault’s synchronous deposit queue first (shares in the same transaction), fall back to the async queue (default true).


optional maxRedeemRequests?: number

Defined in: protocol-lending-mellow-evm/src/protocol.ts:221

How many redeem requests to read per queue (default 50).


optional preset?: string

Defined in: protocol-lending-mellow-evm/src/protocol.ts:209

A key of MELLOW_ADDRESS_MAP (e.g. ‘lido-earn-eth’, ‘lido-earn-usd’).


optional provider?: EvmProvider | EvmProvider[]

Defined in: protocol-lending-mellow-evm/src/protocol.ts:213

RPC url(s) or EIP-1193 provider(s) to read the chain through; a list fails over in order. Defaults to the account’s own provider.


optional queues?: object

Defined in: protocol-lending-mellow-evm/src/protocol.ts:227

The deposit / redeem queues money may go to (scan 2026-10-27 modules, F25/F26). Required for a custom vault; a preset ships its own list (MELLOW_ADDRESS_MAP[...].queues) and these addresses are added to it — a queue Mellow adds after a release, say. A queue the RPC names that is not pinned is refused before any approval.

optional deposit?: readonly string[]

optional redeem?: readonly string[]


optional referral?: string

Defined in: protocol-lending-mellow-evm/src/protocol.ts:219

Referral address forwarded to the deposit queues (default zero address).


optional registry?: string | null

Defined in: protocol-lending-mellow-evm/src/protocol.ts:215

Mellow’s vault registry URL for APY / TVL / withdrawal time (decoration). null disables it.


optional vault?: string

Defined in: protocol-lending-mellow-evm/src/protocol.ts:207

The Core Vault address. Required unless preset names a known vault.