unifiprotocol / unifi-sdk

https://shell.unifiprotocol.com/
2 stars 3 forks source link

Fix mixed tokens bug #42

Closed clostao closed 2 years ago

clostao commented 2 years ago

Has been fixed a bug detected implementing the former version of the shell into uTrade. The issue was that tokens in BNB would be added to those in ETH, when a user changes from the former to the last one. This leaded into other issues due to incorrect contract address since the blockchain wasn't correct.

Has been solved by modifying the management of adapter logic since it was changed due to changes but now has been kind of reverting to the former one, only maintaining those changes that were indeed necessary.

I've checked that:

cloudflare-workers-and-pages[bot] commented 2 years ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3ee4e56
Status: ✅  Deploy successful!
Preview URL: https://d9db7d96.unifi-ui-sdk.pages.dev

View logs