diff --git a/manager/Dockerfile b/manager/Dockerfile index a102846..38c5fa8 100644 --- a/manager/Dockerfile +++ b/manager/Dockerfile @@ -4,7 +4,8 @@ WORKDIR /src COPY ./ /src/ -RUN go build -o sai-interx-manager -buildvcs=false +ENV GOPRIVATE=github.com/KiraCore/* +RUN go mod tidy && go build -o sai-interx-manager -buildvcs=false FROM ubuntu diff --git a/manager/gateway/bitcoin.go b/manager/gateway/bitcoin.go index 741b3ee..af79802 100644 --- a/manager/gateway/bitcoin.go +++ b/manager/gateway/bitcoin.go @@ -2,12 +2,12 @@ package gateway import ( "encoding/json" - "github.com/saiset-co/sai-interx-manager/logger" - "github.com/saiset-co/sai-service/service" + "github.com/KiraCore/sai-interx-manager/logger" + "github.com/KiraCore/sai-service/service" "go.uber.org/zap" "time" - "github.com/saiset-co/sai-interx-manager/types" + "github.com/KiraCore/sai-interx-manager/types" ) type BitcoinGateway struct { diff --git a/manager/gateway/cosmos.go b/manager/gateway/cosmos.go index d25d548..bac1429 100644 --- a/manager/gateway/cosmos.go +++ b/manager/gateway/cosmos.go @@ -15,17 +15,17 @@ import ( "strings" "time" - cosmosAuth "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/auth/v1beta1" - cosmosBank "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/bank/v1beta1" - cosmosTx "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/tx/v1beta1" - kiraGov "github.com/saiset-co/sai-interx-manager/proto-gen/kira/gov" - kiraMultiStaking "github.com/saiset-co/sai-interx-manager/proto-gen/kira/multistaking" - kiraSlashing "github.com/saiset-co/sai-interx-manager/proto-gen/kira/slashing/v1beta1" - kiraSpending "github.com/saiset-co/sai-interx-manager/proto-gen/kira/spending" - kiraStaking "github.com/saiset-co/sai-interx-manager/proto-gen/kira/staking" - kiraTokens "github.com/saiset-co/sai-interx-manager/proto-gen/kira/tokens" - kiraUbi "github.com/saiset-co/sai-interx-manager/proto-gen/kira/ubi" - kiraUpgrades "github.com/saiset-co/sai-interx-manager/proto-gen/kira/upgrade" + cosmosAuth "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/auth/v1beta1" + cosmosBank "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/bank/v1beta1" + cosmosTx "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/tx/v1beta1" + kiraGov "github.com/KiraCore/sai-interx-manager/proto-gen/kira/gov" + kiraMultiStaking "github.com/KiraCore/sai-interx-manager/proto-gen/kira/multistaking" + kiraSlashing "github.com/KiraCore/sai-interx-manager/proto-gen/kira/slashing/v1beta1" + kiraSpending "github.com/KiraCore/sai-interx-manager/proto-gen/kira/spending" + kiraStaking "github.com/KiraCore/sai-interx-manager/proto-gen/kira/staking" + kiraTokens "github.com/KiraCore/sai-interx-manager/proto-gen/kira/tokens" + kiraUbi "github.com/KiraCore/sai-interx-manager/proto-gen/kira/ubi" + kiraUpgrades "github.com/KiraCore/sai-interx-manager/proto-gen/kira/upgrade" sekaitypes "github.com/KiraCore/sekai/types" "github.com/cosmos/cosmos-sdk/client" @@ -41,9 +41,9 @@ import ( "github.com/cosmos/go-bip39" "github.com/google/uuid" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" - "github.com/saiset-co/sai-interx-manager/logger" - "github.com/saiset-co/sai-interx-manager/types" - "github.com/saiset-co/sai-service/service" + "github.com/KiraCore/sai-interx-manager/logger" + "github.com/KiraCore/sai-interx-manager/types" + "github.com/KiraCore/sai-service/service" "go.uber.org/zap" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" diff --git a/manager/gateway/cosmos_agregated.go b/manager/gateway/cosmos_agregated.go index c2a6615..c077b11 100644 --- a/manager/gateway/cosmos_agregated.go +++ b/manager/gateway/cosmos_agregated.go @@ -15,8 +15,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "go.uber.org/zap" - "github.com/saiset-co/sai-interx-manager/logger" - "github.com/saiset-co/sai-interx-manager/types" + "github.com/KiraCore/sai-interx-manager/logger" + "github.com/KiraCore/sai-interx-manager/types" ) func (g *CosmosGateway) allValidators() (*types.ValidatorsResponse, error) { diff --git a/manager/gateway/cosmos_agregated2.go b/manager/gateway/cosmos_agregated2.go index 05fe961..44d96ba 100644 --- a/manager/gateway/cosmos_agregated2.go +++ b/manager/gateway/cosmos_agregated2.go @@ -10,7 +10,7 @@ import ( "strconv" "strings" - "github.com/saiset-co/sai-storage-mongo/external/adapter" + "github.com/KiraCore/sai-storage-mongo/external/adapter" sekaitypes "github.com/KiraCore/sekai/types" tmjson "github.com/cometbft/cometbft/libs/json" @@ -19,9 +19,9 @@ import ( "github.com/spf13/cast" "go.uber.org/zap" - "github.com/saiset-co/sai-interx-manager/logger" - "github.com/saiset-co/sai-interx-manager/types" - "github.com/saiset-co/sai-interx-manager/utils" + "github.com/KiraCore/sai-interx-manager/logger" + "github.com/KiraCore/sai-interx-manager/types" + "github.com/KiraCore/sai-interx-manager/utils" ) func (g *CosmosGateway) statusAPI() (interface{}, error) { diff --git a/manager/gateway/cosmos_agregated3.go b/manager/gateway/cosmos_agregated3.go index be0ca78..0478c87 100644 --- a/manager/gateway/cosmos_agregated3.go +++ b/manager/gateway/cosmos_agregated3.go @@ -6,7 +6,7 @@ import ( "fmt" sekaitypes "github.com/KiraCore/sekai/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/saiset-co/sai-storage-mongo/external/adapter" + "github.com/KiraCore/sai-storage-mongo/external/adapter" "go.uber.org/zap" "math" "net/http" @@ -14,9 +14,9 @@ import ( "strconv" "strings" - "github.com/saiset-co/sai-interx-manager/logger" - "github.com/saiset-co/sai-interx-manager/types" - "github.com/saiset-co/sai-interx-manager/utils" + "github.com/KiraCore/sai-interx-manager/logger" + "github.com/KiraCore/sai-interx-manager/types" + "github.com/KiraCore/sai-interx-manager/utils" ) func (g *CosmosGateway) txByHash(hash string) (interface{}, error) { diff --git a/manager/gateway/cosmos_agregated4.go b/manager/gateway/cosmos_agregated4.go index 0685957..dc34c28 100644 --- a/manager/gateway/cosmos_agregated4.go +++ b/manager/gateway/cosmos_agregated4.go @@ -17,10 +17,10 @@ import ( bank "github.com/cosmos/cosmos-sdk/x/bank/types" "go.uber.org/zap" - "github.com/saiset-co/sai-interx-manager/logger" - "github.com/saiset-co/sai-interx-manager/types" - "github.com/saiset-co/sai-interx-manager/utils" - "github.com/saiset-co/sai-storage-mongo/external/adapter" + "github.com/KiraCore/sai-interx-manager/logger" + "github.com/KiraCore/sai-interx-manager/types" + "github.com/KiraCore/sai-interx-manager/utils" + "github.com/KiraCore/sai-storage-mongo/external/adapter" ) func (g *CosmosGateway) tokenRates() (interface{}, error) { diff --git a/manager/gateway/ethereum.go b/manager/gateway/ethereum.go index 7444f05..a612c23 100644 --- a/manager/gateway/ethereum.go +++ b/manager/gateway/ethereum.go @@ -3,7 +3,7 @@ package gateway import ( "encoding/json" "errors" - "github.com/saiset-co/sai-service/service" + "github.com/KiraCore/sai-service/service" "github.com/spf13/cast" "math/big" "strconv" @@ -13,8 +13,8 @@ import ( jsonrpc2 "github.com/KeisukeYamashita/go-jsonrpc" "go.uber.org/zap" - "github.com/saiset-co/sai-interx-manager/logger" - "github.com/saiset-co/sai-interx-manager/types" + "github.com/KiraCore/sai-interx-manager/logger" + "github.com/KiraCore/sai-interx-manager/types" ) type EthereumGateway struct { diff --git a/manager/gateway/factory.go b/manager/gateway/factory.go index d8fba83..27ffb70 100644 --- a/manager/gateway/factory.go +++ b/manager/gateway/factory.go @@ -3,14 +3,14 @@ package gateway import ( "encoding/json" "fmt" - "github.com/saiset-co/sai-interx-manager/logger" + "github.com/KiraCore/sai-interx-manager/logger" "go.uber.org/zap" "time" - saiService "github.com/saiset-co/sai-service/service" + saiService "github.com/KiraCore/sai-service/service" "github.com/spf13/cast" - "github.com/saiset-co/sai-interx-manager/types" + "github.com/KiraCore/sai-interx-manager/types" ) type GatewayFactory struct { diff --git a/manager/gateway/gateway.go b/manager/gateway/gateway.go index be24d83..6f99d5c 100644 --- a/manager/gateway/gateway.go +++ b/manager/gateway/gateway.go @@ -5,8 +5,8 @@ import ( "context" "encoding/json" "errors" - "github.com/saiset-co/sai-interx-manager/logger" - "github.com/saiset-co/sai-service/service" + "github.com/KiraCore/sai-interx-manager/logger" + "github.com/KiraCore/sai-service/service" "go.uber.org/zap" "io" "net/http" diff --git a/manager/gateway/retrier.go b/manager/gateway/retrier.go index 06f2455..69f43ed 100644 --- a/manager/gateway/retrier.go +++ b/manager/gateway/retrier.go @@ -1,7 +1,7 @@ package gateway import ( - "github.com/saiset-co/sai-interx-manager/logger" + "github.com/KiraCore/sai-interx-manager/logger" "go.uber.org/zap" "time" ) diff --git a/manager/gateway/storage.go b/manager/gateway/storage.go index b3c6db5..6d3a9a0 100644 --- a/manager/gateway/storage.go +++ b/manager/gateway/storage.go @@ -3,13 +3,13 @@ package gateway import ( "encoding/json" "errors" - "github.com/saiset-co/sai-interx-manager/logger" - "github.com/saiset-co/sai-service/service" + "github.com/KiraCore/sai-interx-manager/logger" + "github.com/KiraCore/sai-service/service" "github.com/spf13/cast" "go.uber.org/zap" "time" - "github.com/saiset-co/sai-interx-manager/types" + "github.com/KiraCore/sai-interx-manager/types" ) type StorageGateway struct { diff --git a/manager/go.mod b/manager/go.mod index ce3d28a..cfea5f2 100644 --- a/manager/go.mod +++ b/manager/go.mod @@ -1,4 +1,4 @@ -module github.com/saiset-co/sai-interx-manager +module github.com/KiraCore/sai-interx-manager go 1.23.0 @@ -14,8 +14,8 @@ require ( github.com/gogo/protobuf v1.3.2 github.com/google/uuid v1.6.0 github.com/grpc-ecosystem/grpc-gateway/v2 v2.15.2 - github.com/saiset-co/sai-service v1.0.5 - github.com/saiset-co/sai-storage-mongo v1.1.4 + github.com/KiraCore/sai-service v1.0.5 + github.com/KiraCore/sai-storage-mongo v1.1.4 github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible github.com/spf13/cast v1.5.0 go.mongodb.org/mongo-driver v1.17.3 diff --git a/manager/internal/handlers.go b/manager/internal/handlers.go index 68f13f7..2031392 100644 --- a/manager/internal/handlers.go +++ b/manager/internal/handlers.go @@ -5,9 +5,9 @@ import ( "go.uber.org/zap" - "github.com/saiset-co/sai-interx-manager/logger" - "github.com/saiset-co/sai-interx-manager/p2p" - "github.com/saiset-co/sai-service/service" + "github.com/KiraCore/sai-interx-manager/logger" + "github.com/KiraCore/sai-interx-manager/p2p" + "github.com/KiraCore/sai-service/service" ) func (is *InternalService) NewHandler() service.Handler { diff --git a/manager/internal/service.go b/manager/internal/service.go index 1d8d4bd..6d5b90a 100644 --- a/manager/internal/service.go +++ b/manager/internal/service.go @@ -5,12 +5,12 @@ import ( "github.com/spf13/cast" - "github.com/saiset-co/sai-interx-manager/gateway" - "github.com/saiset-co/sai-interx-manager/p2p" - "github.com/saiset-co/sai-interx-manager/p2p/config" - "github.com/saiset-co/sai-interx-manager/p2p/net" - "github.com/saiset-co/sai-interx-manager/types" - "github.com/saiset-co/sai-service/service" + "github.com/KiraCore/sai-interx-manager/gateway" + "github.com/KiraCore/sai-interx-manager/p2p" + "github.com/KiraCore/sai-interx-manager/p2p/config" + "github.com/KiraCore/sai-interx-manager/p2p/net" + "github.com/KiraCore/sai-interx-manager/types" + "github.com/KiraCore/sai-service/service" ) type InternalService struct { diff --git a/manager/main.go b/manager/main.go index 69b2812..861ac56 100644 --- a/manager/main.go +++ b/manager/main.go @@ -1,10 +1,10 @@ package main import ( - "github.com/saiset-co/sai-interx-manager/internal" - "github.com/saiset-co/sai-interx-manager/logger" + "github.com/KiraCore/sai-interx-manager/internal" + "github.com/KiraCore/sai-interx-manager/logger" - "github.com/saiset-co/sai-service/service" + "github.com/KiraCore/sai-service/service" ) func main() { diff --git a/manager/p2p/balancer/balancer.go b/manager/p2p/balancer/balancer.go index cf57e81..4b58714 100644 --- a/manager/p2p/balancer/balancer.go +++ b/manager/p2p/balancer/balancer.go @@ -9,14 +9,14 @@ import ( "net" "net/http" - saiService "github.com/saiset-co/sai-service/service" + saiService "github.com/KiraCore/sai-service/service" "go.uber.org/zap" - "github.com/saiset-co/sai-interx-manager/logger" - "github.com/saiset-co/sai-interx-manager/p2p" - "github.com/saiset-co/sai-interx-manager/p2p/metrics" - "github.com/saiset-co/sai-interx-manager/p2p/utils" - "github.com/saiset-co/sai-interx-manager/types" + "github.com/KiraCore/sai-interx-manager/logger" + "github.com/KiraCore/sai-interx-manager/p2p" + "github.com/KiraCore/sai-interx-manager/p2p/metrics" + "github.com/KiraCore/sai-interx-manager/p2p/utils" + "github.com/KiraCore/sai-interx-manager/types" ) type LoadBalancer struct { diff --git a/manager/p2p/config/config.go b/manager/p2p/config/config.go index 081578c..d5241e8 100644 --- a/manager/p2p/config/config.go +++ b/manager/p2p/config/config.go @@ -3,7 +3,7 @@ package config import ( "time" - "github.com/saiset-co/sai-interx-manager/p2p" + "github.com/KiraCore/sai-interx-manager/p2p" ) type NetworkConfig struct { diff --git a/manager/p2p/config/options.go b/manager/p2p/config/options.go index 6a78c3b..ce31dcd 100644 --- a/manager/p2p/config/options.go +++ b/manager/p2p/config/options.go @@ -3,7 +3,7 @@ package config import ( "time" - "github.com/saiset-co/sai-interx-manager/p2p" + "github.com/KiraCore/sai-interx-manager/p2p" ) type Option func(*NetworkConfig) diff --git a/manager/p2p/metrics/collector.go b/manager/p2p/metrics/collector.go index dc64667..d7bb878 100644 --- a/manager/p2p/metrics/collector.go +++ b/manager/p2p/metrics/collector.go @@ -5,11 +5,11 @@ import ( "sync" "time" - saiService "github.com/saiset-co/sai-service/service" + saiService "github.com/KiraCore/sai-service/service" - "github.com/saiset-co/sai-interx-manager/p2p" - "github.com/saiset-co/sai-interx-manager/p2p/types" - "github.com/saiset-co/sai-interx-manager/p2p/utils" + "github.com/KiraCore/sai-interx-manager/p2p" + "github.com/KiraCore/sai-interx-manager/p2p/types" + "github.com/KiraCore/sai-interx-manager/p2p/utils" ) type CollectorImpl struct { diff --git a/manager/p2p/metrics/types.go b/manager/p2p/metrics/types.go index 2442182..a5db933 100644 --- a/manager/p2p/metrics/types.go +++ b/manager/p2p/metrics/types.go @@ -3,10 +3,10 @@ package metrics import ( "time" - saiService "github.com/saiset-co/sai-service/service" + saiService "github.com/KiraCore/sai-service/service" - "github.com/saiset-co/sai-interx-manager/p2p" - "github.com/saiset-co/sai-interx-manager/p2p/types" + "github.com/KiraCore/sai-interx-manager/p2p" + "github.com/KiraCore/sai-interx-manager/p2p/types" ) type RequestStat struct { diff --git a/manager/p2p/net/join.go b/manager/p2p/net/join.go index b58911a..d823849 100644 --- a/manager/p2p/net/join.go +++ b/manager/p2p/net/join.go @@ -3,9 +3,9 @@ package net import ( "fmt" - "github.com/saiset-co/sai-interx-manager/p2p" - "github.com/saiset-co/sai-interx-manager/p2p/proto" - "github.com/saiset-co/sai-interx-manager/p2p/types" + "github.com/KiraCore/sai-interx-manager/p2p" + "github.com/KiraCore/sai-interx-manager/p2p/proto" + "github.com/KiraCore/sai-interx-manager/p2p/types" ) type joinResponseHandler struct { diff --git a/manager/p2p/net/network.go b/manager/p2p/net/network.go index dd88658..6ec5abc 100644 --- a/manager/p2p/net/network.go +++ b/manager/p2p/net/network.go @@ -6,11 +6,11 @@ import ( "go.uber.org/zap" - "github.com/saiset-co/sai-interx-manager/logger" - "github.com/saiset-co/sai-interx-manager/p2p" - "github.com/saiset-co/sai-interx-manager/p2p/balancer" - "github.com/saiset-co/sai-interx-manager/p2p/config" - "github.com/saiset-co/sai-interx-manager/p2p/metrics" + "github.com/KiraCore/sai-interx-manager/logger" + "github.com/KiraCore/sai-interx-manager/p2p" + "github.com/KiraCore/sai-interx-manager/p2p/balancer" + "github.com/KiraCore/sai-interx-manager/p2p/config" + "github.com/KiraCore/sai-interx-manager/p2p/metrics" ) type Network struct { diff --git a/manager/p2p/net/peer.go b/manager/p2p/net/peer.go index 6c67272..d1754e6 100644 --- a/manager/p2p/net/peer.go +++ b/manager/p2p/net/peer.go @@ -4,7 +4,7 @@ import ( "net" "sync" - "github.com/saiset-co/sai-interx-manager/p2p" + "github.com/KiraCore/sai-interx-manager/p2p" ) type PeerStatus struct { diff --git a/manager/p2p/net/server.go b/manager/p2p/net/server.go index d49d418..98ada31 100644 --- a/manager/p2p/net/server.go +++ b/manager/p2p/net/server.go @@ -11,11 +11,11 @@ import ( "go.uber.org/zap" - "github.com/saiset-co/sai-interx-manager/logger" - "github.com/saiset-co/sai-interx-manager/p2p" - "github.com/saiset-co/sai-interx-manager/p2p/metrics" - "github.com/saiset-co/sai-interx-manager/p2p/proto" - "github.com/saiset-co/sai-interx-manager/p2p/types" + "github.com/KiraCore/sai-interx-manager/logger" + "github.com/KiraCore/sai-interx-manager/p2p" + "github.com/KiraCore/sai-interx-manager/p2p/metrics" + "github.com/KiraCore/sai-interx-manager/p2p/proto" + "github.com/KiraCore/sai-interx-manager/p2p/types" ) type PeerManager struct { diff --git a/manager/p2p/p2p.go b/manager/p2p/p2p.go index 3f87571..0ee5e44 100644 --- a/manager/p2p/p2p.go +++ b/manager/p2p/p2p.go @@ -4,7 +4,7 @@ package p2p import ( "time" - saiService "github.com/saiset-co/sai-service/service" + saiService "github.com/KiraCore/sai-service/service" ) type NodeID string diff --git a/manager/p2p/types/types.go b/manager/p2p/types/types.go index 42224c3..4bfbb6e 100644 --- a/manager/p2p/types/types.go +++ b/manager/p2p/types/types.go @@ -1,6 +1,6 @@ package types -import "github.com/saiset-co/sai-interx-manager/p2p" +import "github.com/KiraCore/sai-interx-manager/p2p" type JoinRequest struct { NodeID p2p.NodeID `json:"node_id"` diff --git a/manager/proto-gen/cosmos/bank/v1beta1/authz.pb.go b/manager/proto-gen/cosmos/bank/v1beta1/authz.pb.go index d19a31d..e138157 100644 --- a/manager/proto-gen/cosmos/bank/v1beta1/authz.pb.go +++ b/manager/proto-gen/cosmos/bank/v1beta1/authz.pb.go @@ -10,7 +10,7 @@ import ( _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/manager/proto-gen/cosmos/bank/v1beta1/bank.pb.go b/manager/proto-gen/cosmos/bank/v1beta1/bank.pb.go index 93b3d8a..94c7af4 100644 --- a/manager/proto-gen/cosmos/bank/v1beta1/bank.pb.go +++ b/manager/proto-gen/cosmos/bank/v1beta1/bank.pb.go @@ -11,7 +11,7 @@ import ( _ "github.com/cosmos/cosmos-sdk/types/msgservice" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/manager/proto-gen/cosmos/bank/v1beta1/genesis.pb.go b/manager/proto-gen/cosmos/bank/v1beta1/genesis.pb.go index c10ae29..c1722c9 100644 --- a/manager/proto-gen/cosmos/bank/v1beta1/genesis.pb.go +++ b/manager/proto-gen/cosmos/bank/v1beta1/genesis.pb.go @@ -10,7 +10,7 @@ import ( _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/manager/proto-gen/cosmos/bank/v1beta1/query.pb.go b/manager/proto-gen/cosmos/bank/v1beta1/query.pb.go index efe142e..6690be9 100644 --- a/manager/proto-gen/cosmos/bank/v1beta1/query.pb.go +++ b/manager/proto-gen/cosmos/bank/v1beta1/query.pb.go @@ -11,7 +11,7 @@ import ( query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" diff --git a/manager/proto-gen/cosmos/bank/v1beta1/tx.pb.go b/manager/proto-gen/cosmos/bank/v1beta1/tx.pb.go index 71eda49..660d3f7 100644 --- a/manager/proto-gen/cosmos/bank/v1beta1/tx.pb.go +++ b/manager/proto-gen/cosmos/bank/v1beta1/tx.pb.go @@ -11,7 +11,7 @@ import ( _ "github.com/cosmos/cosmos-sdk/types/msgservice" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/manager/proto-gen/cosmos/crisis/v1beta1/genesis.pb.go b/manager/proto-gen/cosmos/crisis/v1beta1/genesis.pb.go index 81cdb36..f0238dc 100644 --- a/manager/proto-gen/cosmos/crisis/v1beta1/genesis.pb.go +++ b/manager/proto-gen/cosmos/crisis/v1beta1/genesis.pb.go @@ -9,7 +9,7 @@ package types import ( _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/manager/proto-gen/cosmos/crisis/v1beta1/tx.pb.go b/manager/proto-gen/cosmos/crisis/v1beta1/tx.pb.go index 74dbcd9..d7b7e74 100644 --- a/manager/proto-gen/cosmos/crisis/v1beta1/tx.pb.go +++ b/manager/proto-gen/cosmos/crisis/v1beta1/tx.pb.go @@ -11,7 +11,7 @@ import ( _ "github.com/cosmos/cosmos-sdk/types/msgservice" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/manager/proto-gen/cosmos/distribution/v1beta1/distribution.pb.go b/manager/proto-gen/cosmos/distribution/v1beta1/distribution.pb.go index 2acc4e3..af3e384 100644 --- a/manager/proto-gen/cosmos/distribution/v1beta1/distribution.pb.go +++ b/manager/proto-gen/cosmos/distribution/v1beta1/distribution.pb.go @@ -10,7 +10,7 @@ import ( _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/manager/proto-gen/cosmos/distribution/v1beta1/genesis.pb.go b/manager/proto-gen/cosmos/distribution/v1beta1/genesis.pb.go index 9276f7b..4ee2935 100644 --- a/manager/proto-gen/cosmos/distribution/v1beta1/genesis.pb.go +++ b/manager/proto-gen/cosmos/distribution/v1beta1/genesis.pb.go @@ -10,7 +10,7 @@ import ( _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/manager/proto-gen/cosmos/distribution/v1beta1/query.pb.go b/manager/proto-gen/cosmos/distribution/v1beta1/query.pb.go index e48e5e7..569f9b5 100644 --- a/manager/proto-gen/cosmos/distribution/v1beta1/query.pb.go +++ b/manager/proto-gen/cosmos/distribution/v1beta1/query.pb.go @@ -11,7 +11,7 @@ import ( query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" diff --git a/manager/proto-gen/cosmos/distribution/v1beta1/tx.pb.go b/manager/proto-gen/cosmos/distribution/v1beta1/tx.pb.go index 2caf3a9..7ce5ba7 100644 --- a/manager/proto-gen/cosmos/distribution/v1beta1/tx.pb.go +++ b/manager/proto-gen/cosmos/distribution/v1beta1/tx.pb.go @@ -11,7 +11,7 @@ import ( _ "github.com/cosmos/cosmos-sdk/types/msgservice" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/manager/proto-gen/cosmos/feegrant/v1beta1/feegrant.pb.go b/manager/proto-gen/cosmos/feegrant/v1beta1/feegrant.pb.go index 9b9226c..22019ac 100644 --- a/manager/proto-gen/cosmos/feegrant/v1beta1/feegrant.pb.go +++ b/manager/proto-gen/cosmos/feegrant/v1beta1/feegrant.pb.go @@ -12,7 +12,7 @@ import ( _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" diff --git a/manager/proto-gen/cosmos/gov/v1/gov.pb.go b/manager/proto-gen/cosmos/gov/v1/gov.pb.go index cb17995..8a4c316 100644 --- a/manager/proto-gen/cosmos/gov/v1/gov.pb.go +++ b/manager/proto-gen/cosmos/gov/v1/gov.pb.go @@ -12,7 +12,7 @@ import ( _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" diff --git a/manager/proto-gen/cosmos/gov/v1/tx.pb.go b/manager/proto-gen/cosmos/gov/v1/tx.pb.go index 36e3e88..a36a8ff 100644 --- a/manager/proto-gen/cosmos/gov/v1/tx.pb.go +++ b/manager/proto-gen/cosmos/gov/v1/tx.pb.go @@ -13,7 +13,7 @@ import ( _ "github.com/cosmos/cosmos-sdk/types/msgservice" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" diff --git a/manager/proto-gen/cosmos/gov/v1beta1/gov.pb.go b/manager/proto-gen/cosmos/gov/v1beta1/gov.pb.go index ed495d7..a875222 100644 --- a/manager/proto-gen/cosmos/gov/v1beta1/gov.pb.go +++ b/manager/proto-gen/cosmos/gov/v1beta1/gov.pb.go @@ -10,7 +10,7 @@ import ( _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" diff --git a/manager/proto-gen/cosmos/gov/v1beta1/tx.pb.go b/manager/proto-gen/cosmos/gov/v1beta1/tx.pb.go index c875527..a1b659c 100644 --- a/manager/proto-gen/cosmos/gov/v1beta1/tx.pb.go +++ b/manager/proto-gen/cosmos/gov/v1beta1/tx.pb.go @@ -11,7 +11,7 @@ import ( _ "github.com/cosmos/cosmos-sdk/types/msgservice" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" diff --git a/manager/proto-gen/cosmos/staking/v1beta1/authz.pb.go b/manager/proto-gen/cosmos/staking/v1beta1/authz.pb.go index 262a7bf..1cb5142 100644 --- a/manager/proto-gen/cosmos/staking/v1beta1/authz.pb.go +++ b/manager/proto-gen/cosmos/staking/v1beta1/authz.pb.go @@ -10,7 +10,7 @@ import ( _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/manager/proto-gen/cosmos/staking/v1beta1/staking.pb.go b/manager/proto-gen/cosmos/staking/v1beta1/staking.pb.go index e7c7d0e..257dbf5 100644 --- a/manager/proto-gen/cosmos/staking/v1beta1/staking.pb.go +++ b/manager/proto-gen/cosmos/staking/v1beta1/staking.pb.go @@ -12,7 +12,7 @@ import ( _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" diff --git a/manager/proto-gen/cosmos/staking/v1beta1/tx.pb.go b/manager/proto-gen/cosmos/staking/v1beta1/tx.pb.go index 078308d..0d97256 100644 --- a/manager/proto-gen/cosmos/staking/v1beta1/tx.pb.go +++ b/manager/proto-gen/cosmos/staking/v1beta1/tx.pb.go @@ -11,7 +11,7 @@ import ( _ "github.com/cosmos/cosmos-sdk/types/msgservice" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" diff --git a/manager/proto-gen/cosmos/tx/v1beta1/tx.pb.go b/manager/proto-gen/cosmos/tx/v1beta1/tx.pb.go index cec3ffe..2d1d6d5 100644 --- a/manager/proto-gen/cosmos/tx/v1beta1/tx.pb.go +++ b/manager/proto-gen/cosmos/tx/v1beta1/tx.pb.go @@ -11,7 +11,7 @@ import ( types "github.com/cosmos/cosmos-sdk/crypto/types" signing "github.com/cosmos/cosmos-sdk/types/tx/signing" _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" diff --git a/manager/proto-gen/cosmos/vesting/v1beta1/tx.pb.go b/manager/proto-gen/cosmos/vesting/v1beta1/tx.pb.go index f21c097..696ea69 100644 --- a/manager/proto-gen/cosmos/vesting/v1beta1/tx.pb.go +++ b/manager/proto-gen/cosmos/vesting/v1beta1/tx.pb.go @@ -11,7 +11,7 @@ import ( _ "github.com/cosmos/cosmos-sdk/types/msgservice" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/manager/proto-gen/cosmos/vesting/v1beta1/vesting.pb.go b/manager/proto-gen/cosmos/vesting/v1beta1/vesting.pb.go index 2a6eb8c..b906b4f 100644 --- a/manager/proto-gen/cosmos/vesting/v1beta1/vesting.pb.go +++ b/manager/proto-gen/cosmos/vesting/v1beta1/vesting.pb.go @@ -9,8 +9,8 @@ package types import ( _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/auth/v1beta1" - v1beta11 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/auth/v1beta1" + v1beta11 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/manager/proto-gen/kira/bridge/bridge.pb.go b/manager/proto-gen/kira/bridge/bridge.pb.go index 6770795..d32a9a2 100644 --- a/manager/proto-gen/kira/bridge/bridge.pb.go +++ b/manager/proto-gen/kira/bridge/bridge.pb.go @@ -8,7 +8,7 @@ package types import ( _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/anypb" diff --git a/manager/proto-gen/kira/bridge/query.pb.go b/manager/proto-gen/kira/bridge/query.pb.go index cc0f371..027e285 100644 --- a/manager/proto-gen/kira/bridge/query.pb.go +++ b/manager/proto-gen/kira/bridge/query.pb.go @@ -8,7 +8,7 @@ package types import ( _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" diff --git a/manager/proto-gen/kira/bridge/tx.pb.go b/manager/proto-gen/kira/bridge/tx.pb.go index 1a3f2fa..5498ffb 100644 --- a/manager/proto-gen/kira/bridge/tx.pb.go +++ b/manager/proto-gen/kira/bridge/tx.pb.go @@ -8,7 +8,7 @@ package types import ( _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/anypb" diff --git a/manager/proto-gen/kira/custody/tx.pb.go b/manager/proto-gen/kira/custody/tx.pb.go index ebdc94d..61fcc79 100644 --- a/manager/proto-gen/kira/custody/tx.pb.go +++ b/manager/proto-gen/kira/custody/tx.pb.go @@ -8,7 +8,7 @@ package types import ( _ "github.com/gogo/protobuf/gogoproto" - v1beta1 "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + v1beta1 "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/anypb" diff --git a/manager/proto-gen/kira/ethereum/tx.pb.go b/manager/proto-gen/kira/ethereum/tx.pb.go index c6f06de..5da085d 100644 --- a/manager/proto-gen/kira/ethereum/tx.pb.go +++ b/manager/proto-gen/kira/ethereum/tx.pb.go @@ -11,7 +11,7 @@ import ( _ "github.com/cosmos/cosmos-sdk/types/msgservice" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/gogo/protobuf/gogoproto" - _ "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + _ "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/manager/proto-gen/kira/tokens/query.pb.go b/manager/proto-gen/kira/tokens/query.pb.go index e20b253..8234040 100644 --- a/manager/proto-gen/kira/tokens/query.pb.go +++ b/manager/proto-gen/kira/tokens/query.pb.go @@ -8,7 +8,7 @@ package types import ( _ "github.com/gogo/protobuf/gogoproto" - _ "github.com/saiset-co/sai-interx-manager/proto-gen/cosmos/base/v1beta1" + _ "github.com/KiraCore/sai-interx-manager/proto-gen/cosmos/base/v1beta1" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" diff --git a/manager/types/storage.go b/manager/types/storage.go index c570149..cdeaba5 100644 --- a/manager/types/storage.go +++ b/manager/types/storage.go @@ -4,8 +4,8 @@ import ( "go.mongodb.org/mongo-driver/bson" "go.uber.org/zap" - "github.com/saiset-co/sai-interx-manager/logger" - "github.com/saiset-co/sai-storage-mongo/external/adapter" + "github.com/KiraCore/sai-interx-manager/logger" + "github.com/KiraCore/sai-storage-mongo/external/adapter" ) type Storage interface { diff --git a/manager/utils/gov.go b/manager/utils/gov.go index 3bcfe4a..a61b087 100644 --- a/manager/utils/gov.go +++ b/manager/utils/gov.go @@ -5,8 +5,8 @@ import ( "go.uber.org/zap" - "github.com/saiset-co/sai-interx-manager/logger" - "github.com/saiset-co/sai-interx-manager/types" + "github.com/KiraCore/sai-interx-manager/logger" + "github.com/KiraCore/sai-interx-manager/types" ) func QueryNetworkPropertiesFromGrpcResult(success []byte) (*types.NetworkPropertiesResponse, error) { diff --git a/manager/utils/utils.go b/manager/utils/utils.go index 6523263..a6c88ef 100644 --- a/manager/utils/utils.go +++ b/manager/utils/utils.go @@ -2,7 +2,7 @@ package utils import ( "fmt" - "github.com/saiset-co/sai-interx-manager/types" + "github.com/KiraCore/sai-interx-manager/types" "strconv" "strings" ) diff --git a/proxy/go.mod b/proxy/go.mod index 97e41ec..87e0196 100644 --- a/proxy/go.mod +++ b/proxy/go.mod @@ -1,10 +1,10 @@ -module github.com/saiset-co/sai-interax-proxy +module github.com/KiraCore/sai-interx-proxy go 1.23.5 require ( github.com/rs/cors v1.10.1 - github.com/saiset-co/sai-service v1.0.5 + github.com/KiraCore/sai-service v1.0.5 github.com/spf13/cast v1.7.1 go.uber.org/zap v1.27.0 ) diff --git a/proxy/internal/service.go b/proxy/internal/service.go index 9ac199c..326a734 100644 --- a/proxy/internal/service.go +++ b/proxy/internal/service.go @@ -12,9 +12,9 @@ import ( "github.com/spf13/cast" "go.uber.org/zap" - "github.com/saiset-co/sai-interax-proxy/logger" - "github.com/saiset-co/sai-interax-proxy/types" - "github.com/saiset-co/sai-service/service" + "github.com/KiraCore/sai-interx-proxy/logger" + "github.com/KiraCore/sai-interx-proxy/types" + "github.com/KiraCore/sai-service/service" ) type InternalService struct { diff --git a/proxy/main.go b/proxy/main.go index d530150..76f8200 100644 --- a/proxy/main.go +++ b/proxy/main.go @@ -1,10 +1,10 @@ package main import ( - "github.com/saiset-co/sai-interax-proxy/internal" - "github.com/saiset-co/sai-interax-proxy/logger" + "github.com/KiraCore/sai-interx-proxy/internal" + "github.com/KiraCore/sai-interx-proxy/logger" - "github.com/saiset-co/sai-service/service" + "github.com/KiraCore/sai-service/service" ) func main() { diff --git a/worker/cosmos/sai-cosmos-indexer/go.mod b/worker/cosmos/sai-cosmos-indexer/go.mod index 563ed89..4db2c1f 100644 --- a/worker/cosmos/sai-cosmos-indexer/go.mod +++ b/worker/cosmos/sai-cosmos-indexer/go.mod @@ -1,4 +1,4 @@ -module github.com/saiset-co/saiCosmosIndexer +module github.com/KiraCore/saiCosmosIndexer go 1.21 @@ -6,8 +6,8 @@ require ( github.com/KiraCore/sekai v0.4.13 github.com/cosmos/cosmos-sdk v0.47.6 github.com/json-iterator/go v1.1.12 - github.com/saiset-co/sai-service v1.0.5 - github.com/saiset-co/sai-storage-mongo v1.1.4 + github.com/KiraCore/sai-service v1.0.5 + github.com/KiraCore/sai-storage-mongo v1.1.4 github.com/spf13/cast v1.7.1 go.uber.org/zap v1.27.0 ) diff --git a/worker/cosmos/sai-cosmos-indexer/internal/block.go b/worker/cosmos/sai-cosmos-indexer/internal/block.go index 2c0540e..72bfe12 100644 --- a/worker/cosmos/sai-cosmos-indexer/internal/block.go +++ b/worker/cosmos/sai-cosmos-indexer/internal/block.go @@ -13,8 +13,8 @@ import ( "github.com/spf13/cast" "go.uber.org/zap" - "github.com/saiset-co/saiCosmosIndexer/internal/model" - "github.com/saiset-co/saiCosmosIndexer/logger" + "github.com/KiraCore/saiCosmosIndexer/internal/model" + "github.com/KiraCore/saiCosmosIndexer/logger" ) func (is *InternalService) getLatestBlock() (*model.LatestBlock, error) { diff --git a/worker/cosmos/sai-cosmos-indexer/internal/handlers.go b/worker/cosmos/sai-cosmos-indexer/internal/handlers.go index 8da521f..5e4ad99 100644 --- a/worker/cosmos/sai-cosmos-indexer/internal/handlers.go +++ b/worker/cosmos/sai-cosmos-indexer/internal/handlers.go @@ -3,7 +3,7 @@ package internal import ( "net/http" - saiService "github.com/saiset-co/sai-service/service" + saiService "github.com/KiraCore/sai-service/service" ) func (is *InternalService) NewHandler() saiService.Handler { diff --git a/worker/cosmos/sai-cosmos-indexer/internal/notifier.go b/worker/cosmos/sai-cosmos-indexer/internal/notifier.go index 60c97c4..a5293eb 100644 --- a/worker/cosmos/sai-cosmos-indexer/internal/notifier.go +++ b/worker/cosmos/sai-cosmos-indexer/internal/notifier.go @@ -5,7 +5,7 @@ import ( jsoniter "github.com/json-iterator/go" - "github.com/saiset-co/saiCosmosIndexer/utils" + "github.com/KiraCore/saiCosmosIndexer/utils" ) type Notifier interface { diff --git a/worker/cosmos/sai-cosmos-indexer/internal/service.go b/worker/cosmos/sai-cosmos-indexer/internal/service.go index 6807c04..d65fe5b 100644 --- a/worker/cosmos/sai-cosmos-indexer/internal/service.go +++ b/worker/cosmos/sai-cosmos-indexer/internal/service.go @@ -17,11 +17,11 @@ import ( jsoniter "github.com/json-iterator/go" "github.com/spf13/cast" - saiService "github.com/saiset-co/sai-service/service" - "github.com/saiset-co/sai-storage-mongo/external/adapter" - "github.com/saiset-co/saiCosmosIndexer/internal/model" - "github.com/saiset-co/saiCosmosIndexer/logger" - "github.com/saiset-co/saiCosmosIndexer/utils" + saiService "github.com/KiraCore/sai-service/service" + "github.com/KiraCore/sai-storage-mongo/external/adapter" + "github.com/KiraCore/saiCosmosIndexer/internal/model" + "github.com/KiraCore/saiCosmosIndexer/logger" + "github.com/KiraCore/saiCosmosIndexer/utils" ) const ( diff --git a/worker/cosmos/sai-cosmos-indexer/main.go b/worker/cosmos/sai-cosmos-indexer/main.go index 265235d..c7d9c47 100644 --- a/worker/cosmos/sai-cosmos-indexer/main.go +++ b/worker/cosmos/sai-cosmos-indexer/main.go @@ -1,9 +1,9 @@ package main import ( - saiService "github.com/saiset-co/sai-service/service" - "github.com/saiset-co/saiCosmosIndexer/internal" - "github.com/saiset-co/saiCosmosIndexer/logger" + saiService "github.com/KiraCore/sai-service/service" + "github.com/KiraCore/saiCosmosIndexer/internal" + "github.com/KiraCore/saiCosmosIndexer/logger" ) func main() { diff --git a/worker/cosmos/sai-cosmos-interaction/go.mod b/worker/cosmos/sai-cosmos-interaction/go.mod index cfbde8f..0fd3fe0 100644 --- a/worker/cosmos/sai-cosmos-interaction/go.mod +++ b/worker/cosmos/sai-cosmos-interaction/go.mod @@ -1,4 +1,4 @@ -module github.com/saiset-co/saiCosmosInteraction +module github.com/KiraCore/saiCosmosInteraction go 1.21.6 @@ -7,7 +7,7 @@ require ( github.com/cosmos/cosmos-sdk v0.47.7 github.com/google/uuid v1.3.0 github.com/json-iterator/go v1.1.12 - github.com/saiset-co/sai-service v1.0.5 + github.com/KiraCore/sai-service v1.0.5 github.com/spf13/cast v1.5.0 go.uber.org/zap v1.26.0 ) diff --git a/worker/cosmos/sai-cosmos-interaction/internal/handlers.go b/worker/cosmos/sai-cosmos-interaction/internal/handlers.go index 01974be..d150e5b 100644 --- a/worker/cosmos/sai-cosmos-interaction/internal/handlers.go +++ b/worker/cosmos/sai-cosmos-interaction/internal/handlers.go @@ -6,9 +6,9 @@ import ( "net/http" "os" - saiService "github.com/saiset-co/sai-service/service" - "github.com/saiset-co/saiCosmosInteraction/internal/model" - "github.com/saiset-co/saiCosmosInteraction/utils" + saiService "github.com/KiraCore/sai-service/service" + "github.com/KiraCore/saiCosmosInteraction/internal/model" + "github.com/KiraCore/saiCosmosInteraction/utils" ) func (is *InternalService) NewHandler() saiService.Handler { diff --git a/worker/cosmos/sai-cosmos-interaction/internal/service.go b/worker/cosmos/sai-cosmos-interaction/internal/service.go index d7a31f7..9f7a54a 100644 --- a/worker/cosmos/sai-cosmos-interaction/internal/service.go +++ b/worker/cosmos/sai-cosmos-interaction/internal/service.go @@ -1,7 +1,7 @@ package internal import ( - saiService "github.com/saiset-co/sai-service/service" + saiService "github.com/KiraCore/sai-service/service" ) type InternalService struct { diff --git a/worker/cosmos/sai-cosmos-interaction/internal/tx_maker.go b/worker/cosmos/sai-cosmos-interaction/internal/tx_maker.go index f3a09a3..355182b 100644 --- a/worker/cosmos/sai-cosmos-interaction/internal/tx_maker.go +++ b/worker/cosmos/sai-cosmos-interaction/internal/tx_maker.go @@ -23,7 +23,7 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/google/uuid" jsoniter "github.com/json-iterator/go" - "github.com/saiset-co/saiCosmosInteraction/internal/model" + "github.com/KiraCore/saiCosmosInteraction/internal/model" "github.com/spf13/cast" ) diff --git a/worker/cosmos/sai-cosmos-interaction/main.go b/worker/cosmos/sai-cosmos-interaction/main.go index b424be1..f034b34 100644 --- a/worker/cosmos/sai-cosmos-interaction/main.go +++ b/worker/cosmos/sai-cosmos-interaction/main.go @@ -2,9 +2,9 @@ package main import ( "github.com/cosmos/cosmos-sdk/types" - saiService "github.com/saiset-co/sai-service/service" - "github.com/saiset-co/saiCosmosInteraction/internal" - "github.com/saiset-co/saiCosmosInteraction/logger" + saiService "github.com/KiraCore/sai-service/service" + "github.com/KiraCore/saiCosmosInteraction/internal" + "github.com/KiraCore/saiCosmosInteraction/logger" ) var ( diff --git a/worker/ethereum/sai-ethereum-contract-interaction/go.mod b/worker/ethereum/sai-ethereum-contract-interaction/go.mod index 46f3f58..003fa17 100644 --- a/worker/ethereum/sai-ethereum-contract-interaction/go.mod +++ b/worker/ethereum/sai-ethereum-contract-interaction/go.mod @@ -1,11 +1,11 @@ -module github.com/saiset-co/sai-eth-interaction +module github.com/KiraCore/sai-eth-interaction go 1.21 require ( github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 github.com/ethereum/go-ethereum v1.14.5 - github.com/saiset-co/sai-service v1.0.5 + github.com/KiraCore/sai-service v1.0.5 go.uber.org/zap v1.26.0 ) diff --git a/worker/ethereum/sai-ethereum-contract-interaction/internal/contracts.go b/worker/ethereum/sai-ethereum-contract-interaction/internal/contracts.go index 6d2e6bd..1c0df8e 100644 --- a/worker/ethereum/sai-ethereum-contract-interaction/internal/contracts.go +++ b/worker/ethereum/sai-ethereum-contract-interaction/internal/contracts.go @@ -8,8 +8,8 @@ import ( "log" "os" - "github.com/saiset-co/sai-eth-interaction/models" - "github.com/saiset-co/sai-eth-interaction/utils" + "github.com/KiraCore/sai-eth-interaction/models" + "github.com/KiraCore/sai-eth-interaction/utils" "go.uber.org/zap" ) diff --git a/worker/ethereum/sai-ethereum-contract-interaction/internal/eth.go b/worker/ethereum/sai-ethereum-contract-interaction/internal/eth.go index 26e1411..1072174 100644 --- a/worker/ethereum/sai-ethereum-contract-interaction/internal/eth.go +++ b/worker/ethereum/sai-ethereum-contract-interaction/internal/eth.go @@ -13,7 +13,7 @@ import ( "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/ethclient" - "github.com/saiset-co/sai-eth-interaction/models" + "github.com/KiraCore/sai-eth-interaction/models" "go.uber.org/zap" ) diff --git a/worker/ethereum/sai-ethereum-contract-interaction/internal/handlers.go b/worker/ethereum/sai-ethereum-contract-interaction/internal/handlers.go index 8f90049..a83e4cc 100644 --- a/worker/ethereum/sai-ethereum-contract-interaction/internal/handlers.go +++ b/worker/ethereum/sai-ethereum-contract-interaction/internal/handlers.go @@ -14,8 +14,8 @@ import ( "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/ethclient" - "github.com/saiset-co/sai-eth-interaction/models" - saiService "github.com/saiset-co/sai-service/service" + "github.com/KiraCore/sai-eth-interaction/models" + saiService "github.com/KiraCore/sai-service/service" "go.uber.org/zap" ) diff --git a/worker/ethereum/sai-ethereum-contract-interaction/internal/service.go b/worker/ethereum/sai-ethereum-contract-interaction/internal/service.go index 5819cc6..1dfdc93 100644 --- a/worker/ethereum/sai-ethereum-contract-interaction/internal/service.go +++ b/worker/ethereum/sai-ethereum-contract-interaction/internal/service.go @@ -4,8 +4,8 @@ import ( "fmt" "sync" - "github.com/saiset-co/sai-eth-interaction/models" - saiService "github.com/saiset-co/sai-service/service" + "github.com/KiraCore/sai-eth-interaction/models" + saiService "github.com/KiraCore/sai-service/service" "go.uber.org/zap" ) diff --git a/worker/ethereum/sai-ethereum-contract-interaction/main.go b/worker/ethereum/sai-ethereum-contract-interaction/main.go index 18ce909..30ab62c 100644 --- a/worker/ethereum/sai-ethereum-contract-interaction/main.go +++ b/worker/ethereum/sai-ethereum-contract-interaction/main.go @@ -1,8 +1,8 @@ package main import ( - "github.com/saiset-co/sai-eth-interaction/internal" - saiService "github.com/saiset-co/sai-service/service" + "github.com/KiraCore/sai-eth-interaction/internal" + saiService "github.com/KiraCore/sai-service/service" ) func main() { diff --git a/worker/ethereum/sai-ethereum-contract-interaction/utils/common.go b/worker/ethereum/sai-ethereum-contract-interaction/utils/common.go index 6a97fa6..8d2b574 100644 --- a/worker/ethereum/sai-ethereum-contract-interaction/utils/common.go +++ b/worker/ethereum/sai-ethereum-contract-interaction/utils/common.go @@ -1,6 +1,6 @@ package utils -import "github.com/saiset-co/sai-eth-interaction/models" +import "github.com/KiraCore/sai-eth-interaction/models" func RemoveContract(slice []models.Contract, s int) []models.Contract { return append(slice[:s], slice[s+1:]...) diff --git a/worker/ethereum/sai-ethereum-indexer/cmd/app/main.go b/worker/ethereum/sai-ethereum-indexer/cmd/app/main.go index b5ef475..fa5171c 100644 --- a/worker/ethereum/sai-ethereum-indexer/cmd/app/main.go +++ b/worker/ethereum/sai-ethereum-indexer/cmd/app/main.go @@ -4,8 +4,8 @@ import ( "log" "os" - "github.com/saiset-co/saiEthIndexer/internal/app" - "github.com/saiset-co/saiEthIndexer/tasks" + "github.com/KiraCore/saiEthIndexer/internal/app" + "github.com/KiraCore/saiEthIndexer/tasks" ) func main() { diff --git a/worker/ethereum/sai-ethereum-indexer/config/config.go b/worker/ethereum/sai-ethereum-indexer/config/config.go index 3ca4b50..55293dc 100644 --- a/worker/ethereum/sai-ethereum-indexer/config/config.go +++ b/worker/ethereum/sai-ethereum-indexer/config/config.go @@ -4,7 +4,7 @@ import ( "sync" valid "github.com/asaskevich/govalidator" - configinternal "github.com/saiset-co/saiEthIndexer/internal/config-internal" + configinternal "github.com/KiraCore/saiEthIndexer/internal/config-internal" ) type Configuration struct { diff --git a/worker/ethereum/sai-ethereum-indexer/go.mod b/worker/ethereum/sai-ethereum-indexer/go.mod index 89d582a..4d65544 100644 --- a/worker/ethereum/sai-ethereum-indexer/go.mod +++ b/worker/ethereum/sai-ethereum-indexer/go.mod @@ -1,4 +1,4 @@ -module github.com/saiset-co/saiEthIndexer +module github.com/KiraCore/saiEthIndexer go 1.22.4 @@ -9,7 +9,7 @@ require ( github.com/gin-gonic/gin v1.10.0 github.com/json-iterator/go v1.1.12 github.com/onrik/ethrpc v1.2.0 - github.com/saiset-co/sai-storage-mongo v1.1.2 + github.com/KiraCore/sai-storage-mongo v1.1.2 github.com/swaggo/files v1.0.1 github.com/swaggo/gin-swagger v1.6.0 go.uber.org/zap v1.27.0 diff --git a/worker/ethereum/sai-ethereum-indexer/handlers/http.go b/worker/ethereum/sai-ethereum-indexer/handlers/http.go index a751918..83208b7 100644 --- a/worker/ethereum/sai-ethereum-indexer/handlers/http.go +++ b/worker/ethereum/sai-ethereum-indexer/handlers/http.go @@ -5,8 +5,8 @@ import ( valid "github.com/asaskevich/govalidator" "github.com/gin-gonic/gin" - "github.com/saiset-co/saiEthIndexer/config" - "github.com/saiset-co/saiEthIndexer/tasks" + "github.com/KiraCore/saiEthIndexer/config" + "github.com/KiraCore/saiEthIndexer/tasks" "go.uber.org/zap" ) diff --git a/worker/ethereum/sai-ethereum-indexer/internal/app/app.go b/worker/ethereum/sai-ethereum-indexer/internal/app/app.go index 5a13bb9..77edd7b 100644 --- a/worker/ethereum/sai-ethereum-indexer/internal/app/app.go +++ b/worker/ethereum/sai-ethereum-indexer/internal/app/app.go @@ -10,11 +10,11 @@ import ( "syscall" "github.com/gin-gonic/gin" - "github.com/saiset-co/saiEthIndexer/config" - "github.com/saiset-co/saiEthIndexer/handlers" - "github.com/saiset-co/saiEthIndexer/internal/http" - "github.com/saiset-co/saiEthIndexer/pkg/httpserver" - "github.com/saiset-co/saiEthIndexer/tasks" + "github.com/KiraCore/saiEthIndexer/config" + "github.com/KiraCore/saiEthIndexer/handlers" + "github.com/KiraCore/saiEthIndexer/internal/http" + "github.com/KiraCore/saiEthIndexer/pkg/httpserver" + "github.com/KiraCore/saiEthIndexer/tasks" "go.uber.org/zap" ) diff --git a/worker/ethereum/sai-ethereum-indexer/internal/http/router.go b/worker/ethereum/sai-ethereum-indexer/internal/http/router.go index 467dfc3..d4fd2db 100644 --- a/worker/ethereum/sai-ethereum-indexer/internal/http/router.go +++ b/worker/ethereum/sai-ethereum-indexer/internal/http/router.go @@ -2,8 +2,8 @@ package http import ( "github.com/gin-gonic/gin" - "github.com/saiset-co/saiEthIndexer/handlers" - "github.com/saiset-co/saiEthIndexer/tasks" + "github.com/KiraCore/saiEthIndexer/handlers" + "github.com/KiraCore/saiEthIndexer/tasks" swaggerFiles "github.com/swaggo/files" ginSwagger "github.com/swaggo/gin-swagger" "go.uber.org/zap" diff --git a/worker/ethereum/sai-ethereum-indexer/internal/notifier/notifier.go b/worker/ethereum/sai-ethereum-indexer/internal/notifier/notifier.go index 7e1f7bb..67bf014 100644 --- a/worker/ethereum/sai-ethereum-indexer/internal/notifier/notifier.go +++ b/worker/ethereum/sai-ethereum-indexer/internal/notifier/notifier.go @@ -3,7 +3,7 @@ package notifier import ( "bytes" jsoniter "github.com/json-iterator/go" - "github.com/saiset-co/saiEthIndexer/utils" + "github.com/KiraCore/saiEthIndexer/utils" ) type Notifier interface { diff --git a/worker/ethereum/sai-ethereum-indexer/internal/repo/storage.go b/worker/ethereum/sai-ethereum-indexer/internal/repo/storage.go index 5c3ca8c..be5f476 100644 --- a/worker/ethereum/sai-ethereum-indexer/internal/repo/storage.go +++ b/worker/ethereum/sai-ethereum-indexer/internal/repo/storage.go @@ -3,8 +3,8 @@ package repository import ( "bytes" jsoniter "github.com/json-iterator/go" - "github.com/saiset-co/sai-storage-mongo/external/adapter" - "github.com/saiset-co/saiEthIndexer/utils" + "github.com/KiraCore/sai-storage-mongo/external/adapter" + "github.com/KiraCore/saiEthIndexer/utils" ) type Repo interface { diff --git a/worker/ethereum/sai-ethereum-indexer/pkg/httpserver/server.go b/worker/ethereum/sai-ethereum-indexer/pkg/httpserver/server.go index 8e99e54..46906ce 100644 --- a/worker/ethereum/sai-ethereum-indexer/pkg/httpserver/server.go +++ b/worker/ethereum/sai-ethereum-indexer/pkg/httpserver/server.go @@ -6,7 +6,7 @@ import ( "net/http" "time" - "github.com/saiset-co/saiEthIndexer/config" + "github.com/KiraCore/saiEthIndexer/config" ) const ( diff --git a/worker/ethereum/sai-ethereum-indexer/tasks/block.go b/worker/ethereum/sai-ethereum-indexer/tasks/block.go index f2dac82..ab031be 100644 --- a/worker/ethereum/sai-ethereum-indexer/tasks/block.go +++ b/worker/ethereum/sai-ethereum-indexer/tasks/block.go @@ -3,8 +3,8 @@ package tasks import ( "encoding/hex" "fmt" - "github.com/saiset-co/saiEthIndexer/internal/notifier" - repository "github.com/saiset-co/saiEthIndexer/internal/repo" + "github.com/KiraCore/saiEthIndexer/internal/notifier" + repository "github.com/KiraCore/saiEthIndexer/internal/repo" "io/ioutil" "log" "math/big" @@ -16,7 +16,7 @@ import ( "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/onrik/ethrpc" - "github.com/saiset-co/saiEthIndexer/config" + "github.com/KiraCore/saiEthIndexer/config" "go.uber.org/zap" ) diff --git a/worker/ethereum/sai-ethereum-indexer/tasks/task.go b/worker/ethereum/sai-ethereum-indexer/tasks/task.go index d00b355..bf950d5 100644 --- a/worker/ethereum/sai-ethereum-indexer/tasks/task.go +++ b/worker/ethereum/sai-ethereum-indexer/tasks/task.go @@ -9,9 +9,9 @@ import ( "time" "github.com/onrik/ethrpc" - "github.com/saiset-co/saiEthIndexer/config" - "github.com/saiset-co/saiEthIndexer/pkg/eth" - "github.com/saiset-co/saiEthIndexer/utils" + "github.com/KiraCore/saiEthIndexer/config" + "github.com/KiraCore/saiEthIndexer/pkg/eth" + "github.com/KiraCore/saiEthIndexer/utils" "go.uber.org/zap" ) diff --git a/worker/ethereum/sai-ethereum-indexer/tasks/websocket.go b/worker/ethereum/sai-ethereum-indexer/tasks/websocket.go index 9764ffa..747c535 100644 --- a/worker/ethereum/sai-ethereum-indexer/tasks/websocket.go +++ b/worker/ethereum/sai-ethereum-indexer/tasks/websocket.go @@ -4,7 +4,7 @@ import ( "bytes" "net/http" - "github.com/saiset-co/saiEthIndexer/config" + "github.com/KiraCore/saiEthIndexer/config" ) type WebsocketManager struct { diff --git a/worker/ethereum/sai-ethereum-indexer/utils/common.go b/worker/ethereum/sai-ethereum-indexer/utils/common.go index 1561823..c391746 100644 --- a/worker/ethereum/sai-ethereum-indexer/utils/common.go +++ b/worker/ethereum/sai-ethereum-indexer/utils/common.go @@ -8,7 +8,7 @@ import ( "net/http" "reflect" - "github.com/saiset-co/saiEthIndexer/config" + "github.com/KiraCore/saiEthIndexer/config" ) func InArray(val interface{}, array interface{}) (index int) { diff --git a/worker/sai-storage-mongo/go.mod b/worker/sai-storage-mongo/go.mod index 91305f4..5cb7ed6 100644 --- a/worker/sai-storage-mongo/go.mod +++ b/worker/sai-storage-mongo/go.mod @@ -1,4 +1,4 @@ -module github.com/saiset-co/sai-storage-mongo +module github.com/KiraCore/sai-storage-mongo go 1.21 @@ -6,7 +6,7 @@ require ( github.com/go-playground/validator/v10 v10.17.0 github.com/google/uuid v1.6.0 github.com/pkg/errors v0.9.1 - github.com/saiset-co/sai-service v1.0.5 + github.com/KiraCore/sai-service v1.0.5 go.mongodb.org/mongo-driver v1.13.1 go.uber.org/zap v1.26.0 ) diff --git a/worker/sai-storage-mongo/internal/actions/aggregateAction.go b/worker/sai-storage-mongo/internal/actions/aggregateAction.go index 7f80c99..4a38f36 100644 --- a/worker/sai-storage-mongo/internal/actions/aggregateAction.go +++ b/worker/sai-storage-mongo/internal/actions/aggregateAction.go @@ -6,9 +6,9 @@ import ( "go.uber.org/zap" - "github.com/saiset-co/sai-storage-mongo/logger" - "github.com/saiset-co/sai-storage-mongo/mongo" - "github.com/saiset-co/sai-storage-mongo/types" + "github.com/KiraCore/sai-storage-mongo/logger" + "github.com/KiraCore/sai-storage-mongo/mongo" + "github.com/KiraCore/sai-storage-mongo/types" ) const Aggregate = "aggregate" diff --git a/worker/sai-storage-mongo/internal/actions/createAction.go b/worker/sai-storage-mongo/internal/actions/createAction.go index e6bbec8..325b760 100644 --- a/worker/sai-storage-mongo/internal/actions/createAction.go +++ b/worker/sai-storage-mongo/internal/actions/createAction.go @@ -8,9 +8,9 @@ import ( "go.mongodb.org/mongo-driver/bson" "go.uber.org/zap" - "github.com/saiset-co/sai-storage-mongo/logger" - "github.com/saiset-co/sai-storage-mongo/mongo" - "github.com/saiset-co/sai-storage-mongo/types" + "github.com/KiraCore/sai-storage-mongo/logger" + "github.com/KiraCore/sai-storage-mongo/mongo" + "github.com/KiraCore/sai-storage-mongo/types" ) const Create = "create" diff --git a/worker/sai-storage-mongo/internal/actions/createIndexAction.go b/worker/sai-storage-mongo/internal/actions/createIndexAction.go index 70fe2e2..5193699 100644 --- a/worker/sai-storage-mongo/internal/actions/createIndexAction.go +++ b/worker/sai-storage-mongo/internal/actions/createIndexAction.go @@ -5,9 +5,9 @@ import ( "go.uber.org/zap" - "github.com/saiset-co/sai-storage-mongo/logger" - "github.com/saiset-co/sai-storage-mongo/mongo" - "github.com/saiset-co/sai-storage-mongo/types" + "github.com/KiraCore/sai-storage-mongo/logger" + "github.com/KiraCore/sai-storage-mongo/mongo" + "github.com/KiraCore/sai-storage-mongo/types" ) type CreateIndexesAction struct { diff --git a/worker/sai-storage-mongo/internal/actions/deleteAction.go b/worker/sai-storage-mongo/internal/actions/deleteAction.go index ceef529..0a8caa0 100644 --- a/worker/sai-storage-mongo/internal/actions/deleteAction.go +++ b/worker/sai-storage-mongo/internal/actions/deleteAction.go @@ -5,9 +5,9 @@ import ( "go.uber.org/zap" - "github.com/saiset-co/sai-storage-mongo/logger" - "github.com/saiset-co/sai-storage-mongo/mongo" - "github.com/saiset-co/sai-storage-mongo/types" + "github.com/KiraCore/sai-storage-mongo/logger" + "github.com/KiraCore/sai-storage-mongo/mongo" + "github.com/KiraCore/sai-storage-mongo/types" ) const Delete = "delete" diff --git a/worker/sai-storage-mongo/internal/actions/dropIndexAction.go b/worker/sai-storage-mongo/internal/actions/dropIndexAction.go index 262e4a3..3249e3f 100644 --- a/worker/sai-storage-mongo/internal/actions/dropIndexAction.go +++ b/worker/sai-storage-mongo/internal/actions/dropIndexAction.go @@ -3,9 +3,9 @@ package actions import ( "net/http" - "github.com/saiset-co/sai-storage-mongo/logger" - "github.com/saiset-co/sai-storage-mongo/mongo" - "github.com/saiset-co/sai-storage-mongo/types" + "github.com/KiraCore/sai-storage-mongo/logger" + "github.com/KiraCore/sai-storage-mongo/mongo" + "github.com/KiraCore/sai-storage-mongo/types" "go.uber.org/zap" ) diff --git a/worker/sai-storage-mongo/internal/actions/getIndexAction.go b/worker/sai-storage-mongo/internal/actions/getIndexAction.go index f9089ff..5cd5359 100644 --- a/worker/sai-storage-mongo/internal/actions/getIndexAction.go +++ b/worker/sai-storage-mongo/internal/actions/getIndexAction.go @@ -5,9 +5,9 @@ import ( "go.uber.org/zap" - "github.com/saiset-co/sai-storage-mongo/logger" - "github.com/saiset-co/sai-storage-mongo/mongo" - "github.com/saiset-co/sai-storage-mongo/types" + "github.com/KiraCore/sai-storage-mongo/logger" + "github.com/KiraCore/sai-storage-mongo/mongo" + "github.com/KiraCore/sai-storage-mongo/types" ) type GetIndexesAction struct { diff --git a/worker/sai-storage-mongo/internal/actions/readAction.go b/worker/sai-storage-mongo/internal/actions/readAction.go index 3dd8ef2..09957b8 100644 --- a/worker/sai-storage-mongo/internal/actions/readAction.go +++ b/worker/sai-storage-mongo/internal/actions/readAction.go @@ -5,9 +5,9 @@ import ( "go.uber.org/zap" - "github.com/saiset-co/sai-storage-mongo/logger" - "github.com/saiset-co/sai-storage-mongo/mongo" - "github.com/saiset-co/sai-storage-mongo/types" + "github.com/KiraCore/sai-storage-mongo/logger" + "github.com/KiraCore/sai-storage-mongo/mongo" + "github.com/KiraCore/sai-storage-mongo/types" ) const Read = "read" diff --git a/worker/sai-storage-mongo/internal/actions/updateAction.go b/worker/sai-storage-mongo/internal/actions/updateAction.go index f5bbd42..8b02769 100644 --- a/worker/sai-storage-mongo/internal/actions/updateAction.go +++ b/worker/sai-storage-mongo/internal/actions/updateAction.go @@ -7,10 +7,10 @@ import ( "go.uber.org/zap" - "github.com/saiset-co/sai-storage-mongo/logger" - "github.com/saiset-co/sai-storage-mongo/mongo" - "github.com/saiset-co/sai-storage-mongo/types" - "github.com/saiset-co/sai-storage-mongo/utils" + "github.com/KiraCore/sai-storage-mongo/logger" + "github.com/KiraCore/sai-storage-mongo/mongo" + "github.com/KiraCore/sai-storage-mongo/types" + "github.com/KiraCore/sai-storage-mongo/utils" ) const Update = "update" diff --git a/worker/sai-storage-mongo/internal/actions/upsertAction.go b/worker/sai-storage-mongo/internal/actions/upsertAction.go index 9c81fb0..e151d0f 100644 --- a/worker/sai-storage-mongo/internal/actions/upsertAction.go +++ b/worker/sai-storage-mongo/internal/actions/upsertAction.go @@ -9,10 +9,10 @@ import ( "go.mongodb.org/mongo-driver/bson" "go.uber.org/zap" - "github.com/saiset-co/sai-storage-mongo/logger" - "github.com/saiset-co/sai-storage-mongo/mongo" - "github.com/saiset-co/sai-storage-mongo/types" - "github.com/saiset-co/sai-storage-mongo/utils" + "github.com/KiraCore/sai-storage-mongo/logger" + "github.com/KiraCore/sai-storage-mongo/mongo" + "github.com/KiraCore/sai-storage-mongo/types" + "github.com/KiraCore/sai-storage-mongo/utils" ) const ( diff --git a/worker/sai-storage-mongo/internal/handlers.go b/worker/sai-storage-mongo/internal/handlers.go index 4eb8d42..ef75918 100644 --- a/worker/sai-storage-mongo/internal/handlers.go +++ b/worker/sai-storage-mongo/internal/handlers.go @@ -7,10 +7,10 @@ import ( "github.com/pkg/errors" "go.uber.org/zap" - "github.com/saiset-co/sai-service/service" - "github.com/saiset-co/sai-storage-mongo/internal/actions" - "github.com/saiset-co/sai-storage-mongo/logger" - "github.com/saiset-co/sai-storage-mongo/types" + "github.com/KiraCore/sai-service/service" + "github.com/KiraCore/sai-storage-mongo/internal/actions" + "github.com/KiraCore/sai-storage-mongo/logger" + "github.com/KiraCore/sai-storage-mongo/types" ) func (is InternalService) NewHandler() service.Handler { diff --git a/worker/sai-storage-mongo/internal/service.go b/worker/sai-storage-mongo/internal/service.go index a3c5485..80f993a 100644 --- a/worker/sai-storage-mongo/internal/service.go +++ b/worker/sai-storage-mongo/internal/service.go @@ -1,8 +1,8 @@ package internal import ( - "github.com/saiset-co/sai-service/service" - "github.com/saiset-co/sai-storage-mongo/mongo" + "github.com/KiraCore/sai-service/service" + "github.com/KiraCore/sai-storage-mongo/mongo" ) type InternalService struct { diff --git a/worker/sai-storage-mongo/main.go b/worker/sai-storage-mongo/main.go index 1bbc2e9..5143f7f 100644 --- a/worker/sai-storage-mongo/main.go +++ b/worker/sai-storage-mongo/main.go @@ -4,11 +4,11 @@ import ( "encoding/json" "fmt" - "github.com/saiset-co/sai-service/service" - "github.com/saiset-co/sai-storage-mongo/internal" - "github.com/saiset-co/sai-storage-mongo/logger" - "github.com/saiset-co/sai-storage-mongo/mongo" - "github.com/saiset-co/sai-storage-mongo/types" + "github.com/KiraCore/sai-service/service" + "github.com/KiraCore/sai-storage-mongo/internal" + "github.com/KiraCore/sai-storage-mongo/logger" + "github.com/KiraCore/sai-storage-mongo/mongo" + "github.com/KiraCore/sai-storage-mongo/types" ) func main() { diff --git a/worker/sai-storage-mongo/mongo/client.go b/worker/sai-storage-mongo/mongo/client.go index 1ea2728..201bee1 100644 --- a/worker/sai-storage-mongo/mongo/client.go +++ b/worker/sai-storage-mongo/mongo/client.go @@ -12,8 +12,8 @@ import ( "go.mongodb.org/mongo-driver/mongo/options" "go.uber.org/zap" - "github.com/saiset-co/sai-storage-mongo/logger" - "github.com/saiset-co/sai-storage-mongo/types" + "github.com/KiraCore/sai-storage-mongo/logger" + "github.com/KiraCore/sai-storage-mongo/types" ) type Client struct { diff --git a/worker/sai-storage-mongo/mongo/duplicate.go b/worker/sai-storage-mongo/mongo/duplicate.go index adfef50..fc3237e 100644 --- a/worker/sai-storage-mongo/mongo/duplicate.go +++ b/worker/sai-storage-mongo/mongo/duplicate.go @@ -8,8 +8,8 @@ import ( "go.uber.org/zap" - "github.com/saiset-co/sai-storage-mongo/logger" - "github.com/saiset-co/sai-storage-mongo/types" + "github.com/KiraCore/sai-storage-mongo/logger" + "github.com/KiraCore/sai-storage-mongo/types" ) var DuplicateCh chan DuplicateRequest