Address Contract Partially Verified
Address
0x019874305B412Dca28c145aD05cE6aC6cAB01a2b
Balance
0 ETH
Nonce
1
Code Size
3167 bytes
Creator
0x75365dDb...A2E7 at tx 0x209bb003...aeef8b
Indexed Transactions
0
Contract Bytecode
3167 bytes
0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce5671461013457806370a082311461015257806395d89b4114610182578063a9059cbb146101a0578063dd62ed3e146101d057610093565b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100e657806323b872dd14610104575b600080fd5b6100a0610200565b6040516100ad91906107e2565b60405180910390f35b6100d060048036038101906100cb919061089d565b610292565b6040516100dd91906108f8565b60405180910390f35b6100ee6102a9565b6040516100fb9190610922565b60405180910390f35b61011e6004803603810190610119919061093d565b6102b3565b60405161012b91906108f8565b60405180910390f35b61013c6102d6565b60405161014991906109ac565b60405180910390f35b61016c600480360381019061016791906109c7565b6102ed565b6040516101799190610922565b60405180910390f35b61018a610335565b60405161019791906107e2565b60405180910390f35b6101ba60048036038101906101b5919061089d565b6103c7565b6040516101c791906108f8565b60405180910390f35b6101ea60048036038101906101e591906109f4565b6103de565b6040516101f79190610922565b60405180910390f35b60606003805461020f90610a63565b80601f016020809104026020016040519081016040528092919081815260200182805461023b90610a63565b80156102885780601f1061025d57610100808354040283529160200191610288565b820191906000526020600020905b81548152906001019060200180831161026b57829003601f168201915b5050505050905090565b600061029f338484610465565b6001905092915050565b6000600254905090565b60006102c0843384610550565b6102cb8484846105bd565b600190509392505050565b6000600560009054906101000a900460ff16905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60606004805461034490610a63565b80601f016020809104026020016040519081016040528092919081815260200182805461037090610a63565b80156103bd5780601f10610392576101008083540402835291602001916103bd565b820191906000526020600020905b8154815290600101906020018083116103a057829003601f168201915b5050505050905090565b60006103d43384846105bd565b6001905092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516105439190610922565b60405180910390a3505050565b600061055c84846103de565b9050818110156105a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161059890610ae0565b60405180910390fd5b6105b7848484846105b29190610b2f565b610465565b50505050565b806000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101561063e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063590610bd5565b60405180910390fd5b806000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461068c9190610b2f565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546106e19190610bf5565b925050819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516107459190610922565b60405180910390a3505050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561078c578082015181840152602081019050610771565b60008484015250505050565b6000601f19601f8301169050919050565b60006107b482610752565b6107be818561075d565b93506107ce81856020860161076e565b6107d781610798565b840191505092915050565b600060208201905081810360008301526107fc81846107a9565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061083482610809565b9050919050565b61084481610829565b811461084f57600080fd5b50565b6000813590506108618161083b565b92915050565b6000819050919050565b61087a81610867565b811461088557600080fd5b50565b60008135905061089781610871565b92915050565b600080604083850312156108b4576108b3610804565b5b60006108c285828601610852565b92505060206108d385828601610888565b9150509250929050565b60008115159050919050565b6108f2816108dd565b82525050565b600060208201905061090d60008301846108e9565b92915050565b61091c81610867565b82525050565b60006020820190506109376000830184610913565b92915050565b60008060006060848603121561095657610955610804565b5b600061096486828701610852565b935050602061097586828701610852565b925050604061098686828701610888565b9150509250925092565b600060ff82169050919050565b6109a681610990565b82525050565b60006020820190506109c1600083018461099d565b92915050565b6000602082840312156109dd576109dc610804565b5b60006109eb84828501610852565b91505092915050565b60008060408385031215610a0b57610a0a610804565b5b6000610a1985828601610852565b9250506020610a2a85828601610852565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610a7b57607f821691505b602082108103610a8e57610a8d610a34565b5b50919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000610aca601d8361075d565b9150610ad582610a94565b602082019050919050565b60006020820190508181036000830152610af981610abd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610b3a82610867565b9150610b4583610867565b9250828203905081811115610b5d57610b5c610b00565b5b92915050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000610bbf60268361075d565b9150610bca82610b63565b604082019050919050565b60006020820190508181036000830152610bee81610bb2565b9050919050565b6000610c0082610867565b9150610c0b83610867565b9250828201905080821115610c2357610c22610b00565b5b9291505056fea2646970667358221220485c7ec66bcf7618a14ab8374e77d18970c075779fba0c8cf2474aca8fa9ab5f64736f6c63430008120033
Verified Source Code Partial Match
Compiler: v0.8.18+commit.87f61d96
EVM: paris
Optimization: No
sEReC20.sol 63 lines
//THERE IS NO MEME
//I LOVE YOU
pragma solidity 0.8.18;
contract sEReC20 {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
uint8 private _decimals;
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
constructor(string memory name_, string memory symbol_, uint8 decimals_, uint supply_) {
_name = name_;
_symbol = symbol_;
_decimals = decimals_;
_balances[msg.sender] = supply_ * 10 ** decimals_;
_totalSupply = supply_ * 10 ** decimals_;
}
function name() public view returns (string memory) {return _name;}
function symbol() public view returns (string memory) {return _symbol;}
function decimals() public view returns (uint8) {return _decimals;}
function totalSupply() public view returns (uint256) {return _totalSupply;}
function balanceOf(address account) public view returns (uint256) {return _balances[account];}
function allowance(address owner, address spender) public view returns (uint256) {return _allowances[owner][spender];}
function transfer(address to, uint256 amount) public returns (bool) {
_transfer(msg.sender, to, amount);
return true;
}
function approve(address spender, uint256 amount) public returns (bool) {
_approve(msg.sender, spender, amount);
return true;
}
function transferFrom(address from, address to, uint256 amount) public returns (bool) {
_spendAllowance(from, msg.sender, amount);
_transfer(from, to, amount);
return true;
}
function _transfer(address from, address to, uint256 amount) internal {
require(_balances[from] >= amount, "ERC20: transfer amount exceeds balance");
_balances[from] -= amount;
_balances[to] += amount;
emit Transfer(from, to, amount);
}
function _approve(address owner, address spender, uint256 amount) internal {
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
function _spendAllowance(address owner, address spender, uint256 amount) internal {
uint256 currentAllowance = allowance(owner, spender);
require(currentAllowance >= amount, "ERC20: insufficient allowance");
_approve(owner, spender, currentAllowance - amount);
}
}
Read Contract
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
name 0x06fdde03 → string
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
Write Contract 3 functions
These functions modify contract state and require a wallet transaction to execute.
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
transfer 0xa9059cbb
address to
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 amount
returns: bool
Recent Transactions
No transactions found for this address