S Price: $0.480293 (-0.70%)

Contract

0x6DB0FEAD4Db1C8300E0645aDa70650B4b3994a35

Overview

S Balance

Sonic LogoSonic LogoSonic Logo0 S

S Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve139035072025-03-15 16:41:1919 days ago1742056879IN
0x6DB0FEAD...4b3994a35
0 S0.002564450
Approve139035072025-03-15 16:41:1919 days ago1742056879IN
0x6DB0FEAD...4b3994a35
0 S0.002564450
Approve139035062025-03-15 16:41:1919 days ago1742056879IN
0x6DB0FEAD...4b3994a35
0 S0.002564450
Approve139033812025-03-15 16:40:2619 days ago1742056826IN
0x6DB0FEAD...4b3994a35
0 S0.002564450
Approve139033802025-03-15 16:40:2619 days ago1742056826IN
0x6DB0FEAD...4b3994a35
0 S0.002564450
Approve139033792025-03-15 16:40:2619 days ago1742056826IN
0x6DB0FEAD...4b3994a35
0 S0.002564450
Approve139033792025-03-15 16:40:2619 days ago1742056826IN
0x6DB0FEAD...4b3994a35
0 S0.002564450
Approve139033792025-03-15 16:40:2619 days ago1742056826IN
0x6DB0FEAD...4b3994a35
0 S0.002564450
Approve139032972025-03-15 16:39:5419 days ago1742056794IN
0x6DB0FEAD...4b3994a35
0 S0.002564450
Approve139032972025-03-15 16:39:5419 days ago1742056794IN
0x6DB0FEAD...4b3994a35
0 S0.002564450
Approve139032962025-03-15 16:39:5419 days ago1742056794IN
0x6DB0FEAD...4b3994a35
0 S0.002564450
Approve139032962025-03-15 16:39:5419 days ago1742056794IN
0x6DB0FEAD...4b3994a35
0 S0.002564450
Approve139032952025-03-15 16:39:5319 days ago1742056793IN
0x6DB0FEAD...4b3994a35
0 S0.002564450
Approve139031452025-03-15 16:38:5319 days ago1742056733IN
0x6DB0FEAD...4b3994a35
0 S0.0023587550.0001

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x0feb7939...c5732aFba
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
BabyAnon

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion
File 1 of 1 : BabyAnon.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

contract BabyAnon {
    string public constant name = "Baby Anon";
    string public constant symbol = "BABYANON";
    uint8 public constant decimals = 18;
    uint256 public constant INITIAL_SUPPLY = 100_000 * 10**18;

    mapping(address => uint256) private _balances;
    mapping(address => mapping(address => uint256)) private _allowances;
    uint256 private _totalSupply;

    address private _owner;

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    modifier onlyOwner() {
        require(_owner == msg.sender, "Caller is not the owner");
        _;
    }

    constructor() {
        _owner = msg.sender;
        _mint(_owner, INITIAL_SUPPLY);
    }

    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view returns (uint256) {
        return _balances[account];
    }

    function transfer(address recipient, uint256 amount) public returns (bool) {
        _transfer(msg.sender, recipient, amount);
        return true;
    }

    function allowance(address owner, address spender) public view returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public returns (bool) {
        _approve(msg.sender, spender, amount);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) public returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, msg.sender, _allowances[sender][msg.sender] - amount);
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
        _approve(msg.sender, spender, _allowances[msg.sender][spender] + addedValue);
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {
        _approve(msg.sender, spender, _allowances[msg.sender][spender] - subtractedValue);
        return true;
    }

    function renounceOwnership() public onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    function _transfer(address sender, address recipient, uint256 amount) internal {
        require(sender != address(0), "Transfer from the zero address");
        require(recipient != address(0), "Transfer to the zero address");
        require(_balances[sender] >= amount, "Transfer amount exceeds balance");

        _balances[sender] -= amount;
        _balances[recipient] += amount;
        emit Transfer(sender, recipient, amount);
    }

    function _mint(address account, uint256 amount) internal {
        require(account != address(0), "Mint to the zero address");
        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);
    }

    function _approve(address owner, address spender, uint256 amount) internal {
        require(owner != address(0), "Approve from the zero address");
        require(spender != address(0), "Approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function add() public pure returns(uint) {
        uint num1 = 10;
        uint num2 = 16;
        uint sum = num1 + num2;
        return sum;
    }
}

library Math {
    function sqrt(uint y) internal pure returns (uint z) {
        if (y > 3) {
            z = y;
            uint x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
        // else z = 0 (default value)
    }
}

Settings
{
  "evmVersion": "paris",
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"INITIAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"add","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80634f2be91f1161008c57806395d89b411161006657806395d89b411461024f578063a457c2d71461026d578063a9059cbb1461029d578063dd62ed3e146102cd576100ea565b80634f2be91f146101f757806370a0823114610215578063715018a614610245576100ea565b806323b872dd116100c857806323b872dd1461015b5780632ff2e9dc1461018b578063313ce567146101a957806339509351146101c7576100ea565b806306fdde03146100ef578063095ea7b31461010d57806318160ddd1461013d575b600080fd5b6100f76102fd565b6040516101049190610cb2565b60405180910390f35b61012760048036038101906101229190610d6d565b610336565b6040516101349190610dc8565b60405180910390f35b61014561034d565b6040516101529190610df2565b60405180910390f35b61017560048036038101906101709190610e0d565b610357565b6040516101829190610dc8565b60405180910390f35b610193610401565b6040516101a09190610df2565b60405180910390f35b6101b161040f565b6040516101be9190610e7c565b60405180910390f35b6101e160048036038101906101dc9190610d6d565b610414565b6040516101ee9190610dc8565b60405180910390f35b6101ff6104b2565b60405161020c9190610df2565b60405180910390f35b61022f600480360381019061022a9190610e97565b6104d8565b60405161023c9190610df2565b60405180910390f35b61024d610520565b005b610257610671565b6040516102649190610cb2565b60405180910390f35b61028760048036038101906102829190610d6d565b6106aa565b6040516102949190610dc8565b60405180910390f35b6102b760048036038101906102b29190610d6d565b610748565b6040516102c49190610dc8565b60405180910390f35b6102e760048036038101906102e29190610ec4565b61075f565b6040516102f49190610df2565b60405180910390f35b6040518060400160405280600981526020017f4261627920416e6f6e000000000000000000000000000000000000000000000081525081565b60006103433384846107e6565b6001905092915050565b6000600254905090565b60006103648484846109af565b6103f6843384600160008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546103f19190610f33565b6107e6565b600190509392505050565b69152d02c7e14af680000081565b601281565b60006104a8338484600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546104a39190610f67565b6107e6565b6001905092915050565b600080600a9050600060109050600081836104cd9190610f67565b905080935050505090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b3373ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146105b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a790610fe7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6040518060400160405280600881526020017f42414259414e4f4e00000000000000000000000000000000000000000000000081525081565b600061073e338484600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546107399190610f33565b6107e6565b6001905092915050565b60006107553384846109af565b6001905092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610855576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084c90611053565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036108c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bb906110bf565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516109a29190610df2565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a159061112b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8490611197565b60405180910390fd5b806000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015610b0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0590611203565b60405180910390fd5b806000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610b5c9190610f33565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610bb19190610f67565b925050819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610c159190610df2565b60405180910390a3505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610c5c578082015181840152602081019050610c41565b60008484015250505050565b6000601f19601f8301169050919050565b6000610c8482610c22565b610c8e8185610c2d565b9350610c9e818560208601610c3e565b610ca781610c68565b840191505092915050565b60006020820190508181036000830152610ccc8184610c79565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610d0482610cd9565b9050919050565b610d1481610cf9565b8114610d1f57600080fd5b50565b600081359050610d3181610d0b565b92915050565b6000819050919050565b610d4a81610d37565b8114610d5557600080fd5b50565b600081359050610d6781610d41565b92915050565b60008060408385031215610d8457610d83610cd4565b5b6000610d9285828601610d22565b9250506020610da385828601610d58565b9150509250929050565b60008115159050919050565b610dc281610dad565b82525050565b6000602082019050610ddd6000830184610db9565b92915050565b610dec81610d37565b82525050565b6000602082019050610e076000830184610de3565b92915050565b600080600060608486031215610e2657610e25610cd4565b5b6000610e3486828701610d22565b9350506020610e4586828701610d22565b9250506040610e5686828701610d58565b9150509250925092565b600060ff82169050919050565b610e7681610e60565b82525050565b6000602082019050610e916000830184610e6d565b92915050565b600060208284031215610ead57610eac610cd4565b5b6000610ebb84828501610d22565b91505092915050565b60008060408385031215610edb57610eda610cd4565b5b6000610ee985828601610d22565b9250506020610efa85828601610d22565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610f3e82610d37565b9150610f4983610d37565b9250828203905081811115610f6157610f60610f04565b5b92915050565b6000610f7282610d37565b9150610f7d83610d37565b9250828201905080821115610f9557610f94610f04565b5b92915050565b7f43616c6c6572206973206e6f7420746865206f776e6572000000000000000000600082015250565b6000610fd1601783610c2d565b9150610fdc82610f9b565b602082019050919050565b6000602082019050818103600083015261100081610fc4565b9050919050565b7f417070726f76652066726f6d20746865207a65726f2061646472657373000000600082015250565b600061103d601d83610c2d565b915061104882611007565b602082019050919050565b6000602082019050818103600083015261106c81611030565b9050919050565b7f417070726f766520746f20746865207a65726f20616464726573730000000000600082015250565b60006110a9601b83610c2d565b91506110b482611073565b602082019050919050565b600060208201905081810360008301526110d88161109c565b9050919050565b7f5472616e736665722066726f6d20746865207a65726f20616464726573730000600082015250565b6000611115601e83610c2d565b9150611120826110df565b602082019050919050565b6000602082019050818103600083015261114481611108565b9050919050565b7f5472616e7366657220746f20746865207a65726f206164647265737300000000600082015250565b6000611181601c83610c2d565b915061118c8261114b565b602082019050919050565b600060208201905081810360008301526111b081611174565b9050919050565b7f5472616e7366657220616d6f756e7420657863656564732062616c616e636500600082015250565b60006111ed601f83610c2d565b91506111f8826111b7565b602082019050919050565b6000602082019050818103600083015261121c816111e0565b905091905056fea2646970667358221220e6529e2e4453109f11b5d6d639292b2ec9e89d794d66b91804f497cbaafd12ef64736f6c634300081c0033

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.