GreenTeaSwapV2
  • Gentleman Greentea (V2)
  • πŸ“…. Launch
  • πŸ›£. Roadmap
  • 🍡. Greentea.Farm & Pool
  • 🍡. TOKENOMIC & Contracts
  • 🍡. Greentea DAO [Soon]
  • GreenteaswapV2 Features
    • ✨Automated Burning πŸ”₯
    • ✨ Automated Liquidity πŸ”₯
    • ✨Anti-Whale
    • ✨Referral Program
    • ✨Harvest Lockup
  • SECURITY & AUDIT
    • πŸ›‘οΈ Audits
    • πŸ›‘οΈ No Migrator Code
    • πŸ›‘οΈ TransferOwnership
  • TECHNICAL
    • 🧰. Find a Pool ID
    • 🧰. Matic Network RPC
    • 🧰. Use another RPC
    • 🧰. Emergency Withdraw
    • 🧰. Bridge Funds
  • LINKS
    • πŸ”—. Web Greenteaswap
    • πŸ”—.Greenteaswap Telegram
    • πŸ”—.Greenteaswap Twitter
    • πŸ”—. Greenteaswap Github
    • πŸ”—. Greenteaswap Medium
Powered by GitBook
On this page

Was this helpful?

  1. SECURITY & AUDIT

πŸ›‘οΈ Audits

PreviousHarvest LockupNextπŸ›‘οΈ No Migrator Code

Last updated 3 years ago

Was this helpful?

The initial code that powers GreeTea is partly a fork of Salt Finance, which has endured multiple audits.

  • Audit by Techrate (Greenteaswap v1)

  • Review by rugdoc

  • Audit by Techrate (Greenteaswap v2) (on process)

​​https://www.rugscreen.com​

​

Removed migratator code

Removed from PancakeSwap's ​

function setMigrator(IMigratorChef _migrator) public onlyOwner {    migrator = _migrator;}​function migrate(uint256 _pid) public {    require(address(migrator) != address(0), "migrate: no migrator");    PoolInfo storage pool = poolInfo[_pid];    IBEP20 lpToken = pool.lpToken;    uint256 bal = lpToken.balanceOf(address(this));    lpToken.safeApprove(address(migrator), bal);    IBEP20 newLpToken = migrator.migrate(lpToken);    require(bal == newLpToken.balanceOf(address(this)), "migrate: bad");    pool.lpToken = newLpToken;}

​

​

​

https://github.com/TechRate/Smart-Contract-Audits/blob/main/GreenTeaSwap.pdf
https://rugdoc.io/project/greenteaswap-v2
MasterChef.sol
https://rugdoc.io/project/greenteaswap-v2