Skip to content

Commit

Permalink
fix: sepolia conversion (#1300)
Browse files Browse the repository at this point in the history
  • Loading branch information
leoslr authored Dec 18, 2023
1 parent 08dd85b commit 7b998d0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/currency/src/aggregators/sepolia.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"0x370DE27fdb7D1Ff1e1BaA7D11c5820a324Cf623C": {
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
},
"0xF046b3CA5ae2879c6bAcC4D42fAF363eE8379F78": {
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
},
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": {
"0x370DE27fdb7D1Ff1e1BaA7D11c5820a324Cf623C": 1,
"0xF046b3CA5ae2879c6bAcC4D42fAF363eE8379F78": 1
}
}
2 changes: 2 additions & 0 deletions packages/currency/src/conversion-aggregators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { CurrencyDefinition } from './types';
import privateAggregator from './aggregators/private.json';
import mainnetAggregator from './aggregators/mainnet.json';
import goerliAggregator from './aggregators/goerli.json';
import sepoliaAggregator from './aggregators/sepolia.json';
import rinkebyAggregator from './aggregators/rinkeby.json';
import maticAggregator from './aggregators/matic.json';
import fantomAggregator from './aggregators/fantom.json';
Expand Down Expand Up @@ -34,6 +35,7 @@ const chainlinkCurrencyPairs: AggregatorsMap<CurrencyTypes.EvmChainName> = {
mainnet: mainnetAggregator,
matic: maticAggregator,
fantom: fantomAggregator,
sepolia: sepoliaAggregator,
};

// Pairs supported by Flux Protocol
Expand Down

0 comments on commit 7b998d0

Please sign in to comment.