false
true
0

Contract Address Details

0x4837457748994e8da5ad3162BA97350e9b1e6fe4

Contract Name
SimpleBurnVault
Creator
0xc1ace5–d24f65 at 0x19328a–6b1ab7
Balance
0 PLS ( )
Tokens
Fetching tokens...
Transactions
9 Transactions
Transfers
0 Transfers
Gas Used
0
Last Balance Update
26320360
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
SimpleBurnVault




Optimization enabled
true
Compiler version
v0.8.25+commit.b61c2a91




Optimization runs
200
EVM Version
paris




Verified at
2026-03-01T02:05:42.561533Z

SimpleBurnVault.sol

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

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

contract SimpleBurnVault {
    function burn(address token) external {
        IERC20Burnable erc20 = IERC20Burnable(token);
        uint256 bal = erc20.balanceOf(address(this));
        require(bal > 0, "nothing to burn");
        erc20.burn(bal);
        emit Burned(token, bal, msg.sender);
    }

    // Reject native coin deposits (ETH, PLS, etc.)
    receive() external payable {
        revert("Native coin not accepted");
    }

    event Burned(address indexed token, uint256 amount, address indexed caller);
}
        

Compiler Settings

{"remappings":[],"optimizer":{"runs":200,"enabled":true},"metadata":{"bytecodeHash":"ipfs"},"libraries":{},"evmVersion":"paris","compilationTarget":{"SimpleBurnVault.sol":"SimpleBurnVault"}}
              

Contract ABI

[{"type":"event","name":"Burned","inputs":[{"type":"address","name":"token","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false},{"type":"address","name":"caller","internalType":"address","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burn","inputs":[{"type":"address","name":"token","internalType":"address"}]},{"type":"receive","stateMutability":"payable"}]
              

Contract Creation Code

0x6080604052348015600f57600080fd5b5061026a8061001f6000396000f3fe6080604052600436106100225760003560e01c806389afcb441461007957600080fd5b366100745760405162461bcd60e51b815260206004820152601860248201527f4e617469766520636f696e206e6f74206163636570746564000000000000000060448201526064015b60405180910390fd5b600080fd5b34801561008557600080fd5b506100996100943660046101eb565b61009b565b005b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156100e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610108919061021b565b90506000811161014c5760405162461bcd60e51b815260206004820152600f60248201526e3737ba3434b733903a3790313ab93760891b604482015260640161006b565b604051630852cd8d60e31b8152600481018290526001600160a01b038316906342966c6890602401600060405180830381600087803b15801561018e57600080fd5b505af11580156101a2573d6000803e3d6000fd5b50506040518381523392506001600160a01b03861691507f4bec313b95a1f7373890b5d9dce4c4737945f27093ca8f3e357bec1219299eaf9060200160405180910390a3505050565b6000602082840312156101fd57600080fd5b81356001600160a01b038116811461021457600080fd5b9392505050565b60006020828403121561022d57600080fd5b505191905056fea264697066735822122063345211f3b2b7f1470b7b83b72c0578312b4377b6ec078fcb0a6014c035f9ba64736f6c63430008190033

Deployed ByteCode

0x6080604052600436106100225760003560e01c806389afcb441461007957600080fd5b366100745760405162461bcd60e51b815260206004820152601860248201527f4e617469766520636f696e206e6f74206163636570746564000000000000000060448201526064015b60405180910390fd5b600080fd5b34801561008557600080fd5b506100996100943660046101eb565b61009b565b005b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156100e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610108919061021b565b90506000811161014c5760405162461bcd60e51b815260206004820152600f60248201526e3737ba3434b733903a3790313ab93760891b604482015260640161006b565b604051630852cd8d60e31b8152600481018290526001600160a01b038316906342966c6890602401600060405180830381600087803b15801561018e57600080fd5b505af11580156101a2573d6000803e3d6000fd5b50506040518381523392506001600160a01b03861691507f4bec313b95a1f7373890b5d9dce4c4737945f27093ca8f3e357bec1219299eaf9060200160405180910390a3505050565b6000602082840312156101fd57600080fd5b81356001600160a01b038116811461021457600080fd5b9392505050565b60006020828403121561022d57600080fd5b505191905056fea264697066735822122063345211f3b2b7f1470b7b83b72c0578312b4377b6ec078fcb0a6014c035f9ba64736f6c63430008190033