Protecting user funds is a top priority, and Wido takes several steps to ensure users' funds are safe.
For each route, Wido Route Finder calculates the minimum tokens the user will receive, given the slippage tolerance of the user. Wido Router smart contract respects the minimum tokens the user should receive. The transaction is reverted if it cannot guarantee the minimum number of tokens. This protects user transactions from MEV attacks.
Wido Router contracts only interact with approved contracts. Once a Step is added to Wido, we run a few checks before approving it.
- 1.Automated tests are run to ensure that the new Step can perform the desired Token A to Token B swap.
- 2.The Step is compared with other Steps providing Token A to Token B swap to ensure that it can offer competitive rates.
- 3.A group of Solidity engineers review the contract and the Step to ensure that it is not malicious.
Once the above checks pass, the Step is approved and added to the Steps database.