fn resolution(env: soroban_sdk::Env) -> u32
fn price(env: soroban_sdk::Env, _asset: Asset, _timestamp: u64) -> Option
fn prices(
env: soroban_sdk::Env,
_asset: Asset,
_records: u32,
) -> Option>
fn base(env: soroban_sdk::Env) -> Asset
fn decimals(env: soroban_sdk::Env) -> u32
fn assets(env: soroban_sdk::Env) -> soroban_sdk::Vec
fn lastprice(env: soroban_sdk::Env, asset: Asset) -> Option
Initialize the contract with the admin and the oracle configurations
admin - The address of the adminbase - The base assetassets - The list of supported assetsasset_configs - The list of oracle configurations for each assetAlreadyInitialized - The contract has already been initializedInvalidAssets - The asset array is invalidInvalidOracleConfig - The oracle config array is invalidfn initialize(
env: soroban_sdk::Env,
usdc: soroban_sdk::Address,
cpct: soroban_sdk::Address,
usdc_oracle: soroban_sdk::Address,
)