Module alloy_zksync::contracts::common::erc20::ERC20

source ·
Expand description

ABI for an ERC20 contract.

contract ERC20 {
    function allowance(address owner, address spender) external view returns (uint256);
    function approve(address spender, uint256 value) external returns (bool);
    function name() public view virtual returns (string memory);
    function symbol() public view virtual returns (string memory);
    function decimals() public view virtual returns (uint8);
}

Structs§

Enums§

Functions§

  • Creates a new wrapper around an on-chain ERC20 contract instance.