/** * Contract interaction tests for ABI encoding/decoding */ describe('Pool ABI interface', () => { it('should define an ethers.Interface for UniswapV3Pool', () => { const fs = require('fs'); const path = require('path'); const poolTypesPath = path.join(__dirname, '../../src/types/pool.d.ts'); const content = fs.readFileSync(poolTypesPath, 'utf-8'); expect(content).toContain( 'interface UniswapV3PoolInterface extends ethers.Interface', ); expect(content).toContain('encodeFunctionData'); expect(content).toContain('decodeFunctionResult'); }); });