S Price: $0.081414 (-7.74%)
Gas: 55 Gwei

Contract

0x6daf987d3486C65Ff5Bc1c5aE40fa50B6349C132

Overview

S Balance

Sonic LogoSonic LogoSonic Logo0 S

S Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To

There are no matching entries

Please try again later

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WETHOracle

Compiler Version
v0.8.27+commit.40a35a09

Optimization Enabled:
Yes with 4000 runs

Other Settings:
cancun EvmVersion
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.27;

/// @title WETHOracle Contract
/// @notice contract that returns 1e18 as the exchange rate of WETH/ETH
contract WETHOracle {
    function getRate() external pure returns (uint256) {
        return 1e18;
    }

    function rate() external pure returns (uint256) {
        return 1e18;
    }
}

Settings
{
  "remappings": [
    "ds-test/=lib/forge-std/src/",
    "forge-std/=lib/forge-std/src/",
    "@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
    "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
    "@eigenlayer/contracts/=lib/eigenlayer-contracts/src/contracts/",
    "@openzeppelin-upgrades/=lib/eigenlayer-contracts/lib/openzeppelin-contracts-upgradeable-v4.9.0/",
    "eigenlayer-contracts/=lib/eigenlayer-contracts/",
    "erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/",
    "eth-gas-reporter/=node_modules/eth-gas-reporter/",
    "hardhat/=node_modules/hardhat/",
    "openzeppelin-contracts-upgradeable-v4.9.0/=lib/eigenlayer-contracts/lib/openzeppelin-contracts-upgradeable-v4.9.0/",
    "openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
    "openzeppelin-contracts-v4.9.0/=lib/eigenlayer-contracts/lib/openzeppelin-contracts-v4.9.0/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "openzeppelin/=lib/openzeppelin-contracts-upgradeable/contracts/",
    "solidity-code-metrics/=node_modules/solidity-code-metrics/",
    "zeus-templates/=lib/eigenlayer-contracts/lib/zeus-templates/src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 4000
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "cancun",
  "viaIR": false
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"name":"getRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"rate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"}]

6080604052348015600e575f5ffd5b50608580601a5f395ff3fe6080604052348015600e575f5ffd5b50600436106030575f3560e01c80632c4e722e146034578063679aefce146034575b5f5ffd5b670de0b6b3a764000060405190815260200160405180910390f3fea2646970667358221220d3b5000479986a766d0f89d6443c8c2a762cec1d6829e4f082f1362e67f49e2d64736f6c634300081b0033

Deployed Bytecode

0x6080604052348015600e575f5ffd5b50600436106030575f3560e01c80632c4e722e146034578063679aefce146034575b5f5ffd5b670de0b6b3a764000060405190815260200160405180910390f3fea2646970667358221220d3b5000479986a766d0f89d6443c8c2a762cec1d6829e4f082f1362e67f49e2d64736f6c634300081b0033

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

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.