You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two remaining tasks to enable our SDK to work seamlessly with HAI on Optimism. Please address the following items, using branch add-optimism-hai
src/virtual/virtualAnalyticsData.ts has a call vault721.totalSupply to fetch the total number of vaults. This is incompatible, since HAI does not have a vault721 contract. Will need to research how they are fetching total vaults and implement a switch statement to use the other method when on Optimism.
src/geb.ts has a call to check if a user has a proxy. We updated our PROXY_REGISTRY and renamed the function from proxies to getProxy. Update the function getProxyAction to properly call proxyRegistry.proxies when on Optimism.
To test the results, run the app on Optimism from branch optimism-hai. Don't forget to yarn link the sdk and build.
Once this issue is completed, I can update the bot to support HAI, and also deploy a second interface for HAI using our od-app 🎉
There are two remaining tasks to enable our SDK to work seamlessly with HAI on Optimism. Please address the following items, using branch
add-optimism-hai
src/virtual/virtualAnalyticsData.ts
has a call vault721.totalSupply to fetch the total number of vaults. This is incompatible, since HAI does not have a vault721 contract. Will need to research how they are fetching total vaults and implement a switch statement to use the other method when on Optimism.src/geb.ts
has a call to check if a user has a proxy. We updated our PROXY_REGISTRY and renamed the function fromproxies
togetProxy
. Update the functiongetProxyAction
to properly callproxyRegistry.proxies
when on Optimism.To test the results, run the app on Optimism from branch
optimism-hai
. Don't forget to yarn link the sdk and build.Once this issue is completed, I can update the bot to support HAI, and also deploy a second interface for HAI using our od-app 🎉
Resources:
https://solidity-by-example.org/
The text was updated successfully, but these errors were encountered: