Glossary
Last Updated on Feb. 27, 2024
Automated Market Makerβ
An automated market maker is a smart Solana contract with 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 Ducklend Protocol supports SPL token pairs.
Concentrated Liquidityβ
Liquidity that is allocated within a determined price range.
Constant Product Formulaβ
Ducklend uses an automated market-making algorithm, which is x*y=k.
Coreβ
Smart contracts are considered foundational and essential for Ducklend's existence. Upgrading to a new core version would require deploying an entirely new set of smart contracts on Solana and would be considered a new version of the Ducklend Protocol.
SPLβ
SPL is the token program on the Solana blockchain. It defines a common implementation for Fungible and Non-Fungible tokens. Ducklend supports all standard SPL implementations.
Factoryβ
A smart contract that deploys a unique smart contract for any SPL trading pair.
Flash Swapβ
A trade that uses the tokens purchased before paying for them.
Invariantβ
The βkβ value in the constant product formula X*Y=K
Liquidity Provider / "LP"β
A liquidity provider is someone who deposits SPL tokens into a given liquidity pool. Liquidity providers take on price risk and are compensated with trading fees.
Liquidityβ
Digital assets are stored in a Ducklend pool contract and can be traded against traders.
Mid Priceβ
The price between the available buy and sell prices. In Ducklend, this is the ratio of the two SPL token reserves.
Observationβ
An instance of historical price and liquidity data of a given pair.
Pairβ
A smart contract deployed from a Ducklend factory contract that enables trading between two SPL tokens.
Peripheryβ
External smart contracts that are useful but not required for Ducklend to exist. New periphery contracts can always be deployed without migrating liquidity.
Poolβ
A contract deployed by the Ducklend that pairs two SPL 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 upper and lower tick defines an instance of liquidity. And the amount of liquidity contained therein.
Price Impactβ
The difference between the mid-price 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 is 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 submitting a transaction and executing it.
Spot Priceβ
The current price of a token relative to another within a given pair.
Swap Feesβ
The fees collected upon swapping are rewarded to liquidity providers.
Last updated