Ricardo Guilherme Schmidt 56dbf251d3
feat(oracle): add mock oracle feed program
Add shared oracle_core price-feed types and account-backed validation.

Wire stablecoin to re-export the shared oracle interface and add the mock_oracle program plus IDL artifact.

Update ATA integration tests for the current Transfer instruction shape.

Refs #96
2026-05-18 13:23:43 -03:00

21 lines
741 B
TOML

[package]
name = "mock-oracle-guest"
version = "0.1.0"
edition = "2021"
[workspace]
[[bin]]
name = "mock_oracle"
path = "src/bin/mock_oracle.rs"
[dependencies]
spel-framework = { git = "https://github.com/logos-co/spel.git", rev = "6473ab4c400bc59bac8db83a286faaeafa7d1999", package = "spel-framework" }
nssa_core = { git = "https://github.com/logos-blockchain/logos-execution-zone.git", tag = "v0.2.0-rc3" }
risc0-zkvm = { version = "=3.0.5", default-features = false }
mock_oracle_core = { path = "../../core" }
mock_oracle_program = { path = "../..", package = "mock_oracle_program" }
oracle_core = { path = "../../../oracle/core" }
serde = { version = "1.0", features = ["derive"] }
borsh = { version = "1.5", features = ["derive"] }