Allowed AMMs

Allowed AMMs

The WUSD protocol provides support for the liquidity pools of multiple AMMs. The AllowedAMM contract provides a struct containing the AMM address and an array of the authorizedLP addresses

struct AllowedAMM {
    address ammAddress;
    address[] liquidityPools;
}

To integrate this information, use the allowedAMMs function of IWUSDExtensionController, which returns an array containing all of the supported AMMs and the authorized LP addresses

function allowedAMMs() external view returns(AllowedAMM[] memory);

Last updated