GithubHelp home page GithubHelp logo

memes-token-1's Introduction

The old contract's code: https://bscscan.com/address/0x40B165Fd5dDc75ad0bDDc9ADd0adAbff5431a975#code

Features List

Features to keep:

  • Ownership Module - transferable ownership, renouncable, owner only calls
  • Reward holders (redistribution of fee) - ExcludeFromReward / IncludeInReward / ExcludeFromFee / IncludeInFee
  • Receive ETH & ERC20 tokens

New features + Changes:

  • Total supply 100 millions instead of 100 trillions (remove 6 zeros from price -> allows readable price and conversion with other cryptos on exchanges)
  • 18 decimals instead of 9 (allows us to not decrease the granularity of our token while decreasing its supply)
  • Transfer funds stuck in contract to owner address instead. (withdrawERC20, withdrawETH)
  • MaxFeeVariable (we should cap the fee because dextools show an ugly warning telling users "Looks like the owner can set a high fee like 100%", and no need to be able to do that imo, so I set it to 15%)
  • Function to claim $MEMES from old contract
  • Pausable transfers feature (This will ONLY be used during an emergency or future migration to protect holders. Giving a new layer of protection in some cases)

Other improvements:

  • Removed unused code (dev fee)
  • Removed liquidity fee feature
  • Removed SafeMath (obsolete library in 0.8 solidity)
  • Removed deliver function
  • Fixed require message in includeInReward function
  • Fixed syntax inconsistencies (a lot of random tabs/spaces + different use of syntax all over the code + functions defined in random order)
  • Updated allowances functions to their lastest implementation
  • Updated to latest version of Solidity (0.8.13)
  • Added documentation

memes-token-1's People

Contributors

pwnedev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.