Skip to content

Commit

Permalink
chore: rename all MANTRA-Finance to MANTRA-Chain
Browse files Browse the repository at this point in the history
  • Loading branch information
freeelancer committed Sep 5, 2024
1 parent c469efd commit 007e0e2
Show file tree
Hide file tree
Showing 35 changed files with 27,894 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-broken-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
only-issue-labels: automated issue,Broken links
ignore-issue-updates: true
# close-issue-message requires permission `issues: write`
close-issue-message: 'This issue is `stale` and has been closed due to a new "Check Broken Links" run. If any links are still broken, they will be reported in a new issue: https://github.com/MANTRA-Finance/mantrachain/issues?q=is%3Aissue+is%3Aopen+label%3A%22automated+issue%22+label%3A%22Broken+links%22'
close-issue-message: 'This issue is `stale` and has been closed due to a new "Check Broken Links" run. If any links are still broken, they will be reported in a new issue: https://github.com/MANTRA-Chain/mantrachain/issues?q=is%3Aissue+is%3Aopen+label%3A%22automated+issue%22+label%3A%22Broken+links%22'
days-before-issue-stale: 0
days-before-issue-close: 0

Expand Down
2 changes: 1 addition & 1 deletion api/osmosis/tokenfactory/v1beta1/genesis.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/osmosis/tokenfactory/v1beta1/query.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/osmosis/tokenfactory/v1beta1/tx.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ import (
_ "cosmossdk.io/x/upgrade" // import for side-effects
upgradekeeper "cosmossdk.io/x/upgrade/keeper"
wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
"github.com/MANTRA-Finance/mantrachain/docs"
_ "github.com/MANTRA-Finance/mantrachain/x/tokenfactory" // import for side-effects
tokenfactorykeeper "github.com/MANTRA-Finance/mantrachain/x/tokenfactory/keeper"
"github.com/MANTRA-Chain/mantrachain/docs"
_ "github.com/MANTRA-Chain/mantrachain/x/tokenfactory" // import for side-effects
tokenfactorykeeper "github.com/MANTRA-Chain/mantrachain/x/tokenfactory/keeper"
abci "github.com/cometbft/cometbft/abci/types"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
dbm "github.com/cosmos/cosmos-db"
Expand Down
4 changes: 2 additions & 2 deletions app/app_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ import (
"cosmossdk.io/x/nft"
upgradetypes "cosmossdk.io/x/upgrade/types"
wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"
tokenfactorymodulev1 "github.com/MANTRA-Finance/mantrachain/api/osmosis/tokenfactory/module/v1"
tokenfactorytypes "github.com/MANTRA-Finance/mantrachain/x/tokenfactory/types"
tokenfactorymodulev1 "github.com/MANTRA-Chain/mantrachain/api/osmosis/tokenfactory/module/v1"
tokenfactorytypes "github.com/MANTRA-Chain/mantrachain/x/tokenfactory/types"
"github.com/cosmos/cosmos-sdk/runtime"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"
Expand Down
2 changes: 1 addition & 1 deletion app/sim_bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"testing"

"github.com/MANTRA-Finance/mantrachain/app"
"github.com/MANTRA-Chain/mantrachain/app"
cmtproto "github.com/cometbft/cometbft/proto/tendermint/types"
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/server"
Expand Down
2 changes: 1 addition & 1 deletion app/sim_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"cosmossdk.io/store"
storetypes "cosmossdk.io/store/types"
"cosmossdk.io/x/feegrant"
"github.com/MANTRA-Finance/mantrachain/app"
"github.com/MANTRA-Chain/mantrachain/app"
abci "github.com/cometbft/cometbft/abci/types"
cmtproto "github.com/cometbft/cometbft/proto/tendermint/types"
dbm "github.com/cosmos/cosmos-db"
Expand Down
2 changes: 1 addition & 1 deletion cmd/mantrachaind/cmd/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
confixcmd "cosmossdk.io/tools/confix/cmd"
"github.com/CosmWasm/wasmd/x/wasm"
wasmcli "github.com/CosmWasm/wasmd/x/wasm/client/cli"
"github.com/MANTRA-Finance/mantrachain/app"
"github.com/MANTRA-Chain/mantrachain/app"
dbm "github.com/cosmos/cosmos-db"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/debug"
Expand Down
2 changes: 1 addition & 1 deletion cmd/mantrachaind/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"cosmossdk.io/client/v2/autocli"
"cosmossdk.io/depinject"
"cosmossdk.io/log"
"github.com/MANTRA-Finance/mantrachain/app"
"github.com/MANTRA-Chain/mantrachain/app"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/config"
"github.com/cosmos/cosmos-sdk/client/flags"
Expand Down
4 changes: 2 additions & 2 deletions cmd/mantrachaind/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"os"

clienthelpers "cosmossdk.io/client/v2/helpers"
"github.com/MANTRA-Finance/mantrachain/app"
"github.com/MANTRA-Finance/mantrachain/cmd/mantrachaind/cmd"
"github.com/MANTRA-Chain/mantrachain/app"
"github.com/MANTRA-Chain/mantrachain/cmd/mantrachaind/cmd"
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"
)

Expand Down
27,854 changes: 27,853 additions & 1 deletion docs/static/openapi.yml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/MANTRA-Finance/mantrachain
module github.com/MANTRA-Chain/mantrachain

go 1.23

Expand Down
2 changes: 1 addition & 1 deletion proto/buf.gen.pulsar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ version: v1
managed:
enabled: true
go_package_prefix:
default: github.com/MANTRA-Finance/mantrachain/api
default: github.com/MANTRA-Chain/mantrachain/api
except:
- buf.build/googleapis/googleapis
- buf.build/cosmos/gogo-proto
Expand Down
2 changes: 1 addition & 1 deletion proto/osmosis/tokenfactory/module/v1/module.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "cosmos/app/v1alpha1/module.proto";
// Module is the config object for the module.
message Module {
option (cosmos.app.v1alpha1.module) = {
go_import : "github.com/MANTRA-Finance/mantrachain/x/tokenfactory"
go_import : "github.com/MANTRA-Chain/mantrachain/x/tokenfactory"
};

// authority defines the custom module authority. If not set, defaults to the
Expand Down
2 changes: 1 addition & 1 deletion proto/osmosis/tokenfactory/params.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
import "cosmos_proto/cosmos.proto";
import "gogoproto/gogo.proto";

option go_package = "github.com/MANTRA-Finance/mantrachain/x/tokenfactory/types";
option go_package = "github.com/MANTRA-Chain/mantrachain/x/tokenfactory/types";

// WhitelistedHook describes a beforeSendHook which is allowed to be added and executed
// SetBeforeSendHook can only be called on denoms where the denom creator and
Expand Down
2 changes: 1 addition & 1 deletion proto/osmosis/tokenfactory/v1beta1/authorityMetadata.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package osmosis.tokenfactory.v1beta1;
import "cosmos/base/v1beta1/coin.proto";
import "gogoproto/gogo.proto";

option go_package = "github.com/MANTRA-Finance/mantrachain/x/tokenfactory/types";
option go_package = "github.com/MANTRA-Chain/mantrachain/x/tokenfactory/types";

// DenomAuthorityMetadata specifies metadata for addresses that have specific
// capabilities over a token factory denom. Right now there is only one Admin
Expand Down
2 changes: 1 addition & 1 deletion proto/osmosis/tokenfactory/v1beta1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
import "osmosis/tokenfactory/params.proto";
import "osmosis/tokenfactory/v1beta1/authorityMetadata.proto";

option go_package = "github.com/MANTRA-Finance/mantrachain/x/tokenfactory/types";
option go_package = "github.com/MANTRA-Chain/mantrachain/x/tokenfactory/types";

// GenesisState defines the tokenfactory module's genesis state.
message GenesisState {
Expand Down
2 changes: 1 addition & 1 deletion proto/osmosis/tokenfactory/v1beta1/params.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
import "cosmos_proto/cosmos.proto";
import "gogoproto/gogo.proto";

option go_package = "github.com/MANTRA-Finance/mantrachain/x/tokenfactory/types/v1beta1";
option go_package = "github.com/MANTRA-Chain/mantrachain/x/tokenfactory/types/v1beta1";

// Params defines the parameters for the tokenfactory module.
message Params {
Expand Down
2 changes: 1 addition & 1 deletion proto/osmosis/tokenfactory/v1beta1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "google/api/annotations.proto";
import "osmosis/tokenfactory/params.proto";
import "osmosis/tokenfactory/v1beta1/authorityMetadata.proto";

option go_package = "github.com/MANTRA-Finance/mantrachain/x/tokenfactory/types";
option go_package = "github.com/MANTRA-Chain/mantrachain/x/tokenfactory/types";

// Query defines the gRPC querier service.
service Query {
Expand Down
2 changes: 1 addition & 1 deletion proto/osmosis/tokenfactory/v1beta1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import "cosmos_proto/cosmos.proto";
import "gogoproto/gogo.proto";
import "osmosis/tokenfactory/params.proto";

option go_package = "github.com/MANTRA-Finance/mantrachain/x/tokenfactory/types";
option go_package = "github.com/MANTRA-Chain/mantrachain/x/tokenfactory/types";

// Msg defines the tokefactory module's gRPC message service.
service Msg {
Expand Down
2 changes: 1 addition & 1 deletion scripts/protocgen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ done
#
# Note: Proto files are suffixed with the current binary version.
echo "Copying proto files to the right places"
cp -r github.com/MANTRA-Finance/mantrachain/x/* ../x
cp -r github.com/MANTRA-Chain/mantrachain/x/* ../x

# cleanup
echo "Cleaning up"
Expand Down
2 changes: 1 addition & 1 deletion testutil/network/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"testing"

"github.com/MANTRA-Finance/mantrachain/app"
"github.com/MANTRA-Chain/mantrachain/app"
"github.com/cosmos/cosmos-sdk/testutil/network"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion x/tokenfactory/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

"github.com/MANTRA-Finance/mantrachain/x/tokenfactory/types"
"github.com/MANTRA-Chain/mantrachain/x/tokenfactory/types"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion x/tokenfactory/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"

// "github.com/cosmos/cosmos-sdk/client/flags"
"github.com/MANTRA-Finance/mantrachain/x/tokenfactory/types"
"github.com/MANTRA-Chain/mantrachain/x/tokenfactory/types"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/client/tx"
Expand Down
2 changes: 1 addition & 1 deletion x/tokenfactory/keeper/admins.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package keeper

import (
"github.com/MANTRA-Finance/mantrachain/x/tokenfactory/types"
"github.com/MANTRA-Chain/mantrachain/x/tokenfactory/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/gogo/protobuf/proto"
)
Expand Down
2 changes: 1 addition & 1 deletion x/tokenfactory/keeper/bankactions.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package keeper

import (
"github.com/MANTRA-Finance/mantrachain/x/tokenfactory/types"
"github.com/MANTRA-Chain/mantrachain/x/tokenfactory/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
Expand Down
2 changes: 1 addition & 1 deletion x/tokenfactory/keeper/before_send.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
errorsmod "cosmossdk.io/errors"
types2 "cosmossdk.io/store/types"
wasmvmtypes "github.com/CosmWasm/wasmvm/v2/types"
"github.com/MANTRA-Finance/mantrachain/x/tokenfactory/types"
"github.com/MANTRA-Chain/mantrachain/x/tokenfactory/types"
sdk "github.com/cosmos/cosmos-sdk/types"
)

Expand Down
2 changes: 1 addition & 1 deletion x/tokenfactory/keeper/createdenom.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"cosmossdk.io/errors"
"github.com/MANTRA-Finance/mantrachain/x/tokenfactory/types"
"github.com/MANTRA-Chain/mantrachain/x/tokenfactory/types"
sdk "github.com/cosmos/cosmos-sdk/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
)
Expand Down
2 changes: 1 addition & 1 deletion x/tokenfactory/keeper/genesis.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package keeper

import (
"github.com/MANTRA-Finance/mantrachain/x/tokenfactory/types"
"github.com/MANTRA-Chain/mantrachain/x/tokenfactory/types"
sdk "github.com/cosmos/cosmos-sdk/types"
)

Expand Down
2 changes: 1 addition & 1 deletion x/tokenfactory/keeper/grpc_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

"github.com/MANTRA-Finance/mantrachain/x/tokenfactory/types"
"github.com/MANTRA-Chain/mantrachain/x/tokenfactory/types"
sdk "github.com/cosmos/cosmos-sdk/types"
)

Expand Down
2 changes: 1 addition & 1 deletion x/tokenfactory/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"cosmossdk.io/core/store"
"cosmossdk.io/log"
"cosmossdk.io/store/prefix"
"github.com/MANTRA-Finance/mantrachain/x/tokenfactory/types"
"github.com/MANTRA-Chain/mantrachain/x/tokenfactory/types"
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/runtime"
sdk "github.com/cosmos/cosmos-sdk/types"
Expand Down
2 changes: 1 addition & 1 deletion x/tokenfactory/keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"

"cosmossdk.io/errors"
"github.com/MANTRA-Finance/mantrachain/x/tokenfactory/types"
"github.com/MANTRA-Chain/mantrachain/x/tokenfactory/types"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
)
Expand Down
2 changes: 1 addition & 1 deletion x/tokenfactory/keeper/params.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package keeper

import (
"github.com/MANTRA-Finance/mantrachain/x/tokenfactory/types"
"github.com/MANTRA-Chain/mantrachain/x/tokenfactory/types"
"github.com/cosmos/cosmos-sdk/runtime"
sdk "github.com/cosmos/cosmos-sdk/types"
)
Expand Down
8 changes: 4 additions & 4 deletions x/tokenfactory/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"cosmossdk.io/core/store"
"cosmossdk.io/depinject"
"cosmossdk.io/log"
modulev1 "github.com/MANTRA-Finance/mantrachain/api/osmosis/tokenfactory/module/v1"
"github.com/MANTRA-Finance/mantrachain/x/tokenfactory/client/cli"
"github.com/MANTRA-Finance/mantrachain/x/tokenfactory/keeper"
"github.com/MANTRA-Finance/mantrachain/x/tokenfactory/types"
modulev1 "github.com/MANTRA-Chain/mantrachain/api/osmosis/tokenfactory/module/v1"
"github.com/MANTRA-Chain/mantrachain/x/tokenfactory/client/cli"
"github.com/MANTRA-Chain/mantrachain/x/tokenfactory/keeper"
"github.com/MANTRA-Chain/mantrachain/x/tokenfactory/types"
abci "github.com/cometbft/cometbft/abci/types"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/codec"
Expand Down

0 comments on commit 007e0e2

Please sign in to comment.