monorepo icon indicating copy to clipboard operation
monorepo copied to clipboard

As a user, I want to see a clear fee breakdown and estimate of amount received

Open alexwhte opened this issue 3 years ago • 0 comments

Problem Users need transparency into their transfer costs and risks, but shouldnt be overwhelmed by all details.

Ideas to solve this We will show the user fee estimates in the UI in the cleanest way possible.

Mocked up scenarios here: https://docs.google.com/spreadsheets/d/19Ypt7aQuUO9Npv5NyavyGf-OcakOZx7E1I9EnVBINl0/edit#gid=0

Account for at least the below

  • Relayer fee estimate ("settlement gas estimate") <-- native asset
  • Router fee estimate (0.5 bps)

Consider the below

  • LP Fee estimate (4 bps 'per swap')
  • Slippage estimates (pre-xcall)
  • Price impact estimates (based on swap X:Y ratio)

Exclude the below:

  • Origin gas fee

Acceptance Criteria

  • [ ] User can see fees
  • [ ] Fees are relatively accurate
  • [ ] Fees are understandable to different user types (easy for n00bs, satisfactory for experts)

Other

alexwhte avatar Jul 20 '22 02:07 alexwhte