Overview
The following diagrams outline the protocol’s operational flow and provides a high-level overview of how After functions. For detailed information, please refer to sections Lending, Borrowing, Voting, afterDeposit, afterRedemption, afterShare, and afterStaked.
Lending and Borrowing Flow
- Lender deposits 6,000 AERO for 6,000 afterDeposit.
- Borrower deposits a veNFT worth 10,000 veAERO in exchange for 10,000 afterShare and 1 afterRedemption.
- As it is a 50% LTV market, the borrower can borrow up to 5,000 AERO against their 10,000 afterShare.
- Rewards are distributed to the market, which is sent to the staking contract and then the lender.
Staking Flow
- The borrower deposits a veNFT worth 10,000 veAERO in exchange for 10,000 afterShare.
- The borrower stakes their 10,000 afterShare for 10,000 afterStaked.
- Rewards are distributed to the staking contract, which the borrower can claim.