diff --git a/evm/src/integral/IntegralSwapAdapter.sol b/evm/src/integral/IntegralSwapAdapter.sol index 3d7a887..b958f41 100644 --- a/evm/src/integral/IntegralSwapAdapter.sol +++ b/evm/src/integral/IntegralSwapAdapter.sol @@ -91,10 +91,11 @@ contract IntegralSwapAdapter is ISwapAdapter { override returns (Capability[] memory capabilities) { - capabilities = new Capability[](3); + capabilities = new Capability[](4); capabilities[0] = Capability.SellOrder; capabilities[1] = Capability.BuyOrder; capabilities[2] = Capability.PriceFunction; + capabilities[3] = Capability.ConstantPrice; } /// @inheritdoc ISwapAdapter diff --git a/evm/test/IntegralSwapAdapter.t.sol b/evm/test/IntegralSwapAdapter.t.sol index 0120198..4e9e23e 100644 --- a/evm/test/IntegralSwapAdapter.t.sol +++ b/evm/test/IntegralSwapAdapter.t.sol @@ -175,7 +175,7 @@ contract IntegralSwapAdapterTest is Test, ISwapAdapterTypes { IERC20(t1) ); - assertEq(res.length, 3); + assertEq(res.length, 4); } function testGetTokensIntegral() public {