diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7e03dbc..0f84f11 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -4,4 +4,4 @@ # most precedence. # People who get pinged on every PR, request if you'd like to be added - @sge-network/chain-core-reviewer + @furya-network/chain-core-reviewer diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml index 6a0e61c..4b00d45 100644 --- a/.github/workflows/makefile.yml +++ b/.github/workflows/makefile.yml @@ -19,51 +19,51 @@ jobs: uses: actions/checkout@v3.0.0 with: ref: master - repository: sge-network/sge - path: sge + repository: furya-network/furya + path: furya - name: Checkout destination repository uses: actions/checkout@v3.0.0 with: ref: master - repository: ${{ secrets.ST_REPO }}/sgejs - path: sgejs + repository: ${{ secrets.ST_REPO }}/furyajs + path: furyajs token: ${{ secrets.ST_TOKEN }} - name: Copy Proto Files run: | - cp -r sge/proto/sge sgejs/proto - git -C sgejs add . - git -C sgejs status - git -C sgejs config user.email "action@github.com" - git -C sgejs config user.name "GitHub Action" - git -C sgejs commit --allow-empty -am "Proto Deployment [skip ci]" + cp -r furya/proto/furya furyajs/proto + git -C furyajs add . + git -C furyajs status + git -C furyajs config user.email "action@github.com" + git -C furyajs config user.name "GitHub Action" + git -C furyajs commit --allow-empty -am "Proto Deployment [skip ci]" - name: Npm Install run: | - echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" > sgejs/.npmrc - npm install --prefix sgejs - git -C sgejs checkout . + echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" > furyajs/.npmrc + npm install --prefix furyajs + git -C furyajs checkout . - name: Delete src/codegen and types run: | - rm -rf sgejs/src/codegen - rm -rf sgejs/types + rm -rf furyajs/src/codegen + rm -rf furyajs/types - name: Npm Run Codegen run: | - npm run codegen --prefix sgejs + npm run codegen --prefix furyajs - name: Commit changes run: | - git -C sgejs add . - git -C sgejs config user.email "action@github.com" - git -C sgejs config user.name "GitHub Action" - git -C sgejs commit --allow-empty -am "Codegen Deployment [skip ci]" + git -C furyajs add . + git -C furyajs config user.email "action@github.com" + git -C furyajs config user.name "GitHub Action" + git -C furyajs commit --allow-empty -am "Codegen Deployment [skip ci]" - name: Determine NPM version run: | - cd sgejs + cd furyajs if [[ "${{ github.event.pull_request.title }}" == *"major"* ]]; then echo "NPM_VERSION=major" >> $GITHUB_ENV elif [[ "${{ github.event.pull_request.title }}" == *"minor"* ]]; then @@ -74,7 +74,7 @@ jobs: - name: Bump NPM version run: | - cd sgejs + cd furyajs git status if [ "${{ env.NPM_VERSION }}" == "major" ]; then npm version major @@ -85,13 +85,13 @@ jobs: fi git status - - name: Push sgejs - run: git -C sgejs push + - name: Push furyajs + run: git -C furyajs push - name: Publish NPM Package run: | - echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" > sgejs/.npmrc - cat sgejs/.npmrc - cd sgejs + echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" > furyajs/.npmrc + cat furyajs/.npmrc + cd furyajs ls -la npm publish --access=restricted --force diff --git a/CHANGELOG.md b/CHANGELOG.md index c9ae166..2b1ba17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,8 @@ ***Changes*** -- [\#39](https://github.com/sge-network/sge/issues/39) Adding `CHANGELOG.md` to track all development updates -- [\#41](https://github.com/sge-network/sge/issues/41) Adding release scripts +- [\#39](https://github.com/furya-network/furya/issues/39) Adding `CHANGELOG.md` to track all development updates +- [\#41](https://github.com/furya-network/furya/issues/41) Adding release scripts ## v0.0.3 diff --git a/Makefile b/Makefile index c375427..eb98e1d 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ PACKAGES_SIMTEST=$(shell go list ./... | grep '/simulation') LEDGER_ENABLED ?= true SDK_PACK := $(shell go list -m github.com/cosmos/cosmos-sdk | sed 's/ /\@/g') TM_VERSION := $(shell go list -m github.com/tendermint/tendermint | sed 's:.* ::') # grab everything after the space in "github.com/tendermint/tendermint v0.34.7" -HTTPS_GIT := https://github.com/sge-network/sge.git +HTTPS_GIT := https://github.com/furya-network/furya.git DOCKER := $(shell which docker) DOCKER_BUF := $(DOCKER) run --rm -v $(CURDIR)/proto:/workspace --workdir /workspace bufbuild/buf BUILDDIR ?= $(CURDIR)/build @@ -52,11 +52,11 @@ ifeq ($(LEDGER_ENABLED),true) endif endif -ifeq (cleveldb,$(findstring cleveldb,$(SGE_BUILD_OPTIONS))) +ifeq (cleveldb,$(findstring cleveldb,$(FURYA_BUILD_OPTIONS))) build_tags += gcc endif -ifeq (secp,$(findstring secp,$(SGE_BUILD_OPTIONS))) +ifeq (secp,$(findstring secp,$(FURYA_BUILD_OPTIONS))) build_tags += libsecp256k1_sdk endif @@ -67,34 +67,34 @@ build_tags_comma_sep := $(subst $(whitespace),$(comma),$(build_tags)) # process linker flags -ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=sge \ - -X github.com/cosmos/cosmos-sdk/version.AppName=sged \ +ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=furya \ + -X github.com/cosmos/cosmos-sdk/version.AppName=furyad \ -X github.com/cosmos/cosmos-sdk/version.Version=$(VERSION) \ -X github.com/cosmos/cosmos-sdk/version.Commit=$(COMMIT) \ -X "github.com/cosmos/cosmos-sdk/version.BuildTags=$(build_tags_comma_sep)" \ -X github.com/tendermint/tendermint/version.TMCoreSemVer=$(TM_VERSION) # DB backend selection -ifeq (cleveldb,$(findstring cleveldb,$(SGE_BUILD_OPTIONS))) +ifeq (cleveldb,$(findstring cleveldb,$(FURYA_BUILD_OPTIONS))) ldflags += -X github.com/cosmos/cosmos-sdk/types.DBBackend=cleveldb endif -ifeq (badgerdb,$(findstring badgerdb,$(SGE_BUILD_OPTIONS))) +ifeq (badgerdb,$(findstring badgerdb,$(FURYA_BUILD_OPTIONS))) ldflags += -X github.com/cosmos/cosmos-sdk/types.DBBackend=badgerdb BUILD_TAGS += badgerdb endif # handle rocksdb -ifeq (rocksdb,$(findstring rocksdb,$(SGE_BUILD_OPTIONS))) +ifeq (rocksdb,$(findstring rocksdb,$(FURYA_BUILD_OPTIONS))) CGO_ENABLED=1 BUILD_TAGS += rocksdb ldflags += -X github.com/cosmos/cosmos-sdk/types.DBBackend=rocksdb endif # handle boltdb -ifeq (boltdb,$(findstring boltdb,$(SGE_BUILD_OPTIONS))) +ifeq (boltdb,$(findstring boltdb,$(FURYA_BUILD_OPTIONS))) BUILD_TAGS += boltdb ldflags += -X github.com/cosmos/cosmos-sdk/types.DBBackend=boltdb endif -ifeq (,$(findstring nostrip,$(SGE_BUILD_OPTIONS))) +ifeq (,$(findstring nostrip,$(FURYA_BUILD_OPTIONS))) ldflags += -w -s endif ldflags += $(LDFLAGS) @@ -105,7 +105,7 @@ build_tags := $(strip $(build_tags)) BUILD_FLAGS := -tags "$(build_tags)" -ldflags '$(ldflags)' # check for nostrip option -ifeq (,$(findstring nostrip,$(SGE_BUILD_OPTIONS))) +ifeq (,$(findstring nostrip,$(FURYA_BUILD_OPTIONS))) BUILD_FLAGS += -trimpath endif @@ -115,7 +115,7 @@ endif check_version: ifneq ($(GO_MINOR_VERSION),18) - @echo "ERROR: Go version 1.18 is required for this version of SGE. Go 1.19 has changes that are believed to break consensus." + @echo "ERROR: Go version 1.18 is required for this version of FURYA. Go 1.19 has changes that are believed to break consensus." exit 1 endif @@ -145,7 +145,7 @@ go.sum: go.mod draw-deps: @# requires brew install graphviz or apt-get install graphviz go get github.com/RobotsAndPencils/goviz - @goviz -i ./cmd/sged -d 2 | dot -Tpng -o dependency-graph.png + @goviz -i ./cmd/furyad -d 2 | dot -Tpng -o dependency-graph.png clean: rm -rf $(CURDIR)/artifacts/ @@ -187,7 +187,7 @@ docs: .PHONY: docs protoVer=v0.8 -protoImageName=sgenetwork/sge-proto-gen:$(protoVer) +protoImageName=furyanetwork/furya-proto-gen:$(protoVer) containerProtoGen=cosmos-sdk-proto-gen-$(protoVer) containerProtoFmt=cosmos-sdk-proto-fmt-$(protoVer) @@ -275,7 +275,7 @@ update-swagger-docs: statik .PHONY: update-swagger-docs godocs: - @echo "--> Wait a few seconds and visit http://localhost:6060/pkg/github.com/SGE-Network/SGE/types" + @echo "--> Wait a few seconds and visit http://localhost:6060/pkg/github.com/FURYA-Network/FURYA/types" godoc -http=:6060 # This builds a docs site for each branch/tag in `./docs/versions` diff --git a/README.md b/README.md index b7cc052..af16864 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# SGE Network +# FURYA Network -The Sports, Gaming & Entertainment Network (SGE Network), is a blockchain +The Sports, Gaming & Entertainment Network (FURYA Network), is a blockchain designed to support the future of sports betting & related gaming by leveraging the modular Cosmos design. We believe the future will be heavily shaped by many of the values driving the recent wave of crypto and blockchain development: transparency, increased decentralization, and utility that benefits all stakeholders, especially the user-base. @@ -11,7 +11,7 @@ Utilizing a sovereign blockchain uniquely enables: - An unparalleled level of transparency. - An efficiency of settlement and immediate payout to participants. -At launch, the SGE Network will be optimized to deploy an inaugural application: Six Sigma Sports, which is re-imagining the sports betting landscape and bringing a unique user experience with the benefit of blockchain technology.[Please visit to learn more about Six Sigma Sports.](https://sixsigmasports.io/) +At launch, the FURYA Network will be optimized to deploy an inaugural application: Six Sigma Sports, which is re-imagining the sports betting landscape and bringing a unique user experience with the benefit of blockchain technology.[Please visit to learn more about Six Sigma Sports.](https://sixsigmasports.io/) --- @@ -36,7 +36,7 @@ At launch, the SGE Network will be optimized to deploy an inaugural application: > >Prerequisite: go1.18+ required. [ref](https://golang.org/doc/install) -Sge could be installed by two ways - downloading binary from releases page or build from source. +Furya could be installed by two ways - downloading binary from releases page or build from source. ### Download from releases page @@ -44,10 +44,10 @@ Sge could be installed by two ways - downloading binary from releases page or bu - Check sha256 hash sum -- Place sged into /usr/local/sbin +- Place furyad into /usr/local/sbin ```shell -sudo mv sged /usr/local/sbin/sged +sudo mv furyad /usr/local/sbin/furyad ``` ### Building from source @@ -57,13 +57,13 @@ sudo mv sged /usr/local/sbin/sged - Clone git repository ```shell -git clone https://github.com/sge-network/sge.git +git clone https://github.com/furya-network/furya.git ``` - Checkout release tag ```shell -cd sge +cd furya git fetch --tags git checkout [vX.X.X] ``` @@ -78,21 +78,21 @@ make install ### Install system.d service file ```shell -nano /etc/systemd/system/sged.service +nano /etc/systemd/system/furyad.service ``` Please following contents(working dir may be changed as needed) ```systemd [Unit] -Description=Sge Network node +Description=Furya Network node After=network.target [Service] Type=simple User=ubuntu WorkingDirectory=/home/ubuntu -ExecStart=/usr/local/sbin/sged start +ExecStart=/usr/local/sbin/furyad start Restart=on-failure RestartSec=10 LimitNOFILE=40960 @@ -109,29 +109,29 @@ sudo systemctl daemon-reload ### Generate keys -`sged keys add [key_name]` +`furyad keys add [key_name]` or -`sged keys add [key_name] --recover` to regenerate keys with your [BIP39](https://github.com/bitcoin/bips/tree/master/bip-0039) mnemonic +`furyad keys add [key_name] --recover` to regenerate keys with your [BIP39](https://github.com/bitcoin/bips/tree/master/bip-0039) mnemonic ### Connect to a chain and start node -- [Install](#installation-steps) sge application +- [Install](#installation-steps) furya application - Initialize node ```shell -sged init {{NODE_NAME}} --chain-id sge-network-1 +furyad init {{NODE_NAME}} --chain-id furya-network-1 ``` Select network to join -- Replace `${HOME}/.sge/config/genesis.json` with the genesis file of the chain. -- Add `persistent_peers` or `seeds` in `${HOME}/.sge/config/config.toml` +- Replace `${HOME}/.furya/config/genesis.json` with the genesis file of the chain. +- Add `persistent_peers` or `seeds` in `${HOME}/.furya/config/config.toml` - Start node ```shell -sged start +furyad start ``` ## Network Compatibility Matrix @@ -148,60 +148,60 @@ Coming Soon!! ### Testnet -- [sge-network-1](https://github.com/sge-network/networks/sge-network-1) +- [furya-network-1](https://github.com/furya-network/networks/furya-network-1) - Place the genesis file with the genesis file of the chain. ```shell -wget https://github.com/sge-network/networks/blob/master/sge-network-1/genesis.json -O ~/.sge/config/genesis.json +wget https://github.com/furya-network/networks/blob/master/furya-network-1/genesis.json -O ~/.furya/config/genesis.json ``` Verify genesis hash sum ```shell -sha256sum ~/.sge/config/genesis.json +sha256sum ~/.furya/config/genesis.json ``` -Correct sha256 sum for sge-network-1 is - 2bea72699f9c1afd6217f7e76f14f07c1fbe849d090fc37cd008a42d14d5d30c +Correct sha256 sum for furya-network-1 is - 2bea72699f9c1afd6217f7e76f14f07c1fbe849d090fc37cd008a42d14d5d30c Genesis file sha sum is published in according repository. -- Add `persistent_peers` or `seeds` in `${HOME}/.sge/config/config.toml` +- Add `persistent_peers` or `seeds` in `${HOME}/.furya/config/config.toml` ```shell -sed -i '/s/persistent_peers = ""/persistent_peers = "4980b478f91de9be0564a547779e5c6cb07eb995@3.239.15.80:26656,0e7042be1b77707aaf0597bb804da90d3a606c08@3.88.40.53:26656/g' $HOME/.sge/config/config.toml +sed -i '/s/persistent_peers = ""/persistent_peers = "4980b478f91de9be0564a547779e5c6cb07eb995@3.239.15.80:26656,0e7042be1b77707aaf0597bb804da90d3a606c08@3.88.40.53:26656/g' $HOME/.furya/config/config.toml ``` - Start node ```shell -sged start +furyad start ``` ### Initialize a new chain and start node -- Initialize: `sged init [node_name] --chain-id [chain_name]` -- Add key for genesis account `sged keys add [genesis_key_name]` -- Add genesis account `sged add-genesis-account [genesis_key_name] 10000000000000000000usge` -- Create a validator at genesis `sged gentx [genesis_key_name] 10000000usge --chain-id [chain_name]` -- Collect genesis transactions `sged collect-gentxs` -- Start node `sged start` +- Initialize: `furyad init [node_name] --chain-id [chain_name]` +- Add key for genesis account `furyad keys add [genesis_key_name]` +- Add genesis account `furyad add-genesis-account [genesis_key_name] 10000000000000000000ufury` +- Create a validator at genesis `furyad gentx [genesis_key_name] 10000000ufury --chain-id [chain_name]` +- Collect genesis transactions `furyad collect-gentxs` +- Start node `furyad start` ### Reset chain ```shell -rm -rf ~/.sge +rm -rf ~/.furya ``` ### Shutdown node ```shell -killall sged +killall furyad ``` ### Check version ```shell -sged version +furyad version ``` ### Documentations diff --git a/app/app.go b/app/app.go index 40bd0a0..b48bb7c 100644 --- a/app/app.go +++ b/app/app.go @@ -34,9 +34,9 @@ import ( ibcclientHandlers "github.com/cosmos/ibc-go/v3/modules/core/02-client/client" "github.com/gorilla/mux" "github.com/rakyll/statik/fs" - "github.com/sge-network/sge/app/keepers" - sgeappparams "github.com/sge-network/sge/app/params" - "github.com/sge-network/sge/app/upgrades" + "github.com/furya-network/furya/app/keepers" + furyaappparams "github.com/furya-network/furya/app/params" + "github.com/furya-network/furya/app/upgrades" "github.com/spf13/cast" abci "github.com/tendermint/tendermint/abci/types" tmjson "github.com/tendermint/tendermint/libs/json" @@ -70,8 +70,8 @@ var ( ) var ( - _ sdksimapp.App = (*SgeApp)(nil) - _ servertypes.Application = (*SgeApp)(nil) + _ sdksimapp.App = (*FuryaApp)(nil) + _ servertypes.Application = (*FuryaApp)(nil) ) func init() { @@ -83,10 +83,10 @@ func init() { DefaultNodeHome = filepath.Join(userHomeDir, "."+appName) } -// SgeApp extends an ABCI application, but with most of its parameters exported. +// FuryaApp extends an ABCI application, but with most of its parameters exported. // They are exported for convenience in creating helper functions, as object // capabilities aren't needed for testing. -type SgeApp struct { +type FuryaApp struct { *baseapp.BaseApp keepers.AppKeepers @@ -104,8 +104,8 @@ type SgeApp struct { configurator module.Configurator } -// NewSgeApp returns a reference to an initialized Sge. -func NewSgeApp( +// NewFuryaApp returns a reference to an initialized Furya. +func NewFuryaApp( logger log.Logger, db dbm.DB, traceStore io.Writer, @@ -113,10 +113,10 @@ func NewSgeApp( skipUpgradeHeights map[int64]bool, homePath string, invCheckPeriod uint, - encodingConfig sgeappparams.EncodingConfig, + encodingConfig furyaappparams.EncodingConfig, appOpts servertypes.AppOptions, baseAppOptions ...func(*baseapp.BaseApp), -) *SgeApp { +) *FuryaApp { appCodec := encodingConfig.Marshaler cdc := encodingConfig.Amino interfaceRegistry := encodingConfig.InterfaceRegistry @@ -126,7 +126,7 @@ func NewSgeApp( bApp.SetVersion(version.Version) bApp.SetInterfaceRegistry(interfaceRegistry) - app := &SgeApp{ + app := &FuryaApp{ BaseApp: bApp, cdc: cdc, appCodec: appCodec, @@ -220,8 +220,8 @@ func NewSgeApp( } // MakeCodecs constructs the *std.Codec and *codec.LegacyAmino instances used by -// Sge. It is useful for tests and clients who do not want to construct the -// full sge application +// Furya. It is useful for tests and clients who do not want to construct the +// full furya application func MakeCodecs() (codec.Codec, *codec.LegacyAmino, ) { @@ -230,23 +230,23 @@ func MakeCodecs() (codec.Codec, } // Name returns the name of the App -func (app *SgeApp) Name() string { return app.BaseApp.Name() } +func (app *FuryaApp) Name() string { return app.BaseApp.Name() } // GetBaseApp returns the base app of the application -func (app *SgeApp) GetBaseApp() *baseapp.BaseApp { return app.BaseApp } +func (app *FuryaApp) GetBaseApp() *baseapp.BaseApp { return app.BaseApp } // BeginBlocker application updates every begin block -func (app *SgeApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock { +func (app *FuryaApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock { return app.mm.BeginBlock(ctx, req) } // EndBlocker application updates every end block -func (app *SgeApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock { +func (app *FuryaApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock { return app.mm.EndBlock(ctx, req) } // InitChainer application update at chain initialization -func (app *SgeApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain { +func (app *FuryaApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain { var genesisState GenesisState if err := tmjson.Unmarshal(req.AppStateBytes, &genesisState); err != nil { panic(err) @@ -258,12 +258,12 @@ func (app *SgeApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci. } // LoadHeight loads a particular height -func (app *SgeApp) LoadHeight(height int64) error { +func (app *FuryaApp) LoadHeight(height int64) error { return app.LoadVersion(height) } // ModuleAccountAddrs returns all the app's module account addresses. -func (app *SgeApp) ModuleAccountAddrs() map[string]bool { +func (app *FuryaApp) ModuleAccountAddrs() map[string]bool { modAccAddrs := make(map[string]bool) //#nosec @@ -274,38 +274,38 @@ func (app *SgeApp) ModuleAccountAddrs() map[string]bool { return modAccAddrs } -// LegacyAmino returns SgeApp's amino codec. +// LegacyAmino returns FuryaApp's amino codec. // // NOTE: This is solely to be used for testing purposes as it may be desirable // for modules to register their own custom testing types. -func (app *SgeApp) LegacyAmino() *codec.LegacyAmino { +func (app *FuryaApp) LegacyAmino() *codec.LegacyAmino { return app.cdc } -// AppCodec returns Sge's app codec. +// AppCodec returns Furya's app codec. // // NOTE: This is solely to be used for testing purposes as it may be desirable // for modules to register their own custom testing types. -func (app *SgeApp) AppCodec() codec.Codec { +func (app *FuryaApp) AppCodec() codec.Codec { return app.appCodec } -// InterfaceRegistry returns Sge's InterfaceRegistry -func (app *SgeApp) InterfaceRegistry() types.InterfaceRegistry { +// InterfaceRegistry returns Furya's InterfaceRegistry +func (app *FuryaApp) InterfaceRegistry() types.InterfaceRegistry { return app.interfaceRegistry } // GetSubspace returns a param subspace for a given module name. // // NOTE: This is solely to be used for testing purposes. -func (app *SgeApp) GetSubspace(moduleName string) paramstypes.Subspace { +func (app *FuryaApp) GetSubspace(moduleName string) paramstypes.Subspace { subspace, _ := app.ParamsKeeper.GetSubspace(moduleName) return subspace } // RegisterAPIRoutes registers all application module routes with the provided // API server. -func (app *SgeApp) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig) { +func (app *FuryaApp) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig) { clientCtx := apiSvr.ClientCtx rpc.RegisterRoutes(clientCtx, apiSvr.Router) // Register legacy tx routes. @@ -326,17 +326,17 @@ func (app *SgeApp) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APICon } // RegisterTxService implements the Application.RegisterTxService method. -func (app *SgeApp) RegisterTxService(clientCtx client.Context) { +func (app *FuryaApp) RegisterTxService(clientCtx client.Context) { authtx.RegisterTxService(app.BaseApp.GRPCQueryRouter(), clientCtx, app.BaseApp.Simulate, app.interfaceRegistry) } // RegisterTendermintService implements the Application.RegisterTendermintService method. -func (app *SgeApp) RegisterTendermintService(clientCtx client.Context) { +func (app *FuryaApp) RegisterTendermintService(clientCtx client.Context) { tmservice.RegisterTendermintService(app.BaseApp.GRPCQueryRouter(), clientCtx, app.interfaceRegistry) } // configure store loader that checks if version == upgradeHeight and applies store upgrades -func (app *SgeApp) setupUpgradeStoreLoaders() { +func (app *FuryaApp) setupUpgradeStoreLoaders() { upgradeInfo, err := app.UpgradeKeeper.ReadUpgradeInfoFromDisk() if err != nil { panic(fmt.Sprintf("failed to read upgrade info from disk %s", err)) @@ -353,7 +353,7 @@ func (app *SgeApp) setupUpgradeStoreLoaders() { } } -func (app *SgeApp) setupUpgradeHandlers() { +func (app *FuryaApp) setupUpgradeHandlers() { for _, upgrade := range Upgrades { app.UpgradeKeeper.SetUpgradeHandler( upgrade.UpgradeName, @@ -387,6 +387,6 @@ func GetMaccPerms() map[string][]string { } // SimulationManager implements the SimulationApp interface -func (app *SgeApp) SimulationManager() *module.SimulationManager { +func (app *FuryaApp) SimulationManager() *module.SimulationManager { return app.sm } diff --git a/app/app_test.go b/app/app_test.go index c5b93c6..66eaf02 100644 --- a/app/app_test.go +++ b/app/app_test.go @@ -4,7 +4,7 @@ import ( "testing" sdksimapp "github.com/cosmos/cosmos-sdk/simapp" - "github.com/sge-network/sge/app" + "github.com/furya-network/furya/app" "github.com/stretchr/testify/require" "github.com/tendermint/tendermint/libs/log" tmdb "github.com/tendermint/tm-db" @@ -14,7 +14,7 @@ func TestApp(t *testing.T) { panicFunc := func() { db := tmdb.NewMemDB() encCdc := app.MakeEncodingConfig() - app.NewSgeApp(log.NewNopLogger(), db, nil, true, map[int64]bool{}, "", 0, encCdc, sdksimapp.EmptyAppOptions{}) + app.NewFuryaApp(log.NewNopLogger(), db, nil, true, map[int64]bool{}, "", 0, encCdc, sdksimapp.EmptyAppOptions{}) } require.NotPanics(t, panicFunc) } diff --git a/app/const.go b/app/const.go index 8f5ce85..0ee1926 100644 --- a/app/const.go +++ b/app/const.go @@ -1,3 +1,3 @@ package app -const appName = "sge" +const appName = "furya" diff --git a/app/encoding.go b/app/encoding.go index b36193d..9785255 100644 --- a/app/encoding.go +++ b/app/encoding.go @@ -2,7 +2,7 @@ package app import ( "github.com/cosmos/cosmos-sdk/std" - "github.com/sge-network/sge/app/params" + "github.com/furya-network/furya/app/params" ) // MakeEncodingConfig creates an EncodingConfig for testing diff --git a/app/export.go b/app/export.go index f85c2af..85f1d26 100644 --- a/app/export.go +++ b/app/export.go @@ -14,7 +14,7 @@ import ( // ExportAppStateAndValidators exports the state of the application for a genesis // file. -func (app *SgeApp) ExportAppStateAndValidators( +func (app *FuryaApp) ExportAppStateAndValidators( forZeroHeight bool, jailAllowedAddrs []string, ) (servertypes.ExportedApp, error) { // as if they could withdraw from the start of the next block @@ -47,7 +47,7 @@ func (app *SgeApp) ExportAppStateAndValidators( // NOTE zero height genesis is a temporary feature which will be deprecated // // in favour of export at a block height -func (app *SgeApp) prepForZeroHeightGenesis(ctx sdk.Context, jailAllowedAddrs []string) { +func (app *FuryaApp) prepForZeroHeightGenesis(ctx sdk.Context, jailAllowedAddrs []string) { // get allowed validators applyAllowedAddrs, allowedAddrsMap := app.getJailAllowedValidatorsMap(ctx, jailAllowedAddrs) @@ -117,7 +117,7 @@ func (app *SgeApp) prepForZeroHeightGenesis(ctx sdk.Context, jailAllowedAddrs [] ) } -func (app *SgeApp) reInitializeAllDelegators(ctx sdk.Context, dels stakingtypes.Delegations) { +func (app *FuryaApp) reInitializeAllDelegators(ctx sdk.Context, dels stakingtypes.Delegations) { for _, del := range dels { valAddr, err := sdk.ValAddressFromBech32(del.ValidatorAddress) if err != nil { @@ -132,7 +132,7 @@ func (app *SgeApp) reInitializeAllDelegators(ctx sdk.Context, dels stakingtypes. } } -func (app *SgeApp) getJailAllowedValidatorsMap(ctx sdk.Context, jailAllowedAddrs []string) (bool, map[string]bool) { +func (app *FuryaApp) getJailAllowedValidatorsMap(ctx sdk.Context, jailAllowedAddrs []string) (bool, map[string]bool) { applyAllowedAddrs := false // check if there is a allowed address list @@ -152,7 +152,7 @@ func (app *SgeApp) getJailAllowedValidatorsMap(ctx sdk.Context, jailAllowedAddrs return applyAllowedAddrs, allowedAddrsMap } -func (app *SgeApp) withdrawAllDelegatorRewards(ctx sdk.Context) []stakingtypes.Delegation { +func (app *FuryaApp) withdrawAllDelegatorRewards(ctx sdk.Context) []stakingtypes.Delegation { dels := app.StakingKeeper.GetAllDelegations(ctx) for _, delegation := range dels { valAddr, err := sdk.ValAddressFromBech32(delegation.ValidatorAddress) @@ -172,7 +172,7 @@ func (app *SgeApp) withdrawAllDelegatorRewards(ctx sdk.Context) []stakingtypes.D return dels } -func (app *SgeApp) resetRedelegationCreationHeight(ctx sdk.Context) { +func (app *FuryaApp) resetRedelegationCreationHeight(ctx sdk.Context) { // iterate through redelegations, reset creation height app.StakingKeeper.IterateRedelegations(ctx, func(_ int64, red stakingtypes.Redelegation) (stop bool) { for i := range red.Entries { @@ -183,7 +183,7 @@ func (app *SgeApp) resetRedelegationCreationHeight(ctx sdk.Context) { }) } -func (app *SgeApp) resetUnboundingdelegationCreationHeight(ctx sdk.Context) { +func (app *FuryaApp) resetUnboundingdelegationCreationHeight(ctx sdk.Context) { // iterate through unbonding delegations, reset creation height app.StakingKeeper.IterateUnbondingDelegations(ctx, func(_ int64, ubd stakingtypes.UnbondingDelegation) (stop bool) { for i := range ubd.Entries { @@ -194,7 +194,7 @@ func (app *SgeApp) resetUnboundingdelegationCreationHeight(ctx sdk.Context) { }) } -func (app *SgeApp) resetValidatorsBondHeights(ctx sdk.Context, applyAllowedAddrs bool, allowedAddrsMap map[string]bool) { +func (app *FuryaApp) resetValidatorsBondHeights(ctx sdk.Context, applyAllowedAddrs bool, allowedAddrsMap map[string]bool) { // Iterate through validators by power descending, reset bond heights, and // update bond intra-tx counters. store := ctx.KVStore(app.AppKeepers.GetKey(stakingtypes.StoreKey)) diff --git a/app/export_test.go b/app/export_test.go index 7887e72..f76bdfe 100644 --- a/app/export_test.go +++ b/app/export_test.go @@ -3,7 +3,7 @@ package app_test import ( "testing" - simappUtil "github.com/sge-network/sge/testutil/simapp" + simappUtil "github.com/furya-network/furya/testutil/simapp" "github.com/stretchr/testify/require" tmtypes "github.com/tendermint/tendermint/types" ) diff --git a/app/keepers/keepers.go b/app/keepers/keepers.go index 930df8c..003ad7f 100644 --- a/app/keepers/keepers.go +++ b/app/keepers/keepers.go @@ -48,28 +48,28 @@ import ( ibcporttypes "github.com/cosmos/ibc-go/v3/modules/core/05-port/types" ibchost "github.com/cosmos/ibc-go/v3/modules/core/24-host" ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper" - mintkeeper "github.com/sge-network/sge/x/mint/keeper" - minttypes "github.com/sge-network/sge/x/mint/types" + mintkeeper "github.com/furya-network/furya/x/mint/keeper" + minttypes "github.com/furya-network/furya/x/mint/types" - betmodule "github.com/sge-network/sge/x/bet" - betmodulekeeper "github.com/sge-network/sge/x/bet/keeper" - betmoduletypes "github.com/sge-network/sge/x/bet/types" + betmodule "github.com/furya-network/furya/x/bet" + betmodulekeeper "github.com/furya-network/furya/x/bet/keeper" + betmoduletypes "github.com/furya-network/furya/x/bet/types" - marketmodule "github.com/sge-network/sge/x/market" - marketmodulekeeper "github.com/sge-network/sge/x/market/keeper" - marketmoduletypes "github.com/sge-network/sge/x/market/types" + marketmodule "github.com/furya-network/furya/x/market" + marketmodulekeeper "github.com/furya-network/furya/x/market/keeper" + marketmoduletypes "github.com/furya-network/furya/x/market/types" - dvmmodule "github.com/sge-network/sge/x/dvm" - dvmmodulekeeper "github.com/sge-network/sge/x/dvm/keeper" - dvmmoduletypes "github.com/sge-network/sge/x/dvm/types" + dvmmodule "github.com/furya-network/furya/x/dvm" + dvmmodulekeeper "github.com/furya-network/furya/x/dvm/keeper" + dvmmoduletypes "github.com/furya-network/furya/x/dvm/types" - housemodule "github.com/sge-network/sge/x/house" - housemodulekeeper "github.com/sge-network/sge/x/house/keeper" - housemoduletypes "github.com/sge-network/sge/x/house/types" + housemodule "github.com/furya-network/furya/x/house" + housemodulekeeper "github.com/furya-network/furya/x/house/keeper" + housemoduletypes "github.com/furya-network/furya/x/house/types" - strategicreservemodule "github.com/sge-network/sge/x/strategicreserve" - strategicreservemodulekeeper "github.com/sge-network/sge/x/strategicreserve/keeper" - strategicreservemoduletypes "github.com/sge-network/sge/x/strategicreserve/types" + strategicreservemodule "github.com/furya-network/furya/x/strategicreserve" + strategicreservemodulekeeper "github.com/furya-network/furya/x/strategicreserve/keeper" + strategicreservemoduletypes "github.com/furya-network/furya/x/strategicreserve/types" // unnamed import of statik for swagger UI support _ "github.com/cosmos/cosmos-sdk/client/docs/statik" diff --git a/app/keepers/keys.go b/app/keepers/keys.go index 96dd6a3..d603ae8 100644 --- a/app/keepers/keys.go +++ b/app/keepers/keys.go @@ -20,13 +20,13 @@ import ( ibctransfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" ibchost "github.com/cosmos/ibc-go/v3/modules/core/24-host" - betmoduletypes "github.com/sge-network/sge/x/bet/types" - dvmmoduletypes "github.com/sge-network/sge/x/dvm/types" + betmoduletypes "github.com/furya-network/furya/x/bet/types" + dvmmoduletypes "github.com/furya-network/furya/x/dvm/types" - housemoduletypes "github.com/sge-network/sge/x/house/types" - marketmoduletypes "github.com/sge-network/sge/x/market/types" - minttypes "github.com/sge-network/sge/x/mint/types" - strategicreservemoduletypes "github.com/sge-network/sge/x/strategicreserve/types" + housemoduletypes "github.com/furya-network/furya/x/house/types" + marketmoduletypes "github.com/furya-network/furya/x/market/types" + minttypes "github.com/furya-network/furya/x/mint/types" + strategicreservemoduletypes "github.com/furya-network/furya/x/strategicreserve/types" // unnamed import of statik for swagger UI support _ "github.com/cosmos/cosmos-sdk/client/docs/statik" diff --git a/app/modules.go b/app/modules.go index a610155..b4d535f 100644 --- a/app/modules.go +++ b/app/modules.go @@ -39,24 +39,24 @@ import ( ibctransfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" ibc "github.com/cosmos/ibc-go/v3/modules/core" ibchost "github.com/cosmos/ibc-go/v3/modules/core/24-host" - sgeappparams "github.com/sge-network/sge/app/params" - "github.com/sge-network/sge/x/mint" - minttypes "github.com/sge-network/sge/x/mint/types" + furyaappparams "github.com/furya-network/furya/app/params" + "github.com/furya-network/furya/x/mint" + minttypes "github.com/furya-network/furya/x/mint/types" - betmodule "github.com/sge-network/sge/x/bet" - betmoduletypes "github.com/sge-network/sge/x/bet/types" + betmodule "github.com/furya-network/furya/x/bet" + betmoduletypes "github.com/furya-network/furya/x/bet/types" - marketmodule "github.com/sge-network/sge/x/market" - marketmoduletypes "github.com/sge-network/sge/x/market/types" + marketmodule "github.com/furya-network/furya/x/market" + marketmoduletypes "github.com/furya-network/furya/x/market/types" - strategicreservemodule "github.com/sge-network/sge/x/strategicreserve" - strategicreservemoduletypes "github.com/sge-network/sge/x/strategicreserve/types" + strategicreservemodule "github.com/furya-network/furya/x/strategicreserve" + strategicreservemoduletypes "github.com/furya-network/furya/x/strategicreserve/types" - dvmmodule "github.com/sge-network/sge/x/dvm" - dvmmoduletypes "github.com/sge-network/sge/x/dvm/types" + dvmmodule "github.com/furya-network/furya/x/dvm" + dvmmoduletypes "github.com/furya-network/furya/x/dvm/types" - housemodule "github.com/sge-network/sge/x/house" - housemoduletypes "github.com/sge-network/sge/x/house/types" + housemodule "github.com/furya-network/furya/x/house" + housemoduletypes "github.com/furya-network/furya/x/house/types" // unnamed import of statik for swagger UI support _ "github.com/cosmos/cosmos-sdk/client/docs/statik" @@ -111,8 +111,8 @@ var ModuleBasics = module.NewBasicManager( ) func appModules( - app *SgeApp, - encodingConfig sgeappparams.EncodingConfig, + app *FuryaApp, + encodingConfig furyaappparams.EncodingConfig, skipGenesisInvariants bool, ) []module.AppModule { appCodec := encodingConfig.Marshaler @@ -155,8 +155,8 @@ func appModules( // simulationModules returns modules for simulation manager // define the order of the modules for deterministic simulations func simulationModules( - app *SgeApp, - encodingConfig sgeappparams.EncodingConfig, + app *FuryaApp, + encodingConfig furyaappparams.EncodingConfig, _ bool, ) []module.AppModuleSimulation { appCodec := encodingConfig.Marshaler diff --git a/app/params/params.go b/app/params/params.go index e1bb59b..9a7aa04 100644 --- a/app/params/params.go +++ b/app/params/params.go @@ -3,11 +3,11 @@ package params // App Parameters const ( // HumanCoinUnit is human readable representation of the coin name - HumanCoinUnit = "sge" + HumanCoinUnit = "furya" // BaseCoinUnit is the actual name of coin used in transaction - BaseCoinUnit = "usge" - // SGEExponent is the exponential digits of the coin - SGEExponent = 6 + BaseCoinUnit = "ufury" + // FURYAExponent is the exponential digits of the coin + FURYAExponent = 6 // DefaultBondDenom is the default staking denom of application DefaultBondDenom = BaseCoinUnit ) diff --git a/app/prefix.go b/app/prefix.go index 8e896ff..19fbe22 100644 --- a/app/prefix.go +++ b/app/prefix.go @@ -2,12 +2,12 @@ package app import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/app/params" + "github.com/furya-network/furya/app/params" ) const ( // AccountAddressPrefix prefix used for generating account address - AccountAddressPrefix = "sge" + AccountAddressPrefix = "furya" ) var ( @@ -34,7 +34,7 @@ func SetConfig() { if err != nil { panic(err) } - err = sdk.RegisterDenom(params.BaseCoinUnit, sdk.NewDecWithPrec(1, params.SGEExponent)) + err = sdk.RegisterDenom(params.BaseCoinUnit, sdk.NewDecWithPrec(1, params.FURYAExponent)) if err != nil { panic(err) } diff --git a/app/sim_test.go b/app/sim_test.go index f9e57cc..9339c44 100644 --- a/app/sim_test.go +++ b/app/sim_test.go @@ -12,7 +12,7 @@ import ( "github.com/cosmos/cosmos-sdk/store" simulation2 "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/sge-network/sge/app" + "github.com/furya-network/furya/app" "github.com/stretchr/testify/require" "github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/libs/rand" @@ -21,7 +21,7 @@ import ( // SimAppChainID hardcoded chainID for simulation const ( - SimAppChainID = "sge-simapp" + SimAppChainID = "furya-simapp" ) func init() { @@ -29,7 +29,7 @@ func init() { } // Profile with: -// /usr/local/go/bin/go test -benchmem -run=^$ github.com/cosmos/cosmos-sdk/SgeApp -bench ^BenchmarkFullAppSimulation$ -Commit=true -cpuprofile cpu.out +// /usr/local/go/bin/go test -benchmem -run=^$ github.com/cosmos/cosmos-sdk/FuryaApp -bench ^BenchmarkFullAppSimulation$ -Commit=true -cpuprofile cpu.out func BenchmarkFullAppSimulation(b *testing.B) { config, db, dir, logger, _, err := sdksimapp.SetupSimulation("goleveldb-app-sim", "Simulation") if err != nil { @@ -44,7 +44,7 @@ func BenchmarkFullAppSimulation(b *testing.B) { } }() - app := app.NewSgeApp(logger, db, nil, true, map[int64]bool{}, app.DefaultNodeHome, sdksimapp.FlagPeriodValue, app.MakeEncodingConfig(), sdksimapp.EmptyAppOptions{}, interBlockCacheOpt()) + app := app.NewFuryaApp(logger, db, nil, true, map[int64]bool{}, app.DefaultNodeHome, sdksimapp.FlagPeriodValue, app.MakeEncodingConfig(), sdksimapp.EmptyAppOptions{}, interBlockCacheOpt()) // Run randomized simulation:w _, simParams, simErr := simulation.SimulateFromSeed( @@ -109,7 +109,7 @@ func TestAppStateDeterminism(t *testing.T) { } db := dbm.NewMemDB() - app := app.NewSgeApp(logger, db, nil, true, map[int64]bool{}, app.DefaultNodeHome, sdksimapp.FlagPeriodValue, app.MakeEncodingConfig(), sdksimapp.EmptyAppOptions{}, interBlockCacheOpt()) + app := app.NewFuryaApp(logger, db, nil, true, map[int64]bool{}, app.DefaultNodeHome, sdksimapp.FlagPeriodValue, app.MakeEncodingConfig(), sdksimapp.EmptyAppOptions{}, interBlockCacheOpt()) fmt.Printf( "running non-determinism simulation; seed %d: %d/%d, attempt: %d/%d\n", diff --git a/app/upgrades/types.go b/app/upgrades/types.go index 4039929..18bc7c5 100644 --- a/app/upgrades/types.go +++ b/app/upgrades/types.go @@ -4,7 +4,7 @@ import ( store "github.com/cosmos/cosmos-sdk/store/types" "github.com/cosmos/cosmos-sdk/types/module" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - "github.com/sge-network/sge/app/keepers" + "github.com/furya-network/furya/app/keepers" ) // Upgrade defines a struct containing necessary fields that a SoftwareUpgradeProposal diff --git a/cmd/sged/cmd/args.go b/cmd/furyad/cmd/args.go similarity index 100% rename from cmd/sged/cmd/args.go rename to cmd/furyad/cmd/args.go diff --git a/cmd/sged/cmd/errors.go b/cmd/furyad/cmd/errors.go similarity index 100% rename from cmd/sged/cmd/errors.go rename to cmd/furyad/cmd/errors.go diff --git a/cmd/sged/cmd/genaccounts.go b/cmd/furyad/cmd/genaccounts.go similarity index 100% rename from cmd/sged/cmd/genaccounts.go rename to cmd/furyad/cmd/genaccounts.go diff --git a/cmd/sged/cmd/genaccounts_test.go b/cmd/furyad/cmd/genaccounts_test.go similarity index 82% rename from cmd/sged/cmd/genaccounts_test.go rename to cmd/furyad/cmd/genaccounts_test.go index b68b570..6ab9c66 100644 --- a/cmd/sged/cmd/genaccounts_test.go +++ b/cmd/furyad/cmd/genaccounts_test.go @@ -9,15 +9,15 @@ import ( "github.com/cosmos/cosmos-sdk/crypto/keyring" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/cmd/sged/cmd" - "github.com/sge-network/sge/testutil/network" + "github.com/furya-network/furya/cmd/furyad/cmd" + "github.com/furya-network/furya/testutil/network" "github.com/stretchr/testify/require" ) func TestAddGenesisAccountCmdPanic(t *testing.T) { userHomeDir, err := os.UserHomeDir() require.NoError(t, err) - defaultNodeHome := filepath.Join(userHomeDir, ".sge") + defaultNodeHome := filepath.Join(userHomeDir, ".furya") panicFunc := func() { cmd.AddGenesisAccountCmd(defaultNodeHome) } @@ -36,9 +36,9 @@ func TestSampleCMD(t *testing.T) { userHomeDir, err := os.UserHomeDir() require.NoError(t, err) - defaultNodeHome := filepath.Join(userHomeDir, ".sge") + defaultNodeHome := filepath.Join(userHomeDir, ".furya") - fields := []string{keyInfo.GetAddress().String(), "10000000usge"} + fields := []string{keyInfo.GetAddress().String(), "10000000ufury"} for _, tc := range []struct { desc string args []string diff --git a/cmd/sged/cmd/root.go b/cmd/furyad/cmd/root.go similarity index 91% rename from cmd/sged/cmd/root.go rename to cmd/furyad/cmd/root.go index 01767c3..e69b8e3 100644 --- a/cmd/sged/cmd/root.go +++ b/cmd/furyad/cmd/root.go @@ -23,8 +23,8 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/cosmos/cosmos-sdk/x/crisis" genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" - "github.com/sge-network/sge/app" - "github.com/sge-network/sge/app/params" + "github.com/furya-network/furya/app" + "github.com/furya-network/furya/app/params" "github.com/spf13/cast" "github.com/spf13/cobra" tmcli "github.com/tendermint/tendermint/libs/cli" @@ -50,8 +50,8 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) { WithViper("") rootCmd := &cobra.Command{ - Use: "sged", - Short: "Sge-network App", + Use: "furyad", + Short: "Furya-network App", PersistentPreRunE: func(cmd *cobra.Command, _ []string) error { initClientCtx, err := client.ReadPersistentCommandFlags(initClientCtx, cmd.Flags()) if err != nil { @@ -185,7 +185,7 @@ func newApp(logger log.Logger, db dbm.DB, traceStore io.Writer, appOpts serverty panic(err) } - return app.NewSgeApp( + return app.NewFuryaApp( logger, db, traceStore, true, skipUpgradeHeights, cast.ToString(appOpts.Get(flags.FlagHome)), cast.ToUint(appOpts.Get(server.FlagInvCheckPeriod)), @@ -211,16 +211,16 @@ func createSimappAndExport( ) (servertypes.ExportedApp, error) { encCfg := app.MakeEncodingConfig() // Ideally, we would reuse the one created by NewRootCmd. encCfg.Marshaler = codec.NewProtoCodec(encCfg.InterfaceRegistry) - var sgeApp *app.SgeApp + var furyaApp *app.FuryaApp if height != -1 { - sgeApp = app.NewSgeApp(logger, db, traceStore, false, map[int64]bool{}, "", cast.ToUint(appOpts.Get(server.FlagInvCheckPeriod)), encCfg, appOpts) + furyaApp = app.NewFuryaApp(logger, db, traceStore, false, map[int64]bool{}, "", cast.ToUint(appOpts.Get(server.FlagInvCheckPeriod)), encCfg, appOpts) - if err := sgeApp.LoadHeight(height); err != nil { + if err := furyaApp.LoadHeight(height); err != nil { return servertypes.ExportedApp{}, err } } else { - sgeApp = app.NewSgeApp(logger, db, traceStore, true, map[int64]bool{}, "", cast.ToUint(appOpts.Get(server.FlagInvCheckPeriod)), encCfg, appOpts) + furyaApp = app.NewFuryaApp(logger, db, traceStore, true, map[int64]bool{}, "", cast.ToUint(appOpts.Get(server.FlagInvCheckPeriod)), encCfg, appOpts) } - return sgeApp.ExportAppStateAndValidators(forZeroHeight, jailAllowedAddrs) + return furyaApp.ExportAppStateAndValidators(forZeroHeight, jailAllowedAddrs) } diff --git a/cmd/sged/cmd/root_test.go b/cmd/furyad/cmd/root_test.go similarity index 82% rename from cmd/sged/cmd/root_test.go rename to cmd/furyad/cmd/root_test.go index ed4a423..e132865 100644 --- a/cmd/sged/cmd/root_test.go +++ b/cmd/furyad/cmd/root_test.go @@ -4,8 +4,8 @@ import ( "testing" svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - "github.com/sge-network/sge/app" - "github.com/sge-network/sge/cmd/sged/cmd" + "github.com/furya-network/furya/app" + "github.com/furya-network/furya/cmd/furyad/cmd" "github.com/stretchr/testify/require" ) diff --git a/cmd/sged/main.go b/cmd/furyad/main.go similarity index 79% rename from cmd/sged/main.go rename to cmd/furyad/main.go index 170313d..91c43d6 100644 --- a/cmd/sged/main.go +++ b/cmd/furyad/main.go @@ -5,8 +5,8 @@ import ( "github.com/cosmos/cosmos-sdk/server" svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - "github.com/sge-network/sge/app" - "github.com/sge-network/sge/cmd/sged/cmd" + "github.com/furya-network/furya/app" + "github.com/furya-network/furya/cmd/furyad/cmd" ) func main() { diff --git a/config.yml b/config.yml index 9fd6d40..96d4184 100644 --- a/config.yml +++ b/config.yml @@ -1,34 +1,34 @@ version: 1 accounts: - name: treasury - coins: ["9000000000000usge"] + coins: ["9000000000000ufury"] - name: seed - coins: ["1000000000000usge"] + coins: ["1000000000000ufury"] validators: - name: treasury - bonded: "1000000000000usge" + bonded: "1000000000000ufury" genesis: app_state: bank: balances: - - address: "sge1kypq29kggkextekt869pwpfukj6lsw38c8a43w" - coins: [{"denom": "usge", "amount": "500000000000"}] + - address: "furya1kypq29kggkextekt869pwpfukj6lsw38c8a43w" + coins: [{"denom": "ufury", "amount": "500000000000"}] supply: - - denom: "usge" + - denom: "ufury" amount: "500000000000" staking: params: - bond_denom: "usge" + bond_denom: "ufury" crisis: constant_fee: - denom: "usge" + denom: "ufury" amount: "1000" dvm: key_vault: public_keys: [] gov: deposit_params: - min_deposit: [{ amount: "1", denom: "usge" }] + min_deposit: [{ amount: "1", denom: "ufury" }] voting_params: voting_period: "30s" @@ -39,7 +39,7 @@ genesis: phase_step: "1" truncated_tokens: "0" params: - mint_denom: "usge" + mint_denom: "ufury" blocks_per_year: "100" phases: [ diff --git a/docs/README.md b/docs/README.md index d9d30b4..8a5f811 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,6 +1,6 @@ -# SGE Network +# FURYA Network -The Sports, Gaming & Entertainment Network (SGE Network), is a blockchain +The Sports, Gaming & Entertainment Network (FURYA Network), is a blockchain designed to support the future of sports betting & related gaming by leveraging the modular Cosmos design. We believe the future will be heavily shaped by many of the values driving the recent wave of crypto and blockchain development: @@ -14,7 +14,7 @@ Utilizing a sovereign blockchain uniquely enables: - An unparalleled level of transparency. - An efficiency of settlement and immediate payout to participants. -At launch, the SGE Network will be optimized to deploy an inaugural application: Six Sigma Sports, which is re-imagining the sports betting landscape and bringing a unique user experience with the benefit of blockchain technology.[Please visit to learn more about Six Sigma Sports.](https://sixsigmasports.io/) +At launch, the FURYA Network will be optimized to deploy an inaugural application: Six Sigma Sports, which is re-imagining the sports betting landscape and bringing a unique user experience with the benefit of blockchain technology.[Please visit to learn more about Six Sigma Sports.](https://sixsigmasports.io/) --- @@ -39,7 +39,7 @@ At launch, the SGE Network will be optimized to deploy an inaugural application: > >Prerequisite: go1.18+ required. [ref](https://golang.org/doc/install) -Sge could be installed by two ways - downloading binary from releases page or build from source. +Furya could be installed by two ways - downloading binary from releases page or build from source. ### Download from releases page @@ -47,10 +47,10 @@ Sge could be installed by two ways - downloading binary from releases page or bu - Check sha256 hash sum -- Place sged into /usr/local/sbin +- Place furyad into /usr/local/sbin ```shell -sudo mv sged /usr/local/sbin/sged +sudo mv furyad /usr/local/sbin/furyad ``` ### Building from source @@ -60,7 +60,7 @@ sudo mv sged /usr/local/sbin/sged - Clone git repository ```shell -git clone https://github.com/sge-network/sge.git +git clone https://github.com/furya-network/furya.git ``` - Checkout release tag @@ -73,7 +73,7 @@ git checkout [vX.X.X] - Install ```shell -cd sge +cd furya go mod tidy make install ``` @@ -81,21 +81,21 @@ make install ### Install system.d service file ```shell -nano /etc/systemd/system/sged.service +nano /etc/systemd/system/furyad.service ``` Please following contents(working dir may be changed as needed) ```systemd [Unit] -Description=Sge Network node +Description=Furya Network node After=network.target [Service] Type=simple User=ubuntu WorkingDirectory=/home/ubuntu -ExecStart=/usr/local/sbin/sged start +ExecStart=/usr/local/sbin/furyad start Restart=on-failure RestartSec=10 LimitNOFILE=40960 @@ -112,29 +112,29 @@ sudo systemctl daemon-reload ### Generate keys -`sged keys add [key_name]` +`furyad keys add [key_name]` or -`sged keys add [key_name] --recover` to regenerate keys with your [BIP39](https://github.com/bitcoin/bips/tree/master/bip-0039) mnemonic +`furyad keys add [key_name] --recover` to regenerate keys with your [BIP39](https://github.com/bitcoin/bips/tree/master/bip-0039) mnemonic ### Connect to a chain and start node -- [Install](#installation-steps) sge application +- [Install](#installation-steps) furya application - Initialize node ```shell -sged init {{NODE_NAME}} --chain-id sge-network-1 +furyad init {{NODE_NAME}} --chain-id furya-network-1 ``` Select network to join -- Replace `${HOME}/.sge/config/genesis.json` with the genesis file of the chain. -- Add `persistent_peers` or `seeds` in `${HOME}/.sge/config/config.toml` +- Replace `${HOME}/.furya/config/genesis.json` with the genesis file of the chain. +- Add `persistent_peers` or `seeds` in `${HOME}/.furya/config/config.toml` - Start node ```shell -sged start +furyad start ``` ## Network Compatibility Matrix @@ -151,58 +151,58 @@ Coming Soon!! ### Testnet -- [sge-network-1](https://github.com/sge-network/networks/sge-network-1) +- [furya-network-1](https://github.com/furya-network/networks/furya-network-1) - Place the genesis file with the genesis file of the chain. ```shell -wget https://github.com/sge-network/networks/blob/master/sge-network-1/genesis.json -O ~/.sged/config/genesis.json +wget https://github.com/furya-network/networks/blob/master/furya-network-1/genesis.json -O ~/.furyad/config/genesis.json ``` Verify genesis hash sum ```shell -sha256sum ~/.sged/config/genesis.json +sha256sum ~/.furyad/config/genesis.json ``` -Correct sha256 sum for sge-network-1 is - 2bea72699f9c1afd6217f7e76f14f07c1fbe849d090fc37cd008a42d14d5d30c +Correct sha256 sum for furya-network-1 is - 2bea72699f9c1afd6217f7e76f14f07c1fbe849d090fc37cd008a42d14d5d30c Genesis file sha sum is published in according repository. -- Add `persistent_peers` or `seeds` in `${HOME}/.sge/config/config.toml` +- Add `persistent_peers` or `seeds` in `${HOME}/.furya/config/config.toml` ```shell -sed -i '/s/persistent_peers = ""/persistent_peers = "4980b478f91de9be0564a547779e5c6cb07eb995@3.239.15.80:26656,0e7042be1b77707aaf0597bb804da90d3a606c08@3.88.40.53:26656/g' $HOME/.sge/config/config.toml +sed -i '/s/persistent_peers = ""/persistent_peers = "4980b478f91de9be0564a547779e5c6cb07eb995@3.239.15.80:26656,0e7042be1b77707aaf0597bb804da90d3a606c08@3.88.40.53:26656/g' $HOME/.furya/config/config.toml ``` - Start node ```shell -sged start +furyad start ``` ### Initialize a new chain and start node -- Initialize: `sged init [node_name] --chain-id [chain_name]` -- Add key for genesis account `sged keys add [genesis_key_name]` -- Add genesis account `sged add-genesis-account [genesis_key_name] 10000000000000000000usge` -- Create a validator at genesis `sged gentx [genesis_key_name] 10000000usge --chain-id [chain_name]` -- Collect genesis transactions `sged collect-gentxs` -- Start node `sged start` +- Initialize: `furyad init [node_name] --chain-id [chain_name]` +- Add key for genesis account `furyad keys add [genesis_key_name]` +- Add genesis account `furyad add-genesis-account [genesis_key_name] 10000000000000000000ufury` +- Create a validator at genesis `furyad gentx [genesis_key_name] 10000000ufury --chain-id [chain_name]` +- Collect genesis transactions `furyad collect-gentxs` +- Start node `furyad start` ### Reset chain ```shell -rm -rf ~/.sge +rm -rf ~/.furya ``` ### Shutdown node ```shell -killall sged +killall furyad ``` ### Check version ```shell -sged version +furyad version ``` diff --git a/docs/_sidebar.md b/docs/_sidebar.md index 8dd2d2f..252fb36 100644 --- a/docs/_sidebar.md +++ b/docs/_sidebar.md @@ -1,6 +1,6 @@ -* [About Sge Network](README.md) +* [About Furya Network](README.md) * [Modules](specs/README.md) * [Bet](specs/bet/01_Overview.md) * [DVM](specs/DVM/01_Overview.md) diff --git a/docs/index.html b/docs/index.html index 8c3f561..146e71c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4,7 +4,7 @@ - + diff --git a/docs/specs/Bet/02_Concepts.md b/docs/specs/Bet/02_Concepts.md index e36ce09..329f951 100644 --- a/docs/specs/Bet/02_Concepts.md +++ b/docs/specs/Bet/02_Concepts.md @@ -47,6 +47,6 @@ When a user is raising a transaction to place a bet, the creator of the transact ### Precision -Some of the Online Calculators round the division result to two-digit precision in Fractional and Moneyline calculations. In other words, these online calculators try to convert Moneyline and Fractional odds to Decimal odds and then calculate the payout according to the calculated rounded decimal value. This approach makes a big difference in the resulting payout. SGE-Network is accepting bets with usge that may have a high value in the market. For this kind of value, it is better to have a high-precision calculation in the blockchain code. +Some of the Online Calculators round the division result to two-digit precision in Fractional and Moneyline calculations. In other words, these online calculators try to convert Moneyline and Fractional odds to Decimal odds and then calculate the payout according to the calculated rounded decimal value. This approach makes a big difference in the resulting payout. FURYA-Network is accepting bets with ufury that may have a high value in the market. For this kind of value, it is better to have a high-precision calculation in the blockchain code. > Note: The final calculated payout amounts are rounded to 2 digit float values, so we have a small portion of lost benefits/payouts. diff --git a/docs/specs/Bet/04_State.md b/docs/specs/Bet/04_State.md index 1d3819e..5c91f4a 100644 --- a/docs/specs/Bet/04_State.md +++ b/docs/specs/Bet/04_State.md @@ -54,7 +54,7 @@ message Bet { // odds_type is the type of odds that // user choose such as decimal, fractional. - sgenetwork.sge.bet.OddsType odds_type = 4; + furyanetwork.furya.bet.OddsType odds_type = 4; // odds_value is the odds on which the bet is placed. string odds_value = 5; diff --git a/docs/specs/Bet/06_Messages.md b/docs/specs/Bet/06_Messages.md index a28388a..41a3a13 100644 --- a/docs/specs/Bet/06_Messages.md +++ b/docs/specs/Bet/06_Messages.md @@ -40,7 +40,7 @@ message PlaceBetFields { string ticket = 3; // odds_type is the type of odds bettor choose such as decimal, fraction - sgenetwork.sge.bet.OddsType odds_type = 4; + furyanetwork.furya.bet.OddsType odds_type = 4; } // MsgPlaceBetResponse is the returning value in the response of MsgPlaceBet request @@ -63,7 +63,7 @@ message MsgPlaceBetResponse { "kyc_data": { "ignore": false, "approved": true, - "id": "sge1w77wnncp6w6llqt0ysgahpxjscg8wspw43jvtd" + "id": "furya1w77wnncp6w6llqt0ysgahpxjscg8wspw43jvtd" }, "odds_type":1, "exp": 1667863498866062000, diff --git a/docs/specs/Bet/_sidebar.md b/docs/specs/Bet/_sidebar.md index e0efb5c..4676d62 100644 --- a/docs/specs/Bet/_sidebar.md +++ b/docs/specs/Bet/_sidebar.md @@ -1,6 +1,6 @@ -* [About SGE Network](../../README.md) +* [About FURYA Network](../../README.md) * [Modules](README.md) * [Bet](specs/bet/01_Overview.md) * [Overview](specs/bet/01_Overview.md) diff --git a/docs/specs/DVM/01_Overview.md b/docs/specs/DVM/01_Overview.md index f144e89..a2401eb 100644 --- a/docs/specs/DVM/01_Overview.md +++ b/docs/specs/DVM/01_Overview.md @@ -1,6 +1,6 @@ # **Overview** -The SGE-Network chain relies on external off-chain data of matches and other markets. To push this data reliably to the chain, some kind of origin verification is required. The `DVM module` essentially fills this role in the SGE-Network chain. The `DVM Module` verifies the following data: +The FURYA-Network chain relies on external off-chain data of matches and other markets. To push this data reliably to the chain, some kind of origin verification is required. The `DVM module` essentially fills this role in the FURYA-Network chain. The `DVM Module` verifies the following data: - Market data pushed by the House to the chain - Validity of Odds data using proposed ticket data during bet placement by user diff --git a/docs/specs/DVM/_sidebar.md b/docs/specs/DVM/_sidebar.md index c24c7d3..a08f004 100644 --- a/docs/specs/DVM/_sidebar.md +++ b/docs/specs/DVM/_sidebar.md @@ -1,6 +1,6 @@ -* [About SGE Network](../../README.md) +* [About FURYA Network](../../README.md) * [Modules](README.md) * [Bet](specs/bet/01_Overview.md) * [DVM](specs/DVM/01_Overview.md) diff --git a/docs/specs/House/_sidebar.md b/docs/specs/House/_sidebar.md index e866635..c5bfc03 100644 --- a/docs/specs/House/_sidebar.md +++ b/docs/specs/House/_sidebar.md @@ -1,7 +1,7 @@ * [Home](/) -* [About SGE Network](../README.md) +* [About FURYA Network](../README.md) * [Modules](README.md) * [Bet](specs/bet/01_Overview.md) * [DVM](specs/DVM/01_Overview.md) diff --git a/docs/specs/Market/01_Overview.md b/docs/specs/Market/01_Overview.md index 2c00a4a..f9a83bc 100644 --- a/docs/specs/Market/01_Overview.md +++ b/docs/specs/Market/01_Overview.md @@ -3,7 +3,7 @@ The **Market (SE) Module** is responsible to manage (**Create** / **Update** / **Read** / **Resolve**) markets of the House. -This module will validate the markets and include them in a transaction on **SGE-Network** blockchain which will be then listed in the UI, +This module will validate the markets and include them in a transaction on **FURYA-Network** blockchain which will be then listed in the UI, Users will be then be able to view all the markets and place bets/become house using the Bet/House Module. Once the market is recorded on the chain It will make it tamper-proof and can always be cross validated. diff --git a/docs/specs/Market/_sidebar.md b/docs/specs/Market/_sidebar.md index 454e960..a845466 100644 --- a/docs/specs/Market/_sidebar.md +++ b/docs/specs/Market/_sidebar.md @@ -1,7 +1,7 @@ * [Home](/) -* [About SGE Network](../README.md) +* [About FURYA Network](../README.md) * [Modules](README.md) * [Bet](specs/bet/01_Overview.md) * [DVM](specs/DVM/01_Overview.md) diff --git a/docs/specs/Mint/02_Concepts.md b/docs/specs/Mint/02_Concepts.md index 1960f71..5e3da8d 100644 --- a/docs/specs/Mint/02_Concepts.md +++ b/docs/specs/Mint/02_Concepts.md @@ -1,6 +1,6 @@ # **Concepts** -Unlike the default Mint Module of Cosmos-SDK which can vary the inflation rate dynamically based on the ratio of bonded and unbonded tokens at any point in time, the Mint module of the SGE-Network chain follows a strict regime of inflation rates defined as phases +Unlike the default Mint Module of Cosmos-SDK which can vary the inflation rate dynamically based on the ratio of bonded and unbonded tokens at any point in time, the Mint module of the FURYA-Network chain follows a strict regime of inflation rates defined as phases Phases are nothing but specific discreet time frames during which a certain inflation rate holds. Phases have two components: diff --git a/docs/specs/Mint/04_Begin_Block.md b/docs/specs/Mint/04_Begin_Block.md index 81d6673..7da3878 100644 --- a/docs/specs/Mint/04_Begin_Block.md +++ b/docs/specs/Mint/04_Begin_Block.md @@ -72,7 +72,7 @@ If the phase has changed, set the minter with the changed parameters: ## **Next Phase Provision** -Since the SGE-Network chain is predominantly reliant on phases for its inflation model, the phase_provision keeps track of the total amount of tokens to be distributed in the current phase. This value is calculated every time there is a phase change. +Since the FURYA-Network chain is predominantly reliant on phases for its inflation model, the phase_provision keeps track of the total amount of tokens to be distributed in the current phase. This value is calculated every time there is a phase change. ```go // NextPhaseProvisions returns the phase provisions based on current total diff --git a/docs/specs/Mint/06_Parameters.md b/docs/specs/Mint/06_Parameters.md index aa5a313..a3eec88 100644 --- a/docs/specs/Mint/06_Parameters.md +++ b/docs/specs/Mint/06_Parameters.md @@ -4,7 +4,7 @@ The minting module contains the following parameters: | Key | Type | Example | |:-------------: |:---------------: |:---------: | -| MintDenom | string | "usge" | +| MintDenom | string | "ufury" | | BlocksPerYear | string (uint64) | "6311520" | | Phases | Phases | | | ExcludeAmount | sdk.Int | 100000 | diff --git a/docs/specs/Mint/_sidebar.md b/docs/specs/Mint/_sidebar.md index a87d9aa..0501819 100644 --- a/docs/specs/Mint/_sidebar.md +++ b/docs/specs/Mint/_sidebar.md @@ -1,6 +1,6 @@ -* [About SGE Network](../../README.md) +* [About FURYA Network](../../README.md) * [Modules](README.md) * [Bet](specs/bet/01_Overview.md) * [DVM](specs/DVM/01_Overview.md) diff --git a/docs/specs/README.md b/docs/specs/README.md index de8caeb..af1ceb4 100644 --- a/docs/specs/README.md +++ b/docs/specs/README.md @@ -1,3 +1,3 @@ -# **SGE Network Modules** +# **FURYA Network Modules** -This Section details the specifications of all the custom modules used by the SGE Application +This Section details the specifications of all the custom modules used by the FURYA Application diff --git a/docs/specs/StrategicReserve/_sidebar.md b/docs/specs/StrategicReserve/_sidebar.md index 251b89a..d41a1e3 100644 --- a/docs/specs/StrategicReserve/_sidebar.md +++ b/docs/specs/StrategicReserve/_sidebar.md @@ -1,7 +1,7 @@ * [Home](/) -* [About SGE Network](../README.md) +* [About FURYA Network](../README.md) * [Modules](README.md) * [Bet](specs/bet/01_Overview.md) * [DVM](specs/DVM/01_Overview.md) diff --git a/docs/specs/_sidebar.md b/docs/specs/_sidebar.md index f31c005..dbd20bb 100644 --- a/docs/specs/_sidebar.md +++ b/docs/specs/_sidebar.md @@ -1,6 +1,6 @@ -* [About SGE Network](../README.md) +* [About FURYA Network](../README.md) * [Modules](README.md) * [Bet](specs/bet/01_Overview.md) * [DVM](specs/DVM/01_Overview.md) diff --git a/go.mod b/go.mod index 6a30b57..f2967eb 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/sge-network/sge +module github.com/furya-network/furya go 1.18 diff --git a/proto/sge/bet/bet.proto b/proto/furya/bet/bet.proto similarity index 96% rename from proto/sge/bet/bet.proto rename to proto/furya/bet/bet.proto index 4e755c7..1ddebf0 100644 --- a/proto/sge/bet/bet.proto +++ b/proto/furya/bet/bet.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -package sgenetwork.sge.bet; +package furyanetwork.furya.bet; import "gogoproto/gogo.proto"; -import "sge/bet/odds_type.proto"; +import "furya/bet/odds_type.proto"; -option go_package = "github.com/sge-network/sge/x/bet/types"; +option go_package = "github.com/furya-network/furya/x/bet/types"; // Bet is the main type of bet in the blockchain state. message Bet { @@ -33,7 +33,7 @@ message Bet { // odds_type is the type of odds that // user choose such as decimal, fractional. - sgenetwork.sge.bet.OddsType odds_type = 4; + furyanetwork.furya.bet.OddsType odds_type = 4; // odds_value is the odds on which the bet is placed. string odds_value = 5; diff --git a/proto/sge/bet/bet_odds.proto b/proto/furya/bet/bet_odds.proto similarity index 91% rename from proto/sge/bet/bet_odds.proto rename to proto/furya/bet/bet_odds.proto index 9c81ae7..d05b783 100644 --- a/proto/sge/bet/bet_odds.proto +++ b/proto/furya/bet/bet_odds.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package sgenetwork.sge.bet; +package furyanetwork.furya.bet; import "gogoproto/gogo.proto"; -option go_package = "github.com/sge-network/sge/x/bet/types"; +option go_package = "github.com/furya-network/furya/x/bet/types"; // BetOdds is the type to store odds of an market. message BetOdds { diff --git a/proto/sge/bet/genesis.proto b/proto/furya/bet/genesis.proto similarity index 82% rename from proto/sge/bet/genesis.proto rename to proto/furya/bet/genesis.proto index 8f2b6b5..e4c5613 100644 --- a/proto/sge/bet/genesis.proto +++ b/proto/furya/bet/genesis.proto @@ -1,12 +1,12 @@ syntax = "proto3"; -package sgenetwork.sge.bet; +package furyanetwork.furya.bet; import "gogoproto/gogo.proto"; -import "sge/bet/params.proto"; -import "sge/bet/bet.proto"; -import "sge/bet/stats.proto"; +import "furya/bet/params.proto"; +import "furya/bet/bet.proto"; +import "furya/bet/stats.proto"; -option go_package = "github.com/sge-network/sge/x/bet/types"; +option go_package = "github.com/furya-network/furya/x/bet/types"; // GenesisState defines the bet module's genesis state. message GenesisState { diff --git a/proto/sge/bet/kyc.proto b/proto/furya/bet/kyc.proto similarity index 80% rename from proto/sge/bet/kyc.proto rename to proto/furya/bet/kyc.proto index 682cafc..1258198 100644 --- a/proto/sge/bet/kyc.proto +++ b/proto/furya/bet/kyc.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package sgenetwork.sge.bet; +package furyanetwork.furya.bet; import "gogoproto/gogo.proto"; -option go_package = "github.com/sge-network/sge/x/bet/types"; +option go_package = "github.com/furya-network/furya/x/bet/types"; // KycDataPayload is the KYC info. message KycDataPayload { diff --git a/proto/sge/bet/odds_type.proto b/proto/furya/bet/odds_type.proto similarity index 77% rename from proto/sge/bet/odds_type.proto rename to proto/furya/bet/odds_type.proto index 20edd55..818aae9 100644 --- a/proto/sge/bet/odds_type.proto +++ b/proto/furya/bet/odds_type.proto @@ -1,7 +1,7 @@ syntax = "proto3"; -package sgenetwork.sge.bet; +package furyanetwork.furya.bet; -option go_package = "github.com/sge-network/sge/x/bet/types"; +option go_package = "github.com/furya-network/furya/x/bet/types"; // OddsType is the representation of the type of the odds. enum OddsType { diff --git a/proto/sge/bet/params.proto b/proto/furya/bet/params.proto similarity index 73% rename from proto/sge/bet/params.proto rename to proto/furya/bet/params.proto index fe2cc50..31d17c2 100644 --- a/proto/sge/bet/params.proto +++ b/proto/furya/bet/params.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package sgenetwork.sge.bet; +package furyanetwork.furya.bet; import "gogoproto/gogo.proto"; -option go_package = "github.com/sge-network/sge/x/bet/types"; +option go_package = "github.com/furya-network/furya/x/bet/types"; // Params defines the parameters for the module. message Params { diff --git a/proto/sge/bet/place_bet_fields.proto b/proto/furya/bet/place_bet_fields.proto similarity index 85% rename from proto/sge/bet/place_bet_fields.proto rename to proto/furya/bet/place_bet_fields.proto index 20ba68f..1104964 100644 --- a/proto/sge/bet/place_bet_fields.proto +++ b/proto/furya/bet/place_bet_fields.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package sgenetwork.sge.bet; +package furyanetwork.furya.bet; import "gogoproto/gogo.proto"; -option go_package = "github.com/sge-network/sge/x/bet/types"; +option go_package = "github.com/furya-network/furya/x/bet/types"; // PlaceBetFields contains necessary fields which come in Place bet tx request. message PlaceBetFields { diff --git a/proto/sge/bet/query.proto b/proto/furya/bet/query.proto similarity index 85% rename from proto/sge/bet/query.proto rename to proto/furya/bet/query.proto index 62928c1..aa35fb0 100644 --- a/proto/sge/bet/query.proto +++ b/proto/furya/bet/query.proto @@ -1,52 +1,52 @@ syntax = "proto3"; -package sgenetwork.sge.bet; +package furyanetwork.furya.bet; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; -import "sge/bet/params.proto"; -import "sge/bet/bet.proto"; -import "sge/market/market.proto"; +import "furya/bet/params.proto"; +import "furya/bet/bet.proto"; +import "furya/market/market.proto"; -option go_package = "github.com/sge-network/sge/x/bet/types"; +option go_package = "github.com/furya-network/furya/x/bet/types"; // Query defines the gRPC querier service. service Query { // Params queries the parameters of the module. rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/sge/bet/params"; + option (google.api.http).get = "/furya/bet/params"; } // Queries a Bet by uid. rpc Bet(QueryBetRequest) returns (QueryBetResponse) { - option (google.api.http).get = "/sge/bet/{creator}/{uid}"; + option (google.api.http).get = "/furya/bet/{creator}/{uid}"; } // Queries list of Bet items of a certain creator sorted by timestamp. rpc BetsByCreator(QueryBetsByCreatorRequest) returns (QueryBetsByCreatorResponse) { - option (google.api.http).get = "/sge/creator/{creator}/bets"; + option (google.api.http).get = "/furya/creator/{creator}/bets"; } // Queries list of Bet items. rpc Bets(QueryBetsRequest) returns (QueryBetsResponse) { - option (google.api.http).get = "/sge/bets"; + option (google.api.http).get = "/furya/bets"; } // Queries a list of Bet items filtered by uid list. rpc BetsByUIDs(QueryBetsByUIDsRequest) returns (QueryBetsByUIDsResponse) { - option (google.api.http).get = "/sge/bets_by_uids"; + option (google.api.http).get = "/furya/bets_by_uids"; } // Queries list of Active Bet items. rpc ActiveBets(QueryActiveBetsRequest) returns (QueryActiveBetsResponse) { - option (google.api.http).get = "/sge/active_bets/{market_uid}"; + option (google.api.http).get = "/furya/active_bets/{market_uid}"; } // Queries list of Settled Bet items. rpc SettledBetsOfHeight(QuerySettledBetsOfHeightRequest) returns (QuerySettledBetsOfHeightResponse) { - option (google.api.http).get = "/sge/settled_bets_of_height/{block_height}"; + option (google.api.http).get = "/furya/settled_bets_of_height/{block_height}"; } } @@ -72,7 +72,7 @@ message QueryBetRequest { // Query/Bet RPC method. message QueryBetResponse { Bet bet = 1 [ (gogoproto.nullable) = false ]; - sgenetwork.sge.market.Market market = 2 [ (gogoproto.nullable) = false ]; + furyanetwork.furya.market.Market market = 2 [ (gogoproto.nullable) = false ]; } // QueryBetsRequest is the request type for the bets list query diff --git a/proto/sge/bet/stats.proto b/proto/furya/bet/stats.proto similarity index 64% rename from proto/sge/bet/stats.proto rename to proto/furya/bet/stats.proto index 4938dbe..f94ecdd 100644 --- a/proto/sge/bet/stats.proto +++ b/proto/furya/bet/stats.proto @@ -1,7 +1,7 @@ syntax = "proto3"; -package sgenetwork.sge.bet; +package furyanetwork.furya.bet; -option go_package = "github.com/sge-network/sge/x/bet/types"; +option go_package = "github.com/furya-network/furya/x/bet/types"; // BetStats is the type of statistics of the betting in the blockchain state. message BetStats { diff --git a/proto/sge/bet/ticket.proto b/proto/furya/bet/ticket.proto similarity index 65% rename from proto/sge/bet/ticket.proto rename to proto/furya/bet/ticket.proto index aa7bcfa..67b1ef6 100644 --- a/proto/sge/bet/ticket.proto +++ b/proto/furya/bet/ticket.proto @@ -1,13 +1,13 @@ syntax = "proto3"; -package sgenetwork.sge.bet; +package furyanetwork.furya.bet; import "gogoproto/gogo.proto"; -import "sge/bet/bet_odds.proto"; -import "sge/bet/kyc.proto"; -import "sge/bet/odds_type.proto"; +import "furya/bet/bet_odds.proto"; +import "furya/bet/kyc.proto"; +import "furya/bet/odds_type.proto"; -option go_package = "github.com/sge-network/sge/x/bet/types"; +option go_package = "github.com/furya-network/furya/x/bet/types"; // BetPlacementTicketPayload indicates data of bet placement ticket. message BetPlacementTicketPayload { @@ -17,5 +17,5 @@ message BetPlacementTicketPayload { KycDataPayload kyc_data = 2 [ (gogoproto.nullable) = false ]; // odds_type is the type of odds that are going to be placed // such as decimal, fraction, moneyline. - sgenetwork.sge.bet.OddsType odds_type = 3; + furyanetwork.furya.bet.OddsType odds_type = 3; } diff --git a/proto/sge/bet/tx.proto b/proto/furya/bet/tx.proto similarity index 80% rename from proto/sge/bet/tx.proto rename to proto/furya/bet/tx.proto index 97eb443..80a1844 100644 --- a/proto/sge/bet/tx.proto +++ b/proto/furya/bet/tx.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package sgenetwork.sge.bet; +package furyanetwork.furya.bet; -import "sge/bet/place_bet_fields.proto"; +import "furya/bet/place_bet_fields.proto"; -option go_package = "github.com/sge-network/sge/x/bet/types"; +option go_package = "github.com/furya-network/furya/x/bet/types"; // Msg defines the Msg service. service Msg { diff --git a/proto/sge/dvm/genesis.proto b/proto/furya/dvm/genesis.proto similarity index 79% rename from proto/sge/dvm/genesis.proto rename to proto/furya/dvm/genesis.proto index d2d749f..ace502d 100644 --- a/proto/sge/dvm/genesis.proto +++ b/proto/furya/dvm/genesis.proto @@ -1,13 +1,13 @@ syntax = "proto3"; -package sgenetwork.sge.dvm; +package furyanetwork.furya.dvm; import "gogoproto/gogo.proto"; -import "sge/dvm/params.proto"; -import "sge/dvm/key_vault.proto"; -import "sge/dvm/proposal.proto"; -import "sge/dvm/stats.proto"; +import "furya/dvm/params.proto"; +import "furya/dvm/key_vault.proto"; +import "furya/dvm/proposal.proto"; +import "furya/dvm/stats.proto"; -option go_package = "github.com/sge-network/sge/x/dvm/types"; +option go_package = "github.com/furya-network/furya/x/dvm/types"; // GenesisState defines the dvm module's genesis state. message GenesisState { diff --git a/proto/sge/dvm/key_vault.proto b/proto/furya/dvm/key_vault.proto similarity index 72% rename from proto/sge/dvm/key_vault.proto rename to proto/furya/dvm/key_vault.proto index 0599449..0039b12 100644 --- a/proto/sge/dvm/key_vault.proto +++ b/proto/furya/dvm/key_vault.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package sgenetwork.sge.dvm; +package furyanetwork.furya.dvm; import "gogoproto/gogo.proto"; -option go_package = "github.com/sge-network/sge/x/dvm/types"; +option go_package = "github.com/furya-network/furya/x/dvm/types"; // KeyVault is the information of important keys stored in dvm state. message KeyVault { diff --git a/proto/sge/dvm/params.proto b/proto/furya/dvm/params.proto similarity index 62% rename from proto/sge/dvm/params.proto rename to proto/furya/dvm/params.proto index 542352e..a55dce2 100644 --- a/proto/sge/dvm/params.proto +++ b/proto/furya/dvm/params.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package sgenetwork.sge.dvm; +package furyanetwork.furya.dvm; import "gogoproto/gogo.proto"; -option go_package = "github.com/sge-network/sge/x/dvm/types"; +option go_package = "github.com/furya-network/furya/x/dvm/types"; // Params defines the parameters for the module. message Params { option (gogoproto.goproto_stringer) = false; } diff --git a/proto/sge/dvm/proposal.proto b/proto/furya/dvm/proposal.proto similarity index 91% rename from proto/sge/dvm/proposal.proto rename to proto/furya/dvm/proposal.proto index 170b724..d156604 100644 --- a/proto/sge/dvm/proposal.proto +++ b/proto/furya/dvm/proposal.proto @@ -1,11 +1,11 @@ syntax = "proto3"; -package sgenetwork.sge.dvm; +package furyanetwork.furya.dvm; import "gogoproto/gogo.proto"; -import "sge/dvm/ticket.proto"; -import "sge/dvm/vote.proto"; +import "furya/dvm/ticket.proto"; +import "furya/dvm/vote.proto"; -option go_package = "github.com/sge-network/sge/x/dvm/types"; +option go_package = "github.com/furya-network/furya/x/dvm/types"; // PublicKeysChangeProposal is the type for the proposal for additions and // removals of pub keys. diff --git a/proto/sge/dvm/query.proto b/proto/furya/dvm/query.proto similarity index 88% rename from proto/sge/dvm/query.proto rename to proto/furya/dvm/query.proto index cd7f29f..e2fcd47 100644 --- a/proto/sge/dvm/query.proto +++ b/proto/furya/dvm/query.proto @@ -1,46 +1,46 @@ syntax = "proto3"; -package sgenetwork.sge.dvm; +package furyanetwork.furya.dvm; import "gogoproto/gogo.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; import "google/api/annotations.proto"; -import "sge/dvm/params.proto"; -import "sge/dvm/proposal.proto"; +import "furya/dvm/params.proto"; +import "furya/dvm/proposal.proto"; -option go_package = "github.com/sge-network/sge/x/dvm/types"; +option go_package = "github.com/furya-network/furya/x/dvm/types"; // Query defines the gRPC querier service. service Query { // Params queries the parameters of the module. rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/sge/dvm/params"; + option (google.api.http).get = "/furya/dvm/params"; } // Queries a list of PubKeys items. rpc PubKeys(QueryPubKeysRequest) returns (QueryPubKeysResponse) { - option (google.api.http).get = "/sge/dvm/pub_keys"; + option (google.api.http).get = "/furya/dvm/pub_keys"; } // Queries an active proposal by id. rpc ActivePublicKeysChangeProposal(QueryActivePublicKeysChangeProposalRequest) returns (QueryActivePublicKeysChangeProposalResponse) { - option (google.api.http).get = "/sge/dvm/active_pubkeys_proposal/{id}"; + option (google.api.http).get = "/furya/dvm/active_pubkeys_proposal/{id}"; } // Queries a list of active proposal items. rpc ActivePublicKeysChangeProposals( QueryActivePublicKeysChangeProposalsRequest) returns (QueryActivePublicKeysChangeProposalsResponse) { - option (google.api.http).get = "/sge/dvm/active_pubkeys_proposals"; + option (google.api.http).get = "/furya/dvm/active_pubkeys_proposals"; } // Queries a finished proposal by id. rpc FinishedPublicKeysChangeProposal( QueryFinishedPublicKeysChangeProposalRequest) returns (QueryFinishedPublicKeysChangeProposalResponse) { - option (google.api.http).get = "/sge/dvm/finished_pubkeys_proposal/{id}"; + option (google.api.http).get = "/furya/dvm/finished_pubkeys_proposal/{id}"; } // Queries a list of finished proposal items. rpc FinishedPublicKeysChangeProposals( QueryFinishedPublicKeysChangeProposalsRequest) returns (QueryFinishedPublicKeysChangeProposalsResponse) { - option (google.api.http).get = "/sge/dvm/finished_pubkeys_proposals"; + option (google.api.http).get = "/furya/dvm/finished_pubkeys_proposals"; } } diff --git a/proto/sge/dvm/stats.proto b/proto/furya/dvm/stats.proto similarity index 67% rename from proto/sge/dvm/stats.proto rename to proto/furya/dvm/stats.proto index 7159a8a..4263856 100644 --- a/proto/sge/dvm/stats.proto +++ b/proto/furya/dvm/stats.proto @@ -1,7 +1,7 @@ syntax = "proto3"; -package sgenetwork.sge.dvm; +package furyanetwork.furya.dvm; -option go_package = "github.com/sge-network/sge/x/dvm/types"; +option go_package = "github.com/furya-network/furya/x/dvm/types"; // ProposalStats is the type for the proposal statistics. message ProposalStats { diff --git a/proto/sge/dvm/ticket.proto b/proto/furya/dvm/ticket.proto similarity index 81% rename from proto/sge/dvm/ticket.proto rename to proto/furya/dvm/ticket.proto index 7e61bc9..07a29a4 100644 --- a/proto/sge/dvm/ticket.proto +++ b/proto/furya/dvm/ticket.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package sgenetwork.sge.dvm; +package furyanetwork.furya.dvm; -import "sge/dvm/vote.proto"; +import "furya/dvm/vote.proto"; -option go_package = "github.com/sge-network/sge/x/dvm/types"; +option go_package = "github.com/furya-network/furya/x/dvm/types"; // PubkeysChangeProposalPayload indicates data of public keys changes proposal // ticket. diff --git a/proto/sge/dvm/tx.proto b/proto/furya/dvm/tx.proto similarity index 93% rename from proto/sge/dvm/tx.proto rename to proto/furya/dvm/tx.proto index 13576bb..43bf857 100644 --- a/proto/sge/dvm/tx.proto +++ b/proto/furya/dvm/tx.proto @@ -1,7 +1,7 @@ syntax = "proto3"; -package sgenetwork.sge.dvm; +package furyanetwork.furya.dvm; -option go_package = "github.com/sge-network/sge/x/dvm/types"; +option go_package = "github.com/furya-network/furya/x/dvm/types"; // Msg defines the Msg service. service Msg { diff --git a/proto/sge/dvm/vote.proto b/proto/furya/dvm/vote.proto similarity index 80% rename from proto/sge/dvm/vote.proto rename to proto/furya/dvm/vote.proto index 6d351be..cbf9652 100644 --- a/proto/sge/dvm/vote.proto +++ b/proto/furya/dvm/vote.proto @@ -1,7 +1,7 @@ syntax = "proto3"; -package sgenetwork.sge.dvm; +package furyanetwork.furya.dvm; -option go_package = "github.com/sge-network/sge/x/dvm/types"; +option go_package = "github.com/furya-network/furya/x/dvm/types"; // Vote is the type for the proposal vote. message Vote { diff --git a/proto/sge/house/deposit.proto b/proto/furya/house/deposit.proto similarity index 95% rename from proto/sge/house/deposit.proto rename to proto/furya/house/deposit.proto index ad69a39..d85f13a 100644 --- a/proto/sge/house/deposit.proto +++ b/proto/furya/house/deposit.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package sgenetwork.sge.house; +package furyanetwork.furya.house; import "gogoproto/gogo.proto"; -option go_package = "github.com/sge-network/sge/x/house/types"; +option go_package = "github.com/furya-network/furya/x/house/types"; // Deposit represents the deposit against a market held by an account. message Deposit { diff --git a/proto/sge/house/genesis.proto b/proto/furya/house/genesis.proto similarity index 71% rename from proto/sge/house/genesis.proto rename to proto/furya/house/genesis.proto index a948257..9eb3f16 100644 --- a/proto/sge/house/genesis.proto +++ b/proto/furya/house/genesis.proto @@ -1,12 +1,12 @@ syntax = "proto3"; -package sgenetwork.sge.house; +package furyanetwork.furya.house; import "gogoproto/gogo.proto"; -import "sge/house/deposit.proto"; -import "sge/house/withdraw.proto"; -import "sge/house/params.proto"; +import "furya/house/deposit.proto"; +import "furya/house/withdraw.proto"; +import "furya/house/params.proto"; -option go_package = "github.com/sge-network/sge/x/house/types"; +option go_package = "github.com/furya-network/furya/x/house/types"; // GenesisState defines the house module's genesis state. message GenesisState { diff --git a/proto/sge/house/params.proto b/proto/furya/house/params.proto similarity index 86% rename from proto/sge/house/params.proto rename to proto/furya/house/params.proto index b64a6fc..834463e 100644 --- a/proto/sge/house/params.proto +++ b/proto/furya/house/params.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package sgenetwork.sge.house; +package furyanetwork.furya.house; import "gogoproto/gogo.proto"; -option go_package = "github.com/sge-network/sge/x/house/types"; +option go_package = "github.com/furya-network/furya/x/house/types"; // Params define the parameters for the house module. message Params { diff --git a/proto/sge/house/query.proto b/proto/furya/house/query.proto similarity index 87% rename from proto/sge/house/query.proto rename to proto/furya/house/query.proto index 9a5d8f7..ace6193 100644 --- a/proto/sge/house/query.proto +++ b/proto/furya/house/query.proto @@ -1,37 +1,37 @@ syntax = "proto3"; -package sgenetwork.sge.house; +package furyanetwork.furya.house; import "cosmos/base/query/v1beta1/pagination.proto"; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; -import "sge/house/params.proto"; -import "sge/house/deposit.proto"; -import "sge/house/withdraw.proto"; +import "furya/house/params.proto"; +import "furya/house/deposit.proto"; +import "furya/house/withdraw.proto"; -option go_package = "github.com/sge-network/sge/x/house/types"; +option go_package = "github.com/furya-network/furya/x/house/types"; // Query defines the gRPC querier service. service Query { // Params queries the parameters of the module. rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/sge/house/params"; + option (google.api.http).get = "/furya/house/params"; } // Deposits queries all deposits. rpc Deposits(QueryDepositsRequest) returns (QueryDepositsResponse) { - option (google.api.http).get = "/sge/deposits"; + option (google.api.http).get = "/furya/deposits"; } // DepositorDeposits queries deposits info for given depositor. rpc DepositorDeposits(QueryDepositorDepositsRequest) returns (QueryDepositorDepositsResponse) { - option (google.api.http).get = "/sge/deposits/{depositor_address}"; + option (google.api.http).get = "/furya/deposits/{depositor_address}"; } // DepositorWithdrawals queries withdrawals info for given depositor. rpc DepositorWithdrawals(QueryDepositorWithdrawalsRequest) returns (QueryDepositorWithdrawalsResponse) { - option (google.api.http).get = "/sge/withdrawals/{depositor_address}"; + option (google.api.http).get = "/furya/withdrawals/{depositor_address}"; } } diff --git a/proto/sge/house/tx.proto b/proto/furya/house/tx.proto similarity index 94% rename from proto/sge/house/tx.proto rename to proto/furya/house/tx.proto index 5521d06..c9b3e32 100644 --- a/proto/sge/house/tx.proto +++ b/proto/furya/house/tx.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -package sgenetwork.sge.house; +package furyanetwork.furya.house; import "gogoproto/gogo.proto"; -import "sge/house/withdraw.proto"; +import "furya/house/withdraw.proto"; -option go_package = "github.com/sge-network/sge/x/house/types"; +option go_package = "github.com/furya-network/furya/x/house/types"; // Msg defines the house Msg service. service Msg { diff --git a/proto/sge/house/withdraw.proto b/proto/furya/house/withdraw.proto similarity index 93% rename from proto/sge/house/withdraw.proto rename to proto/furya/house/withdraw.proto index 5e856f5..942884e 100644 --- a/proto/sge/house/withdraw.proto +++ b/proto/furya/house/withdraw.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package sgenetwork.sge.house; +package furyanetwork.furya.house; import "gogoproto/gogo.proto"; -option go_package = "github.com/sge-network/sge/x/house/types"; +option go_package = "github.com/furya-network/furya/x/house/types"; // Withdrawal represents the withdrawal against a deposit. message Withdrawal { diff --git a/proto/sge/market/genesis.proto b/proto/furya/market/genesis.proto similarity index 70% rename from proto/sge/market/genesis.proto rename to proto/furya/market/genesis.proto index 95968d1..eaf009e 100644 --- a/proto/sge/market/genesis.proto +++ b/proto/furya/market/genesis.proto @@ -1,12 +1,12 @@ syntax = "proto3"; -package sgenetwork.sge.market; +package furyanetwork.furya.market; import "gogoproto/gogo.proto"; -import "sge/market/params.proto"; -import "sge/market/market.proto"; -import "sge/market/stats.proto"; +import "furya/market/params.proto"; +import "furya/market/market.proto"; +import "furya/market/stats.proto"; -option go_package = "github.com/sge-network/sge/x/market/types"; +option go_package = "github.com/furya-network/furya/x/market/types"; // GenesisState defines the market module's genesis state. message GenesisState { diff --git a/proto/sge/market/market.proto b/proto/furya/market/market.proto similarity index 95% rename from proto/sge/market/market.proto rename to proto/furya/market/market.proto index ac3cc41..cc64040 100644 --- a/proto/sge/market/market.proto +++ b/proto/furya/market/market.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -package sgenetwork.sge.market; +package furyanetwork.furya.market; import "gogoproto/gogo.proto"; -import "sge/market/odds.proto"; +import "furya/market/odds.proto"; -option go_package = "github.com/sge-network/sge/x/market/types"; +option go_package = "github.com/furya-network/furya/x/market/types"; // Market the representation of the market to be stored in // the market state. diff --git a/proto/sge/market/odds.proto b/proto/furya/market/odds.proto similarity index 77% rename from proto/sge/market/odds.proto rename to proto/furya/market/odds.proto index b3d8726..09053ab 100644 --- a/proto/sge/market/odds.proto +++ b/proto/furya/market/odds.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package sgenetwork.sge.market; +package furyanetwork.furya.market; import "gogoproto/gogo.proto"; -option go_package = "github.com/sge-network/sge/x/market/types"; +option go_package = "github.com/furya-network/furya/x/market/types"; // Odds is a representation ofmarket odds. message Odds { diff --git a/proto/sge/market/params.proto b/proto/furya/market/params.proto similarity index 90% rename from proto/sge/market/params.proto rename to proto/furya/market/params.proto index 5655880..b377ee0 100644 --- a/proto/sge/market/params.proto +++ b/proto/furya/market/params.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package sgenetwork.sge.market; +package furyanetwork.furya.market; import "gogoproto/gogo.proto"; -option go_package = "github.com/sge-network/sge/x/market/types"; +option go_package = "github.com/furya-network/furya/x/market/types"; // Params defines the parameters for the module. // It contains bet constraints associated to a market. diff --git a/proto/sge/market/query.proto b/proto/furya/market/query.proto similarity index 84% rename from proto/sge/market/query.proto rename to proto/furya/market/query.proto index 852efdf..5be6ce4 100644 --- a/proto/sge/market/query.proto +++ b/proto/furya/market/query.proto @@ -1,35 +1,35 @@ syntax = "proto3"; -package sgenetwork.sge.market; +package furyanetwork.furya.market; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; -import "sge/market/params.proto"; -import "sge/market/market.proto"; +import "furya/market/params.proto"; +import "furya/market/market.proto"; -option go_package = "github.com/sge-network/sge/x/market/types"; +option go_package = "github.com/furya-network/furya/x/market/types"; // Query defines the gRPC querier service. service Query { // Params queries the parameters of the module. rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/sge/market/params"; + option (google.api.http).get = "/furya/market/params"; } // Queries a market by uid. rpc Market(QueryMarketRequest) returns (QueryMarketResponse) { - option (google.api.http).get = "/sge/market/{uid}"; + option (google.api.http).get = "/furya/market/{uid}"; } // Queries a list of c. rpc Markets(QueryMarketsRequest) returns (QueryMarketsResponse) { - option (google.api.http).get = "/sge/market/markets"; + option (google.api.http).get = "/furya/market/markets"; } // Queries a list of markets by UIDs. rpc MarketsByUIDs(QueryMarketsByUIDsRequest) returns (QueryMarketsByUIDsResponse) { - option (google.api.http).get = "/sge/market/markets_by_uids/{uids}"; + option (google.api.http).get = "/furya/market/markets_by_uids/{uids}"; } } diff --git a/proto/sge/market/stats.proto b/proto/furya/market/stats.proto similarity index 70% rename from proto/sge/market/stats.proto rename to proto/furya/market/stats.proto index 343acb5..4b4cf38 100644 --- a/proto/sge/market/stats.proto +++ b/proto/furya/market/stats.proto @@ -1,7 +1,7 @@ syntax = "proto3"; -package sgenetwork.sge.market; +package furyanetwork.furya.market; -option go_package = "github.com/sge-network/sge/x/market/types"; +option go_package = "github.com/furya-network/furya/x/market/types"; // MarketStats holds statistics of the market message MarketStats { diff --git a/proto/sge/market/ticket.proto b/proto/furya/market/ticket.proto similarity index 95% rename from proto/sge/market/ticket.proto rename to proto/furya/market/ticket.proto index 6b53e08..f3759e5 100644 --- a/proto/sge/market/ticket.proto +++ b/proto/furya/market/ticket.proto @@ -1,12 +1,12 @@ syntax = "proto3"; -package sgenetwork.sge.market; +package furyanetwork.furya.market; -import "sge/market/market.proto"; -import "sge/market/odds.proto"; +import "furya/market/market.proto"; +import "furya/market/odds.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/sge-network/sge/x/market/types"; +option go_package = "github.com/furya-network/furya/x/market/types"; // MarketAddTicketPayload indicates data of add market ticket message MarketAddTicketPayload { diff --git a/proto/sge/market/tx.proto b/proto/furya/market/tx.proto similarity index 93% rename from proto/sge/market/tx.proto rename to proto/furya/market/tx.proto index 9d73f69..d891842 100644 --- a/proto/sge/market/tx.proto +++ b/proto/furya/market/tx.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -package sgenetwork.sge.market; +package furyanetwork.furya.market; import "gogoproto/gogo.proto"; -import "sge/market/market.proto"; +import "furya/market/market.proto"; -option go_package = "github.com/sge-network/sge/x/market/types"; +option go_package = "github.com/furya-network/furya/x/market/types"; // Msg defines the Msg service. service Msg { diff --git a/proto/sge/mint/genesis.proto b/proto/furya/mint/genesis.proto similarity index 68% rename from proto/sge/mint/genesis.proto rename to proto/furya/mint/genesis.proto index 44b04ef..e6faac4 100644 --- a/proto/sge/mint/genesis.proto +++ b/proto/furya/mint/genesis.proto @@ -1,11 +1,11 @@ syntax = "proto3"; -package sgenetwork.sge.mint; +package furyanetwork.furya.mint; import "gogoproto/gogo.proto"; -import "sge/mint/params.proto"; -import "sge/mint/minter.proto"; +import "furya/mint/params.proto"; +import "furya/mint/minter.proto"; -option go_package = "github.com/sge-network/sge/x/mint/types"; +option go_package = "github.com/furya-network/furya/x/mint/types"; // GenesisState defines the mint module's genesis state. message GenesisState { diff --git a/proto/sge/mint/minter.proto b/proto/furya/mint/minter.proto similarity index 89% rename from proto/sge/mint/minter.proto rename to proto/furya/mint/minter.proto index fda7f96..84d85cb 100644 --- a/proto/sge/mint/minter.proto +++ b/proto/furya/mint/minter.proto @@ -1,7 +1,7 @@ syntax = "proto3"; -package sgenetwork.sge.mint; +package furyanetwork.furya.mint; -option go_package = "github.com/sge-network/sge/x/mint/types"; +option go_package = "github.com/furya-network/furya/x/mint/types"; import "gogoproto/gogo.proto"; diff --git a/proto/sge/mint/params.proto b/proto/furya/mint/params.proto similarity index 85% rename from proto/sge/mint/params.proto rename to proto/furya/mint/params.proto index d19a4d9..7d658fd 100644 --- a/proto/sge/mint/params.proto +++ b/proto/furya/mint/params.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -package sgenetwork.sge.mint; +package furyanetwork.furya.mint; import "gogoproto/gogo.proto"; -import "sge/mint/phase.proto"; +import "furya/mint/phase.proto"; -option go_package = "github.com/sge-network/sge/x/mint/types"; +option go_package = "github.com/furya-network/furya/x/mint/types"; // Params define the parameters for the module. message Params { diff --git a/proto/sge/mint/phase.proto b/proto/furya/mint/phase.proto similarity index 86% rename from proto/sge/mint/phase.proto rename to proto/furya/mint/phase.proto index 1617166..56b69a1 100644 --- a/proto/sge/mint/phase.proto +++ b/proto/furya/mint/phase.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package sgenetwork.sge.mint; +package furyanetwork.furya.mint; import "gogoproto/gogo.proto"; -option go_package = "github.com/sge-network/sge/x/mint/types"; +option go_package = "github.com/furya-network/furya/x/mint/types"; // Phase defines the phase parameters for the module. message Phase { diff --git a/proto/sge/mint/query.proto b/proto/furya/mint/query.proto similarity index 94% rename from proto/sge/mint/query.proto rename to proto/furya/mint/query.proto index bb8fac9..466bda9 100644 --- a/proto/sge/mint/query.proto +++ b/proto/furya/mint/query.proto @@ -1,17 +1,17 @@ syntax = "proto3"; -package sgenetwork.sge.mint; +package furyanetwork.furya.mint; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; -import "sge/mint/params.proto"; +import "furya/mint/params.proto"; -option go_package = "github.com/sge-network/sge/x/mint/types"; +option go_package = "github.com/furya-network/furya/x/mint/types"; // Query defines the gRPC querier service. service Query { // Params queries the parameters of the module. rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/sge/mint/params"; + option (google.api.http).get = "/furya/mint/params"; } // Inflation returns the current minting inflation value. diff --git a/proto/sge/strategicreserve/exposure.proto b/proto/furya/strategicreserve/exposure.proto similarity index 94% rename from proto/sge/strategicreserve/exposure.proto rename to proto/furya/strategicreserve/exposure.proto index a5e7576..965a0ff 100644 --- a/proto/sge/strategicreserve/exposure.proto +++ b/proto/furya/strategicreserve/exposure.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package sgenetwork.sge.strategicreserve; +package furyanetwork.furya.strategicreserve; import "gogoproto/gogo.proto"; -option go_package = "github.com/sge-network/sge/x/strategicreserve/types"; +option go_package = "github.com/furya-network/furya/x/strategicreserve/types"; // BookOddsExposure represents the exposures taken on odds message BookOddsExposure { diff --git a/proto/sge/strategicreserve/genesis.proto b/proto/furya/strategicreserve/genesis.proto similarity index 83% rename from proto/sge/strategicreserve/genesis.proto rename to proto/furya/strategicreserve/genesis.proto index 057a339..f268070 100644 --- a/proto/sge/strategicreserve/genesis.proto +++ b/proto/furya/strategicreserve/genesis.proto @@ -1,14 +1,14 @@ syntax = "proto3"; -package sgenetwork.sge.strategicreserve; +package furyanetwork.furya.strategicreserve; import "gogoproto/gogo.proto"; -import "sge/strategicreserve/params.proto"; -import "sge/strategicreserve/orderbook.proto"; -import "sge/strategicreserve/participation.proto"; -import "sge/strategicreserve/stats.proto"; -import "sge/strategicreserve/exposure.proto"; +import "furya/strategicreserve/params.proto"; +import "furya/strategicreserve/orderbook.proto"; +import "furya/strategicreserve/participation.proto"; +import "furya/strategicreserve/stats.proto"; +import "furya/strategicreserve/exposure.proto"; -option go_package = "github.com/sge-network/sge/x/strategicreserve/types"; +option go_package = "github.com/furya-network/furya/x/strategicreserve/types"; // GenesisState defines the strategicreserve module's genesis state. message GenesisState { diff --git a/proto/sge/strategicreserve/orderbook.proto b/proto/furya/strategicreserve/orderbook.proto similarity index 89% rename from proto/sge/strategicreserve/orderbook.proto rename to proto/furya/strategicreserve/orderbook.proto index 5a55b90..d9f1751 100644 --- a/proto/sge/strategicreserve/orderbook.proto +++ b/proto/furya/strategicreserve/orderbook.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package sgenetwork.sge.strategicreserve; +package furyanetwork.furya.strategicreserve; import "gogoproto/gogo.proto"; -option go_package = "github.com/sge-network/sge/x/strategicreserve/types"; +option go_package = "github.com/furya-network/furya/x/strategicreserve/types"; // OrderBook represents the order book maintained against a market. message OrderBook { diff --git a/proto/sge/strategicreserve/params.proto b/proto/furya/strategicreserve/params.proto similarity index 82% rename from proto/sge/strategicreserve/params.proto rename to proto/furya/strategicreserve/params.proto index 6d4629f..5d4f0c9 100644 --- a/proto/sge/strategicreserve/params.proto +++ b/proto/furya/strategicreserve/params.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package sgenetwork.sge.strategicreserve; +package furyanetwork.furya.strategicreserve; import "gogoproto/gogo.proto"; -option go_package = "github.com/sge-network/sge/x/strategicreserve/types"; +option go_package = "github.com/furya-network/furya/x/strategicreserve/types"; // Params defines the parameters for the strategicreserve module. message Params { diff --git a/proto/sge/strategicreserve/participation.proto b/proto/furya/strategicreserve/participation.proto similarity index 97% rename from proto/sge/strategicreserve/participation.proto rename to proto/furya/strategicreserve/participation.proto index e794453..a33d8dc 100644 --- a/proto/sge/strategicreserve/participation.proto +++ b/proto/furya/strategicreserve/participation.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package sgenetwork.sge.strategicreserve; +package furyanetwork.furya.strategicreserve; import "gogoproto/gogo.proto"; -option go_package = "github.com/sge-network/sge/x/strategicreserve/types"; +option go_package = "github.com/furya-network/furya/x/strategicreserve/types"; // BookParticipation represents the participants of an order book. message BookParticipation { diff --git a/proto/sge/strategicreserve/query.proto b/proto/furya/strategicreserve/query.proto similarity index 89% rename from proto/sge/strategicreserve/query.proto rename to proto/furya/strategicreserve/query.proto index 2428eab..de4d3c0 100644 --- a/proto/sge/strategicreserve/query.proto +++ b/proto/furya/strategicreserve/query.proto @@ -1,37 +1,37 @@ syntax = "proto3"; -package sgenetwork.sge.strategicreserve; +package furyanetwork.furya.strategicreserve; import "cosmos/base/query/v1beta1/pagination.proto"; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; -import "sge/strategicreserve/params.proto"; -import "sge/strategicreserve/orderbook.proto"; -import "sge/strategicreserve/participation.proto"; -import "sge/strategicreserve/exposure.proto"; +import "furya/strategicreserve/params.proto"; +import "furya/strategicreserve/orderbook.proto"; +import "furya/strategicreserve/participation.proto"; +import "furya/strategicreserve/exposure.proto"; -option go_package = "github.com/sge-network/sge/x/strategicreserve/types"; +option go_package = "github.com/furya-network/furya/x/strategicreserve/types"; // Query defines the gRPC querier service. service Query { // Params queries the parameters of the module. rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/sge/strategicreserve/params"; + option (google.api.http).get = "/furya/strategicreserve/params"; } // OrderBooks queries all order books that match the given status. rpc OrderBooks(QueryOrderBooksRequest) returns (QueryOrderBooksResponse) { - option (google.api.http).get = "/sge/orderbooks/{status}"; + option (google.api.http).get = "/furya/orderbooks/{status}"; } // OrderBook queries orderbook info for given order book id. rpc OrderBook(QueryOrderBookRequest) returns (QueryOrderBookResponse) { - option (google.api.http).get = "/sge/orderbooks/{book_uid}"; + option (google.api.http).get = "/furya/orderbooks/{book_uid}"; } // BookParticipations queries participation info for given orderbook. rpc BookParticipations(QueryBookParticipationsRequest) returns (QueryBookParticipationsResponse) { - option (google.api.http).get = "/sge/orderbooks/{book_uid}/participations"; + option (google.api.http).get = "/furya/orderbooks/{book_uid}/participations"; } // BookParticipation queries participation info for given orderbook and @@ -39,20 +39,20 @@ service Query { rpc BookParticipation(QueryBookParticipationRequest) returns (QueryBookParticipationResponse) { option (google.api.http).get = - "/sge/orderbooks/{book_uid}/participations/{participation_index}"; + "/furya/orderbooks/{book_uid}/participations/{participation_index}"; } // BookExposures queries exposures info for given orderbook. rpc BookExposures(QueryBookExposuresRequest) returns (QueryBookExposuresResponse) { - option (google.api.http).get = "/sge/orderbooks/{book_uid}/exposures"; + option (google.api.http).get = "/furya/orderbooks/{book_uid}/exposures"; } // BookExposure queries exposure info for given orderbook and odds id. rpc BookExposure(QueryBookExposureRequest) returns (QueryBookExposureResponse) { option (google.api.http).get = - "/sge/orderbooks/{book_uid}/exposures/{odds_uid}"; + "/furya/orderbooks/{book_uid}/exposures/{odds_uid}"; } // ParticipationExposures queries exposures info for given orderbook @@ -60,7 +60,7 @@ service Query { rpc ParticipationExposures(QueryParticipationExposuresRequest) returns (QueryParticipationExposuresResponse) { option (google.api.http).get = - "/sge/orderbooks/{book_uid}/participation-exposures"; + "/furya/orderbooks/{book_uid}/participation-exposures"; } // ParticipationExposure queries exposure info for given orderbook @@ -68,7 +68,7 @@ service Query { rpc ParticipationExposure(QueryParticipationExposureRequest) returns (QueryParticipationExposureResponse) { option (google.api.http).get = - "/sge/orderbooks/{book_uid}/participation-exposures/" + "/furya/orderbooks/{book_uid}/participation-exposures/" "{participation_index}"; } @@ -78,14 +78,14 @@ service Query { QueryHistoricalParticipationExposuresRequest) returns (QueryHistoricalParticipationExposuresResponse) { option (google.api.http).get = - "/sge/orderbooks/{book_uid}/historical-participation-exposures"; + "/furya/orderbooks/{book_uid}/historical-participation-exposures"; } // ParticipationFulfilledBets queries fulfilled bets for given orderbook // participation. rpc ParticipationFulfilledBets(QueryParticipationFulfilledBetsRequest) returns (QueryParticipationFulfilledBetsResponse) { - option (google.api.http).get = "/sge/orderbooks/{book_uid}/participations/" + option (google.api.http).get = "/furya/orderbooks/{book_uid}/participations/" "{participation_index}/fulfilled_bets"; } } diff --git a/proto/sge/strategicreserve/stats.proto b/proto/furya/strategicreserve/stats.proto similarity index 63% rename from proto/sge/strategicreserve/stats.proto rename to proto/furya/strategicreserve/stats.proto index 3baefd1..cdc63ac 100644 --- a/proto/sge/strategicreserve/stats.proto +++ b/proto/furya/strategicreserve/stats.proto @@ -1,7 +1,7 @@ syntax = "proto3"; -package sgenetwork.sge.strategicreserve; +package furyanetwork.furya.strategicreserve; -option go_package = "github.com/sge-network/sge/x/strategicreserve/types"; +option go_package = "github.com/furya-network/furya/x/strategicreserve/types"; // OrderBookStats holds statistics of the order-book message OrderBookStats { diff --git a/scripts/protocgen.sh b/scripts/protocgen.sh index bbb9a5c..a87296c 100755 --- a/scripts/protocgen.sh +++ b/scripts/protocgen.sh @@ -10,7 +10,7 @@ go get github.com/cosmos/cosmos-sdk@v0.45.11 2>/dev/null echo "Generating gogo proto code" cd proto -proto_dirs=$(find ./sge -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq) +proto_dirs=$(find ./furya -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq) for dir in $proto_dirs; do for file in $(find "${dir}" -maxdepth 1 -name '*.proto'); do if grep go_package $file &>/dev/null; then @@ -24,7 +24,7 @@ cd .. # move proto files to the right places # # Note: Proto files are suffixed with the current binary version. -cp -r github.com/sge-network/sge/* ./ +cp -r github.com/furya-network/furya/* ./ rm -rf github.com go mod tidy -compat=1.18 diff --git a/testutil/network/network.go b/testutil/network/network.go index a1f5367..0c48515 100644 --- a/testutil/network/network.go +++ b/testutil/network/network.go @@ -14,7 +14,7 @@ import ( "github.com/cosmos/cosmos-sdk/testutil/network" sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/sge-network/sge/app" + "github.com/furya-network/furya/app" tmrand "github.com/tendermint/tendermint/libs/rand" tmdb "github.com/tendermint/tm-db" ) @@ -55,7 +55,7 @@ func DefaultConfig() network.Config { InterfaceRegistry: encoding.InterfaceRegistry, AccountRetriever: authtypes.AccountRetriever{}, AppConstructor: func(val network.Validator) servertypes.Application { - return app.NewSgeApp( + return app.NewFuryaApp( val.Ctx.Logger, tmdb.NewMemDB(), nil, true, map[int64]bool{}, val.Ctx.Config.RootDir, 0, encoding, sdksimapp.EmptyAppOptions{}, diff --git a/testutil/simapp/simapp.go b/testutil/simapp/simapp.go index c297397..5f06f7d 100644 --- a/testutil/simapp/simapp.go +++ b/testutil/simapp/simapp.go @@ -17,12 +17,12 @@ import ( stakingKeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" "github.com/cosmos/cosmos-sdk/x/staking/teststaking" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/sge-network/sge/app" - "github.com/sge-network/sge/app/params" - "github.com/sge-network/sge/utils" - dvmtypes "github.com/sge-network/sge/x/dvm/types" - mintmoduletypes "github.com/sge-network/sge/x/mint/types" - strategicreservetypes "github.com/sge-network/sge/x/strategicreserve/types" + "github.com/furya-network/furya/app" + "github.com/furya-network/furya/app/params" + "github.com/furya-network/furya/utils" + dvmtypes "github.com/furya-network/furya/x/dvm/types" + mintmoduletypes "github.com/furya-network/furya/x/mint/types" + strategicreservetypes "github.com/furya-network/furya/x/strategicreserve/types" "github.com/spf13/cast" abci "github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/crypto/secp256k1" @@ -32,9 +32,9 @@ import ( tmdb "github.com/tendermint/tm-db" ) -// TestApp is used as a container of the sge app +// TestApp is used as a container of the furya app type TestApp struct { - app.SgeApp + app.FuryaApp } // Options defines options related to simapp initialization @@ -46,12 +46,12 @@ type Options struct { func setup(withGenesis bool, invCheckPeriod uint) (*TestApp, app.GenesisState) { db := tmdb.NewMemDB() encCdc := app.MakeEncodingConfig() - appInstance := app.NewSgeApp(log.NewNopLogger(), db, nil, true, map[int64]bool{}, "", invCheckPeriod, encCdc, + appInstance := app.NewFuryaApp(log.NewNopLogger(), db, nil, true, map[int64]bool{}, "", invCheckPeriod, encCdc, sdksimapp.EmptyAppOptions{}) if withGenesis { - return &TestApp{SgeApp: *appInstance}, app.NewDefaultGenesisState() + return &TestApp{FuryaApp: *appInstance}, app.NewDefaultGenesisState() } - return &TestApp{SgeApp: *appInstance}, app.GenesisState{} + return &TestApp{FuryaApp: *appInstance}, app.GenesisState{} } // Setup initializes genesis the same as simapp diff --git a/testutil/simapp/simapp_test.go b/testutil/simapp/simapp_test.go index 3bf91d9..7f3b027 100644 --- a/testutil/simapp/simapp_test.go +++ b/testutil/simapp/simapp_test.go @@ -3,7 +3,7 @@ package simapp_test import ( "testing" - simappUtil "github.com/sge-network/sge/testutil/simapp" + simappUtil "github.com/furya-network/furya/testutil/simapp" "github.com/stretchr/testify/require" ) diff --git a/testutil/simapp/test_helpers.go b/testutil/simapp/test_helpers.go index 0214d34..49e2a5e 100644 --- a/testutil/simapp/test_helpers.go +++ b/testutil/simapp/test_helpers.go @@ -9,7 +9,7 @@ import ( cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/errors" - minttypes "github.com/sge-network/sge/x/mint/types" + minttypes "github.com/furya-network/furya/x/mint/types" "github.com/spf13/cast" ) diff --git a/x/bet/abci.go b/x/bet/abci.go index 9c6c69e..130ab1e 100644 --- a/x/bet/abci.go +++ b/x/bet/abci.go @@ -4,7 +4,7 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/bet/keeper" + "github.com/furya-network/furya/x/bet/keeper" ) // EndBlocker settles the active bets of resolved markets diff --git a/x/bet/client/cli/query.go b/x/bet/client/cli/query.go index cbce6d8..985f9f7 100644 --- a/x/bet/client/cli/query.go +++ b/x/bet/client/cli/query.go @@ -10,7 +10,7 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" // sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/x/bet/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/bet/client/cli/query_bet.go b/x/bet/client/cli/query_bet.go index b4253f5..389a7b6 100644 --- a/x/bet/client/cli/query_bet.go +++ b/x/bet/client/cli/query_bet.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/x/bet/types" "github.com/spf13/cobra" ) diff --git a/x/bet/client/cli/query_bet_test.go b/x/bet/client/cli/query_bet_test.go index 0c45541..668831c 100644 --- a/x/bet/client/cli/query_bet_test.go +++ b/x/bet/client/cli/query_bet_test.go @@ -16,12 +16,12 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/sge-network/sge/testutil/network" - "github.com/sge-network/sge/testutil/nullify" - simappUtil "github.com/sge-network/sge/testutil/simapp" - "github.com/sge-network/sge/x/bet/client/cli" - "github.com/sge-network/sge/x/bet/types" - markettypes "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/testutil/network" + "github.com/furya-network/furya/testutil/nullify" + simappUtil "github.com/furya-network/furya/testutil/simapp" + "github.com/furya-network/furya/x/bet/client/cli" + "github.com/furya-network/furya/x/bet/types" + markettypes "github.com/furya-network/furya/x/market/types" ) const testMarketUID = "5db09053-2901-4110-8fb5-c14e21f8d555" diff --git a/x/bet/client/cli/query_params.go b/x/bet/client/cli/query_params.go index 747f19c..9b67acf 100644 --- a/x/bet/client/cli/query_params.go +++ b/x/bet/client/cli/query_params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/x/bet/types" "github.com/spf13/cobra" ) diff --git a/x/bet/client/cli/query_test.go b/x/bet/client/cli/query_test.go index 3f3008a..12801e6 100644 --- a/x/bet/client/cli/query_test.go +++ b/x/bet/client/cli/query_test.go @@ -5,8 +5,8 @@ import ( "testing" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/sge-network/sge/testutil/network" - "github.com/sge-network/sge/x/bet/client/cli" + "github.com/furya-network/furya/testutil/network" + "github.com/furya-network/furya/x/bet/client/cli" "github.com/stretchr/testify/require" ) diff --git a/x/bet/client/cli/tx.go b/x/bet/client/cli/tx.go index b7e0d3a..6f333f8 100644 --- a/x/bet/client/cli/tx.go +++ b/x/bet/client/cli/tx.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" // "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/x/bet/types" ) const ( diff --git a/x/bet/client/cli/tx_bet.go b/x/bet/client/cli/tx_bet.go index 7c853db..80593f7 100644 --- a/x/bet/client/cli/tx_bet.go +++ b/x/bet/client/cli/tx_bet.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/x/bet/types" "github.com/spf13/cobra" ) diff --git a/x/bet/client/cli/tx_bet_test.go b/x/bet/client/cli/tx_bet_test.go index e8f1db8..891789b 100644 --- a/x/bet/client/cli/tx_bet_test.go +++ b/x/bet/client/cli/tx_bet_test.go @@ -9,8 +9,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/sge-network/sge/testutil/network" - "github.com/sge-network/sge/x/bet/client/cli" + "github.com/furya-network/furya/testutil/network" + "github.com/furya-network/furya/x/bet/client/cli" ) func TestTXBetCLI(t *testing.T) { diff --git a/x/bet/client/cli/tx_test.go b/x/bet/client/cli/tx_test.go index e88aaca..cd7801e 100644 --- a/x/bet/client/cli/tx_test.go +++ b/x/bet/client/cli/tx_test.go @@ -5,8 +5,8 @@ import ( "testing" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/sge-network/sge/testutil/network" - "github.com/sge-network/sge/x/bet/client/cli" + "github.com/furya-network/furya/testutil/network" + "github.com/furya-network/furya/x/bet/client/cli" "github.com/stretchr/testify/require" ) diff --git a/x/bet/genesis.go b/x/bet/genesis.go index e447c37..6941058 100644 --- a/x/bet/genesis.go +++ b/x/bet/genesis.go @@ -2,8 +2,8 @@ package bet import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/bet/keeper" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/x/bet/keeper" + "github.com/furya-network/furya/x/bet/types" ) // InitGenesis initializes the module's state from a provided genesis diff --git a/x/bet/genesis_test.go b/x/bet/genesis_test.go index 7ffbc43..f375fbd 100644 --- a/x/bet/genesis_test.go +++ b/x/bet/genesis_test.go @@ -3,10 +3,10 @@ package bet_test import ( "testing" - "github.com/sge-network/sge/testutil/nullify" - simappUtil "github.com/sge-network/sge/testutil/simapp" - "github.com/sge-network/sge/x/bet" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/testutil/nullify" + simappUtil "github.com/furya-network/furya/testutil/simapp" + "github.com/furya-network/furya/x/bet" + "github.com/furya-network/furya/x/bet/types" "github.com/stretchr/testify/require" ) diff --git a/x/bet/handler.go b/x/bet/handler.go index 6a4fe91..5f73492 100644 --- a/x/bet/handler.go +++ b/x/bet/handler.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/sge-network/sge/x/bet/keeper" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/x/bet/keeper" + "github.com/furya-network/furya/x/bet/types" ) // NewHandler returns sdk.handler instance with configured message handler function diff --git a/x/bet/keeper/bet.go b/x/bet/keeper/bet.go index 5e60bfe..6adbc6c 100644 --- a/x/bet/keeper/bet.go +++ b/x/bet/keeper/bet.go @@ -3,8 +3,8 @@ package keeper import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/utils" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/utils" + "github.com/furya-network/furya/x/bet/types" ) // SetBet sets a specific bet in the store diff --git a/x/bet/keeper/bet_test.go b/x/bet/keeper/bet_test.go index 6b2e655..bc6cec7 100644 --- a/x/bet/keeper/bet_test.go +++ b/x/bet/keeper/bet_test.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/spf13/cast" - "github.com/sge-network/sge/testutil/nullify" - simappUtil "github.com/sge-network/sge/testutil/simapp" - "github.com/sge-network/sge/x/bet/keeper" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/testutil/nullify" + simappUtil "github.com/furya-network/furya/testutil/simapp" + "github.com/furya-network/furya/x/bet/keeper" + "github.com/furya-network/furya/x/bet/types" "github.com/stretchr/testify/require" ) diff --git a/x/bet/keeper/export_test.go b/x/bet/keeper/export_test.go index 2c0c47f..21110dc 100644 --- a/x/bet/keeper/export_test.go +++ b/x/bet/keeper/export_test.go @@ -1,8 +1,8 @@ package keeper import ( - "github.com/sge-network/sge/x/bet/types" - markettypes "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/bet/types" + markettypes "github.com/furya-network/furya/x/market/types" ) // KeeperTest is a wrapper object for the keeper, It is being used diff --git a/x/bet/keeper/grpc_query.go b/x/bet/keeper/grpc_query.go index b1e9023..41b2864 100644 --- a/x/bet/keeper/grpc_query.go +++ b/x/bet/keeper/grpc_query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/x/bet/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/bet/keeper/grpc_query_bet.go b/x/bet/keeper/grpc_query_bet.go index b23054f..2ae5adc 100644 --- a/x/bet/keeper/grpc_query_bet.go +++ b/x/bet/keeper/grpc_query_bet.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - "github.com/sge-network/sge/consts" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/consts" + "github.com/furya-network/furya/x/bet/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/bet/keeper/grpc_query_bet_test.go b/x/bet/keeper/grpc_query_bet_test.go index 8417dc6..b04680f 100644 --- a/x/bet/keeper/grpc_query_bet_test.go +++ b/x/bet/keeper/grpc_query_bet_test.go @@ -10,10 +10,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/sge-network/sge/consts" - "github.com/sge-network/sge/testutil/nullify" - simappUtil "github.com/sge-network/sge/testutil/simapp" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/consts" + "github.com/furya-network/furya/testutil/nullify" + simappUtil "github.com/furya-network/furya/testutil/simapp" + "github.com/furya-network/furya/x/bet/types" ) func TestBetQuerySingle(t *testing.T) { diff --git a/x/bet/keeper/grpc_query_params.go b/x/bet/keeper/grpc_query_params.go index 5898843..4a3d30d 100644 --- a/x/bet/keeper/grpc_query_params.go +++ b/x/bet/keeper/grpc_query_params.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/x/bet/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/bet/keeper/keeper.go b/x/bet/keeper/keeper.go index 423fd34..480d4cf 100644 --- a/x/bet/keeper/keeper.go +++ b/x/bet/keeper/keeper.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/x/bet/types" ) // Keeper is the type for module properties diff --git a/x/bet/keeper/keeper_test.go b/x/bet/keeper/keeper_test.go index fa4e343..bd28dba 100644 --- a/x/bet/keeper/keeper_test.go +++ b/x/bet/keeper/keeper_test.go @@ -9,11 +9,11 @@ import ( "github.com/spf13/cast" sdk "github.com/cosmos/cosmos-sdk/types" - simappUtil "github.com/sge-network/sge/testutil/simapp" - "github.com/sge-network/sge/x/bet/keeper" - "github.com/sge-network/sge/x/bet/types" - marketkeeper "github.com/sge-network/sge/x/market/keeper" - markettypes "github.com/sge-network/sge/x/market/types" + simappUtil "github.com/furya-network/furya/testutil/simapp" + "github.com/furya-network/furya/x/bet/keeper" + "github.com/furya-network/furya/x/bet/types" + marketkeeper "github.com/furya-network/furya/x/market/keeper" + markettypes "github.com/furya-network/furya/x/market/types" "github.com/stretchr/testify/require" ) diff --git a/x/bet/keeper/msg_server.go b/x/bet/keeper/msg_server.go index 5240295..5959d88 100644 --- a/x/bet/keeper/msg_server.go +++ b/x/bet/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/x/bet/types" ) type msgServer struct { diff --git a/x/bet/keeper/msg_server_bet.go b/x/bet/keeper/msg_server_bet.go index a389c97..499adbf 100644 --- a/x/bet/keeper/msg_server_bet.go +++ b/x/bet/keeper/msg_server_bet.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/x/bet/types" ) func (k msgServer) PlaceBet(goCtx context.Context, msg *types.MsgPlaceBet) (*types.MsgPlaceBetResponse, error) { diff --git a/x/bet/keeper/msg_server_bet_test.go b/x/bet/keeper/msg_server_bet_test.go index 9dbaf74..a14f31a 100644 --- a/x/bet/keeper/msg_server_bet_test.go +++ b/x/bet/keeper/msg_server_bet_test.go @@ -7,10 +7,10 @@ import ( "github.com/golang-jwt/jwt" "github.com/stretchr/testify/require" - simappUtil "github.com/sge-network/sge/testutil/simapp" - "github.com/sge-network/sge/x/bet/types" + simappUtil "github.com/furya-network/furya/testutil/simapp" + "github.com/furya-network/furya/x/bet/types" - markettypes "github.com/sge-network/sge/x/market/types" + markettypes "github.com/furya-network/furya/x/market/types" ) func TestBetMsgServerPlaceBet(t *testing.T) { diff --git a/x/bet/keeper/msg_server_test.go b/x/bet/keeper/msg_server_test.go index 5dfdc6b..a11b5f9 100644 --- a/x/bet/keeper/msg_server_test.go +++ b/x/bet/keeper/msg_server_test.go @@ -6,9 +6,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - simappUtil "github.com/sge-network/sge/testutil/simapp" - "github.com/sge-network/sge/x/bet/keeper" - "github.com/sge-network/sge/x/bet/types" + simappUtil "github.com/furya-network/furya/testutil/simapp" + "github.com/furya-network/furya/x/bet/keeper" + "github.com/furya-network/furya/x/bet/types" ) func setupMsgServerAndApp(t testing.TB) (*simappUtil.TestApp, *keeper.KeeperTest, types.MsgServer, sdk.Context, context.Context) { diff --git a/x/bet/keeper/params.go b/x/bet/keeper/params.go index 13f1bd2..7d1ddf1 100644 --- a/x/bet/keeper/params.go +++ b/x/bet/keeper/params.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/x/bet/types" ) // GetParams get all parameters as types.Params diff --git a/x/bet/keeper/params_test.go b/x/bet/keeper/params_test.go index 054ae9b..5ac0af6 100644 --- a/x/bet/keeper/params_test.go +++ b/x/bet/keeper/params_test.go @@ -3,7 +3,7 @@ package keeper_test import ( "testing" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/x/bet/types" "github.com/stretchr/testify/require" ) diff --git a/x/bet/keeper/place_bet.go b/x/bet/keeper/place_bet.go index 7e79de0..5009731 100644 --- a/x/bet/keeper/place_bet.go +++ b/x/bet/keeper/place_bet.go @@ -3,8 +3,8 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/sge-network/sge/x/bet/types" - markettypes "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/bet/types" + markettypes "github.com/furya-network/furya/x/market/types" "github.com/spf13/cast" ) diff --git a/x/bet/keeper/place_bet_test.go b/x/bet/keeper/place_bet_test.go index 8456191..5860ba1 100644 --- a/x/bet/keeper/place_bet_test.go +++ b/x/bet/keeper/place_bet_test.go @@ -6,9 +6,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - simappUtil "github.com/sge-network/sge/testutil/simapp" - "github.com/sge-network/sge/x/bet/types" - markettypes "github.com/sge-network/sge/x/market/types" + simappUtil "github.com/furya-network/furya/testutil/simapp" + "github.com/furya-network/furya/x/bet/types" + markettypes "github.com/furya-network/furya/x/market/types" "github.com/stretchr/testify/require" ) diff --git a/x/bet/keeper/settle_bet.go b/x/bet/keeper/settle_bet.go index 0a6cf31..d63f949 100644 --- a/x/bet/keeper/settle_bet.go +++ b/x/bet/keeper/settle_bet.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/sge-network/sge/x/bet/types" - markettypes "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/bet/types" + markettypes "github.com/furya-network/furya/x/market/types" ) // singlePageNum used to return single page result in pagination. diff --git a/x/bet/keeper/settle_bet_test.go b/x/bet/keeper/settle_bet_test.go index 231fef7..15f67ea 100644 --- a/x/bet/keeper/settle_bet_test.go +++ b/x/bet/keeper/settle_bet_test.go @@ -6,9 +6,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/google/uuid" - simappUtil "github.com/sge-network/sge/testutil/simapp" - "github.com/sge-network/sge/x/bet/types" - markettypes "github.com/sge-network/sge/x/market/types" + simappUtil "github.com/furya-network/furya/testutil/simapp" + "github.com/furya-network/furya/x/bet/types" + markettypes "github.com/furya-network/furya/x/market/types" "github.com/stretchr/testify/require" ) diff --git a/x/bet/keeper/stats.go b/x/bet/keeper/stats.go index 881e183..7f8ff6e 100644 --- a/x/bet/keeper/stats.go +++ b/x/bet/keeper/stats.go @@ -2,8 +2,8 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/utils" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/utils" + "github.com/furya-network/furya/x/bet/types" ) // SetBetStats sets bet statistics in the store diff --git a/x/bet/keeper/view.go b/x/bet/keeper/view.go index 5292556..5710335 100644 --- a/x/bet/keeper/view.go +++ b/x/bet/keeper/view.go @@ -3,7 +3,7 @@ package keeper import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/x/bet/types" ) // getBetStore returns bet store ready for iterating diff --git a/x/bet/module.go b/x/bet/module.go index 95190ca..2cc15a4 100644 --- a/x/bet/module.go +++ b/x/bet/module.go @@ -16,9 +16,9 @@ import ( cdctypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/sge-network/sge/x/bet/client/cli" - "github.com/sge-network/sge/x/bet/keeper" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/x/bet/client/cli" + "github.com/furya-network/furya/x/bet/keeper" + "github.com/furya-network/furya/x/bet/types" ) var ( diff --git a/x/bet/module_simulation.go b/x/bet/module_simulation.go index 18f3d48..146a5b6 100644 --- a/x/bet/module_simulation.go +++ b/x/bet/module_simulation.go @@ -10,9 +10,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/sge-network/sge/testutil/sample" - betsimulation "github.com/sge-network/sge/x/bet/simulation" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/testutil/sample" + betsimulation "github.com/furya-network/furya/x/bet/simulation" + "github.com/furya-network/furya/x/bet/types" ) // avoid unused import issue diff --git a/x/bet/simulation/bet.go b/x/bet/simulation/bet.go index 5239b7e..4e18e57 100644 --- a/x/bet/simulation/bet.go +++ b/x/bet/simulation/bet.go @@ -9,8 +9,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/sge-network/sge/x/bet/keeper" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/x/bet/keeper" + "github.com/furya-network/furya/x/bet/types" "github.com/spf13/cast" ) diff --git a/x/bet/types/bet.pb.go b/x/bet/types/bet.pb.go index 1074515..f5c992c 100644 --- a/x/bet/types/bet.pb.go +++ b/x/bet/types/bet.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/bet/bet.proto +// source: furya/bet/bet.proto package types @@ -124,7 +124,7 @@ type Bet struct { OddsUID string `protobuf:"bytes,3,opt,name=odds_uid,proto3" json:"odds_uid"` // odds_type is the type of odds that // user choose such as decimal, fractional. - OddsType OddsType `protobuf:"varint,4,opt,name=odds_type,json=oddsType,proto3,enum=sgenetwork.sge.bet.OddsType" json:"odds_type,omitempty"` + OddsType OddsType `protobuf:"varint,4,opt,name=odds_type,json=oddsType,proto3,enum=furyanetwork.furya.bet.OddsType" json:"odds_type,omitempty"` // odds_value is the odds on which the bet is placed. OddsValue string `protobuf:"bytes,5,opt,name=odds_value,json=oddsValue,proto3" json:"odds_value,omitempty"` // amount is the wager amount. @@ -132,9 +132,9 @@ type Bet struct { // bet_fee is the betting fee calculated by the bet amount. BetFee github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,7,opt,name=bet_fee,json=betFee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"bet_fee"` // status is the status of the bet, such as `unspecified` or `settled`. - Status Bet_Status `protobuf:"varint,8,opt,name=status,proto3,enum=sgenetwork.sge.bet.Bet_Status" json:"status,omitempty"` + Status Bet_Status `protobuf:"varint,8,opt,name=status,proto3,enum=furyanetwork.furya.bet.Bet_Status" json:"status,omitempty"` // result is the result of the bet, such as `won` or `lost`. - Result Bet_Result `protobuf:"varint,9,opt,name=result,proto3,enum=sgenetwork.sge.bet.Bet_Result" json:"result,omitempty"` + Result Bet_Result `protobuf:"varint,9,opt,name=result,proto3,enum=furyanetwork.furya.bet.Bet_Result" json:"result,omitempty"` // creator is the bettor address. Creator string `protobuf:"bytes,10,opt,name=creator,proto3" json:"creator,omitempty"` // created_at is the bet placement timestamp. @@ -483,16 +483,16 @@ func (m *BetFulfillment) GetParticipationIndex() uint64 { } func init() { - proto.RegisterEnum("sgenetwork.sge.bet.Bet_Status", Bet_Status_name, Bet_Status_value) - proto.RegisterEnum("sgenetwork.sge.bet.Bet_Result", Bet_Result_name, Bet_Result_value) - proto.RegisterType((*Bet)(nil), "sgenetwork.sge.bet.Bet") - proto.RegisterType((*UID2ID)(nil), "sgenetwork.sge.bet.UID2ID") - proto.RegisterType((*ActiveBet)(nil), "sgenetwork.sge.bet.ActiveBet") - proto.RegisterType((*SettledBet)(nil), "sgenetwork.sge.bet.SettledBet") - proto.RegisterType((*BetFulfillment)(nil), "sgenetwork.sge.bet.BetFulfillment") + proto.RegisterEnum("furyanetwork.furya.bet.Bet_Status", Bet_Status_name, Bet_Status_value) + proto.RegisterEnum("furyanetwork.furya.bet.Bet_Result", Bet_Result_name, Bet_Result_value) + proto.RegisterType((*Bet)(nil), "furyanetwork.furya.bet.Bet") + proto.RegisterType((*UID2ID)(nil), "furyanetwork.furya.bet.UID2ID") + proto.RegisterType((*ActiveBet)(nil), "furyanetwork.furya.bet.ActiveBet") + proto.RegisterType((*SettledBet)(nil), "furyanetwork.furya.bet.SettledBet") + proto.RegisterType((*BetFulfillment)(nil), "furyanetwork.furya.bet.BetFulfillment") } -func init() { proto.RegisterFile("sge/bet/bet.proto", fileDescriptor_9bc076bb1a4d9f6e) } +func init() { proto.RegisterFile("furya/bet/bet.proto", fileDescriptor_9bc076bb1a4d9f6e) } var fileDescriptor_9bc076bb1a4d9f6e = []byte{ // 875 bytes of a gzipped FileDescriptorProto diff --git a/x/bet/types/bet_odds.pb.go b/x/bet/types/bet_odds.pb.go index 8e4e3d4..120f79b 100644 --- a/x/bet/types/bet_odds.pb.go +++ b/x/bet/types/bet_odds.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/bet/bet_odds.proto +// source: furya/bet/bet_odds.proto package types @@ -94,10 +94,10 @@ func (m *BetOdds) GetValue() string { } func init() { - proto.RegisterType((*BetOdds)(nil), "sgenetwork.sge.bet.BetOdds") + proto.RegisterType((*BetOdds)(nil), "furyanetwork.furya.bet.BetOdds") } -func init() { proto.RegisterFile("sge/bet/bet_odds.proto", fileDescriptor_2629a03d0a23fb04) } +func init() { proto.RegisterFile("furya/bet/bet_odds.proto", fileDescriptor_2629a03d0a23fb04) } var fileDescriptor_2629a03d0a23fb04 = []byte{ // 311 bytes of a gzipped FileDescriptorProto diff --git a/x/bet/types/expected_keepers.go b/x/bet/types/expected_keepers.go index b5bd86a..b0bb5c4 100644 --- a/x/bet/types/expected_keepers.go +++ b/x/bet/types/expected_keepers.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth/types" - markettypes "github.com/sge-network/sge/x/market/types" + markettypes "github.com/furya-network/furya/x/market/types" ) // AccountKeeper defines the expected account keeper used for simulations (noalias) diff --git a/x/bet/types/genesis.go b/x/bet/types/genesis.go index d44293a..be032ea 100644 --- a/x/bet/types/genesis.go +++ b/x/bet/types/genesis.go @@ -3,7 +3,7 @@ package types import ( "fmt" - "github.com/sge-network/sge/utils" + "github.com/furya-network/furya/utils" ) // DefaultUID is the default global uid diff --git a/x/bet/types/genesis.pb.go b/x/bet/types/genesis.pb.go index 4f9c83e..ed4b03a 100644 --- a/x/bet/types/genesis.pb.go +++ b/x/bet/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/bet/genesis.proto +// source: furya/bet/genesis.proto package types @@ -115,10 +115,10 @@ func (m *GenesisState) GetStats() BetStats { } func init() { - proto.RegisterType((*GenesisState)(nil), "sgenetwork.sge.bet.GenesisState") + proto.RegisterType((*GenesisState)(nil), "furyanetwork.furya.bet.GenesisState") } -func init() { proto.RegisterFile("sge/bet/genesis.proto", fileDescriptor_6c49ebc0f2678a09) } +func init() { proto.RegisterFile("furya/bet/genesis.proto", fileDescriptor_6c49ebc0f2678a09) } var fileDescriptor_6c49ebc0f2678a09 = []byte{ // 351 bytes of a gzipped FileDescriptorProto diff --git a/x/bet/types/genesis_test.go b/x/bet/types/genesis_test.go index 653452d..bbded45 100644 --- a/x/bet/types/genesis_test.go +++ b/x/bet/types/genesis_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/google/uuid" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/x/bet/types" "github.com/stretchr/testify/require" ) diff --git a/x/bet/types/keys.go b/x/bet/types/keys.go index c2e2b14..5255998 100644 --- a/x/bet/types/keys.go +++ b/x/bet/types/keys.go @@ -3,7 +3,7 @@ package types import ( "encoding/binary" - "github.com/sge-network/sge/utils" + "github.com/furya-network/furya/utils" ) var _ binary.ByteOrder diff --git a/x/bet/types/kyc.pb.go b/x/bet/types/kyc.pb.go index 8a68773..c6924c2 100644 --- a/x/bet/types/kyc.pb.go +++ b/x/bet/types/kyc.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/bet/kyc.proto +// source: furya/bet/kyc.proto package types @@ -88,10 +88,10 @@ func (m *KycDataPayload) GetID() string { } func init() { - proto.RegisterType((*KycDataPayload)(nil), "sgenetwork.sge.bet.KycDataPayload") + proto.RegisterType((*KycDataPayload)(nil), "furyanetwork.furya.bet.KycDataPayload") } -func init() { proto.RegisterFile("sge/bet/kyc.proto", fileDescriptor_13abc80c3002dbc4) } +func init() { proto.RegisterFile("furya/bet/kyc.proto", fileDescriptor_13abc80c3002dbc4) } var fileDescriptor_13abc80c3002dbc4 = []byte{ // 224 bytes of a gzipped FileDescriptorProto diff --git a/x/bet/types/messages_bet_test.go b/x/bet/types/messages_bet_test.go index 50662eb..72e4371 100644 --- a/x/bet/types/messages_bet_test.go +++ b/x/bet/types/messages_bet_test.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/sge-network/sge/testutil/sample" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/testutil/sample" + "github.com/furya-network/furya/x/bet/types" "github.com/stretchr/testify/require" ) diff --git a/x/bet/types/odds_type.pb.go b/x/bet/types/odds_type.pb.go index 1bac8cb..50a0446 100644 --- a/x/bet/types/odds_type.pb.go +++ b/x/bet/types/odds_type.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/bet/odds_type.proto +// source: furya/bet/odds_type.proto package types @@ -57,10 +57,10 @@ func (OddsType) EnumDescriptor() ([]byte, []int) { } func init() { - proto.RegisterEnum("sgenetwork.sge.bet.OddsType", OddsType_name, OddsType_value) + proto.RegisterEnum("furyanetwork.furya.bet.OddsType", OddsType_name, OddsType_value) } -func init() { proto.RegisterFile("sge/bet/odds_type.proto", fileDescriptor_9054da535c81741c) } +func init() { proto.RegisterFile("furya/bet/odds_type.proto", fileDescriptor_9054da535c81741c) } var fileDescriptor_9054da535c81741c = []byte{ // 219 bytes of a gzipped FileDescriptorProto diff --git a/x/bet/types/params.pb.go b/x/bet/types/params.pb.go index bf00889..ce19ac7 100644 --- a/x/bet/types/params.pb.go +++ b/x/bet/types/params.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/bet/params.proto +// source: furya/bet/params.proto package types @@ -69,10 +69,10 @@ func (m *Params) GetBatchSettlementCount() uint32 { } func init() { - proto.RegisterType((*Params)(nil), "sgenetwork.sge.bet.Params") + proto.RegisterType((*Params)(nil), "furyanetwork.furya.bet.Params") } -func init() { proto.RegisterFile("sge/bet/params.proto", fileDescriptor_4216d2638a14c9d3) } +func init() { proto.RegisterFile("furya/bet/params.proto", fileDescriptor_4216d2638a14c9d3) } var fileDescriptor_4216d2638a14c9d3 = []byte{ // 197 bytes of a gzipped FileDescriptorProto diff --git a/x/bet/types/payout_test.go b/x/bet/types/payout_test.go index 2b9e30a..2d8c7a2 100644 --- a/x/bet/types/payout_test.go +++ b/x/bet/types/payout_test.go @@ -4,7 +4,7 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/x/bet/types" "github.com/stretchr/testify/require" ) diff --git a/x/bet/types/place_bet_fields.pb.go b/x/bet/types/place_bet_fields.pb.go index 7b2d064..7af6b19 100644 --- a/x/bet/types/place_bet_fields.pb.go +++ b/x/bet/types/place_bet_fields.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/bet/place_bet_fields.proto +// source: furya/bet/place_bet_fields.proto package types @@ -82,10 +82,10 @@ func (m *PlaceBetFields) GetTicket() string { } func init() { - proto.RegisterType((*PlaceBetFields)(nil), "sgenetwork.sge.bet.PlaceBetFields") + proto.RegisterType((*PlaceBetFields)(nil), "furyanetwork.furya.bet.PlaceBetFields") } -func init() { proto.RegisterFile("sge/bet/place_bet_fields.proto", fileDescriptor_d186d55bc7cfa5da) } +func init() { proto.RegisterFile("furya/bet/place_bet_fields.proto", fileDescriptor_d186d55bc7cfa5da) } var fileDescriptor_d186d55bc7cfa5da = []byte{ // 260 bytes of a gzipped FileDescriptorProto diff --git a/x/bet/types/query.pb.go b/x/bet/types/query.pb.go index f67a85d..7fde9a2 100644 --- a/x/bet/types/query.pb.go +++ b/x/bet/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/bet/query.proto +// source: furya/bet/query.proto package types @@ -10,7 +10,7 @@ import ( _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" - types "github.com/sge-network/sge/x/market/types" + types "github.com/furya-network/furya/x/market/types" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -750,23 +750,23 @@ func (m *QuerySettledBetsOfHeightResponse) GetPagination() *query.PageResponse { } func init() { - proto.RegisterType((*QueryParamsRequest)(nil), "sgenetwork.sge.bet.QueryParamsRequest") - proto.RegisterType((*QueryParamsResponse)(nil), "sgenetwork.sge.bet.QueryParamsResponse") - proto.RegisterType((*QueryBetRequest)(nil), "sgenetwork.sge.bet.QueryBetRequest") - proto.RegisterType((*QueryBetResponse)(nil), "sgenetwork.sge.bet.QueryBetResponse") - proto.RegisterType((*QueryBetsRequest)(nil), "sgenetwork.sge.bet.QueryBetsRequest") - proto.RegisterType((*QueryBetsResponse)(nil), "sgenetwork.sge.bet.QueryBetsResponse") - proto.RegisterType((*QueryBetsByCreatorRequest)(nil), "sgenetwork.sge.bet.QueryBetsByCreatorRequest") - proto.RegisterType((*QueryBetsByCreatorResponse)(nil), "sgenetwork.sge.bet.QueryBetsByCreatorResponse") - proto.RegisterType((*QueryBetsByUIDsRequest)(nil), "sgenetwork.sge.bet.QueryBetsByUIDsRequest") - proto.RegisterType((*QueryBetsByUIDsResponse)(nil), "sgenetwork.sge.bet.QueryBetsByUIDsResponse") - proto.RegisterType((*QueryActiveBetsRequest)(nil), "sgenetwork.sge.bet.QueryActiveBetsRequest") - proto.RegisterType((*QueryActiveBetsResponse)(nil), "sgenetwork.sge.bet.QueryActiveBetsResponse") - proto.RegisterType((*QuerySettledBetsOfHeightRequest)(nil), "sgenetwork.sge.bet.QuerySettledBetsOfHeightRequest") - proto.RegisterType((*QuerySettledBetsOfHeightResponse)(nil), "sgenetwork.sge.bet.QuerySettledBetsOfHeightResponse") -} - -func init() { proto.RegisterFile("sge/bet/query.proto", fileDescriptor_9b93ca36013f0806) } + proto.RegisterType((*QueryParamsRequest)(nil), "furyanetwork.furya.bet.QueryParamsRequest") + proto.RegisterType((*QueryParamsResponse)(nil), "furyanetwork.furya.bet.QueryParamsResponse") + proto.RegisterType((*QueryBetRequest)(nil), "furyanetwork.furya.bet.QueryBetRequest") + proto.RegisterType((*QueryBetResponse)(nil), "furyanetwork.furya.bet.QueryBetResponse") + proto.RegisterType((*QueryBetsRequest)(nil), "furyanetwork.furya.bet.QueryBetsRequest") + proto.RegisterType((*QueryBetsResponse)(nil), "furyanetwork.furya.bet.QueryBetsResponse") + proto.RegisterType((*QueryBetsByCreatorRequest)(nil), "furyanetwork.furya.bet.QueryBetsByCreatorRequest") + proto.RegisterType((*QueryBetsByCreatorResponse)(nil), "furyanetwork.furya.bet.QueryBetsByCreatorResponse") + proto.RegisterType((*QueryBetsByUIDsRequest)(nil), "furyanetwork.furya.bet.QueryBetsByUIDsRequest") + proto.RegisterType((*QueryBetsByUIDsResponse)(nil), "furyanetwork.furya.bet.QueryBetsByUIDsResponse") + proto.RegisterType((*QueryActiveBetsRequest)(nil), "furyanetwork.furya.bet.QueryActiveBetsRequest") + proto.RegisterType((*QueryActiveBetsResponse)(nil), "furyanetwork.furya.bet.QueryActiveBetsResponse") + proto.RegisterType((*QuerySettledBetsOfHeightRequest)(nil), "furyanetwork.furya.bet.QuerySettledBetsOfHeightRequest") + proto.RegisterType((*QuerySettledBetsOfHeightResponse)(nil), "furyanetwork.furya.bet.QuerySettledBetsOfHeightResponse") +} + +func init() { proto.RegisterFile("furya/bet/query.proto", fileDescriptor_9b93ca36013f0806) } var fileDescriptor_9b93ca36013f0806 = []byte{ // 881 bytes of a gzipped FileDescriptorProto @@ -866,7 +866,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { out := new(QueryParamsResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.bet.Query/Params", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.bet.Query/Params", in, out, opts...) if err != nil { return nil, err } @@ -875,7 +875,7 @@ func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts . func (c *queryClient) Bet(ctx context.Context, in *QueryBetRequest, opts ...grpc.CallOption) (*QueryBetResponse, error) { out := new(QueryBetResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.bet.Query/Bet", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.bet.Query/Bet", in, out, opts...) if err != nil { return nil, err } @@ -884,7 +884,7 @@ func (c *queryClient) Bet(ctx context.Context, in *QueryBetRequest, opts ...grpc func (c *queryClient) BetsByCreator(ctx context.Context, in *QueryBetsByCreatorRequest, opts ...grpc.CallOption) (*QueryBetsByCreatorResponse, error) { out := new(QueryBetsByCreatorResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.bet.Query/BetsByCreator", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.bet.Query/BetsByCreator", in, out, opts...) if err != nil { return nil, err } @@ -893,7 +893,7 @@ func (c *queryClient) BetsByCreator(ctx context.Context, in *QueryBetsByCreatorR func (c *queryClient) Bets(ctx context.Context, in *QueryBetsRequest, opts ...grpc.CallOption) (*QueryBetsResponse, error) { out := new(QueryBetsResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.bet.Query/Bets", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.bet.Query/Bets", in, out, opts...) if err != nil { return nil, err } @@ -902,7 +902,7 @@ func (c *queryClient) Bets(ctx context.Context, in *QueryBetsRequest, opts ...gr func (c *queryClient) BetsByUIDs(ctx context.Context, in *QueryBetsByUIDsRequest, opts ...grpc.CallOption) (*QueryBetsByUIDsResponse, error) { out := new(QueryBetsByUIDsResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.bet.Query/BetsByUIDs", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.bet.Query/BetsByUIDs", in, out, opts...) if err != nil { return nil, err } @@ -911,7 +911,7 @@ func (c *queryClient) BetsByUIDs(ctx context.Context, in *QueryBetsByUIDsRequest func (c *queryClient) ActiveBets(ctx context.Context, in *QueryActiveBetsRequest, opts ...grpc.CallOption) (*QueryActiveBetsResponse, error) { out := new(QueryActiveBetsResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.bet.Query/ActiveBets", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.bet.Query/ActiveBets", in, out, opts...) if err != nil { return nil, err } @@ -920,7 +920,7 @@ func (c *queryClient) ActiveBets(ctx context.Context, in *QueryActiveBetsRequest func (c *queryClient) SettledBetsOfHeight(ctx context.Context, in *QuerySettledBetsOfHeightRequest, opts ...grpc.CallOption) (*QuerySettledBetsOfHeightResponse, error) { out := new(QuerySettledBetsOfHeightResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.bet.Query/SettledBetsOfHeight", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.bet.Query/SettledBetsOfHeight", in, out, opts...) if err != nil { return nil, err } @@ -985,7 +985,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.bet.Query/Params", + FullMethod: "/furyanetwork.furya.bet.Query/Params", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) @@ -1003,7 +1003,7 @@ func _Query_Bet_Handler(srv interface{}, ctx context.Context, dec func(interface } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.bet.Query/Bet", + FullMethod: "/furyanetwork.furya.bet.Query/Bet", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Bet(ctx, req.(*QueryBetRequest)) @@ -1021,7 +1021,7 @@ func _Query_BetsByCreator_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.bet.Query/BetsByCreator", + FullMethod: "/furyanetwork.furya.bet.Query/BetsByCreator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).BetsByCreator(ctx, req.(*QueryBetsByCreatorRequest)) @@ -1039,7 +1039,7 @@ func _Query_Bets_Handler(srv interface{}, ctx context.Context, dec func(interfac } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.bet.Query/Bets", + FullMethod: "/furyanetwork.furya.bet.Query/Bets", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Bets(ctx, req.(*QueryBetsRequest)) @@ -1057,7 +1057,7 @@ func _Query_BetsByUIDs_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.bet.Query/BetsByUIDs", + FullMethod: "/furyanetwork.furya.bet.Query/BetsByUIDs", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).BetsByUIDs(ctx, req.(*QueryBetsByUIDsRequest)) @@ -1075,7 +1075,7 @@ func _Query_ActiveBets_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.bet.Query/ActiveBets", + FullMethod: "/furyanetwork.furya.bet.Query/ActiveBets", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ActiveBets(ctx, req.(*QueryActiveBetsRequest)) @@ -1093,7 +1093,7 @@ func _Query_SettledBetsOfHeight_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.bet.Query/SettledBetsOfHeight", + FullMethod: "/furyanetwork.furya.bet.Query/SettledBetsOfHeight", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).SettledBetsOfHeight(ctx, req.(*QuerySettledBetsOfHeightRequest)) @@ -1102,7 +1102,7 @@ func _Query_SettledBetsOfHeight_Handler(srv interface{}, ctx context.Context, de } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "sgenetwork.sge.bet.Query", + ServiceName: "furyanetwork.furya.bet.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1135,7 +1135,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "sge/bet/query.proto", + Metadata: "furya/bet/query.proto", } func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/bet/types/query.pb.gw.go b/x/bet/types/query.pb.gw.go index 2feb478..7eb19b7 100644 --- a/x/bet/types/query.pb.gw.go +++ b/x/bet/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: sge/bet/query.proto +// source: furya/bet/query.proto /* Package types is a reverse proxy. @@ -767,19 +767,19 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"sge", "bet", "params"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"furya", "bet", "params"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_Bet_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 1, 0, 4, 1, 5, 3}, []string{"sge", "bet", "creator", "uid"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_Bet_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 1, 0, 4, 1, 5, 3}, []string{"furya", "bet", "creator", "uid"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_BetsByCreator_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 1, 2, 2}, []string{"sge", "creator", "bets"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_BetsByCreator_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 1, 2, 2}, []string{"furya", "creator", "bets"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_Bets_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"sge", "bets"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_Bets_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"furya", "bets"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_BetsByUIDs_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"sge", "bets_by_uids"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_BetsByUIDs_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"furya", "bets_by_uids"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_ActiveBets_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"sge", "active_bets", "market_uid"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_ActiveBets_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"furya", "active_bets", "market_uid"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_SettledBetsOfHeight_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"sge", "settled_bets_of_height", "block_height"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_SettledBetsOfHeight_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"furya", "settled_bets_of_height", "block_height"}, "", runtime.AssumeColonVerbOpt(true))) ) var ( diff --git a/x/bet/types/stats.pb.go b/x/bet/types/stats.pb.go index 9b4fca4..9cda513 100644 --- a/x/bet/types/stats.pb.go +++ b/x/bet/types/stats.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/bet/stats.proto +// source: furya/bet/stats.proto package types @@ -69,10 +69,10 @@ func (m *BetStats) GetCount() uint64 { } func init() { - proto.RegisterType((*BetStats)(nil), "sgenetwork.sge.bet.BetStats") + proto.RegisterType((*BetStats)(nil), "furyanetwork.furya.bet.BetStats") } -func init() { proto.RegisterFile("sge/bet/stats.proto", fileDescriptor_e7bd589ff6fa2d86) } +func init() { proto.RegisterFile("furya/bet/stats.proto", fileDescriptor_e7bd589ff6fa2d86) } var fileDescriptor_e7bd589ff6fa2d86 = []byte{ // 155 bytes of a gzipped FileDescriptorProto diff --git a/x/bet/types/ticket.pb.go b/x/bet/types/ticket.pb.go index 31f6c2b..863cbd2 100644 --- a/x/bet/types/ticket.pb.go +++ b/x/bet/types/ticket.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/bet/ticket.proto +// source: furya/bet/ticket.proto package types @@ -31,7 +31,7 @@ type BetPlacementTicketPayload struct { KycData KycDataPayload `protobuf:"bytes,2,opt,name=kyc_data,json=kycData,proto3" json:"kyc_data"` // odds_type is the type of odds that are going to be placed // such as decimal, fraction, moneyline. - OddsType OddsType `protobuf:"varint,3,opt,name=odds_type,json=oddsType,proto3,enum=sgenetwork.sge.bet.OddsType" json:"odds_type,omitempty"` + OddsType OddsType `protobuf:"varint,3,opt,name=odds_type,json=oddsType,proto3,enum=furyanetwork.furya.bet.OddsType" json:"odds_type,omitempty"` } func (m *BetPlacementTicketPayload) Reset() { *m = BetPlacementTicketPayload{} } @@ -89,10 +89,10 @@ func (m *BetPlacementTicketPayload) GetOddsType() OddsType { } func init() { - proto.RegisterType((*BetPlacementTicketPayload)(nil), "sgenetwork.sge.bet.BetPlacementTicketPayload") + proto.RegisterType((*BetPlacementTicketPayload)(nil), "furyanetwork.furya.bet.BetPlacementTicketPayload") } -func init() { proto.RegisterFile("sge/bet/ticket.proto", fileDescriptor_cf6959e7db451613) } +func init() { proto.RegisterFile("furya/bet/ticket.proto", fileDescriptor_cf6959e7db451613) } var fileDescriptor_cf6959e7db451613 = []byte{ // 301 bytes of a gzipped FileDescriptorProto diff --git a/x/bet/types/tx.pb.go b/x/bet/types/tx.pb.go index db550c1..28f704b 100644 --- a/x/bet/types/tx.pb.go +++ b/x/bet/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/bet/tx.proto +// source: furya/bet/tx.proto package types @@ -137,11 +137,11 @@ func (m *MsgPlaceBetResponse) GetBet() *PlaceBetFields { } func init() { - proto.RegisterType((*MsgPlaceBet)(nil), "sgenetwork.sge.bet.MsgPlaceBet") - proto.RegisterType((*MsgPlaceBetResponse)(nil), "sgenetwork.sge.bet.MsgPlaceBetResponse") + proto.RegisterType((*MsgPlaceBet)(nil), "furyanetwork.furya.bet.MsgPlaceBet") + proto.RegisterType((*MsgPlaceBetResponse)(nil), "furyanetwork.furya.bet.MsgPlaceBetResponse") } -func init() { proto.RegisterFile("sge/bet/tx.proto", fileDescriptor_38b4167f68c2a7f8) } +func init() { proto.RegisterFile("furya/bet/tx.proto", fileDescriptor_38b4167f68c2a7f8) } var fileDescriptor_38b4167f68c2a7f8 = []byte{ // 259 bytes of a gzipped FileDescriptorProto @@ -190,7 +190,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) PlaceBet(ctx context.Context, in *MsgPlaceBet, opts ...grpc.CallOption) (*MsgPlaceBetResponse, error) { out := new(MsgPlaceBetResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.bet.Msg/PlaceBet", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.bet.Msg/PlaceBet", in, out, opts...) if err != nil { return nil, err } @@ -225,7 +225,7 @@ func _Msg_PlaceBet_Handler(srv interface{}, ctx context.Context, dec func(interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.bet.Msg/PlaceBet", + FullMethod: "/furyanetwork.furya.bet.Msg/PlaceBet", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).PlaceBet(ctx, req.(*MsgPlaceBet)) @@ -234,7 +234,7 @@ func _Msg_PlaceBet_Handler(srv interface{}, ctx context.Context, dec func(interf } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "sgenetwork.sge.bet.Msg", + ServiceName: "furyanetwork.furya.bet.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -243,7 +243,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "sge/bet/tx.proto", + Metadata: "furya/bet/tx.proto", } func (m *MsgPlaceBet) Marshal() (dAtA []byte, err error) { diff --git a/x/bet/types/validation_test.go b/x/bet/types/validation_test.go index 6b50747..4fe0afa 100644 --- a/x/bet/types/validation_test.go +++ b/x/bet/types/validation_test.go @@ -4,7 +4,7 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/bet/types" + "github.com/furya-network/furya/x/bet/types" "github.com/stretchr/testify/require" ) diff --git a/x/dvm/abci.go b/x/dvm/abci.go index 5e5799c..31c88ac 100644 --- a/x/dvm/abci.go +++ b/x/dvm/abci.go @@ -4,7 +4,7 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/dvm/keeper" + "github.com/furya-network/furya/x/dvm/keeper" ) // EndBlocker settles the active bets of resolved markets diff --git a/x/dvm/client/cli/query.go b/x/dvm/client/cli/query.go index 238c743..fa08013 100644 --- a/x/dvm/client/cli/query.go +++ b/x/dvm/client/cli/query.go @@ -10,7 +10,7 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" // sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/dvm/client/cli/query_active_proposals.go b/x/dvm/client/cli/query_active_proposals.go index 8eaccb9..970df2e 100644 --- a/x/dvm/client/cli/query_active_proposals.go +++ b/x/dvm/client/cli/query_active_proposals.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/types" "github.com/spf13/cast" "github.com/spf13/cobra" ) diff --git a/x/dvm/client/cli/query_active_proposals_test.go b/x/dvm/client/cli/query_active_proposals_test.go index d091722..94de6db 100644 --- a/x/dvm/client/cli/query_active_proposals_test.go +++ b/x/dvm/client/cli/query_active_proposals_test.go @@ -7,10 +7,10 @@ import ( "time" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/sge-network/sge/testutil/network" - "github.com/sge-network/sge/testutil/nullify" - "github.com/sge-network/sge/x/dvm/client/cli" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/testutil/network" + "github.com/furya-network/furya/testutil/nullify" + "github.com/furya-network/furya/x/dvm/client/cli" + "github.com/furya-network/furya/x/dvm/types" "github.com/spf13/cast" "github.com/stretchr/testify/require" tmcli "github.com/tendermint/tendermint/libs/cli" diff --git a/x/dvm/client/cli/query_finished_proposals.go b/x/dvm/client/cli/query_finished_proposals.go index a87716d..f44b4d3 100644 --- a/x/dvm/client/cli/query_finished_proposals.go +++ b/x/dvm/client/cli/query_finished_proposals.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/types" "github.com/spf13/cast" "github.com/spf13/cobra" ) diff --git a/x/dvm/client/cli/query_finished_proposals_test.go b/x/dvm/client/cli/query_finished_proposals_test.go index 46ea2de..c65988a 100644 --- a/x/dvm/client/cli/query_finished_proposals_test.go +++ b/x/dvm/client/cli/query_finished_proposals_test.go @@ -7,10 +7,10 @@ import ( "time" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/sge-network/sge/testutil/network" - "github.com/sge-network/sge/testutil/nullify" - "github.com/sge-network/sge/x/dvm/client/cli" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/testutil/network" + "github.com/furya-network/furya/testutil/nullify" + "github.com/furya-network/furya/x/dvm/client/cli" + "github.com/furya-network/furya/x/dvm/types" "github.com/spf13/cast" "github.com/stretchr/testify/require" tmcli "github.com/tendermint/tendermint/libs/cli" diff --git a/x/dvm/client/cli/query_params.go b/x/dvm/client/cli/query_params.go index de1c427..ac96be0 100644 --- a/x/dvm/client/cli/query_params.go +++ b/x/dvm/client/cli/query_params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/types" "github.com/spf13/cobra" ) diff --git a/x/dvm/client/cli/query_params_test.go b/x/dvm/client/cli/query_params_test.go index 3eefdce..f10d7f4 100644 --- a/x/dvm/client/cli/query_params_test.go +++ b/x/dvm/client/cli/query_params_test.go @@ -5,9 +5,9 @@ import ( "testing" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/sge-network/sge/testutil/network" - "github.com/sge-network/sge/x/dvm/client/cli" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/testutil/network" + "github.com/furya-network/furya/x/dvm/client/cli" + "github.com/furya-network/furya/x/dvm/types" "github.com/stretchr/testify/require" ) diff --git a/x/dvm/client/cli/query_pub_keys.go b/x/dvm/client/cli/query_pub_keys.go index 356ce95..9ef34b9 100644 --- a/x/dvm/client/cli/query_pub_keys.go +++ b/x/dvm/client/cli/query_pub_keys.go @@ -3,7 +3,7 @@ package cli import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/types" "github.com/spf13/cobra" ) diff --git a/x/dvm/client/cli/query_pub_keys_test.go b/x/dvm/client/cli/query_pub_keys_test.go index 4aac5c6..091fb06 100644 --- a/x/dvm/client/cli/query_pub_keys_test.go +++ b/x/dvm/client/cli/query_pub_keys_test.go @@ -5,10 +5,10 @@ import ( "testing" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/sge-network/sge/testutil/network" - simappUtil "github.com/sge-network/sge/testutil/simapp" - "github.com/sge-network/sge/x/dvm/client/cli" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/testutil/network" + simappUtil "github.com/furya-network/furya/testutil/simapp" + "github.com/furya-network/furya/x/dvm/client/cli" + "github.com/furya-network/furya/x/dvm/types" "github.com/stretchr/testify/require" tmcli "github.com/tendermint/tendermint/libs/cli" "google.golang.org/grpc/status" diff --git a/x/dvm/client/cli/query_test.go b/x/dvm/client/cli/query_test.go index 11193b9..74b9b5d 100644 --- a/x/dvm/client/cli/query_test.go +++ b/x/dvm/client/cli/query_test.go @@ -5,8 +5,8 @@ import ( "testing" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/sge-network/sge/testutil/network" - "github.com/sge-network/sge/x/dvm/client/cli" + "github.com/furya-network/furya/testutil/network" + "github.com/furya-network/furya/x/dvm/client/cli" "github.com/stretchr/testify/require" ) diff --git a/x/dvm/client/cli/tx.go b/x/dvm/client/cli/tx.go index 3624a34..c0494f9 100644 --- a/x/dvm/client/cli/tx.go +++ b/x/dvm/client/cli/tx.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" // "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/types" ) // GetTxCmd returns the transaction commands for this module diff --git a/x/dvm/client/cli/tx_pubkeys_proposal.go b/x/dvm/client/cli/tx_pubkeys_proposal.go index 69a08a9..c3818b6 100644 --- a/x/dvm/client/cli/tx_pubkeys_proposal.go +++ b/x/dvm/client/cli/tx_pubkeys_proposal.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/types" "github.com/spf13/cobra" ) diff --git a/x/dvm/client/cli/tx_pubkeys_proposal_test.go b/x/dvm/client/cli/tx_pubkeys_proposal_test.go index ceb1f9f..435ba00 100644 --- a/x/dvm/client/cli/tx_pubkeys_proposal_test.go +++ b/x/dvm/client/cli/tx_pubkeys_proposal_test.go @@ -12,9 +12,9 @@ import ( clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/golang-jwt/jwt/v4" - simappUtil "github.com/sge-network/sge/testutil/simapp" - "github.com/sge-network/sge/utils" - "github.com/sge-network/sge/x/dvm/client/cli" + simappUtil "github.com/furya-network/furya/testutil/simapp" + "github.com/furya-network/furya/utils" + "github.com/furya-network/furya/x/dvm/client/cli" "github.com/stretchr/testify/require" ) diff --git a/x/dvm/client/cli/tx_pubkeys_vote.go b/x/dvm/client/cli/tx_pubkeys_vote.go index 7348911..f5430ca 100644 --- a/x/dvm/client/cli/tx_pubkeys_vote.go +++ b/x/dvm/client/cli/tx_pubkeys_vote.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/types" "github.com/spf13/cobra" ) diff --git a/x/dvm/client/cli/tx_test.go b/x/dvm/client/cli/tx_test.go index 0e9c4f2..29d3c87 100644 --- a/x/dvm/client/cli/tx_test.go +++ b/x/dvm/client/cli/tx_test.go @@ -5,8 +5,8 @@ import ( "testing" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/sge-network/sge/testutil/network" - "github.com/sge-network/sge/x/dvm/client/cli" + "github.com/furya-network/furya/testutil/network" + "github.com/furya-network/furya/x/dvm/client/cli" "github.com/stretchr/testify/require" ) diff --git a/x/dvm/genesis.go b/x/dvm/genesis.go index 476b348..4cdf266 100644 --- a/x/dvm/genesis.go +++ b/x/dvm/genesis.go @@ -2,8 +2,8 @@ package dvm import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/dvm/keeper" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/keeper" + "github.com/furya-network/furya/x/dvm/types" ) // InitGenesis initializes the module's state from a provided genesis diff --git a/x/dvm/genesis_test.go b/x/dvm/genesis_test.go index 22a2944..6c09a53 100644 --- a/x/dvm/genesis_test.go +++ b/x/dvm/genesis_test.go @@ -3,10 +3,10 @@ package dvm_test import ( "testing" - "github.com/sge-network/sge/testutil/nullify" - simappUtil "github.com/sge-network/sge/testutil/simapp" - "github.com/sge-network/sge/x/dvm" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/testutil/nullify" + simappUtil "github.com/furya-network/furya/testutil/simapp" + "github.com/furya-network/furya/x/dvm" + "github.com/furya-network/furya/x/dvm/types" "github.com/stretchr/testify/require" ) diff --git a/x/dvm/handler.go b/x/dvm/handler.go index c1129ad..8465472 100644 --- a/x/dvm/handler.go +++ b/x/dvm/handler.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/sge-network/sge/x/dvm/keeper" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/keeper" + "github.com/furya-network/furya/x/dvm/types" ) // NewHandler initialize a new sdk.handler instance for registered messages diff --git a/x/dvm/keeper/grpc_query.go b/x/dvm/keeper/grpc_query.go index a20cdf2..527bcf4 100644 --- a/x/dvm/keeper/grpc_query.go +++ b/x/dvm/keeper/grpc_query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/dvm/keeper/grpc_query_params.go b/x/dvm/keeper/grpc_query_params.go index 15aad8f..29ae7a7 100644 --- a/x/dvm/keeper/grpc_query_params.go +++ b/x/dvm/keeper/grpc_query_params.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/dvm/keeper/grpc_query_params_test.go b/x/dvm/keeper/grpc_query_params_test.go index 6ae3808..5fa6f5e 100644 --- a/x/dvm/keeper/grpc_query_params_test.go +++ b/x/dvm/keeper/grpc_query_params_test.go @@ -4,7 +4,7 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/types" "github.com/stretchr/testify/require" ) diff --git a/x/dvm/keeper/grpc_query_pubkeys.go b/x/dvm/keeper/grpc_query_pubkeys.go index 3a9b396..a0df80b 100644 --- a/x/dvm/keeper/grpc_query_pubkeys.go +++ b/x/dvm/keeper/grpc_query_pubkeys.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/dvm/keeper/grpc_query_pubkeys_proposal.go b/x/dvm/keeper/grpc_query_pubkeys_proposal.go index cb9ebb4..f317883 100644 --- a/x/dvm/keeper/grpc_query_pubkeys_proposal.go +++ b/x/dvm/keeper/grpc_query_pubkeys_proposal.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - "github.com/sge-network/sge/consts" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/consts" + "github.com/furya-network/furya/x/dvm/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/dvm/keeper/grpc_query_pubkeys_proposal_test.go b/x/dvm/keeper/grpc_query_pubkeys_proposal_test.go index 9d40053..8e8d40b 100644 --- a/x/dvm/keeper/grpc_query_pubkeys_proposal_test.go +++ b/x/dvm/keeper/grpc_query_pubkeys_proposal_test.go @@ -5,9 +5,9 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/consts" - "github.com/sge-network/sge/testutil/nullify" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/consts" + "github.com/furya-network/furya/testutil/nullify" + "github.com/furya-network/furya/x/dvm/types" "github.com/stretchr/testify/require" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/x/dvm/keeper/grpc_query_pubkeys_test.go b/x/dvm/keeper/grpc_query_pubkeys_test.go index 68f0078..a05deb5 100644 --- a/x/dvm/keeper/grpc_query_pubkeys_test.go +++ b/x/dvm/keeper/grpc_query_pubkeys_test.go @@ -4,7 +4,7 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/types" "github.com/stretchr/testify/require" ) diff --git a/x/dvm/keeper/keeper.go b/x/dvm/keeper/keeper.go index 9a62b4d..454a59f 100644 --- a/x/dvm/keeper/keeper.go +++ b/x/dvm/keeper/keeper.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/types" ) // Keeper is the type for module properties diff --git a/x/dvm/keeper/keeper_test.go b/x/dvm/keeper/keeper_test.go index 8b7a64a..27755fb 100644 --- a/x/dvm/keeper/keeper_test.go +++ b/x/dvm/keeper/keeper_test.go @@ -4,8 +4,8 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - simappUtil "github.com/sge-network/sge/testutil/simapp" - "github.com/sge-network/sge/x/dvm/keeper" + simappUtil "github.com/furya-network/furya/testutil/simapp" + "github.com/furya-network/furya/x/dvm/keeper" "github.com/stretchr/testify/require" ) diff --git a/x/dvm/keeper/key_vault.go b/x/dvm/keeper/key_vault.go index 4540ea4..1a2177b 100644 --- a/x/dvm/keeper/key_vault.go +++ b/x/dvm/keeper/key_vault.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/types" ) // SetKeyVault sets the key vault and overwrite the old values. diff --git a/x/dvm/keeper/key_vault_test.go b/x/dvm/keeper/key_vault_test.go index 8699ba9..8312628 100644 --- a/x/dvm/keeper/key_vault_test.go +++ b/x/dvm/keeper/key_vault_test.go @@ -8,9 +8,9 @@ import ( "time" "github.com/golang-jwt/jwt/v4" - simappUtil "github.com/sge-network/sge/testutil/simapp" - "github.com/sge-network/sge/utils" - "github.com/sge-network/sge/x/dvm/types" + simappUtil "github.com/furya-network/furya/testutil/simapp" + "github.com/furya-network/furya/utils" + "github.com/furya-network/furya/x/dvm/types" "github.com/stretchr/testify/require" ) diff --git a/x/dvm/keeper/msg_server.go b/x/dvm/keeper/msg_server.go index acf4c34..d9c2011 100644 --- a/x/dvm/keeper/msg_server.go +++ b/x/dvm/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/types" ) type msgServer struct { diff --git a/x/dvm/keeper/msg_server_pubkeys_proposal.go b/x/dvm/keeper/msg_server_pubkeys_proposal.go index d8d2a36..bb751f1 100644 --- a/x/dvm/keeper/msg_server_pubkeys_proposal.go +++ b/x/dvm/keeper/msg_server_pubkeys_proposal.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/sge-network/sge/utils" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/utils" + "github.com/furya-network/furya/x/dvm/types" ) // SubmitPubkeysChangeProposal is the main transaction of DVM to add or delete the keys to the chain. diff --git a/x/dvm/keeper/msg_server_pubkeys_proposal_test.go b/x/dvm/keeper/msg_server_pubkeys_proposal_test.go index 3569ffe..f1a65ec 100644 --- a/x/dvm/keeper/msg_server_pubkeys_proposal_test.go +++ b/x/dvm/keeper/msg_server_pubkeys_proposal_test.go @@ -8,9 +8,9 @@ import ( "time" "github.com/golang-jwt/jwt/v4" - simappUtil "github.com/sge-network/sge/testutil/simapp" - "github.com/sge-network/sge/utils" - "github.com/sge-network/sge/x/dvm/types" + simappUtil "github.com/furya-network/furya/testutil/simapp" + "github.com/furya-network/furya/utils" + "github.com/furya-network/furya/x/dvm/types" "github.com/stretchr/testify/require" ) diff --git a/x/dvm/keeper/msg_server_test.go b/x/dvm/keeper/msg_server_test.go index 62616bc..fac2415 100644 --- a/x/dvm/keeper/msg_server_test.go +++ b/x/dvm/keeper/msg_server_test.go @@ -5,9 +5,9 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - simappUtil "github.com/sge-network/sge/testutil/simapp" - "github.com/sge-network/sge/x/dvm/keeper" - "github.com/sge-network/sge/x/dvm/types" + simappUtil "github.com/furya-network/furya/testutil/simapp" + "github.com/furya-network/furya/x/dvm/keeper" + "github.com/furya-network/furya/x/dvm/types" "github.com/stretchr/testify/require" ) diff --git a/x/dvm/keeper/msg_server_vote.go b/x/dvm/keeper/msg_server_vote.go index d3aa8e1..2974409 100644 --- a/x/dvm/keeper/msg_server_vote.go +++ b/x/dvm/keeper/msg_server_vote.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/types" ) // VotePubkeysChange is the main transaction of DVM to vote for a pubkeys list change proposal. diff --git a/x/dvm/keeper/msg_server_vote_test.go b/x/dvm/keeper/msg_server_vote_test.go index 4561070..0aa91ac 100644 --- a/x/dvm/keeper/msg_server_vote_test.go +++ b/x/dvm/keeper/msg_server_vote_test.go @@ -5,8 +5,8 @@ import ( "time" "github.com/golang-jwt/jwt/v4" - simappUtil "github.com/sge-network/sge/testutil/simapp" - "github.com/sge-network/sge/x/dvm/types" + simappUtil "github.com/furya-network/furya/testutil/simapp" + "github.com/furya-network/furya/x/dvm/types" "github.com/stretchr/testify/require" ) diff --git a/x/dvm/keeper/params.go b/x/dvm/keeper/params.go index 2398f9a..db1ee97 100644 --- a/x/dvm/keeper/params.go +++ b/x/dvm/keeper/params.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/types" ) // GetParams get all parameters as types.Params diff --git a/x/dvm/keeper/params_test.go b/x/dvm/keeper/params_test.go index eec0cf0..b394ddd 100644 --- a/x/dvm/keeper/params_test.go +++ b/x/dvm/keeper/params_test.go @@ -3,7 +3,7 @@ package keeper_test import ( "testing" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/types" "github.com/stretchr/testify/require" ) diff --git a/x/dvm/keeper/proposal.go b/x/dvm/keeper/proposal.go index f2e3815..0ccbad7 100644 --- a/x/dvm/keeper/proposal.go +++ b/x/dvm/keeper/proposal.go @@ -4,8 +4,8 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/utils" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/utils" + "github.com/furya-network/furya/x/dvm/types" ) // SetActivePubkeysChangeProposal sets a pubkey list change proposal in the store. diff --git a/x/dvm/keeper/proposal_test.go b/x/dvm/keeper/proposal_test.go index 09d4756..d096c20 100644 --- a/x/dvm/keeper/proposal_test.go +++ b/x/dvm/keeper/proposal_test.go @@ -6,11 +6,11 @@ import ( "time" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/testutil/nullify" - simappUtil "github.com/sge-network/sge/testutil/simapp" - "github.com/sge-network/sge/utils" - "github.com/sge-network/sge/x/dvm/keeper" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/testutil/nullify" + simappUtil "github.com/furya-network/furya/testutil/simapp" + "github.com/furya-network/furya/utils" + "github.com/furya-network/furya/x/dvm/keeper" + "github.com/furya-network/furya/x/dvm/types" "github.com/spf13/cast" "github.com/stretchr/testify/require" ) diff --git a/x/dvm/keeper/stats.go b/x/dvm/keeper/stats.go index f036d56..f9d782a 100644 --- a/x/dvm/keeper/stats.go +++ b/x/dvm/keeper/stats.go @@ -2,8 +2,8 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/utils" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/utils" + "github.com/furya-network/furya/x/dvm/types" ) // SetProposalStats sets proposal statistics in the store diff --git a/x/dvm/keeper/ticket.go b/x/dvm/keeper/ticket.go index 34d8c2e..088d887 100644 --- a/x/dvm/keeper/ticket.go +++ b/x/dvm/keeper/ticket.go @@ -5,7 +5,7 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/types" ) // VerifyTicket validates a ticket. diff --git a/x/dvm/keeper/ticket_test.go b/x/dvm/keeper/ticket_test.go index 7aec576..484f134 100644 --- a/x/dvm/keeper/ticket_test.go +++ b/x/dvm/keeper/ticket_test.go @@ -9,8 +9,8 @@ import ( "time" "github.com/golang-jwt/jwt/v4" - simappUtil "github.com/sge-network/sge/testutil/simapp" - "github.com/sge-network/sge/x/dvm/types" + simappUtil "github.com/furya-network/furya/testutil/simapp" + "github.com/furya-network/furya/x/dvm/types" "github.com/stretchr/testify/require" ) diff --git a/x/dvm/keeper/view.go b/x/dvm/keeper/view.go index ffdd410..feaf1b1 100644 --- a/x/dvm/keeper/view.go +++ b/x/dvm/keeper/view.go @@ -3,7 +3,7 @@ package keeper import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/types" ) // getActivePubKeysChangeProposalStore returns pubkeys list change store ready for iterating diff --git a/x/dvm/module.go b/x/dvm/module.go index b111c8c..3c978d9 100644 --- a/x/dvm/module.go +++ b/x/dvm/module.go @@ -15,9 +15,9 @@ import ( cdctypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/sge-network/sge/x/dvm/client/cli" - "github.com/sge-network/sge/x/dvm/keeper" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/client/cli" + "github.com/furya-network/furya/x/dvm/keeper" + "github.com/furya-network/furya/x/dvm/types" ) var ( diff --git a/x/dvm/module_simulation.go b/x/dvm/module_simulation.go index 3dbce64..f83d1c8 100644 --- a/x/dvm/module_simulation.go +++ b/x/dvm/module_simulation.go @@ -10,9 +10,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/sge-network/sge/testutil/sample" - dvmsimulation "github.com/sge-network/sge/x/dvm/simulation" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/testutil/sample" + dvmsimulation "github.com/furya-network/furya/x/dvm/simulation" + "github.com/furya-network/furya/x/dvm/types" ) // avoid unused import issue diff --git a/x/dvm/simulation/submit_pubkeys_change_proposal_request.go b/x/dvm/simulation/submit_pubkeys_change_proposal_request.go index 56887e0..daa0386 100644 --- a/x/dvm/simulation/submit_pubkeys_change_proposal_request.go +++ b/x/dvm/simulation/submit_pubkeys_change_proposal_request.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/sge-network/sge/x/dvm/keeper" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/keeper" + "github.com/furya-network/furya/x/dvm/types" ) // SimulateMsgChangePubkeysListProposal simulates MsgChangePubkeysListProposal message registration diff --git a/x/dvm/types/genesis.pb.go b/x/dvm/types/genesis.pb.go index 33dfbd8..4102e21 100644 --- a/x/dvm/types/genesis.pb.go +++ b/x/dvm/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/dvm/genesis.proto +// source: furya/dvm/genesis.proto package types @@ -108,10 +108,10 @@ func (m *GenesisState) GetProposalStats() ProposalStats { } func init() { - proto.RegisterType((*GenesisState)(nil), "sgenetwork.sge.dvm.GenesisState") + proto.RegisterType((*GenesisState)(nil), "furyanetwork.furya.dvm.GenesisState") } -func init() { proto.RegisterFile("sge/dvm/genesis.proto", fileDescriptor_35c848c2a4360089) } +func init() { proto.RegisterFile("furya/dvm/genesis.proto", fileDescriptor_35c848c2a4360089) } var fileDescriptor_35c848c2a4360089 = []byte{ // 375 bytes of a gzipped FileDescriptorProto diff --git a/x/dvm/types/genesis_test.go b/x/dvm/types/genesis_test.go index b164ca5..49963ba 100644 --- a/x/dvm/types/genesis_test.go +++ b/x/dvm/types/genesis_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/x/dvm/types" "github.com/stretchr/testify/require" ) diff --git a/x/dvm/types/key_vault.pb.go b/x/dvm/types/key_vault.pb.go index 8ff1138..6b75576 100644 --- a/x/dvm/types/key_vault.pb.go +++ b/x/dvm/types/key_vault.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/dvm/key_vault.proto +// source: furya/dvm/key_vault.proto package types @@ -70,10 +70,10 @@ func (m *KeyVault) GetPublicKeys() []string { } func init() { - proto.RegisterType((*KeyVault)(nil), "sgenetwork.sge.dvm.KeyVault") + proto.RegisterType((*KeyVault)(nil), "furyanetwork.furya.dvm.KeyVault") } -func init() { proto.RegisterFile("sge/dvm/key_vault.proto", fileDescriptor_a21a2d7ce8c462b6) } +func init() { proto.RegisterFile("furya/dvm/key_vault.proto", fileDescriptor_a21a2d7ce8c462b6) } var fileDescriptor_a21a2d7ce8c462b6 = []byte{ // 190 bytes of a gzipped FileDescriptorProto diff --git a/x/dvm/types/message_pubkeys_proposal_test.go b/x/dvm/types/message_pubkeys_proposal_test.go index 0824bca..8163e42 100644 --- a/x/dvm/types/message_pubkeys_proposal_test.go +++ b/x/dvm/types/message_pubkeys_proposal_test.go @@ -4,8 +4,8 @@ import ( "testing" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/sge-network/sge/testutil/sample" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/testutil/sample" + "github.com/furya-network/furya/x/dvm/types" "github.com/stretchr/testify/require" ) diff --git a/x/dvm/types/message_pubkeys_vote_test.go b/x/dvm/types/message_pubkeys_vote_test.go index 697b9a6..008c1f9 100644 --- a/x/dvm/types/message_pubkeys_vote_test.go +++ b/x/dvm/types/message_pubkeys_vote_test.go @@ -7,9 +7,9 @@ import ( "testing" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/sge-network/sge/testutil/sample" - "github.com/sge-network/sge/utils" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/testutil/sample" + "github.com/furya-network/furya/utils" + "github.com/furya-network/furya/x/dvm/types" "github.com/stretchr/testify/require" ) diff --git a/x/dvm/types/params.pb.go b/x/dvm/types/params.pb.go index 5c239c4..b491b30 100644 --- a/x/dvm/types/params.pb.go +++ b/x/dvm/types/params.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/dvm/params.proto +// source: furya/dvm/params.proto package types @@ -60,10 +60,10 @@ func (m *Params) XXX_DiscardUnknown() { var xxx_messageInfo_Params proto.InternalMessageInfo func init() { - proto.RegisterType((*Params)(nil), "sgenetwork.sge.dvm.Params") + proto.RegisterType((*Params)(nil), "furyanetwork.furya.dvm.Params") } -func init() { proto.RegisterFile("sge/dvm/params.proto", fileDescriptor_40aabc0ae964443a) } +func init() { proto.RegisterFile("furya/dvm/params.proto", fileDescriptor_40aabc0ae964443a) } var fileDescriptor_40aabc0ae964443a = []byte{ // 155 bytes of a gzipped FileDescriptorProto diff --git a/x/dvm/types/proposal.pb.go b/x/dvm/types/proposal.pb.go index 15a352a..8019a6a 100644 --- a/x/dvm/types/proposal.pb.go +++ b/x/dvm/types/proposal.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/dvm/proposal.proto +// source: furya/dvm/proposal.proto package types @@ -148,7 +148,7 @@ type PublicKeysChangeFinishedProposal struct { // proposal is the proposal for additions and removals of pub keys. Proposal PublicKeysChangeProposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal"` // result is the result of the finished proposal. - Result ProposalResult `protobuf:"varint,2,opt,name=result,proto3,enum=sgenetwork.sge.dvm.ProposalResult" json:"result,omitempty"` + Result ProposalResult `protobuf:"varint,2,opt,name=result,proto3,enum=furyanetwork.furya.dvm.ProposalResult" json:"result,omitempty"` // result_meta is the metadata related to the result of the finished proposal. ResultMeta string `protobuf:"bytes,3,opt,name=result_meta,json=resultMeta,proto3" json:"result_meta,omitempty"` // finish_ts is the block time that the proposal is set as finished. @@ -217,12 +217,12 @@ func (m *PublicKeysChangeFinishedProposal) GetFinishTS() int64 { } func init() { - proto.RegisterEnum("sgenetwork.sge.dvm.ProposalResult", ProposalResult_name, ProposalResult_value) - proto.RegisterType((*PublicKeysChangeProposal)(nil), "sgenetwork.sge.dvm.PublicKeysChangeProposal") - proto.RegisterType((*PublicKeysChangeFinishedProposal)(nil), "sgenetwork.sge.dvm.PublicKeysChangeFinishedProposal") + proto.RegisterEnum("furyanetwork.furya.dvm.ProposalResult", ProposalResult_name, ProposalResult_value) + proto.RegisterType((*PublicKeysChangeProposal)(nil), "furyanetwork.furya.dvm.PublicKeysChangeProposal") + proto.RegisterType((*PublicKeysChangeFinishedProposal)(nil), "furyanetwork.furya.dvm.PublicKeysChangeFinishedProposal") } -func init() { proto.RegisterFile("sge/dvm/proposal.proto", fileDescriptor_29058a11b4a243d6) } +func init() { proto.RegisterFile("furya/dvm/proposal.proto", fileDescriptor_29058a11b4a243d6) } var fileDescriptor_29058a11b4a243d6 = []byte{ // 514 bytes of a gzipped FileDescriptorProto diff --git a/x/dvm/types/query.pb.go b/x/dvm/types/query.pb.go index c31853a..b3167be 100644 --- a/x/dvm/types/query.pb.go +++ b/x/dvm/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/dvm/query.proto +// source: furya/dvm/query.proto package types @@ -621,21 +621,21 @@ func (m *QueryFinishedPublicKeysChangeProposalsResponse) GetPagination() *query. } func init() { - proto.RegisterType((*QueryParamsRequest)(nil), "sgenetwork.sge.dvm.QueryParamsRequest") - proto.RegisterType((*QueryParamsResponse)(nil), "sgenetwork.sge.dvm.QueryParamsResponse") - proto.RegisterType((*QueryPubKeysRequest)(nil), "sgenetwork.sge.dvm.QueryPubKeysRequest") - proto.RegisterType((*QueryPubKeysResponse)(nil), "sgenetwork.sge.dvm.QueryPubKeysResponse") - proto.RegisterType((*QueryActivePublicKeysChangeProposalRequest)(nil), "sgenetwork.sge.dvm.QueryActivePublicKeysChangeProposalRequest") - proto.RegisterType((*QueryActivePublicKeysChangeProposalResponse)(nil), "sgenetwork.sge.dvm.QueryActivePublicKeysChangeProposalResponse") - proto.RegisterType((*QueryActivePublicKeysChangeProposalsRequest)(nil), "sgenetwork.sge.dvm.QueryActivePublicKeysChangeProposalsRequest") - proto.RegisterType((*QueryActivePublicKeysChangeProposalsResponse)(nil), "sgenetwork.sge.dvm.QueryActivePublicKeysChangeProposalsResponse") - proto.RegisterType((*QueryFinishedPublicKeysChangeProposalRequest)(nil), "sgenetwork.sge.dvm.QueryFinishedPublicKeysChangeProposalRequest") - proto.RegisterType((*QueryFinishedPublicKeysChangeProposalResponse)(nil), "sgenetwork.sge.dvm.QueryFinishedPublicKeysChangeProposalResponse") - proto.RegisterType((*QueryFinishedPublicKeysChangeProposalsRequest)(nil), "sgenetwork.sge.dvm.QueryFinishedPublicKeysChangeProposalsRequest") - proto.RegisterType((*QueryFinishedPublicKeysChangeProposalsResponse)(nil), "sgenetwork.sge.dvm.QueryFinishedPublicKeysChangeProposalsResponse") -} - -func init() { proto.RegisterFile("sge/dvm/query.proto", fileDescriptor_cfb9990f7b27fb76) } + proto.RegisterType((*QueryParamsRequest)(nil), "furyanetwork.furya.dvm.QueryParamsRequest") + proto.RegisterType((*QueryParamsResponse)(nil), "furyanetwork.furya.dvm.QueryParamsResponse") + proto.RegisterType((*QueryPubKeysRequest)(nil), "furyanetwork.furya.dvm.QueryPubKeysRequest") + proto.RegisterType((*QueryPubKeysResponse)(nil), "furyanetwork.furya.dvm.QueryPubKeysResponse") + proto.RegisterType((*QueryActivePublicKeysChangeProposalRequest)(nil), "furyanetwork.furya.dvm.QueryActivePublicKeysChangeProposalRequest") + proto.RegisterType((*QueryActivePublicKeysChangeProposalResponse)(nil), "furyanetwork.furya.dvm.QueryActivePublicKeysChangeProposalResponse") + proto.RegisterType((*QueryActivePublicKeysChangeProposalsRequest)(nil), "furyanetwork.furya.dvm.QueryActivePublicKeysChangeProposalsRequest") + proto.RegisterType((*QueryActivePublicKeysChangeProposalsResponse)(nil), "furyanetwork.furya.dvm.QueryActivePublicKeysChangeProposalsResponse") + proto.RegisterType((*QueryFinishedPublicKeysChangeProposalRequest)(nil), "furyanetwork.furya.dvm.QueryFinishedPublicKeysChangeProposalRequest") + proto.RegisterType((*QueryFinishedPublicKeysChangeProposalResponse)(nil), "furyanetwork.furya.dvm.QueryFinishedPublicKeysChangeProposalResponse") + proto.RegisterType((*QueryFinishedPublicKeysChangeProposalsRequest)(nil), "furyanetwork.furya.dvm.QueryFinishedPublicKeysChangeProposalsRequest") + proto.RegisterType((*QueryFinishedPublicKeysChangeProposalsResponse)(nil), "furyanetwork.furya.dvm.QueryFinishedPublicKeysChangeProposalsResponse") +} + +func init() { proto.RegisterFile("furya/dvm/query.proto", fileDescriptor_cfb9990f7b27fb76) } var fileDescriptor_cfb9990f7b27fb76 = []byte{ // 700 bytes of a gzipped FileDescriptorProto @@ -721,7 +721,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { out := new(QueryParamsResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.dvm.Query/Params", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.dvm.Query/Params", in, out, opts...) if err != nil { return nil, err } @@ -730,7 +730,7 @@ func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts . func (c *queryClient) PubKeys(ctx context.Context, in *QueryPubKeysRequest, opts ...grpc.CallOption) (*QueryPubKeysResponse, error) { out := new(QueryPubKeysResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.dvm.Query/PubKeys", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.dvm.Query/PubKeys", in, out, opts...) if err != nil { return nil, err } @@ -739,7 +739,7 @@ func (c *queryClient) PubKeys(ctx context.Context, in *QueryPubKeysRequest, opts func (c *queryClient) ActivePublicKeysChangeProposal(ctx context.Context, in *QueryActivePublicKeysChangeProposalRequest, opts ...grpc.CallOption) (*QueryActivePublicKeysChangeProposalResponse, error) { out := new(QueryActivePublicKeysChangeProposalResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.dvm.Query/ActivePublicKeysChangeProposal", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.dvm.Query/ActivePublicKeysChangeProposal", in, out, opts...) if err != nil { return nil, err } @@ -748,7 +748,7 @@ func (c *queryClient) ActivePublicKeysChangeProposal(ctx context.Context, in *Qu func (c *queryClient) ActivePublicKeysChangeProposals(ctx context.Context, in *QueryActivePublicKeysChangeProposalsRequest, opts ...grpc.CallOption) (*QueryActivePublicKeysChangeProposalsResponse, error) { out := new(QueryActivePublicKeysChangeProposalsResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.dvm.Query/ActivePublicKeysChangeProposals", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.dvm.Query/ActivePublicKeysChangeProposals", in, out, opts...) if err != nil { return nil, err } @@ -757,7 +757,7 @@ func (c *queryClient) ActivePublicKeysChangeProposals(ctx context.Context, in *Q func (c *queryClient) FinishedPublicKeysChangeProposal(ctx context.Context, in *QueryFinishedPublicKeysChangeProposalRequest, opts ...grpc.CallOption) (*QueryFinishedPublicKeysChangeProposalResponse, error) { out := new(QueryFinishedPublicKeysChangeProposalResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.dvm.Query/FinishedPublicKeysChangeProposal", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.dvm.Query/FinishedPublicKeysChangeProposal", in, out, opts...) if err != nil { return nil, err } @@ -766,7 +766,7 @@ func (c *queryClient) FinishedPublicKeysChangeProposal(ctx context.Context, in * func (c *queryClient) FinishedPublicKeysChangeProposals(ctx context.Context, in *QueryFinishedPublicKeysChangeProposalsRequest, opts ...grpc.CallOption) (*QueryFinishedPublicKeysChangeProposalsResponse, error) { out := new(QueryFinishedPublicKeysChangeProposalsResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.dvm.Query/FinishedPublicKeysChangeProposals", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.dvm.Query/FinishedPublicKeysChangeProposals", in, out, opts...) if err != nil { return nil, err } @@ -826,7 +826,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.dvm.Query/Params", + FullMethod: "/furyanetwork.furya.dvm.Query/Params", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) @@ -844,7 +844,7 @@ func _Query_PubKeys_Handler(srv interface{}, ctx context.Context, dec func(inter } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.dvm.Query/PubKeys", + FullMethod: "/furyanetwork.furya.dvm.Query/PubKeys", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).PubKeys(ctx, req.(*QueryPubKeysRequest)) @@ -862,7 +862,7 @@ func _Query_ActivePublicKeysChangeProposal_Handler(srv interface{}, ctx context. } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.dvm.Query/ActivePublicKeysChangeProposal", + FullMethod: "/furyanetwork.furya.dvm.Query/ActivePublicKeysChangeProposal", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ActivePublicKeysChangeProposal(ctx, req.(*QueryActivePublicKeysChangeProposalRequest)) @@ -880,7 +880,7 @@ func _Query_ActivePublicKeysChangeProposals_Handler(srv interface{}, ctx context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.dvm.Query/ActivePublicKeysChangeProposals", + FullMethod: "/furyanetwork.furya.dvm.Query/ActivePublicKeysChangeProposals", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ActivePublicKeysChangeProposals(ctx, req.(*QueryActivePublicKeysChangeProposalsRequest)) @@ -898,7 +898,7 @@ func _Query_FinishedPublicKeysChangeProposal_Handler(srv interface{}, ctx contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.dvm.Query/FinishedPublicKeysChangeProposal", + FullMethod: "/furyanetwork.furya.dvm.Query/FinishedPublicKeysChangeProposal", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).FinishedPublicKeysChangeProposal(ctx, req.(*QueryFinishedPublicKeysChangeProposalRequest)) @@ -916,7 +916,7 @@ func _Query_FinishedPublicKeysChangeProposals_Handler(srv interface{}, ctx conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.dvm.Query/FinishedPublicKeysChangeProposals", + FullMethod: "/furyanetwork.furya.dvm.Query/FinishedPublicKeysChangeProposals", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).FinishedPublicKeysChangeProposals(ctx, req.(*QueryFinishedPublicKeysChangeProposalsRequest)) @@ -925,7 +925,7 @@ func _Query_FinishedPublicKeysChangeProposals_Handler(srv interface{}, ctx conte } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "sgenetwork.sge.dvm.Query", + ServiceName: "furyanetwork.furya.dvm.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -954,7 +954,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "sge/dvm/query.proto", + Metadata: "furya/dvm/query.proto", } func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/dvm/types/query.pb.gw.go b/x/dvm/types/query.pb.gw.go index 84d91d1..f773067 100644 --- a/x/dvm/types/query.pb.gw.go +++ b/x/dvm/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: sge/dvm/query.proto +// source: furya/dvm/query.proto /* Package types is a reverse proxy. @@ -558,17 +558,17 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"sge", "dvm", "params"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"furya", "dvm", "params"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_PubKeys_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"sge", "dvm", "pub_keys"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_PubKeys_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"furya", "dvm", "pub_keys"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_ActivePublicKeysChangeProposal_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"sge", "dvm", "active_pubkeys_proposal", "id"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_ActivePublicKeysChangeProposal_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"furya", "dvm", "active_pubkeys_proposal", "id"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_ActivePublicKeysChangeProposals_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"sge", "dvm", "active_pubkeys_proposals"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_ActivePublicKeysChangeProposals_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"furya", "dvm", "active_pubkeys_proposals"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_FinishedPublicKeysChangeProposal_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"sge", "dvm", "finished_pubkeys_proposal", "id"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_FinishedPublicKeysChangeProposal_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"furya", "dvm", "finished_pubkeys_proposal", "id"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_FinishedPublicKeysChangeProposals_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"sge", "dvm", "finished_pubkeys_proposals"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_FinishedPublicKeysChangeProposals_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"furya", "dvm", "finished_pubkeys_proposals"}, "", runtime.AssumeColonVerbOpt(true))) ) var ( diff --git a/x/dvm/types/stats.pb.go b/x/dvm/types/stats.pb.go index aab0b81..e734b8b 100644 --- a/x/dvm/types/stats.pb.go +++ b/x/dvm/types/stats.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/dvm/stats.proto +// source: furya/dvm/stats.proto package types @@ -69,10 +69,10 @@ func (m *ProposalStats) GetPubkeysChangeCount() uint64 { } func init() { - proto.RegisterType((*ProposalStats)(nil), "sgenetwork.sge.dvm.ProposalStats") + proto.RegisterType((*ProposalStats)(nil), "furyanetwork.furya.dvm.ProposalStats") } -func init() { proto.RegisterFile("sge/dvm/stats.proto", fileDescriptor_18b1583139df99d6) } +func init() { proto.RegisterFile("furya/dvm/stats.proto", fileDescriptor_18b1583139df99d6) } var fileDescriptor_18b1583139df99d6 = []byte{ // 183 bytes of a gzipped FileDescriptorProto diff --git a/x/dvm/types/ticket.pb.go b/x/dvm/types/ticket.pb.go index 9144d5a..aa29fc8 100644 --- a/x/dvm/types/ticket.pb.go +++ b/x/dvm/types/ticket.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/dvm/ticket.proto +// source: furya/dvm/ticket.proto package types @@ -83,7 +83,7 @@ type ProposalVotePayload struct { // proposal_id is the id of the proposal. ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` // vote is the chosen option for the vote. - Vote ProposalVote `protobuf:"varint,2,opt,name=vote,proto3,enum=sgenetwork.sge.dvm.ProposalVote" json:"vote,omitempty"` + Vote ProposalVote `protobuf:"varint,2,opt,name=vote,proto3,enum=furyanetwork.furya.dvm.ProposalVote" json:"vote,omitempty"` } func (m *ProposalVotePayload) Reset() { *m = ProposalVotePayload{} } @@ -134,11 +134,11 @@ func (m *ProposalVotePayload) GetVote() ProposalVote { } func init() { - proto.RegisterType((*PubkeysChangeProposalPayload)(nil), "sgenetwork.sge.dvm.PubkeysChangeProposalPayload") - proto.RegisterType((*ProposalVotePayload)(nil), "sgenetwork.sge.dvm.ProposalVotePayload") + proto.RegisterType((*PubkeysChangeProposalPayload)(nil), "furyanetwork.furya.dvm.PubkeysChangeProposalPayload") + proto.RegisterType((*ProposalVotePayload)(nil), "furyanetwork.furya.dvm.ProposalVotePayload") } -func init() { proto.RegisterFile("sge/dvm/ticket.proto", fileDescriptor_7121f0f264448d06) } +func init() { proto.RegisterFile("furya/dvm/ticket.proto", fileDescriptor_7121f0f264448d06) } var fileDescriptor_7121f0f264448d06 = []byte{ // 261 bytes of a gzipped FileDescriptorProto diff --git a/x/dvm/types/ticket_jwt_test.go b/x/dvm/types/ticket_jwt_test.go index 8ba6e93..753b86a 100644 --- a/x/dvm/types/ticket_jwt_test.go +++ b/x/dvm/types/ticket_jwt_test.go @@ -10,8 +10,8 @@ import ( "time" "github.com/golang-jwt/jwt/v4" - "github.com/sge-network/sge/utils" - "github.com/sge-network/sge/x/dvm/types" + "github.com/furya-network/furya/utils" + "github.com/furya-network/furya/x/dvm/types" "github.com/stretchr/testify/require" ) diff --git a/x/dvm/types/tx.pb.go b/x/dvm/types/tx.pb.go index 5bcc4f9..1d80756 100644 --- a/x/dvm/types/tx.pb.go +++ b/x/dvm/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/dvm/tx.proto +// source: furya/dvm/tx.proto package types @@ -243,13 +243,13 @@ func (m *MsgVotePubkeysChangeResponse) GetSuccess() bool { } func init() { - proto.RegisterType((*MsgSubmitPubkeysChangeProposalRequest)(nil), "sgenetwork.sge.dvm.MsgSubmitPubkeysChangeProposalRequest") - proto.RegisterType((*MsgSubmitPubkeysChangeProposalResponse)(nil), "sgenetwork.sge.dvm.MsgSubmitPubkeysChangeProposalResponse") - proto.RegisterType((*MsgVotePubkeysChangeRequest)(nil), "sgenetwork.sge.dvm.MsgVotePubkeysChangeRequest") - proto.RegisterType((*MsgVotePubkeysChangeResponse)(nil), "sgenetwork.sge.dvm.MsgVotePubkeysChangeResponse") + proto.RegisterType((*MsgSubmitPubkeysChangeProposalRequest)(nil), "furyanetwork.furya.dvm.MsgSubmitPubkeysChangeProposalRequest") + proto.RegisterType((*MsgSubmitPubkeysChangeProposalResponse)(nil), "furyanetwork.furya.dvm.MsgSubmitPubkeysChangeProposalResponse") + proto.RegisterType((*MsgVotePubkeysChangeRequest)(nil), "furyanetwork.furya.dvm.MsgVotePubkeysChangeRequest") + proto.RegisterType((*MsgVotePubkeysChangeResponse)(nil), "furyanetwork.furya.dvm.MsgVotePubkeysChangeResponse") } -func init() { proto.RegisterFile("sge/dvm/tx.proto", fileDescriptor_78e7f1885428b6a5) } +func init() { proto.RegisterFile("furya/dvm/tx.proto", fileDescriptor_78e7f1885428b6a5) } var fileDescriptor_78e7f1885428b6a5 = []byte{ // 325 bytes of a gzipped FileDescriptorProto @@ -306,7 +306,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) SubmitPubkeysChangeProposal(ctx context.Context, in *MsgSubmitPubkeysChangeProposalRequest, opts ...grpc.CallOption) (*MsgSubmitPubkeysChangeProposalResponse, error) { out := new(MsgSubmitPubkeysChangeProposalResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.dvm.Msg/SubmitPubkeysChangeProposal", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.dvm.Msg/SubmitPubkeysChangeProposal", in, out, opts...) if err != nil { return nil, err } @@ -315,7 +315,7 @@ func (c *msgClient) SubmitPubkeysChangeProposal(ctx context.Context, in *MsgSubm func (c *msgClient) VotePubkeysChange(ctx context.Context, in *MsgVotePubkeysChangeRequest, opts ...grpc.CallOption) (*MsgVotePubkeysChangeResponse, error) { out := new(MsgVotePubkeysChangeResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.dvm.Msg/VotePubkeysChange", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.dvm.Msg/VotePubkeysChange", in, out, opts...) if err != nil { return nil, err } @@ -357,7 +357,7 @@ func _Msg_SubmitPubkeysChangeProposal_Handler(srv interface{}, ctx context.Conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.dvm.Msg/SubmitPubkeysChangeProposal", + FullMethod: "/furyanetwork.furya.dvm.Msg/SubmitPubkeysChangeProposal", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).SubmitPubkeysChangeProposal(ctx, req.(*MsgSubmitPubkeysChangeProposalRequest)) @@ -375,7 +375,7 @@ func _Msg_VotePubkeysChange_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.dvm.Msg/VotePubkeysChange", + FullMethod: "/furyanetwork.furya.dvm.Msg/VotePubkeysChange", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).VotePubkeysChange(ctx, req.(*MsgVotePubkeysChangeRequest)) @@ -384,7 +384,7 @@ func _Msg_VotePubkeysChange_Handler(srv interface{}, ctx context.Context, dec fu } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "sgenetwork.sge.dvm.Msg", + ServiceName: "furyanetwork.furya.dvm.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -397,7 +397,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "sge/dvm/tx.proto", + Metadata: "furya/dvm/tx.proto", } func (m *MsgSubmitPubkeysChangeProposalRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/dvm/types/vote.pb.go b/x/dvm/types/vote.pb.go index 3ca59f5..0763359 100644 --- a/x/dvm/types/vote.pb.go +++ b/x/dvm/types/vote.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/dvm/vote.proto +// source: furya/dvm/vote.proto package types @@ -59,7 +59,7 @@ type Vote struct { // public_key is the public key of the voter. PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // vote is the vote enum value. - Vote ProposalVote `protobuf:"varint,2,opt,name=vote,proto3,enum=sgenetwork.sge.dvm.ProposalVote" json:"vote,omitempty"` + Vote ProposalVote `protobuf:"varint,2,opt,name=vote,proto3,enum=furyanetwork.furya.dvm.ProposalVote" json:"vote,omitempty"` } func (m *Vote) Reset() { *m = Vote{} } @@ -110,11 +110,11 @@ func (m *Vote) GetVote() ProposalVote { } func init() { - proto.RegisterEnum("sgenetwork.sge.dvm.ProposalVote", ProposalVote_name, ProposalVote_value) - proto.RegisterType((*Vote)(nil), "sgenetwork.sge.dvm.Vote") + proto.RegisterEnum("furyanetwork.furya.dvm.ProposalVote", ProposalVote_name, ProposalVote_value) + proto.RegisterType((*Vote)(nil), "furyanetwork.furya.dvm.Vote") } -func init() { proto.RegisterFile("sge/dvm/vote.proto", fileDescriptor_c881d83c5c5286a5) } +func init() { proto.RegisterFile("furya/dvm/vote.proto", fileDescriptor_c881d83c5c5286a5) } var fileDescriptor_c881d83c5c5286a5 = []byte{ // 250 bytes of a gzipped FileDescriptorProto diff --git a/x/house/client/cli/query.go b/x/house/client/cli/query.go index 00f03f2..72a3701 100644 --- a/x/house/client/cli/query.go +++ b/x/house/client/cli/query.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/spf13/cobra" - "github.com/sge-network/sge/x/house/types" + "github.com/furya-network/furya/x/house/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/house/client/cli/query_deposit.go b/x/house/client/cli/query_deposit.go index d44a59a..057bfa5 100644 --- a/x/house/client/cli/query_deposit.go +++ b/x/house/client/cli/query_deposit.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/version" - "github.com/sge-network/sge/x/house/types" + "github.com/furya-network/furya/x/house/types" "github.com/spf13/cobra" ) diff --git a/x/house/client/cli/query_params.go b/x/house/client/cli/query_params.go index ea05870..9ae0739 100644 --- a/x/house/client/cli/query_params.go +++ b/x/house/client/cli/query_params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/sge-network/sge/x/house/types" + "github.com/furya-network/furya/x/house/types" "github.com/spf13/cobra" ) diff --git a/x/house/client/cli/query_withdrawal.go b/x/house/client/cli/query_withdrawal.go index 896d947..bff01c1 100644 --- a/x/house/client/cli/query_withdrawal.go +++ b/x/house/client/cli/query_withdrawal.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/version" - "github.com/sge-network/sge/x/house/types" + "github.com/furya-network/furya/x/house/types" "github.com/spf13/cobra" ) diff --git a/x/house/client/cli/tx.go b/x/house/client/cli/tx.go index 5b07008..d276ea7 100644 --- a/x/house/client/cli/tx.go +++ b/x/house/client/cli/tx.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/spf13/cobra" - "github.com/sge-network/sge/x/house/types" + "github.com/furya-network/furya/x/house/types" ) // NewTxCmd returns a root CLI command handler for all x/house transaction commands. diff --git a/x/house/client/cli/tx_deposit.go b/x/house/client/cli/tx_deposit.go index 87b2c28..e1d8fbf 100644 --- a/x/house/client/cli/tx_deposit.go +++ b/x/house/client/cli/tx_deposit.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/version" - "github.com/sge-network/sge/x/house/types" + "github.com/furya-network/furya/x/house/types" "github.com/spf13/cobra" ) @@ -22,7 +22,7 @@ func CmdDeposit() *cobra.Command { fmt.Sprintf(`Deposit coins to be part of a house corresponding to a market. Example: - $ %s tx house deposit bc79a72c-ad7e-4cf5-91a2-98af2751e812 1000usge --from mykey + $ %s tx house deposit bc79a72c-ad7e-4cf5-91a2-98af2751e812 1000ufury --from mykey `, version.AppName, ), diff --git a/x/house/client/cli/tx_withdraw.go b/x/house/client/cli/tx_withdraw.go index e6aa4f9..b146d09 100644 --- a/x/house/client/cli/tx_withdraw.go +++ b/x/house/client/cli/tx_withdraw.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/version" - "github.com/sge-network/sge/x/house/types" + "github.com/furya-network/furya/x/house/types" "github.com/spf13/cast" "github.com/spf13/cobra" ) diff --git a/x/house/genesis.go b/x/house/genesis.go index 0d81e8b..9999086 100644 --- a/x/house/genesis.go +++ b/x/house/genesis.go @@ -3,8 +3,8 @@ package house import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/house/keeper" - "github.com/sge-network/sge/x/house/types" + "github.com/furya-network/furya/x/house/keeper" + "github.com/furya-network/furya/x/house/types" ) // InitGenesis sets the deposits and parameters for the provided keeper. diff --git a/x/house/handler.go b/x/house/handler.go index a59128c..847c764 100644 --- a/x/house/handler.go +++ b/x/house/handler.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/sge-network/sge/x/house/keeper" - "github.com/sge-network/sge/x/house/types" + "github.com/furya-network/furya/x/house/keeper" + "github.com/furya-network/furya/x/house/types" ) // NewHandler returns sdk.handler instance with configured message handler function diff --git a/x/house/keeper/deposit.go b/x/house/keeper/deposit.go index 7cd08a8..19c544d 100644 --- a/x/house/keeper/deposit.go +++ b/x/house/keeper/deposit.go @@ -5,7 +5,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/spf13/cast" - "github.com/sge-network/sge/x/house/types" + "github.com/furya-network/furya/x/house/types" ) // SetDeposit sets a deposit. diff --git a/x/house/keeper/grpc_query.go b/x/house/keeper/grpc_query.go index 403cd91..5ec4c35 100644 --- a/x/house/keeper/grpc_query.go +++ b/x/house/keeper/grpc_query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/sge-network/sge/x/house/types" + "github.com/furya-network/furya/x/house/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/house/keeper/grpc_query_deposit.go b/x/house/keeper/grpc_query_deposit.go index 631c36a..4a899b1 100644 --- a/x/house/keeper/grpc_query_deposit.go +++ b/x/house/keeper/grpc_query_deposit.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - "github.com/sge-network/sge/consts" - "github.com/sge-network/sge/x/house/types" + "github.com/furya-network/furya/consts" + "github.com/furya-network/furya/x/house/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/house/keeper/grpc_query_params.go b/x/house/keeper/grpc_query_params.go index 2049eeb..19921ae 100644 --- a/x/house/keeper/grpc_query_params.go +++ b/x/house/keeper/grpc_query_params.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/house/types" + "github.com/furya-network/furya/x/house/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/house/keeper/grpc_query_withdrawal.go b/x/house/keeper/grpc_query_withdrawal.go index 63250c0..4621642 100644 --- a/x/house/keeper/grpc_query_withdrawal.go +++ b/x/house/keeper/grpc_query_withdrawal.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - "github.com/sge-network/sge/consts" - "github.com/sge-network/sge/x/house/types" + "github.com/furya-network/furya/consts" + "github.com/furya-network/furya/x/house/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/house/keeper/keeper.go b/x/house/keeper/keeper.go index 509a6dd..39841c9 100644 --- a/x/house/keeper/keeper.go +++ b/x/house/keeper/keeper.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/sge-network/sge/x/house/types" + "github.com/furya-network/furya/x/house/types" ) // keeper of the house store diff --git a/x/house/keeper/msg_server.go b/x/house/keeper/msg_server.go index a7e3786..8683989 100644 --- a/x/house/keeper/msg_server.go +++ b/x/house/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/sge-network/sge/x/house/types" + "github.com/furya-network/furya/x/house/types" ) type msgServer struct { diff --git a/x/house/keeper/msg_server_deposit.go b/x/house/keeper/msg_server_deposit.go index bf2fb69..2ecbfa2 100644 --- a/x/house/keeper/msg_server_deposit.go +++ b/x/house/keeper/msg_server_deposit.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/sge-network/sge/x/house/types" + "github.com/furya-network/furya/x/house/types" ) // Deposit defines a method for performing a deposit of coins to become part of the house correspondifg to a market. diff --git a/x/house/keeper/msg_server_withdraw.go b/x/house/keeper/msg_server_withdraw.go index 9a4e50b..f1ff4ee 100644 --- a/x/house/keeper/msg_server_withdraw.go +++ b/x/house/keeper/msg_server_withdraw.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/sge-network/sge/x/house/types" + "github.com/furya-network/furya/x/house/types" ) // Withdraw defines a method for performing a withdrawal of coins of unused amount corresponding to a deposit. diff --git a/x/house/keeper/params.go b/x/house/keeper/params.go index deacd20..ea207a9 100644 --- a/x/house/keeper/params.go +++ b/x/house/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/house/types" + "github.com/furya-network/furya/x/house/types" ) // Get all parameters as types.Params diff --git a/x/house/keeper/validation.go b/x/house/keeper/validation.go index cdb7806..b8ba3b4 100644 --- a/x/house/keeper/validation.go +++ b/x/house/keeper/validation.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/sge-network/sge/x/house/types" + "github.com/furya-network/furya/x/house/types" ) // validateDeposit validates deposit acceptability diff --git a/x/house/keeper/view.go b/x/house/keeper/view.go index 7256d59..cae0972 100644 --- a/x/house/keeper/view.go +++ b/x/house/keeper/view.go @@ -3,7 +3,7 @@ package keeper import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/house/types" + "github.com/furya-network/furya/x/house/types" ) // getDepositsStore gets the store containing all deposits. diff --git a/x/house/keeper/withdrawal.go b/x/house/keeper/withdrawal.go index 57fdc03..3f99bd9 100644 --- a/x/house/keeper/withdrawal.go +++ b/x/house/keeper/withdrawal.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/sge-network/sge/x/house/types" + "github.com/furya-network/furya/x/house/types" ) // SetWithdrawal sets a withdrawal. diff --git a/x/house/module.go b/x/house/module.go index f07970c..37e29ed 100644 --- a/x/house/module.go +++ b/x/house/module.go @@ -14,9 +14,9 @@ import ( "github.com/spf13/cobra" abci "github.com/tendermint/tendermint/abci/types" - "github.com/sge-network/sge/x/house/client/cli" - "github.com/sge-network/sge/x/house/keeper" - "github.com/sge-network/sge/x/house/types" + "github.com/furya-network/furya/x/house/client/cli" + "github.com/furya-network/furya/x/house/keeper" + "github.com/furya-network/furya/x/house/types" ) // AppModuleBasic defines the basic application module used by the house module. diff --git a/x/house/types/deposit.pb.go b/x/house/types/deposit.pb.go index f381d23..2365625 100644 --- a/x/house/types/deposit.pb.go +++ b/x/house/types/deposit.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/house/deposit.proto +// source: furya/house/deposit.proto package types @@ -78,10 +78,10 @@ func (m *Deposit) XXX_DiscardUnknown() { var xxx_messageInfo_Deposit proto.InternalMessageInfo func init() { - proto.RegisterType((*Deposit)(nil), "sgenetwork.sge.house.Deposit") + proto.RegisterType((*Deposit)(nil), "furyanetwork.furya.house.Deposit") } -func init() { proto.RegisterFile("sge/house/deposit.proto", fileDescriptor_c6f2840908fc45a1) } +func init() { proto.RegisterFile("furya/house/deposit.proto", fileDescriptor_c6f2840908fc45a1) } var fileDescriptor_c6f2840908fc45a1 = []byte{ // 466 bytes of a gzipped FileDescriptorProto diff --git a/x/house/types/genesis.pb.go b/x/house/types/genesis.pb.go index 8435f7a..ae50847 100644 --- a/x/house/types/genesis.pb.go +++ b/x/house/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/house/genesis.proto +// source: furya/house/genesis.proto package types @@ -88,10 +88,10 @@ func (m *GenesisState) GetWithdrawalList() []Withdrawal { } func init() { - proto.RegisterType((*GenesisState)(nil), "sgenetwork.sge.house.GenesisState") + proto.RegisterType((*GenesisState)(nil), "furyanetwork.furya.house.GenesisState") } -func init() { proto.RegisterFile("sge/house/genesis.proto", fileDescriptor_aa4dcd3bb98435db) } +func init() { proto.RegisterFile("furya/house/genesis.proto", fileDescriptor_aa4dcd3bb98435db) } var fileDescriptor_aa4dcd3bb98435db = []byte{ // 281 bytes of a gzipped FileDescriptorProto diff --git a/x/house/types/genesis_test.go b/x/house/types/genesis_test.go index 8a0ac8e..b455953 100644 --- a/x/house/types/genesis_test.go +++ b/x/house/types/genesis_test.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/google/uuid" - "github.com/sge-network/sge/x/house/types" + "github.com/furya-network/furya/x/house/types" "github.com/stretchr/testify/require" ) diff --git a/x/house/types/keys.go b/x/house/types/keys.go index fd593e1..71c2ea5 100644 --- a/x/house/types/keys.go +++ b/x/house/types/keys.go @@ -1,7 +1,7 @@ package types import ( - "github.com/sge-network/sge/utils" + "github.com/furya-network/furya/utils" ) const ( diff --git a/x/house/types/message_deposit.go b/x/house/types/message_deposit.go index 65e3e14..b58496f 100644 --- a/x/house/types/message_deposit.go +++ b/x/house/types/message_deposit.go @@ -3,7 +3,7 @@ package types import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/sge-network/sge/utils" + "github.com/furya-network/furya/utils" ) const typeMsgDeposit = "deposit" diff --git a/x/house/types/message_withdraw.go b/x/house/types/message_withdraw.go index aad9fe0..1ce7d41 100644 --- a/x/house/types/message_withdraw.go +++ b/x/house/types/message_withdraw.go @@ -3,7 +3,7 @@ package types import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/sge-network/sge/utils" + "github.com/furya-network/furya/utils" ) const typeMsgWithdraw = "withdraw" diff --git a/x/house/types/params.pb.go b/x/house/types/params.pb.go index a6e9f41..e2c4fb8 100644 --- a/x/house/types/params.pb.go +++ b/x/house/types/params.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/house/params.proto +// source: furya/house/params.proto package types @@ -66,10 +66,10 @@ func (m *Params) XXX_DiscardUnknown() { var xxx_messageInfo_Params proto.InternalMessageInfo func init() { - proto.RegisterType((*Params)(nil), "sgenetwork.sge.house.Params") + proto.RegisterType((*Params)(nil), "furyanetwork.furya.house.Params") } -func init() { proto.RegisterFile("sge/house/params.proto", fileDescriptor_632fcdf2e68e6d32) } +func init() { proto.RegisterFile("furya/house/params.proto", fileDescriptor_632fcdf2e68e6d32) } var fileDescriptor_632fcdf2e68e6d32 = []byte{ // 277 bytes of a gzipped FileDescriptorProto diff --git a/x/house/types/query.pb.go b/x/house/types/query.pb.go index 6ff3bc8..e4b29f0 100644 --- a/x/house/types/query.pb.go +++ b/x/house/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/house/query.proto +// source: furya/house/query.proto package types @@ -441,17 +441,17 @@ func (m *QueryDepositorWithdrawalsResponse) GetPagination() *query.PageResponse } func init() { - proto.RegisterType((*QueryParamsRequest)(nil), "sgenetwork.sge.house.QueryParamsRequest") - proto.RegisterType((*QueryParamsResponse)(nil), "sgenetwork.sge.house.QueryParamsResponse") - proto.RegisterType((*QueryDepositsRequest)(nil), "sgenetwork.sge.house.QueryDepositsRequest") - proto.RegisterType((*QueryDepositsResponse)(nil), "sgenetwork.sge.house.QueryDepositsResponse") - proto.RegisterType((*QueryDepositorDepositsRequest)(nil), "sgenetwork.sge.house.QueryDepositorDepositsRequest") - proto.RegisterType((*QueryDepositorDepositsResponse)(nil), "sgenetwork.sge.house.QueryDepositorDepositsResponse") - proto.RegisterType((*QueryDepositorWithdrawalsRequest)(nil), "sgenetwork.sge.house.QueryDepositorWithdrawalsRequest") - proto.RegisterType((*QueryDepositorWithdrawalsResponse)(nil), "sgenetwork.sge.house.QueryDepositorWithdrawalsResponse") + proto.RegisterType((*QueryParamsRequest)(nil), "furyanetwork.furya.house.QueryParamsRequest") + proto.RegisterType((*QueryParamsResponse)(nil), "furyanetwork.furya.house.QueryParamsResponse") + proto.RegisterType((*QueryDepositsRequest)(nil), "furyanetwork.furya.house.QueryDepositsRequest") + proto.RegisterType((*QueryDepositsResponse)(nil), "furyanetwork.furya.house.QueryDepositsResponse") + proto.RegisterType((*QueryDepositorDepositsRequest)(nil), "furyanetwork.furya.house.QueryDepositorDepositsRequest") + proto.RegisterType((*QueryDepositorDepositsResponse)(nil), "furyanetwork.furya.house.QueryDepositorDepositsResponse") + proto.RegisterType((*QueryDepositorWithdrawalsRequest)(nil), "furyanetwork.furya.house.QueryDepositorWithdrawalsRequest") + proto.RegisterType((*QueryDepositorWithdrawalsResponse)(nil), "furyanetwork.furya.house.QueryDepositorWithdrawalsResponse") } -func init() { proto.RegisterFile("sge/house/query.proto", fileDescriptor_436b89bf9285a4cb) } +func init() { proto.RegisterFile("furya/house/query.proto", fileDescriptor_436b89bf9285a4cb) } var fileDescriptor_436b89bf9285a4cb = []byte{ // 600 bytes of a gzipped FileDescriptorProto @@ -527,7 +527,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { out := new(QueryParamsResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.house.Query/Params", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.house.Query/Params", in, out, opts...) if err != nil { return nil, err } @@ -536,7 +536,7 @@ func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts . func (c *queryClient) Deposits(ctx context.Context, in *QueryDepositsRequest, opts ...grpc.CallOption) (*QueryDepositsResponse, error) { out := new(QueryDepositsResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.house.Query/Deposits", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.house.Query/Deposits", in, out, opts...) if err != nil { return nil, err } @@ -545,7 +545,7 @@ func (c *queryClient) Deposits(ctx context.Context, in *QueryDepositsRequest, op func (c *queryClient) DepositorDeposits(ctx context.Context, in *QueryDepositorDepositsRequest, opts ...grpc.CallOption) (*QueryDepositorDepositsResponse, error) { out := new(QueryDepositorDepositsResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.house.Query/DepositorDeposits", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.house.Query/DepositorDeposits", in, out, opts...) if err != nil { return nil, err } @@ -554,7 +554,7 @@ func (c *queryClient) DepositorDeposits(ctx context.Context, in *QueryDepositorD func (c *queryClient) DepositorWithdrawals(ctx context.Context, in *QueryDepositorWithdrawalsRequest, opts ...grpc.CallOption) (*QueryDepositorWithdrawalsResponse, error) { out := new(QueryDepositorWithdrawalsResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.house.Query/DepositorWithdrawals", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.house.Query/DepositorWithdrawals", in, out, opts...) if err != nil { return nil, err } @@ -604,7 +604,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.house.Query/Params", + FullMethod: "/furyanetwork.furya.house.Query/Params", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) @@ -622,7 +622,7 @@ func _Query_Deposits_Handler(srv interface{}, ctx context.Context, dec func(inte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.house.Query/Deposits", + FullMethod: "/furyanetwork.furya.house.Query/Deposits", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Deposits(ctx, req.(*QueryDepositsRequest)) @@ -640,7 +640,7 @@ func _Query_DepositorDeposits_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.house.Query/DepositorDeposits", + FullMethod: "/furyanetwork.furya.house.Query/DepositorDeposits", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).DepositorDeposits(ctx, req.(*QueryDepositorDepositsRequest)) @@ -658,7 +658,7 @@ func _Query_DepositorWithdrawals_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.house.Query/DepositorWithdrawals", + FullMethod: "/furyanetwork.furya.house.Query/DepositorWithdrawals", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).DepositorWithdrawals(ctx, req.(*QueryDepositorWithdrawalsRequest)) @@ -667,7 +667,7 @@ func _Query_DepositorWithdrawals_Handler(srv interface{}, ctx context.Context, d } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "sgenetwork.sge.house.Query", + ServiceName: "furyanetwork.furya.house.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -688,7 +688,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "sge/house/query.proto", + Metadata: "furya/house/query.proto", } func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/house/types/query.pb.gw.go b/x/house/types/query.pb.gw.go index e2f3e91..e307b63 100644 --- a/x/house/types/query.pb.gw.go +++ b/x/house/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: sge/house/query.proto +// source: furya/house/query.proto /* Package types is a reverse proxy. @@ -454,13 +454,13 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"sge", "house", "params"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"furya", "house", "params"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_Deposits_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"sge", "deposits"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_Deposits_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"furya", "deposits"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_DepositorDeposits_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"sge", "deposits", "depositor_address"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_DepositorDeposits_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"furya", "deposits", "depositor_address"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_DepositorWithdrawals_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"sge", "withdrawals", "depositor_address"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_DepositorWithdrawals_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"furya", "withdrawals", "depositor_address"}, "", runtime.AssumeColonVerbOpt(true))) ) var ( diff --git a/x/house/types/tx.pb.go b/x/house/types/tx.pb.go index a7342d9..d64b932 100644 --- a/x/house/types/tx.pb.go +++ b/x/house/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/house/tx.proto +// source: furya/house/tx.proto package types @@ -129,7 +129,7 @@ type MsgWithdraw struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty" yaml:"creator"` MarketUID string `protobuf:"bytes,2,opt,name=market_uid,proto3" json:"market_uid"` ParticipationIndex uint64 `protobuf:"varint,3,opt,name=participation_index,json=participationIndex,proto3" json:"participation_index,omitempty" yaml:"participation_index"` - Mode WithdrawalMode `protobuf:"varint,4,opt,name=mode,proto3,enum=sgenetwork.sge.house.WithdrawalMode" json:"mode,omitempty" yaml:"mode"` + Mode WithdrawalMode `protobuf:"varint,4,opt,name=mode,proto3,enum=furyanetwork.furya.house.WithdrawalMode" json:"mode,omitempty" yaml:"mode"` Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` } @@ -228,13 +228,13 @@ func (m *MsgWithdrawResponse) GetParticipationIndex() uint64 { } func init() { - proto.RegisterType((*MsgDeposit)(nil), "sgenetwork.sge.house.MsgDeposit") - proto.RegisterType((*MsgDepositResponse)(nil), "sgenetwork.sge.house.MsgDepositResponse") - proto.RegisterType((*MsgWithdraw)(nil), "sgenetwork.sge.house.MsgWithdraw") - proto.RegisterType((*MsgWithdrawResponse)(nil), "sgenetwork.sge.house.MsgWithdrawResponse") + proto.RegisterType((*MsgDeposit)(nil), "furyanetwork.furya.house.MsgDeposit") + proto.RegisterType((*MsgDepositResponse)(nil), "furyanetwork.furya.house.MsgDepositResponse") + proto.RegisterType((*MsgWithdraw)(nil), "furyanetwork.furya.house.MsgWithdraw") + proto.RegisterType((*MsgWithdrawResponse)(nil), "furyanetwork.furya.house.MsgWithdrawResponse") } -func init() { proto.RegisterFile("sge/house/tx.proto", fileDescriptor_d3891d05e499977f) } +func init() { proto.RegisterFile("furya/house/tx.proto", fileDescriptor_d3891d05e499977f) } var fileDescriptor_d3891d05e499977f = []byte{ // 510 bytes of a gzipped FileDescriptorProto @@ -302,7 +302,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) Deposit(ctx context.Context, in *MsgDeposit, opts ...grpc.CallOption) (*MsgDepositResponse, error) { out := new(MsgDepositResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.house.Msg/Deposit", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.house.Msg/Deposit", in, out, opts...) if err != nil { return nil, err } @@ -311,7 +311,7 @@ func (c *msgClient) Deposit(ctx context.Context, in *MsgDeposit, opts ...grpc.Ca func (c *msgClient) Withdraw(ctx context.Context, in *MsgWithdraw, opts ...grpc.CallOption) (*MsgWithdrawResponse, error) { out := new(MsgWithdrawResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.house.Msg/Withdraw", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.house.Msg/Withdraw", in, out, opts...) if err != nil { return nil, err } @@ -353,7 +353,7 @@ func _Msg_Deposit_Handler(srv interface{}, ctx context.Context, dec func(interfa } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.house.Msg/Deposit", + FullMethod: "/furyanetwork.furya.house.Msg/Deposit", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).Deposit(ctx, req.(*MsgDeposit)) @@ -371,7 +371,7 @@ func _Msg_Withdraw_Handler(srv interface{}, ctx context.Context, dec func(interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.house.Msg/Withdraw", + FullMethod: "/furyanetwork.furya.house.Msg/Withdraw", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).Withdraw(ctx, req.(*MsgWithdraw)) @@ -380,7 +380,7 @@ func _Msg_Withdraw_Handler(srv interface{}, ctx context.Context, dec func(interf } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "sgenetwork.sge.house.Msg", + ServiceName: "furyanetwork.furya.house.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -393,7 +393,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "sge/house/tx.proto", + Metadata: "furya/house/tx.proto", } func (m *MsgDeposit) Marshal() (dAtA []byte, err error) { diff --git a/x/house/types/withdraw.pb.go b/x/house/types/withdraw.pb.go index 8ff6b7a..747d460 100644 --- a/x/house/types/withdraw.pb.go +++ b/x/house/types/withdraw.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/house/withdraw.proto +// source: furya/house/withdraw.proto package types @@ -68,7 +68,7 @@ type Withdrawal struct { // participation_index is the id corresponding to the book participation ParticipationIndex uint64 `protobuf:"varint,4,opt,name=participation_index,json=participationIndex,proto3" json:"participation_index,omitempty" yaml:"participation_index"` // mode is the withdrawal mode enum value - Mode WithdrawalMode `protobuf:"varint,5,opt,name=mode,proto3,enum=sgenetwork.sge.house.WithdrawalMode" json:"mode,omitempty" yaml:"mode"` + Mode WithdrawalMode `protobuf:"varint,5,opt,name=mode,proto3,enum=furyanetwork.furya.house.WithdrawalMode" json:"mode,omitempty" yaml:"mode"` // amount is the amount being withdrawn. Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount" yaml:"amount"` } @@ -106,11 +106,11 @@ func (m *Withdrawal) XXX_DiscardUnknown() { var xxx_messageInfo_Withdrawal proto.InternalMessageInfo func init() { - proto.RegisterEnum("sgenetwork.sge.house.WithdrawalMode", WithdrawalMode_name, WithdrawalMode_value) - proto.RegisterType((*Withdrawal)(nil), "sgenetwork.sge.house.Withdrawal") + proto.RegisterEnum("furyanetwork.furya.house.WithdrawalMode", WithdrawalMode_name, WithdrawalMode_value) + proto.RegisterType((*Withdrawal)(nil), "furyanetwork.furya.house.Withdrawal") } -func init() { proto.RegisterFile("sge/house/withdraw.proto", fileDescriptor_9ca852402ebf549d) } +func init() { proto.RegisterFile("furya/house/withdraw.proto", fileDescriptor_9ca852402ebf549d) } var fileDescriptor_9ca852402ebf549d = []byte{ // 486 bytes of a gzipped FileDescriptorProto diff --git a/x/market/client/cli/query.go b/x/market/client/cli/query.go index b59db88..4f353be 100644 --- a/x/market/client/cli/query.go +++ b/x/market/client/cli/query.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/spf13/cobra" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/market/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/market/client/cli/query_market.go b/x/market/client/cli/query_market.go index 00ecafa..ff69e11 100644 --- a/x/market/client/cli/query_market.go +++ b/x/market/client/cli/query_market.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/market/types" "github.com/spf13/cobra" ) diff --git a/x/market/client/cli/query_market_test.go b/x/market/client/cli/query_market_test.go index 586d9a1..17962f6 100644 --- a/x/market/client/cli/query_market_test.go +++ b/x/market/client/cli/query_market_test.go @@ -12,10 +12,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/sge-network/sge/testutil/network" - "github.com/sge-network/sge/testutil/nullify" - "github.com/sge-network/sge/x/market/client/cli" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/testutil/network" + "github.com/furya-network/furya/testutil/nullify" + "github.com/furya-network/furya/x/market/client/cli" + "github.com/furya-network/furya/x/market/types" ) func networkWithMarketObjects(t *testing.T, n int) (*network.Network, []types.Market) { diff --git a/x/market/client/cli/query_params.go b/x/market/client/cli/query_params.go index 4e8417f..5ca622f 100644 --- a/x/market/client/cli/query_params.go +++ b/x/market/client/cli/query_params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/market/types" "github.com/spf13/cobra" ) diff --git a/x/market/client/cli/query_params_test.go b/x/market/client/cli/query_params_test.go index a51f05a..9be2231 100644 --- a/x/market/client/cli/query_params_test.go +++ b/x/market/client/cli/query_params_test.go @@ -5,9 +5,9 @@ import ( "testing" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/sge-network/sge/testutil/network" - "github.com/sge-network/sge/x/market/client/cli" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/testutil/network" + "github.com/furya-network/furya/x/market/client/cli" + "github.com/furya-network/furya/x/market/types" "github.com/stretchr/testify/require" ) diff --git a/x/market/client/cli/query_test.go b/x/market/client/cli/query_test.go index 6d17188..71f6653 100644 --- a/x/market/client/cli/query_test.go +++ b/x/market/client/cli/query_test.go @@ -5,8 +5,8 @@ import ( "testing" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/sge-network/sge/testutil/network" - "github.com/sge-network/sge/x/market/client/cli" + "github.com/furya-network/furya/testutil/network" + "github.com/furya-network/furya/x/market/client/cli" "github.com/stretchr/testify/require" ) diff --git a/x/market/client/cli/tx.go b/x/market/client/cli/tx.go index 54658e7..4e13eda 100644 --- a/x/market/client/cli/tx.go +++ b/x/market/client/cli/tx.go @@ -6,7 +6,7 @@ import ( "github.com/spf13/cobra" "github.com/cosmos/cosmos-sdk/client" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/market/types" ) const listSeparator = "," diff --git a/x/market/client/cli/tx_market.go b/x/market/client/cli/tx_market.go index 18e025d..da63244 100644 --- a/x/market/client/cli/tx_market.go +++ b/x/market/client/cli/tx_market.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/market/types" "github.com/spf13/cobra" ) diff --git a/x/market/client/cli/tx_resolve_market.go b/x/market/client/cli/tx_resolve_market.go index 78f2144..6e2380f 100644 --- a/x/market/client/cli/tx_resolve_market.go +++ b/x/market/client/cli/tx_resolve_market.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/market/types" "github.com/spf13/cobra" ) diff --git a/x/market/client/cli/tx_test.go b/x/market/client/cli/tx_test.go index e9e98f8..fe386f3 100644 --- a/x/market/client/cli/tx_test.go +++ b/x/market/client/cli/tx_test.go @@ -5,8 +5,8 @@ import ( "testing" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/sge-network/sge/testutil/network" - "github.com/sge-network/sge/x/market/client/cli" + "github.com/furya-network/furya/testutil/network" + "github.com/furya-network/furya/x/market/client/cli" "github.com/stretchr/testify/require" ) diff --git a/x/market/genesis.go b/x/market/genesis.go index fa03b1e..f868400 100644 --- a/x/market/genesis.go +++ b/x/market/genesis.go @@ -2,8 +2,8 @@ package market import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/market/keeper" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/market/keeper" + "github.com/furya-network/furya/x/market/types" ) // InitGenesis initializes the module's state from a provided genesis diff --git a/x/market/genesis_test.go b/x/market/genesis_test.go index 7b4450a..0255bcd 100644 --- a/x/market/genesis_test.go +++ b/x/market/genesis_test.go @@ -3,10 +3,10 @@ package market_test import ( "testing" - "github.com/sge-network/sge/testutil/nullify" - simappUtil "github.com/sge-network/sge/testutil/simapp" - market "github.com/sge-network/sge/x/market" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/testutil/nullify" + simappUtil "github.com/furya-network/furya/testutil/simapp" + market "github.com/furya-network/furya/x/market" + "github.com/furya-network/furya/x/market/types" "github.com/stretchr/testify/require" ) diff --git a/x/market/handler.go b/x/market/handler.go index c0f48c1..a6ad678 100644 --- a/x/market/handler.go +++ b/x/market/handler.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/sge-network/sge/x/market/keeper" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/market/keeper" + "github.com/furya-network/furya/x/market/types" ) // NewHandler ... diff --git a/x/market/keeper/export_test.go b/x/market/keeper/export_test.go index 064788b..0c246b5 100644 --- a/x/market/keeper/export_test.go +++ b/x/market/keeper/export_test.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/market/types" ) // KeeperTest is a wrapper object for the keeper, It is being used diff --git a/x/market/keeper/grpc_query.go b/x/market/keeper/grpc_query.go index 397279c..12899b3 100644 --- a/x/market/keeper/grpc_query.go +++ b/x/market/keeper/grpc_query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/market/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/market/keeper/grpc_query_market.go b/x/market/keeper/grpc_query_market.go index 2b26a03..31689e3 100644 --- a/x/market/keeper/grpc_query_market.go +++ b/x/market/keeper/grpc_query_market.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - "github.com/sge-network/sge/consts" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/consts" + "github.com/furya-network/furya/x/market/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/market/keeper/grpc_query_market_test.go b/x/market/keeper/grpc_query_market_test.go index fffe8c9..476306e 100644 --- a/x/market/keeper/grpc_query_market_test.go +++ b/x/market/keeper/grpc_query_market_test.go @@ -4,9 +4,9 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/consts" - "github.com/sge-network/sge/testutil/nullify" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/consts" + "github.com/furya-network/furya/testutil/nullify" + "github.com/furya-network/furya/x/market/types" "github.com/spf13/cast" "github.com/stretchr/testify/require" "google.golang.org/grpc/codes" diff --git a/x/market/keeper/grpc_query_params.go b/x/market/keeper/grpc_query_params.go index 1096184..d8fd444 100644 --- a/x/market/keeper/grpc_query_params.go +++ b/x/market/keeper/grpc_query_params.go @@ -4,8 +4,8 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/consts" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/consts" + "github.com/furya-network/furya/x/market/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/market/keeper/grpc_query_params_test.go b/x/market/keeper/grpc_query_params_test.go index adab1b4..338d560 100644 --- a/x/market/keeper/grpc_query_params_test.go +++ b/x/market/keeper/grpc_query_params_test.go @@ -4,8 +4,8 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/consts" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/consts" + "github.com/furya-network/furya/x/market/types" "github.com/stretchr/testify/require" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/x/market/keeper/keeper.go b/x/market/keeper/keeper.go index 277ef52..d56a14f 100644 --- a/x/market/keeper/keeper.go +++ b/x/market/keeper/keeper.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/market/types" ) // Keeper is the type for module properties diff --git a/x/market/keeper/keeper_test.go b/x/market/keeper/keeper_test.go index 976ab25..d1b1de0 100644 --- a/x/market/keeper/keeper_test.go +++ b/x/market/keeper/keeper_test.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/golang-jwt/jwt" - simappUtil "github.com/sge-network/sge/testutil/simapp" - "github.com/sge-network/sge/x/market/keeper" + simappUtil "github.com/furya-network/furya/testutil/simapp" + "github.com/furya-network/furya/x/market/keeper" "github.com/stretchr/testify/require" ) diff --git a/x/market/keeper/market.go b/x/market/keeper/market.go index e0dc43c..0c00a2f 100644 --- a/x/market/keeper/market.go +++ b/x/market/keeper/market.go @@ -2,8 +2,8 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/utils" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/utils" + "github.com/furya-network/furya/x/market/types" ) // SetMarket sets a specific market in the store diff --git a/x/market/keeper/market_server_test.go b/x/market/keeper/market_server_test.go index cc04260..225560e 100644 --- a/x/market/keeper/market_server_test.go +++ b/x/market/keeper/market_server_test.go @@ -8,8 +8,8 @@ import ( "github.com/golang-jwt/jwt" "github.com/google/uuid" - "github.com/sge-network/sge/testutil/sample" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/testutil/sample" + "github.com/furya-network/furya/x/market/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/x/market/keeper/market_test.go b/x/market/keeper/market_test.go index 7a3ded0..d7a5c22 100644 --- a/x/market/keeper/market_test.go +++ b/x/market/keeper/market_test.go @@ -4,9 +4,9 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/testutil/nullify" - "github.com/sge-network/sge/x/market/keeper" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/testutil/nullify" + "github.com/furya-network/furya/x/market/keeper" + "github.com/furya-network/furya/x/market/types" "github.com/spf13/cast" "github.com/stretchr/testify/require" ) diff --git a/x/market/keeper/market_validation_test.go b/x/market/keeper/market_validation_test.go index 091ef55..866baf6 100644 --- a/x/market/keeper/market_validation_test.go +++ b/x/market/keeper/market_validation_test.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/google/uuid" - "github.com/sge-network/sge/testutil/sample" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/testutil/sample" + "github.com/furya-network/furya/x/market/types" "github.com/stretchr/testify/require" ) diff --git a/x/market/keeper/msg_server.go b/x/market/keeper/msg_server.go index 8ec0a51..d95dcd9 100644 --- a/x/market/keeper/msg_server.go +++ b/x/market/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/market/types" ) type msgServer struct { diff --git a/x/market/keeper/msg_server_add_market.go b/x/market/keeper/msg_server_add_market.go index 3d9b161..5a36119 100644 --- a/x/market/keeper/msg_server_add_market.go +++ b/x/market/keeper/msg_server_add_market.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/market/types" ) // AddMarket accepts ticket containing creation market and return response after processing diff --git a/x/market/keeper/msg_server_resolve_market.go b/x/market/keeper/msg_server_resolve_market.go index ddfda26..993614b 100644 --- a/x/market/keeper/msg_server_resolve_market.go +++ b/x/market/keeper/msg_server_resolve_market.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/market/types" ) // ResolveMarket accepts ticket containing resolution markets and return response after processing diff --git a/x/market/keeper/msg_server_test.go b/x/market/keeper/msg_server_test.go index addacd0..d551f33 100644 --- a/x/market/keeper/msg_server_test.go +++ b/x/market/keeper/msg_server_test.go @@ -5,9 +5,9 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - simappUtil "github.com/sge-network/sge/testutil/simapp" - "github.com/sge-network/sge/x/market/keeper" - "github.com/sge-network/sge/x/market/types" + simappUtil "github.com/furya-network/furya/testutil/simapp" + "github.com/furya-network/furya/x/market/keeper" + "github.com/furya-network/furya/x/market/types" ) func setupMsgServerAndKeeper(t testing.TB) (*keeper.KeeperTest, types.MsgServer, sdk.Context, context.Context) { diff --git a/x/market/keeper/msg_server_update_market.go b/x/market/keeper/msg_server_update_market.go index 8acdec5..89dde1b 100644 --- a/x/market/keeper/msg_server_update_market.go +++ b/x/market/keeper/msg_server_update_market.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/market/types" ) // UpdateMarket accepts ticket containing update market and return response after processing diff --git a/x/market/keeper/params.go b/x/market/keeper/params.go index 49d0a1c..c291e3d 100644 --- a/x/market/keeper/params.go +++ b/x/market/keeper/params.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/market/types" ) // GetParams get all parameters as types.Params diff --git a/x/market/keeper/params_test.go b/x/market/keeper/params_test.go index 2299b24..5e9be17 100644 --- a/x/market/keeper/params_test.go +++ b/x/market/keeper/params_test.go @@ -3,7 +3,7 @@ package keeper_test import ( "testing" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/market/types" "github.com/stretchr/testify/require" ) diff --git a/x/market/keeper/stats.go b/x/market/keeper/stats.go index d4f83f8..a087dc3 100644 --- a/x/market/keeper/stats.go +++ b/x/market/keeper/stats.go @@ -2,8 +2,8 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/utils" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/utils" + "github.com/furya-network/furya/x/market/types" ) // SetMarketStats sets market statistics in the store diff --git a/x/market/keeper/view.go b/x/market/keeper/view.go index c9686ce..da6158c 100644 --- a/x/market/keeper/view.go +++ b/x/market/keeper/view.go @@ -3,7 +3,7 @@ package keeper import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/market/types" ) // getMarketsStore gets the store containing all markets. diff --git a/x/market/module.go b/x/market/module.go index db3fbb2..025c776 100644 --- a/x/market/module.go +++ b/x/market/module.go @@ -16,9 +16,9 @@ import ( cdctypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/sge-network/sge/x/market/client/cli" - "github.com/sge-network/sge/x/market/keeper" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/market/client/cli" + "github.com/furya-network/furya/x/market/keeper" + "github.com/furya-network/furya/x/market/types" ) var ( diff --git a/x/market/module_simulation.go b/x/market/module_simulation.go index 3a3b40f..b7f631a 100644 --- a/x/market/module_simulation.go +++ b/x/market/module_simulation.go @@ -10,9 +10,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/sge-network/sge/testutil/sample" - marketsimulation "github.com/sge-network/sge/x/market/simulation" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/testutil/sample" + marketsimulation "github.com/furya-network/furya/x/market/simulation" + "github.com/furya-network/furya/x/market/types" ) // avoid unused import issue diff --git a/x/market/simulation/add_market.go b/x/market/simulation/add_market.go index 124354f..e7de322 100644 --- a/x/market/simulation/add_market.go +++ b/x/market/simulation/add_market.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/sge-network/sge/x/market/keeper" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/market/keeper" + "github.com/furya-network/furya/x/market/types" ) // SimulateMsgAddEvent simulates the add market flow diff --git a/x/market/simulation/resolve_market.go b/x/market/simulation/resolve_market.go index 3a06e47..e1d88fb 100644 --- a/x/market/simulation/resolve_market.go +++ b/x/market/simulation/resolve_market.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/sge-network/sge/x/market/keeper" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/market/keeper" + "github.com/furya-network/furya/x/market/types" ) // SimulateMsgResolveEvent simulates the resolve market flow diff --git a/x/market/simulation/update_market.go b/x/market/simulation/update_market.go index 5d46b30..34129d2 100644 --- a/x/market/simulation/update_market.go +++ b/x/market/simulation/update_market.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/sge-network/sge/x/market/keeper" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/market/keeper" + "github.com/furya-network/furya/x/market/types" ) // SimulateMsgUpdateEvent simulates update market message diff --git a/x/market/types/genesis.go b/x/market/types/genesis.go index 6c6cb02..2e80d15 100644 --- a/x/market/types/genesis.go +++ b/x/market/types/genesis.go @@ -3,7 +3,7 @@ package types import ( "fmt" - "github.com/sge-network/sge/utils" + "github.com/furya-network/furya/utils" ) // DefaultIndex is the default global index diff --git a/x/market/types/genesis.pb.go b/x/market/types/genesis.pb.go index 3a00db8..d17dd9a 100644 --- a/x/market/types/genesis.pb.go +++ b/x/market/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/market/genesis.proto +// source: furya/market/genesis.proto package types @@ -89,10 +89,10 @@ func (m *GenesisState) GetStats() MarketStats { } func init() { - proto.RegisterType((*GenesisState)(nil), "sgenetwork.sge.market.GenesisState") + proto.RegisterType((*GenesisState)(nil), "furyanetwork.furya.market.GenesisState") } -func init() { proto.RegisterFile("sge/market/genesis.proto", fileDescriptor_e4ffd0e85fa3c489) } +func init() { proto.RegisterFile("furya/market/genesis.proto", fileDescriptor_e4ffd0e85fa3c489) } var fileDescriptor_e4ffd0e85fa3c489 = []byte{ // 261 bytes of a gzipped FileDescriptorProto diff --git a/x/market/types/genesis_test.go b/x/market/types/genesis_test.go index 330ce92..c6c7142 100644 --- a/x/market/types/genesis_test.go +++ b/x/market/types/genesis_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/sge-network/sge/x/market/types" + "github.com/furya-network/furya/x/market/types" "github.com/stretchr/testify/require" ) diff --git a/x/market/types/market.pb.go b/x/market/types/market.pb.go index 15dd938..a1c2aaf 100644 --- a/x/market/types/market.pb.go +++ b/x/market/types/market.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/market/market.proto +// source: furya/market/market.proto package types @@ -82,7 +82,7 @@ type Market struct { // winner_odds_uids is the list of winner odds universal unique identifiers. WinnerOddsUIDs []string `protobuf:"bytes,5,rep,name=winner_odds_uids,proto3" json:"winner_odds_uids"` // status is the current status of the market. - Status MarketStatus `protobuf:"varint,6,opt,name=status,proto3,enum=sgenetwork.sge.market.MarketStatus" json:"status,omitempty"` + Status MarketStatus `protobuf:"varint,6,opt,name=status,proto3,enum=furyanetwork.furya.market.MarketStatus" json:"status,omitempty"` // resolution_ts is the timestamp of the resolution of market. ResolutionTS uint64 `protobuf:"varint,7,opt,name=resolution_ts,proto3" json:"resolution_ts"` // creator is the address of the creator of market. @@ -249,12 +249,12 @@ func (m *MarketBetConstraints) XXX_DiscardUnknown() { var xxx_messageInfo_MarketBetConstraints proto.InternalMessageInfo func init() { - proto.RegisterEnum("sgenetwork.sge.market.MarketStatus", MarketStatus_name, MarketStatus_value) - proto.RegisterType((*Market)(nil), "sgenetwork.sge.market.Market") - proto.RegisterType((*MarketBetConstraints)(nil), "sgenetwork.sge.market.MarketBetConstraints") + proto.RegisterEnum("furyanetwork.furya.market.MarketStatus", MarketStatus_name, MarketStatus_value) + proto.RegisterType((*Market)(nil), "furyanetwork.furya.market.Market") + proto.RegisterType((*MarketBetConstraints)(nil), "furyanetwork.furya.market.MarketBetConstraints") } -func init() { proto.RegisterFile("sge/market/market.proto", fileDescriptor_935a8ad1d6bee065) } +func init() { proto.RegisterFile("furya/market/market.proto", fileDescriptor_935a8ad1d6bee065) } var fileDescriptor_935a8ad1d6bee065 = []byte{ // 688 bytes of a gzipped FileDescriptorProto diff --git a/x/market/types/odds.pb.go b/x/market/types/odds.pb.go index a8a580a..5e5990b 100644 --- a/x/market/types/odds.pb.go +++ b/x/market/types/odds.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/market/odds.proto +// source: furya/market/odds.proto package types @@ -79,10 +79,10 @@ func (m *Odds) GetMeta() string { } func init() { - proto.RegisterType((*Odds)(nil), "sgenetwork.sge.market.Odds") + proto.RegisterType((*Odds)(nil), "furyanetwork.furya.market.Odds") } -func init() { proto.RegisterFile("sge/market/odds.proto", fileDescriptor_cf7f1000ed50889d) } +func init() { proto.RegisterFile("furya/market/odds.proto", fileDescriptor_cf7f1000ed50889d) } var fileDescriptor_cf7f1000ed50889d = []byte{ // 192 bytes of a gzipped FileDescriptorProto diff --git a/x/market/types/params.pb.go b/x/market/types/params.pb.go index df0c6ea..d6b2631 100644 --- a/x/market/types/params.pb.go +++ b/x/market/types/params.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/market/params.proto +// source: furya/market/params.proto package types @@ -68,10 +68,10 @@ func (m *Params) XXX_DiscardUnknown() { var xxx_messageInfo_Params proto.InternalMessageInfo func init() { - proto.RegisterType((*Params)(nil), "sgenetwork.sge.market.Params") + proto.RegisterType((*Params)(nil), "furyanetwork.furya.market.Params") } -func init() { proto.RegisterFile("sge/market/params.proto", fileDescriptor_e166b9eeb42fd7f6) } +func init() { proto.RegisterFile("furya/market/params.proto", fileDescriptor_e166b9eeb42fd7f6) } var fileDescriptor_e166b9eeb42fd7f6 = []byte{ // 316 bytes of a gzipped FileDescriptorProto diff --git a/x/market/types/query.pb.go b/x/market/types/query.pb.go index a83f30d..71b46a5 100644 --- a/x/market/types/query.pb.go +++ b/x/market/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/market/query.proto +// source: furya/market/query.proto package types @@ -410,17 +410,17 @@ func (m *QueryMarketsByUIDsResponse) GetFailedMarkets() []string { } func init() { - proto.RegisterType((*QueryParamsRequest)(nil), "sgenetwork.sge.market.QueryParamsRequest") - proto.RegisterType((*QueryParamsResponse)(nil), "sgenetwork.sge.market.QueryParamsResponse") - proto.RegisterType((*QueryMarketRequest)(nil), "sgenetwork.sge.market.QueryMarketRequest") - proto.RegisterType((*QueryMarketResponse)(nil), "sgenetwork.sge.market.QueryMarketResponse") - proto.RegisterType((*QueryMarketsRequest)(nil), "sgenetwork.sge.market.QueryMarketsRequest") - proto.RegisterType((*QueryMarketsResponse)(nil), "sgenetwork.sge.market.QueryMarketsResponse") - proto.RegisterType((*QueryMarketsByUIDsRequest)(nil), "sgenetwork.sge.market.QueryMarketsByUIDsRequest") - proto.RegisterType((*QueryMarketsByUIDsResponse)(nil), "sgenetwork.sge.market.QueryMarketsByUIDsResponse") + proto.RegisterType((*QueryParamsRequest)(nil), "furyanetwork.furya.market.QueryParamsRequest") + proto.RegisterType((*QueryParamsResponse)(nil), "furyanetwork.furya.market.QueryParamsResponse") + proto.RegisterType((*QueryMarketRequest)(nil), "furyanetwork.furya.market.QueryMarketRequest") + proto.RegisterType((*QueryMarketResponse)(nil), "furyanetwork.furya.market.QueryMarketResponse") + proto.RegisterType((*QueryMarketsRequest)(nil), "furyanetwork.furya.market.QueryMarketsRequest") + proto.RegisterType((*QueryMarketsResponse)(nil), "furyanetwork.furya.market.QueryMarketsResponse") + proto.RegisterType((*QueryMarketsByUIDsRequest)(nil), "furyanetwork.furya.market.QueryMarketsByUIDsRequest") + proto.RegisterType((*QueryMarketsByUIDsResponse)(nil), "furyanetwork.furya.market.QueryMarketsByUIDsResponse") } -func init() { proto.RegisterFile("sge/market/query.proto", fileDescriptor_a0102cd07774feff) } +func init() { proto.RegisterFile("furya/market/query.proto", fileDescriptor_a0102cd07774feff) } var fileDescriptor_a0102cd07774feff = []byte{ // 579 bytes of a gzipped FileDescriptorProto @@ -495,7 +495,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { out := new(QueryParamsResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.market.Query/Params", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.market.Query/Params", in, out, opts...) if err != nil { return nil, err } @@ -504,7 +504,7 @@ func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts . func (c *queryClient) Market(ctx context.Context, in *QueryMarketRequest, opts ...grpc.CallOption) (*QueryMarketResponse, error) { out := new(QueryMarketResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.market.Query/Market", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.market.Query/Market", in, out, opts...) if err != nil { return nil, err } @@ -513,7 +513,7 @@ func (c *queryClient) Market(ctx context.Context, in *QueryMarketRequest, opts . func (c *queryClient) Markets(ctx context.Context, in *QueryMarketsRequest, opts ...grpc.CallOption) (*QueryMarketsResponse, error) { out := new(QueryMarketsResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.market.Query/Markets", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.market.Query/Markets", in, out, opts...) if err != nil { return nil, err } @@ -522,7 +522,7 @@ func (c *queryClient) Markets(ctx context.Context, in *QueryMarketsRequest, opts func (c *queryClient) MarketsByUIDs(ctx context.Context, in *QueryMarketsByUIDsRequest, opts ...grpc.CallOption) (*QueryMarketsByUIDsResponse, error) { out := new(QueryMarketsByUIDsResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.market.Query/MarketsByUIDs", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.market.Query/MarketsByUIDs", in, out, opts...) if err != nil { return nil, err } @@ -572,7 +572,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.market.Query/Params", + FullMethod: "/furyanetwork.furya.market.Query/Params", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) @@ -590,7 +590,7 @@ func _Query_Market_Handler(srv interface{}, ctx context.Context, dec func(interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.market.Query/Market", + FullMethod: "/furyanetwork.furya.market.Query/Market", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Market(ctx, req.(*QueryMarketRequest)) @@ -608,7 +608,7 @@ func _Query_Markets_Handler(srv interface{}, ctx context.Context, dec func(inter } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.market.Query/Markets", + FullMethod: "/furyanetwork.furya.market.Query/Markets", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Markets(ctx, req.(*QueryMarketsRequest)) @@ -626,7 +626,7 @@ func _Query_MarketsByUIDs_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.market.Query/MarketsByUIDs", + FullMethod: "/furyanetwork.furya.market.Query/MarketsByUIDs", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).MarketsByUIDs(ctx, req.(*QueryMarketsByUIDsRequest)) @@ -635,7 +635,7 @@ func _Query_MarketsByUIDs_Handler(srv interface{}, ctx context.Context, dec func } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "sgenetwork.sge.market.Query", + ServiceName: "furyanetwork.furya.market.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -656,7 +656,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "sge/market/query.proto", + Metadata: "furya/market/query.proto", } func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/market/types/query.pb.gw.go b/x/market/types/query.pb.gw.go index f078ca9..5b41180 100644 --- a/x/market/types/query.pb.gw.go +++ b/x/market/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: sge/market/query.proto +// source: furya/market/query.proto /* Package types is a reverse proxy. @@ -418,13 +418,13 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"sge", "market", "params"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"furya", "market", "params"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_Market_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"sge", "market", "uid"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_Market_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"furya", "market", "uid"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_Markets_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"sge", "market", "markets"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_Markets_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"furya", "market", "markets"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_MarketsByUIDs_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"sge", "market", "markets_by_uids", "uids"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_MarketsByUIDs_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"furya", "market", "markets_by_uids", "uids"}, "", runtime.AssumeColonVerbOpt(true))) ) var ( diff --git a/x/market/types/stats.pb.go b/x/market/types/stats.pb.go index 09dbfef..bd95ccf 100644 --- a/x/market/types/stats.pb.go +++ b/x/market/types/stats.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/market/stats.proto +// source: furya/market/stats.proto package types @@ -70,10 +70,10 @@ func (m *MarketStats) GetResolvedUnsettled() []string { } func init() { - proto.RegisterType((*MarketStats)(nil), "sgenetwork.sge.market.MarketStats") + proto.RegisterType((*MarketStats)(nil), "furyanetwork.furya.market.MarketStats") } -func init() { proto.RegisterFile("sge/market/stats.proto", fileDescriptor_ee763120d9ee1c76) } +func init() { proto.RegisterFile("furya/market/stats.proto", fileDescriptor_ee763120d9ee1c76) } var fileDescriptor_ee763120d9ee1c76 = []byte{ // 174 bytes of a gzipped FileDescriptorProto diff --git a/x/market/types/ticket.go b/x/market/types/ticket.go index 82fb77f..10e2e2b 100644 --- a/x/market/types/ticket.go +++ b/x/market/types/ticket.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/sge-network/sge/utils" + "github.com/furya-network/furya/utils" "github.com/spf13/cast" ) diff --git a/x/market/types/ticket.pb.go b/x/market/types/ticket.pb.go index 728fa78..aca566e 100644 --- a/x/market/types/ticket.pb.go +++ b/x/market/types/ticket.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/market/ticket.proto +// source: furya/market/ticket.proto package types @@ -35,7 +35,7 @@ type MarketAddTicketPayload struct { // odds is the list of odds of the market. Odds []*Odds `protobuf:"bytes,4,rep,name=odds,proto3" json:"odds,omitempty"` // status is the current status of the market. - Status MarketStatus `protobuf:"varint,5,opt,name=status,proto3,enum=sgenetwork.sge.market.MarketStatus" json:"status,omitempty"` + Status MarketStatus `protobuf:"varint,5,opt,name=status,proto3,enum=furyanetwork.furya.market.MarketStatus" json:"status,omitempty"` // creator is the address of the creator of the market. Creator string `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty"` // min_bet_amount is the minimum allowed bet amount for a market. @@ -143,7 +143,7 @@ type MarketUpdateTicketPayload struct { // bet_fee is the fee that the bettor needs to pay to bet on the market. BetFee github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=bet_fee,json=betFee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"bet_fee"` // status is the status of the resolution. - Status MarketStatus `protobuf:"varint,6,opt,name=status,proto3,enum=sgenetwork.sge.market.MarketStatus" json:"status,omitempty"` + Status MarketStatus `protobuf:"varint,6,opt,name=status,proto3,enum=furyanetwork.furya.market.MarketStatus" json:"status,omitempty"` } func (m *MarketUpdateTicketPayload) Reset() { *m = MarketUpdateTicketPayload{} } @@ -218,7 +218,7 @@ type MarketResolutionTicketPayload struct { // odds. WinnerOddsUIDs []string `protobuf:"bytes,3,rep,name=winner_odds_uids,proto3" json:"winner_odds_uids"` // status is the status of the resolution. - Status MarketStatus `protobuf:"varint,4,opt,name=status,proto3,enum=sgenetwork.sge.market.MarketStatus" json:"status,omitempty"` + Status MarketStatus `protobuf:"varint,4,opt,name=status,proto3,enum=furyanetwork.furya.market.MarketStatus" json:"status,omitempty"` } func (m *MarketResolutionTicketPayload) Reset() { *m = MarketResolutionTicketPayload{} } @@ -283,12 +283,12 @@ func (m *MarketResolutionTicketPayload) GetStatus() MarketStatus { } func init() { - proto.RegisterType((*MarketAddTicketPayload)(nil), "sgenetwork.sge.market.MarketAddTicketPayload") - proto.RegisterType((*MarketUpdateTicketPayload)(nil), "sgenetwork.sge.market.MarketUpdateTicketPayload") - proto.RegisterType((*MarketResolutionTicketPayload)(nil), "sgenetwork.sge.market.MarketResolutionTicketPayload") + proto.RegisterType((*MarketAddTicketPayload)(nil), "furyanetwork.furya.market.MarketAddTicketPayload") + proto.RegisterType((*MarketUpdateTicketPayload)(nil), "furyanetwork.furya.market.MarketUpdateTicketPayload") + proto.RegisterType((*MarketResolutionTicketPayload)(nil), "furyanetwork.furya.market.MarketResolutionTicketPayload") } -func init() { proto.RegisterFile("sge/market/ticket.proto", fileDescriptor_1dc46cd902954700) } +func init() { proto.RegisterFile("furya/market/ticket.proto", fileDescriptor_1dc46cd902954700) } var fileDescriptor_1dc46cd902954700 = []byte{ // 599 bytes of a gzipped FileDescriptorProto diff --git a/x/market/types/tx.pb.go b/x/market/types/tx.pb.go index d38071c..4b407c8 100644 --- a/x/market/types/tx.pb.go +++ b/x/market/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/market/tx.proto +// source: furya/market/tx.proto package types @@ -361,15 +361,15 @@ func (m *MsgUpdateMarketResponse) GetData() *Market { } func init() { - proto.RegisterType((*MsgAddMarket)(nil), "sgenetwork.sge.market.MsgAddMarket") - proto.RegisterType((*MsgAddMarketResponse)(nil), "sgenetwork.sge.market.MsgAddMarketResponse") - proto.RegisterType((*MsgResolveMarket)(nil), "sgenetwork.sge.market.MsgResolveMarket") - proto.RegisterType((*MsgResolveMarketResponse)(nil), "sgenetwork.sge.market.MsgResolveMarketResponse") - proto.RegisterType((*MsgUpdateMarket)(nil), "sgenetwork.sge.market.MsgUpdateMarket") - proto.RegisterType((*MsgUpdateMarketResponse)(nil), "sgenetwork.sge.market.MsgUpdateMarketResponse") + proto.RegisterType((*MsgAddMarket)(nil), "furyanetwork.furya.market.MsgAddMarket") + proto.RegisterType((*MsgAddMarketResponse)(nil), "furyanetwork.furya.market.MsgAddMarketResponse") + proto.RegisterType((*MsgResolveMarket)(nil), "furyanetwork.furya.market.MsgResolveMarket") + proto.RegisterType((*MsgResolveMarketResponse)(nil), "furyanetwork.furya.market.MsgResolveMarketResponse") + proto.RegisterType((*MsgUpdateMarket)(nil), "furyanetwork.furya.market.MsgUpdateMarket") + proto.RegisterType((*MsgUpdateMarketResponse)(nil), "furyanetwork.furya.market.MsgUpdateMarketResponse") } -func init() { proto.RegisterFile("sge/market/tx.proto", fileDescriptor_d0e875658c4f19fd) } +func init() { proto.RegisterFile("furya/market/tx.proto", fileDescriptor_d0e875658c4f19fd) } var fileDescriptor_d0e875658c4f19fd = []byte{ // 360 bytes of a gzipped FileDescriptorProto @@ -428,7 +428,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) AddMarket(ctx context.Context, in *MsgAddMarket, opts ...grpc.CallOption) (*MsgAddMarketResponse, error) { out := new(MsgAddMarketResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.market.Msg/AddMarket", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.market.Msg/AddMarket", in, out, opts...) if err != nil { return nil, err } @@ -437,7 +437,7 @@ func (c *msgClient) AddMarket(ctx context.Context, in *MsgAddMarket, opts ...grp func (c *msgClient) ResolveMarket(ctx context.Context, in *MsgResolveMarket, opts ...grpc.CallOption) (*MsgResolveMarketResponse, error) { out := new(MsgResolveMarketResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.market.Msg/ResolveMarket", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.market.Msg/ResolveMarket", in, out, opts...) if err != nil { return nil, err } @@ -446,7 +446,7 @@ func (c *msgClient) ResolveMarket(ctx context.Context, in *MsgResolveMarket, opt func (c *msgClient) UpdateMarket(ctx context.Context, in *MsgUpdateMarket, opts ...grpc.CallOption) (*MsgUpdateMarketResponse, error) { out := new(MsgUpdateMarketResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.market.Msg/UpdateMarket", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.market.Msg/UpdateMarket", in, out, opts...) if err != nil { return nil, err } @@ -491,7 +491,7 @@ func _Msg_AddMarket_Handler(srv interface{}, ctx context.Context, dec func(inter } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.market.Msg/AddMarket", + FullMethod: "/furyanetwork.furya.market.Msg/AddMarket", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).AddMarket(ctx, req.(*MsgAddMarket)) @@ -509,7 +509,7 @@ func _Msg_ResolveMarket_Handler(srv interface{}, ctx context.Context, dec func(i } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.market.Msg/ResolveMarket", + FullMethod: "/furyanetwork.furya.market.Msg/ResolveMarket", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ResolveMarket(ctx, req.(*MsgResolveMarket)) @@ -527,7 +527,7 @@ func _Msg_UpdateMarket_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.market.Msg/UpdateMarket", + FullMethod: "/furyanetwork.furya.market.Msg/UpdateMarket", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).UpdateMarket(ctx, req.(*MsgUpdateMarket)) @@ -536,7 +536,7 @@ func _Msg_UpdateMarket_Handler(srv interface{}, ctx context.Context, dec func(in } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "sgenetwork.sge.market.Msg", + ServiceName: "furyanetwork.furya.market.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -553,7 +553,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "sge/market/tx.proto", + Metadata: "furya/market/tx.proto", } func (m *MsgAddMarket) Marshal() (dAtA []byte, err error) { diff --git a/x/mint/abci.go b/x/mint/abci.go index 1a142ee..ddbfcaf 100644 --- a/x/mint/abci.go +++ b/x/mint/abci.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/mint/types" - "github.com/sge-network/sge/x/mint/keeper" - sgeMintTypes "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/x/mint/keeper" + furyaMintTypes "github.com/furya-network/furya/x/mint/types" "github.com/spf13/cast" ) @@ -76,7 +76,7 @@ func BeginBlocker(ctx sdk.Context, k keeper.Keeper) { sdk.NewEvent( types.EventTypeMint, sdk.NewAttribute(types.AttributeKeyInflation, minter.Inflation.String()), - sdk.NewAttribute(sgeMintTypes.AttributeKeyPhaseProvisions, minter.PhaseProvisions.String()), + sdk.NewAttribute(furyaMintTypes.AttributeKeyPhaseProvisions, minter.PhaseProvisions.String()), sdk.NewAttribute(sdk.AttributeKeyAmount, mintedCoin.Amount.String()), ), ) diff --git a/x/mint/client/cli/query.go b/x/mint/client/cli/query.go index dd55ff8..1ddd11f 100644 --- a/x/mint/client/cli/query.go +++ b/x/mint/client/cli/query.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/cosmos/cosmos-sdk/client" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/x/mint/types" "github.com/spf13/cobra" ) diff --git a/x/mint/client/cli/query_minter.go b/x/mint/client/cli/query_minter.go index e5739ed..96f2d58 100644 --- a/x/mint/client/cli/query_minter.go +++ b/x/mint/client/cli/query_minter.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/x/mint/types" "github.com/spf13/cobra" ) diff --git a/x/mint/client/cli/query_minter_test.go b/x/mint/client/cli/query_minter_test.go index b209432..0ea20ba 100644 --- a/x/mint/client/cli/query_minter_test.go +++ b/x/mint/client/cli/query_minter_test.go @@ -6,9 +6,9 @@ import ( "testing" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/sge-network/sge/testutil/network" - "github.com/sge-network/sge/x/mint/client/cli" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/testutil/network" + "github.com/furya-network/furya/x/mint/client/cli" + "github.com/furya-network/furya/x/mint/types" "github.com/stretchr/testify/require" ) diff --git a/x/mint/client/cli/query_params.go b/x/mint/client/cli/query_params.go index 52d6f62..7e589c6 100644 --- a/x/mint/client/cli/query_params.go +++ b/x/mint/client/cli/query_params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/x/mint/types" "github.com/spf13/cobra" ) diff --git a/x/mint/client/cli/query_params_test.go b/x/mint/client/cli/query_params_test.go index 7e1f641..0616e36 100644 --- a/x/mint/client/cli/query_params_test.go +++ b/x/mint/client/cli/query_params_test.go @@ -6,9 +6,9 @@ import ( "testing" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/sge-network/sge/testutil/network" - "github.com/sge-network/sge/x/mint/client/cli" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/testutil/network" + "github.com/furya-network/furya/x/mint/client/cli" + "github.com/furya-network/furya/x/mint/types" "github.com/stretchr/testify/require" ) diff --git a/x/mint/client/cli/query_test.go b/x/mint/client/cli/query_test.go index 57e0bd7..3cd46a8 100644 --- a/x/mint/client/cli/query_test.go +++ b/x/mint/client/cli/query_test.go @@ -5,8 +5,8 @@ import ( "testing" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/sge-network/sge/testutil/network" - "github.com/sge-network/sge/x/mint/client/cli" + "github.com/furya-network/furya/testutil/network" + "github.com/furya-network/furya/x/mint/client/cli" "github.com/stretchr/testify/require" ) diff --git a/x/mint/genesis.go b/x/mint/genesis.go index 9c24804..67504b2 100644 --- a/x/mint/genesis.go +++ b/x/mint/genesis.go @@ -2,8 +2,8 @@ package mint import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/mint/keeper" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/x/mint/keeper" + "github.com/furya-network/furya/x/mint/types" ) // InitGenesis initializes the module's state from a provided genesis diff --git a/x/mint/genesis_test.go b/x/mint/genesis_test.go index 63a85a4..848a229 100644 --- a/x/mint/genesis_test.go +++ b/x/mint/genesis_test.go @@ -3,10 +3,10 @@ package mint_test import ( "testing" - "github.com/sge-network/sge/testutil/nullify" - simappUtil "github.com/sge-network/sge/testutil/simapp" - "github.com/sge-network/sge/x/mint" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/testutil/nullify" + simappUtil "github.com/furya-network/furya/testutil/simapp" + "github.com/furya-network/furya/x/mint" + "github.com/furya-network/furya/x/mint/types" "github.com/stretchr/testify/require" ) diff --git a/x/mint/keeper/grpc_query.go b/x/mint/keeper/grpc_query.go index 74caac5..a372e55 100644 --- a/x/mint/keeper/grpc_query.go +++ b/x/mint/keeper/grpc_query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/x/mint/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/mint/keeper/grpc_query_minter.go b/x/mint/keeper/grpc_query_minter.go index 45e911a..c67a02f 100644 --- a/x/mint/keeper/grpc_query_minter.go +++ b/x/mint/keeper/grpc_query_minter.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/x/mint/types" ) // Inflation returns current inflation. diff --git a/x/mint/keeper/grpc_query_minter_test.go b/x/mint/keeper/grpc_query_minter_test.go index b5a96bf..d99328f 100644 --- a/x/mint/keeper/grpc_query_minter_test.go +++ b/x/mint/keeper/grpc_query_minter_test.go @@ -4,7 +4,7 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/x/mint/types" "github.com/stretchr/testify/require" ) diff --git a/x/mint/keeper/grpc_query_params.go b/x/mint/keeper/grpc_query_params.go index 7dcfc74..73db16c 100644 --- a/x/mint/keeper/grpc_query_params.go +++ b/x/mint/keeper/grpc_query_params.go @@ -4,8 +4,8 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/consts" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/consts" + "github.com/furya-network/furya/x/mint/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/mint/keeper/grpc_query_params_test.go b/x/mint/keeper/grpc_query_params_test.go index 8aba96e..ce2c598 100644 --- a/x/mint/keeper/grpc_query_params_test.go +++ b/x/mint/keeper/grpc_query_params_test.go @@ -4,7 +4,7 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/x/mint/types" "github.com/stretchr/testify/require" ) diff --git a/x/mint/keeper/keeper.go b/x/mint/keeper/keeper.go index 8f33bcf..d71fd36 100644 --- a/x/mint/keeper/keeper.go +++ b/x/mint/keeper/keeper.go @@ -8,8 +8,8 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/sge-network/sge/consts" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/consts" + "github.com/furya-network/furya/x/mint/types" ) // Keeper is the type for module properties diff --git a/x/mint/keeper/keeper_test.go b/x/mint/keeper/keeper_test.go index bb5c0e3..9eab0cb 100644 --- a/x/mint/keeper/keeper_test.go +++ b/x/mint/keeper/keeper_test.go @@ -4,8 +4,8 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - simappUtil "github.com/sge-network/sge/testutil/simapp" - "github.com/sge-network/sge/x/mint/keeper" + simappUtil "github.com/furya-network/furya/testutil/simapp" + "github.com/furya-network/furya/x/mint/keeper" "github.com/stretchr/testify/require" ) diff --git a/x/mint/keeper/minter.go b/x/mint/keeper/minter.go index c361deb..591393a 100644 --- a/x/mint/keeper/minter.go +++ b/x/mint/keeper/minter.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/x/mint/types" ) // GetMinter returns the minter diff --git a/x/mint/keeper/minter_test.go b/x/mint/keeper/minter_test.go index 59a16fd..0499db2 100644 --- a/x/mint/keeper/minter_test.go +++ b/x/mint/keeper/minter_test.go @@ -4,7 +4,7 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/app/params" + "github.com/furya-network/furya/app/params" "github.com/stretchr/testify/require" ) diff --git a/x/mint/keeper/params.go b/x/mint/keeper/params.go index f678e4c..d6760b0 100644 --- a/x/mint/keeper/params.go +++ b/x/mint/keeper/params.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/x/mint/types" ) // GetParams get all parameters as types.Params diff --git a/x/mint/keeper/params_test.go b/x/mint/keeper/params_test.go index a4a24d8..462c5b0 100644 --- a/x/mint/keeper/params_test.go +++ b/x/mint/keeper/params_test.go @@ -3,7 +3,7 @@ package keeper_test import ( "testing" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/x/mint/types" "github.com/stretchr/testify/require" ) diff --git a/x/mint/module.go b/x/mint/module.go index 52ced47..9c41b46 100644 --- a/x/mint/module.go +++ b/x/mint/module.go @@ -16,9 +16,9 @@ import ( cdctypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/sge-network/sge/x/mint/client/cli" - "github.com/sge-network/sge/x/mint/keeper" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/x/mint/client/cli" + "github.com/furya-network/furya/x/mint/keeper" + "github.com/furya-network/furya/x/mint/types" ) var ( diff --git a/x/mint/module_simulation.go b/x/mint/module_simulation.go index 6db8270..f91f8b9 100644 --- a/x/mint/module_simulation.go +++ b/x/mint/module_simulation.go @@ -10,9 +10,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/sge-network/sge/testutil/sample" - mintsimulation "github.com/sge-network/sge/x/mint/simulation" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/testutil/sample" + mintsimulation "github.com/furya-network/furya/x/mint/simulation" + "github.com/furya-network/furya/x/mint/types" ) // avoid unused import issue diff --git a/x/mint/module_test.go b/x/mint/module_test.go index 5fcb49f..5899bff 100644 --- a/x/mint/module_test.go +++ b/x/mint/module_test.go @@ -5,7 +5,7 @@ import ( sdksimapp "github.com/cosmos/cosmos-sdk/simapp" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/x/mint/types" "github.com/stretchr/testify/require" abcitypes "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" diff --git a/x/mint/simulation/decoder.go b/x/mint/simulation/decoder.go index ecd443b..e45021b 100644 --- a/x/mint/simulation/decoder.go +++ b/x/mint/simulation/decoder.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/x/mint/types" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's diff --git a/x/mint/simulation/decoder_test.go b/x/mint/simulation/decoder_test.go index 8cccfea..5356535 100644 --- a/x/mint/simulation/decoder_test.go +++ b/x/mint/simulation/decoder_test.go @@ -8,9 +8,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/sge-network/sge/app" - "github.com/sge-network/sge/x/mint/simulation" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/app" + "github.com/furya-network/furya/x/mint/simulation" + "github.com/furya-network/furya/x/mint/types" ) func TestDecodeStore(t *testing.T) { diff --git a/x/mint/simulation/genesis.go b/x/mint/simulation/genesis.go index 03195c0..d0440a0 100644 --- a/x/mint/simulation/genesis.go +++ b/x/mint/simulation/genesis.go @@ -9,8 +9,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/sge-network/sge/app/params" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/app/params" + "github.com/furya-network/furya/x/mint/types" ) // Simulation parameter constants diff --git a/x/mint/simulation/genesis_test.go b/x/mint/simulation/genesis_test.go index 8354448..1c00043 100644 --- a/x/mint/simulation/genesis_test.go +++ b/x/mint/simulation/genesis_test.go @@ -13,12 +13,12 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/sge-network/sge/x/mint/simulation" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/x/mint/simulation" + "github.com/furya-network/furya/x/mint/types" ) var params = types.Params{ - MintDenom: "usge", + MintDenom: "ufury", BlocksPerYear: 100, Phases: types.DefaultGenesis().Params.Phases, } @@ -49,9 +49,9 @@ func TestRandomizedGenState(t *testing.T) { simState.Cdc.MustUnmarshalJSON(simState.GenState[types.ModuleName], &mintGenesis) require.Equal(t, int64(6311520), mintGenesis.Params.BlocksPerYear) - require.Equal(t, "usge", mintGenesis.Params.MintDenom) + require.Equal(t, "ufury", mintGenesis.Params.MintDenom) bp, _ := mintGenesis.Minter.BlockProvisions(mintGenesis.Params, 1) - require.Equal(t, "0usge", bp.String()) + require.Equal(t, "0ufury", bp.String()) require.Equal(t, "0.000000000000000000", mintGenesis.Minter.NextPhaseProvisions(sdk.OneInt(), types.DefaultExcludeAmount, types.NonePhase()).String()) require.Equal(t, "0.229787234042553191", params.GetPhaseAtStep(1).Inflation.String()) require.Equal(t, "0.286259541984732824", params.GetPhaseAtStep(2).Inflation.String()) diff --git a/x/mint/simulation/params.go b/x/mint/simulation/params.go index 84d85a9..c6b38b3 100644 --- a/x/mint/simulation/params.go +++ b/x/mint/simulation/params.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/simulation" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/x/mint/types" ) const ( diff --git a/x/mint/simulation/params_test.go b/x/mint/simulation/params_test.go index 71bb5ac..ed9b786 100644 --- a/x/mint/simulation/params_test.go +++ b/x/mint/simulation/params_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/sge-network/sge/x/mint/simulation" + "github.com/furya-network/furya/x/mint/simulation" ) func TestParamChangest(t *testing.T) { diff --git a/x/mint/types/genesis.pb.go b/x/mint/types/genesis.pb.go index b24a098..8459bfa 100644 --- a/x/mint/types/genesis.pb.go +++ b/x/mint/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/mint/genesis.proto +// source: furya/mint/genesis.proto package types @@ -79,10 +79,10 @@ func (m *GenesisState) GetParams() Params { } func init() { - proto.RegisterType((*GenesisState)(nil), "sgenetwork.sge.mint.GenesisState") + proto.RegisterType((*GenesisState)(nil), "furyanetwork.furya.mint.GenesisState") } -func init() { proto.RegisterFile("sge/mint/genesis.proto", fileDescriptor_5f482053ea27dcec) } +func init() { proto.RegisterFile("furya/mint/genesis.proto", fileDescriptor_5f482053ea27dcec) } var fileDescriptor_5f482053ea27dcec = []byte{ // 217 bytes of a gzipped FileDescriptorProto diff --git a/x/mint/types/genesis_test.go b/x/mint/types/genesis_test.go index 30d4c61..be43fbb 100644 --- a/x/mint/types/genesis_test.go +++ b/x/mint/types/genesis_test.go @@ -4,7 +4,7 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/x/mint/types" "github.com/stretchr/testify/require" ) diff --git a/x/mint/types/minter.pb.go b/x/mint/types/minter.pb.go index 0a7b25c..30b09fa 100644 --- a/x/mint/types/minter.pb.go +++ b/x/mint/types/minter.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/mint/minter.proto +// source: furya/mint/minter.proto package types @@ -78,10 +78,10 @@ func (m *Minter) GetPhaseStep() int32 { } func init() { - proto.RegisterType((*Minter)(nil), "sgenetwork.sge.mint.Minter") + proto.RegisterType((*Minter)(nil), "furyanetwork.furya.mint.Minter") } -func init() { proto.RegisterFile("sge/mint/minter.proto", fileDescriptor_d31ed0ee2430eeec) } +func init() { proto.RegisterFile("furya/mint/minter.proto", fileDescriptor_d31ed0ee2430eeec) } var fileDescriptor_d31ed0ee2430eeec = []byte{ // 303 bytes of a gzipped FileDescriptorProto diff --git a/x/mint/types/minter_test.go b/x/mint/types/minter_test.go index ec7b0e1..f8e1c34 100644 --- a/x/mint/types/minter_test.go +++ b/x/mint/types/minter_test.go @@ -6,7 +6,7 @@ import ( "math/rand" "testing" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/x/mint/types" "github.com/stretchr/testify/require" sdk "github.com/cosmos/cosmos-sdk/types" @@ -15,7 +15,7 @@ import ( func TestPhaseInflation(t *testing.T) { params := types.DefaultParams() // Governing Mechanism: - // sge tokenomics + // furya tokenomics tests := []struct { phase int diff --git a/x/mint/types/params.go b/x/mint/types/params.go index e49b011..18e95ad 100644 --- a/x/mint/types/params.go +++ b/x/mint/types/params.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/sge-network/sge/app/params" + "github.com/furya-network/furya/app/params" "gopkg.in/yaml.v2" ) diff --git a/x/mint/types/params.pb.go b/x/mint/types/params.pb.go index 37683c4..3928232 100644 --- a/x/mint/types/params.pb.go +++ b/x/mint/types/params.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/mint/params.proto +// source: furya/mint/params.proto package types @@ -90,10 +90,10 @@ func (m *Params) GetPhases() []Phase { } func init() { - proto.RegisterType((*Params)(nil), "sgenetwork.sge.mint.Params") + proto.RegisterType((*Params)(nil), "furyanetwork.furya.mint.Params") } -func init() { proto.RegisterFile("sge/mint/params.proto", fileDescriptor_a4bb1a108a109550) } +func init() { proto.RegisterFile("furya/mint/params.proto", fileDescriptor_a4bb1a108a109550) } var fileDescriptor_a4bb1a108a109550 = []byte{ // 349 bytes of a gzipped FileDescriptorProto diff --git a/x/mint/types/params_test.go b/x/mint/types/params_test.go index 6e342a9..24ba043 100644 --- a/x/mint/types/params_test.go +++ b/x/mint/types/params_test.go @@ -5,8 +5,8 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/app/params" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/app/params" + "github.com/furya-network/furya/x/mint/types" "github.com/stretchr/testify/require" ) @@ -21,7 +21,7 @@ func TestParamsYML(t *testing.T) { } ymlStr := param.String() - require.Equal(t, "mintdenom: usge\nblocks_per_year: 10\nphases:\n- inflation: \"10.000000000000000000\"\n year_coefficient: \"1.000000000000000000\"\nexclude_amount: \"100\"\n", ymlStr) + require.Equal(t, "mintdenom: ufury\nblocks_per_year: 10\nphases:\n- inflation: \"10.000000000000000000\"\n year_coefficient: \"1.000000000000000000\"\nexclude_amount: \"100\"\n", ymlStr) } func TestIsPhaseAtStep(t *testing.T) { diff --git a/x/mint/types/phase.pb.go b/x/mint/types/phase.pb.go index d75e02a..895ea8f 100644 --- a/x/mint/types/phase.pb.go +++ b/x/mint/types/phase.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/mint/phase.proto +// source: furya/mint/phase.proto package types @@ -65,10 +65,10 @@ func (m *Phase) XXX_DiscardUnknown() { var xxx_messageInfo_Phase proto.InternalMessageInfo func init() { - proto.RegisterType((*Phase)(nil), "sgenetwork.sge.mint.Phase") + proto.RegisterType((*Phase)(nil), "furyanetwork.furya.mint.Phase") } -func init() { proto.RegisterFile("sge/mint/phase.proto", fileDescriptor_7fc2241b526dba74) } +func init() { proto.RegisterFile("furya/mint/phase.proto", fileDescriptor_7fc2241b526dba74) } var fileDescriptor_7fc2241b526dba74 = []byte{ // 263 bytes of a gzipped FileDescriptorProto diff --git a/x/mint/types/phase_test.go b/x/mint/types/phase_test.go index 8c92f4a..e3f9d7b 100644 --- a/x/mint/types/phase_test.go +++ b/x/mint/types/phase_test.go @@ -4,7 +4,7 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/mint/types" + "github.com/furya-network/furya/x/mint/types" "github.com/stretchr/testify/require" ) diff --git a/x/mint/types/query.pb.go b/x/mint/types/query.pb.go index 7c8df81..cc37401 100644 --- a/x/mint/types/query.pb.go +++ b/x/mint/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/mint/query.proto +// source: furya/mint/query.proto package types @@ -447,19 +447,19 @@ func (m *QueryEndPhaseStatusResponse) GetIsInEndPhase() bool { } func init() { - proto.RegisterType((*QueryParamsRequest)(nil), "sgenetwork.sge.mint.QueryParamsRequest") - proto.RegisterType((*QueryParamsResponse)(nil), "sgenetwork.sge.mint.QueryParamsResponse") - proto.RegisterType((*QueryInflationRequest)(nil), "sgenetwork.sge.mint.QueryInflationRequest") - proto.RegisterType((*QueryInflationResponse)(nil), "sgenetwork.sge.mint.QueryInflationResponse") - proto.RegisterType((*QueryPhaseStepRequest)(nil), "sgenetwork.sge.mint.QueryPhaseStepRequest") - proto.RegisterType((*QueryPhaseStepResponse)(nil), "sgenetwork.sge.mint.QueryPhaseStepResponse") - proto.RegisterType((*QueryPhaseProvisionsRequest)(nil), "sgenetwork.sge.mint.QueryPhaseProvisionsRequest") - proto.RegisterType((*QueryPhaseProvisionsResponse)(nil), "sgenetwork.sge.mint.QueryPhaseProvisionsResponse") - proto.RegisterType((*QueryEndPhaseStatusRequest)(nil), "sgenetwork.sge.mint.QueryEndPhaseStatusRequest") - proto.RegisterType((*QueryEndPhaseStatusResponse)(nil), "sgenetwork.sge.mint.QueryEndPhaseStatusResponse") + proto.RegisterType((*QueryParamsRequest)(nil), "furyanetwork.furya.mint.QueryParamsRequest") + proto.RegisterType((*QueryParamsResponse)(nil), "furyanetwork.furya.mint.QueryParamsResponse") + proto.RegisterType((*QueryInflationRequest)(nil), "furyanetwork.furya.mint.QueryInflationRequest") + proto.RegisterType((*QueryInflationResponse)(nil), "furyanetwork.furya.mint.QueryInflationResponse") + proto.RegisterType((*QueryPhaseStepRequest)(nil), "furyanetwork.furya.mint.QueryPhaseStepRequest") + proto.RegisterType((*QueryPhaseStepResponse)(nil), "furyanetwork.furya.mint.QueryPhaseStepResponse") + proto.RegisterType((*QueryPhaseProvisionsRequest)(nil), "furyanetwork.furya.mint.QueryPhaseProvisionsRequest") + proto.RegisterType((*QueryPhaseProvisionsResponse)(nil), "furyanetwork.furya.mint.QueryPhaseProvisionsResponse") + proto.RegisterType((*QueryEndPhaseStatusRequest)(nil), "furyanetwork.furya.mint.QueryEndPhaseStatusRequest") + proto.RegisterType((*QueryEndPhaseStatusResponse)(nil), "furyanetwork.furya.mint.QueryEndPhaseStatusResponse") } -func init() { proto.RegisterFile("sge/mint/query.proto", fileDescriptor_448e6714a1bb8862) } +func init() { proto.RegisterFile("furya/mint/query.proto", fileDescriptor_448e6714a1bb8862) } var fileDescriptor_448e6714a1bb8862 = []byte{ // 579 bytes of a gzipped FileDescriptorProto @@ -536,7 +536,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { out := new(QueryParamsResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.mint.Query/Params", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.mint.Query/Params", in, out, opts...) if err != nil { return nil, err } @@ -545,7 +545,7 @@ func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts . func (c *queryClient) Inflation(ctx context.Context, in *QueryInflationRequest, opts ...grpc.CallOption) (*QueryInflationResponse, error) { out := new(QueryInflationResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.mint.Query/Inflation", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.mint.Query/Inflation", in, out, opts...) if err != nil { return nil, err } @@ -554,7 +554,7 @@ func (c *queryClient) Inflation(ctx context.Context, in *QueryInflationRequest, func (c *queryClient) PhaseStep(ctx context.Context, in *QueryPhaseStepRequest, opts ...grpc.CallOption) (*QueryPhaseStepResponse, error) { out := new(QueryPhaseStepResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.mint.Query/PhaseStep", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.mint.Query/PhaseStep", in, out, opts...) if err != nil { return nil, err } @@ -563,7 +563,7 @@ func (c *queryClient) PhaseStep(ctx context.Context, in *QueryPhaseStepRequest, func (c *queryClient) PhaseProvisions(ctx context.Context, in *QueryPhaseProvisionsRequest, opts ...grpc.CallOption) (*QueryPhaseProvisionsResponse, error) { out := new(QueryPhaseProvisionsResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.mint.Query/PhaseProvisions", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.mint.Query/PhaseProvisions", in, out, opts...) if err != nil { return nil, err } @@ -572,7 +572,7 @@ func (c *queryClient) PhaseProvisions(ctx context.Context, in *QueryPhaseProvisi func (c *queryClient) EndPhaseStatus(ctx context.Context, in *QueryEndPhaseStatusRequest, opts ...grpc.CallOption) (*QueryEndPhaseStatusResponse, error) { out := new(QueryEndPhaseStatusResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.mint.Query/EndPhaseStatus", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.mint.Query/EndPhaseStatus", in, out, opts...) if err != nil { return nil, err } @@ -627,7 +627,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.mint.Query/Params", + FullMethod: "/furyanetwork.furya.mint.Query/Params", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) @@ -645,7 +645,7 @@ func _Query_Inflation_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.mint.Query/Inflation", + FullMethod: "/furyanetwork.furya.mint.Query/Inflation", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Inflation(ctx, req.(*QueryInflationRequest)) @@ -663,7 +663,7 @@ func _Query_PhaseStep_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.mint.Query/PhaseStep", + FullMethod: "/furyanetwork.furya.mint.Query/PhaseStep", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).PhaseStep(ctx, req.(*QueryPhaseStepRequest)) @@ -681,7 +681,7 @@ func _Query_PhaseProvisions_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.mint.Query/PhaseProvisions", + FullMethod: "/furyanetwork.furya.mint.Query/PhaseProvisions", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).PhaseProvisions(ctx, req.(*QueryPhaseProvisionsRequest)) @@ -699,7 +699,7 @@ func _Query_EndPhaseStatus_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.mint.Query/EndPhaseStatus", + FullMethod: "/furyanetwork.furya.mint.Query/EndPhaseStatus", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).EndPhaseStatus(ctx, req.(*QueryEndPhaseStatusRequest)) @@ -708,7 +708,7 @@ func _Query_EndPhaseStatus_Handler(srv interface{}, ctx context.Context, dec fun } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "sgenetwork.sge.mint.Query", + ServiceName: "furyanetwork.furya.mint.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -733,7 +733,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "sge/mint/query.proto", + Metadata: "furya/mint/query.proto", } func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/mint/types/query.pb.gw.go b/x/mint/types/query.pb.gw.go index 3ba9260..0c23b8e 100644 --- a/x/mint/types/query.pb.gw.go +++ b/x/mint/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: sge/mint/query.proto +// source: furya/mint/query.proto /* Package types is a reverse proxy. @@ -389,7 +389,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"sge", "mint", "params"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"furya", "mint", "params"}, "", runtime.AssumeColonVerbOpt(true))) pattern_Query_Inflation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"cosmos", "mint", "v1beta1", "inflation"}, "", runtime.AssumeColonVerbOpt(true))) diff --git a/x/mint/types/tx.pb.go b/x/mint/types/tx.pb.go index 9f69c65..b5a1b6b 100644 --- a/x/mint/types/tx.pb.go +++ b/x/mint/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/mint/tx.proto +// source: furya/mint/tx.proto package types @@ -23,7 +23,7 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -func init() { proto.RegisterFile("sge/mint/tx.proto", fileDescriptor_099d347a2b7c5fa8) } +func init() { proto.RegisterFile("furya/mint/tx.proto", fileDescriptor_099d347a2b7c5fa8) } var fileDescriptor_099d347a2b7c5fa8 = []byte{ // 126 bytes of a gzipped FileDescriptorProto @@ -72,9 +72,9 @@ func RegisterMsgServer(s grpc1.Server, srv MsgServer) { } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "sgetech.sge.mint.Msg", + ServiceName: "furyatech.furya.mint.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{}, - Metadata: "sge/mint/tx.proto", + Metadata: "furya/mint/tx.proto", } diff --git a/x/strategicreserve/abci.go b/x/strategicreserve/abci.go index 7e669dc..d55aab4 100644 --- a/x/strategicreserve/abci.go +++ b/x/strategicreserve/abci.go @@ -4,7 +4,7 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/strategicreserve/keeper" + "github.com/furya-network/furya/x/strategicreserve/keeper" ) // EndBlocker settles the active deposits of resolved order books diff --git a/x/strategicreserve/client/cli/query.go b/x/strategicreserve/client/cli/query.go index 337d03c..b132718 100644 --- a/x/strategicreserve/client/cli/query.go +++ b/x/strategicreserve/client/cli/query.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/spf13/cobra" - "github.com/sge-network/sge/x/strategicreserve/types" + "github.com/furya-network/furya/x/strategicreserve/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/strategicreserve/client/cli/query_book.go b/x/strategicreserve/client/cli/query_book.go index 1aaaca9..b2f3ab5 100644 --- a/x/strategicreserve/client/cli/query_book.go +++ b/x/strategicreserve/client/cli/query_book.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/version" - "github.com/sge-network/sge/x/strategicreserve/types" + "github.com/furya-network/furya/x/strategicreserve/types" "github.com/spf13/cast" "github.com/spf13/cobra" ) diff --git a/x/strategicreserve/client/cli/query_params.go b/x/strategicreserve/client/cli/query_params.go index 4731dcf..ef20cf7 100644 --- a/x/strategicreserve/client/cli/query_params.go +++ b/x/strategicreserve/client/cli/query_params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/sge-network/sge/x/strategicreserve/types" + "github.com/furya-network/furya/x/strategicreserve/types" "github.com/spf13/cobra" ) diff --git a/x/strategicreserve/client/cli/query_participant.go b/x/strategicreserve/client/cli/query_participant.go index a531977..5bd0315 100644 --- a/x/strategicreserve/client/cli/query_participant.go +++ b/x/strategicreserve/client/cli/query_participant.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/version" - "github.com/sge-network/sge/x/strategicreserve/types" + "github.com/furya-network/furya/x/strategicreserve/types" "github.com/spf13/cast" "github.com/spf13/cobra" ) diff --git a/x/strategicreserve/genesis.go b/x/strategicreserve/genesis.go index a48c6d7..a914764 100644 --- a/x/strategicreserve/genesis.go +++ b/x/strategicreserve/genesis.go @@ -3,8 +3,8 @@ package strategicreserve import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/strategicreserve/keeper" - "github.com/sge-network/sge/x/strategicreserve/types" + "github.com/furya-network/furya/x/strategicreserve/keeper" + "github.com/furya-network/furya/x/strategicreserve/types" ) // InitGenesis sets the parameters for the provided keeper. diff --git a/x/strategicreserve/keeper/bet_place.go b/x/strategicreserve/keeper/bet_place.go index 6d750f0..99d0996 100644 --- a/x/strategicreserve/keeper/bet_place.go +++ b/x/strategicreserve/keeper/bet_place.go @@ -5,8 +5,8 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/spf13/cast" - bettypes "github.com/sge-network/sge/x/bet/types" - "github.com/sge-network/sge/x/strategicreserve/types" + bettypes "github.com/furya-network/furya/x/bet/types" + "github.com/furya-network/furya/x/strategicreserve/types" ) // ProcessBetPlacement processes bet placement diff --git a/x/strategicreserve/keeper/bet_settle.go b/x/strategicreserve/keeper/bet_settle.go index 397fb6f..e6fea25 100644 --- a/x/strategicreserve/keeper/bet_settle.go +++ b/x/strategicreserve/keeper/bet_settle.go @@ -4,8 +4,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - bettypes "github.com/sge-network/sge/x/bet/types" - "github.com/sge-network/sge/x/strategicreserve/types" + bettypes "github.com/furya-network/furya/x/bet/types" + "github.com/furya-network/furya/x/strategicreserve/types" ) // RefundBettor process bets in case market gets cancelled or aborted. diff --git a/x/strategicreserve/keeper/exposure_odds.go b/x/strategicreserve/keeper/exposure_odds.go index 9274da5..805a54d 100644 --- a/x/strategicreserve/keeper/exposure_odds.go +++ b/x/strategicreserve/keeper/exposure_odds.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/strategicreserve/types" + "github.com/furya-network/furya/x/strategicreserve/types" ) // SetBookOddsExposure sets a book odds exposure. diff --git a/x/strategicreserve/keeper/exposure_participation.go b/x/strategicreserve/keeper/exposure_participation.go index 95376f9..c0488b5 100644 --- a/x/strategicreserve/keeper/exposure_participation.go +++ b/x/strategicreserve/keeper/exposure_participation.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/strategicreserve/types" + "github.com/furya-network/furya/x/strategicreserve/types" ) // SetParticipationExposure sets a participation exposure. diff --git a/x/strategicreserve/keeper/grpc_book.go b/x/strategicreserve/keeper/grpc_book.go index 190b64a..ff0b9aa 100644 --- a/x/strategicreserve/keeper/grpc_book.go +++ b/x/strategicreserve/keeper/grpc_book.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - "github.com/sge-network/sge/x/strategicreserve/types" + "github.com/furya-network/furya/x/strategicreserve/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/strategicreserve/keeper/grpc_participant.go b/x/strategicreserve/keeper/grpc_participant.go index 052a46e..bc3abcf 100644 --- a/x/strategicreserve/keeper/grpc_participant.go +++ b/x/strategicreserve/keeper/grpc_participant.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - "github.com/sge-network/sge/x/strategicreserve/types" + "github.com/furya-network/furya/x/strategicreserve/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/strategicreserve/keeper/grpc_query.go b/x/strategicreserve/keeper/grpc_query.go index 4352ce1..6a33674 100644 --- a/x/strategicreserve/keeper/grpc_query.go +++ b/x/strategicreserve/keeper/grpc_query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/sge-network/sge/x/strategicreserve/types" + "github.com/furya-network/furya/x/strategicreserve/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/strategicreserve/keeper/grpc_query_params.go b/x/strategicreserve/keeper/grpc_query_params.go index 4a23e08..3514d47 100644 --- a/x/strategicreserve/keeper/grpc_query_params.go +++ b/x/strategicreserve/keeper/grpc_query_params.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/strategicreserve/types" + "github.com/furya-network/furya/x/strategicreserve/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/strategicreserve/keeper/keeper.go b/x/strategicreserve/keeper/keeper.go index ffc7c7c..c70fd75 100644 --- a/x/strategicreserve/keeper/keeper.go +++ b/x/strategicreserve/keeper/keeper.go @@ -8,7 +8,7 @@ import ( paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/tendermint/tendermint/libs/log" - "github.com/sge-network/sge/x/strategicreserve/types" + "github.com/furya-network/furya/x/strategicreserve/types" ) // keeper of the strategicreserve store diff --git a/x/strategicreserve/keeper/manage_funds.go b/x/strategicreserve/keeper/manage_funds.go index 50df80b..88b40e0 100644 --- a/x/strategicreserve/keeper/manage_funds.go +++ b/x/strategicreserve/keeper/manage_funds.go @@ -4,8 +4,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/sge-network/sge/app/params" - "github.com/sge-network/sge/x/strategicreserve/types" + "github.com/furya-network/furya/app/params" + "github.com/furya-network/furya/x/strategicreserve/types" ) // transferFundsFromUserToModule transfers the given amount from @@ -13,10 +13,10 @@ import ( // Returns an error if the account holder has insufficient balance. func (k Keeper) transferFundsFromUserToModule(ctx sdk.Context, address sdk.AccAddress, moduleAccName string, amount sdk.Int) error { // Get the spendable balance of the account holder - usgeCoins := k.bankKeeper.SpendableCoins(ctx, address).AmountOf(params.BaseCoinUnit) + ufuryCoins := k.bankKeeper.SpendableCoins(ctx, address).AmountOf(params.BaseCoinUnit) // If account holder has insufficient balance, return error - if usgeCoins.LT(amount) { + if ufuryCoins.LT(amount) { return sdkerrors.Wrapf(types.ErrInsufficientUserBalance, " User Address: %s", address.String()) } diff --git a/x/strategicreserve/keeper/orderbook.go b/x/strategicreserve/keeper/orderbook.go index 8a42b7b..f5d615b 100644 --- a/x/strategicreserve/keeper/orderbook.go +++ b/x/strategicreserve/keeper/orderbook.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/sge-network/sge/x/strategicreserve/types" + "github.com/furya-network/furya/x/strategicreserve/types" ) // SetBook sets a book. diff --git a/x/strategicreserve/keeper/orderbook_settle.go b/x/strategicreserve/keeper/orderbook_settle.go index 57e2aa5..622abf1 100644 --- a/x/strategicreserve/keeper/orderbook_settle.go +++ b/x/strategicreserve/keeper/orderbook_settle.go @@ -7,7 +7,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/spf13/cast" - "github.com/sge-network/sge/x/strategicreserve/types" + "github.com/furya-network/furya/x/strategicreserve/types" ) // BatchOrderBookSettlements settles order books diff --git a/x/strategicreserve/keeper/params.go b/x/strategicreserve/keeper/params.go index d1e3e23..8616a3d 100644 --- a/x/strategicreserve/keeper/params.go +++ b/x/strategicreserve/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/strategicreserve/types" + "github.com/furya-network/furya/x/strategicreserve/types" ) // Get all parameters as types.Params diff --git a/x/strategicreserve/keeper/participation.go b/x/strategicreserve/keeper/participation.go index bdbff46..caa4f47 100644 --- a/x/strategicreserve/keeper/participation.go +++ b/x/strategicreserve/keeper/participation.go @@ -4,9 +4,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - housetypes "github.com/sge-network/sge/x/house/types" - markettypes "github.com/sge-network/sge/x/market/types" - "github.com/sge-network/sge/x/strategicreserve/types" + housetypes "github.com/furya-network/furya/x/house/types" + markettypes "github.com/furya-network/furya/x/market/types" + "github.com/furya-network/furya/x/strategicreserve/types" ) // SetBookParticipation sets a book participation. diff --git a/x/strategicreserve/keeper/participation_bet_pair.go b/x/strategicreserve/keeper/participation_bet_pair.go index bd9d200..cdc8d3d 100644 --- a/x/strategicreserve/keeper/participation_bet_pair.go +++ b/x/strategicreserve/keeper/participation_bet_pair.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/strategicreserve/types" + "github.com/furya-network/furya/x/strategicreserve/types" ) // SetParticipationBetPair sets a participation bet pair. diff --git a/x/strategicreserve/keeper/payoutlock.go b/x/strategicreserve/keeper/payoutlock.go index 706cfc5..14268e4 100644 --- a/x/strategicreserve/keeper/payoutlock.go +++ b/x/strategicreserve/keeper/payoutlock.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/utils" + "github.com/furya-network/furya/utils" ) // SetPayoutLock sets a lock for the payout element diff --git a/x/strategicreserve/keeper/stats.go b/x/strategicreserve/keeper/stats.go index fd8b067..46d5caf 100644 --- a/x/strategicreserve/keeper/stats.go +++ b/x/strategicreserve/keeper/stats.go @@ -4,8 +4,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/sge-network/sge/utils" - "github.com/sge-network/sge/x/strategicreserve/types" + "github.com/furya-network/furya/utils" + "github.com/furya-network/furya/x/strategicreserve/types" ) // SetOrderBookStats sets bet statistics in the store diff --git a/x/strategicreserve/keeper/view.go b/x/strategicreserve/keeper/view.go index 4c6498a..ecfb775 100644 --- a/x/strategicreserve/keeper/view.go +++ b/x/strategicreserve/keeper/view.go @@ -3,7 +3,7 @@ package keeper import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/sge-network/sge/x/strategicreserve/types" + "github.com/furya-network/furya/x/strategicreserve/types" ) // getBookStore gets the store containing all order books. diff --git a/x/strategicreserve/module.go b/x/strategicreserve/module.go index d533929..4db754b 100644 --- a/x/strategicreserve/module.go +++ b/x/strategicreserve/module.go @@ -15,9 +15,9 @@ import ( "github.com/spf13/cobra" abci "github.com/tendermint/tendermint/abci/types" - "github.com/sge-network/sge/x/strategicreserve/client/cli" - "github.com/sge-network/sge/x/strategicreserve/keeper" - "github.com/sge-network/sge/x/strategicreserve/types" + "github.com/furya-network/furya/x/strategicreserve/client/cli" + "github.com/furya-network/furya/x/strategicreserve/keeper" + "github.com/furya-network/furya/x/strategicreserve/types" ) // AppModuleBasic defines the basic application module used by the strategicreserve module. diff --git a/x/strategicreserve/types/expected_keepers.go b/x/strategicreserve/types/expected_keepers.go index de56f3c..6d08eca 100644 --- a/x/strategicreserve/types/expected_keepers.go +++ b/x/strategicreserve/types/expected_keepers.go @@ -2,8 +2,8 @@ package types import ( sdk "github.com/cosmos/cosmos-sdk/types" - bettypes "github.com/sge-network/sge/x/bet/types" - markettypes "github.com/sge-network/sge/x/market/types" + bettypes "github.com/furya-network/furya/x/bet/types" + markettypes "github.com/furya-network/furya/x/market/types" ) // AccountKeeper defines the expected account keeper methods. diff --git a/x/strategicreserve/types/exposure.pb.go b/x/strategicreserve/types/exposure.pb.go index 9859a0b..9cb9e85 100644 --- a/x/strategicreserve/types/exposure.pb.go +++ b/x/strategicreserve/types/exposure.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/strategicreserve/exposure.proto +// source: furya/strategicreserve/exposure.proto package types @@ -116,12 +116,12 @@ func (m *ParticipationExposure) XXX_DiscardUnknown() { var xxx_messageInfo_ParticipationExposure proto.InternalMessageInfo func init() { - proto.RegisterType((*BookOddsExposure)(nil), "sgenetwork.sge.strategicreserve.BookOddsExposure") - proto.RegisterType((*ParticipationExposure)(nil), "sgenetwork.sge.strategicreserve.ParticipationExposure") + proto.RegisterType((*BookOddsExposure)(nil), "furyanetwork.furya.strategicreserve.BookOddsExposure") + proto.RegisterType((*ParticipationExposure)(nil), "furyanetwork.furya.strategicreserve.ParticipationExposure") } func init() { - proto.RegisterFile("sge/strategicreserve/exposure.proto", fileDescriptor_90d2f27f5a9b2729) + proto.RegisterFile("furya/strategicreserve/exposure.proto", fileDescriptor_90d2f27f5a9b2729) } var fileDescriptor_90d2f27f5a9b2729 = []byte{ diff --git a/x/strategicreserve/types/genesis.pb.go b/x/strategicreserve/types/genesis.pb.go index 3cb5ca6..22e9c4b 100644 --- a/x/strategicreserve/types/genesis.pb.go +++ b/x/strategicreserve/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/strategicreserve/genesis.proto +// source: furya/strategicreserve/genesis.proto package types @@ -156,11 +156,11 @@ func (m *GenesisState) GetStats() OrderBookStats { } func init() { - proto.RegisterType((*GenesisState)(nil), "sgenetwork.sge.strategicreserve.GenesisState") + proto.RegisterType((*GenesisState)(nil), "furyanetwork.furya.strategicreserve.GenesisState") } func init() { - proto.RegisterFile("sge/strategicreserve/genesis.proto", fileDescriptor_708845e0eb254a47) + proto.RegisterFile("furya/strategicreserve/genesis.proto", fileDescriptor_708845e0eb254a47) } var fileDescriptor_708845e0eb254a47 = []byte{ diff --git a/x/strategicreserve/types/genesis_test.go b/x/strategicreserve/types/genesis_test.go index b53e02e..4f89723 100644 --- a/x/strategicreserve/types/genesis_test.go +++ b/x/strategicreserve/types/genesis_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/google/uuid" - "github.com/sge-network/sge/x/strategicreserve/types" + "github.com/furya-network/furya/x/strategicreserve/types" "github.com/stretchr/testify/require" ) diff --git a/x/strategicreserve/types/keys.go b/x/strategicreserve/types/keys.go index 1f8df87..8e249f4 100644 --- a/x/strategicreserve/types/keys.go +++ b/x/strategicreserve/types/keys.go @@ -1,7 +1,7 @@ package types import ( - "github.com/sge-network/sge/utils" + "github.com/furya-network/furya/utils" ) const ( diff --git a/x/strategicreserve/types/orderbook.pb.go b/x/strategicreserve/types/orderbook.pb.go index c9a3de7..c713c1e 100644 --- a/x/strategicreserve/types/orderbook.pb.go +++ b/x/strategicreserve/types/orderbook.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/strategicreserve/orderbook.proto +// source: furya/strategicreserve/orderbook.proto package types @@ -68,7 +68,7 @@ type OrderBook struct { // odds_count is the count of the odds in the order book OddsCount uint64 `protobuf:"varint,3,opt,name=odds_count,json=oddsCount,proto3" json:"odds_count,omitempty" yaml:"odds_count"` // order book status - Status OrderBookStatus `protobuf:"varint,4,opt,name=status,proto3,enum=sgenetwork.sge.strategicreserve.OrderBookStatus" json:"status,omitempty"` + Status OrderBookStatus `protobuf:"varint,4,opt,name=status,proto3,enum=furyanetwork.furya.strategicreserve.OrderBookStatus" json:"status,omitempty"` } func (m *OrderBook) Reset() { *m = OrderBook{} } @@ -104,12 +104,12 @@ func (m *OrderBook) XXX_DiscardUnknown() { var xxx_messageInfo_OrderBook proto.InternalMessageInfo func init() { - proto.RegisterEnum("sgenetwork.sge.strategicreserve.OrderBookStatus", OrderBookStatus_name, OrderBookStatus_value) - proto.RegisterType((*OrderBook)(nil), "sgenetwork.sge.strategicreserve.OrderBook") + proto.RegisterEnum("furyanetwork.furya.strategicreserve.OrderBookStatus", OrderBookStatus_name, OrderBookStatus_value) + proto.RegisterType((*OrderBook)(nil), "furyanetwork.furya.strategicreserve.OrderBook") } func init() { - proto.RegisterFile("sge/strategicreserve/orderbook.proto", fileDescriptor_fd759bf8b8b48f1e) + proto.RegisterFile("furya/strategicreserve/orderbook.proto", fileDescriptor_fd759bf8b8b48f1e) } var fileDescriptor_fd759bf8b8b48f1e = []byte{ diff --git a/x/strategicreserve/types/params.pb.go b/x/strategicreserve/types/params.pb.go index 4445a12..e093748 100644 --- a/x/strategicreserve/types/params.pb.go +++ b/x/strategicreserve/types/params.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/strategicreserve/params.proto +// source: furya/strategicreserve/params.proto package types @@ -78,10 +78,10 @@ func (m *Params) GetBatchSettlementCount() uint64 { } func init() { - proto.RegisterType((*Params)(nil), "sgenetwork.sge.strategicreserve.Params") + proto.RegisterType((*Params)(nil), "furyanetwork.furya.strategicreserve.Params") } -func init() { proto.RegisterFile("sge/strategicreserve/params.proto", fileDescriptor_de2d95e3cc19d141) } +func init() { proto.RegisterFile("furya/strategicreserve/params.proto", fileDescriptor_de2d95e3cc19d141) } var fileDescriptor_de2d95e3cc19d141 = []byte{ // 281 bytes of a gzipped FileDescriptorProto diff --git a/x/strategicreserve/types/participation.pb.go b/x/strategicreserve/types/participation.pb.go index 21c2e10..a2223f9 100644 --- a/x/strategicreserve/types/participation.pb.go +++ b/x/strategicreserve/types/participation.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/strategicreserve/participation.proto +// source: furya/strategicreserve/participation.proto package types @@ -155,12 +155,12 @@ func (m *ParticipationBetPair) GetBetUID() string { } func init() { - proto.RegisterType((*BookParticipation)(nil), "sgenetwork.sge.strategicreserve.BookParticipation") - proto.RegisterType((*ParticipationBetPair)(nil), "sgenetwork.sge.strategicreserve.ParticipationBetPair") + proto.RegisterType((*BookParticipation)(nil), "furyanetwork.furya.strategicreserve.BookParticipation") + proto.RegisterType((*ParticipationBetPair)(nil), "furyanetwork.furya.strategicreserve.ParticipationBetPair") } func init() { - proto.RegisterFile("sge/strategicreserve/participation.proto", fileDescriptor_ef2b931ff7c6f37b) + proto.RegisterFile("furya/strategicreserve/participation.proto", fileDescriptor_ef2b931ff7c6f37b) } var fileDescriptor_ef2b931ff7c6f37b = []byte{ diff --git a/x/strategicreserve/types/query.pb.go b/x/strategicreserve/types/query.pb.go index 0403f48..bb89425 100644 --- a/x/strategicreserve/types/query.pb.go +++ b/x/strategicreserve/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/strategicreserve/query.proto +// source: furya/strategicreserve/query.proto package types @@ -1220,31 +1220,31 @@ func (m *QueryParticipationFulfilledBetsResponse) GetPagination() *query.PageRes } func init() { - proto.RegisterType((*QueryParamsRequest)(nil), "sgenetwork.sge.strategicreserve.QueryParamsRequest") - proto.RegisterType((*QueryParamsResponse)(nil), "sgenetwork.sge.strategicreserve.QueryParamsResponse") - proto.RegisterType((*QueryOrderBooksRequest)(nil), "sgenetwork.sge.strategicreserve.QueryOrderBooksRequest") - proto.RegisterType((*QueryOrderBooksResponse)(nil), "sgenetwork.sge.strategicreserve.QueryOrderBooksResponse") - proto.RegisterType((*QueryOrderBookRequest)(nil), "sgenetwork.sge.strategicreserve.QueryOrderBookRequest") - proto.RegisterType((*QueryOrderBookResponse)(nil), "sgenetwork.sge.strategicreserve.QueryOrderBookResponse") - proto.RegisterType((*QueryBookParticipationsRequest)(nil), "sgenetwork.sge.strategicreserve.QueryBookParticipationsRequest") - proto.RegisterType((*QueryBookParticipationsResponse)(nil), "sgenetwork.sge.strategicreserve.QueryBookParticipationsResponse") - proto.RegisterType((*QueryBookParticipationRequest)(nil), "sgenetwork.sge.strategicreserve.QueryBookParticipationRequest") - proto.RegisterType((*QueryBookParticipationResponse)(nil), "sgenetwork.sge.strategicreserve.QueryBookParticipationResponse") - proto.RegisterType((*QueryBookExposuresRequest)(nil), "sgenetwork.sge.strategicreserve.QueryBookExposuresRequest") - proto.RegisterType((*QueryBookExposuresResponse)(nil), "sgenetwork.sge.strategicreserve.QueryBookExposuresResponse") - proto.RegisterType((*QueryBookExposureRequest)(nil), "sgenetwork.sge.strategicreserve.QueryBookExposureRequest") - proto.RegisterType((*QueryBookExposureResponse)(nil), "sgenetwork.sge.strategicreserve.QueryBookExposureResponse") - proto.RegisterType((*QueryParticipationExposuresRequest)(nil), "sgenetwork.sge.strategicreserve.QueryParticipationExposuresRequest") - proto.RegisterType((*QueryParticipationExposuresResponse)(nil), "sgenetwork.sge.strategicreserve.QueryParticipationExposuresResponse") - proto.RegisterType((*QueryParticipationExposureRequest)(nil), "sgenetwork.sge.strategicreserve.QueryParticipationExposureRequest") - proto.RegisterType((*QueryParticipationExposureResponse)(nil), "sgenetwork.sge.strategicreserve.QueryParticipationExposureResponse") - proto.RegisterType((*QueryHistoricalParticipationExposuresRequest)(nil), "sgenetwork.sge.strategicreserve.QueryHistoricalParticipationExposuresRequest") - proto.RegisterType((*QueryHistoricalParticipationExposuresResponse)(nil), "sgenetwork.sge.strategicreserve.QueryHistoricalParticipationExposuresResponse") - proto.RegisterType((*QueryParticipationFulfilledBetsRequest)(nil), "sgenetwork.sge.strategicreserve.QueryParticipationFulfilledBetsRequest") - proto.RegisterType((*QueryParticipationFulfilledBetsResponse)(nil), "sgenetwork.sge.strategicreserve.QueryParticipationFulfilledBetsResponse") -} - -func init() { proto.RegisterFile("sge/strategicreserve/query.proto", fileDescriptor_6b5d7d659eddd962) } + proto.RegisterType((*QueryParamsRequest)(nil), "furyanetwork.furya.strategicreserve.QueryParamsRequest") + proto.RegisterType((*QueryParamsResponse)(nil), "furyanetwork.furya.strategicreserve.QueryParamsResponse") + proto.RegisterType((*QueryOrderBooksRequest)(nil), "furyanetwork.furya.strategicreserve.QueryOrderBooksRequest") + proto.RegisterType((*QueryOrderBooksResponse)(nil), "furyanetwork.furya.strategicreserve.QueryOrderBooksResponse") + proto.RegisterType((*QueryOrderBookRequest)(nil), "furyanetwork.furya.strategicreserve.QueryOrderBookRequest") + proto.RegisterType((*QueryOrderBookResponse)(nil), "furyanetwork.furya.strategicreserve.QueryOrderBookResponse") + proto.RegisterType((*QueryBookParticipationsRequest)(nil), "furyanetwork.furya.strategicreserve.QueryBookParticipationsRequest") + proto.RegisterType((*QueryBookParticipationsResponse)(nil), "furyanetwork.furya.strategicreserve.QueryBookParticipationsResponse") + proto.RegisterType((*QueryBookParticipationRequest)(nil), "furyanetwork.furya.strategicreserve.QueryBookParticipationRequest") + proto.RegisterType((*QueryBookParticipationResponse)(nil), "furyanetwork.furya.strategicreserve.QueryBookParticipationResponse") + proto.RegisterType((*QueryBookExposuresRequest)(nil), "furyanetwork.furya.strategicreserve.QueryBookExposuresRequest") + proto.RegisterType((*QueryBookExposuresResponse)(nil), "furyanetwork.furya.strategicreserve.QueryBookExposuresResponse") + proto.RegisterType((*QueryBookExposureRequest)(nil), "furyanetwork.furya.strategicreserve.QueryBookExposureRequest") + proto.RegisterType((*QueryBookExposureResponse)(nil), "furyanetwork.furya.strategicreserve.QueryBookExposureResponse") + proto.RegisterType((*QueryParticipationExposuresRequest)(nil), "furyanetwork.furya.strategicreserve.QueryParticipationExposuresRequest") + proto.RegisterType((*QueryParticipationExposuresResponse)(nil), "furyanetwork.furya.strategicreserve.QueryParticipationExposuresResponse") + proto.RegisterType((*QueryParticipationExposureRequest)(nil), "furyanetwork.furya.strategicreserve.QueryParticipationExposureRequest") + proto.RegisterType((*QueryParticipationExposureResponse)(nil), "furyanetwork.furya.strategicreserve.QueryParticipationExposureResponse") + proto.RegisterType((*QueryHistoricalParticipationExposuresRequest)(nil), "furyanetwork.furya.strategicreserve.QueryHistoricalParticipationExposuresRequest") + proto.RegisterType((*QueryHistoricalParticipationExposuresResponse)(nil), "furyanetwork.furya.strategicreserve.QueryHistoricalParticipationExposuresResponse") + proto.RegisterType((*QueryParticipationFulfilledBetsRequest)(nil), "furyanetwork.furya.strategicreserve.QueryParticipationFulfilledBetsRequest") + proto.RegisterType((*QueryParticipationFulfilledBetsResponse)(nil), "furyanetwork.furya.strategicreserve.QueryParticipationFulfilledBetsResponse") +} + +func init() { proto.RegisterFile("furya/strategicreserve/query.proto", fileDescriptor_6b5d7d659eddd962) } var fileDescriptor_6b5d7d659eddd962 = []byte{ // 1173 bytes of a gzipped FileDescriptorProto @@ -1375,7 +1375,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { out := new(QueryParamsResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.strategicreserve.Query/Params", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.strategicreserve.Query/Params", in, out, opts...) if err != nil { return nil, err } @@ -1384,7 +1384,7 @@ func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts . func (c *queryClient) OrderBooks(ctx context.Context, in *QueryOrderBooksRequest, opts ...grpc.CallOption) (*QueryOrderBooksResponse, error) { out := new(QueryOrderBooksResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.strategicreserve.Query/OrderBooks", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.strategicreserve.Query/OrderBooks", in, out, opts...) if err != nil { return nil, err } @@ -1393,7 +1393,7 @@ func (c *queryClient) OrderBooks(ctx context.Context, in *QueryOrderBooksRequest func (c *queryClient) OrderBook(ctx context.Context, in *QueryOrderBookRequest, opts ...grpc.CallOption) (*QueryOrderBookResponse, error) { out := new(QueryOrderBookResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.strategicreserve.Query/OrderBook", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.strategicreserve.Query/OrderBook", in, out, opts...) if err != nil { return nil, err } @@ -1402,7 +1402,7 @@ func (c *queryClient) OrderBook(ctx context.Context, in *QueryOrderBookRequest, func (c *queryClient) BookParticipations(ctx context.Context, in *QueryBookParticipationsRequest, opts ...grpc.CallOption) (*QueryBookParticipationsResponse, error) { out := new(QueryBookParticipationsResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.strategicreserve.Query/BookParticipations", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.strategicreserve.Query/BookParticipations", in, out, opts...) if err != nil { return nil, err } @@ -1411,7 +1411,7 @@ func (c *queryClient) BookParticipations(ctx context.Context, in *QueryBookParti func (c *queryClient) BookParticipation(ctx context.Context, in *QueryBookParticipationRequest, opts ...grpc.CallOption) (*QueryBookParticipationResponse, error) { out := new(QueryBookParticipationResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.strategicreserve.Query/BookParticipation", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.strategicreserve.Query/BookParticipation", in, out, opts...) if err != nil { return nil, err } @@ -1420,7 +1420,7 @@ func (c *queryClient) BookParticipation(ctx context.Context, in *QueryBookPartic func (c *queryClient) BookExposures(ctx context.Context, in *QueryBookExposuresRequest, opts ...grpc.CallOption) (*QueryBookExposuresResponse, error) { out := new(QueryBookExposuresResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.strategicreserve.Query/BookExposures", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.strategicreserve.Query/BookExposures", in, out, opts...) if err != nil { return nil, err } @@ -1429,7 +1429,7 @@ func (c *queryClient) BookExposures(ctx context.Context, in *QueryBookExposuresR func (c *queryClient) BookExposure(ctx context.Context, in *QueryBookExposureRequest, opts ...grpc.CallOption) (*QueryBookExposureResponse, error) { out := new(QueryBookExposureResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.strategicreserve.Query/BookExposure", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.strategicreserve.Query/BookExposure", in, out, opts...) if err != nil { return nil, err } @@ -1438,7 +1438,7 @@ func (c *queryClient) BookExposure(ctx context.Context, in *QueryBookExposureReq func (c *queryClient) ParticipationExposures(ctx context.Context, in *QueryParticipationExposuresRequest, opts ...grpc.CallOption) (*QueryParticipationExposuresResponse, error) { out := new(QueryParticipationExposuresResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.strategicreserve.Query/ParticipationExposures", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.strategicreserve.Query/ParticipationExposures", in, out, opts...) if err != nil { return nil, err } @@ -1447,7 +1447,7 @@ func (c *queryClient) ParticipationExposures(ctx context.Context, in *QueryParti func (c *queryClient) ParticipationExposure(ctx context.Context, in *QueryParticipationExposureRequest, opts ...grpc.CallOption) (*QueryParticipationExposureResponse, error) { out := new(QueryParticipationExposureResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.strategicreserve.Query/ParticipationExposure", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.strategicreserve.Query/ParticipationExposure", in, out, opts...) if err != nil { return nil, err } @@ -1456,7 +1456,7 @@ func (c *queryClient) ParticipationExposure(ctx context.Context, in *QueryPartic func (c *queryClient) HistoricalParticipationExposures(ctx context.Context, in *QueryHistoricalParticipationExposuresRequest, opts ...grpc.CallOption) (*QueryHistoricalParticipationExposuresResponse, error) { out := new(QueryHistoricalParticipationExposuresResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.strategicreserve.Query/HistoricalParticipationExposures", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.strategicreserve.Query/HistoricalParticipationExposures", in, out, opts...) if err != nil { return nil, err } @@ -1465,7 +1465,7 @@ func (c *queryClient) HistoricalParticipationExposures(ctx context.Context, in * func (c *queryClient) ParticipationFulfilledBets(ctx context.Context, in *QueryParticipationFulfilledBetsRequest, opts ...grpc.CallOption) (*QueryParticipationFulfilledBetsResponse, error) { out := new(QueryParticipationFulfilledBetsResponse) - err := c.cc.Invoke(ctx, "/sgenetwork.sge.strategicreserve.Query/ParticipationFulfilledBets", in, out, opts...) + err := c.cc.Invoke(ctx, "/furyanetwork.furya.strategicreserve.Query/ParticipationFulfilledBets", in, out, opts...) if err != nil { return nil, err } @@ -1555,7 +1555,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.strategicreserve.Query/Params", + FullMethod: "/furyanetwork.furya.strategicreserve.Query/Params", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) @@ -1573,7 +1573,7 @@ func _Query_OrderBooks_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.strategicreserve.Query/OrderBooks", + FullMethod: "/furyanetwork.furya.strategicreserve.Query/OrderBooks", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).OrderBooks(ctx, req.(*QueryOrderBooksRequest)) @@ -1591,7 +1591,7 @@ func _Query_OrderBook_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.strategicreserve.Query/OrderBook", + FullMethod: "/furyanetwork.furya.strategicreserve.Query/OrderBook", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).OrderBook(ctx, req.(*QueryOrderBookRequest)) @@ -1609,7 +1609,7 @@ func _Query_BookParticipations_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.strategicreserve.Query/BookParticipations", + FullMethod: "/furyanetwork.furya.strategicreserve.Query/BookParticipations", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).BookParticipations(ctx, req.(*QueryBookParticipationsRequest)) @@ -1627,7 +1627,7 @@ func _Query_BookParticipation_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.strategicreserve.Query/BookParticipation", + FullMethod: "/furyanetwork.furya.strategicreserve.Query/BookParticipation", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).BookParticipation(ctx, req.(*QueryBookParticipationRequest)) @@ -1645,7 +1645,7 @@ func _Query_BookExposures_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.strategicreserve.Query/BookExposures", + FullMethod: "/furyanetwork.furya.strategicreserve.Query/BookExposures", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).BookExposures(ctx, req.(*QueryBookExposuresRequest)) @@ -1663,7 +1663,7 @@ func _Query_BookExposure_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.strategicreserve.Query/BookExposure", + FullMethod: "/furyanetwork.furya.strategicreserve.Query/BookExposure", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).BookExposure(ctx, req.(*QueryBookExposureRequest)) @@ -1681,7 +1681,7 @@ func _Query_ParticipationExposures_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.strategicreserve.Query/ParticipationExposures", + FullMethod: "/furyanetwork.furya.strategicreserve.Query/ParticipationExposures", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ParticipationExposures(ctx, req.(*QueryParticipationExposuresRequest)) @@ -1699,7 +1699,7 @@ func _Query_ParticipationExposure_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.strategicreserve.Query/ParticipationExposure", + FullMethod: "/furyanetwork.furya.strategicreserve.Query/ParticipationExposure", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ParticipationExposure(ctx, req.(*QueryParticipationExposureRequest)) @@ -1717,7 +1717,7 @@ func _Query_HistoricalParticipationExposures_Handler(srv interface{}, ctx contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.strategicreserve.Query/HistoricalParticipationExposures", + FullMethod: "/furyanetwork.furya.strategicreserve.Query/HistoricalParticipationExposures", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).HistoricalParticipationExposures(ctx, req.(*QueryHistoricalParticipationExposuresRequest)) @@ -1735,7 +1735,7 @@ func _Query_ParticipationFulfilledBets_Handler(srv interface{}, ctx context.Cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/sgenetwork.sge.strategicreserve.Query/ParticipationFulfilledBets", + FullMethod: "/furyanetwork.furya.strategicreserve.Query/ParticipationFulfilledBets", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ParticipationFulfilledBets(ctx, req.(*QueryParticipationFulfilledBetsRequest)) @@ -1744,7 +1744,7 @@ func _Query_ParticipationFulfilledBets_Handler(srv interface{}, ctx context.Cont } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "sgenetwork.sge.strategicreserve.Query", + ServiceName: "furyanetwork.furya.strategicreserve.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1793,7 +1793,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "sge/strategicreserve/query.proto", + Metadata: "furya/strategicreserve/query.proto", } func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/strategicreserve/types/query.pb.gw.go b/x/strategicreserve/types/query.pb.gw.go index 5c6abd3..31e9a51 100644 --- a/x/strategicreserve/types/query.pb.gw.go +++ b/x/strategicreserve/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: sge/strategicreserve/query.proto +// source: furya/strategicreserve/query.proto /* Package types is a reverse proxy. @@ -1329,27 +1329,27 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"sge", "strategicreserve", "params"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"furya", "strategicreserve", "params"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_OrderBooks_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"sge", "orderbooks", "status"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_OrderBooks_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"furya", "orderbooks", "status"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_OrderBook_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"sge", "orderbooks", "book_uid"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_OrderBook_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"furya", "orderbooks", "book_uid"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_BookParticipations_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3}, []string{"sge", "orderbooks", "book_uid", "participations"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_BookParticipations_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3}, []string{"furya", "orderbooks", "book_uid", "participations"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_BookParticipation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"sge", "orderbooks", "book_uid", "participations", "participation_index"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_BookParticipation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"furya", "orderbooks", "book_uid", "participations", "participation_index"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_BookExposures_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3}, []string{"sge", "orderbooks", "book_uid", "exposures"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_BookExposures_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3}, []string{"furya", "orderbooks", "book_uid", "exposures"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_BookExposure_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"sge", "orderbooks", "book_uid", "exposures", "odds_uid"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_BookExposure_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"furya", "orderbooks", "book_uid", "exposures", "odds_uid"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_ParticipationExposures_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3}, []string{"sge", "orderbooks", "book_uid", "participation-exposures"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_ParticipationExposures_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3}, []string{"furya", "orderbooks", "book_uid", "participation-exposures"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_ParticipationExposure_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"sge", "orderbooks", "book_uid", "participation-exposures", "participation_index"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_ParticipationExposure_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"furya", "orderbooks", "book_uid", "participation-exposures", "participation_index"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_HistoricalParticipationExposures_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3}, []string{"sge", "orderbooks", "book_uid", "historical-participation-exposures"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_HistoricalParticipationExposures_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3}, []string{"furya", "orderbooks", "book_uid", "historical-participation-exposures"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_ParticipationFulfilledBets_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"sge", "orderbooks", "book_uid", "participations", "participation_index", "fulfilled_bets"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_ParticipationFulfilledBets_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"furya", "orderbooks", "book_uid", "participations", "participation_index", "fulfilled_bets"}, "", runtime.AssumeColonVerbOpt(true))) ) var ( diff --git a/x/strategicreserve/types/stats.pb.go b/x/strategicreserve/types/stats.pb.go index e34f787..b7a3682 100644 --- a/x/strategicreserve/types/stats.pb.go +++ b/x/strategicreserve/types/stats.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sge/strategicreserve/stats.proto +// source: furya/strategicreserve/stats.proto package types @@ -69,10 +69,10 @@ func (m *OrderBookStats) GetResolvedUnsettled() []string { } func init() { - proto.RegisterType((*OrderBookStats)(nil), "sgenetwork.sge.strategicreserve.OrderBookStats") + proto.RegisterType((*OrderBookStats)(nil), "furyanetwork.furya.strategicreserve.OrderBookStats") } -func init() { proto.RegisterFile("sge/strategicreserve/stats.proto", fileDescriptor_392a01451260450d) } +func init() { proto.RegisterFile("furya/strategicreserve/stats.proto", fileDescriptor_392a01451260450d) } var fileDescriptor_392a01451260450d = []byte{ // 189 bytes of a gzipped FileDescriptorProto