Contract

0x628E1e30E258548403d6B8f3F552493F1da353Ec

Overview

S Balance

Sonic LogoSonic LogoSonic Logo0 S

S Value

-

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve9235692024-12-20 20:12:347 hrs ago1734725554IN
0x628E1e30...F1da353Ec
0 S0.000053911.11
Approve9071132024-12-20 17:06:4210 hrs ago1734714402IN
0x628E1e30...F1da353Ec
0 S0.000051391.1
Approve8424462024-12-20 8:54:5618 hrs ago1734684896IN
0x628E1e30...F1da353Ec
0 S0.000051391.1
Approve8373252024-12-20 8:22:4819 hrs ago1734682968IN
0x628E1e30...F1da353Ec
0 S0.000051391.1
Approve8291752024-12-20 7:29:1920 hrs ago1734679759IN
0x628E1e30...F1da353Ec
0 S0.000051391.1
Approve7974662024-12-20 2:53:3424 hrs ago1734663214IN
0x628E1e30...F1da353Ec
0 S0.000053911.11
Approve7619182024-12-19 21:11:0630 hrs ago1734642666IN
0x628E1e30...F1da353Ec
0 S0.000053641.11
Approve7618012024-12-19 21:10:1630 hrs ago1734642616IN
0x628E1e30...F1da353Ec
0 S0.000053911.11
Approve7551672024-12-19 20:15:4831 hrs ago1734639348IN
0x628E1e30...F1da353Ec
0 S0.000053911.11
Approve7425432024-12-19 18:32:5933 hrs ago1734633179IN
0x628E1e30...F1da353Ec
0 S0.000051391.1
Approve7425382024-12-19 18:32:5733 hrs ago1734633177IN
0x628E1e30...F1da353Ec
0 S0.000051391.1
Approve7391162024-12-19 18:04:5633 hrs ago1734631496IN
0x628E1e30...F1da353Ec
0 S0.000087431.8
Approve7384422024-12-19 17:59:2233 hrs ago1734631162IN
0x628E1e30...F1da353Ec
0 S0.000086981.8
Approve7376722024-12-19 17:53:0933 hrs ago1734630789IN
0x628E1e30...F1da353Ec
0 S0.000050581.1
Approve7370852024-12-19 17:48:1233 hrs ago1734630492IN
0x628E1e30...F1da353Ec
0 S0.000087431.8
Approve7369472024-12-19 17:46:5733 hrs ago1734630417IN
0x628E1e30...F1da353Ec
0 S0.000051391.1
Approve7367732024-12-19 17:45:3033 hrs ago1734630330IN
0x628E1e30...F1da353Ec
0 S0.000116812.5
Approve7364612024-12-19 17:42:5933 hrs ago1734630179IN
0x628E1e30...F1da353Ec
0 S0.000051391.1
Approve7363882024-12-19 17:42:3333 hrs ago1734630153IN
0x628E1e30...F1da353Ec
0 S0.000051391.1
Approve7363402024-12-19 17:42:1433 hrs ago1734630134IN
0x628E1e30...F1da353Ec
0 S0.000053911.11
Approve7357112024-12-19 17:37:3634 hrs ago1734629856IN
0x628E1e30...F1da353Ec
0 S0.000046721
Approve7346402024-12-19 17:30:0834 hrs ago1734629408IN
0x628E1e30...F1da353Ec
0 S0.000051391.1
Approve7345772024-12-19 17:29:4234 hrs ago1734629382IN
0x628E1e30...F1da353Ec
0 S0.000053911.11
Approve7327992024-12-19 17:18:0634 hrs ago1734628686IN
0x628E1e30...F1da353Ec
0 S0.000051391.1
Approve7315012024-12-19 17:09:3334 hrs ago1734628173IN
0x628E1e30...F1da353Ec
0 S0.000053641.11
View all transactions

Latest 1 internal transaction

Parent Transaction Hash Block From To
6477552024-12-19 2:26:552 days ago1734575215  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.