Oracle Forge — CryptoForge

Oracle Aggregator

Multi-source price aggregation with outlier detection and circuit breakers.
Contract Details
Categorycontracts
Files14
Price$12.99
Tech Stack
Solidity ^0.8.24 OpenZeppelin v5 Foundry
Chains
Ethereum Arbitrum Base Optimism
Description
Multi-source oracle aggregation contract with outlier detection and fallback logic. Combines prices from Chainlink, Uniswap TWAP, Redstone, and custom feeds. Configurable median/mean strategies, staleness checks, and circuit breakers for each source.
Features
oracle-aggregator.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

/// @title Oracle Aggregator
/// @notice Multi-source price aggregation with outlier detection and circuit breakers.
contract OracleAggregator {
    address public immutable owner;
    uint256 public constant VERSION = 1;

    event Initialized(address indexed deployer);

    constructor() {
        owner = msg.sender;
        emit Initialized(msg.sender);
    }

    // ... full implementation in purchased package
}
$12.99
Buy Now — $12.99