Skip to content

Instantly share code, notes, and snippets.

View nikith-313's full-sized avatar

nikith nikith-313

View GitHub Profile
@nikith-313
nikith-313 / ERC20PRAC...IERC20.sol
Created October 5, 2025 07:25
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.30+commit.73712a01.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;
interface IERC20{
event Transfer(address indexed from,address indexed to,uint256 value);
event Approval(address indexed owner,address indexed spender,uint256 value);
function totalSupply() external view returns(uint256);
function balanceOf(address account) external view returns(uint256);
function transfer(address to,uint256 value) external returns(bool);
function allowance(address owner,address spender) external view returns(uint256);
function approve(address spender,uint256 value) external returns(bool);