ETH Price: $1,927.70 (-1.55%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Advanced mode:
Parent Transaction Hash Method Block
From
To
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PriceOracle

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
Yes with 200 runs

Other Settings:
istanbul EvmVersion, None license
File 1 of 1 : PriceOracle.sol
// 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
    }
}

Settings
{
  "evmVersion": "istanbul",
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "libraries": {
    "PriceOracle.sol": {}
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"name":"getPrice","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"pure","type":"function"}]

6080604052348015600f57600080fd5b50607a80601d6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806398d5fdca14602d575b600080fd5b6305f5e10060405190815260200160405180910390f3fea2646970667358221220e3005e28cd46d23cc25ab7105bbe77f7d78245e6a37583cdebd93919f73a35af64736f6c634300081a0033

Deployed Bytecode

0x6080604052348015600f57600080fd5b506004361060285760003560e01c806398d5fdca14602d575b600080fd5b6305f5e10060405190815260200160405180910390f3fea2646970667358221220e3005e28cd46d23cc25ab7105bbe77f7d78245e6a37583cdebd93919f73a35af64736f6c634300081a0033

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
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.