Audits
Last updated
Last updated
Filedoge's smart contract is fork from Uniswap and is open source, You can rest assured that the swap is safe.
Filedoge Contract: 0x2646bb363851d31dca3de045e0eb63d0afeb427d
Audited By Salusec
FILEDOGE has completed a contract audit, conducted by the renowned cybersecurity firm salusec. Below is the audit report๏ผ
Introduction to Salusec
Salusec is a prominent cybersecurity company specializing in conducting thorough audits and assessments of software systems, particularly in the realm of blockchain and smart contracts. With a team of skilled security professionals and experts in the field, Salusec aims to ensure the security, reliability, and integrity of various digital projects.
website๏ผhttps://audit.salusec.io/
WFIL is an ERC-20 token on Filecoin that represents 1 FIL (FIL ). FIL is used to pay for transactions on the Filecoin blockchain. For example, swapping between cryptoassets on an Filecoin-based DEX will cost some small amount of FIL. The two main differences between WFIL and FILis that WFIL cannot be used to pay for transactions and FILis not an ERC-20 token. The next section will cover why there is a need to make an ERC-20 compatible version of FIL.
All of decentralized finance (DeFi) is built upon smart contracts, which can be thought of as decentralized programs. Those smart contracts are designed to handle ERC-20 tokens. ERC-20 is a token standard, a kind of blueprint that is universally recognized not only on the Filecoin blockchain, but many other compatible blockchains such as Avalanche and Polygon. The ERC-20 standard allows the efficient building of software, for example getting rid of custom code that would be needed to handle each new token. Since FIL is the Filecoin native currency, and because it preceded the development of the ERC-20 standard, it isnโt ERC-20 compatible. This means custom software would have to be written on every DeFi decentralized application (DApp) in order to accept FIL. Instead, a smart contract was written that envelopes FIL in an ERC-20 wrapper so that any DApp with ERC-20 support can effectively support FIL.
The technical details of how WFIL is created are quite simple. Anyone can deposit FIL into the WFIL smart contract, the smart contract then creates and returns the same amount of WFIL. This process also works in reverse. Deposit WFIL into the contract, and it will destroy the WFIL and return an equal amount of FIL. No one controls the smart contract, and the smart contract ensures any WFIL created backed by an equivalent amount of FIL. This makes WFIL almost indistinguishable from FIL in terms of market price.
In fact, the official Filecoin has not released its own WFIL, just like Ethereum has not released its own WETH. The WETH on Ethereum is actually released by Uniswap. We need to understand that WFIL, like WETH, is not an asset, but a contract tool used to process swap transactions. Anyone can write this contract according to the specifications, and as long as it is open-source and reliable, you can use any WFIL. Filedog, like Uniswap, has released its own WFIL tool, which is open-source and reliable, and you can audit the code on GitHub.
WFIL Contract:
0xA35Bf7ef23B09fb099e6e75A078727dFf14b7576