Skip to content

Instantly share code, notes, and snippets.

View bitartb's full-sized avatar

bitartb

  • Joined Sep 15, 2025
View GitHub Profile
@bitartb
bitartb / bitart_flattened.sol
Created September 15, 2025 17: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.27+commit.40a35a09.js&optimize=false&runs=200&gist=
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)
pragma solidity >=0.4.16;
/**
* @dev Interface of the ERC-20 standard as defined in the ERC.
@bitartb
bitartb / bitart.sol
Created September 15, 2025 17:45
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.27+commit.40a35a09.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// Compatible with OpenZeppelin Contracts ^5.4.0
pragma solidity ^0.8.27;
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract Bitartb is ERC20 {
constructor(address recipient) ERC20("bitartb", "bab") {
_mint(recipient, 1 * 10 ** decimals());
}
@bitartb
bitartb / bitart_flattened.sol
Created September 15, 2025 17:41
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.27+commit.40a35a09.js&optimize=false&runs=200&gist=
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)
pragma solidity >=0.4.16;
/**
* @dev Interface of the ERC-20 standard as defined in the ERC.
@bitartb
bitartb / bitart.sol
Created September 15, 2025 11:49
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.27+commit.40a35a09.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// Compatible with OpenZeppelin Contracts ^5.4.0
pragma solidity ^0.8.27;
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract Bitartb is ERC20 {
constructor(address recipient) ERC20("bitartb", "bab") {
_mint(recipient, 1 * 10 ** decimals());
}