Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated aggregator package #188

Merged
merged 5 commits into from
Sep 12, 2024
Merged

Updated aggregator package #188

merged 5 commits into from
Sep 12, 2024

Conversation

iulianpascalau
Copy link
Contributor

  • updated aggregator package
  • added EVM gas price fetcher

sstanculeanu
sstanculeanu previously approved these changes Sep 11, 2024
@@ -13,7 +13,7 @@ type XExchangeTokensPair struct {
}

// NewPriceFetcher returns a new price fetcher of the type provided
func NewPriceFetcher(fetcherName string, responseGetter aggregator.ResponseGetter, graphqlGetter aggregator.GraphqlGetter, xExchangeTokensMap map[string]XExchangeTokensPair) (aggregator.PriceFetcher, error) {
func NewPriceFetcher(fetcherName string, responseGetter aggregator.ResponseGetter, graphqlGetter aggregator.GraphqlGetter, xExchangeTokensMap map[string]XExchangeTokensPair, config EVMGasPriceFetcherConfig) (aggregator.PriceFetcher, error) {
Copy link
Contributor

Choose a reason for hiding this comment

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

should split params in multiple lines

}

func createFetcher(fetcherName string, responseGetter aggregator.ResponseGetter, graphqlGetter aggregator.GraphqlGetter, xExchangeTokensMap map[string]XExchangeTokensPair) (aggregator.PriceFetcher, error) {
func createFetcher(fetcherName string, responseGetter aggregator.ResponseGetter, graphqlGetter aggregator.GraphqlGetter, xExchangeTokensMap map[string]XExchangeTokensPair, config EVMGasPriceFetcherConfig) (aggregator.PriceFetcher, error) {
Copy link
Contributor

Choose a reason for hiding this comment

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

here as well

@iulianpascalau iulianpascalau merged commit 38ff653 into main Sep 12, 2024
2 checks passed
@iulianpascalau iulianpascalau deleted the updated-aggregator-package branch September 12, 2024 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants