Source Code
Overview
ETH Balance
0 ETH
ETH Value
$0.00| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
Latest 25 internal transactions (View All)
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 71979961 | 1042 days ago | 0 ETH | ||||
| 71979961 | 1042 days ago | 0 ETH | ||||
| 71961911 | 1042 days ago | 0 ETH | ||||
| 71961911 | 1042 days ago | 0 ETH | ||||
| 71961911 | 1042 days ago | 0 ETH | ||||
| 71961911 | 1042 days ago | 0 ETH | ||||
| 71961911 | 1042 days ago | 0 ETH | ||||
| 71961911 | 1042 days ago | 0 ETH | ||||
| 71961911 | 1042 days ago | 0 ETH | ||||
| 71961911 | 1042 days ago | 0 ETH | ||||
| 71961765 | 1042 days ago | 0 ETH | ||||
| 71961765 | 1042 days ago | 0 ETH | ||||
| 71961765 | 1042 days ago | 0 ETH | ||||
| 71961765 | 1042 days ago | 0 ETH | ||||
| 71961765 | 1042 days ago | 0 ETH | ||||
| 71961765 | 1042 days ago | 0 ETH | ||||
| 71961765 | 1042 days ago | 0 ETH | ||||
| 71961765 | 1042 days ago | 0 ETH | ||||
| 71960987 | 1042 days ago | 0 ETH | ||||
| 71960987 | 1042 days ago | 0 ETH | ||||
| 71960987 | 1042 days ago | 0 ETH | ||||
| 71960987 | 1042 days ago | 0 ETH | ||||
| 71960987 | 1042 days ago | 0 ETH | ||||
| 71960987 | 1042 days ago | 0 ETH | ||||
| 71960987 | 1042 days ago | 0 ETH |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
RdpxCallPriceOracle
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity Standard Json-Input format)
// 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);
}{
"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
- No Contract Security Audit Submitted- Submit Audit Here
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"}]Contract Creation Code
608060405234801561001057600080fd5b50610181806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063468f02d214610046578063f079a28814610061578063f7683bbc14610094575b600080fd5b61004e61009c565b6040519081526020015b60405180910390f35b61007c73c0cdd1176aa1624b89b7476142b41c04414afaa081565b6040516001600160a01b039091168152602001610058565b61004e610128565b600073c0cdd1176aa1624b89b7476142b41c04414afaa06001600160a01b031663e1aa60366040518163ffffffff1660e01b815260040160206040518083038186803b1580156100eb57600080fd5b505afa1580156100ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101239190610132565b905090565b600061012361009c565b60006020828403121561014457600080fd5b505191905056fea26469706673582212200e8d607f6559dd891dfbf9dd20814fc431d899da3736926e899f4c3015b8736764736f6c63430008090033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100415760003560e01c8063468f02d214610046578063f079a28814610061578063f7683bbc14610094575b600080fd5b61004e61009c565b6040519081526020015b60405180910390f35b61007c73c0cdd1176aa1624b89b7476142b41c04414afaa081565b6040516001600160a01b039091168152602001610058565b61004e610128565b600073c0cdd1176aa1624b89b7476142b41c04414afaa06001600160a01b031663e1aa60366040518163ffffffff1660e01b815260040160206040518083038186803b1580156100eb57600080fd5b505afa1580156100ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101239190610132565b905090565b600061012361009c565b60006020828403121561014457600080fd5b505191905056fea26469706673582212200e8d607f6559dd891dfbf9dd20814fc431d899da3736926e899f4c3015b8736764736f6c63430008090033
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
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.