Skip to content

Instantly share code, notes, and snippets.

View 0nebukadnezar0's full-sized avatar

0nebukadnezar0

View GitHub Profile
@0nebukadnezar0
0nebukadnezar0 / BEP20_flat.sol
Created April 1, 2022 08:02
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.5.16+commit.9c3226ce.js&optimize=true&runs=200&gist=
// File: contracts/BEP20.sol
pragma solidity 0.5.16;
interface IBEP20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
@0nebukadnezar0
0nebukadnezar0 / contracts...BEP20.sol
Created April 1, 2022 08:01
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.5.16+commit.9c3226ce.js&optimize=true&runs=200&gist=
pragma solidity 0.5.16;
interface IBEP20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the token decimals.