Popcorn uses a layered vault architecture. Users interact with the outer Popcorn Vault, while the deposited assets are forwarded into an ERC-4626 adapter that manages the underlying position.
This creates two ownership layers: users hold Popcorn vault shares, and the Popcorn Vault holds adapter shares. The value of the outer vault therefore depends on the assets represented by its adapter position.
Learning objectives
Trace assets through the outer vault and adapter
Distinguish Popcorn shares from adapter shares
Understand how totalAssets is derived from the adapter position
Follow deposit, mint, withdraw, and redeem flows
Understand how fees are collected by issuing shares
Path takeaway
By the end of this path, you should be able to recognize an outer ERC-4626 vault, identify its adapter position, and trace value across both accounting layers.