Skip to content

DexConstantsViews ​

Git Source

Functions ​

getDexConstantsView ​

returns all Dex constants

solidity
function getDexConstantsView(address dex_) public view returns (IFluidDexT1.ConstantViews memory constantsView_);

getDexConstantsView2 ​

returns all Dex constants 2

solidity
function getDexConstantsView2(address dex_) public view returns (IFluidDexT1.ConstantViews2 memory constantsView2_);

getDexTokens ​

Get the addresses of the tokens in a DEX

solidity
function getDexTokens(address dex_) public view returns (address token0_, address token1_);

Parameters

NameTypeDescription
dex_addressThe address of the DEX

Returns

NameTypeDescription
token0_addressThe address of token0 in the DEX
token1_addressThe address of token1 in the DEX