3 Commits

Author SHA1 Message Date
Ricardo Guilherme Schmidt
713d26ec36
refactor(oracle): split price feed core modules 2026-05-14 02:22:59 -03:00
Ricardo Guilherme Schmidt
7bcde920fd
fix(oracle): preallocate price account serialization
Use borsh::object_length to reserve the exact serialized size for OraclePriceAccount data without relying on size_of_val.

Add coverage for string-backed source identifiers.
2026-05-14 01:59:11 -03:00
Ricardo Guilherme Schmidt
5027636cb3
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-14 01:40:05 -03:00