PowerPool
  • powerpool overview
    • PowerPool
      • PowerPool DAO Story
      • Value Proposition
      • Use Cases
      • CVP Token
      • Vision 2027
    • Blockchain Automation
      • Glossary
    • PowerAgent Stats
    • How to contribute
    • Contracts and Links
  • Power Agent
    • 🎯PowerAgent features
    • 🏛️Architecture
      • ℹ️Agent
      • ℹ️Keeper
      • ℹ️Job
        • Full Specification
    • 📜User Guides and Instructions
      • ❓I Want to Automate my Tasks
        • Job Registration Guide
      • ❓I Want to Become a Keeper
    • ℹ️Scenarios
    • ⌛Old Pages
      • Installation Guide (Old)
        • Prerequisites
        • DAppNode Installation
        • Registering in PowerAgent
        • Installing PowerAgent Package on DAppNode
        • Standalone Installation
        • Chain-specific configs
      • Keeper (Old)
        • Keeper Registration and Update
        • Keeper staking, withdrawal, and deactivation
          • Keeper activation and deactivation in PPAgentV2RANDAO
        • Keeper assignment and release in RanDAO realisation
      • Job (Old)
        • Job Registration & Update
        • Job funds deposition and withdrawal
      • Agent (old)
        • Page
        • Execution
      • Technical Implementation (Old)
        • Hooks and helper functions
        • Errors
        • Modifiers
          • Flags
      • Job Registration Guide (Old)
      • 📑Testnet Rules
      • Slashing
        • Copy of Slashing
      • Task Reward and Gas Compensation
        • Fees and income sources
        • Copy of Task Reward and Gas Compensation
  • PowerPool Incentives
    • PowerPool Points Program
  • Security
    • Bug Bounty
    • Security Audits
  • Research
    • Automation Networks Research
      • Approaches on Keeper Selection
      • On-chain Random Number Generation
      • Keeper Weighing
      • 🌊PowerPool & PowerAgent Automation Network
      • Value Proposition-PowerPool
    • PowerAgent v2.1
      • Keeper Selection
      • Hooks
  • Resources
    • Website
    • Twitter
    • Medium
    • Discord
    • Github
    • Telegram
    • Governance Voting
    • Governance Forum
  • Legacy & Deprecated
    • Index Products
      • $YLA: Yearn Lazy Ape
        • Invest (ZAP) in YLA with low fees
        • Instant YLA mint via USDC
        • $CVP Boost Program
        • Redeem YLA
        • YLA Onsen Liquidity Mining [deprecated]
      • $BSCDEFI: BSC DeFi Pool/Index
        • Guide: Mint $BSCDEFI with $BNB
        • Guide: Multi-Asset $BSCDEFI Mint
        • Guide: PancakeSwap LM Farming
        • Add $BSCDEFI to MetaMask.
        • Redeem $BSCDEFI
      • $ASSY: Aave, SushiSwap, Synthetix, and Yearn Index
        • $CVP Boost Program
        • Underlying Token Staking
      • $PIPT: PowerIndex Pool
      • $YETI: Yearn Ecosystem Index
      • Market Price vs Fair Value
      • About ZAP
    • CVP reward program
      • How to create a DCA flow in Partitura
Powered by GitBook
On this page
  • A gas efficient tool to join and exit PowerPool indices
  • What is ZAP?
  • How does it work?
  • What are the tradeoffs?

Was this helpful?

  1. Legacy & Deprecated
  2. Index Products

About ZAP

A gas efficient tool to join and exit PowerPool indices

What is ZAP?

We have launched a one-click solution that allows users to join or exit indices with only USDC or ETH by leveraging ZAP contracts.

Supplying or redeeming liquidity from a Smart Portfolio may involve multiple transactions, tens of them for some methods. At that scale transaction fees can quickly eat into a users profit margin even with a sizable deposit and a long time horizon.

Value proposition 1. Supply and withdraw liquidity using a one click transaction

Zap is a gas efficient tool to pool resources with other users for deposits and withdraws from PowerPool indices.

2. Minimal gas costs: ERC20 transfer + cost of approval transaction

How does it work?

How It Works (PIPT/YETI/ASSY): Users can deposit ETH and USDC to the special smart contract where funds will be stored. Once every 24 hours the Poker Agent, PowerOracle v2 Price Reporter, calls the ZAP contract and the ZAP interacts with an ERC20 PIPT Swap. The PIPT swap contract is responsible for buying the Index basket for ETH/USDC which is then supplied to the Index. Finally, all users that deposited funds receive Index tokens based on their supplied liquidity.

Users supply a single token type (may vary by index) to the ZAP contract with a single transaction. Tokens are stored in the ZAP contract until either a certain dollar amount has been reached OR 24 hours has elapsed, at which point all the funds will be deposited into the assets underlying the index assets or pools.

How It Works (YLA): YLA is relatively much more complex to join or exit since Yearn v1 Vaults don’t have external markets or liquidity pairs. Currently, YLA is the main liquidity pair for them. Therefore, USDC deposits and withdrawals require USDC to be deposited in five Curve Pools, then deposit these LP tokens in Yearn vaults, and after that deposit these five LP tokens into YLA. This process involves more than 20 transactions in total, counting approvals, and ~$800 in gas costs. Sounds crazy, right?

What are the tradeoffs?

While this is the most gas efficient method to gain exposure to the underlying assets and pools it comes at another cost, time. For users who aren't time sensitive and don't mind waiting up-to 24 hours to enter an index this is a great solution to save on transaction fees.

PreviousMarket Price vs Fair ValueNextCVP reward program

Last updated 4 years ago

Was this helpful?