Function: endPools(PoolParams[] poolParams)
This function is used to end multiple pools.
Inputs
poolParamsControl: Arbitrary.
Constraints: None.
Impact: Array of pool parameters.
Branches and code coverage
Intended branches
Invokes
endPoolfor each pool inpoolParams.
Negative behavior
Caller is a service admin.