Contract

0x2508b6ae20A0F05dBBd3cd75474AEB30A1eF403f

Overview

S Balance

Sonic LogoSonic LogoSonic Logo0 S

S Value

-

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve9813202024-12-21 3:22:4444 mins ago1734751364IN
0x2508b6ae...0A1eF403f
0 S0.000046721
Approve9787822024-12-21 3:02:391 hr ago1734750159IN
0x2508b6ae...0A1eF403f
0 S0.000053911.11
Approve9737142024-12-21 2:23:281 hr ago1734747808IN
0x2508b6ae...0A1eF403f
0 S0.000046721
Approve9698052024-12-21 1:55:332 hrs ago1734746133IN
0x2508b6ae...0A1eF403f
0 S0.000051391.1
Transfer9680192024-12-21 1:45:082 hrs ago1734745508IN
0x2508b6ae...0A1eF403f
0 S0.000051331.1
Approve9666242024-12-21 1:37:342 hrs ago1734745054IN
0x2508b6ae...0A1eF403f
0 S0.000053661.11
Approve9645102024-12-21 1:23:512 hrs ago1734744231IN
0x2508b6ae...0A1eF403f
0 S0.000051391.1
Approve9641142024-12-21 1:21:182 hrs ago1734744078IN
0x2508b6ae...0A1eF403f
0 S0.000050611.1
Approve9640332024-12-21 1:20:452 hrs ago1734744045IN
0x2508b6ae...0A1eF403f
0 S0.000053911.11
Approve9630272024-12-21 1:14:102 hrs ago1734743650IN
0x2508b6ae...0A1eF403f
0 S0.000028211.11
Approve9628362024-12-21 1:12:512 hrs ago1734743571IN
0x2508b6ae...0A1eF403f
0 S0.00005441.12
Approve9618562024-12-21 1:06:013 hrs ago1734743161IN
0x2508b6ae...0A1eF403f
0 S0.000051391.1
Approve9614822024-12-21 1:03:463 hrs ago1734743026IN
0x2508b6ae...0A1eF403f
0 S0.000051391.1
Approve9611012024-12-21 1:01:313 hrs ago1734742891IN
0x2508b6ae...0A1eF403f
0 S0.000028211.11
Approve9610052024-12-21 1:00:583 hrs ago1734742858IN
0x2508b6ae...0A1eF403f
0 S0.000053911.11
Approve9608492024-12-21 1:00:043 hrs ago1734742804IN
0x2508b6ae...0A1eF403f
0 S0.000028211.11
Approve9605492024-12-21 0:58:223 hrs ago1734742702IN
0x2508b6ae...0A1eF403f
0 S0.000053911.11
Approve9589522024-12-21 0:49:333 hrs ago1734742173IN
0x2508b6ae...0A1eF403f
0 S0.000053911.11
Approve9589372024-12-21 0:49:293 hrs ago1734742169IN
0x2508b6ae...0A1eF403f
0 S0.000053911.11
Approve9587632024-12-21 0:48:353 hrs ago1734742115IN
0x2508b6ae...0A1eF403f
0 S0.000051391.1
Approve9587292024-12-21 0:48:243 hrs ago1734742104IN
0x2508b6ae...0A1eF403f
0 S0.000053911.11
Approve9586782024-12-21 0:48:083 hrs ago1734742088IN
0x2508b6ae...0A1eF403f
0 S0.000051391.1
Approve9578092024-12-21 0:43:013 hrs ago1734741781IN
0x2508b6ae...0A1eF403f
0 S0.000051391.1
Approve9571172024-12-21 0:37:203 hrs ago1734741440IN
0x2508b6ae...0A1eF403f
0 S0.000053661.11
Approve9527162024-12-21 0:08:463 hrs ago1734739726IN
0x2508b6ae...0A1eF403f
0 S0.000051391.1
View all transactions

Latest 1 internal transaction

Parent Transaction Hash Block From To
8381542024-12-20 8:27:5619 hrs ago1734683276  Contract Creation0 S
Loading...
Loading

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

Contract Name:
Token

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : Token.sol
pragma solidity 0.8.19;

interface IMemeboxTokenFactory {
    function getInitializable() external view returns (string memory, string memory, uint8, uint256);
}

contract Token {
    string public name;
    string public symbol;
    uint8 public decimals;
    uint256 public totalSupply;

    mapping(address => uint256) public balanceOf;
    mapping(address => mapping(address => uint256)) public allowance;

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

    constructor() {
        (name, symbol, decimals, totalSupply) = IMemeboxTokenFactory(msg.sender).getInitializable();
        balanceOf[msg.sender] = totalSupply;
        emit Transfer(address(0), msg.sender, totalSupply);
    }

    function transfer(address to, uint256 amount) external returns (bool) {
        require(balanceOf[msg.sender] >= amount, "Insufficient balance");
        balanceOf[msg.sender] -= amount;
        balanceOf[to] += amount;
        emit Transfer(msg.sender, to, amount);
        return true;
    }

    function approve(address spender, uint256 amount) external returns (bool) {
        allowance[msg.sender][spender] = amount;
        emit Approval(msg.sender, spender, amount);
        return true;
    }

    function transferFrom(address from, address to, uint256 amount) external returns (bool) {
        require(balanceOf[from] >= amount, "Insufficient balance");
        require(allowance[from][msg.sender] >= amount, "Insufficient allowance");
        balanceOf[from] -= amount;
        balanceOf[to] += amount;
        allowance[from][msg.sender] -= amount;
        emit Transfer(from, to, amount);
        return true;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "bytecodeHash": "none"
  },
  "viaIR": true,
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","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":"","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":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x608060408181526004918236101561001657600080fd5b600092833560e01c91826306fdde031461049b57508163095ea7b31461042a57816318160ddd1461040b57816323b872dd146102ed578163313ce567146102cb57816370a082311461029557816395d89b4114610175578163a9059cbb146100d3575063dd62ed3e1461008857600080fd5b346100cf57806003193601126100cf57806020926100a46105ba565b6100ac6105d5565b6001600160a01b0391821683526005865283832091168252845220549051908152f35b5080fd5b905034610171578160031936011261017157602092826100f16105ba565b916024359233825284875261010b848484205410156105eb565b33825284875282822061011f85825461062e565b90556001600160a01b031680825293865220805461013e908390610651565b905582519081527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef843392a35160018152f35b8280fd5b8383346100cf57816003193601126100cf5780519082600180549081811c9080831692831561028b575b60209384841081146102785783885290811561025c5750600114610207575b505050829003601f01601f191682019267ffffffffffffffff8411838510176101f457508291826101f0925282610571565b0390f35b634e487b7160e01b815260418552602490fd5b8087529192508591837fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b83851061024857505050508301018580806101be565b805488860183015293019284908201610232565b60ff1916878501525050151560051b84010190508580806101be565b634e487b7160e01b895260228a52602489fd5b91607f169161019f565b9050346101715760203660031901126101715760209282916001600160a01b036102bd6105ba565b168252845220549051908152f35b5050346100cf57816003193601126100cf5760209060ff600254169051908152f35b905034610171576060366003190112610171576103086105ba565b6103106105d5565b936044359060018060a01b0380931692838252602096858852610338848885205410156105eb565b8483526005885286832033845288528387842054106103cf57827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef94928892878b965288865283832061038c86825461062e565b9055169687825284528181206103a3848254610651565b9055858152600584528181203382528452206103c082825461062e565b90558551908152a35160018152f35b865162461bcd60e51b81528087018990526016602482015275496e73756666696369656e7420616c6c6f77616e636560501b6044820152606490fd5b5050346100cf57816003193601126100cf576020906003549051908152f35b5050346100cf57806003193601126100cf57602091816104486105ba565b91602435918291338152600587528181209460018060a01b0316948582528752205582519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925843392a35160018152f35b84908434610171578260031936011261017157828354600181811c90808316928315610567575b60209384841081146102785783885290811561025c575060011461051257505050829003601f01601f191682019267ffffffffffffffff8411838510176101f457508291826101f0925282610571565b8680529192508591837f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b83851061055357505050508301018580806101be565b80548886018301529301928490820161053d565b91607f16916104c2565b6020808252825181830181905290939260005b8281106105a657505060409293506000838284010152601f8019910116010190565b818101860151848201604001528501610584565b600435906001600160a01b03821682036105d057565b600080fd5b602435906001600160a01b03821682036105d057565b156105f257565b60405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b6044820152606490fd5b9190820391821161063b57565b634e487b7160e01b600052601160045260246000fd5b9190820180921161063b5756fea164736f6c6343000813000a

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  ]
[ 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.