Skip to content

Commit

Permalink
currency symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
vgeddes committed Oct 9, 2024
1 parent b21e5be commit 495ab69
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bridges/snowbridge/docs/v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ The fee amounts in this message should be high enough to enable dry-running, aft
## Step 2: User agent estimates fees

- Given source parachain $S$, with native token $S^{'}$ and the initial xcm $x_0$ to be executed on $S$.
- The native currency $P^{'}$ of the Polkadot relay chain, and $E^{'}$ of Ethereum.
- The native currency $P^{'}$ (DOT) of the Polkadot relay chain, and $E^{'}$ (ETH) of Ethereum.
- Suppose that the user agent chooses relayer reward $r$ in $E^{'}$.
- Suppose that the exchange rates are $K_{P^{'}/S^{'}}$ and $K_{E^{'}/S^{'}}$. The user agent chooses a multiplier to $\beta$ to cover volatility in these rates.

Apply the following sequence operations:

1. Dry-run $x_0$ on $S$ to receive xcm $x_1$ and cost $a$ in $S^{'}$
2. Dry-run $x_1$ on AH to receive xcm $x_2$ and cost $b$ in DOT
3. Dry-run $x_2$ on BH to receive command $m$ and cost $c$ in DOT
4. Dry-run $m$ on Ethereum to receive cost $d$ in ETH
2. Dry-run $x_1$ on AH to receive xcm $x_2$ and cost $b$ in $P^{'}$ (DOT)
3. Dry-run $x_2$ on BH to receive command $m$ and cost $c$ in $P^{'}$ (DOT)
4. Dry-run $m$ on Ethereum to receive cost $d$ in $E^{'}$ (ETH)

The final cost to the user in $S^{'}$ is given by

Expand Down

0 comments on commit 495ab69

Please sign in to comment.