Lifecycle

Rather than focus on specific endpoints and cranks, we'll focus on the different lifecycles in the infrastructure of Imperial to weave a narrative of how each thing works together. In this way, it might be more understandable to the average reader. It's recommended that you first read Architecture to get a good understanding of the objects involved.

There are two contracts in use here - VolPerp and VolOracle. The primary contract that deals with Positions and Pools is the former, while the one that contains all the external data from sources is VolOracle. Both are Anchor contracts.

Their Pubkeys are below:

Last updated