CafeSwap Is Secure, Funds Are #SAFU

Cafeswap.finance
3 min readJun 2, 2021

In light of recent platform breaches among projects on the BSC network, CafeSwap.Finance remains secure. The protocol has been set up to protect our users and their assets. This isn’t something we take lightly, and this piece is created solely to make this clear.

It’s the little things

Lots of decentralized applications have opted to build their platforms from the ground up. While it might create a sense of security, this isn’t always the case. The little things that developers take for granted are often the chink in the amour of the applications built. And attackers exploit these loopholes in carrying out their nefarious activities.

How CafeSwap Stays Secure?

One of the reasons why CafeSwap remains standing despite the cascade of exploits happening all over the BSC network is our reliance on what works.

The reputation of Uniswap precedes it. The ETH-based DEX has a stellar security architecture right from its first installment to the most recent. Multiple audits after, and there’s almost no blemish on the DEX security report.

CafeSwap is a Uniswap fork. Our platform is based on the Uniswap codes, albeit with a few integral alterations. This isn’t exactly a new trend. PancakeSwap, the most popular DEX on the BSC network, is a Uniswap fork.

See the code difference between Cafeswap, Uniswap, and Pancakeswap:

Difference Checks With Uniswap

Router
https://www.diffchecker.com/qjouxyCF
https://www.diffchecker.com/lDfF9jka

Factory
https://www.diffchecker.com/y7RTuKxS

Pair
https://www.diffchecker.com/MEZzbTKH

ERC20
https://www.diffchecker.com/MEZzbTKH

Difference Checks With PancakeSwap

Pair
https://www.diffchecker.com/TfN2bFDp

Factory
https://www.diffchecker.com/6QYXRrDn

Router
https://www.diffchecker.com/pxD7IVIT

ERC20
https://www.diffchecker.com/pxD7IVIT

For detailed analysis about the operation of the following code, we recommend you to go through uniswap’s official documentation here.

All the code remains the same with minimal name changes to fit with CafeSwap.

Despite it is an exact fork we took additional steps to pre-audit our DEX codes with one of the best auditing firms HashEx.

Audit Reports :

  1. https://medium.com/hashex-blog/cafeswap-smart-contract-audit-4ab18682e11c
  2. https://docs.cafeswap.finance/audits/dex-audit

CafeSwap Prioritizes Safety Above All Else

The De-Fi space is quite fragile. Everything relies on smart contracts and codes. Audits might not catch everything — Pancakebunny one of our inspirations was audited, but the flash loan exploits happened, regardless.

This explains our cautious approach to security. Slow and steady to the building process is always the winner in the De-Fi ecosystem.

Of course, slow and steady doesn’t cut it in areas where the risk of a security breach is relatively low. And our innovation shines through in those areas such as the addition of liquidity pools, user-interface changes, and more.

The CafeSwap farms are also a fork of the PancakeSwap codes. We don’t believe in tampering with something when it’s not broken. Having examined the PancakeSwap farm codes, we deemed it fit for CafeSwap.finance, and it has been a utopia ever since.

Farming Contract Difference Checks With Pancakeswap:

CoffeeToken
https://www.diffchecker.com/6fHpuUhl

MasterChef
https://www.diffchecker.com/pUsnlkzC

Cafeswap Contracts were further audited by one of the elite auditing firms Certik to mitigate additional risks.

Certik also monitors cafeswap smart contracts through its innovative SkyNet technology to monitor unusual behavior.

Audit Reports: https://www.certik.org/projects/cafeswap

We Always Audit

Nothing goes live until it’s audited. This is a practice that has helped CafeSwap.finance safeguard our users. All contract codes on CafeSwap are audited. For instance, it’s common knowledge that the contract codes for CafeSwap farms were audited by Certik despite being a PancakeSwap fork. We don’t take anything for granted. The most recent feature release is fully pre audited by BSCGemz to mitigate exploit possiblities.

Conclusion

CafeSwap stays committed to ensuring the safety of our users and their funds, no matter the nature of the attacks on De-Fi protocols. Our reliance on the Uniswap codes combined with the numerous audits carried out should be more than enough to repel these attacks.

Social Handles And Important Links to keep you updated :

Telegram Ann: https://t.me/cafeswap

Telegram Group: https://t.me/cafeswapAnn

Twitter: https://twitter.com/cafeswapfinance

Docs: https://docs.cafeswap.finance/

Medium: https://cafeswap.medium.com/

Website: https://app.cafeswap.finance

Smart Vaults: https://smartvaults.cafeswap.finance

DEX: https://dex.cafeswap.finance

--

--

Cafeswap.finance

CafeSwap is a Cross Chain chain yield farming, staking and AMM platform. Visit us at https://cafeswap.finance