ShibburnL1

Description:

Smart contract deployed on Ethereum.

Blockchain: Ethereum

Source Code: View Code On The Blockchain

Solidity Source Code:

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

/// @title ShibburnL1
/// @author Shibburn.com
/// @notice Handles verified SHIB burns on Ethereum (L1).
/// @dev Stateless and permissionless — anyone may call burn() once funds are verified.

interface IShibToken {
    function burn(uint256 amount) external;
    function balanceOf(address account) external view returns (uint256);
}

contract ShibburnL1 {
    /// @notice The official SHIB token contract (supports burn(uint256))
    IShibToken public constant shibToken = IShibToken(0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE);

    /// @notice Emitted when SHIB is permanently burned via burn() method
    event Burned(uint256 amount, uint256 timestamp);

    /// @notice Burns SHIB from this contract’s balance using burn() method.
    /// @param amount Amount of SHIB to burn (in wei units).
    function burn(uint256 amount) external {
        require(amount > 0, "amount=0");
        shibToken.burn(amount);
        emit Burned(amount, block.timestamp);
    }

    /// @notice View the SHIB balance currently held by this contract.
    /// @return Balance in SHIB tokens (wei units)
    function available() external view returns (uint256) {
        return shibToken.balanceOf(address(this));
    }
}

Tags:
addr:0x25fb2e3096b496e5628f098b0e3677aed9f32e21|verified:true|block:23600868|tx:0xc5391cc407ac8872d14a58e2fcc9b59c7f260a07c20987f9c0381c2ac2bf1d92|first_check:1760774111

Submitted on: 2025-10-18 09:55:13

Comments

Log in to comment.

No comments yet.