Core Operations
Error Types
error InsufficientAssets();
error VaultNotListed();
error RequestNotFound();
error InvalidController();
error MinimumBalanceNotMet();
error InvalidSuperformId();
error InvalidRecoveryAddress();
error InvalidAmount();
error TotalAmountMismatch();
error SharesLocked();
error VaultShutdown();
error Unauthorized();
error ExceedsMaxDeposit();
error ExceedsMaxMint();Events
event Invest(uint256 amount);
event Divest(uint256 amount);
event SettleXChainInvest(uint256 indexed superformId, uint256 assets);
event SettleXChainDivest(uint256 assets);
event ProcessRedeemRequest(address indexed controller, uint256 shares);
event FulfillRedeemRequest(address indexed controller, uint256 shares, uint256 assets);
event RequestSettled(bytes32 indexed key, address indexed controller, uint256 settledAmount);Constants
Deposit Operations
Atomic Deposit Flow
Alternative Deposit Methods
Investment Operations
Direct Investment (Same Chain)
Cross-Chain Investment
Multi-Vault Investment
Gas Management
Withdrawal Operations
Request Phase
Processing Phase
Settlement Phase
Balance Verification
Failure Mode Analysis
Cross-Chain Settlement
Investment Settlement
Divestment Settlement
Refund Handling
NFT Position Safety
Security Considerations
Critical Invariants
Fee Management
Access Control
State Protection
Emergency Controls
Last updated