Skip to content

solidity-guru/safetoken

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

░██████╗░█████╗░███████╗███████╗████████╗░█████╗░██╗░░██╗███████╗███╗░░██ ██╔════╝██╔══██╗██╔════╝██╔════╝╚══██╔══╝██╔══██╗██║░██╔╝██╔════╝████╗░██ ╚█████╗░███████║█████╗░░█████╗░░░░░██║░░░██║░░██║█████═╝░█████╗░░██╔██╗██ ░╚═══██╗██╔══██║██╔══╝░░██╔══╝░░░░░██║░░░██║░░██║██╔═██╗░██╔══╝░░██║╚████ ██████╔╝██║░░██║██║░░░░░███████╗░░░██║░░░╚█████╔╝██║░╚██╗███████╗██║░╚███ ╚═════╝░╚═╝░░╚═╝╚═╝░░░░░╚══════╝░░░╚═╝░░░░╚════╝░╚═╝░░╚═╝╚══════╝╚═╝░░╚══

GitHub version GitHub release data Github commits GitHub stars GitHub Issues Github License Discord

Safetoken

This is a rewrite of Safemoon in the hope to:

  • make it easier to change the tokenomics
  • make it easier to maintain the code and develop it further
  • remove redundant code
  • fix some of the issues reported in the Safemoon audit

Visit our discord

Features

  • Easy (transaction) fees management
  • Correctly implemented reflect finance (rfi) (with the right wallets excluded from rewards by default)
  • Correctly implemented burn
  • Address Safemoon audit issues (SSL-01, 02, 03, 05, 06, 11, 12)
  • In-code separation of concerns
  • Improved code readability + added comments

Examples

Tokenomics with 5% to liquidity, 3% redistribution and 2% to charity

address internal charityAddress = <wallet address>;

function _addFees() private {
    _addFee(FeeType.Rfi, 30, address(this) ); 
    _addFee(FeeType.Liquidity, 50, address(this) );
    _addFee(FeeType.External, 20, charityAddress );   
}

Authors

ex. 0f0crypto

Version History

  • v1.0beta
    • Initial release

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Safetoken - Safemoon solidity contract rewrite

Resources

License

Stars

Watchers

Forks

Packages