DexConstantsViews ​
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
Name | Type | Description |
---|---|---|
dex_ | address | The address of the DEX |
Returns
Name | Type | Description |
---|---|---|
token0_ | address | The address of token0 in the DEX |
token1_ | address | The address of token1 in the DEX |