Skip to content

Commit

Permalink
rotate again
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptohazard committed Oct 25, 2023
1 parent 53c7084 commit 1e828d6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 11 deletions.
18 changes: 13 additions & 5 deletions pkg/provider/lyra/lyra.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,19 @@ var log = emo.NewZone("Lyra")
// DOC: https://docs.lyra.finance/developers/deployed-contracts

const (
//rpcOP = "https://opt-mainnet.g.alchemy.com/v2/6_IOOvszkG_h71cZH3ybdKrgPPwAUx6m"
rpcOP = "https://opt-mainnet.g.alchemy.com/v2/uksZH_SjXAaBnIw95hZcBoCWGCXs9VXI"
name = "Lyra"
//rpcARB = "https://arb-mainnet.g.alchemy.com/v2/hnBqLngSXPbAdvXHjcstEHkvWXV7RzEJ"
rpcARB = "https://arb-mainnet.g.alchemy.com/v2/4TQ_6stSP__V97XUQQC07AV23f_XOemr"
// TODO use teal on Optimism
// TODO use perso on Arbitrum
// TODO do that on the 1st Nov

// teal
rpcOP = "https://opt-mainnet.g.alchemy.com/v2/6_IOOvszkG_h71cZH3ybdKrgPPwAUx6m"
// perso
//rpcOP = "https://opt-mainnet.g.alchemy.com/v2/uksZH_SjXAaBnIw95hZcBoCWGCXs9VXI"
name = "Lyra"
// teal
rpcARB = "https://arb-mainnet.g.alchemy.com/v2/hnBqLngSXPbAdvXHjcstEHkvWXV7RzEJ"
// perso
//rpcARB = "https://arb-mainnet.g.alchemy.com/v2/4TQ_6stSP__V97XUQQC07AV23f_XOemr"

oneOption = 1
)
Expand Down
23 changes: 17 additions & 6 deletions pkg/provider/thales/thales.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,23 @@ const (
// urlBsc = "https://api.thegraph.com/subgraphs/name/thales-markets/thales-bsc"

// rpc.
//rpcOptimism = "https://opt-mainnet.g.alchemy.com/v2/6_IOOvszkG_h71cZH3ybdKrgPPwAUx6m"
rpcOptimism = "https://opt-mainnet.g.alchemy.com/v2/uksZH_SjXAaBnIw95hZcBoCWGCXs9VXI"
//rpcPolygon = "https://polygon-mainnet.g.alchemy.com/v2/7MGFstWkvX-GscRyBQxehyisRlEoQWyu"
rpcPolygon = "https://polygon-mainnet.g.alchemy.com/v2/uQ-knqUJnSNM61nlSnOxpGfx9cqPPfos"
//rpcArbitrum = "https://arb-mainnet.g.alchemy.com/v2/hnBqLngSXPbAdvXHjcstEHkvWXV7RzEJ"
rpcArbitrum = "https://arb-mainnet.g.alchemy.com/v2/4TQ_6stSP__V97XUQQC07AV23f_XOemr"
// TODO use teal on Optimism
// TODO use perso on Arbitrum and Polygon
// TODO do that on the 1st Nov

// teal
rpcOptimism = "https://opt-mainnet.g.alchemy.com/v2/6_IOOvszkG_h71cZH3ybdKrgPPwAUx6m"
// perso
//rpcOptimism = "https://opt-mainnet.g.alchemy.com/v2/uksZH_SjXAaBnIw95hZcBoCWGCXs9VXI"
// teal
rpcPolygon = "https://polygon-mainnet.g.alchemy.com/v2/7MGFstWkvX-GscRyBQxehyisRlEoQWyu"
// perso
//rpcPolygon = "https://polygon-mainnet.g.alchemy.com/v2/uQ-knqUJnSNM61nlSnOxpGfx9cqPPfos"
// teal
rpcArbitrum = "https://arb-mainnet.g.alchemy.com/v2/hnBqLngSXPbAdvXHjcstEHkvWXV7RzEJ"
// perso
//rpcArbitrum = "https://arb-mainnet.g.alchemy.com/v2/4TQ_6stSP__V97XUQQC07AV23f_XOemr"

//rpcBsc = "https://bsc-dataseed1.ninicoin.io/" // free bscscan rpc
// binance https://bsc-dataseed1.binance.org/

Expand Down

0 comments on commit 1e828d6

Please sign in to comment.