This repository contains a smart contract implementation of an ERC20 token, which is a standard for fungible tokens on the Ethereum blockchain. The contract provides a basic functionality for creating, managing, and transferring tokens. Features
- Follows the ERC20 token standard
- Supports token creation with a fixed total supply
- Allows token transfers between addresses
- Includes basic access control mechanisms
- Provides events for tracking token transfers and approvals
name()
: Returns the name of the tokensymbol()
: Returns the symbol of the tokendecimals()
: Returns the number of decimals the token usestotalSupply()
: Returns the total token supplybalanceOf(address account)
: Returns the amount of tokens owned by the specified addresstransfer(address recipient, uint256 amount)
: Transfers tokens to the specified addressapprove(address spender, uint256 amount)
: Allows the specified address to spend tokens on behalf of the callerallowance(address owner, address spender)
: Returns the remaining number of tokens that the spender will be allowed to spend on behalf of ownertransferFrom(address sender, address recipient, uint256 amount)
: Transfers tokens from one address to another