Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
1,000,000,000.00 SUPABAT

Holders:
23
Profile Summary
Blockchain:
Base (8453)


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

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Created At:
Wed, 05 Jun 2024 20:34:03 GMT
SimpleERC20.sol
SimpleERC20.sol
SimpleERC20.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "initialSupply",
        "type": "uint256"
      },
      {
        "internalType": "string",
        "name": "_name",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "_symbol",
        "type": "string"
      },
      {
        "internalType": "address",
        "name": "_midDeployer",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "_deployer",
        "type": "address"
      }
    ],
    "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"
      }
    ],
    "name": "OwnershipRenounced",
    "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": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "Burn",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "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": [],
    "name": "deployerFrom",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "dexInitiated",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "view",
    "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": "initialFrom",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "initiateDex",
    "outputs": [],
    "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": [
      {
        "internalType": "address",
        "name": "_funContract",
        "type": "address"
      }
    ],
    "name": "setFunContract",
    "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"
  },
  {
    "inputs": [],
    "name": "voter",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  }
]


Contract Creation Code
60806040523480156200001157600080fd5b50604051620011f8380380620011f8833981016040819052620000349162000295565b600080546001600160a01b03191633179055620000528286620000cb565b600480546001600160a01b038085166001600160a01b03199283161790925560058054928416929091169190911790556002620000908582620003be565b5060036200009f8482620003be565b5050600080546001600160a01b0319166001600160a01b039290921691909117905550620004b2915050565b6001600160a01b038216620001265760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600660008282546200013a91906200048a565b90915550506001600160a01b03821660009081526007602052604081208054839290620001699084906200048a565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001db57600080fd5b81516001600160401b0380821115620001f857620001f8620001b3565b604051601f8301601f19908116603f01168101908282118183101715620002235762000223620001b3565b816040528381526020925086838588010111156200024057600080fd5b600091505b8382101562000264578582018301518183018401529082019062000245565b600093810190920192909252949350505050565b80516001600160a01b03811681146200029057600080fd5b919050565b600080600080600060a08688031215620002ae57600080fd5b855160208701519095506001600160401b0380821115620002ce57600080fd5b620002dc89838a01620001c9565b95506040880151915080821115620002f357600080fd5b506200030288828901620001c9565b935050620003136060870162000278565b9150620003236080870162000278565b90509295509295909350565b600181811c908216806200034457607f821691505b6020821081036200036557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003b957600081815260208120601f850160051c81016020861015620003945750805b601f850160051c820191505b81811015620003b557828155600101620003a0565b5050505b505050565b81516001600160401b03811115620003da57620003da620001b3565b620003f281620003eb84546200032f565b846200036b565b602080601f8311600181146200042a5760008415620004115750858301515b600019600386901b1c1916600185901b178555620003b5565b600085815260208120601f198616915b828110156200045b578886015182559484019460019091019084016200043a565b50858210156200047a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620004ac57634e487b7160e01b600052601160045260246000fd5b92915050565b610d3680620004c26000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c806383074246116100b8578063a9059cbb1161007c578063a9059cbb14610295578063b90306ad146102a8578063d5166994146102bb578063d9c09573146102c3578063dd62ed3e146102d6578063f2fde38b1461030f57600080fd5b806383074246146102405780638da5cb5b1461025457806395d89b4114610267578063a457c2d71461026f578063a50899831461028257600080fd5b806339509351116100ff57806339509351146101bc57806346c96aac146101cf5780634d86017b146101fa57806370a082311461020d578063715018a61461023657600080fd5b806306fdde031461013c578063095ea7b31461015a57806318160ddd1461017d57806323b872dd1461018f578063313ce567146101a2575b600080fd5b610144610322565b6040516101519190610b4c565b60405180910390f35b61016d610168366004610bb6565b6103b0565b6040519015158152602001610151565b6006545b604051908152602001610151565b61016d61019d366004610be0565b6103c7565b6101aa601281565b60405160ff9091168152602001610151565b61016d6101ca366004610bb6565b610464565b6001546101e2906001600160a01b031681565b6040516001600160a01b039091168152602001610151565b6004546101e2906001600160a01b031681565b61018161021b366004610c1c565b6001600160a01b031660009081526007602052604090205490565b61023e61050b565b005b60055461016d90600160a01b900460ff1681565b6000546101e2906001600160a01b031681565b61014461056a565b61016d61027d366004610bb6565b610577565b61023e610290366004610c1c565b6105bb565b61016d6102a3366004610bb6565b6105f4565b61016d6102b6366004610c3e565b610647565b61023e61065b565b6005546101e2906001600160a01b031681565b6101816102e4366004610c57565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b61023e61031d366004610c1c565b6106bd565b6002805461032f90610c8a565b80601f016020809104026020016040519081016040528092919081815260200182805461035b90610c8a565b80156103a85780601f1061037d576101008083540402835291602001916103a8565b820191906000526020600020905b81548152906001019060200180831161038b57829003601f168201915b505050505081565b60006103bd3384846106e0565b5060015b92915050565b60006103d233610805565b6104145760405162461bcd60e51b815260206004820152600e60248201526d1b9bdd0819195e081b1a5cdd195960921b60448201526064015b60405180910390fd5b61041f848484610860565b6001600160a01b03841660009081526008602090815260408083203380855292529091205461045a918691610455908690610cda565b6106e0565b5060019392505050565b60006001600160a01b03831661047957600080fd5b3360009081526008602090815260408083206001600160a01b03871684529091529020546104a8908390610ced565b3360008181526008602090815260408083206001600160a01b038916808552908352928190208590555193845290927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350600192915050565b6000546001600160a01b0316331461052257600080fd5b600080546040516001600160a01b03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a2600080546001600160a01b0319169055565b6003805461032f90610c8a565b60006001600160a01b03831661058c57600080fd5b3360009081526008602090815260408083206001600160a01b03871684529091529020546104a8908390610cda565b6000546001600160a01b031633146105d257600080fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b60006105ff33610805565b61063c5760405162461bcd60e51b815260206004820152600e60248201526d1b9bdd0819195e081b1a5cdd195960921b604482015260640161040b565b6103bd338484610860565b60006106533383610a17565b506001919050565b6004546001600160a01b031633146106a85760405162461bcd60e51b815260206004820152601060248201526f1bdb9b1e48199d5b88185b1b1bddd95960821b604482015260640161040b565b6005805460ff60a01b1916600160a01b179055565b6000546001600160a01b031633146106d457600080fd5b6106dd81610ade565b50565b6001600160a01b0383166107425760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161040b565b6001600160a01b0382166107a35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161040b565b6001600160a01b0383811660008181526008602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600554600090600160a01b900460ff161561082257506001919050565b6004546001600160a01b038381169116148061084b57506005546001600160a01b038381169116145b1561085857506001919050565b506000919050565b6001600160a01b0383166108c45760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161040b565b6001600160a01b0382166109265760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161040b565b600081116109765760405162461bcd60e51b815260206004820152601760248201527f696e76616c6964207472616e7366657220616d6f756e74000000000000000000604482015260640161040b565b6001600160a01b0383166000908152600760205260408120805483929061099e908490610cda565b90915550506001600160a01b038216600090815260076020526040812080548392906109cb908490610ced565b92505081905550816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516107f891815260200190565b6001600160a01b038216610a2a57600080fd5b6001600160a01b038216600090815260076020526040902054811115610a4f57600080fd5b80600654610a5d9190610cda565b6006556001600160a01b038216600090815260076020526040902054610a84908290610cda565b6001600160a01b0383166000818152600760205260408082209390935591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610ad29085815260200190565b60405180910390a35050565b6001600160a01b038116610af157600080fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600060208083528351808285015260005b81811015610b7957858101830151858201604001528201610b5d565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610bb157600080fd5b919050565b60008060408385031215610bc957600080fd5b610bd283610b9a565b946020939093013593505050565b600080600060608486031215610bf557600080fd5b610bfe84610b9a565b9250610c0c60208501610b9a565b9150604084013590509250925092565b600060208284031215610c2e57600080fd5b610c3782610b9a565b9392505050565b600060208284031215610c5057600080fd5b5035919050565b60008060408385031215610c6a57600080fd5b610c7383610b9a565b9150610c8160208401610b9a565b90509250929050565b600181811c90821680610c9e57607f821691505b602082108103610cbe57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b818103818111156103c1576103c1610cc4565b808201808211156103c1576103c1610cc456fea2646970667358221220b8ab3d2fd4d1eaf4bd111f8d2413f27e221eff20893001873b31ad48a95b3a1f64736f6c634300081100330000000000000000000000000000000000000000033b2e3c9fd0803ce800000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000003c5556aae9490086ae9500d0f4931638da30a06c0000000000000000000000003047db3808aa754ba41ee533e7f03c3693f44e8100000000000000000000000000000000000000000000000000000000000000134261546d416e2042694e2053755061724d616e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000075355504142415400000000000000000000000000000000000000000000000000