DexConstantsViews ​
Abstract contract providing view functions for DEX constants
Functions ​
getPoolConstantsView ​
returns all Pool constants
solidity
function getPoolConstantsView(address pool_) public view returns (IFluidDexT1.ConstantViews memory constantsView_);
getPoolConstantsView2 ​
returns all Pool constants 2
solidity
function getPoolConstantsView2(address pool_) public view returns (IFluidDexT1.ConstantViews2 memory constantsView2_);
getPoolTokens ​
Get the addresses of the tokens in a Pool
solidity
function getPoolTokens(address pool_) public view returns (address token0_, address token1_);
Parameters
Name | Type | Description |
---|---|---|
pool_ | address | The address of the Pool |
Returns
Name | Type | Description |
---|---|---|
token0_ | address | The address of token0 in the Pool |
token1_ | address | The address of token1 in the Pool |