refactor PartyPoolSwapMintImpl
This commit is contained in:
@@ -27,7 +27,7 @@ interface IPartyPlanner {
|
||||
/// @param deadline Reverts if nonzero and the current blocktime is later than the deadline
|
||||
/// @return pool Address of the newly created and initialized PartyPool
|
||||
/// @return lpAmount Amount of LP tokens minted to the receiver
|
||||
function createPool(
|
||||
function newPool(
|
||||
// Pool constructor args (legacy)
|
||||
string memory name_,
|
||||
string memory symbol_,
|
||||
@@ -61,7 +61,7 @@ interface IPartyPlanner {
|
||||
/// @param deadline Reverts if nonzero and the current blocktime is later than the deadline
|
||||
/// @return pool Address of the newly created and initialized PartyPool
|
||||
/// @return lpAmount Amount of LP tokens minted to the receiver
|
||||
function createPool(
|
||||
function newPool(
|
||||
// Pool constructor args (kappa-based)
|
||||
string memory name_,
|
||||
string memory symbol_,
|
||||
@@ -115,4 +115,8 @@ interface IPartyPlanner {
|
||||
/// @param limit Maximum number of items to return
|
||||
/// @return pools Array of pool addresses containing the specified token
|
||||
function getPoolsByToken(IERC20 token, uint256 offset, uint256 limit) external view returns (PartyPool[] memory pools);
|
||||
|
||||
/// @notice Address of the SwapMint implementation contract used by all pools created by this factory
|
||||
function swapMintImpl() external view returns (address);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user