Skip to content

Commit

Permalink
fix: duplicate pool address frxeth sfrxeth (#593)
Browse files Browse the repository at this point in the history
* chore: remove unused config

* fix: add pool address prefix to avoid duplicate pool addresses with frxeth
  • Loading branch information
minhnhathoang authored Nov 15, 2024
1 parent 58af6e8 commit 1a27253
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/liquidity-source/frax/frxeth/pools/ethereum.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"id": "0xbafa44efe7901e04e39dad13167d089c559c1138",
"id": "0x5e8422345238f34275888049021821e8e08caa1f",
"type": "generic-simple-rate",
"lpToken": "",
"tokens": [
Expand Down
1 change: 0 additions & 1 deletion pkg/liquidity-source/frax/sfrxeth/pools/ethereum.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"frxETHMinter": "0xbafa44efe7901e04e39dad13167d089c559c1138",
"frxETH": "0x5e8422345238f34275888049021821e8e08caa1f",
"sfrxETH": "0xac3e018457b222d93114458476f3e3416abbe38f"
}
1 change: 0 additions & 1 deletion pkg/liquidity-source/frax/sfrxeth/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ type Gas struct {

type PoolItem struct {
FrxETHMinterAddress string `json:"frxETHMinter"`
FrxETHAddress string `json:"frxETH"`
SfrxETHAddress string `json:"sfrxETH"`
}

0 comments on commit 1a27253

Please sign in to comment.