Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/morpho-org/vault-v2/llms.txt

Use this file to discover all available pages before exploring further.

IGate interfaces

Gate interfaces provide access control for vault share and asset transfers. Each gate type controls a specific transfer direction.

IReceiveSharesGate

Controls who can receive vault shares.
interface IReceiveSharesGate

canReceiveShares

function canReceiveShares(address account) external view returns (bool);
Checks if an account is allowed to receive vault shares.
bool
True if the account can receive shares, false otherwise

ISendSharesGate

Controls who can send vault shares.
interface ISendSharesGate

canSendShares

function canSendShares(address account) external view returns (bool);
Checks if an account is allowed to send vault shares.
bool
True if the account can send shares, false otherwise

IReceiveAssetsGate

Controls who can deposit assets into the vault.
interface IReceiveAssetsGate

canReceiveAssets

function canReceiveAssets(address account) external view returns (bool);
Checks if an account is allowed to deposit assets into the vault.
bool
True if the account can deposit assets, false otherwise

ISendAssetsGate

Controls who can withdraw assets from the vault.
interface ISendAssetsGate

canSendAssets

function canSendAssets(address account) external view returns (bool);
Checks if an account is allowed to withdraw assets from the vault.
bool
True if the account can withdraw assets, false otherwise

Build docs developers (and LLMs) love