HYPE Price: $22.49 (+1.57%)
 

Overview

HYPE Balance

HyperEVM LogoHyperEVM LogoHyperEVM Logo0 HYPE

HYPE Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Update Price Fee...132441982025-09-07 21:14:11140 days ago1757279651IN
0x8146f550...c04428150
0 HYPE0.000002960.10253503

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
155269592025-10-03 21:00:29114 days ago1759525229
0x8146f550...c04428150
0 HYPE
155269592025-10-03 21:00:29114 days ago1759525229
0x8146f550...c04428150
0 HYPE
155269592025-10-03 21:00:29114 days ago1759525229
0x8146f550...c04428150
0 HYPE
155269592025-10-03 21:00:29114 days ago1759525229
0x8146f550...c04428150
0 HYPE
155269592025-10-03 21:00:29114 days ago1759525229
0x8146f550...c04428150
0 HYPE
155269592025-10-03 21:00:29114 days ago1759525229
0x8146f550...c04428150
0 HYPE
155269592025-10-03 21:00:29114 days ago1759525229
0x8146f550...c04428150
0 HYPE
155269592025-10-03 21:00:29114 days ago1759525229
0x8146f550...c04428150
0 HYPE
155269592025-10-03 21:00:29114 days ago1759525229
0x8146f550...c04428150
0 HYPE
155269592025-10-03 21:00:29114 days ago1759525229
0x8146f550...c04428150
0 HYPE
155269592025-10-03 21:00:29114 days ago1759525229
0x8146f550...c04428150
0 HYPE
155269592025-10-03 21:00:29114 days ago1759525229
0x8146f550...c04428150
0 HYPE
155269592025-10-03 21:00:29114 days ago1759525229
0x8146f550...c04428150
0 HYPE
155269592025-10-03 21:00:29114 days ago1759525229
0x8146f550...c04428150
0 HYPE
155269592025-10-03 21:00:29114 days ago1759525229
0x8146f550...c04428150
0 HYPE
155269592025-10-03 21:00:29114 days ago1759525229
0x8146f550...c04428150
0 HYPE
155269592025-10-03 21:00:29114 days ago1759525229
0x8146f550...c04428150
0 HYPE
155269592025-10-03 21:00:29114 days ago1759525229
0x8146f550...c04428150
0 HYPE
155269592025-10-03 21:00:29114 days ago1759525229
0x8146f550...c04428150
0 HYPE
155269592025-10-03 21:00:29114 days ago1759525229
0x8146f550...c04428150
0 HYPE
155269592025-10-03 21:00:29114 days ago1759525229
0x8146f550...c04428150
0 HYPE
155269592025-10-03 21:00:29114 days ago1759525229
0x8146f550...c04428150
0 HYPE
155269592025-10-03 21:00:29114 days ago1759525229
0x8146f550...c04428150
0 HYPE
155269592025-10-03 21:00:29114 days ago1759525229
0x8146f550...c04428150
0 HYPE
153555092025-10-01 22:09:49116 days ago1759356589
0x8146f550...c04428150
0 HYPE
View All Internal Transactions
Cross-Chain Transactions
Loading...
Loading

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

Contract Name:
PriceOracle

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
Yes with 200 runs

Other Settings:
cancun EvmVersion

Contract Source Code (Solidity Standard Json-Input format)

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;

interface IERC20 {
    function approve(address spender, uint256 value) external returns (bool);
    function transfer(address to, uint256 value) external returns (bool);
    function transferFrom(address from, address to, uint256 value) external returns (bool);
    function balanceOf(address owner) external view returns (uint256);
    function decimals() external view returns (uint8);
}
interface IPriceFeed {
    function getPrice(address) external view returns(uint256);
}

contract PriceOracle{
    address public operator;
    uint8 public USDDECIMAL = 8;
    address public pricefeed;

    constructor(address _pricefeed){
        operator = msg.sender;
        pricefeed = _pricefeed;
    }

    modifier onlyOperator() {
        require(operator == msg.sender, "trading: caller is not the operator");
        _;
    }
    function updatePriceFeed(address _feed) public onlyOperator{
        pricefeed = _feed;
    }

    function getPrice(address _token) public view returns( uint256 _price ){
        return IPriceFeed(pricefeed).getPrice(_token);
    }
    function getAssetInUSD( address _token, uint256 _amount ) public view returns(uint256 ){
        return getPrice(_token) * _amount / (10 ** IERC20(_token).decimals());
    }
    function getUSDInAsset( address _token, uint256 _amtUSD ) public view returns(uint256 ){
        return _amtUSD * (10 ** IERC20(_token).decimals()) / getPrice(_token);
    }
}

Settings
{
  "evmVersion": "cancun",
  "libraries": {},
  "metadata": {
    "appendCBOR": true,
    "bytecodeHash": "ipfs",
    "useLiteralContent": false
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "remappings": [
    "forge-std/=lib/forge-std/src/"
  ],
  "viaIR": true
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_pricefeed","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"USDDECIMAL","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"getAssetInUSD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amtUSD","type":"uint256"}],"name":"getUSDInAsset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricefeed","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_feed","type":"address"}],"name":"updatePriceFeed","outputs":[],"stateMutability":"nonpayable","type":"function"}]

0x608034608757601f6104d538819003918201601f19168301916001600160401b03831184841017608b57808492602094604052833981010312608757516001600160a01b038116908190036087575f80546001600160a81b0319163317600160a31b179055600180546001600160a01b03191691909117905560405161043590816100a08239f35b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe6080806040526004361015610012575f80fd5b5f3560e01c908163221a5586146102535750806341976e0914610230578063570ca73514610209578063590f2113146101e1578063943eb444146101bf57806395877f78146101225763cba2999914610069575f80fd5b3461011e57604036600319011261011e5760046100846102d6565b602061009a60243561009584610391565b610360565b60405163313ce56760e01b815293909284919082906001600160a01b03165afa908115610113576100d86100de926020945f916100e6575b5061033b565b90610373565b604051908152f35b6101069150853d871161010c575b6100fe81836102ec565b810190610322565b5f6100d2565b503d6100f4565b6040513d5f823e3d90fd5b5f80fd5b3461011e57602036600319011261011e5761013b6102d6565b5f546001600160a01b0316330361016e57600180546001600160a01b0319166001600160a01b0392909216919091179055005b60405162461bcd60e51b815260206004820152602360248201527f74726164696e673a2063616c6c6572206973206e6f7420746865206f706572616044820152623a37b960e91b6064820152608490fd5b3461011e575f36600319011261011e57602060ff5f5460a01c16604051908152f35b3461011e575f36600319011261011e576001546040516001600160a01b039091168152602090f35b3461011e575f36600319011261011e575f546040516001600160a01b039091168152602090f35b3461011e57602036600319011261011e5760206100de61024e6102d6565b610391565b3461011e57604036600319011261011e5761026c6102d6565b63313ce56760e01b82526020826004816001600160a01b0385165afa908115610113576100d86102b36102ab6100de946020965f916102b9575061033b565b602435610360565b91610391565b6102d09150873d891161010c576100fe81836102ec565b876100d2565b600435906001600160a01b038216820361011e57565b90601f8019910116810190811067ffffffffffffffff82111761030e57604052565b634e487b7160e01b5f52604160045260245ffd5b9081602091031261011e575160ff8116810361011e5790565b60ff16604d811161034c57600a0a90565b634e487b7160e01b5f52601160045260245ffd5b8181029291811591840414171561034c57565b811561037d570490565b634e487b7160e01b5f52601260045260245ffd5b6001546040516341976e0960e01b81526001600160a01b0392831660048201529160209183916024918391165afa908115610113575f916103d0575090565b90506020813d6020116103f7575b816103eb602093836102ec565b8101031261011e575190565b3d91506103de56fea26469706673582212208ea4f8a458ad721bde35e441c8097a407b894092f72ef3a3b7f22bd017b457bc64736f6c634300081a0033000000000000000000000000e5314575280d7607778b826973f528f724a45bf1

Deployed Bytecode

0x6080806040526004361015610012575f80fd5b5f3560e01c908163221a5586146102535750806341976e0914610230578063570ca73514610209578063590f2113146101e1578063943eb444146101bf57806395877f78146101225763cba2999914610069575f80fd5b3461011e57604036600319011261011e5760046100846102d6565b602061009a60243561009584610391565b610360565b60405163313ce56760e01b815293909284919082906001600160a01b03165afa908115610113576100d86100de926020945f916100e6575b5061033b565b90610373565b604051908152f35b6101069150853d871161010c575b6100fe81836102ec565b810190610322565b5f6100d2565b503d6100f4565b6040513d5f823e3d90fd5b5f80fd5b3461011e57602036600319011261011e5761013b6102d6565b5f546001600160a01b0316330361016e57600180546001600160a01b0319166001600160a01b0392909216919091179055005b60405162461bcd60e51b815260206004820152602360248201527f74726164696e673a2063616c6c6572206973206e6f7420746865206f706572616044820152623a37b960e91b6064820152608490fd5b3461011e575f36600319011261011e57602060ff5f5460a01c16604051908152f35b3461011e575f36600319011261011e576001546040516001600160a01b039091168152602090f35b3461011e575f36600319011261011e575f546040516001600160a01b039091168152602090f35b3461011e57602036600319011261011e5760206100de61024e6102d6565b610391565b3461011e57604036600319011261011e5761026c6102d6565b63313ce56760e01b82526020826004816001600160a01b0385165afa908115610113576100d86102b36102ab6100de946020965f916102b9575061033b565b602435610360565b91610391565b6102d09150873d891161010c576100fe81836102ec565b876100d2565b600435906001600160a01b038216820361011e57565b90601f8019910116810190811067ffffffffffffffff82111761030e57604052565b634e487b7160e01b5f52604160045260245ffd5b9081602091031261011e575160ff8116810361011e5790565b60ff16604d811161034c57600a0a90565b634e487b7160e01b5f52601160045260245ffd5b8181029291811591840414171561034c57565b811561037d570490565b634e487b7160e01b5f52601260045260245ffd5b6001546040516341976e0960e01b81526001600160a01b0392831660048201529160209183916024918391165afa908115610113575f916103d0575090565b90506020813d6020116103f7575b816103eb602093836102ec565b8101031261011e575190565b3d91506103de56fea26469706673582212208ea4f8a458ad721bde35e441c8097a407b894092f72ef3a3b7f22bd017b457bc64736f6c634300081a0033

Block Transaction 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.