Skip to content

Commit

Permalink
fix: spot price for usdc_e toen
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh-98 committed Mar 2, 2024
1 parent c789d9a commit eed53d6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion docs/arbitrum.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
- Since we use zappers, the liquidity providing user is replaced with zapper address in the AddLiquidity/RemoveLiquidity event, we have to track user call to get the actual user address and replace in the event. We have logic for dUSDC-> farmedUSDCv3 zappers too, but these zappers are not present on arbitrum disable them.
- farming pools info is not added to sdk-gov , like it is added for mainnet. In the tokens.ts for mainnet we have sdUSDCv3 , sdWETHv3 and other token details that are farmed tokens. This info is missing handle this in the ts-> go config generator.
- disable lm rewards v2 logic for arbitrum, disable the sync adapter for lmrewards v2.
- On mainnet the price of gearbox token is fetched using curve pool, 0x0E9B5B092caD6F1c5E6bc7f89Ffe1abb5c95F1C2 , that is missing on arbitrum, need to add logic for that in the inch oracle in sdk-go. [TODO]
- On mainnet the price of gearbox token is fetched using curve pool, 0x0E9B5B092caD6F1c5E6bc7f89Ffe1abb5c95F1C2 , that is missing on arbitrum, need to add logic for that in the inch oracle in sdk-go. [TODO]
- set price in spot oracle (1inch oracle) for USDC_e, USDC token on networks other table mainnet.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/Gearbox-protocol/third-eye
go 1.19

require (
github.com/Gearbox-protocol/sdk-go v0.0.0-20240301215925-1aa2728adc6c
github.com/Gearbox-protocol/sdk-go v0.0.0-20240302121130-ae36cf282066
github.com/ethereum/go-ethereum v1.10.17
github.com/go-playground/validator/v10 v10.4.1
github.com/google/go-cmp v0.5.9
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ contrib.go.opencensus.io/exporter/ocagent v0.6.0/go.mod h1:zmKjrJcdo0aYcVS7bmEeS
github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/DataDog/zstd v1.5.2 h1:vUG4lAyuPCXO0TLbXvPv7EB7cNK1QV/luu55UHLrrn8=
github.com/Gearbox-protocol/sdk-go v0.0.0-20240301215925-1aa2728adc6c h1:aKSec6C/CMIvvBwe03trhgvr4FcChT6Kd4872I6JfoI=
github.com/Gearbox-protocol/sdk-go v0.0.0-20240301215925-1aa2728adc6c/go.mod h1:SU6QXrIjdRmsno1vZAm5xlowF49fpZJzC5GELiLqIJg=
github.com/Gearbox-protocol/sdk-go v0.0.0-20240302121130-ae36cf282066 h1:Xb/Zajr8bx4YZvcXUgMND50CzIjGVsKlX6eB/5wmrZM=
github.com/Gearbox-protocol/sdk-go v0.0.0-20240302121130-ae36cf282066/go.mod h1:SU6QXrIjdRmsno1vZAm5xlowF49fpZJzC5GELiLqIJg=
github.com/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc=
github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs=
github.com/OffchainLabs/go-ethereum v0.0.0-20230822203130-9a31b6205dba h1:wP31KC1na/F9wx6rPzGpajv6us7Nj2fgqtCs3W9Rp/A=
Expand Down

0 comments on commit eed53d6

Please sign in to comment.