Vesper Documentation
Search…
Introduction
Vesper Features
Vesper Participants
Vesper Pools and Strategies
Vesper's Modular Pool Architecture
Multi-Chain and Cross-Chain Deployments
Overview of Vesper Pools
Overview of Vesper Strategies
Discussion of Risk
VSP Economics
VSP Token: Supply, Issuance, & Rewards
Revenue Model
Community Participation & Governance
Decentralization Plan
The Voting Process
Governance Principles
Vesper Developers
Developer Incentives
Vesper Improvement Proposal Template
Vesper Developer's Guide
Vesper API Reference
Pool Contracts
PoolAccountant
PoolAccountantStorage
PoolERC20
PoolERC20Permit
PoolRewardsStorage
PoolStorage
VETH
VPOOL
VesperEarnDrip
Strategy Contracts
JavaScript Library
Contracts Data
Marketing
Brand Guidelines & Assets
Reports
Quarterly Reports
Smart Contract Audits
FAQ
Glossary of Terms
Powered By
GitBook
PoolAccountantStorage
Every pool has one associated PoolAccountant. The PoolAccoutStorage contract is used to store values used by the Pool Accountant.
PoolAccountantStorageV1
pool
1
address
pool
Copied!
totalDebtRatio
1
uint256
totalDebtRatio
Copied!
totalDebt
1
uint256
totalDebt
Copied!
strategies
1
address
[]
strategies
Copied!
withdrawQueue
1
address
[]
withdrawQueue
Copied!
PoolAccountantStorageV2
StrategyConfig
1
struct
StrategyConfig
{
2
bool
active
;
3
uint256
interestFee
;
4
uint256
debtRate
;
5
uint256
lastRebalance
;
6
uint256
totalDebt
;
7
uint256
totalLoss
;
8
uint256
totalProfit
;
9
uint256
debtRatio
;
10
uint256
externalDepositFee
;
11
}
Copied!
strategy
1
mapping
(
address
=>
struct
PoolAccountantStorageV2
.
StrategyConfig
)
strategy
Copied!
externalDepositFee
1
uint256
externalDepositFee
Copied!
Previous
PoolAccountant
Next
PoolERC20
Last modified
18d ago
Export as PDF
Copy link
Contents
PoolAccountantStorageV1
pool
totalDebtRatio
totalDebt
strategies
withdrawQueue
PoolAccountantStorageV2
StrategyConfig
strategy
externalDepositFee