@airdao/astra-cl-periphery
Version:
🎚 Peripheral smart contracts for interacting with AstraDEX Concentrated Liquidity version
8 lines (6 loc) • 353 B
text/typescript
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
}