...
Liquidity Pools is another dimension in this set of scenarios for Decentralized Exchanges. Basically it can be used in pair with or without bridges, so let's take a moreĀ clean example without them. But let's not stick to an Exchange Pair and work with multi-currency liquidity:
Expand | |||||
---|---|---|---|---|---|
| |||||
|
From the high level perspective this scenario looks very similar with two previous because all of them are based on top of two Iroha functions:
- Assets Transfer
- Iroha Triggers
Resulting Behavior
Let's write all three scenarios as one feature description according to BDD with more details:
No Format | ||
---|---|---|
| ||
Feature: Decentralized Exchange Scenario: Buyer exchanges 20xor for 100usd Given: When: Then: Scenario: Buyer exchanges 20xor for 100usd Given: When: Then: Scenario: Buyer exchanges 20xor for 100usd Given: When: Then: |
...