Settlement Mechanics
Receiver System Overview
Receiver Contract
Process:
Generate unique key for operation
Deploy or retrieve receiver contract
Configure permissions
Track receivers per controller
Key Generation
Settlement Process
Cross-Chain Asset Reception
Settlement Types
1. Liquidation Settlement
Used for:
Cross-chain withdrawals
Emergency liquidations
Forced exits
Process:
Get receiver contract
Check settled assets
Pull assets from receiver
Transfer to vault
Fulfill settled request
2. Divest Settlement
Used for:
Normal cross-chain withdrawals
Strategy exits
Rebalancing operations
Process:
Generate/retrieve receiver
Pull settled assets
Update pending divests
Notify vault
Update total idle
State Updates
Pre-Settlement State
Post-Settlement State
Receiver Contract Lifecycle
1. Deployment
2. Usage
3. State Management
Tracks balances per operation
Maintains operation keys
Handles permissions
Security Considerations
Asset Safety
Only gateway can pull assets
Controller-specific receivers
Key-based segregation
State Consistency
Atomic updates
Balance verification
Settlement confirmation
Recovery Mechanisms
Related Sections
See Core Operations for withdrawal process
See State Management for request states
See Asset Management for accounting
Last updated