Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
100,000,000.00 $SOMO

Holders:
18
Profile Summary
Blockchain:
Base (8453)


Decimals:
18
Contract Source Code Verified (Partial Match)
Contract Name:
MyToken

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Created At:
Wed, 24 Apr 2024 06:53:17 GMT
MyToken.sol
MyToken.sol
MyToken.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "name_",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "symbol_",
        "type": "string"
      }
    ],
    "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": [
      {
        "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": "owner",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "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"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "transferOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]


Contract Creation Code
60806040523480156200001157600080fd5b506040516200101e3803806200101e83398101604081905262000034916200031f565b8151829082906200004d906003906020850190620001ce565b50805162000063906004906020840190620001ce565b505050620000806200007a6200009f60201b60201c565b620000a3565b62000097336a52b7d2dcc80cd2e4000000620000f5565b50506200043e565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001275760405162461bcd60e51b81526004016200011e9062000386565b60405180910390fd5b6200013560008383620001c9565b8060026000828254620001499190620003c6565b90915550506001600160a01b0382166000908152602081905260408120805483929062000178908490620003c6565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90620001bd908590620003bd565b60405180910390a35050565b505050565b828054620001dc90620003eb565b90600052602060002090601f0160209004810192826200020057600085556200024b565b82601f106200021b57805160ff19168380011785556200024b565b828001600101855582156200024b579182015b828111156200024b5782518255916020019190600101906200022e565b50620002599291506200025d565b5090565b5b808211156200025957600081556001016200025e565b600082601f83011262000285578081fd5b81516001600160401b0380821115620002a257620002a262000428565b6040516020601f8401601f1916820181018381118382101715620002ca57620002ca62000428565b6040528382528584018101871015620002e1578485fd5b8492505b83831015620003045785830181015182840182015291820191620002e5565b838311156200031557848185840101525b5095945050505050565b6000806040838503121562000332578182fd5b82516001600160401b038082111562000349578384fd5b620003578683870162000274565b935060208501519150808211156200036d578283fd5b506200037c8582860162000274565b9150509250929050565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b60008219821115620003e657634e487b7160e01b81526011600452602481fd5b500190565b6002810460018216806200040057607f821691505b602082108114156200042257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b610bd0806200044e6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063715018a61161008c578063a457c2d711610066578063a457c2d7146101b7578063a9059cbb146101ca578063dd62ed3e146101dd578063f2fde38b146101f0576100ea565b8063715018a6146101905780638da5cb5b1461019a57806395d89b41146101af576100ea565b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461016a57806370a082311461017d576100ea565b806306fdde03146100ef578063095ea7b31461010d57806318160ddd1461012d575b600080fd5b6100f7610203565b6040516101049190610854565b60405180910390f35b61012061011b36600461080c565b610295565b6040516101049190610849565b6101356102b2565b6040516101049190610b03565b6101206101503660046107d1565b6102b8565b61015d610358565b6040516101049190610b0c565b61012061017836600461080c565b61035d565b61013561018b36600461077e565b6103ac565b6101986103cb565b005b6101a26103df565b6040516101049190610835565b6100f76103ee565b6101206101c536600461080c565b6103fd565b6101206101d836600461080c565b610478565b6101356101eb36600461079f565b61048c565b6101986101fe36600461077e565b6104b7565b60606003805461021290610b49565b80601f016020809104026020016040519081016040528092919081815260200182805461023e90610b49565b801561028b5780601f106102605761010080835404028352916020019161028b565b820191906000526020600020905b81548152906001019060200180831161026e57829003601f168201915b5050505050905090565b60006102a96102a26104f1565b84846104f5565b50600192915050565b60025490565b60006102c58484846105a9565b6001600160a01b0384166000908152600160205260408120816102e66104f1565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156103325760405162461bcd60e51b8152600401610329906109b8565b60405180910390fd5b61034d8561033e6104f1565b6103488685610b32565b6104f5565b506001949350505050565b601290565b60006102a961036a6104f1565b8484600160006103786104f1565b6001600160a01b03908116825260208083019390935260409182016000908120918b16815292529020546103489190610b1a565b6001600160a01b0381166000908152602081905260409020545b919050565b6103d36106d1565b6103dd6000610710565b565b6005546001600160a01b031690565b60606004805461021290610b49565b6000806001600061040c6104f1565b6001600160a01b03908116825260208083019390935260409182016000908120918816815292529020549050828110156104585760405162461bcd60e51b815260040161032990610abe565b61046e6104636104f1565b856103488685610b32565b5060019392505050565b60006102a96104856104f1565b84846105a9565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6104bf6106d1565b6001600160a01b0381166104e55760405162461bcd60e51b8152600401610329906108ea565b6104ee81610710565b50565b3390565b6001600160a01b03831661051b5760405162461bcd60e51b815260040161032990610a7a565b6001600160a01b0382166105415760405162461bcd60e51b815260040161032990610930565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061059c908590610b03565b60405180910390a3505050565b6001600160a01b0383166105cf5760405162461bcd60e51b815260040161032990610a35565b6001600160a01b0382166105f55760405162461bcd60e51b8152600401610329906108a7565b610600838383610762565b6001600160a01b038316600090815260208190526040902054818110156106395760405162461bcd60e51b815260040161032990610972565b6106438282610b32565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290610679908490610b1a565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516106c39190610b03565b60405180910390a350505050565b6106d96104f1565b6001600160a01b03166106ea6103df565b6001600160a01b0316146103dd5760405162461bcd60e51b815260040161032990610a00565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b505050565b80356001600160a01b03811681146103c657600080fd5b60006020828403121561078f578081fd5b61079882610767565b9392505050565b600080604083850312156107b1578081fd5b6107ba83610767565b91506107c860208401610767565b90509250929050565b6000806000606084860312156107e5578081fd5b6107ee84610767565b92506107fc60208501610767565b9150604084013590509250925092565b6000806040838503121561081e578182fd5b61082783610767565b946020939093013593505050565b6001600160a01b0391909116815260200190565b901515815260200190565b6000602080835283518082850152825b8181101561088057858101830151858201604001528201610864565b818111156108915783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b90815260200190565b60ff91909116815260200190565b60008219821115610b2d57610b2d610b84565b500190565b600082821015610b4457610b44610b84565b500390565b600281046001821680610b5d57607f821691505b60208210811415610b7e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea26469706673582212208f69d23f1b9f0d5e4f6e874bac83aa8150c7a5e3f2eb78ea88651010c9b386b164736f6c63430008000033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000004534f4d4f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000524534f4d4f000000000000000000000000000000000000000000000000000000