Skip to content

Instantly share code, notes, and snippets.

View sagar2907's full-sized avatar

sagar sahu sagar2907

View GitHub Profile
@sagar2907
sagar2907 / contracts...Tokenomics 2.sol
Created May 3, 2025 12:56
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.26+commit.8a97fa7a.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract TokenomicsToken is ERC20, Ownable {
uint256 public transferFeePercent = 2;
address public treasury;
@sagar2907
sagar2907 / contracts...Tokenomics 2.sol
Created May 3, 2025 12:54
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.26+commit.8a97fa7a.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract TokenomicsToken is ERC20, Ownable {
uint256 public transferFeePercent = 2;
address public treasury;