diff --git a/.goreleaser.yml b/.goreleaser.yml index 35c121925..61c225454 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -15,7 +15,7 @@ builds: binary: 'slinky' id: 'slinky' ldflags: - - "-X github.com/skip-mev/slinky/cmd/build.Build={{.Version}}" + - "-X github.com/dydxprotocol/slinky/cmd/build.Build={{.Version}}" archives: - format: tar.gz wrap_in_directory: true diff --git a/Makefile b/Makefile index 4c75948c6..e0448462d 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ export COMETBFT_VERSION := $(shell go list -m github.com/cometbft/cometbft | sed BIN_DIR ?= $(GOPATH)/bin BUILD_DIR ?= $(CURDIR)/build PROJECT_NAME = $(shell git remote get-url origin | xargs basename -s .git) -HTTPS_GIT := https://github.com/skip-mev/slinky.git +HTTPS_GIT := https://github.com/dydxprotocol/slinky.git DOCKER := $(shell which docker) DOCKER_COMPOSE := $(shell which docker-compose) HOMEDIR ?= $(CURDIR)/tests/.slinkyd @@ -45,7 +45,7 @@ export USE_OSMOSIS_MARKETS ?= $(USE_OSMOSIS_MARKETS) export USE_POLYMARKET_MARKETS ?= $(USE_POLYMARKET_MARKETS) export SCRIPT_DIR := $(SCRIPT_DIR) -BUILD_TAGS := -X github.com/skip-mev/slinky/cmd/build.Build=$(TAG) +BUILD_TAGS := -X github.com/dydxprotocol/slinky/cmd/build.Build=$(TAG) ############################################################################### ### build ### @@ -85,8 +85,8 @@ install: tidy docker-build: @echo "Building E2E Docker image..." - @DOCKER_BUILDKIT=1 $(DOCKER) build -t skip-mev/slinky-e2e -f contrib/images/slinky.e2e.Dockerfile . - @DOCKER_BUILDKIT=1 $(DOCKER) build -t skip-mev/slinky-e2e-oracle -f contrib/images/slinky.sidecar.dev.Dockerfile . + @DOCKER_BUILDKIT=1 $(DOCKER) build -t dydxprotocol/slinky-e2e -f contrib/images/slinky.e2e.Dockerfile . + @DOCKER_BUILDKIT=1 $(DOCKER) build -t dydxprotocol/slinky-e2e-oracle -f contrib/images/slinky.sidecar.dev.Dockerfile . .PHONY: docker-build @@ -294,7 +294,7 @@ gen-mocks: format: @find . -name '*.go' -type f -not -path "*.git*" -not -path "*/mocks/*" -not -name '*.pb.go' -not -name '*.pulsar.go' -not -name '*.gw.go' | xargs go run mvdan.cc/gofumpt -w . @find . -name '*.go' -type f -not -path "*.git*" -not -path "*/mocks/*" -not -name '*.pb.go' -not -name '*.pulsar.go' -not -name '*.gw.go' | xargs go run github.com/client9/misspell/cmd/misspell -w - @find . -name '*.go' -type f -not -path "*.git*" -not -path "/*mocks/*" -not -name '*.pb.go' -not -name '*.pulsar.go' -not -name '*.gw.go' | xargs go run golang.org/x/tools/cmd/goimports -w -local github.com/skip-mev/slinky + @find . -name '*.go' -type f -not -path "*.git*" -not -path "/*mocks/*" -not -name '*.pb.go' -not -name '*.pulsar.go' -not -name '*.gw.go' | xargs go run golang.org/x/tools/cmd/goimports -w -local github.com/dydxprotocol/slinky .PHONY: format diff --git a/README.md b/README.md index a6d0917ea..9a186c948 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@ [![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#wip) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue?style=flat-square&logo=go)](https://godoc.org/github.com/skip-mev/slinky) -[![Go Report Card](https://goreportcard.com/badge/github.com/skip-mev/slinky?style=flat-square)](https://goreportcard.com/report/github.com/skip-mev/slinky) -[![Version](https://img.shields.io/github/tag/skip-mev/slinky.svg?style=flat-square)](https://github.com/skip-mev/slinky/releases/latest) -[![Lines Of Code](https://img.shields.io/tokei/lines/github/skip-mev/slinky?style=flat-square)](https://github.com/skip-mev/slinky) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue?style=flat-square&logo=go)](https://godoc.org/github.com/dydxprotocol/slinky) +[![Go Report Card](https://goreportcard.com/badge/github.com/dydxprotocol/slinky?style=flat-square)](https://goreportcard.com/report/github.com/dydxprotocol/slinky) +[![Version](https://img.shields.io/github/tag/dydxprotocol/slinky.svg?style=flat-square)](https://github.com/dydxprotocol/slinky/releases/latest) +[![Lines Of Code](https://img.shields.io/tokei/lines/github/dydxprotocol/slinky?style=flat-square)](https://github.com/dydxprotocol/slinky) A general purpose price oracle leveraging ABCI++. Please visit our [docs](https://docs.skip.build/connect/introduction) page for more information! @@ -21,7 +21,7 @@ many of the highest-performance decentralized applications today. If you would l ## Install ```shell -$ go install github.com/skip-mev/slinky +$ go install github.com/dydxprotocol/slinky ``` ## Overview diff --git a/abci/preblock/oracle/preblock.go b/abci/preblock/oracle/preblock.go index e9ebac803..9ff2c4a01 100644 --- a/abci/preblock/oracle/preblock.go +++ b/abci/preblock/oracle/preblock.go @@ -11,14 +11,14 @@ import ( cometabci "github.com/cometbft/cometbft/abci/types" sdk "github.com/cosmos/cosmos-sdk/types" - abciaggregator "github.com/skip-mev/slinky/abci/strategies/aggregator" - "github.com/skip-mev/slinky/abci/strategies/codec" - "github.com/skip-mev/slinky/abci/strategies/currencypair" - slinkyabcitypes "github.com/skip-mev/slinky/abci/types" - "github.com/skip-mev/slinky/abci/ve" - "github.com/skip-mev/slinky/aggregator" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - servicemetrics "github.com/skip-mev/slinky/service/metrics" + abciaggregator "github.com/dydxprotocol/slinky/abci/strategies/aggregator" + "github.com/dydxprotocol/slinky/abci/strategies/codec" + "github.com/dydxprotocol/slinky/abci/strategies/currencypair" + slinkyabcitypes "github.com/dydxprotocol/slinky/abci/types" + "github.com/dydxprotocol/slinky/abci/ve" + "github.com/dydxprotocol/slinky/aggregator" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + servicemetrics "github.com/dydxprotocol/slinky/service/metrics" ) // PreBlockHandler is responsible for aggregating oracle data from each diff --git a/abci/preblock/oracle/preblock_test.go b/abci/preblock/oracle/preblock_test.go index 06cf3663e..68b3fc7db 100644 --- a/abci/preblock/oracle/preblock_test.go +++ b/abci/preblock/oracle/preblock_test.go @@ -17,23 +17,23 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - preblock "github.com/skip-mev/slinky/abci/preblock/oracle" - compression "github.com/skip-mev/slinky/abci/strategies/codec" - codecmock "github.com/skip-mev/slinky/abci/strategies/codec/mocks" - "github.com/skip-mev/slinky/abci/strategies/currencypair" - currencypairmock "github.com/skip-mev/slinky/abci/strategies/currencypair/mocks" - "github.com/skip-mev/slinky/abci/testutils" - "github.com/skip-mev/slinky/abci/types" - slinkyabcimocks "github.com/skip-mev/slinky/abci/types/mocks" - vetypes "github.com/skip-mev/slinky/abci/ve/types" - "github.com/skip-mev/slinky/aggregator" - "github.com/skip-mev/slinky/pkg/math/voteweighted" - voteweightedmocks "github.com/skip-mev/slinky/pkg/math/voteweighted/mocks" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - servicemetrics "github.com/skip-mev/slinky/service/metrics" - metricmock "github.com/skip-mev/slinky/service/metrics/mocks" - "github.com/skip-mev/slinky/x/oracle/keeper" - oracletypes "github.com/skip-mev/slinky/x/oracle/types" + preblock "github.com/dydxprotocol/slinky/abci/preblock/oracle" + compression "github.com/dydxprotocol/slinky/abci/strategies/codec" + codecmock "github.com/dydxprotocol/slinky/abci/strategies/codec/mocks" + "github.com/dydxprotocol/slinky/abci/strategies/currencypair" + currencypairmock "github.com/dydxprotocol/slinky/abci/strategies/currencypair/mocks" + "github.com/dydxprotocol/slinky/abci/testutils" + "github.com/dydxprotocol/slinky/abci/types" + slinkyabcimocks "github.com/dydxprotocol/slinky/abci/types/mocks" + vetypes "github.com/dydxprotocol/slinky/abci/ve/types" + "github.com/dydxprotocol/slinky/aggregator" + "github.com/dydxprotocol/slinky/pkg/math/voteweighted" + voteweightedmocks "github.com/dydxprotocol/slinky/pkg/math/voteweighted/mocks" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + servicemetrics "github.com/dydxprotocol/slinky/service/metrics" + metricmock "github.com/dydxprotocol/slinky/service/metrics/mocks" + "github.com/dydxprotocol/slinky/x/oracle/keeper" + oracletypes "github.com/dydxprotocol/slinky/x/oracle/types" ) var maxUint256, _ = new(big.Int).SetString("115792089237316195423570985008687907853269984665640564039457584007913129639935", 10) diff --git a/abci/preblock/oracle/utils.go b/abci/preblock/oracle/utils.go index 90c0120ea..13fc41286 100644 --- a/abci/preblock/oracle/utils.go +++ b/abci/preblock/oracle/utils.go @@ -7,8 +7,8 @@ import ( cometproto "github.com/cometbft/cometbft/proto/tendermint/types" sdk "github.com/cosmos/cosmos-sdk/types" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - servicemetrics "github.com/skip-mev/slinky/service/metrics" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + servicemetrics "github.com/dydxprotocol/slinky/service/metrics" ) // recordPrice records all the given prices per ticker, and reports them as a float64. diff --git a/abci/proposals/proposals.go b/abci/proposals/proposals.go index bef381a1f..4879aaa4f 100644 --- a/abci/proposals/proposals.go +++ b/abci/proposals/proposals.go @@ -9,11 +9,11 @@ import ( cometabci "github.com/cometbft/cometbft/abci/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/slinky/abci/strategies/codec" - "github.com/skip-mev/slinky/abci/strategies/currencypair" - slinkyabci "github.com/skip-mev/slinky/abci/types" - "github.com/skip-mev/slinky/abci/ve" - servicemetrics "github.com/skip-mev/slinky/service/metrics" + "github.com/dydxprotocol/slinky/abci/strategies/codec" + "github.com/dydxprotocol/slinky/abci/strategies/currencypair" + slinkyabci "github.com/dydxprotocol/slinky/abci/types" + "github.com/dydxprotocol/slinky/abci/ve" + servicemetrics "github.com/dydxprotocol/slinky/service/metrics" ) // ProposalHandler is responsible primarily for: diff --git a/abci/proposals/proposals_test.go b/abci/proposals/proposals_test.go index 52c86038a..2729d03b7 100644 --- a/abci/proposals/proposals_test.go +++ b/abci/proposals/proposals_test.go @@ -15,16 +15,16 @@ import ( "github.com/stretchr/testify/mock" "github.com/stretchr/testify/suite" - "github.com/skip-mev/slinky/abci/proposals" - "github.com/skip-mev/slinky/abci/strategies/codec" - codecmocks "github.com/skip-mev/slinky/abci/strategies/codec/mocks" - "github.com/skip-mev/slinky/abci/strategies/currencypair" - currencypairmocks "github.com/skip-mev/slinky/abci/strategies/currencypair/mocks" - "github.com/skip-mev/slinky/abci/testutils" - "github.com/skip-mev/slinky/abci/types" - "github.com/skip-mev/slinky/abci/ve" - servicemetrics "github.com/skip-mev/slinky/service/metrics" - servicemetricsmocks "github.com/skip-mev/slinky/service/metrics/mocks" + "github.com/dydxprotocol/slinky/abci/proposals" + "github.com/dydxprotocol/slinky/abci/strategies/codec" + codecmocks "github.com/dydxprotocol/slinky/abci/strategies/codec/mocks" + "github.com/dydxprotocol/slinky/abci/strategies/currencypair" + currencypairmocks "github.com/dydxprotocol/slinky/abci/strategies/currencypair/mocks" + "github.com/dydxprotocol/slinky/abci/testutils" + "github.com/dydxprotocol/slinky/abci/types" + "github.com/dydxprotocol/slinky/abci/ve" + servicemetrics "github.com/dydxprotocol/slinky/service/metrics" + servicemetricsmocks "github.com/dydxprotocol/slinky/service/metrics/mocks" ) var ( diff --git a/abci/proposals/validate.go b/abci/proposals/validate.go index f771eb541..c9cbd875d 100644 --- a/abci/proposals/validate.go +++ b/abci/proposals/validate.go @@ -5,9 +5,9 @@ import ( cometproto "github.com/cometbft/cometbft/proto/tendermint/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/slinky/abci/strategies/codec" - "github.com/skip-mev/slinky/abci/strategies/currencypair" - "github.com/skip-mev/slinky/abci/ve" + "github.com/dydxprotocol/slinky/abci/strategies/codec" + "github.com/dydxprotocol/slinky/abci/strategies/currencypair" + "github.com/dydxprotocol/slinky/abci/ve" ) // ValidateExtendedCommitInfo validates the extended commit info for a block. It first diff --git a/abci/strategies/aggregator/mocks/mock_price_applier.go b/abci/strategies/aggregator/mocks/mock_price_applier.go index 7328a4685..7b7e1531b 100644 --- a/abci/strategies/aggregator/mocks/mock_price_applier.go +++ b/abci/strategies/aggregator/mocks/mock_price_applier.go @@ -9,7 +9,7 @@ import ( mock "github.com/stretchr/testify/mock" - pkgtypes "github.com/skip-mev/slinky/pkg/types" + pkgtypes "github.com/dydxprotocol/slinky/pkg/types" types "github.com/cosmos/cosmos-sdk/types" ) diff --git a/abci/strategies/aggregator/mocks/mock_vote_aggregator.go b/abci/strategies/aggregator/mocks/mock_vote_aggregator.go index b0f4609d1..ef7491119 100644 --- a/abci/strategies/aggregator/mocks/mock_vote_aggregator.go +++ b/abci/strategies/aggregator/mocks/mock_vote_aggregator.go @@ -5,11 +5,11 @@ package mocks import ( big "math/big" - aggregator "github.com/skip-mev/slinky/abci/strategies/aggregator" + aggregator "github.com/dydxprotocol/slinky/abci/strategies/aggregator" mock "github.com/stretchr/testify/mock" - pkgtypes "github.com/skip-mev/slinky/pkg/types" + pkgtypes "github.com/dydxprotocol/slinky/pkg/types" types "github.com/cosmos/cosmos-sdk/types" ) diff --git a/abci/strategies/aggregator/price_applier.go b/abci/strategies/aggregator/price_applier.go index 88ba3b2e7..4f35e3c59 100644 --- a/abci/strategies/aggregator/price_applier.go +++ b/abci/strategies/aggregator/price_applier.go @@ -8,11 +8,11 @@ import ( cometabci "github.com/cometbft/cometbft/abci/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/slinky/abci/strategies/codec" - slinkyabcitypes "github.com/skip-mev/slinky/abci/types" - oracletypes "github.com/skip-mev/slinky/x/oracle/types" + "github.com/dydxprotocol/slinky/abci/strategies/codec" + slinkyabcitypes "github.com/dydxprotocol/slinky/abci/types" + oracletypes "github.com/dydxprotocol/slinky/x/oracle/types" - slinkytypes "github.com/skip-mev/slinky/pkg/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" ) // PriceApplier is an interface used in `ExtendVote` and `PreBlock` to apply the prices diff --git a/abci/strategies/aggregator/price_applier_test.go b/abci/strategies/aggregator/price_applier_test.go index 2d72d1c9f..542b25e47 100644 --- a/abci/strategies/aggregator/price_applier_test.go +++ b/abci/strategies/aggregator/price_applier_test.go @@ -9,20 +9,20 @@ import ( abcitypes "github.com/cometbft/cometbft/abci/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/slinky/abci/strategies/aggregator" - "github.com/skip-mev/slinky/abci/strategies/aggregator/mocks" - "github.com/skip-mev/slinky/abci/strategies/codec" - "github.com/skip-mev/slinky/abci/testutils" - abcimocks "github.com/skip-mev/slinky/abci/types/mocks" + "github.com/dydxprotocol/slinky/abci/strategies/aggregator" + "github.com/dydxprotocol/slinky/abci/strategies/aggregator/mocks" + "github.com/dydxprotocol/slinky/abci/strategies/codec" + "github.com/dydxprotocol/slinky/abci/testutils" + abcimocks "github.com/dydxprotocol/slinky/abci/types/mocks" "cosmossdk.io/log" cmtproto "github.com/cometbft/cometbft/proto/tendermint/types" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - vetypes "github.com/skip-mev/slinky/abci/ve/types" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - oracletypes "github.com/skip-mev/slinky/x/oracle/types" + vetypes "github.com/dydxprotocol/slinky/abci/ve/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + oracletypes "github.com/dydxprotocol/slinky/x/oracle/types" ) func TestPriceApplier(t *testing.T) { diff --git a/abci/strategies/aggregator/vote_aggregator.go b/abci/strategies/aggregator/vote_aggregator.go index 577efba4a..ed18f94b4 100644 --- a/abci/strategies/aggregator/vote_aggregator.go +++ b/abci/strategies/aggregator/vote_aggregator.go @@ -7,12 +7,12 @@ import ( "cosmossdk.io/log" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/slinky/abci/strategies/codec" - "github.com/skip-mev/slinky/abci/strategies/currencypair" - slinkyabci "github.com/skip-mev/slinky/abci/types" - vetypes "github.com/skip-mev/slinky/abci/ve/types" - "github.com/skip-mev/slinky/aggregator" - slinkytypes "github.com/skip-mev/slinky/pkg/types" + "github.com/dydxprotocol/slinky/abci/strategies/codec" + "github.com/dydxprotocol/slinky/abci/strategies/currencypair" + slinkyabci "github.com/dydxprotocol/slinky/abci/types" + vetypes "github.com/dydxprotocol/slinky/abci/ve/types" + "github.com/dydxprotocol/slinky/aggregator" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" ) // Vote encapsulates the validator and oracle data contained within a vote extension. diff --git a/abci/strategies/aggregator/vote_aggregator_test.go b/abci/strategies/aggregator/vote_aggregator_test.go index e4c757f77..21299dd36 100644 --- a/abci/strategies/aggregator/vote_aggregator_test.go +++ b/abci/strategies/aggregator/vote_aggregator_test.go @@ -12,13 +12,13 @@ import ( "github.com/stretchr/testify/mock" "github.com/stretchr/testify/suite" - "github.com/skip-mev/slinky/abci/strategies/aggregator" - "github.com/skip-mev/slinky/abci/strategies/codec" - currencypairmocks "github.com/skip-mev/slinky/abci/strategies/currencypair/mocks" - "github.com/skip-mev/slinky/abci/testutils" - "github.com/skip-mev/slinky/pkg/math/voteweighted" - "github.com/skip-mev/slinky/pkg/math/voteweighted/mocks" - slinkytypes "github.com/skip-mev/slinky/pkg/types" + "github.com/dydxprotocol/slinky/abci/strategies/aggregator" + "github.com/dydxprotocol/slinky/abci/strategies/codec" + currencypairmocks "github.com/dydxprotocol/slinky/abci/strategies/currencypair/mocks" + "github.com/dydxprotocol/slinky/abci/testutils" + "github.com/dydxprotocol/slinky/pkg/math/voteweighted" + "github.com/dydxprotocol/slinky/pkg/math/voteweighted/mocks" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" ) var ( diff --git a/abci/strategies/codec/codec.go b/abci/strategies/codec/codec.go index 7096181b0..fd8c1e22a 100644 --- a/abci/strategies/codec/codec.go +++ b/abci/strategies/codec/codec.go @@ -8,7 +8,7 @@ import ( cometabci "github.com/cometbft/cometbft/abci/types" "github.com/klauspost/compress/zstd" - vetypes "github.com/skip-mev/slinky/abci/ve/types" + vetypes "github.com/dydxprotocol/slinky/abci/ve/types" ) var ( diff --git a/abci/strategies/codec/codec_test.go b/abci/strategies/codec/codec_test.go index 96ba33295..8b70ed4ce 100644 --- a/abci/strategies/codec/codec_test.go +++ b/abci/strategies/codec/codec_test.go @@ -7,8 +7,8 @@ import ( cmtabci "github.com/cometbft/cometbft/abci/types" - compression "github.com/skip-mev/slinky/abci/strategies/codec" - vetypes "github.com/skip-mev/slinky/abci/ve/types" + compression "github.com/dydxprotocol/slinky/abci/strategies/codec" + vetypes "github.com/dydxprotocol/slinky/abci/ve/types" ) func TestDefaultVoteExtensionCodec(t *testing.T) { diff --git a/abci/strategies/codec/mocks/vote_extension_codec.go b/abci/strategies/codec/mocks/vote_extension_codec.go index 46a84d537..0d36b1b5d 100644 --- a/abci/strategies/codec/mocks/vote_extension_codec.go +++ b/abci/strategies/codec/mocks/vote_extension_codec.go @@ -5,7 +5,7 @@ package mocks import ( mock "github.com/stretchr/testify/mock" - types "github.com/skip-mev/slinky/abci/ve/types" + types "github.com/dydxprotocol/slinky/abci/ve/types" ) // VoteExtensionCodec is an autogenerated mock type for the VoteExtensionCodec type diff --git a/abci/strategies/currencypair/default.go b/abci/strategies/currencypair/default.go index 2cd50db09..2f8f6100b 100644 --- a/abci/strategies/currencypair/default.go +++ b/abci/strategies/currencypair/default.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - slinkytypes "github.com/skip-mev/slinky/pkg/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" ) const ( diff --git a/abci/strategies/currencypair/default_test.go b/abci/strategies/currencypair/default_test.go index 7bfdc982b..4001094f0 100644 --- a/abci/strategies/currencypair/default_test.go +++ b/abci/strategies/currencypair/default_test.go @@ -7,9 +7,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - strategies "github.com/skip-mev/slinky/abci/strategies/currencypair" - "github.com/skip-mev/slinky/abci/strategies/currencypair/mocks" - slinkytypes "github.com/skip-mev/slinky/pkg/types" + strategies "github.com/dydxprotocol/slinky/abci/strategies/currencypair" + "github.com/dydxprotocol/slinky/abci/strategies/currencypair/mocks" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" ) var ( diff --git a/abci/strategies/currencypair/delta.go b/abci/strategies/currencypair/delta.go index 50d8dd24e..6c43b969e 100644 --- a/abci/strategies/currencypair/delta.go +++ b/abci/strategies/currencypair/delta.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - oracletypes "github.com/skip-mev/slinky/x/oracle/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + oracletypes "github.com/dydxprotocol/slinky/x/oracle/types" ) // DeltaCurrencyPairStrategy is a strategy that inherits from the DefaultCurrencyPairStrategy but diff --git a/abci/strategies/currencypair/delta_test.go b/abci/strategies/currencypair/delta_test.go index e2a22cc44..76f4d92a5 100644 --- a/abci/strategies/currencypair/delta_test.go +++ b/abci/strategies/currencypair/delta_test.go @@ -8,11 +8,11 @@ import ( "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/abci/strategies/currencypair" - mocks "github.com/skip-mev/slinky/abci/strategies/currencypair/mocks" - "github.com/skip-mev/slinky/abci/testutils" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - oracletypes "github.com/skip-mev/slinky/x/oracle/types" + "github.com/dydxprotocol/slinky/abci/strategies/currencypair" + mocks "github.com/dydxprotocol/slinky/abci/strategies/currencypair/mocks" + "github.com/dydxprotocol/slinky/abci/testutils" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + oracletypes "github.com/dydxprotocol/slinky/x/oracle/types" ) func TestDeltaCurrencyPairStrategyGetEncodedPrice(t *testing.T) { diff --git a/abci/strategies/currencypair/hash.go b/abci/strategies/currencypair/hash.go index ce3ce6c36..83914e214 100644 --- a/abci/strategies/currencypair/hash.go +++ b/abci/strategies/currencypair/hash.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - slinkytypes "github.com/skip-mev/slinky/pkg/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" ) // HashCurrencyPairStrategy is a strategy that uses the sha256 hash of the currency diff --git a/abci/strategies/currencypair/hash_test.go b/abci/strategies/currencypair/hash_test.go index 21b150b2c..49ac0bea9 100644 --- a/abci/strategies/currencypair/hash_test.go +++ b/abci/strategies/currencypair/hash_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - strategies "github.com/skip-mev/slinky/abci/strategies/currencypair" - "github.com/skip-mev/slinky/abci/strategies/currencypair/mocks" - slinkytypes "github.com/skip-mev/slinky/pkg/types" + strategies "github.com/dydxprotocol/slinky/abci/strategies/currencypair" + "github.com/dydxprotocol/slinky/abci/strategies/currencypair/mocks" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" ) func TestHashCurrencyPairStrategyID(t *testing.T) { diff --git a/abci/strategies/currencypair/mocks/mock_currency_pair_strategy.go b/abci/strategies/currencypair/mocks/mock_currency_pair_strategy.go index 92d861683..4f5a507d8 100644 --- a/abci/strategies/currencypair/mocks/mock_currency_pair_strategy.go +++ b/abci/strategies/currencypair/mocks/mock_currency_pair_strategy.go @@ -7,7 +7,7 @@ import ( mock "github.com/stretchr/testify/mock" - pkgtypes "github.com/skip-mev/slinky/pkg/types" + pkgtypes "github.com/dydxprotocol/slinky/pkg/types" types "github.com/cosmos/cosmos-sdk/types" ) diff --git a/abci/strategies/currencypair/mocks/mock_oracle_keeper.go b/abci/strategies/currencypair/mocks/mock_oracle_keeper.go index 3fe07eca4..97d9a58be 100644 --- a/abci/strategies/currencypair/mocks/mock_oracle_keeper.go +++ b/abci/strategies/currencypair/mocks/mock_oracle_keeper.go @@ -5,9 +5,9 @@ package mocks import ( mock "github.com/stretchr/testify/mock" - oracletypes "github.com/skip-mev/slinky/x/oracle/types" + oracletypes "github.com/dydxprotocol/slinky/x/oracle/types" - pkgtypes "github.com/skip-mev/slinky/pkg/types" + pkgtypes "github.com/dydxprotocol/slinky/pkg/types" types "github.com/cosmos/cosmos-sdk/types" ) diff --git a/abci/strategies/currencypair/types.go b/abci/strategies/currencypair/types.go index 951b6b6d0..e4a5ff85f 100644 --- a/abci/strategies/currencypair/types.go +++ b/abci/strategies/currencypair/types.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - oracletypes "github.com/skip-mev/slinky/x/oracle/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + oracletypes "github.com/dydxprotocol/slinky/x/oracle/types" ) // OracleKeeper is an interface for interacting with the x/oracle state. diff --git a/abci/testutils/utils.go b/abci/testutils/utils.go index 4294b133b..c8f30ee14 100644 --- a/abci/testutils/utils.go +++ b/abci/testutils/utils.go @@ -11,11 +11,11 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil" - compression "github.com/skip-mev/slinky/abci/strategies/codec" - "github.com/skip-mev/slinky/abci/ve/types" - "github.com/skip-mev/slinky/x/oracle/keeper" - oracletypes "github.com/skip-mev/slinky/x/oracle/types" - "github.com/skip-mev/slinky/x/oracle/types/mocks" + compression "github.com/dydxprotocol/slinky/abci/strategies/codec" + "github.com/dydxprotocol/slinky/abci/ve/types" + "github.com/dydxprotocol/slinky/x/oracle/keeper" + oracletypes "github.com/dydxprotocol/slinky/x/oracle/types" + "github.com/dydxprotocol/slinky/x/oracle/types/mocks" ) // CreateTestOracleKeeperWithGenesis creates a test oracle keeper with the given genesis state. diff --git a/abci/types/errors.go b/abci/types/errors.go index 39a4d1cf3..0eb5fd4e1 100644 --- a/abci/types/errors.go +++ b/abci/types/errors.go @@ -3,7 +3,7 @@ package types import ( "fmt" - servicemetrics "github.com/skip-mev/slinky/service/metrics" + servicemetrics "github.com/dydxprotocol/slinky/service/metrics" ) // NilRequestError is an error that is returned when a nil request is given to the handler. diff --git a/abci/types/interfaces.go b/abci/types/interfaces.go index af42067a3..e1747f63b 100644 --- a/abci/types/interfaces.go +++ b/abci/types/interfaces.go @@ -6,9 +6,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "google.golang.org/grpc" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - servertypes "github.com/skip-mev/slinky/service/servers/oracle/types" - oracletypes "github.com/skip-mev/slinky/x/oracle/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + servertypes "github.com/dydxprotocol/slinky/service/servers/oracle/types" + oracletypes "github.com/dydxprotocol/slinky/x/oracle/types" ) // OracleKeeper defines the interface that must be fulfilled by the oracle keeper. This diff --git a/abci/types/mocks/mock_oracle_keeper.go b/abci/types/mocks/mock_oracle_keeper.go index aeaccb717..0c92aeae3 100644 --- a/abci/types/mocks/mock_oracle_keeper.go +++ b/abci/types/mocks/mock_oracle_keeper.go @@ -5,9 +5,9 @@ package mocks import ( mock "github.com/stretchr/testify/mock" - oracletypes "github.com/skip-mev/slinky/x/oracle/types" + oracletypes "github.com/dydxprotocol/slinky/x/oracle/types" - pkgtypes "github.com/skip-mev/slinky/pkg/types" + pkgtypes "github.com/dydxprotocol/slinky/pkg/types" types "github.com/cosmos/cosmos-sdk/types" ) diff --git a/abci/types/utils.go b/abci/types/utils.go index 7a16a1141..1f3f506a4 100644 --- a/abci/types/utils.go +++ b/abci/types/utils.go @@ -4,7 +4,7 @@ import ( "errors" "time" - servicemetrics "github.com/skip-mev/slinky/service/metrics" + servicemetrics "github.com/dydxprotocol/slinky/service/metrics" ) // RecordLatencyAndStatus is used by the ABCI handlers to record their e2e latency, and the status of the request diff --git a/abci/ve/utils.go b/abci/ve/utils.go index da2ac2849..2c0eeb48e 100644 --- a/abci/ve/utils.go +++ b/abci/ve/utils.go @@ -15,9 +15,9 @@ import ( protoio "github.com/cosmos/gogoproto/io" "github.com/cosmos/gogoproto/proto" - "github.com/skip-mev/slinky/abci/strategies/currencypair" - slinkyabci "github.com/skip-mev/slinky/abci/types" - vetypes "github.com/skip-mev/slinky/abci/ve/types" + "github.com/dydxprotocol/slinky/abci/strategies/currencypair" + slinkyabci "github.com/dydxprotocol/slinky/abci/types" + vetypes "github.com/dydxprotocol/slinky/abci/ve/types" ) // ValidateOracleVoteExtension validates the vote extension provided by a validator. diff --git a/abci/ve/utils_test.go b/abci/ve/utils_test.go index 4ddbabc1d..5416a407d 100644 --- a/abci/ve/utils_test.go +++ b/abci/ve/utils_test.go @@ -21,7 +21,7 @@ import ( "github.com/golang/mock/gomock" "github.com/stretchr/testify/suite" - "github.com/skip-mev/slinky/abci/ve" + "github.com/dydxprotocol/slinky/abci/ve" ) const ( diff --git a/abci/ve/vote_extension.go b/abci/ve/vote_extension.go index bed9cffef..9bcc19dd0 100644 --- a/abci/ve/vote_extension.go +++ b/abci/ve/vote_extension.go @@ -11,14 +11,14 @@ import ( cometabci "github.com/cometbft/cometbft/abci/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/slinky/abci/strategies/aggregator" - compression "github.com/skip-mev/slinky/abci/strategies/codec" - "github.com/skip-mev/slinky/abci/strategies/currencypair" - slinkyabci "github.com/skip-mev/slinky/abci/types" - "github.com/skip-mev/slinky/abci/ve/types" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - servicemetrics "github.com/skip-mev/slinky/service/metrics" - servicetypes "github.com/skip-mev/slinky/service/servers/oracle/types" + "github.com/dydxprotocol/slinky/abci/strategies/aggregator" + compression "github.com/dydxprotocol/slinky/abci/strategies/codec" + "github.com/dydxprotocol/slinky/abci/strategies/currencypair" + slinkyabci "github.com/dydxprotocol/slinky/abci/types" + "github.com/dydxprotocol/slinky/abci/ve/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + servicemetrics "github.com/dydxprotocol/slinky/service/metrics" + servicetypes "github.com/dydxprotocol/slinky/service/servers/oracle/types" ) // VoteExtensionHandler is a handler that extends a vote with the oracle's diff --git a/abci/ve/vote_extension_test.go b/abci/ve/vote_extension_test.go index 19c423b7e..8b8001610 100644 --- a/abci/ve/vote_extension_test.go +++ b/abci/ve/vote_extension_test.go @@ -12,20 +12,20 @@ import ( "github.com/stretchr/testify/mock" "github.com/stretchr/testify/suite" - aggregatormocks "github.com/skip-mev/slinky/abci/strategies/aggregator/mocks" - "github.com/skip-mev/slinky/abci/strategies/codec" - codecmocks "github.com/skip-mev/slinky/abci/strategies/codec/mocks" - mockstrategies "github.com/skip-mev/slinky/abci/strategies/currencypair/mocks" - "github.com/skip-mev/slinky/abci/testutils" - slinkyabci "github.com/skip-mev/slinky/abci/types" - "github.com/skip-mev/slinky/abci/ve" - abcitypes "github.com/skip-mev/slinky/abci/ve/types" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - client "github.com/skip-mev/slinky/service/clients/oracle" - "github.com/skip-mev/slinky/service/clients/oracle/mocks" - servicemetrics "github.com/skip-mev/slinky/service/metrics" - metricsmocks "github.com/skip-mev/slinky/service/metrics/mocks" - servicetypes "github.com/skip-mev/slinky/service/servers/oracle/types" + aggregatormocks "github.com/dydxprotocol/slinky/abci/strategies/aggregator/mocks" + "github.com/dydxprotocol/slinky/abci/strategies/codec" + codecmocks "github.com/dydxprotocol/slinky/abci/strategies/codec/mocks" + mockstrategies "github.com/dydxprotocol/slinky/abci/strategies/currencypair/mocks" + "github.com/dydxprotocol/slinky/abci/testutils" + slinkyabci "github.com/dydxprotocol/slinky/abci/types" + "github.com/dydxprotocol/slinky/abci/ve" + abcitypes "github.com/dydxprotocol/slinky/abci/ve/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + client "github.com/dydxprotocol/slinky/service/clients/oracle" + "github.com/dydxprotocol/slinky/service/clients/oracle/mocks" + servicemetrics "github.com/dydxprotocol/slinky/service/metrics" + metricsmocks "github.com/dydxprotocol/slinky/service/metrics/mocks" + servicetypes "github.com/dydxprotocol/slinky/service/servers/oracle/types" ) var ( diff --git a/api/slinky/marketmap/v1/market.pulsar.go b/api/slinky/marketmap/v1/market.pulsar.go index 1dc460e0b..17c8e2e8b 100644 --- a/api/slinky/marketmap/v1/market.pulsar.go +++ b/api/slinky/marketmap/v1/market.pulsar.go @@ -5,7 +5,7 @@ import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" - v1 "github.com/skip-mev/slinky/api/slinky/types/v1" + v1 "github.com/dydxprotocol/slinky/api/slinky/types/v1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" protoimpl "google.golang.org/protobuf/runtime/protoimpl" diff --git a/api/slinky/marketmap/v1/query.pulsar.go b/api/slinky/marketmap/v1/query.pulsar.go index a0297cfde..e8e0a0122 100644 --- a/api/slinky/marketmap/v1/query.pulsar.go +++ b/api/slinky/marketmap/v1/query.pulsar.go @@ -5,7 +5,7 @@ import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" - v1 "github.com/skip-mev/slinky/api/slinky/types/v1" + v1 "github.com/dydxprotocol/slinky/api/slinky/types/v1" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" diff --git a/api/slinky/oracle/v1/genesis.pulsar.go b/api/slinky/oracle/v1/genesis.pulsar.go index cb0f9eb8c..0613c0b09 100644 --- a/api/slinky/oracle/v1/genesis.pulsar.go +++ b/api/slinky/oracle/v1/genesis.pulsar.go @@ -6,7 +6,7 @@ import ( _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" - v1 "github.com/skip-mev/slinky/api/slinky/types/v1" + v1 "github.com/dydxprotocol/slinky/api/slinky/types/v1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" protoimpl "google.golang.org/protobuf/runtime/protoimpl" diff --git a/api/slinky/oracle/v1/query.pulsar.go b/api/slinky/oracle/v1/query.pulsar.go index 279a2493d..9b8a8a1e2 100644 --- a/api/slinky/oracle/v1/query.pulsar.go +++ b/api/slinky/oracle/v1/query.pulsar.go @@ -5,7 +5,7 @@ import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" - v1 "github.com/skip-mev/slinky/api/slinky/types/v1" + v1 "github.com/dydxprotocol/slinky/api/slinky/types/v1" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" diff --git a/api/slinky/oracle/v1/tx.pulsar.go b/api/slinky/oracle/v1/tx.pulsar.go index 3e63b03eb..833105dc4 100644 --- a/api/slinky/oracle/v1/tx.pulsar.go +++ b/api/slinky/oracle/v1/tx.pulsar.go @@ -8,7 +8,7 @@ import ( _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" - v1 "github.com/skip-mev/slinky/api/slinky/types/v1" + v1 "github.com/dydxprotocol/slinky/api/slinky/types/v1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" protoimpl "google.golang.org/protobuf/runtime/protoimpl" diff --git a/cmd/client/main.go b/cmd/client/main.go index 5a20bd69b..1130b8d33 100644 --- a/cmd/client/main.go +++ b/cmd/client/main.go @@ -14,8 +14,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - slinkygrpc "github.com/skip-mev/slinky/pkg/grpc" - "github.com/skip-mev/slinky/service/servers/oracle/types" + slinkygrpc "github.com/dydxprotocol/slinky/pkg/grpc" + "github.com/dydxprotocol/slinky/service/servers/oracle/types" ) var ( diff --git a/cmd/constants/marketmaps/markets.go b/cmd/constants/marketmaps/markets.go index 1c1a6f808..5a382e7ae 100644 --- a/cmd/constants/marketmaps/markets.go +++ b/cmd/constants/marketmaps/markets.go @@ -5,7 +5,7 @@ import ( "errors" "fmt" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) var ( diff --git a/cmd/constants/marketmaps/markets_test.go b/cmd/constants/marketmaps/markets_test.go index f7c5e92f1..4ee40de6c 100644 --- a/cmd/constants/marketmaps/markets_test.go +++ b/cmd/constants/marketmaps/markets_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/cmd/constants/marketmaps" - marketmaptypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/cmd/constants/marketmaps" + marketmaptypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) func TestMarkets(t *testing.T) { diff --git a/cmd/constants/providers.go b/cmd/constants/providers.go index e4bff5980..7e23f782e 100644 --- a/cmd/constants/providers.go +++ b/cmd/constants/providers.go @@ -1,35 +1,35 @@ package constants import ( - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/constants" - "github.com/skip-mev/slinky/oracle/types" - binanceapi "github.com/skip-mev/slinky/providers/apis/binance" - bitstampapi "github.com/skip-mev/slinky/providers/apis/bitstamp" - coinbaseapi "github.com/skip-mev/slinky/providers/apis/coinbase" - "github.com/skip-mev/slinky/providers/apis/coingecko" - "github.com/skip-mev/slinky/providers/apis/coinmarketcap" - "github.com/skip-mev/slinky/providers/apis/defi/osmosis" - "github.com/skip-mev/slinky/providers/apis/defi/raydium" - "github.com/skip-mev/slinky/providers/apis/defi/uniswapv3" - "github.com/skip-mev/slinky/providers/apis/dydx" - krakenapi "github.com/skip-mev/slinky/providers/apis/kraken" - "github.com/skip-mev/slinky/providers/apis/marketmap" - "github.com/skip-mev/slinky/providers/apis/polymarket" - "github.com/skip-mev/slinky/providers/volatile" - binancews "github.com/skip-mev/slinky/providers/websockets/binance" - "github.com/skip-mev/slinky/providers/websockets/bitfinex" - "github.com/skip-mev/slinky/providers/websockets/bitstamp" - "github.com/skip-mev/slinky/providers/websockets/bybit" - "github.com/skip-mev/slinky/providers/websockets/coinbase" - "github.com/skip-mev/slinky/providers/websockets/cryptodotcom" - "github.com/skip-mev/slinky/providers/websockets/gate" - "github.com/skip-mev/slinky/providers/websockets/huobi" - "github.com/skip-mev/slinky/providers/websockets/kraken" - "github.com/skip-mev/slinky/providers/websockets/kucoin" - "github.com/skip-mev/slinky/providers/websockets/mexc" - "github.com/skip-mev/slinky/providers/websockets/okx" - mmtypes "github.com/skip-mev/slinky/service/clients/marketmap/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/constants" + "github.com/dydxprotocol/slinky/oracle/types" + binanceapi "github.com/dydxprotocol/slinky/providers/apis/binance" + bitstampapi "github.com/dydxprotocol/slinky/providers/apis/bitstamp" + coinbaseapi "github.com/dydxprotocol/slinky/providers/apis/coinbase" + "github.com/dydxprotocol/slinky/providers/apis/coingecko" + "github.com/dydxprotocol/slinky/providers/apis/coinmarketcap" + "github.com/dydxprotocol/slinky/providers/apis/defi/osmosis" + "github.com/dydxprotocol/slinky/providers/apis/defi/raydium" + "github.com/dydxprotocol/slinky/providers/apis/defi/uniswapv3" + "github.com/dydxprotocol/slinky/providers/apis/dydx" + krakenapi "github.com/dydxprotocol/slinky/providers/apis/kraken" + "github.com/dydxprotocol/slinky/providers/apis/marketmap" + "github.com/dydxprotocol/slinky/providers/apis/polymarket" + "github.com/dydxprotocol/slinky/providers/volatile" + binancews "github.com/dydxprotocol/slinky/providers/websockets/binance" + "github.com/dydxprotocol/slinky/providers/websockets/bitfinex" + "github.com/dydxprotocol/slinky/providers/websockets/bitstamp" + "github.com/dydxprotocol/slinky/providers/websockets/bybit" + "github.com/dydxprotocol/slinky/providers/websockets/coinbase" + "github.com/dydxprotocol/slinky/providers/websockets/cryptodotcom" + "github.com/dydxprotocol/slinky/providers/websockets/gate" + "github.com/dydxprotocol/slinky/providers/websockets/huobi" + "github.com/dydxprotocol/slinky/providers/websockets/kraken" + "github.com/dydxprotocol/slinky/providers/websockets/kucoin" + "github.com/dydxprotocol/slinky/providers/websockets/mexc" + "github.com/dydxprotocol/slinky/providers/websockets/okx" + mmtypes "github.com/dydxprotocol/slinky/service/clients/marketmap/types" ) var ( diff --git a/cmd/slinky/config/config.go b/cmd/slinky/config/config.go index 17be5e013..006e19cde 100644 --- a/cmd/slinky/config/config.go +++ b/cmd/slinky/config/config.go @@ -8,9 +8,9 @@ import ( "github.com/mitchellh/mapstructure" "github.com/spf13/viper" - "github.com/skip-mev/slinky/cmd/constants" - "github.com/skip-mev/slinky/oracle/config" - mmtypes "github.com/skip-mev/slinky/service/clients/marketmap/types" + "github.com/dydxprotocol/slinky/cmd/constants" + "github.com/dydxprotocol/slinky/oracle/config" + mmtypes "github.com/dydxprotocol/slinky/service/clients/marketmap/types" ) const ( diff --git a/cmd/slinky/config/config_test.go b/cmd/slinky/config/config_test.go index 5f6c2a247..57aeff14f 100644 --- a/cmd/slinky/config/config_test.go +++ b/cmd/slinky/config/config_test.go @@ -8,12 +8,12 @@ import ( "github.com/stretchr/testify/require" - cmdconfig "github.com/skip-mev/slinky/cmd/slinky/config" - oracleconfig "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/providers/apis/defi/raydium" - "github.com/skip-mev/slinky/providers/apis/marketmap" - "github.com/skip-mev/slinky/providers/websockets/coinbase" - mmtypes "github.com/skip-mev/slinky/service/clients/marketmap/types" + cmdconfig "github.com/dydxprotocol/slinky/cmd/slinky/config" + oracleconfig "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/providers/apis/defi/raydium" + "github.com/dydxprotocol/slinky/providers/apis/marketmap" + "github.com/dydxprotocol/slinky/providers/websockets/coinbase" + mmtypes "github.com/dydxprotocol/slinky/service/clients/marketmap/types" ) func TestValidateBasic(t *testing.T) { diff --git a/cmd/slinky/main.go b/cmd/slinky/main.go index f98d0833b..2cb3d63c8 100644 --- a/cmd/slinky/main.go +++ b/cmd/slinky/main.go @@ -18,19 +18,19 @@ import ( "github.com/spf13/viper" "go.uber.org/zap" - "github.com/skip-mev/slinky/cmd/build" - cmdconfig "github.com/skip-mev/slinky/cmd/slinky/config" - "github.com/skip-mev/slinky/oracle" - "github.com/skip-mev/slinky/oracle/config" - oraclemetrics "github.com/skip-mev/slinky/oracle/metrics" - "github.com/skip-mev/slinky/pkg/log" - oraclemath "github.com/skip-mev/slinky/pkg/math/oracle" - "github.com/skip-mev/slinky/providers/apis/marketmap" - oraclefactory "github.com/skip-mev/slinky/providers/factories/oracle" - mmservicetypes "github.com/skip-mev/slinky/service/clients/marketmap/types" - oracleserver "github.com/skip-mev/slinky/service/servers/oracle" - promserver "github.com/skip-mev/slinky/service/servers/prometheus" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/cmd/build" + cmdconfig "github.com/dydxprotocol/slinky/cmd/slinky/config" + "github.com/dydxprotocol/slinky/oracle" + "github.com/dydxprotocol/slinky/oracle/config" + oraclemetrics "github.com/dydxprotocol/slinky/oracle/metrics" + "github.com/dydxprotocol/slinky/pkg/log" + oraclemath "github.com/dydxprotocol/slinky/pkg/math/oracle" + "github.com/dydxprotocol/slinky/providers/apis/marketmap" + oraclefactory "github.com/dydxprotocol/slinky/providers/factories/oracle" + mmservicetypes "github.com/dydxprotocol/slinky/service/clients/marketmap/types" + oracleserver "github.com/dydxprotocol/slinky/service/servers/oracle" + promserver "github.com/dydxprotocol/slinky/service/servers/prometheus" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) var ( diff --git a/cmd/vote-extensions-cli/main.go b/cmd/vote-extensions-cli/main.go index bfc6f2ba9..9d29bb3b3 100644 --- a/cmd/vote-extensions-cli/main.go +++ b/cmd/vote-extensions-cli/main.go @@ -9,7 +9,7 @@ import ( cmthttp "github.com/cometbft/cometbft/rpc/client/http" "github.com/spf13/cobra" - "github.com/skip-mev/slinky/abci/strategies/codec" + "github.com/dydxprotocol/slinky/abci/strategies/codec" ) var ( diff --git a/contrib/images/slinky.e2e.Dockerfile b/contrib/images/slinky.e2e.Dockerfile index 44323f854..a8fcede22 100644 --- a/contrib/images/slinky.e2e.Dockerfile +++ b/contrib/images/slinky.e2e.Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/skip-mev/slinky-dev-base AS builder +FROM ghcr.io/dydxprotocol/slinky-dev-base AS builder WORKDIR /src/slinky diff --git a/contrib/images/slinky.local.Dockerfile b/contrib/images/slinky.local.Dockerfile index a7f9b7d83..bddac1df3 100644 --- a/contrib/images/slinky.local.Dockerfile +++ b/contrib/images/slinky.local.Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/skip-mev/slinky-dev-base AS builder +FROM ghcr.io/dydxprotocol/slinky-dev-base AS builder WORKDIR /src/slinky diff --git a/contrib/images/slinky.sidecar.dev.Dockerfile b/contrib/images/slinky.sidecar.dev.Dockerfile index c45a14630..5132d0842 100644 --- a/contrib/images/slinky.sidecar.dev.Dockerfile +++ b/contrib/images/slinky.sidecar.dev.Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/skip-mev/slinky-dev-base AS builder +FROM ghcr.io/dydxprotocol/slinky-dev-base AS builder WORKDIR /src/slinky diff --git a/contrib/images/slinky.sidecar.e2e.Dockerfile b/contrib/images/slinky.sidecar.e2e.Dockerfile index 4effb42c4..d3ded59f4 100644 --- a/contrib/images/slinky.sidecar.e2e.Dockerfile +++ b/contrib/images/slinky.sidecar.e2e.Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/skip-mev/slinky-dev-base AS builder +FROM ghcr.io/dydxprotocol/slinky-dev-base AS builder WORKDIR /src/slinky diff --git a/contrib/images/slinky.sidecar.prod.Dockerfile b/contrib/images/slinky.sidecar.prod.Dockerfile index f448885e7..15eda9b13 100644 --- a/contrib/images/slinky.sidecar.prod.Dockerfile +++ b/contrib/images/slinky.sidecar.prod.Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/skip-mev/slinky-dev-base AS builder +FROM ghcr.io/dydxprotocol/slinky-dev-base AS builder WORKDIR /src/slinky diff --git a/docs/developers/high-level.mdx b/docs/developers/high-level.mdx index 2cc79ae48..7bac4587d 100644 --- a/docs/developers/high-level.mdx +++ b/docs/developers/high-level.mdx @@ -10,13 +10,13 @@ icon: tag ## Summary -Connect prices are stored within the [x/oracle](https://github.com/skip-mev/slinky/tree/main/x/oracle) module. +Connect prices are stored within the [x/oracle](https://github.com/dydxprotocol/slinky/tree/main/x/oracle) module. On very specific chains - right now only dYdX - they live in a different storage module (in dYdX's case, `x/prices`). These prices are updated on a per-block basis when there is a sufficient delta from the last block's price. They can be accessed natively by CosmWasm smart contracts, other modules, or those with access to chain state. -Connect's market configuration is stored in the [x/marketmap](https://github.com/skip-mev/slinky/tree/main/x/marketmap). This module, unlike `x/oracle`, does **not** store price data. Instead, it stores which currency pairs are supported and how they are configured. +Connect's market configuration is stored in the [x/marketmap](https://github.com/dydxprotocol/slinky/tree/main/x/marketmap). This module, unlike `x/oracle`, does **not** store price data. Instead, it stores which currency pairs are supported and how they are configured. ### Getting Supported Assets diff --git a/docs/developers/integration.mdx b/docs/developers/integration.mdx index f8f79de7c..dfe3f9f3d 100644 --- a/docs/developers/integration.mdx +++ b/docs/developers/integration.mdx @@ -36,7 +36,7 @@ Integrating Connect into your Cosmos SDK application requires a few simple steps ## Keepers -First, add the [x/marketmap](https://github.com/skip-mev/slinky/blob/main/x/marketmap/README.md) and [x/oracle](https://github.com/skip-mev/slinky/tree/main/x/oracle) keepers to the application. +First, add the [x/marketmap](https://github.com/dydxprotocol/slinky/blob/main/x/marketmap/README.md) and [x/oracle](https://github.com/dydxprotocol/slinky/tree/main/x/oracle) keepers to the application. ```go app.go package app @@ -44,8 +44,8 @@ package app import ( // ... other imports - marketmapkeeper "github.com/skip-mev/slinky/x/marketmap/keeper" - oraclekeeper "github.com/skip-mev/slinky/x/oracle/keeper" + marketmapkeeper "github.com/dydxprotocol/slinky/x/marketmap/keeper" + oraclekeeper "github.com/dydxprotocol/slinky/x/oracle/keeper" ) type App struct { @@ -85,9 +85,9 @@ import ( "context" "github.com/cosmos/cosmos-sdk/server/types" - oracleconfig "github.com/skip-mev/slinky/oracle/config" - oracleclient "github.com/skip-mev/slinky/service/clients/oracle" - servicemetrics "github.com/skip-mev/slinky/service/metrics" + oracleconfig "github.com/dydxprotocol/slinky/oracle/config" + oracleclient "github.com/dydxprotocol/slinky/service/clients/oracle" + servicemetrics "github.com/dydxprotocol/slinky/service/metrics" ) // initializeOracle initializes the oracle client and metrics. @@ -150,14 +150,14 @@ Start with setting up the proposal handler. package app import ( - oracleclient "github.com/skip-mev/slinky/service/clients/oracle" - servicemetrics "github.com/skip-mev/slinky/service/metrics" + oracleclient "github.com/dydxprotocol/slinky/service/clients/oracle" + servicemetrics "github.com/dydxprotocol/slinky/service/metrics" "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/skip-mev/slinky/abci/proposals" - compression "github.com/skip-mev/slinky/abci/strategies/codec" - "github.com/skip-mev/slinky/abci/strategies/currencypair" - "github.com/skip-mev/slinky/abci/ve" + "github.com/dydxprotocol/slinky/abci/proposals" + compression "github.com/dydxprotocol/slinky/abci/strategies/codec" + "github.com/dydxprotocol/slinky/abci/strategies/currencypair" + "github.com/dydxprotocol/slinky/abci/ve" ) func (app *App) initializeABCIExtensions(oracleClient oracleclient.OracleClient, oracleMetrics servicemetrics.Metrics) { @@ -194,13 +194,13 @@ Next, set up the `PreBlocker`. This involves: package app import ( - oracleclient "github.com/skip-mev/slinky/service/clients/oracle" - servicemetrics "github.com/skip-mev/slinky/service/metrics" + oracleclient "github.com/dydxprotocol/slinky/service/clients/oracle" + servicemetrics "github.com/dydxprotocol/slinky/service/metrics" - oraclepreblock "github.com/skip-mev/slinky/abci/preblock/oracle" - compression "github.com/skip-mev/slinky/abci/strategies/codec" - "github.com/skip-mev/slinky/abci/strategies/currencypair" - "github.com/skip-mev/slinky/pkg/math/voteweighted" + oraclepreblock "github.com/dydxprotocol/slinky/abci/preblock/oracle" + compression "github.com/dydxprotocol/slinky/abci/strategies/codec" + "github.com/dydxprotocol/slinky/abci/strategies/currencypair" + "github.com/dydxprotocol/slinky/pkg/math/voteweighted" ) func (app *App) initializeABCIExtensions(oracleClient oracleclient.OracleClient, oracleMetrics servicemetrics.Metrics) { @@ -246,12 +246,12 @@ package app import ( "time" - oracleclient "github.com/skip-mev/slinky/service/clients/oracle" - servicemetrics "github.com/skip-mev/slinky/service/metrics" + oracleclient "github.com/dydxprotocol/slinky/service/clients/oracle" + servicemetrics "github.com/dydxprotocol/slinky/service/metrics" - "github.com/skip-mev/slinky/abci/ve" - "github.com/skip-mev/slinky/abci/strategies/currencypair" - "github.com/skip-mev/slinky/abci/strategies/aggregator" + "github.com/dydxprotocol/slinky/abci/ve" + "github.com/dydxprotocol/slinky/abci/strategies/currencypair" + "github.com/dydxprotocol/slinky/abci/strategies/aggregator" ) func (app *App) initializeABCIExtensions(oracleClient oracleclient.OracleClient, oracleMetrics servicemetrics.Metrics) { @@ -318,7 +318,7 @@ import ( tmtypes "github.com/cometbft/cometbft/proto/tendermint/types" sdk "github.com/cosmos/cosmos-sdk/types" consensustypes "github.com/cosmos/cosmos-sdk/x/consensus/types" - "github.com/skip-mev/slinky/cmd/constants/marketmaps" + "github.com/dydxprotocol/slinky/cmd/constants/marketmaps" ) func (app *App) setupMarkets(ctx sdk.Context) error { diff --git a/docs/developers/modules/marketmap.mdx b/docs/developers/modules/marketmap.mdx index edd955fe7..a9f2979d1 100644 --- a/docs/developers/modules/marketmap.mdx +++ b/docs/developers/modules/marketmap.mdx @@ -304,4 +304,4 @@ type ParamsResponse struct { ## Proto Definitions -Proto definitions for all types, queries, and messages can be found [here](https://github.com/skip-mev/slinky/tree/main/proto/slinky/marketmap). +Proto definitions for all types, queries, and messages can be found [here](https://github.com/dydxprotocol/slinky/tree/main/proto/slinky/marketmap). diff --git a/docs/metrics/overview.mdx b/docs/metrics/overview.mdx index 4bd1e47d4..e882d7ecb 100644 --- a/docs/metrics/overview.mdx +++ b/docs/metrics/overview.mdx @@ -31,4 +31,4 @@ Connect will emit the following metrics from the oracle sidecar: ### Need More Metrics? -If you find yourself wanting more observability than what is provided, please open an issue on our [GitHub repo](https://github.com/skip-mev/slinky). \ No newline at end of file +If you find yourself wanting more observability than what is provided, please open an issue on our [GitHub repo](https://github.com/dydxprotocol/slinky). \ No newline at end of file diff --git a/docs/metrics/setup.mdx b/docs/metrics/setup.mdx index 8552a9d77..f2e224a0d 100644 --- a/docs/metrics/setup.mdx +++ b/docs/metrics/setup.mdx @@ -21,8 +21,8 @@ Import the following dashboard JSON files to view the available metrics in Grafa ### Sidecar -[Sidecar Dashboard JSON file](https://github.com/skip-mev/slinky/blob/main/grafana/provisioning/dashboards/side-car-dashboard.json) +[Sidecar Dashboard JSON file](https://github.com/dydxprotocol/slinky/blob/main/grafana/provisioning/dashboards/side-car-dashboard.json) ### Application -[Application Dashboard JSON file](https://github.com/skip-mev/slinky/blob/main/grafana/provisioning/dashboards/chain-dashboard.json) \ No newline at end of file +[Application Dashboard JSON file](https://github.com/dydxprotocol/slinky/blob/main/grafana/provisioning/dashboards/chain-dashboard.json) \ No newline at end of file diff --git a/docs/mint.json b/docs/mint.json index 17cdd2ebb..3ce9c4746 100644 --- a/docs/mint.json +++ b/docs/mint.json @@ -15,7 +15,7 @@ } }, "metadata": { - "og:image": "https://github.com/skip-mev/slinky/blob/main/docs/img/connect-banner.png?raw=True", + "og:image": "https://github.com/dydxprotocol/slinky/blob/main/docs/img/connect-banner.png?raw=True", "og:description": "Connect is an enshrined, in-protocol oracle built for high performance applications.", "og:site_name": "Connect Docs", "twitter:site": "@skipprotocol" @@ -90,6 +90,6 @@ "footerSocials": { "twitter": "https://twitter.com/skipprotocol", "discord": "https://discord.com/invite/hFeHVAE26P", - "github": "https://github.com/skip-mev/slinky" + "github": "https://github.com/dydxprotocol/slinky" } } diff --git a/docs/validators/quickstart.mdx b/docs/validators/quickstart.mdx index 03bf733bf..5ed34f65c 100644 --- a/docs/validators/quickstart.mdx +++ b/docs/validators/quickstart.mdx @@ -19,12 +19,12 @@ This document will guide you through setting up and running Connect, as well as ### Using Curl ```bash -curl -sSL https://raw.githubusercontent.com/skip-mev/slinky/main/scripts/install.sh | sudo bash +curl -sSL https://raw.githubusercontent.com/dydxprotocol/slinky/main/scripts/install.sh | sudo bash ``` ### From GitHub Releases -Head over to our [GitHub Releases](https://github.com/skip-mev/slinky/releases) page and download the binary that matches your machine's architecture. +Head over to our [GitHub Releases](https://github.com/dydxprotocol/slinky/releases) page and download the binary that matches your machine's architecture. ### From Source @@ -32,7 +32,7 @@ To install from source, you'll need [Git](https://git-scm.com/) and [Go](https:/ Enter the commands below to install the binary. ```shell -git clone git@github.com:skip-mev/slinky.git +git clone git@github.com:dydxprotocol/slinky.git cd slinky git checkout $(git describe --tags $(git rev-list --tags --max-count=1)) make install diff --git a/go.mod b/go.mod index 5df009a62..0394de4cc 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/skip-mev/slinky +module github.com/dydxprotocol/slinky go 1.23.1 diff --git a/metrics.md b/metrics.md index d58be85c9..51e2578a9 100644 --- a/metrics.md +++ b/metrics.md @@ -2,7 +2,7 @@ This document describes the various instrumentation points that are available in the side-car. This should be utilized to monitor the health of Slinky and the services it is proxying. -If there are any additional metrics that you would like to see, please open an issue in the [GitHub repository](https://github.com/skip-mev/slinky). Note that this document is not fully comprehensive and may be updated in the future. However, it should provide a good starting point for monitoring Slinky. It may be useful to read the [configuration overview](./oracle/config/README.md) to understand how the side-car is configured. However, this is NOT necessary. +If there are any additional metrics that you would like to see, please open an issue in the [GitHub repository](https://github.com/dydxprotocol/slinky). Note that this document is not fully comprehensive and may be updated in the future. However, it should provide a good starting point for monitoring Slinky. It may be useful to read the [configuration overview](./oracle/config/README.md) to understand how the side-car is configured. However, this is NOT necessary. # Table of Contents diff --git a/oracle/config/api_test.go b/oracle/config/api_test.go index a17507344..3f227a6e8 100644 --- a/oracle/config/api_test.go +++ b/oracle/config/api_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) func TestAPIConfig(t *testing.T) { diff --git a/oracle/config/app_test.go b/oracle/config/app_test.go index e3c9d5055..b24e7f90a 100644 --- a/oracle/config/app_test.go +++ b/oracle/config/app_test.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/testutil/sims" "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) func TestValidateBasic(t *testing.T) { diff --git a/oracle/config/metrics_test.go b/oracle/config/metrics_test.go index 67325c922..671d89a7b 100644 --- a/oracle/config/metrics_test.go +++ b/oracle/config/metrics_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) func TestMetricsConfig(t *testing.T) { diff --git a/oracle/config/oracle_test.go b/oracle/config/oracle_test.go index 5e60fa18d..9a3de8e9e 100644 --- a/oracle/config/oracle_test.go +++ b/oracle/config/oracle_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) func TestOracleConfig(t *testing.T) { diff --git a/oracle/config/provider_test.go b/oracle/config/provider_test.go index 76ffdb21c..1aad40f04 100644 --- a/oracle/config/provider_test.go +++ b/oracle/config/provider_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) func TestProviderConfig(t *testing.T) { diff --git a/oracle/config/websocket_test.go b/oracle/config/websocket_test.go index 462e594a4..005334b73 100644 --- a/oracle/config/websocket_test.go +++ b/oracle/config/websocket_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) func TestWebSocketConfig(t *testing.T) { diff --git a/oracle/helpers_test.go b/oracle/helpers_test.go index 8dcd05f56..65a9c573f 100644 --- a/oracle/helpers_test.go +++ b/oracle/helpers_test.go @@ -8,22 +8,22 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle" - "github.com/skip-mev/slinky/oracle/config" - oracletypes "github.com/skip-mev/slinky/oracle/types" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/providers/apis/binance" - "github.com/skip-mev/slinky/providers/apis/coinbase" - "github.com/skip-mev/slinky/providers/apis/dydx" - "github.com/skip-mev/slinky/providers/base" - "github.com/skip-mev/slinky/providers/base/api/handlers/mocks" - apimetrics "github.com/skip-mev/slinky/providers/base/api/metrics" - providermetrics "github.com/skip-mev/slinky/providers/base/metrics" - "github.com/skip-mev/slinky/providers/static" - providertypes "github.com/skip-mev/slinky/providers/types" - "github.com/skip-mev/slinky/providers/websockets/okx" - mmclienttypes "github.com/skip-mev/slinky/service/clients/marketmap/types" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/oracle" + "github.com/dydxprotocol/slinky/oracle/config" + oracletypes "github.com/dydxprotocol/slinky/oracle/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/providers/apis/binance" + "github.com/dydxprotocol/slinky/providers/apis/coinbase" + "github.com/dydxprotocol/slinky/providers/apis/dydx" + "github.com/dydxprotocol/slinky/providers/base" + "github.com/dydxprotocol/slinky/providers/base/api/handlers/mocks" + apimetrics "github.com/dydxprotocol/slinky/providers/base/api/metrics" + providermetrics "github.com/dydxprotocol/slinky/providers/base/metrics" + "github.com/dydxprotocol/slinky/providers/static" + providertypes "github.com/dydxprotocol/slinky/providers/types" + "github.com/dydxprotocol/slinky/providers/websockets/okx" + mmclienttypes "github.com/dydxprotocol/slinky/service/clients/marketmap/types" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) var ( diff --git a/oracle/init.go b/oracle/init.go index e7b587666..a51920b8f 100644 --- a/oracle/init.go +++ b/oracle/init.go @@ -7,10 +7,10 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base" - mmclienttypes "github.com/skip-mev/slinky/service/clients/marketmap/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base" + mmclienttypes "github.com/dydxprotocol/slinky/service/clients/marketmap/types" ) // Init initializes the all providers that are configured via the oracle config. diff --git a/oracle/init_test.go b/oracle/init_test.go index e23463038..49c44beb7 100644 --- a/oracle/init_test.go +++ b/oracle/init_test.go @@ -7,14 +7,14 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle" - "github.com/skip-mev/slinky/oracle/config" - oracletypes "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/apis/binance" - "github.com/skip-mev/slinky/providers/apis/coinbase" - oraclefactory "github.com/skip-mev/slinky/providers/factories/oracle" - providertypes "github.com/skip-mev/slinky/providers/types" - "github.com/skip-mev/slinky/providers/websockets/okx" + "github.com/dydxprotocol/slinky/oracle" + "github.com/dydxprotocol/slinky/oracle/config" + oracletypes "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/apis/binance" + "github.com/dydxprotocol/slinky/providers/apis/coinbase" + oraclefactory "github.com/dydxprotocol/slinky/providers/factories/oracle" + providertypes "github.com/dydxprotocol/slinky/providers/types" + "github.com/dydxprotocol/slinky/providers/websockets/okx" ) var ( diff --git a/oracle/interfaces.go b/oracle/interfaces.go index 50b1304ad..b90e09e6d 100644 --- a/oracle/interfaces.go +++ b/oracle/interfaces.go @@ -4,8 +4,8 @@ import ( "context" "time" - "github.com/skip-mev/slinky/oracle/types" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/oracle/types" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) // Oracle defines the expected interface for an oracle. It is consumed by the oracle server. diff --git a/oracle/lifecycle.go b/oracle/lifecycle.go index 024925ba0..d33a31c54 100644 --- a/oracle/lifecycle.go +++ b/oracle/lifecycle.go @@ -7,7 +7,7 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/types" + "github.com/dydxprotocol/slinky/oracle/types" ) // Start starts the (blocking) oracle. This will initialize the oracle diff --git a/oracle/lifecycle_test.go b/oracle/lifecycle_test.go index 07eeb2c22..33c3d4fbf 100644 --- a/oracle/lifecycle_test.go +++ b/oracle/lifecycle_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle" - oraclefactory "github.com/skip-mev/slinky/providers/factories/oracle" + "github.com/dydxprotocol/slinky/oracle" + oraclefactory "github.com/dydxprotocol/slinky/providers/factories/oracle" ) func TestStart(t *testing.T) { diff --git a/oracle/market_mapper.go b/oracle/market_mapper.go index 395121d9a..86523c34c 100644 --- a/oracle/market_mapper.go +++ b/oracle/market_mapper.go @@ -10,7 +10,7 @@ import ( "go.uber.org/zap" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) // IsMarketMapValidUpdated checks if the given MarketMapResponse is an update to the existing MarketMap. diff --git a/oracle/market_mapper_test.go b/oracle/market_mapper_test.go index 86a223604..8e9dfe096 100644 --- a/oracle/market_mapper_test.go +++ b/oracle/market_mapper_test.go @@ -11,12 +11,12 @@ import ( "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - oraclefactory "github.com/skip-mev/slinky/providers/factories/oracle" - "github.com/skip-mev/slinky/providers/providertest" - mmclienttypes "github.com/skip-mev/slinky/service/clients/marketmap/types" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/oracle" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + oraclefactory "github.com/dydxprotocol/slinky/providers/factories/oracle" + "github.com/dydxprotocol/slinky/providers/providertest" + mmclienttypes "github.com/dydxprotocol/slinky/service/clients/marketmap/types" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) var ( diff --git a/oracle/metrics/metrics.go b/oracle/metrics/metrics.go index da691fbab..1e87d3cb1 100644 --- a/oracle/metrics/metrics.go +++ b/oracle/metrics/metrics.go @@ -6,8 +6,8 @@ import ( "github.com/prometheus/client_golang/prometheus" - "github.com/skip-mev/slinky/cmd/build" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/cmd/build" + "github.com/dydxprotocol/slinky/oracle/config" ) const ( diff --git a/oracle/metrics_test.go b/oracle/metrics_test.go index 3ac8512c3..287a57722 100644 --- a/oracle/metrics_test.go +++ b/oracle/metrics_test.go @@ -6,13 +6,13 @@ import ( "math/big" "time" - "github.com/skip-mev/slinky/oracle" - "github.com/skip-mev/slinky/oracle/config" - metricmocks "github.com/skip-mev/slinky/oracle/metrics/mocks" - "github.com/skip-mev/slinky/oracle/types" - mathtestutils "github.com/skip-mev/slinky/pkg/math/testutils" - "github.com/skip-mev/slinky/providers/base/testutils" - oraclefactory "github.com/skip-mev/slinky/providers/factories/oracle" + "github.com/dydxprotocol/slinky/oracle" + "github.com/dydxprotocol/slinky/oracle/config" + metricmocks "github.com/dydxprotocol/slinky/oracle/metrics/mocks" + "github.com/dydxprotocol/slinky/oracle/types" + mathtestutils "github.com/dydxprotocol/slinky/pkg/math/testutils" + "github.com/dydxprotocol/slinky/providers/base/testutils" + oraclefactory "github.com/dydxprotocol/slinky/providers/factories/oracle" ) func (s *OracleTestSuite) TestMetrics() { diff --git a/oracle/mocks/PriceAggregator.go b/oracle/mocks/PriceAggregator.go index 930634152..02f9c9ce6 100644 --- a/oracle/mocks/PriceAggregator.go +++ b/oracle/mocks/PriceAggregator.go @@ -7,7 +7,7 @@ import ( mock "github.com/stretchr/testify/mock" - types "github.com/skip-mev/slinky/x/marketmap/types" + types "github.com/dydxprotocol/slinky/x/marketmap/types" ) // PriceAggregator is an autogenerated mock type for the PriceAggregator type diff --git a/oracle/mocks/mock_oracle.go b/oracle/mocks/mock_oracle.go index 2b79e90bd..92907c275 100644 --- a/oracle/mocks/mock_oracle.go +++ b/oracle/mocks/mock_oracle.go @@ -10,7 +10,7 @@ import ( time "time" - types "github.com/skip-mev/slinky/x/marketmap/types" + types "github.com/dydxprotocol/slinky/x/marketmap/types" ) // Oracle is an autogenerated mock type for the Oracle type diff --git a/oracle/options.go b/oracle/options.go index 2ebae84fd..2b4b65152 100644 --- a/oracle/options.go +++ b/oracle/options.go @@ -3,10 +3,10 @@ package oracle import ( "go.uber.org/zap" - oraclemetrics "github.com/skip-mev/slinky/oracle/metrics" - "github.com/skip-mev/slinky/oracle/types" - mmclienttypes "github.com/skip-mev/slinky/service/clients/marketmap/types" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + oraclemetrics "github.com/dydxprotocol/slinky/oracle/metrics" + "github.com/dydxprotocol/slinky/oracle/types" + mmclienttypes "github.com/dydxprotocol/slinky/service/clients/marketmap/types" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) // Option is a functional option for the market map state. diff --git a/oracle/oracle.go b/oracle/oracle.go index f4b99c125..58762dc0f 100644 --- a/oracle/oracle.go +++ b/oracle/oracle.go @@ -9,14 +9,14 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - oraclemetrics "github.com/skip-mev/slinky/oracle/metrics" - "github.com/skip-mev/slinky/oracle/types" - apimetrics "github.com/skip-mev/slinky/providers/base/api/metrics" - providermetrics "github.com/skip-mev/slinky/providers/base/metrics" - wsmetrics "github.com/skip-mev/slinky/providers/base/websocket/metrics" - mmclienttypes "github.com/skip-mev/slinky/service/clients/marketmap/types" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/oracle/config" + oraclemetrics "github.com/dydxprotocol/slinky/oracle/metrics" + "github.com/dydxprotocol/slinky/oracle/types" + apimetrics "github.com/dydxprotocol/slinky/providers/base/api/metrics" + providermetrics "github.com/dydxprotocol/slinky/providers/base/metrics" + wsmetrics "github.com/dydxprotocol/slinky/providers/base/websocket/metrics" + mmclienttypes "github.com/dydxprotocol/slinky/service/clients/marketmap/types" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) var _ Oracle = (*OracleImpl)(nil) diff --git a/oracle/oracle_test.go b/oracle/oracle_test.go index 99b391ad2..813e84908 100644 --- a/oracle/oracle_test.go +++ b/oracle/oracle_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/suite" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/oracle" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) var ( diff --git a/oracle/providers_test.go b/oracle/providers_test.go index cc98e2ce9..7403e3871 100644 --- a/oracle/providers_test.go +++ b/oracle/providers_test.go @@ -6,13 +6,13 @@ import ( "math/big" "time" - "github.com/skip-mev/slinky/oracle" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - mathtestutils "github.com/skip-mev/slinky/pkg/math/testutils" - "github.com/skip-mev/slinky/providers/base/testutils" - oraclefactory "github.com/skip-mev/slinky/providers/factories/oracle" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + mathtestutils "github.com/dydxprotocol/slinky/pkg/math/testutils" + "github.com/dydxprotocol/slinky/providers/base/testutils" + oraclefactory "github.com/dydxprotocol/slinky/providers/factories/oracle" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) func (s *OracleTestSuite) TestProviders() { diff --git a/oracle/types/market.go b/oracle/types/market.go index 9c3da00d7..2574192d6 100644 --- a/oracle/types/market.go +++ b/oracle/types/market.go @@ -3,8 +3,8 @@ package types import ( "fmt" - pkgtypes "github.com/skip-mev/slinky/pkg/types" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + pkgtypes "github.com/dydxprotocol/slinky/pkg/types" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) // ProviderTickersFromMarketMap returns the set of provider tickers a given provider should diff --git a/oracle/types/market_test.go b/oracle/types/market_test.go index d842bab5e..098c402ad 100644 --- a/oracle/types/market_test.go +++ b/oracle/types/market_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle/types" - pkgtypes "github.com/skip-mev/slinky/pkg/types" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/oracle/types" + pkgtypes "github.com/dydxprotocol/slinky/pkg/types" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) func TestProviderTickersFromMarketMap(t *testing.T) { diff --git a/oracle/types/oracle.go b/oracle/types/oracle.go index d45268802..27235f840 100644 --- a/oracle/types/oracle.go +++ b/oracle/types/oracle.go @@ -6,13 +6,13 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/providers/base" - apihandlers "github.com/skip-mev/slinky/providers/base/api/handlers" - apimetrics "github.com/skip-mev/slinky/providers/base/api/metrics" - wshandlers "github.com/skip-mev/slinky/providers/base/websocket/handlers" - wsmetrics "github.com/skip-mev/slinky/providers/base/websocket/metrics" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/providers/base" + apihandlers "github.com/dydxprotocol/slinky/providers/base/api/handlers" + apimetrics "github.com/dydxprotocol/slinky/providers/base/api/metrics" + wshandlers "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" + wsmetrics "github.com/dydxprotocol/slinky/providers/base/websocket/metrics" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) // ConfigType is the type of the API/WebSocket configuration. diff --git a/oracle/types/provider.go b/oracle/types/provider.go index bd0c4f4dc..338cf4780 100644 --- a/oracle/types/provider.go +++ b/oracle/types/provider.go @@ -7,7 +7,7 @@ import ( "sync" "time" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) type ( diff --git a/oracle/update.go b/oracle/update.go index b68d4364d..62f42c04e 100644 --- a/oracle/update.go +++ b/oracle/update.go @@ -7,9 +7,9 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) // UpdateMarketMap updates the oracle's market map and updates the providers' diff --git a/oracle/update_test.go b/oracle/update_test.go index d9aa7d137..02d2158bd 100644 --- a/oracle/update_test.go +++ b/oracle/update_test.go @@ -7,14 +7,14 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/apis/binance" - "github.com/skip-mev/slinky/providers/apis/coinbase" - oraclefactory "github.com/skip-mev/slinky/providers/factories/oracle" - providertypes "github.com/skip-mev/slinky/providers/types" - "github.com/skip-mev/slinky/providers/websockets/okx" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/oracle" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/apis/binance" + "github.com/dydxprotocol/slinky/providers/apis/coinbase" + oraclefactory "github.com/dydxprotocol/slinky/providers/factories/oracle" + providertypes "github.com/dydxprotocol/slinky/providers/types" + "github.com/dydxprotocol/slinky/providers/websockets/okx" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) func TestUpdateWithMarketMap(t *testing.T) { diff --git a/pkg/arrays/arrays_test.go b/pkg/arrays/arrays_test.go index c221d9ed0..4628ef222 100644 --- a/pkg/arrays/arrays_test.go +++ b/pkg/arrays/arrays_test.go @@ -3,7 +3,7 @@ package arrays_test import ( "testing" - "github.com/skip-mev/slinky/pkg/arrays" + "github.com/dydxprotocol/slinky/pkg/arrays" ) func TestCheckEntryInArray(t *testing.T) { diff --git a/pkg/grpc/client_test.go b/pkg/grpc/client_test.go index 54b00f5b5..2a4692865 100644 --- a/pkg/grpc/client_test.go +++ b/pkg/grpc/client_test.go @@ -12,7 +12,7 @@ import ( "google.golang.org/grpc/reflection" reflectionpb "google.golang.org/grpc/reflection/grpc_reflection_v1alpha" - slinkygrpc "github.com/skip-mev/slinky/pkg/grpc" + slinkygrpc "github.com/dydxprotocol/slinky/pkg/grpc" ) func TestClient(t *testing.T) { diff --git a/pkg/http/round_tripper_with_headers.go b/pkg/http/round_tripper_with_headers.go index d2cfc02ac..0c7433c8c 100644 --- a/pkg/http/round_tripper_with_headers.go +++ b/pkg/http/round_tripper_with_headers.go @@ -6,7 +6,7 @@ import ( "fmt" "net/http" - "github.com/skip-mev/slinky/cmd/build" + "github.com/dydxprotocol/slinky/cmd/build" ) const ( diff --git a/pkg/http/round_tripper_with_headers_test.go b/pkg/http/round_tripper_with_headers_test.go index 0c4e8ea0f..370be0491 100644 --- a/pkg/http/round_tripper_with_headers_test.go +++ b/pkg/http/round_tripper_with_headers_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - slinkyhttp "github.com/skip-mev/slinky/pkg/http" + slinkyhttp "github.com/dydxprotocol/slinky/pkg/http" ) func TestRoundTripperWithHeaders(t *testing.T) { diff --git a/pkg/json/json_test.go b/pkg/json/json_test.go index de37f60df..380c9e920 100644 --- a/pkg/json/json_test.go +++ b/pkg/json/json_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/pkg/json" + "github.com/dydxprotocol/slinky/pkg/json" ) func TestIsValid(t *testing.T) { diff --git a/pkg/math/bench_test.go b/pkg/math/bench_test.go index 25a95cc73..1e7eac46b 100644 --- a/pkg/math/bench_test.go +++ b/pkg/math/bench_test.go @@ -5,7 +5,7 @@ import ( "strconv" "testing" - "github.com/skip-mev/slinky/pkg/math" + "github.com/dydxprotocol/slinky/pkg/math" ) func BenchmarkFloat64StringToBigInt(b *testing.B) { diff --git a/pkg/math/math_test.go b/pkg/math/math_test.go index 0415247c4..5cfe38c52 100644 --- a/pkg/math/math_test.go +++ b/pkg/math/math_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/pkg/math" + "github.com/dydxprotocol/slinky/pkg/math" ) func TestMin(t *testing.T) { diff --git a/pkg/math/oracle/aggregator.go b/pkg/math/oracle/aggregator.go index b495db9d0..6386a20ba 100644 --- a/pkg/math/oracle/aggregator.go +++ b/pkg/math/oracle/aggregator.go @@ -7,11 +7,11 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle" - oraclemetrics "github.com/skip-mev/slinky/oracle/metrics" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/pkg/math" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/oracle" + oraclemetrics "github.com/dydxprotocol/slinky/oracle/metrics" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/pkg/math" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) var _ oracle.PriceAggregator = &IndexPriceAggregator{} diff --git a/pkg/math/oracle/aggregator_test.go b/pkg/math/oracle/aggregator_test.go index d1fef4f5f..a9921d003 100644 --- a/pkg/math/oracle/aggregator_test.go +++ b/pkg/math/oracle/aggregator_test.go @@ -6,14 +6,14 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle/metrics" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/pkg/math/oracle" - pkgtypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/providers/apis/binance" - "github.com/skip-mev/slinky/providers/apis/coinbase" - "github.com/skip-mev/slinky/providers/websockets/kucoin" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/oracle/metrics" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/pkg/math/oracle" + pkgtypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/providers/apis/binance" + "github.com/dydxprotocol/slinky/providers/apis/coinbase" + "github.com/dydxprotocol/slinky/providers/websockets/kucoin" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) var ( diff --git a/pkg/math/oracle/helper_test.go b/pkg/math/oracle/helper_test.go index c0a02836a..8bfe75d1f 100644 --- a/pkg/math/oracle/helper_test.go +++ b/pkg/math/oracle/helper_test.go @@ -3,11 +3,11 @@ package oracle_test import ( "go.uber.org/zap" - pkgtypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/providers/apis/binance" - "github.com/skip-mev/slinky/providers/apis/coinbase" - "github.com/skip-mev/slinky/providers/websockets/kucoin" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + pkgtypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/providers/apis/binance" + "github.com/dydxprotocol/slinky/providers/apis/coinbase" + "github.com/dydxprotocol/slinky/providers/websockets/kucoin" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) var ( diff --git a/pkg/math/oracle/utils.go b/pkg/math/oracle/utils.go index f99794e33..34bfd8853 100644 --- a/pkg/math/oracle/utils.go +++ b/pkg/math/oracle/utils.go @@ -5,9 +5,9 @@ import ( "maps" "math/big" - "github.com/skip-mev/slinky/oracle/types" - pkgtypes "github.com/skip-mev/slinky/pkg/types" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/oracle/types" + pkgtypes "github.com/dydxprotocol/slinky/pkg/types" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) // GetProviderPrice returns the relevant provider price. Note that the aggregator's diff --git a/pkg/math/oracle/utils_test.go b/pkg/math/oracle/utils_test.go index c92f8fb25..ab1e67cc6 100644 --- a/pkg/math/oracle/utils_test.go +++ b/pkg/math/oracle/utils_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/pkg/math/oracle" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/pkg/math/oracle" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) func TestGetProviderPrice(t *testing.T) { diff --git a/pkg/math/testutils/median.go b/pkg/math/testutils/median.go index 05f9cf052..cf242382f 100644 --- a/pkg/math/testutils/median.go +++ b/pkg/math/testutils/median.go @@ -4,10 +4,10 @@ import ( "math/big" "sync" - "github.com/skip-mev/slinky/oracle" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/pkg/math" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/oracle" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/pkg/math" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) var _ oracle.PriceAggregator = &MedianAggregator{} diff --git a/pkg/math/voteweighted/math_test.go b/pkg/math/voteweighted/math_test.go index aa546f101..8db71397a 100644 --- a/pkg/math/voteweighted/math_test.go +++ b/pkg/math/voteweighted/math_test.go @@ -15,11 +15,11 @@ import ( "github.com/stretchr/testify/suite" - "github.com/skip-mev/slinky/abci/testutils" - "github.com/skip-mev/slinky/aggregator" - "github.com/skip-mev/slinky/pkg/math/voteweighted" - "github.com/skip-mev/slinky/pkg/math/voteweighted/mocks" - slinkytypes "github.com/skip-mev/slinky/pkg/types" + "github.com/dydxprotocol/slinky/abci/testutils" + "github.com/dydxprotocol/slinky/aggregator" + "github.com/dydxprotocol/slinky/pkg/math/voteweighted" + "github.com/dydxprotocol/slinky/pkg/math/voteweighted/mocks" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" ) type MathTestSuite struct { diff --git a/pkg/math/voteweighted/voteweighted.go b/pkg/math/voteweighted/voteweighted.go index 4f01163df..d03617e7b 100644 --- a/pkg/math/voteweighted/voteweighted.go +++ b/pkg/math/voteweighted/voteweighted.go @@ -8,8 +8,8 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/slinky/aggregator" - slinkytypes "github.com/skip-mev/slinky/pkg/types" + "github.com/dydxprotocol/slinky/aggregator" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" ) // DefaultPowerThreshold defines the total voting power % that must be diff --git a/pkg/slices/slices_test.go b/pkg/slices/slices_test.go index 82844870e..e7c42404d 100644 --- a/pkg/slices/slices_test.go +++ b/pkg/slices/slices_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/pkg/slices" + "github.com/dydxprotocol/slinky/pkg/slices" ) func TestChunkSlice(t *testing.T) { diff --git a/pkg/types/currency_pair_test.go b/pkg/types/currency_pair_test.go index ca6625009..c3d988fc0 100644 --- a/pkg/types/currency_pair_test.go +++ b/pkg/types/currency_pair_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/testutil" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/testutil" ) func TestValidateBasic(t *testing.T) { diff --git a/proto/buf.gen.pulsar.yaml b/proto/buf.gen.pulsar.yaml index 6f6113c78..fdb639977 100644 --- a/proto/buf.gen.pulsar.yaml +++ b/proto/buf.gen.pulsar.yaml @@ -9,7 +9,7 @@ managed: - buf.build/cosmos/gogo-proto - buf.build/cosmos/cosmos-proto override: - buf.build/skip-mev/slinky: github.com/skip-mev/slinky/api + buf.build/dydxprotocol/slinky: github.com/dydxprotocol/slinky/api plugins: - name: go-pulsar out: ../api diff --git a/proto/buf.yaml b/proto/buf.yaml index 985c13b29..da7095660 100644 --- a/proto/buf.yaml +++ b/proto/buf.yaml @@ -1,5 +1,5 @@ version: v1 -name: buf.build/skip-mev/slinky +name: buf.build/dydxprotocol/slinky deps: - buf.build/cosmos/cosmos-proto diff --git a/proto/slinky/abci/v1/vote_extensions.proto b/proto/slinky/abci/v1/vote_extensions.proto index 1d3b02e84..463abbd9a 100644 --- a/proto/slinky/abci/v1/vote_extensions.proto +++ b/proto/slinky/abci/v1/vote_extensions.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package slinky.abci.v1; -option go_package = "github.com/skip-mev/slinky/abci/ve/types"; +option go_package = "github.com/dydxprotocol/slinky/abci/ve/types"; // OracleVoteExtension defines the vote extension structure for oracle prices. message OracleVoteExtension { diff --git a/proto/slinky/marketmap/module/v1/module.proto b/proto/slinky/marketmap/module/v1/module.proto index 9c3bc333c..a8eda6d96 100644 --- a/proto/slinky/marketmap/module/v1/module.proto +++ b/proto/slinky/marketmap/module/v1/module.proto @@ -7,7 +7,7 @@ import "cosmos/app/v1alpha1/module.proto"; // Module is the config object of the builder module. message Module { option (cosmos.app.v1alpha1.module) = { - go_import : "github.com/skip-mev/slinky/x/marketmap" + go_import : "github.com/dydxprotocol/slinky/x/marketmap" }; // Authority defines the custom module authority. If not set, defaults to the diff --git a/proto/slinky/marketmap/v1/genesis.proto b/proto/slinky/marketmap/v1/genesis.proto index 3871baac8..99856c612 100644 --- a/proto/slinky/marketmap/v1/genesis.proto +++ b/proto/slinky/marketmap/v1/genesis.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "slinky/marketmap/v1/market.proto"; import "slinky/marketmap/v1/params.proto"; -option go_package = "github.com/skip-mev/slinky/x/marketmap/types"; +option go_package = "github.com/dydxprotocol/slinky/x/marketmap/types"; // GenesisState defines the x/marketmap module's genesis state. message GenesisState { diff --git a/proto/slinky/marketmap/v1/market.proto b/proto/slinky/marketmap/v1/market.proto index 6ee72d9c5..69910854d 100644 --- a/proto/slinky/marketmap/v1/market.proto +++ b/proto/slinky/marketmap/v1/market.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package slinky.marketmap.v1; -option go_package = "github.com/skip-mev/slinky/x/marketmap/types"; +option go_package = "github.com/dydxprotocol/slinky/x/marketmap/types"; import "gogoproto/gogo.proto"; import "slinky/types/v1/currency_pair.proto"; diff --git a/proto/slinky/marketmap/v1/params.proto b/proto/slinky/marketmap/v1/params.proto index b93f590ea..924314559 100644 --- a/proto/slinky/marketmap/v1/params.proto +++ b/proto/slinky/marketmap/v1/params.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package slinky.marketmap.v1; -option go_package = "github.com/skip-mev/slinky/x/marketmap/types"; +option go_package = "github.com/dydxprotocol/slinky/x/marketmap/types"; // Params defines the parameters for the x/marketmap module. message Params { diff --git a/proto/slinky/marketmap/v1/query.proto b/proto/slinky/marketmap/v1/query.proto index b08ea295a..c9c5ccbb3 100644 --- a/proto/slinky/marketmap/v1/query.proto +++ b/proto/slinky/marketmap/v1/query.proto @@ -7,7 +7,7 @@ import "slinky/types/v1/currency_pair.proto"; import "slinky/marketmap/v1/market.proto"; import "slinky/marketmap/v1/params.proto"; -option go_package = "github.com/skip-mev/slinky/x/marketmap/types"; +option go_package = "github.com/dydxprotocol/slinky/x/marketmap/types"; // Query is the query service for the x/marketmap module. service Query { diff --git a/proto/slinky/marketmap/v1/tx.proto b/proto/slinky/marketmap/v1/tx.proto index b2241741e..1c57a8fc2 100644 --- a/proto/slinky/marketmap/v1/tx.proto +++ b/proto/slinky/marketmap/v1/tx.proto @@ -8,7 +8,7 @@ import "amino/amino.proto"; import "slinky/marketmap/v1/market.proto"; import "slinky/marketmap/v1/params.proto"; -option go_package = "github.com/skip-mev/slinky/x/marketmap/types"; +option go_package = "github.com/dydxprotocol/slinky/x/marketmap/types"; // Msg is the message service for the x/marketmap module. service Msg { diff --git a/proto/slinky/oracle/module/v1/module.proto b/proto/slinky/oracle/module/v1/module.proto index 429e720ed..0291e0251 100644 --- a/proto/slinky/oracle/module/v1/module.proto +++ b/proto/slinky/oracle/module/v1/module.proto @@ -7,7 +7,7 @@ import "cosmos/app/v1alpha1/module.proto"; // Module is the config object of the builder module. message Module { option (cosmos.app.v1alpha1.module) = { - go_import : "github.com/skip-mev/slinky/x/oracle" + go_import : "github.com/dydxprotocol/slinky/x/oracle" }; // Authority defines the custom module authority. If not set, defaults to the diff --git a/proto/slinky/oracle/v1/genesis.proto b/proto/slinky/oracle/v1/genesis.proto index 65caa5f9c..edf3c50d7 100644 --- a/proto/slinky/oracle/v1/genesis.proto +++ b/proto/slinky/oracle/v1/genesis.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package slinky.oracle.v1; -option go_package = "github.com/skip-mev/slinky/x/oracle/types"; +option go_package = "github.com/dydxprotocol/slinky/x/oracle/types"; import "gogoproto/gogo.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto/slinky/oracle/v1/query.proto b/proto/slinky/oracle/v1/query.proto index af649998b..b3a604fb8 100644 --- a/proto/slinky/oracle/v1/query.proto +++ b/proto/slinky/oracle/v1/query.proto @@ -5,7 +5,7 @@ import "google/api/annotations.proto"; import "slinky/oracle/v1/genesis.proto"; import "slinky/types/v1/currency_pair.proto"; -option go_package = "github.com/skip-mev/slinky/x/oracle/types"; +option go_package = "github.com/dydxprotocol/slinky/x/oracle/types"; // Query is the query service for the x/oracle module. service Query { diff --git a/proto/slinky/oracle/v1/tx.proto b/proto/slinky/oracle/v1/tx.proto index 4d7709803..8d7540200 100644 --- a/proto/slinky/oracle/v1/tx.proto +++ b/proto/slinky/oracle/v1/tx.proto @@ -8,7 +8,7 @@ import "amino/amino.proto"; import "gogoproto/gogo.proto"; import "slinky/types/v1/currency_pair.proto"; -option go_package = "github.com/skip-mev/slinky/x/oracle/types"; +option go_package = "github.com/dydxprotocol/slinky/x/oracle/types"; // Msg is the message service for the x/oracle module. service Msg { diff --git a/proto/slinky/service/v1/oracle.proto b/proto/slinky/service/v1/oracle.proto index d87cb8686..dae14c911 100644 --- a/proto/slinky/service/v1/oracle.proto +++ b/proto/slinky/service/v1/oracle.proto @@ -7,7 +7,7 @@ import "google/protobuf/timestamp.proto"; import "cosmos_proto/cosmos.proto"; import "slinky/marketmap/v1/market.proto"; -option go_package = "github.com/skip-mev/slinky/service/servers/oracle/types"; +option go_package = "github.com/dydxprotocol/slinky/service/servers/oracle/types"; // Oracle defines the gRPC oracle service. service Oracle { diff --git a/proto/slinky/types/v1/currency_pair.proto b/proto/slinky/types/v1/currency_pair.proto index bc1bfa898..a7f1277cf 100644 --- a/proto/slinky/types/v1/currency_pair.proto +++ b/proto/slinky/types/v1/currency_pair.proto @@ -3,7 +3,7 @@ package slinky.types.v1; import "gogoproto/gogo.proto"; -option go_package = "github.com/skip-mev/slinky/pkg/types"; +option go_package = "github.com/dydxprotocol/slinky/pkg/types"; // CurrencyPair is the standard representation of a pair of assets, where one // (Base) is priced in terms of the other (Quote) diff --git a/providers/apis/binance/api_handler.go b/providers/apis/binance/api_handler.go index 11679fe54..ab4174c3b 100644 --- a/providers/apis/binance/api_handler.go +++ b/providers/apis/binance/api_handler.go @@ -6,12 +6,12 @@ import ( "strings" "time" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" - "github.com/skip-mev/slinky/pkg/math" + "github.com/dydxprotocol/slinky/pkg/math" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" ) var _ types.PriceAPIDataHandler = (*APIHandler)(nil) diff --git a/providers/apis/binance/api_handler_test.go b/providers/apis/binance/api_handler_test.go index 0307038d8..abae8f911 100644 --- a/providers/apis/binance/api_handler_test.go +++ b/providers/apis/binance/api_handler_test.go @@ -9,10 +9,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/apis/binance" - "github.com/skip-mev/slinky/providers/base/testutils" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/apis/binance" + "github.com/dydxprotocol/slinky/providers/base/testutils" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) var ( diff --git a/providers/apis/binance/utils.go b/providers/apis/binance/utils.go index 16fab3c4b..4dc8987c5 100644 --- a/providers/apis/binance/utils.go +++ b/providers/apis/binance/utils.go @@ -5,7 +5,7 @@ import ( "net/http" "time" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) // NOTE: All documentation for this file can be located on the Binance GitHub diff --git a/providers/apis/bitstamp/api_handler.go b/providers/apis/bitstamp/api_handler.go index c6cb4c8a4..9043193d5 100644 --- a/providers/apis/bitstamp/api_handler.go +++ b/providers/apis/bitstamp/api_handler.go @@ -6,12 +6,12 @@ import ( "net/http" "time" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" - "github.com/skip-mev/slinky/pkg/math" + "github.com/dydxprotocol/slinky/pkg/math" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" ) var _ types.PriceAPIDataHandler = (*APIHandler)(nil) diff --git a/providers/apis/bitstamp/api_handler_test.go b/providers/apis/bitstamp/api_handler_test.go index cb439f79f..7bfc9727f 100644 --- a/providers/apis/bitstamp/api_handler_test.go +++ b/providers/apis/bitstamp/api_handler_test.go @@ -9,10 +9,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/apis/bitstamp" - "github.com/skip-mev/slinky/providers/base/testutils" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/apis/bitstamp" + "github.com/dydxprotocol/slinky/providers/base/testutils" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) var ( diff --git a/providers/apis/bitstamp/utils.go b/providers/apis/bitstamp/utils.go index d493ad3e5..aba91b0bf 100644 --- a/providers/apis/bitstamp/utils.go +++ b/providers/apis/bitstamp/utils.go @@ -3,7 +3,7 @@ package bitstamp import ( "time" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) // NOTE: All documentation for this file can be located on the Bitstamp GitHub diff --git a/providers/apis/coinbase/api_handler.go b/providers/apis/coinbase/api_handler.go index 537e99e97..07ea1e0ba 100644 --- a/providers/apis/coinbase/api_handler.go +++ b/providers/apis/coinbase/api_handler.go @@ -6,11 +6,11 @@ import ( "net/http" "time" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/pkg/math" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/pkg/math" ) var _ types.PriceAPIDataHandler = (*APIHandler)(nil) diff --git a/providers/apis/coinbase/api_handler_test.go b/providers/apis/coinbase/api_handler_test.go index 82afd1e40..2af7a3fad 100644 --- a/providers/apis/coinbase/api_handler_test.go +++ b/providers/apis/coinbase/api_handler_test.go @@ -7,13 +7,13 @@ import ( "testing" "time" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/apis/coinbase" - "github.com/skip-mev/slinky/providers/base/testutils" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/apis/coinbase" + "github.com/dydxprotocol/slinky/providers/base/testutils" ) var ( diff --git a/providers/apis/coinbase/utils.go b/providers/apis/coinbase/utils.go index 7f621688a..edcf81e47 100644 --- a/providers/apis/coinbase/utils.go +++ b/providers/apis/coinbase/utils.go @@ -3,7 +3,7 @@ package coinbase import ( "time" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) // NOTE: All documentation for this file can be located on the Coinbase diff --git a/providers/apis/coingecko/api_handler.go b/providers/apis/coingecko/api_handler.go index cdf7cddf8..4ef6e770a 100644 --- a/providers/apis/coingecko/api_handler.go +++ b/providers/apis/coingecko/api_handler.go @@ -7,10 +7,10 @@ import ( "net/http" "time" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" ) var _ types.PriceAPIDataHandler = (*APIHandler)(nil) diff --git a/providers/apis/coingecko/api_handler_test.go b/providers/apis/coingecko/api_handler_test.go index 259b530cd..880ad198c 100644 --- a/providers/apis/coingecko/api_handler_test.go +++ b/providers/apis/coingecko/api_handler_test.go @@ -7,13 +7,13 @@ import ( "testing" "time" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/apis/coingecko" - "github.com/skip-mev/slinky/providers/base/testutils" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/apis/coingecko" + "github.com/dydxprotocol/slinky/providers/base/testutils" ) var ( diff --git a/providers/apis/coingecko/utils.go b/providers/apis/coingecko/utils.go index 99ef186ff..f49a6969e 100644 --- a/providers/apis/coingecko/utils.go +++ b/providers/apis/coingecko/utils.go @@ -5,8 +5,8 @@ import ( "strings" "time" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" ) // NOTE: All documentation for this file can be located on the CoinGecko diff --git a/providers/apis/coinmarketcap/api_handler.go b/providers/apis/coinmarketcap/api_handler.go index 09e4cc4dc..cc860c381 100644 --- a/providers/apis/coinmarketcap/api_handler.go +++ b/providers/apis/coinmarketcap/api_handler.go @@ -8,10 +8,10 @@ import ( "strings" "time" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" ) var _ types.PriceAPIDataHandler = (*APIHandler)(nil) diff --git a/providers/apis/coinmarketcap/api_handler_test.go b/providers/apis/coinmarketcap/api_handler_test.go index e9fdb8d63..a3d202391 100644 --- a/providers/apis/coinmarketcap/api_handler_test.go +++ b/providers/apis/coinmarketcap/api_handler_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/apis/coinmarketcap" - "github.com/skip-mev/slinky/providers/base/testutils" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/apis/coinmarketcap" + "github.com/dydxprotocol/slinky/providers/base/testutils" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) var ( diff --git a/providers/apis/coinmarketcap/utils.go b/providers/apis/coinmarketcap/utils.go index 590a3ccc2..099479b63 100644 --- a/providers/apis/coinmarketcap/utils.go +++ b/providers/apis/coinmarketcap/utils.go @@ -3,7 +3,7 @@ package coinmarketcap import ( "time" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) // NOTE: All documentation for this file can be located on the CoinMarketCap diff --git a/providers/apis/defi/ethmulticlient/client.go b/providers/apis/defi/ethmulticlient/client.go index 4bf7667f3..17d74a614 100644 --- a/providers/apis/defi/ethmulticlient/client.go +++ b/providers/apis/defi/ethmulticlient/client.go @@ -6,8 +6,8 @@ import ( "net/http" "time" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/providers/base/api/metrics" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/providers/base/api/metrics" "github.com/ethereum/go-ethereum/rpc" ) diff --git a/providers/apis/defi/ethmulticlient/multi_client.go b/providers/apis/defi/ethmulticlient/multi_client.go index afc89aa50..665c3bb7d 100644 --- a/providers/apis/defi/ethmulticlient/multi_client.go +++ b/providers/apis/defi/ethmulticlient/multi_client.go @@ -6,14 +6,14 @@ import ( "fmt" "sync" - "github.com/skip-mev/slinky/providers/apis/defi/types" + "github.com/dydxprotocol/slinky/providers/apis/defi/types" "github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/rpc" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/providers/base/api/metrics" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/providers/base/api/metrics" ) // MultiRPCClient implements the EVMClient interface by calling multiple underlying EVMClients and choosing diff --git a/providers/apis/defi/ethmulticlient/multi_client_test.go b/providers/apis/defi/ethmulticlient/multi_client_test.go index 225c10d0a..a4a6ce91a 100644 --- a/providers/apis/defi/ethmulticlient/multi_client_test.go +++ b/providers/apis/defi/ethmulticlient/multi_client_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/providers/apis/defi/ethmulticlient" - "github.com/skip-mev/slinky/providers/apis/defi/ethmulticlient/mocks" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/providers/apis/defi/ethmulticlient" + "github.com/dydxprotocol/slinky/providers/apis/defi/ethmulticlient/mocks" ) func TestMultiClient(t *testing.T) { diff --git a/providers/apis/defi/osmosis/client.go b/providers/apis/defi/osmosis/client.go index beb92966c..1eb46ea31 100644 --- a/providers/apis/defi/osmosis/client.go +++ b/providers/apis/defi/osmosis/client.go @@ -10,10 +10,10 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/pkg/http" - "github.com/skip-mev/slinky/providers/apis/defi/types" - "github.com/skip-mev/slinky/providers/base/api/metrics" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/pkg/http" + "github.com/dydxprotocol/slinky/providers/apis/defi/types" + "github.com/dydxprotocol/slinky/providers/base/api/metrics" ) const ( diff --git a/providers/apis/defi/osmosis/client_test.go b/providers/apis/defi/osmosis/client_test.go index dd8640dd4..509e0dbf7 100644 --- a/providers/apis/defi/osmosis/client_test.go +++ b/providers/apis/defi/osmosis/client_test.go @@ -10,10 +10,10 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/providers/apis/defi/osmosis" - "github.com/skip-mev/slinky/providers/apis/defi/osmosis/mocks" - "github.com/skip-mev/slinky/providers/base/api/metrics" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/providers/apis/defi/osmosis" + "github.com/dydxprotocol/slinky/providers/apis/defi/osmosis/mocks" + "github.com/dydxprotocol/slinky/providers/base/api/metrics" ) // TestMultiClient tests the MultiClient. diff --git a/providers/apis/defi/osmosis/mocks/client.go b/providers/apis/defi/osmosis/mocks/client.go index bf20496a1..5f415d34c 100644 --- a/providers/apis/defi/osmosis/mocks/client.go +++ b/providers/apis/defi/osmosis/mocks/client.go @@ -7,7 +7,7 @@ import ( mock "github.com/stretchr/testify/mock" - osmosis "github.com/skip-mev/slinky/providers/apis/defi/osmosis" + osmosis "github.com/dydxprotocol/slinky/providers/apis/defi/osmosis" ) // Client is an autogenerated mock type for the Client type diff --git a/providers/apis/defi/osmosis/price_fetcher.go b/providers/apis/defi/osmosis/price_fetcher.go index b354ab157..dbf0728a6 100644 --- a/providers/apis/defi/osmosis/price_fetcher.go +++ b/providers/apis/defi/osmosis/price_fetcher.go @@ -10,11 +10,11 @@ import ( "go.uber.org/zap" "golang.org/x/sync/errgroup" - "github.com/skip-mev/slinky/oracle/config" - oracletypes "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/pkg/math" - "github.com/skip-mev/slinky/providers/base/api/metrics" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/config" + oracletypes "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/pkg/math" + "github.com/dydxprotocol/slinky/providers/base/api/metrics" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) var _ oracletypes.PriceAPIFetcher = &APIPriceFetcher{} diff --git a/providers/apis/defi/osmosis/price_fetcher_test.go b/providers/apis/defi/osmosis/price_fetcher_test.go index 9ab70792b..32fa6b777 100644 --- a/providers/apis/defi/osmosis/price_fetcher_test.go +++ b/providers/apis/defi/osmosis/price_fetcher_test.go @@ -12,11 +12,11 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - oracleconfig "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/apis/defi/osmosis" - "github.com/skip-mev/slinky/providers/apis/defi/osmosis/mocks" - "github.com/skip-mev/slinky/providers/base/api/metrics" + oracleconfig "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/apis/defi/osmosis" + "github.com/dydxprotocol/slinky/providers/apis/defi/osmosis/mocks" + "github.com/dydxprotocol/slinky/providers/base/api/metrics" ) const ( diff --git a/providers/apis/defi/osmosis/types.go b/providers/apis/defi/osmosis/types.go index 7e97ca816..68e747966 100644 --- a/providers/apis/defi/osmosis/types.go +++ b/providers/apis/defi/osmosis/types.go @@ -8,8 +8,8 @@ import ( "sync" "time" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" ) const ( diff --git a/providers/apis/defi/osmosis/types_test.go b/providers/apis/defi/osmosis/types_test.go index de91ca145..e3c087d94 100644 --- a/providers/apis/defi/osmosis/types_test.go +++ b/providers/apis/defi/osmosis/types_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/providers/apis/defi/osmosis" + "github.com/dydxprotocol/slinky/providers/apis/defi/osmosis" ) func TestCreateURL(t *testing.T) { diff --git a/providers/apis/defi/raydium/client.go b/providers/apis/defi/raydium/client.go index 5637d70f3..9f957449c 100644 --- a/providers/apis/defi/raydium/client.go +++ b/providers/apis/defi/raydium/client.go @@ -10,9 +10,9 @@ import ( "github.com/gagliardetto/solana-go/rpc" "github.com/gagliardetto/solana-go/rpc/jsonrpc" - "github.com/skip-mev/slinky/oracle/config" - slinkyhttp "github.com/skip-mev/slinky/pkg/http" - "github.com/skip-mev/slinky/providers/base/api/metrics" + "github.com/dydxprotocol/slinky/oracle/config" + slinkyhttp "github.com/dydxprotocol/slinky/pkg/http" + "github.com/dydxprotocol/slinky/providers/base/api/metrics" ) // JSONRPCClient is an implementation of the Solana JSON RPC client with diff --git a/providers/apis/defi/raydium/multi_client.go b/providers/apis/defi/raydium/multi_client.go index b16988132..65f074eaf 100644 --- a/providers/apis/defi/raydium/multi_client.go +++ b/providers/apis/defi/raydium/multi_client.go @@ -10,9 +10,9 @@ import ( "github.com/gagliardetto/solana-go/rpc" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/providers/apis/defi/types" - "github.com/skip-mev/slinky/providers/base/api/metrics" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/providers/apis/defi/types" + "github.com/dydxprotocol/slinky/providers/base/api/metrics" ) // MultiJSONRPCClient is an implementation of the SolanaJSONRPCClient interface that delegates diff --git a/providers/apis/defi/raydium/multi_client_test.go b/providers/apis/defi/raydium/multi_client_test.go index 56ad97bec..832b7d897 100644 --- a/providers/apis/defi/raydium/multi_client_test.go +++ b/providers/apis/defi/raydium/multi_client_test.go @@ -11,10 +11,10 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/providers/apis/defi/raydium" - "github.com/skip-mev/slinky/providers/apis/defi/raydium/mocks" - "github.com/skip-mev/slinky/providers/base/api/metrics" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/providers/apis/defi/raydium" + "github.com/dydxprotocol/slinky/providers/apis/defi/raydium/mocks" + "github.com/dydxprotocol/slinky/providers/base/api/metrics" ) // TestMultiJSONRPCClient tests the MultiJSONRPCClient. diff --git a/providers/apis/defi/raydium/price_fetcher.go b/providers/apis/defi/raydium/price_fetcher.go index 00212e374..bc6814eb5 100644 --- a/providers/apis/defi/raydium/price_fetcher.go +++ b/providers/apis/defi/raydium/price_fetcher.go @@ -14,12 +14,12 @@ import ( "github.com/gagliardetto/solana-go/programs/serum" - "github.com/skip-mev/slinky/oracle/config" - oracletypes "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/pkg/math" - "github.com/skip-mev/slinky/providers/apis/defi/raydium/schema" - "github.com/skip-mev/slinky/providers/base/api/metrics" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/config" + oracletypes "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/pkg/math" + "github.com/dydxprotocol/slinky/providers/apis/defi/raydium/schema" + "github.com/dydxprotocol/slinky/providers/base/api/metrics" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) var _ oracletypes.PriceAPIFetcher = &APIPriceFetcher{} diff --git a/providers/apis/defi/raydium/price_fetcher_test.go b/providers/apis/defi/raydium/price_fetcher_test.go index f03421f4d..f909d7804 100644 --- a/providers/apis/defi/raydium/price_fetcher_test.go +++ b/providers/apis/defi/raydium/price_fetcher_test.go @@ -20,12 +20,12 @@ import ( "github.com/gagliardetto/solana-go/programs/serum" - oracleconfig "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/apis/defi/raydium" - "github.com/skip-mev/slinky/providers/apis/defi/raydium/mocks" - "github.com/skip-mev/slinky/providers/apis/defi/raydium/schema" - "github.com/skip-mev/slinky/providers/base/api/metrics" + oracleconfig "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/apis/defi/raydium" + "github.com/dydxprotocol/slinky/providers/apis/defi/raydium/mocks" + "github.com/dydxprotocol/slinky/providers/apis/defi/raydium/schema" + "github.com/dydxprotocol/slinky/providers/base/api/metrics" ) const ( diff --git a/providers/apis/defi/raydium/types.go b/providers/apis/defi/raydium/types.go index b23420d66..af64e3902 100644 --- a/providers/apis/defi/raydium/types.go +++ b/providers/apis/defi/raydium/types.go @@ -8,8 +8,8 @@ import ( "github.com/gagliardetto/solana-go" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" ) const ( diff --git a/providers/apis/defi/types/block_age_test.go b/providers/apis/defi/types/block_age_test.go index fdaf89b62..316f2b1a5 100644 --- a/providers/apis/defi/types/block_age_test.go +++ b/providers/apis/defi/types/block_age_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/providers/apis/defi/types" + "github.com/dydxprotocol/slinky/providers/apis/defi/types" ) func TestBlockAgeChecker_IsHeightValid(t *testing.T) { diff --git a/providers/apis/defi/uniswapv3/fetcher.go b/providers/apis/defi/uniswapv3/fetcher.go index bbac7aa50..140bdd4f5 100644 --- a/providers/apis/defi/uniswapv3/fetcher.go +++ b/providers/apis/defi/uniswapv3/fetcher.go @@ -14,13 +14,13 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/rpc" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/pkg/slices" - "github.com/skip-mev/slinky/providers/apis/defi/ethmulticlient" - uniswappool "github.com/skip-mev/slinky/providers/apis/defi/uniswapv3/pool" - "github.com/skip-mev/slinky/providers/base/api/metrics" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/pkg/slices" + "github.com/dydxprotocol/slinky/providers/apis/defi/ethmulticlient" + uniswappool "github.com/dydxprotocol/slinky/providers/apis/defi/uniswapv3/pool" + "github.com/dydxprotocol/slinky/providers/base/api/metrics" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) var _ types.PriceAPIFetcher = (*PriceFetcher)(nil) diff --git a/providers/apis/defi/uniswapv3/fetcher_test.go b/providers/apis/defi/uniswapv3/fetcher_test.go index 267ca27f5..c9779cdaf 100644 --- a/providers/apis/defi/uniswapv3/fetcher_test.go +++ b/providers/apis/defi/uniswapv3/fetcher_test.go @@ -10,13 +10,13 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/apis/defi/ethmulticlient" - "github.com/skip-mev/slinky/providers/apis/defi/ethmulticlient/mocks" - "github.com/skip-mev/slinky/providers/apis/defi/uniswapv3" - "github.com/skip-mev/slinky/providers/base/api/metrics" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/apis/defi/ethmulticlient" + "github.com/dydxprotocol/slinky/providers/apis/defi/ethmulticlient/mocks" + "github.com/dydxprotocol/slinky/providers/apis/defi/uniswapv3" + "github.com/dydxprotocol/slinky/providers/base/api/metrics" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) func TestFetch(t *testing.T) { diff --git a/providers/apis/defi/uniswapv3/helper_test.go b/providers/apis/defi/uniswapv3/helper_test.go index 93b380ee5..2f7ea1488 100644 --- a/providers/apis/defi/uniswapv3/helper_test.go +++ b/providers/apis/defi/uniswapv3/helper_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/apis/defi/ethmulticlient" - "github.com/skip-mev/slinky/providers/apis/defi/ethmulticlient/mocks" - "github.com/skip-mev/slinky/providers/apis/defi/uniswapv3" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/apis/defi/ethmulticlient" + "github.com/dydxprotocol/slinky/providers/apis/defi/ethmulticlient/mocks" + "github.com/dydxprotocol/slinky/providers/apis/defi/uniswapv3" ) var ( diff --git a/providers/apis/defi/uniswapv3/math.go b/providers/apis/defi/uniswapv3/math.go index 1185e2f2f..730550501 100644 --- a/providers/apis/defi/uniswapv3/math.go +++ b/providers/apis/defi/uniswapv3/math.go @@ -3,7 +3,7 @@ package uniswapv3 import ( "math/big" - "github.com/skip-mev/slinky/pkg/math" + "github.com/dydxprotocol/slinky/pkg/math" ) // ConvertSquareRootX96Price converts the slot 0 sqrtPriceX96 value to a price. Note that this diff --git a/providers/apis/defi/uniswapv3/math_test.go b/providers/apis/defi/uniswapv3/math_test.go index 29fe443a8..5c224df18 100644 --- a/providers/apis/defi/uniswapv3/math_test.go +++ b/providers/apis/defi/uniswapv3/math_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/providers/apis/defi/uniswapv3" + "github.com/dydxprotocol/slinky/providers/apis/defi/uniswapv3" ) func TestConvertSquareRootX96Price(t *testing.T) { diff --git a/providers/apis/defi/uniswapv3/utils.go b/providers/apis/defi/uniswapv3/utils.go index afd547999..85f977aed 100644 --- a/providers/apis/defi/uniswapv3/utils.go +++ b/providers/apis/defi/uniswapv3/utils.go @@ -8,8 +8,8 @@ import ( "github.com/ethereum/go-ethereum/common" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/constants" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/constants" ) const ( diff --git a/providers/apis/defi/uniswapv3/utils_test.go b/providers/apis/defi/uniswapv3/utils_test.go index ca591ebe1..a1b37400d 100644 --- a/providers/apis/defi/uniswapv3/utils_test.go +++ b/providers/apis/defi/uniswapv3/utils_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle/constants" - "github.com/skip-mev/slinky/providers/apis/defi/uniswapv3" + "github.com/dydxprotocol/slinky/oracle/constants" + "github.com/dydxprotocol/slinky/providers/apis/defi/uniswapv3" ) func TestPoolConfig(t *testing.T) { diff --git a/providers/apis/dydx/api_handler.go b/providers/apis/dydx/api_handler.go index f82512bd5..f0a676fa8 100644 --- a/providers/apis/dydx/api_handler.go +++ b/providers/apis/dydx/api_handler.go @@ -8,10 +8,10 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - dydxtypes "github.com/skip-mev/slinky/providers/apis/dydx/types" - providertypes "github.com/skip-mev/slinky/providers/types" - "github.com/skip-mev/slinky/service/clients/marketmap/types" + "github.com/dydxprotocol/slinky/oracle/config" + dydxtypes "github.com/dydxprotocol/slinky/providers/apis/dydx/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" + "github.com/dydxprotocol/slinky/service/clients/marketmap/types" ) var _ types.MarketMapAPIDataHandler = (*APIHandler)(nil) diff --git a/providers/apis/dydx/api_handler_test.go b/providers/apis/dydx/api_handler_test.go index f06b66729..0478f5bd6 100644 --- a/providers/apis/dydx/api_handler_test.go +++ b/providers/apis/dydx/api_handler_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/skip-mev/slinky/providers/apis/dydx" - "github.com/skip-mev/slinky/providers/base/testutils" - providertypes "github.com/skip-mev/slinky/providers/types" - "github.com/skip-mev/slinky/service/clients/marketmap/types" + "github.com/dydxprotocol/slinky/providers/apis/dydx" + "github.com/dydxprotocol/slinky/providers/base/testutils" + providertypes "github.com/dydxprotocol/slinky/providers/types" + "github.com/dydxprotocol/slinky/service/clients/marketmap/types" ) var chains = []types.Chain{ diff --git a/providers/apis/dydx/helper_test.go b/providers/apis/dydx/helper_test.go index 79df77e9a..c0cab54db 100644 --- a/providers/apis/dydx/helper_test.go +++ b/providers/apis/dydx/helper_test.go @@ -1,16 +1,16 @@ package dydx_test import ( - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/providers/apis/kraken" - "github.com/skip-mev/slinky/providers/websockets/binance" - "github.com/skip-mev/slinky/providers/websockets/bybit" - coinbasews "github.com/skip-mev/slinky/providers/websockets/coinbase" - "github.com/skip-mev/slinky/providers/websockets/huobi" - "github.com/skip-mev/slinky/providers/websockets/kucoin" - "github.com/skip-mev/slinky/providers/websockets/mexc" - "github.com/skip-mev/slinky/providers/websockets/okx" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/providers/apis/kraken" + "github.com/dydxprotocol/slinky/providers/websockets/binance" + "github.com/dydxprotocol/slinky/providers/websockets/bybit" + coinbasews "github.com/dydxprotocol/slinky/providers/websockets/coinbase" + "github.com/dydxprotocol/slinky/providers/websockets/huobi" + "github.com/dydxprotocol/slinky/providers/websockets/kucoin" + "github.com/dydxprotocol/slinky/providers/websockets/mexc" + "github.com/dydxprotocol/slinky/providers/websockets/okx" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) const dYdXResponseValid = ` diff --git a/providers/apis/dydx/multi_market_map_fetcher.go b/providers/apis/dydx/multi_market_map_fetcher.go index 1bb8c98be..8a77fb6d5 100644 --- a/providers/apis/dydx/multi_market_map_fetcher.go +++ b/providers/apis/dydx/multi_market_map_fetcher.go @@ -7,14 +7,14 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/cmd/constants/marketmaps" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/providers/apis/coinmarketcap" - apihandlers "github.com/skip-mev/slinky/providers/base/api/handlers" - "github.com/skip-mev/slinky/providers/base/api/metrics" - providertypes "github.com/skip-mev/slinky/providers/types" - mmclient "github.com/skip-mev/slinky/service/clients/marketmap/types" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/cmd/constants/marketmaps" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/providers/apis/coinmarketcap" + apihandlers "github.com/dydxprotocol/slinky/providers/base/api/handlers" + "github.com/dydxprotocol/slinky/providers/base/api/metrics" + providertypes "github.com/dydxprotocol/slinky/providers/types" + mmclient "github.com/dydxprotocol/slinky/service/clients/marketmap/types" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) var ( diff --git a/providers/apis/dydx/multi_market_map_fetcher_test.go b/providers/apis/dydx/multi_market_map_fetcher_test.go index 387345ec5..438a443d5 100644 --- a/providers/apis/dydx/multi_market_map_fetcher_test.go +++ b/providers/apis/dydx/multi_market_map_fetcher_test.go @@ -9,12 +9,12 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/providers/apis/dydx" - apihandlermocks "github.com/skip-mev/slinky/providers/base/api/handlers/mocks" - providertypes "github.com/skip-mev/slinky/providers/types" - mmclient "github.com/skip-mev/slinky/service/clients/marketmap/types" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/providers/apis/dydx" + apihandlermocks "github.com/dydxprotocol/slinky/providers/base/api/handlers/mocks" + providertypes "github.com/dydxprotocol/slinky/providers/types" + mmclient "github.com/dydxprotocol/slinky/service/clients/marketmap/types" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) func TestDYDXMultiMarketMapFetcher(t *testing.T) { diff --git a/providers/apis/dydx/parse.go b/providers/apis/dydx/parse.go index 3530b77bd..d6cb9ea38 100644 --- a/providers/apis/dydx/parse.go +++ b/providers/apis/dydx/parse.go @@ -5,26 +5,26 @@ import ( "fmt" "strings" - "github.com/skip-mev/slinky/oracle/constants" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/providers/apis/bitstamp" - "github.com/skip-mev/slinky/providers/apis/coinmarketcap" - "github.com/skip-mev/slinky/providers/apis/defi/raydium" - "github.com/skip-mev/slinky/providers/apis/defi/uniswapv3" - dydxtypes "github.com/skip-mev/slinky/providers/apis/dydx/types" - "github.com/skip-mev/slinky/providers/apis/kraken" - "github.com/skip-mev/slinky/providers/volatile" - "github.com/skip-mev/slinky/providers/websockets/binance" - "github.com/skip-mev/slinky/providers/websockets/bitfinex" - "github.com/skip-mev/slinky/providers/websockets/bybit" - "github.com/skip-mev/slinky/providers/websockets/coinbase" - "github.com/skip-mev/slinky/providers/websockets/cryptodotcom" - "github.com/skip-mev/slinky/providers/websockets/gate" - "github.com/skip-mev/slinky/providers/websockets/huobi" - "github.com/skip-mev/slinky/providers/websockets/kucoin" - "github.com/skip-mev/slinky/providers/websockets/mexc" - "github.com/skip-mev/slinky/providers/websockets/okx" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/oracle/constants" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/providers/apis/bitstamp" + "github.com/dydxprotocol/slinky/providers/apis/coinmarketcap" + "github.com/dydxprotocol/slinky/providers/apis/defi/raydium" + "github.com/dydxprotocol/slinky/providers/apis/defi/uniswapv3" + dydxtypes "github.com/dydxprotocol/slinky/providers/apis/dydx/types" + "github.com/dydxprotocol/slinky/providers/apis/kraken" + "github.com/dydxprotocol/slinky/providers/volatile" + "github.com/dydxprotocol/slinky/providers/websockets/binance" + "github.com/dydxprotocol/slinky/providers/websockets/bitfinex" + "github.com/dydxprotocol/slinky/providers/websockets/bybit" + "github.com/dydxprotocol/slinky/providers/websockets/coinbase" + "github.com/dydxprotocol/slinky/providers/websockets/cryptodotcom" + "github.com/dydxprotocol/slinky/providers/websockets/gate" + "github.com/dydxprotocol/slinky/providers/websockets/huobi" + "github.com/dydxprotocol/slinky/providers/websockets/kucoin" + "github.com/dydxprotocol/slinky/providers/websockets/mexc" + "github.com/dydxprotocol/slinky/providers/websockets/okx" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) // ProviderMapping is referencing the different providers that are supported by the dYdX market params. diff --git a/providers/apis/dydx/parse_test.go b/providers/apis/dydx/parse_test.go index 282847861..90951ca64 100644 --- a/providers/apis/dydx/parse_test.go +++ b/providers/apis/dydx/parse_test.go @@ -5,17 +5,17 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle/constants" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/providers/apis/defi/raydium" - "github.com/skip-mev/slinky/providers/apis/defi/uniswapv3" - "github.com/skip-mev/slinky/providers/apis/dydx" - dydxtypes "github.com/skip-mev/slinky/providers/apis/dydx/types" - coinbasews "github.com/skip-mev/slinky/providers/websockets/coinbase" - "github.com/skip-mev/slinky/providers/websockets/kucoin" - "github.com/skip-mev/slinky/providers/websockets/mexc" - "github.com/skip-mev/slinky/providers/websockets/okx" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/oracle/constants" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/providers/apis/defi/raydium" + "github.com/dydxprotocol/slinky/providers/apis/defi/uniswapv3" + "github.com/dydxprotocol/slinky/providers/apis/dydx" + dydxtypes "github.com/dydxprotocol/slinky/providers/apis/dydx/types" + coinbasews "github.com/dydxprotocol/slinky/providers/websockets/coinbase" + "github.com/dydxprotocol/slinky/providers/websockets/kucoin" + "github.com/dydxprotocol/slinky/providers/websockets/mexc" + "github.com/dydxprotocol/slinky/providers/websockets/okx" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) func TestConvertMarketParamsToMarketMap(t *testing.T) { diff --git a/providers/apis/dydx/research_api_handler.go b/providers/apis/dydx/research_api_handler.go index 5cb84dfb5..89619301c 100644 --- a/providers/apis/dydx/research_api_handler.go +++ b/providers/apis/dydx/research_api_handler.go @@ -8,12 +8,12 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/pkg/arrays" - "github.com/skip-mev/slinky/providers/apis/coinmarketcap" - dydxtypes "github.com/skip-mev/slinky/providers/apis/dydx/types" - providertypes "github.com/skip-mev/slinky/providers/types" - "github.com/skip-mev/slinky/service/clients/marketmap/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/pkg/arrays" + "github.com/dydxprotocol/slinky/providers/apis/coinmarketcap" + dydxtypes "github.com/dydxprotocol/slinky/providers/apis/dydx/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" + "github.com/dydxprotocol/slinky/service/clients/marketmap/types" ) var _ types.MarketMapAPIDataHandler = (*ResearchAPIHandler)(nil) diff --git a/providers/apis/dydx/research_api_handler_test.go b/providers/apis/dydx/research_api_handler_test.go index 322cadc6d..53e0ff208 100644 --- a/providers/apis/dydx/research_api_handler_test.go +++ b/providers/apis/dydx/research_api_handler_test.go @@ -7,24 +7,24 @@ import ( "net/http" "testing" - "github.com/skip-mev/slinky/providers/apis/coinmarketcap" - dydxtypes "github.com/skip-mev/slinky/providers/apis/dydx/types" - "github.com/skip-mev/slinky/providers/base/testutils" - "github.com/skip-mev/slinky/providers/websockets/binance" - "github.com/skip-mev/slinky/providers/websockets/coinbase" - "github.com/skip-mev/slinky/providers/websockets/gate" - "github.com/skip-mev/slinky/providers/websockets/kucoin" - "github.com/skip-mev/slinky/providers/websockets/mexc" - "github.com/skip-mev/slinky/providers/websockets/okx" + "github.com/dydxprotocol/slinky/providers/apis/coinmarketcap" + dydxtypes "github.com/dydxprotocol/slinky/providers/apis/dydx/types" + "github.com/dydxprotocol/slinky/providers/base/testutils" + "github.com/dydxprotocol/slinky/providers/websockets/binance" + "github.com/dydxprotocol/slinky/providers/websockets/coinbase" + "github.com/dydxprotocol/slinky/providers/websockets/gate" + "github.com/dydxprotocol/slinky/providers/websockets/kucoin" + "github.com/dydxprotocol/slinky/providers/websockets/mexc" + "github.com/dydxprotocol/slinky/providers/websockets/okx" "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/providers/apis/dydx" - "github.com/skip-mev/slinky/service/clients/marketmap/types" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/oracle/config" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/providers/apis/dydx" + "github.com/dydxprotocol/slinky/service/clients/marketmap/types" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) func TestNewResearchAPIHandler(t *testing.T) { diff --git a/providers/apis/dydx/switch_over_fetcher.go b/providers/apis/dydx/switch_over_fetcher.go index badcc59f5..f5a6763e2 100644 --- a/providers/apis/dydx/switch_over_fetcher.go +++ b/providers/apis/dydx/switch_over_fetcher.go @@ -9,14 +9,14 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/skip-mev/slinky/oracle/config" - slinkygrpc "github.com/skip-mev/slinky/pkg/grpc" - "github.com/skip-mev/slinky/providers/apis/marketmap" - apihandlers "github.com/skip-mev/slinky/providers/base/api/handlers" - "github.com/skip-mev/slinky/providers/base/api/metrics" - mmclient "github.com/skip-mev/slinky/service/clients/marketmap/types" - - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/config" + slinkygrpc "github.com/dydxprotocol/slinky/pkg/grpc" + "github.com/dydxprotocol/slinky/providers/apis/marketmap" + apihandlers "github.com/dydxprotocol/slinky/providers/base/api/handlers" + "github.com/dydxprotocol/slinky/providers/base/api/metrics" + mmclient "github.com/dydxprotocol/slinky/service/clients/marketmap/types" + + providertypes "github.com/dydxprotocol/slinky/providers/types" ) var _ mmclient.MarketMapFetcher = &SwitchOverFetcher{} diff --git a/providers/apis/dydx/switch_over_fetcher_test.go b/providers/apis/dydx/switch_over_fetcher_test.go index ceb16ae6b..c3b0cd37e 100644 --- a/providers/apis/dydx/switch_over_fetcher_test.go +++ b/providers/apis/dydx/switch_over_fetcher_test.go @@ -11,16 +11,16 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/providers/apis/dydx" - "github.com/skip-mev/slinky/providers/apis/marketmap" - apihandlers "github.com/skip-mev/slinky/providers/base/api/handlers" - apihandlermocks "github.com/skip-mev/slinky/providers/base/api/handlers/mocks" - "github.com/skip-mev/slinky/providers/base/api/metrics" - apimetricsmocks "github.com/skip-mev/slinky/providers/base/api/metrics/mocks" - providertypes "github.com/skip-mev/slinky/providers/types" - mmclient "github.com/skip-mev/slinky/service/clients/marketmap/types" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/providers/apis/dydx" + "github.com/dydxprotocol/slinky/providers/apis/marketmap" + apihandlers "github.com/dydxprotocol/slinky/providers/base/api/handlers" + apihandlermocks "github.com/dydxprotocol/slinky/providers/base/api/handlers/mocks" + "github.com/dydxprotocol/slinky/providers/base/api/metrics" + apimetricsmocks "github.com/dydxprotocol/slinky/providers/base/api/metrics/mocks" + providertypes "github.com/dydxprotocol/slinky/providers/types" + mmclient "github.com/dydxprotocol/slinky/service/clients/marketmap/types" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) func TestDefaultSwitchOverProvider(t *testing.T) { diff --git a/providers/apis/dydx/utils.go b/providers/apis/dydx/utils.go index 43c48d660..2b4a0f9a4 100644 --- a/providers/apis/dydx/utils.go +++ b/providers/apis/dydx/utils.go @@ -9,9 +9,9 @@ import ( "github.com/gagliardetto/solana-go" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/providers/apis/defi/raydium" - "github.com/skip-mev/slinky/providers/apis/defi/uniswapv3" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/providers/apis/defi/raydium" + "github.com/dydxprotocol/slinky/providers/apis/defi/uniswapv3" ) const ( diff --git a/providers/apis/geckoterminal/api_handler.go b/providers/apis/geckoterminal/api_handler.go index 3e51a618a..35c7a8732 100644 --- a/providers/apis/geckoterminal/api_handler.go +++ b/providers/apis/geckoterminal/api_handler.go @@ -7,10 +7,10 @@ import ( "strings" "time" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/pkg/math" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/pkg/math" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) var _ types.PriceAPIDataHandler = (*APIHandler)(nil) diff --git a/providers/apis/geckoterminal/api_handler_test.go b/providers/apis/geckoterminal/api_handler_test.go index e90e7fd69..782b6fd02 100644 --- a/providers/apis/geckoterminal/api_handler_test.go +++ b/providers/apis/geckoterminal/api_handler_test.go @@ -9,10 +9,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/apis/geckoterminal" - "github.com/skip-mev/slinky/providers/base/testutils" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/apis/geckoterminal" + "github.com/dydxprotocol/slinky/providers/base/testutils" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) var ( diff --git a/providers/apis/geckoterminal/utils.go b/providers/apis/geckoterminal/utils.go index bb975a1e8..8340cb8fe 100644 --- a/providers/apis/geckoterminal/utils.go +++ b/providers/apis/geckoterminal/utils.go @@ -3,7 +3,7 @@ package geckoterminal import ( "time" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) // NOTE: All documentation for this file can be located on the GeckoTerminal diff --git a/providers/apis/kraken/api_handler.go b/providers/apis/kraken/api_handler.go index 4fc2cca88..c9a09f2fb 100644 --- a/providers/apis/kraken/api_handler.go +++ b/providers/apis/kraken/api_handler.go @@ -7,10 +7,10 @@ import ( "strings" "time" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/pkg/math" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/pkg/math" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) var _ types.PriceAPIDataHandler = (*APIHandler)(nil) diff --git a/providers/apis/kraken/api_handler_test.go b/providers/apis/kraken/api_handler_test.go index a7b0f116f..707467552 100644 --- a/providers/apis/kraken/api_handler_test.go +++ b/providers/apis/kraken/api_handler_test.go @@ -9,10 +9,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/apis/kraken" - "github.com/skip-mev/slinky/providers/base/testutils" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/apis/kraken" + "github.com/dydxprotocol/slinky/providers/base/testutils" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) var ( diff --git a/providers/apis/kraken/utils.go b/providers/apis/kraken/utils.go index 24885dca1..d26e9d7f2 100644 --- a/providers/apis/kraken/utils.go +++ b/providers/apis/kraken/utils.go @@ -5,7 +5,7 @@ import ( "net/http" "time" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) // NOTE: All documentation for this file can be located on the Kraken docs. diff --git a/providers/apis/marketmap/client.go b/providers/apis/marketmap/client.go index d0f362a3f..9d590cce0 100644 --- a/providers/apis/marketmap/client.go +++ b/providers/apis/marketmap/client.go @@ -8,10 +8,10 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/skip-mev/slinky/oracle/config" - slinkygrpc "github.com/skip-mev/slinky/pkg/grpc" - "github.com/skip-mev/slinky/providers/base/api/metrics" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/oracle/config" + slinkygrpc "github.com/dydxprotocol/slinky/pkg/grpc" + "github.com/dydxprotocol/slinky/providers/base/api/metrics" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) // MarketMapClient is a wrapper around the x/marketmap QueryClient. diff --git a/providers/apis/marketmap/fetcher.go b/providers/apis/marketmap/fetcher.go index ad7b1f05c..2ad09e638 100644 --- a/providers/apis/marketmap/fetcher.go +++ b/providers/apis/marketmap/fetcher.go @@ -7,11 +7,11 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/providers/base/api/metrics" - providertypes "github.com/skip-mev/slinky/providers/types" - "github.com/skip-mev/slinky/service/clients/marketmap/types" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/providers/base/api/metrics" + providertypes "github.com/dydxprotocol/slinky/providers/types" + "github.com/dydxprotocol/slinky/service/clients/marketmap/types" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) // MarketMapFetcher is the x/marketmap fetcher. This fetcher is responsible for querying the diff --git a/providers/apis/marketmap/fetcher_test.go b/providers/apis/marketmap/fetcher_test.go index d5cbd9461..d9bcbe500 100644 --- a/providers/apis/marketmap/fetcher_test.go +++ b/providers/apis/marketmap/fetcher_test.go @@ -9,13 +9,13 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/providers/apis/coinbase" - "github.com/skip-mev/slinky/providers/apis/marketmap" - providertypes "github.com/skip-mev/slinky/providers/types" - "github.com/skip-mev/slinky/service/clients/marketmap/types" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" - "github.com/skip-mev/slinky/x/marketmap/types/mocks" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/providers/apis/coinbase" + "github.com/dydxprotocol/slinky/providers/apis/marketmap" + providertypes "github.com/dydxprotocol/slinky/providers/types" + "github.com/dydxprotocol/slinky/service/clients/marketmap/types" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/x/marketmap/types/mocks" ) var ( diff --git a/providers/apis/marketmap/utils.go b/providers/apis/marketmap/utils.go index 563d64049..eb302d32c 100644 --- a/providers/apis/marketmap/utils.go +++ b/providers/apis/marketmap/utils.go @@ -3,7 +3,7 @@ package marketmap import ( "time" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) const ( diff --git a/providers/apis/polymarket/api_handler.go b/providers/apis/polymarket/api_handler.go index 22613d99c..b3f607b48 100644 --- a/providers/apis/polymarket/api_handler.go +++ b/providers/apis/polymarket/api_handler.go @@ -8,9 +8,9 @@ import ( "strings" "time" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) const ( diff --git a/providers/apis/polymarket/api_handler_test.go b/providers/apis/polymarket/api_handler_test.go index eb06c7b4f..dfe77197f 100644 --- a/providers/apis/polymarket/api_handler_test.go +++ b/providers/apis/polymarket/api_handler_test.go @@ -10,8 +10,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" ) var candidateWinsElectionToken = types.DefaultProviderTicker{ diff --git a/providers/apis/polymarket/config.go b/providers/apis/polymarket/config.go index f891daa1c..d3506dc60 100644 --- a/providers/apis/polymarket/config.go +++ b/providers/apis/polymarket/config.go @@ -3,7 +3,7 @@ package polymarket import ( "time" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) var DefaultAPIConfig = config.APIConfig{ diff --git a/providers/base/api/handlers/api_data_handler.go b/providers/base/api/handlers/api_data_handler.go index b43d11f8f..c83ef94d5 100644 --- a/providers/base/api/handlers/api_data_handler.go +++ b/providers/base/api/handlers/api_data_handler.go @@ -3,7 +3,7 @@ package handlers import ( "net/http" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) // APIDataHandler defines an interface that must be implemented by all providers that diff --git a/providers/base/api/handlers/api_query_handler.go b/providers/base/api/handlers/api_query_handler.go index c0b192dea..322eb4ede 100644 --- a/providers/base/api/handlers/api_query_handler.go +++ b/providers/base/api/handlers/api_query_handler.go @@ -11,10 +11,10 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/pkg/math" - "github.com/skip-mev/slinky/providers/base/api/metrics" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/pkg/math" + "github.com/dydxprotocol/slinky/providers/base/api/metrics" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) // APIQueryHandler is an interface that encapsulates querying a data provider for info. diff --git a/providers/base/api/handlers/api_query_handler_test.go b/providers/base/api/handlers/api_query_handler_test.go index df79e528c..755cc3fd0 100644 --- a/providers/base/api/handlers/api_query_handler_test.go +++ b/providers/base/api/handlers/api_query_handler_test.go @@ -16,15 +16,15 @@ import ( "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle/config" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/providers/base/api/errors" - "github.com/skip-mev/slinky/providers/base/api/handlers" - "github.com/skip-mev/slinky/providers/base/api/handlers/mocks" - "github.com/skip-mev/slinky/providers/base/api/metrics" - mockmetrics "github.com/skip-mev/slinky/providers/base/api/metrics/mocks" - providertypes "github.com/skip-mev/slinky/providers/types" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/oracle/config" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/providers/base/api/errors" + "github.com/dydxprotocol/slinky/providers/base/api/handlers" + "github.com/dydxprotocol/slinky/providers/base/api/handlers/mocks" + "github.com/dydxprotocol/slinky/providers/base/api/metrics" + mockmetrics "github.com/dydxprotocol/slinky/providers/base/api/metrics/mocks" + providertypes "github.com/dydxprotocol/slinky/providers/types" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) var ( diff --git a/providers/base/api/handlers/mocks/api_data_handler.go b/providers/base/api/handlers/mocks/api_data_handler.go index 8ffc07184..f04a0c606 100644 --- a/providers/base/api/handlers/mocks/api_data_handler.go +++ b/providers/base/api/handlers/mocks/api_data_handler.go @@ -7,7 +7,7 @@ import ( mock "github.com/stretchr/testify/mock" - types "github.com/skip-mev/slinky/providers/types" + types "github.com/dydxprotocol/slinky/providers/types" ) // APIDataHandler is an autogenerated mock type for the APIDataHandler type diff --git a/providers/base/api/handlers/mocks/api_fetcher.go b/providers/base/api/handlers/mocks/api_fetcher.go index e41f6aa53..50e7fa9f8 100644 --- a/providers/base/api/handlers/mocks/api_fetcher.go +++ b/providers/base/api/handlers/mocks/api_fetcher.go @@ -7,7 +7,7 @@ import ( mock "github.com/stretchr/testify/mock" - types "github.com/skip-mev/slinky/providers/types" + types "github.com/dydxprotocol/slinky/providers/types" ) // APIFetcher is an autogenerated mock type for the APIFetcher type diff --git a/providers/base/api/handlers/mocks/api_query_handler.go b/providers/base/api/handlers/mocks/api_query_handler.go index 43c81da0a..c5df3ed47 100644 --- a/providers/base/api/handlers/mocks/api_query_handler.go +++ b/providers/base/api/handlers/mocks/api_query_handler.go @@ -7,7 +7,7 @@ import ( mock "github.com/stretchr/testify/mock" - types "github.com/skip-mev/slinky/providers/types" + types "github.com/dydxprotocol/slinky/providers/types" ) // APIQueryHandler is an autogenerated mock type for the APIQueryHandler type diff --git a/providers/base/api/handlers/mocks/query_handler.go b/providers/base/api/handlers/mocks/query_handler.go index fb3d3f6f9..e1a555151 100644 --- a/providers/base/api/handlers/mocks/query_handler.go +++ b/providers/base/api/handlers/mocks/query_handler.go @@ -7,7 +7,7 @@ import ( mock "github.com/stretchr/testify/mock" - types "github.com/skip-mev/slinky/providers/types" + types "github.com/dydxprotocol/slinky/providers/types" ) // QueryHandler is an autogenerated mock type for the QueryHandler type diff --git a/providers/base/api/handlers/rest_api_price_fetcher.go b/providers/base/api/handlers/rest_api_price_fetcher.go index a3caefbd0..70703a732 100644 --- a/providers/base/api/handlers/rest_api_price_fetcher.go +++ b/providers/base/api/handlers/rest_api_price_fetcher.go @@ -8,10 +8,10 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/providers/base/api/errors" - "github.com/skip-mev/slinky/providers/base/api/metrics" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/providers/base/api/errors" + "github.com/dydxprotocol/slinky/providers/base/api/metrics" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) // RestAPIFetcher handles the logic of fetching prices from a REST API. This implementation diff --git a/providers/base/api/metrics/api_query_handler.go b/providers/base/api/metrics/api_query_handler.go index 8edb68895..c8a8b89ab 100644 --- a/providers/base/api/metrics/api_query_handler.go +++ b/providers/base/api/metrics/api_query_handler.go @@ -7,10 +7,10 @@ import ( "github.com/prometheus/client_golang/prometheus" - "github.com/skip-mev/slinky/oracle/config" - oraclemetrics "github.com/skip-mev/slinky/oracle/metrics" - providermetrics "github.com/skip-mev/slinky/providers/base/metrics" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/config" + oraclemetrics "github.com/dydxprotocol/slinky/oracle/metrics" + providermetrics "github.com/dydxprotocol/slinky/providers/base/metrics" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) // APIMetrics is an interface that defines the API for metrics collection for providers diff --git a/providers/base/api/metrics/mocks/mock_metrics.go b/providers/base/api/metrics/mocks/mock_metrics.go index 8fb3f1a3f..97bef0994 100644 --- a/providers/base/api/metrics/mocks/mock_metrics.go +++ b/providers/base/api/metrics/mocks/mock_metrics.go @@ -7,11 +7,11 @@ import ( mock "github.com/stretchr/testify/mock" - metrics "github.com/skip-mev/slinky/providers/base/api/metrics" + metrics "github.com/dydxprotocol/slinky/providers/base/api/metrics" time "time" - types "github.com/skip-mev/slinky/providers/types" + types "github.com/dydxprotocol/slinky/providers/types" ) // APIMetrics is an autogenerated mock type for the APIMetrics type diff --git a/providers/base/config.go b/providers/base/config.go index fab927f76..89b3e2f17 100644 --- a/providers/base/config.go +++ b/providers/base/config.go @@ -3,10 +3,10 @@ package base import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - apihandler "github.com/skip-mev/slinky/providers/base/api/handlers" - wshandlers "github.com/skip-mev/slinky/providers/base/websocket/handlers" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/config" + apihandler "github.com/dydxprotocol/slinky/providers/base/api/handlers" + wshandlers "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) // UpdateOption are the options that can be used to update the provider. diff --git a/providers/base/config_test.go b/providers/base/config_test.go index c9be985e4..d792c153a 100644 --- a/providers/base/config_test.go +++ b/providers/base/config_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/require" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/providers/base" - "github.com/skip-mev/slinky/providers/base/testutils" - providertypes "github.com/skip-mev/slinky/providers/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/providers/base" + "github.com/dydxprotocol/slinky/providers/base/testutils" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) var ( diff --git a/providers/base/fetch.go b/providers/base/fetch.go index b496d4429..c107952ae 100644 --- a/providers/base/fetch.go +++ b/providers/base/fetch.go @@ -11,9 +11,9 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/pkg/slices" - providermetrics "github.com/skip-mev/slinky/providers/base/metrics" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/pkg/slices" + providermetrics "github.com/dydxprotocol/slinky/providers/base/metrics" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) // fetch is the main blocker for the provider. It is responsible for fetching data from diff --git a/providers/base/metrics/mocks/mock_metrics.go b/providers/base/metrics/mocks/mock_metrics.go index 0af6e1c35..94ac8e450 100644 --- a/providers/base/metrics/mocks/mock_metrics.go +++ b/providers/base/metrics/mocks/mock_metrics.go @@ -5,9 +5,9 @@ package mocks import ( mock "github.com/stretchr/testify/mock" - metrics "github.com/skip-mev/slinky/providers/base/metrics" + metrics "github.com/dydxprotocol/slinky/providers/base/metrics" - types "github.com/skip-mev/slinky/providers/types" + types "github.com/dydxprotocol/slinky/providers/types" ) // ProviderMetrics is an autogenerated mock type for the ProviderMetrics type diff --git a/providers/base/metrics/provider.go b/providers/base/metrics/provider.go index f532d174c..64eaf588b 100644 --- a/providers/base/metrics/provider.go +++ b/providers/base/metrics/provider.go @@ -6,9 +6,9 @@ import ( "github.com/prometheus/client_golang/prometheus" - "github.com/skip-mev/slinky/oracle/config" - oraclemetrics "github.com/skip-mev/slinky/oracle/metrics" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/config" + oraclemetrics "github.com/dydxprotocol/slinky/oracle/metrics" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) const ( diff --git a/providers/base/options.go b/providers/base/options.go index 382077390..e9dcbccc2 100644 --- a/providers/base/options.go +++ b/providers/base/options.go @@ -3,11 +3,11 @@ package base import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - apihandlers "github.com/skip-mev/slinky/providers/base/api/handlers" - providermetrics "github.com/skip-mev/slinky/providers/base/metrics" - wshandlers "github.com/skip-mev/slinky/providers/base/websocket/handlers" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/config" + apihandlers "github.com/dydxprotocol/slinky/providers/base/api/handlers" + providermetrics "github.com/dydxprotocol/slinky/providers/base/metrics" + wshandlers "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) // ProviderOption is a function that can be used to modify a provider. diff --git a/providers/base/provider.go b/providers/base/provider.go index d159a5739..5a0ddf346 100644 --- a/providers/base/provider.go +++ b/providers/base/provider.go @@ -8,11 +8,11 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - apihandlers "github.com/skip-mev/slinky/providers/base/api/handlers" - providermetrics "github.com/skip-mev/slinky/providers/base/metrics" - wshandlers "github.com/skip-mev/slinky/providers/base/websocket/handlers" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/config" + apihandlers "github.com/dydxprotocol/slinky/providers/base/api/handlers" + providermetrics "github.com/dydxprotocol/slinky/providers/base/metrics" + wshandlers "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) // Provider implements a base provider that can be used to build other providers. diff --git a/providers/base/provider_test.go b/providers/base/provider_test.go index fd3b9bec8..11ccdc0e4 100644 --- a/providers/base/provider_test.go +++ b/providers/base/provider_test.go @@ -12,19 +12,19 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/providers/base" - apierrors "github.com/skip-mev/slinky/providers/base/api/errors" - apihandlers "github.com/skip-mev/slinky/providers/base/api/handlers" - apihandlermocks "github.com/skip-mev/slinky/providers/base/api/handlers/mocks" - providermetrics "github.com/skip-mev/slinky/providers/base/metrics" - metricmocks "github.com/skip-mev/slinky/providers/base/metrics/mocks" - "github.com/skip-mev/slinky/providers/base/testutils" - wserrors "github.com/skip-mev/slinky/providers/base/websocket/errors" - wshandlers "github.com/skip-mev/slinky/providers/base/websocket/handlers" - wshandlermocks "github.com/skip-mev/slinky/providers/base/websocket/handlers/mocks" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/config" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/providers/base" + apierrors "github.com/dydxprotocol/slinky/providers/base/api/errors" + apihandlers "github.com/dydxprotocol/slinky/providers/base/api/handlers" + apihandlermocks "github.com/dydxprotocol/slinky/providers/base/api/handlers/mocks" + providermetrics "github.com/dydxprotocol/slinky/providers/base/metrics" + metricmocks "github.com/dydxprotocol/slinky/providers/base/metrics/mocks" + "github.com/dydxprotocol/slinky/providers/base/testutils" + wserrors "github.com/dydxprotocol/slinky/providers/base/websocket/errors" + wshandlers "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" + wshandlermocks "github.com/dydxprotocol/slinky/providers/base/websocket/handlers/mocks" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) var ( diff --git a/providers/base/testutils/http.go b/providers/base/testutils/http.go index a4b1b73fd..7b35a47d5 100644 --- a/providers/base/testutils/http.go +++ b/providers/base/testutils/http.go @@ -12,11 +12,11 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/providers/base" - "github.com/skip-mev/slinky/providers/base/api/handlers" - handlermocks "github.com/skip-mev/slinky/providers/base/api/handlers/mocks" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/providers/base" + "github.com/dydxprotocol/slinky/providers/base/api/handlers" + handlermocks "github.com/dydxprotocol/slinky/providers/base/api/handlers/mocks" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) // CreateResponseFromJSON creates a http response from a json string. diff --git a/providers/base/testutils/websocket.go b/providers/base/testutils/websocket.go index 1e070eb81..7199b14bf 100644 --- a/providers/base/testutils/websocket.go +++ b/providers/base/testutils/websocket.go @@ -9,11 +9,11 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/providers/base" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" - handlermocks "github.com/skip-mev/slinky/providers/base/websocket/handlers/mocks" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/providers/base" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" + handlermocks "github.com/dydxprotocol/slinky/providers/base/websocket/handlers/mocks" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) // CreateWebSocketQueryHandlerWithGetResponses creates a mock query handler that returns the given responses every diff --git a/providers/base/utils.go b/providers/base/utils.go index b581b3abf..d22ce44cf 100644 --- a/providers/base/utils.go +++ b/providers/base/utils.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) // createResponseCh creates the response channel for the provider. diff --git a/providers/base/websocket/handlers/mocks/web_socket_conn_handler.go b/providers/base/websocket/handlers/mocks/web_socket_conn_handler.go index 426f075c4..bdc4dfc23 100644 --- a/providers/base/websocket/handlers/mocks/web_socket_conn_handler.go +++ b/providers/base/websocket/handlers/mocks/web_socket_conn_handler.go @@ -5,7 +5,7 @@ package mocks import ( mock "github.com/stretchr/testify/mock" - handlers "github.com/skip-mev/slinky/providers/base/websocket/handlers" + handlers "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) // WebSocketConnHandler is an autogenerated mock type for the WebSocketConnHandler type diff --git a/providers/base/websocket/handlers/mocks/web_socket_data_handler.go b/providers/base/websocket/handlers/mocks/web_socket_data_handler.go index fd29238c6..27cb476ac 100644 --- a/providers/base/websocket/handlers/mocks/web_socket_data_handler.go +++ b/providers/base/websocket/handlers/mocks/web_socket_data_handler.go @@ -5,9 +5,9 @@ package mocks import ( mock "github.com/stretchr/testify/mock" - handlers "github.com/skip-mev/slinky/providers/base/websocket/handlers" + handlers "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" - types "github.com/skip-mev/slinky/providers/types" + types "github.com/dydxprotocol/slinky/providers/types" ) // WebSocketDataHandler is an autogenerated mock type for the WebSocketDataHandler type diff --git a/providers/base/websocket/handlers/mocks/web_socket_query_handler.go b/providers/base/websocket/handlers/mocks/web_socket_query_handler.go index 8058f2e7e..29fab161e 100644 --- a/providers/base/websocket/handlers/mocks/web_socket_query_handler.go +++ b/providers/base/websocket/handlers/mocks/web_socket_query_handler.go @@ -7,9 +7,9 @@ import ( mock "github.com/stretchr/testify/mock" - handlers "github.com/skip-mev/slinky/providers/base/websocket/handlers" + handlers "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" - types "github.com/skip-mev/slinky/providers/types" + types "github.com/dydxprotocol/slinky/providers/types" ) // WebSocketQueryHandler is an autogenerated mock type for the WebSocketQueryHandler type diff --git a/providers/base/websocket/handlers/ws_conn_handler.go b/providers/base/websocket/handlers/ws_conn_handler.go index b053e2431..f9e80b082 100644 --- a/providers/base/websocket/handlers/ws_conn_handler.go +++ b/providers/base/websocket/handlers/ws_conn_handler.go @@ -8,7 +8,7 @@ import ( "github.com/gorilla/websocket" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) type ( diff --git a/providers/base/websocket/handlers/ws_data_handler.go b/providers/base/websocket/handlers/ws_data_handler.go index a3532950a..fba9d5ad6 100644 --- a/providers/base/websocket/handlers/ws_data_handler.go +++ b/providers/base/websocket/handlers/ws_data_handler.go @@ -1,7 +1,7 @@ package handlers import ( - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) // WebSocketDataHandler defines an interface that must be implemented by all providers that diff --git a/providers/base/websocket/handlers/ws_query_handler.go b/providers/base/websocket/handlers/ws_query_handler.go index 7ccfca150..be256e5dc 100644 --- a/providers/base/websocket/handlers/ws_query_handler.go +++ b/providers/base/websocket/handlers/ws_query_handler.go @@ -7,10 +7,10 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/providers/base/websocket/errors" - "github.com/skip-mev/slinky/providers/base/websocket/metrics" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/providers/base/websocket/errors" + "github.com/dydxprotocol/slinky/providers/base/websocket/metrics" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) // WebSocketQueryHandler is an interface that encapsulates querying a websocket diff --git a/providers/base/websocket/handlers/ws_query_handler_test.go b/providers/base/websocket/handlers/ws_query_handler_test.go index 7eff76dfa..eaf81a564 100644 --- a/providers/base/websocket/handlers/ws_query_handler_test.go +++ b/providers/base/websocket/handlers/ws_query_handler_test.go @@ -12,14 +12,14 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - wserrors "github.com/skip-mev/slinky/providers/base/websocket/errors" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" - handlermocks "github.com/skip-mev/slinky/providers/base/websocket/handlers/mocks" - "github.com/skip-mev/slinky/providers/base/websocket/metrics" - mockmetrics "github.com/skip-mev/slinky/providers/base/websocket/metrics/mocks" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/config" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + wserrors "github.com/dydxprotocol/slinky/providers/base/websocket/errors" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" + handlermocks "github.com/dydxprotocol/slinky/providers/base/websocket/handlers/mocks" + "github.com/dydxprotocol/slinky/providers/base/websocket/metrics" + mockmetrics "github.com/dydxprotocol/slinky/providers/base/websocket/metrics/mocks" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) var ( diff --git a/providers/base/websocket/metrics/mocks/mock_metrics.go b/providers/base/websocket/metrics/mocks/mock_metrics.go index 224311ec6..0c524236f 100644 --- a/providers/base/websocket/metrics/mocks/mock_metrics.go +++ b/providers/base/websocket/metrics/mocks/mock_metrics.go @@ -5,7 +5,7 @@ package mocks import ( mock "github.com/stretchr/testify/mock" - metrics "github.com/skip-mev/slinky/providers/base/websocket/metrics" + metrics "github.com/dydxprotocol/slinky/providers/base/websocket/metrics" time "time" ) diff --git a/providers/base/websocket/metrics/ws_query_handler.go b/providers/base/websocket/metrics/ws_query_handler.go index 1288f6893..c90a68f30 100644 --- a/providers/base/websocket/metrics/ws_query_handler.go +++ b/providers/base/websocket/metrics/ws_query_handler.go @@ -5,9 +5,9 @@ import ( "github.com/prometheus/client_golang/prometheus" - "github.com/skip-mev/slinky/oracle/config" - oraclemetrics "github.com/skip-mev/slinky/oracle/metrics" - providermetrics "github.com/skip-mev/slinky/providers/base/metrics" + "github.com/dydxprotocol/slinky/oracle/config" + oraclemetrics "github.com/dydxprotocol/slinky/oracle/metrics" + providermetrics "github.com/dydxprotocol/slinky/providers/base/metrics" ) const ( diff --git a/providers/factories/oracle/api.go b/providers/factories/oracle/api.go index 35c065393..8b2af7a32 100644 --- a/providers/factories/oracle/api.go +++ b/providers/factories/oracle/api.go @@ -8,23 +8,23 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/apis/binance" - "github.com/skip-mev/slinky/providers/apis/bitstamp" - coinbaseapi "github.com/skip-mev/slinky/providers/apis/coinbase" - "github.com/skip-mev/slinky/providers/apis/coingecko" - "github.com/skip-mev/slinky/providers/apis/coinmarketcap" - "github.com/skip-mev/slinky/providers/apis/defi/osmosis" - "github.com/skip-mev/slinky/providers/apis/defi/raydium" - "github.com/skip-mev/slinky/providers/apis/defi/uniswapv3" - "github.com/skip-mev/slinky/providers/apis/geckoterminal" - "github.com/skip-mev/slinky/providers/apis/kraken" - "github.com/skip-mev/slinky/providers/apis/polymarket" - apihandlers "github.com/skip-mev/slinky/providers/base/api/handlers" - "github.com/skip-mev/slinky/providers/base/api/metrics" - "github.com/skip-mev/slinky/providers/static" - "github.com/skip-mev/slinky/providers/volatile" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/apis/binance" + "github.com/dydxprotocol/slinky/providers/apis/bitstamp" + coinbaseapi "github.com/dydxprotocol/slinky/providers/apis/coinbase" + "github.com/dydxprotocol/slinky/providers/apis/coingecko" + "github.com/dydxprotocol/slinky/providers/apis/coinmarketcap" + "github.com/dydxprotocol/slinky/providers/apis/defi/osmosis" + "github.com/dydxprotocol/slinky/providers/apis/defi/raydium" + "github.com/dydxprotocol/slinky/providers/apis/defi/uniswapv3" + "github.com/dydxprotocol/slinky/providers/apis/geckoterminal" + "github.com/dydxprotocol/slinky/providers/apis/kraken" + "github.com/dydxprotocol/slinky/providers/apis/polymarket" + apihandlers "github.com/dydxprotocol/slinky/providers/base/api/handlers" + "github.com/dydxprotocol/slinky/providers/base/api/metrics" + "github.com/dydxprotocol/slinky/providers/static" + "github.com/dydxprotocol/slinky/providers/volatile" ) // APIQueryHandlerFactory returns a sample implementation of the API query handler factory. diff --git a/providers/factories/oracle/marketmap.go b/providers/factories/oracle/marketmap.go index 261a2da08..c9d9a4a24 100644 --- a/providers/factories/oracle/marketmap.go +++ b/providers/factories/oracle/marketmap.go @@ -5,15 +5,15 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/providers/apis/dydx" - "github.com/skip-mev/slinky/providers/apis/marketmap" - "github.com/skip-mev/slinky/providers/base" - apihandlers "github.com/skip-mev/slinky/providers/base/api/handlers" - apimetrics "github.com/skip-mev/slinky/providers/base/api/metrics" - providermetrics "github.com/skip-mev/slinky/providers/base/metrics" - "github.com/skip-mev/slinky/service/clients/marketmap/types" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/providers/apis/dydx" + "github.com/dydxprotocol/slinky/providers/apis/marketmap" + "github.com/dydxprotocol/slinky/providers/base" + apihandlers "github.com/dydxprotocol/slinky/providers/base/api/handlers" + apimetrics "github.com/dydxprotocol/slinky/providers/base/api/metrics" + providermetrics "github.com/dydxprotocol/slinky/providers/base/metrics" + "github.com/dydxprotocol/slinky/service/clients/marketmap/types" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) // MarketMapProviderFactory returns a sample implementation of the market map provider. This provider diff --git a/providers/factories/oracle/websocket.go b/providers/factories/oracle/websocket.go index a2c86f3df..4d62a519f 100644 --- a/providers/factories/oracle/websocket.go +++ b/providers/factories/oracle/websocket.go @@ -7,23 +7,23 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - apihandlers "github.com/skip-mev/slinky/providers/base/api/handlers" - wshandlers "github.com/skip-mev/slinky/providers/base/websocket/handlers" - wsmetrics "github.com/skip-mev/slinky/providers/base/websocket/metrics" - "github.com/skip-mev/slinky/providers/websockets/binance" - "github.com/skip-mev/slinky/providers/websockets/bitfinex" - "github.com/skip-mev/slinky/providers/websockets/bitstamp" - "github.com/skip-mev/slinky/providers/websockets/bybit" - coinbasews "github.com/skip-mev/slinky/providers/websockets/coinbase" - "github.com/skip-mev/slinky/providers/websockets/cryptodotcom" - "github.com/skip-mev/slinky/providers/websockets/gate" - "github.com/skip-mev/slinky/providers/websockets/huobi" - "github.com/skip-mev/slinky/providers/websockets/kraken" - "github.com/skip-mev/slinky/providers/websockets/kucoin" - "github.com/skip-mev/slinky/providers/websockets/mexc" - "github.com/skip-mev/slinky/providers/websockets/okx" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + apihandlers "github.com/dydxprotocol/slinky/providers/base/api/handlers" + wshandlers "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" + wsmetrics "github.com/dydxprotocol/slinky/providers/base/websocket/metrics" + "github.com/dydxprotocol/slinky/providers/websockets/binance" + "github.com/dydxprotocol/slinky/providers/websockets/bitfinex" + "github.com/dydxprotocol/slinky/providers/websockets/bitstamp" + "github.com/dydxprotocol/slinky/providers/websockets/bybit" + coinbasews "github.com/dydxprotocol/slinky/providers/websockets/coinbase" + "github.com/dydxprotocol/slinky/providers/websockets/cryptodotcom" + "github.com/dydxprotocol/slinky/providers/websockets/gate" + "github.com/dydxprotocol/slinky/providers/websockets/huobi" + "github.com/dydxprotocol/slinky/providers/websockets/kraken" + "github.com/dydxprotocol/slinky/providers/websockets/kucoin" + "github.com/dydxprotocol/slinky/providers/websockets/mexc" + "github.com/dydxprotocol/slinky/providers/websockets/okx" ) // WebSocketQueryHandlerFactory returns a sample implementation of the websocket query handler diff --git a/providers/providertest/provider.go b/providers/providertest/provider.go index 9de62be87..1b5ebc8f3 100644 --- a/providers/providertest/provider.go +++ b/providers/providertest/provider.go @@ -7,13 +7,13 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle" - oraclemetrics "github.com/skip-mev/slinky/oracle/metrics" - oracletypes "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/pkg/log" - oraclemath "github.com/skip-mev/slinky/pkg/math/oracle" - oraclefactory "github.com/skip-mev/slinky/providers/factories/oracle" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/oracle" + oraclemetrics "github.com/dydxprotocol/slinky/oracle/metrics" + oracletypes "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/pkg/log" + oraclemath "github.com/dydxprotocol/slinky/pkg/math/oracle" + oraclefactory "github.com/dydxprotocol/slinky/providers/factories/oracle" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) type TestingOracle struct { diff --git a/providers/providertest/util.go b/providers/providertest/util.go index ce60292f7..0837d623a 100644 --- a/providers/providertest/util.go +++ b/providers/providertest/util.go @@ -3,10 +3,10 @@ package providertest import ( "fmt" - "github.com/skip-mev/slinky/cmd/constants" - cmdconfig "github.com/skip-mev/slinky/cmd/slinky/config" - "github.com/skip-mev/slinky/oracle/config" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/cmd/constants" + cmdconfig "github.com/dydxprotocol/slinky/cmd/slinky/config" + "github.com/dydxprotocol/slinky/oracle/config" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) func FilterMarketMapToProviders(mm mmtypes.MarketMap) map[string]mmtypes.MarketMap { diff --git a/providers/static/api_handler.go b/providers/static/api_handler.go index 89d548b6f..a977b9a9a 100644 --- a/providers/static/api_handler.go +++ b/providers/static/api_handler.go @@ -5,9 +5,9 @@ import ( "net/http" "time" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" - "github.com/skip-mev/slinky/oracle/types" + "github.com/dydxprotocol/slinky/oracle/types" ) var _ types.PriceAPIDataHandler = (*MockAPIHandler)(nil) diff --git a/providers/static/client.go b/providers/static/client.go index 3da5e2738..1f278b900 100644 --- a/providers/static/client.go +++ b/providers/static/client.go @@ -6,7 +6,7 @@ import ( "net/http" "strings" - "github.com/skip-mev/slinky/providers/base/api/handlers" + "github.com/dydxprotocol/slinky/providers/base/api/handlers" ) var _ handlers.RequestHandler = (*MockClient)(nil) diff --git a/providers/types/factory/factory.go b/providers/types/factory/factory.go index 50fed4763..927eb086d 100644 --- a/providers/types/factory/factory.go +++ b/providers/types/factory/factory.go @@ -3,14 +3,14 @@ package factory import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/providers/base" - apihandlers "github.com/skip-mev/slinky/providers/base/api/handlers" - apimetrics "github.com/skip-mev/slinky/providers/base/api/metrics" - providermetrics "github.com/skip-mev/slinky/providers/base/metrics" - wshandlers "github.com/skip-mev/slinky/providers/base/websocket/handlers" - wsmetrics "github.com/skip-mev/slinky/providers/base/websocket/metrics" - providertypes "github.com/skip-mev/slinky/providers/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/providers/base" + apihandlers "github.com/dydxprotocol/slinky/providers/base/api/handlers" + apimetrics "github.com/dydxprotocol/slinky/providers/base/api/metrics" + providermetrics "github.com/dydxprotocol/slinky/providers/base/metrics" + wshandlers "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" + wsmetrics "github.com/dydxprotocol/slinky/providers/base/websocket/metrics" + providertypes "github.com/dydxprotocol/slinky/providers/types" ) type ( diff --git a/providers/types/mocks/mock_provider.go b/providers/types/mocks/mock_provider.go index ed9471117..6a5513a8c 100644 --- a/providers/types/mocks/mock_provider.go +++ b/providers/types/mocks/mock_provider.go @@ -7,7 +7,7 @@ import ( mock "github.com/stretchr/testify/mock" - types "github.com/skip-mev/slinky/providers/types" + types "github.com/dydxprotocol/slinky/providers/types" ) // Provider is an autogenerated mock type for the Provider type diff --git a/providers/volatile/api_handler.go b/providers/volatile/api_handler.go index dcd22ad18..57d07e14c 100644 --- a/providers/volatile/api_handler.go +++ b/providers/volatile/api_handler.go @@ -4,9 +4,9 @@ import ( "net/http" "time" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" + "github.com/dydxprotocol/slinky/oracle/types" ) const ( diff --git a/providers/volatile/api_handler_test.go b/providers/volatile/api_handler_test.go index 888c7c024..a6dffc59d 100644 --- a/providers/volatile/api_handler_test.go +++ b/providers/volatile/api_handler_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/volatile" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/volatile" ) var ( diff --git a/providers/volatile/price_test.go b/providers/volatile/price_test.go index 6ab097b4d..ca3355ea5 100644 --- a/providers/volatile/price_test.go +++ b/providers/volatile/price_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/providers/volatile" + "github.com/dydxprotocol/slinky/providers/volatile" ) const dailySeconds = 24 * 60 * 60 diff --git a/providers/websockets/binance/messages.go b/providers/websockets/binance/messages.go index 83842bce7..22aceddcb 100644 --- a/providers/websockets/binance/messages.go +++ b/providers/websockets/binance/messages.go @@ -6,8 +6,8 @@ import ( "math" "strings" - slinkymath "github.com/skip-mev/slinky/pkg/math" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + slinkymath "github.com/dydxprotocol/slinky/pkg/math" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) type ( diff --git a/providers/websockets/binance/parse.go b/providers/websockets/binance/parse.go index 3b0ec604c..aa86c92a6 100644 --- a/providers/websockets/binance/parse.go +++ b/providers/websockets/binance/parse.go @@ -4,10 +4,10 @@ import ( "fmt" "time" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/pkg/math" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/pkg/math" ) // parsePriceUpdateMessage parses a price update message from the Binance websocket feed. diff --git a/providers/websockets/binance/utils.go b/providers/websockets/binance/utils.go index b70fe2cdb..a0506d088 100644 --- a/providers/websockets/binance/utils.go +++ b/providers/websockets/binance/utils.go @@ -3,7 +3,7 @@ package binance import ( "time" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) var ( diff --git a/providers/websockets/binance/ws_data_handler.go b/providers/websockets/binance/ws_data_handler.go index bf1499b0b..8bb56f6cc 100644 --- a/providers/websockets/binance/ws_data_handler.go +++ b/providers/websockets/binance/ws_data_handler.go @@ -7,9 +7,9 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) var _ types.PriceWebSocketDataHandler = (*WebSocketHandler)(nil) diff --git a/providers/websockets/binance/ws_data_handler_test.go b/providers/websockets/binance/ws_data_handler_test.go index 07f6660da..77a483459 100644 --- a/providers/websockets/binance/ws_data_handler_test.go +++ b/providers/websockets/binance/ws_data_handler_test.go @@ -9,11 +9,11 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" - providertypes "github.com/skip-mev/slinky/providers/types" - "github.com/skip-mev/slinky/providers/websockets/binance" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" + providertypes "github.com/dydxprotocol/slinky/providers/types" + "github.com/dydxprotocol/slinky/providers/websockets/binance" ) var ( diff --git a/providers/websockets/bitfinex/messages.go b/providers/websockets/bitfinex/messages.go index ca67fd591..5be00414f 100644 --- a/providers/websockets/bitfinex/messages.go +++ b/providers/websockets/bitfinex/messages.go @@ -5,7 +5,7 @@ import ( "errors" "fmt" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) type ( diff --git a/providers/websockets/bitfinex/parse.go b/providers/websockets/bitfinex/parse.go index db4954e4c..05c285421 100644 --- a/providers/websockets/bitfinex/parse.go +++ b/providers/websockets/bitfinex/parse.go @@ -6,12 +6,12 @@ import ( "math/big" "time" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) const ( diff --git a/providers/websockets/bitfinex/utils.go b/providers/websockets/bitfinex/utils.go index 37f2b35f9..2c0baec2c 100644 --- a/providers/websockets/bitfinex/utils.go +++ b/providers/websockets/bitfinex/utils.go @@ -1,7 +1,7 @@ package bitfinex import ( - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) const ( diff --git a/providers/websockets/bitfinex/ws_data_handler.go b/providers/websockets/bitfinex/ws_data_handler.go index 606726321..f8c527eab 100644 --- a/providers/websockets/bitfinex/ws_data_handler.go +++ b/providers/websockets/bitfinex/ws_data_handler.go @@ -6,9 +6,9 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) var _ types.PriceWebSocketDataHandler = (*WebSocketHandler)(nil) diff --git a/providers/websockets/bitfinex/ws_data_handler_test.go b/providers/websockets/bitfinex/ws_data_handler_test.go index f7e4be1ad..42de31ccb 100644 --- a/providers/websockets/bitfinex/ws_data_handler_test.go +++ b/providers/websockets/bitfinex/ws_data_handler_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" - "github.com/skip-mev/slinky/providers/websockets/bitfinex" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/providers/websockets/bitfinex" ) var ( diff --git a/providers/websockets/bitstamp/messages.go b/providers/websockets/bitstamp/messages.go index 723d283d3..3c7525067 100644 --- a/providers/websockets/bitstamp/messages.go +++ b/providers/websockets/bitstamp/messages.go @@ -4,7 +4,7 @@ import ( "encoding/json" "fmt" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) type ( diff --git a/providers/websockets/bitstamp/parse.go b/providers/websockets/bitstamp/parse.go index 2e011ace2..3c8a715d5 100644 --- a/providers/websockets/bitstamp/parse.go +++ b/providers/websockets/bitstamp/parse.go @@ -5,10 +5,10 @@ import ( "strings" "time" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/pkg/math" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/pkg/math" ) // parseTickerMessage parses a ticker message received from the Bitstamp websocket API. diff --git a/providers/websockets/bitstamp/utils.go b/providers/websockets/bitstamp/utils.go index 7f9685fa4..adf6d2f3a 100644 --- a/providers/websockets/bitstamp/utils.go +++ b/providers/websockets/bitstamp/utils.go @@ -3,7 +3,7 @@ package bitstamp import ( "time" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) const ( diff --git a/providers/websockets/bitstamp/ws_data_handler.go b/providers/websockets/bitstamp/ws_data_handler.go index 3c11d435a..efbb90d54 100644 --- a/providers/websockets/bitstamp/ws_data_handler.go +++ b/providers/websockets/bitstamp/ws_data_handler.go @@ -6,9 +6,9 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) var _ types.PriceWebSocketDataHandler = (*WebSocketHandler)(nil) diff --git a/providers/websockets/bitstamp/ws_data_handler_test.go b/providers/websockets/bitstamp/ws_data_handler_test.go index b354f8d39..d2f5c91a5 100644 --- a/providers/websockets/bitstamp/ws_data_handler_test.go +++ b/providers/websockets/bitstamp/ws_data_handler_test.go @@ -5,14 +5,14 @@ import ( "math/big" "testing" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" - "github.com/skip-mev/slinky/providers/websockets/bitstamp" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/providers/websockets/bitstamp" ) var ( diff --git a/providers/websockets/bybit/messages.go b/providers/websockets/bybit/messages.go index 452dff538..757bdc444 100644 --- a/providers/websockets/bybit/messages.go +++ b/providers/websockets/bybit/messages.go @@ -5,8 +5,8 @@ import ( "fmt" "math" - slinkymath "github.com/skip-mev/slinky/pkg/math" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + slinkymath "github.com/dydxprotocol/slinky/pkg/math" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) type ( diff --git a/providers/websockets/bybit/parse.go b/providers/websockets/bybit/parse.go index e196e2ecc..14fb8f6e0 100644 --- a/providers/websockets/bybit/parse.go +++ b/providers/websockets/bybit/parse.go @@ -5,13 +5,13 @@ import ( "strings" "time" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/pkg/math" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/pkg/math" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) // parseSubscriptionResponse parses a subscribe response message. The format of the message diff --git a/providers/websockets/bybit/utils.go b/providers/websockets/bybit/utils.go index b3368c8da..f66ef8521 100644 --- a/providers/websockets/bybit/utils.go +++ b/providers/websockets/bybit/utils.go @@ -3,7 +3,7 @@ package bybit import ( "time" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) const ( diff --git a/providers/websockets/bybit/ws_data_hander_test.go b/providers/websockets/bybit/ws_data_hander_test.go index bbf435d66..6b7e1139d 100644 --- a/providers/websockets/bybit/ws_data_hander_test.go +++ b/providers/websockets/bybit/ws_data_hander_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" - "github.com/skip-mev/slinky/providers/websockets/bybit" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/providers/websockets/bybit" ) var ( diff --git a/providers/websockets/bybit/ws_data_handler.go b/providers/websockets/bybit/ws_data_handler.go index 1c3c6e8f9..eba00a4b7 100644 --- a/providers/websockets/bybit/ws_data_handler.go +++ b/providers/websockets/bybit/ws_data_handler.go @@ -7,9 +7,9 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) var _ types.PriceWebSocketDataHandler = (*WebSocketHandler)(nil) diff --git a/providers/websockets/coinbase/messages.go b/providers/websockets/coinbase/messages.go index c9c148cad..b04486b18 100644 --- a/providers/websockets/coinbase/messages.go +++ b/providers/websockets/coinbase/messages.go @@ -5,8 +5,8 @@ import ( "fmt" "math" - slinkymath "github.com/skip-mev/slinky/pkg/math" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + slinkymath "github.com/dydxprotocol/slinky/pkg/math" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) type ( diff --git a/providers/websockets/coinbase/parse.go b/providers/websockets/coinbase/parse.go index eeec13fb8..d02ed5d34 100644 --- a/providers/websockets/coinbase/parse.go +++ b/providers/websockets/coinbase/parse.go @@ -5,10 +5,10 @@ import ( "math/big" "time" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/pkg/math" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/pkg/math" ) // parseTickerResponseMessage is used to parse a ticker response message. Note diff --git a/providers/websockets/coinbase/utils.go b/providers/websockets/coinbase/utils.go index d80256d8c..260f28489 100644 --- a/providers/websockets/coinbase/utils.go +++ b/providers/websockets/coinbase/utils.go @@ -3,7 +3,7 @@ package coinbase import ( "time" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) const ( diff --git a/providers/websockets/coinbase/ws_data_handler.go b/providers/websockets/coinbase/ws_data_handler.go index eaf4a1dc2..2a5f1b83d 100644 --- a/providers/websockets/coinbase/ws_data_handler.go +++ b/providers/websockets/coinbase/ws_data_handler.go @@ -6,9 +6,9 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) var _ types.PriceWebSocketDataHandler = (*WebSocketHandler)(nil) diff --git a/providers/websockets/coinbase/ws_data_handler_test.go b/providers/websockets/coinbase/ws_data_handler_test.go index 9ba4f3277..4ab66fb22 100644 --- a/providers/websockets/coinbase/ws_data_handler_test.go +++ b/providers/websockets/coinbase/ws_data_handler_test.go @@ -6,16 +6,16 @@ import ( "math/big" "testing" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" "go.uber.org/zap" "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" - "github.com/skip-mev/slinky/providers/websockets/coinbase" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/providers/websockets/coinbase" ) var ( diff --git a/providers/websockets/cryptodotcom/messages.go b/providers/websockets/cryptodotcom/messages.go index 661db0100..255cedb0c 100644 --- a/providers/websockets/cryptodotcom/messages.go +++ b/providers/websockets/cryptodotcom/messages.go @@ -5,8 +5,8 @@ import ( "fmt" "math" - slinkymath "github.com/skip-mev/slinky/pkg/math" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + slinkymath "github.com/dydxprotocol/slinky/pkg/math" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) type ( diff --git a/providers/websockets/cryptodotcom/parse.go b/providers/websockets/cryptodotcom/parse.go index d7abb49a1..dba35a8af 100644 --- a/providers/websockets/cryptodotcom/parse.go +++ b/providers/websockets/cryptodotcom/parse.go @@ -4,12 +4,12 @@ import ( "fmt" "time" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/pkg/math" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/pkg/math" ) // parseInstrumentMessage is used to parse an instrument message received from the Crypto.com diff --git a/providers/websockets/cryptodotcom/utils.go b/providers/websockets/cryptodotcom/utils.go index 44c6e061e..01b365ec9 100644 --- a/providers/websockets/cryptodotcom/utils.go +++ b/providers/websockets/cryptodotcom/utils.go @@ -3,7 +3,7 @@ package cryptodotcom import ( "time" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) const ( diff --git a/providers/websockets/cryptodotcom/ws_data_handler.go b/providers/websockets/cryptodotcom/ws_data_handler.go index 9f30a74f1..ec341dbf7 100644 --- a/providers/websockets/cryptodotcom/ws_data_handler.go +++ b/providers/websockets/cryptodotcom/ws_data_handler.go @@ -6,9 +6,9 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) var _ types.PriceWebSocketDataHandler = (*WebSocketHandler)(nil) diff --git a/providers/websockets/cryptodotcom/ws_data_handler_test.go b/providers/websockets/cryptodotcom/ws_data_handler_test.go index c54c339b1..854623d67 100644 --- a/providers/websockets/cryptodotcom/ws_data_handler_test.go +++ b/providers/websockets/cryptodotcom/ws_data_handler_test.go @@ -7,15 +7,15 @@ import ( "testing" "time" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" - "github.com/skip-mev/slinky/providers/websockets/cryptodotcom" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/providers/websockets/cryptodotcom" ) var ( diff --git a/providers/websockets/gate/messages.go b/providers/websockets/gate/messages.go index b48fada52..4f233cc0c 100644 --- a/providers/websockets/gate/messages.go +++ b/providers/websockets/gate/messages.go @@ -7,8 +7,8 @@ import ( "math" "time" - slinkymath "github.com/skip-mev/slinky/pkg/math" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + slinkymath "github.com/dydxprotocol/slinky/pkg/math" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) type ( diff --git a/providers/websockets/gate/parse.go b/providers/websockets/gate/parse.go index 7a27ecb51..cd8ff738a 100644 --- a/providers/websockets/gate/parse.go +++ b/providers/websockets/gate/parse.go @@ -4,11 +4,11 @@ import ( "fmt" "time" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/pkg/math" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/pkg/math" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) // parseSubscribeResponse attempts to parse a SubscribeResponse to see if it was successful. diff --git a/providers/websockets/gate/utils.go b/providers/websockets/gate/utils.go index 554a2dfae..9e1382eff 100644 --- a/providers/websockets/gate/utils.go +++ b/providers/websockets/gate/utils.go @@ -3,7 +3,7 @@ package gate import ( "time" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) const ( diff --git a/providers/websockets/gate/ws_data_handler.go b/providers/websockets/gate/ws_data_handler.go index fc4ada37f..1c1bcc6f8 100644 --- a/providers/websockets/gate/ws_data_handler.go +++ b/providers/websockets/gate/ws_data_handler.go @@ -6,9 +6,9 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) var _ types.PriceWebSocketDataHandler = (*WebSocketHandler)(nil) diff --git a/providers/websockets/gate/ws_data_handler_test.go b/providers/websockets/gate/ws_data_handler_test.go index e6d235032..7c1bbf5b2 100644 --- a/providers/websockets/gate/ws_data_handler_test.go +++ b/providers/websockets/gate/ws_data_handler_test.go @@ -9,10 +9,10 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" - "github.com/skip-mev/slinky/providers/websockets/gate" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/providers/websockets/gate" ) var ( diff --git a/providers/websockets/huobi/messages.go b/providers/websockets/huobi/messages.go index dd837f77f..1205d3c66 100644 --- a/providers/websockets/huobi/messages.go +++ b/providers/websockets/huobi/messages.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) // Status is the status of a subscription request. diff --git a/providers/websockets/huobi/parse.go b/providers/websockets/huobi/parse.go index ea3219aca..03564b7a7 100644 --- a/providers/websockets/huobi/parse.go +++ b/providers/websockets/huobi/parse.go @@ -7,8 +7,8 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) // parseSubscriptionResponse attempts to parse a subscription message. It returns an error if the message diff --git a/providers/websockets/huobi/utils.go b/providers/websockets/huobi/utils.go index 1e0c3df08..9efe29c4d 100644 --- a/providers/websockets/huobi/utils.go +++ b/providers/websockets/huobi/utils.go @@ -1,7 +1,7 @@ package huobi import ( - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) const ( diff --git a/providers/websockets/huobi/ws_data_handler.go b/providers/websockets/huobi/ws_data_handler.go index 271a74b21..4d104385b 100644 --- a/providers/websockets/huobi/ws_data_handler.go +++ b/providers/websockets/huobi/ws_data_handler.go @@ -10,9 +10,9 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) var _ types.PriceWebSocketDataHandler = (*WebSocketHandler)(nil) diff --git a/providers/websockets/huobi/ws_data_handler_test.go b/providers/websockets/huobi/ws_data_handler_test.go index c12c9d6f5..33b48791b 100644 --- a/providers/websockets/huobi/ws_data_handler_test.go +++ b/providers/websockets/huobi/ws_data_handler_test.go @@ -6,16 +6,16 @@ import ( "math/big" "testing" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" "github.com/klauspost/compress/gzip" "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" - "github.com/skip-mev/slinky/providers/websockets/huobi" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/providers/websockets/huobi" ) var ( diff --git a/providers/websockets/kraken/messages.go b/providers/websockets/kraken/messages.go index 6d9cb7e7d..c5d380444 100644 --- a/providers/websockets/kraken/messages.go +++ b/providers/websockets/kraken/messages.go @@ -5,8 +5,8 @@ import ( "fmt" "math" - slinkymath "github.com/skip-mev/slinky/pkg/math" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + slinkymath "github.com/dydxprotocol/slinky/pkg/math" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) type ( diff --git a/providers/websockets/kraken/parse.go b/providers/websockets/kraken/parse.go index 6b2eeb857..41b634a39 100644 --- a/providers/websockets/kraken/parse.go +++ b/providers/websockets/kraken/parse.go @@ -5,13 +5,13 @@ import ( "fmt" "time" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/pkg/math" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/pkg/math" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) // parseBaseMessage will parse message responses from the Kraken websocket API that are diff --git a/providers/websockets/kraken/utils.go b/providers/websockets/kraken/utils.go index 8ade90977..ae1a79d62 100644 --- a/providers/websockets/kraken/utils.go +++ b/providers/websockets/kraken/utils.go @@ -3,7 +3,7 @@ package kraken import ( "time" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) const ( diff --git a/providers/websockets/kraken/ws_data_handler.go b/providers/websockets/kraken/ws_data_handler.go index ffefaaf27..2b0c566ce 100644 --- a/providers/websockets/kraken/ws_data_handler.go +++ b/providers/websockets/kraken/ws_data_handler.go @@ -6,9 +6,9 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) var _ types.PriceWebSocketDataHandler = (*WebSocketHandler)(nil) diff --git a/providers/websockets/kraken/ws_data_handler_test.go b/providers/websockets/kraken/ws_data_handler_test.go index bf3dfe797..b963db55f 100644 --- a/providers/websockets/kraken/ws_data_handler_test.go +++ b/providers/websockets/kraken/ws_data_handler_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" - "github.com/skip-mev/slinky/providers/websockets/kraken" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/providers/websockets/kraken" ) var ( diff --git a/providers/websockets/kucoin/hooks.go b/providers/websockets/kucoin/hooks.go index 474f3b54a..72e979b6e 100644 --- a/providers/websockets/kucoin/hooks.go +++ b/providers/websockets/kucoin/hooks.go @@ -7,9 +7,9 @@ import ( "net/http" "time" - "github.com/skip-mev/slinky/oracle/config" - apihandlers "github.com/skip-mev/slinky/providers/base/api/handlers" - wshandlers "github.com/skip-mev/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/oracle/config" + apihandlers "github.com/dydxprotocol/slinky/providers/base/api/handlers" + wshandlers "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) const ( diff --git a/providers/websockets/kucoin/hooks_test.go b/providers/websockets/kucoin/hooks_test.go index ca12d1664..9740fad47 100644 --- a/providers/websockets/kucoin/hooks_test.go +++ b/providers/websockets/kucoin/hooks_test.go @@ -9,12 +9,12 @@ import ( "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle/config" - apihandlers "github.com/skip-mev/slinky/providers/base/api/handlers" - apimocks "github.com/skip-mev/slinky/providers/base/api/handlers/mocks" - "github.com/skip-mev/slinky/providers/base/testutils" - wshandlers "github.com/skip-mev/slinky/providers/base/websocket/handlers" - "github.com/skip-mev/slinky/providers/websockets/kucoin" + "github.com/dydxprotocol/slinky/oracle/config" + apihandlers "github.com/dydxprotocol/slinky/providers/base/api/handlers" + apimocks "github.com/dydxprotocol/slinky/providers/base/api/handlers/mocks" + "github.com/dydxprotocol/slinky/providers/base/testutils" + wshandlers "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/providers/websockets/kucoin" ) var postURL = fmt.Sprintf("%s%s", kucoin.URL, kucoin.BulletPublicEndpoint) diff --git a/providers/websockets/kucoin/messages.go b/providers/websockets/kucoin/messages.go index 609a01b44..e00488229 100644 --- a/providers/websockets/kucoin/messages.go +++ b/providers/websockets/kucoin/messages.go @@ -7,8 +7,8 @@ import ( "strings" "time" - slinkymath "github.com/skip-mev/slinky/pkg/math" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + slinkymath "github.com/dydxprotocol/slinky/pkg/math" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) type ( diff --git a/providers/websockets/kucoin/parse.go b/providers/websockets/kucoin/parse.go index 45ba0300a..5a16c402e 100644 --- a/providers/websockets/kucoin/parse.go +++ b/providers/websockets/kucoin/parse.go @@ -6,10 +6,10 @@ import ( "strings" "time" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/pkg/math" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/pkg/math" ) // parseTickerResponseMessage is used to parse a ticker response message. diff --git a/providers/websockets/kucoin/utils.go b/providers/websockets/kucoin/utils.go index 3d05f77c3..8dc964a1a 100644 --- a/providers/websockets/kucoin/utils.go +++ b/providers/websockets/kucoin/utils.go @@ -3,7 +3,7 @@ package kucoin import ( "time" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) const ( diff --git a/providers/websockets/kucoin/ws_data_handler.go b/providers/websockets/kucoin/ws_data_handler.go index fe066c182..3c0f15ae8 100644 --- a/providers/websockets/kucoin/ws_data_handler.go +++ b/providers/websockets/kucoin/ws_data_handler.go @@ -6,9 +6,9 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) var _ types.PriceWebSocketDataHandler = (*WebSocketHandler)(nil) diff --git a/providers/websockets/kucoin/ws_data_handler_test.go b/providers/websockets/kucoin/ws_data_handler_test.go index d6e92a513..26b84dc8f 100644 --- a/providers/websockets/kucoin/ws_data_handler_test.go +++ b/providers/websockets/kucoin/ws_data_handler_test.go @@ -6,16 +6,16 @@ import ( "math/big" "testing" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" "go.uber.org/zap" "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" - "github.com/skip-mev/slinky/providers/websockets/kucoin" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/providers/websockets/kucoin" ) var ( diff --git a/providers/websockets/mexc/messages.go b/providers/websockets/mexc/messages.go index 07a2c1f58..e817078b9 100644 --- a/providers/websockets/mexc/messages.go +++ b/providers/websockets/mexc/messages.go @@ -5,8 +5,8 @@ import ( "fmt" "math" - slinkymath "github.com/skip-mev/slinky/pkg/math" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + slinkymath "github.com/dydxprotocol/slinky/pkg/math" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) type ( diff --git a/providers/websockets/mexc/parse.go b/providers/websockets/mexc/parse.go index afd583446..bace29b97 100644 --- a/providers/websockets/mexc/parse.go +++ b/providers/websockets/mexc/parse.go @@ -5,10 +5,10 @@ import ( "strings" "time" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/pkg/math" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/pkg/math" ) // parseTickerResponseMessage parses a price update received from the MEXC websocket diff --git a/providers/websockets/mexc/utils.go b/providers/websockets/mexc/utils.go index af7499ab4..608d33fbf 100644 --- a/providers/websockets/mexc/utils.go +++ b/providers/websockets/mexc/utils.go @@ -3,7 +3,7 @@ package mexc import ( "time" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) const ( diff --git a/providers/websockets/mexc/ws_data_handler.go b/providers/websockets/mexc/ws_data_handler.go index faf9d265d..46a22603a 100644 --- a/providers/websockets/mexc/ws_data_handler.go +++ b/providers/websockets/mexc/ws_data_handler.go @@ -7,9 +7,9 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) var _ types.PriceWebSocketDataHandler = (*WebSocketHandler)(nil) diff --git a/providers/websockets/mexc/ws_data_handler_test.go b/providers/websockets/mexc/ws_data_handler_test.go index c45e50a33..a68c323dd 100644 --- a/providers/websockets/mexc/ws_data_handler_test.go +++ b/providers/websockets/mexc/ws_data_handler_test.go @@ -8,11 +8,11 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" - providertypes "github.com/skip-mev/slinky/providers/types" - "github.com/skip-mev/slinky/providers/websockets/mexc" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" + providertypes "github.com/dydxprotocol/slinky/providers/types" + "github.com/dydxprotocol/slinky/providers/websockets/mexc" ) var ( diff --git a/providers/websockets/okx/messages.go b/providers/websockets/okx/messages.go index 9115ccb7e..eb9e7938f 100644 --- a/providers/websockets/okx/messages.go +++ b/providers/websockets/okx/messages.go @@ -5,8 +5,8 @@ import ( "fmt" "math" - slinkymath "github.com/skip-mev/slinky/pkg/math" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + slinkymath "github.com/dydxprotocol/slinky/pkg/math" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) type ( diff --git a/providers/websockets/okx/parse.go b/providers/websockets/okx/parse.go index f5867f284..e70aab765 100644 --- a/providers/websockets/okx/parse.go +++ b/providers/websockets/okx/parse.go @@ -6,13 +6,13 @@ import ( "strings" "time" - providertypes "github.com/skip-mev/slinky/providers/types" + providertypes "github.com/dydxprotocol/slinky/providers/types" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/pkg/math" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/pkg/math" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) const ( diff --git a/providers/websockets/okx/utils.go b/providers/websockets/okx/utils.go index 86dce1799..c5716dafd 100644 --- a/providers/websockets/okx/utils.go +++ b/providers/websockets/okx/utils.go @@ -3,7 +3,7 @@ package okx import ( "time" - "github.com/skip-mev/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/config" ) const ( diff --git a/providers/websockets/okx/ws_data_handler.go b/providers/websockets/okx/ws_data_handler.go index 0bbcc1a61..5b66f8f2c 100644 --- a/providers/websockets/okx/ws_data_handler.go +++ b/providers/websockets/okx/ws_data_handler.go @@ -6,9 +6,9 @@ import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" ) var _ types.PriceWebSocketDataHandler = (*WebSocketHandler)(nil) diff --git a/providers/websockets/okx/ws_data_handler_test.go b/providers/websockets/okx/ws_data_handler_test.go index 55e03811e..61f29f2a2 100644 --- a/providers/websockets/okx/ws_data_handler_test.go +++ b/providers/websockets/okx/ws_data_handler_test.go @@ -9,10 +9,10 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - "github.com/skip-mev/slinky/providers/base/websocket/handlers" - "github.com/skip-mev/slinky/providers/websockets/okx" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + "github.com/dydxprotocol/slinky/providers/base/websocket/handlers" + "github.com/dydxprotocol/slinky/providers/websockets/okx" ) var ( diff --git a/scripts/genesis.go b/scripts/genesis.go index 863d68319..6025889fb 100644 --- a/scripts/genesis.go +++ b/scripts/genesis.go @@ -5,10 +5,10 @@ import ( "flag" "fmt" - "github.com/skip-mev/slinky/cmd/constants/marketmaps" - "github.com/skip-mev/slinky/providers/apis/coinmarketcap" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" - "github.com/skip-mev/slinky/x/marketmap/types/tickermetadata" + "github.com/dydxprotocol/slinky/cmd/constants/marketmaps" + "github.com/dydxprotocol/slinky/providers/apis/coinmarketcap" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/x/marketmap/types/tickermetadata" ) var ( diff --git a/scripts/install.sh b/scripts/install.sh index 93a6338f3..59effe56b 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -2,7 +2,7 @@ set -e -SLINKY_RELEASES_URL="https://api.github.com/repos/skip-mev/slinky/releases/latest" +SLINKY_RELEASES_URL="https://api.github.com/repos/dydxprotocol/slinky/releases/latest" # Determine the system architecture ARCH=$(uname -m) diff --git a/scripts/protocgen-pulsar.sh b/scripts/protocgen-pulsar.sh index 072c93891..2156ce9e3 100644 --- a/scripts/protocgen-pulsar.sh +++ b/scripts/protocgen-pulsar.sh @@ -16,15 +16,15 @@ echo "Generating API module" (cd proto; buf generate --template buf.gen.pulsar.yaml --exclude-path slinky/service) echo "fixing types.pulsar.go" -sed -i.bak 's|cosmossdk.io/api/slinky/types/v1|github.com/skip-mev/slinky/api/slinky/types/v1|g' ./api/slinky/types/v1/currency_pair.pulsar.go && rm ./api/slinky/types/v1/currency_pair.pulsar.go.bak -sed -i.bak 's|cosmossdk.io/api/slinky/oracle/v1|github.com/skip-mev/slinky/api/slinky/oracle/v1|g' ./api/slinky/types/v1/currency_pair.pulsar.go && rm ./api/slinky/types/v1/currency_pair.pulsar.go.bak +sed -i.bak 's|cosmossdk.io/api/slinky/types/v1|github.com/dydxprotocol/slinky/api/slinky/types/v1|g' ./api/slinky/types/v1/currency_pair.pulsar.go && rm ./api/slinky/types/v1/currency_pair.pulsar.go.bak +sed -i.bak 's|cosmossdk.io/api/slinky/oracle/v1|github.com/dydxprotocol/slinky/api/slinky/oracle/v1|g' ./api/slinky/types/v1/currency_pair.pulsar.go && rm ./api/slinky/types/v1/currency_pair.pulsar.go.bak echo "fixing oracle.pulsar.go" -sed -i.bak 's|cosmossdk.io/api/slinky/types/v1|github.com/skip-mev/slinky/api/slinky/types/v1|g' ./api/slinky/oracle/v1/query.pulsar.go && rm ./api/slinky/oracle/v1/query.pulsar.go.bak -sed -i.bak 's|cosmossdk.io/api/slinky/types/v1|github.com/skip-mev/slinky/api/slinky/types/v1|g' ./api/slinky/oracle/v1/tx.pulsar.go && rm ./api/slinky/oracle/v1/tx.pulsar.go.bak -sed -i.bak 's|cosmossdk.io/api/slinky/types/v1|github.com/skip-mev/slinky/api/slinky/types/v1|g' ./api/slinky/oracle/v1/genesis.pulsar.go && rm ./api/slinky/oracle/v1/genesis.pulsar.go.bak +sed -i.bak 's|cosmossdk.io/api/slinky/types/v1|github.com/dydxprotocol/slinky/api/slinky/types/v1|g' ./api/slinky/oracle/v1/query.pulsar.go && rm ./api/slinky/oracle/v1/query.pulsar.go.bak +sed -i.bak 's|cosmossdk.io/api/slinky/types/v1|github.com/dydxprotocol/slinky/api/slinky/types/v1|g' ./api/slinky/oracle/v1/tx.pulsar.go && rm ./api/slinky/oracle/v1/tx.pulsar.go.bak +sed -i.bak 's|cosmossdk.io/api/slinky/types/v1|github.com/dydxprotocol/slinky/api/slinky/types/v1|g' ./api/slinky/oracle/v1/genesis.pulsar.go && rm ./api/slinky/oracle/v1/genesis.pulsar.go.bak echo "fixing market.pulsar.go" -sed -i.bak 's|cosmossdk.io/api/slinky/types/v1|github.com/skip-mev/slinky/api/slinky/types/v1|g' ./api/slinky/marketmap/v1/market.pulsar.go && rm ./api/slinky/marketmap/v1/market.pulsar.go.bak -sed -i.bak 's|cosmossdk.io/api/slinky/types/v1|github.com/skip-mev/slinky/api/slinky/types/v1|g' ./api/slinky/marketmap/v1/query.pulsar.go && rm ./api/slinky/marketmap/v1/query.pulsar.go.bak -sed -i.bak 's|cosmossdk.io/api/slinky/oracle/v1|github.com/skip-mev/slinky/api/slinky/oracle/v1|g' ./api/slinky/marketmap/v1/market.pulsar.go && rm ./api/slinky/marketmap/v1/market.pulsar.go.bak +sed -i.bak 's|cosmossdk.io/api/slinky/types/v1|github.com/dydxprotocol/slinky/api/slinky/types/v1|g' ./api/slinky/marketmap/v1/market.pulsar.go && rm ./api/slinky/marketmap/v1/market.pulsar.go.bak +sed -i.bak 's|cosmossdk.io/api/slinky/types/v1|github.com/dydxprotocol/slinky/api/slinky/types/v1|g' ./api/slinky/marketmap/v1/query.pulsar.go && rm ./api/slinky/marketmap/v1/query.pulsar.go.bak +sed -i.bak 's|cosmossdk.io/api/slinky/oracle/v1|github.com/dydxprotocol/slinky/api/slinky/oracle/v1|g' ./api/slinky/marketmap/v1/market.pulsar.go && rm ./api/slinky/marketmap/v1/market.pulsar.go.bak diff --git a/scripts/protocgen.sh b/scripts/protocgen.sh index c02eaa635..d8801a376 100755 --- a/scripts/protocgen.sh +++ b/scripts/protocgen.sh @@ -15,7 +15,7 @@ done cd .. # move proto files to the right places -cp -r github.com/skip-mev/slinky/* ./ +cp -r github.com/dydxprotocol/slinky/* ./ rm -rf github.com # go mod tidy --compat=1.20 diff --git a/service/clients/marketmap/types/types.go b/service/clients/marketmap/types/types.go index fd7f38a06..e294a601e 100644 --- a/service/clients/marketmap/types/types.go +++ b/service/clients/marketmap/types/types.go @@ -3,13 +3,13 @@ package types import ( "go.uber.org/zap" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/providers/base" - apihandlers "github.com/skip-mev/slinky/providers/base/api/handlers" - apimetrics "github.com/skip-mev/slinky/providers/base/api/metrics" - providermetrics "github.com/skip-mev/slinky/providers/base/metrics" - providertypes "github.com/skip-mev/slinky/providers/types" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/providers/base" + apihandlers "github.com/dydxprotocol/slinky/providers/base/api/handlers" + apimetrics "github.com/dydxprotocol/slinky/providers/base/api/metrics" + providermetrics "github.com/dydxprotocol/slinky/providers/base/metrics" + providertypes "github.com/dydxprotocol/slinky/providers/types" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) // ConfigType is the type of the API/WebSocket configuration. diff --git a/service/clients/oracle/client.go b/service/clients/oracle/client.go index 97d074a0b..eeab16dc4 100644 --- a/service/clients/oracle/client.go +++ b/service/clients/oracle/client.go @@ -11,10 +11,10 @@ import ( "google.golang.org/grpc/connectivity" "google.golang.org/grpc/credentials/insecure" - "github.com/skip-mev/slinky/oracle/config" - slinkygrpc "github.com/skip-mev/slinky/pkg/grpc" - "github.com/skip-mev/slinky/service/metrics" - "github.com/skip-mev/slinky/service/servers/oracle/types" + "github.com/dydxprotocol/slinky/oracle/config" + slinkygrpc "github.com/dydxprotocol/slinky/pkg/grpc" + "github.com/dydxprotocol/slinky/service/metrics" + "github.com/dydxprotocol/slinky/service/servers/oracle/types" ) var _ OracleClient = (*GRPCClient)(nil) diff --git a/service/clients/oracle/daemon.go b/service/clients/oracle/daemon.go index a65e2aa73..28ede7ace 100644 --- a/service/clients/oracle/daemon.go +++ b/service/clients/oracle/daemon.go @@ -10,8 +10,8 @@ import ( "cosmossdk.io/log" "google.golang.org/grpc" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/service/servers/oracle/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/service/servers/oracle/types" ) var _ OracleClient = (*PriceDaemon)(nil) diff --git a/service/clients/oracle/daemon_test.go b/service/clients/oracle/daemon_test.go index c59f2b9f3..45aa720a4 100644 --- a/service/clients/oracle/daemon_test.go +++ b/service/clients/oracle/daemon_test.go @@ -10,10 +10,10 @@ import ( "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/service/clients/oracle" - "github.com/skip-mev/slinky/service/clients/oracle/mocks" - "github.com/skip-mev/slinky/service/servers/oracle/types" + "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/service/clients/oracle" + "github.com/dydxprotocol/slinky/service/clients/oracle/mocks" + "github.com/dydxprotocol/slinky/service/servers/oracle/types" ) func TestNewPriceDaemon(t *testing.T) { diff --git a/service/clients/oracle/interface.go b/service/clients/oracle/interface.go index cdee59024..ae95c1d65 100644 --- a/service/clients/oracle/interface.go +++ b/service/clients/oracle/interface.go @@ -5,7 +5,7 @@ import ( "google.golang.org/grpc" - "github.com/skip-mev/slinky/service/servers/oracle/types" + "github.com/dydxprotocol/slinky/service/servers/oracle/types" ) // OracleClient defines the interface that will be utilized by the application diff --git a/service/clients/oracle/mocks/mock_oracle_client.go b/service/clients/oracle/mocks/mock_oracle_client.go index 7ce637a1b..c56dc36ca 100644 --- a/service/clients/oracle/mocks/mock_oracle_client.go +++ b/service/clients/oracle/mocks/mock_oracle_client.go @@ -9,7 +9,7 @@ import ( mock "github.com/stretchr/testify/mock" - types "github.com/skip-mev/slinky/service/servers/oracle/types" + types "github.com/dydxprotocol/slinky/service/servers/oracle/types" ) // OracleClient is an autogenerated mock type for the OracleClient type diff --git a/service/metrics/metrics.go b/service/metrics/metrics.go index a25d0826c..616cfc72f 100644 --- a/service/metrics/metrics.go +++ b/service/metrics/metrics.go @@ -6,8 +6,8 @@ import ( "github.com/prometheus/client_golang/prometheus" - "github.com/skip-mev/slinky/oracle/config" - slinkytypes "github.com/skip-mev/slinky/pkg/types" + "github.com/dydxprotocol/slinky/oracle/config" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" ) //go:generate mockery --name Metrics --filename mock_metrics.go diff --git a/service/metrics/mocks/mock_metrics.go b/service/metrics/mocks/mock_metrics.go index 7bf33e304..e827c1461 100644 --- a/service/metrics/mocks/mock_metrics.go +++ b/service/metrics/mocks/mock_metrics.go @@ -5,11 +5,11 @@ package mocks import ( mock "github.com/stretchr/testify/mock" - metrics "github.com/skip-mev/slinky/service/metrics" + metrics "github.com/dydxprotocol/slinky/service/metrics" time "time" - types "github.com/skip-mev/slinky/pkg/types" + types "github.com/dydxprotocol/slinky/pkg/types" ) // Metrics is an autogenerated mock type for the Metrics type diff --git a/service/servers/oracle/helpers.go b/service/servers/oracle/helpers.go index badf3e0a1..de5bd3d6b 100644 --- a/service/servers/oracle/helpers.go +++ b/service/servers/oracle/helpers.go @@ -1,7 +1,7 @@ package oracle import ( - "github.com/skip-mev/slinky/oracle/types" + "github.com/dydxprotocol/slinky/oracle/types" ) func ToReqPrices(prices types.Prices) map[string]string { diff --git a/service/servers/oracle/interface.go b/service/servers/oracle/interface.go index 9256ce5fa..a9f2a008d 100644 --- a/service/servers/oracle/interface.go +++ b/service/servers/oracle/interface.go @@ -3,7 +3,7 @@ package oracle import ( "context" - "github.com/skip-mev/slinky/service/servers/oracle/types" + "github.com/dydxprotocol/slinky/service/servers/oracle/types" ) // OracleService defines the service all clients must implement. diff --git a/service/servers/oracle/mocks/mock_oracle_service.go b/service/servers/oracle/mocks/mock_oracle_service.go index e2a111628..37341d8ee 100644 --- a/service/servers/oracle/mocks/mock_oracle_service.go +++ b/service/servers/oracle/mocks/mock_oracle_service.go @@ -7,7 +7,7 @@ import ( mock "github.com/stretchr/testify/mock" - types "github.com/skip-mev/slinky/service/servers/oracle/types" + types "github.com/dydxprotocol/slinky/service/servers/oracle/types" ) // OracleService is an autogenerated mock type for the OracleService type diff --git a/service/servers/oracle/server.go b/service/servers/oracle/server.go index 60b85308e..74ed2fbc7 100644 --- a/service/servers/oracle/server.go +++ b/service/servers/oracle/server.go @@ -16,10 +16,10 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/skip-mev/slinky/cmd/build" - "github.com/skip-mev/slinky/oracle" - "github.com/skip-mev/slinky/pkg/sync" - "github.com/skip-mev/slinky/service/servers/oracle/types" + "github.com/dydxprotocol/slinky/cmd/build" + "github.com/dydxprotocol/slinky/oracle" + "github.com/dydxprotocol/slinky/pkg/sync" + "github.com/dydxprotocol/slinky/service/servers/oracle/types" ) const DefaultServerShutdownTimeout = 3 * time.Second diff --git a/service/servers/oracle/server_test.go b/service/servers/oracle/server_test.go index 0b66f732b..2fc1d619d 100644 --- a/service/servers/oracle/server_test.go +++ b/service/servers/oracle/server_test.go @@ -15,14 +15,14 @@ import ( "go.uber.org/zap" "google.golang.org/grpc/status" - "github.com/skip-mev/slinky/oracle/mocks" - "github.com/skip-mev/slinky/oracle/types" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - client "github.com/skip-mev/slinky/service/clients/oracle" - "github.com/skip-mev/slinky/service/metrics" - server "github.com/skip-mev/slinky/service/servers/oracle" - stypes "github.com/skip-mev/slinky/service/servers/oracle/types" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/oracle/mocks" + "github.com/dydxprotocol/slinky/oracle/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + client "github.com/dydxprotocol/slinky/service/clients/oracle" + "github.com/dydxprotocol/slinky/service/metrics" + server "github.com/dydxprotocol/slinky/service/servers/oracle" + stypes "github.com/dydxprotocol/slinky/service/servers/oracle/types" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) const ( diff --git a/service/servers/oracle/types/oracle.pb.go b/service/servers/oracle/types/oracle.pb.go index f044c45ea..d1ae9798c 100644 --- a/service/servers/oracle/types/oracle.pb.go +++ b/service/servers/oracle/types/oracle.pb.go @@ -11,7 +11,7 @@ import ( grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" github_com_cosmos_gogoproto_types "github.com/cosmos/gogoproto/types" - types "github.com/skip-mev/slinky/x/marketmap/types" + types "github.com/dydxprotocol/slinky/x/marketmap/types" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/service/servers/prometheus/server.go b/service/servers/prometheus/server.go index 0aaff6fd9..654c737c2 100644 --- a/service/servers/prometheus/server.go +++ b/service/servers/prometheus/server.go @@ -11,7 +11,7 @@ import ( "github.com/prometheus/client_golang/prometheus/promhttp" "go.uber.org/zap" - "github.com/skip-mev/slinky/pkg/sync" + "github.com/dydxprotocol/slinky/pkg/sync" ) // stable defaults. diff --git a/service/servers/prometheus/server_test.go b/service/servers/prometheus/server_test.go index 732f0d549..af511b73a 100644 --- a/service/servers/prometheus/server_test.go +++ b/service/servers/prometheus/server_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/skip-mev/slinky/service/servers/prometheus" + "github.com/dydxprotocol/slinky/service/servers/prometheus" ) // Test that Starting the server fails if the address is incorrect. diff --git a/tests/integration/go.mod b/tests/integration/go.mod index 526a52c30..cce2b9f5a 100644 --- a/tests/integration/go.mod +++ b/tests/integration/go.mod @@ -1,10 +1,10 @@ -module github.com/skip-mev/slinky/tests/integration +module github.com/dydxprotocol/slinky/tests/integration replace ( github.com/ChainSafe/go-schnorrkel => github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d github.com/ChainSafe/go-schnorrkel/1 => github.com/ChainSafe/go-schnorrkel v1.0.0 github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 - github.com/skip-mev/slinky => ../../ + github.com/dydxprotocol/slinky => ../../ github.com/vedhavyas/go-subkey => github.com/strangelove-ventures/go-subkey v1.0.7 ) @@ -17,7 +17,7 @@ require ( github.com/cometbft/cometbft v0.38.15 github.com/cosmos/cosmos-sdk v0.50.11 github.com/pelletier/go-toml/v2 v2.2.3 - github.com/skip-mev/slinky v1.0.4 + github.com/dydxprotocol/slinky v1.0.4 github.com/strangelove-ventures/interchaintest/v8 v8.8.1 github.com/stretchr/testify v1.10.0 go.uber.org/zap v1.27.0 diff --git a/tests/integration/slinky_ccv_suite.go b/tests/integration/slinky_ccv_suite.go index 337c5007d..6619ecb5f 100644 --- a/tests/integration/slinky_ccv_suite.go +++ b/tests/integration/slinky_ccv_suite.go @@ -19,13 +19,13 @@ import ( "github.com/strangelove-ventures/interchaintest/v8" "github.com/strangelove-ventures/interchaintest/v8/ibc" - slinkyabci "github.com/skip-mev/slinky/abci/ve/types" - oracleconfig "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/providers/static" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" - oracletypes "github.com/skip-mev/slinky/x/oracle/types" + slinkyabci "github.com/dydxprotocol/slinky/abci/ve/types" + oracleconfig "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/providers/static" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" + oracletypes "github.com/dydxprotocol/slinky/x/oracle/types" ) // SlinkyCCVSuite is a testing-suite for testing slinky's integration with ics consumer chains diff --git a/tests/integration/slinky_integration_test.go b/tests/integration/slinky_integration_test.go index bd348dbcc..e5eafbe90 100644 --- a/tests/integration/slinky_integration_test.go +++ b/tests/integration/slinky_integration_test.go @@ -13,14 +13,14 @@ import ( "github.com/strangelove-ventures/interchaintest/v8/ibc" "github.com/stretchr/testify/suite" - "github.com/skip-mev/slinky/tests/integration" - marketmapmodule "github.com/skip-mev/slinky/x/marketmap" - "github.com/skip-mev/slinky/x/oracle" + "github.com/dydxprotocol/slinky/tests/integration" + marketmapmodule "github.com/dydxprotocol/slinky/x/marketmap" + "github.com/dydxprotocol/slinky/x/oracle" ) var ( image = ibc.DockerImage{ - Repository: "skip-mev/slinky-e2e", + Repository: "dydxprotocol/slinky-e2e", Version: "latest", UIDGID: "1000:1000", } @@ -31,7 +31,7 @@ var ( gasAdjustment = 1.5 oracleImage = ibc.DockerImage{ - Repository: "skip-mev/slinky-e2e-oracle", + Repository: "dydxprotocol/slinky-e2e-oracle", Version: "latest", UIDGID: "1000:1000", } diff --git a/tests/integration/slinky_setup.go b/tests/integration/slinky_setup.go index b7fc29994..c3b165930 100644 --- a/tests/integration/slinky_setup.go +++ b/tests/integration/slinky_setup.go @@ -30,13 +30,13 @@ import ( "google.golang.org/grpc/credentials/insecure" "google.golang.org/grpc/metadata" - compression "github.com/skip-mev/slinky/abci/strategies/codec" - slinkyabci "github.com/skip-mev/slinky/abci/ve/types" - oracleconfig "github.com/skip-mev/slinky/oracle/config" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/providers/static" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" - oracletypes "github.com/skip-mev/slinky/x/oracle/types" + compression "github.com/dydxprotocol/slinky/abci/strategies/codec" + slinkyabci "github.com/dydxprotocol/slinky/abci/ve/types" + oracleconfig "github.com/dydxprotocol/slinky/oracle/config" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/providers/static" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" + oracletypes "github.com/dydxprotocol/slinky/x/oracle/types" ) const ( diff --git a/tests/integration/slinky_suite.go b/tests/integration/slinky_suite.go index 6d8d18e7f..b443b1db0 100644 --- a/tests/integration/slinky_suite.go +++ b/tests/integration/slinky_suite.go @@ -22,14 +22,14 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - slinkyabci "github.com/skip-mev/slinky/abci/ve/types" - oracleconfig "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/providers/apis/marketmap" - "github.com/skip-mev/slinky/providers/static" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" - oracletypes "github.com/skip-mev/slinky/x/oracle/types" + slinkyabci "github.com/dydxprotocol/slinky/abci/ve/types" + oracleconfig "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/providers/apis/marketmap" + "github.com/dydxprotocol/slinky/providers/static" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" + oracletypes "github.com/dydxprotocol/slinky/x/oracle/types" ) const ( diff --git a/tests/integration/slinky_validator_suite.go b/tests/integration/slinky_validator_suite.go index 1347379f1..d6b136b69 100644 --- a/tests/integration/slinky_validator_suite.go +++ b/tests/integration/slinky_validator_suite.go @@ -6,12 +6,12 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - oracleconfig "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/oracle/types" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/providers/static" - mmtypes "github.com/skip-mev/slinky/x/marketmap/types" - oracletypes "github.com/skip-mev/slinky/x/oracle/types" + oracleconfig "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/oracle/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/providers/static" + mmtypes "github.com/dydxprotocol/slinky/x/marketmap/types" + oracletypes "github.com/dydxprotocol/slinky/x/oracle/types" ) type SlinkyOracleValidatorIntegrationSuite struct { diff --git a/tests/petri/chain_config.go b/tests/petri/chain_config.go index 193a052c6..263182ce2 100644 --- a/tests/petri/chain_config.go +++ b/tests/petri/chain_config.go @@ -14,10 +14,10 @@ import ( "github.com/skip-mev/petri/provider/v2/docker" "github.com/skip-mev/petri/types/v2" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - oracletypes "github.com/skip-mev/slinky/x/oracle/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + oracletypes "github.com/dydxprotocol/slinky/x/oracle/types" - "github.com/skip-mev/slinky/tests/simapp" + "github.com/dydxprotocol/slinky/tests/simapp" ) func GetChainConfig() types.ChainConfig { @@ -28,12 +28,12 @@ func GetChainConfig() types.ChainConfig { NumNodes: 2, BinaryName: "slinkyd", Image: provider.ImageDefinition{ - Image: "skip-mev/slinky-e2e", + Image: "dydxprotocol/slinky-e2e", UID: "1000", GID: "1000", }, SidecarImage: provider.ImageDefinition{ - Image: "skip-mev/slinky-e2e-oracle", + Image: "dydxprotocol/slinky-e2e-oracle", UID: "1000", GID: "1000", }, diff --git a/tests/petri/go.mod b/tests/petri/go.mod index 476b79c5c..f4e3db8f2 100644 --- a/tests/petri/go.mod +++ b/tests/petri/go.mod @@ -1,4 +1,4 @@ -module github.com/skip-mev/slinky/tests/petri +module github.com/dydxprotocol/slinky/tests/petri go 1.22.0 @@ -10,7 +10,7 @@ require ( github.com/skip-mev/petri/node/v2 v2.0.1 github.com/skip-mev/petri/provider/v2 v2.0.0 github.com/skip-mev/petri/types/v2 v2.0.1 - github.com/skip-mev/slinky v1.0.3 + github.com/dydxprotocol/slinky v1.3.0 github.com/stretchr/testify v1.9.0 go.uber.org/zap v1.27.0 ) diff --git a/tests/petri/go.sum b/tests/petri/go.sum index dda74fc71..6d07992a3 100644 --- a/tests/petri/go.sum +++ b/tests/petri/go.sum @@ -993,8 +993,8 @@ github.com/skip-mev/petri/util/v2 v2.0.1 h1:SKjnrK/ZjoA5V0uyHjVf4Cyw+JU1Jy0El1qy github.com/skip-mev/petri/util/v2 v2.0.1/go.mod h1:sPq+CiL0ytYfOk11j7PAIq5ZcvGhwoV8/z64LOXbeNs= github.com/skip-mev/petri/wallet/v2 v2.0.1 h1:83rvHAzy+Ci86kISZB44LuayiF00q0vbOjApDRIFQpk= github.com/skip-mev/petri/wallet/v2 v2.0.1/go.mod h1:clapxceQoHQqqZXPP6MlciTShRw5xVA5w9bWXpywcvY= -github.com/skip-mev/slinky v1.0.3 h1:+7Yw+HHjYqJ7gb5nrG1k2bplNG+qEmn5wws+OesdY2M= -github.com/skip-mev/slinky v1.0.3/go.mod h1:EE3O71wIJ74OciYh62Fc5EysF07KArBEYb6lDmTIKVM= +github.com/dydxprotocol/slinky v1.3.0 h1:+7Yw+HHjYqJ7gb5nrG1k2bplNG+qEmn5wws+OesdY2M= +github.com/dydxprotocol/slinky v1.3.0/go.mod h1:EE3O71wIJ74OciYh62Fc5EysF07KArBEYb6lDmTIKVM= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= diff --git a/tests/petri/slinky_test.go b/tests/petri/slinky_test.go index 128a58865..d55ca89b4 100644 --- a/tests/petri/slinky_test.go +++ b/tests/petri/slinky_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/suite" - "github.com/skip-mev/slinky/tests/petri" + "github.com/dydxprotocol/slinky/tests/petri" ) // TestSlinkyIntegration runs all of the petri slinky testapp tests diff --git a/tests/simapp/app.go b/tests/simapp/app.go index 933bb0c7d..6fe453ade 100644 --- a/tests/simapp/app.go +++ b/tests/simapp/app.go @@ -57,20 +57,20 @@ import ( "github.com/cosmos/cosmos-sdk/x/staking" stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - oraclepreblock "github.com/skip-mev/slinky/abci/preblock/oracle" - "github.com/skip-mev/slinky/abci/proposals" - "github.com/skip-mev/slinky/abci/strategies/aggregator" - compression "github.com/skip-mev/slinky/abci/strategies/codec" - "github.com/skip-mev/slinky/abci/strategies/currencypair" - "github.com/skip-mev/slinky/abci/ve" - oracleconfig "github.com/skip-mev/slinky/oracle/config" - "github.com/skip-mev/slinky/pkg/math/voteweighted" - oracleclient "github.com/skip-mev/slinky/service/clients/oracle" - servicemetrics "github.com/skip-mev/slinky/service/metrics" - marketmapmodule "github.com/skip-mev/slinky/x/marketmap" - marketmapkeeper "github.com/skip-mev/slinky/x/marketmap/keeper" - "github.com/skip-mev/slinky/x/oracle" - oraclekeeper "github.com/skip-mev/slinky/x/oracle/keeper" + oraclepreblock "github.com/dydxprotocol/slinky/abci/preblock/oracle" + "github.com/dydxprotocol/slinky/abci/proposals" + "github.com/dydxprotocol/slinky/abci/strategies/aggregator" + compression "github.com/dydxprotocol/slinky/abci/strategies/codec" + "github.com/dydxprotocol/slinky/abci/strategies/currencypair" + "github.com/dydxprotocol/slinky/abci/ve" + oracleconfig "github.com/dydxprotocol/slinky/oracle/config" + "github.com/dydxprotocol/slinky/pkg/math/voteweighted" + oracleclient "github.com/dydxprotocol/slinky/service/clients/oracle" + servicemetrics "github.com/dydxprotocol/slinky/service/metrics" + marketmapmodule "github.com/dydxprotocol/slinky/x/marketmap" + marketmapkeeper "github.com/dydxprotocol/slinky/x/marketmap/keeper" + "github.com/dydxprotocol/slinky/x/oracle" + oraclekeeper "github.com/dydxprotocol/slinky/x/oracle/keeper" ) const ( diff --git a/tests/simapp/config.go b/tests/simapp/config.go index 4ed7acfb6..4a7261b10 100644 --- a/tests/simapp/config.go +++ b/tests/simapp/config.go @@ -40,8 +40,8 @@ import ( _ "github.com/cosmos/cosmos-sdk/x/slashing" // import for side-effects _ "github.com/cosmos/cosmos-sdk/x/staking" // import for side-effects - _ "github.com/skip-mev/slinky/x/marketmap" // import for side-effects - _ "github.com/skip-mev/slinky/x/oracle" // import for side-effects + _ "github.com/dydxprotocol/slinky/x/marketmap" // import for side-effects + _ "github.com/dydxprotocol/slinky/x/oracle" // import for side-effects "cosmossdk.io/core/appconfig" circuittypes "cosmossdk.io/x/circuit/types" @@ -64,10 +64,10 @@ import ( slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - marketmapmodulev1 "github.com/skip-mev/slinky/api/slinky/marketmap/module/v1" - oraclemodulev1 "github.com/skip-mev/slinky/api/slinky/oracle/module/v1" - marketmaptypes "github.com/skip-mev/slinky/x/marketmap/types" - oracletypes "github.com/skip-mev/slinky/x/oracle/types" + marketmapmodulev1 "github.com/dydxprotocol/slinky/api/slinky/marketmap/module/v1" + oraclemodulev1 "github.com/dydxprotocol/slinky/api/slinky/oracle/module/v1" + marketmaptypes "github.com/dydxprotocol/slinky/x/marketmap/types" + oracletypes "github.com/dydxprotocol/slinky/x/oracle/types" ) var ( diff --git a/tests/simapp/go.mod b/tests/simapp/go.mod index 0c06aa5de..f2d4559f4 100644 --- a/tests/simapp/go.mod +++ b/tests/simapp/go.mod @@ -1,4 +1,4 @@ -module github.com/skip-mev/slinky/tests/simapp +module github.com/dydxprotocol/slinky/tests/simapp go 1.23.1 @@ -18,7 +18,7 @@ require ( github.com/cometbft/cometbft v0.38.15 github.com/cosmos/cosmos-db v1.1.0 github.com/cosmos/cosmos-sdk v0.50.11 - github.com/skip-mev/slinky v1.0.1 + github.com/dydxprotocol/slinky v1.0.1 github.com/spf13/cobra v1.8.1 github.com/spf13/pflag v1.0.5 github.com/spf13/viper v1.19.0 @@ -203,6 +203,6 @@ require ( replace ( cosmossdk.io/client/v2 => cosmossdk.io/client/v2 v2.0.0-20230719143845-dff6b0e26aa4 github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0 - github.com/skip-mev/slinky => ../../ + github.com/dydxprotocol/slinky => ../../ github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 ) diff --git a/tests/simapp/slinkyd/main.go b/tests/simapp/slinkyd/main.go index 267de3ba9..871f52370 100644 --- a/tests/simapp/slinkyd/main.go +++ b/tests/simapp/slinkyd/main.go @@ -6,8 +6,8 @@ import ( "cosmossdk.io/log" svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - "github.com/skip-mev/slinky/tests/simapp" - cmd "github.com/skip-mev/slinky/tests/simapp/slinkyd/testappd" + "github.com/dydxprotocol/slinky/tests/simapp" + cmd "github.com/dydxprotocol/slinky/tests/simapp/slinkyd/testappd" ) func main() { diff --git a/tests/simapp/slinkyd/testappd/root.go b/tests/simapp/slinkyd/testappd/root.go index 9b6859cc2..9d0fffd20 100644 --- a/tests/simapp/slinkyd/testappd/root.go +++ b/tests/simapp/slinkyd/testappd/root.go @@ -18,7 +18,7 @@ import ( "cosmossdk.io/log" confixcmd "cosmossdk.io/tools/confix/cmd" - "github.com/skip-mev/slinky/tests/simapp" + "github.com/dydxprotocol/slinky/tests/simapp" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/config" @@ -43,7 +43,7 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" - oracleconfig "github.com/skip-mev/slinky/oracle/config" + oracleconfig "github.com/dydxprotocol/slinky/oracle/config" ) // NewRootCmd creates a new root command for simd. It is called once in the main function. diff --git a/tests/simapp/slinkyd/testappd/testnet.go b/tests/simapp/slinkyd/testappd/testnet.go index 2444a2c8a..f76b3a372 100644 --- a/tests/simapp/slinkyd/testappd/testnet.go +++ b/tests/simapp/slinkyd/testappd/testnet.go @@ -34,7 +34,7 @@ import ( genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/skip-mev/slinky/tests/simapp" + "github.com/dydxprotocol/slinky/tests/simapp" ) var ( diff --git a/x/marketmap/client/cli/query.go b/x/marketmap/client/cli/query.go index d807e87a1..d17b929b7 100644 --- a/x/marketmap/client/cli/query.go +++ b/x/marketmap/client/cli/query.go @@ -5,8 +5,8 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/x/marketmap/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/x/marketmap/types" ) // GetQueryCmd returns the parent command for all x/marketmap cli query commands. diff --git a/x/marketmap/keeper/genesis.go b/x/marketmap/keeper/genesis.go index ea320c2eb..95b2e94ff 100644 --- a/x/marketmap/keeper/genesis.go +++ b/x/marketmap/keeper/genesis.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/x/marketmap/types" ) // InitGenesis initializes the genesis state. Panics if there is an error. diff --git a/x/marketmap/keeper/genesis_test.go b/x/marketmap/keeper/genesis_test.go index 6ff52c1d2..881edbf52 100644 --- a/x/marketmap/keeper/genesis_test.go +++ b/x/marketmap/keeper/genesis_test.go @@ -3,8 +3,8 @@ package keeper_test import ( sdkmath "cosmossdk.io/math" - "github.com/skip-mev/slinky/x/marketmap/types" - oracletypes "github.com/skip-mev/slinky/x/oracle/types" + "github.com/dydxprotocol/slinky/x/marketmap/types" + oracletypes "github.com/dydxprotocol/slinky/x/oracle/types" ) func (s *KeeperTestSuite) TestInitGenesisInvalidGenesis() { diff --git a/x/marketmap/keeper/hooks.go b/x/marketmap/keeper/hooks.go index f88592ab8..f7d1d7448 100644 --- a/x/marketmap/keeper/hooks.go +++ b/x/marketmap/keeper/hooks.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/x/marketmap/types" ) // Hooks gets the hooks for x/marketmap keeper. diff --git a/x/marketmap/keeper/keeper.go b/x/marketmap/keeper/keeper.go index dcdb297cc..53a6162f6 100644 --- a/x/marketmap/keeper/keeper.go +++ b/x/marketmap/keeper/keeper.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/x/marketmap/types" ) // Keeper is the module's keeper implementation. diff --git a/x/marketmap/keeper/keeper_test.go b/x/marketmap/keeper/keeper_test.go index 0aff8a763..c511f4619 100644 --- a/x/marketmap/keeper/keeper_test.go +++ b/x/marketmap/keeper/keeper_test.go @@ -5,8 +5,8 @@ import ( "github.com/skip-mev/chaintestutil/sample" - oraclekeeper "github.com/skip-mev/slinky/x/oracle/keeper" - oracletypes "github.com/skip-mev/slinky/x/oracle/types" + oraclekeeper "github.com/dydxprotocol/slinky/x/oracle/keeper" + oracletypes "github.com/dydxprotocol/slinky/x/oracle/types" storetypes "cosmossdk.io/store/types" "github.com/cosmos/cosmos-sdk/runtime" @@ -15,9 +15,9 @@ import ( moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil" "github.com/stretchr/testify/suite" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/x/marketmap/keeper" - "github.com/skip-mev/slinky/x/marketmap/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/x/marketmap/keeper" + "github.com/dydxprotocol/slinky/x/marketmap/types" ) var r = sample.Rand() diff --git a/x/marketmap/keeper/msg_server.go b/x/marketmap/keeper/msg_server.go index a5098adab..9b3f25352 100644 --- a/x/marketmap/keeper/msg_server.go +++ b/x/marketmap/keeper/msg_server.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/x/marketmap/types" ) // msgServer is the default implementation of the x/marketmap MsgService. diff --git a/x/marketmap/keeper/msg_server_test.go b/x/marketmap/keeper/msg_server_test.go index 4affcf865..b15002f9a 100644 --- a/x/marketmap/keeper/msg_server_test.go +++ b/x/marketmap/keeper/msg_server_test.go @@ -11,10 +11,10 @@ import ( "github.com/skip-mev/chaintestutil/sample" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/x/marketmap/keeper" - "github.com/skip-mev/slinky/x/marketmap/types" - mmmocks "github.com/skip-mev/slinky/x/marketmap/types/mocks" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/x/marketmap/keeper" + "github.com/dydxprotocol/slinky/x/marketmap/types" + mmmocks "github.com/dydxprotocol/slinky/x/marketmap/types/mocks" ) func (s *KeeperTestSuite) TestMsgServerCreateMarkets() { diff --git a/x/marketmap/keeper/options.go b/x/marketmap/keeper/options.go index a2d663d88..8a3a0fe9b 100644 --- a/x/marketmap/keeper/options.go +++ b/x/marketmap/keeper/options.go @@ -1,6 +1,6 @@ package keeper -import "github.com/skip-mev/slinky/x/marketmap/types" +import "github.com/dydxprotocol/slinky/x/marketmap/types" // Option is a type that modifies a keeper during instantiation. These can be passed variadically into NewKeeper // to specify keeper behavior. diff --git a/x/marketmap/keeper/query.go b/x/marketmap/keeper/query.go index e24acd158..48f12d967 100644 --- a/x/marketmap/keeper/query.go +++ b/x/marketmap/keeper/query.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/x/marketmap/types" ) type queryServerImpl struct { diff --git a/x/marketmap/keeper/query_test.go b/x/marketmap/keeper/query_test.go index d78823fa9..fbf0dd2b5 100644 --- a/x/marketmap/keeper/query_test.go +++ b/x/marketmap/keeper/query_test.go @@ -1,9 +1,9 @@ package keeper_test import ( - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/x/marketmap/keeper" - "github.com/skip-mev/slinky/x/marketmap/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/x/marketmap/keeper" + "github.com/dydxprotocol/slinky/x/marketmap/types" ) func (s *KeeperTestSuite) TestMarketMap() { diff --git a/x/marketmap/module.go b/x/marketmap/module.go index 2682591e0..5f766bcdf 100644 --- a/x/marketmap/module.go +++ b/x/marketmap/module.go @@ -20,10 +20,10 @@ import ( "github.com/spf13/cobra" "golang.org/x/exp/maps" - marketmapmodulev1 "github.com/skip-mev/slinky/api/slinky/marketmap/module/v1" - "github.com/skip-mev/slinky/x/marketmap/client/cli" - "github.com/skip-mev/slinky/x/marketmap/keeper" - "github.com/skip-mev/slinky/x/marketmap/types" + marketmapmodulev1 "github.com/dydxprotocol/slinky/api/slinky/marketmap/module/v1" + "github.com/dydxprotocol/slinky/x/marketmap/client/cli" + "github.com/dydxprotocol/slinky/x/marketmap/keeper" + "github.com/dydxprotocol/slinky/x/marketmap/types" ) // ConsensusVersion is the x/marketmap module's current version, as modules integrate and updates are made, this value determines what diff --git a/x/marketmap/types/genesis_test.go b/x/marketmap/types/genesis_test.go index 04584e1ef..ae43d7dca 100644 --- a/x/marketmap/types/genesis_test.go +++ b/x/marketmap/types/genesis_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/x/marketmap/types" ) func TestGenesisState(t *testing.T) { diff --git a/x/marketmap/types/market.pb.go b/x/marketmap/types/market.pb.go index 635625882..67e2bf477 100644 --- a/x/marketmap/types/market.pb.go +++ b/x/marketmap/types/market.pb.go @@ -7,7 +7,7 @@ import ( fmt "fmt" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" - types "github.com/skip-mev/slinky/pkg/types" + types "github.com/dydxprotocol/slinky/pkg/types" io "io" math "math" math_bits "math/bits" diff --git a/x/marketmap/types/market_test.go b/x/marketmap/types/market_test.go index 42bd1d248..ad6c6e603 100644 --- a/x/marketmap/types/market_test.go +++ b/x/marketmap/types/market_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/providers/apis/coinbase" - "github.com/skip-mev/slinky/x/marketmap/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/providers/apis/coinbase" + "github.com/dydxprotocol/slinky/x/marketmap/types" ) var ( diff --git a/x/marketmap/types/mocks/MarketMapHooks.go b/x/marketmap/types/mocks/MarketMapHooks.go index b289a2cac..9b0dfbd2d 100644 --- a/x/marketmap/types/mocks/MarketMapHooks.go +++ b/x/marketmap/types/mocks/MarketMapHooks.go @@ -5,7 +5,7 @@ package mocks import ( mock "github.com/stretchr/testify/mock" - marketmaptypes "github.com/skip-mev/slinky/x/marketmap/types" + marketmaptypes "github.com/dydxprotocol/slinky/x/marketmap/types" types "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/marketmap/types/mocks/QueryClient.go b/x/marketmap/types/mocks/QueryClient.go index c8f243020..c7f945318 100644 --- a/x/marketmap/types/mocks/QueryClient.go +++ b/x/marketmap/types/mocks/QueryClient.go @@ -9,7 +9,7 @@ import ( mock "github.com/stretchr/testify/mock" - types "github.com/skip-mev/slinky/x/marketmap/types" + types "github.com/dydxprotocol/slinky/x/marketmap/types" ) // QueryClient is an autogenerated mock type for the QueryClient type diff --git a/x/marketmap/types/msg.go b/x/marketmap/types/msg.go index b0399421a..ff9af7736 100644 --- a/x/marketmap/types/msg.go +++ b/x/marketmap/types/msg.go @@ -3,7 +3,7 @@ package types import ( "fmt" - slinkytypes "github.com/skip-mev/slinky/pkg/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/marketmap/types/msg_test.go b/x/marketmap/types/msg_test.go index 4cf6ad781..6abeac130 100644 --- a/x/marketmap/types/msg_test.go +++ b/x/marketmap/types/msg_test.go @@ -6,8 +6,8 @@ import ( "github.com/skip-mev/chaintestutil/sample" "github.com/stretchr/testify/require" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/x/marketmap/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/x/marketmap/types" ) func TestValidateBasicMsgUpsertMarket(t *testing.T) { diff --git a/x/marketmap/types/params_test.go b/x/marketmap/types/params_test.go index 9f4d8e11a..39791e934 100644 --- a/x/marketmap/types/params_test.go +++ b/x/marketmap/types/params_test.go @@ -7,7 +7,7 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/x/marketmap/types" ) func TestValidateBasic(t *testing.T) { diff --git a/x/marketmap/types/provider.go b/x/marketmap/types/provider.go index ab1fb7e3c..91148ce99 100644 --- a/x/marketmap/types/provider.go +++ b/x/marketmap/types/provider.go @@ -3,7 +3,7 @@ package types import ( "fmt" - "github.com/skip-mev/slinky/pkg/json" + "github.com/dydxprotocol/slinky/pkg/json" ) // ValidateBasic performs basic validation on a ProviderConfig. diff --git a/x/marketmap/types/provider_test.go b/x/marketmap/types/provider_test.go index 0a4ec238d..f87d93e40 100644 --- a/x/marketmap/types/provider_test.go +++ b/x/marketmap/types/provider_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/testutil" - "github.com/skip-mev/slinky/x/marketmap/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/testutil" + "github.com/dydxprotocol/slinky/x/marketmap/types" ) func TestProviderConfigValidateBasic(t *testing.T) { diff --git a/x/marketmap/types/query.pb.go b/x/marketmap/types/query.pb.go index f8d890d97..e578c6bbd 100644 --- a/x/marketmap/types/query.pb.go +++ b/x/marketmap/types/query.pb.go @@ -9,7 +9,7 @@ import ( _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" - types "github.com/skip-mev/slinky/pkg/types" + types "github.com/dydxprotocol/slinky/pkg/types" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/marketmap/types/ticker.go b/x/marketmap/types/ticker.go index 4573c680a..f62417955 100644 --- a/x/marketmap/types/ticker.go +++ b/x/marketmap/types/ticker.go @@ -4,9 +4,9 @@ import ( "fmt" "strings" - "github.com/skip-mev/slinky/pkg/json" + "github.com/dydxprotocol/slinky/pkg/json" - slinkytypes "github.com/skip-mev/slinky/pkg/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" ) const ( diff --git a/x/marketmap/types/ticker_test.go b/x/marketmap/types/ticker_test.go index 3a7f0fe6a..150bb5f7d 100644 --- a/x/marketmap/types/ticker_test.go +++ b/x/marketmap/types/ticker_test.go @@ -3,12 +3,12 @@ package types_test import ( "testing" - "github.com/skip-mev/slinky/testutil" + "github.com/dydxprotocol/slinky/testutil" "github.com/stretchr/testify/require" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/x/marketmap/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/x/marketmap/types" ) func TestTicker(t *testing.T) { diff --git a/x/marketmap/types/tickermetadata/common_test.go b/x/marketmap/types/tickermetadata/common_test.go index 1bc93fb83..39e6f605a 100644 --- a/x/marketmap/types/tickermetadata/common_test.go +++ b/x/marketmap/types/tickermetadata/common_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/x/marketmap/types/tickermetadata" + "github.com/dydxprotocol/slinky/x/marketmap/types/tickermetadata" ) func Test_UnmarshalAggregatorID(t *testing.T) { diff --git a/x/marketmap/types/tickermetadata/core_test.go b/x/marketmap/types/tickermetadata/core_test.go index 051430dad..26ca7bae9 100644 --- a/x/marketmap/types/tickermetadata/core_test.go +++ b/x/marketmap/types/tickermetadata/core_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/x/marketmap/types/tickermetadata" + "github.com/dydxprotocol/slinky/x/marketmap/types/tickermetadata" ) func Test_UnmarshalCoreMetadata(t *testing.T) { diff --git a/x/marketmap/types/tickermetadata/dydx_test.go b/x/marketmap/types/tickermetadata/dydx_test.go index 0b9fbf57f..824d6ba30 100644 --- a/x/marketmap/types/tickermetadata/dydx_test.go +++ b/x/marketmap/types/tickermetadata/dydx_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/x/marketmap/types/tickermetadata" + "github.com/dydxprotocol/slinky/x/marketmap/types/tickermetadata" ) func Test_UnmarshalDyDx(t *testing.T) { diff --git a/x/marketmap/types/validation_hooks_test.go b/x/marketmap/types/validation_hooks_test.go index 32794c541..323f2f231 100644 --- a/x/marketmap/types/validation_hooks_test.go +++ b/x/marketmap/types/validation_hooks_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/x/marketmap/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/x/marketmap/types" ) func TestDefaultDeleteMarketValidationHooks_ValidateMarket(t *testing.T) { diff --git a/x/oracle/client/cli/query.go b/x/oracle/client/cli/query.go index f028c69a7..431610f7e 100644 --- a/x/oracle/client/cli/query.go +++ b/x/oracle/client/cli/query.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/x/oracle/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/x/oracle/types" ) // GetQueryCmd returns the parent command for all x/oracle cli query commands. The diff --git a/x/oracle/keeper/abci_test.go b/x/oracle/keeper/abci_test.go index 906b3b228..abe91b8c8 100644 --- a/x/oracle/keeper/abci_test.go +++ b/x/oracle/keeper/abci_test.go @@ -1,7 +1,7 @@ package keeper_test import ( - slinkytypes "github.com/skip-mev/slinky/pkg/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" ) func (s *KeeperTestSuite) TestBeginBlocker() { diff --git a/x/oracle/keeper/genesis.go b/x/oracle/keeper/genesis.go index 03e11b1fb..c1df54463 100644 --- a/x/oracle/keeper/genesis.go +++ b/x/oracle/keeper/genesis.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/x/oracle/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/x/oracle/types" ) // InitGenesis initializes the set of CurrencyPairs + their genesis prices (if any) for the x/oracle module. diff --git a/x/oracle/keeper/genesis_test.go b/x/oracle/keeper/genesis_test.go index e01f310d1..5df068d5f 100644 --- a/x/oracle/keeper/genesis_test.go +++ b/x/oracle/keeper/genesis_test.go @@ -7,9 +7,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/x/oracle/keeper" - "github.com/skip-mev/slinky/x/oracle/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/x/oracle/keeper" + "github.com/dydxprotocol/slinky/x/oracle/types" ) func (s *KeeperTestSuite) TestInitGenesis() { diff --git a/x/oracle/keeper/grpc_query.go b/x/oracle/keeper/grpc_query.go index fcca10345..3d7a147b3 100644 --- a/x/oracle/keeper/grpc_query.go +++ b/x/oracle/keeper/grpc_query.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/x/oracle/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/x/oracle/types" ) // queryServer is the default implementation of the x/oracle QueryService. diff --git a/x/oracle/keeper/grpc_query_test.go b/x/oracle/keeper/grpc_query_test.go index 6f094debf..59cb5ef12 100644 --- a/x/oracle/keeper/grpc_query_test.go +++ b/x/oracle/keeper/grpc_query_test.go @@ -4,10 +4,10 @@ import ( sdkmath "cosmossdk.io/math" "github.com/stretchr/testify/mock" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - marketmaptypes "github.com/skip-mev/slinky/x/marketmap/types" - "github.com/skip-mev/slinky/x/oracle/keeper" - "github.com/skip-mev/slinky/x/oracle/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + marketmaptypes "github.com/dydxprotocol/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/x/oracle/keeper" + "github.com/dydxprotocol/slinky/x/oracle/types" ) func (s *KeeperTestSuite) TestGetAllCurrencyPairs() { diff --git a/x/oracle/keeper/hooks.go b/x/oracle/keeper/hooks.go index 69464e797..c8e53bbc6 100644 --- a/x/oracle/keeper/hooks.go +++ b/x/oracle/keeper/hooks.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - marketmaptypes "github.com/skip-mev/slinky/x/marketmap/types" + marketmaptypes "github.com/dydxprotocol/slinky/x/marketmap/types" ) // Hooks is a wrapper struct around Keeper. diff --git a/x/oracle/keeper/keeper.go b/x/oracle/keeper/keeper.go index 89794dc76..32d184a3e 100644 --- a/x/oracle/keeper/keeper.go +++ b/x/oracle/keeper/keeper.go @@ -9,8 +9,8 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/x/oracle/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/x/oracle/types" ) type oracleIndices struct { diff --git a/x/oracle/keeper/keeper_test.go b/x/oracle/keeper/keeper_test.go index 4a64ff87f..b4809a0cc 100644 --- a/x/oracle/keeper/keeper_test.go +++ b/x/oracle/keeper/keeper_test.go @@ -13,10 +13,10 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/x/oracle/keeper" - "github.com/skip-mev/slinky/x/oracle/types" - "github.com/skip-mev/slinky/x/oracle/types/mocks" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/x/oracle/keeper" + "github.com/dydxprotocol/slinky/x/oracle/types" + "github.com/dydxprotocol/slinky/x/oracle/types/mocks" ) const ( diff --git a/x/oracle/keeper/msg_server.go b/x/oracle/keeper/msg_server.go index 7f10b2571..3b9e9712f 100644 --- a/x/oracle/keeper/msg_server.go +++ b/x/oracle/keeper/msg_server.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/x/oracle/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/x/oracle/types" ) // msgServer is the default implementation of the x/oracle MsgService. diff --git a/x/oracle/keeper/msg_server_test.go b/x/oracle/keeper/msg_server_test.go index ccb7e6b96..0a801c218 100644 --- a/x/oracle/keeper/msg_server_test.go +++ b/x/oracle/keeper/msg_server_test.go @@ -7,9 +7,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/x/oracle/keeper" - "github.com/skip-mev/slinky/x/oracle/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/x/oracle/keeper" + "github.com/dydxprotocol/slinky/x/oracle/types" ) func (s *KeeperTestSuite) TestMsgAddCurrencyPairs() { diff --git a/x/oracle/module.go b/x/oracle/module.go index 1b65da94e..2a4b4ba58 100644 --- a/x/oracle/module.go +++ b/x/oracle/module.go @@ -17,11 +17,11 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" - oraclemodulev1 "github.com/skip-mev/slinky/api/slinky/oracle/module/v1" - marketmaptypes "github.com/skip-mev/slinky/x/marketmap/types" - "github.com/skip-mev/slinky/x/oracle/client/cli" - "github.com/skip-mev/slinky/x/oracle/keeper" - "github.com/skip-mev/slinky/x/oracle/types" + oraclemodulev1 "github.com/dydxprotocol/slinky/api/slinky/oracle/module/v1" + marketmaptypes "github.com/dydxprotocol/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/x/oracle/client/cli" + "github.com/dydxprotocol/slinky/x/oracle/keeper" + "github.com/dydxprotocol/slinky/x/oracle/types" ) // ConsensusVersion is the x/oracle module's current version, as modules integrate and updates are made, this value determines what diff --git a/x/oracle/types/currency_pair_state_test.go b/x/oracle/types/currency_pair_state_test.go index 0e0428ca0..d596939c5 100644 --- a/x/oracle/types/currency_pair_state_test.go +++ b/x/oracle/types/currency_pair_state_test.go @@ -6,7 +6,7 @@ import ( "cosmossdk.io/math" "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/x/oracle/types" + "github.com/dydxprotocol/slinky/x/oracle/types" ) func TestCurrencyPairState(t *testing.T) { diff --git a/x/oracle/types/errors.go b/x/oracle/types/errors.go index e7af2ca19..4753ef969 100644 --- a/x/oracle/types/errors.go +++ b/x/oracle/types/errors.go @@ -3,7 +3,7 @@ package types import ( "fmt" - slinkytypes "github.com/skip-mev/slinky/pkg/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" ) func NewCurrencyPairNotExistError(cp slinkytypes.CurrencyPair) CurrencyPairNotExistError { diff --git a/x/oracle/types/expected_keepers.go b/x/oracle/types/expected_keepers.go index 63f99b46c..b408b3281 100644 --- a/x/oracle/types/expected_keepers.go +++ b/x/oracle/types/expected_keepers.go @@ -3,7 +3,7 @@ package types import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/slinky/x/marketmap/types" + "github.com/dydxprotocol/slinky/x/marketmap/types" ) // MarketMapKeeper is the expected keeper interface for the market map keeper. diff --git a/x/oracle/types/genesis.pb.go b/x/oracle/types/genesis.pb.go index a2d111a0e..ead37d36b 100644 --- a/x/oracle/types/genesis.pb.go +++ b/x/oracle/types/genesis.pb.go @@ -10,7 +10,7 @@ import ( _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" github_com_cosmos_gogoproto_types "github.com/cosmos/gogoproto/types" - types "github.com/skip-mev/slinky/pkg/types" + types "github.com/dydxprotocol/slinky/pkg/types" _ "google.golang.org/protobuf/types/known/timestamppb" io "io" math "math" diff --git a/x/oracle/types/genesis_test.go b/x/oracle/types/genesis_test.go index e89f0a38c..b0f23b7eb 100644 --- a/x/oracle/types/genesis_test.go +++ b/x/oracle/types/genesis_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - slinkytypes "github.com/skip-mev/slinky/pkg/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" - "github.com/skip-mev/slinky/x/oracle/types" + "github.com/dydxprotocol/slinky/x/oracle/types" ) func TestGenesisValidation(t *testing.T) { diff --git a/x/oracle/types/mocks/market_map_keeper.go b/x/oracle/types/mocks/market_map_keeper.go index 90fabd233..c0a8681aa 100644 --- a/x/oracle/types/mocks/market_map_keeper.go +++ b/x/oracle/types/mocks/market_map_keeper.go @@ -5,7 +5,7 @@ package mocks import ( mock "github.com/stretchr/testify/mock" - marketmaptypes "github.com/skip-mev/slinky/x/marketmap/types" + marketmaptypes "github.com/dydxprotocol/slinky/x/marketmap/types" types "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/oracle/types/msgs.go b/x/oracle/types/msgs.go index 44f67b6a9..99fc651f8 100644 --- a/x/oracle/types/msgs.go +++ b/x/oracle/types/msgs.go @@ -3,7 +3,7 @@ package types import ( sdk "github.com/cosmos/cosmos-sdk/types" - slinkytypes "github.com/skip-mev/slinky/pkg/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" ) var ( diff --git a/x/oracle/types/msgs_test.go b/x/oracle/types/msgs_test.go index e17966110..2c058efea 100644 --- a/x/oracle/types/msgs_test.go +++ b/x/oracle/types/msgs_test.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - slinkytypes "github.com/skip-mev/slinky/pkg/types" - "github.com/skip-mev/slinky/x/oracle/types" + slinkytypes "github.com/dydxprotocol/slinky/pkg/types" + "github.com/dydxprotocol/slinky/x/oracle/types" ) func TestValidateBasicMsgAddCurrencyPairs(t *testing.T) { diff --git a/x/oracle/types/query.pb.go b/x/oracle/types/query.pb.go index e7f4c4e8e..e04a7eb96 100644 --- a/x/oracle/types/query.pb.go +++ b/x/oracle/types/query.pb.go @@ -9,7 +9,7 @@ import ( _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" - types "github.com/skip-mev/slinky/pkg/types" + types "github.com/dydxprotocol/slinky/pkg/types" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/oracle/types/quote_price_test.go b/x/oracle/types/quote_price_test.go index 78169fb4b..f310bd267 100644 --- a/x/oracle/types/quote_price_test.go +++ b/x/oracle/types/quote_price_test.go @@ -8,7 +8,7 @@ import ( "cosmossdk.io/math" "github.com/stretchr/testify/require" - "github.com/skip-mev/slinky/x/oracle/types" + "github.com/dydxprotocol/slinky/x/oracle/types" ) func TestQuotePrice(t *testing.T) { diff --git a/x/oracle/types/tx.pb.go b/x/oracle/types/tx.pb.go index 0eb37e438..91bb64d51 100644 --- a/x/oracle/types/tx.pb.go +++ b/x/oracle/types/tx.pb.go @@ -12,7 +12,7 @@ import ( _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" - types "github.com/skip-mev/slinky/pkg/types" + types "github.com/dydxprotocol/slinky/pkg/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status"