Expand description
Read-only client for the public Acta HTTP API.
Re-exports§
pub use types::CountLimit;pub use types::PremiumFlow;pub use types::ProjectionCursor;pub use types::TokenProgramKind;pub use types::Vault;pub use types::VaultCapacity;pub use types::VaultExposure;pub use types::VaultExposurePosition;pub use types::VaultExposureTotal;pub use types::VaultFees;pub use types::VaultLeg;pub use types::VaultMetadata;pub use types::VaultPerformance;pub use types::VaultPolicy;pub use types::VaultPosition;pub use types::VaultPositionProduct;pub use types::VaultPositionRole;pub use types::VaultPositionStatus;pub use types::VaultPositionType;pub use types::VaultPremium;pub use types::VaultReturns;pub use types::VaultStaging;pub use types::Venue;pub use types::WindowReturn;
Structs§
- Http
Client - Market
Filter - Premium
Flow - Projection
Cursor - Vault
- Public
/api/v1/vaultsrow. Integers wider than JSON-safe stay decimal strings. - Vault
Exposure - Public
/api/v1/vaults/{pda}/exposure: outstanding positions at the indicative spot. - Vault
Exposure Position intrinsicis in quote atoms: positive for holder legs, negative for writer legs.- Vault
Exposure Total Nonewhen any position of the quote mint lacks the value.- Vault
Fees - Generation totals in main atoms.
- Vault
Metadata - Vault
Performance - Metrics of
capital_generationas ofcomputed_at; allNoneunlesscovered. - Vault
Policy - Vault
Position - Public
/api/v1/vaults/{pda}/positionsrow. - Vault
Premium - Net premium per quote mint, in quote atoms, for the current cycle and generation.
- Vault
Returns - Vault
Staging - Leg balance moved into a vault ATA of another mint, pending return to a leg.
- Venue
- Public
/api/v1/venue: limits the server validates against. - Window
Return - Net-of-fee booked share price return between two checkpoint times.
Enums§
- Count
Limit - A configured count bound.
- Http
Error - Token
Program Kind - Vault
Capacity - A zero on-chain cap means the vault accepts deposits without a limit.
- Vault
Position Product - Physical CC/CSP, or a cash spread with its upper strike and the quote atoms it reserves.
- Vault
Position Role - Vault
Position Status - Vault
Position Type