Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zootroop (V5) #202

Open
thetobytiger opened this issue Apr 23, 2024 · 0 comments
Open

Zootroop (V5) #202

thetobytiger opened this issue Apr 23, 2024 · 0 comments
Labels
approved An approved budget request budget request A budget request

Comments

@thetobytiger
Copy link

Scope

This ongoing update from the Zootroop yTeam outlines our goal to provide an intuitive and robust system for vault management. Our solutions enable users to track harvests, deposits, withdrawals, rewards, and other key metrics, empowering strategists and external developers to monitor and actively manage their Yearn v3 vaults easily. By creating a seamless experience from vault deployment to optimization, we aim to unlock the full potential of Yearn v3, further accelerating the adoption and innovation of the protocol.

Zootroop has made significant strides in automating Yearn's operations and monitoring the roll-out of v3:

  • Reward Management: Managed rewards from strategies, swapping ~$5.3M USD in rewards via 900+ swaps from Nov-Mar. Continued selling rewards for v2 and v3 strategies and various yTeams, now using limit orders for all assets, quoting with Seasolver, and implementing slippage protection. Implemented twap orders for high amounts of low liquidity tokens to reduce slippage and gas costs.
  • Harvest and Strategy Monitoring: Vigilantly monitored harvests and strategies, including Keep3rs harvesting, to ensure efficient yield farming operations.
  • Kong Refactor: Maintained and refactored Kong, a backend data API indexing Yearn data across all deployed chains. The hooks refactor simplifies index management by decoupling indexing logic from domain-specific logic. This intuitive design pattern allows easy modifications to the historical dataset with zero downtime and streamlined testing.
  • yHaaS Expansion:
    • Launched yHaaS on Arbitrum & Gnosis Chain, providing reliable harvest automation for V3 strategies to internal and external strategists. Automated reports, tends, and vault debt allocation for all V3 strategies and strategy factories on Polygon, Arbitrum, and Gnosis Chain (1,000+ transactions).
    • Launched brand new yHaaS automation system for Mainnet custom developed for yearn V3: 98 transactions in the first month, total gas cost: ~$1,542 (Ξ0.499), comparing to Gelato Network for same activity: ~$3,238 (Ξ1.098): Highly gas efficient system, on average 52% less cost.
  • Mainnet Automation: Rolled out a new, highly gas-efficient automation system with cloud redundancy for Yearn V3 on Mainnet. Processed 91 transactions for reports, tends, and vault debt allocations in 1 month, with a total gas cost of ~$1,292 (Ξ0.436), 52% lower costs than Gelato Network fees.
  • Robowoofy Q1 Usage: 1,113 Robowoofy workflows dispatched across the top 6 repos in the Yearn org, with 12 active users within the Yearn org. One new Yearn repo was onboarded, with another coming soon.
  • Dune Dashboard and Analytics: Delivered veYFI Report, providing stakeholders insights into YFI distribution as rewards. Expanded vault reports to include support for Arbitrum, Polygon, and Optimism chains. Interacted with the Dune team to get V3 vaults automatically indexed.

Plan

Looking ahead to the next quarter, Zootroop aims to:

Kong and Seafood

  • Kong - Real-time/Historical EVM indexer and analytics for app devs
    • Implement new indexer hooks for simulating contract interactions (Sim hooks), making integrating simulated and real data for enhanced modeling easy.
    • Automate the generation of GraphQL typedefs and resolvers, making Kong's hooks a single source of truth for the index's logical schema. This means defining a hook will automatically update the GraphQL API to reflect the data returned by the hook.
    • Continue forward APY research to develop a model based on simulated harvests, aiming to replace the noisy on-chain oracle with a predictive forward APY that has a smooth, intuitive curve.
    • Collaborate with external contributors to develop a strategy Risk/Reward model based on simulated harvests.
  • Seafood - Vault and strategy insights for the Yearn community
    • Continue V3 support work, including risk, vault/strategy relationships, and simulations.
    • Complete work on APY 4k, a react chart component that provides detailed visualizations of a vault's historic APY, including the APY's underlying components and sources of profit and loss. This will help users, support, and strategists quickly understand APY behavior.

yHaaS - Yearn Harvest-as-a-Service

  • Integrate the yHaaS UI into Kalani for easy monitoring.
  • Further optimize gas efficiency of Mainnet HaaS with 24h cyclicality and historic gas averaging 24h for non-time-sensitive reports/debt allocations.
  • Roll out yHaaS on other chains and support V3 strategies and meta-vaults.
  • Create bots for Committees, SMS, and yBudget to receive direct alerting on reports, tends, and vault debt allocations.
  • Offer external strategists automation services directly integrated into the yearn V3 strategist dashboard, thus helping make the yearn V3 platform more attractive to external strategists.
  • Ongoing support during emergencies.

Dune Dashboard and Analytics

  • Progress with the reporting system transition to accommodate V3 changes, collaborating with Dune's technical team to resolve indexing issues.
  • Explore the development of different Yearn KPIs and benchmarks.

Liquidity Service

  • Continue optimizing liquidity provision and collaborating with yTrades and yLockers to sell rewards.
  • Continue selling rewards for v2 and v3 strategies and various yTeams.
  • Implement an external price feed to add redundancy and improve security.

Robowoofy

  • Use Sentry insights to improve reliability and work on the newly created backlog for dev work:
    • Improve transaction handling by simulating full signature and execution of queued transactions before running a script and optimizing pending_nonce checks to speed up the pipeline for MultiSigs with long histories
    • Enhance network operations by implementing retries on network operations, such as downloading contract source code and integrating the vyper-0.3.3 patch with performance improvements
    • Streamline user experience by simplifying the ChatOps interface and pipelines, removing unused features, and adding Discord as a notification option
    • Optimize performance through faster liveness checks and enhanced isolation between multiple Robowoofy pipelines running on a single machine
    • Complete the rollout of brownie 1.19.5 to all dependent repositories

Kalani - the all-in-one dashboard

  • Complete development of core features, including:
    • A dashboard for the SMS and committees to monitor and manage their current v3 vaults and tokenized strategies
    • Functionality for external teams to monitor and manage their strategies from a single site, with the ability to view past reports profits and send transactions to update different parameters (debt, roles, when to report, among other variables) to simplify setting up strategies and actively managing them
    • Conduct thorough testing and peer review to ensure a smooth and secure launch
  • Gather feedback from beta users and incorporate improvements
  • Launch Kalani to the public, providing an all-in-one solution for v3 vault users, SMS, committees, and external teams to manage their tokenized strategies efficiently

Deadline

2024-08-01

People

kx9x
LanceUpp
mil0x.eth
newmickymousse
realmurderteeth
TobyTiger
val

Money

Detailed Budget: $57,500/mo for three months.

Compensation for the team (7 contributors): $56,000
Servers and infra costs: $1,500/mo

Amount (Total)

172500

Wallet address

0xBd5CA40C66226F53378AE06bc71784CAd6016087

Reporting

Once

@thetobytiger thetobytiger added the budget request A budget request label Apr 23, 2024
@newmickymousse newmickymousse added the approved An approved budget request label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved An approved budget request budget request A budget request
Projects
Status: Needs Sorted
Development

No branches or pull requests

2 participants