Since the first bridge where reward distributed among the bridge validators was deployed there is a need to get information about overall fee collected on both sides of the bridge.
Consider to extend the statistic tab with the corresponding info:
There should be two columns in additional line in the "Bridge Statistics" section: Deposit fees, Withdrawal fees. The fees should be displayed with usage of the corresponding coins or tokens, e.g. for the ETC-WETC bridge, deposit fees should be in WETC whereas withdrawal fees should be in ETC.
This information should be displayed only if the bridge contracts are configured to use the Fee manager.
If for some direction the fees are not taken, the corresponding column should no be displayed.
Tests should cover all thee bridge modes and all possible configurations: there are Fee Managers on both sides of the bridge, there is one Fee Manager that covers both directions, there is a Fee Manager as so the fees are taken for the transaction in one direction only.
Since the first bridge where reward distributed among the bridge validators was deployed there is a need to get information about overall fee collected on both sides of the bridge.
Consider to extend the statistic tab with the corresponding info:
There should be two columns in additional line in the "Bridge Statistics" section:
Deposit fees
,Withdrawal fees
. The fees should be displayed with usage of the corresponding coins or tokens, e.g. for the ETC-WETC bridge, deposit fees should be in WETC whereas withdrawal fees should be in ETC.This information should be displayed only if the bridge contracts are configured to use the Fee manager.
If for some direction the fees are not taken, the corresponding column should no be displayed.
Tests should cover all thee bridge modes and all possible configurations: there are Fee Managers on both sides of the bridge, there is one Fee Manager that covers both directions, there is a Fee Manager as so the fees are taken for the transaction in one direction only.