Contract

0x7aFA431d09D8b0849f183AB8c49a27729ebEf4B2

Overview

S Balance

Sonic LogoSonic LogoSonic Logo0 S

S Value

-

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

1 Internal Transaction found.

Latest 1 internal transaction

Parent Transaction Hash Block From To
3077952024-12-11 19:08:5122 days ago1733944131  Contract Creation0 S
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Basefee

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at SonicScan.org on 2024-12-11
*/

// SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.8.15;

/**
 * @dev Contract that reads the block base fee on supported
 *  networks, including Ethereum, Fantom, and Arbitrum.
 *
 * Version 0.1.0
 */

contract Basefee {
    function basefee_global() external view returns (uint) {
        return block.basefee;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"name":"basefee_global","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

6080604052348015600f57600080fd5b50607680601d6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80639436dce414602d575b600080fd5b4860405190815260200160405180910390f3fea264697066735822122038a428c02a16150bd632647263c0c12e7e3eff5b836b9d004bec6844f24bf58664736f6c634300080f0033

Deployed Bytecode

0x6080604052348015600f57600080fd5b506004361060285760003560e01c80639436dce414602d575b600080fd5b4860405190815260200160405180910390f3fea264697066735822122038a428c02a16150bd632647263c0c12e7e3eff5b836b9d004bec6844f24bf58664736f6c634300080f0033

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