Skip to main content
vanna-common is a shared Rust library, not a separately deployed contract. It defines controller interfaces, arithmetic helpers, TTL constants, and the types below. ExternalAction::PlaceOrder is a type variant; none of the three current controllers implements a perpetual-order integration. An enum variant is not product availability. TokenDeltas contains signed WAD collateral changes. Controller execution can constrain credits by ledger and oracle value; consumers must not equate every delta with a raw wallet balance change.

Source reference

  • Protocol_V1_Soroban_testnet/contracts/vanna-common/src/types.rs
  • Protocol_V1_Soroban_testnet/contracts/vanna-common/src/controller.rs
  • Protocol_V1_Soroban_testnet/contracts/vanna-common/src/math.rs
  • Protocol_V1_Soroban_testnet/contracts/vanna-common/src/ttl.rs