Interfaces Overview

VinuSwap defines numerous interfaces for contract interaction.

Core Interfaces

Interface
Purpose

IVinuSwapFactory

Factory contract interface

IVinuSwapPool

Composite pool interface

IVinuSwapPoolActions

Pool action functions

IVinuSwapPoolEvents

Pool events

IVinuSwapPoolDerivedState

Pool computed state

IVinuSwapPoolImmutables

Pool immutable values

IVinuSwapPoolOwnerActions

Owner-only functions

IVinuSwapPoolState

Pool state variables

IVinuSwapExtraPoolOwnerActions

Initialize function

IVinuSwapPoolDeployer

Deployer interface

IFeeManager

Dynamic fee computation

Periphery Interfaces

Interface
Purpose

ISwapRouter

Swap execution

INonfungiblePositionManager

Position NFT management

INonfungibleTokenPositionDescriptor

NFT metadata

IQuoterV2

Swap quoting

IPeripheryPayments

Token payments

IPeripheryPaymentsWithFee

Payments with fee

IPeripheryImmutableState

Immutable state

IMulticall

Batch calls

ISelfPermit

ERC20 permit

IERC721Permit

NFT permit

Callback Interfaces

Note: VinuSwap uses Uniswap V3 callback interface names for compatibility.

Interface
Purpose

IUniswapV3SwapCallback

Swap callback

IUniswapV3MintCallback

Mint callback

Key Interface Details

IVinuSwapFactory

IVinuSwapPoolActions

ISwapRouter

IFeeManager

Callback Interfaces

VinuSwap uses Uniswap V3's callback interfaces for compatibility:

Using Interfaces

TypeScript

Solidity

Last updated