@@ -71,7 +71,7 @@ contract PoolFactory is ReentrancyGuard {
arrayPools.push(pool); // Add pool address to the pool array
arrayTokens.push(_token); // Add token to the listed array
isListedPool[pool] = true; // Record pool as currently listed
- emit CreatePool(token, pool); // Emit CreatePool before the AddLiquidity event for subgraph
+ emit CreatePool(_token, pool); // Emit CreatePool before the AddLiquidity event for subgraph
Pool(pool).addForMember(msg.sender); // Perform the liquidity-add for the user
return pool;
}
@@ -154,4 +154,7 @@ contract PoolFactory is ReentrancyGuard {
function getPoolArray(uint256 i) external view returns(address){
return arrayPools[i];
}
+ function vaultAssetsLength() external view returns(uint256){
+ return vaultAssets.length;
+ }
}
\ No newline at end of file
message:
李蓝天:改动分类:原因:
刘志浩:改动分类:原因: