Glossary (common terms)
Automated Market Maker
An automated market maker is a smart contract on Ethereum that holds liquidity reserves. Users can trade against these reserves at prices determined by a fixed formula. Anyone may contribute liquidity to these smart contracts, earning pro-rata trading fees in return.
Asset
While a digital asset can take many forms, the Uniswap Protocol supports ERC-20 token pairs and represents a position in the form of an NFT (ERC-721).
Concentrated Liquidity
Liquidity that is allocated within a determined price range.
Constant Product Formula
The automated market-making algorithm used by Uniswap. In v1 and v2, this was x*y=k.
Core
Smart contracts that are considered foundational and are essential for Uniswap to exist. Upgrading to a new version of Core would require deploying an entirely new set of smart contracts on Ethereum and would be considered a new version of the Uniswap Protocol.
DeFi
Decentralized finance. DeFi is an umbrella term for peer-to-peer financial services on public blockchains, such as Ethereum.
ERC20
ERC20 tokens are fungible tokens on Ethereum. SpookySwap supports all standard ERC20 implementations.
Factory
A smart contract that deploys a unique smart contract for any ERC20/ERC20 trading pair.
Flash Swap
A trade that uses the tokens purchased before paying for them.
Gas Fees
Transaction fees are paid to incentivize miners to process and verify transactions on a blockchain network. The higher the gas fee, the faster the transaction.
Invariant
The “k” value in the constant product formula X*Y=K
Impermanent loss
A temporary loss incurred when the price of tokens in a liquidity pool fluctuates significantly, leading to less profit compared to simply holding the assets.
Liquidity Provider /"LP"
A liquidity provider is someone who deposits ERC20 tokens into a given liquidity pool. Liquidity providers take on price risk and are compensated with trading fees.
Liquidity
Digital assets that are stored in a SpookySwap pool contract and are able to be traded against by traders.
Mid Price
The price between the available buy and sell prices. In SpookySwap v1 and v2, this is the ratio of the two ERC20 token reserves. In v3, this is the ratio of the two ERC20 token reserves available within the current active tick.
Non-Fungible Token (NFT)
In the context of liquidity provisioning, NFTs represent unique positions in a liquidity pool that cannot be swapped or traded directly like standard ERC20 tokens.
Observation
An instance of historical price and liquidity data of a given pair.
Oracle
A system that provides real-time and historical price data to decentralized platforms, allowing smart contracts to reference external price information.
Pair
A smart contract deployed from a SpookySwap v1 or v2 factory contract that enables trading between two ERC20 tokens. Pair contracts are now called Pools in V3.
Periphery
External smart contracts that are useful but not required for SpookySwap to exist. New periphery contracts can always be deployed without migrating liquidity.
Permissionless Access
The ability to access and interact with a decentralized platform without the need for approval or gatekeepers. Anyone can provide liquidity, trade, or create markets without restrictions.
Pool
A contract deployed by the v3 factory that pairs two ERC-20 assets. Different pools may have different fees despite containing the same token pair. Pools were previously called Pairs before the introduction of multiple fee options.
Position
An instance of liquidity defined by an upper and lower tick. And the amount of liquidity contained therein.
Price Impact
The difference between the midprice and the execution price of a trade.
Protocol Fees
Fees that are rewarded to the protocol itself rather than to liquidity providers.
Range
Any interval between two ticks of any distance.
Range Order
An approximation of a limit order, in which a single asset is provided as liquidity across a specified range and is continuously swapped to the destination address as the spot price crosses the range.
Reserves
The liquidity available within a pair. This was more commonly referenced before concentrated liquidity was introduced.
Slippage
The amount the price moves in a trading pair between when a transaction is submitted and when it is executed.
Spot Price
The current price of a token relative to another within a given pair.
Stablecoin
Stablecoins are a type of cryptocurrency that seeks to maintain a stable value by pegging their market value to an external reference.
Swap (Trading)
The exchange of one asset for another in a liquidity pool on a decentralized exchange. Swaps occur directly with the pool rather than through an order book.
Swap Fees
The fees collected upon swapping are rewarded to liquidity providers.
Tick Interval
The price space between two nearest ticks.
Tick
The boundaries between discrete areas in price space.
Time-Weighted Average Price (TWAP)
A pricing mechanism that calculates the average price of an asset over a specified period, smoothing out volatility and reducing the risk of price manipulation.
Last updated