Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
10,000,000.00 USA

Holders:
21
Profile Summary
Blockchain:
Base (8453)


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

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
Yes with 285 runs

Created At:
Thu, 11 Apr 2024 02:59:23 GMT
AmericanCoin.sol
AmericanCoin.sol
AmericanCoin.sol


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


Contract Creation Code
608060405234801561000f575f80fd5b50604051610ec7380380610ec783398101604081905261002e91610244565b8181600361003c8382610326565b5060046100498282610326565b50505061006261005d61007e60201b60201c565b610082565b610077336a084595161401484a0000006100d3565b505061040a565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03821661013c5760405162461bcd60e51b815260206004820152602660248201527f416d65726963616e436f696e3a206d696e7420746f20746865207a65726f206160448201526564647265737360d01b606482015260840160405180910390fd5b8060025f82825461014d91906103e5565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f8301126101cb575f80fd5b81516001600160401b03808211156101e5576101e56101a8565b604051601f8301601f19908116603f0116810190828211818310171561020d5761020d6101a8565b81604052838152866020858801011115610225575f80fd5b8360208701602083015e5f602085830101528094505050505092915050565b5f8060408385031215610255575f80fd5b82516001600160401b038082111561026b575f80fd5b610277868387016101bc565b9350602085015191508082111561028c575f80fd5b50610299858286016101bc565b9150509250929050565b600181811c908216806102b757607f821691505b6020821081036102d557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156101a357805f5260205f20601f840160051c810160208510156103005750805b601f840160051c820191505b8181101561031f575f815560010161030c565b5050505050565b81516001600160401b0381111561033f5761033f6101a8565b6103538161034d84546102a3565b846102db565b602080601f831160018114610386575f841561036f5750858301515b5f19600386901b1c1916600185901b1785556103dd565b5f85815260208120601f198616915b828110156103b457888601518255948401946001909101908401610395565b50858210156103d157878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b8082018082111561040457634e487b7160e01b5f52601160045260245ffd5b92915050565b610ab0806104175f395ff3fe608060405234801561000f575f80fd5b50600436106100e5575f3560e01c8063715018a611610088578063a457c2d711610063578063a457c2d7146101c6578063a9059cbb146101d9578063dd62ed3e146101ec578063f2fde38b14610224575f80fd5b8063715018a6146101995780638da5cb5b146101a357806395d89b41146101be575f80fd5b806323b872dd116100c357806323b872dd1461013c578063313ce5671461014f578063395093511461015e57806370a0823114610171575f80fd5b806306fdde03146100e9578063095ea7b31461010757806318160ddd1461012a575b5f80fd5b6100f1610237565b6040516100fe91906108f2565b60405180910390f35b61011a610115366004610942565b6102c7565b60405190151581526020016100fe565b6002545b6040519081526020016100fe565b61011a61014a36600461096a565b6102e0565b604051601281526020016100fe565b61011a61016c366004610942565b610303565b61012e61017f3660046109a3565b6001600160a01b03165f9081526020819052604090205490565b6101a1610341565b005b6005546040516001600160a01b0390911681526020016100fe565b6100f1610354565b61011a6101d4366004610942565b610363565b61011a6101e7366004610942565b610400565b61012e6101fa3660046109c3565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6101a16102323660046109a3565b61040d565b606060038054610246906109f4565b80601f0160208091040260200160405190810160405280929190818152602001828054610272906109f4565b80156102bd5780601f10610294576101008083540402835291602001916102bd565b820191905f5260205f20905b8154815290600101906020018083116102a057829003601f168201915b5050505050905090565b5f336102d4818585610486565b60019150505b92915050565b5f336102ed8582856105b8565b6102f8858585610654565b506001949350505050565b335f8181526001602090815260408083206001600160a01b03871684529091528120549091906102d4908290869061033c908790610a40565b610486565b61034961083a565b6103525f610894565b565b606060048054610246906109f4565b335f8181526001602090815260408083206001600160a01b0387168452909152812054909190838110156103f35760405162461bcd60e51b815260206004820152602c60248201527f416d65726963616e436f696e3a2064656372656173656420616c6c6f77616e6360448201526b652062656c6f77207a65726f60a01b60648201526084015b60405180910390fd5b6102f88286868403610486565b5f336102d4818585610654565b61041561083a565b6001600160a01b03811661047a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103ea565b61048381610894565b50565b6001600160a01b0383166104f05760405162461bcd60e51b815260206004820152602b60248201527f416d65726963616e436f696e3a20617070726f76652066726f6d20746865207a60448201526a65726f206164647265737360a81b60648201526084016103ea565b6001600160a01b0382166105585760405162461bcd60e51b815260206004820152602960248201527f416d65726963616e436f696e3a20617070726f766520746f20746865207a65726044820152686f206164647265737360b81b60648201526084016103ea565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f19811461064e57818110156106415760405162461bcd60e51b8152602060048201526024808201527f416d65726963616e436f696e3a20696e73756666696369656e7420616c6c6f77604482015263616e636560e01b60648201526084016103ea565b61064e8484848403610486565b50505050565b6001600160a01b0383166106bf5760405162461bcd60e51b815260206004820152602c60248201527f416d65726963616e436f696e3a207472616e736665722066726f6d207468652060448201526b7a65726f206164647265737360a01b60648201526084016103ea565b6001600160a01b0382166107285760405162461bcd60e51b815260206004820152602a60248201527f416d65726963616e436f696e3a207472616e7366657220746f20746865207a65604482015269726f206164647265737360b01b60648201526084016103ea565b6001600160a01b0383165f908152602081905260409020548181101580610773575061076873384ee34a56f6c62abdbfdb9bcfac55be884ee53685610a53565b6001600160a01b0316155b6107d55760405162461bcd60e51b815260206004820152602d60248201527f416d65726963616e436f696e3a207472616e7366657220616d6f756e7420657860448201526c63656564732062616c616e636560981b60648201526084016103ea565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361064e565b6005546001600160a01b031633146103525760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103ea565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b038116811461093d575f80fd5b919050565b5f8060408385031215610953575f80fd5b61095c83610927565b946020939093013593505050565b5f805f6060848603121561097c575f80fd5b61098584610927565b925061099360208501610927565b9150604084013590509250925092565b5f602082840312156109b3575f80fd5b6109bc82610927565b9392505050565b5f80604083850312156109d4575f80fd5b6109dd83610927565b91506109eb60208401610927565b90509250929050565b600181811c90821680610a0857607f821691505b602082108103610a2657634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156102da576102da610a2c565b6001600160a01b03828116828216039080821115610a7357610a73610a2c565b509291505056fea2646970667358221220fa97a4d2af88c419dabe7b2034c49da7b79d118c80a26e3f617b708d77fc8a9864736f6c6343000819003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000d416d65726963616e20436f696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035553410000000000000000000000000000000000000000000000000000000000