Re-exports§
pub use error::CarrotError;pub use client::deposit_usdc;pub use client::withdraw_crt;pub use client::CarrotClient;
Modules§
Structs§
- Asset
- Asset data structure within vault
- Fee
- Fee structure within vault
- Issue
Args - Arguments for issue (deposit) instruction
- Redeem
Args - Arguments for redeem (withdrawal) instruction
- Strategy
Record - Strategy record within vault
- Vault
- Vault account structure (matches on-chain IDL)
Constants§
- CARROT_
PROGRAM_ ID - Carrot Protocol Program ID
- CRT_
MINT - CRT Token Mint
- LOG_
PROGRAM_ ID - Log Program ID (used by Carrot for logging)
- PYUSD_
MINT - pyUSD Token Mint
- USDC_
MINT - USDC Token Mint
- USDT_
MINT - USDT Token Mint
- VAULT_
ADDRESS - Main vault address on mainnet