IFactoryCallback
This interface provides methods for getting the token factory configuration.
Functions
generateTokensWithinFactory
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] |
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;
}