Helpers to get pool state.
- An upkeep will happen every
UpdateInterval
- Does not simulate keeper fees that get paid out of the pool
- Does not simulate dynamic minting fees
leveragedPool
- Leveraged Pool Address
Returns number of periods that will be executed during the FrontRunningInterval
leveragedPool
- Leveraged Pool Address
periods
- Number of commit periods to simulate
Returns the ExpectedPoolState
after the TotalCommitments for periods
are applied
struct ExpectedPoolState {
uint256 cumulativePendingMintSettlement;
uint256 remainingPendingShortBurnTokens;
uint256 remainingPendingLongBurnTokens;
uint256 longSupply;
uint256 longBalance;
uint256 shortSupply;
uint256 shortBalance;
uint256 oraclePrice;
}