Smart Contract Architecture
Last updated
Was this helpful?
Last updated
Was this helpful?
Handles all of the pool creations and stores addresses and parameters of the pools. .
Holds the reserves of the tokens, handles the swap and arbitraging logic, and holds all necessary data for the pool including the oracle price. .
Handles all of the calculations before sending the tokens and necessary data to pair for better user experience. .
Stores methods for calculations and data access throughout the protocol. .