IAmmalgamFactoryCallback
This interface provides methods for getting the token factory configuration.
Functions
getTokenFactoryConfig
Returns the current token factory configuration.
function getTokenFactoryConfig() external view returns (IAmmalgamFactoryCallback.TokenFactoryConfig memory);
Returns
Name | Type | Description |
---|---|---|
<none> | IAmmalgamFactoryCallback.TokenFactoryConfig | A TokenFactoryConfig struct representing the current token factory config. |
Structs
TokenFactoryConfig
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;
address factory;
}