Vesper Documentation
  • Introduction
  • Vesper Features
  • Vesper Participants
  • Vesper Pools and Strategies
    • Vesper's Modular Pool Architecture
    • Multi-Chain and Cross-Chain Deployments
    • Overview of Vesper Pools
      • Vesper Grow Pools
    • Overview of Vesper Strategies
      • Maker-to-Platform Strategy
      • Direct-to-Lending-Platform
    • Discussion of Risk
  • VSP Economics
    • VSP Token: Supply, Issuance, & Rewards
    • Governance
      • Introduction
      • Locking
      • Unlocking
    • Revenue Model
  • Community Participation
    • Decentralization Plan
    • The Voting Process
    • Governance Principles
  • Vesper Developers
    • Vesper Developer's Guide
      • Introduction
      • Vesper Framework Levels
      • Overview of Flow Control
    • Vesper Pool Metadata
    • Pool and Strategy Creation and Deployment
    • Vesper Contracts API Reference
      • Pool Contracts
        • PoolAccountant
        • PoolAccountantStorage
        • PoolRewards
        • PoolRewardsStorage
        • PoolStorage
        • VETH
        • VPOOL
        • VesperEarnDrip
      • Strategy Contracts
        • Earn
        • Strategy
        • VesperStrategy
        • EarnVesperStrategy
        • EarnVesperStrategyVSPDrip
    • JavaScript Library
    • Contracts Data
    • Vesper Improvement Proposal Template
  • Marketing
    • Brand Guidelines & Assets
  • Reports
    • Quarterly Reports
    • Smart Contract Audits
  • FAQ
  • Glossary of Terms
Powered by GitBook
On this page
  • PoolStorageV1
  • token
  • poolAccountant
  • poolRewards
  • PoolStorageV2
  • PoolStorageV3
  • universalFee
  • maxProfitAsFee
  • minDepositLimit

Was this helpful?

Export as PDF
  1. Vesper Developers
  2. Vesper Contracts API Reference
  3. Pool Contracts

PoolStorage

The current version of PoolStorage inherits from its predecessor which in turn inherits from its predecessor going back to the original implementation, PoolStorageV1.

PoolStorageV1

token

contract IERC20 token

Collateral token address

poolAccountant

address poolAccountant

PoolAccountant address

poolRewards

address poolRewards

PoolRewards contract address

PoolStorageV2

PoolStorageV3

universalFee

uint256 universalFee

Universal fee of this pool. Default to 2%

maxProfitAsFee

uint256 maxProfitAsFee

Maximum percentage of profit that can be counted as universal fee. Default to 50%

minDepositLimit

uint256 minDepositLimit

Minimum deposit limit.

Do not set it to 0 as deposit() is checking if amount >= limit

PreviousPoolRewardsStorageNextVETH

Last updated 2 years ago

Was this helpful?