CBDDBO5YU3MERDJ7LFA5RIXFORW5HI3NKMK67TG5TPO5QT64M5GUWGWU
Functions (31)
| init | (admin: Address, registry_address: Address) → Result<Void> |
| get_admin | () → Result<Address> |
| get_score | (anchor_id: Symbol) → U32 |
| get_health | (anchor_id: Symbol) → AnchorHealth |
| get_dispute | (anchor_id: Symbol) → Option<Dispute> |
| get_verdict | (anchor_id: Symbol) → Verdict |
| accept_admin | () → Result<Void> |
| open_dispute | (operator: Address, anchor_id: Symbol, window_end: U64, reason_code: U32, evidence_hash: BytesN) → Result<Void> |
| vote_dispute | (reporter: Address, anchor_id: Symbol, uphold: Bool) → Result<DisputeStatus> |
| get_reporters | (source_type: SourceType) → Vec<Address> |
| propose_admin | (new_admin: Address) → Result<Void> |
| submit_report | (reporter: Address, anchor_id: Symbol, success: Bool, settlement_seconds: U64, timestamp: U64, source_type: SourceType) → Result<U32> |
| cancel_upgrade | () → Result<Void> |
| get_score_card | (anchor_id: Symbol) → Option<ScoreCard> |
| execute_upgrade | () → Result<Void> |
| get_quorum_info | (anchor_id: Symbol) → Option<QuorumInfo> |
| propose_upgrade | (wasm_hash: BytesN) → Result<PendingUpgrade> |
| revoke_reporter | (reporter: Address) → Result<Void> |
| get_pending_round | (anchor_id: Symbol) → Option<PendingRound> |
| get_quorum_config | () → QuorumConfig |
| get_upgrade_delay | () → U64 |
| set_quorum_config | (config: QuorumConfig) → Result<Void> |
| set_upgrade_delay | (seconds: U64) → Result<Void> |
| attest_signing_key | (reporter: Address, anchor_id: Symbol, signing_key: BytesN) → Result<U32> |
| authorize_reporter | (reporter: Address, source_type: SourceType) → Result<Void> |
| get_dispute_config | () → DisputeConfig |
| publish_score_card | (reporter: Address, anchor_id: Symbol, card: ScoreCardInput) → Result<U32> |
| set_dispute_config | (config: DisputeConfig) → Result<Void> |
| get_pending_upgrade | () → Option<PendingUpgrade> |
| get_reporter_source_type | (reporter: Address) → Option<SourceType> |
| submit_report_with_evidence | (reporter: Address, anchor_id: Symbol, success: Bool, settlement_seconds: U64, timestamp: U64, source_type: SourceType, evidence: BytesN) → Result<U32> |
Events (21)
| DisputeVotedEvent | topics ["dispute_voted", anchor_id: Symbol, reporter: Address] data (map) [uphold: Bool, uphold_votes: U32, reject_votes: U32] |
| DisputeOpenedEvent | topics ["dispute_opened", anchor_id: Symbol] data (map) [operator: Address, window_end: U64, reason_code: U32, evidence_hash: BytesN] |
| QuorumReachedEvent | topics ["quorum_reached", anchor_id: Symbol] data (map) [window_end: U64, reporters: U32, spread: U32] |
| DisputeResolvedEvent | topics ["dispute_resolved", anchor_id: Symbol] data (map) [status: DisputeStatus, window_end: U64] |
| ReporterOutlierEvent | topics ["reporter_outlier", anchor_id: Symbol, reporter: Address] data (map) [score: U32, median: U32] |
| ReportSubmittedEvent | topics ["report_submitted", anchor_id: Symbol] data (map) [source_type: SourceType, success: Bool, settlement_seconds: U64, new_score: U32, evidence: Option<BytesN>] |
| RiskStatusChangedEvent | topics ["risk_status_changed", anchor_id: Symbol] data (map) [risk_reason: RiskReason, score: U32, trend: Trend] |
| ScoreCardPublishedEvent | topics ["score_card_published", anchor_id: Symbol] data (map) [score: U32, confidence: U32, flags: U32, methodology_version: U32, inputs_hash: BytesN] |
| ScoreCardSubmittedEvent | topics ["score_card_submitted", anchor_id: Symbol] data (map) [reporter: Address, window_end: U64, score: U32, inputs_hash: BytesN, submitted: U32, threshold: U32] |
| SigningKeyAttestationEvent | topics ["signing_key_attestation", anchor_id: Symbol] data (map) [reporter: Address, signing_key: BytesN, agreeing: U32, threshold: U32] |
| Initialized | topics ["initialized"] data (map) [admin: Address, registry: Address] |
| AdminChanged | topics ["admin_changed"] data (map) [previous: Address, admin: Address] |
| AdminProposed | topics ["admin_proposed"] data (map) [admin: Address, proposed: Address] |
| QuorumConfigSet | topics ["quorum_config_set"] data (map) [threshold: U32, max_spread: U32, round_seconds: U64, effective_at: U64] |
| ReporterRevoked | topics ["reporter_revoked", reporter: Address] data (map) [source_type: SourceType] |
| UpgradeDelaySet | topics ["upgrade_delay_set"] data (map) [seconds: U64, effective_at: U64] |
| UpgradeExecuted | topics ["upgrade_executed"] data (map) [wasm_hash: BytesN] |
| UpgradeProposed | topics ["upgrade_proposed"] data (map) [wasm_hash: BytesN, executable_at: U64] |
| DisputeConfigSet | topics ["dispute_config_set"] data (map) [min_stake: I128, cooldown_seconds: U64] |
| UpgradeCancelled | topics ["upgrade_cancelled"] data (map) [wasm_hash: BytesN] |
| ReporterAuthorized | topics ["reporter_authorized", reporter: Address] data (map) [source_type: SourceType] |
Types (28)
| Trend union | Stable | Improving | Degrading |
| DataKey union | Admin | RegistryAddress | Reporter(Address) | Score(Symbol) | Health(Symbol) | Card(Symbol) | PendingAdmin | UpgradeDelay | PendingDelay | PendingUpgrade | QuorumCfg | PendingQuorumCfg | Reporters(SourceType) | Round(Symbol) | Quorum(Symbol) | Attestations(Symbol) | Dispute(Symbol) | DisputeCooldown(Symbol) | DisputeCfg |
| Dispute struct | { evidence_hash: BytesN, opened_at: U64, operator: Address, reason_code: U32, reject: Vec<Address>, resolved_at: U64, status: DisputeStatus, uphold: Vec<Address>, window_end: U64 } |
| Verdict struct | { card_score: Option<U32>, confidence: Option<U32>, flags: U32, score: U32, withheld: Bool } |
| ScoreCard struct | { availability: U32, confidence: U32, flags: U32, inputs_hash: BytesN, integrity: U32, market: Option<U32>, methodology_version: U32, published_at: U64, score: U32, speed: U32, window_end: U64 } |
| QuorumInfo struct | { inputs_hashes: Vec<BytesN>, outliers: Vec<Address>, reporters: Vec<Address>, scores: Vec<U32>, spread: U32, window_end: U64 } |
| RiskReason union | None | ConsecutiveFailures | LowSuccessRate | ScoreBelowFloor |
| Submission struct | { card: ScoreCardInput, reporter: Address, submitted_at: U64 } |
| Attestation struct | { reporter: Address, signing_key: BytesN } |
| AnchorHealth struct | { consecutive_failures: U32, fast_score: U32, last_report_at: U64, observations: U64, recent_count: U32, recent_outcomes: U32, risk_reason: RiskReason, slow_score: U32, trend: Trend } |
| PendingRound struct | { methodology_version: U32, submissions: Vec<Submission>, window_end: U64 } |
| QuorumConfig struct | { max_spread: U32, round_seconds: U64, threshold: U32 } |
| DisputeConfig struct | { cooldown_seconds: U64, min_stake: I128 } |
| DisputeStatus union | Open | Upheld | Rejected | Superseded |
| ScoreCardInput struct | { availability: U32, confidence: U32, flags: U32, inputs_hash: BytesN, integrity: U32, market: Option<U32>, methodology_version: U32, score: U32, speed: U32, window_end: U64 } |
| PendingQuorumConfig struct | { config: QuorumConfig, effective_at: U64 } |
| Error error | AlreadyInitialized = 1, NotInitialized = 2, NotAuthorizedReporter = 3, ReporterWrongSourceType = 4, ReportTimestampInFuture = 5, ReportTimestampTooOld = 6, InvalidScoreCard = 7, StaleScoreCard = 8, AnchorNotFound = 9, AnchorDeactivated = 10, MisalignedWindow = 11, DuplicateSubmission = 12, MethodologyMismatch = 13, TooManyReporters = 14, InvalidQuorumConfig = 15, ReporterNotFound = 16, NotTheClaimedOperator = 17, NoPendingAdmin = 18, UpgradePending = 19, NoPendingUpgrade = 20, TimelockActive = 21, DelayTooLong = 22, DisputeAlreadyOpen = 23, DisputeCoolingDown = 24, StakeTooLow = 25, NotTheCurrentCard = 26, NoOpenDispute = 27, AlreadyVoted = 28, InvalidDisputeConfig = 29 |
| DataKey union | Admin | OracleAddress | TokenAddress | Anchor(Symbol) | WithdrawalRequest(Symbol) | AnchorIds | AnchorCount | AnchorAt(U32) | AnchorPos(Symbol) | MigrationCursor | Status(Symbol) | PendingAdmin | UpgradeDelay | PendingDelay | PendingUpgrade | SigningKey(Symbol) | ClaimNonce(Symbol) | Claim(Symbol) |
| ClaimInfo struct | { claimed_at: U64, operator: Address, signing_key: BytesN } |
| AnchorInfo struct | { domain: String, last_updated: U64, name: String, operator: Address, registered_at: U64, score: U32, source_type: SourceType, stake: I128 } |
| SourceType union | RealMainnet | RealTestnet | SimulatedMock |
| AnchorState union | Active | Deactivated |
| AnchorStatus struct | { reason: String, since: U64, state: AnchorState } |
| ClaimMessage struct | { anchor_id: Symbol, domain: Symbol, network_id: BytesN, nonce: U64, operator: Address, registry: Address } |
| PendingDelay struct | { effective_at: U64, seconds: U64 } |
| PendingUpgrade struct | { executable_at: U64, wasm_hash: BytesN } |
| WithdrawalRequest struct | { amount: I128, unlock_time: U64 } |
| Error error | AlreadyInitialized = 1, NotInitialized = 2, AnchorAlreadyExists = 3, AnchorNotFound = 4, InvalidAmount = 5, InsufficientStake = 6, NoWithdrawalRequest = 7, CooldownNotElapsed = 8, InvalidScore = 9, MigrationInProgress = 10, NothingToMigrate = 11, MigrationIncomplete = 12, AnchorDeactivated = 13, NotDeactivated = 14, StakeNotZero = 15, WithdrawalPending = 16, ReasonTooLong = 17, NoPendingAdmin = 18, UpgradePending = 19, NoPendingUpgrade = 20, TimelockActive = 21, DelayTooLong = 22, NoSigningKey = 23 |
Simulates the call against current ledger state — read-only, nothing is signed or submitted, no funds at risk.
| Key | Value |
|---|---|
| ["Admin"] | GBLHN3SLZUV245KXQNCL5I6RWJ6RT3EMKHKLJNOIU77XU2WW5X2MJO2F |
| ["RegistryAddress"] | CBQGNUIX5ZDQOE6VBDHTF3SSWSCNMYK37ES5CBYUTQAED7NLZOFEE4AB |
| ["UpgradeDelay"] | 86400 |
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.