With reference to the currency swap arrangement, consider the following statements:
1. In the swap arrangement, a country provides dollars to a foreign central bank, which, at the same time, provides the equivalent funds in its currency to the former, based on the market exchange rate at the time of the transaction.
2. The swap operations carry no exchange rate or other market risks, as transaction terms are set in advance.
Which of the statements given above is/are correct?