Smart Contract Architecture

NostraSwapFactory

Handles all of the pool creations and stores addresses and parameters of the pools. Read more.

NostraSwapPair

Holds the reserves of the tokens, handles the swap and arbitraging logic, and holds all necessary data for the pool including the oracle price. Read more.

NostraSwapRouter

Handles all of the calculations before sending the tokens and necessary data to pair for better user experience. Read more.

NostraSwapLibrary

Stores methods for calculations and data access throughout the protocol. Read more.

Last updated