3 Commits

Author SHA1 Message Date
Ricardo Guilherme Schmidt
8e3c15d4e4
refactor(oracle): split price feed core modules 2026-05-18 13:23:43 -03:00
Ricardo Guilherme Schmidt
bf7c6593ae
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-18 13:23:43 -03:00
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