Skip to content

SoYan500/SoYan500

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

RebaseAI Token

RebaseAI is a dynamic ERC20 token with built-in rebase functionality that allows automatic adjustment of total supply based on market conditions. The contract is written in Solidity and deployable to any EVM-compatible blockchain (Ethereum, Arbitrum, Optimism, etc.).

βœ… Features

  • Compliant with ERC20 standard
  • Supply can increase or decrease proportionally via rebase()
  • Owner is anonymous at deployment (based on msg.sender)
  • Ownership can be transferred after deployment
  • Gas-efficient scaling using internal multipliers

πŸ” How Rebase Works

The rebase(int256 supplyDelta) function allows the token supply to expand or contract. This adjusts all balances proportionally without affecting ownership percentages.

function rebase(int256 supplyDelta) external onlyOwner

Supply changes:

  • Positive supplyDelta β†’ Inflation (e.g. +10%)
  • Negative supplyDelta β†’ Deflation (e.g. -5%)

πŸ” Ownership

  • The contract does not hardcode any owner address
  • Ownership is initialized to msg.sender
  • You may transfer ownership after deployment:
transferOwnership("0xYourNewOwnerAddress")

πŸš€ Deployment (Hardhat Example)

npx hardhat run scripts/deploy.js --network mainnet

πŸ›‘ Security

  • Only the owner can call rebase()
  • No mint/burn fees or taxes included
  • Transparent and open-source logic

πŸ“„ License

This project is open-source and released under the MIT License.

About

Config files for my GitHub profile.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published