@@ -34,7 +34,7 @@ d. PAS Gateway (logging and sending signed messages to PAS)
...
@@ -34,7 +34,7 @@ d. PAS Gateway (logging and sending signed messages to PAS)
Bank of Lithuania system managing message exchange between various bank and external systems (see more [PAS](Architecture/PAS))
Bank of Lithuania system managing message exchange between various bank and external systems (see more [PAS](Architecture/PAS))
## Remarks:
## Remarks:
1. Users don’t have IBAN accounts in Dan’s bank.
1. Users don’t have IBAN accounts in Dan’s bank (in MVP).
2. SEPA doesn’t work all the time. SEPA works only in working days during defined working hours. CBS is responsible for queueing transactions.
2. SEPA doesn’t work all the time. SEPA works only in working days during defined working hours. CBS is responsible for queueing transactions.
## Use cases
## Use cases
...
@@ -44,11 +44,11 @@ Bank of Lithuania system managing message exchange between various bank and exte
...
@@ -44,11 +44,11 @@ Bank of Lithuania system managing message exchange between various bank and exte
**UC 1**
**UC 1**
A Exchange user sends cryptocurrency and wants to receive Euro.
A Exchange user sends cryptocurrency and wants to receive Euro.
1. An exchange user makes a transfer using the Exchange interface
1. An exchange user initiates trade using the Exchange interface.
2. An operation in the blockchain includes a receiver IBAN account.
2. An operation in the blockchain includes a receiver IBAN account.
3. A memo description (with IBAN account) is encrypted.
3. A memo description (with IBAN account) is encrypted.
4. A transaction is processed with a standard path in the Exchange:
4. A transaction is processed with a standard path in the Exchange:
a. The transaction scanner in the source blockchain recognizes an operation and takes an appropriate action (as now) – sends it to CBS
a. The transaction scanner in the source blockchain recognizes an operation and takes an appropriate action (as now) – sends it to CBS via EURO-client.
b. CBS recognizes whether it is an SEPA transfer or non-SEPA transfer:
b. CBS recognizes whether it is an SEPA transfer or non-SEPA transfer:
i. If it is SEPA transfer, then it is sent to DIS - see [diagram flow](use cases/uc-2)
i. If it is SEPA transfer, then it is sent to DIS - see [diagram flow](use cases/uc-2)
ii If it is non-SEPA transfer, then it is rejected.
ii If it is non-SEPA transfer, then it is rejected.
...
@@ -59,7 +59,7 @@ ii If it is non-SEPA transfer, then it is rejected.
...
@@ -59,7 +59,7 @@ ii If it is non-SEPA transfer, then it is rejected.
**UC 2**
**UC 2**
An exchange user sends Euro from his banking account ( not in Dan's bank) and wants to receive cryptocurrency.
An exchange user sends Euro from his banking account ( not in Dan's bank) and wants to receive cryptocurrency.
1. An exchange user makes an order using Exchange interface.
1. An exchange user initiates trade using Exchange interface.
2. Exchange generates order id.
2. Exchange generates order id.
3. A user sends EURO to Dan’s account using generated order id as transfer title via his internet banking.
3. A user sends EURO to Dan’s account using generated order id as transfer title via his internet banking.
4. DIS registers a transaction.
4. DIS registers a transaction.
...
@@ -73,7 +73,7 @@ Then the standard execution path is followed in the Exchange: a record is create
...
@@ -73,7 +73,7 @@ Then the standard execution path is followed in the Exchange: a record is create
**III. Sending Euro and receiving EURO**
**III. Sending Euro and receiving EURO**
It seems to be possible.
It seems to be possible though we're not sure if desirable.