ETH Price: $2,863.29 (-2.65%)

Contract

0xCb903C8aa3b4b87EEDb13F747fc16f27833789f2

Overview

ETH Balance

0 ETH

ETH Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To

There are no matching entries

> 10 Internal Transactions found.

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
719799612023-03-21 2:59:121042 days ago1679367552
0xCb903C8a...7833789f2
0 ETH
719799612023-03-21 2:59:121042 days ago1679367552
0xCb903C8a...7833789f2
0 ETH
719619112023-03-21 1:43:511042 days ago1679363031
0xCb903C8a...7833789f2
0 ETH
719619112023-03-21 1:43:511042 days ago1679363031
0xCb903C8a...7833789f2
0 ETH
719619112023-03-21 1:43:511042 days ago1679363031
0xCb903C8a...7833789f2
0 ETH
719619112023-03-21 1:43:511042 days ago1679363031
0xCb903C8a...7833789f2
0 ETH
719619112023-03-21 1:43:511042 days ago1679363031
0xCb903C8a...7833789f2
0 ETH
719619112023-03-21 1:43:511042 days ago1679363031
0xCb903C8a...7833789f2
0 ETH
719619112023-03-21 1:43:511042 days ago1679363031
0xCb903C8a...7833789f2
0 ETH
719619112023-03-21 1:43:511042 days ago1679363031
0xCb903C8a...7833789f2
0 ETH
719617652023-03-21 1:43:141042 days ago1679362994
0xCb903C8a...7833789f2
0 ETH
719617652023-03-21 1:43:141042 days ago1679362994
0xCb903C8a...7833789f2
0 ETH
719617652023-03-21 1:43:141042 days ago1679362994
0xCb903C8a...7833789f2
0 ETH
719617652023-03-21 1:43:141042 days ago1679362994
0xCb903C8a...7833789f2
0 ETH
719617652023-03-21 1:43:141042 days ago1679362994
0xCb903C8a...7833789f2
0 ETH
719617652023-03-21 1:43:141042 days ago1679362994
0xCb903C8a...7833789f2
0 ETH
719617652023-03-21 1:43:141042 days ago1679362994
0xCb903C8a...7833789f2
0 ETH
719617652023-03-21 1:43:141042 days ago1679362994
0xCb903C8a...7833789f2
0 ETH
719609872023-03-21 1:39:551042 days ago1679362795
0xCb903C8a...7833789f2
0 ETH
719609872023-03-21 1:39:551042 days ago1679362795
0xCb903C8a...7833789f2
0 ETH
719609872023-03-21 1:39:551042 days ago1679362795
0xCb903C8a...7833789f2
0 ETH
719609872023-03-21 1:39:551042 days ago1679362795
0xCb903C8a...7833789f2
0 ETH
719609872023-03-21 1:39:551042 days ago1679362795
0xCb903C8a...7833789f2
0 ETH
719609872023-03-21 1:39:551042 days ago1679362795
0xCb903C8a...7833789f2
0 ETH
719609872023-03-21 1:39:551042 days ago1679362795
0xCb903C8a...7833789f2
0 ETH
View All Internal Transactions

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RdpxCallPriceOracle

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

// Interfaces
import {IPriceOracle} from "../../interfaces/IPriceOracle.sol";

interface ICustomPriceOracle {
    function getPriceInUSD() external view returns (uint256);
}

contract RdpxCallPriceOracle is IPriceOracle {
    /// @dev RDPX Price Oracle
    ICustomPriceOracle public constant RDPX_PRICE_ORACLE =
        ICustomPriceOracle(0xC0cdD1176aA1624b89B7476142b41C04414afaa0);

    /// @notice Returns the collateral price
    function getCollateralPrice() external view returns (uint256) {
        return getUnderlyingPrice();
    }

    /// @notice Returns the underlying price
    function getUnderlyingPrice() public view returns (uint256) {
        return RDPX_PRICE_ORACLE.getPriceInUSD();
    }
}

//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

interface IPriceOracle {
    function getCollateralPrice() external view returns (uint256);

    function getUnderlyingPrice() external view returns (uint256);
}

Settings
{
  "evmVersion": "london",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"name":"RDPX_PRICE_ORACLE","outputs":[{"internalType":"contract ICustomPriceOracle","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCollateralPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getUnderlyingPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50610181806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063468f02d214610046578063f079a28814610061578063f7683bbc14610094575b600080fd5b61004e61009c565b6040519081526020015b60405180910390f35b61007c73c0cdd1176aa1624b89b7476142b41c04414afaa081565b6040516001600160a01b039091168152602001610058565b61004e610128565b600073c0cdd1176aa1624b89b7476142b41c04414afaa06001600160a01b031663e1aa60366040518163ffffffff1660e01b815260040160206040518083038186803b1580156100eb57600080fd5b505afa1580156100ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101239190610132565b905090565b600061012361009c565b60006020828403121561014457600080fd5b505191905056fea26469706673582212200e8d607f6559dd891dfbf9dd20814fc431d899da3736926e899f4c3015b8736764736f6c63430008090033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100415760003560e01c8063468f02d214610046578063f079a28814610061578063f7683bbc14610094575b600080fd5b61004e61009c565b6040519081526020015b60405180910390f35b61007c73c0cdd1176aa1624b89b7476142b41c04414afaa081565b6040516001600160a01b039091168152602001610058565b61004e610128565b600073c0cdd1176aa1624b89b7476142b41c04414afaa06001600160a01b031663e1aa60366040518163ffffffff1660e01b815260040160206040518083038186803b1580156100eb57600080fd5b505afa1580156100ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101239190610132565b905090565b600061012361009c565b60006020828403121561014457600080fd5b505191905056fea26469706673582212200e8d607f6559dd891dfbf9dd20814fc431d899da3736926e899f4c3015b8736764736f6c63430008090033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.