{ "version": "0.1.0", "name": "mock_oracle", "instructions": [ { "name": "set_price", "accounts": [ { "name": "price_account", "writable": false, "signer": false, "init": false } ], "args": [ { "name": "base_asset", "type": "account_id" }, { "name": "quote_asset", "type": "account_id" }, { "name": "price", "type": "u128" }, { "name": "timestamp", "type": "u64" }, { "name": "source_identifier", "type": "string" }, { "name": "confidence_interval", "type": "u128" } ] } ], "accounts": [ { "name": "OraclePriceAccount", "type": { "kind": "struct", "fields": [ { "name": "base_asset", "type": "account_id" }, { "name": "quote_asset", "type": "account_id" }, { "name": "price", "type": "u128" }, { "name": "timestamp", "type": "u64" }, { "name": "source_identifier", "type": "string" }, { "name": "confidence_interval", "type": "u128" } ] } } ], "instruction_type": "mock_oracle_core::Instruction" }