Skip to content

Commit

Permalink
Vrf v2 cost calculator (#1353)
Browse files Browse the repository at this point in the history
* Create design of VRF v2 cost calculator

* Add checkbox to have user choose method and compute parameters to compute vrf request cost

* Finalize VRF Cost Calculator

* Fix API url link

* fix API URL issue when calling

* Fix total cost output bugs + Add chain icons next to chain name in dropdown + Solve dropdown issue that didn't show on click when input is filled

* Fix bug when previous data are not refreshed after changing chain and network in calculator

* Fix responsive design issues + Add icons next to network options in dropdown menu + Fix issue where data wre not fetched from API when changing vrf method

* Cost calculator edits

* Refactor rebase issues + Fix issues that make API calls for BNB fail

* Fix issue where gas price input was not taken into account in request cost computation + Add maxCost computation in subscription method depending on gas lane chosen

* Apply design suggestions + Fix gas price that formatted the value before the user finished typing

* Syntax fix

* Add verification gas row in cost table of subscription method + Apply small syntax suggestions

* Edits

* Add Caret svg to dropdown input

* Writer edits

* Lint fix

---------

Co-authored-by: Yacine Benichou <yacine@mb-q1g67f3cp6.lan>
Co-authored-by: Dwight Lyle <dwightjl@gmail.com>
  • Loading branch information
3 people committed Jul 25, 2023
1 parent a721aee commit e0d557e
Show file tree
Hide file tree
Showing 10 changed files with 1,042 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/features/feeds/components/FeedPage.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import FeedsCommonCallout from "../callouts/FeedsCommonCallout.astro"
import { FeedList } from "./FeedList.tsx"
import type { DataFeedType } from "./FeedList.tsx"
import { FeedList } from "./FeedList"
import type { DataFeedType } from "./FeedList"
import { Aside } from "@components"
export type Props = {
initialNetwork?: string
Expand Down
Loading

1 comment on commit e0d557e

@vercel
Copy link

@vercel vercel bot commented on e0d557e Jul 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.