Skip to content

Oracle integration — Price feed module #792

Description

@nafiuishaaq

Description:
Integrate with a price oracle (e.g., Band, Chainlink) for fiat or multi-token escrows.

Acceptance Criteria:

set_oracle(oracle_id: Address) admin function.

get_price(asset: Bytes32) -> i128 internal function.

Price validation: timestamp within freshness threshold.

Fallback to admin-provided price if oracle fails.

Unit tests mock oracle responses.

Labels: integration, oracle, price-feed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions