import { abi as POOL_ABI } from '@airdao/astra-cl-core/artifacts/contracts/AstraCLPool.sol/AstraCLPool.json'
import { Contract, Wallet } from 'ethers'
import { IAstraCLPool } from '../../typechain'

export default function poolAtAddress(address: string, wallet: Wallet): IAstraCLPool {
  return new Contract(address, POOL_ABI, wallet) as IAstraCLPool
}
