This interface provides methods for getting the token factory configuration.
Returns the current token factory configuration.
function generateTokensWithinFactory() external returns (IERC20, IERC20, IAmmalgamERC20[6] memory);Returns
| Name | Type | Description |
|---|---|---|
<none> |
IERC20 |
A TokenFactoryConfig struct representing the current token factory config. |
<none> |
IERC20 |
|
<none> |
IAmmalgamERC20[6] |
Returns the fee recipient address.
function feeTo() external view returns (address);Returns
| Name | Type | Description |
|---|---|---|
<none> |
address |
The address of the fee recipient. |
Returns the address that can change the fee recipient.
function feeToSetter() external view returns (address);Returns
| Name | Type | Description |
|---|---|---|
<none> |
address |
The address of the fee setter. |
Returns the address of the saturation state contract
function saturationAndGeometricTWAPState() external view returns (ISaturationAndGeometricTWAPState);This struct represents the configuration of the token factory, which includes the addresses of tokenX, tokenY, and the factory itself.
struct TokenFactoryConfig {
address tokenX;
address tokenY;
}