Skip to content

Incorrect Fee Formula on website #13

@vegancat

Description

@vegancat

Bug Type

UI

Reproduction steps

  1. Open the Bridge website
  2. Incorrect Formula in Bridge fee

Screenshot 2022-09-27 125114

Actual result

It show's Formula below as the formula for Bridge fee:5 TON + 0.25% of amount

An example:

Assume we have 100 as Ton amount. according to Formula Bridge fee should be:
5 + 0.25% * 100 = 5 + 0.25 = 5.25

But the Fee on the screen is 5.2375
image

Expected result

Looking at the codebase and calculated fees on the website it's clear that the correct formula is: 5 TON + 0.25% of (amount - 5 )

Following our example in "Actual Result" we would have:

Ton amount = 100

Bridge Fee = 5 + (0.25% * (100 - 5) = 5 + 0.2375 = 5.2375

Suggested Severity

High

Device

Desktop (please complete the following information):

  • OS: Windows
  • Browser Chrome
  • Version win11 21h2

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions