ETH Price: $3,157.10 (+2.82%)
Gas: 1 Gwei

Contract

0x1a8F81c256aee9C640e14bB0453ce247ea0DFE6F
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x60a06040138461032021-12-21 3:20:01935 days ago1640056801IN
 Create: RocketBalancerRETHRateProvider
0 ETH0.0089218863.8111862

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
202971532024-07-13 11:00:595 mins ago1720868459
0x1a8F81c2...7ea0DFE6F
0 ETH
202971532024-07-13 11:00:595 mins ago1720868459
0x1a8F81c2...7ea0DFE6F
0 ETH
202970882024-07-13 10:47:5918 mins ago1720867679
0x1a8F81c2...7ea0DFE6F
0 ETH
202970882024-07-13 10:47:5918 mins ago1720867679
0x1a8F81c2...7ea0DFE6F
0 ETH
202968282024-07-13 9:55:591 hr ago1720864559
0x1a8F81c2...7ea0DFE6F
0 ETH
202968282024-07-13 9:55:591 hr ago1720864559
0x1a8F81c2...7ea0DFE6F
0 ETH
202965322024-07-13 8:56:352 hrs ago1720860995
0x1a8F81c2...7ea0DFE6F
0 ETH
202965322024-07-13 8:56:352 hrs ago1720860995
0x1a8F81c2...7ea0DFE6F
0 ETH
202964942024-07-13 8:48:592 hrs ago1720860539
0x1a8F81c2...7ea0DFE6F
0 ETH
202964942024-07-13 8:48:592 hrs ago1720860539
0x1a8F81c2...7ea0DFE6F
0 ETH
202963082024-07-13 8:11:472 hrs ago1720858307
0x1a8F81c2...7ea0DFE6F
0 ETH
202963082024-07-13 8:11:472 hrs ago1720858307
0x1a8F81c2...7ea0DFE6F
0 ETH
202961882024-07-13 7:47:353 hrs ago1720856855
0x1a8F81c2...7ea0DFE6F
0 ETH
202961882024-07-13 7:47:353 hrs ago1720856855
0x1a8F81c2...7ea0DFE6F
0 ETH
202958462024-07-13 6:39:114 hrs ago1720852751
0x1a8F81c2...7ea0DFE6F
0 ETH
202958462024-07-13 6:39:114 hrs ago1720852751
0x1a8F81c2...7ea0DFE6F
0 ETH
202957672024-07-13 6:22:594 hrs ago1720851779
0x1a8F81c2...7ea0DFE6F
0 ETH
202957672024-07-13 6:22:594 hrs ago1720851779
0x1a8F81c2...7ea0DFE6F
0 ETH
202957422024-07-13 6:17:594 hrs ago1720851479
0x1a8F81c2...7ea0DFE6F
0 ETH
202957422024-07-13 6:17:594 hrs ago1720851479
0x1a8F81c2...7ea0DFE6F
0 ETH
202957422024-07-13 6:17:594 hrs ago1720851479
0x1a8F81c2...7ea0DFE6F
0 ETH
202957422024-07-13 6:17:594 hrs ago1720851479
0x1a8F81c2...7ea0DFE6F
0 ETH
202955672024-07-13 5:42:115 hrs ago1720849331
0x1a8F81c2...7ea0DFE6F
0 ETH
202955672024-07-13 5:42:115 hrs ago1720849331
0x1a8F81c2...7ea0DFE6F
0 ETH
202952252024-07-13 4:33:236 hrs ago1720845203
0x1a8F81c2...7ea0DFE6F
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RocketBalancerRETHRateProvider

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion
File 1 of 1 : RocketBalancerRETHRateProvider.sol
/**
  *       .
  *      / \
  *     |.'.|
  *     |'.'|
  *   ,'|   |`.
  *  |,-'-|-'-.|
  *   __|_| |         _        _      _____           _
  *  | ___ \|        | |      | |    | ___ \         | |
  *  | |_/ /|__   ___| | _____| |_   | |_/ /__   ___ | |
  *  |    // _ \ / __| |/ / _ \ __|  |  __/ _ \ / _ \| |
  *  | |\ \ (_) | (__|   <  __/ |_   | | | (_) | (_) | |
  *  \_| \_\___/ \___|_|\_\___|\__|  \_|  \___/ \___/|_|
  * +---------------------------------------------------+
  * |    DECENTRALISED STAKING PROTOCOL FOR ETHEREUM    |
  * +---------------------------------------------------+
  *
  *  Rocket Pool is a first-of-its-kind Ethereum staking pool protocol, designed to
  *  be community-owned, decentralised, and trustless.
  *
  *  For more information about Rocket Pool, visit https://rocketpool.net
  *
  *  Authors: David Rugendyke, Jake Pospischil, Kane Wallmann, Darren Langley, Joe Clapis, Nick Doherty
  *
  */

pragma solidity 0.7.6;

// SPDX-License-Identifier: GPL-3.0-only

interface IRateProvider {
    function getRate() external view returns (uint256);
}

interface RocketTokenRETHInterface {
    function getEthValue(uint256 _rethAmount) external view returns (uint256);
}

contract RocketBalancerRETHRateProvider is IRateProvider {
    RocketTokenRETHInterface public immutable rocketTokenRETH;

    constructor (RocketTokenRETHInterface _rocketTokenRETH) {
        rocketTokenRETH = _rocketTokenRETH;
    }

    // Returns the ETH value of 1 rETH
    function getRate() external override view returns (uint256) {
        return rocketTokenRETH.getEthValue(1 ether);
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 10000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract RocketTokenRETHInterface","name":"_rocketTokenRETH","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"getRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rocketTokenRETH","outputs":[{"internalType":"contract RocketTokenRETHInterface","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60a060405234801561001057600080fd5b506040516101f73803806101f78339818101604052602081101561003357600080fd5b5051606081901b6001600160601b0319166080526001600160a01b031661018c61006b60003980608a5280610134525061018c6000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063679aefce1461003b578063db5dacc914610055575b600080fd5b610043610086565b60408051918252519081900360200190f35b61005d610132565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16638b32fa23670de0b6b3a76400006040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561010157600080fd5b505afa158015610115573d6000803e3d6000fd5b505050506040513d602081101561012b57600080fd5b5051905090565b7f00000000000000000000000000000000000000000000000000000000000000008156fea2646970667358221220c0af4236e22ae8db7a2823773c34f2147a21b8f5b46a383adccf5815a3b03c2d64736f6c63430007060033000000000000000000000000ae78736cd615f374d3085123a210448e74fc6393

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100365760003560e01c8063679aefce1461003b578063db5dacc914610055575b600080fd5b610043610086565b60408051918252519081900360200190f35b61005d610132565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b60007f000000000000000000000000ae78736cd615f374d3085123a210448e74fc639373ffffffffffffffffffffffffffffffffffffffff16638b32fa23670de0b6b3a76400006040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561010157600080fd5b505afa158015610115573d6000803e3d6000fd5b505050506040513d602081101561012b57600080fd5b5051905090565b7f000000000000000000000000ae78736cd615f374d3085123a210448e74fc63938156fea2646970667358221220c0af4236e22ae8db7a2823773c34f2147a21b8f5b46a383adccf5815a3b03c2d64736f6c63430007060033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000ae78736cd615f374d3085123a210448e74fc6393

-----Decoded View---------------
Arg [0] : _rocketTokenRETH (address): 0xae78736Cd615f374D3085123A210448E74Fc6393

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000ae78736cd615f374d3085123a210448e74fc6393


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