ETH Price: $4,491.85 (-4.15%)

Contract

0x761A5D84AEd750b4A112a5fdB0aEf27432CdF2bB

Overview

ETH Balance

0 ETH

ETH Value

$0.00

More Info

Private Name Tags

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Set Price18502592025-05-30 8:17:50130 days ago1748593070IN
0x761A5D84...432CdF2bB
0 ETH0.000000060.0012003

Latest 23 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
28960722025-06-11 10:48:03118 days ago1749638883
0x761A5D84...432CdF2bB
0 ETH
22913272025-06-04 10:48:58125 days ago1749034138
0x761A5D84...432CdF2bB
0 ETH
22800552025-06-04 7:41:06125 days ago1749022866
0x761A5D84...432CdF2bB
0 ETH
22796672025-06-04 7:34:38125 days ago1749022478
0x761A5D84...432CdF2bB
0 ETH
22152162025-06-03 13:40:27126 days ago1748958027
0x761A5D84...432CdF2bB
0 ETH
22148982025-06-03 13:35:09126 days ago1748957709
0x761A5D84...432CdF2bB
0 ETH
22140102025-06-03 13:20:21126 days ago1748956821
0x761A5D84...432CdF2bB
0 ETH
22139862025-06-03 13:19:57126 days ago1748956797
0x761A5D84...432CdF2bB
0 ETH
22139622025-06-03 13:19:33126 days ago1748956773
0x761A5D84...432CdF2bB
0 ETH
22101562025-06-03 12:16:07126 days ago1748952967
0x761A5D84...432CdF2bB
0 ETH
22076802025-06-03 11:34:51126 days ago1748950491
0x761A5D84...432CdF2bB
0 ETH
22048842025-06-03 10:48:15126 days ago1748947695
0x761A5D84...432CdF2bB
0 ETH
22046742025-06-03 10:44:45126 days ago1748947485
0x761A5D84...432CdF2bB
0 ETH
22046372025-06-03 10:44:08126 days ago1748947448
0x761A5D84...432CdF2bB
0 ETH
22042122025-06-03 10:37:03126 days ago1748947023
0x761A5D84...432CdF2bB
0 ETH
22041532025-06-03 10:36:04126 days ago1748946964
0x761A5D84...432CdF2bB
0 ETH
22039942025-06-03 10:33:25126 days ago1748946805
0x761A5D84...432CdF2bB
0 ETH
22033712025-06-03 10:23:02126 days ago1748946182
0x761A5D84...432CdF2bB
0 ETH
22033242025-06-03 10:22:15126 days ago1748946135
0x761A5D84...432CdF2bB
0 ETH
21325532025-06-02 14:42:44127 days ago1748875364
0x761A5D84...432CdF2bB
0 ETH
21190912025-06-02 10:58:22127 days ago1748861902
0x761A5D84...432CdF2bB
0 ETH
21155982025-06-02 10:00:09127 days ago1748858409
0x761A5D84...432CdF2bB
0 ETH
21087472025-06-02 8:05:58127 days ago1748851558
0x761A5D84...432CdF2bB
0 ETH

Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x2eD19c9a...0B9167e14
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
PushPriceFeed

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 1 runs

Other Settings:
cancun EvmVersion

Contract Source Code (Solidity Standard Json-Input format)

// SPDX-License-Identifier: MIT

pragma solidity 0.8.24;

import "../Dependencies/Ownable.sol";

contract PushPriceFeed is Ownable {
    
    uint256 public lastGoodPrice;

    constructor(address _owner) Ownable(_owner) {}

    function fetchPrice() external returns (uint256, bool) {
        return (lastGoodPrice, false);
    }

    function setPrice(uint256 _price) external onlyOwner {
        lastGoodPrice = _price;
    }
}

// SPDX-License-Identifier: MIT

pragma solidity 0.8.24;

/**
 * Based on OpenZeppelin's Ownable contract:
 * https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol
 *
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting `initialOwner` as the initial owner.
     */
    constructor(address initialOwner) {
        _owner = initialOwner;
        emit OwnershipTransferred(address(0), initialOwner);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(isOwner(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return msg.sender == _owner;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     *
     * NOTE: This function is not safe, as it doesn’t check owner is calling it.
     * Make sure you check it before calling it.
     */
    function _renounceOwnership() internal {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }
}

Settings
{
  "evmVersion": "cancun",
  "libraries": {},
  "metadata": {
    "appendCBOR": true,
    "bytecodeHash": "ipfs",
    "useLiteralContent": false
  },
  "optimizer": {
    "enabled": true,
    "runs": 1
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "remappings": [
    "openzeppelin/=lib/V2-gov/lib/openzeppelin-contracts/",
    "@chimera/=lib/V2-gov/lib/chimera/src/",
    "@openzeppelin/contracts/=lib/V2-gov/lib/openzeppelin-contracts/contracts/",
    "Solady/=lib/Solady/src/",
    "V2-gov/=lib/V2-gov/",
    "chimera/=lib/V2-gov/lib/chimera/src/",
    "ds-test/=lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "v4-core/=lib/V2-gov/lib/v4-core/"
  ],
  "viaIR": false
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"fetchPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastGoodPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"}]

0x608060405234801561000f575f80fd5b5060405161024238038061024283398101604081905261002e9161007c565b5f80546001600160a01b0319166001600160a01b03831690811782556040518392907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350506100a9565b5f6020828403121561008c575f80fd5b81516001600160a01b03811681146100a2575f80fd5b9392505050565b61018c806100b65f395ff3fe608060405234801561000f575f80fd5b5060043610610055575f3560e01c80630490be83146100595780630fdb11cf146100755780638da5cb5b1461008b5780638f32d59b146100a557806391b7f5ed146100bd575b5f80fd5b61006260015481565b6040519081526020015b60405180910390f35b600154604080519182525f60208301520161006c565b5f546040516001600160a01b03909116815260200161006c565b6100ad6100d2565b604051901515815260200161006c565b6100d06100cb36600461013f565b6100e2565b005b5f546001600160a01b0316331490565b6100ea6100d2565b61013a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b600155565b5f6020828403121561014f575f80fd5b503591905056fea2646970667358221220803e85c1ed44860d08335cd5ec52e1213ccf2e3e85b06cd68aeb816a21cb24be64736f6c63430008180033000000000000000000000000919d5a6f2cbc0731380c26b4ac4f6183dd3a40c8

Deployed Bytecode

0x608060405234801561000f575f80fd5b5060043610610055575f3560e01c80630490be83146100595780630fdb11cf146100755780638da5cb5b1461008b5780638f32d59b146100a557806391b7f5ed146100bd575b5f80fd5b61006260015481565b6040519081526020015b60405180910390f35b600154604080519182525f60208301520161006c565b5f546040516001600160a01b03909116815260200161006c565b6100ad6100d2565b604051901515815260200161006c565b6100d06100cb36600461013f565b6100e2565b005b5f546001600160a01b0316331490565b6100ea6100d2565b61013a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b600155565b5f6020828403121561014f575f80fd5b503591905056fea2646970667358221220803e85c1ed44860d08335cd5ec52e1213ccf2e3e85b06cd68aeb816a21cb24be64736f6c63430008180033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
0x761A5D84AEd750b4A112a5fdB0aEf27432CdF2bB
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.