Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
PriceOracle
Compiler Version
v0.8.26+commit.8a97fa7a
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract PriceOracle {
function getPrice() external pure returns (int256) {
return 1 * 10 ** 8; // Fixed price of 1 USD with 8 decimal places
}
}{
"evmVersion": "istanbul",
"optimizer": {
"enabled": true,
"runs": 200
},
"libraries": {
"PriceOracle.sol": {}
},
"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":"getPrice","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"pure","type":"function"}]Contract Creation Code
6080604052348015600f57600080fd5b50607a80601d6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806398d5fdca14602d575b600080fd5b6305f5e10060405190815260200160405180910390f3fea2646970667358221220e3005e28cd46d23cc25ab7105bbe77f7d78245e6a37583cdebd93919f73a35af64736f6c634300081a0033
Deployed Bytecode
0x6080604052348015600f57600080fd5b506004361060285760003560e01c806398d5fdca14602d575b600080fd5b6305f5e10060405190815260200160405180910390f3fea2646970667358221220e3005e28cd46d23cc25ab7105bbe77f7d78245e6a37583cdebd93919f73a35af64736f6c634300081a0033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
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.