Skip to main content

IAmmalgamFactoryCallback

Git Source

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

NameTypeDescription
<none>IAmmalgamFactoryCallback.TokenFactoryConfigA 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;
}