#The proposal in one sentence:
Live Balancer contract segments visualization and subscriptions
##What? What will be done, what are the deliverables
-
We will build 5 custom segments of Balancer contract data that community members can visualize and subscribe to for regular updates. The subscriptions can be used for monitoring tools, custom trading bots, arbitrage opportunities, dashboards, etc.
-
The community can request and vote on the custom segments we will build (The data must be on-chain). Potential segment ideas that are of interest to include:
- Whale Watch: a breakdown of inflows and outflows of the top wallets holding Balancer tokens. Example use case - if a whale wallet always dumps their BAL on the market right after they claim, maybe traders want to be notified so that they can buy some discounted BAL.
- Monitoring smart pools parameters: a subscription continually monitoring smart pool parameters to keep community members, investors, and other interested parties aware of important changes. This requires parsing anonymous events.
- Dynamic smart pool fee adjustments: using live trading volume information, a smart pool controller could adjust the pool fees to maximize revenue (ie, if trading volume is high, increase fees; if low, decrease fees)
- Community Defined Segment - Pending Definition
- Community Defined Segment - Pending Definition
-
We have already built out parts of the needed infrastructure and visualizations to support this proposal:
- Webhook subscriptions for standard smart contract event monitoring
- Continuous wallet balance updates
- Active user information
- Retention data
##Why? What problem it solves
-
Easy access to structured high-performance blockchain data is imperative to promote new products being built on Balancer. Balancer segment data can help developers build trading/arbitrage bots, boutique financial instruments, and monitoring tools easily. We believe this will increase the liquidity available on Balancer while improving the efficiency of the protocol.
-
We give developers an easy to use live segment data subscription service. This frees them from creating and maintaining custom sub-graphs or advanced-SQL to continuously monitor Balancer on-chain data.
-
Multiple analytics/monitoring proposals in the community can take advantage of our service: https://forum.balancer.fi/t/proposal-marketing-growth-grant/201, https://forum.balancer.fi/t/proposal-dashboard-to-view-the-bal-community/248, https://forum.balancer.fi/t/liquidity-vision-balancer-grant-proposal/464
##When? Timeline and milestones with the requested payment schedule in BAL (subject to vesting) or DAI/USDC
Phase 1: Build Custom Segments & Multiple Subscription Service
- Est. Completion: March 2021
- Deliverables
-
https://balancer.simpleid.xyz
- 5 custom segments
- Segment visualizations updated every 20 minutes
- Allows viewers to subscribe to updates for each segment
- 20k Max.
- First come, first served
- 3-failed requests drops subscription
-
https://balancer.simpleid.xyz
- Budget:
- 2.5K Balancer Tokens vested over 12 months
- Covers infrastructure costs for 12 months
- Segment Pricing: $400 / month (5-segment pricing), Includes
- 20 minute updates
- 20 minute visualization updates
- Server, Compute & DB Instances
- Daily wallet & token balance updates
- Data transfer
- Storage
Phase 2: Live Updates (1-3 Block Delay)
- Est. Completion: June 2021
- Deliverables (beyond phase 1)
-
https://balancer.simpleid.xyz
- 5 additional live update custom segments
- Segment visualizations updated every 1-3 blocks
- Allows viewers to subscribe to updates for each segment:
- 20k authenticated URLs for high-performance updates (updated on avg. 15-45s)
- 100k for regular perforamance updates (every 20 min.)
-
https://balancer.simpleid.xyz
- Budget:
- 12K Balancer Tokens vested over 12 months
- Covers infrastructure costs for 12 months
- Segment Pricing $2000 / month (5-live segment pricing), Includes:
- 1-3 block updates
- 1-3 block visualization updates
- Server, Compute & DB Instances
- Wallet & token balance updates every minute or faster
- Performance replication costs
- Data transfer
- Storage
##Where?
The project will be available at https://balancer.simpleid.xyz
##Who? Team members and their roles in the project and backgrounds
Prabhaav Bhardwaj
Role: Software Engineer, UX/UI Designer
GitHub: https://github.com/prabhaav
Background:
Co-founder at SimpleID
10+ years of SW Development
Alex Carreira
Role: Systems Engineer
GitHub: https://github.com/AC-FTW
Background:
Co-founder at SimpleID
20+ years of HW(FPGA) & SW Development