Skip to content

Instantly share code, notes, and snippets.

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
@VuQuang
VuQuang / contract.sol
Created May 13, 2023 15:07
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.19+commit.7dd6d404.js&optimize=true&runs=200&gist=
// SPDX-License-Identifier: UNLICENSE
pragma solidity ^0.8.19;
interface IBEP20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
@VuQuang
VuQuang / contract.sol
Created May 13, 2023 15:05
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.20+commit.a1b79de6.js&optimize=true&runs=200&gist=
// SPDX-License-Identifier: UNLICENSE
pragma solidity ^0.8.19;
interface IBEP20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
@VuQuang
VuQuang / contract.sol
Created May 12, 2023 06:46
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.20+commit.a1b79de6.js&optimize=true&runs=200&gist=
/**
*Submitted for verification at BscScan.com on 2023-04-12
*/
// SPDX-License-Identifier: UNLICENSE
pragma solidity ^0.8.19;
interface IBEP20 {
function totalSupply() external view returns (uint256);