CBTVRC6X5Q6KJGAC7SOQHAKBQS4RS5MTOERWKPH5M5OF6FLGVCO6OOHC
Functions (6)
| migrate | (migration_data: MigrationData, operator: Address) |
| upgrade | (new_wasm_hash: BytesN, operator: Address) |
| get_price | (symbol: Symbol) → I128 |
| set_price | (caller: Address, symbol: Symbol, price: I128) |
| initialize | (config_manager: Address) |
| last_update | (symbol: Symbol) → U64 |
Events (6)
| UpgradeProposed | topics ["upgprp"] data (vec) [wasm_hash: BytesN, eta: U64] |
| UpgradeCancelled | topics ["upgcan"] data (vec) [caller: Address] |
| SetRoot | topics ["set_root"] data (map) [root: Bytes] |
| SetClaimed | topics ["set_claimed"] data (map) [index: Val] |
| Paused | topics ["paused"] |
| Unpaused | topics ["unpaused"] |
Types (19)
| OracleError error | AlreadyInitialized = 1, NotInitialized = 2, Unauthorized = 3, NoPriceSet = 4 |
| StorageKey union | Initialized | ConfigManager | Price(Symbol) | LastUpdate(Symbol) | Version |
| Position struct | { collateral: I128, entry_borrow_index: I128, entry_funding_index: I128, entry_price: I128, execution_fee_escrow: I128, is_long: Bool, last_increased_time: U64, size: I128, stop_loss: I128, take_profit: I128 } |
| MarketInfo struct | { acc_borrow_index: I128, acc_funding_index: I128, global_long_avg_price: I128, global_short_avg_price: I128, last_index_update: U64, long_open_interest: I128, short_open_interest: I128 } |
| OracleConfig struct | { cache_duration: U64, max_deviation_bps: I128, min_required_sources: U32, staleness_threshold: U64 } |
| MigrationData struct | { version: U32 } |
| PendingUpgrade struct | { eta: U64, wasm_hash: BytesN } |
| UpgradeableError error | MigrationNotAllowed = 1100 |
| MerkleDistributorError error | RootNotSet = 1300, IndexAlreadyClaimed = 1301, InvalidProof = 1302 |
| MerkleDistributorStorageKey union | Root | Claimed(U32) |
| Rounding union | Floor | Ceil | Truncate |
| SorobanFixedPointError error | Overflow = 1500, DivisionByZero = 1501 |
| CryptoError error | MerkleProofOutOfBounds = 1400, MerkleIndexOutOfBounds = 1401, HasherEmptyState = 1402 |
| PausableError error | EnforcedPause = 1000, ExpectedPause = 1001 |
| PausableStorageKey union | Paused |
| FeeConfig struct | { liquidation_bounty_bps: U32, open_fee_bps: U32, tp_sl_execution_fee: I128 } |
| FeeSplits struct | { dev_bps: U32, lp_bps: U32, staker_bps: U32 } |
| ProtocolLimits struct | { adl_pnl_bps: U32, adl_utilization_bps: U32, cooldown_duration: U64, funding_cut_bps: U32, liquidation_threshold_bps: U32, max_utilization_ratio: I128, min_collateral: I128, min_position_lifetime: U64 } |
| BorrowRateConfig struct | { base_borrow_rate_bps: I128, base_funding_rate_bps: I128, optimal_utilization_bps: I128, slope1_bps: I128, slope2_bps: I128 } |
Simulates the call against current ledger state — read-only, nothing is signed or submitted, no funds at risk.
| Key | Value |
|---|---|
| ["ConfigManager"] | CDDOA6JJWVH4Q7SXTL7P6S56VFCVSIUKNPTBBXQYVD27V3P3PWSKBNBP |
| ["Initialized"] | true |
| ["LastUpdate","BTCUSD"] | 1793133070 |
| ["LastUpdate","ETHUSD"] | 1793132750 |
| ["LastUpdate","XLMUSD"] | 1793132725 |
| ["Price","BTCUSD"] | 806960050000 |
| ["Price","ETHUSD"] | 23471650000 |
| ["Price","XLMUSD"] | 1701500 |
Look up a specific persistent/temporary storage entry by key. Soroban RPC has no way to list all storage keys for a contract — you need to already know the key you're after.
No recent invocations found. This contract may not emit events (invocation history is derived from them), or its recent activity may be outside the RPC node's retention window.
No events emitted by this contract in the last ~24h (the RPC node's retention window).